Logic App Designer and API Connection Menu Locked

As you see in the second image if you switch to code view and select Upgrade from Schema support ended notification you can save this logic app as a copy using a new schema. You'll need to delete your old IoT-To-CRM logic app and use IoT-To-CRM-Upgrade2015-08-01-preview

This is the UI lock issue

Select Upgrade prompt

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

ID: fa26d244-ef58-79e5-27a6-f179af283134
Version Independent ID: 0ffcc47d-c378-39a9-3ed4-81eea0096aa2
Content: Installation & setup for Connected Field Service for IoT Hub (Dynamics 365 for Field Service)
Content Source: ce/field-service/installation-setup-iothub.md
Service: dynamics-365-customerservice
Technology: field-service
GitHub Login: @krbjoran
Microsoft Alias: krbjoran

If done correctly in your Saved As copy you'll see the Designer is viewable again.

Dave is reviewing now! Thanks for the message, @gregdegruy

Thanks again for raising this issue! I'm cleaning up some of the older Field Service issues and closing this one, as we still have this feedback recorded in our backlog and are working on doc updates, particularly for CFS.


fix(encoder): added valid extension to filename mime header otherwise…

… the call to Audio.Transcriptions.New fails when passing io.Reader to AudioTranscriptionNewParams.File

Thanks for the PR and debugging! We're probably going to solve this through a different route.


First stab at universal 3.9.1 macadmins python

Wanted to make sure this was heading in an agreeable direction, but I got a working minimal build (x86 tested, M1 ToDo).
A cursory find looks correct:
find Python3.framework -name "*.so" | wc -l
     171

find Python3.framework -name "*.so" -exec file {} \; | grep "2 architectures" | wc -l
     171

Looks like the build needs to be updated as well :D

This seems to be working, but it is failing to create the signed package. Is this due to not being on the main branch or is something else weird? (It seems like it is missing the signing identity).

I dunno, let's try it and go from here. Also look at https://github.com/macadmins/installapplications/commit/813e1b12fabb44a878945503a2a670b90d3d9287 and https://github.com/macadmins/installapplications/commit/60ecea3e790e442604657119acec9dc01f5e8719


scaling_deployments.md : fixing 1 typo

Hi there,
As per title
Didier
Signed-off-by: Didier Durand<EMAIL_ADDRESS>

You're welcome! Maybe, more to come as I read.


how to set the ffmpegPath

i will use it in electron , i want set the path , please help me

Hi,
I needed to set this path and also to override the "-f mpeg1video" parameter so I made some changes in my version.
I can submit this changes to you if want in a pull request. I made them in order to have backward compatibility.

@Noelfhim sorry for the delay, but if you're still open to making a pull request I'd be happy to review it. Thank you!!

Pull request done.
I did not commit -f override because it has changed since I did it and I don't think it was the change you asked for.

@regisgrison thank you!

Closed by #50


Typo correction in Lab Account setup tutorial

Changed profession to professor

@sirklarc : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@sirklarc Thanks for the correction!


General CPU load

Hi, just a quick question... my bot sees a constant ~30% CPU use (of one core) simply from being in ~50 guilds. My code is not actually doing anything, so this should just be from JDA doing its thing. Is this normal? It may well be, I'm just curious here.
(Edit: Oops it was a bit of a lie, my bot is actually streaming audio from ShoutCast to Discord. So that may contribute to the load. Doesn't show up in the stack traces though, so it is probably a minimal influence.)
Here are some example stack traces (I'm using JDA 3.8.3):
10 Second Profile

5% core activity [100 samples taken]

1/5
java.base@13/java.io.BufferedInputStream.read(BufferedInputStream.java:344)
java.base@13/java.io.FilterInputStream.read(FilterInputStream.java:133)
com.neovisionaries.ws.client.WebSocketInputStream.readBytes(WebSocketInputStream.java:165)
com.neovisionaries.ws.client.WebSocketInputStream.readPayload(WebSocketInputStream.java:215)
com.neovisionaries.ws.client.WebSocketInputStream.readFrame(WebSocketInputStream.java:144)
com.neovisionaries.ws.client.ReadingThread.readFrame(ReadingThread.java:332)
com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:99)
com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)

1/5
org.json.JSONTokener.nextString(JSONTokener.java:264)
org.json.JSONTokener.nextValue(JSONTokener.java:377)
org.json.JSONObject.<init>(JSONObject.java:215)
org.json.JSONTokener.nextValue(JSONTokener.java:380)
org.json.JSONObject.<init>(JSONObject.java:215)
org.json.JSONObject.<init>(JSONObject.java:319)
net.dv8tion.jda.core.requests.WebSocketClient.handleBinary(WebSocketClient.java:945)
net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:901)
com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)

1/5
org.json.JSONTokener.nextString(JSONTokener.java:264)
org.json.JSONTokener.nextValue(JSONTokener.java:377)
org.json.JSONObject.<init>(JSONObject.java:206)
org.json.JSONObject.<init>(JSONObject.java:319)
net.dv8tion.jda.core.requests.WebSocketClient.handleBinary(WebSocketClient.java:945)
net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:901)
com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)

1/5
gnu.trove.impl.hash.TLongHash.indexRehashed(TLongHash.java:241)
gnu.trove.impl.hash.TLongHash.index(TLongHash.java:219)
gnu.trove.map.hash.TLongObjectHashMap.get(TLongObjectHashMap.java:212)
gnu.trove.impl.sync.TSynchronizedLongObjectMap.get(TSynchronizedLongObjectMap.java:85)
net.dv8tion.jda.core.utils.cache.impl.MemberCacheViewImpl.getElementById(MemberCacheViewImpl.java:36)
net.dv8tion.jda.core.entities.Guild.getMemberById(Guild.java:406)
net.dv8tion.jda.core.entities.impl.GuildImpl.getMember(GuildImpl.java:297)
net.dv8tion.jda.core.handle.PresenceUpdateHandler.handleInternally(PresenceUpdateHandler.java:132)
net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)
net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868)
net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766)
net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745)
net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903)
com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)

1/5
net.dv8tion.jda.core.entities.impl.GuildImpl.getMember(GuildImpl.java:297)
net.dv8tion.jda.core.handle.PresenceUpdateHandler.handleInternally(PresenceUpdateHandler.java:132)
net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)
net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868)
net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766)
net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745)
net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903)
com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)

Yes, Audio would be a big contributing factor.
But even if you bot itself doesn't do much, if the guilds it is in are very active, there are probably a lot of Discord events JDA has to handle (just keeping its internal cache up-to-date + to dispatch to all registered event handlers)... that alone shouldn't take 30% CPU tho unless its a weak CPU

