Configure Portal System properties to set Proxy

The capability to configure the Portal Properties to set the proxy settings would be good. I cant see that the attribtures are available to configure such for Portal, in the recipe cookbooks.

Hi @DamienB-ESRI,
This is a great feature request, and it will be added to the next release of cookbooks (v3.7.0).
Thanks,
Cameron K.

@DamienB-ESRI pleased to let you know this capability has been added to the latest release, v370!
Attribute node['arcgis']['portal']['system_properties'] = Portal for ArcGIS system properties. Default value is {}.
An example can be found here:
https://github.com/Esri/arcgis-cookbook/blob/master/templates/arcgis-enterprise-base/10.9/windows/arcgis-enterprise-primary.json#L72-L75

HI Cameron,
This is excellent news - well done for getting that in to this release. It was one of the only manual steps we had to complete.
I am actually leaving ESRI now to join GitHub so I will definitely keep an eye on the ESRI GitHub pages..
I have encouraged my colleagues to be active members of the Chef / ESRI open source community.
Best,
Damien.
From: Cameron Kroeker @.>
Sent: 07 May 2021 00:20
To: Esri/arcgis-cookbook @.>
Cc: Damien Butler @.>; Mention @.>
Subject: Re: [Esri/arcgis-cookbook] Configure Portal System properties to set Proxy (#273)
@DamienB-ESRIhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDamienB-ESRI&data=04|01||b0c5ae46def94ef828b508d910e572b0|78325161206f4750bbca2c754bb89c4c|0|0|637559399943543708|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=KIX6dXYdNKs%2B1AAjzy%2Furho7X88KKuzjWE5WPTwFGO4%3D&reserved=0 pleased to let you know this capability has been added to the latest release, v370!
Attribute node['arcgis']['portal']['system_properties'] = Portal for ArcGIS system properties. Default value is {}.
An example can be found here:
https://github.com/Esri/arcgis-cookbook/blob/master/templates/arcgis-enterprise-base/10.9/windows/arcgis-enterprise-primary.json#L72-L75https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcgis-cookbook%2Fblob%2Fmaster%2Ftemplates%2Farcgis-enterprise-base%2F10.9%2Fwindows%2Farcgis-enterprise-primary.json%23L72-L75&data=04|01||b0c5ae46def94ef828b508d910e572b0|78325161206f4750bbca2c754bb89c4c|0|0|637559399943553707|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=HCxiu4kGod3aBkAa7hc0kzH41oi2PlpL5g%2B%2FjJ0FZ3Q%3D&reserved=0

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcgis-cookbook%2Fissues%2F273%23issuecomment-833939955&data=04|01||b0c5ae46def94ef828b508d910e572b0|78325161206f4750bbca2c754bb89c4c|0|0|637559399943553707|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fs8BzuG3LQrv4M3O7qYqjyPhc64l3w8L7317cIYswn4%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATF27Y7NPKLPMDDL26VQUCDTMMPZLANCNFSM4ZTH443A&data=04|01||b0c5ae46def94ef828b508d910e572b0|78325161206f4750bbca2c754bb89c4c|0|0|637559399943563702|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=H5vhSByyL2IeGludpunElKdYZaceaGks8OSh7XEPqBg%3D&reserved=0.
Disclaimer and Corporate Information This e-mail and any attachments are confidential, may be privileged and are intended solely for the use of the intended recipient/s. If you are not an intended recipient, please (a) notify the sender immediately; and (b) delete the original e-mail and your reply from your system. Unauthorized copying, forwarding, disclosure or usage of this e-mail is prohibited. No liability is accepted for damage caused by the presence of any virus. The contents of this e-mail are provided "subject to contract". Views or opinions in this e-mail are those of the author and not necessarily those of the company. The company may intercept, copy or monitor e-mails from or to anyone using its facilities in accordance with the law. ESRI (UK) Ltd, registered in England under company number 01288342. Registered office: Millennium House, 65 Walton Street, Aylesbury, Buckinghamshire HP21 7QG. Environmental Systems Research Institute Ireland Ltd, registered in Ireland under company number 353903. Registered office: Riverside One, Sir John Rogersons Quay, Dublin 2.


Fix typos in docs

I just used your crate for my own project an corrected some typos while reading the docs and book.
I'm not a native english speaker myself so my edit may not be 100% correct.
If you are using VS Code i suggest using the extension streetsidesoftware.code-spell-checker & streetsidesoftware.code-spell-checker-french.
with the setting cSpell.language you can also set multiple languages like en,fr.

[ ] docs/book/src/declare/03_plurals.md:100 i think the comparison was the wrong way

I also added an extra test on top 😊

That's awesome thanks a lot!
I wrote the docs pretty quickly to at least have some materials, but grammar is'nt my biggest strength, I'm not a native speaker either (I'm french, that's why everything is english/french haha). Any typos fixes are more than welcome.

docs/book/src/declare/03_plurals.md:100

Line 111 you probably meant, the 0 <= count > 5? Yes you're right, bad comparaison, thanks catching it.

You really must have done a global search for exemple, I always mistake it with the french translation

Thanks a lot!


CORS error when pointing to local remote applications mf-manifest.json

Describe the bug
When I point to a remotes mf-manifest.json a CORS error is thrown when trying to fetch the remote. It works correctly when I point to remoteEntry.js

Reproduction
https://github.com/swalker326/turbo-rspack-error
Used Package Manager
pnpm
System Info
System:
    OS: macOS 15.0.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 77.52 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.2.0 - ~/.nvm/versions/node/v20.2.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.2.0/bin/yarn
    npm: 9.6.6 - ~/.nvm/versions/node/v20.2.0/bin/npm
    pnpm: 9.7.1 - ~/.nvm/versions/node/v20.2.0/bin/pnpm
    bun: 1.1.30 - /opt/homebrew/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 130.0.6723.117
    Safari: 18.0.1

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

Set CORS headers on the dev server, you can look at any federation example for "header" in the federation example repo

Did this got resolved? Im having the same issue for rsbuild config while getting mf-manifest.json
This is my rsbuild.config.ts:
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { pluginModuleFederation } from '@module-federation/rsbuild-plugin';

export default defineConfig({
  plugins: [
    pluginReact(),
    pluginModuleFederation({
      name: 'mfe_remote',
      shared: ['react', 'react-dom'],
      exposes: {
        './Button': './src/Button.tsx',
        "./LoginForm": "./src/components/LoginForm.tsx",
        "./UserProfileCard": "./src/components/UserProfileCard.tsx",
        "./useAuth": "./src/hooks/useAuth.ts",
        "./types" : "./src/types.ts"
      },
    }),
  ],
  server: {
    port: 3000,
    headers: {
      'Access-Control-Allow-Origin': '*',
      'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
      'Access-Control-Allow-Headers': '*',
    },
  },

});


Add support for firewalld zone

Description of PR

This PR add a new feature to support the configuration of the zone for the firewalld rich rule when using zabbix_agent_firewalld_enable: true.
Type of change

Feature Pull Request
Fixes an issue

Fixes Feature request #260

Thanks! 👍


[SPARK-48712][SQL][FOLLOWUP] Check whether input is valid utf-8 string or not before entering fast path

What changes were proposed in this pull request?
Check whether input is valid utf-8 string or not before entering fast path
Why are the changes needed?

Avoid behavior change on a corner case where users provide invalid UTF-8 strings for UTF-8 encoding
Does this PR introduce any user-facing change?
no, this is a followup to avoid potential breaking change
How was this patch tested?
existing tests
Was this patch authored or co-authored using generative AI tooling?
no

cc @cloud-fan

Merged into master. Thanks, @cloud-fan, for raising the issue and providing a thorough review.


rename pool to buffer

It isn't really a connection pool

only some typos left, and tests/pool.rs should also be renamed to tests/buffer.rs

@jxs thanks for the feedback.
I forgot to mention, I opted to remove set_expires on Buffer as it wasn't necessary for teaching the concept.


[FEATURE] Sorting support for Hybrid Search

Is your feature request related to a problem?
Hybrid Search always returns results in the descending order of score. Applying sorting as below has no affect on the results
{
  "query": {
    "hybrid":{
      "queries": [
        <text query>,
        <kNN query>
      ]
    }
  }
  "sort": [
    {
      "title.keyword": {
        "order": "desc"
      }
    }
  ]
}

What solution would you like?
Sorting should work as it does with other boolean queries. Results matching the Hybrid query should later be sorted on the basis of sorting applied.

Hey @ankitas3 Can you share the use case of this problem? We are doing some brainstorming and we need to understand how sorting fits in your usecase.

I am experiencing a problem that might be related.
When performing a hybrid search query with a search_pipeline, the sort tag does not work as expected.
In other words, the sort is being bypassed by search_pipeline and if you remove the search pipeline, the sort works fine in a hybrid query.
In this issue I describe the problem and a reproducible example.
https://forum.opensearch.org/t/unable-to-sort-query-results-with-search-pipeline-hybrid-query/19726
Is it possible to make it work with current opensearch?

@vibrantvarun can we close this issue as the feature is merged?


ECM

Hi Cindy,
When I search “extracellular” or “ECM” or “matrix” I do not find abnormal extracellular matrix component or anything like that which will fit with my Fret1 mutant.  Maybe I should be using the “abnormal basement membrane morphology” term.  If so, would you please put in some synonyms for extracellular matrix and ECM.  Thanks! Melissa
Reported by: cindyJax
Original Ticket: obo/mammalian-phenotype-requests/278

Already addressed.


compatibility with Swarm

As I understand, this image will run a single container which contains 6 redis instances? So I have 6 instances on one machine? What's the benefit of that?
Or can I use this for Docker Swarm mode - so that I have 6 VMs configured in Docker Swarm mode and run this image over these 6 VMs?

The target/intended purpose of this image is to run it when developing a redis-cluster client. When doing that there is no need to run multiple containers just because to make it compatible with tools like swarm and kubernetes for example.
As is i will not make any effort to make this image compatible with swarm or any other tool then docker-compose and that one is used to make it simpler with image names, port openings and start/stopping of containers.
If you want to put in the effort to refactor this repo into one that is compatible with swarm but where swarm is not required i will accept that kind of work, but i myself will not put in the effort because i do not have the need for it.
On a comment to make it compatible with swarm. Currently the container just starts a supervisord process that starts 6 redis-servers in one container. It should be fairly simple to change that part to only run one redis-server and then let swarm start 6 seperate containers and let swarm do the heavy lifting when dealing with the cluster setup and service discovery.

@mrmunch Closing this issue as docker swarm support is not in the scope of this project. This docker image is built to run locally on your machine to help development of redis cluster clients and not much more. If you want to fork it and make changes so it will work better for your scenario of docker swarm, i would approve of that very much.


Remove unused functions

Remove some unused and non api functions

Out of curiousity, how do you identify these?

Right was wondering the same, is there a compiler option or something?

Also, do we have unused API functions? Just asking because you mentioned "non api functions".

Out of curiousity, how do you identify these?

I just looked at ol.array, ol.coordinate, ol.size and ol.TileRangeand git greped the (non api) functions name.

Also, do we have unused API functions? Just asking because you mentioned "non api functions".

Yes probably but I didn't check

@ahocevar, @bartvde is it good to merge?

Thanks @fredj, great work!

Thanks for the review

Also, do we have unused API functions? Just asking because you mentioned "non api functions".

Out of curiosity, how will you identify these since you don't know which API functions are used by developers using OL3?

Indeed @ischas , we can only check which API functions are not used by the library itself, but still they can be used by applications. So no need to look for those IMHO.


Fixes for track highlighting

This works for me...

Seems to work for me too. Not sure why I had the comment about not being able to supply role_id if artist_id is removed, as this is what this change does (can have role_id without artist_id).


[GUI] Consider wallet to be syncing until first poll completes after opening

This PR uses the changes from #1376 to complete #1373.
It builds on the changes from #1370 to consider an existing wallet (that uses a local backend) to be syncing until the first poll completes after opening the GUI.

I moved some commits to #1370 as they also applied there (see https://github.com/wizardsardine/liana/pull/1370#issuecomment-2407650398).

I added the last_poll_timestamp to the cache when loading the application.

Updated liana dependency commit hash.

Rebased on master.

Rebased on #1387.

Rebased on master.


Error after node run command

Please help. Thanks.

@Rajiv-Kulkarni if I were in your shoes and trying to debug, my first question would be "why is my install failing?".
Looking at the screenshot, I would try to determine what MSBuild: error MSB10008 means. I don't use Windows so I can't tell you much but quick googling gave this.  Start debugging from there.
Hopefully, that will fix it.
PS: Low hanging fruit => make sure you have latest version of node and npm installed.  If these fixing these two don't then update your issue here with the steps taken and hopefully someone will get back to you.
Good Luck!

Found dotnet 1.1 doesn't like 2 project args on 'dotnet restore'
Modifies package.json, 'scripts'
"scripts": {
"postinstall1": "dotnet restore server",
"postinstall2": "dotnet restore server.test",
No longer getting error


Error: Cannot resolve callback 1 in v1.8.254

This was said to have been fix in https://github.com/mozilla/pdf.js/issues/5344 but i can still see the console error
I just install pdfjs-dist 1.8.25, Am getting the console error in both chrome and mozilla firefox. eg from https://github.com/mozilla/pdf.js/issues/5344:

Error: cannot resolve callback 1

WFM http://jsbin.com/wudabu/edit?html,js,output
Closing.


Fix #21 KeyError: 'minopsz'

New version of radare2 changed minopsz and maxopsz to core (old: bin). This commit fixes the task failed when user submit a binary. Cred to @AlbertoFDR for minopsz fix and @xchaoinfo for r2pipe open

p/s: Tested on my system and LiSa works perfectly with this fix

Hi, great work, thank you for all your commits.
As the pull requests deals with minopsz radare2 issue, I'd rather handle the remaining (pep8, typos, yara) in separate pull request.

Hi, great work, thank you for all your commits. As the pull requests deals with minopsz radare2 issue, I'd rather handle the remaining (pep8, typos, yara) in separate pull request.

Ooops. I created the PR for the fix only and then i tried working on yara for my personal purpose and all commits were merged to here.


[BUG] No indication of error when sign in button is pressed without entering username in register screen

Rocket.Chat.Android app version: 1.0.33-DEBUG
Device model (or emulator): HTC Desire 628(Physical device)
Steps to reproduce:

Enter the server url, which opens the register screen.
On pressing the "sign in" button without entering the username, there is no indication like an error message below the edit text.

This is a bad UI/UX practice and I feel that the following changes can be made to improve this:

Keeping the sign in button disabled until username and password are entered.
Another way could be to display an error message at the bottom of the edit texts in case button is pressed when username/password field is empty.

The following gif demonstrates this bug:

@rafaelks I am working on this issue.

Great, thank you!!!

@rafaelks This issue is indeed very relevant and thank you for working on this one too @aniketsingh03! But I think it's more likely an UI/UX improvement than a bug, what do you think?

@leonardoaramaki Yeah, sounds good to me! :)


print stack trace on calls to process.exit

Summary
Currently jest just exits without any helpful info if process.exit is invoked from user-code.
See the following test file:
process.exit(1);

test('some test', async () => {
  await new Promise(resolve => setTimeout(resolve, 500));
})

It currently looks like this:

With the changes in this PR it looks like this:

I wanted to stick it along with the fake process.send from #5904, but to format the error I need config, and passing that through felt like meh. Can move it there, though?

Test plan
Integration test added

Codecov Report

Merging #6714 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #6714      +/-   ##
==========================================
- Coverage   63.68%   63.62%   -0.07%
==========================================
  Files         235      235
  Lines        9003     9012       +9
  Branches        4        4
==========================================
  Hits         5734     5734
- Misses       3268     3277       +9
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-runner/src/run_test.js
2.98% <0%> (-0.47%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf9cbc2...3b80f4a. Read the comment docs.


Increase test coverage in divide_and_conquer/closest_pair_of_points.py

Current coverage is 65%, aiming for coverage of 100%.

Fixed in #14


chore(release): Add 0.40.0 release notes

Signed-off-by: Charith Ellawala<EMAIL_ADDRESS>

Can we add #2392 to the release please?


Api

Api for wss://steemd-int.steemit.com doesn't work from yesterday.

You can use it. "https://api.steemit.com"


[joy-ui][Select] Select renders hidden input even when the name prop is not set

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/s/mx2ty5?file=/Demo.js
Steps:

Open the attached link
Inspect the root element of the Select component to find the hidden input without a name attribute.

Current behavior 😯
Hidden input is rendered even when the name prop is not specified. Since the hidden input does not have a name attribute, it generates a warning in the console:

A form field element should have an id or name attribute

Expected behavior 🤔
According to the documentation, hidden input should not be rendered when the name prop is not provided:
https://mui.com/joy-ui/api/select/#Select-prop-name
Context 🔦
No response
Your environment 🌎
No response

Since the hidden input does not have a name attribute, it generates a warning in the console

@Bestwebdesign How did you get this warning to show? I don't see anything in the console in the linked sandbox

According to the documentation, hidden input should not be rendered when the name prop is not provided

🤔 I think it's a docs issue, the hidden input is always rendered

@mj12albert The message is displayed in Chrome.
Here is the direct link https://mx2ty5.csb.app/
And here is the screenshot

The name prop is only used while submitting the form and there is no form used here . I think what the docs is trying to say is when you submit the form with name prop it will be treated as a hidden input . here when you submit the form it will say "foo":"" where foo is value of 'name' prop

I understand, but in my specific case I don't need the name attribute, but I also don't want to see these warnings 😄
The docs just confused me, I thought that when the name prop is not specified, the input will not be rendered, but it turns out that it is always rendered.
So when a name is not provided, Chrome complains with this message
A form field element has neither an id nor a name attribute. This might prevent the browser from correctly autofilling the form.
To fix this issue, add a unique id or name attribute to a form field. This is not strictly needed, but still recommended even if you have an autocomplete attribute on the same element.

I tried adding id to this input, but it turns out that Select does not accept it in slotProps. The code below doesn't add an id to the input, so I ended up using name to get rid of Chrome's complaints.
<Select
    slotProps={{
        input: {
            id: 'Test',
        },
    }}
>
    <Option value="test">Test</Option>
</Select>

@Bestwebdesign You are right, the doc is confusing. The <input> is always rendered, we should fix the description of the name prop on the API page.

That would be great. However, I see it also affects other controls:
Switch: https://2n9sk3.csb.app/
Input: https://mgfgf6.csb.app/
Textarea: https://spn686.csb.app/
To permanently suppress this warning, all these inputs would need to get a random id when it's not specified.
So I'm not sure what's better, add a random id to all these controls, or just add an input slot to Select and let developers assign the id themselves in case they don't use the name prop.
I also noticed that components like Switch use the input slot for hidden input, so maybe for consistency Select should also use input instead of hiddenInput.


Garage Door Device

Hi,
Thanks for this amazing homebridge plugin.
It would be great to can configure gpio device like garage door device. This will allow control this device from CarPlay.
Thanks

See #76.

See #76.

I don't understand that response from the thread very well, what would be nice is that it works and is configured exactly the same as a Lock or a switch, but that the device appears as a garage door, without sensors.

Note that a lock and switch are very different in HomeKit, in that a Lock Mechanism has a target vs current state, where a Switch only has a current state.  For lock, only the target state is mapped to a GPIO, and the current state is derived from the target state.  I can do something similar for garage, but I won't be able to add any sensors for the actual current state.

Could you please try beta v1.8.6-0?

For me that would be ok, in my case, the garage door is a simple button that opens it, closes automatically and they do not have accessible status sensors.


check base metadata for 'word' - isPrimitive?

i think it defaults to true for this field?
so i set it to false:
// metadata.isPrimitive = false;
but this caused an "out of bounds" crash on minting the item...
@keepRunning do we need to update the contract?

#51

Is this in the contract or ipfs metadata?

in the DrawWordTool, the below crashes
and I assume the default true value is set in the .sol contract?
function makeMetadata (letters, imageCid, name, tokenIds, rows, cols) {
  let metadata = Object.assign({}, STARTING_JSON);
  metadata.name = name;
  metadata.image = imageCid;
  metadata.graphemeSrc = { tokenIds, rows, cols };
  // metadata.isPrimitive = false;
  metadata.attributes = [{
    trait_type: "Type",
    value: "Word",
  },
  {
    trait_type: "Total Letters",
    value: tokenIds.length.toString(),
  }];

its set true/false in the appropriate methods(reserveToken\mintItemForWord) in the contract.
But how is this related -  ipfs metadata and contract?

i was trying to filter just on 'words'. adding the isPrimitive field above caused the subsequent call to fail - maybe that was a one-off, as my understanding is the metadata doesn't have a structure enforced, right?
oh i was misreading. isPrimitive is part of the info which we need a separate contract method to read/write.
https://github.com/GraphemeNFT/rarible-scaffold/blob/rarible-local/docs/metadata.json
maybe we could move to typescript, it would make it a lot easier to enforce these type structures...

မရ

trueဤအကွက်အတွက် ပုံသေဖြစ်နေသည်ဟု ကျွန်ုပ်ထင်ပါသလား ။
ဒါကြောင့် ငါက အဲဒါကို false ဆိုပြီး သတ်မှတ်တယ်။
// metadata.isPrimitive = false;

မရ> ဒါပေမယ့် ဒါက ပစ္စည်းကို တူးဖော်ရာမှာ "ဘောင်မဲ့" ပျက်ကျစေခဲ့တယ်...မရ

@keepRunning စာချုပ်ကို အပ်ဒိတ်လုပ်ရန် လိုအပ်ပါသလား။

မရ


Add @tehcman83's fixes for ksp_ver 0.23 and 0.25 from ckan-meta to netkan's build script

I wish there were a way to know if this ever comes into play.

LGTM and Thanks!!


Apply TypeLibrary after the fact

Type libraries are automatically applied when opening up binary. However you might be in the situation where you've opened a binary and applied annotations and then later you want to apply a TypeLibrary. This can be done easily with the API but isn't possible through the UI at the moment.

Blocked by https://github.com/Vector35/binaryninja-api/issues/3205

Related to #3635


SimpleCommandManager.java:97: Implement...

The puzzle 1-19160c02 from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/24d02de4e698c2d724c0a733186145a34d4b3621/src/main/java/net/shiruka/shiruka/command/SimpleCommandManager.java#L97-L97
The puzzle was created by Hasan Demirtaş on 01-Feb-21.
Estimate: 10 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-19160c02 has disappeared from the source code, that's why I closed this issue.


Add code formatting for customization docs.

CC @artem-zinnatullin, @ameliariely

@artem-zinnatullin, thanks you, kind stranger.
@ameliariely, @artem-zinnatullin, please take a look at #29 and #30 while we are at it (very small changes BTW).


Please add livechat events

Hi,
We're working on live chat integration. The live chat server has 'livechat is typing' and 'livechat has stopped typing' events.

It would be great if the rasa-webchat widget would support such events to indicate real user typing.
a) Additionally it would be great if there was an extra property on a bot_uttered message to indicate not to use the messagedelay feature (it's not really helpful as it is an extra delay)
b) Another solution could be an extra livechat_uttered event which does not trigger the messagedelay.
Would be great to apply customcss as well, is this an undocumented feature?

Hi, the first two items are not on our roadmap but we're open to PRs. For the last item, the readme has a section with css classes you can modify to change the css.


Can't install from user guide

Describe the bug
Following user guide npm install fails:
181 verbose cwd /home/marsh/v4.5.1-1-explorer-patch/zcash-explorer/assets
182 verbose Linux 5.13.0-7614-generic
183 verbose argv "/home/marsh/.nvm/versions/node/v12.19.0/bin/node" "/home/marsh/.nvm/versions/node/v12.19.0/bin/npm" "audit" "fix"
184 verbose node v12.19.0
185 verbose npm  v7.24.2
186 error code ERESOLVE
187 error ERESOLVE could not resolve
188 error
189 error While resolving<EMAIL_ADDRESS>189 error Found<EMAIL_ADDRESS>189 error node_modules/webpack
189 error   dev<EMAIL_ADDRESS>from the root project
189 error   peer webpack@">=2" from<EMAIL_ADDRESS>189 error   node_modules/babel-loader
189 error     dev<EMAIL_ADDRESS>from the root project
189 error   11 more (copy-webpack-plugin, css-loader, file-loader, ...)
189 error
189 error Could not resolve dependency:
189 error peer webpack@">=2" from<EMAIL_ADDRESS>189 error node_modules/babel-loader
189 error   dev<EMAIL_ADDRESS>from the root project
189 error
189 error Conflicting peer dependency<EMAIL_ADDRESS>189 error node_modules/webpack
189 error   peer webpack@">=2" from<EMAIL_ADDRESS>189 error   node_modules/babel-loader
189 error     dev<EMAIL_ADDRESS>from the root project
189 error
189 error Fix the upstream dependency conflict, or retry
189 error this command with --force, or --legacy-peer-deps
189 error to accept an incorrect (and potentially broken) dependency resolution.
189 error
189 error See /home/marsh/.npm/eresolve-report.txt for a full report.
190 verbose exit 1

To Reproduce
Steps to reproduce the behavior:

follow user guide
get to npm install part and fails
npm audit fix does not resolve error

Expected behavior

Here is a error log from another Ubuntu machine:
npm-debug.log
Is there a recommended build OS env?

thanks for the logs !
I primarily build this project on on mac and linux ( mainly ububtu ) without any issues. I haven't tried Windows Yet.
btw, from the 2nd log you had shared, the Node and npm version is very old. I have a few ideas to reproduce the error. I will check and get back.

Is there a specific setup for NPM and Node that works best here?
I'm only building on Ubuntu machines for now.


make_pass_decorator option to pass merged context

Currently make_pass_decorator will pass a custom context object. If you need this and the normal context, you'd typically use both @click.pass_context and the decorator you make with make_pass_decorator. There are tests that do this. This can be cumbersome if you often want features in the normal context and custom features from your own, especially in a large cli with many commands.
This adds an option to have make_pass_decorator pass the normal context merged with the provided context object, preferring the custom in conflicts since that's the one the user wrote. This allows you to pass a single context object into the functions that has the built-in features and custom features, rather than two. This can simplify mental overhead in tracking which to use for what, and provides a single place to look for what you need.
This is opt-in - defaulted to preserve current behavior.

After reviewing the decorators, I don't think this makes sense as a general behavior to be included in Click. The problem is that the provided merge function isn't general enough to cover common types of context objects. The most obvious is that the context object is often a dict. Or an object might have complex data, where overwriting the entire attribute isn't correct. Or than object might have computed properties that aren't assignable. Overall it's probably better to leave it up to a project to decide how their context objects should work.


Voices started pronouncing "dot" after every sentence all of a sudden

Discussed in https://github.com/rhasspy/piper/discussions/590

Originally posted by MonChumly September  3, 2024
Hello, I am using piper voices daily and change them regularly to test all of them (from the available database). Until yesterday everything worked perfectly, but starting today all voices (British English) I used (tested on 5 or so) started pronouncing the "." - dot - after every sentence, which is, quite frankly, unbearable.
Do you know why it happened and how to fix it please?
Thank you in advance.
Someone upstream probably edited a Piper phonemes file so the now it's voicing the '.' as "dot" instead of it acting strictly as punctuation. Interesting that '...' ellipses is still silent.

This issue appears to have been 'fixed' without a written response, so I'm self closing out. Thank You.


RHTAPINST-152: Values-Template vs. Embedded Flags

To use a local --values-template file, the user must inform --enable=false as well.

/retest


unknown module Error

Getting below error while running the k6 script mentioned in the Readme using this command:
./k6 run script.js
Build k6 with xk6 using below command:
./xk6 build --with github.com/mostafa/xk6-kafka
Error:
ERRO[0001] GoError: unknown module: k6/x/kafka
	at reflect.methodValueCall (native)
	at file:///home/ashish_22484/xk6_compiled/rtddkafka.js:55:47(22)  hint="script exception"

OS: Amazon linux2
go version:  go1.15.8 linux/amd64
& same on
OS: OSx Bigsur
go version :go1.14.15 darwin/amd64

hi @yorkmena,
Due to recent changes to the path of the k6 repo all extensions, including this one, needed an update, which was done, but no new version of the extension was released so by default xk6 will use an older version :(.

Hope this helps and that @mostafa will tag a release soon ;)

Yes it worked like a charm. Thanks :)

Thanks @MStoykov for the fix and the comment.
@yorkmena I've drafted a released as v0.2.0.

I'm still getting this problem .
time="2021-07-27T18:42:18Z" level=error msg="unknown module: k6/x/kafka\n\tat reflect.methodValueCall (native)\n\tat file:///home/scripts/test_json.js:65:65(26)\n" hint="script exception"
go version go1.16.4 linux/amd64

@MStoykov any suggestions?

@Schachte
You are probably trying to use the k6 installed on your system, rather than the xk6 compiled one that is available in the same directory you tried to build the extension in. This is the log of my build:
$ xk6 build --with github.com/mostafa/xk6-kafka@latest
2021/07/28 09:58:34 [INFO] Temporary folder: /tmp/buildenv_2021-07-28-0958.404706834
2021/07/28 09:58:34 [INFO] Writing main module: /tmp/buildenv_2021-07-28-0958.404706834/main.go
2021/07/28 09:58:34 [INFO] Initializing Go module
2021/07/28 09:58:34 [INFO] exec (timeout=10s): ~/.gvm/gos/go1.16/bin/go mod init k6
go: creating new go.mod: module k6
go: to add module requirements and sums:
	go mod tidy
2021/07/28 09:58:34 [INFO] Pinning versions
2021/07/28 09:58:34 [INFO] exec (timeout=0s): ~/.gvm/gos/go1.16/bin/go get -d -v go.k6.io/k6
go: downloading go.k6.io/k6 v0.33.0
go: downloading github.com/fatih/color v1.11.0
go: downloading golang.org/x/net v0.0.0-20210428185458-6f5299370f2b
go: downloading github.com/klauspost/compress v1.12.2
go: downloading google.golang.org/grpc v1.37.1
go: downloading github.com/tidwall/gjson v1.8.0
go: downloading github.com/golang/snappy v0.0.3
go get: added go.k6.io/k6 v0.33.0
2021/07/28 09:58:47 [INFO] exec (timeout=0s): ~/.gvm/gos/go1.16/bin/go get -d -v github.com/mostafa/xk6-kafka@latest
go: downloading github.com/mostafa/xk6-kafka v0.4.0
go get: added github.com/mostafa/xk6-kafka v0.4.0
2021/07/28 09:58:55 [INFO] Build environment ready
2021/07/28 09:58:55 [INFO] Building k6
2021/07/28 09:58:55 [INFO] exec (timeout=0s): ~/.gvm/gos/go1.16/bin/go mod tidy
2021/07/28 09:58:55 [INFO] exec (timeout=0s): ~/.gvm/gos/go1.16/bin/go build -o ~/personal/xk6-kafka/k6 -ldflags -w -s -trimpath
2021/07/28 09:59:22 [INFO] Build complete: ./k6
2021/07/28 09:59:22 [INFO] Cleaning up temporary folder: /tmp/buildenv_2021-07-28-0958.404706834

And this is the result:
$ ls
assets   avro.go           consumer.go  go.mod  **k6**       producer.go  schemaRegistry.go  stats.go
auth.go  configuration.go  errors.go    go.sum  LICENSE  README.md    scripts            topic.go

So, if I use this command, it'll run with the compiled xk6-kafka extension and as you see it'll raise an error, because I don't have Kafka running:
$ ./k6 run scripts/test_json.js

          /\      |‾‾| /‾‾/   /‾‾/
     /\  /  \     |  |/  /   /  /
    /  \/    \    |     (   /   ‾‾\
   /          \   |  |\  \ |  (‾)  |
  / __________ \  |__| \__\ \_____/ .io

  execution: local
     script: scripts/test_json.js
     output: -

  scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
           * default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)

**Failed to write message: dial tcp [::1]:9092: connect: connection refused[...]**

running (00m00.8s), 0/1 VUs, 0 complete and 1 interrupted iterations
default ✗ [--------------------------------------] 1 VUs  00m00.8s/10m0s  0/1 iters, 1 per VU
WARN[0001] No script iterations finished, consider making the test duration longer

     ✗ is sent
      ↳  0% — ✓ 0 / ✗ 100

     █ teardown

     checks.........................: 0.00% ✓ 0   ✗ 100
     data_received..................: 0 B   0 B/s
     data_sent......................: 0 B   0 B/s
     iteration_duration.............: avg=434.53µs min=434.53µs med=434.53µs max=434.53µs p(90)=434.53µs p(95)=434.53µs
     kafka.writer.dial.count........: 0     0/s
     kafka.writer.error.count.......: 0     0/s
     kafka.writer.message.bytes.....: 0 B   0 B/s
     kafka.writer.message.count.....: 0     0/s
     kafka.writer.rebalance.count...: 0     0/s
     kafka.writer.write.count.......: 0     0/s

@mostafa Perfect, once I reference the binary from my gopath, it seems? to be correct, but I can't get past this error:
ERRO[0000] TypeError: Value is not an object: undefined

when running this SASL test.

@Schachte
The lensesio/fast-data-dev image doesn't support SASL, instead follow the instructions I outlined in this commit message. Plus, if you can give me an excerpt of your script, I'd be more than happy to help.

hi , If we have to use two binaries
For example our custom go extension & other xk6 extension
then getting a problem one binary is replaced by other

@anuj-sharma-ibm
You can pass multiple --with repo-address to xk6 command, and you'll have one binary with multiple extensions compiled into it.

@ShabdaDev
You are probably trying to run the k6 binary you installed on your system, rather than the one you built with xk6.
Trying running ./k6 run kafka.js in the same directory you run xk6.


Purge unnecesary tracked files.

Lighten the repo a bit by removing automatically generated files created by Android Studio.
Specifically /gradle, any /build, and /.idea directories.
These files will automatically get generated on the PC when a contributor pulls the repo.

I didnt saw your pull request when I push the commit, and now it wont let me merge the pull request due to some file conflicts, I am not sure what is happening right now.

This Pull Request did not have any conflicts when I made it. So it must mean you probably made changes locally and pushed to the repo. Those changes now conflict with this Pull Request.
I might have to pull your new changes to my machine and redo the Pull Request.

I am confused, but it let me commit now.

@BennyKok All good now. Merge merge merge! 👍

Thank you very much.


math.score numeric error

Hi,
I'm trying to use the math.score function, but it throws me an error:
math.score(maf,vafCol="VAF")
Error in vaf - median(vaf) : non-numeric argument to binary operator

I don't know where this is happening, since originally it looks like you are converting the t_vaf column into something numeric anyways before that step.

Can you try now?

Thx - works!

I'm having a similar issue with MATH.score.

math.score(maf = PCAgz, vafCutOff = 0.075)
t_vaf field is missing, but found t_ref_count & t_alt_count columns. Estimating vaf..
Error in t_ref_count + t_alt_count :
non-numeric argument to binary operator

Hello @AMLove628
Sorry for the delay. I have fixed the issue now. Could you please try again and let me know if this helps? You will have to install from GitHub.

Aye! Thank you.
I will try Tuesday!
From: Anand Mayakonda<EMAIL_ADDRESS>Reply-To: PoisonAlien/maftools<EMAIL_ADDRESS>Date: Sunday, August 9, 2020 at 3:30 AM
To: PoisonAlien/maftools<EMAIL_ADDRESS>Cc: "Love, Anna"<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PoisonAlien/maftools] math.score numeric error (#429)
Hello @AMLove628https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAMLove628&data=02|01|anna.love%40vumc.org|c5ef41d07aaf43bc403008d83c3e6e26|ef57503014244ed8b83c12c533d879ab|0|0|637325586117792163&sdata=R2DXcOdwIDSRYFxN1swUbuBUXCmxnIWrG9qPeQUreBs%3D&reserved=0
Sorry for the delay. I have fixed the issue now. Could you please try again and let me know if this helps? You will have to install from GitHub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPoisonAlien%2Fmaftools%2Fissues%2F429%23issuecomment-671023937&data=02|01|anna.love%40vumc.org|c5ef41d07aaf43bc403008d83c3e6e26|ef57503014244ed8b83c12c533d879ab|0|0|637325586117792163&sdata=19rCRZFYdOkqRY54FL4EAgZ41NsiYPNI1PhCrm3H0Dg%3D&reserved=0, or unsubscribehttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQQC3OBMYF6GZOSSIVHQU3LR7ZNBFANCNFSM4JSH3SSA&data=02|01|anna.love%40vumc.org|c5ef41d07aaf43bc403008d83c3e6e26|ef57503014244ed8b83c12c533d879ab|0|0|637325586117802151&sdata=hnXrmHtwKgBJVXIIvHMbI7T9WMTVS%2BLt7uurfgya0fs%3D&reserved=0.
[ WARNING : This email came from an external source. Please treat this message with additional caution.]

Math.Score works now! Thank you!
I'm curious if there is a simple way to filter MAFs using tumor sample barcode. I have 186 samples that I'm interested in pulling out and analyzing separately.


UnnecessaryAbstractClass does not see member variables

Hello,
I would like to report an issue,
the UnnecessaryAbstractClass check is to strict, ie:
I am getting warning An abstract class without a concrete member can be refactored to an interface.
for the code
abstract class SomePresenter<out F: Form>(val form: F) {
    abstract fun submit()
}

but if I refactor and trick detekt seeing val form it passes evaluation:
abstract class SomePresenter<out F: Form>(f: F) {
    val form: F = f
    abstract fun submit()
}

Looks like it does not see member variable in the first example, it is both valid in kotlin
The version I am running is RC5-3

Closed by #535


'NODE_ENV' is not recognized as an internal or external command, operable program or batch file. Windows

the back-end will not run on Windows, after following all the steps due to the error

'NODE_ENV' is not recognized as an internal or external command, operable program or batch file.

only way to get back-end to run is to edit the script source in package.json to

"scripts": {
"start": "npm run start:local",
"start:local": "SET NODE_ENV=local & nodemon index.js",
"start:dev": "SET NODE_ENV=development & nodemon index.js",
"start:prod": "SET NODE_ENV=production & node index.js",
"test": "jest --coverage",
"seed": "node scripts/seed.js",
"update-permissions": "node scripts/update-permissions.js",
"precommit": "lint-staged",
"lint": "eslint --fix **/*.js ./"
},

as explained here

@nosizejosh would you mind testing this module to see if it works for you (with the original script command)?

@JKHeadley  which module?

@nosizejosh sorry, forgot to link it:
https://github.com/laggingreflex/win-node-env

Lol it's been like six years but if anyone is still stuck on this check this link


Show instructions on status page when no tracked systems have been added yet

Probably a short explanation blurb and links to settings to set up the switcher or the add system page to add a system

Added in 2c776910


fix(docker): optimize docker build by better utilizing build cache

SUMMARY
The chown -R command causes the /app directory contents from previous COPY's to be copied up to the current layer. This results in additional redundant image size.
By using COPY --chown we can reduce the image size by ~130 MB.
Also

remove duplicate COPY setup.py MANIFEST.in README.md /app/
adjust indentation
fix pip install option from --no-cache to --no-cache-dir

TESTING INSTRUCTIONS
docker build -t superset --no-cache .
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Hi @villebro @dpgaspar! Would you like to review this interesting PR?


Development

Fixed issue #750 for all delete functions in the grid are now post functions only.
Implemented configuration for email verification and email subscription.

Added more bugs than fixes.


Redirects not honoured

Our source repository is redirecting some get requests. The Maven dependency plugin get goal reveals what is happening. The redirect is quite complex - ending up on a S3 bucket. It includes the authentication headers and the requested resource as query parameters. The requests library returns 400 rather than a 30x code. It also ignores the redirect. This stops the process from copying resources that have moved to the redirected location.
### Tasks
- [ ] https://github.com/microsoft/mvnfeed-cli/pull/21

I raised PR#21 to address this


feat(Kakfa): support self-signed ssl cert. for Kafka bootstrap server

This feature is meant to support Kafka bootstrap server with self signed SSL certificate. There is the use case that the Kakfa bootstrap Server with the self-signed SSL. With this implementation, a developer will only need to update the cert's truststore, keystore JKS file location and related password in the GMS docker.env
I also added features that a user can custom its own Kafka topic. I don't think the current implementation actually supports it, even though the doc said so.
Checklist

[X] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[X] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Closed due to lack of response. If the suggested envs didn't work, please feel free to reopen!


inital admin user with random password

create an inital admin user with random password

is configurable in https://github.com/owncloud/ocis-charts/blob/ca8c8951fa479fb8574188b9b4438bdf7f5d6bda/charts/ocis/README.md?plain=1#L277-L289


Linking against folly:x64-windows-static(-md) caused standard library feature-test macros undefined

Describe the bug
Once I link against folly, I can't use any c++20/23 libraries, like <concepts>, <print>.
I've tried to include <print> without using print function, it didn't cause problem. But when std::println was used, there would be an error: namespace std has no member println. Removing the folly linkage in CMakeLists made print usable. I've checked the <print> header which showed __cpp_lib_print undefined.
Environment

OS: Window 11
Compiler: MSVC 19.39.33519

To Reproduce
Steps to reproduce the behavior:

./vcpkg install folly --triplet=x64-windows-static or
./vcpkg install folly --triplet=x64-windows-static-md
set VCPKG_TARGET_TRIPLET to x64-windows-static or x64-windows-static-md in CMakePresets.json

CMakeLists.txt:
cmake_minimum_required(VERSION 3.28)
project(test)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(folly CONFIG REQUIRED)
add_executable(test PRIVATE main.cpp)
target_link_libraries(test PRIVATE Folly::folly)

main.cpp:
#include <print>

#include <folly/container/F14Map.h>

int main() {
  folly::F14FastMap<int, int> tbl;
  std::println("test");
}

Expected behavior
Features like std::print can be used when linking against folly.
Additional context
While using x64-windows-static package, I've set CMAKE_MSVC_RUNTIME_LIBRARY to MultiThreaded.
Build output shows warning D9025: overriding /std:c++latest with /std:c++17.

This is due to folly publicly overwriting some of MSVC's flags on interfaces.
You can use this patch as a hot-fix.

This has nothing to do with vcpkg but with folly which publicly overwrites some of MSVC's flags on interfaces.
You can use this patch as a hot-fix.

Thanks for your information! It solves the issue.


Azure AD Document Link Missing Issue

This part of the article missing the link to follow up the hands-on lab, the missing link is "https://samltoolkit.azurewebsites.net/"
Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
Azure AD
[x] A link to the published documentation article that you have feedback about.
https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/saml-toolkit-tutorial#configure-azure-ad-saml-toolkit-sso
[x] Clear, specific feedback that the author can act on.
This part of the article missing the link to follow up the hands-on lab, the missing link is "https://samltoolkit.azurewebsites.net/"

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[x] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

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

ID: 0800632e-a9b3-5f96-f290-207c7ef6be88
Version Independent ID: eaa3c7a0-76d5-433f-9ac3-bc72638c0ff3
Content: Tutorial: Azure AD SSO integration with Azure AD SAML Toolkit - Microsoft Entra
Content Source: articles/active-directory/saas-apps/saml-toolkit-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

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

Hi @yuhenghub
Could you please confirm which part of the article is missing the link "https://samltoolkit.azurewebsites.net/" so that we can work upon enhancing the document. Thanks

@yuhenghub
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


[Image Resizer] Blurry resized images are produced by image resizer

ℹ Computer information

PowerToys version: 0.25.0
PowerToy Utility: Image Resizer
Running PowerToys as Admin: Tried both ways
Windows build number: [run "winver"] 20H2 Build 19042

📝 Provide detailed reproduction steps (if any)
Try to resize image in png format, I didn't tried jpg
✔ Expected result
Resized Images should be sharp (as sharp as original image)
❌ Actual result

It produces slightly blurry images, details were lost.
I tried both Increasing and decreasing the size.
I didn't tried jpg format images

Is it possivle to send the original and the resized pictures?

resized images sample.zip
I uploaded some samples for resized images, take a look at this zip.

On my device the original is also very blurry so it gets even blurrier if you make it bigget

@Aaron-Junker Checkout the above zip, I have renamed all the files to make it easy to understand.

I was trying to resize some icon png's, to smaller size, if enlarged files were blurry, that's ok, BUT resizing to smaller size should not make it blurred. I guess that makes sense. right!

That' very misterious. Because on my phone the origianal file is also as blurry as the other. So I think its a error in the compression or something like that.

@Aaron-Junker Try viewing on desktop. Since file size if very small (71 x 71) , it would look blurry on phone.

I would guess this is because of the algorithm that is used in the resize action, and/or the displaying of the icons in File Explorer. The first thing would be related to #6764

I don't know much about Image resizing algorithms, but simple fact is What's the use of this image resizer if resized images are blurred?

Is "blurry" referring to "low resolution"?

Are you using preset formats or custom ones?

@alannt777

No, "blurry" doesn't mean "low resolution".  Blurry means "without sharpness/details (whatever you wanna call it)"
Point to be noted: I'm not concerned about blurry images when enlarged (because they will loose sharpness obviously), BUT my issue is regarding the blurriness when resizing to lower resolutions,
For example in above screenshots, Resizing image from 71 x 71 to 64 x 64 or even by 50%. They should be sharp.

I used the custom ones since there is no preset for resolutions less than 71 x 71

@ectoanonymous even shrinking an image, you'll lose fidelity.  Reducing a 1px line to a subpixel will make something look blurry.
If you really want perfection, use Photoshop or another pro tool.  For something like this, do it via vector and honestly, at a certain point, you actually do need to create another custom icon.  PowerToys had to do this for smaller icons as well.


"Unable to open object (object 'dense_1' doesn't exist)"

I created a convolutional neural network in keras and when I run
h5_to_txt(weights_file_name='model2.h5', output_file_name='model2.txt')
I get the following error:

KeyError                                  Traceback (most recent call last)
 in
----> 1 h5_to_txt(weights_file_name='model2.h5', output_file_name='model2.txt')
/media/nas/x21957/.../KerasWeightsProcessing/convert_weights.py in h5_to_txt(weights_file_name, output_file_name)
211                 # get weights and biases out of dictionary
212                 layer_weights = np.array(
--> 213                     model_weights[name][name]['kernel:0']
214                 )
215
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
/media/nas/x21957/data/reinhardt/py3_venv/lib/python3.7/site-packages/h5py/_hl/group.py in getitem(self, name)
262                 raise ValueError("Invalid HDF5 object reference")
263         else:
--> 264             oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
265
266         otype = h5i.get_type(oid)
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/h5o.pyx in h5py.h5o.open()
KeyError: "Unable to open object (object 'dense_1' doesn't exist)"
Can someone help?

Did you give a name to the layers in keras? From my experience, h5_to_txt so far only works if you don't label the individual layers.

No, I did not label any layer.
I added them via
model.add(Dense,...)


add singularity def file

Adds a singularity definition file

Well done!

thanks, we'll see if it actually is useful for people - Singularity images seem a lot more difficult to build


Saga runs twice for a single action

I have a saga to handle like requests.  The user clicks a button to toggle the liked status of a photo.
The saga listens for an action of type SUBMIT_LIKE.  My problem is that the submitLikeSaga is running twice for each SUBMIT_LIKE action.
e.g. In the api-error case one SUBMIT_LIKE action triggers two api calls and four RECEIVE_LIKE actions.
(using react-boilerplate if that helps.)
export function* submitLikeSaga(action) {

  // optimistically update the UI
  // action shape: {
  //    type: RECEIVE_LIKE,
  //    like: {id: 1, liked: true}
  //  }
  yield put(receiveLike(action.like));

  // POST like data to api
  const response = yield call(
    request,
    `${API_ENDPOINT}/user_likes.json`,
    {
      method: 'POST',
      headers: {
        Authorization: `Bearer ${action.token}`,
        Accept: 'application/json',
        'Content-Type': 'application/json',
      },
      body: JSON.stringify(action.like),
    }
  );

  // if api call failed, reverse change made to UI
  if (response.err) {
    yield put(receiveLike({
      id: action.like.id,
      liked: !action.like.liked,
    }));
  }
}

export function* watchSubmitLike() {
  yield* takeEvery(SUBMIT_LIKE, submitLikeSaga);
}

// All sagas to be loaded
export default [
  watchFetchUsers,
  watchSubmitLike,
];

ProfileGrid.js
const ProfileGrid = ({
  users,
  submitLike,
  token,
}) =>

    {users.map((user, i) => (

        <GridTile
          title={user.username}
          actionIcon={<ActionIcon
            onIconClick={() => { submitLike(user.id, !user.liked, token); }}

            isActive={user.liked}
            activeColor="yellow"
            defaultColor="white"
          />}
        >

        </GridTile>

    ))}

;

ActionIcon.js
const ActionIcon = ({

  onIconClick,
  isActive,
  activeColor,
  defaultColor,
}) =>
  <IconButton onClick={onIconClick} >
    <StarBorder
      color={isActive ? activeColor : defaultColor}
    />
  </IconButton>;

That's probably cause you are running somehow watchSubmitLike twice. Could you post a snippet with the moment you are starting your root saga and this one?

@Andarist
store.js
/**
 * Create the store with asynchronously loaded reducers
 */

import { createStore, applyMiddleware, compose } from 'redux';
import { fromJS } from 'immutable';
import { routerMiddleware } from 'react-router-redux';
import createSagaMiddleware from 'redux-saga';
import createReducer from './reducers';

const sagaMiddleware = createSagaMiddleware();
const devtools = window.devToolsExtension || (() => (noop) => noop);

export default function configureStore(initialState = {}, history) {
  // Create the store with two middlewares
  // 1. sagaMiddleware: Makes redux-sagas work
  // 2. routerMiddleware: Syncs the location/URL path to the state
  const middlewares = [
    sagaMiddleware,
    routerMiddleware(history),
  ];

  const enhancers = [
    applyMiddleware(...middlewares),
    devtools(),
  ];

  const store = createStore(
    createReducer(),
    fromJS(initialState),
    compose(...enhancers)
  );

  // Extensions
  store.runSaga = sagaMiddleware.run;
  store.asyncReducers = {}; // Async reducer registry

  // Make reducers hot reloadable, see http://mxs.is/googmo
  /* istanbul ignore next */
  if (module.hot) {
    module.hot.accept('./reducers', () => {
      System.import('./reducers').then((reducerModule) => {
        const createReducers = reducerModule.default;
        const nextReducers = createReducers(store.asyncReducers);

        store.replaceReducer(nextReducers);
      });
    });
  }

  return store;
}

asyncInjectors.js
import { conformsTo, isEmpty, isFunction, isObject, isString } from 'lodash';
import invariant from 'invariant';
import warning from 'warning';
import createReducer from '../reducers';

/**
 * Validate the shape of redux store
 */
export function checkStore(store) {
  const shape = {
    dispatch: isFunction,
    subscribe: isFunction,
    getState: isFunction,
    replaceReducer: isFunction,
    runSaga: isFunction,
    asyncReducers: isObject,
  };
  invariant(
    conformsTo(store, shape),
    '(app/utils...) asyncInjectors: Expected a valid redux store'
  );
}

/**
 * Inject an asynchronously loaded reducer
 */
export function injectAsyncReducer(store, isValid) {
  return function injectReducer(name, asyncReducer) {
    if (!isValid) checkStore(store);

    invariant(
      isString(name) && !isEmpty(name) && isFunction(asyncReducer),
      '(app/utils...) injectAsyncReducer: Expected `asyncReducer` to be a reducer function'
    );

    store.asyncReducers[name] = asyncReducer; // eslint-disable-line no-param-reassign
    store.replaceReducer(createReducer(store.asyncReducers));
  };
}

/**
 * Inject an asynchronously loaded saga
 */
export function injectAsyncSagas(store, isValid) {
  return function injectSagas(sagas) {
    if (!isValid) checkStore(store);

    invariant(
      Array.isArray(sagas),
      '(app/utils...) injectAsyncSagas: Expected `sagas` to be an array of generator functions'
    );

    warning(
      !isEmpty(sagas),
      '(app/utils...) injectAsyncSagas: Received an empty `sagas` array'
    );

    sagas.map(store.runSaga);
  };
}

/**
 * Helper for creating injectors
 */
export function getAsyncInjectors(store) {
  checkStore(store);

  return {
    injectReducer: injectAsyncReducer(store, true),
    injectSagas: injectAsyncSagas(store, true),
  };
}

Still dont know how are you running this - getAsyncInjectors. Break yourself on this line - sagas.map(store.runSaga); and it will be reached probably at least 2 times with the mentioned watchSubmitLike saga. Check why is that and you will probbaly know how to fix this.

You don't have a rootSaga you are calling Sagamiddleware.run on every single saga you created.
/**
 * Inject an asynchronously loaded saga
 */
export function injectAsyncSagas(store, isValid) {
  return function injectSagas(sagas) {
    if (!isValid) checkStore(store);

    invariant(
      Array.isArray(sagas),
      '(app/utils...) injectAsyncSagas: Expected `sagas` to be an array of generator functions'
    );

    warning(
      !isEmpty(sagas),
      '(app/utils...) injectAsyncSagas: Received an empty `sagas` array'
    );

    sagas.map(store.runSaga);
  };
}

Instead of:
sagas.map(store.runSaga);

Try this:
store.runSaga(function* () {
  yield sagas;
});

@neurosnap Thanks for the tip.  I got it to work by changing it to match the style of other sagas in react-boilerplate. Closing this since it was never an issue with redux-saga.
export function* watchSubmitLike() {
  /* eslint-disable no-constant-condition */
  while (true) {
    const action = yield take(SUBMIT_LIKE);
    yield call(submitLikeSaga, action);
  }
  /* eslint-enable no-constant-condition */
}

export function* likeData() {
  // Fork watcher so we can continue execution
  const watcher = yield fork(watchSubmitLike);

  // Suspend execution until location changes
  yield take(LOCATION_CHANGE);
  yield cancel(watcher);
}

// All sagas to be loaded
export default [
  watchFetchUsers,
  likeData,
];

Just faced this issue, however I realised that my sagas were being instantiated twice instead of being called twice by LOCATION_CHANGE.
Turns out, it's a bug from react-router-redux, leaving it here so that someone finds it.

I solved the issue by cancel takelatest watcher.
Before:
export function* likeData() {
yield takelatest(watchSubmitLike);
}
After:
export function* likeData() {
const watcher = yield takelatest(watchSubmitLike);
yield take(LOCATION_CHANGE);
yield cancel(watcher);
}

@yummyelin thats the way to go


adding a tooltip for TOPP in installation-on-windows.md

…try out tooltip

Describe the change
Attempting to add a tooltip to the installation-on-windows.md page. Trying out one example. If it works and everyone is happy with the result, I'll add them to the rest of the terms.
Ref: #68

PR checklist

[x] I have added description of the change I'm proposing in the OpenMS Documentation.
[x] I have read and followed OpenMS Documentation Contributing guidelines.
[ ] I have attached a screenshot of the relevant area after this change.
[ ] CHANGELOG.md is updated.
[ ] I have added my name in CONTRIBUTING.md.

Given that this is a small change, and you aren't happy with the commits, I'll create a new branch and PR.

On Wed, Jun 8, 2022 at 4:47 PM greengypsy @.***> wrote:

Given that this is a small change, and you aren't happy with the commits, I'll create a new branch and PR.

commits are fine; we can squash and merge. the extra additions that
can't be reasoned with this change should be added separately.
thanks, closing.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID: @.***>


Augmenting upstream catalogs with additional context

The catalog in many contexts is the source of truth for requirements that are intended for accreditation/compliance.
If possible, we want to prevent the need from forking catalogs for the sake of established source of truth - but we need to augment the data with other information that can provide context for reporting and other pertinent information.
How will Lula provide optionality to extend/augment a source-of-truth catalog artifact with identifiers/data that allows for establishing a "whole story".
Example:
In order to generate reporting data for the amount of controls satisfied vs not-satisfied - we need to know what the total controls are - but we also need to distinguish between different types of controls. Optimally these would be identifiers placed in a catalog/profile.
How might Lula augment without forking?

This may be entirely accomplishable by additional context in the component-definitions

Going back on the statement above - using component-definitions lacks full scope necessary to determine required reporting.
Need to establish "layers" of reporting involved - "total context" may dictate producing all or only targeted information:

With a catalog reference and an SSP - Lula should be able to report total controls that exist.
With a catalog reference and an Assessment-Results - Lula should be able to report total controls satisfied vs not-satisfied
Others?

With a catalog reference, we should be able to use a specified field (likely under props) per control to establish other reporting figures.

example: control "type" -> technical, admin, policy, etc -> report % technical controls satisfied vs not satisfied
Layered onto this functionality would be a profile that performs some modification to the catalog reference.

With a catalog reference and a POAM - Lula should be able to report left over risk, remediation steps, and timelines?

Based on the scenarios listed - I believe the ability to report based on some specified tag should be a subset feature of more generic reporting.

Given the original statement of work in the body of the issue #67 will provide the profile implementation required to augment catalogs.
#67 is not strictly required for the development of reporting generically & with some specified tags - but would provide some critical functionality to supporting the intent of a component-definitions control-implementation.source field.


examplesite install

What are the steps to install a theme from the exampleSite? There seems to be no relevant instructions

Duplicate of https://github.com/CaiJimmy/hugo-theme-stack/discussions/1070


Rate Limit Not Pulling?

Howdy everyone,
hope all is well with you and yours. Not too long ago the calls for the rate limit were working. I changed apps, regenerated keys several times, and it doesn't matter how many times I configure / look at it, it seems as if my rate limits never go down. That being said, I do get rate limited. I have elevated access and I am using the following calls to check for rate limits.
`  twitter_auth_keys = {
"consumer_key"          : Auth_Codes.consumer_key,
"consumer_secret"       : Auth_Codes.consumer_secret,
"access_token"          : Auth_Codes.access_token,
"access_token_secret"   : Auth_Codes.access_token_secret
}
auth = tweepy.OAuthHandler(
twitter_auth_keys["consumer_key"],
twitter_auth_keys["consumer_secret"]
)
auth.set_access_token(
    twitter_auth_keys["access_token"],
    twitter_auth_keys["access_token_secret"]
)

api = tweepy.API(auth,wait_on_rate_limit=True,retry_count=100,retry_delay=300)

count = 100
cursor = tweepy.Cursor(api.search_tweets,
                       q = f'{query}',
                       lang = 'en',
                       result_type = 'recent',
                       count = count)
print("Query Complete")

tweet_payload = []

for tweet in cursor.items(count):
    now = datetime.now()
    current_time = now.strftime("%H:%M:%S")

    current_searches_remaining = api.rate_limit_status()['resources']['search']['/search/tweets']['remaining']
    current_search_limit = api.rate_limit_status()['resources']['search']['/search/tweets']['limit']
    max_searches = current_search_limit * .25
    #print("Checking rate limit")

    if current_searches_remaining >= max_searches:
        print("Searches Remaining: ", current_searches_remaining, "/", current_search_limit)`

When I check the JSON for api.rate_limit_status()['resources'] every single rate limit is always maxed out, even after being rate limited. Thoughts?

Another thing I noticed is that I am sharing the same rate limit across all other rate limits. Is this a new thing in 2.0?

There's other reports of this (e.g. https://twittercommunity.com/t/get-application-rate-limit-status-return-wrong-number-of-remaining-calls/175952), and I'm able to reproduce the issue, but this is a Twitter API bug, and it seems like it probably won't be fixed since it's an API v1.1 endpoint.
I'm not sure what you mean by "sharing the same rate limit across all other rate limits".
For code block usage, see https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.


Fixed #191

Also, removed extra blank lines and redundant comments. @creativepsyco

@creativepsyco thoughts?

@creativepsyco Is this fine now? I've removed the redundant comment and extra blank lines too.


CTK with VTK7, VC2015 64x, qt 5.x

Does the CTK support this configuration? If so, then can I ask to give some hint what should I change in cmake file? My tries was unsuccessful all.
Thanks

Hi,
In my previous answer, the generator should be specified as Visual Studio 14 2015 Win64 for 64-bit build.
If you would like to build with Qt5, I instead suggest to use VTK8 instead of VTK7.

can I ask to give some hint what should I change in cmake file?

To help you would have to share:

a GitHub project allowing to reproduce the problem
step to reproduce the problem (including exact list of CMake argument specified as -DNAME_OF_ARG:TYPE=Value

Hth
Jc

Hi @jcfr,
First thanks for your response.
I had already successfully compiled the VTk7.1 and even I used it with some qt projects.
But my problem started is with CTK vtk-widgets.
I  need all widgets and libs that CTK comes with, which includes:
DICOM, VTK and CTK widgets themselvs
For this,on my cmake screen (version: 3.9.4) I checked \n
CTK_BUILD_QTDESIGNER_PLUGINS
CTK_ENABLE_DICOM
CTK_ENABLE_DICOMApplicationHosting
CTK_ENABLE_PluginFramework
CTK_LIB_Visualization/VTK/widgets
CTK_LIB_Visualization/VTK/Core
CTK_LIB_Widgets
CTK_LIB_DICOM/Widgets
CTK_ENABLE_Widgets
CTK_APP_ctkCommandLineModuleExplorer
CTK_APP_ctkDICOM
CTK_APP_ctkDICOM2
CTK_APP_ctkDICOMDemoSCU
CTK_APP_ctkDICOMHost
CTK_APP_ctkDICOMIndexer
CTK_APP_ctkDICOMObjectViewer
CTK_APP_ctkDICOMQuery
CTK_APP_ctkDICOMQueryRetrieve
CTK_APP_ctkDICOMRetrieve
CTK_APP_ctkEventBusDemo
CTK_APP_ctkExampleHost
CTK_APP_ctkExampleHostedApp
CTK_APP_ctkPluginBrowser
CTK_APP_ctkPluginGenerator
[...]
I start the configuration process  by pressing the configure button, and this gives
[...]
SuperBuild - CTK => Requires Log4Qt, ## VTK, DCMTK, QtSOAP, qxmlrpc, qRestAPI, CTKData,
[...]
I found that this means, CTK will download a version of VTK (which I am not sure what it is) .
Now, the problem I have is that this vtk that is going to be downloaded during the cmake build time is not consistent with my configuration (i.e. visual studio VC++ 2015 64x, qt 5.8.0 and cmake 3.9).
Two solution that I am thinking may solve the problem is
1- force the cmake to build CTK  with installed VTK ( in my case VTK7.1 has already built and installed on my computer) instead of downloading from the git and then force CTK to use it to make widgets during compile time.
2- change the ctk cmake file(s) such that it downloads the most updated version (for example vtk8) instead of unknown pre-configured vtk version.
By considering all abovei @jcfr which method do you propose and how can I achieve?
By the way, Do I need ITK too? I do not installed the itk yet.
PS: during compile time this message shows up " microsoft c++ runtime invalid integer length modifier"
PSS: somewhere among the CTK make files I saw that that it has been written that the vtk-widgets has not been tested on VTK7. Please correct me if it is not.
Thanks in advance

CTK will download a version of VTK (which I am not sure what it is) .

To ensure CTK uses a VTK version consistent with you project, make sure to configure it setting -DVTK_DIR:PATH=/path/to/your/VTK-build

Hi again @jcfr
Thanks one more time.  I have done so (VTK_DIR is now added and path is set on VTK 8.0.1 release built), and most of the problems have been solved.
But still I got these new but few errors:
Severity	Code	Description	Project	File	Line	Suppression State
Error		Undefined interface [C:\CTK\CTK-bin\CTK-build\Libs\PluginFramework\CTKPluginFramework.vcxproj]	CTK	C:\CTK\CTK-src\Libs\PluginFramework\ctkBasicLocation_p.h	35
and
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2039	'setImageData': is not a member of 'ctkVTKSliceView' [C:\CTK\CTK-bin\CTK-build\Libs\Visualization\VTK\Widgets\CTKVisualizationVTKWidgets.vcxproj]	CTK	C:\CTK\CTK-bin\CTK-build\Libs\Visualization\VTK\Widgets\moc_ctkVTKSliceView.cpp	150
Do you have any idea what should I change?
Thanks

I think the above problems have something to do with QtVTKWidget and/or QTVTKWidgetPlugin
Should I have to give its path to CMake
( i.e. C:\VTK\VTK-8-install\plugins\designer\QVTKWidgetPlugin.dll)
because I see this weird message by CMake:
CMake Warning (dev) at C:/Qt/Qt5.8.0/5.8/msvc2015_64/lib/cmake/Qt5/Qt5ModuleLocation.cmake:4 (set):
Policy CMP0053 is not set: Simplify variable reference and escape sequence
evaluation.  Run "cmake --help-policy CMP0053" for policy details.  Use the
cmake_policy command to set the policy and suppress this warning.
For input:
'${_qt5_install_prefix}/Qt5@module@/Qt5<EMAIL_ADDRESS>
the old evaluation rules produce:
'C:/Qt/Qt5.8.0/5.8/msvc2015_64/lib/cmake/Qt5/Qt5Config.cmake'

but the new evaluation rules produce:
'C:/Qt/Qt5.8.0/5.8/msvc2015_64/lib/cmake/Qt5@module@/Qt5<EMAIL_ADDRESS>
Using the old result for compatibility since the policy is not set.
Call Stack (most recent call first):
C:/Qt/Qt5.8.0/5.8/msvc2015_64/lib/cmake/Qt5/Qt5Config.cmake:25 (include)
CMake/ctkMacroSetupQt.cmake:50 (find_package)
CMakeLists.txt:418 (ctkMacroSetupQt)
This warning is for project developers.  Use -Wno-dev to suppress it.

Hi,

Error C2039 'setImageData': is not a member of 'ctkVTKSliceView'

Did you do  a clean build of CTK ?
If you build against a newer VTK, it should not try to compile this code path.
See https://github.com/commontk/CTK/blob/695495c880e033318a383cd86f243fedbe35cebb/Libs/Visualization/VTK/Widgets/ctkVTKSliceView.h#L104-L108

Error Undefined interface [C:\CTK\CTK-bin\CTK-build\Libs\PluginFramework\CTKPluginFramework.vcxproj] CTK C:\CTK\CTK-src\Libs\PluginFramework\ctkBasicLocation_p.h 35

Not sure what is the issue here.

CMake Warning (dev) at C:/Qt/Qt5.8.0/5.8/msvc2015_64/lib/cmake/Qt5/Qt5ModuleLocation.cmake:4

This warning can be ignored.

Hi,
Ye, I saw this VTK_MAJOR_VERSION, but I am not sure how to pass it to the CMake. Better to say, should I have to make this variable too?
I just added the VTK_DIR. BTW, I did not installed dcmtk neither ITK, do I have to?
Thanks

To move forward with your issue, it suggest that you provide a set of command allowing to reproduce the problem.
I suggest you copy here the set of commands used to download/configure/build VTK, and the set of command to download/configure/build CTK.
Using ccmake or cmake-gui is useful to quickly try option but it is not helpful to get a set command line options allowing to reproduce a particular build.
Consider providing here command line of the form:
git clone git://github.com/kitware/VTK
mkdir VTK-build
cd VTK-build
cmake -DQt5_DIR=/path/to/Qt5/... -DOption1:BOOL=ON .... -G "Visual Studio 14 2015 Win64" ../VTK
cmake --build . --config Release -- /m

git clone git://github.com/commontk/CTK
mkdir CTK-build
cd CTK-build
cmake -DQt5_DIR=/path/to/Qt5/... -DVTK_DIR:PATH=/path/to/VTK-build -DOption1:BOOL=ON .... -G "Visual Studio 14 2015 Win64" ../CTK
cmake --build . --config Release -- /m

I did not installed dcmtk neither ITK, do I have to?

If you  enable DICOM support in CTK, DCMTK will indeed be useful
Similarly if you enable the ImageProcess/ITK/Core module in CTK, ITK will be needed.
Looking at how CTK is configured in Slicer may provide you with useful information: https://github.com/Slicer/Slicer/blob/master/SuperBuild/External_CTK.cmake

Out of curiosity, are you trying to integrate CTK in this project: https://github.com/altaybrusan/SimpleScanner

First, thanks for your quick return :)
Ye I want to integrate it to this project (at first step)
After a non-stop trail for a week
I got this error now
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2653	'QVTKWidget': is not a class or namespace name [C:\CTK\CTK-build\CTK-build\Libs\Visualization\VTK\Widgets\CTKVisualizationVTKWidgets.vcxproj]	CTK	C:\CTK\CTK-build\CTK-build\Libs\Visualization\VTK\Widgets\moc_ctkVTKChartView.cpp	199
I am not sure if it has something to do with openGL or openGL2 (my VTK backend)
If you have any other suggestion Ill give it a try
Thanks

I have cloned the VTK8.0.1 repository into VTK-src folder then using CMake I build it into  VTK-bin then using visual studio I started the "BUILD-ALL" project after successful build, I run the INSTALL project to put everything into  VTK-install folder
Then, as you said I added VTK_DIR and point it to the VTK-install folder
It did not work, changed it to the VTKbin, again failed and finally VTKsrc but failed again.
I also found this   CTK_USE_SYSTEM_VTK from the slicer template that you sent.
It forces the VTK_DIR to use the C:\VTK\VTK-8-install\cmake.
In all cases  QVTKWidget is not found.
❌
PS: I have set the parameters as slicer example.

Not yet actually, I just recently found the CTK and just playing around to figure it out. But Ill upload a version.
Thanks for your time and commitment

xref #777
To summarize, a newer version of Qt should be used.

Hi, altaybrusan, when i compile CTKPluginFramework use vs2015 ，i got this error, D:/VCTestProject/CTK/Libs/PluginFramework/ctkBasicLocation_p.h(35): error : Undefined interface
and then i modify the code in ctkBasicLocation_p.h，
change
#include <service/datalocation/ctkLocation.h>
to
absolute path
then，compile and pass
i think that the cmake  could not find the containing path in CTKPluginFramework project，but i don't know how to modify the makefile


[BUG] Files in teaminfo folder which are not .yamls break stuff

What is the bug?
.
Expected Behaviour
.
How to Reproduce
.
Error message
something causes this as well
[12:56:18 INFO]: Triassic issued server command: /clan top
[12:56:18 WARN]: [BetterTeams] Plugin BetterTeams v4.6.1 generated an exception while executing task 2739550
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "teams[i]" is null
at com.booksaw.betterTeams.commands.team.TopCommand$1.run(TopCommand.java:50) ~[BetterTeams-4.6.1.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.3.jar:git-Purpur-1906]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.3.jar:git-Purpur-1906]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.3.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Output of /teama version
.
Additional Information
No response

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.


