CRASHES ON RIGHT CLICKING "Discord Nitro" option

I've right clicked on everything else, only Discord Nitro causes crash. I would've liked to hide Discord Nitro if possible.

Some unrelated feedback I wanted to add since I don't know where it's supposed to go

Would hiding entire categories be possible? Or even better collapsible categories would be a godsent
The sometimes randomly snapping up and down upon right clicking is annoying
The delete plugin button is super finnicky in my experience (and also doesn't update, although that might just be a powercord thing in general)
Trying to hide HypeSquad through GUI didn't work for some reason, it kept hiding Experiments and Developer Options but not HypeSquad. Ended up manually typing HYPESQUAD into hide options and it worked

I've right clicked on everything else, only Discord Nitro causes crash. I would've liked to hide Discord Nitro if possible.

ill look into it

Would hiding entire categories be possible? Or even better collapsible categories would be a godsent

someday maybe? probably not anytime soon though

The delete plugin button is super finnicky in my experience

i agree the current system is pretty terrible - i will probably add a modal to confirm deletion instead of the weird double click thing

Trying to hide HypeSquad through GUI didn't work for some reason

will look into this too

Thanks! BTW how would I update a plugin (or do they autoupdate)

they auto update if you have the "update automatically in the background" setting enabled in User Settings > Powercord > Updater, if disabled you would get a notification when there is a pending update and then you can click 1 button to update manually

ahhh thanks

fixed the discord nitro crash bug and the hypesquad bug too

Yoooo I just saw the notification to update in betterdiscord, thanks

The delete plugin button is super finnicky in my experience

https://user-images.githubusercontent.com/83544549/152113591-d8245f81-090e-4d06-924d-fbd9fbe9d54f.mp4
next update™ :)

amazing


Apps should display cluster resource requirement estimates

This issue is a:
[ ] Bug Report
[X] Enhancement suggestion
[ ] Feature request
When currently looking at the marketplace listing there is no indication of the minimum cluster configuration required or preferred. Take prometheus-operator that is quite demanding in terms of resources. If you just have one node in configuration small then not much more will be able to run.
As a first step we could add an estimation to the description. As a second step we could add some entries to manifest.yml where minimum requirements are stored. Based on these the Civo dashboard could show an estimate of the resource consumption based on installed apps.
In general this will be most helpful to new users. As I think that Civo service also targets newcomers and others that do not breathe k8s concepts such hints might be useful.

Thanks for this, something I've had in mind for a while but isn't tracked, so definitely leaving this open until we get to it.


userID not being passed

I have followed the README instructions to a T, and userID is not being passed to GA.
I have tested GTM variables with default values, and those are going into the user_id view.
I added a custom dimension, and see the default value from GTM in GA.
I've removed all of the complexity of my application, and replaced it with a simple test.
const tagManagerArgs = {
  gtmId: 'GTM-000000',
  dataLayer: {
    userId: 'aaa-123',
    page: 'test'
  }
}
TagManager.initialize(tagManagerArgs)

aaa-123 never makes it to GA.
I installed GA Debug chrome extension, and userID is not found in the values returned.
Within the console, window.dataLayer returns the dataLayer variables including the userID.
So, I'm not sure which portion of this module is failing, but I can not get it to work.

Hi mpbunch,
to better understand at what point this information is being lost, can you check two things?

Install the Google Tag Assistant chrome extension instead of GA Debug, make sure the userId is displayed in the extension's datalayer tab:

Verify that the variable names entered in the datalayer are exactly the same as those configured in the GTM panel:

dataLayer from extension:
[
  {
    "gtm.start":<PHONE_NUMBER>132,
    "event": "gtm.js",
    "gtm.uniqueEventId": 0
  },
  {
    "userId": "aaa-123"
  },
  {
    "event": "gtm.dom",
    "gtm.uniqueEventId": 2
  },
  {
    "event": "gtm.scrollDepth",
    "gtm.scrollThreshold": 10,
    "gtm.scrollUnits": "percent",
    "gtm.scrollDirection": "vertical",
    "gtm.triggers": "8127345_21,
    8127345_78,
    8127345_79,
    8127345_80,
    8127345_93,
    8127345_94,
    8127345_139",
    "gtm.uniqueEventId": 3
  },
  {
    "event": "gtm.scrollDepth",
    "gtm.scrollThreshold": 25,
    "gtm.scrollUnits": "percent",
    "gtm.scrollDirection": "vertical",
    "gtm.triggers": "8127345_21,
    8127345_78,
    8127345_79,
    8127345_80,
    8127345_93,
    8127345_94,
    8127345_139",
    "gtm.uniqueEventId": 5
  },
  {
    "event": "gtm.scrollDepth",
    "gtm.scrollThreshold": 33,
    "gtm.scrollUnits": "percent",
    "gtm.scrollDirection": "vertical",
    "gtm.triggers": "8127345_21,
    8127345_78,
    8127345_79,
    8127345_80,
    8127345_93,
    8127345_94,
    8127345_139",
    "gtm.uniqueEventId": 7
  },
  {
    "event": "gtm.load",
    "gtm.uniqueEventId": 9
  }
]

I'm closing the issue because it's not a package bug. This is a problem in the configuration since to send data to the dataLayer you must ensure that it is available.


DS Colors +1 gradient color

Added a gradient color as background for table headers.
https://zalando.invisionapp.com/d/main#/console/10454474/223408083/preview

I will do that together with the spacings

@fragsalat still up-to-date? Otherwise just close.


Curser issue while formating numbers

Describe the bug
On iOS, when typing a US formated number (there are probably more cases), the cursor jumps to the wrong position after formating.
Package version
0.7.2
Flutter version
3.3.10
To Reproduce
Only reproducable on iOS
Steps to reproduce the behavior:

Open dialog
Type US format number: (e.g. +1<PHONE_NUMBER>)
The cursor will jump to the wrong position after adding the ( )

Expected behavior
The cursor should not jump.
Screenshots
https://user-images.githubusercontent.com/3436399/212307759-4f8f0142-b612-46e3-ba40-6cee0062ccfe.mp4
** Targeted platforms (please complete the following information):**

OS: iOS only

This just happened to our clients yesterday, can any one please address the issue

 onInputChanged: (PhoneNumber number) {                         userDetail.phoneNumber = number.phoneNumber.toString();                           controller.selection =           TextSelection.collapsed(offset: controller.text.length);                       },

I was told the above code worked on iPhone 11 Pro max..

Encountering the same issue, adding the below line helped me
InternationalPhoneNumberInput(
  ....
  onInputChanged: (PhoneNumber value) {
     _phoneNumberController.selection = TextSelection.collapsed(offset: _phoneNumberController.text.length);
  }
);

This is new on the new version, it's coming with the update to the PhoneNumberKit on iOS from libphonenumber-iOS

The issue is originating from utils/formatter/as_you_type_formatter.dart Line 86:
             TextEditingValue(     text: parsedText,     selection: TextSelection.collapsed(offset: parsedText.length), )
It is possible to solve it by replacing selection to this:
selection: TextSelection.collapsed(offset: parsedText.length)
If this doesn't break somewhere else, please somebody commit this to codebase, thanks.

In onInputChanged method, add the following line
numCont.selection = TextSelection.collapsed(offset: numCont.text.length);

and numCont is your own TextEditingController.
Here is the full code:
onInputChanged: (PhoneNumber number) {
        numCont.selection = TextSelection.collapsed(offset: numCont.text.length);
        },


attempt to fix mirrorer issues

no longer needed https://github.com/alphagov/govuk-puppet/pull/11212


krb5: krb5_msg_type rules

Added rules that check the krb5_msg_type keyword. The pcap included contains kerberos traffic generated from a Windows server 2019 with the klist tool. It includes at least one packet to match per rule.
Related to the ticket https://redmine.openinfosecfoundation.org/issues/4529 and PR https://github.com/OISF/suricata/pull/6508

Done. This test is related to https://github.com/OISF/suricata/pull/6508.

The pcap included contains kerberos traffic generated from a Windows server 2019 with the klist tool

Could you include this in a REAMDE file in the test subdirectory ?

The pcap included contains kerberos traffic generated from a Windows server 2019 with the klist tool

Could you include this in a REAMDE file in the test subdirectory ?

Done in https://github.com/OISF/suricata-verify/pull/572/commits/016460c422252b66603d092ba2a07cbe789c069c

Can you make a new version of this that passes on 5 and 6? I want to merge https://github.com/OISF/suricata/pull/6926 but not put SV in a broken state for 5/6. We can then update SV again as we consider backports of the issue. Thanks!

Can you make a new version of this that passes on 5 and 6? I want to merge OISF/suricata#6926 but not put SV in a broken state for 5/6. We can then update SV again as we consider backports of the issue. Thanks!

Done

Replaced by https://github.com/OISF/suricata-verify/pull/1194


Enable the scroll horizontal and vertical for android devices

Hi, this is a great product, its very simple and neat. I dont know why the scroll doesnt work on android devices and maybe on ios devices.
Can you please enable this or fix it. Or maybe can you suggest me some trick to do because my project is now reaching the mobile world and i want to keep using this amazing table.

Fixed by https://github.com/caduandrade/davi_flutter/issues/97


Feat: render color for outputs of vela up command

