Can't generate map

Error:
Request had an error:${req.status}

Error:
Request had an error:${req.status}

I'm having the same problem.

same problem here as well. any solutions?

I am having the same porblem

I have the same problem today.
The message appears:
"Error - Request had an erros: ${req.status}"
I'm not finding solutions :(

This is a general problem with the Google API.
In the plugin code.
You need to wait for the plugin owner to fix it.
Let's hope you fix it as soon as possible!

So basically the deal is this.  It looks like the API key was invalidated, or something else.
if you go to https://developers.google.com/places/web-service/get-api-key you can request your own google maps api key.
Then you can update the plugin apikeys.json file which is located here:
~/Library/Application Support/Adobe/Adobe XD/plugins/
It's located in one of the directories.  Edit the file and replace the key with the one you obtain from google and then it works like a champ.
There's nothing wrong with the app, it just doesn't support using his shared key.   It probably shouldn't have been shared.
Hope this helps.

Not working for me either

@bkbonner I've gone into my apiKeys.json file, then replaced their API key with my own. It seems the same error persists, unfortunately. Perhaps I am doing something wrong?

From this code snippet found in <~/Library/Application Support/Adobe/Adobe XD/plugins/main.js>, it seems you need the Maps Static API.
const url = "https://maps.googleapis.com/maps/api/staticmap?" +
            "center=" + encodeURIComponent(inputValues.location) +
            "&zoom=" + encodeURIComponent(inputValues.zoom) +
            "&size=" + encodeURIComponent(width) + "x" + encodeURIComponent(height) +
            "&scale=2" +
            "&maptype=" + encodeURIComponent(inputValues.mapType) +
            (inputValues.locationPin ? ("&markers=color:red%7C" + encodeURIComponent(inputValues.location)): "") +
            mapStyles +
            "&key=" + encodeURIComponent(apiKey);

Create a new project/use an existing GCP project
Go to the navigation menu on the top left and scroll down to find 'Google Maps'
On the left pane, click on 'APIs'
Find 'Maps Static API' in the 'Additional APIs Table' and click on it
Hit Enable

MAKE SURE BILLING IS ENABLED
Pricing shouldn't be an issue if you are not going over 100,000 request. It starts to bill after $200.00 of requests ($2.00 per 1,000 request).
I would suggest limiting your api & securing it.
More information on billing here.

Hi all,
I enabled a Map Static API with a new API KEY for Google MAPS. however still the same error.
Any news about this issue?
Andrés

Sorry, I just saw this msg.   Change it as @AceGabrielFigueroa indicated.   and restart XD.  It worked for me.   btw, I'm not a developer on this project, just another user of XD that was interested in this plugin.
Make sure you're changing the apiKeys in the correct directory.  I'm not sure XD names plugin directories, so I didn't want to give anyone bad info.   Look for the directory with apiKeys.json and the main.js that has the staticmap call.
On the mac, you'd run these two commands:
cd ~/Library/Application\ Support/Adobe/Adobe\ XD/plugins/e1e8f866
this creates a template file (called source.json) for us to use:
echo "{ \"apiKeys\": [ \"XYZ\" ] }" > source.json
you can do an ls source.json and you should see your file.  run cat source.json to see the contents.
Then run the following command (but first replace your_api_key in the command below with the key you got on google developer page)
sed 's/XYZ/your_api_key/g' source.json > apiKeys.json
That should work for you.
run rm source.json to clean up the XYZ file.
Hope that helps

Maybe add a Settings field for the API key?

That would be a desirable change.
On Mon, Oct 14, 2019 at 4:22 PM Slava<EMAIL_ADDRESS>wrote:

Maybe add a Settings field for the API key?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/boopeshmahendran/AdobeXD-maps/issues/6?email_source=notifications&email_token=AAFDA6JRDMFWNV5M3JEMJX3QOTIHJA5CNFSM4I4TCZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBGLXIA#issuecomment-541899680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFDA6OB4O2VQ3SYDJWPFFLQOTIHJANCNFSM4I4TCZRQ
.

Well for those that have fixed it locally for yourself, why not just push those changes up as a PR to help the author fast-track the completion?

Guys,  I had the same issue, updated with my API key and still had the same problem.  After some troubleshooting, I determined that in my case, I had not set up the billing in Google so the request would return a different error.
So...

Update the API Key with yours
Make sure your billing is set up
Restart XD and try again

If you are still having issues, try to grab the code generated when you style a google map (the api code, plug in your key and paste into a browser window...).  Any error returned by the service should appear there.
Hope this helps!
Cheers!

How would I fix this issue on Windows 10? I'm creating an app for my senior capstone class and can't edit the plugin code. Need help ASAP!

@CJHissle
According to this article by adobe, your plugin folder location would be located at:
C:\Users\%USERNAME%\AppData\Local\Packages\Adobe.CC.XD_adky2gkssdxte\LocalState\
You would then need to locate the plugins folder and find the correct plugin folder name and edit the code.
I hope that helps. If not, maybe ill make a PR to include an api-key input box. (Quite busy).

@AceGabrielFigueroa Hey, thanks for the help on finding the plugin location. I used my API key in place of the current one and still getting an error.

@CJHissle
Did you enable billing on the project? Check if billing was enabled.

Login to Google Cloud Platform.
Make sure you are in the same project that you enabled the static Maps Static API.

If not, change your project by clicking the drop down right next to 'Google Cloud' logo.

On the left side of the top nav bar, click on the hamburger icon.
You should see a drawer open up. Locate Billing and click on it.
If you haven't set a billing account, it should give you an option to link a billing account. You need to link a billing account.

If you are able to send a request but still receive an error, check out this page. This is the error documentation for google static maps.

Same problem here

Well I managed to create a pull request with the following features:

Remove default API key and related code
Add user-defined API key implementation
Add application-persistent plugin settings to save JSON and API keys
Minor UI cleanup and fix plugin name casing

@AceGabrielFigueroa, I now see your pull request! Oops, independently working on the same feature.

For the code to be more maintainable, yours is more suffice. I only did it within an hour because I was just curious in making plugins. Hopefully the maintainer of this plugin will accept the PR, but he seems to be inactive.

@boopeshmahendran can you merge my pull request?

Still the same error

So basically the deal is this. It looks like the API key was invalidated, or something else.
if you go to https://developers.google.com/places/web-service/get-api-key you can request your own google maps api key.
Then you can update the plugin apikeys.json file which is located here:
~/Library/Application Support/Adobe/Adobe XD/plugins/
It's located in one of the directories. Edit the file and replace the key with the one you obtain from google and then it works like a champ.
There's nothing wrong with the app, it just doesn't support using his shared key. It probably shouldn't have been shared.
Hope this helps.

I looked into the code and found this as well , I saw a commit that will allow the user to input  their own api key , but the pull has not been merged and released.

Can someone of you generate an .xdx file so that we can install it locally

Isnt it easier to just add new field to the library so that we can enter our own api key.
I will make pull request in couple of days

@Dzivo look at my pull request - it’s already done and works.

Still the same error

@gfreiresantos95 did you use the forked version I created that fixes it?