Allow channel to be selected by name instead of server id

Video and audio does not work when doing this


Updated frontend: fixed new watcher expression input

Ok. I'm ready to merge this pr. Please squash changes.

squashed

squashed

Landed as 7d34ad41bd21315f1239e2372b35bac10a4cde60.


add steps to debug model-driven apps on Windows devices

add steps to debug model-driven apps on Windows devices

I don't know how to add the images. but the content is added

Closing in favor of https://github.com/MicrosoftDocs/powerapps-docs-pr/pull/7866


The game is inactive when the window is inactive.

This isn't really an issue, pretty good that it does this but there's only one issue with it.. If you split your screen for 2 browsers to test your game, and you want to send over information to the other and want to see it happen (simulating clients on a server), you can't do this as that window is frozen until you actually click on the window to make it active again, however this makes the other browser inactive again..
Is there a possibility to temporary hide this, or some type of debug mode to disable that freezing?

game.stage.disableVisibilityChange = false


[Bug]: Contribution Page issue

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Contribution page is not linked with the main page of website. It can be added to footer so that navigation could be possible for contribution page.
UI needs improvement of the page.
Header and footer must be added to the page.
Making the page responsive.
Expected behavior
None
Add ScreenShots

On which device are you experiencing this bug?
Windows
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

@apu52 @itsekta ,
Please assign this issue to me.
Thank You!