Signed-off-by: huangminjie<EMAIL_ADDRESS>render color for outputs of vela up command (#3903 )
Description of your changes

Fixes #
I have:

[x] Read and followed KubeVela's contribution process.
[x] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

I  hope these commands can have color

Is this style OK？

For the last line, i hope only application name has color

For the last line, i hope only application name has color


Setting PUBLIC_URL env var has no same effect as --public-url

catalog build --public-url=/styleguide works fine, but PUBLIC_URL=/styleguide catalog build doesn't, is it a bug or what i'm doing wrong

Yes, you have to use a command line argument. If you need to read from an env var that is set somewhere else, catalog build --public-url=$PUBLIC_URL should do the trick.


 When I select to print a test page from the CUPS web GUI I get a garbage output printed with the following lines:
#PDF-BANNER
           Template default-testpage.pdf
                                        Show printer-name printer-info printer

The last line ends at the right edge of the A4 paper. The rest of the page is blank. Other files also print strangely. I tried to print a simple PDF with colour vector graphics and it ended up in greyscale instead of colour. Multi-page prints doesn't work at all (no page at all comes out, not even the first one). Double sided printing (this printer is capable of automatic duplex) obviously fails completely for that reason alone.
The printer in question works properly using the "Postscript" driver option, and prints the normal test page. Printing other things also works. The printer also works properly using the "driverless, cups-filters" option.
Thus the actual bug itself: Presumably the "IPP Everywhere" driver suggested should either work or at least not be suggested as the top driver for this particular printer.
Detailed testing
According to the web GUI of the printer it does support both IPP and AirPrint.
CUPS finds the printer several times, using different protocols presumably:

HP Color LaserJet MFP M281fdw (81A44A) (HP ColorLaserJet MFP M278-M281)

Actual URI: dnssd://HP%20Color%20LaserJet%20MFP%20M281fdw%20(81A44A)._ipp._tcp.local/?uuid=<cut out in case it is personally identifiable>

HP Color LaserJet MFP M281fdw (HP ColorLaserJet MFP M278-M281)

Actual URI: socket://<IP_ADDRESS>

HP ColorLaserJet MFP M278-M281 (driverless) (HP ColorLaserJet MFP M278-M281)

Actual URI: ipps://HP%20Color%20LaserJet%20MFP%20M281fdw%20(81A44A)._ipps._tcp.local/

For all of these the following drivers are suggested at the top of the list (before the full list of HP printers follow alphabetically):

HP ColorLaserJet MFP M278-M281 - IPP Everywhere ™

Produces garbage output
Almost all options missing (such as: duplex printing, page size, feed tray, ...)

HP ColorLaserJet MFP M278-M281 Postscript (en, en, da, de, es, fi, fr, it, ja, ko, no, nl, pt, ru, sv, zh_CN, zh_TW)

Works, but gives warning about it being a legacy driver that will be unsupported in the future.
Has the most options

HP ColorLaserJet MFP M278-M281, driverless, cups-filters 1.28.12 (en)

Works
Missing several options, such as edge control, print text as grey, etc.

HP ColorLaserJet MFP M278-M281, Fax, driverless, cups-filters 1.28.12 (en)

Same as the above one.

I have not tested all combinations of URIs and suggested drivers, but I did test everything for both the socket:// and ipps:// URIs and saw no differences.
Software versions

Arch Linux (rolling release)
CUPS 2.4.1-1 (packaged by distro)
avahi 0.8+22+gfd482a7-3 (packaged by distro)

Hi @VorpalBlade ,
thank you for reporting the issue!
It would be great if you attached the files from the following commands:
$ ipptool --ippserver printer.txt ipp://<IP_ADDRESS>:631/ipp/print get-printer-attributes.test

(the file to attach here is printer.txt)
Then we need to install the everywhere queue, enable debug logging, print one page from a pdf to 'everywhere' queue, and then to driverless queue and get the logs:
$ lpadmin -p <queuename> -v ipp://<IP_ADDRESS>:631/ipp/print -m everywhere -E
$ cupsctl --debug-logging
$ tail -f /var/log/cups/error_log > debug_log.txt &
$ lp -d <queuename> <some_pdf> -P 1
(once the job is finished)
$ lp -d <driverless_queuename> <some_pdf> -P 1
(once the job is finished)
$ kill $(pidof tail)

(debug_log.txt is the desired file)
And in the end please attach PPD files for 'IPP Everywhere' queue and for driverless queue from /etc/cups/ppd - you will have to add a .txt suffix to add them directly to github.
Thank you in advance!

Note:
It looks similar to #340 .

Here is the printer.txt.
I did the test print using lp as you suggested. However this time it worked and I got the output in color(?!). Also, for the queue created using lpadmin this way, all the expected options exist in the printer dialog.
Interestingly, when I look in the printer list in the web UI of CUPS the one added with lpadmin shows up as "Make and Model: ColorLaserJet MFP M278-M281 - IPP Everywhere", while the one added using the web UI and selecting "IPP Everywhere" shows up as "Make and Model: Local Raw Printer". Maybe the issue is that the web UI is bugged for adding the printer? Or the URI being the IP instead of the mdns/avahi thing helps?
Anyway, the log is attached, though I doubt it will shed much light on the issue given the above information: debug_log.txt
Thus I decided to do the same print using the IPP printer added via the web UI and take a debug log of that too: debug_log2.txt. In this case, no page came out, but the printer woke from low power mode (screen turned on and a relay clicked) and then went back to sleep again.
In conclusion: I'm utterly confused as to what is going on.

Or the URI being the IP instead of the mdns/avahi thing helps?

IMO it is this one - and similar thing happens in #340 .
Looks like the command with mdns uri wasn't able to communicate with the printer and left the queue as raw.
Can you capture the CUPS logs when you create the queue via lpadmin:
$ lpadmin -p <queue> -v ipps://HP%20Color%20LaserJet%20MFP%20M281fdw%20(81A44A)._ipps._tcp.local/ -m everywhere -E

?
Thank you in advance!

Only as a side note FYI regarding printout like
#PDF-BANNER
           Template default-testpage.pdf
                                        Show printer-name printer-info ...

cf. https://github.com/apple/cups/issues/6024
That text comes from a file like /usr/share/cups/data/testprint
(the file path could be different depending on the Linux distribution).
which does not belong to CUPS but to the separated cups-filters project.
The CUPS test page is no longer directly supported by CUPS since CUPS >= 1.6.
Since CUPS >= 1.6 only the test page in the cups-filters package work
via the cups-filters PDF workflow and the cups-filters package that provides
/usr/share/cups/data/testprint which has the form of a banner template page
so it should be handled by the matching bannertopdf filter in cups-filters.
But what you get printed as test page is the (unexpected)
raw /usr/share/cups/data/testprint file content
instead of the output of the bannertopdf filter.

Can you capture the CUPS logs when you create the queue via lpadmin: [...]

Sure! And based on reading the log it looks to me that you are right. Here is the log: debug_log.txt

Can you check if the referenced commit helps you when you install the permanent IPP Everywhere queue with mDNS hostname-based URIs?

Assuming it can be applied as a patch on the version in the Arch Linux PKGBUILD without massive backporting effort, sure. While I do know C, it has been a few years since I coded anything except python and various scientific domain specific languages, so I'm a bit rusty.

Unfortunately that patch did not change the behaviour at all.


Update Chapter Create Pull Request in CONTRIBUTING.md

Chapter on "Create Pull Request" was updated and now contains recommendation to link PR to Issue.

This PR overwrites #226, now showing that the schema failure is solved. No additional review needed as the proposed changes have been accepted already for master.


V3.3.0

#643 + #644
Fixes  #612 and #567 and (I think that) it implements #83.
Here's a screenshot of how will the complex facts look: https://github.com/voxpupuli/puppetboard/pull/644#issuecomment-974807389

some of the commits here don't prepare the release but fix bugs or add features. Can you please provide those as dedicated PRs?


Only works in localhost

Description of the bug:
Locally works fine and in the server not. It's not be cause of the local of the server (Germany) because I tested the Gemini request Curl in the terminal and worked.
This is the log of this package
Server is running on port 3000 🚀
/app/node_modules/@google/generative-ai/dist/index.js:353
            throw new GoogleGenerativeAIFetchError(`Error fetching from ${url.toString()}: [${response.status} ${response.statusText}] ${message}`, response.status, response.statusText, errorDetails);
                  ^

GoogleGenerativeAIFetchError: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent: [403 Forbidden]
    at _makeRequestInternal (/app/node_modules/@google/generative-ai/dist/index.js:353:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async generateCon
```tent (/app/node_modules/@google/generative-ai/dist/index.js:752:22) {
  status: 403,
  statusText: 'Forbidden',
  errorDetails: undefined
}

Node.js v18.20.2
The response of the raw request is this:
<title>Error 403 (Forbidden)!!1</title>

403. That’s an error.

Your client does not have permission to get URL /v1beta/models/gemini-1.5-flash:generateContent from this server. That’s all we know.

My instance (working fine locally):
const aiModel = genAI.getGenerativeModel({
  model: 'gemini-1.5-flash',
  systemInstruction: CHAT_GPT_SYSTEM_PROMPT_MESSAGE,
});

No idea what is going on, I've been for a while on this.

@henriqueArrazao
Thank you reporting this issue.
This repository is for issues related to Dart SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to Gemini API, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Discourse forum.

Description of the bug:
Locally works fine and in the server not. It's not be cause of the local of the server (Germany) because I tested the Gemini request Curl in the terminal and worked.

Did you run the curl command while SSHd into the same server instance that you're seeing the error? Or on another machine in Germany? Can you paste the curl command? (you can obscure your API key)

Description of the bug:
Locally works fine and in the server not. It's not be cause of the local of the server (Germany) because I tested the Gemini request Curl in the terminal and worked.

Did you run the curl command while SSHd into the same server instance that you're seeing the error? Or on another machine in Germany? Can you paste the curl command? (you can obscure your API key)

I ran in the same server instance through SSH. I'm using ChatGPT now, but here is the Curl:
curl --location 'https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent' \
--header 'content-type: application/json' \
--header 'x-goog-api-key: XXXXXXXXXXXXXXXXXXXXXXXX' \
--header 'x-goog-api-client: genai-js/0.12.0' \
--data '{
  "generationConfig": {
    "temperature": 0.5,
    "topP": 1,
    "topK": 100,
    "maxOutputTokens": 8192,
    "responseMimeType": "application/json"
  },
  "safetySettings": [],
  "systemInstruction": {
    "role": "system",
    "parts": [
      {
        "text": "make the sum"
      }
    ]
  },
  "contents": [
    {
      "parts": [
        {
          "text": "1 + 2"
        }
      ],
      "role": "user"
    }
  ]
}
'

status: 400,
statusText: 'Bad Request',
errorDetails: [
{
'@type': 'type.googleapis.com/google.rpc.ErrorInfo',
reason: 'API_KEY_INVALID',
domain: 'googleapis.com',
metadata: { service: 'generativelanguage.googleapis.com' }
}
]
How to solve this issue ?

durum: 400, durumMetni: 'Kötü İstek', hataAyrıntıları: [ { '@type': 'type.googleapis.com/google.rpc.ErrorInfo', neden: 'API_KEY_INVALID', etki alanı: 'googleapis.com', meta veri: { hizmet: 'generativelanguage.googleapis.com' } } ]
Bu sorunu nasıl çözebiliriz?

Did you find a solution? I'm facing the same issue.

status: 400, statusText: 'Bad Request', errorDetails: [ { '@type': 'type.googleapis.com/google.rpc.ErrorInfo', reason: 'API_KEY_INVALID', domain: 'googleapis.com', metadata: { service: 'generativelanguage.googleapis.com' } } ]
How to solve this issue ?

did you save the api key in  .env.local? if so, try changing it to .env and don't forget to put double quotes between your api keys, and call the api key, for example:
const genAI = new GoogleGenerativeAI(process.env.API_KEY);
I succeeded by trying this method

status: 400, statusText: 'Bad Request', errorDetails: [ { '@type': 'type.googleapis.com/google.rpc.ErrorInfo', reason: 'API_KEY_INVALID', domain: 'googleapis.com', metadata: { service: 'generativelanguage.googleapis.com' } } ]
How to solve this issue ?

did you save the api key in .env.local? if so, try changing it to .env and don't forget to put double quotes between your api keys (ex: API_KEY="YOUR_API_KEY"), and call the api key, for example: const genAI = new GoogleGenerativeAI(process.env.API_KEY);
I succeeded by trying this method
Thank you for your ideas; I ended up solving it afterward and had done what you suggested

This is resolved with the api-key option


Adding Todo App

This PR is regarding issue #9

@abaran803 add the readme file.

@abaran803 add the readme file.

@khushi-purwar I have added the readme file, please check it.

Correct the project title in readme file.

Correct the project title in readme file.

I have corrected the title of readme file


DRAFT - Auth using User and Tenant

1/3 Abstractions
User here is represented by token, which may be better designed since its coupled with the auth service I used.
Auth service  is hardcoded, must change it.
2/3 Setting up testing enviroment
Subtitute <token> and <tenant> with the values meant to the auth service.
Cat at the end is just to see if it's all ok.
Execute inside root/api folder:
printf "token=<token>\ntenant=<tenant>" > auth_vars && cat auth_vars

Or just edit the file the way you prefer.
3/3 Test
To test execute, in the dir root/api:
 bash req ../file-mocks/corgi.jpg

OBS: the auth service must be up.

Using this script in the root/api works to :
bash all_file_req

#18 takes care of it without the use of turbo, new project structure.


Incorrect sequence of events for clicking a label element with "for" attribute

What is your Scenario?
Click for label with attribute "for". Сhecking the sequence of events.
What is the Current behavior?
onfocus input's event fired the first and then fired onmouseup label's event with activeElement.tagName=="INPUT"
What is the Expected behavior?
fired onmouseup label event with activeElement.tagName=="BODY" and then should be fired input onfocus event
What is your public website URL? (or attach your complete example)
<!DOCTYPE html>

    <title></title>

    <form id="form1" runat="server">

            <textarea id="logTextArea" style="position: fixed; right: 0; height: 500px; width: 200px"></textarea>
            label
            <input id="input" onfocus="focusMethod()" />

    </form>

What is your TestCafe test code?
fixture('1')
test.page("./test.html")("test", async t=> {
await t
    .click(Selector("#label"))
    .expect(logTextArea.value).eql('activeElement.tagName=BODY\ninputElement got focus\n');
});

Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
1.Run the test
2. If the test doesn't fail due to an unexpected alert, there is a bug
TestCafe version
1.17.1
Node.js version
No response
Command-line arguments
testcafe chrome test.js
Browser name(s) and version(s)
chrome 96
Platform(s) and version(s)
Windows 10
Other
No response

Hi,
Thank you for your example. We have reproduced this behavior, please stay tuned.


TensorFlowOnSpark training model write to HDFS permission denied error.

Environment:

Python version 2.7.12
Spark version 2.1.0
TensorFlow version 1.10.1
TensorFlowOnSpark version [git clone git@github.com:yahoo/TensorflowOnSpark.git]
Cluster version 2.6.0-cdh5.8.0

Describe the bug:
I run Convert the MNIST zip files into HDFS files from GetStarted_YARN is ok.
When I run distributed MNIST training (using feed_dict) from GetStarted_YARN, it gets hdfs permission denied error:
PermissionDeniedError: hdfs://default/user/ddt30802/mnist_model; Permission denied
full log is below:
Logs:
issue.txt
Spark Submit Command Line:
export HADOOP_CONF_DIR=/etc/hadoop/conf
export SPARK_HOME=/opt/spark-2.1.0-bin-hadoop2.6
export PYTHON_ROOT=./Python
export LD_LIBRARY_PATH=${PATH}
export PYSPARK_PYTHON=${PYTHON_ROOT}/bin/python
export SPARK_YARN_USER_ENV="PYSPARK_PYTHON=Python/bin/python"
export PATH=${PYTHON_ROOT}/bin/:$PATH
export QUEUE=default
export LIB_HDFS=/opt/cloudera/parcels/CDH/lib64                      # for CDH (per @wangyum)
export LIB_JVM=$JAVA_HOME/jre/lib/amd64/server
${SPARK_HOME}/bin/spark-submit
--master yarn
--deploy-mode cluster
--queue ${QUEUE}
--num-executors 6
--executor-memory 27G
--py-files TensorFlowOnSpark-master/tfspark.zip,TensorFlowOnSpark-master/examples/mnist/spark/mnist_dist.py
--conf spark.dynamicAllocation.enabled=false
--conf spark.yarn.maxAppAttempts=1
--archives hdfs:///user/${USER}/Python.zip#Python
--conf spark.executorEnv.LD_LIBRARY_PATH=$LIB_JVM:$LIB_HDFS
TensorFlowOnSpark-master/examples/mnist/spark/mnist_spark.py
--images mnist/csv/train/images
--labels mnist/csv/train/labels
--mode train
--model mnist_model
and i also tried using: hdfs://default/user/../mnist_model, it still failed by same error.

A couple things to look for:

make sure there isn't already a mnist_model directory on HDFS.
check that there is a libhdfs.so in your /opt/cloudera/parcels/CDH/lib64 path (on the executor node).

@leewyang,
I solved the problem cause permission of yarn user which cannot write to the Hadoop user dir. #210

Hello, I also have this issue, could you post your detailed solution? Thank you in advance!


Custom Middleware and Passport

Hi,
I'm having a issue with the last commited version. How I get my custom middleware work with sails passport?
My error.
error: Server Error (500)
error: Error: Unknown authentication strategy "bearer"
My express.js:
var passport = require('passport')
    ,BasicStrategy = require('passport-http').BasicStrategy
    , ClientPasswordStrategy = require('passport-oauth2-client-password').Strategy
    , oauth2orize = require('oauth2orize')
    , LocalStrategy = require('passport-local').Strategy
    , BearerStrategy = require('passport-http-bearer').Strategy;

module.exports.express = {

    customMiddleware: function (app) {

passport.use(new BearerStrategy(
            function(accessToken, done) {

               things...

        ));

        app.use(passport.initialize());
        app.use(passport.session());

}

@felipecm Though this is closed try sails-police


fix(Turborepo): Ensure process manager stays closed

Description

Adds tests for process manager remaining closed after being closed (courtesy of @chris-olszewski )
Ensures the process manager does not reopen after close has been called, or after wait has completed.
Restructures a bit to allow for tasks to clean themselves up from tracking after completion. This means that we don't keep track of all child processes forever, but drop all references to them once they have completed.

Testing Instructions
Updated tests.
Closes TURBO-1526

Dropped the child cleanup piece


fix: store the task type value rather than enum when creating a task

The task type was being stored in the db as "ScheduleTaskType.PROD" rather than the expected "prod". This was causing newly created tasks to be filtered out in the AdminTask component (link).

@jczhong84 anything else needed here?


Guide for installation on fresh Raspberry Pi

It would be useful to have a step-by-step doc for getting up and running from a fresh Raspberry Pi

The steps (from memory) are:

sd-card creation
creating wpa_supplicant.conf and ssh files on sd-card for headless operation
installing dependencies (nodejs 12.x, libudev-dev)
installing gymnasticon
upgrading gymnasticon

Check docs/guides for other Raspberry Pi projects like PiHole, RetroPie, etc. to see how they handle this.

I can try to take a stab at this as I went through some issues while installing it.  To start off, the below is my install troubleshooting log that I created after failing to install it a few times.  I did this so I could remember what I was doing and read the error messages and log files more carefully.  I don't know if all the steps are required, but I know if anyone follows these steps they should get the same error and eventually solve it and get it installed.  I'll see how quickly I can make a cleaned-up version.
install log.txt

Install instruction using MacOS
•	format sd card in disk utility
•	download raspberry pi os lite from https://www.raspberrypi.org/downloads/raspberry-pi-os/
•	install pi os lite https://www.raspberrypi.org/documentation/installation/installing-images/
⁃	I used direct image copy as my MacOS is too old to use their installer
•	enable usb connection https://www.tomshardware.com/reviews/raspberry-pi-headless-setup-how-to,6028.html
⁃	I only did this as I couldn’t get the headless wifi ssh connection to work for some reason even tho I tried multiple times
⁃	create a blank ssh file (no extension) and copy it into sd card in the parent directly
⁃	follow the USB connection instruction inside the link by editing 2 txt files in the SD card
•	insert the SD card into pi zero w and connect usb cable to micro-usb port labeled USB not PWR as you need to use data usb connection to access ssh
•	connect the other end of the usb cable to laptop and wait for pi zero w to boot up
⁃	wait for flashing light to be stable, takes few minutes (est. 3 to 5min)
•	open terminal and type ssh<EMAIL_ADDRESS>•	⁃	if you get connection error
⁃	make sure to use usb cable that is capable of transferring data, I couldn’t connect at first due to issues with usb cables that were supplying power only
⁃	if you try to log in too early, before pi is fully boot up or forgot to copy the blank ssh file into SD card, you’ll get connection refused error
•	it will ask you about authenticity of host and if you want to connect, say yes
•	it will ask for password, type the default password raspberry
•	setup wi-fi https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
⁃	I used raspi-config tool (type sudo raspi-config)
⁃	goto localization options and scroll down until you see your country and press enter
⁃	goto network options and wireless LAN to enter your wifi name and password
⁃	press tab and high light finish and press enter
⁃	your pi zero w should now be on your network, you can test this by using another laptop or shutdown the pi zero w (don’t just pull the cable as this could damage the raspberry pi, use command sudo poweroff and wait until flashing light turns off) and power it back up using PWR usb port connection on the pi zero w
•	install node.js https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/
⁃	gymnastics’s GitHub has link to the version (https://unofficial-builds.nodejs.org/download/release/v12.18.3/)
⁃	extracting takes a while so be patient
•	 run below command in terminal so you can give write access to that folder, it will give you error if you don’t during install
⁃	sudo chown -R $USER /usr/local/lib/node_modules
•	install missing library
⁃	sudo apt-get install libudev-dev
•	run below command to install gymansticon
⁃	sudo npm install -g gymnasticon --unsafe-perm=true --allow-root
•	once install is completed run below command to make sure it is working
⁃	sudo setcap cap_net_raw+eip $(eval readlink -f $(which node))
⁃	You should see the program trying to connect to the bike, spin the pedal a few times and you should see the program connect and start showing you watt and cadence info
•	Create gymnasticon.service file to automatically run this program when pi boots up
⁃	sudo nano /lib/systemd/system/gymnasticon.service
⁃	copy paste text from https://github.com/ptx2/gymnasticon/blob/master/deploy/gymnasticon.service
⁃	sudo cp gymnasticon.service /etc/systemd/system
⁃	sudo systemctl enable gymnasticon
⁃	sudo systemctl start gymnasticon
•	Reboot the device and turn on Zwift and it should see the power and cadence sensor

Thank you for writing all of this up. I'm sorry it took 19 steps!
I just wanted to update the ticket to point out there is now a custom SD card image available with Gymnasticon pre-installed and configured. For anyone with an SD card reader/writer on their computer, it should hopefully be a lot easier to get started.
https://github.com/ptx2/gymnasticon#quick-start-install-gymnasticon-sd-card-image


Use internal io module in tests

Purpose

Remove ballerina/io import in lang tests and use internal io module instead,

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@ushirask it seems like most of the usages are coming from jballerina-integration-test. And they use other stdlib modules such as http, which seems wrong to me. Shall we check whether they are really used and remove these test cases?


General macrokata feedback

Hello,
Thank you for recommending your project!
I wanted to let you a general feedback on my macrokata experience.
Feedback
Overall, it's a really good step-by-step solution and easy to use that you provide.
It greatly helped me in completing the exercism macro exercise.
The book is a really good idea and explains a lot of things.
I didn't have any trouble understanding the vocabulary but that's because I studied compilation so I know how token trees and parsing work. Your token definition is really effective. I don't think people would understand what an AST is in 10., or you can provide a hyperlink to an article or a definition online.
Speaking about difficulty, I noticed a significant increase on 8. and more. A few more examples or advice could help on the separator placement or the expanded code result. I think that before 8. it is accessible to any rust developer. But you should put a warning in the main README explaining that these exercises are not recommended to beginners in programming.
test command
Can we just type the chapter number ? I'm lazy as any developer so when I saw that I needed to type the entire name of the exercise (am on windows), I was like "why do the titles have long words...", because you do have numbers as your chapters.
And if you fail to find the exercise, it continues with the next sentences and congratulations 🎉 because your stdouts are both empty . You should check the slices length.
How to read the instructions
You say in the main README that we should read the README associated but the code inside says to look at it in the book.
You should add a line just after, saying that you can find the associated chapter in the book with the hyperllink.
Exercise 4
The Macros and the Precedence of Operators paragraph is very short, but maybe too short. You could add a sentence saying:
"... expands to 3 * 4 + 2, so you compute 3 * 4 first, the answer will be 14, not 18 ..."
Exercise 5
I was kinda confused about the order of identifiers used in the main code, was it done on purpose ?
On the first use of the macro, you start by defining row then col but inside you use col on x and row on y.
But on the second use of the macro, you define first x then y and you use x to x and y to y.
I always define in my code the horizontal axis (first dimension) then the vertical (second dimension). I made a mistake on the macro code nesting of the macro. Would it be better to reverse row and col to match the second usage?
Moreover, I failed to understand in the book that the block fragment specifier DOES include the curly braces, so I didn't have to type them in my macro because you say "(anything inside curly braces)".
Exercise 8
I had trouble with the ; placement in the substitution macro part.
I didn't know we could just not put a separator when joining the repetitions back together so I spend a long time moving the character all around.
Can the graph be empty? because the matcher could change a lot then and the final ; be a pain in the 🍑.
Exercise 9
I think the exercise main misses a - minus sign before creating the enum: https://github.com/tfpk/macrokata/blob/5c68db2bccd814644c78507c5893b849300a6583/exercises/09_ambiguity_and_ordering/main.rs#L43
Because the goal of the exercise is only to reorder and remove ambiguity.
Exercise 10
I thought the goal was to use tt but the solution uses ident, is it important?
Exercise 11
The double arrow and underscore are quite complicated to manipulate, but finding the solution is very rewarding.
Exercise 12
At first I didn't understand we could use the $crate metavariable to use the structs. the "item or macro" words in the extract is quite generic and does not tell everything (is a macro an item too?). When I saw the example, I thought it was only macros.
Conclusion
I think like I know enough to make use of them, I may not be an expert in rust macros, but with what I learned I can do pretty extensive things. Thanks!

I really really appreciate all this feedback! Thank you so much.
I'm going to go through it individually when I have more time, and spin them out into PRs; but I just wanted to note that I've seen this and really appreciate the time you put into writing it out :)

Going to solve all these minor comments in a single PR which I'll create shortly.

Just type in the numbers

Agreed, but I didn't get around to it in the time I had to fix this stuff. Will make an issue to fix it properly later.

Errors say "it succeded".

Fixed.

I don't think people would understand what an AST is in 10., or you can provide a hyperlink to an article or a definition online.

Fixed.

The difficulty increased at 8.

I think this is just an inherent part of macros -- as you have to do more with them, there's more to keep in your head. But thanks for the note :)

But you should put a warning in the main README explaining that these exercises are not recommended to beginners in programming.

Fixed.

You should add a line just after, saying that you can find the associated chapter in the book with the hyperllink.

Fixed.

Precedence

I've added more words here :)

Using row and col, vs x and y

This was intentional, I've added a note about it .

block type unclear

I've changed the wording to make things better.

I had trouble with the ; placement in the substitution macro part. I didn't know we could just not put a separator when joining the repetitions back together so I spend a long time moving the character all around.

I've clarified this in chapter 6.

Can the graph be empty? because the matcher could change a lot then

The graph can be empty, it shouldn't change anything as long as you're using * not +.

I think the exercise main misses a - minus sign before creating the enum:

Agreed, thanks.

At first I didn't understand we could use the $crate metavariable to use the structs. the "item or macro" words in the extract is quite generic and does not tell everything (is a macro an item too?).

"Item" is a technical rust term. It means (in summary) anything which can be placed inside the outermost scope of a file. I've added a note, but it might merit a proper rewrite of section 12 at some point.
I think I've addressed all your comments, let me know on the PR if you've got anything else to add :) Thanks again!


Release 090

Created a release candidate for the PB so that the Beta team could have a stable version and could perform exploratory testing before releasing in production.

Can you please approve the request? The ECP-895 might need a full day tomorrow and we need to release PB tomorrow.


Failed arming checks (DroneKit and MAVSDK) and take off not reaching altitude

Describe the bug
Hi, i am trying to write a simple script that is a simple takeoff and go in a desired position but i am having some problem. I notice that with DroneKit and MAVSDK is not possible to arm and takeoff (also with qgorund when i try the command takeoff appear a pop-up that tell me that is not possible to arm the drone), while with pymavlink is possible to arm and takeoff. There is another problem when i set the height of takeoff for example 5 mt when i start the script the height is ignored and the drone go a the maxium RTL height that is set in the app.

See: https://github.com/mavlink/MAVSDK/issues/1990
Feel free to add more messages to Rosetta to improve compatibility with more MAVLink implementations.
For the RTL altitude, check in the DJI manual how RTL works.

The problem was not with the MissionManager but with motion.mask.ignorePosZ = true; in DroneModel.java line  1969 if you comment that line the drone will go to the desire altitude.

Ok, this is new code and it probably broke recently. I will check and fix very soon.


Add a possibility to inspect refactoring changes in Pull Requests during code review

Update the plugin to 2020.3;
Add a RefactorInsight toggle to the Pull Requests window;
Make it possible to detect refactorings in opened Pull Requests;
Stop to detect refactorings in the last 100 commits by default.

Codecov Report

Merging #63 (11a13a2) into master (267bd1e) will decrease coverage by 50.90%.
The diff coverage is 0.00%.

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


#5 fix: correct function return types

#5 Fix: I believe this is a bug resulting from the migration to typescript.  The return type of String is invalid as it is a wrapper object, not a type primitive.
I had a project using this package that breaks with error messaging around this type when we attempted to upgrade.
I ran all unit tests with this change, and all are passing.

Thanks for the contribution, @djsteinmetz.


Create a Pull Request Template

Background on the problem the feature will solve/improved user experience
Create a Pull Request Template for TakeTwo-WebAPI
Describe the solution you'd like
Add a .md file to the .github/ folder  to create a new pull request template
Tasks

copy the text in the following link:  https://raw.githubusercontent.com/Call-for-Code-for-Racial-Justice/Hacktoberfest/main/.github/pull_request_template.md

Create a new file in the TakeTwo-WebAPI
 .github folder

Paste the copied text from above into file

name the file:  pull_request_template.md

commit the change to your branch and create a pull request

Acceptance Criteria

Pull Request Template file is in the TakeTwo-WebAPI
.github folder:
As a user, when I open a pull request in the TakeTwo-WebAPI repository, the pull request template shows up

i would like to work on this issue

@salilbc , the issue is yours.


split out reducers in separate files

could also group all redux files in a redux folder (?)

see react-boilerplate


Upgrading NEST from <IP_ADDRESS> to 1.4.0 - issues with undocumented changes - AliasParams

I'm currently doing an upgrade of NEST and discovered some issues that I can't find any documentation about. To start with, I can't find what would be the equivalent to Nest.AliasParams in 1.4.0 (not mentioned in http://nest.azurewebsites.net/breaking-changes.html) and how I would go about changing the following to something else in the new version:
                aliases.Add(new AliasParams
                {
                    Alias = aliasName,
                    Filter = restrictions.Query,
                    Index = IndexName
                });

Anyone that can point me in the right direction?

Hi @fdahlin sorry we missed documenting this.  These tests should demonstrate how to use the new alias API:
https://github.com/elasticsearch/elasticsearch-net/blob/develop/src/Tests/Nest.Tests.Integration/Indices/AliasTests.cs
Let me know if those are clear enough.  Happy to provide a more specific example if needed.


Clean Dev S3 Bucket

Our dev S3 data bucket is 140GB with over 49k files, we can likely clear this bucket and save on costs.

Bucket has been emptied, 50k+ files deleted.


Excempt Admins from Rate Limits

The post rate limit is one of the most annoying things about Lemmy and it's something that should be applied only to new or untrusted users.


Build failing because of material-ui-core v5.0.1

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
Steps:

Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
while doing build on AWS Amplify I am getting this error
npm ERR! code ERESOLVE
2023-12-05T11:02:53.823Z [WARNING]: npm
2023-12-05T11:02:53.824Z [WARNING]: ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@emotion/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@emotion/styled
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!       6 more (@mui/joy, @mui/lab, @mui/material, @mui/styled-engine, ...)
npm ERR!     7 more (@mui/joy, @mui/lab, @mui/material, @mui/styled-engine, ...)
npm ERR!   62 more (@emotion/styled, ...)
npm ERR!
2023-12-05T11:02:53.824Z [WARNING]:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/material-ui-core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/material-ui-core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR!
2023-12-05T11:02:53.824Z [WARNING]: to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
2023-12-05T11:02:53.825Z [WARNING]:
2023-12-05T11:02:53.825Z [WARNING]: npm ERR!  Build failed
2023-12-05T11:02:53.831Z [ERROR]: !!!
  Output from `npx @mui/envinfo` goes here.

@namratanakhale material-ui-core is no longer maintained, see the latest installation instructions: https://mui.com/material-ui/getting-started/installation/#default-installation


Hover test and support

This implements hover on an element which works with selenium and chrome. Unfortunately hover in selenium with firefox appears to be currently broken

Is hover in selenium with firefox still broken?

@lynndylanhurley You could try it rather than posting on a PR that was closed 2 years ago - or ask in the mailing list as requested in the README - but no its not still broken since the Capybara tests pass for it.


Item is not selectable from autocomplete

I am using aucomplete with ajax code in order to populate the date for the select2 plugin.
I am using verion 3.5.2 and local html page for testing.
I type the part number and ajax call brings the products from the service via json and populates properly in the dropdown.
Unfortunately, items are not selectable, In fact event select2-selecting is not firing at all.
See screenshot attached.

Why would I get this behavior ? Is it related to json data coming from web service ?
regards
Mikhail

I have the same problem. I use select2 3.4.5 and I thought upgrading would help but I doubt that since you use 3.5.2.

We can't do much without a test page. There are a lot of variables here that we need to isolate, and it's difficult to do when it's only not working for a select few people.
If you can build out a jsfiddle (use the echo url) or link to a page where it doesn't work, then we can start working towards figuring out what is wrong.

i'm having the same issue. Previously i couldn't type in search box either. But after removing tabindex from modal div. Now i can type into it. But i can't select items by clicking on them. They are not clickable.

Sorry, the 3.x version is not maintained anymore. But feel free to fork the repo and fixes what you need.


feat: migration service api

Is your feature request related to a problem? Please describe.
As a developer building a migration solution from other cloud services (like ownCloud 10) I'd like to have an api to impersonate any user in ocis.
Due to the nature of migrations at no time trough out the migration is running any user interaction is possible.
Describe the solution you'd like
Within OCIS as an admin I can define a migration client which I can turn on/off and delete as I like.
The migrations API will basically hold exactly one API call:
POST /../exchangeToken
JSON-Body:
Some user identifier like email or uuid

The response will be a single access token which can be used to interact with ocis apis (mainly file upload and such via webdav as the real migration workhorse will be rclone and any api which will allow an impersonated admin account to create users)
For authentication of this single api call we will use a private/public key mechanism were the private key stays within the migration api client and the public key is shared with the ocis server.
E.g some JWT which is signed with the key material.
As soon as the migration is done the client registration can be removed.

right. the machineAuthAPIKey  is currently a shared secret for ocis services.
oCIS also has service accounts, but they cannot act on behalf of other users.

Workaround:

hand out machine key to migration tool
run migration
change machine key and reboot ocis

To not leak the machineAuthAPI key you could implement a service that implemnts the impersonation api you described above. It can also be a standalone minimal service without all the boilerplate. Then the admin can run it during the migration and afterwards the code is completely removed.

Discussing with @DeepDiver1975 and @dragotin we think a cli tool that starts and registers a service until the migration is done is more secure than a dedicated service. The proxy can be configured to route the /exchangeToken enpoint to the temporary migration service.

Assigning myself.  "Look to my pull request on the first light of the fifth day...."


Order layout panel should be enabled only when we are focused on that panel

Describe the bug
The order side panel is rendering even when it's the order button isn't focused.
We should enable it only when we want to interact with it as it's another set of elements that re-render every time
there is a change in the blocks within the page.
To Reproduce
Steps to reproduce the behavior:
Use devtools to see the order panel logic rendered even when you don't intend to interact with it because your focus
is on the page options or a certain focused block.
Expected behavior
Order panel should render only when focused.

@Deathnote45 there are some expectations that we require for open source contributors to follow before contributing. Have a look at the docs here: https://6.docs.plone.org/contributing/first-time.html

@Deathnote45 please read and follow First-time contributors, especially Things not to do, Contributing to Plone, and Contributing to Volto.

Hii @ichim-david is anyone working on it. if not I like to work on this.

Hi @ichim-david ! I would like to work on this issue if it's not already being dealt with. Thanks!

@ichim-david sorry sir for inconvenience, deeply sorry, it's my fault for not reading yours contribution guide properly.

@ichim-david we discussed already that we want a clean comment history, and not scroll through noise. I used to leave my own admonitions, but they were ignored repeatedly. Going forward, we can leave the first admonition and delete the rest.
However in all of my experience, those who post a comment such as the one above don't read anything except the title, and maybe the description, of the issue. That's why I have https://docs.github.com/en/get-started/writing-on-github/working-with-saved-replies/creating-a-saved-reply to make it easier to admonish such inconsiderate behavior. I almost never bother to personalize these messages because they don't bother to read a readme or contributing guide. Here's the one I use most often, and I delete the Volto bit for other repos.
please read and follow [First-time contributors](https://6.docs.plone.org/contributing/first-time.html), especially [Things not to do](https://6.docs.plone.org/contributing/first-time.html#things-not-to-do), [Contributing to Plone](https://6.docs.plone.org/contributing/index.html), and [Contributing to Volto](https://6.docs.plone.org/contributing/volto.html).

@ichim-david  As I understand it, you're saying that when we open the layout tab, it currently defaults to rendering the order tab inside instead of the block tab. Are you suggesting that we should render the block tab by default instead of the order tab? Please let me know if I misunderstood

@nitinawari no. What I mean is this, the order tab renders it's content which is a drag and drop list of blocks that mirrors the drag and drop seen on the main edit area.
The order Component should only be rendered when the Order tab is activated, otherwise it should return null or '' so that it doesn't influence the performance of the editing interface since again it mirrors the editing interface blocks.

@nitinawari I think @ichim-david is talking strictly about the markup part which you can see by inspecting the page and it renders even when you have selected the other tabs. So, it should only be rendered when the Orders tab is active and we want to see its contents and not always by default.

@ichim-david I’ve resolved the issue with the orderTab, but I noticed a new issue after that fix. The elements of the "Order" tab now take a long time to render after clicking on it. This delay seems to be related to the activeTab state and how it’s managed when switching tabs. It appears that the tab content is not updating immediately, causing the delay. Do u have any suggestions for this  ?
Screencast from 2024-12-25 22-03-41.webm

No problem. Thank you for your replay and enjoy 😊.


[Help] Very large emoji size

This is how emojis look like for me:

I use  noto-fonts-emoji package for emojis (tried multiple fonts but all look large)
it looks large without a theme, and with the theme in this issue
any help appreciated!

I think this point towards you having a font configuration error of some kind.
I recommend you look over your files under

~/.config/fontconfig/conf.d
/etc/fonts/conf.d

It could perhaps also be caused by some GTK theme config or similar. Here's what I think you should do:

Confirm that the problem isn't with rofi-emoji: rofi -dmenu < /usr/local/share/rofi-emoji/all_emojis.txt
Confirm that it's not a Rofi theme issue: rofi -config /dev/null -dmenu < /usr/local/share/rofi-emoji/all_emojis.txt
Confirm it's not a Pango/gtk rendering issue: pango-view <(head -n 1 /usr/local/share/rofi-emoji/all_emojis.txt)

You can read Arch Wiki's font troubleshooting guide as a help too.

thanks for your detailed reply, i have tried all of the tests and they pass,  it appears the mistake was actually in my fonts
thanks!

@Mange, on my case, i want to increase the emoji size. How i can control size these?

@Mange, on my case, i want to increase the emoji size. How i can control size these?

I think a Discussion would've been more appropriate for this, but I'll give you a quick pointer here in case that is enough. :slightly_smiling_face:
You need to change your Rofi theme (man page, and set a font size on element-text element. (It's not element-icon since Emojis are text, not image files)

thanks for your detailed reply, i have tried all of the tests and they pass, it appears the mistake was actually in my fonts thanks!

@Flinner could you let me know what you did to resolve this? I'm having the same problem and I cannot find what's wrong with my font config that's causing this behavior.


Game on android 4.4 does not work

Godot version:
3.1
OS/device including version:
Samsung Galaxy S4 mini with android 4.4.4
Issue description:
This issue is related to this question: https://godotengine.org/qa/50091/game-app-not-working-when-i-change-display-settings
I have the same problem when I try to play my game: https://schweini007.itch.io/fish-catching, where the display settings are 2D and keep.

Your project seems to use the GLES3 renderer (at least when running the Linux binary). Try switching to the GLES2 renderer in the project settings.

If I would like to export my game to the Google Play Store and would like to support all android version, what should I do then?

Switch to the OpenGL ES 2.0 renderer as mentioned. Old devices don't support OpenGL ES 3.0.

Ok it works now. I understood now how to handle that with the Play Store. Thanks


Provide configuration option for counting invisible/visible messages in Azure Storage Queue scaler

Proposal
I believe we should introduce a new configuration option that will influence this:
  metadata:
    queueName: orders
    queueLength: '5'
+   queueLengthStrategy: Default|VisibleOnly|InvisibleOnly
    activationQueueLength: '50'
    connectionFromEnv: STORAGE_CONNECTIONSTRING_ENV_NAME
    accountName: storage-account-name
    cloud: AzureUSGovernmentCloud

Use-Case
We've been going back and forward if Azure Storage Queue scaler should consider invisible during evaluation or not, but this is not ideal for everyone. Example https://github.com/kedacore/keda/issues/4432.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response

Seems simple enough, I can take this up.

This would be perfect for us. For some specific queues, we leverage the visibility of messages in the queue, to postpone processing them. The current implementation means that KEDA will keep scaling up, because there are invisible messages in the queue, but the jobs it creates have nothing to do, since there are no visible messages in the queue.
So, being able to specify that for this particular trigger, we only want to consider the visible messages, would allow this to work for us without continuously creating useless jobs in the cluster.

The PR is open as you can see above your comment.

Azure Container App Jobs as advertised

Mind elaborating on this? =)

The PR is open as you can see above your comment.

Azure Container App Jobs as advertised

Mind elaborating on this? =)

@tomkerkhove I have an Azure Container App Job set to listen to an Azure Queue. I have the scaler to poll every minute, however, when I create a queue item for 10 minutes in the future, if I have only this item in the queue, the job gets started every minute even though the queue item is not visible yet, when the 10 minutes passes then it executes the job with the queue.
If we could ignore invisible messages, then Azure Container App Jobs will only get triggered if there is a visible message when polled.


IncludeStatement document links using backslash fails to resolve

The resolve function taking the URI cannot handle backslash correctly and fails to resolve the correct file URI
Example:
#include "./json.au3"; Works
#include ".\json.au3"; Fails

This does not seem to break on Windows, but breaks in web and linux


Possibility to remove scalars / plots / debug samples

Hi,
Thanks for the library. My use case is running a model multiple times with different seeds. I want everything to be reported under the same experiment. How I do it right now, assuming only accuracy scalar:

accuracy_seed_x
accuracy_seed_y, etc.

Once the training is finished, I average the results and report it under accuracy. Once I have done this, I would actually like to remove accuracy_seed_{x,y} to have fewer graphs. I create them so I can have some intermediate results to look at, but once it finished I actually want to discard them. This is a use case for cross-validation, I want to visualize separate folds, but once it finished I just want to look at the averaged results.
I would expect something like logger.delete_metrics(), logger.delete_plots() etc. Let me know if its currently supported or if there's some workaround. I assume I could have an accuracy_temp where I save the accuracy_seed_x. Once that finished, I overwrite it all with 0's. Then I start writing there accuracy_seed_y. Thanks!

Hi @bmartinn, thanks for the quick response.
I am running the tests serially one after the other in the same experiment. The reason is that I want to have the graphs of the multiple runs on the same experiment.
To highlight the reason why it is important, imagine that I am reporting per task 5 scalars, i.e. accuracy, balanced accuracy, etc. My model predicts 5 of these tasks, which results in 25 scalars => 25 scalar graphs. If I want to run 5 experiments with different seeds and aggregate the results, assuming I underscore scalar names by seed, I would have 25*5=125 scalar graphs. In the end I will create average scalars => 25 average scalars => 25 average scalar graphs. The last 25 are the only one I am interested once training finished, the previous 125 are good for intermediate visualization. So it would be nice for me to be able to clean up the graphs and delete the unused 125 once I am finished. The workaround that I have now is that for each seed I aggregate the results under scalar_name_temp and then after 1 seed I reset the graph by putting 0's everywhere, so the next seed can reuse it.
Regarding using the UI to only present that specific series, I agree with you, but it would also be nice if I can clean-up intermediate results that I am plotting.
Regards,
Radu

Hi @mhashas
Apologies for the delay, this one somehow slipped away :(
So two options:

As you already mentioned, you can overwrite the scalars every new seed, and your scalar_name_temp is exactly that :)
You can create a "dummy" experiment, actually containing the results for the specific seed.
Once you are done, you can reset the experiment (thus deleting all its scalars), and reuse it.
Finally you can delete the "dummy" experiment altogether

# create dummy task
dummy = Task.create('examples', 'dummy')
# report metric
dummy.get_logger().report_scalar(...)
# new seed, clear dummy task
dummy.reset(set_started_on_success=False, force=False)
# when done, delete task
dummy.close()
from trains.backend_api.session.client import APIClient
client = APIClient()
client.tasks.delete(task=dummy.id)


Generators automatically assumes class when it should be enum

Describe the bug
The generator prefers other renders over enum which should be the other way around because enums are more strict.
How to Reproduce
Given the following JSON Schema:
{
  "type": "object",
  "properties": {
    "prop1": {
      "type": "object",
      "enum": [{"test": 2}]
    }
  }
}

prop1 is rendered as a class when it should have been an enum.
Expected behavior
Expected an enum to be generated.

Solved in the next branch.


Connect in Node.js

We have the bindings page, but I want to see it under the "how-to"

We discussed this and it's not a valuable addition right now, since we now have the bindings.


Compatibility with "RedHat Build of Keycloak"

Problem Statement
In the docs, you state that you are not officially supporting RedHat SSO. Since RedHat SSO is going to go EOL soon, and will be replaced by "RedHat Build of Keycloak": Does your policy of "we don't officially support this setup" also apply to the new RedHat Build of Keycloak, or is it close enough to mainline OSS Keycloak that you will officially support it?
(For some companies, "no official support of this combination" means that your tool cannot be used, hence clarity here would be appreciated)
Proposed Solution
Update the documentation to explicitly state whether RedHat Build of Keycloak is supported.
Environment
Not relevant to the question :)
Additional information
No response
Acceptance Criteria

[ ] Documentation states whether RedHat Build of Keycloak is supported or not

Hello everyone,
we wanted to check first if there is a possibility to support it.
In the meantime I will Pin this issue.

Hello @malexmave.
There is no way for us to test it with RedHat as we do no have the licence, so we don't support RedHat SSO.
In general, RedHat SSO version will be always mapped to a keycloak version, so you can use it as a hint to know if a dedicated RedHat SSO can work. Also, you could give us access to your RedHat SSO license.


How to use proj4leaflet plugin?

How do I use the proj4leaflet library with ember-leaflet?

i meant to ask this in /ember-leaflet


T38 - RecreatePurchLines handling of PurchLine."Drop Shipment" AND PurchLine."Special Order"

in Tbale 38 in function RecreatePurchLines  we need to handle "Drop Shipment" and "Special Order" but case conditions are now well because he included Service Header in Purchase. Maybe you can think about including some Variants in some new event publisher like OnHandleDropShipmentAndSpecialOrder and include handler to skip standard testfields, because we want to skip it in case of Service (we have extended Purchase line with field "Purchasing Code Source"::Service,Sales). Described in picture:

Thank you in advance

Please use 15.X code and specify event and it's location in the code. When it can be processed as event-request for 15.X. Without this information we have to classify it as Extensibility Requests and it will take more time and will not be delivered in 15.X but for next version only.

So, on Table 38 in function RecreatePurchLines we have a lot of checks it PurchaseLine is for "Drop Shipment" or "Special Order" and we would like to handle it.
Old code:

New Code:

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM)

@tasanuma Created Addendum PR.

Thanks for updating it. +1, pending Jenkins.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 46s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 59s

trunk passed

+1 :green_heart:
compile
22m 53s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
20m 15s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 23s

trunk passed

+1 :green_heart:
mvnsite
0m 41s

trunk passed

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
0m 45s

trunk passed

+1 :green_heart:
shadedclient
20m 34s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 17s

the patch passed

+1 :green_heart:
compile
22m  5s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
22m  5s

the patch passed

+1 :green_heart:
compile
19m 52s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
19m 52s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 30s

the patch passed

+1 :green_heart:
mvnsite
0m 27s

the patch passed

+1 :green_heart:
javadoc
0m 32s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 31s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
0m 53s

the patch passed

+1 :green_heart:
shadedclient
20m 37s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 34s

hadoop-annotations in the patch passed.

+1 :green_heart:
asflicense
0m 55s

The patch does not generate ASF License warnings.

172m 12s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3521/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3521

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux f31abad04adc 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 967d6caea93963f45d122aa70be98c4d46c79b91

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3521/1/testReport/

Max. process+thread count
689 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-annotations U: hadoop-common-project/hadoop-annotations

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3521/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 26s

trunk passed

+1 :green_heart:
compile
23m 55s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
19m 29s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 34s

trunk passed

+1 :green_heart:
mvnsite
0m 39s

trunk passed

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 36s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
0m 49s

trunk passed

+1 :green_heart:
shadedclient
19m 55s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 15s

the patch passed

+1 :green_heart:
compile
23m 13s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
23m 13s

the patch passed

+1 :green_heart:
compile
19m 55s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
19m 55s

the patch passed

+1 :green_heart:
blanks
0m  1s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 31s

the patch passed

+1 :green_heart:
mvnsite
0m 37s

the patch passed

+1 :green_heart:
javadoc
0m 35s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 38s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
0m 53s

the patch passed

+1 :green_heart:
shadedclient
19m 45s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 38s

hadoop-annotations in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

172m 28s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3521/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3521

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 71764fa0094c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / f2e56322fc5f8819fbce0f338ab70d5f43e05061

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3521/2/testReport/

Max. process+thread count
542 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-annotations U: hadoop-common-project/hadoop-annotations

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3521/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Merged it. Thanks, @virajjasani.


Set SELinux options on the File (Folder) generated by pyvenv

I'd like to be able to set the SELinux type on my virtualenv, but if I declare a second file directive to do this, I get a redeclare error on the next puppet run.
For example:
file {'externalapi_venv':
  recurse => true,
  path => '/var/www/externalapi/venv',
  seltype => 'httpd_sys_content_rw_t',
}

python::pyvenv { '/var/www/externalapi' :
  ensure       => present,
  version      => '38',
  systempkgs   => true,
  venv_dir     => '/var/www/externalapi/venv',
  owner        => 'jkirsop',
  require => Vcsrepo['/var/www/externalapi/code'],
}

I'm not aware of a way of setting the seltype in a 'clean' way other than doing so through the file class, and so having the ability to do this within the pyvenv class (and then have it filter down to the file class) seems like the most obvious way to me.

@bastelfreak, does the above suggestion make sense?? I'm running into this limitation quite frequently now...


linear.py cannot plot out other degenerations of the ground state

I tried setting the h1(final Hamiltonian) as H = - \sum _{i＜j}  \{ Z_i Z_j} , in this case, the ground state should have two degenerations(all ↑ state or all ↓ state). While linear.py only plots one situation. How do I apply check_degenerate in this case? Thank you.

Thank you for looking into our examples.
I think it depends on what exactly you would like to plot. Using the h1.eigenvalues() and h1.eigenvectors() methods you get the whole spectrum of the Hamiltonian, so h1.eigenvalues()[0] will give you the ground state energy and h1.eigenvalues()[1] will give you the second eigenvalue which in case of degeneracy will be the same as the first. Similarly:
h1.eigenvectors()[:, 0]

will give you the first eigenvector (in this case the |00...0> state) and
h1.eigenvectors()[:, 1]

the second eigenvector |111...1>. Ofcourse all superpositions a|00...0> + b|11...1> are ground states too, but scipy doesn't know that so it just returns separate eigenvectors with the same energy.
You can use the above to adjust the plots accordingly. For example you can calculate two seperate overlaps with |00...0> and |11...1> by modifying the code as follows:
eigenvecs = h1.eigenvectors()
target_state1 = eigenvecs[:, 0] # |00...0>
target_state2 = eigenvecs[:, 1] # |11...1>

energy = callbacks.Energy(h1)
overlap1 = callbacks.Overlap(target_state1)
overlap2 = callbacks.Overlap(target_state2)
evolution = models.AdiabaticEvolution(h0, h1, lambda t: t, dt=dt,
                                          solver=solver,
                                          callbacks=[energy, overlap1, overlap2])
final_psi = evolution(final_time=T)

and then plot both overlaps as seperate lines in the same plot as:
plt.subplot(122)
plt.plot(tt, overlap1[:], linewidth=2.0)
plt.plot(tt, overlap2[:], linewidth=2.0, linestyle="--")
plt.xlabel("$t$")
plt.ylabel("Overlap")

Keep in mind though that this may not be very useful as the adiabatic evolution searches for the ground state of h1 which in the degenerate case can be any superposition, so I guess it is not necessary that these overlaps will go to 1 but the energy may still approach the correct value. I'm not very familiar with the theory behind adiabatic evolution to talk more about this from the physics perspective though.

Thank you so much for your help and answer, I think now I'm able to plot the other degenerate state. And just to check(since I'm a beginner for Python),what does the meaning of nunmber in [] of h1.eigenvector()[:, 1]? What if I want to know the overlap of state,say,11100 when nqubits＝5 ? Are I able to use h1.eigenvetor()[] or other ways?
Thank you.

Thank you so much for your help and answer, I think now I'm able to plot the other degenerate state. And just to check(since I'm a beginner for Python),what does the meaning of number in [] of h1.eigenvector()[:, 1]?

[] is how you access the elements of a numpy array and other data structures (such as lists or tuples) in Python. See indexing in the numpy documentation for more details. The [:, 1] used here returns the whole second column of an array with two dimensions (matrix).

What if I want to know the overlap of state,say,11100 when nqubits＝5 ? Are I able to use h1.eigenvetor()[] or other ways?

No, h.eigenvectors() returns the eigenvectors of the Hamiltonian h using the np.linalg.eigvalsh (or the equivalent Tensorflow operation) and is not related to any overlap. If you want to calculate overlaps with other states you have to define them manually as arrays in the computational basis.

If you want to calculate overlaps with other states you have to define them manually as arrays in the computational basis.

Thank you for your help. But I'm still a little confused about how to define a state that I want, can you show me a simple example please?


Msbuild Python project build failure for azure web role

C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(4709,5): error MSB3094: "DestinationFiles" refers to 2 item(s), and "SourceFiles" refers to 1 item(s). They must have the same number of items. [C:....test.pyproj]

What version of Visual Studio are you using? It shouldn't be trying to run with MSBuild 12.0 - that's quite an old version these days.

facing same issue with MsBuild 14.0

"C:......\LexBadgrCS.sln" (publish ta
rget) (1) ->
"C:.....\lexbadgr.pyproj" (
Publish target) (3:8) ->
(_CopyFilesToPublishFolder target) ->
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targe
ts(4875,5): error MSB3094: "DestinationFiles" refers to 2 item(s), and "SourceF
iles" refers to 1 item(s). They must have the same number of items. .....\lexbadgr.pyproj]

So you are using Visual Studio 2015 then?
Have you tried with Visual Studio 2017? That is the version we are maintaining right now - we've had to shift our focus to the newer one, and so while it's been very significantly improved we haven't been able to fix or update the older version in a while. And ultimately, we aren't going to be able to release any updates for VS 2015 at this stage.
However, it's very likely that this is a simple enough fix in your .pyproj file. Can you share it with us? Either attaching it here (we don't need any code files), or email to<EMAIL_ADDRESS>

Hi I have  shared details with my Microsoft account.

LexBadgr.zip

I have attached the project file

We received it. We're not actually a support team, so occasionally it takes a little longer to respond to these requests than people who don't have other work to do, but I'm taking a look right now.

I don't see anything in the project file likely to be causing the issue, so it must be in our old targets files.
If you are building this from the command line, please be aware that is not a supported action for VS 2015. We want it to work, but did not have the resources to ensure it did back then.
If it fails with VS 2017, when run from the command line or in the IDE, we will triage the problem against others that are being considered for our upcoming releases. We don't have time right now to investigate issues that have already been fixed, unfortunately, so if trying with a newer VS is not an option you'll either need to dig into the .targets file on your own or wait for us to get through our current backlog.

Build.txt
adding build log

build is trying publish  dependent projects which is causing issue, how to stop solution to build and publish  dependencies

Discussing separately and we'll open a new issue if we find something to fix.


XML import / export?

I would be interested in a text-based format (XML, CSV, ...) for import / export, which would be easier to process with scripts, and sync with e.g. LaTeX, Gimp and so on.

+1 to that :)

HTML2CLR seems to be half-way there.  It just lacks a way to specify the names, and an opposite variant (i.e. CLR2HTML, if you want to keep that naming scheme, although only the RGB code has the HTML syntax).


Update to reflect file format

Binary is the only format available in MGdc for Azure Blob Storage or ADLS

merging PR


Add responsiveness and accessibility

1. Responsiveness

Mobile
Desktop

2. Accessibility

Added tabindex for good tabbing navigation experience (only 1 change necessary)
Added consistent focus indicator on inputs
No additional aria-labels necessary

Just a quick note: From looking at the code, everything looks fine but I have to test one thing in production which delays the merging until the next stream.
@tim0-12432 In the meantime: Could you please target the develop branch and not the main branch with this PR? Thank you!


Document how Flutter plugins are supposed to be tested

Some gaps here:

flutter create -t plugin does not produce any test files.
https://flutter.io/platform-channels/ does not mention testing.

Actions items:

Write a best practices doc for testing plugins. Mention both Dart and native code. Publicize the mock channel implementation (I personally learned about this by reading code in flutter/plugins).
Add test files to the template.

@roughike, your proposal makes sense to me. Should we close this as a duplicate of https://github.com/flutter/flutter/issues/10824 and continue the discussion there?

I agree that this is a duplicate of #10824; closing.


Update limit-syntax.md

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


MaxRedirects vs MaxRetries of ClusterOptions

I am testing the offline behaviours of go-redis by manually turn off the wifi network.
opt := &redis.ClusterOptions{
	Addrs:        addrs,
	Password:     Password,
        ...
}

client := redis.NewClusterClient(opt)

for {
	time.Sleep(time.Second)

	get, err := client.Get("test").Result()

	fmt.Println("%s:%s", get, err)
}

After several tests it's seems like MaxRedirects is the only option that could affect the total execution time before returning error when the network was down, then what would be the use case of option MaxRetries author?

Try to assign some value to MaxRetries. If there is still a question - re-open with a program that reproduces the problem.


Some unit tests produce a Jest error

This (still) happens when we run Editor.test and InputLiteral.test:
Jest did not exit one second after the test run has completed.

This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.

running Jest with --detectOpenHandles actually makes the message go away without provioding any details

I can't reproduce this;  I think @jgreben fixed it when he put fileReader.readAsText(files[0]) in a try block in StartingPoints component in 45af80b9e


Added per request caching of dependencies

This avoids executing a dependency multiple times, if it's used more than once in the dependency tree.
Still unsure about the following:

using request.state for the cache

the key "_dependency_cache" in general, without the leading underscore perhaps?
Basically: Should this be part of the public interface?

is there still a use case for use_cache?

PR Checklist

[ ] Have you followed the guidelines in CONTRIBUTING.md?
[ ] Have you got 100% test coverage on new code?
[ ] Have you updated the prose documentation?
[ ] Have you updated the reference documentation?

@all-contributors add @ottermata code

Let me know when ready, this can be merged as fat as im concerned.

Feel free to merge it, I'm new to this 😅

Feel free to merge it, I'm new to this 😅

very nice work


namespace/module App not defined

New project, loaded into F# Interactive, and am not able to load MathNet.Numerics.IfSharp.fsx
`#load @"C:\projects\TradingApp\TradingApp\packages\MathNet.Numerics.FSharp.3.11.1\MathNet.Numerics.fsx"
//Issue on this line.
#load @"C:\projects\TradingApp\TradingApp\packages\MathNet.Numerics.FSharp.3.11.1\MathNet.Numerics.IfSharp.fsx"
open MathNet.Numerics
open MathNet.Numerics.IfSharp
let m = matrix [[ 1.0; 4.0; 7.0 ]
[ 2.0; 5.0; 8.0 ]
[ 3.0; 6.0; 9.0 ]]
let v = vector [ 10.0; 20.0; 30.0 ]`

Also having issues trying to reference raw .dll.  Appears I need a reference to System.Runtime.Numerics , which does not appear to be available.
I am in a Xamarin PCL profile 7 project.

This is a blocking issue for authoring our ML algorithms for mobile platforms.

Quick question: did Xamarin try to load MathNet.Numerics.IfSharp.fsx automatically or did you try to load it manually? This file is only intended for IfSharp, the F# profile/kernel for IPython Notebook/Jupyter, see IF# Notebook - Math.NET Numerics Docs.

It seems that the F# package only supports PCL profile 47, not profile 7. But I need to check why, maybe we can add profile 7 as well (the core package supports profile 7 explicitly).


Do not download content/rawContent when loading search result data

When loading the data for a search result the content/rawContent is always part of the dataset. In my case the excerpt data would be just enough. To save bandwidth and increase speed I would like to avoid downloading content/rawContent. Do you think it´s possible to configure Pagefind so that content/rawContent is not send to the user when loading the search results data?
Best regards, Ulf

It would be nice indeed! 👍

👋 @ulfschneider
In the current architecture there isn't a simple toggle — the main barrier is that the excerpt is calculated in the browser, by snipping out a section of the content that contains the search term.
There could possibly be an option to manually tag an excerpt for a page using metadata, which would make that the only excerpt used no matter what was searched, which would let you opt out of loading the full content. It can make the results a bit harder to understand though, when you can't see why your search term matches on a given page.
Keen to hear thoughts on that.
(And just in case there's an ambiguity, content is only loaded once, and rawContent is a duplicate of it. Plus this is only loaded when displaying the final result, so this data doesn't live in the search index itself)

Hi,
ah yes, because you have to prepare the excerpt on the client I think I understand the difficulty. The dynamic excerpts require the full content and only a static excerpt can be prepared without downloading the full content.
Sending certain static content immediately with the search result (like the document title or a static excerpt) makes sense to me. The static content to carry immediately could be configurable when building the index.
At least having the document title immediately would be of great value in my view. A UI that indicates search suggestions with only the document title could be very fast in that case.
Thank you for pointing out how content is loaded and rawContent being a duplicate of it. I was not aware.

To describe what I do with Pagefind I´ve put together a document: Searching a Jamstack site with Pagefind. When you do a search on that website, you´ll see that I provide a first suggestion with up to seven document titles (titles only), from where you can jump into the contents of a document, or alternatively submit a search. This is a usecase where I think getting the document titles immediately with the search result would be an improvement.


Expect new live stream fields from collections publisher

Adds a new live_stream method to the presenter.
Need to add the new field to the content item before we can merge this pr.

Closing PR for today as for current requirements we can just depend on the show_video flag rather than the date field


Change QGIS Test User Account

Change the user account being used for QGIS testing to prevent conflict with the test.administrator user as this user is used by the integration test harness and prevents test data being successfully removed by the test harness once tests are completed.

I have setup user logins for all testers. I will tell those who have in the past used test.administrator (@Deb-Jones, @josephramsay) to switch to the new logins.
Closed


Cannot execute the sample code in the ESI of Chem. Sci., 2018, 9, 1289.

Hi,
Thanks for providing the algorithms.
I just installed the quippy and tried the glosim.
I tried the code in electronic supplementary materials for the paper Chem. Sci., 2018, 9, 1289.
glosim.py traj-pentacene.xyz -n 9 -l 9 -g 0.3 -c 3 --kernel rematch --gamma 2 --periodic --nonorm

The glosim program seems not to recognize options '--periodic --nonorm' .
                   :
glosim.py: error: unrecognized arguments: --periodic --nonorm

Also, without these options, the program abort with the message below.
WARNING! fast hungarian library is not available

Cannot find mcpermanent.so module in pythonpath. Permanent evaluations will be very slow and approximate.
Get it from https://github.com/sandipde/MCpermanent
          TIME:   Wed Oct 17 14:46:59 2018
        ___  __    _____  ___  ____  __  __
       / __)(  )  (  _  )/ __)(_  _)(  \/  )
      ( (_-. )(__  )(_)( \__ \ _)(_  )    (
       \___/(____)(_____)(___/(____)(_/\/\_)

using output prefix = traj-pentacene-n9-l9-c3.0-g0.3_rematch-2.0
Reading input file traj-pentacene.xyz
564  Configurations Read
Computing SOAPs
Traceback (most recent call last):
  File "glosim/glosim.py", line 862, in <module>
    main(args.filename, nd=args.n, ld=args.l, coff=args.c, cotw=args.cotw, gs=args.g, mu=args.mu, centerweight=args.cw, onpy=args.onpy, peratom=args.peratom, unsoap = args.unsoap, usekit=args.usekit, kit=args.kit,alchemyrules=args.alchemy_rules, kmode=args.kernel, normalize_global=args.normalize_global, permanenteps=args.permanenteps, reggamma=args.gamma, noatom=noatom, nocenter=nocenter, envsim=args.envsim, nprocs=args.np, verbose=args.verbose, envij=envij, prefix=args.prefix, nlandmark=args.nlandmarks, printsim=args.distance,ref_xyz=args.refxyz,partialsim=args.livek,lowmem=args.lowmem,restartflag=args.restart, zeta=args.zeta, xspecies=args.separate_species, alrange=(args.first,args.last), refrange=(args.reffirst, args.reflast))
  File "glosim/glosim.py", line 243, in main
    sii,senvii = structk(si, si, alchem, peratom, mode=kmode, fout=fii, peps=permanenteps, gamma=reggamma, zeta=zeta, xspecies=xspecies)
  File "/home/iino/Work/glosim/libmatch/structures.py", line 292, in structk
    cost=rematch(kk, gamma, 1e-6)  # hard-coded residual error for regularized gamma
  File "/home/iino/Work/glosim/libmatch/lap/perm.py", line 46, in rematch
    raise ValueError("No Python equivalent to rematch function...")
ValueError: No Python equivalent to rematch function...

It seems the code for REMatch kernel is not implemented yet.
Is there any problem in my environment, or is it intentional?

Yes, sorry this is development code and options are changing. If you want to reproduce the behavior for the Chem. Sci. paper, you should roll back to a commit before https://github.com/cosmo-epfl/glosim/commit/51c9c0b3037422de424bdadc8c446ffd76e98df1
Otherwise, you should be able to obtain the same normalization as from that paper with simply the option --peratom.
Let me know if this works.


sr3 network

Hello,
I tried to run the inpainting.json with sr3(I changed from guided_diffusion to sr3 in the config file) but I got the following error:
praser.py", line 49, in init_obj
    raise NotImplementedError('{} [{:s}() form {:s}] not recognized.'.format(init_type, class_name, file_name))
NotImplementedError: Network [Network() form models.network] not recognized.

does sr3 works?

Maybe there are some minor problems, can you provide a more detailed log?

I encountered the same issue and found the solution.
If you scroll a bit the error message, you will find there's a problem with UNet initialization.
This is because UNet in guided_diffusion and in sr3 has different UNet and they require different inputs.
You should adjust the config so it's setting sr3 UNet initialization parameters:
https://github.com/Janspiry/Palette-Image-to-Image-Diffusion-Models/blob/136b29f58d0af6e5db9f3655d2891f5a855fcdaa/models/sr3_modules/unet.py#L6-L19
For example you could try setting config json as:
...
"module_name": "sr3", // sr3 | guided_diffusion
"unet": {
    "in_channel": 6,
    "out_channel": 3,
    "inner_channel": 64,
    "norm_groups": 16,
    "channel_mults": [
        1,
        2,
        4,
        8,
        // 8,
        // 16,
        16
    ],
    "attn_res": [
        8
        // 16
    ],
    "res_blocks": 1,
    "dropout": 0,
    "image_size": 256
},
...