i hope quick fix  :(
error:${req.status}

@Skarnet95 its been fixed already, have you updated your plugin in XD and followed the steps?

@Skarnet95 its been fixed already, have you updated your plugin in XD and followed the steps?

buy API from google is too expensive for me :/
P.S. I hope the program developer will solve this problem himself, maybe with adobe xd developers

@Skarnet95 it can't be fixed by the developer because of the changes in the google maps api platform, now each member need to get his own api key and put it as an input so that it works.

I really wish there was a solution for this, it would seem to be obvious that people need a maps!


Issues with published bot in Azure

Hi,
I'm having a published bot in Azure throw the annoying "Sorry, my bot code is having an issue" when testing it.
I checked int the App Insight of the bot and this is the message that pops up everytime:

POST to OurPeopleBot failed: POST to the bot's endpoint failed with HTTP status 500
Problem Id:System.Exception at Microsoft.Bot.ChannelConnector.BotAPI+<PostActivityToBotAsync>d__31.MoveNext

Any help appreciated!

This means there's an internal issue with your bot code, so you will have to run a local setup with ngrok to debug it directly and figure out whats going wrong.

Thank you for your questions about using the Bot Framework SDK.
The goal of this github repo issue tracker is to identify code defects and enhancement to the SDK. The Bot Framework has a great community. We recommend asking questions on - https://stackoverflow.com/questions/tagged/botframework.
Closing this issue.


ci: update pre-commit hooks and add workflow

Description
update .pre-commit-config.yaml and add new workflow for running hooks upon PR
Type of change

ci: Changes to our CI configuration files and scripts (i.e., those in the .github directory)

changes from running pre-commit hooks, including resolution of errors, now pushed. ready for review


Next translate plugin crashes the global-error page in Nextjs with App router.

What version of this package are you using?
3.0.0-canary.4
What operating system, Node.js, and npm version?
Mac OS, NodeJs, Yarn 3.6.4
What happened?
Using next-translate crashes global-error.tsx in the root of app router. The decorated component uses useParams which for some reason have null value in global-error.tsx (with use client directive) and when accessing lang property it crashes the page.
This line seems to be causing the issue https://github.com/aralroca/next-translate-plugin/blob/main/src/templateAppDir.ts#L162
    const searchParams = __useSearchParams()
    const params = __useParams()
    const detectedLang = params.lang ?? searchParams.get('lang')

What did you expect to happen?
Page not to crash.
Are you willing to submit a pull request to fix this bug?
I'm.

faced the same issue


Threads not working sometimes

My Setup

Operating System: Windows
App Version: 3.2.2
Installation type: .msi

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description
Sometimes the Threads panel stays empty showing Error. There is no error in the developer console. This is not new, I've been encountering this error for a few versions now.

Current Behavior
Sometimes shows error and no threads.
Expected Behavior
Always show threads, no error.

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


Missing rebase, revert to earlier version for hotfix

-What I am missing is how to rebase your feature branch from the master. Because often your colleagues merge to master and you want (need) those changes in your branch.
With “real” software development, you can pull the master and rebase that to your local branch. What would be the process here? I don’t think it’s possible because of the way ADF is not designed with this in mind.
-And how to do checkout to an earlier release to for example make a hot fix.
And preferably not changing the actually ADF deployment where other people may still be working on new features.
I feel that ADF isn’t really aware of distributed git work flows.
This document and video do not go into details of rebasing, reverting commits or hot fixing. And the UI doesn’t really help either in these unique but definitely occurring use cases during a product’s life cycle.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7309c102-934f-e073-823d-684804e38ff9
Version Independent ID: 2035c3ea-1e64-4f1b-0194-c1b407812e28
Content: Source control - Azure Data Factory
Content Source: articles/data-factory/source-control.md
Service: data-factory
Sub-service: ci-cd
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@rdoetjes
Thanks for your feedback! We will investigate and update as appropriate.

@rdoetjes
Thank you for bringing this to our attention. I've assigned this issue to the author who will investigate and update as appropriate.

@nabhishek
could you please review this and update as appropriate.

Thanks @rdoetjes for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Select by Subscriber in Subscriptions Editor

Here's a use case for a different interface than that provided in #549.
I'm not sure whether it should be in scope for that or a separate piece of work or not even be a requirement.
Here's what I was trying to do:

I had a sample file and I wanted to see the GOOSE subscriptions for a specific device.
I know the device name which has the subscriptions but I don't know the GOOSE publisher.

This means that with the information I have to hand I cannot locate the subscriptions.
Is this a reasonable use case? I think so. Let's imagine I am replacing a device and want to know "Everything it subscribes to".
Interested in the thoughts of others.

This sounds a reasonable use-case, it would indeed be nice if you can look up all relevant GOOSE/Sampled value stream going to a specific IED to replace the IED by something else.

It does yes. With ABB the UI is a matrix, and you can see both the ways. For this plugin, I would suggest a swap button in between the lists, that allow to put switch source and sink list. Clicking on the IED would the  show the connected GSEControl elements on the left-hand side.

It does yes. With ABB the UI is a matrix, and you can see both the ways. For this plugin, I would suggest a swap button in between the lists, that allow to put switch source and sink list. Clicking on the IED would the show the connected GSEControl elements on the left-hand side.

That's a nice idea. I note that existing tools (e.g. SEL Architect) don't provide this capability.

@Flurb will add comments about a possible solution.

Maybe we can do something like this. Create a 'swap' button for the left column which will swap the publishers for subscriber IEDs. It can show a list of all IEDs which have a (partial) subscription to another IED. Then, on the right side we can show the subscriptions.

Styling issues needed to fixed first.

Styling is done!


How detect click on checkbox inside datatable?

Is there a way to handle click on checkbox inside datatable? i use ember, and i don't know how i detect click on this checkbox.

Duplicate of #1210.
In the future, please use StackOverflow for support and usage questions. Then file an issue here once there is a verified core problem that needs addressing.


Feat: Add Third Admin Data to CSV Data Source

Several municipalities participating in the Youth Pass program have three administrators to review applications. The existing data source in Pre-Prod and Training only held data for two administrators.
This PR updates the data source to hold data for up to three administrators mapped against each participating zip code.
Asana ticket: https://app.asana.com/0/1170867711449497/1200813654290235/f

Update from testing this morning: every column does not need to be filled out. I duplicated our form, edited the data source to vary between 1-3 group administrators, and tried submitting applications. I was able to submit five applications to five distinct municipalities, each with its own zip code.
@arkadyan for next steps, perhaps I can revise this Pre-Prod/Training data source to mirror the actual user list in terms of group admin numbers (e.g., if Boston has 3 actual group admins but Arlington only has one, I'd adjust this list to reflect that, only keeping the test data in place of any real user data). Any other improvements you might suggest?

@krisrjohnson21 That sounds perfect, thanks.


Fix MetricReader.jj

Current coverage is 36.40% (diff: 100%)

Merging #162 into 2.1 will not change coverage

@@                2.1       #162   diff @@
==========================================
  Files           259        259
  Lines         14015      14015
  Methods           0          0
  Messages          0          0
  Branches       2346       2346
==========================================
  Hits           5102       5102
  Misses         8199       8199
  Partials        714        714

Powered by Codecov. Last update 62ac10d...28057a8


Update README.md

Thanks for the commit. Correct or not, "Table of Contents" is preferred over "Table of Content".


MP_bidirect_winograd FP16 support

Added support for FP16 in two modes. Experimental and normal.
Normal mode uses fp32 to store transformed data and fp32 gemm for multiplication.
Experimental mode uses fp16 to store transformed data and fp16 gemm for multiplication. Because of this the experimental mode has a big error and can't pass verification tests.

This is pure fp16 mode which we currently do not support, see https://github.com/AMDComputeLibraries/MLOpen/issues/1180. This could be handy in the future, but not now. As "normal" mixed-precision fp16 does not show performance gain, I recommend closing this PR.

Oops, wait. Let me show you something in the review.

@shurale-nkn Now I see. The mixed-precision FP16 mode is valuable due to several reasons (build time etc).
WRT pure FP16 mode it's up to you -- either remove it or keep. It is useless for now, but it doesn't complicate the code too much.
Please resolve review comments and I'll approve. Good job.

Looks like pure fp16 mode is broken - fp16->fp32 convertion is missing in rx_phase_macro. Does it passes verification?

@Kirpich30000 ooops, missed conversion affects only experimental mode. Experimental mode (not pure) can't pass verification tests.

@atamazov @Kirpich30000  This is not pure fp16. Gemm uses fp32 registers  to multiply transformed fp16 buffers

@Kirpich30000 fixed kernel in experimental mode still can't pass verification, but the difference much closer to the treshold.

What about F(2,3), does it passes verification in 16/16 mode?

What about F(2,3), does it passes verification in 16/16 mode?

@Kirpich30000
No

@atamazov @Kirpich30000 This is not pure fp16. Gemm uses fp32 registers to multiply transformed fp16 buffers

I suspected that. So this is Frankenstein FP16 mode that we'll unlikely support, ever.

Shall we remove it.

@shurale-nkn It's up to you and @Kirpich30000 to decide what to do with FP16_TRANSFORM mode.

I bet 16/16 mode was never tested. There are still bugs.

Verification results comparison
ConvMPBidirectWinograd<3-3>
<3-3> | _ | _ | _ | _ | _ | _ | _ | Experem./Normal |   | Experemental |   | Normal |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
N | C | H | W | K | y | x | g | FWD | BWD | FWD | BWD | FWD | BWD
256 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 1.6 | 1.6 | 0.00024 | 0.00023 | 0.00015 | 0.00015
256 | 256 | 14 | 14 | 256 | 3 | 3 | 1 | 1.7 | 1.7 | 0.00025 | 0.00026 | 0.00015 | 0.00016
256 | 512 | 7 | 7 | 512 | 3 | 3 | 1 | 1.7 | 1.7 | 0.00025 | 0.00025 | 0.00015 | 0.00015
256 | 64 | 56 | 56 | 64 | 3 | 3 | 1 | 1.7 | 1.7 | 0.00022 | 0.00021 | 0.00013 | 0.00012
512 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 1.6 | 1.6 | 0.00022 | 0.00024 | 0.00014 | 0.00015
128 | 1024 | 7 | 7 | 1024 | 3 | 3 | 32 | 2.1 | 2.1 | 0.00019 | 0.00019 | 0.00009 | 0.00009
128 | 128 | 56 | 56 | 128 | 3 | 3 | 32 | 5.4 | 5.4 | 0.00034 | 0.00034 | 0.00006 | 0.00006
256 | 512 | 14 | 14 | 512 | 3 | 3 | 32 | 2.7 | 2.7 | 0.00022 | 0.00021 | 0.00008 | 0.00008
128 | 128 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | --- | --- | --- | ---
128 | 128 | 56 | 56 | 256 | 3 | 3 | 1 | 1.6 | 1.5 | 0.00024 | 0.00026 | 0.00015 | 0.00017
128 | 256 | 28 | 28 | 512 | 3 | 3 | 1 | 1.5 | 1.5 | 0.00025 | 0.00027 | 0.00016 | 0.00018
128 | 3 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | --- | --- | --- | ---
128 | 512 | 14 | 14 | 512 | 3 | 3 | 1 | 1.6 | 1.6 | 0.00027 | 0.00027 | 0.00017 | 0.00017
128 | 512 | 28 | 28 | 512 | 3 | 3 | 1 | 1.5 | 1.5 | 0.00026 | 0.00026 | 0.00017 | 0.00018
128 | 64 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00022 | 0.00024 | --- | ---
128 | 64 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | --- | --- | --- | ---

ConvMPBidirectWinograd<4-3>
<4-3> | _ | _ | _ | _ | _ | _ | _ | Experem./Normal |   | Experemental |   | Normal |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
N | C | H | W | K | y | x | g | FWD | BWD | FWD | BWD | FWD | BWD
256 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 1.9 | 1.9 | 0.00028 | 0.00027 | 0.00015 | 0.00015
256 | 256 | 14 | 14 | 256 | 3 | 3 | 1 | 1.7 | 1.7 | 0.00026 | 0.00027 | 0.00015 | 0.00016
256 | 512 | 7 | 7 | 512 | 3 | 3 | 1 | 1.7 | 1.7 | 0.00026 | 0.00026 | 0.00015 | 0.00015
256 | 64 | 56 | 56 | 64 | 3 | 3 | 1 | 2.4 | 2.4 | 0.00032 | 0.00029 | 0.00013 | 0.00012
512 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 1.9 | 1.9 | 0.00027 | 0.00028 | 0.00014 | 0.00015
128 | 1024 | 7 | 7 | 1024 | 3 | 3 | 32 | 3.5 | 3.5 | 0.00032 | 0.00031 | 0.00009 | 0.00009
128 | 128 | 56 | 56 | 128 | 3 | 3 | 32 | 21.3 | 21.5 | 0.00135 | 0.00135 | 0.00006 | 0.00006
256 | 512 | 14 | 14 | 512 | 3 | 3 | 32 | 6.6 | 6.5 | 0.00052 | 0.00051 | 0.00008 | 0.00008
128 | 128 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00027 | 0.00028 | --- | ---
128 | 128 | 56 | 56 | 256 | 3 | 3 | 1 | 1.8 | 1.6 | 0.00028 | 0.00027 | 0.00015 | 0.00017
128 | 256 | 28 | 28 | 512 | 3 | 3 | 1 | 1.6 | 1.5 | 0.00027 | 0.00027 | 0.00016 | 0.00018
128 | 3 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | 0.00164 | 0.00034 | --- | ---
128 | 512 | 14 | 14 | 512 | 3 | 3 | 1 | 1.6 | 1.6 | 0.00027 | 0.00027 | 0.00017 | 0.00017
128 | 512 | 28 | 28 | 512 | 3 | 3 | 1 | 1.5 | 1.5 | 0.00027 | 0.00027 | 0.00017 | 0.00018
128 | 64 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00033 | 0.00028 | --- | ---
128 | 64 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | --- | --- | --- | ---

ConvMPBidirectWinograd<5-3>
<5-3> | _ | _ | _ | _ | _ | _ | _ | Experem./Normal |   | Experemental |   | Normal |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
N | C | H | W | K | y | x | g | FWD | BWD | FWD | BWD | FWD | BWD
256 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 3.1 | 3.1 | 0.00047 | 0.00045 | 0.00015 | 0.00015
256 | 256 | 14 | 14 | 256 | 3 | 3 | 1 | 2.2 | 2.2 | 0.00033 | 0.00035 | 0.00015 | 0.00016
256 | 512 | 7 | 7 | 512 | 3 | 3 | 1 | 2.1 | 2.1 | 0.00031 | 0.00031 | 0.00015 | 0.00015
256 | 64 | 56 | 56 | 64 | 3 | 3 | 1 | 5.3 | 5.3 | 0.00070 | 0.00065 | 0.00013 | 0.00012
512 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 3.1 | 3.1 | 0.00044 | 0.00046 | 0.00014 | 0.00015
128 | 1024 | 7 | 7 | 1024 | 3 | 3 | 32 | 9.0 | 9.0 | 0.00082 | 0.00081 | 0.00009 | 0.00009
128 | 128 | 56 | 56 | 128 | 3 | 3 | 32 | 63.9 | 63.7 | 0.00403 | 0.00401 | 0.00006 | 0.00006
256 | 512 | 14 | 14 | 512 | 3 | 3 | 32 | 17.4 | 17.2 | 0.00138 | 0.00136 | 0.00008 | 0.00008
128 | 128 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00045 | 0.00048 | --- | ---
128 | 128 | 56 | 56 | 256 | 3 | 3 | 1 | 3.1 | 2.2 | 0.00048 | 0.00037 | 0.00015 | 0.00017
128 | 256 | 28 | 28 | 512 | 3 | 3 | 1 | 2.2 | 1.8 | 0.00035 | 0.00032 | 0.00016 | 0.00018
128 | 3 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | 0.00497 | 0.00074 | --- | ---
128 | 512 | 14 | 14 | 512 | 3 | 3 | 1 | 1.9 | 1.9 | 0.00032 | 0.00031 | 0.00017 | 0.00017
128 | 512 | 28 | 28 | 512 | 3 | 3 | 1 | 1.8 | 1.8 | 0.00031 | 0.00032 | 0.00017 | 0.00018
128 | 64 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00072 | 0.00048 | --- | ---
128 | 64 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | --- | --- | --- | ---

ConvMPBidirectWinograd<6-3>
<6-3> | _ | _ | _ | _ | _ | _ | _ | Experem./Normal |   | Experemental |   | Normal |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
N | C | H | W | K | y | x | g | FWD | BWD | FWD | BWD | FWD | BWD
256 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 7.6 | 7.6 | 0.00115 | 0.00111 | 0.00015 | 0.00015
256 | 256 | 14 | 14 | 256 | 3 | 3 | 1 | 4.6 | 4.6 | 0.00069 | 0.00072 | 0.00015 | 0.00016
256 | 512 | 7 | 7 | 512 | 3 | 3 | 1 | 3.1 | 3.1 | 0.00047 | 0.00047 | 0.00015 | 0.00015
256 | 64 | 56 | 56 | 64 | 3 | 3 | 1 | 15.6 | 15.5 | 0.00204 | 0.00188 | 0.00013 | 0.00012
512 | 128 | 28 | 28 | 128 | 3 | 3 | 1 | 7.6 | 7.5 | 0.00109 | 0.00114 | 0.00014 | 0.00015
128 | 1024 | 7 | 7 | 1024 | 3 | 3 | 32 | 32.4 | 32.4 | 0.00294 | 0.00291 | 0.00009 | 0.00009
128 | 128 | 56 | 56 | 128 | 3 | 3 | 32 | 205.6 | 207.0 | 0.01296 | 0.01303 | 0.00006 | 0.00006
256 | 512 | 14 | 14 | 512 | 3 | 3 | 32 | 59.2 | 58.8 | 0.00472 | 0.00463 | 0.00008 | 0.00008
128 | 128 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00118 | 0.00123 | --- | ---
128 | 128 | 56 | 56 | 256 | 3 | 3 | 1 | 8.2 | 4.6 | 0.00124 | 0.00078 | 0.00015 | 0.00017
128 | 256 | 28 | 28 | 512 | 3 | 3 | 1 | 4.3 | 2.8 | 0.00070 | 0.00049 | 0.00016 | 0.00018
128 | 3 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | 0.01577 | 0.00218 | --- | ---
128 | 512 | 14 | 14 | 512 | 3 | 3 | 1 | 3.1 | 3.1 | 0.00052 | 0.00051 | 0.00017 | 0.00017
128 | 512 | 28 | 28 | 512 | 3 | 3 | 1 | 2.8 | 2.8 | 0.00048 | 0.00049 | 0.00017 | 0.00018
128 | 64 | 112 | 112 | 128 | 3 | 3 | 1 | --- | --- | 0.00210 | 0.00126 | --- | ---
128 | 64 | 224 | 224 | 64 | 3 | 3 | 1 | --- | --- | --- | --- | --- | ---

Group convolutions doesn't look good. Does it pass bit exact verification for F(2,3)?

Group convolutions doesn't look good. Does it pass bit exact verification for F(2,3)?

Yes, F(2,3) transforms are BitExact

@Kirpich30000 @shurale-nkn So what is our plan wrt experimental FP16 mode?

Each configuration should be controlled separately. Group convolution needs to be double checked. Then 16/16 F(2,3) and F(3,3) to be tested on a network level. I guess those could be enabled for normal use.

@daniellowell
Update!  testing was completed successfully.

@daniellowell All CI checks passed 7 days ago.

Not sure this one is ready. I still have no information about correctness of grouped convolutions.

@Kirpich30000

Not sure this one is ready. I still have no information about correctness of grouped convolutions.

Each configuration should be controlled separately. Group convolution needs to be double checked. Then 16/16 F(2,3) and F(3,3) to be tested on a network level. I guess those could be enabled for normal use.

Requested only for 16/16 experimental mode, which will not be enabled by default in this PR.
For this changes created Issue #521.
However grouped convolutions transform 2:3  passed bitexact verification

@shurale-nkn @Kirpich30000 @atamazov So what is the verdict on this PR. Worth it and ready for merging, or not?

@daniellowell Let's merge this. CI tests passed.


Disable login and privacy buttons when logging in

Slow connections can be impacted and try to hit login button multiple times

I disabled the login button, redesigned it and showed the loading icon, but I kept the privacy button.


FCN Skip Connections

Hi, FCN-8s/16s (regardless of the base model being VGG/ResNet) should have skip connections for aggregating the features from pooling layers. But, I can't seem to find these in your model definitions.

@xternalz you are right. FCN-16s, and FCN-8s will be implemented in a future, or you can contribute if you don't want to wait. Although we have other models implemented based on dilated convolutions.


Networking configuration issue

I try to set up a POC, connecting a VM (CentOS 7) with a 3-node Kubernetes cluster (v1.19/CentOS 7) with Consul.
I have opened a case for one month with the Consul support team but they are always telling me that it's a networking problem without giving me any more details (https://github.com/hashicorp/consul-helm/issues/670).
I tried with Flannel CNI but it seems it's not possible. Then, I tried with Calico and the most recent version (tigera-operator v1.13.0).
1 Kubernetes cluster (1 master: kube1, 2 workers: kube2 & kube3)
kube1: VM=CentOS 7, IP=<IP_ADDRESS>
kube2: VM=CentOS 7, IP=<IP_ADDRESS>
kube3: VM=CentOS 7, IP=<IP_ADDRESS>
VM: VM=CentOS 7, IP=<IP_ADDRESS>
I installed the Kubernetes cluster with kubeadm:
kubeadm init --pod-network-cidr=<IP_ADDRESS>/16
kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml
wget https://docs.projectcalico.org/manifests/custom-resources.yaml
kubectl create -f custom-resources.yaml # with cidr=<IP_ADDRESS>/16
All Calico pods are running fine.
How can I get my VM (IP=<IP_ADDRESS>) to talk to the pods inside the Kubernetes cluster (IP=<IP_ADDRESS>/16)?

You need to setup BGP peer between your VM and the rest of Kubernetes nodes. Maybe try to install calico as a container in your VM? https://docs.projectcalico.org/getting-started/bare-metal/installation/container


Fix directory and reports stop channel urls

Report stop channel and Directory stop channel methods uses a different service path then their default class. When the lib build the full service url, the service path is duplicated.

I signed it!

I signed it!

I signed it!

Ricardo, check you git settings.
Example:
sudo git config --global user.email<EMAIL_ADDRESS>


Investigate if we can use yowasp for Yosys?

Using http://yowasp.org/ for Yosys might be a good idea. It would make python-symbiflow-v2x easier to use out of the box?

@mkurc-ant - This could probably follow a similar approach to the sphinxcontrib-hdl-diagrams that @rw1nkler and @daniellimws worked on?

Example of YoWASP Yosys usage:
https://github.com/SymbiFlow/sphinxcontrib-hdl-diagrams/blob/master/sphinxcontrib_hdl_diagrams/__init__.py#L241


VSCode starts automatically when run node application

VSCode Version: 1.20.1
OS Version: Windows 7 x86

Steps to Reproduce:

Create a node application
Set debugging breakpoints
Close vscode
Run the applications as follows: node watch.js

Does this issue occur when all extensions are disabled?: Yes
I have a nodejs application I had set some breakpoints to debug it, but when I try to run it outside of vscode (ie: vscode is closed),then vscode starts and the application stops
C:\Users\...\>node watch.js
[2018-2-14 10:15:34] - .............

[main 10:15:35] update#setState idle
^C

How do you close VS Code in step 3?
what does watch.js do?

I close VS Code using the X button
This is watch.js:
const nodemon = require('nodemon');
const { log } = require('./utils');
const { filePath } = require('./config');

nodemon({
  watch: [filePath],
  exec: 'index.js'
})

nodemon
  .on('start', () => log('Updating file...'))
  .on('restart', (files) => log('File has been modified!'))
  .on('quit', process.exit)

Basically, it watchs a file for changes using nodemon and on start or when changes happen it runs index.js which update the file in the db

Well, I spot the error (it's not a bug on VS Code), nodemon actually runs index.js and vs code is opened because it's the default editor:
- exec: 'index.js'
+ exec: 'node index.js'


Support loading parts of rspec-rails in isolation

Right now we have an implicit expectation that the Rails environment is loaded before require 'rspec/rails' is called. Many rspec-rails projects have custom setups to support more isolated testing. This requires delicate work to only load parts of Rails. As it stands now, rspec-rails isn't completely setup to support this.
This is something I would like to support down the road, but I feel it requires a significant amount of work. It will also require a solid documentation update to explain how loading rspec-rails in isolation works.

:+1:

We seem to be flexible enough in terms which parts of Rails are loaded: 1, 2.
Do we really need to go even further?
It's a great idea overall, but it would be really nice to have a PR that would fix unisolated parts for some tricky partial loading of Rails.
I'll extract some good parts out of this closed pull request.
Closing for now since there's no clear way how to proceed.

Thats not what this means @pirj, currently you have to have Rails loaded to run rails specs.
We support loading a subset of rails (e.g. no actionmailer etc) but we still load all of it at once.
What this issue is about is being able to load just model specs without booting rails etc.


:bug: Fix: Add version to mdt-repro

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1078  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


TerminalOptions.waitOnExit API

enum WaitOnExitType {
    Never = 0,
    NonZeroExitCode = 1,
    Always = 2
}

export interface TerminalOptions {
    /**
     * Whether the terminal panel should wait before closing when a terminal's process exits.
     */
    waitOnExit?: WaitOnExitType;
}

waitOnExit was originally proposed as a boolean in https://github.com/Microsoft/vscode/issues/15583

Looking forward to the API. I don't know why it was commented out before.
https://github.com/Microsoft/vscode/blob/5688d00dd592a165530a82945c4ade4dad6b01e7/src/vs/workbench/api/node/extHostTerminalService.ts#L305

@Eskibear it was commented out because we were planning on moving tasks to an extension but ended up changing our minds. I'm interesting in what your use case is?

I'm working to enable debugging plugin goal of a Maven project, leveraging Java Debugger extension. The workflow is:

create a terminal with env MAVEN_OPTS injected, which specifies the listening port (a random free port).
send the maven command to the terminal, then the command will run in debug mode.
start a Java debug session, attach to the port.

After terminating the debug session, users may still want to re-visit the diagnostic info printed, so I want to i) persist the printed info there. But as the injected env will force all maven commands to run in debug mode, I also want to ii) prevent users from re-using the terminal.

No plans to add this as there is not enough need, for the maven case tasks might be a better option.

One fairly general use for this functionality is to be able to see a stack trace or other diagnostics from a terminal process that crashes. That was the original motivation for referencing julia-vscode/julia-vscode#653.

@twadleigh can you describe a little more how Julia uses/launches the terminal? Is launching a Julia shell and sending text an alternative?

@Tyriar you can see the way the julia-vscode extension launches the julia process in the terminal here.
Can you possibly describe more about what you mean by launching a shell and sending text? I initially proposed a solution that wrapped the julia process in a monitor process to intercept the crash, but it whttps://github.com/julia-vscode/julia-vscode/pull/695as rejected as too heavyweight.

@twadleigh Julia is a shell that can also run files right? My proposal was doing something like this:
const t = window.createTerminal({
  shellPath: 'julia.exe'
});
t.sendText('the file/code to run inside the shell');

After run it would leave a shell hanging though.

Any chance to restart the implementation of/discussion around this feature?
FWIW, what we want for the Julia extension matches the task-backed terminals very well -- the terminal lifecycle is decoupled from the underlying process and we get terminal recycling for free. Tasks feel like the wrong tool for the job though, and there are issues with e.g. Tasks: Rerun last task (even when the task isn't registered).

Would also like to bump this FR - currently our workaround for the stanza REPL is to invoke it through a secondary launcher process which waits to exit on input.


fix: Prevent navigation drawer content from overlapping with the status bar

Fixes #1464
Checklist:

[ ] I have checked for PMD and check-style issues
[x] I have read the Contribution & Best practices Guide and my PR follows them.
[x] My branch is up-to-date with the Upstream development branch.

Changes:
Now, the content in navigation drawer would not overlap with the status bar.
Screenshots for the change:

@ShridharGoel Please ask your co-developers and others to help with that.

has anyone found solution of this problem ? i am having same issue


chef_client_systemd_timer can't start while chef client is executing

Description
When trying to use chef_client_systemd_timer the default action of add also calls enable and start on the chef-client.service. This promptly runs the chef-client which can not start because the existing chef-client is executing:
Chef Infra Client 3877 is running, will wait for it to finish and then run.
Chef Version
17.9.46
Platform Version
RHEL 7
Replication Case
Simply run chef_client_systemd_timer. Mine also sets a daemon_options to force the run_list to the currently executing recipe:
chef_client_systemd_timer 'chef-client' do
  accept_chef_license true
  daemon_options ["--runlist #{node['recipes'][0]}"']
end

Client Output
I apologize for truncated output but this is an air-gapped system so I'm typing this by hand:
service[chef-client] action start
Error executing action `start` on resource 'service[chef-client]'
...
Command timed out after 900s:
Ran ["/usr/bin/systemctl", "--system", "start", "chef-client"

I also tried setting action :nothing and then trying to notify the block with:
bash 'notify client' do
  code ':'
  not_if { ::File.exist?('/etc/systemd/system/chef-client.timer') }
  notifies :add, 'chef_client_systemd_timer[chef-client]', :delayed
end

But this just moves it to the end of the recipe (instead of at the very end of the client run) at which point the current chef-client is still executing so it fails. Strangely at this point I get an errorcode of '5' When I check it via systemctl status chef-client it says 'activating' and displays the output of the last chef-client run.

Wow, sorry this was due to another block of code in our recipes:
service 'chef-client' do
  action :start
end


Performance issues when building the container hierarchy

Building the container hierarchy of The Intercept currently takes about 2 seconds on my MacBook Pro. This is insanely slow.

[x] Check the performances of other implementations (original C#, inkjs).
[x] Document the best way to offload the story setup to a background thread.
[ ] Find a way to improve the performances.

Edit:

The container hierarchy is usually built between 50 and 75 ms in other implementations.
The creation of Diverts and Choices seems to create most expensive individual calls (between .05ms and .6ms). The first call to NativeFunctionCall (building the list of available native calls for the Story) is also very expensive (~ 2ms).
At the moment, all scripts required by an object are loaded during the init phase; I suspect this is one of the reasons for the poor performance during instancing. It may make sense to defer loading the scripts (even if they are cached) during the actual execution of the story (at the cost of, perhaps, slightly worse performance during execution).
Another expensive thing is Path creation (notably used in Diverts and Choices).

Update: It's down to 1.5 seconds with Godot 3.2 and a couple of small optimisations.

just reiterating what I asked on Discord: currently my story takes several seconds to load due to building container hierarchy.
Could it be possible to save the container hierarchy in some way (as a packedscene?) to speed this up for release?

Here's my reply on Discord back then for the sake of clarity. Maybe that can rekindle the discussion:

I'm not too familiar with PackedScenes, is it a memory dump of an entire node/object hierarchy? The current bottleneck is not loading he json (it's fairly fast), but instanciating the entire container hierarchy. Unless packed scenes just load binary data directly to the memory, the performance gain might be limited.
I'm a bit stuck in terms of performances, because GDScript is overall slow (the code could probably be written in a more idiomatic way, but I'm not certain it would significantly improve performances). I have a stale branch with a minimal profiler, but I wasn't able to make much progress then

Here's my reply on Discord back then for the sake of clarity. Maybe that can rekindle the discussion:

I'm not too familiar with PackedScenes, is it a memory dump of an entire node/object hierarchy? The current bottleneck is not loading he json (it's fairly fast), but instanciating the entire container hierarchy. Unless packed scenes just load binary data directly to the memory, the performance gain might be limited.
I'm a bit stuck in terms of performances, because GDScript is overall slow (the code could probably be written in a more idiomatic way, but I'm not certain it would significantly improve performances). I have a stale branch with a minimal profiler, but I wasn't able to make much progress then


[PE-D][Tester B] Ui Bug

Added new salary of 9000000, but Ui only reflects $9000
add t/i d/Tution Teaching a/9000000 da/13-10-2022 c/Salary

Labels: type.FunctionalityBug severity.High
original: mqchua/ped#2

Duplicate of #138


Put more info about the coverage inspecting logic into the output

Put the following info into the output to make the coverage result clear:

Total Lines: # of total lines of your change or the entire repo/module.
Ignored Lines: # of the lines you ignored.
Effective Lines: total lines - ignored lines
Covered Lines: # of the lines covered by test
Coverage: Covered Lines / Effictive Lines

#22


polish translation

self-explanatory

Coverage remained the same at 97.018% when pulling 50325ddb4fd0b1685631cf873987a606290d5d20 on mpuhacz:polish-translation into 819fbf768f4f88c8e66be3b91b25be78ff95b368 on Tivix:master.

Coverage remained the same at 97.018% when pulling d0d348bf6b12474f1771b793ec821492ad0db1b6 on mpuhacz:polish-translation into 819fbf768f4f88c8e66be3b91b25be78ff95b368 on Tivix:master.

Coverage remained the same at 97.018% when pulling bf96f6ab8e397586aba74982c71917357e9765bc on mpuhacz:polish-translation into 819fbf768f4f88c8e66be3b91b25be78ff95b368 on Tivix:master.

🇵🇱 👍


Bump rest-client dependency

Fix for #20.  Specs pass, but I don't have a Weibo account, so I can't test functionality.  This bump is needed to fix the security vulnerability in rest-client.  http://www.openwall.com/lists/oss-security/2015/03/24/3

I'll try this out today to see.

Tested a few endpoints, looks working to me.

Thanks @albertsun!  I'll point Huginn at my fork until this is merged.

@albertsun @cantino thanks for sending this pull, looks fine to me.


Pi hole integration never loads

Environment
Docker
Version
0.13.4
Describe the problem
all pi hole related widgets are stuck on this

Logs

Context
No response
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

Hi, is this happening upon integrating for the first time or did it start doing it suddenly?
Pi-Hole beta v6 just opened and the API isn't compatible anymore, this may be the issue.
otherwise, make sure that the internal address is only composed of "http://ip:port", remove anything after that, meaning the "/admin/index.php".
this may also happen if you have not entered the correct API key.

I am having the exact same issue (new setup).  I have my Ad Guard on SSL ONLY, therefore: https://dns.mydomain.tld/ set to REQUIRE SSL.  For all other scenarios this server works 100%.  I can log into it normally with the username & password (from inside my network and outside) and it works perfectly as my DNS server on IPv4 & IPv6.  Eventhough I have configured the useranme & password in Homarr correctly, when using a Private Browser, it does not log me in.  This is therefore the reason why the Widget does not work.
Why is the login not working when I am using SSL ONLY.

Can you try and tell us if this issue still happens as of the latest image ? v0.14.0 ?

OP inactive, we're closing this issue. Please reopen if this still occurs


load folder

Hello,
Im new in learning and in theano. So this tutorial is perfect and it helps me a lot. Please, how can i get the fonction mnist(), and the load folder.
Thank you a lot

You can load mnist by following the instructions in this website. https://pypi.python.org/pypi/python-mnist/0.3
After you follow the procedure in the above website to install the package, to get trX, trY, teX, teY as in NewMu's tutorials, use the following code.
from mnist import MNIST
mndata = MNIST('/dir_with_mnist_data_files')
trX,trY = mndata.load_training()
teX,teY = mndata.load_testing()
Hope this helps.


VS 2019 16.3 deprecates <experimental/filesystem>.

VS 2019 16.3 will contain a couple of source-breaking changes:

<experimental/filesystem> will be deprecated via an impossible-to-miss preprocessor "#error The <experimental/filesystem> header providing std::experimental::filesystem is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17 <filesystem> header providing std::filesystem. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning."

<filesystem> will no longer include <experimental/filesystem>.

In the long term, I believe that vcpkg should detect when it's being built with VS 2017 15.7 or newer, compile in C++17 mode, include <filesystem>, and use std::filesystem. (Activating this for VS 2019 16.0 or newer would also be reasonable.) Similarly for other toolsets supporting std::filesystem.
In the short term, this commit makes vcpkg compatible with the upcoming deprecation. First, we need to define the silencing macro before including the appropriate header. I've chosen to define it unconditionally (without checking for platform or version), since it has no effect for other platforms or versions. Second, we need to deal with <filesystem> no longer including <experimental/filesystem>. I verified that VS 2015 Update 3 contained <experimental/filesystem> (back then, it simply included the <filesystem> header, where the experimental implementation was defined; this was later reorganized). Therefore, all of vcpkg's supported MSVC toolsets have <experimental/filesystem>, so we can simply always include it.
I've verified that this builds with both VS 2015 Update 3 and VS 2019 16.1.3 (the current production version).

Thanks a ton for making this PR, Stephan!


Full width buttons for mobile

Remove button styles from _forms.scss
Set all buttons to be 100% for mobile (640px and below)

Also a PR for the govuk prototype kit: https://github.com/alphagov/govuk_prototype_kit/pull/6


Add GTK4 GUI

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
GTK4 supports hardware rendering, would be nice to have support for it.
Describe the solution you'd like
Support GTK4 GUI.
Describe alternatives you've considered
GTK3, but no hardware acceleration.
Additional context
As a bonus, can an also remove support for GTK2, since GTK2 is deprecated.

Official document for migrating 3 to 4:
https://developer.gnome.org/gtk4/stable/gtk-migrating-3-to-4.html
PR is welcome.

Got 404 with that link. Looks like this is the new page:
https://docs.gtk.org/gtk4/migrating-3to4.html

I'm experimenting with dropping GTK2 support and adding GTK4 support. Reading through gui_gtk_f.c, it sure seems like this is a custom implementation of GtkFixed. However, that widget has existed since GTK2 and it was not used. Does anyone know why not?

I have a draft PR open for discussion on how to best support the mouseshape option with GTK3 and GTK4 CSS mouse cursor names. Please do chime in over there if you depend on this feature (I don't).


Environment variables

In a recent experiment, I forgot to remove the quotation marks in the environment variables:
VAR="hello world"

which lead to this error when using HBEnvironment.shared:
Fatal error: Unexpectedly found nil while unwrapping an Optional value

It took a while for me to figure out what's wrong. Would be good to either re-phrase that error or load the variable as a string, as it's an easy mistake to make.

We never loaded .env files up to this point, so I'm not sure how this is related. But anyway a new PR has just been merged which does load .env files https://github.com/hummingbird-project/hummingbird/pull/183


Question about input stream documentation

The documentation shows this example for the callback that would read from stdin.

Why is the red marked part needed? In what case would the buffer be NULL? And also if it can be NULL, why does the example code try to read count number of bytes?

This is used to skip the contents unknown fields.


Bower usage

Would it be possible for you to put this up on bower?

I'm going to pass on publishing to bower since installing from npm is super easy.    Thank you for the suggestion.

Would that be a lot of extra maintenance work for you? In case of our project, all the the libraries we use in the web-application are downloaded using bower. The dependencies coming from node on the other hand are stored in other place and it would be quite hacky to mix both. If this is just one-time job to register it in bower I would be happy to help.
Also, thanks for great library!

I just went to publish it and it looks like someone else already published the library as "cronstrue" on bower so you can pull it down now.


i = 5; for i to 10... # iterates from 0 to 10

When making a [for] expression like:
x = []
i = 5
for i to 10
    x.push i
x

We get iterations from 0 to 10, but not from 5 to 10. Sometimes, it happens that [i] has already been set so this kind of code will not produce the expected result. It might be better to leave variable as it appear in cycle and not to add implicit [from 0]. If you feel the same or have any suggestions, please let me know.

x = []
i = 5
while i <= 10, i++
    x.push i
x

summivox,
Yes, this does the job, but I the topic is not really about the job.

but the topic is not really about the job

I understand your intent. However, keep in mind that for in LSC has "foreach" semantics (i.e. iterator loop) which has the following implications:

loop var binding is local to loop scope
loop var binding is immutable (i.e. you should never assign / op-assign to it)

These are, unfortunately, not enforced in LSC as it compiles to ES5 function-scope var, while ES6 people can simply do for (const i = ... ; ... ; ...) { ... }, where i becomes local to the loop scope and immutable. There is for let in LSC and I encourage you to explore it.
There is one enforced rule in LSC though:

each expression in for loop head is evaluated once and only once

So you can do this instead:
i = 5
for i from i to 10
  i

Of course there is always the escape-hatch: A C-style "for" in LSC is canonically implemented using the "hidden" syntax while cond-expr, incr-expr I just showed.

Thanks for your feedback. You are fully correct about object iterator (foreach). If we think in terms of LSC, it's easy to distinct object iterator and simple integer - it's [ of ] for object and [ in ] for integer. So, when switching to integer, it's a question of implicit:
[from i] VS [from 0]
..in LSC [for i to j] expression. Im not a big expert in LSC and new ES standards, so you have to be right about immutable for, but I felt that this small change would produce cleaner code.

but I felt that this small change would produce cleaner code.

in a backwards-incompatible way

in a backwards-incompatible way

..for those, who relied on implicit [from 0].

I (and I think am not the only one) very often rely on implicit from 0.

i bet, that's because you more bound to array enumerations. for a,b in array is cleaner than for a to a.length - 1

No, for arrays I always use for..in. for i til n is an easy way to iterate n times.


Put ZFS into NixOS for Cerana

Issue Description
Assuming moving forward with NixOS ( #133), get ZFS implemented in NixOS.
Acceptance Criteria (How do we know when this is done?)
ZFS is part of NixOS implementation within Cerana.
Related Tickets
#133 (Dependency)

Additional Requirement:
For the cerana/cerana/zfs package, we rely on the https://github.com/ClusterHQ/zfs/tree/libzfs_core-HEAD fork of zfs containing a new stable ioctl API in combination with the upstream spl. From the cerana travis file:
V_ZFS=<IP_ADDRESS>
...
curl -L https://github.com/zfsonlinux/zfs/releases/download/zfs-$V_ZFS/spl-$V_ZFS.tar.gz | tar xz
git clone https://github.com/ClusterHQ/zfs -b libzfs_core-HEAD && (cd zfs && git checkout 2c9b2d6bf312d0ffb4a14c0570fcb8150196a9be)
MAKEFLAGS=-j$(($(grep -c '^processor' /proc/cpuinfo) * 2 + 1))
(cd spl-$V_ZFS && ./configure --prefix=/usr && make && sudo make install)
(cd zfs && ./autogen.sh && ./configure --prefix=/usr --with-spl=/usr/src/spl-$V_ZFS && make && sudo make install)
sudo modprobe zfs

Note that with spl <IP_ADDRESS>, you need to specify the --with-spl flag when building the fork zfs as it expects a different versioned path.

https://github.com/nshalman/nixpkgs/tree/cerana-test4 (specifically https://github.com/nshalman/nixpkgs/commit/e7efbb53675b645cf07a79a3df9c1a89de9bbb13) shows that this can be done.


Clarify cache option usage as boolean/dir path

The readme currently gives the impression that cache is a boolean option and does not mention that it can be used for passing the cache directory path.

Thanks!


Add support for transmission rpc_whitelist settings, quell chef_gem compile_time warnings

Minor updates - this adds the ability to toggle on and off the IP whitelist features, as well as setting the whitelist if one wants.
I also have quelled the warnings for chef_gem by setting compile_time to true.  [The transmission-simple gem seems to be what breaks, here - but since we have to build it anyway - it didn't make sense to break the other gems out into a different %w package block.  Someone could choose to do that, but... I don't think it matters much at this time.]

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@elijah

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Thanks @elijah

Thanks for the merge, Tim!!
--e
On Thu, Aug 11, 2016 at 1:51 PM, Tim Smith<EMAIL_ADDRESS>wrote:

Thanks @elijah https://github.com/elijah
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chef-cookbooks/transmission/pull/15#issuecomment-239255387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACok9IGG5CbEUod8WV_vHDJZQsA5HdEks5qe28wgaJpZM4Hmo5k
.


Bug 2241113: [release-4.12]must-gather: collect events in a sorted order

collect events in a sorted order
This commit is to collect the events in
sorted order and also collect yamls and describe
of oc events resource

/retest

/retest

/bugzilla refresh

/retest

/bugzilla refresh

/lgtm
/approve

/override ocs-operator-bundle-e2e-aws

/override ci/prow/ocs-operator-bundle-e2e-aws

/override ci/prow/red-hat-storage-ocs-ci-e2e-aws

@iamniting can you check the failure? Looks like some issue with Nooba, have we merged something recently in 4.12?

/override ci/prow/ocs-operator-bundle-e2e-aws


DotNet.createJSObjectReference() TS Type

Is your feature request related to a problem? Please describe.
TS type for  DotNet.createJSObjectReference() function
_A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
While developping  Blazor Addin with TS it is necessary to use the DotNet.createJSObjectReference() function but I couldn't find any TS type for it
Describe the solution you'd like
An upgrade of the NPM DotNet type library or a turnaroud to use this function in TS

@danroth27 Is DotNet.createJSObjectReference() typically Blazor or .NET? At least I haven't found the implementation in the DotNet Type Library. Who owns that within the .NET space, can you redirect the question?

Yeah, this needs to be handled on the Blazor side. Adding @mkartakmsft.

@mkArtakMSFT okay if I assign this to you? Can you please help? Thanks!

@danroth27 is there any update on this from the Blazor side? Thanks!

@danroth27  : done


multi-text video generation

Thanks for the great work. I am wondering could this framework perform mulit-text long videl generation ? Thought the title of the slayer example is "multi-text conditioned long video generation", it seems that it is long video edition instead of generation ?

I have the same problem.

I have the same problem and can you pls release the  code for multi text condition long video generation?

Same problem here...can you pls release the code for multi text condition long video generation without any video input?


A tuple with a single element is not a sequence.

A tuple type with zero, two or more than two elements is sequence.
But a tuple with a single element is not.
It is an odd behavior.
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ZeroElemTuple();

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct OneElemTuple(usize);

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct TwoElemTuple(usize, usize);

/*
[] - ZeroElemTuple
1 - OneElemTuple(1)
[1,2] - TwoElemTuple(1, 2)
*/

For example, click-me-go-to-play-rust.
I am writing a JSON-RPC crate for our project.
According to JSON-RPC 2.0 Specification, I need zero element and one element tuple for params in Request object.
IMO, one element tuple should be sequence, too.
Keep a uniform rule for the same kind of types.
Now, I have to write like this to solve it temporarily:
#[derive(Debug, Clone, PartialEq)]
pub struct OneItemTupleTrick {}

impl Default for OneItemTupleTrick {
    fn default() -> Self {
        OneItemTupleTrick {}
    }
}

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
pub struct MyParams(#[serde(skip)]OneItemTupleTrick, usize);

Reference:

Closed-Issue: Enum-Tuple-Variant with single element should not be a sequence
Merged PR: tuple enums with single element should not be a json-array

pub struct OneElemTuple(usize); is more commonly a newtype.
If you want a one-element array, you can have pub struct OneElemTuple([usize; 1]);

Thanks for reply.
I'm just confused about those expressions, they have a same pattern but different representations.

I believe the current behavior around newtype structs is more commonly what people want.
Canonical Serialize and Deserialize impls for representing a newtype struct as an array of size 1 would look like this:
extern crate serde;
use serde::{Serialize, Deserialize, Serializer, Deserializer};

#[derive(Debug)]
struct MyParams(usize);

impl Serialize for MyParams {
    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
        [&self.0].serialize(serializer)
    }
}

impl<'de> Deserialize<'de> for MyParams {
    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
        <[_; 1]>::deserialize(deserializer).map(|array| MyParams(array[0]))
    }
}

Is there a way to force prevent this? using a #[serde(...)] or something?


Button press animation

There is no animation when a button is pressed. This is not very user-friendly, especially for single-page apps.
Pull request is ready #64

issue solved in develop


Increasing Test Coverage

Checklist

[X] the [individual contributor license agreement][] is signed
[X] commit message follows [commit guidelines][]
[X] tests are included

Description of change
Increased the code test coverage by adding new test cases .

Welcome @HimanshiVerma05! Thanks for sharing new test cases!
When you have a chance could you apply the Google Java format to the code. You could do this manually, or automatically with ./gradlew goJF.

Hi @ChristianMurphy  . I have applied google java format in the application and verified it also . But I can do it again

Hi @ChristianMurphy . Done !


Update README.md - Language Bindings - Add: RingPDFGen

Hello
Thanks for this wonderful library (easy to learn/use + very powerful)
We created RingPDFGen (Added support for the Ring programming language)
Greetings,
Mahmoud

Thanks for writing those bindings. Glad it worked out for you.

Thank you very much for merging the pull request.
Greetings,
Mahmoud


macOS WebGPU support

Summary of the PR
Adds WebGPU support for macOS. It's basically a port/copy of the Veldrid/Alimer implementation.
Veldrid: https://github.com/veldrid/veldrid/tree/master/src/Veldrid.MetalBindings
Alimer: https://github.com/amerkoleci/Alimer.Bindings.WebGPU/tree/main/samples/Alimer.WebGPU.SampleFramework
Further Comments
Given this is basically a straight port/copy, not sure if you'll want to take this or how the license might need adjusting etc (Veldrid is also MIT so it should be compatible if it's included correctly).
But I implemented this for a project and figured others might benefit from it.
This works on my M1 Max MacBook Pro which is the only machine I can test it on, I believe it should also work on Intel Macs.

@dotnet-policy-service agree

@dotnet-policy-service agree


How to deploy multiple solutions in sequence

[Enter feedback here]
Instructions on how to deploy a number of solutions in a present sequence would be useful.
How to schedule to deploy at a future date/time.
How to add an approval step between environments.

Document details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 12d10eee-0a8f-834e-3f8c-8eda0e6653e6
Version Independent ID: 12d10eee-0a8f-834e-3f8c-8eda0e6653e6
Content: Run pipelines in Power Platform - Power Platform
Content Source: power-platform/alm/run-pipeline.md
Service: powerapps
Sub-service: alm
GitHub Login: @caburk
Microsoft Alias: matp

Same issue, I didn't find solution.... In fact, there're no actions to trigger another deploy automatically :/


pre-commit run --all-files fails on dirs that don't contain terragrunt.hcl

Describe the bug
Not a major breaking issue but confused me for a bit.
If you're testing your pre-commit hook using run --all-files then per_dir_hook_unique_part is run instead of run_hook_on_whole_repo. This causes it to fail on dirs that don't have terragrunt.hcl but root.hcl for example.
https://github.com/antonbabenko/pre-commit-terraform/blob/a78104c3601aa9ec4fa02d1638038dad3e0e8f99/hooks/terragrunt_validate.sh#L31-L61
How can we reproduce it?
❯ pre-commit run --all-files
Terragrunt fmt...........................................................Passed
Terragrunt validate......................................................Failed
- hook id: terragrunt_validate
- exit code: 1

18:16:11.781 ERROR  stat ./terragrunt.hcl: no such file or directory
18:16:11.781 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1

❯ pre-commit try-repo /Users/sophie/repos/infrastructure-live/ terragrunt_validate
===============================================================================
Using config:
===============================================================================
repos:
-   repo: .
    rev: a6401255219ba1a2d7b93bcf899532ba17a2b443
    hooks:
    -   id: terragrunt_validate
===============================================================================
[INFO] Initializing environment for ..
An error has occurred: InvalidManifestError:
=====> /var/folders/tg/zs1s0gr56vvggt4zly9ws__40000gr/T/tmph42b5wu5/repoj8tsfnee/.pre-commit-hooks.yaml is not a file
Check the log at /Users/sophie/.cache/pre-commit/pre-commit.log

/Users/sophie/.cache/pre-commit/pre-commit.log
version information
pre-commit version: 4.0.1
git --version: git version 2.39.5 (Apple Git-154)
sys.version:
    3.13.1 (main, Dec  3 2024, 17:59:52) [Clang 16.0.0 (clang-16<IP_ADDRESS>)]
sys.executable: /opt/homebrew/Cellar/pre-commit/4.0.1/libexec/bin/python
os.name: posix
sys.platform: darwin

error information
An error has occurred: InvalidManifestError:
=====> /var/folders/tg/zs1s0gr56vvggt4zly9ws__40000gr/T/tmpja0ieavh/repoo10rh3nz/.pre-commit-hooks.yaml is not a file

Traceback (most recent call last):
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/error_handler.py", line 73, in error_handler
    yield
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/main.py", line 421, in main
    return try_repo(args)
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/commands/try_repo.py", line 77, in try_repo
    return run(config_filename, store, args)
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/commands/run.py", line 425, in run
    for hook in all_hooks(config, store)
                ~~~~~~~~~^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/repository.py", line 233, in all_hooks
    return tuple(
        hook
        for repo in root_config['repos']
        for hook in _repository_hooks(repo, store, root_config)
    )
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/repository.py", line 236, in <genexpr>
    for hook in _repository_hooks(repo, store, root_config)
                ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/repository.py", line 211, in _repository_hooks
    return _cloned_repository_hooks(repo_config, store, root_config)
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/pre_commit/repository.py", line 178, in _cloned_repository_hooks
    by_id = {hook['id']: hook for hook in load_manifest(manifest_path)}
                                          ~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/cfgv.py", line 399, in load_from_filename
    with reraise_as(exc_tp):
         ~~~~~~~~~~^^^^^^^^
  File<EMAIL_ADDRESS>line 162, in __exit__
    self.gen.throw(value)
    ~~~~~~~~~~~~~~^^^^^^^
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/cfgv.py", line 45, in reraise_as
    raise tp(e).with_traceback(tb) from None
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/cfgv.py", line 42, in reraise_as
    yield
  File "/opt/homebrew/Cellar/pre-commit/4.0.1/libexec/lib/python3.13/site-packages/cfgv.py", line 401, in load_from_filename
    raise ValidationError(f'{display_filename} is not a file')
pre_commit.clientlib.InvalidManifestError:
=====> /var/folders/tg/zs1s0gr56vvggt4zly9ws__40000gr/T/tmpja0ieavh/repoo10rh3nz/.pre-commit-hooks.yaml is not a file

Environment information

OS:  MacOS 15.2 (24C101)

uname -a and/or systeminfo | Select-String "^OS" output:

Darwin Mac.fritz.box 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 arm64

Tools availability and versions:

GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24)
pre-commit 4.0.1
OpenTofu v1.8.8
Terraform v1.6.6
python SKIPPED
Python 3.13.1
checkov SKIPPED
infracost SKIPPED
terraform-docs version v0.19.0 darwin/arm64
terragrunt version v0.71.1
terrascan SKIPPED
TFLint version 0.54.0
+ ruleset.terraform (0.10.0-bundled)
tfsec SKIPPED
trivy SKIPPED
tfupdate SKIPPED
hcledit SKIPPED

