Add README reference for MCP

@shamsher31: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
560012f34629657cc11f3e9fd29a3817b3b42f24
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-multicluster-k8s-tests_istio

@shamsher31: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
560012f34629657cc11f3e9fd29a3817b3b42f24
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-multicluster-k8s-tests_istio


[Template] Add dependencies mypy+isort+black+flake

Closes https://github.com/neuromation/cookiecutter-neuro-project/issues/283
Before, tqdm in requirements.txt was just an example.

We'll install it to the base image
No tests rely on it.

Question: Should we pre-install these dependencies also to the base image in order to shorten make setup time?

Let's keep them here. Otherwise, an empty file is a bad example.


Added a sketch functionality.

 1. This is how the sketch page looks like. The paint tab is added in the navigation bar for all the pages.
 2. It allows you to change the pen color, size toggle pan, add basic shapes like square, circle, and triangle.
 3. Scalable text box can be added.
 4. Images can be uploaded, objects can be grouped or ungrouped.
 5. Redraw allows you to clear the entire drawing area and save allows you to save in a png format.

![sketch (10)](https://user-images.githubusercontent.com/65896648/103525259-ed6ed980-4ea4-11eb-82ab-c3dd13831719.png)
I have sent a video working of the same on slack channel of awesome portfolio websites because the file limit exceeded here.
thanks,
carbseater & bhoomika07

@bhoomika07 please fix the merge conflicts

@bhoomika07 please fix the merge conflicts

@anushbhatia can you please give design improvements for this so that @carbseater can take over

@anushbhatia can you please give design improvements for this so that @carbseater can take over

@smaranjitghose I'm working under Devscript winter of code, so can you add this label DWOC? Or if doesn't matter then its fine 👍

@smaranjitghose I'm working under Devscript winter of code, so can you add this label DWOC? Or if doesn't matter then its fine 👍

@smaranjitghose I'm working under Devscript winter of code, so can you add this label DWOC? Or if it doesn't matter then its fine 👍

Done

@smaranjitghose I'm working under Devscript winter of code, so can you add this label DWOC? Or if it doesn't matter then its fine 👍

Done

@bhoomika07 please fix the merge conflicts

done

@bhoomika07 please fix the merge conflicts

done


MTDSA-12211: Create and Amend a FHL UK property business annual submission - connector and service

Connector and Service complete


marathon service start error [ marathon.service: main process exited, code=exited status=1/FAILURE]

mesos version : mesos-0.25.0-0.2.70.centos701406.x86_64
marathon version : marathon-0.11.1-1.0.432.el7.x86_64
chronos version : chronos-2.4.0-0.1.20151007110204.el7.x86_64
zookeeper version: mesosphere-zookeeper-3.4.6-0.1.20141204175332.centos7.x86_64
I used below commands to install the maesos,marthon,chronos,zookeeper on the Centos7.
    sudo rpm -Uvh http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
    sudo yum install mesos marathon chronos mesosphere-zookeeper

There are two mesos-masters,the ip are <IP_ADDRESS> and <IP_ADDRESS>.Also i created the files master,zk,hostname in [/etc/marathon/conf].Below are the details of three files.
1.master>>zk://<IP_ADDRESS>:2181,<IP_ADDRESS>:2181/mesos
2.zk>>zk://<IP_ADDRESS>:2181,<IP_ADDRESS>:2181/marathon
3.hostname>><IP_ADDRESS>
I can start the mesos-master service and open the url [http://<IP_ADDRESS>:5050] and http://<IP_ADDRESS>:5050, and the leader master was leaded successfully.
But i cannot start the marathon service and cannot open the [http://<IP_ADDRESS>:8080]
Below is the detail when i user the [service marathon status -l] command.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#localhost xufei]# service marathon status -l
Redirecting to /bin/systemctl status -l marathon.service
marathon.service - Marathon
Loaded: loaded (/usr/lib/systemd/system/marathon.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2015-10-25 03:03:44 PDT; 1s ago
Process: 6777 ExecStart=/usr/bin/marathon (code=exited, status=1/FAILURE)
Main PID: 6777 (code=exited, status=1/FAILURE)
Oct 25 03:03:44 develop-mesos-master1
#localhost.localdomain systemd[1]: marathon.service: main process exited, code=exited, status=1/FAILURE
Oct 25 03:03:44 develop-mesos-master1
#localhost.localdomain systemd[1]: Unit marathon.service entered failed state.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Below is the detail when i user the [journalctl -o verbose _PID=6777] command.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#localhost conf]# journalctl -o verbose _PID=6777
-- Logs begin at Sun 2015-10-25 02:48:41 PDT, end at Sun 2015-10-25 03:18:55 PDT. --
Sun 2015-10-25 03:03:44.168930 PDT [s=5827ad02b7164cdeb1947da2c9a80cc6;i=208c;b=8cdffcc7c1c849b887266e94d8cbe621;m=36175ff3;t=522eaf5bed3e2;
PRIORITY=6
_UID=0
_GID=0
_SYSTEMD_SLICE=system.slice
_BOOT_ID=8cdffcc7c1c849b887266e94d8cbe621
_MACHINE_ID=e485efeafe934ce99407be78a4ed3aac
SYSLOG_FACILITY=3
_CAP_EFFECTIVE=1fffffffff
_TRANSPORT=stdout
_EXE=/usr/bin/bash
_HOSTNAME=develop-mesos-master1
#localhost.localdomain
SYSLOG_IDENTIFIER=marathon
MESSAGE=run_jar --master zk://<IP_ADDRESS>:2181,<IP_ADDRESS>:2181/mesos --zk zk://<IP_ADDRESS>:2181,<IP_ADDRESS>:2181/marath
_COMM=marathon
_CMDLINE=/bin/bash /usr/bin/marathon
_SYSTEMD_CGROUP=/system.slice/marathon.service
_SYSTEMD_UNIT=marathon.service
_PID=6777
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I solved it by myself.
The root cause is the marathon-0.11.1 needs the JDK1.8+.
I removed the JDK1.7 and install the JDK1.8 then solved the problem.

@joheexu thanks for reporting the solution!


C/C++ integration (bin/codon build -o libfoo.so foo.codon) error

I am testing out https://docs.exaloop.io/codon/interoperability/cpp and i get the error below.
OS : Fedora 37
Codon Versions Tested: v0.15.5 & v0.15.4
foo.codon
@export
def foo(n: int):
    for i in range(n):
        print(i * i)
    return n * n

[stevenstarr@fedora codon-deploy]$ bin/codon build -o libfoo.so foo.codon

/usr/bin/ld: libfoo.so.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared
object; recompile with -fPIC /usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
error: process for 'gcc' exited with status 1

When compiling libraries, --lib --relocation-model=pic should solve this issue. Will add it to the documentation.


fix storycloze datanames

The dataset_name fields in lm_eval/tasks/storycloze/storycloze_2016.yaml and lm_eval/tasks/storycloze/storycloze_2016.yaml are integers, which causes
TypeError: argument of type 'int' is not iterable

FIX: convert them to strings.

 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.

Thanks for the fix!


QoL improvement to Firefox UX for challenges using ".hkn" TLD (simple fix)

This is a proposal to change one setting within Firefox in the Kali Image with the goal of reducing confusion and frustration, especially for beginners.
The problem
Many of the webexploitation challenges in Haaukins requires visiting a domain with .hkn as the TLD, e.g. loremipsum.hkn. This is not a valid and recognized TLD by ICANN[^icann]. Therefore, when entered in the addressbar Firefox treats it as search term for the default search engine instead of trying to visit the site, usually leading to a timed out yandex search because of no outside access. This is undesirable.
Solutions
Current
The current way of getting around this issue is to remember to manually type http:// with the domain or end the domain with a / such that loremipsum.hkn should be input to address bar as either http://loremipsum.hkn or loremipsum.hkn/. This seems to prevent Firefox from thinking it is a search term.
Proposed better solution
Make *.hkn domains behave as any other domain with the following tweak[^ff-support] and restarting Firefox.
User-level fix*
echo 'user_pref("browser.fixup.domainsuffixwhitelist.hkn", true);' > ~/.mozilla/firefox/n9ika5o8.default-esr/user.js

*n9ika5o8.default-esr is the directory of the current active firefox profile which can be seen in about:profiles. I am not certain n9ika5o8 is always the name of the active profile in Haaukins.
System-level fix
echo 'pref("browser.fixup.domainsuffixwhitelist.hkn", true);' > /lib/firefox-esr/defaults/pref/hkn-tld-whitelist.js

Contributing
I would have made a pull request but I can't find any repo with configurations made to the Kali image running on Haaukins. The only clue I can find about it is this.
[^icann]: ICANN's list of top-level domains
[^ff-support]: Prevent FireFox from executing a search for "unknown" domains | Firefox Support Forum | Mozilla Support

Totally makes sense!
We are currently just generating the images iteratively in virtual box. So there is not any repository for vm generation

This has been fixed with our kali-v1-0-4 machine


Make sure that editing profile without 'change mentor' permission doe…

…sn't delete mentor on profile

@akatsoulas r?

@akatsoulas done, thanks for the review. Not sure why I was under the impression that self.instance wouldn't help the old value :/


Added order task

This task tests the ability of language models to understand the sequential ordering of sentences. Given a particular sentence with words arranged in a random order, the language model is required to construct a sequentially correct sentence.

Hi there, thanks for this submission, I'm one of the reviewers. I have a few questions about this dataset:

First, it seems like it's a possibly-ambiguous task, and indeed some of the examples proposed are ambiguous. For example "are sent computer brain in the robot’s parts messages from the to motors." is mapped to "Messages are sent from the computer brain to motors in the robot’s parts." but could also be mapped to "Messages are sent from the computer brain to parts in the robot’s motors." Or, in the following example, "computer science" and "engineering" could be swapped and the meaning would be totally equivalent. Or, the phrasal order can be swapped, e.g. "We can heal wounds caused by bacteria with its help."  or "With its help we can heal wounds caused by bacteria". Do you think you can find sentences that are unambiguous to deshuffle?
I spotted some typos/noise - for example, the unshuffled sentence "Robotics is the field of computer science and engineering concerned with creating robot." ends with the word "robot", which is not in the list of shuffled words. Can you confirm that the dataset has been totally cleaned?

@MukundVarmaT We are now requesting that task authors please include an explicit section in the README.md file called "data source", listing exactly where you got your data from (or explicitly state that you made it up yourself). Many thanks!

@craffel are one of the assigned reviewers for this task.  Please provide feedback and be sure to notify me with a formal accept or does not meet criteria by Tuesday June 22 (if you have not already done so).

@csinva are one of the assigned reviewers for this task.  Please provide feedback and be sure to notify me with a formal accept or does not meet criteria by Tuesday June 22 (if you have not already done so).

Hi @MukundVarmaT, tI'm one of the reviewers assigned to your task. Thanks for the nice submission!
Before doing a full review, I want to echo @craffel's comments. It seems to me that lot of these examples are ambiguous and could be unscrambled in different ways (usually by switching words with the same parts of speech). Ideally, the task would contain only unambiguous sentences. Alternatively, maybe the task could be phrased as multiple-choice where the model needs to pick the unscrambling which makes the most sense.

Hello @craffel @csinva, Thank you for reviewing my submission.
I am extremely sorry for the delay in my response as I was occupied with a couple of exams this week. I have made the following changes to hopefully address your concerns.

Since there is a lot of difficulty in arriving at unambiguous samples with sufficient diversity and taking @csinva's suggestion, I have converted the task into a multiple-choice task where - "Given a jumbled sentence, 4 re-ordered sentences as options, the language model is required to choose the most sequentially correct sentence". I have tried to ensure that the choices themselves are not ambiguous and that there is only one possible correct option.
Additionally, I have increased the number of samples to 100.

Below you can find a description of the dataset (@chiafullo, I have added this to the README as well)

The sentences are scraped from https://www.englishinuse.net/, specifically choosing sentences of length > 5 words. To shuffle the sentence, it is first split into words, n-grammed (n = 1, 2, 3) and then recombined in a random order. This further induces varying degrees of word-order distortions. To create the Input, the shuffled sentence is first lower-cased (does not allow the model to easily identify the first word of the sentence, who's first character is usually in uppercase) and all the punctuations except the ending-punctation are removed. The choices are created by sampling another 3 random word-permutations of the same sentence (target score = 0) along with the original sentence (target score = 1). The first letter of the sentences present as choices are upper-cased and all the punctuations are kept intact to strictly gauge the model on its ability to perceive the order of words and not from other secondary cues.

Can you report the performance of existing LMs on this task? I suspect they may already do pretty well.

Hi,
Using the evaluation scripts available on this repository, I got the following scores.

Model Name
multiple_choice_grade

gpt2
0.74

gpt2-medium
0.84

gpt2-large
0.82

I believe these scores are related to the task being relatively simpler (i.e previous setting of predicting the entire unscrambled sentence vs the current setting of choosing the most probable out of the given set of choices)
However, if required, I can revert back to the previous setting and try to find a sufficiently large sample set of unambiguous sentences.

Thanks for the updates @MukundVarmaT! I think the task is much improved now and could be a nice addition to BIG-Bench.
Correctness

No issues. There is some subjectivity in the specific sentence ordering, but at least my eye the answers, at least for multiple choice, were all clear.

Formatting

Overall no issues - the formatting looks good.

Specificity

No issues. The readme states the goals of the task clearly.

Thoroughness

The task contains about 100 quizzes, which is a pretty reasonable size - the task could of course include more, but I feel the task as it stands already represents a useful addition to the benchmark.

Difficulty

Current language models already appear to

Not solvable by memorizing the Internet

There is potentially an issue here where the groundtruth sentences are scraped from the web, where the model could have seen then.

Novelty

One potential issue is that this task is very similar to some standard ways that are already used to evaluate language model performance (i.e. trying to maximize their conditional log-probabilities for swaths of unseen data).

Justification

No issues. The authors justify why this task is of interest to the research community in the readme file.

Size

No issues. The dataset is on the smaller side, but still fits the organizers’ requirements.

Compute Resources

No issues. The task should be trivial to run on any modern machine.

Overall, I think there are are some issues with the task (related to novelty and memorizability above), but I think this task could still serve as a reasonable addition to the benchmark. @chiafullo accept

The amount of tasks we received this round is tremendous.  With so many tasks to review we have decided to extend the review period to Tuesday, June 29.
Reviewers: if the submitter has made revisions please be sure to notify me with a formal ”accept” or ”does not meet criteria” by Tuesday, June 29  (if you haven't already done so).
this is an automated message

Your task has been accepted in the initial review stage.  The next stage of this process is for us to assign your task a meta-reviewer for final review and merge.  An assigned meta-reviewer will follow-up by commenting on the PR should it need further revisions.

@Sohl-Dickstein
Thank you for reviewing the submission.
I do agree that the task is relatively simple in its current setting and ideally I would want to increase the complexity of the task.
Regarding the two quick changes you suggested:

Just to confirm if I understood that correctly, here the distractor sentence would refer to a grammatically correct sentence among the choices, where one/a couple of words do not belong to the input jumbled set.
The whole addition of choices was to avoid ambiguity among possible combinations of unscrambled sentences (which arise due to switching words within the same part of speech, etc), and finding a sufficiently diverse set of unambiguous sentences is very difficult. So if I am not mistaken, not providing these choices will lead to the above issue.

Shuffling words and characters does seem to be an interesting way to increase the difficulty of the task. I am just a bit skeptical if the transformation is too harsh that the model considers the input text as equivalent to noise. Probably shuffling a portion of the word in a simpler fashion (reversing it) might be doable.
Just had a thought,
What if additionally, the task includes something like: given an input sentence, two words are randomly switched and the model needs to predict which two words need to be swapped for the output sentence to be meaningful. Maybe to extend this, a sequence of swaps can be performed and the model needs to predict the shortest sequence of the swapping process to construct the correct sentence.
Please do let me know what you think would be ideal here and I shall make the required changes. Thanks

@Sohl-Dickstein
Thank you for reviewing the submission.
I do agree that the task is relatively simple in its current setting and ideally I would want to increase the complexity of the task.
Regarding the two quick changes you suggested:

Just to confirm if I understood that correctly, here the distractor sentence would refer to a grammatically correct sentence among the choices, where one/a couple of words do not belong to the input jumbled set.

Exactly that. Distractors could involve: dropping a word from the jumbled set, duplicating a word from the jumbled set, adding a word not in the jumbled set, substituting a word in the jumbled set for a synonym.

The whole addition of choices was to avoid ambiguity among possible combinations of unscrambled sentences (which arise due to switching words within the same part of speech, etc), and finding a sufficiently diverse set of unambiguous sentences is very difficult. So if I am not mistaken, not providing these choices will lead to the above issue.

If you turn off append_choices_to_input, the model response is still restricted just to the set of choices you provide. It's just that the choices are not provided in the model's context window before the log probability of each of the choices is evaluated. So, turning append_choices_to_input off should not cause this same issue.

Shuffling words and characters does seem to be an interesting way to increase the difficulty of the task. I am just a bit skeptical if the transformation is too harsh that the model considers the input text as equivalent to noise. Probably shuffling a portion of the word in a simpler fashion (reversing it) might be doable.

Just a note that if the task is too hard for all current language models, that is totally OK. So long as the task is still possible, I wouldn't worry about making it too hard -- we want tasks that are harder than what can currently be done, rather than easier. (Additionally, if you split the task into subtasks, then one of the subtasks can be easier, and the other harder, which is good because it provides more graded evaluation.)

Just had a thought,
What if additionally, the task includes something like: given an input sentence, two words are randomly switched and the model needs to predict which two words need to be swapped for the output sentence to be meaningful. Maybe to extend this, a sequence of swaps can be performed and the model needs to predict the shortest sequence of the swapping process to construct the correct sentence.

I guess here, it would be challenging because the model would need not just to recognize the correct sentence, but would also need to communicate the correct way to transform the jumble into that sentence, which is probably much harder to achieve just by correlating words, and recognizing grammatically correct sentences. I think this is a good idea.

Please do let me know what you think would be ideal here and I shall make the required changes. Thanks

I think any of the three discussed approaches are likely to make the task much more challenging, and would be good! I would make the two changes I recommended (distractor sentences, turn off append_choices). Then, I would either:

measure performance on the task and show that it is now very low for GPT2
and/or implement one of the additional ways we discussed to make the task more difficult, as a second subtask.

Thank you again for your contribution!

@MukundVarmaT
I wanted to check in on whether you will be able to make a subset of the improvements we discuss above within the next few days. We are working to wrap up the meta-review process over the next week, and I would very much like to include your task.
Thanks again for your submission!

@Sohl-Dickstein
I am sorry for the delay. I will try my best to complete the changes we discussed before this weekend.

Hey @MukundVarmaT , checking in on whether you've had an opportunity to update your task. We are hoping to finish the meta-review process, and merge all tasks, over the next couple days.
Thanks again!
-Jascha

@Sohl-Dickstein
Really sorry for the delay from my side. I have added the two primary changes: "append_choices_to_input": false and addition and distractor sentences (2-3 per example).
I would like to add the subtasks as well and I shall try to do the same in the next couple of days.
Thanks!

Thank you for the updates! They look great. I will hold off on next steps for a couple days.

@Sohl-Dickstein
update:

I have added 2 more distractor sentences per example by finding synonyms for randomly chosen (non-stop words) from wordnet and replacing them with it. Prior to this, I had manually created them but I thought directly using synonyms might ensure similar embeddings and make it harder for the model. Therefore, I have included both.
I have now split the task into subtasks described as follows:

Re-ordering Words (reorder_words):
Given a sentence with jumbled words and different re-ordered sentences as options, the language model is required to choose the correct unscrambled sentence.
Re-ordering Characters (reorder_chars):
Given a sentence with shuffled characters (including spaces) and different re-ordered sentences as options, the language model is required to choose the correct unscrambled sentence.
Re-ordering by Word Swaps (reorder_byswap):
Given a sentence with jumbled words, the language model must identify the correct set of sequential word swaps to construct the correct unscrambled sentence from the given set of options.

Here is an illustrative example as well:
Reordering words
    Input: "an urgent qualified teachers need for there is.",

    Choices:
        - "There is an urgent need for qualified teachers."
        - "There is an urgent need for qualified faculty."
        - "There is an urgent need for highly qualified teachers."
        - "There is an pressing need for qualified instructor."
        - "There is an urgent penury for qualified instructor."
        - "Qualified teachers need for an urgent there is."
        - "Need for qualified teachers there is an urgent."
        - "There for need an is urgent teachers qualified."

    Target scores:
        - 1
        - 0
        - 0
        - 0
        - 0
        - 0
        - 0
        - 0

Reordering characters
    Input: " tu eirrtaesndtns qreraee feihedefoau n gic lh.",

   Choices:
       - "There is an urgent need for qualified teachers."
       - "There is an urgent need for qualified faculty."
       - "There is an urgent need for highly qualified teachers."
       - "There is an pressing need for qualified instructor."
       - "There is an urgent penury for qualified instructor."
       - "Qualified teachers need for an urgent there is."
       - "Need for qualified teachers there is an urgent."
       - "There for need an is urgent teachers qualified."

   Target scores:
       - 1
       - 0
       - 0
       - 0
       - 0
       - 0
       - 0
       - 0

Reordering by swapping
    Input: "is an there urgent need for teachers qualified."

   Choices:
       - "1-7, 7-6, 1-2, 6-2, 0-6, 1-0, 4-7, 4-7, 0-2, 1-6, 2-0"
       - "3-6, 6-4, 7-0, 3-1, 6-1, 1-0, 4-1, 6-1, 3-6, 4-7, 7-5, 6-4, 0-7, 3-7"
       - "5-7, 0-7, 2-4, 7-1, 1-6, 1-6, 4-1, 0-2, 0-2, 5-1, 7-4, 6-3, 7-2"
       - "4-3, 5-2, 7-6, 3-0, 4-6, 4-0, 3-7, 6-7, 7-1, 5-0, 7-5, 4-2, 0-3, 4-0, 5-1, 3-1"

   Target scores:
       - 1
       - 0
       - 0
       - 0

Additionally, was thinking if the 'choice_prefix' for reordering by swapping has to be changed from " Unscramble: " to maybe " Word swap sequence to unscramble: ". Do let me know what do you think.
I hope the above changes improve the overall quality of the task.
Thanks!

@MukundVarmaT
These changes are great, and make this a very strong task, spanning a range of difficulties! I'm very much looking forward to seeing how language models of different scales perform on this.
I have a couple very small remaining requests:

Could you add a task_prefix to all three subtasks, such that a human performing the task would understand what the instructions were? This will be especially important for getting a meaningful score in the 0-shot context.
The correct answer to the reorder_byswap subtask is not unique. There are many ways to swap words to turn the source sentence into the target sentence. Could you set append_choices_to_input to true for this subtask, so that the LM is explicitly choosing from a list of options with only one correct choice?

Thank you again for making these changes!

... and one more thought. Would you feel comfortable renaming your task directory (via a git mv) to something more descriptive? Possibilities include (but are not limited to) reorder_after_shuffle, undo_permutation, infer_order_after_shuffle.
Thanks again!

@Sohl-Dickstein
I think I have made a mistake here. I have included choice_prefix which I think must be changed to 'task_prefix' as I want the string " Unscramble: " to prepend every example input. Also if I am not wrong, the task_prefix in this case would not be mandatory.

Great!
I made some small additional changes, to improve formatting (after running the task in the human eval colab notebook. Please let me know/submit a corrective PR if you have concerns about any of these!
Merging now. Thank you again!


Data files download doesn't work

Describe the bug
When installing the editor it asks to download data files for the editor to work, clicking "yes" results in it getting stuck on "Waiting for a response" and it never downloads. I've tried redownloading BeardLib, redownloading SuperBLT, downloading the GitHub version of BeardLib instead of the ModWorkshop version, nothing works.

Steps to reproduce the issue
Download the editor and try to download the data files when prompted.
Log file
No response
Minimal reproduction
No response

Download them manually from modworkshop. Updates/in game downloads are not working right now


Investigate changes for etcd 3.0

A feature complete beta of etcd 3.0 has been released: https://github.com/coreos/etcd/releases/tag/v3.0.0-beta.0. There seem to be significant changes in the API that probably affect ConstructR, e.g. "No key-value hierarchy / directories" (we use hierarchies), "Leases" (instead of TTL) and "Lock: mutex on top of etcd ".

See #124.


"My Markets" market maker section

I think it would be a good idea to have an overview page where a market maker could see a summary of his markets:

List of markets he is making
For each market show liquidity contribution, market maker fee (%), current volume, current market maker fee ($ = MM% x volume), estimated profit (loss) if market resolves Yes, estimated profit (loss) if market resolves No.
Total liquidity contribution across markets
List of markets that do not yet have a guaranteed profit locked in (volume is high enough to lock in a profit no matter how the market resolves)

This section should display info of interest to market creators / market makers:

total fees collected, from augur.getFees(market)
total volume in each market, from augur.getVolume(market)
total number of trades, from augur.get_total_trades(market)
average size of each trade (computable directly from trade logs -- is there a better way to do this @joeykrug?)

Functional mock showing the "My Markets" section as a tab within the Portfolio page:

Just submitted an AURC pull request here: https://github.com/AugurProject/augur-ui-react-components/pull/74
Once that is merged in, I'll also be submitting a PR for the related Augur changes.
Once both of those merge in, I'll be closing out this issue.

Changes Requested:

[ ] get rid of top summary items: Total Value:212.38 ETH Total Gain/Loss:+9.5 ETH Fees Paid:0.201 ETH Fees Earned:1.77 ETH + replace with data in site-header: "1000eth Portfolio +9.5 eth"
[ ] black page-header should be top-most element, connecting to site-header
[ ] place tabs within page-header, with summary information for each, so instead of "my positions", "my markets", etc., "100 Positions (+35%)", "12 Markets (134eth)", etc

All changes are now pushed to AURC's branch 204-my-markets.

Per comments on PR, a couple additional tasks:

[ ] Create discrete modules for my-markets
[ ] Refactor my-markets styling for congruence to positions
[ ] Create discrete module for my-reports
[ ] Refactor my-reports styling for congrunece to positions
[ ] Include my-markets on market-detail page

Major AURC changes are now merged.  Some minor post PR tweaks incoming.
Once PR for Augur side is merged, I'll be closing out this issue.

[ ] Selector Changes
[ ] Optimization of filtering for author created markets

PR is here!  #740
There are still a couple tests to be written, but I pushed those off since others were getting blocked due to failing tests.  I'll wrap those tests into the PR for my-reports.
Once the PR is merged, I'll close the issue.


Is the domain "bosh-lite.com" persisted in bosh-lite vm?

I create a bosh-lite vm with the domain .bosh-lite.com and it works. Then I created another bosh-lite vm and deploy cf on it with domain ".bosh-lite2.com", but the domain can not be accessed. For example:
ping api.bosh-lite2.com failed.
curl https://api.bosh-lite2.com/v2/info failed.

Hi. I'm not sure I understand the question but bosh-lite.com is a real domain registered on the internet, although it returns a private (RFC1918) address:
$ host api.bosh-lite.com <IP_ADDRESS>
api.bosh-lite.com has address <IP_ADDRESS>
$ host api.bosh-lite2.com <IP_ADDRESS>
Host api.bosh-lite2.com not found: 3(NXDOMAIN)
You'd need to add *.bosh-lite2.com to your local DNS server for this to work.


fix mean of widths for avg_width

fix the get_char_base_bboxes_and_avg_width function. Return avg_width as 0 if widths list is empty.

Input to recreate the bug:
I1PD958530003.json.gz

looking at https://github.com/OpenPecha/Toolkit/blob/master/openpecha/formatters/ocr/ocr.py#L411 it should be None instead of -1

also please add a test case

replaced by #214


Add unit tests to incease coverage

https://coveralls.io/builds/41032970

Coverage was increased.


Feat: Publish/Subscribe

know more about the exchange.
know more about temporary queues (auto-generate name queue).
know more about bindings.
adding sample script combining exchange, temporary queues, and bindings.
completed the documentation about step by step use the Publish/Subscribe in RabbitMQ

LGTM


LCSC field in schematic updated incorrectly

When clicking 'Export to Schematic' the plugin will incorrectly update the LCSC field of objects in the schematic.
Depending if all schematic objects have an LCSC field or not two different behaviors occur.
(A) All objects have LCSC field:  The plugin fails to update the schematic objects LCSC fields with values from plugin database.
(B) At least one object doesn't have LCSC field: The plugin updates numerous schematic objects with the same value from (what appears to be) the first item in the plugin database.  It also will create a second LCSC field on some of the schematic objects.
To Reproduce

Click on 'Export to Schematics'

Expected behavior
Schematic updated with a single LCSC field containing value from plugin database.
Plugin Version
2022.08.01
KiCad Version

Application: KiCad PCB Editor

Version: (6.0.7-1)-1, release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.41.0

Platform: macOS Big Sur Version 11.6.8 (Build 20G730), 64 bit, Little endian, wxMac

Build Info:
	Date: Jul 26 2022 20:28:16
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.79.0
	OCC: 7.6.2
	Curl: 7.64.1
	ngspice: 35
	Compiler: Clang 12.0.0 with C++ ABI 1002

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

I was using this the yesterday and it is not working correctly, I will try to fix it.


Cannot run when installed with pnpm: Declare explicit dependencies

Describe the bug
I cannot run gql-gen when gql-gen is installed by pnpm & @microsoft/rush.
The node_modules setup they create is very strict. Packages cannot use indirect dependencies pulled in by other dependencies. They won't be found. For example, listr-update-renderer is used by packages/graphql-codegen-cli/src/utils/listr-renderer.ts but never declared in packages/graphql-codegen-cli/package.json
Solution
Please add listr-update-renderer and change-case to the production dependencies of graphql-codegen-cli. Also, please move common-tags and graphql-tools from dev to production.
We have a work around that allows us to patch the package.json but ideally we wouldn't keep that around forever.
Environment:

OS: Linux
Codegen: 0.16
Node: 10.15

Additional context
https://rushjs.io/pages/advanced/phantom_deps/

Fixed in 0.16.1 :)


[rawhide,rootless] podman run: sd-bus call: Permission denied:

Possible flake: it triggered on fc31 gating tests, but not on two separate fc31 VMs I created. I'm now seeing it on rawhide:
$ podman run alpine date
Error: sd-bus call: Permission denied: OCI runtime permission denied error

debug log: podman-sd-bus-eperm.txt
I noticed the /run/user/0/bus error, and tried setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus, but that made no difference. Neither did setenforce 0.
$ ls -lRa /run/user/1000
/run/user/1000:
total 0
drwxr-xr-x. 2 fedora fedora 40 Oct  3 11:19 .
drwxr-xr-x. 4 root   root   80 Oct  3 11:19 ..

Important package versions:
  5.4.0-0.rc0.git3.1.fc32.x86_64
  conmon-2.0.2-0.1.dev.git422ce21.fc32.x86_64
  crun-0.10-1.fc32.x86_64
  iptables-1.8.3-5.fc31.x86_64
  iptables-libs-1.8.3-5.fc31.x86_64
  podman-1.6.2-0.1.dev.gite67e9e1.fc32.x86_64
  podman-manpages-1.5.2-0.88.dev.git2366fd7.fc32.noarch
  podman-tests-1.6.2-0.1.dev.gite67e9e1.fc32.x86_64
  slirp4netns-0.4.0-22.1.dev.git4e51172.fc32.x86_64
  systemd-243-2.gitfab6f01.fc32.x86_64
  systemd-libs-243-2.gitfab6f01.fc32.x86_64
  systemd-pam-243-2.gitfab6f01.fc32.x86_64
  systemd-rpm-macros-243-2.gitfab6f01.fc32.noarch
  systemd-udev-243-2.gitfab6f01.fc32.x86_64

podman-sd-bus-eperm.txt

This fixes it:
$ export XDG_RUNTIME_DIR=/run/user/$(id -u)

@giuseppe I suspect this falls under your area of expertise

when XDG_RUNTIME_DIR is not specified, Podman tries to set it to a location that is usable by the current user, and it seems weird that /run/user/0 was used, unless it was explicitly set.  Could you verify if XDG_RUNTIME_DIR is leaking from the root session?

XDG_RUNTIME_DIR is not leaking. It is unset. I suspect that something-something-recent is making magical dbus calls before podman initializes XDG_RUNTIME_DIR.

Might not be a change in podman; on this system, I can reproduce even with podman-1.6.0-0.27.dev.git19075ca

Tried downgrading to 5.4.0-0.rc0.git2.1.fc32 (from git3.1) and systemd-243-1.fc32 (from 243-2.gitfab6f01) because a similar test vm, in which gating tests passed, shows those versions. No luck: I still see the sd-bus error.

I think this one is was fixed by our XDG_RUNTIME_DIR fixes?

I now see this issue on Fedora 31 and the XDG_RUNTIME_DIR does not seem to help: https://bugzilla.redhat.com/show_bug.cgi?id=1776187.


Provide more descriptive documentation on operations

There's basically no descriptions on what each operation does. Sure, based on the operation name some experienced developer can infer/guess what it does, but it's pretty hard for a beginner to make sense of it. As an example, look at the documentation on "S" operation.

For the example of the S operation, the API reference provides the matrix description of the operation:

This matrix form is a complete description of what the S operation does, but I definitely take the point that that is a bit hard for a beginner to make sense of. At the moment, the explanation of matrix notation for what the different operations each do is largely in the conceptual documentation about linear algebra, but that doesn't have much in the way of Q# examples to make it easier to understand how the reference documentation works.
Perhaps what might make the most sense is to open new issues to track the improvement of the conceptual articles and the list of other resources for beginners. I'll go on and do that, thanks for filing the issue!

These types of operations are similar to calls to cos, sin, etc. We do not think reference documentation is the right place to explain what 'S' does, just like we wouldn't use reference docs to explain what cos is. However, we do think it will be valuable to add additional examples/tutorials to make these operations more approachable. We captured that in issue #113.


availability as kernel device?

Hello,
First thanks for this software, it is really useful for me.
Do you intend to rewrite it such that it registers a kernel device when the bluetooth audio device is paired, i.e. that the bluetooth audio device appears like a normal soundcard/device in /dev?
I couldn't make zoom work with bluetooth headsets if I insist on not using pulseaudio. It seems that zoom "sees" only the audio devices exposed by the kernel.
Thanks.

No, real kernel device is beyond the scope of this project. However, you can try to use ALSA loopback device. For example see this issue: https://github.com/Arkq/bluez-alsa/issues/419 maybe it will give you a hint. Personally, I've been never setting up ALSA loopback with bluez-alsa, so I've got no real experience with that.

Thank you.


seasonal_mean fails (returns None)

When I use esmvaltool.preprocessor.seasonal_mean, None is returned, where I expected a seasonally-averaged cube.
I've provided a Python script and a recipe below as test case.
The dataset used is for this test case pr_Amon_ACCESS1-3_historical_r1i1p1_185001-200512.nc
Software versions involved (Conda installation, macOS 10.13.6, but also reproduced from a Docker container running Ubuntu 18.04.1 LTS):

Python 3.6.6
ESMValTool 2.0a1
Iris 1.13.0

The Python script below shows a workaround, by re-implementing seasonal_mean and comparing the time bounds to within a range of days; the built-in variant compares with a fixed amount of hours (2160 == 90 days), while my time bounds are in days (and range between 90 and 92).
Note that in both variants, units are completely missing (the types of time.bound[0] and time.bound[1] are numpy.float64).
import esmvaltool.preprocessor as pp
import esmvaltool
from esmvaltool.cmor.table import read_cmor_tables
esmvaltool._config.CFG = esmvaltool._config.read_config_developer_file()
read_cmor_tables(esmvaltool._config.CFG)

fname = "pr_Amon_ACCESS1-3_historical_r1i1p1_185001-200512.nc"
cubes = pp.load_cubes([fname], fname, None)
cube = cubes[0]
cube = pp.fix_metadata(cube, "pr", "CMIP5", "ACCESS1-3", mip="Amon", cmor_table="CMIP5")
pp.cmor_check_metadata(cube, "CMIP5", "Amon", "pr")
cube = pp.fix_data(cube, "pr", "CMIP5", "ACCESS1-3", cmor_table="CMIP5", mip="Amon")

assert cube.coord('time').shape == (1872,)

def seasonal_mean(cube):
    import iris
    iris.coord_categorisation.add_season(cube, 'time', name='clim_season')
    iris.coord_categorisation.add_season_year(
        cube, 'time', name='season_year')
    annual_seasonal_mean = cube.aggregated_by(['clim_season', 'season_year'],
                                              iris.analysis.MEAN)

    def spans_three_months(time):
        """Check for three months"""
        # 3-month periods are 90, 91 or 92 days
        return 90 <= (time.bound[1] - time.bound[0]) <= 92
    three_months_bound = iris.Constraint(time=spans_three_months)
    return annual_seasonal_mean.extract(three_months_bound)

# Need a copy, because pp.seasonal_mean will add new coordinates (clim_season & season_year)
cube_copy = cube.copy()
cube = pp.seasonal_mean(cube)
assert cube is None

# Run our own seasonal_mean
cube = seasonal_mean(cube_copy)
# nearly a factor 3 smaller, since the start (Jan & Feb 1850) and end
# (Dec 2005) are not averaged: (1872-3)//3 == 623
assert cube.coord('time').shape == (623,)

Recipe test.yml:
datasets:
  - {dataset: ACCESS1-3, project: CMIP5, mip: Amon, exp: historical, ensemble: r1i1p1, start_year: 1850, end_year: 2005}

preprocessors:
  pp1:
    seasonal_mean:

diagnostics:
  diagnostic1:
    description: test case
    variables:
      pr:
        preprocessor: pp1
        field: T2Ms
    scripts:
      test:
        script: /path/to/test.py

test.py is only there to provide a required script: it doesn't really do anything:
#! /usr/bin/env python

from esmvaltool.diag_scripts.shared import run_diagnostic

def main(cfg):
    pass

if __name__ == '__main__':
    with run_diagnostic() as config:
        main(config)

The full debug log from running esmvaltool test.yml is provided in this gist, but it ends with the traceback below, which indicates that at some point, the data cube has indeed become None:
018-10-16 08:43:34,784 UTC [50059] ERROR   esmvaltool._main:209 Program terminated abnormally, see stack trace below for more information
Traceback (most recent call last):
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_main.py", line 204, in run
    conf = main(args)
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_main.py", line 133, in main
    process_recipe(recipe_file=recipe, config_user=cfg)
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_main.py", line 183, in process_recipe
    recipe.run()
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_recipe.py", line 988, in run
    self.tasks, max_parallel_tasks=self._cfg['max_parallel_tasks'])
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_task.py", line 473, in run_tasks
    _run_tasks_sequential(tasks)
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_task.py", line 484, in _run_tasks_sequential
    task.run()
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_task.py", line 184, in run
    input_files.extend(task.run())
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/_task.py", line 185, in run
    self.output_files = self._run(input_files)
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/preprocessor/__init__.py", line 281, in _run
    input_files, self.settings, self.order, debug=self.debug)
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/preprocessor/__init__.py", line 206, in preprocess_multi_model
    debug)
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/preprocessor/__init__.py", line 243, in preprocess
    result.append(function(item, **args))
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/cmor/check.py", line 606, in cmor_check_data
    checker(cube).check_data()
  File "/usr/local/miniconda3/envs/esmval2/lib/python3.6/site-packages/esmvaltool/cmor/check.py", line 166, in check_data
    if str(self._cube.units) != units:
AttributeError: 'NoneType' object has no attribute 'units'

Maybe the problem is on function spans_three_months time, with:
    dt_3months = datetime.timedelta(hours=24*3*29)
    def spans_three_months(time):
        """Check for three months"""
        return (time.bound[1] - time.bound[0]) > dt_3months

it seems to return a cube.
I have added a test on a recipe here that at least is able to save a netcdf and do a plot.

Note that I have Iris 2.1.

That certainly makes some difference. The Conda recipe I installed defines 1.13 for compatibility reasons. Ignoring those, I installed Iris 2.1 as well.
That doesn't make things go away, depending on how one defines the constraint function:
    return 90 <= time.bound[1] - time.bound[0] <= 92

now properly errors with
TypeError: '<=' not supported between instances of 'int' and 'datetime.timedelta'

Fixing it:
    return datetime.timedelta(days=90) <= (time.bound[1] - time.bound[0]) <= datetime.timedelta(days=92)

produces the previous result from my test case.
What passes, however, is
    return time.bound[1] - time.bound[0] == 92

albeit that the result is of course not correct. But it doesn't throw an error, and probably just shows that datetime.timdelta is overridden for __eq__(*).
This means that the hardcoded time.bound[1] - time.bound[0] == 2160 is always False, but doesn't error, and the returned value ends up being None.
(*) in fact, the source code for timedelta shows:
def __eq__(self, other):
        if isinstance(other, timedelta):
            return self._cmp(other) == 0
        else:
return False

If I understood well, with the constrain I provided it seems to me that the netcdf saved is seasonally saved correctly, let's say, it perform a mean every 3 months.
Basically the work is done by thecoord_categorizationand add_season methods, together with the aggregated_by. The last 'time-extraction' just is designed to ensure that every time interval is larger than a minimum number of hours (in my case 32429), in such way that we eliminate seasons with only 2 months from our final data-set (cube). It seems to me that the version I gave you has a correct approach.
For the version Iris 1.13 explained also the case.

I think that this issue is closed as it seems that this solves the issue?

Maybe the problem is on function spans_three_months(time) inside of seasonal_mean, with:
    dt_3months = datetime.timedelta(hours=24*3*29)
    def spans_three_months(time):
        """Check for three months"""
        return (time.bound[1] - time.bound[0]) > dt_3months

it seems to return a cube.
I have added a test on a recipe here that at least is able to save a netcdf.
Note that I have Iris 2.1.

If you have a fix that works with Iris 1.13, please open a pull request.

According to the Iris documentation, yes, the version here solves the problem for Iris 2 and Iris 1.13
`    dt_3months = datetime.timedelta(hours=24329)
def spans_three_months(time):
    """Check for three months"""

return (time.bound[1] - time.bound[0]) > dt_3months`
solves the problem.

@ledm would you be OK with this fix?
If so, @RCHG can you open a pull request with it so that we can test?
Thank you. :+1:

Surely the number of hours in three months depends on the calendar used? This may work for a gregorian calendar, but it would be inaccurate for the 360_day calendar.

@ledm Have a look at the entire function, I believe this last constraint is only supposed the filter out the winter season that misses one or two months at the start and end of the data, therefore I think a constraint that is larger than 2 months in any calendar should be sufficient.
https://github.com/ESMValGroup/ESMValTool/blob/43598ee48a327fc3ef2a6e53768324d02ad61863/esmvaltool/preprocessor/_time_area.py#L117-L147

@ledm

If I understood well, with the constrain I provided it seems to me that the netcdf saved is seasonally saved correctly, let's say, it perform a mean every 3 months.
Basically the work is done by the coord_categorizationand add_season methods, together with the aggregated_by. The last 'time-extraction' just is designed to ensure that every time interval is larger than a minimum number of hours (in my case 3_24_29), in such way that we eliminate seasons with only 2 months from our final data-set (cube). It seems to me that the version I gave you has a correct approach.
For the version Iris 1.13 the documentation explained that also it is the case.

So the aggregation by seasons is done by coord_categorizationand add_season methods, they would group the time by season (by adding an additional auxiliary coordinate!). The function I described here  just remove those season groups that are not fulfilling the condition hours>=24329 (which could be adjusted to a less restricted case, if we want). If we have a dataset [December, January, March, April, May...] it would group WINTER=[December, January]  and SPRING=[March, April, May] . In a second step, we could assess with the function whether the true time interval inside each season group covers or not a minimum number of hours. With the condition hours>=24329 it would remove from the final cube the interval [December, January] as it is not fulfilling the condition. I understood that according to the Iris documentation.

just raced through this issue: careful since iris 2+ uses time cells (datetime objects) for both time points and bounds - cube.coord('time').units.date2num(timepoint) converts a point of bound element to numeric. Incidentally has this been solved in the meantime? So we can close :grin:

I still run into this issue, so I guess it has not been fixed yet?
I also do not understand if it is supposed to return seasonal means per year or averaged over all the years?
if its the latter is there any change we could implement the former? I would need seasonal means for every year but ideally all seasons (basically like extract_season and then annual_average but for multiple seasons)

As far as I know it is solved in this thread, althought I don't know it if is already implemented on the master version. On my working repository it works with Iris 1.13 and Iris 2 as well with the remarks done before.

This is not solved, a solution was suggested in this issue, but no-one has made a pull request.

I can have a look at this tomorrow, since I've just gone through a whole bunch of time tools anyway; just to confirm, @ruthlorenz you have your environment up-to-date and using iris=2.2.0 and cf-units=2.0.2 right? Can you pls tell me  for what dataset/var it is failing and what is the actual Trace message? Cheers :beer:

actually no, my environment is not up to date, I did not dare to update it after some of my colleagues had trouble, but will do as soon as I am finished with the other stuff I started. I let you know!

env creation is now safe as of yesterday with the env files on version2_development, not a worry

well with the latest environment I get:
Traceback (most recent call last):
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 581, in _build_master
ws.require(requires)
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 898, in require
needed = self.resolve(parse_requirements(requirements))
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 789, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (matplotlib 3.0.2 (/net/tropo/climphys1/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages), Requirement.parse('matplotlib<3'), {'ESMValTool'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/bin/esmvaltool", line 6, in
from pkg_resources import load_entry_point
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 3126, in
@_call_aside
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 3110, in _call_aside
f(*args, **kwargs)
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 3139, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 583, in _build_master
return cls._build_from_requirements(requires)
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 596, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool/lib/python3.6/site-packages/pkg_resources/init.py", line 784, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cycler>=0.10' distribution was not found and is required by matplotlib
??? Did I mess up something?

it's best if you created the environment from scratch ie conda env create -n esmvaltool_stable -f environment.yml - usually conda env update should work as well but better be safe than sorry

never mind, forgot to reinstall...
conda env update seems to have worked.
But:
2019-03-15 15:13:36,127 UTC [42238] ERROR   Program terminated abnormally, see stack trace below for more information
Traceback (most recent call last):
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_main.py", line 228, in run
conf = main(args)
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_main.py", line 156, in main
process_recipe(recipe_file=recipe, config_user=cfg)
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_main.py", line 206, in process_recipe
recipe.run()
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_recipe.py", line 1050, in run
self.tasks, max_parallel_tasks=self._cfg['max_parallel_tasks'])
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_task.py", line 581, in run_tasks
_run_tasks_sequential(tasks)
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_task.py", line 592, in _run_tasks_sequential
task.run()
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_task.py", line 223, in run
input_files.extend(task.run())
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/_task.py", line 226, in run
self.output_files = self._run(input_files)
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/preprocessor/init.py", line 392, in _run
product.apply(step, self.debug)
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/preprocessor/init.py", line 259, in apply
self.cubes = preprocess(self.cubes, step, **self.settings[step])
File "/home/rlorenz/ESMValTool/ESMValTool-private/esmvaltool/preprocessor/init.py", line 212, in preprocess
items.extend(item)
TypeError: 'NoneType' object is not iterable
Preprocessor is:
preproc_map_seas:
regrid:
target_grid: 1x1
scheme: linear
seasonal_mean:
diagnostics:
IAV_calc_hurs:
description: Calculate mean relative humidity interannual variability
for stippling significance
themes:
- varmodes
realms:
- atmos
variables:
hurs:
preprocessor: preproc_map_seas
project: CMIP5
mip: Amon
field: T2Ms
exp: piControl
ensemble: r1i1p1
additional_datasets:
- {dataset: bcc-csm1-1,     start_year:    1, end_year:  500}
- {dataset: IPSL-CM5A-LR,   start_year: 2370, end_year: 2799}
scripts:
  ch12_calc_IAV_for_stippandhatch_hurs: &IAV_settings_hurs
    script: ipcc_ar5/ch12_calc_IAV_for_stipp_and_hatch.py

    ### Required attributes
    # Time average ('opt' argument of time_operations.ncl,
    # seasonalclim, annualclim)
    time_avg: seasonalclim

sorry @ruthlorenz I cant run anything at the moment - there is an issue with the config-references and with the cmor/table that need attention, will be back here once those get fixed

apologies for the tardy fix @ruthlorenz - have a look at https://github.com/ESMValGroup/ESMValTool/pull/980 and see if it does the trick for you (I tested in minimal mode)


Create Well or Project from CSV

It would be straightforward to wrap pd.read_csv() as a convenience, electing the column(s) to use for the index, creating a Project if there's a dual index.

See also #198


Pull request https://github.com/Unkorunk/Cephalopods

@Unkorunk the interface on your forked version looks great. Would you mind to do a pull request so the code can be merged into the main repository?

Hi! Here is a pull request: https://github.com/jobtalle/Cephalopods/pull/35


test_array testcases fail with ghdl + cocotb

Hello,
Im trying to run the test_array testcases from cocotb/tests/test_cases/test_array/ with the command make -s SIM=ghdl TOPLEVEL_LANG=vhdl.
Almost all the tests are failing. For example test 5/6: test_gen_loop:
8.00ns WARNING  cocotb.gpi                                GpiCommon.cpp:353  in gpi_get_handle_by_index         Failed to find a hdl at index 20 via any registered implementation
8.00ns ERROR    ..tine.test_gen_loop.0x7fe1c5ce5590           result.py:51   in raise_error                     Send raised exception: asc_gen contains no object at index 20
Result of printing dut.asc_gen._sub_handles:
{}
Result of printing dut._sub_handles:
{..., 'asc_gen(20)': HierarchyObject(array_module.asc_gen(20)), ...}
When trying to access with asc_gen_20 = dut.asc_gen(20):
8.00ns ERROR    ..tine.test_gen_loop.0x7f285a1f5590           result.py:51   in raise_error                     Send raised exception: 'HierarchyArrayObject' object is not callable
Im using the newest version of ghdl, since there were made some fixes regarding the VPI access with modules from generate loops.
Any hint how to access the module or fix the error in general?

GHDL issue, it doesn't support arrays in the VHPI. See #499


feat(ghost-button): add ghost button component

Ghost Button
Added

New Button type, ghost
package-lock.json

Changed

Story for Button to add in ghost-button examples
Tests for Button

merge conflict

Repoint this PR towards Master please!

👍 ✅


Use versioning combined with latest tag in wud.tag.include

I would like to use versioning, but here only the latest labels.
For example see https://hub.docker.com/r/portainer/portainer-ce/tags:
currently 2.24.1 is the most recent version, but latest tag is 2.21.4
How can I realize this setting? The following configuration in Compose always gives me 2.24.1 as the latest version:
  --label ‘wud.tag.include=^\d+\.\d+\.\d+$’ \
  --label ‘wud.link.template=https://github.com/portainer/portainer/releases/tag/${major}.${minor}.${patch}’ \
  --label ‘wud.display.icon=si:portainer’ \

I don't want to use wud.watch.digest=true because then I lose the versions and the link to the changes.
Is it possible to select the latest tag get the assigned version?

Hi,
Sorry, there is no way to achieve that.
The portainer situation is weird.
If I understand well, the most recent versions are 2.24.x but 2.21.x are the latest LTS versions so portainer tag them as latest ?
That's pretty uncommon 🤔

Yes, that is the situation on portainer.
OK, so know that I don't have to search and test any longer and have to observe this container manually.
Thanks for the quick reply and all the work, I really love WUD!

Yes, that is the situation on portainer.
OK, so know that I don't have to search and test any longer and have to observe this container manually.
Thanks for the quick reply and all the work, I really love WUD!


Implemented like binge cap

The capping works OK; it's just lines 46-48 where I'm having issues. Seems no matter what value I pass, the whilst loop in getAllPosts keeps going.

Thought I'd have to manually include the fix, but GitHub's included it automatically :smile:

merged. thank you!


[Design] No About and Contact Us Page

No About and Contact Us Page so make one for authenticity

Signin is Not Working at this time otherwise it works


fresh bird ask a code question

in this file PointGPT-1.2\extensions\emd\cuda\emd_kernel.cu
I get a wrong "error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc.exe' failed with exit code 1" when I make
 cd ./extensions/emd
python setup.py install --user

but,I found a way through a random query
for example,I changed code
#ifndef _EMD_KERNEL
#define _EMD_KERNEL

#include <cmath>
#include <vector>

#include <ATen/ATen.h>
#include <ATen/cuda/CUDAApplyUtils.cuh>  // at::cuda::getApplyGrid
// #include <THC/THC.h>

#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
#define CHECK_CONTIGUOUS(x) TORCH_CHECK(x.is_contiguous(), #x " must be contiguous")
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
#ifndef CHECK_EQ
#define CHECK_EQ(a, b) assert((a) == (b))
#endif

Because I'm still a rookie in code and deep learning,so I can't know whether I accurately do it or not(and my English is not very good,but I am really interested in your code,I would appreciate it if you could give me some advice,thank you very much )

Hi,
I personally think this may be due to issues with your computer's environment configuration, and I think you can try compiling it under Ubuntu

thanks！thank you for your advice！I will study how to use Ubuntu


[Bug]: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200 when I use the script on a server

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What happened?
When I use the script on a server, I have this error : websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
When I use the same script with the same IP (I use a proxy) on my computer, I have no problem.
In both case, I don't use cookies.
Steps to reproduce the problem

Go to ....a
Press ....
...

What should have happened?
The script should work on a server.
Version where the problem happens
All
What Python version are you running this with?
3.9
What is your operating system ?
Linux
Command Line Arguments
No

Console logs
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200

Additional information
No response

I am facing the same problem when i run it on replit

Does anyone has successfully run the program in cloud server like AWS ?

Perhaps a proxy is needed for the WSS connection (using Warp in a cloud server), but WebSockets don't support proxies. I switched to aiohttp, but encountered a new error: aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer. However, I'm confident that Warp can be used with Bing, as the project https://github.com/waylaidwanderer/node-chatgpt-api runs smoothly on the same cloud server.

Same. Versions after 0.10.16 do not work with proxies =(

The same problem, it starts locally, but doesn't work on a remote server

fixed
https://github.com/acheong08/EdgeGPT/pull/627

Hi, I am still encountering the same error!


[AMBARI-24547] A foreign key constraint fails when deleting a cluster from ambari

What changes were proposed in this pull request?
RequestScheduleEntity/RequestEntity/StageEntity  cascade added
How was this patch tested?
unit tests and manual tests
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3825/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3845/
Test FAILed.
Test FAILured.

Are you currently building and running Ambari 2.5 from source?  This is an old branch for running code.

@ncole , Nice call. I didn't notice the branch! :(

@ncole   yes, we added some our services for Ambari 2.5,so we used it now. maybe the patch can be used in the lastest version if it is ok ?

I would prefer this be ported to a newer version.

What is the state of this PR?  This will get closed if it is not updated.

Closing due to inactivity.


[Feature Request] Filtering API Output

Some URL Params to filter the json output like just sending the values e.g. raw message

This issue is too unspecific for me. And a raw message parameter is already a thing.
/channel/gempir/user/gempir/2023/1?raw


Update Presets V3.12

Added High Life DLC buildings
Added High Life DLC Ornaments
Updated treeLocalizaion.json to <IP_ADDRESS> with new Menu names
Fixed Missing Twitchdop/Ubi ornament icons
Fixed issue #329
Changed : Putting all Orchard in one Menu

As always: superb work 👏


Enable date column support for delta -> arrow schema conversion.

Description
Enable support for primitive(date) delta schema type with datafusion / arrow.
Noticed the other day that I wasn't able to load a delta table with a date column using datafusion. The same table loaded just fine using the parquet-based code paths (ignoring delta), so I assumed that there must be a way.
The proposed fix is just a one-line change in the schema conversion from delta to arrow.

interesting, based on the description in delta spec, i thought it's stored as a string :P

Sorry for not consulting the specs first; I guess sometimes it's better to show up uninitiated :-).
I'm looking forward for some more write support, so that we can stop adding more and more varieties of delta tables into tests/data and move to roundtrip property-based tests.


Help for nnictl is confused

After create an experiment, I want to check the status of the experiment
Firstly, I run the command nnictl --help to see how can I check the status of the experiment,

It shows maybe I can use nnictl experiment, but after I run the command nnictl experiment, but it shows

It just a loop, I don't know how to check the status of the experiment finally.

fixed.
https://github.com/Microsoft/nni/pull/71


Detecting changes (caching)

Does dmake support any kind of caching/change detection when it comes to building and pushing the images?
I'm currently struggling trying to figure out how to only push images with dmake if they have changed, instead of always pushing, no matter what.
In my case, I've come up with a script for various different linux distros, which detects if new apt packages are available, and if so, it marks the images as dirty by removing them locally, then hands over the build & push process to dmake, which doesn't really work, as dmake pushes everything regardless of changes.

Would it be a good idea to simply use separate dmake config files, then run dmake with those if a new build & push is necessary?

Hi @Dids docker-make will not detect any building cache or image content change, that is docker-engine's work.

Thanks, just making sure. :)


python312Packages.google-cloud-vision: 3.8.1 -> 3.9.0

Changelog: https://github.com/googleapis/python-vision/blob/v3.9.0/CHANGELOG.md

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 365825

x86_64-linux

:white_check_mark: 8 packages built:

python311Packages.google-cloud-vision
python311Packages.google-cloud-vision.dist
python311Packages.layoutparser
python311Packages.layoutparser.dist
python312Packages.google-cloud-vision
python312Packages.google-cloud-vision.dist
python312Packages.layoutparser
python312Packages.layoutparser.dist


Add dev container to repo

It would be helpful is the repo had a dev container. Happy to provide though a PR.

I think the problem might be about what components should be included in the dev container. The llm-chain itself can be easily imported into a Rust project using cargo.toml. However, to run the entire system, you need an llm backend, so perhaps what you need is a dev container that includes llama.cpp?

We'd welcome a contribution.

@chenwanqq can you say more about llama.cpp?

@chenwanqq can you say more about llama.cpp?

Sorry, I deleted my post before because when I replied, I just did not really understand what a dev container is. Of course, a dev container setting would be very beneficial for this project.
The llm-chain cannot work by itself (unless you use llm-chain-mock). It requires an llm backend. So, if you want to set up a dev container that contains everything a developer needs, you should consider which llm backend should be used.
For example, if you can use llm-chain-openai, then you need to ask developers to provide their own API key. Or, this container could have a compiled llama.cpp inside, so developers can run llm locally. Hmm I think there are many possible scenarios.

I can't seem to run this in just a rust container and I'm new to langchain. So basically every chain configuration (and the resulting dependency) would need to be accounted for in the dev container. There is no single base that would work. Is that what you are saying?


RevEng: Don't generate virtual navigations

Resolves #6326
@lajones @divega

Providers beware?

@lajones - Ping!

:shipit:


UUU: FB: Getvar

Hi
I am able to get a variable value from my board with fastboot.
How do I get the same value with UUU in a usable way ?
fastboot getvar myvar
myvar: myboardvalue
finished. total time: 0.000s

uuu FB: getvar myvar
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.130-0-g247629e

Success 0    Failure 0
1:2      1/ 1 [                                      ] FB: getvar myvar
Okay

uuu -v FB: getvar myvar
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.130-0-g247629e

Wait for Known USB Device Appear...
>Start Cmd:FB: getvar myvar
New USB Device Attached at 1:2
myboardvalue1:2>Okay (0.206s)

Okay

Is there away to get only the return value in a script usable way ?
Regards,
Stan

UUU script is very simple.  Still not support use getvar value in script.
Generally we use uboot script to support.
for example:
fb: ucmd if $myva then; else true fi;


[Bug]: Munbyn barcode scanner is unable to scan into our Input widget

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Nothing happens when I scan a FedEx barcode with my Munbyn scanner using the Scanwedge mobile app, and the browser is focused on an Appsmith input.
I expect the value to be read into the input. This works with other text inputs like the browser address bar. This also works with a Honeywell scanner.
I will update this issue with the model number of the scanner when this info is shared with us.
Steps To Reproduce

Drag an input onto the canvas.
Start the ScanWedge app on the Munbyn scanner.
Focus the cursor on the input in Appsmith.
Attempt to scan a FedEx barcode into the input.

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud v<IP_ADDRESS>
 Front conversations

Works for me. Closing because its non reproducible.
https://github.com/appsmithorg/appsmith/assets/11089579/92f583ff-2267-4b81-ab31-b99fd1c6f08c
Steps to resolve:

Code scanner onCodeDetected, call a JS function, that sets the value in the the input widget using the setValue internal prop
Scan the code and see that the input widget has the test from QA scanner.


BluePic does not work on Bluemix

I clicked the button deploy into Bluemix, then it deployed properly. I then edited on jazz hub the cloud_config.json with the credentials associated to my services.
Note that I use a PC under windows, and not macOS.
My app seems to work correctly, as the front page is displayed, but the buttons are not clickable.
You can see the result here : https://bluepic-kapi-932.eu-gb.mybluemix.net/#/
Any idea how I could investigate this ?

@tpeg5stan Well it looks like you are getting 404 errors for images so it may be that there are just no images. That may be why the buttons don't seem to do anything, otherwise I think the "I'll sign in later" button should work and take you to all the photos.
Have you populated your database and object storage with image data? Details are in this section: https://github.com/IBM-Swift/BluePic#4-populate-cloudant-database and the one right after.

@tpeg5stan Did you find your database to be populated? Were there any other issues?
I can close this issue soon if I don't hear anything back.

Oh yes, I completely forgot about that, I went to work on other things, you can close this ticket.


android & sdk version update, changelog

CloudSdk Release 0.4.2

Support for all device types/names by platform id
Global listener in ParticleCloud for system events
resetFlashingState - works with global system events instead of flashing timer
Fix for eventName emitting "message" most of the time
Org endpoints changed to product id
Password reset url changed to match url used in iOS.

There's a defect introduced for signup with orgs.
The defect causes the following exception during signup flow.  Apparently you are passing in username, but the endpoint requires "email"
04-04 21:13:24.538 18900-18900/io.particle.devicesetup.exampleapp E/Async: Error calling API: email was empty
io.particle.android.sdk.cloud.ParticleCloudException
at io.particle.android.sdk.cloud.ParticleCloud.signUpAndLogInWithCustomer(ParticleCloud.java:243)
at io.particle.android.sdk.accountsetup.CreateAccountActivity$1.callApi(CreateAccountActivity.java:223)
at io.particle.android.sdk.accountsetup.CreateAccountActivity$1.callApi(CreateAccountActivity.java:218)
at io.particle.android.sdk.utils.Async$AsyncApiWorker.doInBackground(Async.java:105)
at io.particle.android.sdk.utils.Async$AsyncApiWorker.doInBackground(Async.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
here's the request log:
04-04 21:13:24.047 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: ---> HTTP POST https://api.particle.io/v1/products/mypid/customers
04-04 21:13:24.047 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: Authorization: Basic
04-04 21:13:24.047 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: Content-Type: application/json; charset=UTF-8
04-04 21:13:24.047 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: Content-Length: 195
04-04 21:13:24.047 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit<EMAIL_ADDRESS>04-04 21:13:24.047 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: ---> END HTTP (195-byte body)
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: <--- HTTP 400 https://api.particle.io/v1/products/pid/customers (487ms)
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: date: Wed, 05 Apr 2017 01:13:23 GMT
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: content-type: application/json; charset=utf-8
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: content-length: 49
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: server: nginx
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: access-control-allow-origin: *
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: etag: W/"31-2D+FHyqUgn91qL7x9izngg"
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: OkHttp-Sent-Millis:<PHONE_NUMBER>432
04-04 21:13:24.534 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: OkHttp-Received-Millis:<PHONE_NUMBER>534
04-04 21:13:24.535 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: {"ok":false,"code":400,"error":"email was empty"}
04-04 21:13:24.535 18900-19490/io.particle.devicesetup.exampleapp D/Retrofit: <--- END HTTP (49-byte body)
here's the doc page for the endpoint:
https://docs.particle.io/reference/api/#create-a-customer---client-credentials


M2A 2

Only for github.com issue used

M2A 2 do not run Microsoft

@italukder
It looks like your issue is resolved since you closed this thread.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Infinite scroll / pagination implémentation

Hi,
Is there any documentation regarding how to implement either infinite scrolling or pagination using realm?
Is there a roadmap stating when live query will be implemented?

For infinite scrolling, just open a RealmResult and start iterating. You don't need to paginate as the iterator is lazy.
Live queries already exists today - you can subscribe for changes using the RealmResult.changes stream.
Look here: https://github.com/mongodb-university/realm-template-apps/tree/main/flutter for a sample of how to handle a list view of a live query with potentially many ("infinite") elements.

Thanks! Closing issue.


clean: Test compoents for usage

Refactor: Button / FancyButton
Refactor: Typography --> Update in all Used Components


HTML5 Player Issue in Safari

Hey guys,
I have an issue when I enable the "Enable resize" option under "Player Size". The layout of the page goes all crazy. I have also tested out all the pre-loaded player sizes, and they all seem to be affecting the layout in similar ways. I have decided to turn off this option for the time being.
This is what it looks like when I have the option enabled:

I also have another issue relating to the "Lights off" feature. Whenever I turn the lights off, a black box appears under the video player, pushing the rest of the page contents down:

It does not happen all the time (it is quite random)

+1 same issue for me

@neil94 @evliu Are you using the latest developer version? You can download it from here: https://github.com/YePpHa/YouTubeCenter/wiki/Developer-Version
However, the Safari extension seems to be in need of a correction, see #1948, so I'd suggest using the userscript version instead with the Tampermonkey extension

Oh got it, sorry I forgot to test against the dev version. just discovered this extension yesterday. i'll try out your suggestions

works well with the userscript. i'll be sticking with that instead!

@Yonezpt The userscript works perfectly, thank you for your help!


Question: Generate Schema Fields

Is there any code available to generate a schema from an existing database?

No, we never had a need for such a tool even though I can see how it might be useful.

Hey @cliedeman, I actually have a POC I created a long time ago, and can open source it in a different repo (not part of ent) as it was just an experimental project - there were multiple edge cases that I didn’t cover.

Thanks @alexsn and @a8m.
@a8m Would you mind sharing the code? I did a little experiment here
and we actually have almost all we need with the migration code.
I think if we have an interface like this
SqlImporter {
  AllTables(ctx context.Context, tx dialect.Tx, ignoredTables []string) (*Table, error)
}

We would actually have everything we need to build an importer in a standalone library.
Background:
I have some python and nodejs projects I would like to start adding some go to but for the now the database schema would be managed externally. I am looking for a tool that I could use to keep the go models in sync with the upstream models and integrate it into CI.
I previously tried hooking directly into sqlalchemy but this was proving more difficult than just inspecting the db

Scratch that. after looking deeper into it a lot more queries need to happen to extract the required information from the database.
It should be completely standalone to migrations.

I also support that, our database schema/migrations are separate from the system using them. In other services I use https://github.com/go-jet/jet which generates golang structs and helpers based on the DB schema. I think it could serve as inspiration.

Currently, this does only support postgresql. But I have plan to support MySQL or SQLite3.
https://github.com/mattn/entgen

There is now: entimport


Given a circle with N defined points and a point M outside the circle, find the closest point.

I went through the solution given by you. it seems the solution is to search the minimum number in the circular array. Could you please explain the relation of the question with the solution?

Well. So there are N points on circle and there is one point M outside circle. Also it does not say if points on circle are given in what order. So basically you have can have first increasing then decreasing order(because points go farther and farther from M and then start coming close to M since its a circle). Or first decreasing then increasing order.  So I did binary search to find closest point on the circle from M.

Hi Tushar,
First of all, Appreciation for such a great detail that you have shared you video, here on github. Its really helpful. keep it up.
Now, the Algo you have provided for above problem fails for following case.
{7,3,2,5,9,1,0};
Decre - Incre - Decre case... Algo return 2 but it should return 0.


add http main back in

add http main back in
Let me know if it is better to keep this or it's better to remove 'go build -o bin/examples-http github.com/moov-io/ach/examples/http' from makefile

Codecov Report

Merging #615 into master will not change coverage.
The diff coverage is n/a.


CB-11413 make environment service states restartable with in memory state and log context re-initialisation

…
See detailed description in the commit message.

@biharitomi Could we add some information to the JIRA description about what's being done and why, so there's a little more context?

LGTM. I'd love some more information about what problem these changes are addressing (is it an improvement or fixing a bug?), but everything looks good.

Yeah, the commit is referring to the subtask, but the parent task contains more information about the fix which is also an improvement too in some cases 😄  : https://jira.cloudera.com/browse/CB-11412

LGTM. I'd love some more information about what problem these changes are addressing (is it an improvement or fixing a bug?), but everything looks good.

Yeah, the commit is referring to the subtask, but the parent task contains more information about the fix which is also an improvement too in some cases 😄 : https://jira.cloudera.com/browse/CB-11412

retest this please


Possible Memory Leak

Bug Report
Current Behavior
Using the app causes my phone to overheat.
Expected behavior/code
Not overheat
Environment

bttv-android version: [e.g. v0.8.0-beta]
Android version: 11
Device: Samsung s20 FE 5G

Additional context/Screenshots
It's inconsistent and doesn't happen all the time, but a "Device Care" popup flagged the BTTV app as the culprit of my phone overheating to the point where the screen brightness drops by 50% and the phone will no longer charge. I am no coder, but I know a memory leak when I see one.

As discussed in #152, this is not a memory leak. If you are experiencing degrading performance this is most likely due to your phone not being able to render a large amount of Gif Emotes.

Conclusion
Clearly the increased CPU usage originates in the usage of (a lot) of Gif Emotes. This is expected, rendering these things is a non trivial task. This behavior does not get worse during runtime. I assume your CPU just starts overheating and thus throttles performance. This also explains why the reported times at which this behaviors starts differs wildly (4 hrs. vs 10 mins by other reports).

So what can be done?
Very little. Twitch themselves have animated emotes, and yet they do not animated them (at least on my phone) because they are aware of the performance impact this can come with.  For next release #125 is in development, which would allow you to only render static versions of the emotes so you can at least have some of the BTTV experience.

That is weird tho, they have an S20 and that's one of the best phones out there, if it's thermal throttling it's because something is using a lot of resources just to play gifs and shouldn't be


feat: add ability to configure multiple opal validation tests

What does this PR do?
(Note, this PR follows feedback from a previously closed PR; feel free to take a look at that for more context.)
Adds a ci job to the terraform-observe-* ci tests that does OPAL validation and fails in the case that a new commit has an observe resource with bad OPAL (or otherwise fails to be applied).
What it does in detail:

installs terraform
checks out the repo
iterating through every .tests/ subdirectory, creates a boilerplate provider.tf, and runs terraform init. If it does not find any .tests/ subdirectories, it will fail with a message pointing to a readme for how to write tests.
iterating through every .tests/ subdirectory, runs terraform apply and terraform plan.  (applies with -var name_format="tf_test_${{ github.sha }}$dir%s" so that each workflow's observe-resources can be identified for each test, if for some unexpected reason they were not to be properly destroyed)
iterating through every .tests/ subdirectory, runs terraform destroy (set to run always() so that this job doesn't leave orphaned resources in the observe account)

Reasons for keeping steps 3, 4, 5 separate and not joining them:

if destroy is not alone, then a failed apply will result in destroy not running (leaves orphaned resources in observe account)
if init is not alone, then if plan or apply fail, a test init may not be run. If a destroy is attempted without an init then it fails, and subsequent destroy commands may not be run.
keeping everything separate like this allows us to add a new step after 4 where we run custom assertions, and we'll probably want that to be in its own step for easier troubleshooting when those fail

Motivation
automatic testing for valid OPAL in ci
Limitations / Assumptions
First, This test assumes that there is some observe instance that is available for testing with. It only terraforms with a local backend (so no risk of competing terraform backends with multiple people applying on the same observe test instance), and always destroys even if errors occur in the apply step (so no risk of leaving clutter after failed applies).
Second, This test introduces 3 new variables which are currently expected as secrets. These include:

secrets.TERRAFORM_MODULES_OBSV_TEST_INST_ID
secrets.OBSV_USER_HANDLE
secrets.OBSV_USER_PSWD

I think these should basically all be org-wide secrets, since I expect we'll just want to use the same test account for them all. Later on, we may introduce another input for datastreams, which we may end up wanting to be repo-specific, but that's for a later time.
Third, tests are created with subdirectories under .tests/, and each of these subdirectories contain the terraform files you would need to run a test scenario. For example, you can have a .tests/default/ directory that would contain the bare minimum needed in its main.tf, variables.tf, etc. to apply the module with its default variable inputs.
Testing
I've tested this check for both successes and failures on this test repo branch.

Successful run
Failed run (with bad OPAL intentionally introduced)

Thanks for the feedback (here and in slack)!
Following the feedback, i've made some changes, among them:

Renamed this whole thing from "opal-validation" to terraform-test-apply since I'm now considering this a "terraform" type test where what we're testing is "apply". OPAL validation is just one of the goals.
Moved the bulk of the work of the test to a bash script. This will ultimately be run from a Makefile that will be defined in each terraform-observe-* repo (and generated from the template repo). I've provided content of this bash script here for reference under .github/scripts/terraform_tests.sh. The benefit of distributing the script to all the repos is that it's easy for end-users to locally run the test script themselves with a make tests TEST_NAME=foo -- so that they can troubleshoot test failures without having to push through a million github actions
Moved to a matrix build of all the test directories
Removed the requirement that there be tests (we can add that later)
Removed assumption that there will be a name_format tfvar -- as a result, it will ultimately fall on the test writer to randomize their names (we'll just need to document this in a "how to write tests" doc in the template repo)
Switched to using the observe provider's environment vars instead of needing to make a provider.tf

Some notes:

Creating tests will require some work, so we'll have to document it, probably in the template repo
You can see what a sample PR adding new tests would look like here (just everything under .github/ and .tests/ and the Makefile, plus with an example test run here
Any individual repo can opt out of this job by adding the skip input with a value of {"jobs": ["terraform-tests"]} if they wish -- but if they haven't written any test directories, nothing would fail from this workflow anyway

Big thanks João for all the input and pointers!

updated secret names
made observe-staging.com the default value for domain in the script
updated make command to use make test path/to/test and tested both locally and in CI
updated matrix builder to accept all .tests/ subdirectories even if they're under nested modules, tested successfully in CI (example results)
updated conditionals for terraform-test-apply workflow to make it so that job will pass successfully even if no test directories exist, or if the get-test-directories job is skipped by the caller workflow


Parca agent v0.30 crashes on Pop!_OS 22.04 with BPF program load failed: Argument list too long

Follow-up to:

https://github.com/parca-dev/docs/pull/376

Describe the bug
Parca agent v0.30 crashes on Pop!_OS 22.04 with BPF program load failed: Argument list too long

To Reproduce

Given Pop!_OS 22.04
Follow the Quickstart Binary + https://github.com/parca-dev/docs/pull/376
After running the parca-agent, the crash will happen within a few seconds

Logs
parca-agent.crash.log.txt
Software (please complete the following information):

Parca Agent Version: v0.30
Parca Server Version (if applicable): v0.21

Environment (please complete the following information):

Linux Distribution: Pop!_OS 22.04 LTS
Linux Version: 6.8.0-76060800daily20240311-generic
Arch: x86_64

OK, will extract the binary & try again.


Fail to complete the time absorber

For example, I targeting "Time noon", so I wait for the sun at its zenith, then I make a red-signal with lever and... nothing happens. I already tried to do this a little time before and after - and nothing! And I've looked at code and noticed there is timeout after red-signal. And still, can't get progression with that absorber. So, I suggest a notice to Waila description ("Now: noon (or whatever)") and, maybe effect or color pointing the right time.
Difficulty insane: I want evening! So where sun mus be at evening? :-D
Maybe even go further? Maybe better to allow to click button once, and time will be recorded "as is"? If you are not want to change current mechanics, maybe to realize such behavior with config option, say, EZmode...
Version: RFTools-4.01.

Was this with a fresh time absorber? When it is already set to a certain time you cannot change it anymore.

It wasn't fresh, it was started when version was 3.33, then, after version upgrage, I cannot make a progress even a bit. Ok, I will test fresh. Btw, what time absorber get? Time of local dim where it is or time of overworld?

It gets the local time. If you use it on an eternal day dimension you will get a noon time absorber

Nope, didn't work at all. Freshly crafted time absorber is not even starting charging in overworld when sun is at zenith, nor in that dim where sun always there. Did something broken in 4.01?

And you gave it a redstone signal? How exactly did you do that? The block is pretty pick of where the redstone goes in. A lever on it should work

Redsignal is given, ofcourse, by 2 ways: lever at the ground near, and lever on adjacent block - still none.

 That doesn't work): http://i.imgur.com/Nvwfx2A.png

Yep, it's worked! Seems that in addition to the existing difficulties the redstone must be given in exact conditions... Great thanks for resolving this, and, what about suggested ways to indicate proper time?

Hmm, for me the waila tooltip already shows the time. Doesn't it for you?

It's displaying info about absorber which already have fill progression, but I mean absorber which haven't. How to guess when I need to emit signal for not such obvious cases like midnight/noon, but for morning/evening?

Ok, I'll add a more appropriate waila tooltip

Thanks a lot!


Feature request - auto imports

First of all thanks for making this great tool! Would it be possible to detect the neccessary imports and do that automatically? That would make it much easier to run other tools as well.

Hello,
Thanks for your message.
First, my understandiing of RunPE is still very limited so I'm not even sure that's what is causing the issue. Then, my initial goal was to access PowerShell in heavily constrained Citrix environements, which I was able to do thanks to this code.
That being said, I'm interested to know what kind of tools you are trying to run this way.
Using PowerShell, you can run a lot of things already.
I'll leave this issue open as a reminder to improve my code anyway... ;)

Process Hollowing doesn't require to manually resolve imports from the import table.


Re-activate equinor.com.au

[ ] Create service-now ticket
[x] Add redirect inside middleware
[x] Modify yaml file to add ssl.
[x] Once deployed add the ssl certificate in radix

Can you please reactivate equinor.com.au and point it to the Australia page, that we now have updated and published: https://www.equinor.com/where-we-are/australia

RITM2592520
RITM2592520

equinor.co.au is redirecting now. Hence closing


What is this line in robots.txt for?

User-agent: *
Disallow:   <-- Why is this line here?
Disallow: /css/
Disallow: /js/

If I understand how robots.txt correctly, this line is not necessary since "Everything not explicitly disallowed is considered fair game to retrieve."

It means allow everything, equal to Allow: /
See here: https://stackoverflow.com/questions/36405998/is-this-robots-txt-syntax-with-an-empty-disallow-correct

Got it, thanks for explaining.

On Dec 30, 2019, at 2:37 AM, cntrump<EMAIL_ADDRESS>wrote:
It means allow everything, equal to Allow: /
See here: https://stackoverflow.com/questions/36405998/is-this-robots-txt-syntax-with-an-empty-disallow-correct https://stackoverflow.com/questions/36405998/is-this-robots-txt-syntax-with-an-empty-disallow-correct
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cntrump/hugo-notepadium/issues/4?email_source=notifications&email_token=ADH4YHLWQQ7LAYTNR2OKEGTQ3G6OBA5CNFSM4KBKVG5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZ5BOY#issuecomment-569626811, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADH4YHI4SCCANFDKRPN3G6DQ3G6OBANCNFSM4KBKVG5A.

I should disallow /css /js but not /css/ /js/
robots.txt updated.