This improves some exception handling along with a new feature

I found some hiccups that the script didn't know how to handle, so here are the solutions that I've implemented.

If the script immediately exits after clicking on confirm, the request may not get processed before chromedriver gets killed. Waiting 15 seconds after clicking confirm helps ensure the confirmation succeeds.

I'm not aware of any native functions that check for the existence of an element via XPath, so I added one for convenience. Note that sometimes although an element is no longer visible, it may just be hidden and the XPath will still exist, so it's not a full-proof way to check, it just depends on what you're looking for.

If guests are already selected, the while loop will infinitely loop trying to find the "unselected" XPath. The only way to continue is to manually deselect the already selected users so that the script can select them and finish the loop. My implementation iterates over each guest listed in the credentials and only selects them if they are currently unselected, as it is implied they are already selected if the "unselected" XPath is not found.

If the user already has a fastpass(es) and the script finds an opening that conflicts with the time frame, the script does not handle it and requires manual intervention to proceed to the confirmation page. This only works if the user handles it within a few minutes, or else the entire request times out and effectively loses the time slot. The new override feature will prompt the user at the start if they want the script to override any fastpass in conflict to secure the one they are searching for. The implementation just clicks continue for every user, and then the next button. If the user selects no to this feature, it simply skips the routine and they will need to manually resolve the conflict.

I have split up each feature into a different commit. Note that 3 & 4 use the function implemented in 2. I would like to have this request reviewed for merging. I have tested this on my own account and it has proven successful for grabbing a couple of passes but could certainly benefit in robustness with more testing.

Added commit #5, which updates the ride name for Slinky Dog Dash

Reverted commit 7bce6f4 because the previous pull request already updated the ride names

Thanks for the critique, I don't believe I tested it with reservations all full. Unfortunately, I don't have access to the fast pass screens anymore so that will have to be picked up by someone else.


No notification sound / not hearing new people who join voicechat

Aknowledgements

[X] I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself.

[X] I have tried running the build from the master branch and it does
not have any fixes implemented according to my issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[X] I have found a workaround to mitigate or temporarily fix this issue
(please write it in Additional context section).

Operating System / Platform
🪟 Windows
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
19.0.4
Application version
3.3.0
Bug description
These issues started after installing the 3.3.0 version. Notification sound are not working at all, I even enabled desktop notification and given the notification permissions. Normally I would hear it when someone pinged me or sent me a message.
Second issue is that I can't hear new people who join a voicechat that I was part of. I need to disconnect and reconnect and then it fixes it and even then its a 50% chance that it mutes someone else and by mute im not talking about the discord feature I just can't hear them. Sometime in a 5 man voicechat I can hear 2 out of 5 rejoin and now its 3 out of 5. Then sometime it goes down. I thought it was the new api.js but I tried disabling it without restarting webcord and the issues still persisted.
Additional context
No response

I couldn't reproduce this on Linux, and as of Windows 10 I couldn't reproduce the Notifications sound bug (WebRTC seems to be OK, although I haven't tested it yet). As of voice channels, I'm pretty sure DevTools could say something about WebRTC failures if that is the case.
And even if I would reproduce this on Windows, it is unlikely a bug that I could fix on my side.

I've also been having the issue with notification sounds. I don't get any, but if I switch back to 3.2.0 they start working again

I also switched to 3.2.0
3.3.0 is unusable in this state on windows

@Vagenkoritis Check if autoplay-policy isn't actually a breaking change – you should be able to replace it with --autoplay-policy=no-user-gesture-required, I believe this should have disabled it. If that won't work, I'll publish the builds with autoplay enforced. If that won't help either, it isn't then likely a problem on WebCord's side...

I posted an issue of my own that is probably related to this, but at least for me the sound effect will play, but only if WebCord is the currently active window. So it won't play the notification sound if I'm using another program or if WebCord is minimized. Hope this info can help figure this out.

I posted an issue of my own that is probably related to this, but at least for me the sound effect will play, but only if WebCord is the currently active window. So it won't play the notification sound if I'm using another program or if WebCord is minimized. Hope this info can help figure this out.

I think this might be a duplicate, so I closed it.

Apologies about that, I wasn't sure if the difference of it playing when active qualified it as different enough. I still did have the problem with the taskbar icon though in that issue, should I open that on its own?

Apologies about that, I wasn't sure if the difference of it playing when active qualified it as different enough. I still did have the problem with the taskbar icon though in that issue, should I open that on its own?

Replied in #163...

After playing with DevTools, I came into the conslusion autoplay might be actually required for WebRTC / notifications to work properly. I'll flag this as confirmed. Thank you a lot @JadeTank for more specific details.


Seperate out Main Perf Table into appropraite ablations, and fix sort order to highlight impact

Will do this on the latex reporting side


Review logic in Compactor.getRunningCompaction()

It's possible that the DeadCompactionDetector that runs in the Coordinator could be stuck waiting on a Compactor that is trying to reserve a compaction. Review the logic around the use of the currentCompactionId variable.

@dlmarion made some changes related to this 75274ab29b5399788a8a61e4973acde3defa74bf. If those changes look good to you I think we could close this.


Template not described well

This template is not described well in its Readme file.
What you have to do:

[ ] Use the template on your local machine.
[ ] Check what it does
[ ] And then improve the Readme file accordingly.
[ ] Make use of gifs in the readme file for better clarity.

Assign this to me if not assigned to anyone.

Hi, I would like to give this a try as well!

Hi, I would like to give this a try as well!

You can work on any other issue as  this issue already assigned to someone else

Can you please check the updated readme file.


fixed build fail in example. downloading nwbuild version is old.

build fail in example.  error message is "Error: unknown platform win32".
This error is caused by older version of node-webkit-builder.
so fixed package.json.

This one should be merged LGTM :)

Thanks very much


upgrade ES to v5.5.3

From this PR, the docker tag and git tag formats are changed to $ES_VERSION-$TIMESTAMP, like:
DOCKER_TAG=5.5.3-201709151142
GIT_TAG=5.5.3-201709151142

cc @bitjourney/kibela-developers

👍


Add new cap for libspdm 1.2.1 in emu

Signed-off-by: Wenxing Hou<EMAIL_ADDRESS>

where do you update the default cap flags value???

Thanks. I have added the default cap values.


add vis/uuid/static/:w/:h.png

Closes #4153

@juanignaciosl CR please
@javisantana take a look, I've implemented the desired behaviour and alternatives, but just in case I missed something. I haven't pushed any config change because I prefer to leave CDN Details to @CartoDB/systems or to you.

Frontend tests were OK :+1: (details)

:+1:

Frontend tests were OK :+1: (details)

@CartoDB/systems I need help testing this at staging. I'm getting consistent 404s on all requests almost 100% because it ends in .png and in local works, code and Rails routes are proper ones, etc.
I'm trying to pinpoint the issue checking logs but with experienced help it would be quicker.

Ok, confirmed the issue is not on the code but server configuration.
If I change Rails route from
get '(/user/:user_domain)(/u/:user_domain)/api/v2/viz/:id/static/:width/:height.png'

to
get '(/user/:user_domain)(/u/:user_domain)/api/v2/viz/:id/static/:width/:height.test'

and request a static map with /api/v2/viz/6ffe6338-0d39-11e5-a850-040120e0c101/static/300/300.test it works, while /api/v2/viz/6ffe6338-0d39-11e5-a850-040120e0c101/static/300/300.png throws a 404.
Also confirmed that with .png Unicorn gets no request.
So I guess I should wait to merge this until the issue is solved @CartoDB/systems .