Updated naming conventions from condense to dense

Updated naming conventions so that variable/type/function references are called "dense" rather than "condense"

Codecov Report

Merging #26 (9223dea) into main (5b25b6a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   97.60%   97.60%
=======================================
  Files           1        1
  Lines         668      668
=======================================
  Hits          652      652
  Misses         16       16

Impacted Files
Coverage Δ

src/DynamicNLPModels.jl
97.60% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b25b6a...9223dea. Read the comment docs.


Pinned fastapi version

Breaking changes in fastapi 0.100.0 broke EasyLM gradio webapp.
App server could not validate JSON, returned error code 422 on POST from client (see error below).
As per fastapi guidance, version should be pinned to prevent this in the future. Pinning back to previous  version fastapi 0.99.1 resolves the issue for now, next version release should fix it. (Possible that other packages for EasyLM should be baselined as well).
Tested with:

Today's clone of EasyLM repo
open_llama_3b_easylm
TR4 64GB DRAM + 12GB VRAM   with XLA_PYTHON_CLIENT_ALLOCATOR=platform
Ubuntu 22.04.2 LTS

INFO:     Started server process [51594]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:5007 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:33142 - "GET / HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:33142 - "GET /info HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:33142 - "GET /theme.css HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:33142 - "POST /run/predict HTTP/1.1" 422 Unprocessable Entity
INFO:     ('<IP_ADDRESS>', 33152) - "WebSocket /queue/join" [accepted]
INFO:     connection open
INFO:     <IP_ADDRESS>:33162 - "POST /reset HTTP/1.1" 200 OK

