OIDC Authentication Provider Fails

Version: 4.4.0-0.okd-2020-02-04-174205
Since the recent update to openshift-authentication, oidc no longer works as expected. When configuring OIDC as an identity provider, the user is not redirected to the challenge server at all but is presented with a standard login form instead. If the user attempts to authenticate using this method, it fails.
Identity Provider: (my setup is using Keycloak)
apiVersion: config.openshift.io/v1
kind: OAuth
metadata:
  name: cluster
spec:
  identityProviders:
  - name: oidcidp
    mappingMethod: claim
    type: OpenID
    openID:
      clientID: kubernetes-cluster
      clientSecret:
        name: oauth-secret
      claims:
        preferredUsername:
        - preferred_username
        name:
        - name
        email:
        - email
      issuer: https://sso.example.net/auth/realms/master

Can someone please try to reproduce this? I have confirmed that my Keycloak instance is available and has no issues with other applications, but I want to be sure that its not something I have done.

must-gather: https://drive.google.com/open?id=1lURmQqcNqPFjFXTtBsrmbtaPi8YDf-sd

I should be able to reproduce this next week when I get a UPI cluster stood up for my org. Thanks for making the issue! Will report back.

Is it still an issue in recent 4.4 builds?

I haven't managed to test recently as I currently don't have access to my cluster. Has anyone else tried to setup UPI with OIDC auth?

Lets close it and reopen if that happens in Beta 2 / nightlies


Gi

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Install SDK
call function  with param

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
** Environment info (please complete the following information):**

OS version [e.g. Mac OS]
Node version: [e.g. 18.16]
Browser [e.g. chrome, safari]
Package version [e.g. 1.0.0]
Build [e.g. umd, cjs]

Additional context
Add any other context about the problem here.

can you please update the description to understand the problem?

closed due to the no activity.


Collaborate on official VSCode extension 🙏

Hi Tchoupinax,
It's nice to virtually meet you. I'm Lian, Developer Advocate for Tilt, and I wanted to reach out to you to first thank you for your fantastic work on this extension! This was one of the first things I installed to help me get onboarded with Tilt. Well done!
We are now currently working on an official VS Code extension which includes a Starlark LSP server.  The repo is currently private because we are still ironing things out, but as soon as we release (which will be very soon), we will open source it.
We were hoping you'd be willing to contribute to the official extension or collaborate in some other way. We really appreciate all the work you've put into this so far and wouldn't want to see it go to waste.
Please don't hesitate to reach out if you have any more questions or comments, either here or to<EMAIL_ADDRESS>Thanks again and hope you're having a great day :)

Hello @lianmakesthings,
Thank you a lot for your message, it makes me warn in my heart.
I started this project because I used a lot Tilt and I was not happy to have a fully white-text file to declare my services. I searched for an extension for this job but I did not find one, so I decided to do this job because I seemed to me accessible.
I'm really happy to read your announcement and can't wait to see this project released. I do not have the pretension of being able to make great and large participates but you can count on me to propose some improvement or directly submit this work (like I sometimes did with tilt-extensions)
Thanks for your work (and for the great work of Tilt's team)!
Have a nice day too! :)

Hi @Tchoupinax , in case you haven't seen it, I wanted to make sure to let you know that we have released an extension that integrates with the new LSP built into Tilt to provide autocomplete & more in addition to syntax highlighting:

Tiltfile extension on VSCode Marketplace
tilt-dev/vscode-tilt repo on GitHub

Also, I wanted to say thanks again from the Tilt team for all the work you've done on this extension over the years! 🎉🙂


Maybe fixes the hamburger button?  Please pull this so I can test.

done,merged,pushed
On Mon, Feb 23, 2015 at 8:17 PM, Raymond Suelzer<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/MushroomObserver/mushroom-observer/pull/113
Commit Summary

Maybe fixes the hamburger button? Please pull this so I can test.

File Changes

M app/assets/stylesheets/general.scss
https://github.com/MushroomObserver/mushroom-observer/pull/113/files#diff-0
(1)

Patch Links:

https://github.com/MushroomObserver/mushroom-observer/pull/113.patch
https://github.com/MushroomObserver/mushroom-observer/pull/113.diff

—
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/113.

Coverage remained the same at 83.85% when pulling 9758119e7b5889ace9f149e6ea15e24249eadce9 on raysuelzer:ror4 into 519c2a4bbe4652daebceaa909197cecc05861f5d on MushroomObserver:ror4.

Hamburger menu is fixed!  Going to put in one more minor tweak.  Thank god
for google, the solution was adding this obscure line of CSS:
-webkit-transform: translate3d(0,0,0);
Ray Suelzer
Mobile:<PHONE_NUMBER>
On Mon, Feb 23, 2015 at 8:21 PM, Jason Hollinger<EMAIL_ADDRESS>wrote:

done,merged,pushed
On Mon, Feb 23, 2015 at 8:17 PM, Raymond Suelzer<EMAIL_ADDRESS>
wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/MushroomObserver/mushroom-observer/pull/113
Commit Summary

Maybe fixes the hamburger button? Please pull this so I can test.

File Changes

M app/assets/stylesheets/general.scss
<
https://github.com/MushroomObserver/mushroom-observer/pull/113/files#diff-0

(1)
Patch Links:

https://github.com/MushroomObserver/mushroom-observer/pull/113.patch
https://github.com/MushroomObserver/mushroom-observer/pull/113.diff

--
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/113.

--
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/113#issuecomment-75697251
.


Can the client use only the most secure protocols?

Can the client use only the most secure protocols?
https://github.com/google/GoogleDataTransport/blob/25449cd3dc7f4583407c81748c880fbf433c95dc/GoogleDataTransport/GDTCCTLibrary/GDTCCTUploadOperation.m#L106

Hi @limyeewee,
I don't quite understand your question, could you please explain your question further? Thanks!

Closing due to staleness


use github actions for cachix ci

I've been, so far, pushing builds to my cachix manually, but an automated github action would allow every package to be built, on every branch, including the devshells and inputs.
A reference implementation will have to be adapted to this project, but it shouldn't be too difficult.

duplicate of #59. Got a 404 when submitting so didn't realize it actually go through the api.


dispatchEvent touchstart does not work

Hey there,
Small issue just to let you know that :
const el = document.querySelector('body');
// next does nothing :
el.dispatchEvent(new Event('touchstart'));

Bye

@DavidBabel did you raise an issue for this? Could you please link to it?


Test Interstitials

Hi,
We are using AdMob as our mediation platform and have come across a couple of issues on our iPad Air 2 with iOS 10.3.1 (We have not tested any other devices or iOS versions yet).

Could you confirm what version of the AdMob SDK we should be using, we currently have 7.19.1

We have implemented MobFox into AdMob's mediation and the test banner adverts display, but they don't always animate?  Is this correct?  Should they permanently animate?

We seem to have a problem with the test interstitial not displaying after we have task switched.  If we do not task switch the test interstitial's behave correctly.

a) Request interstitial and it loads okay.
b) Before displaying the interstitial we press the home button to return to the iOS desktop.
c) We then switch back to our App by tapping on its icon.
d) We then attempt to show the interstitial and nothing appears.  The isReady method is returning TRUE.
Both the AdMob delegates "interstitialWillPresentScreen" and "interstitialDidFailToPresentScreen" are not called when the interstitial is not displayed even though it has loaded and is ready.  Again, this only seems to happen when task switching.
Regards,
iWare Designs Ltd.

Hi,
We'll take a look at these and update this issue when we have a resolution.
Thanks

Hi,
Thanks for the update.  We have just added Unity Ads, and their interstitial adverts work okay.  It seems to be MobFox only,  AdMob, Facebook, Smaato and Unity Ads all display after switching back to the iOS home screen and back to the App.
Regards,
iWare Designs Ltd.

Hi,
I'll answer for each issue you mention separately:

AdMob Ads SDK latest version 7.20.0 works with our lib.
ad animation shouldn't be always permanent, and it depends on a specific GIF. in that case it's fine the animation should stop in some level.
Now after implementing some changes, it's fixed in latest version v3.1.6f and app could loading interstitial ad right after lounging the app (as example in viewDidLoad of the ViewController), then pressing the home screen or switching to other app, after returning interstitial ad could be displayed (with MobFox show function).
The delegate functions "interstitialWillPresentScreen" and "interstitialDidFailToPresentScreen" will be invoked before presenting ad and after failure (for example when no ad return) respectively.
On any case one of the delegate function not being called, please update us and we'll solve it immediately.

Just to clarify, the animated gif in our test hash stops animating after a few cycles. That's just the way it was made.