@Kartones is this url going to be cached on varnish? I need to know that in order to do a change or another in nginx

Yes, it is, I'm precisely working on that right now.

Frontend tests were OK :+1: (details)


Sporadic IndexOutOfRangeException when publishing test results

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment

Server - VSTS or TFS on-premises?
VSTS

If using TFS on-premises, provide the version:

If using VSTS, provide the account name, team project name, build definition name/build number:
microsoft
"Universal Store"
SC.csPayments.PaymentInstrumentFrontDoor.Gated
Build 0513.20180409
link

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version:
Universal Store RFT link

Issue Description
Every few builds, on the vstest task on the "publish test results" stage, build fails with an IndexOutOfRangeException.

Error logs
...
Results File: E:\work\5\s\TestResults\wpsetwtt_azepicrft007 2018-04-09 17_02_06.trx
2018-04-09T17:03:01.1054689Z Attachments:
2018-04-09T17:03:01.1054916Z   E:\work\5\s\TestResults\9e46b9c0-61c1-4e26-a719-bf9650a94de1\wpsetwtt_azepicrft007 2018-04-09 17_01_55.coverage
2018-04-09T17:03:01.1055051Z Total tests: 326. Passed: 326. Failed: 0. Skipped: 0.
2018-04-09T17:03:01.1056274Z Test Run Successful.
2018-04-09T17:03:01.1066968Z Test execution time: 1.0723 Minutes
2018-04-09T17:03:01.5988548Z **************** Completed test execution *********************
2018-04-09T17:03:01.6794944Z Test results files: E:\work\5\s\TestResults\wpsetwtt_azepicrft007 2018-04-09 17_02_06.trx
2018-04-09T17:03:02.2148776Z Created test run: 9600815
2018-04-09T17:03:02.2149128Z Publishing test results: 326
2018-04-09T17:03:02.2181903Z Publishing test results to test run '9600815'.
2018-04-09T17:03:02.2208358Z Test results remaining: 326. Test run id: 9600815.
2018-04-09T17:03:54.0630013Z ##[error]Failure attempting to call the restapis. Method: System.Threading.Tasks.Task1[System.Collections.Generic.IList1[Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult]] b__1(), Exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
2018-04-09T17:03:54.0643698Z    at System.Collections.Generic.List1.Add(T item) 2018-04-09T17:03:54.0644238Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.<>c__DisplayClass6_1.<<UploadTestResultAttachments>b__0>d.MoveNext() in D:\V2.0\A1\_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 231 2018-04-09T17:03:54.0644473Z --- End of stack trace from previous location where exception was thrown --- 2018-04-09T17:03:54.0644618Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2018-04-09T17:03:54.0645075Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2018-04-09T17:03:54.0645264Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.<UploadTestResultAttachments>d__6.MoveNext() in D:\V2.0\A1\_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 237 2018-04-09T17:03:54.0645618Z --- End of stack trace from previous location where exception was thrown --- 2018-04-09T17:03:54.0645742Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2018-04-09T17:03:54.0645920Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2018-04-09T17:03:54.0646229Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.<BatchUploadAttachments>d__5.MoveNext() in D:\V2.0\A1\_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 207 2018-04-09T17:03:54.0646396Z --- End of stack trace from previous location where exception was thrown --- 2018-04-09T17:03:54.0646519Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2018-04-09T17:03:54.0646847Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2018-04-09T17:03:54.0647023Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.<BatchPublishResults>d__4.MoveNext() in D:\V2.0\A1\_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 193 2018-04-09T17:03:54.0647193Z --- End of stack trace from previous location where exception was thrown --- 2018-04-09T17:03:54.0647363Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2018-04-09T17:03:54.0647496Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2018-04-09T17:03:54.0647671Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.<AddTestResultsAsync>d__1.MoveNext() in D:\V2.0\A1\_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 62 2018-04-09T17:03:54.0647857Z    --- End of inner exception stack trace --- 2018-04-09T17:03:54.0647982Z    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) 2018-04-09T17:03:54.0648140Z    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) 2018-04-09T17:03:54.0648352Z    at Microsoft.VisualStudio.TestService.Utility.HttpUtil.RunTaskWithRetriesOnServiceUnavailability[T](Func1 getTask, Boolean ignoreFailure) in D:\V2.0\A1_work\38\s\Ta\Agent\VS.TestService.Utility\HttpUtil.cs:line 30
2018-04-09T17:03:54.0648538Z ---> (Inner Exception #0) System.IndexOutOfRangeException: Index was outside the bounds of the array.
2018-04-09T17:03:54.0648690Z    at System.Collections.Generic.List`1.Add(T item)
2018-04-09T17:03:54.0648863Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.<>c__DisplayClass6_1.<b__0>d.MoveNext() in D:\V2.0\A1_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 231
2018-04-09T17:03:54.0649040Z --- End of stack trace from previous location where exception was thrown ---
2018-04-09T17:03:54.0649189Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-04-09T17:03:54.0649322Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-04-09T17:03:54.0649589Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.d__6.MoveNext() in D:\V2.0\A1_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 237
2018-04-09T17:03:54.0649779Z --- End of stack trace from previous location where exception was thrown ---
2018-04-09T17:03:54.0650222Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-04-09T17:03:54.0651135Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-04-09T17:03:54.0651301Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.d__5.MoveNext() in D:\V2.0\A1_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 207
2018-04-09T17:03:54.0651453Z --- End of stack trace from previous location where exception was thrown ---
2018-04-09T17:03:54.0651624Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-04-09T17:03:54.0651764Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-04-09T17:03:54.0651925Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.d__4.MoveNext() in D:\V2.0\A1_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 193
2018-04-09T17:03:54.0652102Z --- End of stack trace from previous location where exception was thrown ---
2018-04-09T17:03:54.0652227Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-04-09T17:03:54.0652351Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-04-09T17:03:54.0652535Z    at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestResultsPublisher.d__1.MoveNext() in D:\V2.0\A1_work\38\s\Ta\Tasks\PublishTestResults\Publisher\TestResultsPublisher.cs:line 62<---
2018-04-09T17:03:54.0652666Z
2018-04-09T17:03:54.0653070Z ##[error]Failed to publish test results: One or more errors occurred.
2018-04-09T17:03:54.0653912Z Completed TestExecution Model...
2018-04-09T17:03:54.0758083Z ##[warning]Vstest failed with error. Check logs for failures. There might be failed tests.
2018-04-09T17:03:54.1277985Z ##[error]Error: E:\work_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\2.3.28\Modules\DTAExecutionHost.exe failed with return code: 1
2018-04-09T17:03:54.2314065Z ##[error]VsTest task failed.
2018-04-09T17:03:54.4162485Z ##[section]Finishing: VsTest - CITs

@Sachin077 @SadagopanRajaram
PublishTestResults task is throwing IndexOutOfRange while adding elements to list. Can you have a look?

Hi @bowerhaus, we are looking into it and will update you soon.
One question: What is the version of TFS you are using? Is this TFS 2018 Update2?

It is TFS 2018 Update 3.

Thanks @bowerhaus for the info. I will update the thread soon.

Hi @bowerhaus,
We got the root cause of the issue.
Will it work for you if we will provide you a dll with the fix which you can drop in your agent folder?
Thanks,
Faizan

Hi @Faizan2304, that would be cool, thanks.

Hi @bowerhaus
Can you please follow the steps in the link below to open a support ticket to make sure we get the fix to you in an appropriate manner?
https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_<IP_ADDRESS>&wf=0&wfname=productselection&gprid=10453&ccsid=636125714937824749&forceorigin=esmc
Thanks and sorry for the inconvenience
Sada

Hi @utkarshagoswami, we are in fact using on-premise TFS so I will follow the suggestion from @SadagopanRajaram and create a TFS ticket once I find out how to get hold of our TFS Support AccessID.

Hi @SadagopanRajaram. I have just spent a large part of this afternoon (circa 90 minutes) attempting to register a support ticket. I don't want to go into details but the Microsoft support phone line is excruciating to use, long winded and was ultimately ineffective. I found a support chat service that did issue me an AccessID but that errored in the support website. The chat agent then told me to use the phone line again, which I am not going to go through again.
Thank you for investigating (and fixing) this issue but it looks like I am going to have to continue with our stop-gap workaround and wait until your fix ultimately appears in the final product.
Best regards

@bowerhaus
I am sorry about your experience with the support process.
If the issue is not resolved, please reach out to me at<EMAIL_ADDRESS>and I can see how to facilitate the creation of the support ticket and take it forward.
Thanks
Sadagopan Rajaram

Hi @SadagopanRajaram. I have emailed you directly.
Best regards

We are also getting this error when the build try to rerun failed tests, what is the solution?

@sahaassa can you give us information about the product and version you are using, because we have fixed this issue sometime back.
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment
Server - VSTS or TFS on-premises?
VSTS

    If using TFS on-premises, provide the version:

    If using VSTS, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private:

    If using Hosted agent, provide agent queue name:

    If using private agent, provide the OS of the machine running the agent and the agent version:

Closing this issue, Please open another one. If you still face the issue.


Require in Runtime

Specifically this line of code.
previewSrc={require(`../../content/assets/${src}?lqip`)}

All examples that I tried returns Cannot find module. What did you do here that made this work?

It depends where you putting your images and how you use them inside your markdown.
On this setup, it should be inside the content/assets folder and in markdown just the name and the extension (e.g. cat.jpg).
You can change this easily by changing the path on that import.
If you are following all these, then it could be related to a missing lqip-loader. I would love it if you could follow me up on this, so I can help you further.

Ah, thanks Jose. Found this.
Also I realized that with this method, I have increased my page JS by 2-3 KB (gzip) per image. Offtopic but just wondering if you have the same issue as well.

This may be related lazysizes package which does allow for lazy loading images. I will be exploring possibilities such as this issue's comment: https://github.com/JoseRFelix/nextjs-starter-blog/issues/2#issuecomment-650576983. Regardless, performance should be carried out since 2kb and 3kb most likely won't affect much of it.

If the 3KB extra per image is .jpg or .png, then it won't affect performance.
Unfortunately, the 3KB extra is .js. Any extra kilobytes of javascript need to be parsed and evaluated by the browser, so that will definitely affect performance.

I know what you mean. JS can affect performance especially since the bundle size increases by image. I infer this javascript comes from the lazy loading functionality, which will increase the performance of the page even though extra js is added. Regardless, I'll be investigating this.


UI-Add RBAC for fleet

Need to add the following UI components for fleet:

Ability to assign other user to fleetworkspace if current user is an owner of fleetworkspace(or able to create roleBinding in the same namespace).
Ability to add cluster to the current fleetworkspace(by editing cluster.spec.fleetworkspaceName)

One more item:
Standard user in local cluster now have the ability to create fleetworkspace, but UI doesn't display that option to create(probably because it can't list fleetworkspace). It should be able to add this in UI.(Similar to clusters)

This is going to be pretty limited compared to what the Ember UI does for projects/clusters, because there's no way to use Principals like it does, but we don't really have time to improve the API for this for 2.5.4.

The User you enter has to be a user that already exists, you can't refer to someone who hasn't logged in before
You can only search the display name we (sometimes) store on the user object
No principal information (icon, the actual display name vs login name from the auth provider, etc)
No groups (there is a Groups CRD but it's not populated ever?)
We're assuming you have permission to list Users at all, which is not necessarily true (but likely is if you're managing Fleet...)

@StrongMonkey:

Ability to assign other user to fleetworkspace if current user is an owner of fleetworkspace(or able to create roleBinding in the same namespace).

This presence of edit action in the UI is controlled by "you" (the API) returning (or not) the update link on the resource.  I'm ignoring situations where you might be able to edit the workspace but not the bindings or vice versa for now so it's just based on the workspace.

Standard user in local cluster now have the ability to create fleetworkspace, but UI doesn't display that option to create(probably because it can't list fleetworkspace). It should be able to add this in UI.(Similar to clusters)

This is also controlled by "you".  The type is shown by the UI if exists in the schemas that are returned by steve.  All types for fleet are currently missing in this situation (you can see /v1 shows no fleet.* links) until you assign the user to some workspace, then they all show up.

Ability to add cluster to the current fleetworkspace(by editing cluster.spec.fleetworkspaceName)

This is already in Ember, + you can move the assignment of clusters in Vue.

QA:  Presenting the bindings as user->role rows and letting you edit them individually is relatively complicated because k8s allows multiple users in one binding, and disallows editing roles on an existing.  There are 7 situations if you want to test them all:

Adding a new entry (should make a new binding)
Changing a subject on existing entry (should update the binding)
Changing the role on an existing entry with one subject (should delete the whole binding and then make a new one, you're not allowed to edit the role of an existing binding)
Changing the role of an existing entry with multiple subjects (should update binding with that subject removed, then make a new one.)
Removing an existing entry where it's the only subject in the binding (should delete whole binding)
Removing an existing entry where there are multiple subjects (should update binding with that subject removed)

The UI doesn't ever create a binding with more than one subject, but should support editing and preserving ones that do.  All bindings the UI creates use the generated name ui-fleet-xxxxx.

Removing this feature from 2.5.4:
Issues: I think the main issue is that this will only work for local server, anytime a user doesn't have access to the server that rancher is deployed on, it won't work at all.

I suggest closing this issue because to my knowledge, there is no plan to allow project members or project owners the ability to have self-service for Fleet.

To clarify, this is something that Fleet are looking in to and some work has already started for 2.7.1

Duplicate of https://github.com/rancher/dashboard/issues/7315


feat: add host config to histoire dev

Description
When I ssh remote development, I need it to be able to expose the service to the LAN to facilitate my debugging
What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other


Replace flake8 test with ruff

It's faster and natively supports pyproject.toml ... what's not to like?

I think Ruff is a formater but flake8 is a linter. The main difference is that the formater fixes the code but the linter just tells you where is the problem. For me, I love to use flake8 only without black, ruff, or anything else. It's a personal recommendation only but I feel like they don't need it at all.
Another thing to keep in mind is that they look like to stopped maintaining this project as you see the last commit is from a year ago so I don't think they will do anything about it at all.

Ruff is both linter and formatter. I believe, it's possible to opt into using just the linting mode. It's fast, but doesn't reimplement rules for every flake8 plugin. So my recommendation is to use Ruff in the linting mode and use flake8 additionally but only for rules that haven't been ported.
As for formatting, I personally dislike black but don't reject formatting as a concept. It tends to give a false impression of quality if overused. OTOH, that's up to the maintainers, of course.
And regarding the maintenance, it's done by volunteers who often step up to do something that they themselves need from the project. Recognize that they are human and don't necessarily have resources to provide free labor to random people on the internet.
Using the commit date or any similar metadata to define the maintenance status is just silly — if a project does what the maintainers need it to do, it doesn't really need as many updates. And accepting+reviewing random patches requires significant time commitments and you can't just bully them into doing this by declaring a project unmaintained.
It's open source, anyway — anybody is free to fork it and is allowed to develop such a fork as they see fit (within the limits of the licensing, of course).
If you want to join the maintenance, do mention that @ https://github.com/aio-libs/aiosmtpd/issues/144.

This is the first time for me to hear that Ruff is a formatter and linter at the same time. Anyway, I don't think that it will add something to the project at all as from my experience, using one linter is enough. But if you want to use Ruff instead of flake8 you can wait for some time for it they add all the rules of flake8.
And for the performance, I don't think it matters. I mean imagine that flake8 takes 1 second and ruff takes 0.01 second. even with this huge difference, I don't think that waiting for a second or waiting for a 0.01 second is a big thing that might make you move from flake8 to Ruff
Maintaining some projects would be interesting but unfortunately, I don't have enough time for now. But I am sure that I might have some time soon (by saying soon I mean maybe 6 or 7 months or maybe a year). Anyway, I truly want to maintain an open-source project but as I said I don't have enough time and I have no idea when I might have any. But I will call you when I can do anything that might help.


Created database summary is wrong

Duplicate of https://github.com/feathersjs/cli/issues/142
Basically, when feathers generate authentication is complete, a message like this is shown:

Make sure that your mongodb database is running, the username/role is correct, and the database "repository_name" has been created.

This will be the case even if you've provided an alternate database name then repository_name.

Looks like a problem here: https://github.com/feathersjs/generator-feathers/blob/master/generators/connection/index.js#L312


Question:  Response::from_bytes -> change "application/octet-stream" to "image/jpg"

I try to show image from KV content -> "image: JPEG image data, Exif standard: [TIFF image data..."
let (value, _metadata) = kv.get("27B6QvlGpyJ8dy9T1k3TZiGSZ4j").bytes_with_metadata::<Vec>().await?;
let imgbytes = value.unwrap_or_default();
Response::from_bytes(imgbytes)
I  think I must change "application/octet-stream" to "image/jpg"
.with_headers(headers) don't work for me.

Currently this is possible if you use mutate the headers after the fact, for example this respond with the correct content type:
use worker::*;

const IMAGE_BYTES: &[u8] = include_bytes!("./example.jpg");

#[event(fetch)]
pub async fn main(req: Request, env: Env, _ctx: worker::Context) -> Result<Response> {
    Router::new()
        .get("/", |_, _| {
            let image_bytes = IMAGE_BYTES.to_vec();
            let mut response = Response::from_bytes(image_bytes)?;

            let headers = response.headers_mut();
            headers.set("Content-Type", "image/jpg")?;

            Ok(response)
        })
        .run(req, env)
        .await
}


Fibonacci Number in C++

Related Issue
Solved issue number: #353
Describe the changes you've made
Adding Source Code for Fibonacci Number in C++
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
C++
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review the code ;-)


Windows 10 Failed to load the native TensorFlow runtime

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information
OS Platform and Distribution Windows 10 64 bit
TensorFlow installed from (source or binary): pip install tensorflow
TensorFlow version: 1.12.0
Python version:3.6.5
GPU model and memory: Geforce 150mx 4gb
Describe the problem
I'm unable to import keras using "Tensorflow backend"
when I try to import "from keras.models import Sequential" I get the error shown bellow
These are the steps that I did when I installed the libraries
1- conda create -n tensorflow python=3.5 anaconda.
2- activate tensorflow.
3- conda install theano.
4- conda install mingw libpython.
5-pip install tensorflow.
6- pip install keras.
7- conda update --all
8- pip install tensorflow-gpu
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Error shown:
`from keras.models import Sequential
Using TensorFlow backend.
Traceback (most recent call last):
File "", line 1, in
from keras.models import Sequential
File "C:\Users\MHD\Anaconda3\lib\site-packages\keras_init_.py", line 3, in
from . import utils
File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\utils_init_.py", line 6, in
from . import conv_utils
File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\backend_init_.py", line 89, in
from .tensorflow_backend import *
File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\MHD\Anaconda3\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\MHD\Anaconda3\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.`

Couple of things I would like to check. I see that you are using Python 3.X
Therefore you need to use pip3 to install TensorFlow and Keras
pip3 install tensorflow
pip3 install keras
Also are you able to start a TensorFlow session successfully?
What's the output of following in your python console?
import tensorflow as tf

I have installed python 3 but when I checked now I found that I have folder named python_dateutil-2.7.5.dist-info
also I tried    to import tensorflow from the console and I got this error:
`import tensorflow as tf
ImportError                               Traceback (most recent call last)
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
59   from tensorflow.python.pywrap_tensorflow_internal import version
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in
27             return _mod
---> 28     _pywrap_tensorflow_internal = swig_import_helper()
29     del swig_import_helper
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
23             try:
---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25             finally:
~\Anaconda3\lib\imp.py in load_module(name, file, filename, details)
242         else:
--> 243             return load_dynamic(name, filename, file)
244     elif type_ == PKG_DIRECTORY:
~\Anaconda3\lib\imp.py in load_dynamic(name, path, file)
342             name=name, loader=loader, origin=path)
--> 343         return _load(spec)
344
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in
----> 1 import tensorflow as tf
~\Anaconda3\lib\site-packages\tensorflow_init_.py in
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
25
26 try:
~\Anaconda3\lib\site-packages\tensorflow\python_init_.py in
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 from tensorflow.python.tools import component_api_helper
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
72 for some common reasons and solutions.  Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74   raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\MHD\Anaconda3\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\MHD\Anaconda3\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.`

I installed tensorflow on my gpu and I didn't install CUDA Tool kit 9.0 , CUDNN and Tensorflow-GPU 1.5
my question is: could that be the reason?

Yes you need to install those drivers for GPU support and update environment variables.

Nagging Assignee @ymodak: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

conda create -n tfdeeplearning python=3.5
conda install jupyter
conda install numpy
conda install pandas
conda install scikit-learn
conda install matplotlib
pip install --upgrade tensorflow
give me error
ImportError                               Traceback (most recent call last)
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
59   from tensorflow.python.pywrap_tensorflow_internal import version
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in ()
27             return _mod
---> 28     _pywrap_tensorflow_internal = swig_import_helper()
29     del swig_import_helper
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
23             try:
---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25             finally:
~\Anaconda3\envs\tfdeeplearning\lib\imp.py in load_module(name, file, filename, details)
242         else:
--> 243             return load_dynamic(name, filename, file)
244     elif type_ == PKG_DIRECTORY:
~\Anaconda3\envs\tfdeeplearning\lib\imp.py in load_dynamic(name, path, file)
342             name=name, loader=loader, origin=path)
--> 343         return _load(spec)
344
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in ()
----> 1 import tensorflow as tf
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow_init_.py in ()
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
25
26 from tensorflow._api.v1 import app
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python_init_.py in ()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
72 for some common reasons and solutions.  Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74   raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
Kindly help .

conda create -n tfdeeplearning python=3.5
conda install jupyter
conda install numpy
conda install pandas
conda install scikit-learn
conda install matplotlib
pip install --upgrade tensorflow
give me error
ImportError Traceback (most recent call last)
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import version
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in ()
27 return _mod
---> 28 _pywrap_tensorflow_internal = swig_import_helper()
29 del swig_import_helper
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
23 try:
---> 24 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25 finally:
~\Anaconda3\envs\tfdeeplearning\lib\imp.py in load_module(name, file, filename, details)
242 else:
--> 243 return load_dynamic(name, filename, file)
244 elif type_ == PKG_DIRECTORY:
~\Anaconda3\envs\tfdeeplearning\lib\imp.py in load_dynamic(name, path, file)
342 name=name, loader=loader, origin=path)
--> 343 return _load(spec)
344
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in ()
----> 1 import tensorflow as tf
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow__init__.py in ()
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
25
26 from tensorflow._api.v1 import app
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python__init__.py in ()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Kindly help .

Did you found any solution; I am going through the same issue since yesterday?

I also have the same problem
I have python 3.6.8
cpu version
my operating system is windows 10 64bit
Traceback (most recent call last):
 File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
   from tensorflow.python.pywrap_tensorflow_internal import *
 File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
   _pywrap_tensorflow_internal = swig_import_helper()
 File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
   _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
 File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
   return load_dynamic(name, filename, file)
 File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
   return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "flow", line 4, in <module>
    from darkflow.cli import cliHandler
  File "C:\Users\حسين\Downloads\YOLO_Object_Detection-master\darkflow\cli.py", line 3, in <module>
    from .net.build import TFNet
  File "C:\Users\حسين\Downloads\YOLO_Object_Detection-master\darkflow\net\build.py", line 1, in <module>
    import tensorflow as tf
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Users\حسين\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

Failed to load the native TensorFlow runtime.

conda create -n tfdeeplearning python=3.5
conda install jupyter
conda install numpy
conda install pandas
conda install scikit-learn
conda install matplotlib
pip install --upgrade tensorflow
give me error
ImportError Traceback (most recent call last)
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import version
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in ()
27 return _mod
---> 28 pywrap_tensorflow_internal = swig_import_helper()
29 del swig_import_helper
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
23 try:
---> 24 mod = imp.load_module('pywrap_tensorflow_internal', fp, pathname, description)
25 finally:
~\Anaconda3\envs\tfdeeplearning\lib\imp.py in load_module(name, file, filename, details)
242 else:
--> 243 return load_dynamic(name, filename, file)
244 elif type == PKG_DIRECTORY:
~\Anaconda3\envs\tfdeeplearning\lib\imp.py in load_dynamic(name, path, file)
342 name=name, loader=loader, origin=path)
--> 343 return load(spec)
344
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in ()
----> 1 import tensorflow as tf
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow__init.py in ()
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
25
26 from tensorflow.api.v1 import app
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python__init.py in ()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
~\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\ibr\Anaconda3\envs\tfdeeplearning\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Kindly help .

Did you found any solution; I am going through the same issue since yesterday?

Sorry nothing new with me in my PC working but I am trying to install It in my Laptop give me this error Failed to load the native TensorFlow runtime.

I have the same problem

import tensorflow
Traceback (most recent call last):
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
fp, pathname, description = imp.find_module('_pywrap_tensorflow_internal', [dirname(file)])
File "C:\Users\princ\Anaconda3\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
import _pywrap_tensorflow_internal
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
fp, pathname, description = imp.find_module('_pywrap_tensorflow_internal', [dirname(file)])
File "C:\Users\princ\Anaconda3\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\princ\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
import _pywrap_tensorflow_internal
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

@RajdeepPy @ibrahimabob @osama12sy @Saran-nns @ymodak @MohammadDabbas
ok so i did a research on this erro and i found that tensorflow only support python 3.5x & 3.6x so download and install one of these 2 versions the install the packages you need and run the program. for me it worked

thank you so much

@RajdeepPy @ibrahimabob @osama12sy @Saran-nns @ymodak @MohammadDabbas
Current stable release for CPU-only
pip install tensorflow
Preview nightly build for CPU-only (unstable)
pip install tf-nightly
Install TensorFlow 2.0 Alpha
pip install tensorflow==2.0.0-alpha0

Hi I have the same issue,
I have build the keras Sequential model, and I have Tornado API, when I run the API I get
λ python Tornado6.0.py
Using TensorFlow backend.
Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>

    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Anaconda3\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Anaconda3\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Tornado6.0.py", line 17, in <module>
    from keras.models import Sequential
  File "C:\Anaconda3\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import utils
  File "C:\Anaconda3\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
    from . import conv_utils
  File "C:\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "C:\Anaconda3\lib\site-packages\keras\backend\__init__.py", line 89, in <module>
    from .tensorflow_backend import *
  File "C:\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in <module>
    import tensorflow as tf
  File "C:\Anaconda3\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>

    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Anaconda3\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Anaconda3\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

May I have some help please, Thanks

@osama12sy
I have faced the same problem, did you solve it?
please help

@osama12sy

Sorry no
On 1 Feb 2020 Sat at 6:21 PM AmA<EMAIL_ADDRESS>wrote:

@osama12sy https://github.com/osama12sy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/23755?email_source=notifications&email_token=AFHXYERIJI754ZZX6UPF5G3RAWHOTA5CNFSM4GD24FE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQ7NTQ#issuecomment-581039822,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFHXYESF2U2KQMTEQYGT6YTRAWHOTANCNFSM4GD24FEQ
.

Having the same problem and literally checked every website and found nothing!

Same issue... any suggestion?

Please open new issues and fill in the template. Also, search for similar issues, they might have been already solved.
For Windows, please make sure the following are all checked:

your CPU supports AVX
you have installed the latest MSVC redistributable from Microsoft
you have a 64 bits Python
pip has been updated to the last version (pip install --upgrade pip)

Locking conversation to prevent further comments hiding solutions


Support s3-compatible object storage services?

Hi thanks for the lib! I want to deploy my gatsby website onto huawei cloud, whose object storage service is compatbile with amazon s3. However, I cannot use this plugin, because that this seems to use more apis besides pure s3 apis. Is there any ways to solve this?

https://gatsby-plugin-s3.jari.io/recipes/custom-endpoint
We already supported various third party s3-like services. If hauwei doesn't work, I'd say the blame is largely on them.


⚠ BCR Bot has degraded performance

In bceeab0, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1051 ms

Resolved: BCR Bot performance has improved in 2eb2dd0.


[IA-4439] Sanitize leo responses types

Jira Ticket: https://broadworkbench.atlassian.net/browse/IA-4439

Summary of changes:

What

Optional fields in leonardo's responses were actually not optional, but returning a 'null' this PR is enforcing this and making these fields non optional.

Why

We want to avoid potential bugs creeping in from assuming that fields are optional, but they are actually required with a 'null'

Testing strategy

[ ]

I thought the plan was to change the behavior of the serializer in the backend to omit the fields. If we're going to do this in the UI, it seems like it might be simpler to update the types to match what the backend outputs.

I thought the plan was to change the behavior of the serializer in the backend to omit the fields? If we're going to do this in the UI, it seems like it might be simpler to update the types to match what the backend outputs.

@nawatts the thinking here was:

We prefer the API design of non-null optional fields (value | undefined)
Changes to the backend response would also affect All of Us, which consumes our API. We don't know what the effect would be without trying it
Until we do that coordinated change, this is an incremental step to munge our API responses into the shape the frontend prefers. It's then simple to update the API when we are ready

Not changing the backend API makes sense. But it seems like we could avoid some complexity by making the frontend before the nullable version vs the optional version. That would be more consistent with other Ajax code in Terra UI, which generally does not reshape the data.
One of the things stated in the coding guidelines (though it's in reference to naming things) is:

The goal is to preserve the data’s fundamental structure as much as possible from get => render => post.
-- https://github.com/DataBiosphere/terra-ui/wiki/Contributor-Guide#naming-conventions

This change is iirc an alternative to adding null safes to the general application code

It already expects the value | undefined shape.
TypeScript code does and TS ensures that it can handle that shape. But if there is any JavaScript code using these responses (git grep suggests that there is), then it may be relying on the actual current shape of the data.

I agree that ideally the API is in sync with the display requirements of the frontend.

This change is iirc an alternative to adding null safes to the general application code

I don't see much of a difference between needing to be resilient to null vs needing to be resilient to undefined.

I agree that ideally the API is in sync with the display requirements of the frontend.

My rule of thumb is that APIs should have clean contracts that make them good APIs.  It is a separate desire within the UI code to keep api-related data/contract transforms to a minimum.
I am in agreement that Typescript should make "chasing the errors" on any contract change a straightforward exersise.  My vote:

remove Sanitized type/conversion pattern and just have the UI types reflect the existing api contract.
carefully address any JS usages for correctness and consider at least partial conversion to TS for future type safety and error chasing benefits on contract changes.

These fields are declared as Scala.Option[T] on the backend. Circe's Encoder converts Option.None => null when marshalling response objects to JSON.
Choosing either undefined or null to represent an optional-false value and keeping it consistent across terra-ui seems best.
I think the legacy JS usages might have been overlooked, and the Typescript interface definition taken as authoritative, during planning.

These fields are declared as Scala.Option[T] on the backend. Circe's Encoder converts Option.None => null when marshalling response objects to JSON.
Choosing either undefined or null to represent an optional-false value and keeping it consistent across terra-ui seems best.
I think the legacy JS usages might have been overlooked, and the Typescript interface definition taken as authoritative, during planning.

How the JSON shape is formed by the service layer is not as important as the end result... which is missing value == null.  I think we should push for simplicity in the UI code where we can.  Requiring the expected null typing for missing value makes the code simpler  (removes need for sanitization)  so we should refactor to that simpler pattern.
There may be scenarios where a state/data provider or other layer is warranted in the ui stack between the api call (data client) and visual component.  When that added layer is abstracting or adding other value, conversions like this may be warranted... but this feels like a simpler scenario.  So my vote is to refactor for simplicity.

These fields are declared as Scala.Option[T] on the backend. Circe's Encoder converts Option.None => null when marshalling response objects to JSON.
Choosing either undefined or null to represent an optional-false value and keeping it consistent across terra-ui seems best.
I think the legacy JS usages might have been overlooked, and the Typescript interface definition taken as authoritative, during planning.

How the JSON shape is formed by the service layer is not as important as the end result... which is missing value == null. I think we should push for simplicity in the UI code where we can. Requiring the expected null typing for missing value makes the code simpler (removes need for sanitization) so we should refactor to that simpler pattern.
There may be scenarios where a state/data provider or other layer is warranted in the ui stack between the api call (data client) and visual component. When that added layer is abstracting or adding other value, conversions like this may be warranted... but this feels like a simpler scenario. So my vote is to refactor for simplicity.

The other reason why we were thinking of using this pattern is that there are several cases where, in addition to sanitizing, we want to decorate the data with certain UI-specific things (for example, the display label we use for a certain field so we don't have to call the same method on the same data everywhere it is displayed). In this case (i.e. for disks) I would vote for using the pattern here, but for the simple case here where we are just cleaning, I can see deferring this pattern until there is decorating of data to be done.

Commenting quickly... in the context of also enriching the responses from Leo, I think this makes more sense.
I think I'd still suggest having Ajax methods return the unmodified response for alignment with other Ajax methods and to avoid the risk that JS code relies on the current shape.
And then adding another layer on top of the low-level Ajax to return the enriched model objects, along the lines of what's described in the cross-team code sharing proposal.

Commenting quickly... in the context of also enriching the responses from Leo, I think this makes more sense.
I think I'd still suggest having Ajax methods return the unmodified response for alignment with other Ajax methods and to avoid the risk that JS code relies on the current shape.
And then adding another layer on top of the low-level Ajax to return the enriched model objects, along the lines of what's described in the cross-team code sharing proposal.

yes, this.
We should avoid adding concerns to things.... the object should not mutate as it travels through the code because additional concerns are being added.  The layer approach was my first thought as well.  And follow immutability principle.  With spread operator it is easy to copy an existing object to a new one that you then also add an extra property to.... or use a parent object that contains the original alongside other info.  This feels like a good candidate for either a data-provider or a state-provider.
Also, wherever things land.... code in the other direction that may be stripping off added things should instead copy over only KNOWN properties which avoids burdening that code with knowledge of other parts of the codebase.

So I am still very new to the UI and I have to admit that a lot of these concepts are going a bit over my head. I reverted the sanitization and explicitly made the optional fields required with something | null, however, the rest of the code used to be expecting optional fields and now this assumption is broken and is causing tests to fail.
It would make more sense to me to sanitize first and then not modify the rest of the UI code because now the assumption that the fields are optional will be true. Am I wrong? Should I now go through the whole codebase and make sure that we can handle null? This would be an anti-pattern for me, but again, i am new to this

The thing is TypeScript can only tell us where our assumptions are wrong in TypeScript code. Changing the types to accurately reflect API responses, TS can tell us exactly what is making invalid assumptions. But if we change the shape of the data by sanitizing it, there are no such automated checks for plain JS code. There may be unit tests for some, but unit test coverage is also concentrated on TS files.

Put another way... currently, TS and JS code have different assumptions about the shape of this data. Currently, JS's assumptions are correct and TS's are incorrect because the types are not accurate.
If we correct the types, TS will helpfully tell us what needs to be fixed, revealing bugs that currently exist.
If we sanitize the responses, we make TS's assumptions correct and invalidate JS's. And it's more difficult to update JS code after that because there's no compiler to point out errors.

can u explain a bit more why we're doing this?
is it that leo's response has these null values, and UI today doesn't handle that properly? if yes, I think there should be an easy way to make leo response encoder to not stick null in these responses

can u explain a bit more why we're doing this?
is it that leo's response has these null values, and UI today doesn't handle that properly? if yes, I think there should be an easy way to make leo response encoder to not stick null in these responses
You can add .mapJson(_.dropNullValues) on the encoder that you care about this behavior on leo side

Hi Qi,  I can attempt to summarize (@LizBaldo please check my homework)

I agree that it would be cleaner to have the service API fixed but as was pointed out, this would break AoU (I think it was) who is consuming this API also

The JS code appears to match the current null behavior of the API, so the safer thing to do is to have the TS also match null

I think it would be cleaner if the service API was versioned with the null removal fix, have AoU migrate when they have time, and have Terra UI use the cleaner API sooner.... But this would come with a larger code surface on the UI since JS code is harder/scarier to update.... Ideally we would convert the JS to TS first, THEN make this bigger improvement to all the ui code since TS will help us chase the errors with way more confidence.

@msilva-broad  I see...that's helpful...so it's something that came up as part of converting to TS? which is why it wasn't an issue before becuz JS allows it?
cc @dmohs as well (see Miguel's comment)

@msilva-broad and @nawatts, I'm trying to get clear on this. Am I understanding correctly if I summarize--

Now that our types (interfaces) are defined as expecting value | null, the JS code works as is. The Typescript files have been expecting value | undefined so those usages may need to change in this PR.
Sanitize early, leave the data shape unchanged downstream throughout the UI. You're proposing a slightly different order of operations, to match the code sharing proposal's component diagram:

Component (view) <- State provider (hook) <- Provider (sanitizer) <- Data client (Ajax calls)
The code we're adding here would go in the Provider. So I suppose the revised ask from Miguel and Nick might be:

Leave the ajax/../Runtimes.ts code alone. The methods return ListRuntimeItem or GetRuntimeItem.
Add a Provider (would take a signal, an action, and arguments, and pass them through to a Runtimes.ts method. Would return a sanitized Runtime type). What would this provider be called? Is there a specific Reacty or Typescripty code structure that is appropriate here?
Change all calls to methods on Runtimes.ts - in useRuntimes.ts, for example, and WorkspaceContainer.js - to make a call to the RuntimeProvider instead, and expect Runtime return types.

?

The incorrect types meant that TypeScript code was built on invalid assumptions. Those types have no effect on JS code. Without other information, my assumption has been that the JS code is correct and my claim is that it's easier to update the types and TypeScript code than change the shape of the data and potentially break the JS code.
Most Ajax methods do very little... they add some auth headers, make an API request, and return the data unmodified. Generally, I think we would like to keep with that convention and, instead of expanding the responsibilities of the Ajax layer, add another layer that reshapes the response into a model used by the app.
I don't have particularly strong opinions about the details of that layer's API. I was imagining something along the lines of:

Ajax().listAppsV2 returns ListAppsResponse
AppsClient.listApps returns AppModel[]

For the integration with React, the pattern I'd suggest is a custom hook that handles fetching the data. So something like useApps(workspaceId) returns { loading, apps, error }.

The incorrect types meant that TypeScript code was built on invalid assumptions. Those types have no effect on JS code. Without other information, my assumption has been that the JS code is correct and my claim is that it's easier to update the types and TypeScript code than change the shape of the data and potentially break the JS code.
Most Ajax methods do very little... they add some auth headers, make an API request, and return the data unmodified. Generally, I think we would like to keep with that convention and, instead of expanding the responsibilities of the Ajax layer, add another layer that reshapes the response into a model used by the app.
I don't have particularly strong opinions about the details of that layer's API. I was imagining something along the lines of:
* Ajax.listAppsV2 returns ListAppsResponse

* AppsClient.listApps returns AppModel[]

For the integration with React, the pattern I'd suggest is a custom hook that handles fetching the data and storing it in component state. So something like useApps(workspaceId) returns { loading, apps, error }.

In your example, it seems like useApps would be the State Provider, AppsClient would be the Provider, and ajax/../Runtimes would be the Data Client. Does that sound right?

I've been looking at useRuntimes.ts but just realized it's never used in the code. All dressed up w/ nowhere to go...

In your example, it seems like useApps would be the State Provider, AppsClient would be the Provider, and ajax/../Runtimes would be the Data Client. Does that sound right?

Yes, that sounds right.

Thanks :) I am pairing with @jdcanas on Friday to get this through the door, now that some fields are not optional anymore we need to rethink the mocking of the leo's responses a bit more

Alright, this is finally ready for review and hopefully two 👍


update version to 2018.9

Overview
Updates the project and text files to the beta release version

Just a quick question. From our new release cadence, so the second value no longer corresponds to the month release, correct?

Just a quick question. From our new release cadence, so the second value no longer corresponds to the month release, correct?

Correct, it is simply an incrementing value. Starting with the 2019 MRTK, we will begin at 0 and go as high as required.
To refresh, the versioning system is:
..
For example: 2019.1.0
Where an increase in product number carries a high likelihood of breaking changes, an increase in release indicates there may be breaking changes and an update increase is an extremely low change of breaking changes.


removed intern and assume-no-moving-gc

i recently found out that my builds was broken by inetaf/netaddr after updating to go 1.19, the error was because of an outdated assume-no-moving-gc package.
ok this was easy to solve since 1.19 was added to the allowlist in assume-no-moving-gc, but it would be nice to not have this problems on updates. I really like the solution of netipx of reimplementing the builder(etc..) for the new netip package.
I checked the codebase and assume-no-moving-gc was imported by the go4.org/intern package, in netipx the intern package is now only used in a single testfile netipx_test.go and seems to be deprecated.

Whoops, thanks!


Can't configure Fulbright!

I can't turn off Fulbright in the configurations for methane
I am using mod menu 8.0.0
Methane Version
Methane - 2.5.0 and 3.0.0

Start with Methane on? doesn't work for you?

I experience a bug when starting it as off with Methane in 3.0.0, but it's definitely OFF.

I just ended up uninstalling methane all together


chore(main): release 3.8.0

:robot: I have created a release beep boop
3.8.0 (2024-08-13)
Features

support msi_auth_for_monitoring_enabled in oms_agent (#243) (803782f)

Bug Fixes

correct defender ignore changes (#240) (4b153ca)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.8.0
:sunflower:


perf: set own verifyConditons default, no need for @npm

There are no remote calls to npm involved in what this plugin
does.

Merging this PR will publish the following release:

5.0.3 (2018-05-17)
Performance Improvements

set own verifyConditons default, no need for @npm (fcafb6b)

Merging this PR will publish the following release:

5.0.3 (2018-05-17)
Performance Improvements

set own verifyConditons default, no need for npm plugin (0ca8af0)

:tada: This PR is included in version 5.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update skype/skype-ps/skype/Get-CsOnlineDialInConferencingUserInfo.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsOnlineDialInConferencingUserInfo.md
:white_check_mark:Succeeded
View (skype-ps)

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


when clause support check file is symbolic link

I want to make an extension to provide context menu which named go to origin file in file explorer when selected file/folder is symbolic link.

No plans to address this in the near future. You may be able to utilize the workspace root from the API to scan the file system and resolve what is an isn't a symbolic link locally to create your own context key in your extension.

I have two questions.

If I need to create the context key, I can only set the extension active event to * or onStartupFinished.
There seems no api to listen the explorer context menu event

Can you provide more details info about how to implement it?
My extension code is here: https://github.com/tjx666/vscode-neo-file-utils/blob/main/src/extension.ts

If I need to create the context key, I can only set the extension active event to * or onStartupFinished.

Yes, this isn't ideal but neither is maintaining your own context key it's just at the moment it is not planned for the nearby future and we try to prevent collecting a ton of issues that just end up sitting.

There seems no api to listen the explorer context menu event

Why would you need this? You would just put the when clause in the menu registration

What I want implement:
When user open the explorer file menu, the menu item will show Open Symbolic Link Real File menu item only if the file is a aymbolic link.
What problem when I using context key?
If I understand right, I need to create the context key neo-file-utils.isSymbolicLink before user open the explorer menu. So, the question is how can I register the context key before user open explorer menu.
@lramos15


⚠ DDoS-Relay US-W-hil-1 has degraded performance

In 9aa7513, DDoS-Relay US-W-hil-1 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 148 ms

Resolved: DDoS-Relay US-W-hil-1 performance has improved in 7e40ce1 after 22 minutes.


Mobile responsive Line chart

Hey,
I have a questions:
Is there a way I can format the X-axis to not overlap in case if chart is opened in mobile like rotate the text?

Thanks for your help in advance.

change the ticks parameter on the XAxis
try something like
<XAxis ...
  ticks={width / 60}
/>

change the denominator till you are comfortable with the results


Console.log(this)

here console.log on server after post submit

This incurs crazy log spew!!   One liner fix.  :)

Hey, folks! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video). If you know Crater, it runs on the latest version.
The Legacy version is no longer supported. I'm closing this issue.
I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


If one data center crash, can we promote multiple cluster parallel?

Hi, @shlomi-noach, if a data center crash, how could we parallel promote multiple clusters？I‘ve found the limit in  go/logic/orchestrator.go , I guess it's serially to recover different clusters, is it just to protect intermediate-master cluster?
        case <-recoveryTick:
            go func() {
                if IsLeaderOrActive() {
                    go ClearActiveFailureDetections()
                    go ClearActiveRecoveries()
                    go ExpireBlockedRecoveries()
                    go AcknowledgeCrashedRecoveries()
                    go inst.ExpireInstanceAnalysisChangelog()

                    go func() {
                        // This function is non re-entrant (it can only be running once at any point in time)
                        if atomic.CompareAndSwapInt64(&recoveryEntrance, 0, 1) {
                            defer atomic.StoreInt64(&recoveryEntrance, 0)
                        } else {
                            return
                        }
                        if time.Since(continuousDiscoveryStartTime) >= checkAndRecoverWaitPeriod {
                            CheckAndRecover(nil, nil, false)
                        } else {
                            log.Debugf("Waiting for %+v seconds to pass before running failure detection/recovery", checkAndRecoverWaitPeriod.Seconds())
                        }
                    }()
                }
            }()

Hi @benmaoer, this is supported and should work for you. The code you've quoted doesn't have anything to do with parallelization of recoveries.
This is more relevant: https://github.com/github/orchestrator/blob/351af88a4b6a449307fda2f669cbe7d8323b6dfd/go/logic/topology_recovery.go#L1519-L1522

Does the code I've quoted  mean at the same time, only one goroutine do check and recover, before the goroutine  finished work or timeout, there is no goroutine could do the same thing. Inside CheckAndRecover function, it's still parallel recoveries

The code you've quoted runs every 1 second, and asynchronously invokes the CheckAndRecover() function, which reads analysis and then asynchronously runs all required recoveries.
1 second later, the code you've quoted will run again, and asynchronously run CheckAndRecover()  which will asynchronously invoke all required recoveries that have not been invoked  yet and that are not blocking newcoming recoveries.
etc.
The CheckAndRecover function spends almost no time executing. Typically it's below 100ms as I recall, and for VeryLargeSetups™ it may run almost 1 second or even slightly above.
There should not be an issue with running multiple failovers at the same time due to a data center going down.


Sketch.systems 😍

Sketch.systems is an amazing tool. I'm working on a complicated workflow for a new project, and this tool has be really helpful for iteratively defining and refining my application's behavior.  The tool helps me not only document the happy path, but also errors and edge cases. It's even faster than drawing diagrams by hand!
It has a ton of potential, and paired with xvis, I can't wait to see where these tools go in the future.
p.s. It would be cool if xviz was incorporated into Sketch.systems. I can copy-and-paste from one to the other, which gets me halfway there, but immediate visual feedback would be heavenly.
p.p.s. Where would I report bugs in xviz and Sketch.systems? Most of the time they work correctly together, but I've encountered a few issues.

I'm talking to Kevin Lynaugh (who made sketch.systems) next week, so I'll ask him about it! Also, I'm currently working on an even more advanced visualization and editing tool - basically the successor to xviz (more details on that soon).

Kevin Lynaugh (who made sketch.systems)
That explains a few things. For a second, I thought you had made it. Major kudos to Kevin.

[...] basically the successor to xviz (more details on that soon).
Exciting! I can't wait.

@davidkpiano any updates?

@maxbaluev 	Sketch.systems now exports to an xstate object!


Spawn and Pool Nodes

For subgraphs as shown in the Following

I suggest an API like this:
@Node()
class SpawnNode:
    iterator = zn.iterable()
    result = zn.outs()

    def __call__(self, iterator):
        self.iterator = iterator

    def run(self):
        # assume that the respective self.iterator in the run in this case is just an integer an not the list
        self.result = self.iterator ** 2

SpawnNode(spawn=True)(iterator=[1., 2., 3., 4.])
# or more simple, because the zn.iterable indicades a spawn node automatically
SpawnNode()(iterator=[1., 2., 3., 4.])

this will create the following Nodes:
SpawnNode(name="SpawnNode_iterator_1")
SpawnNode(name="SpawnNode_iterator_2")
SpawnNode(name="SpawnNode_iterator_3")
SpawnNode(name="SpawnNode_iterator_4")

The iterator can be anything from tuples to generators.
Also if you have two zn.iterable it would iterate over all possible combinations.
One major downside of this method is that it can probably not run them in parallel! So we should still consider having a sub-git or similar to run them in parallel on e.g. a cluster.
A pool node on the other hand will be a classic Node that has a SpawnNode as a dependency
@Node()
class PoolNode:
    spawn_nodes: list[SpawnNode] = dvc.deps(SpawnNode(load=True))
    result = zn.outs()

    def run(self):
        self.result = 0
        for node in self.spawn_nodes:
            if node.result > self.result:
                self.result = node.result

I think it looks great. Is it possible to put a spawn=True into the decorator? That way it defines the type of the node in the node declaration. It could also maybe check that the iterator exists or something I am not sure.

I think it looks great. Is it possible to put a spawn=True into the decorator? That way it defines the type of the node in the node declaration. It could also maybe check that the iterator exists or something I am not sure.

Yes, it would be absolutely possible. It would be more of a check, because the definition itself would come from the zn.iterable definition. Therefore, it would be a little bit redundant, but I agree that if it is desired the decorator would be the better place compared to the __init__


update label for rback resource deletion.

ref: https://github.com/open-cluster-management/backlog/issues/18299
Signed-off-by: morvencao<EMAIL_ADDRESS>

Investigation results: https://github.com/open-cluster-management/backlog/issues/18299#issuecomment-986479619


config : Unix socket address marked as invalid by dialstring tag

invalid ZeroStorClusterConfig: Address: unix://etcd137925510 does not validate as dialstring;

The embedded 0-stor metaserver address is using unix socket

Closed by merged PR #388.


Add some login/auth examples of "Social" user authentication

Here is a tutorial for [integrating GitHub]
(https://learndjango.com/tutorials/django-allauth-tutorial).
The process is similar for Google, Facebook, and all the rest django-allauth supports. Here is the complete list of providers.

Register a new OAuth application
https://github.com/settings/applications/new
Application Name: Django Polls Application
Homepage URL: http://<IP_ADDRESS>:8000
Application Description:
A basic poll application built with Django web framework
Authorization callback URL:
http://<IP_ADDRESS>:8000/accounts/github/login/callback/
Enable Device Flow: Leave unchecked
Click register button
Make note of Client ID and generate an new Client Secret

Signing in with GitHub is now available at http://<IP_ADDRESS>:8000/accounts/login/


Member storage scalability

As it stands, each member uses an emptyDir volume for storage, which consumes the root partition for most users.  My primary concern here is that we (on GCE, unsure if this is doable in other cloud providers) can't do an online resize of the root partition, thereby necessitating a change to our instance template and manually cycling through / upgrading nodes when we experience etcd-induced disk pressure.  This also impacts nodefs and increases the frequency of node GC cycles.
My first thought was to amend our instance templates and mount a disk on each node at /var/lib/kubelet/pods.  I can imagine hostPath and persistent-storage-based solutions, as well, but am not entirely sure what the scope is here.  Any insight would be very much appreciated.
See #552 for previous discussion.

this is basically identical to https://github.com/coreos/etcd-operator/issues/957.
let's continue the discussion there. in short, we need k8s support of local-pv to move this forward.


Style North Star footer

UX Mocks
Notes:

"Return to top" link

Align with main content in center column (class="grid-col-8")

Gray “admin login” + “about civiform” - footer component documentation

Put links in container
Let the background color expand across the screen

QA issue captured in #9051


Update the cinder configuration to match changes in upstream charts

This is because https://review.opendev.org/#/c/666599/. Specific pool
values now have to be provided for each cinder pool we are using.
Specifically, look at the change in job-storage-init for the changed locations of the values:
https://review.opendev.org/#/c/666599/6/cinder/templates/job-storage-init.yaml

You could just see that ses_cluster_configuration['cinder']['rbd_store_pool'] is already used in that template, it's not a new addition :-)