Is this PR going to be merged? If it will be closed without merge a reason should be given.


extra crawling on last games page

On the last page there aren't 100 games, (hence next_page will return None), but currently the script ends up crawling the sidebar games as well. This includes the COMING SOON and the HIGH AND LOWS games. Quick fix is to make the css more strict:
- num_of_games_on_page = len(response.css('.product_title a::attr(href)').extract())
+ num_of_games_on_page = len(response.css('.product_wrap > .product_title a::attr(href)').extract())

- 'f': response.css('.product_title a::atrr(href)')[x].extract()`
+ 'f': response.css('.product_wrap > .product_title a::atrr(href)')[x].extract()`

The above changes rely #16 spider parameters. Will send a PR for this after #16 has been merged or you can do it.

Oh, I close it as it solved now.


Can KYA be controlled from a script?

Is there a way run KYA for a set time from a script? Or are there plans to develop one?
I found that if the setting, "Activate on Launch" is checked, you can essentially control KYA like this:
# if appplication running, quit KYA. Wait a moment to fully close. Then regardless of status, open the now "closed" app using the setting,  "Activate on Launch" to activate KYA upon launch

tell application "KeepingYouAwake"
	if it is running then
		quit
		set status to "reactivated."
	else
		set status to "activated."
	end if

	delay 0.01 # allow KYA to close, don't blink!
	launch # always launch

	set output to "KeepingYouAwake has been " & status

	return output

