Automated cherry pick of #5490: fix: class action 统一使用keywords包裹

Cherry pick of #5490 on release/3.0.
#5490: fix: class action 没有被keyword包裹

Codecov Report

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

@@              Coverage Diff              @@
##             release/3.0   #5492   +/-   ##
=============================================
  Coverage               ?   6.87%
=============================================
  Files                  ?     535
  Lines                  ?   91143
  Branches               ?       0
=============================================
  Hits                   ?    6262
  Misses                 ?   84360
  Partials               ?     521

Flag
Coverage Δ

#aFlag
6.87% <0.00%> (?)

Continue to review full report at Codecov.

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

/lgtm

/approve


Columns named « toString » are displayed as collapsed

Describe the bug
Using the name « toString » for a column creates a column with no name and not popup arrow. You must use « Re-order / remove columns... » to clean that up…
To Reproduce
Steps to reproduce the behavior:

Go to 'Add column based on this column...'
Enter the text for the column name to « toString »
See the error in the table view.

Current Results
Unusable column.
Expected behavior
Seeing a normal column named « toString »
Screenshots
Command:

Result (see the column after column « ValDiv »:

OpenRefine (please complete the following information):

Version 3.3

@wetneb Hi Antonin, I created this issue, but I still can't apply labels, unlike you said.
Regards, Antoine

That's my fault, I did not add you to the relevant team. It should be fixed now.

@wetneb and @antoine2711 , can I work on this issue?

@wetneb and @antoine2711 , can I work on this issue?

Sure James, be my guest. Don't hesitate if you have questions.
Regards, Antoine

@antoine2711  here is the pull request https://github.com/OpenRefine/OpenRefine/pull/2531

@antoine2711  @wetneb   just updated the pull request

Thanks @antoine2711 for discovering and reporting this!


Fix a label for thumbnail in posts editor

It's not URL.

Good catch 💃

Thanks for the quick response! :bullettrain_side: :dash:


Homepage Design Improvements

List of possible changes here. Final to do's linked, added as comments with check boxes below.

Move map to search (COMPLETED)
Update hero area with new images and entries (TODO)
Increase font size of featured carousel header text (TODO)
Update teach text (TODO)
Consider relocating header text / redesigning featured entries carousel
Add some information about research clusters? editorial board? tbc - revisit when new static pages added
Look at an eventbrite API (same as medium for news) so that latest 3 events show up on homepage. tbc

Hero area updates, change the following two slides (keep the rest as is):

[ ] Map image - replace existing image with a new screenshot that matches the new map aesthetic, ie:

[ ] replace george floyd slide with: Transnational Citizens' Assemblies (Collection) - with this image:

[ ] Increase header text for featured collections and featured entries banners to H1 (match to title size shown on entry reader view), ie:

[ ] Update text for "Teach" section below hero area as follows:

Teach
Find and contribute teaching resources, and use Participedia in the classroom to engage students and showcase their research. Participate in Participedia Schools and gain global perspectives with leading researchers and practitioners.
Check out Participedia School ->

@paninee let's implement the three identified tasks above for now. (after bug fixes)


Update version updater

Used subprocess in place of os as stated in PEP8
Read directly from URL without the need of creating another file
Use git to update the client version

Hello,
##########################################
[*] Checking version information..
fatal: 'master' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[*] Updated to latest version: v1.0
..
########################################
and need write new version on version.txt

Did you clone it?

Change 1.0 in version.txt to other number, so show error in update

Yeah , cloned it

Try it now

Thank u so much, now its okay. =D


Implement basic Parquet data file reading capability

A refactor of @ZENOTME 's PR (https://github.com/apache/iceberg-rust/pull/199) based on some of the comments on that PR. Working and with a test. Completes https://github.com/apache/iceberg-rust/issues/125
EDIT: refactored. inspired by the ArrowReader in the Java implementation. TODO: schema translation

The process of reading into arrow record batch stream seems more complex than I expected, you can refer the codes in python. I'm planning to setup a framework for this so that contributors can help to fill in more details. cc @sdd What do you think?

Hi @liurenjie1024 - Thanks for the review. I agree with your conclusions. I'll take a closer look at the Java and Python implementations. The framework approach sounds sensible - happy to work with you and others to get this into the shape it needs to be 👍🏼

Thanks for those links, Renjie, they were very useful.. I've taken a deeper look at ArrowReader and the python code. I'll submit an improved design here tomorrow morning (UK) with some todo!s as subtasks so that others can work on this too.

Really cool!

It's taken me a bit longer than my morning train journey to get the design ready. Will continue on the way home later 😁

PTAL @liurenjie1024 @ZENOTME - took a different approach, inspired by the Java implementation but a lot simpler.

@liurenjie1024 and @ZENOTME : PTAL again, I've refactored the parquet file reading logic out into a separate reader struct. I've addressed all the other comments also.

Ok @liurenjie1024 @Xuanwo and @ZENOTME, I've addressed the feedback and it's ready to review again. Thanks!

@Fokko are you able to take a look at this one yet please? 😁


Copy new and changed files by LastModifiedDate with Azure Data Factory

Seeing this error when I copy the LastModified_From/LastModified_To parameters word for word:
Activity Copy_opk failed: The expression 'trigger().outputs.windowStartTime' cannot be evaluated because property 'windowStartTime' doesn't exist, available properties are 'headers, body'.

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

ID: 62d11774-9770-8c8e-47b9-9d7ce3c0ef0e
Version Independent ID: 0d547d8e-4a6d-aa74-c9bb-4c5a151038dc
Content: Copy new and changed files by LastModifiedDate with Azure Data Factory
Content Source: articles/data-factory/solution-template-copy-new-files-lastmodifieddate.md
Service: data-factory
GitHub Login: @dearandyxu
Microsoft Alias: yexu

Thank you for bringing this issue to our attention.  We will review the document and get back to you.

The asterisks(**) appear to be a typo. It should look like:
LastModified_From = @trigger().outputs.windowStartTime
LastModified_To = @trigger().outputs.windowEndTime

@MartinJaffer-MSFT The asterisks were not included in the parameters when I copied this over.
Thanks,
Robert

@RobertClarke You are getting this error message because you accidentally created a 'ScheduleTrigger' instead of a 'TumblingWindowTrigger'.  Only Tumbling Window Triggers have 'windowEndTime' and 'windowStartTime'.

Hi, I would like to know if I want to combine this copy new files with Last modified date and also copy files from multiple containers: https://docs.microsoft.com/en-us/azure/data-factory/solution-template-copy-files-multiple-containers , how should I proceed and set up parameters, any template I can use, I tried different way and seems not working

To achieve the combination of these strategies, start with the multiple-container template, and set it up as normal.  Then modify the resulting pipeline.  Inside the ForEach activity, modify the Copy activity or its associated Dataset to look similar to the result of the LastModifiedDate-template.


Update common-msbuild-project-properties.md

Adding OutDir property for msbuild.
OutputPath is for legacy. We should use OutDir instead.
https://github.com/Microsoft/msbuild/issues/87

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

Adding this msbuild property in code
PR
https://github.com/dotnet/project-system/pull/5773

What are my sources?


Bolt does not work in Windows 2008 R2

Describe the Bug
Importing bolt modules reports error
Expected Behavior
Steps to Reproduce
Steps to reproduce the behavior:

Install bolt in Windows 2008 R2 machine
Update powershell profile using command
'Import-Module -Name ${Env:ProgramFiles}\WindowsPowerShell\Modules\PuppetBolt' | Out-File -Append $PROFILE

Environment

Version [2.38.0]
Platform [Windows 2008 R2]

Additional Context
Add any other context about the problem here.

Error Message:
"You must provide a value expression on the right-hand side of the '-' operator.
At C:\Program Files\WindowsPowerShell\Modules\PuppetBolt\PuppetBolt.psm1:54 char:19

if ($kvp.Key - <<<< in $common) {

CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : ExpectedValueExpression

Import-Module : The module to process 'PuppetBolt.psm1', listed in field 'ModuleToProcess' of module manifest 'C:\Progr
am Files\WindowsPowerShell\Modules\PuppetBolt\PuppetBolt.psd1' was not processed because no valid module was found in a
ny module directory.
At C:\Users\installer\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:1 char:14

Import-Module <<<<  -Name ${Env:ProgramFiles}\WindowsPowerShell\Modules\PuppetBolt

CategoryInfo          : ResourceUnavailable: (PuppetBolt:String) [Import-Module], FileNotFoundException
FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"

Windows 2008R2 comes with PowerShell V2 pre-installed, which does not support the -in keyword. You can upgrade to PowerShell 3.0 or greater on the machine you're running Bolt on and that will fix this issue.
As a general FYI, Microsoft has set the EOL for Windows 2008R2 to Jan 2020 and Puppet will be removing explicit support from its products in Jan 2020. This means while Puppet products may still work on Windows 2008, we are not actively testing against that platform.
In addition, Microsoft has officially deprecated PowerShell v2.0 and advised all customers to move to PowerShell 5.1.

I'm going to close this out, but if any further problem arises please feel free to open an issue


DeleteModal: add modelLabel prop

needed in cases where this.data.model_.label isn't what the user would expect

PR not necessary; it's enough to set the label on the model itself.


C: add textobject for function declarations

Capture declarations commonly found in header files.
bool foo(int bar);

Thank you! And a happy new year! :tada:

Thank you! And a happy new year! :tada:


Enums with identical literals not always detected

The detection of identical literals does not work correctly in some cases.
package Test is

   type A is (A => 2, B => 0) with Size => 2;

   type B is (A => 0) with Size => 1;

   type C is
      message
         A : A;
         AA : A;
         AAAA : B;
      end message;

end Test;

Actual
rflx: model error: contradicting condition 0 from field "Initial" to "A" on path [] in "Test.C" (A = 0
   ∧ A = 2)

Expected
rflx: parser error: "Test.B" contains identical literals as "Test.A": A

Thanks! I'll try this with the current state once #248 is done. Are you sure this is a "parser"-related issue. Isn't this actually a model error?

The current check for identical literals is done in the parser, but I think it would better fit in the model. An appropriate location would be model.Model.

Moving those checks to the model is not easily doable, as we store enumeration elements as a dict. Consequently, duplicate elements are not available anymore after parsing. While we could change the data structure, I don't think it's worth the effort.
I changed your example, as your literals also conflict with the types (which creates even more noise):
package Test is

   type A is (E1 => 2, E2 => 0) with Size => 2;

   type B is (E1 => 0) with Size => 1;

   type C is
      message
         A : A;
         AA : A;
         AAAA : B;
      end message;

end Test;

After the integration of #248, I get:
Parsing test.rflx
Processing Test
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:9:10: model: info: on path: "A"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:9:10: model: info: on path: "A"
test.rflx:10:10: model: info: on path: "AA"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:9:10: model: info: on path: "A"
test.rflx:10:10: model: info: on path: "AA"
test.rflx:11:10: model: info: on path: "AAAA"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:5:4: parser: error: conflicting literals: E1
test.rflx:5:15: parser: info: previous occurrence of "E1"

The last two lines correctly indicate the problem, even though the location information is wrong. After fixing that, I get:
Parsing test.rflx
Processing Test
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:9:10: model: info: on path: "A"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:9:10: model: info: on path: "A"
test.rflx:10:10: model: info: on path: "AA"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:7:4: model: error: contradicting condition in "Test.C"
test.rflx:9:10: model: info: on path: "A"
test.rflx:10:10: model: info: on path: "AA"
test.rflx:11:10: model: info: on path: "AAAA"
test.rflx:3:4: model: info: unsatisfied "E1 = 2"
test.rflx:5:4: model: info: unsatisfied "E1 = 0"
test.rflx:5:4: parser: error: conflicting literals: E1
test.rflx:3:15: parser: info: previous occurrence of "E1"

The contradicting conditions errors are technically correct, but of cause only present due to the bogus enumeration elements. We could try to flag the type errors in the parser and omit the contradiction test in such cases. However, doing this is not straightforward. Again, I don't think it's worth the effort. I'd just fix the location issue and leave the contradiction errors.
What do you think?

Moving those checks to the model is not easily doable, as we store enumeration elements as a dict. Consequently, duplicate elements are not available anymore after parsing.

Actually, we are only using the dicts as basis for the duplication detection at the moment. And consequently, duplicate elements are not available anymore when we try to check them:
package Test is

   type A is (E1 => 1, E2 => 2) with Size => 2;

end Test;

We should fix that.

We could try to flag the type errors in the parser and omit the contradiction test in such cases. However, doing this is not straightforward. Again, I don't think it's worth the effort.

I agree. That would increase the complexity with little benefit.


Fetch full message body when getting email data

That was exactly what I was looking for and fixes issue #294. Thanks a lot!

Sorry about the extremely slow response.
Apart from the comment about the documentation, it seems from the linked issue that this commit may not reliably fix this issue.
As such, having some clear instructions on how to reproduce the error-condition, which this PR could be tested against would be nice.
(I'm saying this, because for me email_data() and email_source() gets me all the stuff I need)

Unfortunately I don't have any clear instructions but for me, it seemed to be associated with the is_deleted flag. It appeared to truncate the messages to 80 characters when it was set to true (even though emails weren't deleted). From memory it was only in large email threads where past emails were collapsed when the thread was opened.
I managed to fix the issue we were having by specifying an email ID for the 'msgs' in the query string (as oppose to only 'th') in the api.helper.get.email_data_pre function (see line below).
url = window.location.origin + window.location.pathname + '?ui=2&ik=' + api.tracker.ik + '&rid=' + api.tracker.rid + '&view=cv&th=' + email_id + '&msgs=' + email_id + '&mb=0&rt=1&search=mbox';
Hope this helps!

Fair enough.
In that case, I think a method rename would be in order full makes it sounds like does more than the thing which isn't. This will probably lead many people chosing that one "just in case". Don't you agree?
Would using a identifier more in terms with the error-condition be an option, like api.get.email_data_including_deleted?
if you can fix that and also the async documentation-issue I observed, I'll be glad to merge this PR.

Oh sorry, didn't actually see this. Doesn't this PR actually fix the whole problem?
https://github.com/KartikTalwar/gmail.js/pull/329

@4i60r : With this PR now merged, could you check if this is still an issue?
If not, this PR probably isn't needed and should be closed.

@josteink It looks like it's fixed. Thanks!

Great. Thanks for the quick feedback! I'll go ahead and close this pull request then, since it's no longer needed.
Anyhow thank you for your contribution. patches are always welcome


Simplify some internals, since S3 became strongly consistent

Is your idea related to a problem? Please describe.
As far as I remember, there were some protections against s3 eventual consistency. They are no longer needed.
https://aws.amazon.com/blogs/aws/amazon-s3-update-strong-read-after-write-consistency
Describe the solution you'd like
Simply some internals.
for instance:
https://github.com/awslabs/aws-data-wrangler/blob/dfad32e19b45439b54c26491325bfe183455954c/awswrangler/emr.py#L535

Released on version 2.0.0


Letter to Anchorage Alaska's City Council

SEND TO<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>[UNIQUE SUBJECT LINE]
Dear Members of City Council,
My name is [YOUR NAME] and I am a resident of [NEIGHBORHOOD/BOROUGH/CITY]. I write this letter to urge you to begin defunding and demilitarizing the ¬¬¬¬¬Anchorage Police Department. The budget approved for 2020 prioritizes policing at the expense of other, vital departments. APD 22.4% of the budget, outranking all other expenditures and costing the city $121,039. Other vital industries like parks and recreation (3.8%), health (2.4%), development services (2.2%), and libraries (1.7%) take up less than half of the police budget when combined. (Source: 2020 Approved General Government Operating Budget.) Right now, there is a clear disjunction between what the people of Anchorage want and where our tax dollars are going.
As Anchorage residents, we therefore demand that you take immediate action to ensure the following:

Reduce Anchorage’s allocation from the General Fund by 50% (roughly $60 million)
Disallow unauthorized overtime by ¬APD
Discontinue use of general fund dollars to pay for settlements due to police murder, misconduct, and negligence
Invest in housing, jobs, youth programs, restorative justice, and mental health workers to keep the community safe.
Invest in community development initiatives and programs.

Anchorage cannot wait any longer for a budget that meets the needs of its residents. The only way to achieve this is to take immediate steps to defund APD.
Thank you,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

I'm on it as an AK local! I'll make a PR.

PR #1009 ready to be reviewed and submitted. Thanks a ton neighbor @sophiagustafson! I live in Girdwood :)

Whoops, I messed the process up, forgot about the review stage. Below is the slightly edited letter. Upon approval I can do a new PR. The changes I made were

fix typo of $121 million
remove weird ¬ characters
use "I" instead of "we"
added some periods to the list

SEND TO<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>[UNIQUE SUBJECT LINE]
Dear Members of City Council,
My name is [YOUR NAME] and I am a resident of [NEIGHBORHOOD/BOROUGH/CITY]. I write this letter to urge you to defund and demilitarize the Anchorage Police Department. The budget approved for 2020 prioritizes policing at the expense of other, vital departments. APD uses 22.4% of the budget, outranking all other expenditures and costing the city $121 million. Other vital industries like parks and recreation (3.8%), health (2.4%), development services (2.2%), and libraries (1.7%) take up less than half of the police budget when combined. (Source: 2020 Approved General Government Operating Budget.) Right now, there is a clear disjunction between what the people of Anchorage want and where our tax dollars are going.
As an Anchorage resident, I therefore demand that you take immediate action to ensure the following:

Reduce Anchorage’s allocation from the General Fund by 50% (roughly $60 million).
Disallow unauthorized overtime by APD.
Discontinue use of general fund dollars to pay for settlements due to police murder, misconduct, and negligence.
Invest in housing, jobs, youth programs, restorative justice, and mental health workers to keep the community safe.
Invest in community development initiatives and programs.

Anchorage cannot wait any longer for a budget that meets the needs of its residents. The only way to achieve this is to take immediate steps to defund APD.
Thank you,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]


Unable to compile with Vee Validate v4

Describe the bug
Using VeeValidate's useForm() – throws a reference error while rendering pages.
ReferenceError: File is not defined
at isEqual (/Users/nn/Sites/micro-sh/node_modules/.pnpm/vee-validate@4.6.9_vue@3.2.39/node_modules/vee-validate/dist/vee-validate.js:169:28)

I tested with npm and pnpm – it's the same error.
Narrowed it down from all the Vite dependencies to Vite SSG and it's a problem with it alone, as seen in the repro.
Run npm run export and you'll see the reference error in the console.
Reproduction
https://stackblitz.com/edit/vitejs-vite-dkdkrm
System Info
My details:

System:
    OS: macOS 12.5.1
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 211.79 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
Binaries:
    Node: 18.8.0 - /usr/local/bin/node
    npm: 8.19.2 - /usr/local/bin/npm
Browsers:
    Chrome: 105.0.5195.125
    Firefox Developer Edition: 106.0
    Safari: 15.6.1

–––

On the StackBlitz:
System:
    OS: Linux 5.0 undefined
    CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

@dvlden it seems adding "web-file-polyfill": "^1.0.4" as dev dependency will fix it: here a forked version https://stackblitz.com/edit/vitejs-vite-pfcvdh?file=package.json

Nice find. I have installed it in my project, and the issue is also gone.


Import email contact to websie

I have not tried it. I want to know if this script can be used to get/import user email? This will be used for website. Thanks in advance!

Alkasih thanks for your interest in the LiveSDK, I don't know what script you are talking about, but I would advise that you look at the sample applications add see if they can serve your purpose.

I copied your two files here:  https://github.com/liveservices/LiveSDK-for-Windows/tree/master/src/Web/Samples/OAuthServer/PHP/OauthSample
Callback.php and default.hml
What I am trying to do with this file is I want to make user be able to import their contact email when they click a button.
Please guide me what I need to do here to achieve what I am looking for.
Thank you so much in advance.

It sounds like your question is more about getting a php page to function and not about the specific implementation or function of the LiveSDKs.  Please use stack overflow or another online forums to get information on how to do operations like that.


add java17 support

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider
Yes ✅: please list the AWS provider version which introduced this functionality

Is your request related to a problem? Please describe.

Describe the solution you'd like.

Describe alternatives you've considered.

Additional context

Make sure that you are using Terraform AWS provider version 4.66.0 or newer. Run terraform init -upgrade to update it.
https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#4660-may--4-2023
There is nothing we should do in this module to get support for the new runtimes.


Arrays in java

Proposed title of article
Arrays in java
Introduction paragraph (2-3 paragraphs):
An array is a group of contiguous or related data items that share a common name. For instance, we can define an array name salary to represent a set of salaries for a group of workers.
A particular value is indicated by writing a number called index number or subscript in brackets after the array name. Arrays can be represented by any variable type .
Key takeaways:

Definition of arrays
Creating an array
One and two dimensional array
sorting arrays

References:
N/A

@Catherinemugo
Seems like a helpful topic - lets please be sure it add value beyond what can be found in the official docs and other blog sites.
(creating unique example cases is usually helpful)
Lets also make sure that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure. - approved
One important note: Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval for a quicker publishing process. (There are some great free tools that we reference in EngEd resources.)


test_with_modified_rulebase_on_boundary fails in modify_rulebase_and_tst

When running plugin version <IP_ADDRESS> in server built from tip of main, test_with_modified_rulebase_on_boundary fails.
This failure occurs as a non-AssertionError exception being raised during the test, which results in the failure being logged as an error in the test.
The same failure occurs in my PR #140, so presumably this has not been fixed yet.
The test is running in an Ubuntu 20.04 container, using postgres.
Here's some of the test output. I've put a more complete log here.
======================================================================
ERROR: test_with_modified_rulebase_on_boundary (irods.test.test_prep_genquery_iterator.Test_Genquery_Iterator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 659, in test_with_modified_rulebase_on_boundary
    self.boundary_with_size(512 + 7 * 8 * 9, self.modify_rulebase_and_tst, pre_start = True)
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 680, in boundary_with_size
    func(N)
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 810, in modify_rulebase_and_tst
    self.assertNotEqual( out_tuple[0][0], out_tuple[1][0]) # keys not a match ("actual" != "predicted")
IndexError: list index out of range

I believe this is fixed by changes made in #171. We observed this test failure in the run up to <IP_ADDRESS> and the tests are now passing.


Parse incorrect  when charset contains shift_jis

Mail headers contain shift_jis charset sometime such as below.
Subject: =?shift_jis?B?g1qDfoNJgVuDX4FbirSKb4LFkUmC1IFBg1eDg4NQg2KDZw==?=
 =?shift_jis?B?gUWDcIOTg2OBRYNYg0qBW4NngqqTb4/qgV6BdYKrgr+C8YLGgXaCxg==?=
 =?shift_jis?B?gXWDiYNOg2CDk4F2gvCBQo90gsySyovOlZ6CyYKogreCt4Lfg0GDQw==?=
 =?shift_jis?B?g2WDgA==?=

The charset is registered in IANA so conforming to RFC-2047.
I guess that it will solve by adding '_` to this regex pattern.
Thanks.

Hi @alu
Thanks for letting me know -- I've fixed it in master and will include it in the next release :)
Zaahid

@zbateson thanks :)


Wrong parsing of time when using format with H or h and no separators

Hi,
Found an issue when parsing with formats like 'hmm' or 'Hmm'.
E.g. moment('334', ['hmm']); results in invalid value, because despite of the passed format, it considers h=33, mm =4.
Example: http://jsfiddle.net/igoryan/koqe5m5f/

It only works if you pass in moment('0344', 'hmm'). Seems like h (or H) always is looking for 2 characters.

Yep, I expect formats to match user input correctly. H or h should look for 1 chars also.

I double that.
moment("20160831", "YYYYMMDD")

results into
Sun Apr 20 831 00:00:00 GMT+0300 (FLE Daylight Time)

Closing in favor of #2418.
@creage - Yours is not the same issue, nor can I reproduce it.  If you can repro it consistently, please open a different issue and include details like time zone and browser.  Thanks.


Make UMA folder easily movable

I like to place all external stuff into the Plugins folder to keep my project root clean and get improved compilation times. However, there are a few places in the UMA source that use a hardcoded path. It would be great if you could define the root path in one place to make upgrading easier (or even try to find it dynamically by walking up the folder tree).

This should be possible now in 2.8.1 RC
https://github.com/umasteeringgroup/UMA/releases/tag/v2.8%2C1rc1

Hi workes fine except for one thing:
FileUtils::GetInternalDataStoreFolder still works on Application.dataPath/UMA/InternalDataStore


Added flattening for results (to handle returned numpy arrays)

With 0.7b2, I got some errors when returning numpy arrays as results, flattening should avoid this.

Coverage remained the same at 86.597% when pulling 9512b82ae9e814ffb058b38c37791937707691e0 on javdrher:master into f9848d4c484085033ef5c7644770e6188f7104a6 on IDSIA:master.

Good catch. Thanks!


Currency data not returned by client

Hi,
The currency format data is returned in the raw API response but not in the YnabApi::CurrencyFormat objects of the client:
irb(main):084:0> client.budgets.api_client.config.debugging = true
=> true
irb(main):085:0> response = client.budgets.get_budgets
D, [2018-04-07T16:46:59.417961 #52429] DEBUG -- : Calling API: BudgetsApi.get_budgets ...
Connection 3 seems to be dead!
Closing connection 3
  Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to api.youneedabudget.com (<IP_ADDRESS>) port 443 (#4)
SSL re-using session ID
TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Server certificate: api.youneedabudget.com
Server certificate: Let's Encrypt Authority X3
Server certificate: DST Root CA X3
GET /v1/budgets HTTP/1.1
Host: api.youneedabudget.com
User-Agent: api_client/ruby/0.6.0
Content-Type: application/json
Accept: application/json
Authorization: Bearer TOKEN_HIDDEN

HTTP/1.1 200 OK
Server: Cowboy
Date: Sat, 07 Apr 2018 14:47:01 GMT
Connection: keep-alive
Content-Type: application/json; charset=utf-8
X-Rate-Limit: 8/200
Vary: Accept-Encoding, Origin
Etag: W/"99f504dcdedffbe6138d381fb76b034e"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: b3bada1d-4f97-4144-b7c4-040a422e662a
X-Runtime: 0.030880
Strict-Transport-Security: max-age=15552000
Transfer-Encoding: chunked
Via: 1.1 vegur

Connection #4 to host api.youneedabudget.com left intact
D, [2018-04-07T16:47:01.508452 #52429] DEBUG -- : HTTP response body ~BEGIN~
{"data":{"budgets":[{"id":"budget_id_hidden","name":"Cuentas","last_modified_on":"2018-04-07T14:23:45+00:00","date_format":{"format":"DD/MM/YYYY"},"currency_format":{"iso_code":"EUR","example_format":"123 456,78","decimal_digits":2,"decimal_separator":",","symbol_first":false,"group_separator":" ","currency_symbol":"€","display_symbol":true},"first_month":"2014-09-01","last_month":"2018-04-01"}]}}
~END~

D, [2018-04-07T16:47:01.509703 #52429] DEBUG -- : API called: BudgetsApi#get_budgets
Data: #<YnabApi::BudgetSummaryResponse:0x00007fe80caf3718 @data=#<YnabApi::BudgetSummaryWrapper:0x00007fe80caf34c0 @budgets=[#<YnabApi::BudgetSummary:0x00007fe80caf31a0 @id="budget_id_hidden", @name="Cuentas", @last_modified_on=#<DateTime: 2018-04-07T14:23:45+00:00 ((2458216j,51825s,0n),+0s,2299161j)>, @date_format=#<YnabApi::DateFormat:0x00007fe80caf28b8>, @currency_format=#<YnabApi::CurrencyFormat:0x00007fe80caf2660>>]>>
Status code: 200
Headers: {"Server"=>"Cowboy", "Date"=>"Sat, 07 Apr 2018 14:47:01 GMT", "Connection"=>"keep-alive", "Content-Type"=>"application/json; charset=utf-8", "X-Rate-Limit"=>"8/200", "Vary"=>"Accept-Encoding, Origin", "Etag"=>"W/\"99f504dcdedffbe6138d381fb76b034e\"", "Cache-Control"=>"max-age=0, private, must-revalidate", "X-Request-Id"=>"b3bada1d-4f97-4144-b7c4-040a422e662a", "X-Runtime"=>"0.030880", "Strict-Transport-Security"=>"max-age=15552000", "Transfer-Encoding"=>"chunked", "Via"=>"1.1 vegur"}
=> #<YnabApi::BudgetSummaryResponse:0x00007fe80caf3718 @data=#<YnabApi::BudgetSummaryWrapper:0x00007fe80caf34c0 @budgets=[#<YnabApi::BudgetSummary:0x00007fe80caf31a0 @id="budget_id_hidden", @name="Cuentas", @last_modified_on=#<DateTime: 2018-04-07T14:23:45+00:00 ((2458216j,51825s,0n),+0s,2299161j)>, @date_format=#<YnabApi::DateFormat:0x00007fe80caf28b8>, @currency_format=#<YnabApi::CurrencyFormat:0x00007fe80caf2660>>]>>
irb(main):086:0> response.data.budgets.first.currency_format.to_hash
=> {}

Looking at your API docs it seems that the only field in the currency model is locale, so even though values such as iso_code are returned by the API, they are skipped by the client.

Same for date format.

Thanks for the report!  Our swagger spec needed to be updated for these fields.
Fixed by https://github.com/ynab/ynab-sdk-ruby/pull/13, released to RubyGems as 0.7.0.
Updated format:
budget_response = ynab.budgets.get_budgets.data.budgets[0].date_format
 => #<YnabApi::DateFormat:0x00007fe3c929d920 @format="MM/DD/YYYY">
budget_response = ynab.budgets.get_budgets.data.budgets[0].currency_format
 => #<YnabApi::CurrencyFormat:0x00007fe3c926c730 @iso_code="USD", @example_format="123,456.78", @decimal_digits="2", @decimal_separator=".", @symbol_first=true, @group_separator=",", @currency_symbol="$", @display_symbol=true>

Sweet, thanks for the quick fix!


Issue #73 unable to install workspace container

#73 I've added the --force-yes flag on apt-get install

@abyshakes does this solves it for you?

@Mahmoudz yes this fixes this specific issue, but I haven't tested out all the containers as yet :) I'm still getting my hands around docker and I'm still picking up stuff from your work. Awesome idea !! Thanks for sharing, I'll contribute in any way I can help.

@abyshakes thank you, looking forward for your contribution. Best :)


Fix sidebars to allow index pages on sections

This will add page content to sections, removing the need of an "Overview" page.
To do this some styles had to be changed and the sidebar.js file needed to be reorganized.
In this first example, I did it to the Okteto Manifest section, now it doesn't have an "Overview" page. Redirections need to be applied when doing this, as the path changes to whatever/index internally, and whatever as the canonical URL path.
Before

After

Also, the glitch on the sidebar animation has been fixed 😄


Add kube-router addon

The Kube-router is a turnkey solution for Kubernetes networking with aim to provide operational simplicity. Kube-router provides a cohesive yet lean and powerful alternative to several network components. It simplifies routing between pods in a distributed cluster.
It can be used to set IPVS/LVS mode for service proxy or the use of direct routing across the nodes for pod networking etc.
Although, flannel is provided as CNI for microk8s but having flexibility to choose kube-router will add more use-cases to developer's kubernetes environment.
It will be great to enable it with a simple command: microk8s.enable kube-router

Would love to see kube-router supported in Microk8


[MXNET-791] Pick with negative indices

Description
Updates pick operator to handle negative indices.
Implements #12009
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
Updates pick and pick_grad in broadcast_reduce_op to handle negative indices
Updates pick to include a mode parameter ('pick' or 'wrap') to specify whether out of bounds indices should either be clipped or wrapped.
Comments
Making change as it was tagged with Call for Contribution

Hi,
This is my first PR to the project and I'm still learning the ropes. Any and all suggestions would be much welcome. I'm not sure how to handle the case. For simplicity, I handled it with mod arithmetic. But in numpy, you can index in the range [-len, len). Which behaviour should be correct for this issue?
Should the cropping happen for indices < -1*len and >= len ?
Cheers,
Per

Welcome to MXNet family!
I think you can use what I did for take operator as a reference: https://github.com/apache/incubator-mxnet/pull/11326/files#diff-ed06b8d9798aca630313f2a9dd3fcd68R316 for handling negative indices.

Thank you for the welcome and guidance ^^
I hope I have done everything correctly. I've incorporated the mode into the currently existing pick test. I wonder if they should be split? Or maybe the pick_helper should be extended with the mode?
Cheers!!
Per

Will do. I kept the raise there to be consistent with the take implementation. Would you like me to remove raise from take?

Do you think it would make sense to test 'wrap' with the range -2*-bshape[axis]..2*bshape[axis]? To cover cases where one is wrapping more than the length of the axis in both directions? In my understanding, in numpy indices should generally be [-len, len). So, the current implementation diverges from that.

@perdasilva Sorry for the late reply, I think adding more coverage is totally okay. Regarding the inconsistency with numpy, does this operator has some equivalent op in numpy? There is one for take, but this one I'm not sure.

@haojin2 No problem at all ^^
The only thing I could find that is similar to pick in numpy is numpy.choose. But there's not axis input there. It also seems that 'raise' is the default mode.  Upon closer inspection, 'wrap' works the same here as with numpy. Interestingly though, np.array indexing is in the range [-len, len) ^^
I'll also increase the coverage for the test.

@perdasilva So if there's no direct equivalence of this one in numpy then we may not need to match the behavior with numpy, please simply ensure we have enough documentation to document the behavior.

I believe that's all done now. Thanks for everything ^^

@haojin2 I believe everything is done as specified. Please merge when you get a chance ^^

Please rebase with the latest master, then do a git submodule update --init --recursive, then do a git push --force origin <your-branch-name>

Hmm those dmlc changes seem to have persisted...strange

Ok - Just did a soft reset, updated the submodule, then re-applied my commits. Seems to have fixed the issue =)

@haojin2 - This PR is ready for merge after your approval.

@sandeep-krishnamurthy Ready for merge.


How will i launch my noVNC?

What will be my ip to be configured in appium and url/ip to see the emulator in browser?

I'm very sorry, but I'm not supporting that project anymore. It was necessary quite a long time ago to run "farm" for application testing, but now I'm doing different things.


Third tutorial (https://polyglot-server.readthedocs.io/en/latest/tutorials_iscan.html) R code

Hi,
On the Glasgow University lab computers and my own mac laptop, the tidyverse package isn't installed or seems to have some kind of bug. Dr. Rachel Macdonald was able to install tidyverse, but it still isn't working on my mac. I'm quite new to R, so I just ran the plots using ggplot2 which worked. Would it be possible to use a more basic package or include an alternative? I've included my R Console output below:
R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

library(tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’
setwd("~/Documents")
df <- read.csv('syllable_duration export.csv')
library("rlang", lib.loc="/Library/Frameworks/R.framework/Versions/3.4/Resources/library")
df <- filter(df, word_num_syllables < 5)
Error in filter(df, word_num_syllables < 5) :
object 'word_num_syllables' not found
ggplot(df, aes(x = syllable_duration)) +

geom_histogram() +
xlab("Syllable duration")
Error in ggplot(df, aes(x = syllable_duration)) :
could not find function "ggplot"

library("ggplot2", lib.loc="/Library/Frameworks/R.framework/Versions/3.4/Resources/library")
ggplot(df, aes(x = syllable_duration)) +

geom_histogram() +
xlab("Syllable duration")
stat_bin() using bins = 30. Pick better value with binwidth.

df <- filter(df, syllable_duration < 1.5)
Error in filter(df, syllable_duration < 1.5) :
object 'syllable_duration' not found
ggplot(df, aes(x = factor(word_num_syllables), y = syllable_duration)) +

geom_boxplot() +
xlab("Duration of word-initial syllable") + ylab("Syllable duration") +
scale_y_sqrt()

install.packages("tidyverse")
Error in install.packages : Updating loaded packages

Restarting R session...

install.packages("tidyverse")
Error in install.packages : Updating loaded packages
install.packages("tidyverse")
also installing the dependencies ‘ps’, ‘bindr’, ‘Rcpp’, ‘rematch’, ‘processx’, ‘bindrcpp’, ‘tidyselect’, ‘plogr’, ‘DBI’, ‘curl’, ‘openssl’, ‘cellranger’, ‘callr’, ‘clipr’, ‘fs’, ‘whisker’, ‘selectr’, ‘broom’, ‘dplyr’, ‘dbplyr’, ‘forcats’, ‘haven’, ‘httr’, ‘lubridate’, ‘modelr’, ‘purrr’, ‘readxl’, ‘reprex’, ‘rvest’, ‘tidyr’, ‘xml2’

There is a binary version available but the source version is later:
binary source needs_compilation
broom  0.4.5  0.5.0             FALSE
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/ps_1.1.0.tgz'
Content type 'application/x-gzip' length 144390 bytes (141 KB)
downloaded 141 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/bindr_0.1.1.tgz'
Content type 'application/x-gzip' length 12791 bytes (12 KB)
downloaded 12 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/Rcpp_0.12.19.tgz'
Content type 'application/x-gzip' length 4429794 bytes (4.2 MB)
downloaded 4.2 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rematch_1.0.1.tgz'
Content type 'application/x-gzip' length 10990 bytes (10 KB)
downloaded 10 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/processx_3.2.0.tgz'
Content type 'application/x-gzip' length 106862 bytes (104 KB)
downloaded 104 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/bindrcpp_0.2.2.tgz'
Content type 'application/x-gzip' length 369636 bytes (360 KB)
downloaded 360 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/tidyselect_0.2.4.tgz'
Content type 'application/x-gzip' length 292675 bytes (285 KB)
downloaded 285 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/plogr_0.2.0.tgz'
Content type 'application/x-gzip' length 12957 bytes (12 KB)
downloaded 12 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/DBI_1.0.0.tgz'
Content type 'application/x-gzip' length 829862 bytes (810 KB)
downloaded 810 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/curl_3.2.tgz'
Content type 'application/x-gzip' length 404610 bytes (395 KB)
downloaded 395 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/openssl_1.0.2.tgz'
Content type 'application/x-gzip' length 2418186 bytes (2.3 MB)
downloaded 2.3 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/cellranger_1.1.0.tgz'
Content type 'application/x-gzip' length 72965 bytes (71 KB)
downloaded 71 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/callr_3.0.0.tgz'
Content type 'application/x-gzip' length 98436 bytes (96 KB)
downloaded 96 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/clipr_0.4.1.tgz'
Content type 'application/x-gzip' length 25268 bytes (24 KB)
downloaded 24 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/fs_1.2.6.tgz'
Content type 'application/x-gzip' length 721951 bytes (705 KB)
downloaded 705 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/whisker_0.3-2.tgz'
Content type 'application/x-gzip' length 48077 bytes (46 KB)
downloaded 46 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/selectr_0.4-1.tgz'
Content type 'application/x-gzip' length 101549 bytes (99 KB)
downloaded 99 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/dplyr_0.7.6.tgz'
Content type 'application/x-gzip' length 5173828 bytes (4.9 MB)
downloaded 4.9 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/dbplyr_1.2.2.tgz'
Content type 'application/x-gzip' length 318140 bytes (310 KB)
downloaded 310 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/forcats_0.3.0.tgz'
Content type 'application/x-gzip' length 190427 bytes (185 KB)
downloaded 185 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/haven_1.1.2.tgz'
Content type 'application/x-gzip' length 885236 bytes (864 KB)
downloaded 864 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/httr_1.3.1.tgz'
Content type 'application/x-gzip' length 284210 bytes (277 KB)
downloaded 277 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/lubridate_1.7.4.tgz'
Content type 'application/x-gzip' length 1246139 bytes (1.2 MB)
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/modelr_0.1.2.tgz'
Content type 'application/x-gzip' length 170974 bytes (166 KB)
downloaded 166 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/purrr_0.2.5.tgz'
Content type 'application/x-gzip' length 236036 bytes (230 KB)
downloaded 230 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/readxl_1.1.0.tgz'
Content type 'application/x-gzip' length 1452194 bytes (1.4 MB)
downloaded 1.4 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/reprex_0.2.1.tgz'
Content type 'application/x-gzip' length 371301 bytes (362 KB)
downloaded 362 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rvest_0.3.2.tgz'
Content type 'application/x-gzip' length 852813 bytes (832 KB)
downloaded 832 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/tidyr_0.8.1.tgz'
Content type 'application/x-gzip' length 584403 bytes (570 KB)
downloaded 570 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/xml2_1.2.0.tgz'
Content type 'application/x-gzip' length 821238 bytes (801 KB)
downloaded 801 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/tidyverse_1.2.1.tgz'
Content type 'application/x-gzip' length 77756 bytes (75 KB)
downloaded 75 KB
The downloaded binary packages are in
/var/folders/nc/y514rsk933d86zm90j85mf8r0000gn/T//RtmpsWDnOw/downloaded_packages
installing the source package ‘broom’
trying URL 'https://cran.rstudio.com/src/contrib/broom_0.5.0.tar.gz'
Content type 'application/x-gzip' length 1228314 bytes (1.2 MB)
downloaded 1.2 MB

installing source package ‘broom’ ...
** package ‘broom’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
DONE (broom)

The downloaded source packages are in
‘/private/var/folders/nc/y514rsk933d86zm90j85mf8r0000gn/T/RtmpsWDnOw/downloaded_packages’

library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘Rcpp’ 0.12.15 is already loaded, but >= 0.12.16 is required
df <- filter(df, word_num_syllables < 5)
Error in filter(df, word_num_syllables < 5) :
object 'word_num_syllables' not found
library("tidyverse", lib.loc="/Library/Frameworks/R.framework/Versions/3.4/Resources/library")
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘Rcpp’ 0.12.15 is already loaded, but >= 0.12.16 is required
library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘Rcpp’ 0.12.15 is already loaded, but >= 0.12.16 is required

Thanks @staceyharkin - I've now updated the tutorial to suggest using ggplot2 if one isn't able to install tidyverse (which I believe is due to a mismatch between tidyverse and the base R version). The tutorial now notes that if the user opts to use ggplot2, they should call the base R subset() functions instead of tidyverse's filter() at the appropriate steps.


fix(decoder): ensure tag in harbor decoder

resolve: #44

Well, I added test and fixed the decoder as good as possible. If this is even required. Because opon even closer inspection, I see that the event shown here https://goharbor.io/docs/main/working-with-projects/project-configuration/configure-webhooks/, contains invalid data. They have a digest in the tag part, which is invalid according to RFC. It cant be parsed like that.
So either they have a typo on their docs, or this is broken.


Unrealistic Ping Results and Incorrect Down Time

Hi Jeff,
So I updated config.yml to add few hostnames and somehow the uptime is showing red and the http request duration become negative value although I am very sure that my own website nukm4n.com and twitter.com is not down.
Can you help where I did wrong?
Look at https://www.twitter.com and https://www.nukm4n.com  :

This is my pinghost.yaml file  (I am not sure why facebook.com is repeated twice, I have manually edited and re-run ansible-playbook ) :

Thank You :)

I've noticed that sometimes the blackbox exporter that's used (https://github.com/prometheus/blackbox_exporter) does weird things if the URL you're using to run http tests redirects or responds with anything other than a 200 OK. Can you test the URL that's failing with curl --head [url here] and see what status code it outputs? Make sure to copy it exactly, including any https vs http, and slash at the end, www. or not www....

Hi Jeff,
curl --head https://www.twitter.com/

curl --head https://www.nukm4n.com/

Hi Jeff,
It seems the uptime returned to Green by itself. However nevertheless thank you so much for your advise. I have updated the url without the www.
Thanks a bunch :)


Ensure that test/driver.js actually takes the same Annotation code-path as the viewer when running forms tests (PR 7633 follow-up)

Please refer to the commit messages.
/cc @timvandermeij

/botio-linux preview

/botio test

[...] Could you try to change that and see if the reference images improve?

That only seems to work for <input>, but unfortunately it's breaking for <textarea> in both the viewer and the tests  :-(
I'm not sure how we can fix this, and I don't really have time right now to attempt to fix/workaround it.
Could we just land this as, with a bullet point in the tracking issue about fixing the tests, since it seems to me that we've stumbled upon an pre-existing issue?

/botio-windows test

@timvandermeij Thank you for the help in https://github.com/mozilla/pdf.js/pull/7647#issuecomment-248016670, it seems to do the trick both in the viewer/tests!
/botio-linux preview

/botio-linux preview

/botio test

/botio makeref

Nice work!


Best Practices for Code Refactoring

Code refactoring is the process of restructuring and improving existing code to make it more efficient, readable, and maintainable without changing its functionality. In the case of the current project, the code is currently stored in the "pages" folder, including the components. This can lead to difficulty in managing and maintaining the code, especially as the project grows in complexity.
To improve the codebase, a refactor could involve reorganizing the code into separate folders for pages and components, following best practices for file naming and organization. Additionally, the code could be optimized for performance, removing any unnecessary or redundant code, and improving the overall code structure to make it more readable and easier to maintain. This will lead to a more scalable and maintainable codebase, which is crucial for the long-term success of any project.
It's not recommended to keep all the code, including components, in the pages folder in Next.js. The pages folder should only contain the top-level pages of the application, and components should be kept in a separate folder. Keeping components in the pages folder can lead to confusion and make it difficult to maintain the code. Additionally, it can result in a slower build time and negatively impact the performance of the application. Therefore, it's recommended to move the components to a separate folder and import them as needed in the pages. This will help in keeping the code organized and maintainable.

It can be done as we coauthor the commits. Needs a particular structure to refactor accordingly as you ask to.

@yuvrxj-afk Sorry but I didn't get it


Smart Variables

Brief description:
Smart variables are context-specific variables which gives you information about the context in which data is being entered. i.e. the who the current user is, what event is currently being viewed, whether or not an instrument is being viewed as a survey or data entry form, etc. These are used for validating data and also getting information about the context.
User spec:
https://github.com/CCTC-team/redcap_cypress/blob/redcap_val/user_requirement_specification/non_core/108_smart_variables.spec
Feature link:
https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/manual_scripts/Smart Variables_108/D.108.100 - Smart Variables.feature
Pre review:

[ ] Script(s) targets the correct feature sufficiently
[ ] The user requirements are met

Post review:

[ ] Script(s) targets the correct feature sufficiently
[ ] Script(s) appropriately tests the feature

@MintooXavier - Please review this new script when you can.  Thanks Tan

Please don't change the link to User spec. It should point to redcap_val branch
These comments are not required. https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Smart Variables_108/D.108.100 - Smart Variables.feature#L11
You are not creating it. Maybe create a scenario for each smart variable and put the smart variable name. e.g. Scenario: D.108.100.1 - [event-name]
You already have a DAG called DAG1. Why do you have to create another DAG. You could assign the user to DAG1 and delete all the unwanted steps.
Last 2 columns are not required. https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Smart Variables_108/D.108.100 - Smart Variables.feature#L52
Not sure why these steps are needed. https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Smart Variables_108/D.108.100 - Smart Variables.feature#L58
You can do all the steps logged in as admin. No need to login as Test_User. https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Smart Variables_108/D.108.100 - Smart Variables.feature#L66
SO many unwanted steps. No need to verify https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Smart Variables_108/D.108.100 - Smart Variables.feature#L70

Hi Mintoo, I have made the changes requested. Please review when you have time.

These comments are not required.
Removed the comment for DAG Is the comment for create a Data Manager role ok?

You are not creating it. Maybe create a scenario for each smart variable and put the smart variable name. e.g. Scenario: D.108.100.1 - [event-name]
Created a scenario for each variable

4.You already have a DAG called DAG1. Why do you have to create another DAG. You could assign the user to DAG1 and delete all the unwanted steps.
Deleted steps and used DAG1 for user

Last 2 columns are not required.
Deleted 2 columns

6.Not sure why these steps are needed. please delete unnecessary verifications
Deleted steps for VERIFY_RSD

So many unwanted steps. No need to verify this. Maybe just verify you can see an instrument name. Similarly change in other locations
**Removed unnecessary steps and put steps in to verify I can see instrument name **

8.Create the project, add user, add user to DAG1, log out. Login as test_user and verify smart variables.
Have tried to follow this process apart from the step where I create the Data Manager role and then login again as Test_User, please check this is ok?

You don’t need to verify these 2 steps. Please delete it from all locations
Deleted these 2 steps from all locations

10.Approriate step definition would be 'I click the bubble to select a record for the "Data Types" longitudinal instrument on event "Event 1"' instead of the below. Change in all locations.:
Used correct step definition as mentioned above

Use record id 1-1 instead od 22-1 as it would be the only DAG when automating and DAG number will be 1. Change DAG number to 1 everywhere it is used.
Used record id 1-1 in all steps

Don't have to verify this. We are verifying Smart variables not user-DAG assignment
Removed this step

Logout
I added step to logout

Use this step definition : I enter "TestRole2" into the field with the placeholder text of "Enter new role name" instead of
Used the step definition above for the Data Manager role

15.Check label
Corrected label to 'Create role'
16.Can you test [user-fullname] instead of form url as form url is not easy to generate, it depends on redcap version, PID etc. I'll change the user spec for this.
Tested smart variable  [user-fullname] and removed form url

Script modified and automated.


Improve functional test query logger

The onNotSuccessfulTest method in OrmFunctionalTestCase prints out the actual queries that were executed during a failed test, but currently it does not show the last query at all.
This is because the DebugStack that is used to record the queries starts it's index from 1, but the code that iterates them assumes it starts from 0.
So I changed the iteration to use foreach instead of a for loop and transform the array beforehand to only contain the last 25 queries in reverse order.
Also, the way query params is currently handeled fails on array types with the following message:
Array to string conversion
 doctrine2/tests/Doctrine/Tests/OrmFunctionalTestCase.php:756

I have used var_export to overcome this issue and print out the array values.
Example output:
4. SQL: 'INSERT INTO company_employees (id, salary, departments, startDate) VALUES (?, ?, ?, ?)' Params: 1, 666, array (
  0 => 'Sales',
  1 => 'Marketing',
), NULL

The downside is that it breaks it into multiple lines, but I think it's OK. It could be further improved to output something like [0 => 'Sales', 1 => 'Marketing'] if that is a problem. But at least it's better than an error.
By using var_export instead of plain string concatenation we also get better insight into the types of the parameters, as it shows numeric values without quotes, boolean values as true and false (instead of '1' and '') and null values as NULL (instead of '').
Below is a more detailed example of the output before and after the changes.

Before:
```
With queries:
12. SQL: 'SELECT COUNT(*) FROM company_contract_managers t WHERE t.employee_id = ?' Params: '1'
11.  Params: '1'
10. SQL: '"COMMIT"' Params:
9. SQL: 'INSERT INTO company_contract_managers (contract_id, employee_id) VALUES (?, ?)' Params: '2', '1'
8. SQL: 'INSERT INTO company_contract_managers (contract_id, employee_id) VALUES (?, ?)' Params: '1', '1'
7. SQL: 'INSERT INTO company_contracts (completed, salesPerson_id, hoursWorked, pricePerHour, discr) VALUES (?, ?, ?, ?, ?)' Params: '', '', '0', '0', 'flexible'
6. SQL: 'INSERT INTO company_contracts (completed, salesPerson_id, hoursWorked, pricePerHour, discr) VALUES (?, ?, ?, ?, ?)' Params: '1', '', '0', '0', 'flexible'
5. SQL: 'INSERT INTO company_employees (id, salary, department, startDate) VALUES (?, ?, ?, ?)' Params: '1', '666', 'Marketing', ''
4. SQL: 'INSERT INTO company_managers (id, title, car_id) VALUES (?, ?, ?)' Params: '1', 'Boss', ''
3. SQL: 'INSERT INTO company_persons (name, spouse_id, discr) VALUES (?, ?, ?)' Params: 'Gandalf', '', 'manager'
2. SQL: '"START TRANSACTION"' Params:
```
After:
With queries:
12. SQL: 'SELECT te.id AS id, te.completed AS completed, te.hoursWorked AS hoursWorked, te.pricePerHour AS pricePerHour, te.salesPerson_id AS salesPerson_id FROM company_contracts te JOIN company_contract_managers t ON t.contract_id = te.id WHERE t.employee_id = ? AND te.completed = ?' Params: 1, true
11. SQL: 'SELECT COUNT(*) FROM company_contract_managers t WHERE t.employee_id = ?' Params: 1
10.  Params: 1
9. SQL: '"COMMIT"' Params:
8. SQL: 'INSERT INTO company_contract_managers (contract_id, employee_id) VALUES (?, ?)' Params: 2, 1
7. SQL: 'INSERT INTO company_contract_managers (contract_id, employee_id) VALUES (?, ?)' Params: 1, 1
6. SQL: 'INSERT INTO company_contracts (completed, salesPerson_id, hoursWorked, pricePerHour, discr) VALUES (?, ?, ?, ?, ?)' Params: false, NULL, 0, 0, 'flexible'
5. SQL: 'INSERT INTO company_contracts (completed, salesPerson_id, hoursWorked, pricePerHour, discr) VALUES (?, ?, ?, ?, ?)' Params: true, NULL, 0, 0, 'flexible'
4. SQL: 'INSERT INTO company_employees (id, salary, department, startDate) VALUES (?, ?, ?, ?)' Params: 1, 666, 'Marketing', NULL
3. SQL: 'INSERT INTO company_managers (id, title, car_id) VALUES (?, ?, ?)' Params: 1, 'Boss', NULL
2. SQL: 'INSERT INTO company_persons (name, spouse_id, discr) VALUES (?, ?, ?)' Params: 'Gandalf', NULL, 'manager'
1. SQL: '"START TRANSACTION"' Params:

@cvuorinen good improvement for the test suite, thanks!


RDKTV-1190: Logs from HdmiCecSink are flooding on Platco device

Reason for change: Logs from HdmiCecSink are flooding in wpeframework log,
So, enabling the hdmiCecSink logs dynamically as and when needed to debug the issues on box
Test Procedure: build and verify
Risks:Medium
Signed-off-by: Aishwariya B<EMAIL_ADDRESS>

Closing this outdated PR. Please submit this to the latest sprint branch if needed.


Editor Layout menu becomes empty after saving a layout on macOS

Tested versions

Reproducible in: 4.3.dev [9e65c5c0f4], 4.2.1.stable.official [b09f793f5], 4.2.stable.official [46dc27791]
Not reproducible in: 4.1.stable.official [970459615], 4.0.4.stable.official [fc0b241c9]

System information
Godot v4.2.1.stable - macOS 14.2.1 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
On macOS, the Editor Layout submenu becomes empty/unusable after you've saved a layout.
Steps to reproduce

Open a Godot project with the Godot Editor
From the main menu bar open Editor -> Editor Layout
Note: The submenu contains options Save Layout, Delete Layout, and a list of saved layouts
Click the Save Layout option to open the Save Layout popup
Note: The Save Layout popup dialog should open
In the Save Layout popup, enter a new name or choose a previous layout from the list (it doesn't matter)
In the Save Layout popup, click the Save button
Note: The Save Layout popup dialog should close
From the main menu bar open Editor -> Editor Layout (again)

-> The Editor Layout submenu is empty but it should not be. It should contain Save Layout, Delete Layout, and a list of saved layouts.
Minimal reproduction project (MRP)
Any project works. I used a completely empty one.

This issue seems to have reappeared in 4.2.2

No it hasn't been fixed in 4.2, it was fixed for 4.3 only


feature: Allow modify content(status_code&body&header) from upstream, can also support CORS, redirect

Summary
response rewrite plugin, can set Access-Control-Allow-* series field in header to support CORS(Cross-origin resource sharing) .
also we can set customized  body as output content.
Full changelog

README_CN.md
conf/config.yaml
doc/README.md
lua/apisix/plugins/response-rewrite.lua
t/admin/plugins.t
t/debug/debug-mode.t
t/plugin/response-rewrite.t

Issues resolved
Fix https://github.com/apache/incubator-apisix/issues/839
TODO
Can choose CORS headers from a dropdown list in the plugin config dashboard

@moonming I add test case  for delete header here, https://github.com/apache/incubator-apisix/pull/863/commits/bd902db8412d924b9fb0bd9ddb62c35cc4e9bbc4


[node-agent] Apply inline files before applying containerd registries

How to categorize this PR?

/area robustness
/kind bug
What this PR does / why we need it:
Currently, it is not possible to use containerd registries which are using TLS certificates signed by a custom CA. Containerd registries are applied before the files shipped by OperatingSystemConfig, so the reconciliation flow breaks before the CA bundle can be saved on the node.
With this PR inline files from OSC are applied before containerd registries.
Files which are copied from an image reference are still applied after the containerd registries, that the updated containerd config can be respected for the image pulls.
Which issue(s) this PR fixes:
Fixes #10810
Special notes for your reviewer:
/cc @ialidzhikov
Release note:

`gardener-node-agent` applies inline files before applying containerd registries now.

/assign


Connection configuration provider - without changes to drivers

This is a simplified PR to implement the same functionality as suggested in #3403, but with the following differences:

All changes were made in client.js only, so they apply to all built-in and external drivers without any changes required in them, improving extensibility and maintainability.
Provided connection configurations can include an expired() function, allowing configurations to expire after a while.

The expiration feature is useful, for example, for expiring Amazon RDS IAM access tokens after their lifespan of 15 minute is over, like so:

const connectionConfigProvider = () => {
    const { token, tokenExpiration } = await someCallToAwsToGetTheToken();
    return {
        host : 'your_host',
        user : 'your_database_user',
        password : token,
        database : 'myapp_test',
        expired: () => {
            return tokenExpiration <= Date.now();
        }
    };
}

I wrote the tests relying on sqlite3, hope this makes sense.
Please let me know if this direction seems right, then I'll add a documentation PR.

TypeScript definitions probably need to be updated.

TypeScript definitions probably need to be updated.

I checked this, looks like the whole "connection" object is "any". Not changing anything else in the API, so didn't find anything that needs to be changed.

@kibertoad Ok so the only open issue AFAIK is that I get a test failing on Oracle when Travis runs automatically. I can't reproduce this because when I try to run Oracle tests locally according to the instructions, I get an error.
 > DB='oracledb' mocha  --grep "Connection configuration" --exit -t 10000 test/index.js
Warning: Could not find any test files matching pattern: configuration"
sqlite does not support inserting default values. Set the `useNullAsDefault` flag to hide this warning. (see docs http://knexjs.org/#Builder-insert).
sqlite does not support inserting default values. Set the `useNullAsDefault` flag to hide this warning. (see docs http://knexjs.org/#Builder-insert).
sqlite does not support inserting default values. Set the `useNullAsDefault` flag to hide this warning. (see docs http://knexjs.org/#Builder-insert).
Knex: run
$ npm install oracledb --save
Cannot find module 'oracledb'
Error: Cannot find module 'oracledb'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Client_Oracledb._driver (/Users/oran/proj/knex/lib/dialects/oracledb/index.js:30:20)```

It is a flaky test, let me rerun it.

TypeScript definitions probably need to be updated.

I checked this, looks like the whole "connection" object is "any". Not changing anything else in the API, so didn't find anything that needs to be changed.

Actually, looking again at index.d.ts, I see there are ConnectionConfig interfaces defined for the various databases. Should I add an expiryChecker to each one?

Would be helpful, yes.

The test is still failing:
  1) Integration Tests
       oracle | oracledb
         knex.migrate
           knex.migrate.up
             should only run the next migration that has not yet run if other migrations have already run:
      AssertionError: expected [ Array(1) ] to have a length of 2 but got 1

I can't reproduce it since I'm not able to run Oracle tests, any suggestions?
P.S the TS definitions I added aren't complete, I need to add a modified connection definition too. Will add later today.

@oranoran It did pass after re-run, so as expected, flaky test, feel free to ignore.

@oranoran Could you also create a documentation PR?

@oranoran There is a conflict with types in master now.

Thanks a lot for all the effort put into this!

Thanks a lot for all the effort put into this!

Thanks for maintaining this awesome lib!

@oranoran Thanks for finalizing this 👍
@kibertoad when can you release it the changes?

@Ali-Dalal Released in 0.20.1


feat(Dropdown): open to side with most space left

When you have a dropdown at the bottom of your viewport, it opens below. That way the content of the dropdown is off screen. In Semantic-UI the dropdown opens to the side where there is the most space left, so in this case it opens to the top.
This would be a great UX improvement, since now users often have to scroll further down when opening a dropdown.

العرب حياة

👍

I've added a specific class for direction on my project :v and changed myself the position on the CSS for those specific cases, but would be nice to have a automatic solution like in the Semantic-ui original dropdown

Agreed. This issue is labeled for help wanted and PRs are welcome.

I also need this feature.
Was just looking at the code, but no idea where to fix this.
In semantic-ui this was a quite easy fix:
https://github.com/Semantic-Org/Semantic-UI/commit/04d65e7483d1ac935ea9bdbb44996a4d0b876857

With floating className='upward' it actually works already and looks quite ok.
Without 'floating' the round corners are only on the bottom which looks a little stange. They should be on the top.
With floating it's not really floating, but looks better as it has round corners all around.

This should go to the documentation for "className", also listing the ones that we can use (ex: icon, upward)

Semantic UI uses HTML classes to trigger functionality in their modules.  Semantic UI React provides a component API instead.  Our component API provides both the HTML classes and necessary React component logic.
Instead of adding the className to the docs, we need to add the prop upward to the Dropdown:
<Dropdown upward />

We should also auto-apply this className when there is not enough room for the menu on the screen, just as we do for the Popup.

@levithomason 100% agree with you.

Great, I'm halfway through a feature branch already for adding this prop :)  PR coming soon.
Initially, it will only be set manually.  It will take another PR to auto apply the className.  Would be great to have someone pick that up.

Let me know, I think I can help.

See https://github.com/Semantic-Org/Semantic-UI-React/pull/1603 for the new upward prop and 3 new doc examples.  I will merge this on CI pass.
If you'd like to add a PR that auto applies this when the menu bottom will be offscreen, that would be fantastic.  You can reference the Popup logic for one example implementation.

@cguedes the upward PR is merged, you're all clear for a PR to add the auto-applied logic for this.

Why not an orientation prop that can be up|down|left|right? Right now I can't use the Dropdown for a menu like this: https://cloud.githubusercontent.com/assets/486818/14989600/4d1e1a16-1161-11e6-94b9-860dc4d5d42d.jpg

This sounds great.  I would support a direction prop takes up, down, left, or right.  We have a stubbed example for this.  Note, it does not work ATM and asks for PRs!
https://react.semantic-ui.com/modules/dropdown#dropdown-example-menu-direction

Adding this style to the Dropdown folds it to the left
.leftDropdown {
  left: auto!important;
  right: 0!important;
}

<Dropdown className="leftDropdown" pointing={true}>
 <Dropdown.Menu>
   <Dropdown.Item>logout<Dropdown.Item>
 </Dropdown.Menu>
</Dropdown>

Note, there is already CSS support for this.  We only need to add the prop.  This was almost complete in this PR, but then abandoned:
https://github.com/Semantic-Org/Semantic-UI-React/pull/2174

I was wondering if there has been any update on implementing the auto upward feature?  My project just started using React and Semantic-UI-React and really like it.  The only issue we currently have is the one described here.  If a fix is not currently in the works or available, does anyone have a work-around for this issue that they would be willing to share so that we can get the dropdown to open upward automatically?
I have tried to work on a fix for this issue recently but have hit a wall with being able to determine the size of the dropdown menu.  I can easily determine the size of the input box, but whenever I try to determine the size of the menu it comes back as 0 for height and width.  If anyone has any tips on how I can detect the size using React that would also be appreciated.

@terafil auto direction Dropdown component is still not something that is available according to reading the history of this issue and anything referencing it. Since it is still tagged with "help wanted" anyone is welcome to take this task up and open a PR.

@mihai-dinculescu > Since it is still tagged with "help wanted" anyone is welcome to take this task up and open a PR.

OK, I'll have a look at it :)

Fixed in #720 by our newest member, @mihai-dinculescu.  Thanks much!


Add BOP (blue/orange/purple) colormaps

Description
Adds new BOP [blue, orange, purple] colormaps based on https://github.com/cleterrier/ChrisLUTs
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How has this been tested?

[ x] the test_colormaps.py

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

btw @zeroth could you follow the instructions in our contributing guide to set up your development environment to run Black and Flake8 locally before each commit?

@jni for some reason on windows 10 pre-commit is failing, I fixed it (just moved to WSL ;)  ).
Update the code with your suggestions.
@kevinyamauchi Cool, you liked it. Thanks for the tip updated the code please have a look.


Fix help text formatting

Minor reformatting of the --help output to keep the options lined up properly.

Check your email address in the commit please.

I think it's fixed now?


[share_plus] [UPDATE] shareFiles() with default apps or specific[limited] desktop app. Windows only

Description
Currently Support WINDOWS only, checking for macOS and Linux.

Added ShareWithApp param in shareFiles(), which can open file with its data as input to specific list of apps or default app .
It skips browser requirement to launch an app on desktop.
The supported apps in plugin is NOTEPAD, NOTEPAD++, EDGE, PHOTOSHOP, MSPAINT, CHROME or BY_DEFAULT_APP will  make file handle by system defaults app.

Select File, it will open by default app handler by Windows or specific app mentioned. It will skip browser need to open desktop app.

Related Issues
Before sharing file was not available for desktop apps in plugin and browser launch was required to launch some basic app.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[x] All existing and new tests are passing.
[x] I updated the version in pubspec.yaml and CHANGELOG.md.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

This looks very interesting indeed!
However, I am not in favor of adding a new method that only works on Windows.
Is there a chance that this could be implemented within the call to Share.shareFiles with an optional named parameter for Windows? (that defaults to "default app").
We have a rule in which we cannot accept features that only support one platform: https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md#-cannot-be-accepted
So we would encourage to either integrate this functionality in existing library methods (shareFiles) or to create this as an independent package not part of share_plus.

Hi @miquelbeltran , thanks for suggestion. I will move this to Share.shareFiles with optional parameter of type ShareWithAppWindows for Windows only.

Hi @miquelbeltran , code updated
feature moved to  shareFiles() , with param ShareWithApp appName; windows only

There are formatting errors still, can you check those?

There are formatting errors still, can you check those?
I have set my Code is formatted line length 150 using the dart format. That's why there is always a format issue with code formatting.
I also tried melos exec  flutter format . locally, still there are format issues with repo.

There are formatting errors still, can you check those?

solved

There are some tests failing as well, can you take a look at those? also, see if you can add new ones.

There are some tests failing as well, can you take a look at those? also, see if you can add new ones.

I tired to resolve multiple test failed for multiple packages. but it results in more tests error. Can you check this?

I don't think the PR about share_plus should make changes in other packages. According to logs from Github Actions tests which were failing before @miquelbeltran wrote a comment about it only failed for share_plus. Thus, would ask to fix only tests which were failing for the changed plugin.

The tests in share_plus_platform_interface are failing and should be fixed before merging.
Also, there's formatting issues affecting all packages, but that may be due to an upgrade in the Dart formatter. This can be seen here: https://github.com/fluttercommunity/plus_plugins/runs/5884414642?check_suite_focus=true
I am taking a look at the formatting issue directly on the main branch, yo don't need to fix those.

The tests in share_plus_platform_interface are failing and should be fixed before merging.
Also, there's formatting issues affecting all packages, but that may be due to an upgrade in the Dart formatter. This can be seen here: https://github.com/fluttercommunity/plus_plugins/runs/5884414642?check_suite_focus=true
I am taking a look at the formatting issue directly on the main branch, yo don't need to fix those.

@miquelbeltran share_plus test resolved. Please check for formatting . Thanks

Thanks, currently pending on https://github.com/fluttercommunity/plus_plugins/pull/832

If you implement the feature for shareFiles please also implement it for shareFilesWithResult.

We should also aim for no coverage regression here

@theshivamlko Do you still plan to update this PR and address all the feedback?

@theshivamlko Do you still plan to update this PR and address all the feedback?

Yes , I will update this week.

Hey! Due to changes in our contributor guidelines, all PRs should now:

Have a title that follows the Conventional Commits format. e.g. feat(package_name)!: feature description
DO NOT modify the CHANGELOG.md or the version in the pubspec.yaml. This is going to be an automated process now.

We would ask you kindly to update the PR following these changes.
Thanks!

We merged a share implementation for Windows already, so I understand that this PR is no longer necessary.
Thanks for your contribution @theshivamlko anyway, sorry we couldn't get this landed sooner.


NTR: four terms for clinical assays etc., motivated by LOINC

The PennTURBO team is creating axiomatic definitions for organismal assays. This is motivated by instantiating "lab results" in our electronic health records system, although most of the assays will be applicable to research on model organisms, too. From our weekly OBI developers discussions, it looks like the assays will be importable as an OBI module.
We're bootstrapping the process with a subset of LOINC, which describes the property that is being measured (like concentration), not the units per se. However, we would like our axioms to specify what measurement datum, as defined by the units, is expected as the output of each assay.
Here are four LOINC properties for which we haven't been able to find corresponding units in UO. Would you please add them to UO?
EDIT:
prefix : <http://purl.bioontology.org/ontology/LNC/>

BioPortal LOINC IRI
LOINC Abbrev.
LOINC Descr.
Example Assay Code
Example Assay Descr.
Relation to existing UO term?

:LP6773-8
ACnc
arbitrary units per volume
10334-1
Cancer Ag 125 [Units/volume] in Serum or Plasma
subclass of (or equivalent to?) 'unit per volume unit' obo:UO_0000177

:LP6787-8
ArVRat
aric volume rate; volume per unit time per unit
69405-9
Glomerular filtration rate/1.73 sq M.predicted [Volume Rate/Area] in   Serum, Plasma or Blood
subclass of 'volumetric flow rate unit' obo:UO_0000270

:LP70220-6
LsCnc
log substance concentration
9347-6
combined acid of Gastric fluid
subclass of 'unit of molarity' obo:UO_000006

:LP6836-3
NCnc
number per volume
30412-1
Abnormal lymphocytes [#/volume] in Blood
subclass of 'concentration unit' obo:UO_0000051

@leechuck If we make a PR for this, would you be open to merging it?
Alternatively, I'd be happy to be added as a contributor, and take care of these additions.

I gave you write access, please feel free to add the terms!

Much appreciated! I'll get to this in a few days.

feel free to re-open if this needs more attention


[Update 1.1.10] - updating release notes, changelog, package.json

Updating CHANGELOG.md, package.json and the release notes to reflect completed work items for version 1.1.10

Changelog:

Welcome:


member-ordering: Support index signature

PR checklist

[X] Addresses an existing issue: #2432
[X] New feature, bugfix, or enhancement

[X] Includes tests

[ ] Documentation update

Overview of change:
Support index signatures in member-ordering.
CHANGELOG.md entry:
[bugfix] Support index signatures in member-ordering.

Sorry, this was in error, fix is #2437


"You are using an unsupported version of pandoc (<IP_ADDRESS>)"

Not causing any obvious problems, but it probably is tech debt to address. In the CI log:
/home/runner/.local/lib/python3.10/site-packages/nbsphinx/__init__.py:1058: RuntimeWarning: You are using an unsupported version of pandoc (<IP_ADDRESS>).
Your version must be at least (2.14.2) but less than (4.0.0).
Refer to https://pandoc.org/installing.html.

nbconvert was testing against a higher pandoc version than was strictly necessary.

Fixed in https://github.com/jupyter/nbconvert/pull/2128/files
Released in https://github.com/jupyter/nbconvert/releases/tag/v7.16.3

I'll try rebuilding docs/requirements.txt and see if that does it.


SAM multi target

I saw that SAM was added yesterday and I figure it's still a work in progress. The multiple target auto rotation actually worked well for a bit and then it stopped and I can't activate it again no matter what I do (restart, switch in and out of job, ect.) Again, I know this is a work in progress, but I wasn't sure if the multi target one was supposed to work consistently.

I figured out what I did wrong. I use combo XIV as well and it won't trigger the autoroation even if the other tabs are skill that triggers it. So far single target and multi is working.


Implement slides for NEON

:wave:
This PR completes the implementation of slides for integer batches.
Fixes #636

Wouldn't that be more efficient through https://developer.arm.com/architectures/instruction-sets/intrinsics/#q=vextq_s8 ?

(And thanks for doing this, of course o/)

Wouldn't that be more efficient through https://developer.arm.com/architectures/instruction-sets/intrinsics/#q=vextq_s8 ?

vextq_s8 extract whole elements with 8-bit granularity; slide_* shifts with 1-bit granularity.

thanks!


pub package manager support for new project template

This issue was originally filed by<EMAIL_ADDRESS>
Per the discussion of the Dart package manager, I'm requesting an additional "pub" command to create a new project with a standard layout and files.
Use:
pub new awesome_app
This will create a folder named "awesome_app" with:

a package description/dependencies file (correctly configured, so if a package needs to declare its own version in addition to declaring its dependencies, this is already filled-in);
a packages directory;
an awesome_app.dart program, or whatever;
etc.

Extensions:
Maybe supports "client", "server", "both" sub-commands so that these project types can be autogenerated appropriately (including io or html or json libraries, etc).

This issue has been moved to dart-lang/pub#34.

git clone https://github.com/Zectbumo/dart-enchilada my_project


Problem: (fix #85) STATE-SYNC configuration is not updated

Solution: update STATE-SYNC configuration

/staging

/staging


Add blog entry explaining the solution for day 16

Thanks for the reviews! I applied all the comments :D

Thanks again for the reviews! I will go ahead and merge it now.


Update french translation

Update french locale file with better translations

Sorry @Stebalien, I don't speak French :(
I do think @josselinchevalay can help out reviewing this though!

Hello,
Yes i Can help on that let me know how tout do that
Regards
Le 12 déc. 2017 18:42, "ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ"<EMAIL_ADDRESS>a
écrit :

Sorry @Stebalien https://github.com/stebalien, I don't speak French :(
I do think @josselinchevalay https://github.com/josselinchevalay can
help out reviewing this though!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/webui/pull/610#issuecomment-351127888, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABqi9FOUUhJq0Eb_sq2nfibRpIfNTi_yks5s_rrogaJpZM4Q-5gY
.

Ok i see your commit , Nice good work :+1:
Le 12 déc. 2017 18:45, "josselin chevalay"<EMAIL_ADDRESS>a écrit :

Hello,
Yes i Can help on that let me know how tout do that
Regards
Le 12 déc. 2017 18:42, "ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ"<EMAIL_ADDRESS>a
écrit :

Sorry @Stebalien https://github.com/stebalien, I don't speak French :(
I do think @josselinchevalay https://github.com/josselinchevalay can
help out reviewing this though!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/webui/pull/610#issuecomment-351127888, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABqi9FOUUhJq0Eb_sq2nfibRpIfNTi_yks5s_rrogaJpZM4Q-5gY
.

@josselinchevalay, @cedrou,
Thanks!


Typo in Readme

Shift+Alt+,	Go to buffer end
should be
Shift+Alt+.	Go to buffer end

thanks for reporting. Fixed


Exceptionless logs delayed

Hi, for the last few days, the lag between our logs being submitted by clients and showing up in the exceptionless site started increasing rapidly. It is now more than 24 hours.
We use AWS Elasticsearch with Redis as cache. I dont know much about Exceptionless internals but any pointers towards debugging the source of the delay would be highly appreciated. Many Thanks.

I'd check to see the queue length in redis for the event posts job. I'd also create more event posts job instances.

Thanks @niemyjski I searched redis for the pattern q:EventPost:* and found around 17K keys matching.
Is there a better filter to monitor the queue length?

I installed the Redis Desktop manager and the Queue length is 24K now. Going through past issues, the solution is to run more event processing jobs. I searched for a setting and doc but wasnt able to find it.
Could you please point me in the direction on how to do this? Is it as simple as running the executable (in App Data/jobs folder) in command line.  Many thanks!

Exceptionless API status page screenshot

You can also call /api/v2/queue-stats https://github.com/exceptionless/Exceptionless/blob/master/src/Exceptionless.Web/Controllers/StatusController.cs#L63 as a global admin to view the stats as well. Did scaling up help?

Thanks @niemyjski I just asked the admin to give me superuser privileges to do that as I am getting a 403 while accessing the API endpoint.
For scaling up is it enough to copy paste more EventPost folders in the jobs folder? Could you please point me in the direction of a doc which tells how to increase the number of jobs processing the queue? Thanks in advance!

It depends on how you are hosting it. Anyway that increases the number of jobs running will work. We use kubernetes and scale the number of pods.

We self host it on a VM on IIS. The jobs are ran in process.  The exceptionless version is older (4.1). I checked the web.config and they dont have a setting of how many event jobs should run. It's just to control whether the jobs are run in process or not.
I'll dig further. Thank you

I'd recommend running the jobs out of process if possible as you can scale them. You could also just update the configuration of one out of process event post job and launch the process to catch up. Also upgrading to the latest versions will make massive differences. We cut our job instances down massively after moving to .Net Core.

Did this help? Please let us know and we'll reopen this issue.

Hi @niemyjski , unfortunately it didnt. We are deploying the latest version of Exceptionless to see if that helps

Can this issue be closed? Did updating to the latest version resolve your issues?

Hi Blake yes please close this issue. It didnt happen after we upgraded to latest version


Slider Design

Description
The Slider should support:
Keyboard navigation, Home, End, Left + Right Arrow
FormField support
Min, max values
Tooltip for thumb
Tasks
### Checklist
- [ ] Density (HD, MD, LD, TD)
- [ ] Mode (Light, Dark)
- [ ] Fill (Primary, Secondary, Tertiary)
- [ ] State (Default, Hover, Selected/Active, Disabled, Read-only, Other)
- [ ] Controlled API
- [ ] UITK accessibility parity (screen reader + keyboard interactions)

### Deliverables
- [ ] Characteristics spec
- [ ] Interactions spec, where necessary
- [ ] In Code & Figma (Component + Guide)
- [ ] Supporting site documentation

8 Dec - research done, wip.

11 Dec - priority changed.


Prompt to change the language from plaintext when user executes plaintext code cell

In a recent UX study, participants (data scientists with little familiarity with VS Code) sometimes ended up with code cells that were set to plaintext. They did not notice the language indicator on the cell and repeatedly tried to write python code in the cell, then try to execute the code.
Would it be possible to detect that the user is repeatedly trying to execute a cell that is set to plaintext and then prompt the user to choose a language? This was a frustrating experience for participants who had never used notebooks in VS Code before.

@claudiaregio sound familiar. I'll try to find the issue where we discuss this exact same issue.
@stevencl would you be able to share the recording via Teams.
We'd like to understand what the user did.
Are they using Native NOtebooks or the webview based notebooks?
Did they pick a kernel, is one auto selected?

I think one problem we had here is:

Should the user pick a kernel first
Or select the langauge first?
Or would they start writing code first in a few cells & then try to run...

Other scenarios include:

Opening an existting notebook (& language is set to Python)
THey then change the langauge in the cells to R or other
Then they start running a cell, now get errors
Problem, they didn't change the kernel.

In Jupyter, users first need to select a kernel when opening a notebook.
@claudiaregio I'm begining to think that user having to select a Kernel when running a cell would be a good thing, at that point they'd know that they want to use R kernel isntead of an autoselected Pytohn (or other) kernel.

@DonJayamanne This was similar to what we saw with an old bug - if you had a markdown cell and pressed +code you would end up with a plain text cell. Yes, I agree the user should be picking a kernel first, we originally wanted to go this route but the amount of time it took to return the list of kernels was a bit long from the customer perspective. Do we believe there is anyway for us to speed up finding the kernels to surface?
@stevencl Can you please provide access to the entire recordings with the Jupyter team? I believe users were ending up with a plain text cell as a bug and we should also be fixing the bug.

I think we can do something here, agreed need to see the videos.

@DonJayamanne Why was kernel issue label added to this one?

Validated. I believe this was solved by the code that switches cell languages based on the kernel selected.