Hi,
I have just been testing interstitial adverts using the new SDK and noticed something that I am not sure about.
We load the interstitial and receive the "interstitialDidReceieveAd" event.
At this point we have not displayed the interstitial.
When we press the iPad's "Home" button we receive the "interstitialWillDismissScreen" and the "interstitialDidDismissScreen" events (Even though the interstitial is not visible).  According to Google's documentation these two events should be called when the interstitial is to be animated off screen and has animated off screen.
I have just done the same test with AdMob's test adverts and when pressing the "Home" button we do not receive the "interstitialWillDismissScreen" or the "intersititalDidDismissScreen".  These two events should only be received when a visible interstitial is physically closed and the interstitial disappears returning control back to the App.
Regards,
iWare Designs Ltd.


⚠ RPC server - Figment Solana has degraded performance

In 007430f, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 233 ms

Resolved: RPC server - Figment Solana performance has improved in f80a51e.


[feature] Adds support for creating personally identifiable information (PII) data tokens

PII data tokens allow you to pass sensitive information (such as social security numbers) to Stripe via your backend server without the danger associated with letting such information make it to your servers in plaintext.
Here's a typical use case: if you have a sales platform, you will need to create a Stripe managed account for your sellers on your backend. Stripe requires you to provide certain identity verification information, which may include a social security number. Since it's risky to have plaintext SSNs touch your server, you can first send this data straight to Stripe via the method exposed in this PR, and then you can send the returned token to your backend to complete the identity verification process.

hey @killpack this looks great, unfortunately I had another PR in the queue which made some pretty big changes around the folder structure to make it easier to use, which has now affected your PR.
Would you mind rebasing and adding your name to the contributors list on package.json?
I'll take care of the rest, thanks again!

Alright, I think everything should be in order now.


Update sites.yml to add matija.suklje.name

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the Cloudflare report
[x] This site is not an ultra minimal site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: matija.suklje.name
  url: https://matija.suklje.name/
  size: 365.39
  last_checked: 2024-11-05

Cloudflare Report:
https://radar.cloudflare.com/scan/055ed88a-82ad-4110-9147-276e7853bd84/summary
This is my personal blog, which includes posts spanning 20 years (and counting).

Thanks!


Saving bcf output

Filtered .bcf and .bcf.csi files generated during vcf2consensus.bash is saved in the results directory under a filteredBcf/
CircleCI saves the results directory for each test under the artefacts tab. This makes it really easy to retrieve test data (the data is automatically deleted after 30 days)

Great thanks. Actually had to explicitly name files for them to be published in Nextflow. They failed to copy into the publishDir initally!


Assertion Error package:flutter/src/rendering/box.dart

Steps to Reproduce
Flutter error reported during development. Relates to the following commit for this Flutter app:
https://github.com/jasperamorgan/fast_fly_intro/commit/71e893928479a0d1c189e234eb15d43ee2b4c00a
Logs
I/flutter ( 5783): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 5783): The following assertion was thrown during performLayout():
I/flutter ( 5783): 'package:flutter/src/rendering/box.dart': Failed assertion: line 307 pos 12: 'width > 0.0': is not
I/flutter ( 5783): true.
I/flutter ( 5783):
I/flutter ( 5783): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 5783): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 5783): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 5783):   https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter ( 5783):
I/flutter ( 5783): When the exception was thrown, this was the stack:
I/flutter ( 5783): #2      BoxConstraints.constrainSizeAndAttemptToPreserveAspectRatio (package:flutter/src/rendering/box.dart:307:12)
I/flutter ( 5783): #3      RenderFittedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:2288:26)
I/flutter ( 5783): #4      RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #5      RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 5783): #6      RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #7      RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:798:17)
I/flutter ( 5783): #8      RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #9      RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:385:13)
I/flutter ( 5783): #10     RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #11     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 5783): #12     RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #13     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 5783): #14     RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #15     RenderSliverMultiBoxAdaptor.insertAndLayoutChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:410:13)
I/flutter ( 5783): #16     RenderSliverFixedExtentBoxAdaptor.performLayout (package:flutter/src/rendering/sliver_fixed_extent_list.dart:208:17)
I/flutter ( 5783): #17     RenderObject.layout (package:flutter/src/rendering/object.dart:1632:7)
I/flutter ( 5783): #18     RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:407:13)
I/flutter ( 5783): #19     RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1322:12)
I/flutter ( 5783): #20     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1240:20)
I/flutter ( 5783): #21     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1507:7)
I/flutter ( 5783): #22     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:766:18)
I/flutter ( 5783): #23     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:329:19)
I/flutter ( 5783): #24     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
I/flutter ( 5783): #25     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:268:5)
I/flutter ( 5783): #26     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:988:15)
I/flutter ( 5783): #27     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:928:9)
I/flutter ( 5783): #28     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:840:5)
I/flutter ( 5783): #32     _invoke (dart:ui/hooks.dart:209:10)
I/flutter ( 5783): #33     _drawFrame (dart:ui/hooks.dart:168:3)
I/flutter ( 5783): (elided 5 frames from class _AssertionError and package dart:async)
I/flutter ( 5783):
I/flutter ( 5783): The following RenderObject was being processed when the exception was fired:
I/flutter ( 5783):   RenderFittedBox#afa33 relayoutBoundary=up3 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 5783):   creator: FittedBox ← Container ← SetBudgetAnimation ← Padding ← Expanded ← Column ← Center ← Panel
I/flutter ( 5783):   ← RepaintBoundary-[<1>] ← IndexedSemantics ← NotificationListener<KeepAliveNotification> ←
I/flutter ( 5783):   KeepAlive ← ⋯
I/flutter ( 5783):   parentData: offset=Offset(0.0, 0.0) (can use size)
I/flutter ( 5783):   constraints: BoxConstraints(0.0<=w<=404.0, h=351.1)
I/flutter ( 5783):   size: MISSING
I/flutter ( 5783):   fit: contain
I/flutter ( 5783):   alignment: center
I/flutter ( 5783):   textDirection: ltr
I/flutter ( 5783): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 5783):   RenderSemanticsAnnotations#70352 relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 5783):     RenderImage#0a5b5 relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 5783): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 5783): Another exception was thrown: RenderBox was not laid out: RenderFittedBox#afa33 relayoutBoundary=up3 NEEDS-PAINT
I/flutter ( 5783): Another exception was thrown: RenderBox was not laid out: RenderPadding#e0d0c relayoutBoundary=up2 NEEDS-PAINT
I/flutter ( 5783): Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 314 pos 12: 'child.hasSize': is not true.
I/flutter ( 5783): Another exception was thrown: NoSuchMethodError: The method '<=' was called on null.

[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_GB.UTF-8)
    • Flutter version 1.2.1 at /home/jasperamorgan/Development/Tools/flutter
    • Framework revision 8661d8aecd (3 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/jasperamorgan/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.3)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 33.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] IntelliJ IDEA Community Edition (version 2018.3)
    • IntelliJ at /opt/idea-IC-183.5912.21
    • Flutter plugin version 33.3.2
    • Dart plugin version 183.5912.23

[!] VS Code (version 1.31.1)
    • VS Code at /usr/share/code
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • GT I9300                  • 4df140fa2dd05f57 • android-arm   • Android 4.3 (API 18)
    • Nexus 6P                  • CVH7N15A15001841 • android-arm64 • Android 8.1.0 (API 27)
    • Android SDK built for x86 • emulator-5554    • android-x86   • Android 9 (API 28) (emulator)

Thanks for the report!
It would help if you could provide a small self-contained app that demonstrates the problem you've run into.


Dev

Various bug fixes and enhancements:
visualize no longer ignores errors.
Added STL options.
Added option to not average in GAN scores
Added option to ignore nonlinearity on last conv layer
Updated resnets (needs to be tested)
There was a cuda error with some nonlinearities (PReLU). Added a fix, but probably cleaner solution exists.

Fixed the errors. They were related to both the visualization changes and that tests were being done on mixed cpu /gpu.


Installing v0.22 packages on Apple Silicon throws Error: No native build was found

I’m trying to install packages from the Platform repo [v0.22-dev branch], but got some native build errors for both Node v17 & v16.
Expected Behavior
Successfully Install from the v0.22-dev branch
Current Behavior
Throws Error:

using Node v17:
Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=102 uv=1 armv=8 libc=glibc node=17.7.0

using Node v16:
Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=93 uv=1 armv=8 libc=glibc node=16.14.0