end tell

Then with a cron task, a second script could be run to deactivate KYA at a set time interval:
tell application "KeepingYouAwake"
	quit
end tell

I would really like something like Focus' built in cli support:
open focus://focus?minutes=25

Cool! I didn't think about scripting support at all until now.
Thanks for sharing your script! :+1:
I absolutely love the idea of adding a custom URI scheme to control KYA through the command line. I will experiment a bit with the APIs and will post an update here, when I'm ready.
Greetings,
Marcel

Great!! You're welcome. Unfortunately I'm now having trouble quiting KYA from the script, so this trick isn't working. I think it might be related to the crashes when I tried to deactivate "Start at Login"
If there is anything I can do to help, let me know. I've never built native apps before but I can help reseaerch and bug test

I had some time to look at the apple events API and I think I can deliver a nice URL-based API pretty easily, e.g.:
open keepingyouawake:///activate            # indefinitely
open keepingyouawake:///activate?seconds=5
open keepingyouawake:///activate?minutes=5
open keepingyouawake:///activate?hours=5
open keepingyouawake:///deactivate

/activate has no effect when already activated
/deactivate has no effect when already deactivated
there is a minimum duration of 1 second and a maximum of 12 hours (arbitrary)

What do you think… is this enough for a start?

That sounds awesome! The only other thing I could think of is to fetch the current time left for creating a notification if you're using KYA as a productivity timer or want to get an alert at a certain point. It could be like open keepingyouawake:///? would return the time left in second (i.e. 3632)
I would love to test those commands out if you have it in the next beta release!

