Review other component libraries and style guides for coverage

What exactly should the enhancement be?
Review the following well-known style guides and component libraries:

https://getbootstrap.com/docs/4.0/components/forms/
https://material.io/components/cards/#specs
https://www.carbondesignsystem.com/components/notification/usage/
http://codeforamerica.clearleft.com/
https://www.patternfly.org/v4/design-guidelines/content/voice-and-tone
http://ux.mailchimp.com/patterns/tables
https://designsystem.digital.gov/components/button/
https://github.com/uswds/uswds-site
https://components.designsystem.digital.gov/
https://tailwindui.com/components
https://nostyle.herokuapp.com/components/autocomplete

...and cross-reference against the current finished-starter codebase, creating issues when the other systems have viable components or documentation that mesh with this project philosophically.
Why should this be an enhancement to this project rather than the userspace?
@todo remove this question from the template. This is a monorepo, so we're not going to put junk in the userspace.
What other projects have similar functionality or content? What makes these implementations cool?
That's literally what this ticket is about.
Who benefits from this enhancement?
Developers, end users, other ancillary folks who need components and good docs.
What documentation needs follow from this enhancement?
Whichever documentation is found to be good from those other projects. We might want to ensure credit is given in humans.txt
Is backwards-compatibility a concern?
Shouldn't be. Let's not write a lot of compatibility-breaking code.
Is additional test coverage required?
Eventually. That's a bad answer but I'm okay with it.
Are you willing to try and create the enhancement yourself as a contributor?
Yes, if nobody else jumps on it.

Noting here potential components per various design systems linked above. For any components that should clearly have a finished-starter equivalent, I'm making new issues and referencing this meta issue in the description

List (checkboxes):

[ ] Tables (assuming a need for it beyond markdown), perhaps for graphs
[ ] Chiclets
[ ] Modals with triggers
[ ] Toasts
[ ] Breadcrumb
[ ] Calendar control
[ ] Clipboard text
[ ] Chips/Tags
[ ] datetime input
[ ] Progress indicator
[ ] Range input
[ ] Carousel

Potentially useful example content:

[ ] Pricing comparison boxes

Potential collections to add to finished-starter or usage-specific kits:

[ ] Case study
[ ] Partner
[ ] Testimonial
[ ] Solution

@hillylew @Darthku8 @tomgeekery I made the lists, and a multi-select form input is already an open ticket. Which of the above should be their own tickets for 1.1.0 or later development (monthly minor release cadence)?


Vulnerable Cancer Patients Analysis and Prediction

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Vulnerable Cancer Patients Analysis and Prediction
:red_circle: Aim : The aim of this project to find out the cancer patients and predict them.
:red_circle: Dataset : https://www.kaggle.com/datasets/irinhoque/mental-health-insights-vulnerable-cancer-patients
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

hi abhisekh
Full name: Yuvika Singh
git hub profile link:https://github.com/Yuvika-14/Yuvikademo.git
approch: ensemble methods, gradient boosting, neural networks.
Take care of the missing data if there are any categorical values then will use one hot encoder or label encoder depending upon the issue.

One issue at a time @Yuvika-14

Hi
@abhisheks008
Name: Keshav Arora
GitHub: www.github.com/CoderOMaster
Approach:EDA,use of NLP wrt rnn and it's versions,BERT,etc

Issue assigned to you @CoderOMaster


Filename highlighting is causing scrambled text

I'm working on figuring out how to reproduce this consistently, but thought I would go ahead and get the issue started. All of the scrambled filenames are .less and .css files, which makes me think it has something to do with the atom-compile-less package, which compiles .less files into .css files automatically upon save.

Thanks for the report! This is a duplicate of https://github.com/atom/atom/issues/4924 – please subscribe there for updates.


Complete the assessment and documentation for the Astrorapid ZTF test

Michael to add a link to the documentation and then ticket can be closed

Michael to add a link to the documentation and then ticket can be closed