➤ YN0009: │ @dashevo/rs-drive@https://github.com/dashevo/rs-drive.git#commit=186cb24c779c056ace0780457ff751dcd2b49a69 couldn't be built successfully
Possible Solution
Generate prebuilds for Apple Silicon running Node 17 and 16
Steps to Reproduce (for bugs)
yarn install
Your Environment

Apple Silicon (M1 mac)
Node v17 & v16

I think this issue is fixed via merge of https://github.com/dashevo/rs-drive/pull/86
@mayoreee could you confirm if you still facing this issue?

retest passed. Thank you, @pshenmic!


Migrate PNG and SVG files from public directory to DAM

All of the icons currently in /public need to be moved to DAM, and their code references updated to use the DAM public links instead of the local paths.

@jst-cyr  Is this task specifically scoped to "fav icons" only?

@jst-cyr Is this task specifically scoped to "fav icons" only?

@andershopkins : I hadn't scoped it down yet. Is there any reason to include/exclude some? Right now, the plan was to move everything that could be moved out of the /public folder.

Images referenced in CSS
I think anything that's referenced in CSS should be probably live within the project, as you'd want direct control over the contents of that file and many contributors may not have access to the DAM.
At this point, that's only:
https://github.com/Sitecore/developer-portal/blob/main/public/images/heros/hero-plus-pattern.png
UI Icons and the Sitecore Logo

The Sitecore logo in the site navigation is an SVG used as a React component:
https://github.com/Sitecore/developer-portal/blob/main/components/site/Nav/Logo.tsx
This is to support dark mode.

Additionally, the UI icons used on the site are SVGs-as-React-components, so they're not even in /public - they're a part of the components:
https://github.com/Sitecore/developer-portal/tree/main/components/helper/icons
This always fine-grained control over the SVG assets and allows us to inline the <svg> contents so we can do things like currentColor and other things we would not be able to do using an img tag.

Thank you for the context @andershopkins , I suppose a good question to ask: Which image files currently in the GitHub repo would be safe to move to the DAM and not impact developer productivity?


[WIP] Windows platform support

Not ready yet!

Hey thanks for all the work on this port @tehKaiN ! Windows support has been missing for too long. I especially appreciate the documentation for different compiler toolchains.
It's been difficult to find time for code review on this because our core team only has macs during working hours, but I will commit that this weekend I'm going to spend time trying this out and hopefully we can get this merged.

How's it goin'? ;)

https://github.com/tangrams/tangram-es/tree/windows-v2
My goal here has been to get the sample app working with Visual Studio - since that's the only build toolchain that I really use on Windows :D It doesn't seem impossible, but there still some build issues with the Mapbox Variant submodule I need to figure out.
One thing that simplified the build process greatly for me was using Conan to manage library dependencies like Zlib and libCURL. On Windows the complexity of managing binary dependencies is great enough that something like Conan actually makes sense, and it worked exactly as advertised.

In regards to merging these windows changes, I don't mind merging things as they are and continuing to work on the build configuration incrementally. This work is almost totally separate from the other platform targets, so there isn't much risk of breaking something else.
I think it will be important to add a CI configuration (probably Appveyor) to check our Windows builds regularly. Otherwise, we're just going to break Windows all the time - since none of us maintainers work on Windows.
@tallytalwar @hjanetzek Thoughts?

FYI, I also started looking at this at my home pc. More eyes the better. Will update more this week.

I'm fine with that as long as it gets merged eventually. ;)
I think I'm done here. Is there anything else I should do for this PR?

Tiny update.
Thanks @tehKaiN for documenting this PR so well, specially all the possible windows platform toolchains. I have the basic setup done on my home machine and plan to finish reviewing this the following week.
I agree with @matteblair about having dependency management (can be added as a subsequent PR) and CI (with this PR or immediately after this, though should not be too hard).
On the GL front, I am happy with the usage of GLAD. Less unsure of whats tangram's future with gl library is in lieu of iOS deprecating opengl-es, but we this is "totally" fine for our purposes right now.
More to followup next week on this.

Guys?


[Quickdraw] I am here to learn how to open and close issues on Github! 🤠

I am here to learn how to open and close issues on Github! 🤠
I will close it in 10 seconds 🤞

Closed the Issue!


Excluding unwanted changes while saving as TMDL from analysis server- "state" column

Describe the bug
I am trying to implement a devops process using TMDL model for PowerBI datasets, and when I save the tmdl model into my local I am gettting the unwanted "state" column in all the files. This creates problem while creating Pull request to the github main branch, which ends up wih too many file changes.
I am also checking "Ignore inferred properties" in Preferences as below:

To Reproduce
Steps to reproduce the behavior:

Deploy the tmdl model from github main branch into Power BI dataset - workspace 'A'.
Take the copy of it into another PowerBI workspace 'B' for development purpose.
After all the development changes, save the dataset as tmdl from workspace 'B' into a github feature branch 'feature_b'
Create pull request from 'feature_b' to github main.

Expected behavior
The State column must be excluded while saving the semantics model as TMDL into local
Observed behavior
Too many files with "state: calculationNeeded"

Application specifics

Tabular Editor 2.24.1
Semantic Engine used:  Azure Analysis Server

Would also be interesting if there is a way to do this in command line.

I'm afraid the "Ignore inferred properties" option is not used by the TMDL serializer.
I see you're using TE 2.24.1. Have you tried using the latest version 2.25? I'm asking because the latest version uses a newer version of AMO/TOM, where the TMDL serializer may have been improved.
Tagging @mthierba @ruiromano for visibility.

That's odd - those properties should never be part of a TMDL output. They certainly weren't in earlier releases of TMDL, I wonder if that's a regression? Will raise with the team internally.

Thank you! @otykier @mthierba
I will give it a try with version 2.25
So the only solution is to wait until next version ? or
could be I have my own compiled version ? if I am able to identify the issue. For this i would like to clarify regarding the license.
I would like to use it personally and not re-distribute it.

@rohitghegde If you wanted to address this issue immediately, pbi-tools can remove selected properties for you via a declarative settings file.
With this .pbixproj.json in the working directory (and the pbi-tools.exe on your PATH):
{
    "settings": {
        "model": {
            "ignoreProperties": [
                "state"
            ]
        }
    }
}

...you can run:
pbi-tools convert {your-tmdl-folder-path} -settingsFile .\.pbixproj.json  -overwrite

That will read your TMDL project from the specified folder and serialize it back to the same location, dropping all "state" properties along the way.
You can also serialize into a separate output folder like so:
pbi-tools convert {your-tmdl-folder-path} {your-output-path} -settingsFile .\.pbixproj.json  -overwrite

Obtain the tool here: https://github.com/pbi-tools/pbi-tools/releases

So the only solution is to wait until next version ?
could be I have my own compiled version ? if I am able to identify the issue.

If the issue isn't solved in 2.25, then I'm afraid there's not much we can do, until Microsoft provides updates TOM client libraries where the issue is fixed.

For this i would like to clarify regarding the license. I would like to use it personally and not re-distribute it.

It's MIT license, meaning you can do whatever you want with it personally.

Hi @otykier @mthierba
Seems I was using 2.24 version before, and I tried to save as TMDL model with both 2.25 and 2.24.1 version via command line as below:
TabularEditor.exe "Data Source=%_datasource%;User ID=app:${{ secrets.AZURE_SPN_USER }}@${{ secrets.AZURE_SPN_TENANT }};Password=${{ secrets.AZURE_SPN_SECRET }}" "%pbi-dsid%" -TMDL "../${{ inputs.target-folder }}" -G
Interestingly, 2.24.1 works as expected, it excludes state column
But both 2.24 and 2.25 version includes state column while saving the model.
I am able to replicate this only via command line and not via GUI

We fixed the serialization of inferred properties back in April. In TMDL, inferred properties should never be serialized.
I'm unable to repro your behavior using TE 2.25, by connecting to a model with an unprocessed calculation column.

@RuiRomano Thank you for trying it out, as I said I am only able to replicate this only via command line and not via GUI.
Could you please check it via command line ?
Interestingly, 2.24.1 works as expected, the state is not serialized.
But both 2.24 and 2.25 version includes state column while saving the model.

@otykier can you get a repro of this? Its strange that only replicates using the command line and not GUI.
I talked with TMDL engineers and this was definitely fixed back in April.

@RuiRomano I tried with the latest TE version (v. 2.25 which uses AMO/TOM v. 19.84.1), but I am not able to reproduce this behavior, neither via command line nor GUI. It would also surprise me if command line vs. GUI produced different results, since it's the same code path that ultimately produces the TMDL.
@rohitghegde are you sure that you used the latest version (2.25) for CLI execution in your DevOps pipeline? The output log from your CLI pipeline should indicate which build # of Tabular Editor is being used.