Sorry for the slow response times recently… I'm back in action :smiley:
Here is the first beta of the scripting update (v.1.2.2beta1) Feel free to test-drive this version!
Thanks again @KyleKing for bringing scriptability to my awareness :+1:

Thanks @newmarcel, the update is awesome and works really well!!]
I've been using the scripting feature for about a week and connected it to Alfred through this workflow if anyone is interested: http://www.packal.org/workflow/activate-keeping-you-awake

Using the script is so much better! My battery life has even improved


Installing cockpit fails while starting mongodb

While installing cokcpit on a local machine, the api failed with the following error
E:cp: cannot create regular file '/opt/jumpscale8/bin/mongod': Text file busy
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
/usr/local/bin/js in <module>()
----> 1 j.tools.cuisine.local.solutions.cockpit.install_all_in_one()

/opt/jumpscale8/lib/JumpScale/tools/cuisine/solutions/CuisineCockpit.py in install_all_in_one(self, start, branch, reset, ip)
     52         # install mongodb, required for portal
     53         self._cuisine.apps.mongodb.install(start=start, reset=reset)
---> 54         self._cuisine.apps.mongodb.install(start=start)
     55
     56         # install portal

/opt/jumpscale8/lib/JumpScale/tools/cuisine/apps/CuisineMongodb.py in install(self, start, reset)
     44
     45             for file in self.cuisine.core.find(dest, type='f'):