Here is the review from Jan 2020. RAPID has gone through upgrades since then, but the most recent version seems to be broken - the classifications are producing a mystery transient (see https://github.com/daniel-muthukrishna/astrorapid/issues/7).
RAPID_First_Impressions (1).pdf

Here is the review from Jan 2020. RAPID has gone through upgrades since then, but the most recent version seems to be broken - the classifications are producing a mystery transient (see https://github.com/daniel-muthukrishna/astrorapid/issues/7).
RAPID_First_Impressions (1).pdf


Wrong import assist

TS Template added by @mjbvz
TypeScript Version: 4.5.2
Search Terms

jsx
react

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Version: 1.62.3 (Universal)
OS Version: macOS 12.0.1

Steps to Reproduce:

Create TSX component which using HOC

Try to write component name inside tag, and autosuggestion was wrong

Thanks!
For TS Team: I believe this happens because ComponentAsync is a default export and the name is generated from the file name. You can test this by changing the filename to component-foo
However I don't understand why using the lowercase version produces an error in this case

JSX tags starting with a lowercase letter are assumed to be intrinsics (e.g. <div />). We need to change the autogenerated name for default exports when we’re in a JSX opening tag.


Built with Eleventy – tkackielodzkie.pl

If you get a second and have a twitter—another PR with a twitter username is appreciated!


fix bug: module:migrate-reset and module:migrate-rollback don't use t…

hi there,
i look carefully into the code and i found:

this problem only locates in  migrate-reset and migrate-rollback command
laravel itself provide db connection choose function
so i fix this bug by:
add a property(and a set method) in the Migrator class
use the connection in the table() function
set the connection in the two command's relate function
hope this will work!

This looks good, thanks! 👍
One small question, if no connection is specified, it will use ->connection(''), with an empty string as argument, will that use the default connection internally ?
Thanks,

it won't.
the  ? : expression will take the empty string '' as a no condition.
you can write a simple test:  php -r "echo '' ? 'yes' : 'no';", it will tell.

Sorry for late reply, thanks for the contribution! 👍

it's necessary to let u know that there is still a small "problem", sort of...
because when you use migrate-rollback or migrate-reset command, the --database option only affects the build process of the Migrator Class.
so u still have to specific the db connection in the migration files of your module to make it work.
Here are the related code in the Migrator.php
public function down($migration)
{
    $this->resolve($migration)->down();    //don't specific the connection
}

i don't know whether this is a "problem".
As far as i know, laravel migration class doesn't have the modify access method,
So in my opinion, it's better to write down this tip in the README.md 😄


LambdaBetterGrass requires any version of "quilt_resource_loader" & "quilt_block_extensions"

I tried matching the mod mc version and used a version of Quilt available when the mod was released on August 11.
(Idk what im doing pls help)
https://pastebin.com/8W0ZHzva

Hello. You'll need to delete Fabric API from your mod folder and replace it by QSL.


Fix "Developer Docs" navigation

Use .. for navigation links inside a collection that's in a subfolder

yay, it worked


Revert loop variable capturing fixes to fix hanging Test_Gossiping

Motivation

After fixing the issue with loop variable capturing, Test_Gossiping started to hang. It seems there's an issue either in Test_Gossiping implementation or in WaitForGossip. To make the test pass, I'm temporarily reverting the fix and will create an issue for fixing the loop variable capturing and hanging Test_Gossiping
Changes

Revert loop variable capturing fixes to fix hanging Test_Gossiping

Test Plan

Unit tests
TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge


Any chance to get a dual licensing?

Hi, I am a MSc student working on a thesis related to NTFS file recovery. I'm planning to write an open source software (GPLv3) in Python which will apply some data recovery techniques. When I found your project I was hoping to be able to add its functionality to my application, in order to focus on the subject of my thesis which is directory tree reconstruction from MFT entries in damaged drives.
However, I can't. That's because the Common Public License is not compatible with the GPL, so I would breach your license in case I used a part of analyzeMFT as a library for my GPL software. Is there any chance that you and the few contributors may consider licensing the code also under the GPL?
Thank you very much in advance, and don't worry if the answer is no. I'll understand.

I'd like to help you with this, but getting everyone to agree on it, retroactively and going forward, would be problematic.
Can I somehow grant you an exemption?

Thank you for the answer. I think even an exemption would require agreement from other contributors. Anyways, I was able to implement the parsing of the attributes I need for my purpose: $FILE_NAME, $STANDARD_INFORMATION and so on. Doing it myself was good because I learnt more about the structure of an MFT entry and it will consitute good material for writing the thesis.
Thank you for your time devoted to develop open source software.


Suggestion: Leave Server - Command

Something like: [prefix]leaveserver [serverid]
Found out, that it's somehow possible with JDA: jda.getGuildById(The ID after the command).leave();
Would be useful, if you don't have Permissions to kick the Bot.

This is possible by enabling the eval command in the config. Here are a few evaluations that may be helpful:
eval jda.guilds - prints the list of guilds the bot is connected to
eval jda.getGuildById("ID").leave().queue() - leaves the guild with the id ID


Code cleanup: email -> user_id

This series cuts us over to using user_id instead of email for our internal subscribers data structures, plus there's other miscellaneous cleanup.  One win here is we longer need to send email_dict over the wire (there was a shorter path to that than this series, but whatever, it was done in passing).

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Thanks for looking at this!
I'm not ready to merge any of it until I get the three cross-realm bots accounted for properly, which hopefully won't take too long.  And, yeah, the cross-realm stuff is a good warmup for thinking about deactivated users.
As to email_dict logic, I mostly just moved it from gather_subscriptions_helper to gather_subscriptions.  I was trying to remove it at one point, but there are still a lot of references to in tests, and it ultimately ties back to users/me/subscriptions, which is an interesting API, because I think we should eventually remove that API from the browser's perspective, but maybe not from the API itself, to your point.
Finally there's the matter of whether we continue to send user_email in peer_add events as a convenience for API users.  That for me is a toss-up.  I understand the convenience, but it also creates some ambiguity about which field is authoritative (I suppose both are equally authoritative, so maybe not a big deal) plus some extra bandwidth.
I think as we move to a user-id-centric world in our JS app, it might make sense to have the API work similarly, and just make it crystal clear how apps can pre-load a map of user ids to emails.  At least in a low-level API it could work like that, and we'd let other folks build convenience layers on top.  Take that with a grain of salt, though--it may also make sense to just accommodate both types of clients in their own optimal interfaces with some common code deep under the hood.

This is ready to merge, pending Travis.  I think most of your comments were reminders of what we should look out for in the future, but you had some reservations about removing email from the peer_add events, and I didn't change that yet.  (It's the last commit.)

I fixed one piece of missing whitespace in a test  and then merged, thanks @showell!
I'm pretty excited about the move towards using user/stream IDs for things; it's going to make a bunch of annoying classes of bugs go away.


Build project on github actions

Copied base structure from hyperium/hyper, and modified it to fit hyper-tls.
Included a format fix performed with cargo fmt, otherwise this workflow would not pass itself.

@seanmonstar , there's a mixed use of travis and github actions among the hyperium projects, i plucked most pf this yaml from hyperium/hyper.
It adds cargo fmt and clippy as well as tests generating docs.

Closed due to inactivity


Add input_device to StandardUpdater

Replaces #7324
Required in #7330

By the way, should ParallelUpdater follow this style too (not sure about MultiprocessParallelUpdater)?

Jenkins, test this please.

Jenkins CI test (for commit bf0c6a9f948d513b726a9b5dc2bd769712c7e516, target branch master) succeeded!

LGTM!


minor: improved documenation layout

LGTM

I nobody objects, I will merge this.

+1
Go ahead merging. Thanks for your work.


bottom of middle column gets cut off in mobile Safari

When viewing long pages on my iPhone and iPad, the bottom of the middle column is cut off when I scroll all the way to the bottom.

I think this is fixed by #25

This now sometimes happens for the left and right columns on my iPhone and iPad. Possibly related to some webkit bug? I'll keep investigating. https://stackoverflow.com/questions/29531718/website-often-refuses-to-scroll-on-iphone-safari


Add column to an existing struct

Assume an existing table with a single row:
create table test ( name struct(firstname varchar, lastname varchar)); insert into test values ( {lastname:'Jansen', firstname:'Erik'});
Now we want to add a column to the name struct with 'alter table ...'.
It either seems not possible to do this or the documentation is lacking how this can be done?
alter table test alter column name set data type struct(firstname varchar, lastname varchar, gender varchar);
Is this supported in duckdb as we rely heavily on structs and sometimes we need to add a column to a struct.

Sorry, wrong repo/subject.


Tutorial file issues

Hey, there is an issue with the turotial files at https://s3.amazonaws.com/gemini-‐tutorials/dominant.ped and https://s3.amazonaws.com/gemini-‐tutorials/trio.trim.vep.vcf.gz
Thanks

Hi @sormond,
Sorry for the problem-- those URLs look like they got mangled during cut and pasting to me, not sure if is that way in the tutorial or just on the issue. At any rate:
https://s3.amazonaws.com/gemini-tutorials/dominant.ped
https://s3.amazonaws.com/gemini-tutorials/trio.trim.vep.vcf.gz
seem to work fine.
Thanks!

Hi roryk,
Sorry, it seems that they were on copy and pasting, just added an extra '-' which I didn't notice. Sorry about that!
Thanks


read only form with no data value for text field displays 'undefined'

I was exploring how to make a form read-only, and stumbled across issue #97, which I promptly implemented.  However, when a text field does not have any data assigned to it, it gets the string value "undefined" assigned.  I tracked it down to the service layer's initializeControl(), where values are transferred into the form field:
ctx.controlValue = ctx.layoutNode.value;

I changed it to test the value, and assign null instead
ctx.controlValue = ctx.layoutNode.value ? ctx.layoutNode.value : null;

But then I wondered if this was the best approach.  Instead of assigning null, maybe empty string?  Or should this instead be a globalConfig option?

Was getting ready to submit a pull request against, this but it seems to be gone now in the latest version.


ARROW-15641: [C++][Python] UDF Aggregate Function Implementation

Initial Draft of Aggregate UDFs for Python

[x] Improve the existing logic with more tests
[ ] Find out a missing aggregate function and try to apply it with the current API (check if the applied theory sustains)
[x] Using a custom object for state holding rather than Arrow data structures
[x] Improvement function docs and comments
[ ] Adding binary and other arity tests
[x] Self-review 1
[ ] Self-review 2

cc @westonpace appreciate an initial review on the draft PR.


Error: spawn EACCES

I have followed the steps mentioned in the Readme
I am stuck in this error
Function Logs:
START RequestId: 90483eef-df2f-11e7-bbc7-6516e6da6e83 Version: $LATEST
2017-12-12T11:28:24.249Z	90483eef-df2f-11e7-bbc7-6516e6da6e83	Listing more keys: null
2017-12-12T11:28:24.382Z	90483eef-df2f-11e7-bbc7-6516e6da6e83	Processing<PHONE_NUMBER>5634280.png
2017-12-12T11:28:24.474Z	90483eef-df2f-11e7-bbc7-6516e6da6e83	in process
2017-12-12T11:28:24.494Z	90483eef-df2f-11e7-bbc7-6516e6da6e83	Error: spawn EACCES
at exports._errnoException (util.js:870:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at exports.spawn (child_process.js:362:9)
at exports.execFile (child_process.js:151:15)
at ExecBuffer. (/var/task/node_modules/exec-buffer/index.js:91:3)
at FSReqWrap.oncomplete (fs.js:82:15)
Any suggestions?

It looks like you don't have permission to run some files, Try by typing next command on the root path of your project:
chmod -R u+x .
If it is fixed now you must find which files had the incorrect permissions. Type next command if you want to undo changes to find those problematic files:
git checkout -- .


QOL - Clear glass and Illumination suggestions

Describe the feature you'd like to have added
I would love if you included clear glass with connected texture and illuminated versions with glowstone.
They could be made in the stonecutter or a special recipe like cook the glass again in a furnace.
This is just so I do not have to add mods just for this.
I also hope you can look into a feral flare lantern version of lighting. Feed it glowstone dust and it lights up a huge area :)
The block itself could look like a energy transmitter but glowing yellow instead of red.
Additional information
No response

I'd rather not add these, as plenty of other mods add similar things :).  Thank you for the suggestion though!


Webview Invoke Support

Currently the invoke callback support is defined at the API level, and the FFI level. Unfortunately plubming in between isn't properly tied together.
Seen as the C callback is going to have to be global we will need some kind of static Action registry to keep track of the current managed callback delegates. When creating the webview if a callback is passed to our managed wrapper a new entry should be added into a global 'callbacks' dictionary and then some protected global function should be passed into the FFI parameter. When this global function recieves a callback it will have to check the list of registered windows and dispatch to the appropirate one. We might want to consider optimising for the common case of there only being a single webview here and use some kind of memoisation.

This turns out to be a lot simpler than I first imagined. Delegate isntances can be passed accross FFI boundaries with PInvoke! Just a matter of keeping it pinned while we use it.


How to hide the linter output at bottom of editor tab?

Having trouble figuring out how to hide the list of hints/warnings/etc.
Thanks!

There's an option for it in the linter plugin.

Thanks!  "The more I know" :)


Correction for raw affiliation Laboratory of Biology and Modelling of the Cell (LBMC), ENS de Lyon, Univ Lyon, CNRS UMR 5239, INSERM U1210, 46 allée d’Italie, 69364 Lyon, France

Correction needed for raw affiliation Laboratory of Biology and Modelling of the Cell (LBMC), ENS de Lyon, Univ Lyon, CNRS UMR 5239, INSERM U1210, 46 allée d’Italie, 69364 Lyon, France
raw_affiliation_name: Laboratory of Biology and Modelling of the Cell (LBMC), ENS de Lyon, Univ Lyon, CNRS UMR 5239, INSERM U1210, 46 allée d’Italie, 69364 Lyon, France
new_rors: 029brtt94;04zmssz18;02feahw73;02vjkv261;01bj4fd12
previous_rors: 029brtt94;04zmssz18;02feahw73;02vjkv261
works_examples: W3016903778
contact: 9f33c7e8d6e150f176faacf8d736282d:146db48581a689a17ea85fdcb37f @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


WSL2 - Temporary failure in name resolution

Hi,
I have installed WSL2 and Ubuntu 20.04 on Windows 10 (1909 - OS Build 18363.1379) and having issues with DNS. I tried the ping command ping google.com and got an error ping: google.com: Temporary failure in name resolution.
I did try few things but no luck

Updated Windows Subsystem for Linux Update - 5.4.91
Configured wsl.conf & resolv.conf as below and restarted with wsl --shutdown :

administrator@TEMPPC:/etc$ cat wsl.conf
[network]
generateResolvConf = false

administrator@TEMPPC:/etc$ cat resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

ping to nameserver works fine

administrator@TEMPPC:/etc$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=115 time=39.9 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=115 time=21.5 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=115 time=20.7 ms
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 19.394/24.707/39.909/7.651 ms

administrator@TEMPPC:/etc$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=57 time=40.9 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=57 time=29.1 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=57 time=24.1 ms
--- <IP_ADDRESS> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 16.177/27.574/40.872/8.958 ms

I have Symantec Endpoint Security and Cisco AnyConnect for VPN, I tried to connect/disconnect from VPN and that did not make any difference to dns resolution.
Finally i tried to set Ubunto distro version WSL 1 and that works fine so not sure why WSL 2 fails.
Any suggestion will be appreciated.

Landing zone for Anyconnect /dupe #4277 (plus #5068 etc).

Same problem, one day suddenly DNS inside wsl2 stopped working, but pings to ips work fine

Same problem, one day suddenly DNS inside wsl2 stopped working, but pings to ips work fine

Look at https://superuser.com/questions/1533291/how-do-i-change-the-dns-settings-for-wsl2 for a workaround.


implement new snapshot/create operation in mock

Allow anyone to specify relations between dreps and delegators for vitup mock. Snapshot can be used for raw_snapshot endpoint.
Example:
first we need to create new snapshot:
curl --location --request POST 'https://<IP_ADDRESS>:8080/api/control/command/snapshot/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tag": "latest",
    "content": [
        {
            "rep_name": "alice",
            "ada": 1000
        },
        {
            "rep_name": "clarice",
            "ada": 1000
        },
        {
            "name": "bob",
            "registration": {
                "target": [
                    ["alice",1]
                ],
                "slotno": 0
            },
            "ada": 1000
        },
         {
            "name": "david",
            "registration": {
                "target": [
                    ["clarice",1]
                ],
                "slotno": 0
            },
            "ada": 1000
        }
    ]

}'