And since this was more of a general question than some actual issue (bug/feature request), please use our Support Server for questions like that next time (https://discord.gg/0hMr4ce0tIk3pSjp)

You are not even using the latest available version so any metrics taken are flawed here. We have since changed the json parser and code has been restructured in many parts. The normal event flow spends most of its time in I/O wait so that has close to no CPU time. Encoding opus and streaming audio all happens on CPU and will take up more time than simple parsing and decompressing of events. You can reduce CPU usage by forwarding opus audio instead of encoding it (similar to what lavaplayer does) and you could disable compression with the JDABuilder (would not recommend).
Other things to consider are usages of cache methods such as jda.getUsers() and similar. These methods have an O(n) time complexity as they have to copy the internal cache into a list. This is explained in the docs and can be avoided by using less expensive methods on the getUserCache() view. Read More

Yeah it wasn't the most stringent question, I apologize. However, using
Discord instead of issues is ludicrous. With issues, you get automatic
documentation which others can find. Cheers and thanks
On Sun, 20 Oct 2019 at 18:39, Florian Spieß<EMAIL_ADDRESS>wrote:

You are not even using the latest available version so any metrics taken
are flawed here. We have since changed the json parser and code has been
restructured in many parts. The normal event flow spends most of its time
in I/O wait so that has close to no CPU time. Encoding opus and streaming
audio all happens on CPU and will take up more time than simple parsing and
decompressing of events. You can reduce CPU usage by forwarding opus audio
instead of encoding it (similar to what lavaplayer does) and you could
disable compression with the JDABuilder (would not recommend).
Other things to consider are usages of cache methods such as
jda.getUsers() and similar. These methods have an O(n) time complexity as
they have to copy the internal cache into a list. This is explained in the
docs
https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/api/JDA.html#getUsers()
and can be avoided by using less expensive methods on the getUserCache()
view. Read More
https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/api/utils/cache/CacheView.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DV8FromTheWorld/JDA/issues/1125?email_source=notifications&email_token=ABCPUQ6S5LFA6SLVMLOHUO3QPSCU5A5CNFSM4JCUVFXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYOE3I#issuecomment-544268909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCPUQ6WR7HX6576FIXRMWLQPSCU5ANCNFSM4JCUVFXA
.

--
Stefan Reich
BotCompany.de // Java-based operating systems


Visual Studio Integration

Suggested new feature or improvement
ITNOA
I think we need to add ability to login with Visual Studio account on Dev Home and detect Visual Studio configuration on this machine and load recent projects and more items into Dev Home
In addition, I think we need to add some lite new projects windows like first page of Visual Studio directly in Dev Home
In general, I think Dev Home for developments applications and tools has responsibility like Microsoft 365 App in Office suite domain.
Scenario

Add new sub menu for IDE and editors
Add some new Widgets for quick actions for IDE and editors

Additional details
No response

related to #950

related to #351


Tabular: Enable type setting to training types during inference

Issue #, if available:
Description of changes:

Enable type setting to training types during inference
Added error during inference when columns are missing
Minor logging cleanup

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-463-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-463/2/index.html

Job PR-463-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-463/3/index.html


SolutionForm Link Validators Discussion

This issue is to specifically discuss further implementation of: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/client/src/components/formHelpers/FormValidators.js
The current validators check for:

[x] Repl editor links (e.g. https://repl.it/@Sky020/some-project)
[x] Glitch editor links (e.g. https://glitch.com/edit/#!/some-project)
[x] Codesandbox editor links (e.g. https://codesandbox.io/s/sky020/some-project)
[x] General GitHub links (e.g. https://github.com/freeCodeCamp/freeCodeCamp/)
[x] Localhost links (e.g. http://localhost:3000)

And do not check for:

[ ] Repl.it 'join' links (resolved with #41094 ) (e.g. https://repl.it/join/Sky020)
[ ] IPv4 and IPv6 addresses (e.g. <IP_ADDRESS>:3000 or, more common, http://<IP_ADDRESS>:5500)

Some thoughts discussed on previous PRs and chat:

Validate example links are not submitted

This would mean less maintenance for the project links (we could remove the tests that look for the example)
Prevent Campers from submitting the CodePen boilerplate, and not saving their project code

Store project links within one config file

Could be linked to DRYing out the .md files (related: https://github.com/freeCodeCamp/freeCodeCamp/pull/40860)

Any other thoughts? Should some/all of this be implemented?

* [ ]  Glitch 'join' links

It seems like that the Glitch 'join' links are discontinued but there is still a way around it (The way around would take you to open a terminal and echo the project token) So I don't think we have to worry too much on this link anymore AFAIK...

Another thing that's related, and needs to be fixed ASAP is that the fact that when you give the example projects for the Web Design Projects, it will accept it. This is not good. I was going to open a new issue, but it seems like it's related to this issue so I just put it here.
Anyways, here's a GIF of a project able to pass using the example project link.

One way we can fix this is put all of the boilerplate and example code links into a JSON file or something a like, and then render it to the challenges and be able to use the file to check if the link given is a boilerplate code or an example link.

@JoshuaPelealu Thanks for that. This has always been the case. This is what I meant with:

Prevent Campers from submitting the CodePen boilerplate, and not saving their project code

Store project links within one config file

The main issue is Campers are editing the boilerplate link with their own code, and submitting it - forgetting to fork the project. Later, they try to view their project, but the code is gone, because they do not have write rights to the boilerplate.

Rather than looking for specific project links from CodePen, wasn't there discussion somewhere about a blanket disallow on codepen.io/freecodecamp? Then we wouldn't have to maintain a config of example projects.

wasn't there discussion somewhere about a blanket disallow on codepen.io/freecodecamp?

@nhcarrigan Yes. This is one way to solve a problem. This would be quicker/easier.
However, I thought it could be easier/nicer to have one central file with all of the miscellaneous (spelt that right first time 😁 ) links to examples/boilerplates, which would be dynamically set into the pages.

Definitely - that would help with maintaining the links in general (single source of truth for the win). I think I'd still like to blanket-catch the freecodecamp account in the solution validation, though. What if we update a link and a camper finds + submits the old one?

What if we update a link and a camper finds + submits the old one?

Ah, decent point. Then, I will add this to the current PR, and we can continue discussing centralising links.

So how are we approaching this problem?

@JoshuaPelealu I suspect some more discussion needs to be had about whether or not it is in our best interest to create a config of current links.
Ideally, we need to discuss implementation, as this would need to integrate with the Gatsby setup.

I'm wondering if that discussion should be a separate issue (since it no longer relates directly to the solution form).

@nhcarrigan Decent idea. I will open an issue for that specifically.
Then to close/not-close this issue, where do you stand on checking for IPv4/v6 urls/addresses?

What if someone wants to use http://localhost to work through the challenges?

I have a PR open now, that touches this side of the client. So, I will dig into adding this, and see about what @RandellDawson has mentioned about going through the non-projects with localhost links.
I will probably make some logic to differentiate what happens to the submission validation, based on the challenge being project or not.

@ShaunSHamilton Can this be closed or are further PRs needed?

@RandellDawson It is still up for discussion whether or not we want to go the route of adding:

IPv4 and IPv6 addresses (e.g. <IP_ADDRESS>:3000 or, more common, http://<IP_ADDRESS>:5500)

Originally posted by Nicholas (above)

Wouldn't hurt - I think I've only seen someone submit that once (based on forum posts), but extra sanity checks are always nice to have IMHO.
But it's also not a blocking issue, so I wouldn't prioritise it.

@ShaunSHamilton Maybe if a user submits an ip address, we give them a message to use localhost instead?  I am not sure this is the best way or if we want to get into messaging like this, but off the top of my head, that is the first thing I think.


[Bug]: Using tensor parallel during offline inference causes the process to hang

Your current environment
docker: vault.habana.ai/gaudi-docker/1.17.0/ubuntu22.04/habanalabs/pytorch-installer-2.3.1:latest
branch: habana_main
🐛 Describe the bug
I attempted to use the offline inference method to run the meta-llama/Meta-Llama-3.1-70B-Instruct model. However, after the program starts running, it hangs for a long time and then throws the following error. I can run the model in the form of an OpenAI server with tensor parallel.
(RayWorkerWrapper pid=18930) *** SIGABRT received at time=1724981511 on cpu 144 ***
(RayWorkerWrapper pid=18930) PC: @     0x7fa8c2bd89fc  (unknown)  pthread_kill
(RayWorkerWrapper pid=18930)     @     0x7fa8c2b84520  (unknown)  (unknown)
(RayWorkerWrapper pid=18930) [2024-08-30 01:31:51,420 E 18930 20862] logging.cc:440: *** SIGABRT received at time=1724981511 on cpu 144 ***
(RayWorkerWrapper pid=18930) [2024-08-30 01:31:51,420 E 18930 20862] logging.cc:440: PC: @     0x7fa8c2bd89fc  (unknown)  pthread_kill
(RayWorkerWrapper pid=18930) [2024-08-30 01:31:51,420 E 18930 20862] logging.cc:440:     @     0x7fa8c2b84520  (unknown)  (unknown)
(RayWorkerWrapper pid=18930) Fatal Python error: Aborted

Here is my code:
import os
import logging
from vllm import LLM, SamplingParams

os.environ["PT_HPU_ENABLE_LAZY_COLLECTIVES"] = "true"

prompts = [
    "The president of the United States is",
    "The capital of France is",
]

sampling_params = SamplingParams(n=1, temperature=0, max_tokens=2000)
llm = LLM(model="meta-llama/Meta-Llama-3.1-70B-Instruct", block_size=128, dtype="bfloat16", tensor_parallel_size=8)
outputs = llm.generate(prompts, sampling_params)

# Print the outputs.
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(generated_text)

Possible duplicate of #197

Testing possible fix #379

Hi, this should be fixed in v1.19


DataGrid for WinUI3

Issue type
sample request
Which version of the app?
WinUI 3 Gallery
Description
Please provide code for datagrid. Currently there is only a gif animation.
Screenshots

Windows version
Windows 11 22H2 (22621)
Additional context
No response

@KishlayaSharma you need to click the link at the bottom to open the Windows Community Toolkit Sample App, as the control is part of the Windows Community Toolkit.
The WCT sample app has sample code on how to use the DataGrid, as do the docs.

This should be an issue on community toolkit to re-add the samples and instructions on their gallery app. In fact, the data-grid page in WinUI Gallery should be removed since it's irrelevant and just referring to the community toolkit.

The DataGrid was not ported to the 8.0 codebase, we don't intend to add new samples for the 7.1 version to our gallery app.

Resolving as dupe of #1525


Fix observations/show/_name_info.html.erb layout

The name info panel is a list of links about the proposed name for an Observation, on the Show Observation page.
If the user happens to be the author of the public description for that name, the last line shows [ Edit | Destroy ] links.
Because of CRUD, the destroy link is now a destroy_link, so it will not display inside a <p>.

This PR changes that to a <div>. Result:

Coverage: 93.346%. Remained the same when pulling 76befe6e87935fcffcc39ec97ea2ac0e7bf51b10 on nimmo-fix-name-info-layout into 0fdbb417ad7b7be81af9ebe9d04748c8fb629812 on main.


Can't create an event where a field starts with "@"

I want to create events where the description, location, and/or title start with "@".
"@" seems to be used as shorthand for "include file" so this seems to be impossible.
I tried quoting the "@", like \@ but then the quoting character ends up in the text field.

Hmm, can you share the exact command you're using to repro?
I think you're referring to a command like gcalcli add --description='@foo', which works fine for me, but if you forget the = it does indeed fail with "no such file".


Converting MesherySetting component from Class to Functional based

Notes for Reviewers
Converting class based component to functional based component
This PR fixes #8674
Signed commits
Yes, I signed my commits.

Hii @Rajdip019 Please review this PR

@Cvr421 make sure to change the PR name to something specific.
Also, when you do all the required changes can you attach a video of this component working before and after?

@Cvr421 make sure to change the PR name to something specific.
Also, when you do all the required changes can you attach a video of this component working before and after?

Ya sure

@Rajdip019 I have made the changes that are requested by you . Please review
Class based Component behaviour / Current behaviour
https://github.com/meshery/meshery/assets/82499697/69237665-0bfd-4ead-8533-805c67d4c419
Functional based component behaviour
https://github.com/meshery/meshery/assets/82499697/a7cb45bd-d515-4cf1-859e-2ac5ec7741be

LGTM

@Cvr421 have you also build meshery right after the changes?

@Cvr421 have you also build meshery right after the changes?

Yes @sudhanshutech  i have build meshery number of time to check it is working fine .
First i run the make server on localhost 9081 and then make ui on localhost 3000

@aabidsofi19 the changes LGTM.

Hii @aabidsofi19 i have updated the withRouter with useRouter . please review

@aabidsofi19 Please review this PR . And let me know your thoughts .

@aabidsofi19 Can you please review this PR and let me know you thoughts . Its been Opened from very long time .


adding Turkish to language list on 4.0 licenses

@robmyers Once the Turkish translations are live, can you please run the script to add a link at the bottom of all other published 4.0 translations? The team has confirmed that the language should be listed as Türkçe (note capitalization).
Let me know if you need anything else. Thank you!

Added in e004b9c51451c8c946b76f5f0848e6082107706d .


Failed to resolve import "@vue/apollo-composable" from "pages/login.vue". Does the file exist?

Environment

Operating System: Darwin
Node Version:     v18.12.1
Nuxt Version:     3.1.1
Nitro Version:    2.1.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      runtimeConfig, components, modules, i18n, apollo, build, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Describe the bug
The @vue/apollo-composable is not found.
Expected behaviour
Nuxt apollo installs @vue/apollo-composable correctly
Reproduction

Install<EMAIL_ADDRESS>in a nuxtjs project
Use for example useMutation inside a vue component.
See the error when opening the page

Additional context
No response
Logs
ERROR  1:19:44 PM [vite] Internal server error: Failed to resolve import "@vue/apollo-composable" from "pages/login.vue". Does the file exist?
  Plugin: vite:import-analysis
  File: pages/login.vue:4:30
  2  |  import { ref } from 'vue';
  3  |  import { gql } from 'graphql-tag';
  4  |  import { useMutation } from '@vue/apollo-composable';
     |                               ^
  5  |  const _sfc_main = {
  6  |    __name: 'login',
      at formatError (/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:41235:46)
      at TransformContext.error (/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:41231:19)
      at normalizeUrl (/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:39540:33)
      at async TransformContext.transform (/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:39673:47)
      at async Object.transform (/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:41506:30)
      at async loadAndTransform (/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:39313:29)

I can install @vue/apollo-composable (only when I'm using --force) manually. But this shouldn't be necessary, or should it?

Also, after installing @vue/apollo-composable manually. I get this error as soon as the mutation gets called in the component: Apollo client with id default not found. Use provideApolloClient() if you are outside of a component setup., even though I set it up like this:
apollo: {     clients: {       default: {         httpEndpoint: "/graphql"       }     },   },
I'm not sure if this error is a result of installing @vue/apollo-composable manually.

Follow this comment to resolve the missing default client https://github.com/nuxt-modules/apollo/issues/444#issuecomment-1354571194

Thanks! It works for me now.


test-branch/execute-job/wrong-commit-sha-on-pr/88afffb1-0c30-421b-8c27-1371373677b2

PR for testing b5aece439fd022727ce9e8d436919e492407f634

/canonical/self-hosted-runners/run-workflows 3ff15760266bdbf81c8d89d6171a5024c4864916


Permit time-1.6

GHC 8.0 RC2 ships with time-1.6. unix-compat requires < 1.6. Can you please release a version which permits time-1.6, either by bumping the upper bounds or removing them entirely.

I've edited the package metadata on hackage and committed the equivalent to master to make sure it doesn't regress.

Thanks!


add button to clear log in console output

Iknow we can use "console.clear()" for clear console.
but it will better if we have a button or a checkbox to do this.

I don't agree. Sorry. Closing as I won't add this UI change.


Icon Request

Type
Icon request
Info
Veeam is a Backup Company
Icon(s)

Hey, do you have a square version of this logo?

Try this

I am new at this here's another try

Thanks!

And one more

And another this one probably looks better

Thanks I will buy you a pizza

Hey @Kilthor thanks for the pizza! 🍕


DNN-6557 - added web method to delete a tab module.

Added new web method to allow deleting tab modules.
Note: it has been introduced for integration testing purpuses.

reviewed and merged.


Add a claims field in endpoint config

The problem faced currently?
Currently we allow users to override the token in the incoming request of the remote-services module. This is not a good practice since the token can be easily compromised.
How can we solve it?
To overcome this, we should allow the user to set the claims instead and create the token with an expiration internally.

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

I am working on this.
Will raise a PR by 1st or 2nd of October.

Done in mission control.

Done


Upversion Azure CLI for bugfix

Description
Azure CLI 2.49.0 introduced a bug around the az keyvault command https://github.com/Azure/azure-cli/issues/26552
This bugfix has been released in Azure CLI 2.50.0
Please update Azure CLI in all runner images to version 2.50.0 as many ADO pipelines word-wide are failing on this bug.
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[X] Ubuntu 20.04
[X] Ubuntu 22.04
[X] macOS 11
[X] macOS 12
[X] macOS 13
[X] Windows Server 2019
[X] Windows Server 2022

Image version and build link
See examples in https://github.com/Azure/azure-cli/issues/26552
Is it regression?
No
Expected behavior
Azure CLI is supposed to list secrets in the keyvault in combination with the --vault-name flag
Actual behavior
Azure CLI is unable to find the domain when listing secrets in the keyvault when using the --vault-name flag
Repro steps

Run "az keyvault list --vault-name $vault_name"

Hello @michelletaal-shell, the latest version (2.50.0) will be available in our new version of the runner image.

@Alexey-Ayupov When is the next release scheduled?

@michelletaal-shell, by the end of this week.

rolled out


Building the extension

I tried to build the plugin using SCons, but errors are coming out, could you explain where to put godot-cpp and other assembly details, for example commands for a specific platform, and release and debug mode, and I would also be grateful if you wrote a separate one README.md in English, thank you!

The godot-cpp just at the root of this project.
I found it the submodules have not synchronize to this remote repo correctly, now I fixed it, please pull the latest commit and ensure submodules are cloned correctly in your local repo.
The English README.md I will update later.

The godot-cpp just at the root of this project. I found it the submodules have not synchronize to this remote repo correctly, now I fixed it, please pull the latest commit and ensure submodules are cloned correctly in your local repo.
The English README.md I will update later.

thanks, now I see godot-cpp, but what about a command like target=x86_64 and platform=windows, etc?

thanks, now I see godot-cpp, but what about a command like target=x86_64 and platform=windows, etc?

Please follow the build system of godot-cpp, they are identical.

The English readme already committed.
Please close this issue if solved.


Code not saved

Describe the bug
When clicking save, and refreshing the page, the code is not saved and the text box is empty
To Reproduce
docker-compose deploy install, in swarm mode.
navigate to page, type code, click save, refresh page
Expected behavior
Clicking save would save the code, refreshing the page would show the code saved
Desktop (please complete the following information):

mac os or windows with FF

Additional context
tested both with Keycloak and traefik in front of cocopasty, and without (port redirection).
No errors in the logs whatsoever.

HI @Chluz
So I've never tested this with Swarm but I don't think the issue might be related to this.

mac os or windows with FF

I've just tested it with FF, works for me

tested both with Keycloak and traefik in front of cocopasty, and without (port redirection).
No errors in the logs whatsoever.

Could you provide the logs of the backend container? Maybe I find there something that could help me fix this issue.
It might take a week or so until I come back to this. Because thats the date where I get discharged from the military, hence I will have some time on my hands again :)

Hi @MasterEvarior
Thanks for your answer ! No worries, take all the time you need.
Here are some logs:
root@boat:/opt/cocopasty# docker logs -f cocopasty_cocopasty.1.ku8y437bwul1tew4xlrbjhs51
2022/05/21 22:00:57 [notice] 1#1: using the "epoll" event method
2022/05/21 22:00:57 [notice] 1#1: nginx/1.21.6
2022/05/21 22:00:57 [notice] 1#1: built by gcc 10.3.1 20211027 (Alpine 10.3.1_git20211027)
2022/05/21 22:00:57 [notice] 1#1: OS: Linux 5.4.0-109-generic
2022/05/21 22:00:57 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2022/05/21 22:00:57 [notice] 1#1: start worker processes
2022/05/21 22:00:57 [notice] 1#1: start worker process 7
2022/05/21 22:00:57 [notice] 1#1: start worker process 8
<IP_ADDRESS> - - [23/May/2022:07:10:40 +0000] "GET / HTTP/1.1" 200 843 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>"
<IP_ADDRESS> - - [23/May/2022:07:10:40 +0000] "GET /css/app.53a86f42.css HTTP/1.1" 200 4733 "https://cp.luzzato.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>"
<IP_ADDRESS> - - [23/May/2022:07:10:40 +0000] "GET /js/chunk-vendors.7dfbc542.js HTTP/1.1"<PHONE_NUMBER> "https://cp.luzzato.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>"
<IP_ADDRESS> - - [23/May/2022:07:10:40 +0000] "GET /js/app.5d9b8fdf.js HTTP/1.1" 200 3569 "https://cp.luzzato.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>"
<IP_ADDRESS> - - [23/May/2022:07:10:41 +0000] "GET /favicon.ico HTTP/1.1" 200 15406 "https://cp.luzzato.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>"
<IP_ADDRESS> - - [23/May/2022:07:11:07 +0000] "GET / HTTP/1.1" 200 843 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0" "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>"

root@boat:/opt/cocopasty# docker logs -f cocopasty_backend.1.ep2dmdgs2auwu8rvhidurqxnc
time="2022-05-21T22:00:52Z" level=info msg="Log level to debug"
time="2022-05-21T22:00:52Z" level=info msg="Starting Cocopasty..."
time="2022-05-21T22:00:52Z" level=info msg="Starting web server..."
time="2022-05-23T07:05:22Z" level=debug msg="Received GET-Request"
time="2022-05-23T07:05:22Z" level=info msg="Log level to debug"
time="2022-05-23T07:05:22Z" level=debug msg="Creating connection to Redis..."
time="2022-05-23T07:05:22Z" level=info msg="REDIS_HOST: redis:6379"
time="2022-05-23T07:05:22Z" level=info msg="No Redis password was set"
time="2022-05-23T07:05:22Z" level=debug msg="Getting value from Redis..."
time="2022-05-23T07:05:22Z" level=error msg="redis: nil"
time="2022-05-23T07:05:22Z" level=debug msg="GET-Request failure, returning 500"
2022/05/23 07:05:22 http: superfluous response.WriteHeader call from main.handleGets (main.go:75)

root@boat:/opt/cocopasty# docker logs -f cocopasty_redis.1.np5yjd16te0w2hgqp611rcq45
1:C 21 May 2022 22:00:44.937 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 21 May 2022 22:00:44.937 # Redis version=7.0.0, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 21 May 2022 22:00:44.937 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 21 May 2022 22:00:44.937 * monotonic clock: POSIX clock_gettime
1:M 21 May 2022 22:00:45.004 * Running mode=standalone, port=6379.
1:M 21 May 2022 22:00:45.004 # Server initialized
1:M 21 May 2022 22:00:45.004 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 21 May 2022 22:00:45.006 * The AOF directory appendonlydir doesn't exist
1:M 21 May 2022 22:00:45.006 * Ready to accept connections

As you can see
I hope this helps !

I have improved the logging process in the newest release, v1.2.1.
Could you try it again but with the image masterevarior/cocopasty-backend:1.2.1 in your docker-compose file?
Also enable debug logging with LOG_LEVEL: "debug".
I hope I can figure something out if you post the logs again after that 🎯


CubeCamera with grouped Meshes

Currently grouping Mesh components each having a CubeCamera component as a child component will result in the child Mesh component not having correct envMap-texture, to be more precise, the parent Mesh will not be visible in the "reflection".

[ ] Examine why & find a way to fix it.

I don't consider this to be a bug, as it may not be not be possible to fix it.

okay, it seems it's bound to placing CubeCamera in the scene.
The fix would be to place CubeCamera via getWorldPosition of the parent Mesh and not just by copying it's position which is local.


Update jacodb and refine dataflow accordingly

This PR updates jacodb to the latest neo branch version and also fixes/improves dataflow accordingly to API changes in jacodb.
Also a major change is that Traits now contain only functions. The reason for this is that functions look much more consistent than a combination of extension properties and functions.

@CaelmBleidd should we also rename usvm-jvm-dataflow to a more logical usvm-dataflow-jvm (JVM-specific dataflow) in this PR, since we are going to add usvm-dataflow-ts in the future? Or we need a separate PR for this?

This extension requires `Usages` feature to be installed
java.lang.IllegalStateException: This extension requires `Usages` feature to be installed
	at org.jacodb.impl.features.JcUsages.usagesExt(UsagesExtension.kt:140)
	at org.usvm.machine.JcApplicationGraph$jcApplicationGraph$1.invokeSuspend(JcApplicationGraph.kt:21)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at org.usvm.machine.JcApplicationGraph.<init>(JcApplicationGraph.kt:21)
	at org.usvm.machine.JcCallGraphStatisticsTests.<init>(JcCallGraphStatisticsTests.kt:14)
...

suspend fun JcClasspath.usagesExt(): SyncUsagesExtension {
    if (!db.isInstalled(Usages)) {
        throw IllegalStateException("This extension requires `Usages` feature to be installed")
    }
    return SyncUsagesExtension(hierarchyExt(), this)
}

Seems like cp: JcClasspath that is passed to JcApplicationGraphImpl in tests is actually from the JacoDBContainer, where only InMemoryHierarchy feature is installed. I've added Usages feature here, tests pass locally (except the approximation tests, as expected), but probably @Saloed have to double-check whether it is correct.


Cardano Relay Configuration: fix & clarify instructions

[x] I have read the How to Contribute.
[x] I have run yarn build after adding my changes without getting any errors.

Updating documentation or Bugfix
Documentation Update to Fix #1140

$HOME is being replaced by <$HOME> to reflect real value
".local" is being replaced by "local"
conway-genesis.json file has been added

if a cleanup is planned, should i close this PR. Alternatively, i could make the suggested changes as an interim solution?

@sanskys I would want to hear what other reviewers think about this, but I firmly believe the only suitable change to make to this page is to eliminate the redundant material, replacing it with a links to the more canonical Dev Portal source.
Perhaps the page & workflow could be rephrased like: "Now that you've created a node according to these (link) standard instructions, here's how to configure it as a relay for your stake pool."
In any case I believe it would be a huge contribution if you could revise your fixes to strip down most of the content & only include those instructions that are unique to SPOs & their relays, without the general node maintenance & operation.  What do you think of that plan? 🤓

@sanskys I would want to hear what other reviewers think about this, but I still firmly believe the only suitable change to make to this page is to eliminate the redundant material, replacing it with link(s) to the more canonical Dev Portal source.
Perhaps the page & workflow could be simplified with wording like: "Now that you've created a node according to these (link) standard instructions, here's how to configure it as a relay for your stake pool."
In any case I believe it would be a huge contribution if you could revise your fixes to strip down most of the content & only include those instructions that are unique to SPOs & their relays, without the general node maintenance & operation. What do you think of that plan? 🤓

@rphair thats fine for me. But since the cleanup would take some time, I would subject to merge these changes and open a new Issue. I would also like to hear more voices before starting. It should not be that after the cleanup everyone finds it a mishmash :)

sure thing @sanskys - I'll approve this for merge if it gets approval from 2 other reviewers. 🙂

I've backed out all the superflous & contraindicated changes from the standard ~/.local to the unusual ~/local.  The only remaining changes here are the vital Conway genesis file & the instructions about updating the "script" which also adds the error-prone angle brackets.  Due to the latter issue this should be considered an interim edit, pending I hope folding most of this page into links to more canonical instructions 🤓


Pond soil tutorial

add a tutorial showing the interface for LSM models. this builds off of the abstractmodel tutorial.

bors try

bors try

bors try

bors try

bors try

bors try

generated tutorial here: https://clima.github.io/ClimaLSM.jl/previews/PR31/generated/LSM_single_column_tutorial/

ready for review after PR https://github.com/CliMA/ClimaLSM.jl/pull/30 is in. this is branched off of that

Also to do:
remove FT from arguments, just pass in Tuple{FT,FT}...where {FT}, etc.
Create keyword constructor for the Point, so that all are constructed via keyword

Also to do: remove FT from arguments, just pass in Tuple{FT,FT}...where {FT}, etc.
Create keyword constructor for the Point, so that all are constructed via keyword

this led to updating a number of tests

bors try

bors r+


Further restrict permissions of api lambda db user

When working on #718, as a workaround to keep existing unit tests passing, permissions of the API lambda db user where made slightly broader than necessary (in V30__api_lambda_db_user_restrict_access) - extra delete permissions were granted on fam_user, fam_role, and fam_forest_client.
Objective of this issue is to eliminate the need for delete privilege for testing purposes.
This ticket is to adjust the unit tests so that these extra delete permissions can be removed. Some options:

have tests use database transactions that auto-rollback at the end, hopefully avoiding the need to manually delete records. (This won't work if testing code that explicitly commits, unless mocking out the commit logic.)
don't do any cleanup and change tests to accommodate this (within a single test run - across test runs I assume a fresh database is created each time). This might make tests more brittle though.
Run tests as master postgres user (but this will cause permission issues to not be caught during unit testing)

AC: Strive for option 1 above:
[  ] - change test to not delete records
[  ] - db migration to prune privileges

Just a developer note.
Based on V30__ script, if permission is revoked, tests currently run will fail on:
================================================================= short test summary info ==================================================================
FAILED testspg/crud/test_crud_forest_client.py::test_create_forest_client - sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InsufficientPrivilege) permission denied for table fam_forest_client
FAILED testspg/crud/test_crud_forest_client.py::test_get_forest_client - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_forest_client.py::test_find_or_create - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_get_roles - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_get_role - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_create_role - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_create_role_duplicate - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_create_role_child_role_with_forest_client - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_create_role_child_role_with_invalid_parent - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_create_role_same_role_for_different_application - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_role.py::test_get_role_by_role_name_and_app_id - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user.py::test_get_users - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user.py::test_get_user - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user.py::test_get_user_by_domain_and_name - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user.py::test_create_user - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user.py::test_delete_user - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user.py::test_find_or_create - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user_role.py::test_create_user_role_with_role_not_exists - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_user_role.py::test_find_or_create_forest_client_child_role - sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InsufficientPrivilege) permission denied for table fam_role
FAILED testspg/crud/test_crud_utils.py::test_get_next - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/crud/test_crud_utils.py::test_get_application_id_from_name - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
FAILED testspg/router/test_router_application.py::test_get_applications - sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transacti...
======================================================== 22 failed, 95 passed, 1 warning in 48.25s =========================================================
(venv) uadmin@CA-L58347M3:~/Workspace/FSA/nr-forests-access-management/server/backend$


Updated Makefile to create a universal binary

Fixes #245
Proposed Changes

Running make will now create a universal binary:

> lipo -archs .build/apple/Products/Release/bartyCrouch
x86_64 arm64

@dtaylor1701 Thank you very much for this, it looks good, merging, then re-uploading the build binary ... 🎉


[Bug]-[1392]:Curl import corrupts data

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Curl import corrupted
Steps To Reproduce
Try importing curl for
curl -X POST https://api.eu.sparkpost.com/api/v1/transmissions -H 'Authorization: <APIKEY>' -H 'Content-Type: application/json' -d '{
   "options":{
      "open_tracking":false,
      "click_tracking":false,
      "inline_css":false
   },
   "recipients":[
      {
         "address":{
<EMAIL_ADDRESS>            "name":"user"
         }
      }
   ],
   "content":{
      "from":{
         "name":"sender",
<EMAIL_ADDRESS>      },
<EMAIL_ADDRESS>      "subject":"subject",
      "text":"textbody",
      "attachments":[
         {
            "name":"attachmentname.pdf",
            "type":"application/pdf",
            "data":"'$(cat test.pdf | base64 --wrap=0)'"
         }
      ]
   }
}'

Public Sample App
No response
Version
self hosted

reach 1183

Stats

Stat
Values

Reach
1183

Effort (months)
0.5

@yatinappsmith The curl import gets corrupted because of this line:
"data":"'$(cat test.pdf | base64 --wrap=0)'"

The command is expecting a sub-shell to run, and parse the inner command, but Appsmith would not be initializing a sub-shell in any sense. The command is therefore not going to perform the expected manipulation. What do you think is a good way to handle this?

@nidhi-nair can we fail this curl cmd with a proper error?

Sounds good. I'll be sending an error for a toast message as this:

Scenarios covered:

Sub-shell called within double quotes with $() or with ``
Sub-shell called outside of quotes with $() or with ``

Verified https://www.loom.com/share/f9751a616bfe4569976bda22ff0cf2d2


Remove trailing empty lines from string collect -N with awk

Resolve #4

Does removing the -N flag from collect work? I don't want to add awk


Fix/protocol images footer

Thanks for the contribution @LukyVj. Can you merge all 3 commits into one, using the message from the first commit?

Sure


Add AUGET to the list of merchants

What's the name of your business?
AUGET
What's the URL of the website?
https://auget.paris/en/
Write a brief description of your business/service (max 50 characters)
AUGET is a new French brand of scented candles. 100% made in France : designed in Paris & made in Grasse.
Enter the URL where a Monero mention can be found
https://auget.paris/en/faq/#1567853531584-4bafee09-2c75
How do you accept Monero? (choose only one option)

[ ] Monero integrations (github.com/monero-integrations)
[ ] Globee
[ ] Native wallet
[x ] Other payment gateaway (Coinpayments, Morphtoken, etc. Please specify)

How would you categorize your business? (choose only one option)

[ ] Exchange
[ ] Block Explorer
[ ] Payment Gateway
[ ] Library and Helper
[ ] Tool
[ ] Service
[x ] Goods
[ ] Entertainment

Comment
Thank you !

Looks ok.


PS-559 Update Storage Configuration model

Update Storage Configuration model for CRUD command

@weichou1229 is it ready for merge?

@cloudxxx8 it's ready for merge.


why dose read.maf  function filtered samples  during reading process

I have 500samples in my maf file, after read into R by read.maf function, it result into only 200 samples in the returned object.
it resulted in overestimated mutation rate genes in oncoplot.
How to get accurate mutation rate displayed in plot ?
Thanks.

Hi ShixiangWang
thanks for your reply.
I noticed this parameter before, it indeed keep my samples in the maf objec. BTW, I modified your code .
    maf <- datatable::fread(maf_file)
    table(maf$Variant_Classification)
    vcNames <- names(table(maf$Variant_Classification))

# use read.maf
   maf <- read.maf(maf_file, vc_nonSyn=vcNames

But this did not solved my problem yet. When I plot the maf into an oncoplot, it plot all intron mutations as well, which seems bad now.
To clear my issue, what I concern is:  Is there a way to keep my sample size unchanged in the oncoplot to get a descriptive mutation rate of each gene. For example, leave a totalSize parameter in the  oncoplot function.
I have modified oncoprint function from complexHeatmap package, but I think maftools could be better when take this.
Thanks!

@likelet Yeah, your question is good, maybe this should take into account when use read.maf function.

@PoisonAlien @ShixiangWang  both are nice guys .
here is my sessionInfo

I remember fixing this issue.
Can you update your maftools package and try again ? You are using an older version.

@PoisonAlien
I updated the package, but it seems the problem still exist.

is there a way to remove the syn mutations in the oncoplot and keep total sample size unchanged. (it seems  the filter step can only be set in read.maf  step)

How many sample do you have in total ? Whats the title in oncoplot when you just use read.maf and read.maf with vc_nonSyn argument ?

I have 550 samples in total (about 300 samples with nonsyn mutations ).  The plot i  posted above was generated byread.maf with vc_nonSyn arguments (and it includes intron type). It dose retain all samples i have. but i want to plot  real nonSyn samples (without intron and silence mutations) with total simple size(550) as denominator to get mutation rate.
my code
maf.bloodr<-read.maf("blood/filter.merge.maf",removeDuplicatedVariants =T,useAll = T,vc_nonSyn = vcNames)
pdf(file = "blood/normal.oncoplot0.001.pdf", height = 10,width = 20)
oncoplot(maf = maf.bloodr, top = 50, fontSize = 12)
dev.off()

while the vcNames is
[1] "3'Flank"           "3'UTR"             "5'Flank"           "5'UTR"             "Frame_Shift_Del"   "Frame_Shift_Ins"
 [7] "In_Frame_Del"      "In_Frame_Ins"      "Intron"            "Missense_Mutation" "Nonsense_Mutation" "Nonstop_Mutation"
[13] "RNA"               "Silent"            "Splice_Site"

You dont have to use vc_nonSyn if you dont want to include synonymous variants. Just read your maf without it. But I agree that the total sample size in the title is an issue. I will fix it soon.

Hi, Sorry for the delay. I have pushed a commit to fix this issue. Could you give it a try and let me know if this fixes your problem ?

wow, i will try the commit ASAP

It's fixed ~, good job. :)

I have 151 patients in my clinical data, but only 143 patients in maf file, which means there are 8 patients who do not have any kind of mutation. When I read.maf(), the result only contains 143 patients, and oncoplot show 143 patients too, which make the mutation rate a little bit higher than I expected. Is it possible to make it show a results with 151 patients?

Hello @ZeroFung ,
Do these 8 missing samples have any kind of mutation? As in synonymous mutations?

No, they don't have any kind of mutation, not even synonymous mutations.

Can you add some dummy synonymous mutations to your maf for your missing samples. One intergenic variant per sample would be enough.

Good idea. Thanks for the suggestion!

Sorry, I have a list of genes for which I only want oncoplot but by plotting these genes I see some genes only altered in < 0.05 of samples. How I can ignore these genes? I tried top argument but again I have them

You should use genes argument. See ?maftools for details.

Thank you, I have used genes = t(Frankel)

What is t(Frankel)?
Example usage is as below.
> my_genes = c("TP53", "TTN", "MUC16", "FLG2", "CSMD3", "HMCN1", "USH2A",
"AHNAK2", "FLG", "NF1")
> oncoplot(m, genes = my_genes)

Thank you for replying
Frankel is a vector in which I have put my genes of interest
Frankel et al nat genetics 2019 from which I have a list of driver genes
But most of these genes altered in less than 5 percent of samples     On Saturday, April 18, 2020, 06:48:54 PM GMT+1, Anand Mayakonda<EMAIL_ADDRESS>wrote:
What is t(Frankel)?
Example usage is as below.

my_genes = c("TP53", "TTN", "MUC16", "FLG2", "CSMD3", "HMCN1", "USH2A", "AHNAK2", "FLG", "NF1")> oncoplot(m, genes = my_genes)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, I think the other 300 samples have no non-synonymous mutations. But I can push a fix for total variants, can you post your sessionInfo ?

Hi，Are there any parameters for all mutations now? Even if I use
vcNames <- names(maf$Variant_Classification)
maf <- read.maf(maf_file, vc_nonSyn=vcNames)

there will still be mutations counted as silent mutations such as Silent, Intro , RNA, etc in Variant_Classification column.


make contributions easier via fully automating the dev setup.

Hi.
I work for Gitpod. This PR adds gitpod config to the repo to make contributions easier for newcomers i.e with a single click it will launch a workspace and automatically:

clone the fp-ts repo.
install the dependencies.
run yarn build.

This can be helpful for beginners i.e they can start coding instantly without setting anything up.
You can give it a try on my fork of the repo via the following link:
https://gitpod.io/#https://github.com/nisarhassan12/fp-ts
This is how it looks:

Before submitting a pull request, please make sure the following is done:

Fork the repository and create your branch from master.
Run npm install in the repository root.
If you've fixed a bug or added code that should be tested, add tests!
Ensure the test suite passes (npm test).

Note. If you've fixed a bug please link the related issue or, if missing, open an issue before sending a PR.
Note. If you find a typo in the documentation, make sure to modify the corresponding source (docs are generated).
Note. If you want to send a PR related to<EMAIL_ADDRESS>please create your branch from 1.x

How many people are going to contribute to a library like fp-ts without knowing how to install dependencies? :confused:
Seems like it'd be better just to add a "contributing" section to the README.

I think the more interesting way to look at it is; How many people don't bother with this library since they have to clone and install dependencies in order to play around with the examples?
It looks like Gitpod could provide a low-cost way for people less familiar with function programming to be able to understand the power of this library!

I think the more interesting way to look at it is; How many people don't bother with this library since they have to clone and install dependencies in order to play around with the examples?
It looks like Gitpod could provide a low-cost way for people less familiar with function programming to be able to understand the power of this library!

Like with your perspective, but wouldn't they do that by depending on the library in their own project?

It's nice to have a gitpod, or stackblitz, or whatever environment to fully support the repo, but I don't think these should leak into the project.


update dlc download not working

when i use rusty psn to download the update for skate 3 it says  failed to download BLUS30464 check log for details can someone help me please

Well, my comment didn't get sent for some reason. I'll need you to upload the log file after getting the error, it'll be a rusty-psn_date.log file, where "date" is the date and time when you opened the app.

Closing due to inactivity


Considerations on WindowDialog design (internal hidden nodes)

Godot version and OS:
v3.0.5-stable_x11.64, Xubuntu
Issue description:
This was quite hard to debug.
So, it looks like WindowDialog and all derived classes have "invisible" children nodes that makes it possible for them to work. Problems arise when you don't know that and you want to delete all children of a WindowDialog. On the editor, via the dock, this works fine because you are actually selecting the "visible" nodes manually and you leave the "invisible" ones out of the selection.
However, via GDScript, something like:

for child in children:
child.queue_free()

will also delete the "invisible" nodes, leading to Godot's crashes.
Example project:
The example project has extensive commenting.
Example project.zip
Considerations:
Reading the documentation you can guess what's going on, because there are methods that will return the internal nodes. So if this is not considered a bug, I can understand. Still, this design gave me a bit of trouble. And considering that WindowDialog and all derived classes are very likely to contain other stuff, it makes sense that the developer may want to delete all that stuff to start rebuilding their content, however this will lead to some unexpected crashes until you figure out what's going on.

That would be the same for any complex Node type with children nodes (e.g. SpinBox which has a LineEdit, or most advanced controls like *Dialog or ColorPicker). I'm not sure if there's an easy way around this.

The problem isn't necessarily hidden nodes, it's the crashing. Doing queue_free on the hidden nodes should not crash. I think isolating the issue deeper is the solution

However, via GDScript, something like:
for child in children: child.queue_free()
will also delete the "invisible" nodes, leading to Godot's crashes.

This should not be happening. I've queue_free'd I don't know how many nodes that have "internal nodes" in my life and they have not caused a crash. Something else is going on, maybe a regression somewhere specific to that Node
Please post example code to reproduce


Update README.md

Fixed correct link for announcements.

LGTM :shipit:

OK, now that's a lot of approvals right there 😄

This is madness!

What is going on?

The health of the entire dotnet ecosystem depends on your approval, @omariom

LGTM, though a bit late to the party..


Diff viewer bugs

Omnibus diff viewer bug update:
Bug 699589: Implement Jason's validator integration styling mockup.
Bug 692212: Add a toggle on the file viewer to show/hide verified Add-on SDK files
Bug 661688: Make the file tree and control panel float to the left of the file viewer:

@cvan: Fixes per review rebased in. Not sure where that dash1291 commit reference came from...

 I was updating my local repo with mozilla/master yesterday, I might have screwed something.

I want to add an accesskey to the label in 39df354. Is it kosher to add  tags to the localized string for this?

I think that's totally kosher. although underlining it may keep things cleaner, you could consider something like this (albeit prettier): http://jsfiddle.net/DVmKW/2/

are you ready for these to be merged, or are there changes to be made still?

On Tue, Dec 27, 2011 at 08:12:30PM -0800, Chris Van wrote:

are you ready for these to be merged, or are there changes to be made still?

I think it's ready to be merged. Any minor changes that it needs
I'll submit after this sees some use and I get feedback from
other editors.

Merged: 9395dae

Thanks.


Add documentcloud_pages to TextMemoCd.rec_type (in common.py)

Overview
Add documentcloud_pages to the rec_type field on TextMemoCd the database model.
Basically, we think rec_type should be defined as a "choice field" (in Django parlance), which just means it's a field with a defined list of valid values and an intelligible definition for each value.
Our goal is for every potential choice field to include references to locations in the official documentation where the field's valid values and their meanings are described AND to have those choices included in the field's definition.
And we need your help!
What to do
Step 1: Claim this ticket by adding yourself as an Assignee (to the right)
Step 2: Find where in the official documentation rec_type's list of valid values is defined.
The best place to look first is in the .CAL layout documents: .CAL Format version 2.01 and .CAL Format version 1.05.02. These are documents that describe the layout of the .CAL file format, which is the required electronic format of any filings ingested by the CAL-ACCESS system (more on that here if you are interested).
You can start by opening the document and just searching for "rec_type". For example, if you were assigned to tackle the stmt_type field on the CvrCampaignDisclosureCd model, you would be looking for something like this::

But note that the same column might appear on multiple tables, and the list of valid values may vary depending on the table. We want to be sure to find the list of valid values for the rec_type on the TextMemoCd model.
Another good place to look is in the MapCalFormat2Fields document, which describes how .CAL format fields are mapped to CAL-ACCESS database table columns. Note the Valid_V column on the far right.
Step 3: Copy the DocumentCloud ID and the page number(s) where rec_type's list of valid values is defined.
The DocumentCloud ID can be found the in the URL that points to the document. For example, the url to the .CAL Format version 2.01 doc is http://www.documentcloud.org/documents/2712034-Cal-Format-201.html#document/p1, and the id is 2712034-Cal-Format-201.
And the start page we want to grab is the DocumentCloud page number, not the page number printed on the .PDF. If the list of valid values spans multiple pages, then grab the page where the list ends as well.
Step 4: Find where rec_type is defined in common.py in the /calaccess_raw/models/common.py file underneath the TextMemoCd class.
Since the model files are rather long, take care to be sure you find the where rec_type is defined for the TextMemoCd model. It should look something like this:
    class TextMemoCd(CalAccessBaseModel):
        # ...
        # several lines of code later...
        # ...
        rec_type = fields.CharField(
            max_length=4,
            db_column='REC_TYPE',
            blank=False,
            verbose_name='record type',
            help_text='',
        )

Step 5: Add the document references
Say you found the list of valid values listed in three places. You would list them in the documentcloud_pages attribute like this:
    class TextMemoCd(CalAccessBaseModel):
        # ...
        # several lines of code later...
        # ...
        rec_type = fields.CharField(
            max_length=4,
            db_column='REC_TYPE',
            blank=False,
            verbose_name='record type',
            help_text='',
            documentcloud_pages=[
                DocumentCloud(id='2711616-MapCalFormat2Fields', start_page=10),
                DocumentCloud(id='2712033-Cal-Format-1-05-02', start_page=19),
                DocumentCloud(id='2712034-Cal-Format-201', start_page=24, end_page=25),
            ]
        )

Note: You only need to specify the end_page if the list spans multiple pages.
Step 6: Update the rec_type's help_text (if necessary)
It might be missing or it might be an empty string or it might not be consistent with what you see in the documentation. Note: The entire help_text string needs to be enclosed in single- or double-quotes like this:
    help_text='This is the help text',

If the help text is really long (80+ characters), then it needs to span multiple lines like this:
    help_text='This is the help text...blah...blah...blah...blah...blah...blah...\
...blah...blah...blah',

If you can, check the rec_type's defined choices against the actual values in rec_type's database column.
This will require you to install the app and run the updatecalaccessrawdata command. Then you can get the distinct column values with a GROUP BY query like this:
    SELECT REC_TYPE, COUNT(*)
    FROM TEXT_MEMO_CD
    GROUP BY 1
    ORDER BY 1;

It's likely that you'll find undocumented values in database column, some of which are variants of the valid values. You can note these by repeating the same definition for each variant like this:
    OFFICE_CD_CHOICES = (
        ('GOV', 'Governor'),
        ('gov', 'Governor'),
        ('GUV', 'Governor'),
        # ...
    ),

If you're dealing with a set of choices that's been consolidated into calaccess_raw/annotations/choices.py, you can map the different variants to the same definition using the key of the choices dict like this:
    OFFICE_CD_CHOICES = (
        ('gov', look_ups.OFFICE_CODES['GOV']),
        ('GUV', look_ups.OFFICE_CODES['GOV']),
        # ...
    ),

If you're not able to check the database column values for whatever reason, don't sweat it. We'll deal with it in a later issue.
Wrap up: Review your changes and create a pull request

That's it!
PS: If any of this feels confusing, or if it doesn't seem to match up with what you are seeing, or if you have any suggestions about another approach, don't hesitate to speak up. You can post a comment below, or hit up the #california-civic-data channel on the News Nerdery Slack.

Done.


Support for ordered list styles

This PR mainly adds support for ordered list styles. A dropdown button is added to the order-list style menu so that users can select another style. Currently the following list-styles are included:

decimal
lower-alpha
upper-roman

These styles are implemented by adding the custom data-list-style to ordered list styles which is picked up by the css. Another possibility is implementing this using inline styles.
It should not be too difficult to make this list configurable using a component property if this would be desirable in the future.
Full list of changes:

Renamed Toolbar::Icon to Toolbar::Button: this change seemed to made sense in a semantic way
Addition of an optional options dropdown to Toolbar::Button. If a Toolbar::Button needs to support additional options included in a dropdown, they can be added in the optional <:options> named block.
Add support for optional attributes in the toggleList command.

This PR is a solution to https://binnenland.atlassian.net/browse/GN-4052?atlOrigin=eyJpIjoiZWRmNGU1MGZmMmUzNDgxOWJiNTU0MWNjYzY0OTQ0Y2YiLCJwIjoiaiJ9.
It's possible that this PR needs some more design work.

Looks good, maybe something a little bit nitpicky is that the arrow for the dropdown is very small and hard to click, maybe we should look for another design pattern for that

Yes that's fair, I now based it on the behaviour of other editors, but we can look into alternatives.


Publish all updated nerdpacks

We're going to publish all the nerdpacks we updated in a batch.
🚨 The catalog manager needs time to handle updates so don't go updating all at once 🥲
AC

[x] publish apps to prod
[x] tag apps in eu
[ ] tag apps in staging

currently waiting on platform services to help troubleshoot why we can't tag new versions in staging yet


Fix image links

Current links work on https://quantumai.google/ but not on Colab or GitHub webpage

Thank you @yinghui-hu for your suggestion.
The https://quantumai.google website already has these files under the cirq/images path. It is preferable to use those rather than external files from github.com which may be less optimal for serving static files.
The relative paths of images under https://quantumai.google/cirq/... and https://github.com/quantumlib/Cirq/tree/master/docs/... are the same, so both cases on GitHub and web can be satisfied by using relative paths.

Done

Thanks for the review, Pavol!


Add Jumbo-32 from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of GregroxMun, to add Jumbo-32 to CKAN.
Please direct questions about this pull request to GregroxMun.

Depends on the RSS splitting into core+config.


Refactor the generate_files and to_file functions

The functions are horribly inefficient (By not sorting the dataframe and instead sorting in the SQL alone I was able to drop from 30ms to 10ms runtime) so these functions really need to be revisited. Also, once they are efficient we will no longer need to store the files, and instead can generate them on the fly removing the possibility of the files being out of sync with the database.

Poking around in the code, it looks like TRN is used in a lot of places. Since generate_files and to_file functions are not going to modify the database, most of these seem unnecessary (e.g., here and here and [here]). I doubt this is driving the cost of these functions up very much, but it's at least something.
As an aside, 30ms (or 10ms) doesn't seem that bad, since we're not running these functions thousands of times a day or anything. Is this really something that we need to prioritize optimizing? It seems to me that we could already generate them on the fly even with the the current code, no?

This was on our test database data, but w have larger studies where the increase could be even more significant. Also, with so small a change making such a large impact, it's better to look through and see if we can't get any more speed out of the function. We could probably get an order of magnitude or more with tweaks like that one and using pandas + SQL more intelligently.

@adamrp those calls to TRN are needed to make sure that the entire function is executed as a transaction

Right -- but they are read-only, right? So is the concern that the data could be modified by a different query/process halfway through the execution of the function?

Is this actually a performance burden that is impacting users? What is the
real world impact of this method? I think what @adamrp is getting at is the
potential to accidentally optimize something that is only a fraction of
runtime, in which case, multiple orders of magnitude wouldn't result in a
practical benefit. The downsides are increase code entropy and complexity.
If this is really is impacting people, then :+1:, otherwise, better to
leave be and focus elsewhere.
On Mon, Aug 24, 2015 at 6:41 PM, Joshua Shorenstein <
<EMAIL_ADDRESS>wrote:

This was on our test database data, but w have larger studies where the
increase could be even more significant. Also, with so small a change
making such a large impact, it's better to look through and see if we can't
get any more speed out of the function. We could probably get an order of
magnitude or more with tweaks like that one and using pandas + SQL more
intelligently.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1424#issuecomment-134426992.

Yes, is to avoid data modification through the execution of the function.
The performance discussion comes by making the users generate the files every time that they want to download, rather than just storing the files as we are doing right now...

@josenavas, not sure I understand your comment. Are you suggesting there is a performance issue that is impacting people, or that there isn't? Or is this in reference to caching data for distribution?

I think this is NOT a performance issue.

Okay, thanks

To clarify: We should be making the files on the fly instead of storing them, since that removes the possibility of the files being out of sync with the database, as said in the issue. There are also performance increases we can do to the file generation code that will facilitate this change, since it will be being called much more frequently when things are made on the fly.

This requires some refactor that is not priority right now. There are other parts of the code that need to be refactored first.

As a group on October 4th, 2017, we decided that we will not generate on the fly but that we need to rethink the creation of QIIME map files. Mainly, because if you update a sample, all preps have to be updated AKA AGP takes 20+ min.

AFAIK this can be closed.


Handle ascii_label option in Silo plugin as avtLabelMetaData for all cases

I've attached a file of a Label plot image I was able to produce with small changes to Silo plugin and Label Plot plugin. The goal is to support labels longer than a single ascii character. point, quad and ucdvars from VisIt can have many components and we load those as vector variables in VisIt and add the 'treatasascii' optlist option in Silo. Some minor changes to silo plugin (to serve up more than 3-component vectors for example) and to avtVectorMetaData (to add treatAsASCII bool) were added.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1737
Status: Resolved
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: Handle ascii_label option in Silo plugin as avtLabelMetaData for all cases
Assigned to: -
Category: -
Target version: -
Author: Mark Miller
Start: 02/11/2014
Due date:
% Done: 0%
Estimated time:
Created: 02/11/2014 12:18 pm
Updated: 04/08/2014 04:18 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
I've attached a file of a Label plot image I was able to produce with small changes to Silo plugin and Label Plot plugin. The goal is to support labels longer than a single ascii character. point, quad and ucdvars from VisIt can have many components and we load those as vector variables in VisIt and add the 'treatasascii' optlist option in Silo. Some minor changes to silo plugin (to serve up more than 3-component vectors for example) and to avtVectorMetaData (to add treatAsASCII bool) were added.
Comments:
When I first started looking at this, I thought the problem was that Silo plugin wasn't handling vectors with ascii_label set.It turns out that the real problem is twofold. First, Silo plugin was not serving up avtLabelMetaData entries for variables for which ascii_label is set. Second, since when VisIt has an avtLabelMetaData variable, it queries the plugin for data using GetVar() and not GetVectorVar() method, I needed to adjust GetVar() method to return nonscalar (e.g. number of components>1) data.I have tested with QuadVars and it works fine. I would need to adjust ucd, point and csg var's GetVar method in plugin similarly and then add tests for these cases. I committed this to the trunk in rev 22894, bound for version 2.8


Unable to run saveNativeModel for VWRegressionModel

Environment
Databricks 10.1ML Runtime.
To Reproduce
I am trying to run the Linear Regression example provided
triazines = spark.read.format("libsvm")\
<EMAIL_ADDRESS>train, test = triazines.randomSplit([0.85, 0.15], seed=1)
from synapse.ml.vw import VowpalWabbitRegressor
model = (VowpalWabbitRegressor(numPasses=20, args="--holdout_off --loss_function quantile -q :: -l 0.1")
            .fit(train))

Now when trying to save the model using .saveNativeModel
model.saveNativeModel("dbfs:/mnt/analysis/arka/m4/testmodel")

Getting following error
Driver stacktrace:
	at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:2828)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:2775)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:2769)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2769)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1(DAGScheduler.scala:1305)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1$adapted(DAGScheduler.scala:1305)
	at scala.Option.foreach(Option.scala:407)
	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:1305)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:3036)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2977)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2965)
	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
	at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:1067)
	at org.apache.spark.SparkContext.runJobInternal(SparkContext.scala:2477)
	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2460)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.write(FileFormatWriter.scala:274)
	... 36 more