---> 46                 self.cuisine.core.file_copy(file, appbase)
     47
     48         self.cuisine.core.dir_ensure('$VARDIR/data/mongodb')

/opt/jumpscale8/lib/JumpScale/tools/cuisine/CuisineCore.py in file_copy(self, source, dest, recursive, overwrite)
    861             cmd += '%s %s' % (source, dest)
    862
--> 863         self.run(cmd)
    864
    865     def file_move(self, source, dest, recursive=False):

/opt/jumpscale8/lib/JumpScale/tools/cuisine/CuisineCore.py in run(self, cmd, die, debug, checkok, showout, profile, replaceArgs, shell, env, timeout)
   1124         # If command fails and die is true, raise error
   1125         if rc > 0 and die:
-> 1126             raise j.exceptions.RuntimeError('%s, %s' % (cmd, err))
   1127
   1128         if debug:

RuntimeError: ERROR: cp -v /tmp/mongodb-linux-x86_64-ubuntu1604-3.4.0/bin//mongod /opt/jumpscale8/bin/, cp: cannot create regular file '/opt/jumpscale8/bin/mongod': Text file busy
 ((type:runtime.error)

@ahussein on which version is this? also, is it possible that you already started the operation/had mongo installed?
See error message cannot create regular file '/opt/jumpscale8/bin/mongod': Text file busy

Installation done using 8.2.0 branch
steps to reproduce:

Install js8 using branch 8.2.0
Install the cockpit using the following command
j.tools.cuisine.local.solutions.cockpit.install_all_in_one()

https://github.com/Jumpscale/jumpscale_core8/pull/765


Better error signs in code editor

It's hard to find the line with the problem if it's just underlined with a red color, especiallly in dark mode. Please place an error badge in front of the line. A good example is eclipse, netbeans or IntellyJ where the line number is replaced with an error badge.

/duplicate of #9209


Imagescan Rebuild: 2022-04-28

Rebuilding imagescan for stolostron/search-api repo.

Rebuild for the issue: https://github.com/stolostron/backlog/issues/22036


"Request for image failed"

I tried to preview a markdown file with an image in it. When opening it with inlyne nodes.md --theme dark I get the following error in the terminal:
2024-04-15T11:36:17.612004Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612026Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612033Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612036Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612039Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612042Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612045Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612049Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612052Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612055Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612066Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612072Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612075Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612078Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612081Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612167Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612195Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.612209Z  INFO inlyne::interpreter: Missing implementation for start tag: click
2024-04-15T11:36:17.618573Z  WARN inlyne::image: Request for image from ~/Downloads/Silhouette.jpg failed
The contents of the markdown file are:
![This is an image](~/Downloads/Silhouette.jpg)

I get the same WARN with other markdown files that reference an image - be it jpg or png.
iTerm2 3.4.22
inlyne 0.4.2
MacOs 14.4.1

The issue is that it doesn't resolve ~ as your home (usually shells expand that and some programs mimic that behavior). Generally you'll use relative paths for things like that, so that it works for other people too, but an absolute path should also work

That worked, thank you!

Happy to hear :D
I'll go ahead and close this then


proto: fix and cleanup test for deterministic marshal with custom marshalers

PR #650 added a check to error out when a custom marshaler was called and
deterministic marshaling was also specified.
That change performed the check in a relatively obscure location that did not
catch all code paths. Since determinism can only be enabled on the Buffer type,
we check it up front in Buffer.Marshal.
Also, change the test to avoid code injection into generated sources.

Done.


[HOTFIX] Fix ClassName for load datamaps parallel job

Why is this PR needed?
Load Datamap parallel was not launching job, because the class name was not correct
What changes were proposed in this PR?
Change className for load datamaps parallel job
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2503/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/798/

LGTM


Automated cherry pick of #5789: proxysetting: fix validating delete condition

Cherry pick of #5789 on release/3.1.
#5789: proxysetting: fix validating delete condition

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.1@8ef6b60). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             release/3.1   #5790   +/-   ##
=============================================
  Coverage               ?   7.45%
