feat(SDKObjectAlias): add component copying

The SDK Object Alias script now can copy a list of components over
to the SDK Object in addition to the existing childing.

I'm kinda torn on this.
I tested by adding a Bloom effect to the game object the SDK Object Alias script is on. That results in a camera being added which we probably don't want to copy over 😛
That's pretty much the reason I scrapped my initial implementation that just copied over every component of the game object (except the Transform and SDKObjectAlias of course).
Another issue are things like ParticleSystem: That one will always throw an error because we set all the fields and properties to be the same after copying the component. But ParticleSystem doesn't like us changing the randomSeed after the ParticleSystem is running already.
I guess this can be worked around by turning off the ParticleSystem and turning it on later, after the component is copied over?
Almost feels like one always has to write a helper script (turning off/on ParticleSystems, adjusting a setting, i.e. making sure something is copied over correctly)... One could just do the initial component add and configuration in a script then and no one would need this PR.
Thoughts?

i wonder if for things that people need to apply directly to the camera in the editor they just have to apply those scripts to every camera rig they're supporting.

Yes that works of course, it means duplicated stuff everywhere, though. And you can't prefab-ify this for the same reasons we need this copying mechanic in the first place.

I just think the more we try and consolidate the SDK camera rigs, the more hassle we're getting in to. It's like they've been designed to not work together! :p

Something something take over ownership of the VR camera something. Not possible for every SDK I'd guess.

One day all headsets will be supported through Direct Reality/OpenXR/Unity/Whatever
and we never have to worry about multiple SDK set ups ever again! 😄

You just named 4 different ones. These will be the new things we have to support instead of the current SDKs 😝

What are your thoughts on this one still? Is it still worth while having the component copy? or is it cludgy?

It works for the original thing we wanted it for: For copying over camera image effect stuff.


Does not work on some apple devices

OSX:

Safari

iOS

Firefox
Chrome

Seems there is something wrong with some apple devices

Fixed via https://github.com/MeetmeLeave/ng-canvas-gauges/pull/2


TypeError: Extension.new() missing 1 required positional argument: 'client'