Caused by: org.apache.spark.SparkException: Task failed while writing rows.
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.executeTask(FileFormatWriter.scala:396)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.$anonfun$write$15(FileFormatWriter.scala:284)
	at org.apache.spark.scheduler.ResultTask.$anonfun$runTask$3(ResultTask.scala:75)
	at com.databricks.spark.util.ExecutorFrameProfiler$.record(ExecutorFrameProfiler.scala:110)
	at org.apache.spark.scheduler.ResultTask.$anonfun$runTask$1(ResultTask.scala:75)
	at com.databricks.spark.util.ExecutorFrameProfiler$.record(ExecutorFrameProfiler.scala:110)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:55)
	at org.apache.spark.scheduler.Task.doRunTask(Task.scala:150)
	at org.apache.spark.scheduler.Task.$anonfun$run$1(Task.scala:119)
	at com.databricks.spark.util.ExecutorFrameProfiler$.record(ExecutorFrameProfiler.scala:110)
	at org.apache.spark.scheduler.Task.run(Task.scala:91)
	at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$13(Executor.scala:813)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1620)
	at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$4(Executor.scala:816)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at com.databricks.spark.util.ExecutorFrameProfiler$.record(ExecutorFrameProfiler.scala:110)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:672)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	... 1 more
Caused by: java.lang.NullPointerException
	at com.microsoft.azure.synapse.ml.io.binary.BinaryOutputWriter.write(BinaryFileFormat.scala:231)
	at org.apache.spark.sql.execution.datasources.SingleDirectoryDataWriter.write(FileFormatDataWriter.scala:143)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.$anonfun$executeTask$2(FileFormatWriter.scala:375)
	at org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1654)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.executeTask(FileFormatWriter.scala:383)
	... 19 more