Then we put new snapshot to vit-ss:
curl --location --request PUT 'https://<IP_ADDRESS>:8080/api/v0/admin/snapshot/raw_snapshot/latest' \
--header 'Content-Type: application/json' \
--data-raw '{
        "snapshot": [
            {
                "stake_public_key": "2d7a3af7f636380aa806ffcc2731acf30fd04c6003c58e5969cc21ddc1c14dd2",
                "voting_power": 1000,
                "reward_address": "e16b23a15c3dc400a4156779407ea0bc961ef2c6caeb8bc8fd231fff20",
                "delegations": [
                    [
                        "0x02141e28eb3891c0cfd1f773f6d9c37c4b176cd15ed20bb93c1dcf82ff7e2b9d",
                        1
                    ]
                ],
                "voting_purpose": 0
            },
            {
                "stake_public_key": "8874d4ed73dc62d3b0e6d352fec6e4708b5bebf6978c59c84308bdc971d5bce9",
                "voting_power": 1000,
                "reward_address": "e1f43c5e1f42f23ce98f54d096e17840076f31993dd7c0d6e1d8ff0afe",
                "delegations": [
                    [
                        "0x42fbe5926288dd0d44d86d4a00d6027087c435831bfffb50e5ff7aab951ebc8a",
                        1
                    ]
                ],
                "voting_purpose": 0
            }
        ],
        "update_timestamp": "2022-12-21T12:25:18Z",
        "min_stake_threshold": 500,
        "voting_power_cap": "1/2",
        "direct_voters_group": "direct",
        "representatives_group": "rep"
    }'

This PR address first request allowing tester do freely defines reps/direct voters setup for snapshot

@dkijania
Shouldn't we update/add documentation with examples that you mentioned in the PR description?

@minikin I noticed that mock doesn't have any api docs at all. So i created a new PR:
https://github.com/input-output-hk/catalyst-core/pull/197
which should address it. This PR will be dependent on above.


Forseti website contains broken urls

The search functionality is giving some bad urls in search reults.
Steps to reproduce:

Navigate to https://forsetisecurity.org/
Search for "gsuite"
The first url will give you a 404.

The versioning is also broken.
Click "v2.0" from the drop down will result in 404.

Resolved in #1798


asUnderlyingZclType returns uint8_t for any type under zcl_struct_items

If I try to use asUnderlyingZclType type under zcl_struct_items
it prints TYPE WARNING: array array defaults to uint8_t, which looks not right.

Does {{as_underlying_zcl_type type array="uint8_t *"}} work for you? You can overwrite an array type like this.

it does not work. using  {{as_underlying_zcl_type type array="uint8_t *"}}, it would print something  * TYPE WARNING: INT32U array defaults to / uint8_t * or / TYPE WARNING: INT8U array defaults to */ .....and looks like cannot overwrite..

@yunhanw-google,  https://github.com/project-chip/zap/pull/476 PR should fix this issue. I can update you once it has been merged.

Closing this since it has been resolved now.


Unable to use vectors in initialization list of other vectors

Using float2 vars in initialization list for float3 and float4 fails to compile. Using float3 in initialization list for float4 fails to compile.
Error msg:
shader.hlsl(14): error 30019: expected an expression of type 'float', got 'vector<float,2>'
    float3 h0 = {v2, 1};
                 ^~
shader.hlsl(15): error 30019: expected an expression of type 'float', got 'vector<float,2>'
    float3 i0 = {1, float2(0, 1)};
                          ^
shader.hlsl(23): error 30019: expected an expression of type 'float', got 'vector<float,2>'
    float4 r0 = {input.foo[0], input.bar[1].yz};
                          ^
shader.hlsl(24): error 30019: expected an expression of type 'float', got 'vector<float,2>'
    float4 r1 = {v2, v2};
                 ^~
shader.hlsl(25): error 30019: expected an expression of type 'float', got 'vector<float,2>'
    float4 r2 = {v2, 0, 1};
                 ^~
shader.hlsl(26): error 30019: expected an expression of type 'float', got 'vector<float,3>'
    float4 r3 = {h0, 1};
                 ^~
shader.hlsl(27): error 30019: expected an expression of type 'float', got 'vector<float,3>'
    float4 r4 = {0, float3(g0.x, h0.x, i0.x)};

Was expecting that whatever I can pass into a vector's constructor, I should be able to pass into an initialization list.
CMD
slangc.exe -target spirv -lang slang -D__spirv__ -emit-spirv-directly -profile ps_6_0 -entry main shader.hlsl

Shader
struct PSInput
{
    float2 foo[4] : A;
    float3 bar[2] : B;
};

float4 main(PSInput input) : SV_TARGET
{
    float2 v2  = input.foo[0];

    float3 g0 = float3(v2, 1);
    float3 h0 = {v2, 1};
    float3 i0 = {1, float2(0, 1)};

    float4 s0 = float4(input.foo[0], input.bar[1].yz);
    float4 s1 = float4(v2, v2);
    float4 s2 = float4(v2, 0, 1);
    float4 s3 = float4(h0, 1);
    float4 s4 = float4(0, float3(g0.x, h0.x, i0.x));

    float4 r0 = {input.foo[0], input.bar[1].yz};
    float4 r1 = {v2, v2};
    float4 r2 = {v2, 0, 1};
    float4 r3 = {h0, 1};
    float4 r4 = {0, float3(g0.x, h0.x, i0.x)};

    return s0 + s1 + s2 + s3 + s4 +
           r0 + r1 + r2 + r3 + r4;
}

Note: Likely should be a special intrinsic to mix and match making vectors from a list of vectors to avoid creating a few dozen __init() expressions for struct vector

It appears that this is a duplicate issue to #4461.
I am closing this as a duplicate and it will be followed up by #4461.
All lines in the given shader works except ones that uses the list-initializer.
The following two lines are supposed to call the same constructor but the second one fails to call the constructor,
    float3 g0 = float3(v2, 1); // WORKS
    float3 h0 = {v2, 1}; // FAILS

The error message is following,
a.slang(12): error 30019: expected an expression of type 'float', got 'vector<float,2>'
    float3 h0 = {v2, 1};
                 ^~

It looks like that the list-initializer is trying to assign the values to the member variables directly rather than calling the constructor.

It looks like that the list-initializer is trying to assign the values to the member variables directly rather than calling the constructor.

This is correct, list-initializer in Slang do not call a constructor:

if {}, they set all member variables to their respective initExpr, all other variables are zeroed (does not always zero values)
if non empty initializer list, the initializer list tries to map values 1:1 with member variables for initialization.

I think this is actually a bug in _readAggregateValueFromInitializerList.
Specifically the else if (auto toVecType = as<VectorExpressionType>(toType)) part of code which should allow vector initialization.

It looks like that the list-initializer is trying to assign the values to the member variables directly rather than calling the constructor.

This is a correct analysis on how initializer-lists in Slang work, they (unlike C++) do not call a constructor:

@ArielG-NV , can you see if the user guide has a correct example?
https://shader-slang.com/slang/user-guide/convenience-features.html#initializers
Particularly for the following example code,
MyType instance = {1, 2};

The document says the list-initializer will call the constructor, isn't it?

The document says the list-initializer will call the constructor, isn't it?

The documentation is wrong since initializer list does not follow how C++ works.
From what I understand though, this is an implementation error which was kept.

@ArielG-NV , can you see if the user guide has a correct example?
https://shader-slang.com/slang/user-guide/convenience-features.html#initializers
Particularly for the following example code,

The example is wrong, I checked just now.

As per code comments and the documentation, initializer lists should work like C++, but instead, they do not have a way of calling constructors


Update quick-cluster-create-terraform.md

sameas other. Should be Windows

@TomArcherMsft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Multi-cell selection bug?

Hi,
We're trying to determine if a particular behavior in jexcel is somehow unique to our setup, or if it's a known bug.
When moving quickly between different cells - clicking, not arrowing - instead of selecting just the last cell you clicked, it sometimes arbitrarily selects 3 or 4 cells in a vertical column where the cell you last clicked is usually either at the top or bottom of that column of selected cells.
Is this a known issue? And if it is, is there a fix or workaround?
We experienced this in version 4.3.2, and still after we upgraded to version 4.6.0.
Thanks for your help.

It is probably because JSS is trying to bring the cell to the viewport and moving your new cell to the cursor, and since your click is down, it is creating this behavior.

Hi hodeware,
Thank you for getting back to me.
Is this a bug? or is it something we can somehow avoid? I suspect that "clicking more slowly" might help, but it's tough to tell the users to slow down when that could negatively impact their productivity.
Any suggestions on how we can remedy this would be much appreciated.
Thank you!

Not exact a bug, but more a limitation of the viewport and events in place. Did you have a chance to try version 9 the viewport is much better and you can handle much more data without hiccups.


V3 - Hangs when Extracting ArcGIS Server

Hi guys,
Had the V2 version working perfectly. Since the upgrade to V3, the installer hangs when extracting ArcGIS Server. I have uninstalled the 2.1.1 module and installed the 3.0.0 successfully. I also have 7Zip 64 bit installed. Again, this used to work with V2.
I've created an example below to illustrate the issue.

Is there a workaround that I can use?
Cheers,
Jose

@dimesv
Is there a pending reboot? Try stopping the DSC configuration (Stop-DscConfiguration) and reboot the machine then run again.

Hi @cameronkroeker,
I've that multiple times, made sure that the DSC LCM was not busy and the same issue happened every time.

@dimesv
Are you able to manually extract it silently, using the following command?
"C:\ArcGISInstall\Media\Server.exe" /s /d C:\Windows\TEMP\458BF5FF-2DF8-426B-AEBC-BE4C47DB6B54
Also, perhaps try without passing the -Credential "Eagle\JVS" parameter.

Hi @cameronkroeker ,
There are no pending operations and the LCM is clean as you can see from the picture below.

Yes. Your command works fine from command prompt but not from PowerShell. I assume this is to be run from command prompt.

It does the same without the credential.

@dimesv
Any luck if you change the name of the setup archive (Server.exe) back to the original name (the one that was downloaded from My Esri):
ArcGIS_Server_Windows_108_172859.exe

Hi @cameronkroeker ,
Same result. See picture below.

If I remove the Credential it actually says Access Denied.

Thanks @dimesv for confirming and providing the additional details. This is strange indeed.
In Windows Task Manager do you see a process like below?