Hi @otykier @RuiRomano  Yes you are right, I apologize . I got confused with the 2.24.0 build.
I did another test and seems this issue is fixed from version 2.24.1 onwards and is also working fine with 2.25.0.
Thanks alot once again for suggesting to use 2.25.0


MAKE langchain AN ORGANIZATION

Issue you'd like to raise.
It is soooooo weird that this repo is still under a personal GitHub account 😕
At this moment in time (1:45pm 7-10-2023)
https://github.com/lang-chain is still available.
It would feel more professional if this repo became an organization.
Suggestion:
Convert this personal repo to an organizations repo.

Hi. Any update on this? This is really easy to do.

langchain-ai is an AWESOME organization name.


Support for sqlite vtables as loadable extensions

Implements support to author sqlite loadable extensions (https://sqlite.org/loadext.html) using rusqlite, including the ability to write vtables in Rust and use them from other languages or the sqlite3 CLI.
The two main features that configure this are loadable_extension or loadable_extension_embedded. The first is used when a rust crate is a standalone loadable extension that itself implements an extension entrypoint (i.e. by implementing an sqlite3_X_init function ). The embedded version is intended if the rust crate implements functionality that is statically linked into a loadable extension. For example, a rust crate using loadable_extension_embedded could implement a vtable but not provide a loadable extension entrypoint itself, but rather expects to be embedded within a loadable extension.
The generated sqlite bindings are different when loaded as an extension or as an embedded extension (note that in C one would need to include sqlite3ext.h instead of sqlite3.h), so this change requires additional pre-built bindings to be created. Rather than generate them manually, we opted to write a script to generate them using sources downloaded from sqlite.org (see libsqlite3-sys/bindgen-bindings/generate-bindgen-bindings.sh). This PR includes prebuilt bindings for seven versions of sqlite for both the normal, extension, and embedded extension modes.

I see that the travis CI checks are failing. This appears to be because the build script now requires rustfmt to format the bindings whereas previously they were being formatted by bindgen. The reason for this change is that the extension and embedded extension bindings rely on some code that are added to the bindgen-generated bindings by the build script.
Can we add rustfmt to the travis CI build environment, and is this an acceptable build-time dependency to have?

Why not update rusqlite/libsqlite3-sys/upgrade.sh ?

Why not update rusqlite/libsqlite3-sys/upgrade.sh ?

Because I didn't realize it existed. I did look for documentation on how to generate the pre-built bindings but didn't find anything. I am happy to incorporate my changes into the existing script, though we may want to add some docs (or possibly change the name) to make it clear that it should be used to (re)generate the prebuilt bindgen bindings.

Do you know if your PR fixes or is related to #524 ?

Yes, this should implement a fix to #524
I've been rather busy lately but will try to get to merging my changes into the existing upgrade.sh script as soon as I can.

I have added some notes on how to use this functionality to implement a rust sqlite extension in #524: https://github.com/jgallagher/rusqlite/issues/524#issuecomment-507787350

Many thanks.

closing in favor of #631


Fix never-ending warn about not implementing IReactiveAtom

Currently whenever you have the console open you get a warning about some arguments not implementing IReactiveAtom. After a lot of time trying to track down where the problem lay I realised that my code was fine, and the warning is always printed with an empty list.
Hope this helps
Oliy

Many Thanks!


Problems in yacl/link/transport

(1) You claim that the transport protocol is based on gRPC in www.secretflow.org.cn. But the code shows that it is based on bRPC. Why?
(2) Another problem is the function
`
explicit ChannelBrpc(size_t self_rank, size_t peer_rank, Options options,
bool exit_if_async_error = true)
: ChannelBase(self_rank, peer_rank, exit_if_async_error),
options_(std::move(options)) {}
explicit ChannelBrpc(size_t self_rank, size_t peer_rank,
size_t recv_timeout_ms, Options options,
bool exit_if_async_error = true)
: ChannelBase(self_rank, peer_rank, recv_timeout_ms, exit_if_async_error),
options_(std::move(options)) {}
`
But ChannelBase does not have such interface.

@usafchn could you please have a look?

(1) Brpc is compatible whith grpc if set the appropriate configuration, refer to https://github.com/apache/brpc/blob/master/docs/en/http_derivatives.md#h2grpc
(2) I don't fully understand your question. ChannelBrpc is a class inherited from ChannelBase, and it has some parameters in its construstors propagated to ChannelBase except the options parameters.

Thanks. For the problem (2), I see that my copy of codes is not updated completely.

I want to ask one moe question.
(3) What is the main advantage to design such a transport protocol instead of using TCP directly?

The word transport in our code does not mean the transport in the internet protocol stack. It use grpc/brpc to transport our data, so it is on application layer. By using grpc/brpc service framework,  we need not consider a lot about sending/receiving messages, and it simplifies work on definition of our own application layer protocol,  I think this is the main advantage.

I want to ask one moe question.
(3) What is the main advantage to design such a transport protocol instead of using TCP directly?

Well, good question, this is more or less a practical thingy.
In thoery, one can always use socket directly. But in real world scenarios, due to complexity of network, using RPC is just a simpler and safer option with reasonable overhead for most cases.


Missing opening brace on main README file

On line 36 of the README, adding an opening brace should cause the link to be hyperlinked properly

Done 👍 https://github.com/zanake/zanake/commit/feca2c2637e08c357b29917f92c1956a2f73263f


Added 4 other combination rules and Shafer's discounting. (needed for a school assignement)

Added 4 other combination rules which are Smet, Yager, Dubois and Prade, and Smarandache and Dezert.
the functions are respectively : combine_Smet() , combine_Yager(), combine_Hybride(), and combine_Pcr()
And the discounting introduced by Shafer in A Mathematical Theory of Evidence.
Bibliography included in function descriptions.

Thanks for the contribution. Unfortunately I no longer have the time to maintain this library (I will update the README accordingly). Feel free to create a fork.


rustic-doc-setup fails silently on macOS: nproc not present

I am just trying out rustic-mode, and would love to use its convenient doc lookup; unfortunately on macOS (without a coreutils installation), there is no nproc program, which makes ~/.local/bin/rustic-doc-convert.sh fail:
:;    /Users/asf/.local/bin/rustic-doc-convert.sh  std
Generating org files in: /Users/asf/.local/share/emacs/rustic-doc/std
/Users/asf/.local/bin/rustic-doc-convert.sh: line 51: nproc: command not found
error: The argument '--threads <num>' requires a value but none was supplied

USAGE:
    fd [FLAGS/OPTIONS] [<pattern>] [<path>...]

For more information try --help
:;    echo $?
1

What's even more concerning though, is that running M-x rustic-doc-setup RET succeeds. Here's an excerpt from my *Messages* buffer:
Contacting host: raw.githubusercontent.com:443
Wrote /Users/asf/.local/bin/rustic-doc-convert.sh
Wrote /Users/asf/.local/bin/rustic-doc-filter.lua
Setup is converting the standard library
Finished converting docs for std

I'm going to install coreutils to get the nproc program (would be good to have anyway), but it would be really useful if the setup function could error if that conversion tool exits non-0, instead of pretending that everything is alright.

it would be really useful if the setup function could error if that conversion tool exits non-0, instead of pretending that everything is alright.
Completely agreed. In addition, maybe we could add a more macos native function call there instead of relying on the user installing nproc. sysctl -n hw.logicalcpu is apparently one way to do it, but I can't try it out as I don't have access to a mac.

sysctl -n hw.logicalcpu on my 8-core macbook returns 16, same as nproc from coreutils does - that would be a viable solution!

@antifuchs could you give it a try and confirm that everything works on macos? If so we can close this

Closing for now :/)


Bouncing elements when at top

When I put aos on elements that are at the top of the page they move to the top of the page, getting hidden for seconds and then bounce to their original position. Someone knows why this is happening?
Example of my page: noisypope.com

Try to set body in height: 100%;

I tried, but wasn't that

Now I've just discovered it happen to me when I have the developer tools open on Chrome... any ideas way ?

Hey @noisypope. Can you provide an example codepen/sandbox that reproduce this issue?

@michalsnik
I have exactly the same problem , i tried to skip the first section from getting the style but still had this issue .
http://staging.bluewave.c2g4.concepts2go.com/nl-NL/recruitment-cases

I see it's still happening on your page. And I think it's because of the sticky header - it's height is being automatically calculated, and affects position of boxes below, that's why item's are bouncing. Set fixed height on header and all should be fine ;)


Email not in merge fields