When trying with .save it is working but the model saved is in some binary which is not readable.
directory structure
/analysis/arka/m4/model
-> testmodel
- - metadata
- - complexParams
- - - model
- - - performanceStatistics

End Goal
To be able to save the model in some readable format preserving the feature name along with the co-efficients.
I was referring to this PR https://github.com/microsoft/SynapseML/pull/821 but the code to generate readable model with the feature name was removed in a commit. Not sure why ?
Also using model.getReadableModel() just shows the indexes and the co-efficients. If at all using VWFeaturizer the feature names can be derived, how can it be done ? I was unable to find any examples.
Tried with following environment and versions :
10.1ML + 0.9.4 & 0.9.5
9.1ML LTS + 0.9.4 & 0.9.5
So my questions are

How to generate a readable version of the VWRegressionModel and dump it in Azure Blob (Location is mounted in dbfs).
How to read back the generated model as a VMRegressionModel and do the predictions later on for evaluation or share?
When using model.printReadableModel(), the output has a huge number of hashes and their weights. Assuming 1 hash is created for each feature how can this be possible ?

Thanks,
Arka

@memoryz  Thanks for the PR. Do you also have an example on how to dump the model in readable state (feature name and their co-efficients in readable format) and deserialise it back to VWRegressionModel for prediction in future ?