Perhaps the issue is related to permissions on the C:\Windows\Temp dir. I notice that you were able to manually extract it using a standard command prompt (not as admin), but without the -credential parameter gives an access denied error.
Perhaps check the permissions on C:\Windows\Temp dir for both SYSTEM and Eagle\JVS.

Hi @cameronkroeker ,
I've given read and write access permissions to the media and temp folders to Everyone.
The process you mention above never comes up.
I see a lot of WMI Provider Host processes but that is all. When the Extract Installer line is logged, I noticed that the LCM process stays Busy indefinitely. I can stop the DSC Configuration using the Remove-DscConfigurationDocument cmdled only after killing all the WMI Provider Host processes.
I've rebooted the machine multiple times. This my own Windows 10 laptop and I am the administrator of this machine.

Hi @cameronkroeker ,
Found the issue. Few details below.

The Access Denied is simply because I was not running PowerShell in an elevated mode i.e. as an Administrator. This has nothing to do with the underlying issue.

The issue is that version 3.0.0 has a new way of extracting the media *.exe files. Rather than using 7Zip it uses a different technique "C:\ArcGISInstall\Media\Server.exe" /s /d C:\Windows\TEMP\458BF5FF-2DF8-426B-AEBC-BE4C47DB6B54" as you hinted above.

This line is executed using the Start-Process cmdlet as follows:
Start-Process -FilePath $Path -ArgumentList "/s /d $TempFolder" -Wait
This does not work for me, because it causes PS to prompt me for authorization. Since this is running behind the scenes as a process, the prompt never comes through.
If I change the line slightly as follows it runs perfectly:
Start-Process -FilePath $Path -ArgumentList "/s /d $TempFolder" -Wait -Verb RunAs
This is line 115 located here (unless I changed the indentation slighlty):
C:\Program Files\WindowsPowerShell\Modules\ArcGIS\3.0.0\DSCResources\ArcGIS_Install\ArcGIS_Install.psm1
Questions:

Is the additional verb RunAs a proper fix, and if so, can it be included in your build? I wasn't thinking of issuing a pull request. If it is not a proper fix, can you suggest an alternative way to resolve this?
Is 7Zip required for 3.0.0 or can I uninstall it from my computer completely?

@dimesv

The correct way to do this is explicitly passing down a Credential object while running Invoke-ArcGISConfiguration. Since we pass down this credential all the way down to Start-Process command in both install resources you shouldn't be prompted for a password.
7Zip dependency has been completely removed starting v3.

Hi @shailesh91 ,
Thanks for your reply. As I mentioned before, I've tried passing a Credential object using an Administrator account and it doesn't work.
See the picture from my first post. I have passed -Credential "Eagle\JVS"
What do you think is missing?

Hello @dimesv
Let's try launching a PowerShell cmdlet and running the following command:
Start-Process powershell -Verb runAs
This should launch a new PowerShell Window with elevated privileges (as Admin). Then in this new window pass in the Administrator account within -Credential parameter. When executed it should prompt for your password prior to executing the Invoke-ArcGISConfiguration.

Hi @cameronkroeker ,
That is not the issue but happy to try your way. This will only open PS in an elevated mode.

Hi @cameronkroeker ,
As you can see below, the PS is running in elevated mode. I've set the -Credential object which prompted me for my password and the script still hang as per my first post.

If you look to my original post, I was already running Invoke-ArcGISConfiguration from within an elevated window (as Admin). The issue is that the elevated mode does not propagate to the Start-Process as this seems to be running as a separate process. Setting the Credential does not work as a replacement of an elevated session. So what I mean here, is that while Invoke-ArcGISConfiguration was run within an elevated session, and the credential object was set to an Administrator account, this is not flowing to the Start-Process in files ArcGIS-Install.psm1 and ArcGIS-WebAdaptorInstall.psm1. Perhaps the Credential is flowing but the elevated session is not for sure.

And this is what happens when you try to extract the *.exe file without being in an elevated PS window.

Hi @cameronkroeker ,
Found the issue:
https://social.technet.microsoft.com/Forums/en-US/92eab96d-fe1a-4119-a5bc-f171d517466a/getting-quotopen-file-security-warningquot-using-startprocess
Line 115
File: C:\Program Files\WindowsPowerShell\Modules\ArcGIS\3.0.0\DSCResources\ArcGIS_Install\ArcGIS_Install.psm1 Rather than: Start-Process -FilePath $Path -ArgumentList "/s /d $TempFolder" -Wait
Should be: Start-Process -FilePath $Path -ArgumentList "/s /d $TempFolder" -Wait -NoNewWindow
Line 118
File: C:\Program Files\WindowsPowerShell\Modules\ArcGIS\3.0.0\DSCResources\ArcGIS_WebAdaptorInstall\ArcGIS_WebAdaptorInstall.psm1
Rather than: Start-Process -FilePath $Path -ArgumentList "/s /d $TempFolder" -Wait
Should be: Start-Process -FilePath $Path -ArgumentList "/s /d $TempFolder" -Wait -NoNewWindow
With this in place everything runs perfectly.
In fact, I can even run the line below in a standard PS window and it still extracts the file silently without prompting whether I want to run it.
Start-Process -FilePath C:\ArcGISInstall\Media\Server.exe -ArgumentList "/s /d C:\Windows\Temp\458BF5FF-2DF8-426B-AEBC-BE4C47DB6B54" -Wait -NoNewWindow

See MS documentation here:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process?view=powershell-7
-NoNewWindow
Start the new process in the current console window. By default PowerShell opens a new window.

Hello @dimesv
Thanks for the additional details. This is indeed odd as we are not able to reproduce this behavior you are seeing. Perhaps it could be related to different Execution Policies.
Could you share your Execution Policy by running the following command:
Get-ExecutionPolicy -List

Hi @cameronkroeker ,
See the picture below.

Thanks @dimesv for sharing the Execution Policy.
I also set the same Execution Policy and do not run into this issue. There must be a security policy or something else different causing this behavior. I still don't quite understand why in some environments  -NoNewWindow is needed but not in others.

Hi @cameronkroeker ,
Same here. Perhaps the OS version and updates will affect the behavior as well. I'm running Windows 10 Pro with all the latest updates. I've turned off the anti-virus and the firewall. Still the same outcome.

@dimesv May I ask which build of Windows 10?

@cameronkroeker
Edition: Windows 10 Pro
Version: 1909
OS Build: 18363.657

@cameronkroeker
Edition: Windows 10 Pro
Version: 1909
OS Build: 18363.657

Thanks @dimesv . I was not able to reproduce this on Windows 10 Pro, Version 1909, OS Build 18363.476. I suspect its more or less related to possibly a group or security policy. Does this happen on all your deployments? We also typically recommend using Windows Server 2016 or 2019 for ArcGIS Enterprise especially for production environments.

Hi @cameronkroeker, this is a laptop I use for demos/proof of concepts/testings (Esri NZ), since an internet connection is not always available. This has always run well including with the previous version of this module and under the same policies within our organisation.

Hi,
not sure if this relates to this issue described by @dimesv, but I'm trying to run "Invoke-ArcGISConfiguration" on Windows Server 2019 datacenter (10.0.17763 Build 17763) and it's also stucked on phase with message "Importing the module MSFT_UserResource in force mode" - for ever ...

Hi,
not sure if this relates to this issue described by @dimesv, but I'm trying to run "Invoke-ArcGISConfiguration" on Windows Server 2019 datacenter (10.0.17763 Build 17763) and it's also stucked on phase with message "Importing the module MSFT_UserResource in force mode" - for ever ...
Update:
Running exactly the same cnfiguration (.json) on a Windows 10 Pro (10.0.18363) laptop this however works?!? So, seems that the DSC routines are not compatible with Windows Server 2019?

Hello @sodtom
We haven't reproduced this issue on either Windows 10 or Windows Server 2019. My guess is perhaps it must be related to different local or group policies, or maybe even Windows Updates.
We will, however be adding the -NoNewWindow flag to the module in a later release.

Hi,
not sure if this relates to this issue described by @dimesv, but I'm trying to run "Invoke-ArcGISConfiguration" on Windows Server 2019 datacenter (10.0.17763 Build 17763) and it's also stucked on phase with message "Importing the module MSFT_UserResource in force mode" - for ever ...
Update:
Running exactly the same cnfiguration (.json) on a Windows 10 Pro (10.0.18363) laptop this however works?!? So, seems that the DSC routines are not compatible with Windows Server 2019?

Hello @sodtom
We haven't reproduced this issue on either Windows 10 or Windows Server 2019. My guess is perhaps it must be related to different local or group policies, or maybe even Windows Updates.
We will, however be adding the -NoNewWindow flag to the module in a later release.

Hi @cameronkroeker,
Thanks, makes sense! I shall check those and figure out why it doesn't work and stops witht any error. Windows Server machine is however in Azure, while the W10 is my local laptop.

@dimesv we have added the -NoNewWindow parameter to the following two resources in v3.0.1:
https://github.com/Esri/arcgis-powershell-dsc/blob/f6a35a8355c799210848bc8205a20b4fdf0a7e36/Modules/ArcGIS/DSCResources/ArcGIS_Install/ArcGIS_Install.psm1#L115
and
https://github.com/Esri/arcgis-powershell-dsc/blob/master/Modules/ArcGIS/DSCResources/ArcGIS_WebAdaptorInstall/ArcGIS_WebAdaptorInstall.psm1#L118


server$ fixes, and improvements

What is it?

[x] Feature / enhancement
[x] Bug
[x] Docs / tests / types / typos

Description
This PR improves cancellation when using server$ async generator.