=============================================
  Files                  ?     583
  Lines                  ?   98415
  Branches               ?       0
=============================================
  Hits                   ?    7333
  Misses                 ?   90510
  Partials               ?     572

Flag
Coverage Δ

#aFlag
7.45% <0.00%> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ef6b60...a3b0b21. Read the comment docs.


use copy of initial state machine to get resumption back to zero

Thanks for these improvements, @dsyme, and thanks for pairing with me to fix this gnarly issue! For posterity, the fix presented here does two things:

it creates a shadow copy of the original state machine just after creating of the state machine. It then uses this shadowed machine as the default state for the cloned enumerator (needed as soon as there is more than one call to GetAsyncEnumerator()). This replaces the Unchecked.defaultof hack I used in #42, which only partially solved the issue, and created an nondeterministic state.
it removes some allocations and unnecessary logic in the GetAsyncEnumerator(), among other things, this removes the necessity for MemberwiseClone.


Put cbindgen dependency behind a default-enabled feature flag

This removes a bunch of unneeded dependencies when c bindings are not needed.

Thanks! I refactored the way c bindings are handled (based on your changes in this PR) so the environment variable BLOCK_ALIGNER_C is not needed at all and cbindgen is only used when needed.


Set hypershift isolation label

Summary
Adds labels to allow network access within the HyperShift environment.
Change Type
Bug Fix
Check List Before Merging

[x] This PR passes all pre-commit hook validations.
[x] This PR is fully tested and regression tests are included.
[x] Relevant documentation has been updated.

Additional Information

this fixes https://issues.redhat.com/browse/MTSRE-1429