.pre-commit-config.yaml:

file content
repos:
  - repo: https://github.com/antonbabenko/pre-commit-terraform
    rev: "v1.96.3"
    hooks:
      - id: terragrunt_fmt
      - id: terragrunt_validate

This causes it to fail on dirs that don't have terragrunt.hcl but root.hcl for example.

According to https://terragrunt.gruntwork.io/docs/getting-started/configuration/
Terragrunt figures out the path to its config file according to the following rules:

1. The value of the --terragrunt-config command-line option, if specified.
2. The value of the TERRAGRUNT_CONFIG environment variable, if defined.
3. A terragrunt.hcl file in the current working directory, if it exists.
4. A terragrunt.hcl.json file in the current working directory, if it exists.
5. If none of these are found, exit with an error.

So we parse all hcl files
https://github.com/antonbabenko/pre-commit-terraform/blob/a78104c3601aa9ec4fa02d1638038dad3e0e8f99/.pre-commit-hooks.yaml#L80-L86
If you face that if you will run from CLI
https://github.com/antonbabenko/pre-commit-terraform/blob/deeafeaed5b5f2ce960a2e599149e3bbddde1f64/hooks/terragrunt_validate.sh#L66
result will be different than provided by pre-commit - please let us know

pre-commit try-repo /Users/sophie/repos/infrastructure-live/ terragrunt_validate
2.1. It does_ not run hook on all files - you missed --all
2.2. You should run it to repo with hook, not your infra repo - https://pre-commit.com/#developing-hooks-interactively. And note that this will ignore all your settings in .pre-commit-config.yaml if you have any