Simplify the streaming code, and use a simple newline delimited result with qwik-json-stream content type.
Fix a bug that could lead to ERR_STREAM_DESTROYED.
Add proper async generator cleanup. Now, whenever the client breaks out from an async generator for-loop (or otherwise call return() on the generator), the connection will be closed.
Updates server$ documentation (fixes #4268)

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

There we go! I will try to add some warning and new tests later!

great job @DanielAdolfsson ! thanks for this PR! 🙏

@DanielAdolfsson it seems the issue is still not fixed. It's indeed doesn't crash with ERR_STREAM_DESTROYED but it crashes with
 node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

In the same circumstances where it crashed before. I tried to debug and find a root of this promise, but had no luck.
The issue is happend when server receives few concurrent requests  (i able to reproduce it hitting f5 quickly)
The promise is rejected with 'undefined' object.


About new project MachinaTrader

You noticed at README.md:
See the new project at:
https://github.com/MachinaCore/MachinaTrader
But this link seen not working?
Any suggestion?
Thanks./

Sr, duplicate https://github.com/sthewissen/Mynt/issues/80


Graph explore feature

Similar to https://docs.aws.amazon.com/neptune/latest/userguide/visualization-graph-explorer.html

:+1: from me. For me, the main feature currently not implemented in kuzudb/explorer is to click on a node and have the option to show all other incoming/outgoing edges+nodes to/from that node. That makes exploring your data so much more fun!
Thanks for the amazing project btw

#86 has added feature to expand a node on double click in the shell view, which partially address this issue.

I tested this feature and it does what is expected. Curious to know what else you think is lacking, and I can test some more.

@prrao87  https://docs.aws.amazon.com/neptune/latest/userguide/visualization-graph-explorer.html see this AWS Graph Explorer demo. This allows the user to start without writing a query and also dynamically updates the table view matching the graph viz. I think Neo4j Bloom also does something similar. We might consider provide a similar feature later independent from the Shell view.


What are the security scope(s) needed for using these REST functions?

Guessing its probably at least "Workitem Read".  Is this info documented somewhere else?

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

ID: 21f222a3-2519-88f9-d05a-852790d420a8
Version Independent ID: 4cba102e-f6ff-f2ae-57b5-18a0501d99c0
Content: Queries - REST API (Azure DevOps Work Item Tracking)
Content Source: docs-ref-autogen/7.0/wit/Queries.yml
Service: azure-devops
Sub-service: azure-devops-ref
GitHub Login: @wnjenkin
Microsoft Alias: whjenkin

Hi @StingyJack yes we document scopes, each API should have scopes it requires documented in a Scopes section.
For the create queries for example that would be here https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/queries/create?view=azure-devops-rest-7.0&tabs=HTTP#scopes


How to automate Helm  3x package --sign passphrase prompt using CI or command line

I am trying to package sign with pgp steps with link below. helm 2x have provision to set export HELM_KEY_PASSPHRASE=$password. which is working but helm 3x not have option. please help to automate paspharase option in helm 3x.
https://docs.github.com/en/github/authenticating-to-github/generating-a-new-gpg-key
helm package --sign --key<EMAIL_ADDRESS>--keyring ./privatekey.gpg ./security --debug
Password for key<EMAIL_ADDRESS>>
Output of helm version:  3.2.4
Output of kubectl version: 1.18.5
Cloud Provider/Platform (AKS, GKE, Minikube etc.): AKS

As I understand it, Helm calls gpg directly, which in turn invokes the gpg-agent to prompt for the password. This is input provided on stdin.
You can pass stdin to a command with bash via <<< "your variable". Have you tried that?

Thanks for update. I am new, kindly provide the some command for pass stdin as example.

This is your opportunity to find out for your own research. I don’t pretend I know the answers for everything. :)
I’m sure there are plenty of examples available on the internet.


Unicode error

I got this error when running setup:
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    long_description = fh.read()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 641: ordinal not in range(128)

to solve I did this
export LC_ALL=en_US.UTF-8
then re-ran and it worked.

I too received a unicode error, although at the stage of trying to run a subset of my actual samples (no errors arose during install, set-up, or testing as outlined).  Below is the output from my terminal:
eukdetect --mode runall --configfile Metagenomics_I-Ching_Nachbac_configfile_TESTING_v1.yml  01/24/2023 18:06:24:  Parsing config file ... Traceback (most recent call last):   File "/share/jwaters/anaconda3/envs/eukdetect/bin/eukdetect", line 33, in <module>     sys.exit(load_entry_point('EukDetect==1.0.1', 'console_scripts', 'eukdetect')())   File "/share/jwaters/anaconda3/envs/eukdetect/lib/python3.6/site-packages/EukDetect-1.0.1-py3.6.egg/eukdetect/runall.py", line 140, in main   File "/share/jwaters/anaconda3/envs/eukdetect/lib/python3.6/site-packages/EukDetect-1.0.1-py3.6.egg/eukdetect/runall.py", line 454, in check_readlen   File "/share/jwaters/anaconda3/envs/eukdetect/lib/python3.6/site-packages/Bio/SeqIO/__init__.py", line 611, in parse     for r in i:   File "/share/jwaters/anaconda3/envs/eukdetect/lib/python3.6/site-packages/Bio/SeqIO/QualityIO.py", line 1033, in FastqPhredIterator     for title_line, seq_string, quality_string in FastqGeneralIterator(handle):   File "/share/jwaters/anaconda3/envs/eukdetect/lib/python3.6/site-packages/Bio/SeqIO/QualityIO.py", line 897, in FastqGeneralIterator     line = handle_readline()   File "/share/jwaters/anaconda3/envs/eukdetect/lib/python3.6/encodings/ascii.py", line 26, in decode     return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 12: ordinal not in range(128)
Any advice on how to proceed would be greatly appreciated! I did try the 'export LC_ALL=en_US.UTF-8' that hyphaltip recommended, but that did not resolve my issue and I had the same error.

Thanks for reaching out. I can't reproduce this error and I've not been able to figure out a solution for now, though I'm still trying. It looks like the error is being thrown by BioPython in one of the check steps. Could you try running this as a snakemake pipeline directly? Full instructions are on the github, but in short it's snakemake --snakefile [path_to_install_folder]rules/eukdetect_eukfrac.rules --configfile [config file] --cores [cores] runall. If that works that will be a workaround.

Thanks so much for your prompt reply! My apologies that I missed in the documentation that using snakemake can be a good workaround if running into issues with python.
I've tried running snakemake as you suggested, but I received the following errors while it was running. It did complete, but it seems the output files are empty.
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "en_US.UTF-8",
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "en_US.UTF-8",
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").

Hi Abigail,
After adding quotes to try and change the local settings export LC_ALL="en_US.UTF-8" that might have worked, or at least I am no longer receiving locale warnings (apologies that I did not correctly understand the error, I promise I tried to google it!).
However, now when I run the snakemake file, I receive this output to the screen and my output files again appear to be empty. Can you advise what may be going on?
Building DAG of jobs...
Nothing to be done.
Complete log: /share/jwaters/Metagenomics_I-Ching/EukDetect/.snakemake/log/2023-01-27T183421.100804.snakemake.log

Hi,
Thanks for your patience with a response. This suggests no steps of eukdetect ran second time because the snakemake process didn't notice any changes (missing the UTF encoding change). The best way to fix this is to delete the eukdetect output files, including the intermediate steps, and rerun the whole thing.


changes for 6.1.0 release

We don not have encryption module dependency. so dependency section is removed.
We have also fixed the .ics file download so know issues are removed as well

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


creating account fails

Trying sample currency contract instructions on latest git master running on local single node test-net.
 ./eosioc create account inita currency EOS6UTqYZbBjLfuaabBJaZ53m1pfVo7NWNNPoQxWXZdV29Lzte3AL EOS7J8gwqjyZirFUdbhhYZ8CQgMGBKVSoebpKJP6P9ycVCqHu3Wge
2538674ms thread-0   main.cpp:941                  main                 ] Failed with error: unknown key (13)
unknown key:
Request Path: localhost:8888/v1/chain/get_required_keys, Request Post Data: {"transaction":{"expiration":"2018-03-04T03:42:48","region":0,"ref_block_num":16785,"ref_block_prefix":2155080321,"packed_bandwidth_words":0,"context_free_cpu_bandwidth":0,"context_free_actions":[],"actions":[{"account":"eosio","name":"newaccount","authorization":[{"actor":"inita","permission":"active"}],"data":"000000000093dd740000001e4d75af460100000000010002d0d68155059f9ba1369170f1d22801ed5e4115c387f61cc39e02283c38e0c3bc010001000000000100033d1401eeca5e065c81cbd38afde8662a351431181a210c43168deeffd3c8580301000100000001000000000093dd7400000000a8ed3232010000"}]},"available_keys":["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV"]}

use eosio instead of inita , have a try

using eosio worked, does that mean the doc need to be updated?

Hello.. switching from 'inita' to 'eosio' just worked for me also!

https://github.com/EOSIO/eos/blob/master/Docker/config.ini#L95
here you can see that the default producer-name is eosio.

https://github.com/EOSIO/eos/pull/1648

Thanks! Maybe I could have done this myself (?) but I'm new to the github
paradigm.
On Tue, Mar 13, 2018 at 10:36 PM, kaidiren<EMAIL_ADDRESS>wrote:

#1648 https://github.com/EOSIO/eos/pull/1648
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EOSIO/eos/issues/1533#issuecomment-372885212, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHzc7EMJ_wzQRSPv4qsxwybGyKY_WuP_ks5teII1gaJpZM4SbL8M
.

@grock999 yes you could though the Pull Request is for preventing others doing themselves again :D

hi,  this issue can be closed for https://github.com/EOSIO/eos/pull/1648 has been merged.


add tests for ListContainerStats

Signed-off-by: Alexander Minbaev<EMAIL_ADDRESS>What type of PR is this?
/kind feature
What this PR does / why we need it:
PR adds tests for ListContainerStats RPC
Adds tests covering the RPC behavior after this change:
https://github.com/containerd/containerd/pull/6373
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?
None

/cc @mikebrow

could rebase again (it seems rebase is required to get new changes for github actions)?

could rebase again (it seems rebase is required to get new changes for github actions)?

sure, done

@feiskyer @mikebrow
can you please review and see if it can be merged?
Thank you!

@minbaev the tests seems to fail, can we fix them?

@minbaev the tests seems to fail, can we fix them?

hmm, I don't think the tests are wrong, they pass when i run them locally against a local containerd instance with the change.
we cut a 1.5.9 containerd version which should include the change
https://github.com/containerd/containerd/pull/6373
can it be possible that the tests fail due some CI issue?
Here is the output when I run the tests locally
root@ubuntu-bm:~/go/src/github.com/kubernetes-sigs/cri-tools# build/bin/critest -ginkgo.focus stats
critest version: 1.22.0-79-g8aec4be0
Running Suite: CRI validation
=============================
Random Seed:<PHONE_NUMBER> - Will randomize all specs
Will run 4 of 89 specs