@arka-nitd, the fix will allow you to save the native model as a binary file on your storage. To dump the model in readable state, does print(model.getReadableModel()) help?
For serialization and deserialization, can you just use the standard Spark ML pipeline interface?
Serialization:
model = ...
model.save(path)

Deserialization:
from synapse.ml.vw import VowpalWabbitRegressionModel
model = VowpalWabbitRegressionModel.load(path)

@memoryz  I tried print(model.getReadableModel()) but this return the feature hash and their co-efficient. What i need is the feature names and their co-efficient, similar to what --invert-hash parameter would output.
What could be a way to achieve this  ? An example could really help

Sorry I'm not familiar with the internals of VW. Can you post a separate issue? Maybe @eisber can help answer.

@arka-nitd  can you share a small repro of you current feature/training pipeline. Unfortunately, when using VWFeaturizer the reverse mapping is lost. Since this request comes in repeated, this might be a good new feature. @jackgerrits  and I brainstormed a bit, but it's not straight forward. The VWfeaturizer already hashes the data, but without namespaces (at least from what I remember). So there's the additional complexity on namespaces. Additionally it depends on the learning algo how the features are mapped to weights.


Add bump subcommand

Add a changelog bump 1.2.3 command that will:

Change Unreleased to 1.2.3
Setup the correct compare link
Add a new empty Unreleased section