I don't see there any issue yet, 1. - about terragrunt tool usage, and 2. - about pre-commit tool usage

Please run PRE_COMMIT_COLOR=never PCT_LOG=trace pre-commit run -a terragrunt_validate and attach full output here, if you still think that there issues with hook


direct_fog_url being set to carrierwave default_image instead of image uploaded

Hi,
I am trying to understand why the direct_fog_url returns the path to my default url instead of the path to my uploaded image 'med_res.jpg' with the following key
ImageUploader.rb
def default_url
"https://s3-us-west-2.amazonaws.com/luminoto/worlds_first_camera.jpg"
end
UploadsWorker.rb
def perform(photo_id, image_key)
photo = Photo.find(photo_id)
photo.key = image_key
photo.remote_image_url = photo.image.direct_fog_url(:with_path => true)
binding.pry
photo.save!
end
console
[6] pry(#)> photo.key
=> "development/photo/image/8b6ad024-adaa-4f0e-af71-d4f12c9f288f/med_res.jpg"
[7] pry(#)> photo.image.direct_fog_url(:with_path => true)
=> "https://d9vwx0ll7rhpx.cloudfront.net/uploads/tmp/1427316979-29456-6641/default_image.jpg"

What happens if you save the photo after setting the key?
def perform(photo_id, image_key)
  photo = Photo.find(photo_id)
  photo.key = image_key
  photo.save!
  photo.remote_image_url = photo.image.direct_fog_url(:with_path => true)
  binding.pry
  photo.save!
end

I keep getting the same issue.  Even if I directly name the correct path as in 'uploaded_photo_path' I still get this file attachment missing error in the sidekiq server log.
def perform(photo_id, image_key)
photo = Photo.find(photo_id)
photo.key = image_key
uploaded_photo_path = photo.image.direct_fog_url(:with_path => false).to_s + image_key.to_s
photo.remote_image_url = uploaded_photo_path
photo.save!
end
ActiveRecord::RecordInvalid: Validation failed: Image attachment is missing

Everything works when I run the sidekiq process right away using 'new.perform', but when I use 'perform.async'
UploadsWorker.perform_async(new_photo.id, new_photo.key)
I get the following error in the sidekiq gui...
ActiveRecord::RecordInvalid: Validation failed: Image attachment is missing
This scenario works..but nothing is done in the background.
UploadsWorker.new.perform(new_photo.id, new_photo.key)
def perform(photo_id, image_key)
photo = Photo.find(photo_id)
uploaded_photo_path = photo.image.direct_fog_url(:with_path => false).to_s + image_key.to_s
photo.remote_image_url = uploaded_photo_path
photo.save
end

Glad you got it solved.


Feature requrest: default working directory of new tmux splits to worktree repo

When working with a bare Git repo and worktrees, tms opens a new window for each worktree. The working directory for the pane in each of those windows is the worktree directory. When splitting the window, the working directory for the new pane is the directory containing the bare repo (usually the parent of the worktree directory), not the worktree directory itself.
It'd be great if tms configured the tmux window so that a new pane's working directory is the worktree directory.
P.S. I'm a tmux noob, so not sure whether that's even possible 😅
P.P.S. Thanks for tms, it's great!

The split-window command has the -c option with which you can define the starting directory of the new split. If you use for example (copied from my config, mind the different keys)
bind -r v split-window -h -c "#{pane_current_path}"
bind -r s split-window -v -c "#{pane_current_path}"

you can make all splits inside a window open in the same directory.

Thanks @junglerobba, that works great!
I'll leave this issue open for now in case it seems like sensible default behaviour, but I'm happy for a maintainer to close it if not.

I have the same problem/feature request. I usually have bare repos with many different worktrees and would like to be able to choose the worktree in the search list directly. If you don't want this as default behaviour this could be an --show-worktrees option or something. For example:

/home/user/projects/a/worktree_1
/home/user/projects/a/worktree_2
/home/user/projects/b

Then you would directly open the specific worktree and have the root folder for the tmux session be to the worktree you decided to work on.

Then you would directly open the specific worktree and have the root folder for the tmux session be to the worktree you decided to work on.

I really like this idea!
I initially thought I wanted something adjacent to this, but this seems to be even better! 🤩  (I initially thought I wanted the ability to set the root folder for the tmux session to be a specific directory relative to the location of the bare repo root. Since I want to organize the structure of worktrees a particular way). To have a tmux session per worktree however seems much cleaner, and circumvents the need for such a feature.
It would then need to include the project as well in the session switcher, since I'd usually want similar worktrees (eg. main) in multiple projects.
eg. filtering for main:
projectA/main
projectA/feature-main-widget
projectB/main
projectC/main

also, it seems like tmux-sessionizer creates a main worktree automatically upon switching?. Since I wanted to follow the structure of something like https://morgan.cugerone.com/blog/how-to-use-git-worktree-and-in-a-clean-way/. Then I had to pre-empt this feature by creating my own main ahead of time (in the specific location I want).
Here's also two aliases I have to follow the same structuring described in the link above.
# new git project setup (using bare repos & worktrees)
# USAGE: repo githubusername/reponame
#
# new structure becomes:
# project
#   ├── .bare
#   ├── feature
#   └── main
alias gclb='f(){ git clone --bare "$@" .bare }; f'
alias repo='f(){
  mkdir -p "$HOME/Repos/$1";
  cd "$HOME/Repos/$1";
  gclb "git@github.com:$1.git";
  echo "gitdir: ./.bare" > .git;
  git worktree add main;
}; f'

if this feature gets added, I guess it also makes sense to not default to opening multiple windows (one for each worktree) upon switching? (this is the same behaviour as tms refresh). This behaviour could all be baked into tms switch --only-worktrees as described above. Would also maybe be nice to have it opt-out for the normal switching too?  eg. tms switch --single-window 🤔.


Wrapping up documentation and slight project structure adjustment

With this I think I've got the docs at a place that I'm happy with(see https://docs.rs/netcode/0.3.1/netcode/ for how they look). There's a bunch of sample code and a functioning example now too.
Note that I had to change the project structure a little bit and include the Cargo.toml in the root directory. Since Rust does a clean build from scratch in a separate directory for publishing I couldn't include resources outside of the tree from the Cargo.toml. Since we build the C API as part of our test pass it had to live in a place where it could find it.
Let me know if that's okay. I can look into other solutions but none of them are nice. Cargo doesn't have any hooks for running commands before publish executes so moving it seemed like the most straightforward fix.

Hey there, heads up we are considering changing the chacha from 64bit to 96bit, because it makes the go port easier, golang supports the IETF version (96 bits), but doesn't support the 64bit version. We're going to keep the 64bit sequence # in packets, but zero pad to 96 bits before passing to IETF.

Got it, things are a tad busy now so I don't know if I'll be able to pick up the change quickly. I'll try to look into it when I can over the next few days. Are you keeping the internal structures 64 bits and just changing the invocation of encode/decode?

Yes. No changes to structures, just the implementation will use a 96bit nonce, with high bits padded zero, so the golang implementation can use the native chacha support.

Okay yeah, that should be a bit more straightforward. Let me see if I can get a change up in a branch tomorrow or the day after and you can cherry-pick it in when you decide to make the switch.

OK. The IETF chacha is in the C implementation. Look at the diff, and this should be a pretty trivial change. cheers

Ugh, and looks like Rust doesn't have bindings in libsodium_sys. Not the end of the world but going to take me a bit of time to sort out.


AwsInjectableTag: AUTOSCALE_GROUP does not work outside us-east-1

The implementation of getAutoScaleGroup never sets a region on the AutoScaling client, which defaults to us-east-1. If the monitored instance is not in us-east-1, the describe-autoscaling-instances request fails to return anything, and the tag will have the value 'undefined'.

Looking at the AwsServiceClients class, there is a way to inject a region-specific endpoint with a system property. However, it would be nicer if the region was culled from the instance metadata to guarantee that the appropriate endpoint was used, rather than relying on external configuration.

I'll take a look when I get a chance, otherwise PRs welcome.
For some context, we don't use the AwsInjectableTag class internally. The auto-scaling group and other general tagging information we rely on is setup in userdata so it is easily accessible on the instance. Unfortunately we cannot get the ASG name from the metadata service directly. Then the observer that sends the data in adds the common tags to all metrics when reported.

PRs welcome, since there is not an internal use-case we do not plan to fix this.


openvr.error_code.CompositorError_InvalidTexture

Hi
I am getting the openvr.error_code.CompositorError_InvalidTexture with all samples.
For example:
Traceback (most recent call last):
  File "hello_glfw3.py", line 18, in <module>
    glfwApp.run_loop()
  File "/home/argus/.local/lib/python3.6/site-packages/openvr/glframework/glfw_app.py", line 83, in run_loop
    self.render_scene()
  File "/home/argus/.local/lib/python3.6/site-packages/openvr/glframework/glfw_app.py", line 60, in render_scene
    self.renderer.render_scene()
  File "/home/argus/.local/lib/python3.6/site-packages/openvr/gl_renderer.py", line 198, in render_scene
    self.left_fb.submit(openvr.Eye_Left)
  File "/home/argus/.local/lib/python3.6/site-packages/openvr/gl_renderer.py", line 112, in submit
    openvr.VRCompositor().submit(eye, self.texture)
  File "/home/argus/.local/lib/python3.6/site-packages/openvr/__init__.py", line 4409, in submit
    openvr.error_code.CompositorError.check_error_value(error)
  File "/home/argus/.local/lib/python3.6/site-packages/openvr/error_code/__init__.py", line 23, in check_error_value
    raise error_class(error_value, message)
openvr.error_code.CompositorError_InvalidTexture

@Toni-SM Thank you for your report. The samples are still working for me. Perhaps there is something specific about your setup.
Are other vr applications working correctly?
Are other OpenGL based vr applications working correctly?
Are you able to successfully compile and run the C++ samples from https://github.com/ValveSoftware/openvr ?
Have the samples for this project ever worked on your setup? If so, can you think of what might have changed?
From the file names in the stack trace I would guess you are running some sort of linux or unix operating system. I don't have a linux vr setup so I cannot help debug that aspect. What exact OS version are you using?
What VR hardware are you using? I'm using an original HTC Vive. This project has had more testing with Windows/Vive than with other configurations.


Add a build badge to the README

Description
As discussed in the 2017-05-10 dev meeting, it will be nice to have a build badge on the README. Travis CI already provides this facility, we just need to use it :smile_cat:

This has been merged in #517, so closing


Name of the package may be a bit confusing

Hello, thanks for sharing this package!
I'm just concerned about people googling for it will most probably end up in:
https://github.com/grammarly/rocker
As it was a relatively famous (and very useful) package, now discontinued.

Yes, it may get renamed. It also conflicts with https://github.com/mreithub/rocker though I've asked for access to https://pypi.org/project/rocker/ If I don't get that we'll find a new name.

renamed to crocker


Mark JSON as supported in 2.0

Mark JSON and inverted indexes as supported in 2.0
Add inverted indexes to 2.0 sidenav

This change is

@lhirata, these small updates were assigned to you, but we got a community question about it, so I just went ahead and updated the page.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/11d0edb5c0cf0fea4b64e4440a6ac82a38719e9e/

LGTM, thanks for adding!


darwin.libffi: init at 35

Apple’s version of libffi is required by PyObjC.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This should probably have a hash for the Xcode project in case the build of the trampoline diverges, right?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/the-darwin-sdks-have-been-updated/55295/1

This should probably have a hash for the Xcode project in case the build of the trampoline diverges, right?

It’s only one file. What would diverge? Note that the addition to fficonfig.h isn’t based on the Xcode project. It’s derived from fficonfig_arm64.h.

unfortunately the upstream patch cfi_startproc patch doesn't apply https://github.com/libffi/libffi/commit/8308bed5b2423878aa20d7884a99cf2e30b8daf7
will need something like:
diff --git a/src/aarch64/sysv.S b/src/aarch64/sysv.S
index eeaf3f8..329889c 100644
--- a/src/aarch64/sysv.S
+++ b/src/aarch64/sysv.S
@@ -76,8 +76,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
    x5 closure
 */

-	cfi_startproc
 CNAME(ffi_call_SYSV):
+	cfi_startproc
 	/* Sign the lr with x1 since that is where it will be stored */
 	SIGN_LR_WITH_REG(x1)

@@ -268,8 +268,8 @@ CNAME(ffi_closure_SYSV_V):
 #endif

 	.align	4
-	cfi_startproc
 CNAME(ffi_closure_SYSV):
+	cfi_startproc
 	SIGN_LR
 	stp     x29, x30, [sp, #-ffi_closure_SYSV_FS]!
 	cfi_adjust_cfa_offset (ffi_closure_SYSV_FS)
@@ -500,8 +500,8 @@ CNAME(ffi_go_closure_SYSV_V):
 #endif

 	.align	4
-	cfi_startproc
 CNAME(ffi_go_closure_SYSV):
+	cfi_startproc
 	stp     x29, x30, [sp, #-ffi_closure_SYSV_FS]!
 	cfi_adjust_cfa_offset (ffi_closure_SYSV_FS)
 	cfi_rel_offset (x29, 0)

for llvm19.


[Enhancement] Dark / Light mode based on the system theme

Describe the solution you'd like
Many apps (for windows) support system based theming. I think that's really neat :^)
Could be a nice thing to have.
Is your feature request related to a problem? Please describe.
I like light themes at day, but dark themes are better at night
Additional context
Idk if it's possible because AME has to restart after changing theme's right now.

Currently the application does auto detect your system theme and configure the application to it. However, it does not automatically change. I'll look into implementing a method to set it to use default theme, should be easy.

Cool! Thanks :^)

So I've managed to add support for it to auto change. However, if you decide to use transparency it will not auto-update as the transparency colour is only set when you launch the application, but the rest of the UI will update.

Wow, that was really fast!! Thank you :)


[SPARK-9449][SQL] Include MetastoreRelation's inputFiles

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

test this please

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

test this please

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

LGTM

Test build #1481 has started for   PR 8119 at commit 3a54fc1.

Test build #1481 has finished for   PR 8119 at commit 3a54fc1.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build triggered.

Merged build started.

Test build #1484 has started for   PR 8119 at commit 3a54fc1.

Test build #40610 has started for   PR 8119 at commit ffe7fb4.

Test build #1484 has finished for   PR 8119 at commit 3a54fc1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #40610 has finished for   PR 8119 at commit ffe7fb4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #1486 has started for   PR 8119 at commit ffe7fb4.

Test build #1486 has finished for   PR 8119 at commit ffe7fb4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #1500 has started for   PR 8119 at commit ffe7fb4.

Test build #1500 has finished for   PR 8119 at commit ffe7fb4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Test build #1506 has started for   PR 8119 at commit f579675.

Test build #1506 has finished for   PR 8119 at commit f579675.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build triggered.

Merged build started.

Test build #40669 has started for   PR 8119 at commit 365fb4d.

Test build #40669 has finished for   PR 8119 at commit 365fb4d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged to master and 1.5


Failed to get resource info from spiget.org

Today I started the server and I noticed the following java.io.IOException from F3Name in the console.
Manually loading http://api.spiget.org/v2/resources/58997?ut=1614242223073 in the browser works for me though.
[09:38:03 WARN]: [F3Name] Failed to get resource info from spiget.org
java.io.IOException: Server returned HTTP response code: 504 for URL: http://api.spiget.org/v2/resources/58997?ut=1614242223073
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1924) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) ~[?:?]
        at ua.coolboy.f3name.spiget.updater.SpigetUpdateAbstract$1.run(SpigetUpdateAbstract.java:92) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-497]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-497]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-497]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