Hi
I have selected the form, audience and tag but i cant see the email as an option in the merge fields when doing the setup. I can see the other fields available.
Is there anything that would be blocking this?
Thanks

Lets see the merge fields in the audience, in mailchimp, please

Hi Erin
These are the two merge fields. The name field is pulling through but not the email one

Thanks

Are there any errors in the console?

Are the new values saved to the config file?

I have fixed the non saving issue the mailchimp config file was missing but the email field is still not showing up.
TypeError
Return value of Silentz\Mailchimp\Subscriber::email() must be of the type string, null returned

When you submit the form it is giving the error because the email address is missing.

It's a contact form though right? Why is the email missing? Are you sending it in the form?

I have fixed the non saving issue the mailchimp config file was missing but the email field is still not showing up.

Ya, nice find, I need to throw an error there or something, thanks for the reminder.

I have fixed the non saving issue the mailchimp config file was missing but the email field is still not showing up.

Ya, nice find, I need to throw an error there or something, thanks for the reminder.

Yeah i hadnt realised that needed created when i added the addon via the cp

It's a contact form though right? Why is the email missing? Are you sending it in the form?

Ahh ok. I think i have it sorted now. I changed the handle name for the email from email_address to email and it has submitted. I didnt realise the email address handle had to be email.
Does the email field automatically get added to the merge fields without the need to add them to the forms merge fields in the addon?
Also what does the add users toggle do?

Ahh ok. I think i have it sorted now. I changed the handle name for the email from email_address to email and it has submitted. I didnt realise the email address handle had to be email.

It defaults to email though you can set the email field name in the primary_email_field config.

Does the email field automatically get added to the merge fields without the need to add them to the forms merge fields in the addon?

No, you have to add in the addon config.

Also what does the add users toggle do?

It will allow you add user registrations to mailchimp as well. I'm still working on that functionality.
Glad you got it all sorted. Going to close this, if you still have issues let me know.


Bug: Deleting an artboard also disables Panzoom?

Done: https://github.com/nwittwer/tunnelframe/compare/issue-44


Creating a demo app with each release to show the changes

Since I have several projects, it would be a great advantage to see which configurations changed in Gradle, for example. Currently, I have to create a demo project and look via git what changes have happened in the configuration of the project. It would be easier to update a demo project with every release, where you can see the changes of the new release. This way, you can also easily update projects that were created with an older version.

That's a good idea for sure. A lot of times the changes are fairly minimal, or confined to just a file or two, so checking the commit history would be easier. I'll try to get going on this sometime soon; it shouldn't be too hard.

When can this feature be expected?

Well, I've thought about this a little, and very frequently the changes in a new version only apply to one or a few platforms, or only change some aspect of an extension/library. All of the demo projects would need to use all platforms and maybe all extensions, so that changes could be seen... I'm not sure what is the best way to do this.

In my opinion, this should make profound changes such as Gradle script changes visible, the extensions are in most cases only version updates. Therefore, I see the different platforms more in focus. An advantage would be a base configuration which creates a new demo project with every release via command line.

I'm not sure what is the best way to do this.

Automate. 😎
A new commit with a generated project demo will be pushed on every release to:

tommyettinger/gdx-liftoff-demo: Java w/GWT
tommyettinger/gdx-liftoff-demo-kotlin: Kotlin w/TeaVM

Wrapper validation might make more sense in a PR check workflow. The first one does seem reasonable, I'll look into it.

I think this issue can be closed now? The projects are now generated automatically from tags, and you can see the changes from version to version in the commit history.

Yep, it seems to work! Thanks for all your work on this.


Unmatched ebegin "Mounting /run" in linux init.sh

https://github.com/OpenRC/openrc/blob/9380347f042f7d294317f4420b648422817eb75a/sh/init.sh.Linux.in#L73
That ebegin doesn't have a matching eend at the the end of the if.  That causes spurious blank line in the output and no "ok" status:
 * Mounting /run ...
 * /run/openrc: creating directory

 * /run/lock: creating directory
 * /run/lock: correcting owner

Cf. the correct code in the GNU version:
https://github.com/OpenRC/openrc/blob/9380347f042f7d294317f4420b648422817eb75a/sh/init.sh.GNU.in#L32
With the eend added the output is
 * Mounting /run ... [ ok ]
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner

thx for the report


Spell checking

Carefully read through the entire readme and checked for grammar/spelling errors. :tada:
Thank you for immer! :grin:

Coverage remained the same at 93.28% when pulling 9a18f1856a8d6dda766d3846e0ce02202c047435 on ntwigs:spell-checking into 51648efb3816a23a66c0abe76c32ca3e4cb5f03b on mweststrate:master.

Very nice! 👍


Extracting passwords issue

I have a target running version v6.42.6 and it's not working
even on older versions like 6.41 I get this error
[+] Searching for administrator credentials
[+] Using credentials - admin:1122
Unknown error code
[-] Login failed.
I'm running mac 10.13 and python 2 and 3

If you can't provide me any details then I can't recreate the issue and fix it.


fix: memory leak in StickyScrollFocus