Jan 19 04:00:00.504: INFO: Testing context container image list file:
Jan 19 04:00:00.504: INFO: Testing context container image list: {DefaultTestContainerImage:busybox:1.28 WebServerTestImage:}
[k8s.io] Container runtime should support basic operations on container
  runtime should support listing stats for three created containers when filter is nil. [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:222
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:50
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:63
[BeforeEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:72
[It] runtime should support listing stats for three created containers when filter is nil. [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:222
STEP: create first container
STEP: Get image status for image: busybox:1.28
STEP: Create container.
Jan 19 04:00:02.419: INFO: Created container "0dea6c0df0ce53a9e04a68288a199e95e22c5dda856bb1e48f796c9e0639db60"

STEP: create second container
STEP: Get image status for image: busybox:1.28
STEP: Create container.
Jan 19 04:00:02.986: INFO: Created container "dc8e532aa2846c1007e73203ebbb010b5460d418b2a4049f118d3d4a8398979a"

STEP: create third container
STEP: Get image status for image: busybox:1.28
STEP: Create container.
Jan 19 04:00:03.520: INFO: Created container "ff2c9cdc012af77dacd28de66425a31faf71e035c74470513fca38601a47014c"

STEP: start first container
STEP: Start container for containerID: 0dea6c0df0ce53a9e04a68288a199e95e22c5dda856bb1e48f796c9e0639db60
Jan 19 04:00:03.721: INFO: Started container "0dea6c0df0ce53a9e04a68288a199e95e22c5dda856bb1e48f796c9e0639db60"

STEP: start second container
STEP: Start container for containerID: dc8e532aa2846c1007e73203ebbb010b5460d418b2a4049f118d3d4a8398979a
Jan 19 04:00:03.897: INFO: Started container "dc8e532aa2846c1007e73203ebbb010b5460d418b2a4049f118d3d4a8398979a"

STEP: start third container
STEP: Start container for containerID: ff2c9cdc012af77dacd28de66425a31faf71e035c74470513fca38601a47014c
Jan 19 04:00:04.056: INFO: Started container "ff2c9cdc012af77dacd28de66425a31faf71e035c74470513fca38601a47014c"

STEP: test containers stats
STEP: List container stats for all containers:
[AfterEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:76
STEP: stop PodSandbox
STEP: delete PodSandbox
[AfterEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:51

• [SLOW TEST:5.120 seconds]
[k8s.io] Container
github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:72
  runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:68
    runtime should support listing stats for three created containers when filter is nil. [Conformance]
    github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:222
------------------------------
SS
------------------------------
[k8s.io] Container runtime should support basic operations on container
  runtime should support listing stats for started containers [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:195
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:50
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:63
[BeforeEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:72
[It] runtime should support listing stats for started containers [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:195
STEP: create container
STEP: Get image status for image: busybox:1.28
STEP: Create container.
Jan 19 04:00:06.806: INFO: Created container "2eb61d05369373530bbc4b11097b070f5398dcf717cd2e13a852dc6f717d5f36"

STEP: start container
STEP: Start container for containerID: 2eb61d05369373530bbc4b11097b070f5398dcf717cd2e13a852dc6f717d5f36
Jan 19 04:00:06.994: INFO: Started container "2eb61d05369373530bbc4b11097b070f5398dcf717cd2e13a852dc6f717d5f36"

STEP: test container stats
STEP: List container stats for all containers:
[AfterEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:76
STEP: stop PodSandbox
STEP: delete PodSandbox
[AfterEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:51
•SSSSSSSSSS
------------------------------
[k8s.io] Container runtime should support basic operations on container
  runtime should support listing stats for started containers when filter is nil [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:210
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:50
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:63
[BeforeEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:72
[It] runtime should support listing stats for started containers when filter is nil [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:210
STEP: create container
STEP: Get image status for image: busybox:1.28
STEP: Create container.
Jan 19 04:00:09.121: INFO: Created container "3ff79f6b267b676f3074b84e533900c257fa89c37dc0bc61a1842b3c6b0be8b0"

STEP: start container
STEP: Start container for containerID: 3ff79f6b267b676f3074b84e533900c257fa89c37dc0bc61a1842b3c6b0be8b0
Jan 19 04:00:09.272: INFO: Started container "3ff79f6b267b676f3074b84e533900c257fa89c37dc0bc61a1842b3c6b0be8b0"

STEP: test container stats
STEP: List container stats for all containers:
[AfterEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:76
STEP: stop PodSandbox
STEP: delete PodSandbox
[AfterEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:51
•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
------------------------------
[k8s.io] Container runtime should support basic operations on container
  runtime should support listing container stats [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:180
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:50
[BeforeEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:63
[BeforeEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:72
[It] runtime should support listing container stats [Conformance]
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:180
STEP: create container
STEP: Get image status for image: busybox:1.28
STEP: Create container.
Jan 19 04:00:11.700: INFO: Created container "0ea95b87caaa82915540726427696219e9dde0796303806c8ca6692585897d10"

STEP: start container
STEP: Start container for containerID: 0ea95b87caaa82915540726427696219e9dde0796303806c8ca6692585897d10
Jan 19 04:00:11.892: INFO: Started container "0ea95b87caaa82915540726427696219e9dde0796303806c8ca6692585897d10"

STEP: test container stats
STEP: List container stats for containerID: 0ea95b87caaa82915540726427696219e9dde0796303806c8ca6692585897d10
[AfterEach] runtime should support basic operations on container
  github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:76
STEP: stop PodSandbox
STEP: delete PodSandbox
[AfterEach] [k8s.io] Container
  github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:51
•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 4 of 89 Specs in 12.354 seconds
SUCCESS! -- 4 Passed | 0 Failed | 0 Pending | 85 Skipped

You're using deprecated Ginkgo functionality:
=============================================
Ginkgo 2.0 is under active development and will introduce several new features, improvements, and a small handful of breaking changes.
A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021.  Please give the RC a try and send us feedback!
  - To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md
  - For instructions on using the Release Candidate visit https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta
  - To comment, chime in at https://github.com/onsi/ginkgo/issues/711

  You are using a custom reporter.  Support for custom reporters will likely be removed in V2.  Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter.  In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports.

  If this change will be impactful to you please leave a comment on https://github.com/onsi/ginkgo/issues/711
  Learn more at: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters
  Measure is deprecated and will be removed in Ginkgo V2.  Please migrate to gomega/gmeasure.
  Learn more at: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-measure
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/container.go:54
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/container.go:98
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/image.go:68
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/image.go:94
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/pod.go:42
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/pod.go:86
    github.com/kubernetes-sigs/cri-tools/pkg/benchmark/pod_container.go:48

To silence deprecations that can be silenced set the following environment variable:
  ACK_GINKGO_DEPRECATIONS=1.16.5

PASS
root@ubuntu-bm:~/go/src/github.com/kubernetes-sigs/cri-tools#

/retest

@minbaev the tests seems to fail, can we fix them?

hey sasha .. chatted with alexander off line.. the fix for this test case still needs the cherry pick over on containerd.. (then move to containerd 1.5.10 when it's out (wip)) or we can run this test against containerd main.. or wait for containerd 1.6.0 which is imminent and has all kinds of k/k 1.23 goodness :-)

@saschagrunert could you please look at the tests failing. not sure the failure is related to the changes made by this pr
https://github.com/kubernetes-sigs/cri-tools/runs/4900343760?check_suite_focus=true#step:12:112
on windows
failed pulling image "[k8s.gcr.io/pause:3.1](http://k8s.gcr.io/pause:3.1)": no matching manifest for windows/amd64

@saschagrunert could you please look at the tests failing. not sure the failure is related to the changes made by this pr
https://github.com/kubernetes-sigs/cri-tools/runs/4900343760?check_suite_focus=true#step:12:112
on windows
 failed to create PodSandbox: rpc error: code = Unknown desc = failed pulling image "k8s.gcr.io/pause:3.1": no matching manifest for windows/amd64 10.0.17763 in the manifest list entries

Yes, pause is not available for windows right now. We should exclude those tests for that platform or modify them.

@minbaev) may I ask you to rebase to get the latest CI changes in?

The tests do not seem to work on windows. @minbaev can you take a look?
/lgtm cancel

@saschagrunert Hi, what would be the mechanism to exclude the failing windows test due to "k8s.gcr.io/pause:3.1" pulling error? should it be a part of this pr?

@saschagrunert Hi, what would be the mechanism to exclude the failing windows test due to "k8s.gcr.io/pause:3.1" pulling error? should it be a part of this pr?

Hm, I'm wondering why it works on the master branch compared to this PR :thinking:

"critest dockershim / windows-2019 (pull_request) Failing after 7m — windows-2019" ..
Looks to me like it's on the wrong pause tag.. 3.1 sounds .. really old probably needs 3.2 - 3.6?  dockershim tests were removed...  Gonna guess bad rebase?

@mikebrow @saschagrunert thanks for looking into that
i have followed the flow to rebase with master, but still seeing that pause:3.1 issue. i'm not sure how 3.1 is set
does it maybe have to do with us setting version of containerd to 1.5.9 in the pr whereas it's 1.6.4 already

@mikebrow @saschagrunert thanks for looking into that
i have followed the flow to rebase with master, but still seeing that pause:3.1 issue. i'm not sure how 3.1 is set
does it maybe have to do with us setting version of containerd to 1.5.9 in the pr whereas it's 1.6.4 already

check the list of test buckets.. there is no "critest dockershim" test in master, but you have it in your PR's test.. thus I think your PR is not based on the current master...? or I'm reading something wrong...

@mikebrow there is this config to set the test
https://github.com/kubernetes-sigs/cri-tools/blob/master/.github/workflows/dockershim.yml

also this pr to remove dockershim, but it isn't merged
https://github.com/kubernetes-sigs/cri-tools/pull/871

should i just skip the failing tests in dockershim.yml file?

interesting.. so those are usually not triggered in PRs.. but ok they are triggered after merge..
looking at the output.. delta between you and the last merge bucket is .. your test has 11 buckets being run vs just 8 buckets.. and those 3 are failing .. see https://github.com/kubernetes-sigs/cri-tools/runs/6553793489?check_suite_focus=true#step:12:65

should i just skip the failing tests in dockershim.yml file?

nod.. just add your new 3 buckets to the skip.. since most of them are already being skipped
or you could figure out how to move up the pause to 3.something that works.. Guessing 3.1 doesn't have the windows pause in it.. needs to be at least 3.2 would be my guess.

also this pr to remove dockershim, but it isn't merged
#871

you know it says dockershim but it's really Cloning into 'D:\a\cri-tools\cri-tools/src/github.com/Mirantis/cri-dockerd'
let's see... ah here it is.. and it's already being fixed https://github.com/Mirantis/cri-dockerd/pull/46


get metadata from keras model file

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Implemented on tensorflow_updates branch

Fixed by #205


Add to meta-information to the full path of the page

Add to meta-information to the full path of the page on which pass the tests. Make a display of the path by reference to the possibility of opening a new tab when you click on it

In case when you use gemini-tunnel plugin your rootUrl will be changed to the tunnel host. For example, your url will be changed from localhost:8989/test.html to the http://my-tunnel.com:1234/test.html. So at the report it will be wrong url.
But you can add any information to metaInfo from your plugin by extending state.metaInfo object

@sipayRT Ok. How i can add my own metainfo in report without using plugin? And where to find documentation or example about adding metainfo from plug-in by extending state.metaInfo?

How i can add my own metainfo in report without using plugin?

you can't do it without plugin.

where to find documentation or example about adding metainfo

Documentation not ready yet. Example:
gemini.on('startRunner', function(runner) {
    runner.on('endTest', function (data) {
        var state = data.state;
        state.metaInfo.someOption = 'http://some.com/' + state.metaInfo.url;
    });
});

@sipayRT Thanks for help


bounce / overscroll / spring animation missing in scrollview / Flatlist

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
I know there is bounce property for react native, but it only works for iOS, but missing in android.
Here is What I need in android.

React Native version:
Run react-native info in your terminal and copy the results here.
OS: macOS 10.14.4
React Native version:
react: 16.8.6 => 16.8.6
react-native: 0.60.3 => 0.60.3

Steps To Reproduce
try to overscroll in android scrollview or flatlist there will not be bounce
Expected Results
when we try to overscroll on android it should be overscroll / bounce
Note: CoordinatorLayout in android working as expected but how can we implement CoordinatorLayout in android react native
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@nomi9995/flatlist---bounce

Did you solve it?

anyone has a solution to this?

anyone has a solution to this?


autocomplete fields not initialized when DOM is ready before select2.js is loaded

When the DOM is ready before select2.js script is loaded, the autocompleteLightInitialize event is sent while the listener is not yet set.
This results in autocomplete fields not initialized.
I worked this around by calling $('[data-autocomplete-light-function]:not(.select2-hidden-accessible)').trigger('autocompleteLightInitialize') in a script called after select2.js.
Is there a more proper way to deal with this ?

Interresting, have you tried moving select2.full.js at the top of the widget media list ? https://github.com/yourlabs/django-autocomplete-light/blob/master/src/dal_select2/widgets.py#L26

Actually, we use RequireJS to ensure scripts dependencies. So I set the dependencies as the following:

jquery.init.js depends on jquery
autocomplete.init.js depends on jquery.init.js
select2.full.js depends on autocomplete.init.js
forward.js depends on select2.full.js
select2.js depends on forward.js.

I tried the following, according to your comment:

jquery.init.js depends on jquery
select2.full.js depends on jquery.init.js
autocomplete.init.js depends on select2.full.js
forward.js depends on autocomplete.init.js
select2.js depends on forward.js.

But this didn't change anything.
To me, the issue lies in the fact that autocompleteLightInitialize event is triggered when the DOM is ready. Which may be before the listener is set up unless you call your scripts synchronously at the end of the <body> which I don't want to do.
Forcing select2.js to be executed before autocomplete.init.js with the following precedence:

jquery.init.js depends on jquery
select2.full.js depends on jquery.init.js
select2.js depends on select2.full.js.
autocomplete.init.js depends on select2.js
forward.js depends on autocomplete.init.js

Seems to fix the issue. Yet, it looks not entirely satisfying as select2.js uses get_forwards() which is defined by forward.js, which may not yet be loaded when `get_forwards() is reached.

Right, I didn't understand the issue properly, kudos for finding a solution ! Our JS needs love, feel free to submit a PR with a refactor that suits your needs, I'll be more than happy to learn more about JS !

Hi!
I'm not sure if my issue has to do with this, but I constantly get the error in console:

Uncaught ReferenceError: get_forwards is not defined

Installing version 3.1.8 solves the problem.

Sorry, that was my bad. After adding
<script type="text/javascript" src="/static/autocomplete_light/forward.js"></script>

to the template everything works on the last version of dal (currently 3.2.1).

Now fixed in tree.


Incorrect content in 4CC macro example

Location
https://github.com/apple/swift-book/blob/main/TSPL.docc/LanguageGuide/Macros.md?plain=1#L543
Description
This macro should use UInt32(bigEndian:) to convert from big-endian to native-endian rather than converting to big-endian.
Correction
- return result.bigEndian
+ return UInt32(bigEndian: result)

Wait… no…
The way we naturally express bitwise math in English (and in Swift) is big-endian. That is, the << and >> operators shift bits up and down respectively, and 9,876,543 is ordered with the highest digit (9) in the highest position, which is the first position, i.e. big-end-first.
This operation:
for character in characters {
    result = result << 8
    guard let asciiValue = character.asciiValue else { return nil }
    result += UInt32(asciiValue)
}

Always shifts result up, i.e. toward the big end, by 8 bits. This is correct without regard to the internal representation of a number. So the correct solution is to not use .bigEndian or UInt32(bigEndian:), and to just return result as-is. The caller can then byte-swap if they need explicit big- or little-endian ordering for whateve reason.

Having spent some time working through this, I'm pretty sure the correct behavior would be to return a native-endian 32-bit integer.  The caller can write someFourCC.bigEndian when they need the actual big-endian value, like they do with other integers.
The linked branch has part of that change — right now, the macro still returns an plain integer literal, whose type is assumed to be Int, and could be 32- or 64-bit.


identity: create CachingIdentityAllocator  type

This type encapsulates values which previously were package-level variables
into a specific type, CachingIdentityAllocator . This removes the need
to directly import pkg/identity/cache, and will make unit testing easier
in packages which need to allocat identities on demand, e.g. pkg/endpoint.
The daemon now has an CachingIdentityAllocator  member, which it plumbs
down into various subsystems which need to allocate identities.
This review looks more daunting than it is - a lot of it is substituting of calls to cache.* to work on the new type instead of calling the package-level function, as well as to account for the changing of parameters for NewPolicyRepository.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>
This change is

test-me-please

To entities world + kvstore runtime test failure: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/14726/

test-me-please

test-me-please

test-me-please

Runtime conntrack options test failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/14733/

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

Test failure appears to be infra related:
time="2019-09-03T22:29:45Z" level=error msg="cannot create test result path 'test_results/RuntimeConnectivityInVethModeTest_With_CNI_Basic_connectivity_test'" error="mkdir test_results/RuntimeConnectivityInVethModeTest_With_CNI_Basic_connectivity_test: no space left on device" subsys=pprofReport testName=BeforeAll
time="2019-09-03T22:29:45Z" level=error msg="cannot create test result path 'test_results/RuntimeConnectivityInVethModeTest_With_CNI_Basic_connectivity_test'" error="mkdir test_results/RuntimeConnectivityInVethModeTest_With_CNI_Basic_connectivity_test: no space left on device" subsys=pprofReport testName=BeforeAll

Link: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/14799/

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

Star Wars Demo test failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/15307/testReport/junit/Suite-k8s-1/11/K8sDemosTest_Tests_Star_Wars_Demo/

test-me-please

test-me-please

test-me-please

Marked as needing rebase so I remember to do a squash of everything before merging!

test-me-please

Something got broken, and I don't know what. Might be a side effect of rebasing. Removed pending-review tag.

test-me-please

Build got stuck:
12:00:35      k8s1-1.11: go build -ldflags '-X "github.com/cilium/cilium/pkg/version.Version=1.6.90 7a7ba2f91 2019-10-09T18:21:21+00:00 go version go1.13.1 linux/amd64" -X "github.com/cilium/cilium/pkg/envoy.RequiredEnvoyVersionSHA=25fead1ba740440008f74a382148373d9a6c082d" -X "github.com/cilium/cilium/pkg/datapath/loader.DatapathSHA="'  -tags lockdebug -o cilium
12:45:11  Sending interrupt signal to process
12:45:12  Sending interrupt signal to process
12:45:17  script returned exit code 255

CI keeps getting stuck...?

test-me-please

BPF NodePort tests failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/15349/testReport/junit/Suite-k8s-1/11/K8sServicesTest_Checks_service_across_nodes_Tests_NodePort_BPF_Tests_with_vxlan/
Flake?

test-me-please

Flake?

Yes, it is - https://github.com/cilium/cilium/issues/8945.

never-tell-me-the-odds

test-me-please


Parse 1.9.1 IOS6 support

I upgraded parse from 1.8.5 to 1.9.1.
Now it looks like it does not support IOS6.
Is there a workaround?
Thank you!

Not really a workaround at this time, we deprecated support for iOS lower than 7.0 for the SDK starting from 1.8.0.
You can still continue to use a version below that (1.7.5), as that one will continue to work on iOS 6.

Out of curiosity, what is your use case for iOS 6?
The amount of people on that version is very very low at this point.

Nikita, 5% of our user base are using IOS6. This is significant for us.
Thank you,

Could you support iOS 6 again?
our develpoing game must support the iOS6 at this time.
if I use 1.7.5, it looks like not suppot iOS9.

I'll look into what will it take for us to support iOS 6.
No guarantees at this point, but will definitely look into this.


Don't highlight properties as wrong if there is no test case for them

Is your feature request related to a problem?

Student expects at least "title" to be correct, but not every attribute has its own test case. Since some other test is failing, all attributes are marked as wrong.
Describe the solution you'd like
Don't "grade" properties that do not have specific test cases attached to them and leave them black.

Thanks for raising this issue. This is due to the way we perform those tests. We do tests in groups, so e.g. we test all attributes of a class. We do not want to bloat up the number of test cases here, so we do not intent to change the behavior right now. This is why I close this issue as won't fix.
/cc @krusche @thilo-behnke


Add new chplVersion field

Recent work on mason added a 'chplVersion' field that allows packages to indicate compatible versions of Chapel.

@ct-clmsn : To add this as a package, the repo will need a "v0.1.0" tag.


3.0.0.dev3: TypeError: Inputs must be ComponentSpec or GlobalStreamId objects.

I'm trying to come to streamparse 3. And the most difficult part is Streams and Stream Grouping for inputs.
http://streamparse.readthedocs.io/en/master/topologies.html
There is only example of inputs with "A dict mapping from ComponentSpec to Grouping".
And outputs without streams.
So lets see API directly:
http://streamparse.readthedocs.io/en/master/api.html#streamparse.Bolt.spec
inputs –
Streams that feed into this Bolt.

Two forms of this are acceptable:

A dict mapping from ComponentSpec to Grouping.
A list of Stream or ComponentSpec

Ok, so according to this the accepted inputs should be:
inputs={my_bolt: Grouping.Grouping.fields('data')}
or
inputs=[my_bolt]

But what about streams?
Consider this example of outputs:
outputs = [
        streamparse.Stream(fields=['data'],
               name='unit',),
        streamparse.Stream(fields=['data'],
               name='incident',),
    ]

So according to DOC inputs should be list of Streams?
inputs=[streamparse.Stream(fields=['data'],
               name='unit',)]

Throws an error: TypeError: Inputs must be ComponentSpec or GlobalStreamId objects.
So I guess it is not Stream that doc says, because there is no link to previous bolts (origination of data.)
So lets try:
inputs={my_bolt : streamparse.Stream(fields=['data'],
               name='unit',)}

KeyError: "Invalid stream for test_bolt: 'default'. Valid streams are: ['incident', 'unit']"
So I'm guessing the defaults is taken from here:
https://github.com/Parsely/streamparse/blob/master/streamparse/dsl/component.py#L80
So How do I make Simple case scenario with Streams and grouping?
[first_spout]         [second_spout]
    \__________ __________/
               |
       [process_bolt]
     __________|__________
    /                     \
[unit_bolt]          [incident_bolt]
    \__________ __________/
               |
          [save_bolt]

Thanks for the detailed write up! I can see this is one of those cases where the metaclass magic we're using to make things "simpler" for people can actually make things more confusing.
outputs can be a list of Stream objects, or a list of strings.  If it's a list of strings, those are the names of the fields for the default stream.
inputs can be a list of Stream objects, but these are not objects you build yourself, which could definitely use some clarification in the docs.  For what you want to do, the simplest thing would be:
from streamparse import Bolt, Grouping, Spout, Stream, Topology

class FirstSpout(Spout):
    outputs = ['stuff']

class SecondSpout(Spout):
    outputs = ['other_stuff']

class ProcessBolt(Bolt):
    outputs = [Stream(fields=['data'], name='unit'),
               Stream(fields=['data'], name='incident')]

class UnitBolt(Bolt):
    outputs = ['unit_to_save']

class IncidentBolt(Bolt):
    outputs = ['incident_to_save']

class SaveBolt(Bolt):
    outputs = []

class ExampleTopology(Topology):
    first_spout = FirstSpout.spec()
    second_spout = SecondSpout.spec()
    process_bolt = ProcessBolt.spec(inputs=[first_spout, second_spout])
    unit_bolt = UnitBolt.spec(inputs=[process_bolt['unit']])
    incident_bolt = IncidentBolt.spec(inputs=[process_bolt['incident']])
    save_bolt = SaveBolt.spec(inputs=[unit_bolt, incident_bolt])

The key here is that to get a specific output Stream from a ComponentSpec, you just __getitem__ via spec['foo'].
If you wanted to do a fields grouping with unit_bolt and incident_bolt, you could just do:
    unit_bolt = UnitBolt.spec(inputs={process_bolt['unit']: Grouping.fields('data')})
    incident_bolt = IncidentBolt.spec(inputs={process_bolt['incident']: Grouping.fields('data')})

Hope that clears things up.

Wow. Thanks for the quick response and clarification.

@dan-blanchard: I can't find anything in the docs about how to properly use streams. (Been fighting with it for an hour until I found this.) Should I open an issue about having that added somewhere?

This issue is supposed to represent the fact that I need to add the comment about to our docs, so no need for another one.


feature: add highlight group NoiceAttr by default.

Did you check the docs?

[X] I have read all the noice.nvim docs

Is your feature request related to a problem? Please describe.
I'm making notification with no borders. I can change the color of body and border. However, I got problem with styling NoiceAttr
Describe the solution you'd like
we can extend the highlight value in function _create_hl in file lua/noice/text/highlight.lua
Describe alternatives you've considered
.
Additional context
No response

You can't style those special hl groups. Those are the literal styles of Neovim messages. They are not supposed to be styled


"TypeError: Cannot convert argument to a ByteString" when giving multibyte product name in header

What is the location of your example repository?
https://github.com/nobu-shopify/hydrogen-demo-customerapi-2023-07-28
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
"@shopify/hydrogen": "^2023.7.0",     "@shopify/remix-oxygen": "^1.1.1",
What version of Remix are you using?
"@remix-run/react": "1.19.1",
Steps to Reproduce

Open Hydrogen demo store - https://hydrogen-demo-customerapi-2023-07-28-ff4270a546f444d678ae.o2.myshopify.dev/
Click "一期一会 (ICHIGO ICHIE)"  <= the beer with yellow label

Expected Behavior
The product page should be displayed, like this 一期一会 (ICHIGO ICHIE)
Actual Behavior

The following error is shown:

We’ve lost this product
We couldn’t find the product you’re looking for. Try checking the URL or heading back to the home page.

URL shows corrupted characters in multibyte part:

https://hydrogen-demo-customerapi-2023-07-28-ff4270a546f444d678ae.o2.myshopify.dev/products/ä¸æä¸ä¼-ichigo-ichie?Title=Default+Title

Doing the same repro steps in my local env, the following error is observed:

TypeError: Cannot convert argument to a ByteString because the character at index 10 has a value of 20908 which is greater than 255.
at Object.webidl.converters.ByteString (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/node_modules/undici/lib/fetch/webidl.js:426:13)
at Headers.set (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/node_modules/undici/lib/fetch/headers.js:348:31)
at redirect (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/node_modules/@remix-run/router/utils.ts:1479:11)
at redirect (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/node_modules/@remix-run/server-runtime/dist/esm/responses.js:41:10)
at redirectToFirstVariant (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/app/routes/($locale).products.$productHandle.jsx:113:9)
at loader4 (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/app/routes/($locale).products.$productHandle.jsx:68:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at callRouteLoaderRR (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/node_modules/@remix-run/server-runtime/dist/esm/data.js:48:16)
at callLoaderOrAction (/Users/nobu/dev/shopify/hydrogen/hydrogen-demo-customerapi-2023-07-28/node_modules/@remix-run/router/router.ts:3671:16)
at async Promise.all (index 0)
GET  500  loader  /products/%E5%86%AC%E3%81%AE%E6%B0%97%E3%81%BE%E3%81%90%E3%82%8C-2022-fuyu-no-kimagure-2022 [($locale).products.$productHandle] (prefetch)
Looking at https://github.com/nodejs/undici/issues/1590, it appears that we are giving Unicode header to node_modules/undici/lib/fetch/headers.js

Thank you for finding this bug

Thanks @wizardlyhel !!
Verified here that your proposed fix works on my Hydrogen demostore JS code, after removing non-null assertion in $(product!.handle) (which appears TS-only feature):
  // Fix from https://github.com/Shopify/hydrogen/issues/1209
  // Use URL to avoid accidental double encoding
  const newUrl = new URL(`/products/${product.handle}?${searchParams.toString()}`, 'http://example.com');
  throw redirect(newUrl.pathname + newUrl.search, 302);


Improve the time of the UI distribution graph (#369)

Description
Fix #369

Additional context and related issues

Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:
*

Wdyt @willmostly .. ship it?


No matching version found for node-pre-gyp@undefined

Stumbled across this from the original Atlas Board which I had installed without issue. So not sure which dependency you are using that has the issue.
`sudo npm install -g status-board
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed!
npm WARN deprecated<EMAIL_ADDRESS>'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
npm ERR! code ETARGET
npm ERR! notarget No matching version found for node-pre-gyp@undefined
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR!  Forcing revalidation 1217 http fetch GET 304 https://registry.npmjs.org/node-pre-gyp 58ms (from cache) 1218 silly fetchPackageMetaData error for node-pre-gyp@latest No matching version found for node-pre-gyp@undefined 1219 silly saveTree  1220 verbose type tag 1221 verbose stack node-pre-gyp: No matching version found for node-pre-gyp@undefined 1221 verbose stack     at pickManifest (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/npm-pick-manifest/index.js:65:11) 1221 verbose stack     at fetchPackument.then.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/manifest.js:52:18) 1221 verbose stack     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) 1221 verbose stack     at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31) 1221 verbose stack     at Promise._settlePromise (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18) 1221 verbose stack     at Promise._settlePromise0 (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10) 1221 verbose stack     at Promise._settlePromises (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18) 1221 verbose stack     at Async._drainQueue (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16) 1221 verbose stack     at Async._drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10) 1221 verbose stack     at Immediate.Async.drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14) 1221 verbose stack     at runCallback (timers.js:672:20) 1221 verbose stack     at tryOnImmediate (timers.js:645:5) 1221 verbose stack     at processImmediate [as _immediateCallback] (timers.js:617:5) 1222 verbose cwd /usr/local/ 1223 verbose Darwin 15.6.0 1224 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "status-board" 1225 verbose node v6.11.3 1226 verbose npm  v5.6.0 1227 error code ETARGET 1228 error notarget No matching version found for node-pre-gyp@undefined 1229 error notarget In most cases you or one of your dependencies are requesting 1229 error notarget a package version that doesn't exist. 1230 verbose exit [ 1, true ]

Thanks, That seemed to have done the trick and allowed it to install. On starting those I got errors in regards to iCal and Cheerio missing.  Once I manually installed them the board fired right up.
First time using anything like this so it's all experimental now so not sure if I'm missing something, or a dependency is not being defined somewhere so that it gets installed. As a first time user it was also unclear that I needed Atlas board installed globally and that this is a direct module of it.  I was under the assumption this was a direct fork replacement of Atlas board seeing as it is no longer being developed. I'm moving over from an older Dashing board due to it being abandoned so glad to see development on this continues. Thanks again!

👍 Sounds good, I will close this issue and if you need any help with anything or run into any other bugs. Let me know.