>

> ver F3Name
[09:40:37 INFO]: F3Name version 3.2.0
[09:40:37 INFO]: Author: Cool_boy
> ver
[09:40:37 INFO]: This server is running Paper version git-Paper-497 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
[09:40:37 INFO]: Checking version, please wait...
[09:40:38 INFO]: Previous version: git-Paper-496 (MC: 1.16.5)
[09:40:38 INFO]: You are running the latest version
>

Seems like temporary downtime on spiget side. If the error continues to appear, you can turn off auto-update in config

Okay, thank you for the follow up and I will keep an eye on it. Question though, what do I add to config.yml to disable the update check?
#  ______ ____  _   _                       #
# |  ____|___ \| \ | |                      #
# | |__    __) |  \| | __ _ _ __ ___   ___  #
# |  __|  |__ <| . ` |/ _` | '_ ` _ \ / _ \ #
# | |     ___) | |\  | (_| | | | | | |  __/ #
# |_|    |____/|_| \_|\__,_|_| |_| |_|\___| #
#                                           #

groups:
  #Default group. DO NOT REMOVE!
  everyone:
    f3names:
      - '&6&l1MoreBlock.com&r&6 version 2.8.7&r'
      - '&e&l1MoreBlock.com&r&6 version 2.8.7&r'
      - '&c&l1MoreBlock.com&r&6 version 2.8.7&r'
      - '&9&l1MoreBlock.com&r&6 version 2.8.7&r'
      - '&b&l1MoreBlock.com&r&6 version 2.8.7&r'
      - '&3&l1MoreBlock.com&r&6 version 2.8.7&r'
    #Shuffle that list before displaying?
    shuffle: false
    #Refresh rate in ticks (1 second = 20 ticks)
    update-time: 240
  #Some example. You can edit or remove this
    #Shuffle and update-time are optional, their default values shown above