Fixes a memory leak in StickyScrollFocus by disposing the focus and blur event listeners when the StickyScrollFocus is disposed.
Before
When exporting a profile 97 times, the number of blur and focus event listeners also increases by 97:
{
  "eventListenersWithStackTrace": [
    {
      "type": "blur",
      "description": "()=>this.onBlur()",
      "objectId": "-8977587310333954231.4.28516",
      "sourceMaps": [""],
      "stack": [
        "listener (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1459:52)",
        "new StickyScrollFocus (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1460:28)",
        "new StickyScrollWidget (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1295:38)",
        "new StickyScrollController (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1067:43)",
        "new AbstractTree (vscode/out/vs/base/browser/ui/tree/abstractTree.js:2122:47)",
        "new ObjectTree (vscode/out/vs/base/browser/ui/tree/objectTree.js:39:13)",
        "Tree.createTree (vscode/out/vs/base/browser/ui/tree/asyncDataTree.js:379:20)",
        "new AsyncDataTree (vscode/out/vs/base/browser/ui/tree/asyncDataTree.js:357:30)",
        "new WorkbenchAsyncDataTree (vscode/out/vs/platform/list/browser/listService.js:846:13)",
        "new Tree (vscode/out/vs/workbench/browser/parts/views/treeView.js:262:5)",
        "InstantiationService._createInstance (vscode/out/vs/platform/instantiation/common/instantiationService.js:139:28)",
        "InstantiationService.createInstance (vscode/out/vs/platform/instantiation/common/instantiationService.js:114:31)",
        "TreeView.createTree (vscode/out/vs/workbench/browser/parts/views/treeView.js:635:76)",
        "TreeView.activate (vscode/out/vs/workbench/browser/parts/views/treeView.js:1713:22)",
        "TreeView.setVisibility (vscode/out/vs/workbench/browser/parts/views/treeView.js:592:22)",
        "UserDataProfilePreviewViewPane.updateTreeVisibility (vscode/out/vs/workbench/browser/parts/views/treeView.js:203:27)",
        "UniqueContainer.value (vscode/out/vs/workbench/browser/parts/views/treeView.js:166:68)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter._deliverQueue (vscode/out/vs/base/common/event.js:798:22)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:813:22)",
        "UserDataProfilePreviewViewPane.setVisible (vscode/out/vs/workbench/browser/parts/views/viewPane.js:400:53)",
        "vscode/out/vs/workbench/browser/parts/views/viewPaneContainer.js:611:86",
        "Array.map (<anonymous>)",
        "ViewPaneContainer.setVisible (vscode/out/vs/workbench/browser/parts/views/viewPaneContainer.js:611:69)",
        "PaneContainer.setVisible (vscode/out/vs/workbench/browser/panecomposite.js:70:37)",
        "SidebarPart.showComposite (vscode/out/vs/workbench/browser/parts/compositePart.js:177:23)",
        "SidebarPart.showComposite (vscode/out/vs/workbench/browser/parts/paneCompositePart.js:142:19)",
        "SidebarPart.doOpenComposite (vscode/out/vs/workbench/browser/parts/compositePart.js:92:18)",
        "SidebarPart.openComposite (vscode/out/vs/workbench/browser/parts/compositePart.js:69:25)",
        "SidebarPart.doOpenPaneComposite (vscode/out/vs/workbench/browser/parts/paneCompositePart.js:352:25)",
        "SidebarPart.openPaneComposite (vscode/out/vs/workbench/browser/parts/paneCompositePart.js:332:29)",
        "PaneCompositePartService.openPaneComposite (vscode/out/vs/workbench/browser/parts/paneCompositePartService.js:61:66)",
        "ViewsService.openComposite (vscode/out/vs/workbench/services/views/browser/viewsService.js:189:46)",
        "ViewsService.openView (vscode/out/vs/workbench/services/views/browser/viewsService.js:273:50)",
        "UserDataProfileImportExportService.showProfilePreviewView (vscode/out/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js:1236:44)",
        "UserDataProfileImportExportService.showProfileContents (vscode/out/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js:739:28)",
        "UserDataProfileImportExportService.exportProfile2 (vscode/out/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js:228:25)",
        "ExportProfileAction.run (vscode/out/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js:411:72)",
        "handler (vscode/out/vs/platform/actions/common/actions.js:819:50)",
        "InstantiationService.invokeFunction (vscode/out/vs/platform/instantiation/common/instantiationService.js:99:24)",
        "CommandService._tryExecuteCommand (vscode/out/vs/workbench/services/commands/common/commandService.js:91:59)",
        "CommandService.executeCommand (vscode/out/vs/workbench/services/commands/common/commandService.js:63:33)",
        "Object.accept (vscode/out/vs/platform/quickinput/browser/commandsQuickAccess.js:237:165)",
        "UniqueContainer.value (vscode/out/vs/platform/quickinput/browser/pickerQuickAccess.js:199:26)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter._deliverQueue (vscode/out/vs/base/common/event.js:798:22)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:813:22)",
        "QuickPick.handleAccept (vscode/out/vs/platform/quickinput/browser/quickInput.js:745:41)",
        "UniqueContainer.value (vscode/out/vs/platform/quickinput/browser/quickInput.js:719:30)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:809:22)",
        "vscode/out/vs/base/common/event.js:116:91",
        "UniqueContainer.value (vscode/out/vs/base/common/event.js:1046:38)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter._deliverQueue (vscode/out/vs/base/common/event.js:798:22)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:813:22)",
        "Trait._set (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1711:35)",
        "Trait.set (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1701:18)",
        "TreeNodeList.setSelection (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1934:37)",
        "TreeNodeListMouseController.onViewPointer (vscode/out/vs/base/browser/ui/list/listWidget.js:707:27)",
        "TreeNodeListMouseController.onViewPointer (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1832:23)",
        "UniqueContainer.value (vscode/out/vs/base/common/event.js:136:114)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:809:22)",
        "UniqueContainer.value (vscode/out/vs/base/common/event.js:116:91)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:809:22)",
        "HTMLDivElement.fn (vscode/out/vs/base/browser/event.js:21:42)"
      ],
      "count": 97
    },
    {
      "type": "focus",
      "description": "()=>this.onFocus()",
      "objectId": "-8977587310333954231.4.28514",
      "sourceMaps": [""],
      "stack": [
        "listener (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1458:53)",
        "new StickyScrollFocus (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1459:28)",
        "new StickyScrollWidget (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1295:38)",
        "new StickyScrollController (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1067:43)",
        "new AbstractTree (vscode/out/vs/base/browser/ui/tree/abstractTree.js:2122:47)",
        "new ObjectTree (vscode/out/vs/base/browser/ui/tree/objectTree.js:39:13)",
        "Tree.createTree (vscode/out/vs/base/browser/ui/tree/asyncDataTree.js:379:20)",
        "new AsyncDataTree (vscode/out/vs/base/browser/ui/tree/asyncDataTree.js:357:30)",
        "new WorkbenchAsyncDataTree (vscode/out/vs/platform/list/browser/listService.js:846:13)",
        "new Tree (vscode/out/vs/workbench/browser/parts/views/treeView.js:262:5)",
        "InstantiationService._createInstance (vscode/out/vs/platform/instantiation/common/instantiationService.js:139:28)",
        "InstantiationService.createInstance (vscode/out/vs/platform/instantiation/common/instantiationService.js:114:31)",
        "TreeView.createTree (vscode/out/vs/workbench/browser/parts/views/treeView.js:635:76)",
        "TreeView.activate (vscode/out/vs/workbench/browser/parts/views/treeView.js:1713:22)",
        "TreeView.setVisibility (vscode/out/vs/workbench/browser/parts/views/treeView.js:592:22)",
        "UserDataProfilePreviewViewPane.updateTreeVisibility (vscode/out/vs/workbench/browser/parts/views/treeView.js:203:27)",
        "UniqueContainer.value (vscode/out/vs/workbench/browser/parts/views/treeView.js:166:68)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter._deliverQueue (vscode/out/vs/base/common/event.js:798:22)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:813:22)",
        "UserDataProfilePreviewViewPane.setVisible (vscode/out/vs/workbench/browser/parts/views/viewPane.js:400:53)",
        "vscode/out/vs/workbench/browser/parts/views/viewPaneContainer.js:611:86",
        "Array.map (<anonymous>)",
        "ViewPaneContainer.setVisible (vscode/out/vs/workbench/browser/parts/views/viewPaneContainer.js:611:69)",
        "PaneContainer.setVisible (vscode/out/vs/workbench/browser/panecomposite.js:70:37)",
        "SidebarPart.showComposite (vscode/out/vs/workbench/browser/parts/compositePart.js:177:23)",
        "SidebarPart.showComposite (vscode/out/vs/workbench/browser/parts/paneCompositePart.js:142:19)",
        "SidebarPart.doOpenComposite (vscode/out/vs/workbench/browser/parts/compositePart.js:92:18)",
        "SidebarPart.openComposite (vscode/out/vs/workbench/browser/parts/compositePart.js:69:25)",
        "SidebarPart.doOpenPaneComposite (vscode/out/vs/workbench/browser/parts/paneCompositePart.js:352:25)",
        "SidebarPart.openPaneComposite (vscode/out/vs/workbench/browser/parts/paneCompositePart.js:332:29)",
        "PaneCompositePartService.openPaneComposite (vscode/out/vs/workbench/browser/parts/paneCompositePartService.js:61:66)",
        "ViewsService.openComposite (vscode/out/vs/workbench/services/views/browser/viewsService.js:189:46)",
        "ViewsService.openView (vscode/out/vs/workbench/services/views/browser/viewsService.js:273:50)",
        "UserDataProfileImportExportService.showProfilePreviewView (vscode/out/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js:1236:44)",
        "UserDataProfileImportExportService.showProfileContents (vscode/out/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js:739:28)",
        "UserDataProfileImportExportService.exportProfile2 (vscode/out/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js:228:25)",
        "ExportProfileAction.run (vscode/out/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js:411:72)",
        "handler (vscode/out/vs/platform/actions/common/actions.js:819:50)",
        "InstantiationService.invokeFunction (vscode/out/vs/platform/instantiation/common/instantiationService.js:99:24)",
        "CommandService._tryExecuteCommand (vscode/out/vs/workbench/services/commands/common/commandService.js:91:59)",
        "CommandService.executeCommand (vscode/out/vs/workbench/services/commands/common/commandService.js:63:33)",
        "Object.accept (vscode/out/vs/platform/quickinput/browser/commandsQuickAccess.js:237:165)",
        "UniqueContainer.value (vscode/out/vs/platform/quickinput/browser/pickerQuickAccess.js:199:26)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter._deliverQueue (vscode/out/vs/base/common/event.js:798:22)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:813:22)",
        "QuickPick.handleAccept (vscode/out/vs/platform/quickinput/browser/quickInput.js:745:41)",
        "UniqueContainer.value (vscode/out/vs/platform/quickinput/browser/quickInput.js:719:30)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:809:22)",
        "vscode/out/vs/base/common/event.js:116:91",
        "UniqueContainer.value (vscode/out/vs/base/common/event.js:1046:38)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter._deliverQueue (vscode/out/vs/base/common/event.js:798:22)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:813:22)",
        "Trait._set (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1711:35)",
        "Trait.set (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1701:18)",
        "TreeNodeList.setSelection (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1934:37)",
        "TreeNodeListMouseController.onViewPointer (vscode/out/vs/base/browser/ui/list/listWidget.js:707:27)",
        "TreeNodeListMouseController.onViewPointer (vscode/out/vs/base/browser/ui/tree/abstractTree.js:1832:23)",
        "UniqueContainer.value (vscode/out/vs/base/common/event.js:136:114)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:809:22)",
        "UniqueContainer.value (vscode/out/vs/base/common/event.js:116:91)",
        "Emitter._deliver (vscode/out/vs/base/common/event.js:790:26)",
        "Emitter.fire (vscode/out/vs/base/common/event.js:809:22)",
        "HTMLDivElement.fn (vscode/out/vs/base/browser/event.js:21:42)"
      ],
      "count": 97
    }
  ]
}