For the compare link, we could add an option (--version-link) or infer from an existing version.

The https://github.com/blang/semver lib can make it easier to manipulate the version without hacks (but we should probably have a fallback when the version is not semver compliant).


Resorted Sast Policies jb

Resorted Java, JavaScript and Python policies according to severity (critical to low) with alphabetical subsorting within a severity.

@JBakstPaloAlto merged as requested


Added question and picture about princess

Added: Picture
Changed: text to a question
Does it suit your expectations?

Not all the changes are visible in the above "Show resolved" but I think commit 487f8ede1f90ee24da51267cd1ebabe9daa37c7c fulfills all of them.


Fatal error: stream.on is not a function on windows 10, yeoman

Hi all, i downloaded a yeoman generator, im trying to use it for a project i want to do, the only error im getting is this:
Running tasks: imagemin

Loading "grunt-contrib-imagemin

Registering "C:\projects\admin-app\node_modules\grunt-contrib-imagemin\tasks" tasks.
Loading "imagemin.js" tasks...OK
+ imagemin
>> Plugin loaded.

Running "imagemin" task

Running "imagemin:dist" (imagemin) task
Verifying property imagemin.dist exists in config...OK
Files: client/assets/images/cash.jpg -> dist/public/assets/images/cash.jpg
Options: interlaced, optimizationLevel=3, progressive
Fatal error: stream.on is not a function Use --force to continue.

    Aborted due to warnings.