#If set to true, disables this plugin and gives bungeecord side plugin ability to send
#messages through this plugin. It allows bungee to use hooked plugins (PlaceholderAPI, Vault, LuckPerms)
bungeecord-as-primary: false

#Use colored console. Disable this if your console doesn't have support for colors
coloredConsole: false

#Auto update for the plugin
auto-update: false

Okay, thank you for the follow up and I will keep an eye on it. Question though, what do I add to config.yml to disable the update check?

check-for-updates: false
Added with today's update, thanks for feedback


i only want use GetTransaction method get one transcation by address+lt,please give me use this method demo.thank you

Ah, block should be a shard block where this transaction has happened. Maybe it will be simpler for you to call ListTransactions on account and find it

Ah, block should be a shard block where this transaction has happened. Maybe it will be simpler for you to call ListTransactions on account and find it

@xssnick iwant to know transaction struct params description

https://docs.ton.org/develop/data-formats/transaction-layout

https://docs.ton.org/develop/data-formats/transaction-layout

thanks


docs(flag): add UseShortOptionHandling description

What type of PR is this?

documentation

What this PR does / why we need it:
Add a description of UseShortOptionHandling in the Flag section so that users can clearly understand that to support Flags like -vvv, it is necessary to set UseShortOptionHandling.
Which issue(s) this PR fixes:
Close: #1942
Special notes for your reviewer:
nil
Testing
nil
Release Notes
NONE