After
When exporting a profile 97 times, no additional event listeners are added:
{
  "eventListenersWithStackTrace": [],
  "isLeak": false
}

Hi @SimonSiefke yes thank you for the valuable PR!


License manifest missing

Hi @daneden,
my congratulations for the really nice work.
Can you please add a license manifest into your repo? While it's true that the css (that contains the link to license) is the object of the MIT terms, a manifest containing those terms is not available in your package.
I'm working for a company, and we are scanning our FOSS in order to make clear view regarding legal issues. We're selling a commercial product that uses your module. From our lawyer prospective, a potential customer could require to see the manifest inside the module: even if linked, a proper MIT license require a copyright holder at the beginning of the manifest, but it is missing.
Something is in your css indeed, but it's formally wrong because there is no manifest to check.
Can you add it?
Thanks a lot.
Best.
Alessandro
link: https://github.com/daneden/animate.css/issues/445

Thanks for your PR, @ilmente!

Hi @daneden,
sorry for bothering you again, but can you update the package on npm too?
If I download the module from npm, there is no license there.
Thanks.


[#5276] Update code analysis to latest VS recommendations - Fix error rules - Part 2

Addresses # 5276
#minor

IMPORTANT!
Note: These changes are being address as part of enabling the .NET Analyzers library in the PR # XXX.

Description
This PR updates all the overridden and inherited methods parameters to match the base declaration.
List:

CA1725

Specific changes

Updates all the overridden and inherited methods parameters that doesn't match the base declaration.

Testing
This image shows the CI pipeline successfully running after the changes.

promoted 6247


Why is HTML/XML language support not available?

HTML and XML are supported out of the box wtih Prism.js but no such language support is available in https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/AVAILABLE_LANGUAGES_PRISM.MD with this library. Is it not availale with in the library or no included in the above list?
Would be happy to create a PR! :)

Thanks for mentioning this, @skdcodes!
Prism refers to HTML, XML, and a few others as Markup: https://prismjs.com/#supported-languages
Selecting markup as your highlighting language here should behave as expected: https://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/prism.html

FWIW, my use case for getting HTML highlighting working correctly using the standard setup (no prism) and choosing xml instead of html or javascript.
Demo: https://codesandbox.io/s/react-syntax-highlighter-html-u5uer


go/doc: ToHTML does not properly handle URLs containing semicolons

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.6.3 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/matt/git/go"
GORACE=""
GOROOT="/home/matt/.gvm/gos/go1.6.3"
GOTOOLDIR="/home/matt/.gvm/gos/go1.6.3/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

https://play.golang.org/p/s7-kyuoQx3
Credit to @normanvashon for this example and diagnosing the bug in go/doc here: https://github.com/golang/gddo/issues/406#issuecomment-236632063.

What did you expect to see?

The entire git.qemu.org URL should be hyperlinked.

What did you see instead?

The hyperlink is cut off right before the first semicolon.
I have a patch ready and will submit a CL for this in the next few minutes.

Looking at that regexp in the CL, looks like it also doesn't handle IPv6 addresses: https://play.golang.org/p/PvwsEXAwWR
Probably doesn't matter, though.


Check if another repo is necessary

Normally we don't need another repo.
We can publish from a branch see: https://cerodell.github.io/sphinx-quickstart-guide/build/html/githubpages.html and https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-from-a-branch.
Or we can publish it from github action: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-with-a-custom-github-actions-workflow


How can I do numpy advanced indexing in chainer?

I mean how to do things like this
>>> import numpy as np
>>> a = np.array([1, 2, 3, 4])
>>> b = np.array([True, False, False, True])
>>> c = np.array([2, 0, 1, 3])
>>> a[b]
array([1, 4])
>>> a[c]
array([3, 1, 2, 4])

I have tried F.get_item but the slices parameter was limited to be

int, slice, None or Ellipsis or tuple of them

not np.narray.
So how can I do this?

Hello.
This PR let's you do that https://github.com/pfnet/chainer/pull/2203.

Thank you so much, that helps a lot. Hope this PR will be merged soon

Sorry, but I found your RP is also limited, like numpy we can do this
>>> a = np.array([1, 2, 3, 4])
>>> b = np.array([2, 0, 1, 3])
>>> a[b] += 1
>>> a
array([2, 3, 4, 5])

but in your RP
>>> a = Variable(np.array([1, 2, 3, 4]))
>>> b = np.array([2, 0, 1, 3])
>>> a[b] += 1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: only integer scalar arrays can be converted to a scalar index

You are right. __getitem__ does not support += operation.
I would probably send PR that supports += in the near future. Thanks.

Is it useful, when chainer Support +=? How is then ensured, that the backward step works?


Failed to download 1.6.2

Bug description
Use the standard procedure to install istio as described here (https://istio.io/latest/docs/setup/getting-started/#download), and it stuck in the downloading process.
curl -L https://istio.io/downloadIstio | sh -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   107  100   107    0     0     90      0  0:00:01  0:00:01 --:--:--    90
100  3896  100  3896    0     0   2264      0  0:00:01  0:00:01 --:--:-- 3804k
Downloading istio-1.6.2 from https://github.com/istio/istio/releases/download/1.6.2/istio-1.6.2-linux.tar.gz ...Failed.

Trying with TARGET_ARCH. Downloading istio-1.6.2 from https://github.com/istio/istio/releases/download/1.6.2/istio-1.6.2-linux-amd64.tar.gz ...

Unable to download Istio 1.6.2 at this moment!
Please verify the version you are trying to download.

[ ] Configuration Infrastructure
[ ] Docs
[X ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Installer to be downloaded.
Steps to reproduce the bug
curl -L https://istio.io/downloadIstio | sh -
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.6.2
How was Istio installed?
curl -L https://istio.io/downloadIstio | sh -
Environment where bug was observed (cloud vendor, OS, etc)
Centos 7.8

Works for me (OSX).

this morning the issue disappeared, and it works for me too...


Create eliane.json

Eliane a great name in Hebrew :)

Tag me here when you're finished with review comment and I will happily merge this for you :)
Thanks!

Hi @arminkhoshbin , I fixed.


Xnero: Watch (?:Sir [\W_]*)?Ramakrishna(?:[\W_]*Hospital)?(?!.com)

Xnero requests the watch of the watch_keyword (?:Sir [\W_]*)?Ramakrishna(?:[\W_]*Hospital)?(?!\.com). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?:Sir [\W_]*)?Ramakrishna(?:[\W_]*Hospital)?(?!\.com) has been seen in 4 true positives, 4 false positives, and 0 NAAs.

Rejected by Ryan M in Charcoal HQ. Reason: 'Effectively just a watch on Ramakrishna, which has too many FP'


Blocks

The method manage_block_stack
https://github.com/nedbat/byterun/blob/master/byterun/pyvm2.py#L246-L307
mentions 4 different block types.

loop
finally
setup-except
with

and 5ldifferent whys

yield
continue
break
exception
return

Maybe after closures this is the second hardest piece of code to understand.  Of course there is lots of documentation on the web.
Generally Blocks are pretty obvious.  Every time I indent, I create a block.  I have to add them to the block stack.  Understanding what happens with an exception is a bit harder to grok.
But this code really tangles them all together.  There is not even a Block class, just a named tuple.
Block = collections.namedtuple("Block", "type, handler, level")
From a conceptual point of view, I think it would be much easier to create 4 different Block classes.  Maybe they would have a shared base class.  It would certainly be much easier to document.
I can understand why cPython did it this way.  But my goal here is to understand the concepts, before I try to understand the optimizations.
So may I write the documentation as 4 different block classes?  If I eventually write those classes, would you accept a pull request?
Warm Regards
Chris

So I went ahead and restructured the code according to block type.  I have not yet debugged it, but the end result is interesting.  It is conceptually simpler.  You just think about one block type at a time.  Maybe a few more lines of code overall, but conceptually simpler.  One can look at one block type, and figure out exactly what is going on.  Debugging, should also be easier.
Maye on creating blocks, I will need  a few more if statements.
I am slightly tempted to throw out the Py2/Py3 stuff.  Just have one version.  At least in the documentation. That would again reduce the conceptual burden.

Hey Chris!
Thanks for looking at this - you're right that Blocks are one of the most fiddly parts of the interpreter.

Every time I indent, I create a block. I have to add them to the block stack.

To be a bit pedantic, every indentation isn't a new Block. For example, creating a class or a method doesn't create a new block.

Understanding what happens with an exception is a bit harder to grok.