This error always happen when selecting a item from the payment selection menu:
[]
<bound method paymentclass.duration of <cogs.payment.paymentclass object at 0x7f50651c1300>>
Task exception was never retrieved
future: <Task finished name='Task-40' coro=<paymentclass.selectpm() done, defined at /home/infinimonster/Documents/Privat/Python/infiniproxy bot/payment bot/cogs/payment.py:280> exception=TypeError("Extension.__new__() missing 1 required positional argument: 'client'")>
Traceback (most recent call last):
  File "/home/infinimonster/Documents/Privat/Python/infiniproxy bot/payment bot/cogs/payment.py", line 300, in selectpm
    embed = interactions.Embed(
  File "/home/infinimonster/.local/lib/python3.10/site-packages/interactions/utils/attrs_utils.py", line 30, in __init__
    kwargs = deepcopy(kwargs)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 206, in _deepcopy_list
    append(deepcopy(a, memo))
  File "/usr/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/usr/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 211, in _deepcopy_tuple
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.10/copy.py", line 211, in <listcomp>
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 238, in _deepcopy_method
    return type(x)(x.__func__, deepcopy(x.__self__, memo))
  File "/usr/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/usr/lib/python3.10/copy.py", line 265, in _reconstruct
    y = func(*args)
  File "/usr/lib/python3.10/copyreg.py", line 101, in __newobj__
    return cls.__new__(cls, *args)
TypeError: Extension.__new__() missing 1 required positional argument: 'client'

    @interactions.extension_component("payment")
    async def selectpm(self, ctx: interactions.ComponentContext, cryptodata: list):
        self.cryptodata = cryptodata[0]
        if self.cryptodata == "Bitcoin":
            self.sym = "BTC"

        elif self.cryptodata == "Ethereum":
            self.sym = "ETH"

        elif self.cryptodata == "Litecoin":
            self.sym = "LTC"

        elif self.cryptodata == "Dashcoin":
            self.sym = "DASH"

        print(self.ctxvalues)
        if self.ctxvalues == ["day"]: self.duration = "Daily"
        elif self.ctxvalues == ["week"]: self.duration = "Weekly"
        elif self.ctxvalues == ["month"]: self.duration = "Monthly"
        print(self.duration)
        embed = interactions.Embed(
            color=self.Pink,
            author=interactions.EmbedAuthor(name=f"Confirmation", icon_url=self.Thumbnail),
            description="Do you want to place this Order? Order Details below.",
            fields=[
                interactions.EmbedField(name="Product", value=self.productlabel[self.productdata], inline=False),
                interactions.EmbedField(name="Duration", value=self.duration, inline=False),
                interactions.EmbedField(name="Price", value=f"{self.price}€", inline=False),
                interactions.EmbedField(name="Payment Method", value=self.cryptodata, inline=False)
                ],
            thumbnail=interactions.EmbedImageStruct(url=self.Thumbnail),
            footer=interactions.EmbedFooter(text=self.Watermark)
            )
        # self.buttonconfirm.disabled = True
        # self.buttoncancel.disabled = True
        await ctx.send(embeds=embed, components=[self.confirmrow, self.cancelrow], ephemeral=True)

as you might have noticed, it print a empty list before the Traceback happen, The list is set to empty in the init function and later changed to the duration value (["day"] ["week"] ["month"]) so it is weird tht after the content has changed and i print it in the code above, it is a empty list again.
I also tried to change the embed content because i thought that the issue might be the empty list it's sending but the error were the same,
I'm asking this Question here and not on the official repo because the error seem to happen from a extension and the only extension i'm using is this one.
Hopefully someone can help me out,
Regards FuckingToasters,

Hello, please use the official support for that question. Also, I believe we need more information on the whole class.

This error always happen when selecting a item from the payment selection menu:
[]
<bound method paymentclass.duration of <cogs.payment.paymentclass object at 0x7f50651c1300>>
Task exception was never retrieved
future: <Task finished name='Task-40' coro=<paymentclass.selectpm() done, defined at /home/infinimonster/Documents/Privat/Python/infiniproxy bot/payment bot/cogs/payment.py:280> exception=TypeError("Extension.__new__() missing 1 required positional argument: 'client'")>
Traceback (most recent call last):
  File "/home/infinimonster/Documents/Privat/Python/infiniproxy bot/payment bot/cogs/payment.py", line 300, in selectpm
    embed = interactions.Embed(
  File "/home/infinimonster/.local/lib/python3.10/site-packages/interactions/utils/attrs_utils.py", line 30, in __init__
    kwargs = deepcopy(kwargs)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 206, in _deepcopy_list
    append(deepcopy(a, memo))
  File "/usr/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/usr/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 211, in _deepcopy_tuple
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.10/copy.py", line 211, in <listcomp>
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 238, in _deepcopy_method
    return type(x)(x.__func__, deepcopy(x.__self__, memo))
  File "/usr/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/usr/lib/python3.10/copy.py", line 265, in _reconstruct
    y = func(*args)
  File "/usr/lib/python3.10/copyreg.py", line 101, in __newobj__
    return cls.__new__(cls, *args)
TypeError: Extension.__new__() missing 1 required positional argument: 'client'

    @interactions.extension_component("payment")
    async def selectpm(self, ctx: interactions.ComponentContext, cryptodata: list):
        self.cryptodata = cryptodata[0]
        if self.cryptodata == "Bitcoin":
            self.sym = "BTC"

        elif self.cryptodata == "Ethereum":
            self.sym = "ETH"

        elif self.cryptodata == "Litecoin":
            self.sym = "LTC"

        elif self.cryptodata == "Dashcoin":
            self.sym = "DASH"

        print(self.ctxvalues)
        if self.ctxvalues == ["day"]: self.duration = "Daily"
        elif self.ctxvalues == ["week"]: self.duration = "Weekly"
        elif self.ctxvalues == ["month"]: self.duration = "Monthly"
        print(self.duration)
        embed = interactions.Embed(
            color=self.Pink,
            author=interactions.EmbedAuthor(name=f"Confirmation", icon_url=self.Thumbnail),
            description="Do you want to place this Order? Order Details below.",
            fields=[
                interactions.EmbedField(name="Product", value=self.productlabel[self.productdata], inline=False),
                interactions.EmbedField(name="Duration", value=self.duration, inline=False),
                interactions.EmbedField(name="Price", value=f"{self.price}€", inline=False),
                interactions.EmbedField(name="Payment Method", value=self.cryptodata, inline=False)
                ],
            thumbnail=interactions.EmbedImageStruct(url=self.Thumbnail),
            footer=interactions.EmbedFooter(text=self.Watermark)
            )
        # self.buttonconfirm.disabled = True
        # self.buttoncancel.disabled = True
        await ctx.send(embeds=embed, components=[self.confirmrow, self.cancelrow], ephemeral=True)

as you might have noticed, it print a empty list before the Traceback happen, The list is set to empty in the init function and later changed to the duration value (["day"] ["week"] ["month"]) so it is weird tht after the content has changed and i print it in the code above, it is a empty list again.
I also tried to change the embed content because i thought that the issue might be the empty list it's sending but the error were the same,
I'm asking this Question here and not on the official repo because the error seem to happen from a extension and the only extension i'm using is this one.
Hopefully someone can help me out,
Regards FuckingToasters,

To bring clarity on this: It is saying extension because you are using a cog. And in our library you do that by subclassing from Extension.
So as already said, please open this as an issue on the main repository. Additionally you have to provide the whole cog because finding the root of the issue will be difficult otherwise. Also, make sure that you use the latest version as this might have already been fixed.


Fetch missions - Fetch data

Hello @NabilHY ,
Please review the follow:

Fetch data from the Missions endpoint (https://api.spacexdata.com/v3/missions) when a user navigates to the Missions section.

Once the data are fetched, dispatch an action to store the selected data in Redux store:

mission_id
mission_name
description
Thanks,
Pedro

The linters Eslint errors will be fixed soon when the Rocket files will be implemented.


Add Quick Start Instructions for Google Colab to README

Hello!
This PR introduces a "Quick Start with Google Colab" section to the README, providing users with an alternative way to quickly try out Pyramid Flow without setting up a local environment.
Motivation:
Many users may find it challenging to configure the local environment for Pyramid Flow due to dependency management or hardware requirements. By offering a Colab-based solution, users can experience the model with minimal setup, leveraging Colab's compute resources.
Changes:

Added a "Quick Start with Google Colab" section under the Inference section.
Provided step-by-step Colab commands, including environment setup, model download, and starting the Gradio demo.
Ensured that all necessary packages, including gradio, are installed as part of the instructions.

This addition aims to enhance accessibility and lower the entry barrier for users who want to experiment with Pyramid Flow quickly.
I look forward to your feedback and suggestions to improve this addition.
Thank you for reviewing!

Thank you for the commit!


Implementing Json data to show the organization

Currently the organization are hard coded but we can create a Json data and Dynamically show the organization. I am interested in working on this. Kindly assign this to me.

Can I start to work on this issue?

I thought to add this feat after hacktoberfest as most of the beginners might not understand where to make changes.  @tharanithar-r


Bring the switchfoot jsons into pandas to analyze and graph.

[x] Programatically change audio analysis results for a whole album, from 14 jsons to a single csv file. 8:25 AM 7/29/2022

Did I commit these jsons?


Large text size setting makes the titles in the mini controller intersect

If a large text size is selected on iPhone, by going to Settings / Display & Brightness / Text Size and dragging the slider to the far right, the 2 title rows displayed in the mini controller starts to intersect, that is partly covers each other. Tested on iPhone 7 in portrait, but probably same problem on all iPhones.

Please file a bug against the Cast SDK: https://issuetracker.google.com/issues?q=componentid:190205 status:open&s=modified_time:desc


Error when using custom sizes on css

{"type":"Syntax","message":"Object # has no method 'operate'","filename":"bootstrap.css","line":null,"callLine":"[object Object]1","stack":"TypeError: Object # has no method 'operate'\n    at [object Object].eval (/app/node_modules/less/lib/less/tree/operation.js:20:14)\n    at Object.eval (/app/node_modules/less/lib/less/tree/expression.js:11:34)\n    at [object Object].eval (/app/node_modules/less/lib/less/tree/operation.js:9:30)\n    at Object.eval (/app/node_modules/less/lib/less/tree/expression.js:11:34)\n    at Object.eval (/app/node_modules/less/lib/less/tree/value.js:10:34)\n    at [object Object].eval (/app/node_modules/less/lib/less/tree/rule.js:25:38)\n    at Object.eval (/app/node_modules/less/lib/less/tree/ruleset.js:50:53)\n    at Object.eval (/app/node_modules/less/lib/less/tree/mixin.js:98:47)\n    at Object.eval (/app/node_modules/less/lib/less/tree/mixin.js:22:52)\n    at Object.eval (/app/node_modules/less/lib/less/tree/ruleset.js:41:75)","column":-1,"extract":[null,null,"// Variables to customize the look and feel of Bootstrap"]}

What were your custom sizes?

Hi, that happened when I was trying to put different sizes on these fields:
@gridColumnWidth @gridColumns @navbarHeight

What were those values? Did you include the "px" in @gridColumnWidth and @navbarHeight?


fitting a subset of parameters

Hi!
What would be the easiest way to fit reduced forms of dynamics/observation models to the data? I'd like to fix some parameters and not have them be fit.
Thank you for developing and maintaining such an awesome code base!

Hi,
Great question! There are a few ways, but they involve a little modification since we don't have an option like that exposed via the fit function.  If you only want to fit the observation parameters holding the transitions fixed, e.g., you can comment out the appropriate m_step calls in hmm._fit_em.
It's a bit trickier if you want to fit only some of the observation parameters, e.g. the GaussianObservations means while holding the covariances fixed.  To do something like that, you'll have to write a separate Observations class (e.g. GaussianFixedCovObservations) and write appropriate log_likelihoods and (optionally) m_step functions.
Let me know if that answers your question!
Best,
Scott

Thank you! That answers it, I will go ahead and close the issue.


Add FFTW and FFTW++

Requesting a package for FFTW. It is an open source Fourier transform library at
http://www.fftw.org/
And fftw++ is a companion C++ wrapper:
https://github.com/dealias/fftwpp

Upstream is working on Windows support for FFTW via CMake. They accepted PR ( https://github.com/FFTW/fftw3/pull/103 ) recently, which adds a CMake-based build for Windows. However they are sorting out a few issues that are coming out of this implementation. Would be good if some Windows experts could help advise them.

Hi @wrosecrans, thanks for reporting this issue.
Vcpkg now support fftw3, please update vcpkg and try to build fftw3.
Thanks.

Hi @wrosecrans, fftw++ has been added in vcpkg(named fftwpp), please update vcpkg and try to install it.
Thanks.


Add badges, switch to concurrent full test runs, including Safari.

Implements sauce badge from #25
Use builder for various parallel helpers
Parallelize karma RJS + Webpack tests
Parallelize all Sauce tests
Add in full tests for Safari. Fixes #5
Cut Travis CI time down from about 5-6 minutes to 3-4 minutes

/cc @exogen

Nice! I'm migrating the huge script loader build matrix to use builder envs as well. Testing all those script loaders takes hours.
btw, size badges for files on npmcdn are now supported, like so:


[Enhancement] Support infer struct type from parquet in files()

Why I'm doing:
mysql> select * from  files("path" = "hive_struct_timestamp0.parquet", "format" = "parquet";
ERROR 1064 (HY000): arrow type 18 is not supported

struct type is infered to varchar or json type.
What I'm doing:
support struct type
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[x] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

https://github.com/Mergifyio backport branch-3.2


gatsby: command not found on MacOs with latest version of master branch

Describe your problem and how to reproduce it:
I have followed the local setup guide step by step. And the error is coming at:

Step 4: Start the freeCodeCamp client application and API server
npm run develop

I am getting the following error on running the above command:
Client workers ready.

><EMAIL_ADDRESS>develop /Users/anil/projects/personal/freeCodeCamp/client
> gatsby develop --inspect=9230

sh: gatsby: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>develop: `gatsby develop --inspect=9230`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>develop script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/anil/.npm/_logs/2020-10-18T15_02_50_035Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>develop:client: `cd ./client && npm run develop`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>develop:client script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/anil/.npm/_logs/2020-10-18T15_02_50_051Z-debug.log
ERROR: "develop:client" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>develop: `npm-run-all ensure-env -p develop:*`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>develop script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/anil/.npm/_logs/2020-10-18T15_02_50_112Z-debug.log
(base) freeCodeCamp:

Add a Link to the page with the problem:
https://contribute.freecodecamp.org/#/how-to-setup-freecodecamp-locally?id=step-4-start-the-freecodecamp-client-application-and-api-server
Recommended fix, suggestions (how would you update it?):
npm install --global gatsby-cli But, It should be automatically installed with npm ci, because it's already added as a dependency:
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/client/package.json#L36
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Can you try a npm ci once again? Just in case it did not go thru. Also please share your node and npm versions.

(base) freeCodeCamp: npm --version
6.14.4
(base) freeCodeCamp:
(base) freeCodeCamp: node --version
v12.10.0

Interestingly, after reinstalling Xcode, npm ci is giving another error:
....
.....
........
Thank you for using docsify!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/docsify/donate

><EMAIL_ADDRESS>postinstall /Users/anil/projects/personal/freeCodeCamp/node_modules/cypress
> node index.js --exec install

Note: Skipping binary installation: Environment variable CYPRESS_INSTALL_BINARY = 0.

><EMAIL_ADDRESS>postinstall /Users/anil/projects/personal/freeCodeCamp
> npm run bootstrap

><EMAIL_ADDRESS>bootstrap /Users/anil/projects/personal/freeCodeCamp
> lerna bootstrap --ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna info ci enabled
lerna info Bootstrapping 11 packages
lerna info Installing external dependencies
lerna ERR! npm ci exited 1 in '@freecodecamp/client'
lerna ERR! npm ci stderr:
npm WARN tarball tarball data for<EMAIL_ADDRESS>(sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, lstat '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/basic-languages/cameligo'
npm WARN tar ENOENT: no such file or directory, lstat '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/basic-languages/cameligo'
npm WARN tar ENOENT: no such file or directory, open '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/base/common/cancellation.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/base/browser/canIUse.js'
npm WARN tar ENOENT: no such file or directory, lstat '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/editor/common/modes/supports'
npm WARN tar ENOENT: no such file or directory, open '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/base/common/charCode.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/base/browser/ui/checkbox/checkbox.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/clickLinkGesture.js'
npm WARN tar ENOENT: no such file or directory, open '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/clipboard.js'
npm WARN tar ENOENT: no such file or directory, lstat '/Users/anil/projects/personal/freeCodeCamp/client/node_modules/monaco-editor/esm/vs/platform'
npm WARN tarball tarball data for<EMAIL_ADDRESS>(sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==) seems to be corrupted. Trying one more time.
npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting<EMAIL_ADDRESS>npm ERR! Verification failed while extracting<EMAIL_ADDRESS>npm ERR! sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ== integrity checksum failed when using sha512: wanted sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ== but got sha512-8Z5VetD0/btM38x3NDontR3KEXv6aQScXgUk+0NsUvsQxONb0mU6eOiju+5yg8um0j1bN6QcFWhPaPG/gTKv7g==. (5487035 bytes)

npm ERR!      /Users/anil/.npm/_cacache/_logs/2020-10-19T05_54_25_940Z-debug.log

lerna ERR! npm ci exited 1 in '@freecodecamp/client'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>bootstrap: `lerna bootstrap --ci`
npm ERR! Exit status 1

I tried reproducing this on macOS and was unable to get the same errors.
I am not really sure of the environment differences. There are a few factors that could be affecting the local setup which can include your network / firewall, etc.
As is, these error logs do not make any sense from a repro standpoint.
I would encourage you to try a clean installation from scratch, (or use GitPod if you are working on a PR) and reach us on our chat or forum instead.
Closing for now (will reopen if we can reproduce this).

Finally, it's working for me.
Problem 1: gastby: command not found got fixed by updating Mac XCode.
Problem 2:

lerna ERR! npm ci exited 1 in '@freecodecamp/client'
lerna ERR! npm ci stderr:

npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting<EMAIL_ADDRESS>npm ERR! Verification failed while extracting<EMAIL_ADDRESS>npm ERR! sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ== integrity checksum failed when using sha512: wanted sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ== but got sha512-LzsO4/rrq+OOJEVwZz4VomD07LGSUB0mB8AXvGaplZt63eCSmBUPxYnrkCypTRO975q0UsfdPsxOuVwHWkahIQ==. (5523918 bytes)

This got fixed by following two steps:
 npm install -g npm
 npm ci


[MERGE INTO RELEASE PR] revert astunparse pin

Checklist

[X] Used a personal fork of the feedstock to propose changes
[NA] Bumped the build number (if the version is unchanged)
[NA] Reset the build number to 0 (if the version changed)
[NA] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[NA] Ensured the license file is being packaged.

DO NOT MERGE THIS INTO MASTER
Merge this PR into the release PR whenever a release is done with https://github.com/mdtraj/mdtraj/pull/1635 (or repeat the change and close this PR).
This pin is not needed anymore if a release is made with https://github.com/mdtraj/mdtraj/pull/1635 in.
This is just a PR so that this is not forgotten.

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

Merge this PR into the release PR whenever a release is done with mdtraj/mdtraj#1635

:+1:

This PR was forgotten when #33 got merged, so this now needs to go into master (with an updated build number)


Resolve race conditions between writers to data providers and between set calls and update events on data providers

User Story
As a Platform.Bible user, I want to enter data quickly into Platform.Bible and use multiple extensions at once that may update Platform.Bible content so that I am not slowed down artificially.
Description
Right now we have a bug (#826) that happens when a users types quickly into the scripture editor. It results in missing characters and bad UI behavior for the user. There is a similar issue that could happen if two extensions attempt to update the same data provider at the same time.
The underlying problem is that data can flow fast enough into the system that it is not possible currently to tell the difference between data provider updates that originate from my own changes and data provider updates that originate from someone else changing the same data provider. To reliably pick up the latest changes, I currently need to reload from the data provider whenever I see an update message come in. But if I have pending updates I want to send, it is hard to sequence the incoming updates and the changes I want to make. I basically have to wait some amount of time after receiving an update notification, reload the data being edited, then apply my next change. The amount of time to wait is arbitrary and will probably have to be slow enough to be noticeable to someone who makes quick edits (e.g., types quickly).
The proposed changes will provide exclusive write locking between data provider callers and provide a way for those callers to determine which updates are caused by their own writes. Updates from their own writes can be safely ignored if they keep a cached copy of the data being edited, and updates from others presumably require reloading of the data (assuming we don't want to ignore those updates from others).
To Do

[ ] Add a type DataProviderLock that includes an ID (number) and weakSecret (number). "Weak secret" is just a random number to prevent accidental use and release of locks by someone they weren't granted to. We're not worried about strong cryptographic strength here.
[ ] Update IDataProviderEngine to include functions obtainLock(options): Promise<DataProviderLock> and releaseLock(lock: DataProviderLock): Promise<undefined>. obtainLock returns a DataProviderLock if successful or throws if it was not successful. obtainLock should include an options parameter that at a minimum includes how long to wait for a lock to be obtained before giving up and failing. releaseLock releases the given lock if it was held and does nothing otherwise. It would be good to log a warning if someone tries to release a lock that isn't active.
[ ] Update IDataProviderEngine to include a getter (synchronous, not a normal get call) for the latest lock ID seen when getting data. This can be exposed through IDataProvider.
[ ] Update DataProviderSetter to include an optional third parameter alongside selector and data. That parameter would include an optional lock object and an optional getter lock ID that is the ID the last get from the caller. If the lock ID is provided and the data provider chooses, it could throw if the data has been updated since that lock ID was used.
[ ] Update the event to be sent to include a parameter that is the lock ID of the lock that most recently updated the data provider. This lock ID would be sent alongside the DataProviderEngineNotifyUpdate value we already have.
[ ] Change buildDataProvider in data-provider.services.ts to add implementations of obtainLock and releaseLock. Only one lock can be active at one point in time. It is probably desirable to have lock IDs increase by 1 each time a new lock is obtained.
[ ] Change buildDataProvider in data-provider.services.ts to verify that calls to set have a valid lock before they are allowed to go through. If no lock was provided, then add code to obtain a lock, call set with the lock, then release the lock automatically.
[ ] Change buildDataProvider in data-provider.services.ts to wrap calls to get to pull out the lock ID sent with the data from the remote side and store it for the lock ID getter to read.
[ ] Change buildDataProvider in data-provider.services.ts to remove automatic emitting of updates by set. Those events should be sent within releaseLock instead based on all the update instructions that were received since the lock was obtained.

This work is partially complete and checked into a branch. However, I ran into an unexpected complication. Specifically some get calls in a data provider can be marked with an ignore flag, but the remote side of a network object proxy has no idea which those are, so mixing in lockIDs with get results will break those calls. I suspect we're going to need to do something a little more invasive, like inserting a more generic object as the network object (e.g., something with generic get and set methods that does reflection-type things to DPEs to find the right calls). That will be a breaking change with other languages working with the platform, though.
Given the scope increase, TJ and I talked about the impact of delaying this ticket. I was worried that this race condition was contributing to bugs that exist in the current editor. After some digging, TJ believes it is unrelated to the main problems we see.  Accordingly I'm going to put this ticket back into the pile and move on to something else for now. We need to focus on more impactful things for the conference release.


Issue_html - Resume Builder button is missing in Analyze Resume page

Resume Builder button should be included in the header for Analyze Resume webpage. It is currently not visible.

Issue was successfully fixed using the merge commit in the description


[GHSA-mpg4-rc92-vx8v] fast-xml-parser vulnerable to ReDOS at currency parsing

Updates

Affected products
CVSS v3
Description

Comments
https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10 does not contain a RegEx, but I can see in a previous version of the file, i.e. https://github.com/NaturalIntelligence/fast-xml-parser/blob/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa/src/v5/valueParsers/currency.js that, at some point, currencyCheckRegex was on line 10.

Hi there @amitguptagwl! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Hi @iamvolvo, I agree that it makes sense to replace https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10 with a version of the URL that is tied to the blob, such as https://github.com/NaturalIntelligence/fast-xml-parser/blob/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa/src/v5/valueParsers/currency.js#L10 or https://github.com/NaturalIntelligence/fast-xml-parser/blob/v4.4.0/src/v5/valueParsers/currency.js#L10, to ensure that future updates to currency.js do not render the advisory outdated. Thank you for your interest in GHSA-mpg4-rc92-vx8v and have a good week.

Sorry to jump late in the discussion. But as an improvement, I had put the limit on max charter that should keep ReDOS away. Are we suggesting any change in that? Do you need me to take any action on that?

@amitguptagwl There is no need to take any action on the fix for GHSA-mpg4-rc92-vx8v. 🙂
GHSA-mpg4-rc92-vx8v previously contained a link, https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10. Before version 4.4.1, the link highlighted the line const currencyCheckRegex = /^\s*(?:-|\+)?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d{1,2})?\s*(?:\$|€|¥|₹)?\s*$/u;, as seen in https://github.com/NaturalIntelligence/fast-xml-parser/blob/v4.4.0/src/v5/valueParsers/currency.js#L10. Now that the code has changed,  https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10 highlights the line "₹":"en-IN",. The suggested contribution changes the link to an "evergreen" link that refers to the correct line in the file at the time of the vulnerability's discovery no matter what changes are later made to currency.js. I hope this explanation helps!


[SPARK-23401][PYTHON][TESTS] Add more data types for PandasUDFTests

What changes were proposed in this pull request?
Add more data types for Pandas UDF Tests for PySpark SQL
How was this patch tested?
manual tests

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #96690 has started for PR 22568 at commit 4a57833.

Test build #96690 has finished for PR 22568 at commit 4a57833.

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

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96690/
Test FAILed.

Test build #96691 has finished for PR 22568 at commit b27e0a1.

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

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96691/
Test FAILed.

Test build #96692 has started for PR 22568 at commit 53ff750.

Test build #96692 has finished for PR 22568 at commit 53ff750.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96692/
Test PASSed.

@HyukjinKwon
Just noticed strange behavior, that can be reproduced with a test below placed under python.pyspark.sql.tests.GroupedMapPandasUDFTests.
Is it a bug or some feature?
def test_supported_types_array(self):
    from pyspark.sql.functions import pandas_udf, PandasUDFType

    schema = StructType([
        StructField('id', IntegerType()),
        StructField('array', ArrayType(IntegerType()))
    ])
    df = self.spark.createDataFrame(
        [[1, [1, 2, 3]]], schema=schema
    )

    udf1 = pandas_udf(
        lambda pdf: pdf.assign(array=pdf.array * 2),
        schema,
        PandasUDFType.GROUPED_MAP
    )

    result1 = df.groupby('id').apply(udf1).sort('id').toPandas()
    expected1 = df.toPandas().groupby('id').apply(udf1.func).reset_index(drop=True)
    self.assertPandasEqual(expected1, result1)

Here is output:
python/pyspark/sql/tests.py:244: in assertPandasEqual
    self.assertTrue(expected.equals(result), msg=msg)
E   AssertionError: DataFrames are not equal:
E
E   Expected:
E      id               array
E   0   1  [1, 2, 3, 1, 2, 3]
E   id        int32
E   array    object
E   dtype: object
E
E   Result:
E      id      array
E   0   1  [2, 4, 6]
E   id        int32
E   array    object
E   dtype: object

You can see that behavior of array=pdf.array * 2 different for result1 and expected1:
result1 = df.groupby('id').apply(udf1).sort('id').toPandas()
    >> [2, 4, 6]
expected1 = df.toPandas().groupby('id').apply(udf1.func).reset_index(drop=True)
    >> [1, 2, 3, 1, 2, 3]

Default Python behavior is:
[1, 2, 3] * 2
    >> [1, 2, 3, 1, 2, 3]

Thanks.

Test build #96744 has started for PR 22568 at commit 20e360e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96744/
Test PASSed.

Test build #96747 has started for PR 22568 at commit 90a4b1f.

Test build #96747 has finished for PR 22568 at commit 90a4b1f.

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

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96747/
Test FAILed.

Test build #96755 has started for PR 22568 at commit f5b6ac8.

Test build #96755 has finished for PR 22568 at commit f5b6ac8.

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

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96755/
Test FAILed.

Test build #96756 has started for PR 22568 at commit 5b8ca68.

Test build #96756 has finished for PR 22568 at commit 5b8ca68.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96756/
Test PASSed.

re: https://github.com/apache/spark/pull/22568#issuecomment-425352709
That's because within Pandas UDF it's numpy.ndarray which allows vectorized operations whereas the latter case is a Python object list (when Arrow optimization is disabled by default).
Try:
from pyspark.sql.functions import pandas_udf, PandasUDFType
from pyspark.sql.types import *

schema = StructType([
    StructField('id', IntegerType()),
    StructField('array', ArrayType(IntegerType()))])
df = spark.createDataFrame([[1, [1, 2, 3]]], schema=schema)

def foo(pdf):
    print type(pdf.array[0])
    return pdf.assign(array=pdf.array * 2)

udf1 = pandas_udf(foo, schema, PandasUDFType.GROUPED_MAP)
result1 = df.groupby('id').apply(udf1).sort('id').toPandas()
print(type(result1.array[0]))

There's difference about type conversion details when Arrow is enabled/disabled. You will have the same results if you enable spark.sql.execution.arrow.enabled (which means enabling Arrow optimization for toPandas and createDataFrame).
The type conversion (powered by Arrow) is not exactly matched to original Pnadas PySpark's conversion. We should match both. For now, I think matching it to numpy.ndarray makes more sense when spark.sql.execution.arrow.enabled is disabled from a cursory look. Probably we should fix array conversion from Array -> a list to array to numpy array (from JVM to Python). My guys say it needs some more discussion and investigation.

Please feel free to merge https://github.com/AlexanderKoryagin/spark/pull/1 to your branch. Should be good to go then.

Test build #96812 has started for PR 22568 at commit 2d6fb62.

Test build #96812 has finished for PR 22568 at commit 2d6fb62.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96812/
Test PASSed.

Merged to master and branch-2.4.


Using different programming languages

Sacred has been incredibly helpful for me in reproducing my Python-based machine learning experiments (especially when paired with mongo+omniboard). Thanks for the project! :)
I am wondering: has anyone ever considered methods to use other programming language (like Java or Scala etc.)?
Initially, I thought it could be possible to create a Python wrapper which created a new child Java process. This would allow us to use add_source_file() for the Java source code and add_artifact() for any final output files from the code.
However I realized that using log_scalar() would be harder to handle.
Would the only good solution be to recreate all of the sacred features in each new language?
Obviously this can be a lot of effort, so I am not asking for this. Mainly I am interested if anyone else has tried to combine sacred with other languages (successfully or not successfully).
Thanks!

I never thought of this before, but could it be possible to wrap sacred with Jython (https://www.jython.org)? Its documentation says "The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products". This sounds to me as if it was possible to both call Java from Python (i.e., call the experiment code in sacred's main) and Python from Java (for log_metrics, ...).
I could be totally wrong, I never used Jython.

Thanks for the link! I think that might be the best way for Java. I agree.
Personally, I have been thinking of some general ways of easily allowing any language to be used with sacred. One option that is commonly used is only possible if you have a generic API server. If the API server is documented with OpenAPI/Swagger, it is possible to use something like swagger-codegen (https://github.com/swagger-api/swagger-codegen#overview) to automatically generate api client code for MANY different languages automatically.
Obviously sacred is not run as a server, but instead is just a run-time library so the comparison is not the same.
I looked into neptune.ai (which does have an API server) and noticed that the way they handle "any language support" is to write a file during execution, then send the file after the experiment is finished (https://docs.neptune.ai/integrations/any-language-support.html).
This solution sounds bad because then you lose the ability to watch the experiments in realtime.
Anyways, thanks for thinking about it!


Added release in CD

Fixes #166.
Modified CD.yml to add step to create a release.

Thanks @blimlim and @CodeGat for reviewing!
Merged.


Fix Attempt to de-reference null.. error when selected field is unmapped

Previously when a field was selected on a Batch for display on the gift
entry form and was unmapped in Advanced Mapping, this error was shown
when the DataImportBatchEntry page was loaded.  Now a notice is shown
that displays the list of unmapped fields to the User.
Critical Changes
Changes

We updated a Batch Gift Entry error message to include instructions on how to fix the issue.

Issues Closed
New Metadata
Deleted Metadata

**lurch: attach W-036614

Tracking W-036614

@kenlewis-sfdo and @ptewson-sfdo I've started my review of the labels, but I'm checking with some other doc writers about one thing before I finish my review. Will it be OK to wait until Monday to merge this PR?

@melissabarber I haven't even started review on this yet so no worries about it being merged today.  Then QA has to have a swing at it, so I would say sometime Tuesday is probably the earliest we would see it merge.

Thanks @ptewson-sfdo.


(maint) Install apt-transport-https in acceptance test

This seems to be required for jessie, when install postgres packages from pgdg.

Test PASSed

CLA signed by all contributors.


fix: Fix handling of the privateKeyFile and api-enabled options

Description
This PR fixes # the handling of the privateKeyFile and api-enabled options.
privateKeyFile wasn't being correctly processed if the masaDir was changed
api-enabled should use the constant defined for that purpose instead of inlining the value
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@restevens402 Regarding the PageSize issue you found, that should be taken care of by always using WithConstantOptions, although if that happened to you it might be a Good Idea ™ to rethink the ConstantOption handling a little bit so that it's impossible to NOT do it (and yet give a chance to change it if needed). Or am I perhaps misunderstanding what the issue was?


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1299 ms

Resolved: Bofrost.be performance has improved in efeb132 after 14 minutes.


Unable to Complete AR build : 'NoneType' object is not callable

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az acr build
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not callable
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acr/build.py", line 109, in acr_build
    variant=platform_variant
TypeError: 'NoneType' object is not callable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az acr build --resource-group {} --registry {} --image {} {}

Expected Behavior
Environment Summary
Linux-5.4.0-1051-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.26.0

Extensions:
ai-examples 0.2.5
ssh 0.1.5

Additional Context
I am trying to follow the MS learn course on AKS - https://docs.microsoft.com/en-us/learn/modules/aks-workshop/03-deploy-container-registry

route to service team

I am also having this problem - Ugh - I cannot build my Docker containers...

Same issue.  cannot use az acr to build

A hotfix for the cli has been released. Please use Version 2.26.1 for the cli:
https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli?tabs=azure-cli#july-14-2021

I am using the  Azure Cloud Shell - Can I upgrade the Azure CLI in cloud shell to the 2.26.1 version? It seems to be failing.
pavneet@Azure:~$ az upgrade This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus Your current Azure CLI version is 2.26.0. Latest version available is 2.26.1. Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli Do you want to continue? (Y/n): y az upgrade is not supported in Cloud Shell.


remove query_mode line magic

Description of changes:
Removing %query_mode line magic in favor of individual command parameterization.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

FYI the official docs still list %query_mode as a thing you can do!:
https://docs.aws.amazon.com/neptune/latest/userguide/notebooks-magics.html
I submitted feedback on that page, but hopefully commenting here will get more eyes on it and help anyone else googling in my footsteps.
It looks like this project's Readme still references it, too.
(by the way, thanks for open-sourcing this repo, so I had a decent shot at figuring this out myself!)

FYI the official docs still list %query_mode as a thing you can do!:
https://docs.aws.amazon.com/neptune/latest/userguide/notebooks-magics.html
I submitted feedback on that page, but hopefully commenting here will get more eyes on it and help anyone else googling in my footsteps.
It looks like this project's Readme still references it, too.
(by the way, thanks for open-sourcing this repo, so I had a decent shot at figuring this out myself!)

Thanks @jrr for notifying us, I have cut an issue for this:
https://github.com/aws/graph-notebook/issues/57

Thanks @jrr for notifying us, I have cut an issue for this:
https://github.com/aws/graph-notebook/issues/57


Be ready to handle date variables for map viz overlay

I've just seen in the map visualization source code several "TO DOs" related to handling date variables as the overlay.
There are no such variables in SCORE studies and UMSP seems unavailable to me on qa.restricted even when logged in.
So we have not given it much thought.
We need to be on top of this when the popbio data reaches EDA, so just making a ticket to remind us.
Could involve front and back end work.

Is this ticket still relevant? @bobular @dmfalke

It's likely still very relevant @chowington
Jilinde Prospective Cohort seems to not have geolocation map support at the moment, so we can't work on it right this minute :-(

Also make sure the new overlay plugin stuff works in regular visualizations.

I'm off today, so I'll un-assign myself and let someone else pick this up. When I first looked into this, most continuous vars were silently failing. But I haven't tested things for a week or two.

Did some diagnosis/debugging and filed https://github.com/VEuPathDB/EdaDataService/issues/278

Looks like with the completion of https://github.com/VEuPathDB/EdaDataService/issues/278, this is working now


Thank you!

Just wanted to say thank you this way!
The pdf_annotation_fix tool saved me from hours of recovering  annotations.
You can close this issue now :)

Awesome :)


Issue: Every time the app starts the fbvalue is reset to the defaul va…

…lue.
Cause: Creating a new instance of FBTweak and setting the current value to nil resets the UserDefaults value. FBTweak gets instantiated with an identifier which is therefore used as a key to get the value for UserDefaulst store so there is no need to set the current value to nil when instantiating a new FBTweak

@monishsyed that change looks good to me, and works when I tested it out locally. After leaving MM, I no longer have write access to accept pull requests to this repo though, so you may need to check with someone there to get it merged.
Also, I don't have access to view the reason for the travis failure. It may just be that the config needs to be updated to a newer version of Xcode? Are you able to see why the automated check reported a failure?


feat(go): package ioutil is deprecated

Small warning fix : package ioutil is deprecated since go 1.16

Thanks!


Evaluate a service mesh (prob linkerd)

https://linkerd.io/

Cilium also could be an option now?
https://docs.cilium.io/en/stable/network/servicemesh/


Should hypertrichosis, hyperkeratosis, mental retardation, and distinctive facial features be retained?

Live in GARD and MONDO: MONDO_0012372
https://rarediseases.info.nih.gov/diseases/9945/index
Moved by OMIM into Coffin-Siris 1 (https://www.omim.org/entry/135900, https://www.omim.org/entry/609943)

I think if OMIM merged these terms, we should consider doing so as well.
The proposal is to:
obsolete MONDO_0012372 'hypertrichosis, hyperkeratosis, mental retardation, and distinctive facial features'
and replace it with MONDO_0007617 'Coffin-Siris syndrome 1'
cc @gardinfocenter


vsixmanifest version not changing with build

vsixmanifest version is not automatically changed with build

added script from @madskristensen ExtensionScripts


[Feature]: Extension icon could be better

Pre-check

[X] I have searched the existing issues and discussions to make sure my problem has not already been addressed.
[X] I have looked at the "Known Issues" Section of the marketplace page of all TSP Toolkit extensions.

Feature Idea
The sidebar icon for the extension should probably be a bit more in line with the style of VSCode's default icons. There is also an opportunity to use the Tektronix logo, if possible. I don't know the "rules" about using the logo in something like this extension, so this is just a suggestion and it'd be up to you guys.
Here's a preliminary svg I made to get the point across though:

Before
After

SVG:

Thanks for this idea. Unfortunately, branding is not something that we can discuss changing.

:( btw bug and triage are the default labels for the Feature Request template in .github/ISSUE_TEMPLATE/01-feature.yml, "enhancement" chould probably be default.


Any updates or alternatives available?

Hello!
Our team noticed this seems to no longer be working nicely with our app. We're not sure exactly when it stopped working, but we're on Ember 2.12 and it seems to behave in different strange ways for different members of my team:

One person, on Linux, does not see the little offline box appear when internet is disconnected
Another person (me), on Mac OS X 10.14 on Chrome, sees the offline box appear when I disconnect internet, but then the offline box does not go away when I reconnect the internet

Does anyone have any alternatives? Or is there any maintenance on this add-on planned?
Thanks!

I have just had offline.js working manually and configured it in index.html. But had that with bower which is pretty old so was looking for better solutions which is how I ended up here.

As it seems there is no up to date offline solution todate. Offline.js is years old and not maintained by the looks. @robclancy so yeah I am here for the same reasons. It seems like that no one has a need for something like this anymore as online / offline events are now adodopted by all major browsers. I ran into issues where ios safari (or wkwebview) though which is firing the offline event delayed after the fact (up to 2sec) which created some issues with my error handling. So to me these events are not really the best solution.


[lightbeam] the lightbeam compiler doesn't work

Test Case
Example for C embedding from the official doc site: https://docs.wasmtime.dev/examples-c-hello-world.html
With a few changes to enable the lightbeam compiler:
48c48,50
<   wasm_engine_t *engine = wasm_engine_new();
---
>   wasm_config_t* config = wasm_config_new();
>   wasmtime_config_strategy_set(config, WASMTIME_STRATEGY_LIGHTBEAM);
>   wasm_engine_t *engine = wasm_engine_new_with_config(config);

Steps to Reproduce
Compile and run the above example, using wasmtime's main branch with lightbeam enabled.
Expected Results
The example runs correctly.
Actual Results
The compiler panics:
Initializing...
Compiling module...
thread '<unnamed>' panicked at 'not implemented', crates/lightbeam/wasmtime/src/lib.rs:224:9

Versions and Environment
Wasmtime version or commit: 44f9ccd31640f8d88073d7e57347573d4fd01c14
Operating system: Linux
Architecture: x86-64

Not that I am aware of.

Lightbeam was removed in https://github.com/bytecodealliance/wasmtime/pull/3390 as explained in RFC 14, so I'm going to close this.


[PG] Doesn't show other information in table DDL (grants)

7.1.1 PostgreSQL
If i go to any table i can't see any grants on table. It will be helpful if that will came back(in version 6~ it was implemented but in 7 i don't have that. Maybe, i just need check some checkbox. Please help

Hi @Cavaldier ,
probably "Show permissions" button is unchecked

BR

Thanks :D you are big :D thanks a lot
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Wolny
od wirusów. www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
wt., 23 cze 2020 o 15:44 uslss<EMAIL_ADDRESS>napisał(a):

Hi @Cavaldier https://github.com/Cavaldier ,
probably "Show permissions" button is unchecked
[image: image]
https://user-images.githubusercontent.com/31996417/85411199-b4a68d00-b570-11ea-912f-785989727fb9.png
BR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/9072#issuecomment-648157746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMKZEDOSIDSBFK5ZNBSAWR3RYCWSZANCNFSM4OFLJ2SQ
.


Transaction Receipt contains invalid data.

The occurrence of receiving an Ethereum transaction receipt with empty fields such as blockNumber and logs, which then gets resolved upon resending the request after a brief interval, can often be attributed to the inherent characteristics of the Ethereum network rather than being a bug or oversight. Here's a more detailed explanation:
Network Congestion: Ethereum is a decentralized network, subject to varying levels of congestion depending on transaction volumes and network activity. During periods of high congestion, nodes may struggle to process and propagate transaction data promptly. This delay can lead to temporarily incomplete transaction receipts being returned in response to queries.
Node Synchronization: Ethereum nodes maintain a copy of the blockchain and synchronize with other nodes to stay updated. Occasionally, a node might fall out of sync or experience delays in receiving and processing blocks. This can result in incomplete transaction data being returned until the node catches up or receives the necessary information from other peers.
Latency Issues: Network latency or communication delays between your client and Ethereum nodes can also contribute to receiving incomplete transaction receipts initially. Resending the request after a short delay allows for improved network responsiveness, potentially resulting in the retrieval of complete and accurate transaction data.
API Behavior: The behavior of the API you're using to interact with the Ethereum network may also play a role. Some APIs might prioritize speed over completeness, leading to occasional discrepancies in returned data. Alternatively, intermittent issues or congestion within the API's infrastructure could result in incomplete responses.
While encountering initially incomplete transaction receipts is relatively common, especially during periods of network congestion, it's essential to implement robust error-handling mechanisms in your application. Strategies such as retrying requests after a short delay or implementing fallback mechanisms to handle missing data can help ensure the reliability and resilience of your application's interactions with the Ethereum network.

describe your problem in more detail


Remove atlantis.evilfactorylabs.org

Ran Plan for dir: . workspace: area13
Show Output
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy

Terraform will perform the following actions:

  # digitalocean_record.evilfactorylabs_atlantis will be destroyed
  # (because digitalocean_record.evilfactorylabs_atlantis is not in configuration)
- resource "digitalocean_record" "evilfactorylabs_atlantis" {
      - domain   = "evilfactorylabs.org" -> null
      - flags    = 0 -> null
      - fqdn     = "atlantis.evilfactorylabs.org" -> null
      - id       = "334997101" -> null
      - name     = "atlantis" -> null
      - port     = 0 -> null
      - priority = 0 -> null
      - ttl      = 1800 -> null
      - type     = "CNAME" -> null
      - value    = "cname.edgy.network." -> null
      - weight   = 0 -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/home/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵

:arrow_forward: To apply this plan, comment:

atlantis apply -w area13

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -w area13

Plan: 0 to add, 0 to change, 1 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

Ran Apply for dir: . workspace: area13
Show Output
Acquiring state lock. This may take a few moments...
digitalocean_record.evilfactorylabs_atlantis: Destroying... [id=334997101]
digitalocean_record.evilfactorylabs_atlantis: Destruction complete after 1s
Releasing state lock. This may take a few moments...

Apply complete! Resources: 0 added, 0 changed, 1 destroyed.

Outputs:

evilfactorylabs_forem_image_id = "88327586"
evilfactorylabs_forem_ip = "<IP_ADDRESS>"
evilfactorylabs_forem_region = "sgp1"
evilfactorylabs_forem_vpc = "8e9d1d94-ca3d-4b0a-a489-f0ffec8e3a2b"
evilfactorylabs_social_ip = "<IP_ADDRESS>"


m.User.TeamId undefined

Hi,
I get a build error when I try to install matterbridge

go get github.com/42wim/matterbridge
src/github.com/42wim/matterbridge-plus/matterclient/matterclient.go:189: m.User.TeamId undefined (type *model.User has no field or method TeamId)

I'm using go1.5 linux/amd64 on CentOS 7. Does Matterbridge require Go 1.6 ?
Thanks

I'm using go 1.6, but go 1.5 should also work if you put  export GO15VENDOREXPERIMENT=1 before compiling, so that the vendor directory is used.

@42wim Thank you, it solved the issue.


Request to remove all my code from repo

Hi! This is a formal request to remove all code I have made for ss14. This won't include things like basic bodysystem work that has been heavily modified since my pushes, but this will include many shaders and other work I have done, including engine work on graphics flow.
I can provide a list of all code I want to remove by looking at my commits.
Thanks!

Wew

🍿

Hi,
interesting choice to connect yet another account to your unacceptable and disturbing behaviour, but of course, i'm happy to oblige.
To cut it short: No.
Your code contributions are licensed under the MIT, which cannot be retroactively revoked.
This entirely depends upon our goodwill, and we don't have much left for you.
Why do we not have anymore goodwill, well, a short catchup for anyone reading this:
This person has been banned from our community three times, with us making the last one permanent: https://forum.spacestation14.io/index.php?/topic/77-ban-appeal/
An excerpt from the ban appeal above:
That being said, this is somewhat roughly pulled together what admins remember:
- History of being a conflictive person causing drama in the community (ex: the /vg/ hack threat incident, which got you banned before the ban was later lifted for some reason)
- History of blatant transphobia in the community, banned once for this and unbanned again without other admins being consulted.
- Compared pedophile rights to trans rights, went on to rabidly defend pedophile rights publicly in the server and didn't stop after being asked to, got banned for this and later unbanned without other admins being consulted.

After the ban, came back with an alarming number of alts to:
- let loose the average insecure transphobic bullshit: "you are all mentally ill", "you are on the verge of suicide", "they were triggered!!!" etc
- offer admins 5k to unban & admin him because "thats the amount of money where friendships break" (lmao, maybe yours)
- continue to larp about being a millionare. sure bud, we all heard it, you got money :P

All in all, read up on this:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Bi-Daily reminder that contrib guidelines can be helpful sometimes. Implying anyone actually reads them but still

lol

5k ? We didn't even get pocket change compared to that.

i offered to take the 5k if he'd agree to donate it to charity but he just blocked me instead

Bi-Daily reminder that contrib guidelines can be helpful sometimes. Implying anyone actually reads them but still

Should probably add them to CONTRIBUTING.md, PULL_REQUEST_TEMPLATE.md, or something so people are forced to read them.

Sure, altough i doubt we'll get someone quite so disturbed again. Glass is unique, just not in a good way.

Sure, altough i doubt we'll get someone quite so disturbed again. Glass is unique, just not in a good way.

Trust me, there is no shortage in stupidity on this planet.

i fear you might be correct

bababooey

You'll be glad to know that I've successfully removed most of your code from /vg/'s cult then 😌

Please. Do I need to remind how many times "nigger" was said in the server? Nigger was said hundreds, thousands of times by the very people who banned me. But transphobia is bad since, well, you're trans, and not black. I can go into /vg/station logs and get hundreds of instances of PJB being racist, if you want. This is a 4chan project, or should I say, was. Nobody is left from the original squad.
Unfortunately MIT license is a GPL-compatible license, which means users can indeed revoke their code. You are incorrect. I will be filing a DCMA takedown if this behavior is not rectified. This is not a matter of "good will", this is a legal issue.

You'll be glad to know that I've successfully removed most of your code from /vg/'s cult then 😌

I don't recall every doing anything with /vg/ cult beyond trying to work with that abhorrent mess to add a couple of features, lol.

jesus christ man touch some grass, this is some unhealthy autism

WEW

Please. Do I need to remind how many times "nigger" was said in the server? Nigger was said hundreds, thousands of times by the very people who banned me. But transphobia is bad since, well, you're trans, and not black. I can go into /vg/station logs and get hundreds of instances of PJB being racist, if you want. This is a 4chan project, or should I say, was. Nobody is left from the original squad.

luckily, people can admit their fault & change, just how pjb has done. I'll denounce racism as well as transphobia.
sidenote: I'm also not trans, not black.
 You are incorrect. I will be filing a DCMA takedown if this behavior is not rectified. This is not a matter of "good will", this is a legal issue.

oh no I have defeated you by merely having a clone of the repository on my hard disk drive that I can then immediately reupload to any of a number of Russian-hosted gitlab servers
also counter-claims are a thing, if we're taking legal avenues

I urge you to read https://docs.github.com/en/github/site-policy/dmca-takedown-policy if you have any more desire to counteract my claims. You will have 14 days to submit a counter-filing to my DCMA claim, during which the github will be taken down entirely. After 14 days, the case will be reviewed and you may or may not win the case, at which point it will be taken down indefinitely until the offending material is removed.
And as a side note, PJB hasn't changed. He just needs you to devote every waking hour of your life to finish the project, just as he has. He still moderates and has collaborator access to /vg/station. He also plays on there sometimes. I can find recent racist material, if you want.

And surprising that you only say "PJB" has changed.

I urge you to read https://docs.github.com/en/github/site-policy/dmca-takedown-policy if you have any more desire to counteract my claims. You will have 14 days to submit a counter-filing to my DCMA claim, during which the github will be taken down entirely. After 14 days, the case will be reviewed and you may or may not win the case, at which point it will be taken down indefinitely until the offending material is removed.
And as a side note, PJB hasn't changed. He just needs you to devote every waking hour of your life to finish the project, just as he has. He still moderates and has collaborator access to /vg/station. He also plays on there sometimes. I can find recent racist material, if you want.

And as a side note, PJB hasn't changed. He just needs you to devote every waking hour of your life to finish the project, just as he has. He still moderates and has collaborator access to /vg/station. He also plays on there sometimes. I can find recent racist material, if you want.

glad to know you know the person I interact with on a daily basis, as well have interacted with while coding for vg.

And surprising that you only say "PJB" has changed.

If you so wish to live in the shadows with ss14, that's fine. So long as copyrighted code is not on public display.

i haven't seen anyone at ss14 being racist or transphobic.

You should learn about the thousands of instances of the word "nigger" being deleted from server history, then.

I find it fascinating that you jumped on the PJB being racist thing instead of the code, license or whatever. Kinda makes your DMCA threat have little weight.

If you so wish to live in the shadows with ss14, that's fine. So long as copyrighted code is not on public display.

i haven't seen anyone at ss14 being racist or transphobic.

You should learn about the thousands of instances of the word "nigger" being deleted from server history, then.

lmao there might be a reason we cleaned house... like... not supporting it?

Should probably go ahead and lock this thread since he's just shitposting now.

yep

Very well. I will file the DCMA.

Mate I already had to replace most of your code here because it's absolute dogshit, what are you gonna DMCA, use the money on lawyers to learn coding instead please


styles: Exempt visibility from overlay show transition

This fixes a failure to give focus to a newly shown overlay.
Testing Plan: Dev server.

Merged, thanks @andersk!


Overwrite single value with hiera

hi,
I'm new to Hiera and I want to have the most parts as a classical manifest (profile::mysql::maxscale). but want to overwrite some lines, for example "password/user" or "servers" ...
Is that possible?
I tried the following:
maxscale::services_conf:
  default:
    config:
      Galera Monitor:
        user: 'foorbar'
        password: 'topsecret12354#'
        server: 'mariadb3.foo.example.com'

But it seems to be ignored. If it doesn't work, I expect, that I have to change the fixed name in the manifest, with variables. Right?
cu denny

Hi @linuxmail ,
Can you show me your profile::mysql::maxscale profile please?
What do you mean by "doesn't work"? What does the generated /etc/maxscale.conf file on the server look like vs expected?
Your hiera config looks correct. It's missing the rest of the Galera Monitor service config I guess.
Thanks
Joseph

hi @aerostitch
that is our config and it works so far so good. But on one or two servers I want a slightly different configuration, for example the password hash, or user/server ..
With my knowledge, I would change the hardcoded lines with variables, getting from hiera, maybe with defaults e.g.
$maxscale_servers = hiera('maxscale::servers', 'mariadb1,mariadb2')
# profile::mysql::maxscale
# modules/profile/manifests/mysql/maxscale.pp
class profile::mysql::maxscale {
  class { '::maxscale':
    install_repository => false,
    repo_custom_url    => 'http://foo.bar/debian/',
    repo_fingerprint   =>  '56045F842...CBFA4C0',
    services_conf      => {
      'default'        => {
        ensure         => 'running',
        logdir         => '/var/log/maxscale',
        datadir        => '/var/lib/maxscale/data',
        piddir         => '/var/run/maxscale',
        svcuser        => 'maxscale',
        svcgroup       => 'maxscale',
        errmsgsys_path => '/var/lib/maxscale',
        configfile     => '/etc/maxscale.cnf',
        'config'       => {
          'maxscale'   => {
            'threads'  => 2
          },
          'Galera Monitor'   => {
            'type'           => 'monitor',
            'module'          => 'galeramon',
            'user'           => 'maxscale',
            'passwd'         => '<secrethash>',
            'servers'       => 'mariadb1,mariadb2',
            'monitor_interval' => '1000',
            'disable_master_failback' => true,
            'detect_stale_master' => true,
            'use_priority' => true,
            'detect_replication_lag' => true,
          },
          'RW Split Router'   => {
            'type'            => 'service',
            'router'         => 'readwritesplit',
            'user'        => 'maxscale',
            'servers' => 'maria1db,mariadb2',
            'passwd'        => '<secrethash>',
            'max_slave_connections' => '100%',
            'localhost_match_wildcard_host' => '1',
            'enable_root_user' => '1',
            'router_options' => 'slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS',
          },
          'Debug Interface'   => {
            'type'            => 'service',
            'router'          => 'debugcli',
          },
          'CLI'      => {
            'type'   => 'service',
            'router' => 'cli',
          },
          'Debug Listener'   => {
            'type'           => 'listener',
            'service'        => 'Debug Interface',
            'protocol'       => 'telnetd',
            'address'        => '<IP_ADDRESS>',
            'port'           => 4442,
          },
          'CLI Listener'   => {
            'type'         => 'listener',
            'service'      => 'CLI',
            'protocol'     => 'maxscaled',
            'port'         => 6603,
          },
          'ina-mariadb1'   => {
            'type'         => 'server',
            'address'      => '<IP_ADDRESS>',
            'protocol'     => 'MySQLBackend',
            'port'         => 3306,
          },
          'ina-mariadb2'   => {
            'type'         => 'server',
            'address'      => '<IP_ADDRESS>',
            'protocol'     => 'MySQLBackend',
            'port'         => 3306,
          },
        },
      },
    },
  }
}

cu denny

We actually don't deep merge the default config with the configuration provided so you would need to declare the entire config inside your hash (can be done in hiera).
What I personally would do is have the following in your profile:
class profile::mysql::maxscale {
  include '::maxscale'
}

And have in hiera the config that would look like (You could have, for example maxscale::install_repository, maxscale::repo_custom_url and maxscale::repo_fingerprint inside your common.yaml to be applied to all your configs by default):
maxscale::repo_custom_url: 'http://foo.bar/debian/'
maxscale::repo_fingerprint: '56045F842...CBFA4C0'
maxscale::services_conf:
  'default':
    datadir: '/var/lib/maxscale/data'
    config:
      maxscale:
        threads: 2
      'Galera Monitor':
        type: 'monitor'
        module: 'galeramon'
        user: 'maxscale'
        passwd: '<secrethash>'
        servers: 'mariadb1,mariadb2'
        monitor_interval: 1000
        disable_master_failback: true
        detect_stale_master: true
        use_priority: true
        detect_replication_lag: true
      'RW Split Router':
        type: 'service'
        router: 'readwritesplit'
        user: 'maxscale'
        servers: 'maria1db,mariadb2'
        passwd: '<secrethash>'
        max_slave_connections: '100%'
        localhost_match_wildcard_host: 1
        enable_root_user: 1
        router_options: 'slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS'
      'Debug Interface':
        type: 'service'
        router: 'debugcli'
      'CLI':
        type: 'service'
        router: 'cli'
      'Debug Listener':
        type: 'listener'
        service: 'Debug Interface'
        protocol: 'telnetd'
        address: '<IP_ADDRESS>'
        port: 4442
      'CLI Listener':
        type: 'listener'
        service: 'CLI'
        protocol: 'maxscaled'
        port: 6603
      'ina-mariadb1':
        type: 'server'
        address: '<IP_ADDRESS>'
        protocol: 'MySQLBackend'
        port: 3306
      'ina-mariadb2':
        type: 'server'
        address: '<IP_ADDRESS>'
        protocol: 'MySQLBackend'
        port: 3306

Note: the values that are already declared as the default in the define (https://github.com/tubemogul/puppet-maxscale/blob/master/manifests/instance.pp) don't need to be re-declared.
You can use the hiera example shown in the "Working with a single instance" paragraph of the readme as an example.
Does that makes sense?
Try to avoid hard-coded stuffs, it always ends up being a mess. ;)

hi @aerostitch
thanks for the example, but do I think right, that .. if we have 5 hosts, all with some slightly different configurations, I need the whole config (except the package defaults) ? Hmm, what I didn't say: I have the option ":merge_behavior: deeper" in hiera.yaml, so I thought, that it should work :-)
Maybe, I red something about - roles/%{calling_class_path} (in my case profile/{calling_class_path} so I can move the content from the node.yaml to profile and overwrite only what is needed.
Hhu .. so many new things :-)
Thanks for the help 👍


Provider sporadically runs out of gas when tries to withdraw leases

It looks like Provider sporadically runs out of gas when tries to withdraw leases.
Akash v0.14.1.
Provider: akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9
DSEQ in question: 4424765
GSEQ belonging to the provider: 1,4,6,8.
$ akash query txs --events "akash.v1.provider=akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9&akash.v1.action=lease-created&akash.v1.dseq=4424765" | jq -r '["owner","dseq","gseq","oseq","provider"], (.txs[].tx.body.messages[] | [.bid_id | (.owner, .dseq, .gseq, .oseq, .provider)]) | @csv' | column -t -s"," | grep akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9
"akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  "4424765"  1       1       "akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9"
"akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  "4424765"  4       1       "akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9"
"akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  "4424765"  6       1       "akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9"
"akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  "4424765"  8       1       "akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9"

It looks that the Provider is withdrawing the leases for 4424765, gseq's 1, 4, 6, 8 without issues:
$ akash query txs --events "message.sender=akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9&message.action=withdraw-lease" --page 3 --limit 100 | jq -r '["height","timestamp","owner","gseq","oseq"], (.txs[] | select(.tx.body.messages[].bid_id.dseq == "4424765") | [.height, .timestamp, (.tx.body.messages[].bid_id | .owner, .gseq, .oseq)] ) | @csv' | column -t -s","
"height"   "timestamp"             "owner"                                         "gseq"  "oseq"
"4433291"  "2022-01-25T10:18:12Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  4       1
"4433331"  "2022-01-25T10:22:34Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  1       1
"4433332"  "2022-01-25T10:22:41Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  6       1
"4433334"  "2022-01-25T10:22:55Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  8       1
"4439735"  "2022-01-25T22:18:12Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  4       1
"4439774"  "2022-01-25T22:22:23Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  1       1
"4439776"  "2022-01-25T22:22:36Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  6       1
"4439778"  "2022-01-25T22:22:50Z"  "akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj"  8       1

However, failed transactions are not getting indexed, thus cannot be easily queried.
The only way to query would be scanning block by block:
let START=4467972
let END=4468041

for BLOCK in $(seq $START $END); do
  TXS=$(akash query block $BLOCK | jq -r '.block.data | if .txs != null then .txs[] else empty end' | xargs -r -I@ sh -c "echo @ | openssl base64 -A -d | sha256sum | awk '{print \$1}'")
  for TX in $TXS; do
    akash query tx $TX -o json | jq -r '(select(.tx.body.messages[].bid_id.dseq == "4424765") | [.height, .timestamp, .txhash, .code, .gas_used, .gas_wanted, (.tx.body.messages[] | ."@type", (.bid_id | .owner, .dseq, .gseq, .oseq))] ) | @csv'
  done
done

Output:

see code is 11 (out of gas)

"height","timestamp","txhash","code","gas_used","gas_wanted","type","owner","dseq","gseq","oseq"
"4467972","2022-01-28T02:00:24Z","86450BA9B1F80C452B1B4F958EF6524D59438729AD4777E42C19B65814D4E5C4",11,"201694","200000","/akash.market.v1beta1.MsgWithdrawLease","akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj","4424765",8,1
"4468005","2022-01-28T02:03:56Z","840A1A862B2B803A3EFD1E2B1910FED0D785E2EB863220C81146C6ADDEEE6C6B",11,"201706","200000","/akash.market.v1beta1.MsgWithdrawLease","akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj","4424765",6,1
"4468013","2022-01-28T02:04:50Z","8B2C011F84EF4C2879DF50C987A3A6A1E9F5A395A0494CED17D77787B1306144",11,"201697","200000","/akash.market.v1beta1.MsgWithdrawLease","akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj","4424765",1,1
"4468030","2022-01-28T02:06:40Z","2E8502668EC0095F8087CBC446BBC6D88CF798BFA5C77E29CA06011D80B3914A",11,"201700","200000","/akash.market.v1beta1.MsgWithdrawLease","akash1z73qc2wjhm7qfqyg0sn56sg36r2wuzpyku9qhj","4424765",4,1

These are:
raw_log: 'out of gas in location: WritePerByte; gasWanted: 200000, gasUsed: 201694:

It seems that Provider pays for each failed withdraw-lease TX too: 5000uakt fee and ~200000uakt for gas, though as the blockchain wants more gas (around 1694uakt more), it fails.. Does gas return back in that case? The fee most likely does not. Please clarify.
Failed TXs:

https://www.mintscan.io/akash/txs/86450BA9B1F80C452B1B4F958EF6524D59438729AD4777E42C19B65814D4E5C4
https://www.mintscan.io/akash/txs/840A1A862B2B803A3EFD1E2B1910FED0D785E2EB863220C81146C6ADDEEE6C6B
https://www.mintscan.io/akash/txs/8B2C011F84EF4C2879DF50C987A3A6A1E9F5A395A0494CED17D77787B1306144

This is a bug on our part. I'm not sure why we are just seeing it now, or if you just have the most visibility.
Also note gas is not fees. Gas could be a million or more but fees could be 1uakt. From the cosmos SDK docs fees = gas * gas-prices.
You can probably work around this by setting --gas 220000 on the command line when invoking akash provider run. However we probably need a better way long term to address this.

FYI: the real fix to the "Out of gas" issue would be https://github.com/ovrclk/akash/pull/1533 (akash v0.15.0-rc15)
I am currently trying to backport it to v0.14.2-rc0 (mainnet) here https://github.com/ovrclk/akash/pull/1537


Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

Hi
I have been trying to install the Fermi science tools using conda after my upgrade of MacOS to Big Sur.  I followed the command line that was given in the website.
shabnam$ conda create --name fermi -c conda-forge -c fermi fermitools python=3 clhep=<IP_ADDRESS>
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: -
The step of solving environment goes on endlessly.
Please let me know how to resolve this.

Can you post the output of the 'uname -v' command?  Also, did the tools work before when the machine was Catalina?
We've had another installation problem report from a user with an x86 mac running Big Sur.  I'm wondering is the problem is limited to those type of machines.   We're trying to find an x86 mac running Big Sur to test with, but we don't have one immediately available.

For the command 'uname -v', I get the following
Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64
Earlier, I was using MacOS Mojave. I did not work in Catalina.

Hi @ShabnamIyyani, @jasercion, @donhorner. Do you think this is connected to #111?

@ShabnamIyyani Sorry, I didn't get back to you the other day.  Can you try installing and using the mamba installer as we suggest in the troubleshooting suggestions?   It's reimplementation of the conda package manager in C++ and is generally faster at resolving the dependencies.  It took ~10 minutes for conda to resolve on the x86 Big Sur machines I tested on, but mamba took ~1 minute.
If that doesn't work, can you try doing the install using the dependency file I created from the Big Sur installation used for testing?  The file and instructions are given in the issue #111, which, as @BrunoArsioli suggests, may be related.

@donhorner  Using mamba for installation did not work as the execution was taking a very long time and was not done. Later, I tried the second method that was suggested. The installation was done using the spec-file.txt. However, after activating fermi, when I tried to open gtburst, I got the following error
Traceback (most recent call last):
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/site-packages/fermitools/gtburst.py", line 2091, in
g = GUI()
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/site-packages/fermitools/gtburst.py", line 147, in handle_exception
showerror("Unhandled exception", msg)
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/messagebox.py", line 91, in showerror
return _show(title, message, ERROR, OK, **options)
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/messagebox.py", line 72, in _show
res = Message(**options).show()
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/commondialog.py", line 39, in show
w = Frame(self.master)
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/init.py", line 2744, in init
Widget.init(self, master, 'frame', cnf, {}, extra)
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/init.py", line 2292, in init
BaseWidget._setup(self, master, cnf)
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/init.py", line 2259, in _setup
_default_root = Tk()
File "/Users/shabnam/miniconda3/envs/fermi/lib/python3.7/tkinter/init.py", line 2023, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
/Users/birby/heasoft-6.28/heasoft-6.28/x86_64-apple-darwin18.7.0/lib/tcl8.6 /Users/shabnam/miniconda3/envs/fermi/lib/tcl8.6 /Users/shabnam/miniconda3/envs/lib/tcl8.6 /Users/shabnam/miniconda3/envs/fermi/library /Users/shabnam/miniconda3/envs/library /Users/shabnam/miniconda3/envs/tcl8.6.6/library /Users/shabnam/miniconda3/tcl8.6.6/library
/Users/shabnam/miniconda3/envs/fermi/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.6, need exactly 8.6.11
version conflict for package "Tcl": have 8.6.6, need exactly 8.6.11
while executing
"package require -exact Tcl 8.6.11"
(file "/Users/shabnam/miniconda3/envs/fermi/lib/tcl8.6/init.tcl" line 19)
invoked from within
"source /Users/shabnam/miniconda3/envs/fermi/lib/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
This probably means that Tcl wasn't installed properly.
How should I resolve this?

I've seen this before, but I'm not sure why it occurs.  Maybe @jasercion has some insight?  However, you should be able to fix it by editing the file /Users/shabnam/miniconda3/envs/fermi/lib/tcl8.6/init.tcl and changing the line package require -exact Tcl 8.6.11 to version 8.6.6.  You could also just comment out the line completely.  You'll also have to do the same with the file /Users/shabnam/miniconda3/envs/fermi/lib/tk8.6/tk.tcl or gtburst will throw a similar error.  After those changes, gtburst should start.


 See documentation.

:robot: Release is at https://github.com/agufaui/test/releases/tag/vue-v0.5.0 :sunflower:


HTML

HTML
User story
As a UT-Austin Coding Bootcamp student
I want the prework notes to be structured on a webpage so that I can easily find and read information.
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow
WHEN I open the console in my browser
THEN I can see the four topics I learned listed along with a suggestion on what I should study first
WHEN I visit the website using the URL
THEN I can access my website from any browser

Completed the 4 boxes. I will move the other tasks to their appropriate domains, then close this ticket.

Copied relevant acceptance criteria to appropriate issues.


Add multi range support

Update descriptors.
Add multirange codec.
Add simple multi range test.
NOTE: I'll add more and better tests.

@diksipav how is this going? Is this waiting on a review?


Test-only PR with every event

For #4029
Please don't touch

Comment

Hidden comment

dat's alot.

@yakov116 can you leave a no-comment Approve review? Reopen and close if necessary

Someone please delete this comment so we get the "Comment deleted" event


Export deeplearn as dl in the global namespace

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Separate legend icons and labels for each data point in a single bar chart, similar to a pie chart.

What problem does this feature solve?
"For a pie chart in a single series case, each data point has a separate legend. When we toggle a legend, that data point is removed from the pie chart. We would like a similar feature for the bar chart. Currently, one series is associated with one legend in the bar chart."

What does the proposed API look like?
"Currently, in a single bar series case, we only see one legend, but we have a requirement to show legends for each data point."
Pie Chart Link :
https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=G4QwTgBAxg9gNjMBnCBeCBtA5GApgEywBosAjOAV12KwHM9cA7GgBwEtGBrLAXQCg-MFgBc2MRmggBvARAhJcYNriQAuTHzlyZWrYxABbXBFVYFSlQEZim3bvwhhIdRlt3pEUJVzrLABgAWAA4iCH0jdSwAWXEsCABfIjc7KU8Qb3UAdgBmAFZQ8J8ILAAVKjjE5N1Uryp1XKC_AsMirAB1Agqk9200jIhggOaI4pKACwouqogebt1p4QBPFlb2ajndNmFcAwBlJbginR65WAQwdQgAChZwQwBKVAA-aWn3PGEKMAloeEQkDC3MCGAB0DicAElGPhcAAPHgAbjeWniyNRunRMzmtkOtCY-FUGGOciQYxgAHcTMIwFQNhBbJVbPx4gigA
Bar Chart Link:
https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=G4QwTgBAxg9gNjMBnCBeCBtA5GApgEywBosAjOAV12KwHM9cA7GgBwEtGBrLAXQCg-MFgBc2MRmggBvPhAgAPAILy2SAFzTZciMICeLXBqxQQw3LUS7iWuflMgN2ALLjiELABUqbrAHUCPh4AFhS8WgC-RFq6yqoaMto6-obuoJTUEVFySLhgbLjqmDaaiXKMIAC2uBBqWDl5BQCM1qUQdsIOmI0ATAAMRBB9_RCNAKzDABy9PFmlegZGpOAtpWxmFQDKenApCa3asAhgGhAAFCzglQCUqAB8JfuJeMIUYBLQ8IhIGBdglQB07RAAElGPhcPIeABuYqtcKw7TwxJIiAzLRaHa0Jj4NQYPbZIIwADuNWEYCoszkmS0-IgSEJJLUZIpNh2ADNhDVehAIlp-OEoUA

You can use the stack property and set the values for all other categories to 0. Here is an example.

To my knowledge echarts creates one legend entry per series and there is no way around.
If the work around I provided is not suitable for your use case you can always implement your own legend component activating / deactivating data points of your series.

"Thank you for your response. I appreciate your efforts in providing a workaround. However, I'm having difficulty understanding the implementation details. Could you please provide more clarity or perhaps share a code snippet/example to illustrate your suggestion? I'm relatively new to this, and any additional guidance would be immensely helpful."

"We have implemented the suggested approach from the above sample, creating a series for each bar. We have utilized the stack property and set the values for all other categories to null. As part of the performance improvement, we only feed data with nulls up until the series index when multiple series are provided. To the right, there is no need for any additional data."
** The Below Image is the workaround Solution for showing legends for each bar as suggested by "[MatthiasMert]"**

The Below Image is a performance Improvement to the workaround Done By us

"We have applied the workaround along with our "performance improvement approach" in our main application. However, even after implementing this workaround with our "performance improvement approach", we are still facing performance issues with 500, 1000, and 2000 records. Despite following this approach, we continue to encounter very serious performance issues."
Samples :
Normal Bar chart with 1000 Records without Any workaround

same problem for treemap