@junezee you mean this one?
https://github.com/urfave/cli/blob/937cfe918cb10bd15aeeab4519ef2d6058a296ea/.github/workflows/test.yml#L89-L96

I would say, docs publishing needs a separate job, which will pull markup files from all branches. This way v2 docs will be maintained in v2-maint branch.

Should we consider moving the publish job from v2-maint branch to main branch?

This may not be a good idea because the current main branch contains the documentation for v3, which is still in the alpha stage.
I think we can merge this PR first, as the current changes include docs/v3. I can submit another PR and point it to the v2-maint branch.


Larger Extension Editor preview

The extension preview features a very space wasting side panel that contains very little information given the space it occupies and could easily fit to the right side of the header. This would leave much more room to the IFrame rendering the extension's readme/description which often is too narrow -- for people not having a HD/Retina monitor, a monitor under 2K (i.e me) or with screen scaling enabled. So consider this an a11y feature as well.
Here's a simple mock-up of how this could look like instead:

The header being a flex container would then have three flex children. The following flex values seemed reasonable when I tried this in the dev-tools:
.icon-container: flex:1
.details: flex: 4
.additional-details-container: flex: 1  (the new one, originally from the right side of .content)
Then .content > .details would no longer require to be a flex container for the lack of useful child elements. It appears .readme-container's only purpose was to move the sidebar to the right.
Thanks for considering.