i have tried reinstalling everything, updating the package but no luck, does anyone know what this could be?
I also find no references to stream.on anywhere, any help is appreciated!

No enough information.

This is most likely due to you using the wrong version of a custom plugin. We migrated away from streams to promises last week.

I'm using the latest version of imagemin-pngquant (5.0.0) and I get the same error on linux x64.
│TypeError: stream.on is not a function
│  at Readable.wrap (/project-folder/node_modules/readable-stre
│am/lib/_stream_readable.js:740:10)
│  at wrap (/project-folder/node_modules/stream-combiner2/index
│.js:67:29)
│  at combine (/project-folder/node_modules/stream-combiner2/in
│dex.js:29:18)
│  at Function.module.exports.obj (/project-folder/node_modules
│/stream-combiner2/index.js:22:10)
│  at Imagemin.createStream (/project-folder/node_modules/image
│min/index.js:103:24)
│  at Imagemin.run (/project-folder/node_modules/imagemin/index
│.js:77:20)
│  at DestroyableTransform.through.obj.percent (/project-folder
│/node_modules/gulp-imagemin/index.js:56:12)
│  at DestroyableTransform._transform (/project-folder/node_mod
│ules/through2-concurrent/through2-concurrent.js:29:15)
│  at DestroyableTransform.Transform._read (/project-folder/nod
│e_modules/readable-stream/lib/_stream_transform.js:159:10)
│  at DestroyableTransform.Transform._write (/project-folder/no
│de_modules/readable-stream/lib/_stream_transform.js:147:83)
│  at doWrite (/project-folder/node_modules/readable-stream/lib
│/_stream_writable.js:313:64)
│  at writeOrBuffer (/project-folder/node_modules/readable-stre
│am/lib/_stream_writable.js:302:5)
│  at DestroyableTransform.Writable.write (/project-folder/node
│_modules/readable-stream/lib/_stream_writable.js:241:11)
│  at DestroyableTransform.ondata (/project-folder/node_modules
│/readable-stream/lib/_stream_readable.js:531:20)
│  at emitOne (events.js:90:13)
│  at DestroyableTransform.emit (events.js:182:7)
│  at readableAddChunk (/project-folder/node_modules/readable-s
│tream/lib/_stream_readable.js:198:18)
│  at DestroyableTransform.Readable.push (/project-folder/node_
│modules/readable-stream/lib/_stream_readable.js:157:10)
│  at DestroyableTransform.Transform.push (/project-folder/node
│_modules/readable-stream/lib/_stream_transform.js:123:32)
│  at fsOperationFailed (/project-folder/node_modules/gulp-chan
│ged/index.js:17:10)
│  at /project-folder/node_modules/gulp-changed/index.js:30:8
│  at FSReqWrap.oncomplete (fs.js:82:15)