This is about what happens with an exception handler rather than an exception. See b47f377 for some details on this, and take a read of the linked email.
So you get blocks in the following cases (simplified):
for ...:
   loop block

while ... :
   loop block

try:
   setup-except
except:
   (not a block!)
finally:
   finally

with ...:
    with block

But my goal here is to understand the concepts, before I try to understand the optimizations.

This is definitely byterun's overall goal, so I'd be happy to look at your code.

I am slightly tempted to throw out the Py2/Py3 stuff. Just have one version. At least in the documentation.

http://www.aosabook.org/en/500L/a-python-interpreter-written-in-python.html is Py3 only for exactly this reason. Byterun itself is going to preserve 2 & 3 compatibility, but it's fine to have docs that are Py3 only (provided they say so).


Change default port

Hey guys,
great work! While integrating this with Argent X we notices port 5000 is often already in use and the devnet doesn't check that and starts anyways (but doesn't work)
After a quick google search it seems like port 5000 is often used by the system on MacOS
would it be possible to change the default port to something less used?
Cheers, Janek

Can you use the --port option (docs)?
starknet-devnet --port 5001

Or is it just a matter of convenience?

I do use it personally.
But while integrating with ArgentX we also needed to set some default port for localhost we want the network to be on, and I just feel like 5000 is too often used (many devs use macOS). In that case the developer would need to spin up the local dev testate with the -p port option AND also change the port inside ArgentX. I think choosing a less frequently used port could resolve this

@janek26 I don't understand. Does your program run starknet-devnet in the background?

I agree that this should be done. The fact is, this is the only breaking change in the project backlog, and I don't want to release v0.2.0 just to change the default port. So, it should either be argued why the port change is sufficient for a new major version, or suggest another breaking change :smiley: .

@FabijanC
Considering that starknet-devnet doesn't work on a major os without any clear error messages as to why I'd say 0.1.0 is already broken.

I've opened some prs for it which could wait until another breaking change comes along.
More importantly perhaps starknet-devnet should check the port is free and fail early, I can look into that later.

@ccarnio You said you'd like to be pinged on MacOS issues, did you also experience this issue with an occupied port? I'm asking because I'm not sure if all mac users are experiencing this. E.g. on starknet-hardhat-plugin we do some integration tests that include running Devnet on a virtual machine with mac, and it works fine with the default settings.

I personally have not experienced this problem, unless I was trying to run another devnet in another terminal by mistake.
@JorikSchellekens @janek26 what kind of issues or how do you realise that devnet is failing behind the scenes because of this issue?

@ccarnino this is a monterey specific issue
https://developer.apple.com/forums/thread/682332

None of the tests on https://github.com/Shard-Labs/starknet-hardhat-example would run.
 yarn test                                                                                [7d3h10m] ✖ ✹ ✭
yarn run v1.22.17
$ npx hardhat --network localhost test
Starknet plugin using dockerized environment (shardlabs/cairo-cli:0.7.1)
Using network devnet at http://localhost:5000

  Starknet
Started deployment
HardhatPluginError: Got ClientConnectorError
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 962, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 949, in create_connection
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 473, in sock_connect
    return await fut
  File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 503, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 5000)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/services/external_api/base_client.py", line 112, in _send_request
    method=send_method, url=url, data=data
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 536, in _request
    req, traces=traces, timeout=real_timeout
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 542, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 907, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1187, in _create_direct_connection
    client_error=client_error,
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5000 ssl:default [Connect call failed ('<IP_ADDRESS>', 5000)]
Error: ClientConnectorError: Cannot connect to host localhost:5000 ssl:default [Connect call failed ('<IP_ADDRESS>', 5000)]

    at /Users/jorik/dev/nethermind/starknet-hardhat-example/node_modules/@shardlabs/starknet-hardhat-plugin/src/types.ts:110:15
    at Generator.next (<anonymous>)
    at fulfilled (/Users/jorik/dev/nethermind/starknet-hardhat-example/node_modules/@shardlabs/starknet-hardhat-plugin/dist/types.js:24:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Retrying transaction status check...
HardhatPluginError: Got ClientConnectorError
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 962, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 949, in create_connection
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 473, in sock_connect
    return await fut
  File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 503, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 5000)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/services/external_api/base_client.py", line 112, in _send_request
    method=send_method, url=url, data=data
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 536, in _request
    req, traces=traces, timeout=real_timeout
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 542, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 907, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1187, in _create_direct_connection
    client_error=client_error,
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5000 ssl:default [Connect call failed ('<IP_ADDRESS>', 5000)]
Error: ClientConnectorError: Cannot connect to host localhost:5000 ssl:default [Connect call failed ('<IP_ADDRESS>', 5000)]

    at /Users/jorik/dev/nethermind/starknet-hardhat-example/node_modules/@shardlabs/starknet-hardhat-plugin/src/types.ts:110:15
    at Generator.next (<anonymous>)
    at fulfilled (/Users/jorik/dev/nethermind/starknet-hardhat-example/node_modules/@shardlabs/starknet-hardhat-plugin/dist/types.js:24:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Retrying transaction status check...

I am on Monterey too. And I have the Airplay Receiver option On. I am running starknet-devnet from console, not from docker.
And no my test don't throw that error.

This is the guide I use to startup my dev environment https://github.com/ccarnino/starknet-hardhat-typescript-example

me and my colleagues at argent had this issue aswell.
thanks for pushing on it @JorikSchellekens

More importantly perhaps starknet-devnet should check the port is free and fail early, I can look into that later.

@JorikSchellekens Update us when you can, from what I've seen this should be fairly simple in Python with resources being a part of the standard library.


Include link to CoC before publishing package

Fixed in https://github.com/hexpm/rebar3_hex/commit/7e46f9dd017a4cc978b38ce175c6c8fcc6f177f4


Flow dev does not remove contracts after deletion

Problem
In "flow dev," if you create a contract and then remove it, the contract name and path stays in the "contracts" section of flow.json

It looks like a regression on persisting flow.json. When the contract is deleted that's detected in the dev command but it looks like not saved in flow.json. Thank you for finding this. Also on this topic, I feel after the contract is deleted it should be removed from the Flow network. I created another issue fo it: https://github.com/onflow/flow-cli/issues/981


Implement onboarding properly and finally

Including https://github.com/nopara73/LongevityWorldCup/issues/53

done


CC create cluster workflow

Closes #4944 #5643 #5474 #5737

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a5013d42d79f21b8ffc22ddd9900fc482513ae4c/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c8a8c4f8e750b4fac3b83c78096975d5ba29e2d0/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5f77d87ea76c1cd3fea31f950f9c61c0b4198228/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2c3a68cf6aa72f594379d8d843dd367f7f227cd8/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a3cc5e8af877842209e84ecafca800382f782cbd/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

v19.2/cockroachcloud-create-your-cluster.md, line 45 at r6 (raw file):
Previously, carloruiz wrote…
For developers with not a lot of DB admin experience (like me) , this section is still daunting, particularly buffer and compression.  It would be really, really nice to explicitly note either rules of thumb (e.g. 5% buffer) for each section or even better, to include links to configurations for some example applications. I know this is going above and beyond what I've seen other providers (GCP/AWS) do but in my experience, I am super thankful when I encounter a product that goes above and beyond to welcome young developers.

I completely agree. I love the suggestion of having rule-of-thumb numbers for each parameter (although I don't know if we have that info -- will dig into it) and pointing to sample apps.
I am currently constrained by my own understanding of how the selection process works. In this first version of this doc, I wanted to at least point out the things they should be considering (since they aren't obvious at all to a new user). I hope I will be able to learn more about the selection process and improve this doc post-beta.

Note to self: add vpc peering as a reason for selecting cloud.

From Ben's Office Hours discussion: The number of nodes depends on performance, not the hardware config selection. Need to add example on number of nodes selection. (Use the TPC-C example Ben shared)

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/fe65c993fd74c2271f049985bef1bbbd6b8d6e6b/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f8f7b61ffdf055b6ef063b7a68eb6ba8ae7a39ff/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Update: I am breaking this PR into two parts and will handle the perf test-related content and examples in a follow-up PR.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6d5c6c2b7b8549130a867444d71c92ba8f642a3b/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0bdcbabb36a35bbe1d02fd57c73160dd5e485cf2/
Edited pages:

v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c79258372941727cb939d68bcb790ea7b482750a/
Edited pages:

v19.2/cockroachcloud-console-access-management.md
v19.2/cockroachcloud-create-your-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e6e582ca2153136c81690fba3569716a779f279c/
Edited pages:

v19.2/cockroachcloud-console-access-management.md
v19.2/cockroachcloud-create-your-cluster.md