oh, and please allow ALL SCROLLBARS in the GUI to be changed to scrollbar-width: auto; because the thin version is a nuisance and hard to hit. A hateworthy fad that also makes many websites hard to use.
Not everyone uses a touch screen or mouse with a scroll wheel => a11y request 2
Thank you! 🙏🏻


Enhancement: nps display

from etterna spawncamping wallhack
would be nice considering how kade engine is meant for competitive use and play

i was thinking about that yeah

awesome

Added in Nightly 3


Insert event data into nexus structure by data assembling handler.

Fixes #134
Continued from #172

I'll reopen it when it's ready

I'll split it into multiple PRs...

Closing this as it was split into multiple PRs in #183 , #181 and #180


Wish: Please include DNS Forwarder -> Host Overides

I wish for a feature to update the IP-adresses of host overrides in pfsense on
Services -> DNS Forwarder -> Host Overides (services_dnsmasq.php)
and subsequently apply the changes.

Hey!
Thanks for your patience. I have these features now implemented in the v1.3.0 beta build. The command to install the beta build is in #115. Feel free to install the beta and try it out. If there's anything missing or not working as expected please let me know.
Thanks again!

Hey!
Thank you very much. So Nice.

Works fine for the DNS Resolver. Nice. Thank you.
Does not work for DNS Forwarder. Those settings are separte.

Are you using the correct endpoints for each on v1.3.0beta?
For DNS Resolver host overrides the endpoint will be /api/v1/services/unbound/host_override
For DNS Forwarder host overrides the endpoint will be /api/v1/services/dnsmasq/host_override

Sorry. That was my fault. I was unable to get .130 on my pfsense textbox.
I will test this feature when it is in the main release

Hi Jared,
I don't see beta package for 2.4 version of pfsense. Is this not supported for 2.4?


pls can you add -w watch option to this amazing module

it would be really nice to have watch and reload option for http-server , i use this package all the time and what bugs me is i have to refresh broiwer after making changes all the time.
I wish this had -w watch option which would watch current directory and reload after changes are detected , i know this can be done with other plugins but i wish http-server server had this funtionality.
Thanks

LOL dang, you just told the guy to go refresh himself


WIP: Deploy version of CDN broker

What
Deploys a version of the CDN broker with the fix from https://github.com/alphagov/paas-cdn-broker/pull/40
How to review

Deploy and test that updating CDN route still works

Who can review
Anyone

I deployed this to @barsutka's dev env and it all works OK


Replace testify's asserts with require

In most of our tests we use assert.XXXX which will check the condition XXX and fail the tests if its not met. though, assert will fail the test but keep running it. which might make some more tests fail and generate bloat in tests log.
We should replace assert in places where tests depend on previous assertions with require.
require offers the same api (XXX we talked about) but fails the tests and stop it.
assert should be used as a condition as it returns a bool.

this suits most of the tests but not all