My gulp task:
    gulp.src( config.images.src )
      .pipe( changed( config.images.dest ) )
      .pipe(
        imagemin(
          progressive:  true
          svgoPlugins:  [ removeViewBox: false ]
          use:          [ pngquant() ]
        )
        .on( 'error', handleError )
      )
      .pipe( gulp.dest( config.images.dest ) )

Its only working when I remove pngquant().

ah okay, its working with 4.2.2 of imagemin-pngquant.

@kevva I'm getting the same errors:
Fatal error: stream.on is not a function
Here's what I have in my package.json:
"devDependencies": {
    "grunt": "~1.0.1",
    "grunt-browserify": "^4.0.1",
    "grunt-cli": "~1.2.0",
    "grunt-contrib-clean": "~1.0.0",
    "grunt-contrib-copy": "^1.0.0",
    "grunt-contrib-imagemin": "~1.0.0",
    "grunt-contrib-jshint": "^1.0.0",
    "grunt-contrib-watch": "~1.0.0",
    "grunt-force-task": "^2.0.0",
    "grunt-sass": "^1.1.0",
    "grunt-svgmin": "~3.2.0",
    "grunt-svgstore": "latest",
    "imagemin-gifsicle": "^5.1.0",
    "imagemin-jpegoptim": "^5.0.0",
    "imagemin-mozjpeg": "^6.0.0",
    "imagemin-pngquant": "^5.0.0",
    "load-grunt-tasks": "~3.5.0"
  },
  "dependencies": {
    "angular": "^1.5.5",
    "angular-cookie": "^4.1.0",
    "angular-marked": "1.0.1",
    "angular-modal-service": "^0.6.10",
    "angular-route": "^1.5.5",
    "angular-slick-carousel": "^3.1.4",
    "angular-ui-mask": "latest",
    "bootstrap-sass": "^3.3.6",
    "breakpoint-sass": "^2.7.0",
    "font-awesome": "^4.6.1",
    "imagemin": "^4.0.0",
    "imagemin-jpegoptim": "^5.0.0",
    "imagemin-mozjpeg": "^6.0.0",
    "imagemin-pngquant": "^5.0.0",
    "jquery": "^2.2.3",
    "jquery-circle-progress": "^1.1.3",
    "underscore": "^1.8.3",
    "webcamjs": "^1.0.6"
  }

v5.4.0```
Looks like everything is up to date, any other reason why `stream.on` would be a problem?

imagemin doesn't look to be up to date.

I'm also having this issue -
"devDependencies": {
  "grunt": "~0.4.5",
  "grunt-contrib-concat": "^1.0.1",
  "grunt-contrib-cssmin": "^0.12.3",
  "grunt-contrib-imagemin": "^1.0.1",
  "grunt-contrib-jshint": "~0.10.0",
  "grunt-contrib-less": "*",
  "grunt-contrib-nodeunit": "~0.4.1",
  "grunt-contrib-uglify": "~0.5.0",
  "grunt-contrib-watch": "*",
  "grunt-image": "^2.1.0",
  "grunt-notify": "^0.4.5",
  "gulp": "^3.9.1",
  "gulp-imagemin": "^3.0.2",
  "imagemin-mozjpeg": "^5.1.0",
  "imagemin-pngquant": "^4.1.0"
},


chore(JacobiSum/Basic): remove superfluous DecidableEq

Found by the linter in #10235.

Superseeded by #17396.


About supporting string type style

Hey there! I'm trying to write tiny project with hyperapp recently it's really awesome!
One thing I wonder to know is that will hyperapp decided to support string type style value? I think that will be pretty much easier for people to build apps.

Currently only object style is supported. If you guys think making compatible work for string style is good here is the pull request https://github.com/hyperapp/hyperapp/pull/618. Otherwise it's still OK if you think supporting may bring redundance. : )

Hi, @huozhi! Thank you, but I don't want to support this for the reasons given here. 👋

Still many thanks for your quick reply! 👍


Dayborder.gpart5

Hi Vincent,
Sorry it took me more time than expected, but I am here with changes done (hopefully well-done).
Here a list of the changes I pulled:

Mean Amplitude Deviation (MAD) calculation (g.part2, g.analyse, g.applymetrics): as we discussed I have included the calculation of this metric till g.part2, for methodological papers. We were also discussing about the name of this metric, let me know if you want to change as you suggested.

qlevels and ilevels (g.part2): there was an issue with keepindex_46 and keep_index_28 in g.part2 and it only calculated percentiles and levels for the last metric marked as TRUE in the function call. I modified it to get percentiles and levels for all the metrics.

dayborder in g.part5: I also have included the argument "dayborder" in g.part5 in case the measurement starts after 0am the first day, now this first day would be included if meets the requirements.

First, I updated my branches with your changes to your master branch and now I am doing this pull request. I hope it all goes well, let me know if I have to fix something.
Best,
Jairo


MySQL parse insert statement function value with parameter

MySQLParser function that parses insert statement was unhandled for the condition of insert statement function value with parameter.See
Fixes #3136.
Changes proposed in this pull request:

I modify the expr expression by add predicate and add MySQL UNIX_TIMESTAMP and LOWER regular function.

Pull Request Test Coverage Report for Build 700

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 68.014%

Totals

Change from base Build 492:
0.006%

Covered Lines:
11342

Relevant Lines:
16676

💛  - Coveralls


Switchover must wait for the inner goroutine before it returns.

Otherwise, two corner cases may happen:

waitForPodLabel writes to the podLabelErr channel that has been
already closed by the outer routine

the outer routine exists and the caller subscribes to the pod
the inner goroutine has already subscribed to, resulting in panic.

The previous commit https://github.com/zalando-incubator/postgres-operator/commit/fe47f9ebeadd54639913296735158b42d17ee012
that touched that code added the cancellation channel, but didn't bother
to actually wait for the goroutine to be cancelled.
Per report from @valer-cara.
Original issue: https://github.com/zalando-incubator/postgres-operator/issues/342

Coverage decreased (-0.01%) to 4.669% when pulling dcbe94958e42f9ec514e9bbdd2d269218e32eabc on bugfix/panic_after_failed_switchover into 25a306244f69eb3f25c0a780816122a99cc30e3b on master.

:+1:


Type-safe handler contracts

With https://github.com/kroxylicous/kproxy/pull/7, the notion of RequestHandler and ResponseHandler was established, which abstracts from Netty-specifics and simplifies the implementation of handlers (less casting, only invoked for actually relevant message types). Let's explore whether we can further increase type-safety here, by parameterizing the handler types with the message type. See the discussation at https://github.com/kroxylicous/kproxy/pull/7#discussion_r849353018 for more details.
// CC @tombentley

Closing, first cut it's done, but it's also an on-going effort.


Update playerconfig.h

...okay, why would it be a good idea to merge this? Pressed the 'pull request' accidentally I presume?

how can i upload esp8266 mp3 decoder program on esp8266

Please read the docs in the repo.

hi, I do not understand the docs how to upload mp3 decoder firmware in
esp8266 and what software is used to convert the master decoder into
firmware.please guide me.
On Fri, Sep 9, 2016 at 10:28 AM, Jeroen Domburg<EMAIL_ADDRESS>wrote:

Closed #24 https://github.com/espressif/ESP8266_MP3_DECODER/pull/24.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/espressif/ESP8266_MP3_DECODER/pull/24#event-783428199,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVDwOJc-hUD0T9-fjcWNAweSe-G8jg4Xks5qoNlugaJpZM4J4pOA
.