Invalid content /en/testnets/cardano/tools/faucet/

Where does the issue occur?
Link to the file or location on the website where the issue occurs. Optionally add screenshots for context.
Describe the issue
A clear and concise description of what the issue is.
Expected changes
A clear and concise description of what you expected to change.
Additional context
Add any other context about the problem here.

The faucet has been fixed and is working well now. The receiving address is also working. In case the issue occurs in testnet Daedalus, please raise an issue with IOHK Support - https://iohk.zendesk.com/hc/en-us


Rewrite from Java to Kotlin

Since it is the new release of the Odysee Alpha, the best way to decrease space is to rewrite it on Kotlin. Because less code = less space for the user.

Here is some resources for this:
https://www.xenonstack.com/blog/kotlin-andriod
https://kotlinlang.org/docs/comparison-to-java.html

The existence of Kotlin has nothing to do about making easier the work of coders. Scala -which comes and is compatible with Java- offers a lot of them and it is more robust than Kotlin. Coders of Java could also just use some Java 1.8 features on any Android version thanks to the desugaring feature of Android compiler.
The only reason Kotlin exists and Google keeps pushing it is Oracle’s lawyers and nothing else.

I guess everybody understands this philosophy and reasoning and doesn't need it to be explained.
But the issue is that we can't suddenly change the projects getting inspired by some philosophy.
Odysee is a big code base which is as far as I understand a heavily modified fork of the LBRY Android app and it is entirely written in Java. We can definitely right new code in Kotlin, but rewriting the entire code base from scratch again in Kotlin doesn't really make sense.
And I assure you even after 10 years from now Java is going nowhere. There are still going to be apps written in Java unless Google forces everybody to ditch Java entirely. Getting rid of the legacy code is very difficult and requires a lot of effort and manpower.


make provision forms and content responsive

I have responsive issue on the first screen, am I the only one?
https://github.com/kubefirst/console/assets/1170989/e7149d22-255f-4372-99c5-33c6973c4883

Oh sorry, you made only the forms responsive right @D-B-Hawk ?

Oh sorry, you made only the forms responsive right @D-B-Hawk ?

Yes. But thank you for the call out on that first page @fharper!. I shall fix that


[On Hold] Typescript 2 typings

Please have a look at this PR and see if all the extended API is included. Please note that it will only be usable with typescript@next.

I don't know type script, and your PR looks great. Thanks.

Should we add anything to this project's Readme?

Should we add anything to this project's Readme?

It would be appreciated, but I suggest we wait for typescript 2 to be released. Please keep this issue open for now until ts 2 is released. thanks :+1:

Allright.

They are added and are in production:
npm install @types/moment-jalaali


Alberta missing from region selection

AB (The code for the Canadian province Alberta) seems to be missing from the region addition list.

It is already assigned. You can see it 5 to the left. I need to make that list sorted alphabetically so that it is easier to find things on it.

Sorry I should've noticed that.. was 2 AM where I was so my brain probably wasn’t up to speed

No problem. It is broken UI really. I have fixed it to sort the list alphabetically as well as to make it overall more user friendly. it will be part of the next deployment.


bug: connection reset by peer when supabase diff

Describe the bug
This bug is hard to reproduce.
Running supabase diff will start a postgres instance as shadow database, and Dial to it then.
However, postgres image will shutdown first at run, and then start, as https://stackoverflow.com/a/37437238 says.
At some machines, supabase cli's Dial will be sent before databse service available, and lead to a connection reset.
To Reproduce
This bug could only be reproduced on a small number of devices!

Run supabase diff ...
Crash with connection reset

Expected behavior
Command runs gracefully, and output diff schema.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser (if applicable) [e.g. chrome, safari]
Version of CLI [e.g. v1.60.0]
Version of supabase-js (if applicable) [e.g. v2.22.0]
Version of Node.js (if applicable) [e.g. v16.20.0]

Additional context
Log of supabase cli:
Supabase CLI 1.78.0
Connecting to local database...
Creating shadow database...
2023/07/21 15:43:31 Sent Header: Host [docker]
2023/07/21 15:43:31 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/07/21 15:43:31 Send Done
2023/07/21 15:43:31 Recv First Byte
2023/07/21 15:43:31 Sent Header: Host [docker]
2023/07/21 15:43:31 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/07/21 15:43:31 Sent Header: Content-Length [312]
2023/07/21 15:43:31 Sent Header: Content-Type [application/json]
2023/07/21 15:43:31 Send Done
2023/07/21 15:43:31 Recv First Byte
2023/07/21 15:43:31 Sent Header: Host [docker]
2023/07/21 15:43:31 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/07/21 15:43:31 Sent Header: Content-Length [11327]
2023/07/21 15:43:31 Sent Header: Content-Type [application/json]
2023/07/21 15:43:31 Send Done
2023/07/21 15:43:31 Recv First Byte
2023/07/21 15:43:31 Sent Header: Host [docker]
2023/07/21 15:43:31 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/07/21 15:43:31 Sent Header: Content-Length [0]
2023/07/21 15:43:31 Sent Header: Content-Type [text/plain]
2023/07/21 15:43:31 Send Done
2023/07/21 15:43:33 Recv First Byte
2023/07/21 15:43:33 Connect Start: tcp <IP_ADDRESS>:54320
2023/07/21 15:43:33 Connect Done: tcp <IP_ADDRESS>:54320
2023/07/21 15:43:33 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres"}}
panic: read tcp <IP_ADDRESS>:41200-><IP_ADDRESS>:54320: read: connection reset by peer

goroutine 24 [running]:
github.com/supabase/cli/internal/debug.(*Proxy).DialFunc.func1()
        github.com/supabase/cli/internal/debug/postgres.go:63 +0x445
created by github.com/supabase/cli/internal/debug.(*Proxy).DialFunc
        github.com/supabase/cli/internal/debug/postgres.go:46 +0x152

Log of shadow postgres container:
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/migrations

 2023-07-21 07:43:43.471 UTC [57] LOG:  received fast shutdown request
waiting for server to shut down.... 2023-07-21 07:43:43.496 UTC [57] LOG:  aborting any active transactions
 2023-07-21 07:43:43.496 UTC [77] LOG:  pg_cron scheduler shutting down
 2023-07-21 07:43:43.497 UTC [75] FATAL:  terminating background worker "TimescaleDB Background Worker Launcher" due to administrator command
 2023-07-21 07:43:43.500 UTC [57] LOG:  background worker "TimescaleDB Background Worker Launcher" (PID 75) exited with exit code 1
 2023-07-21 07:43:43.500 UTC [57] LOG:  background worker "logical replication launcher" (PID 78) exited with exit code 1
 2023-07-21 07:43:43.501 UTC [70] LOG:  shutting down
 2023-07-21 07:43:43.608 UTC [70] LOG:  checkpoint starting: shutdown immediate
 2023-07-21 07:43:44.385 UTC [70] LOG:  checkpoint complete: wrote 356 buffers (2.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.054 s, sync=0.556 s, total=0.884 s; sync files=123, longest=0.313 s, average=0.005 s; distance=2945 kB, estimate=2945 kB
. 2023-07-21 07:43:44.505 UTC [57] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

 2023-07-21 07:43:44.614 UTC [14] LOG:  pgaudit extension initialized
 2023-07-21 07:43:44.621 UTC [14] LOG:  pgsodium primary server secret key loaded
 2023-07-21 07:43:44.747 UTC [14] LOG:  starting PostgreSQL 15.1 (Ubuntu 15.1-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit
 2023-07-21 07:43:44.748 UTC [14] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
 2023-07-21 07:43:44.748 UTC [14] LOG:  listening on IPv6 address "::", port 5432
 2023-07-21 07:43:44.814 UTC [14] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
 2023-07-21 07:43:44.899 UTC [184] LOG:  database system was shut down at 2023-07-21 07:43:44 UTC
 2023-07-21 07:43:44.942 UTC [14] LOG:  database system is ready to accept connections
 2023-07-21 07:43:44.943 UTC [187] LOG:  TimescaleDB background worker launcher connected to shared catalogs
 2023-07-21 07:43:44.958 UTC [189] LOG:  pg_cron scheduler started

We can see service is available at 07:43:44.942 and crash happens at 15:43:33.
P.S. The difference of hour display is caused by UTC+8, and could be neglect.
How to fix
Maybe some retry-on-failed or service probe technique will help.

I am having the same issue. I'm running npx supabase start and then npx supabase db diff inside the Github Codespace (4-core, 16GB RAM, 32GB)
Console output:
@unaimillan ➜ /workspaces/ProStart (dev) $ npx supabase db diff
Connecting to local database...
Creating shadow database...
failed to connect to `host=localhost user=postgres database=postgres`: failed to receive message (read tcp [::1]:60690->[::1]:54320: read: connection reset by peer)
Try rerunning the command with --debug to troubleshoot the error.

The following attempts to run the diff result in following:
@unaimillan ➜ /workspaces/ProStart (dev) $ npx supabase db diff --debug
Supabase CLI 1.83.7
Connecting to local database...
2023/08/08 15:20:50 Connect Start: tcp <IP_ADDRESS>:54322
2023/08/08 15:20:50 Connect Done: tcp <IP_ADDRESS>:54322

other logs

2023/08/08 15:20:50 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres"}}
2023/08/08 15:20:50 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]}
2023/08/08 15:20:50 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=cqLkD34PlEqLY9G5Gz/jwEZa"}
2023/08/08 15:20:50 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=cqLkD34PlEqLY9G5Gz/jwEZaR2eEPYnp3ZPe5uNwwBGHnFHf,s=xcSazfYEPnP9sIlODnoh9w==,i=4096"}
2023/08/08 15:20:50 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=cqLkD34PlEqLY9G5Gz/jwEZaR2eEPYnp3ZPe5uNwwBGHnFHf,p=wh5Gh0VNcAGJCkqxC49YKFFeRYyI6QRwDZ/tMeVQe6s="}
2023/08/08 15:20:50 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"v=UP4XzPaA8bds5A5FF35KAfE/Qc8YpYq3/o5GjWZVavY="}
2023/08/08 15:20:50 PG Recv: {"Type":"AuthenticationOK"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"application_name","Value":""}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"client_encoding","Value":"UTF8"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"DateStyle","Value":"ISO, MDY"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"default_transaction_read_only","Value":"off"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"in_hot_standby","Value":"off"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"integer_datetimes","Value":"on"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"IntervalStyle","Value":"postgres"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"is_superuser","Value":"off"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"server_encoding","Value":"UTF8"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"server_version","Value":"15.1 (Ubuntu 15.1-1.pgdg20.04+1)"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"session_authorization","Value":"postgres"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"standard_conforming_strings","Value":"on"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterStatus","Name":"TimeZone","Value":"UTC"}
2023/08/08 15:20:50 PG Recv: {"Type":"BackendKeyData","ProcessID":11316,"SecretKey":3299768426}
2023/08/08 15:20:50 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
2023/08/08 15:20:50 PG Send: {"Type":"Parse","Name":"lrupsc_1_0","Query":"SELECT schema_name FROM information_schema.schemata WHERE NOT schema_name LIKE ANY($1) ORDER BY schema_name","ParameterOIDs":null}
2023/08/08 15:20:50 PG Send: {"Type":"Describe","ObjectType":"S","Name":"lrupsc_1_0"}
2023/08/08 15:20:50 PG Send: {"Type":"Sync"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParseComplete"}
2023/08/08 15:20:50 PG Recv: {"Type":"ParameterDescription","ParameterOIDs":[1009]}
2023/08/08 15:20:50 PG Recv: {"Type":"RowDescription","Fields":[{"Name":"schema_name","TableOID":13330,"TableAttributeNumber":2,"DataTypeOID":19,"DataTypeSize":64,"TypeModifier":-1,"Format":0}]}
2023/08/08 15:20:50 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
2023/08/08 15:20:50 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"lrupsc_1_0","ParameterFormatCodes":[1],"Parameters":[{"binary":"00000001000000000000001900000018000000010000000461757468000000097067626f756e636572000000087265616c74696d650000000a5c5f7265616c74696d650000000773746f726167650000000b5c5f616e616c79746963730000001373757061626173655c5f66756e6374696f6e730000001473757061626173655c5f6d6967726174696f6e7300000013696e666f726d6174696f6e5c5f736368656d610000000570675c5f250000000463726f6e000000076772617068716c0000000f6772617068716c5c5f7075626c6963000000036e6574000000087067736f6469756d0000000f7067736f6469756d5c5f6d61736b73000000057067746c650000000672657061636b0000000574696765720000000b74696765725c5f646174610000000e74696d657363616c6564625c5f25000000105c5f74696d657363616c6564625c5f2500000008746f706f6c6f6779000000057661756c74"}],"ResultFormatCodes":[1]}
2023/08/08 15:20:50 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/08/08 15:20:50 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/08/08 15:20:50 PG Send: {"Type":"Sync"}
2023/08/08 15:20:50 PG Recv: {"Type":"BindComplete"}
2023/08/08 15:20:50 PG Recv: {"Type":"RowDescription","Fields":[{"Name":"schema_name","TableOID":13330,"TableAttributeNumber":2,"DataTypeOID":19,"DataTypeSize":64,"TypeModifier":-1,"Format":1}]}
2023/08/08 15:20:50 PG Recv: {"Type":"DataRow","Values":[{"text":"extensions"}]}
2023/08/08 15:20:50 PG Recv: {"Type":"DataRow","Values":[{"text":"public"}]}
2023/08/08 15:20:50 PG Recv: {"Type":"CommandComplete","CommandTag":"SELECT 2"}
2023/08/08 15:20:50 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
Creating shadow database...
2023/08/08 15:20:50 Sent Header: Host [api.moby.localhost]
2023/08/08 15:20:50 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/08/08 15:20:50 Sent Header: X-Meta-Source-Client [github/codespaces]
2023/08/08 15:20:50 Send Done
2023/08/08 15:20:50 PG Send: {"Type":"Terminate"}
2023/08/08 15:20:50 Recv First Byte
2023/08/08 15:20:50 Sent Header: Host [api.moby.localhost]
2023/08/08 15:20:50 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/08/08 15:20:50 Sent Header: Content-Length [306]
2023/08/08 15:20:50 Sent Header: Content-Type [application/json]
2023/08/08 15:20:50 Sent Header: X-Meta-Source-Client [github/codespaces]
2023/08/08 15:20:50 Send Done
2023/08/08 15:20:50 Recv First Byte
2023/08/08 15:20:50 Sent Header: Host [api.moby.localhost]
2023/08/08 15:20:50 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/08/08 15:20:50 Sent Header: Content-Length [11322]
2023/08/08 15:20:50 Sent Header: Content-Type [application/json]
2023/08/08 15:20:50 Sent Header: X-Meta-Source-Client [github/codespaces]
2023/08/08 15:20:50 Send Done
2023/08/08 15:20:51 Recv First Byte

2023/08/08 15:20:51 Sent Header: Host [api.moby.localhost]
2023/08/08 15:20:51 Sent Header: User-Agent [Docker-Client/unknown-version (linux)]
2023/08/08 15:20:51 Sent Header: Content-Length [0]
2023/08/08 15:20:51 Sent Header: Content-Type [text/plain]
2023/08/08 15:20:51 Sent Header: X-Meta-Source-Client [github/codespaces]
2023/08/08 15:20:51 Send Done
2023/08/08 15:20:51 Recv First Byte
Error response from daemon: driver failed programming external connectivity on endpoint pensive_lewin (f98839c84ac52a2f15c6481cc5a6bb29f8d64d73cfdb0b4ef0bd2efb6674c114): Bind for <IP_ADDRESS>:54320 failed: port is already allocated

Also small question or proposal (probably to @sweatybridge if related):
Is it possible and makes any sense to name the Shadow Database container in the same fashion as all other containers like supabase_shadowdb_<folder>?

As a temporary workaround for Github Codespaces, I have done the following:

Installed the migra tool into the VM with pip install psycopg2-binary and pip install migra
Recreated the shadow database with docker run --rm -it --name supa_shadow -e POSTGRES_PASSWORD=postgres -p 54320:5432 supabase/postgres:<IP_ADDRESS> (in the separate terminal)
Applied all migrations to the shadow database with cat supabase/migrations/* | docker exec -i supa_shadow psql -U postgres
Run the migra tool to get the migration plan with migra --schema public postgresql://postgres:postgres@localhost:54320/postgres postgresql://postgres:postgres@localhost:54322/postgres

@unaimillan Awesome, it works.

I can reproduce this error in GitHub Codespaces. I will fix it in the next release by waiting for shadow database health check.

Is it possible and makes any sense to name the Shadow Database container in the same fashion as all other containers like supabase_shadowdb_?

It is possible to use a predictable name but it means users will lose the ability to run multiple db diff commands at the same time to check against different remote in CI. I would avoid breaking this use case if possible.


Enhance preference settings on the client

Summary
The proposal for adding more options in the client.
For example:

Automated note muting by regular expression.
Automated NSFW when the author's name contains ":underage:".
Automated CW when the actual height of the note is taller than the specified limit.

Environment
the client (desktop/mobile)

Regexp filter would be actually pretty good. There's no fun in seeing the same threads bydaily.
I'd weigh in customization filters based on user name and other options.
I don't see why adding these directly in the client would be any significant improvement.
A-la 4chan style, in short.

I think having a regex-based muted keyphrase system is a really good idea, but I don't really see why it should be in the client. Keeping it stored serverside means that you don't have to remake the whole list every time your browser forgets its cache or you sign in somewhere new.

Perhaps this filtering is implemented on the client side, but since the settings are stored on the server, no information is lost if you delete the browser's cache.

See: https://github.com/syuilo/misskey/issues/2687


Fix index error in flux_unc tractor result

Fixes an index error in the assignment of tractor results to the dataframe column for flux uncertainty.
@jkrick @bsipocz

Thanks!


Fixed bugs with NPM metadata parsing

Packages without the description on the package level, only on the package version level weren't able to be parsed.
Scoped packages weren't getting the correct metadata, for example @elliemae/ds-modal would get the metadata for ds-modal
Also switched the author tag to _npmUser as that is the reliable one that npm populates. The author tag is developer populated, and can be missing.

What do we have in the way of unit tests / integration tests for this code? Should we add some kind of automated test demonstrating that this change works as intended now?

/azp run

What do we have in the way of unit tests / integration tests for this code? Should we add some kind of automated test demonstrating that this change works as intended now?

I don't believe there is currently
Much in the metadata tests. I think this would be a good opportunity to add a few at least for npm.

/azp run

What do we have in the way of unit tests / integration tests for this code? Should we add some kind of automated test demonstrating that this change works as intended now?

Just added some tests, I added the json files as well, but I don't know how this testing framework does fakes so it currently uses the live HTTP client to get the metadata.
Hopefully we can get this in soon and then come back to replacing the live client with the json files, trying to get this in to unblock our provenance check.

The existing tests should be mstest.
One resource I found for mocking http client factory:
https://www.thecodebuzz.com/mock-typed-httpclient-httpclientfactory-moq-net-core/

/azp run

@gfs I think this should be good to go.

LGTM. Let me know if you're ready to merge with this. @jpinz


How to get the context_str from the index query?

The background is the ChatGPT API is easy to cut the response sentences if the sentences overflow the limit. But in the web console, we can send a continue word to let the chatGPT continue to respond as we know the web can bring our history dialog to the ChatGPT.
The question is how to get the history query sentences generated by llama_index, e.g. in the custom prompt template, there is a context_str generated by the llama_index, seems this is generated by llama_index and sent to the chatGPT to provide the context which is about the documents with our query.
QUESTION_ANSWER_PROMPT_TMPL = (
    "Context information is below. \n"
    "---------------------\n"
    "{context_str}"
    "\n---------------------\n"
    "Given the context information and not prior knowledge, "
    "Please answer this question line by line using the same language as the question: {query_str}\n"
)

My idea is to get the context_str and store it, if the response is cut, I can give the context and history sentences to let the chatGPT continue to respond. This way can simulate the web console of ChatGPT.
The question is how to get the context_str from the index query. I didn't find the hooks or callback.

+1

My idea is to get the context_str and store it, if the response is cut, I can give the context and history sentences to let the chatGPT continue to respond. This way can simulate the web console of ChatGPT.

interesting...alternatively have you just tried increasing the number of output tokens if the response is getting cut? https://gpt-index.readthedocs.io/en/latest/how_to/custom_llms.html#example-changing-the-number-of-output-tokens-for-openai-cohere-ai21
we could also extend the llamalogger to add this

My idea is to get the context_str and store it, if the response is cut, I can give the context and history sentences to let the chatGPT continue to respond. This way can simulate the web console of ChatGPT.

interesting...alternatively have you just tried increasing the number of output tokens if the response is getting cut? https://gpt-index.readthedocs.io/en/latest/how_to/custom_llms.html#example-changing-the-number-of-output-tokens-for-openai-cohere-ai21
we could also extend the llamalogger to add this

Thanks, @jerryjliu but it seems to set max_tokens can let the gpt-3.5-turbo raise errors.
my code is:
llm_predictor = LLMPredictor(llm=ChatOpenAI(
    temperature=0.2, model_name="gpt-3.5-turbo", max_tokens=50000))

I tried your solution    @madawei2699 , but it didn't work to generate a complete response. Any Idea?

Hi. I faced the same issue. How do you set the maximum output tokens in the index.query() function? Currently the maximum output is always 256 tokens.

You can explicitly set max_tokens/num_output by following the docs here: https://gpt-index.readthedocs.io/en/latest/how_to/customization/custom_llms.html#example-explicitly-configure-context-window-and-num-output
Please re-open this issue if need, closing for now!

Still no one answered how can we get context string? I need this to use to map with a table.I need to identify the context.Any solutions?

@bibinkunjumon the context is all the source nodes
response.source_nodes[0].text
If you need the exact prompt to the LLM, use the token counting handler for example for programmatic access (example at the bottom of the notebook) or write your own callback
https://gpt-index.readthedocs.io/en/stable/examples/callbacks/TokenCountingHandler.html

@bibinkunjumon , @madawei2699
I am also looking at how to get context_str from the query and pass it to the chat engine along with the chat_history prompt template in llama2index. Did you get the solution to the problem posted here?

Hi,
I got that and moved ahead a lot .
Just print the response,not as a string,just print it.
It has nodes,meta data and in that meta data you have the content
On Mon, 2 Oct, 2023, 1:59 pm Selvakumaresan, @.***>
wrote:

@bibinkunjumon https://github.com/bibinkunjumon , @madawei2699
https://github.com/madawei2699
I am also looking at how to get context_str from the query and pass it to
the chat engine along with the chat_history prompt template in llama2index.
Did you get the solution to the problem posted here?
—
Reply to this email directly, view it on GitHub
https://github.com/jerryjliu/llama_index/issues/778#issuecomment-1742807636,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB7G522MZQP5KT6HZQQBVJTX5KNBPANCNFSM6AAAAAAV7MF7PY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Or if you want to refer more data print:
response.sources
response.source_nodes
Bibin KunjumonSoftware Engineer L1
+91<PHONE_NUMBER> https://www.sayonetech.com
Unit No. 503, 5th floor, World Trade Center, Infopark, Kochi
On Tue, Oct 3, 2023 at 4:52 PM Bibin Kunjumon @.***>
wrote:

Hi,
I got that and moved ahead a lot .
Just print the response,not as a string,just print it.
It has nodes,meta data and in that meta data you have the content
On Mon, 2 Oct, 2023, 1:59 pm Selvakumaresan, @.***>
wrote:

@bibinkunjumon https://github.com/bibinkunjumon , @madawei2699
https://github.com/madawei2699
I am also looking at how to get context_str from the query and pass it to
the chat engine along with the chat_history prompt template in llama2index.
Did you get the solution to the problem posted here?
—
Reply to this email directly, view it on GitHub
https://github.com/jerryjliu/llama_index/issues/778#issuecomment-1742807636,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB7G522MZQP5KT6HZQQBVJTX5KNBPANCNFSM6AAAAAAV7MF7PY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, I got that and moved ahead a lot . Just print the response,not as a string,just print it. It has nodes,meta data and in that meta data you have the content
…
On Mon, 2 Oct, 2023, 1:59 pm Selvakumaresan, @.> wrote: @bibinkunjumon https://github.com/bibinkunjumon , @madawei2699 https://github.com/madawei2699 I am also looking at how to get context_str from the query and pass it to the chat engine along with the chat_history prompt template in llama2index. Did you get the solution to the problem posted here? — Reply to this email directly, view it on GitHub <#778 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB7G522MZQP5KT6HZQQBVJTX5KNBPANCNFSM6AAAAAAV7MF7PY . You are receiving this because you were mentioned.Message ID: @.>

can you please tell me how to get the context_str ?

This StackOverflow post on getting context from LlamaIndex worked great for me and has both code examples and explanation.


Replace the "shell" module by "command" in tasks/sapnote/2526952.yml

as per coding conventions

fixed by pull request #5.


JAX 0.1.58 doesn't see TPU in public Colab

Example, when selecting Python 3 TPU runtime
https://colab.research.google.com/gist/romanngg/e02e7a08514d13d57be8fc48bd76dd83/no_tpu.ipynb
(Works for a GPU runtime though)

You need the special preamble that switches to the new Cloud TPU stack that jax uses (we'd eventually like Cloud TPUs to work out of the box, but for now this boilerplate is necessary). See the first cell of any our example cloud TPU notebooks, e.g. https://github.com/google/jax/blob/master/cloud_tpu_colabs/NeurIPS_2019_JAX_demo.ipynb. You can probably bump the jax and jaxlib versions on that first pip install line too, please report if that somehow breaks things!

Thanks for the explanation Skye!


microk8s add-node doesn't work

Hi,
adding new node to a cluster doesn't work properly. The joining command on the newly added node finishes successfully:
root@ip-172-31-26-187:~# microk8s join <IP_ADDRESS>:25000/93851439e6d378146b7c765cd195ad8f
Contacting cluster at <IP_ADDRESS>
Waiting for this node to finish joining the cluster. ..
root@ip-172-31-26-187:~# echo $?
0
root@ip-172-31-26-187:~#

But the node is not visible in the node listing:
root@ip-172-31-27-5:~# microk8s kubectl get nodes
NAME               STATUS   ROLES    AGE   VERSION
ip-172-31-27-5     Ready    <none>   59m   v1.19.3-34+a56971609ff35a
ip-172-31-22-234   Ready    <none>   51m   v1.19.3-34+a56971609ff35a
root@ip-172-31-27-5:~#

Notice there is no "ip-172-31-26-187" node in the listing. In the inspect log (snap.microk8s.daemon-controller-manager) there is some calico error visible:
Dec 14 19:06:08 ip-172-31-27-5 microk8s.daemon-controller-manager[39673]: E1214 19:06:08.860161   39673 daemon_controller.go:320] kube-system/calico-node failed with : error storing status for daemon set &v1.DaemonSet{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"calico-node", GenerateName:"", Namespace:"kube-system",.............. Operation cannot be fulfilled on daemonsets.apps "calico-node": the object has been modified; please apply your changes to the latest version and try again
inspection-report-20201214_192240.tar.gz

Hi @remeq,
Thank you for reporting this.
In the logs you attached I see the following error:
Dec 14 19:12:34 ip-172-31-27-5 microk8s.daemon-apiserver[39585]: I1214 19:12:34.592311   39585 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: read tcp <IP_ADDRESS>:19001-><IP_ADDRESS>:37570: read: connection reset by peer

Dqlite, the datastore used, was not able to talk to the new node. Could you attach the inspection tarball of the joining node too? I would like to see the status of the joining apiserver. Is it possible that a firewall is blocking connections?

Hi @ktsakalozos ,
The worker nodes are fresh, plain EC2 instances on a same network. There is no security that would be filtering stuff. Also note that sometimes the join command works and sometimes it ends up with the reported problem. It doesn't seem to be a network problem.
I've did another round of testing and generated new inspect bundles for both the node where I execute "microk8s add-node" and the node where I execute "microk8s join".
kubectl-add-node-inspect.tar.gz
kubectl-join-inspect.tar.gz

I'm getting similar. Not sure if it helps but the first time I ran it I got this (on the joining node):
timw@io:~$ microk8s join <IP_ADDRESS>:25000/a784cebc855be8c8e99170f93edb53df
Contacting cluster at <IP_ADDRESS>
Waiting for this node to finish joining the cluster. ..
Traceback (most recent call last):
  File "/snap/microk8s/1866/scripts/cluster/join.py", line 967, in <module>
    join_dqlite(connection_parts)
  File "/snap/microk8s/1866/scripts/cluster/join.py", line 900, in join_dqlite
    update_dqlite(info["cluster_cert"], info["cluster_key"], info["voters"], hostname_override)
  File "/snap/microk8s/1866/scripts/cluster/join.py", line 856, in update_dqlite
    restart_all_services()
  File "/snap/microk8s/1866/scripts/cluster/join.py", line 784, in restart_all_services
    stderr=subprocess.DEVNULL,
  File "/snap/microk8s/1866/usr/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/snap/microk8s/1866/microk8s-stop.wrapper']' returned non-zero exit status 1


We also need to pass a min-vers string to the ClangImporter when running under the embed-bitcode mode

Otherwise, it will return the wrong triple when queried.
rdar://32863670
• Explanation: We recently added code to query the ClangImporter for the target triple. This code is on the swift-4.0-branch. Unfortunately, this leads to a bug where the clang importer returns the wrong triple when invoked with the -embed-bitcode option.
This patch fixes this.
This leads to object files that contain a linker minimum version for iOS instead of tvOS which prevents the swift compiler toolchain from building with bitcode embedded.
• Origination: The problem exists in the swift-4.0-branch.
• Risk: Low. This should only affect the -embed-bitcode option that now gets a clang-importer with the correct triple.
• Testing: A Swift regression test was added.

@swift-ci Please test


Stackdriver product rename

Renaming some APIs to Stackdriver brand

Change this here instead: https://github.com/googleapis/googleapis/blob/master/google/logging/logging.yaml#L6

@garrettjonesgoogle Can I merge this or should we wait next code generation?

Hmm I would at least like an open PR with the same change filed against googleapis :-)

This PR is generated by an automated script (so there are bunch of similar PRs among GCP org). I should have used a bot, rather than my account.
Anyways, I'd appreciate it if @garrettjonesgoogle takes care of changes in other repo :)
Sometimes I run an automated script which grep and replace strings like this.

PR created: https://github.com/googleapis/googleapis/pull/127
@tmatsuo why not include the googleapis repo in your automated script?

@garrettjonesgoogle Yeah probably it makes sense to include googleapis org too. I will try next time.

FYI there is both an org https://github.com/googleapis and a repo https://github.com/googleapis/googleapis under that org.

Coverage increased (+0.005%) to 85.452% when pulling 8507ac2a7362fd77c08ece6b4c666cb7efaf3996 on tmatsuo:stackdriver-rename into ba74dc3095a63a5b9031521a08c88fe6dc6577c7 on GoogleCloudPlatform:master.

Sometimes I run an automated script which grep and replace strings like this.

Please keep firing these PRs whenever you find something odd :)


Installation Failed ( pyEDFlib requires a version of NumPy, even for setup )

Привет. Не получается установить библиотеку cardIO. Пробовал устанавливать через pipenv, pip и через python setup.py install. В всех случаях ругается на pyEDFlib и NumPy.
Лог прилагается.
Hello. I am having a problem installing the cardIO library using pipenv or pip. Maybe the problem is in setup.py or pyEDFlib?
It is log:
Microsoft Windows [Version 6.1.7601]
(c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.
C:\Users\user>pipenv install git+https://github.com/analysiscenter/cardio.git#eg
g=cardio
Creating a virtualenv for this project:
Pipfile: C:\Users\user\Pipfile
Using c:\python\python.exe (3.7.4) to create virtualenv:
[ =] Creating virtual environment...Already using interpreter c:\python\python
.exe
Using base prefix 'c:\python'
New python executable in C:\Users\user.virtualenvs\user-KgVmIwbj\Scripts\python
.exe
Installing setuptools, pip, wheel...
done.
Successfully created virtual environment!
Virtualenv location: C:\Users\user.virtualenvs\user-KgVmIwbj
Creating a Pipfile for this project:
Installing git+https://github.com/analysiscenter/cardio.git#egg=cardio:
Warning: You installed a VCS dependency in non-editable mode. This will work fin
e, but sub-dependencies will not be resolved by $ pipenv lock.
To enable this sub-dependency functionality, specify that this dependency is e
ditable.
Collecting cardio from git+https://github.com/analysiscenter/cardio.git#egg=card
io
Cloning https://github.com/analysiscenter/cardio.git to c:\users\user\appdata
local\temp\pip-install-g2sfymp2\cardio
Collecting numpy>=1.13.1 (from cardio)
Downloading https://files.pythonhosted.org/packages/26/26/73ba03b2206371cdef62
afebb877e9ba90a1f0dc3d9de22680a3970f5a50/numpy-1.17.0-cp37-cp37m-win_amd64.whl (
12.8MB)
Collecting scipy>=0.19.1 (from cardio)
Downloading https://files.pythonhosted.org/packages/50/eb/defa40367863304e1ef0
1c6572584c411446a5f29bdd9dc90f91509e9144/scipy-1.3.1-cp37-cp37m-win_amd64.whl (3
0.3MB)
Collecting pandas>=0.21.1 (from cardio)
Downloading https://files.pythonhosted.org/packages/c1/cf/58ccaa38d5670dd4d2ae
e5df90aa03d670ede3947b7148e72391c80d4f91/pandas-0.25.0-cp37-cp37m-win_amd64.whl
(9.2MB)
Collecting scikit-learn==0.19.1 (from cardio)
Downloading https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4
ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz (9.5MB)
Collecting numba>=0.35.0 (from cardio)
Downloading https://files.pythonhosted.org/packages/dd/89/861d76f7a677fc5ba7fa
fa8085017c43b76e3880e9e365f863f8cc800a46/numba-0.45.1-cp37-cp37m-win_amd64.whl (
2.0MB)
Collecting pywavelets>=0.5.2 (from cardio)
Downloading https://files.pythonhosted.org/packages/71/57/1b6c06f2b681975e5b43
ff13ba127031f668d65b592cc56fae6445b675c7/PyWavelets-1.0.3-cp37-none-win_amd64.wh
l (4.2MB)
Collecting matplotlib>=2.1.0 (from cardio)
Downloading https://files.pythonhosted.org/packages/1a/c0/69e3f695d7384012e90b
e1e16570c08953baae00fd98094179ef87c7d5a2/matplotlib-3.1.1-cp37-cp37m-win_amd64.w
hl (9.1MB)
Collecting dill>=<IP_ADDRESS> (from cardio)
Downloading https://files.pythonhosted.org/packages/39/7a/70803635c850e3512570
29089d38748516a280864c97cbc73087afef6d51/dill-0.3.0.tar.gz (151kB)
Collecting pydicom>=0.9.9 (from cardio)
Downloading https://files.pythonhosted.org/packages/fc/d5/da1fdf3b967e324ee47a
7ad9553c9b94c1193b6b98afd9eeda0efb76b9f7/pydicom-1.3.0-py2.py3-none-any.whl (7.1
MB)
Collecting pyedflib>=0.1.11 (from cardio)
Downloading https://files.pythonhosted.org/packages/a4/c1/11d90aa4d20a1d3df04e
a9e1db4e03fea4b199a5b515a057cbe5e35769c0/pyEDFlib-0.1.14.tar.gz (1.1MB)
Error: An error occurred while installing git+https://github.com/analysiscenter
/cardio.git#egg=cardio!
b' Running command git clone -q https://github.com/analysiscenter/cardio.git '
C:\Users\user\AppData\Local\Temp\pip-install-g2sfymp2\cardio'\n Running
command git submodule update --init --recursive -q\n ERROR: Command errored
out with exit status<PHONE_NUMBER>:\n command: 'c:\users\user.virtualenvs
\user-kgvmiwbj\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys
.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-instal
l-g2sfymp2\pyedflib\setup.py'"'"'; file='"'"'C:\Users\user
\AppData\Local\Temp\pip-install-g2sfymp2\pyedflib\setup.py'"
'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().rep
lace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _
file_, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info\n cwd
: C:\Users\user\AppData\Local\Temp\pip-install-g2sfymp2\pyedflib\n C
omplete output (4 lines):\n No module named 'numpy'\n *** package "numpy
" not found ***\n pyEDFlib requires a version of NumPy, even for setup.\n
Please get it from http://numpy.scipy.org/ or install it through your package ma
nager.\n ----------------------------------------\nERROR: Command errored out
with exit status<PHONE_NUMBER>: python setup.py egg_info Check the logs for full c
ommand output.\n'
This is likely caused by a bug in cardio. Report this to its maintainers.
Installation Failed

Apparently the problem has nothing to do with cardio on its own.
The thing is that you don't have numpy installed while it's required by pyedflib.
The question "why python tries to install pyedflib before numpy" is a notorious example of questions hardy ever answered as there is a long-existing problem with a weird install order (e.g. https://github.com/pypa/pip/issues/24).
As a workaround, install numpy first, then install cardio.

@roman-kh ,
I already have numpy. I think problem in the python version. I installed python 3.6.1 (instead of 3.7.4) and downloaded cardio using pipenv. It seems to work.
From this post https://github.com/holgern/pyedflib/issues/60, I think that pyEDFlib have not binaries files for python 3.7.


Add project_create to PagureService and add tests for it

Closes #204

/packit copr-build

/packit copr-build


Fix clippy warnings

Fix a couple of warnings found in nightly

It looks like clippy::non_send_fields_in_send_ty is nightly-only now.


Update limited-periodic-scanning-microsoft-defender-antivirus.md

Rewrite the guidance to enterprises to make it explicit that this feature is not supported in Enterprise environments, and that there is no way to manage it or automate turning it on or off via group policy.

@msftsichrist thank you so much for this pull request. As soona s you sign the CLA, I'll get it merged. I appreciate your help!

@microsoft-github-policy-service agree company="Microsoft"

From: microsoft-github-policy-service[bot] @.>
Sent: Friday, February 2, 2024 1:31:54 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Simon Christensen @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Update limited-periodic-scanning-microsoft-defender-antivirus.md (PR #13360)
@msftsichristhttps://github.com/msftsichrist please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org/).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-docs/pull/13360#issuecomment-1924729175, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYX37Y7U2XVJW5MYGKZAZ6LYRVLMVAVCNFSM6AAAAABCV4TSZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUG4ZDSMJXGU.
You are receiving this because you were mentioned.Message ID: @.***>

@denisebmsft Just checking, I think I did the CLA correctly (it seems to indicate such) but not sure as I responded to the bot via email, please let me know if there's anything further to get this change made.

@denisebmsft Just checking, I think I did the CLA correctly (it seems to indicate such) but not sure as I responded to the bot via email, please let me know if there's anything further to get this change made.

Thank you! Merged!


ACL Groups infinite loops

Consider this scenario:

Server A

Groups/WorkingGroup.ttl
Groups/WorkingGroup.ttl.acl (it says only B/Groups/Admins.ttl can read!)

Server B

Groups/Admins.ttl
Groups/Admins.ttl (it says only A/Groups/WorkingGroup.ttl can read!)
Work/File.ttl
Work/File.ttl.acl (it says only A/Groups/WorkingGroup.ttl can read! )

Now, when one tries to access any file where WorkingGroup or Admins can read (e.g. B/Work/File.ttl.acl), each server will ask the other to read the group, which will need to ask the other to read the Group to read the permission to read the Group, but then the server will ask back to read the other Group to read the other group permissions and so on, in an infinite loop.
Currently affects gold, I have commented out groups in ldnode

Moving to https://github.com/solid/solid/issues/8 as a result of the solid project workflow discussion. Closing.


CreateFile with Empty filename

I'm working on my individual project utilising dokan-dotnet.
When I tried to put a file on the root directory of the mount point  by drag&drop,
I caught the trace, CreateFile('', {, False, False, False, False, #9460, False, False}, [ReadData, DeleteChild], [None], [CreateNew], [SequentialScan], [Archive]).
What's the meaning of this? How can I properly deal with this?
(Environment Windows 10 Pro 16299/ DokanNet <IP_ADDRESS> from Nuget Package)

Hi @Youngdore ,
Empty file name is the same as the root folder M:\

Thank for such fast reply, @Liryna.
So this means "creating a new directory M:".
Should I have to return "success" or "already exist"?

@Youngdore already exist would be good here !
You should probably run the C# mirror https://github.com/dokan-dev/dokan-dotnet/tree/master/sample/DokanNetMirror with logs enabled to reproduce the main calls behavior.

Humm could it be possible that you provide during a listing an empty file name ?

@Liryna I'm not sure but it could be possible.
The project I'm working on is to make a remote file system accessible as a local drive in Windows.
After the system got AccessDenied against the CreateFile with the new file,
it produces the problematic call with an empty filename.

@Youngdore have you been able to find what create this call ?

@Liryna The problem was that kernel keeps creating file handles of root and my software was written to simply pass those requests to fetch root item and its children on remote. But, remote side was not able to process all the requests properly. So erroneous processing results make the problematic call.
It's because of lack of understanding how dokan behaves.
You can close this! Very appreciate!

@Youngdore good to see you could fix the issue !


Versioning Numerics Of Some bxdf Nodes Incompatable With USD 23.08

After compiling and using MatrialX (1.38.7) with USD 23.08 I get "coding errors" output when it parses the following mtlx files due to the version of the nodes in the files being x.y.z rather than just x.y that the USD versioning parser seems to expect (which looks like it will then return the version of these nodes as 0.0).  I don't know which side this might be an issue on (if at all) but iI thought i'd report it.
ND_gltf_pbr_surfaceshader (gltf_pbr.mtlx):
Coding Error: in _ParseVersionString at line 70 ....\usd\ndr\declare.cpp -- Invalid version string '2.0.1'
ND_standard_surface_surfaceshader (standard_surface.mtlx):
Coding Error: in _ParseVersionString at line 70 ....\usd\ndr\declare.cpp -- Invalid version string '1.0.1'
ND_standard_surface_surfaceshader_100 (standard_surface.mtlx):
Coding Error: in _ParseVersionString at line 70 ....\usd\ndr\declare.cpp -- Invalid version string '1.0.0'

Could you report this on the OpenUSD repo as well please?

Thanks for this report, @SimonCSmith, and that's a good suggestion, @meshula.
Since the authors of Autodesk Standard Surface used "1.0.0" and "1.0.1" as the version strings in their original whitepaper, it seemed valuable to reflect those choices in MaterialX when implementing corresponding graphs.
Let us know if there are updates to MaterialX that would be valuable, though it may turn out that the right place to make this adjustment is on the OpenUSD side.

Thanks Nick/Jonathan for the quick response. I have reported it over on the OpenUSD side as requested - it does make the most sense all things considered.

It looks like the discussion on the USD GitHub Issue is moving forward, so let's close out this original report, and we can focus on the discussion there.  Thanks again for bringing this to our attention, @SimonCSmith!


[FX-4809] Fix initial value issue in RichTextEditor

FX-4809
Description
Issues:

Form.RichTextEditor is dirty by default if defaultValue was passed
Form.RichTextEditor does not have initial value, even if initialValues are defined on the form level

How to test

Test it on temploy

Development checks

[ ] Add changeset according to guidelines (if needed)
[ ] Read CONTRIBUTING.md and Component API principles
N/A Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
N/A Annotate all props in component with documentation
N/A Create examples for component
[ ] Ensure that deployed demo has expected results and good examples
[ ] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[ ] Self reviewed
[ ] Covered with tests (visual tests included)

Breaking change

[ ] codemod is created and showcased in the changeset
[ ] test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run package:alpha-release

@toptal-bot run package:alpha-release


Linux support is broken

"simple-git-hooks": "^2.0.1",

➜ npx simple-git-hooks
/usr/bin/env: ‘node\r’: No such file or directory

Should be fixed in 2.0.2, Thanks!


mpark/variant Error when running make

All the requirement are already installed, and running cmake .. succeed, however when running make -j I get the following error:

DeepSDF/src/SampleVisibleMeshSurface.cpp:11:
/usr/local/include/pangolin/compat/variant.h:10:13: fatal error: mpark/variant.hpp: No such file or directory
 #   include <mpark/variant.hpp>
             ^~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:62: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs.

ok, it appears passing -DCMAKE_CXX_STANDARD=17 to cmake .. fixes the problem

Hi @HM102 , Have you done something else apart from using -DCMAKE_CXX_STANDARD=17 with cmake ..? I tried adding the c++17 standard, both while installing DeepSDF than for Pangolin (just in case), but I still have an issue with mpark/variant.hpp :
$ make
[ 14%] Built target cnpy
[ 21%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o
In file included from /usr/local/include/pangolin/geometry/geometry.h:35:0,
                 from /home/giancos/git/DeepSDF/src/SampleVisibleMeshSurface.cpp:11:
/usr/local/include/pangolin/compat/variant.h:10:32: fatal error: mpark/variant.hpp: No such file or directory
compilation terminated.
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:62: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/all' failed
make[1]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

anyone else got similar issue?

copy this folder to /usr/local/include/ works for me.

Hi @HM102 , Have you done something else apart from using -DCMAKE_CXX_STANDARD=17 with cmake ..? I tried adding the c++17 standard, both while installing DeepSDF than for Pangolin (just in case), but I still have an issue with mpark/variant.hpp :
$ make
[ 14%] Built target cnpy
[ 21%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o
In file included from /usr/local/include/pangolin/geometry/geometry.h:35:0,
                 from /home/giancos/git/DeepSDF/src/SampleVisibleMeshSurface.cpp:11:
/usr/local/include/pangolin/compat/variant.h:10:32: fatal error: mpark/variant.hpp: No such file or directory
compilation terminated.
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:62: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/all' failed
make[1]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

anyone else got similar issue?

Yes, I solved it by deactivate conda python env.

@apchenstu Well，can you send link again?this link cannot be used.

Same bug for me but different place. I have tried  -DCMAKE_CXX_STANDARD=17 and deactivate conda python env. But neither works for me. Any suggestions?
sudo make -j
[  7%] Building CXX object third-party/cnpy/CMakeFiles/cnpy.dir/cnpy.cpp.o
[ 14%] Building CXX object third-party/cnpy/CMakeFiles/cnpy-static.dir/cnpy.cpp.o
[ 21%] Linking CXX static library libcnpy.a
[ 28%] Linking CXX shared library libcnpy.so
[ 28%] Built target cnpy-static
[ 28%] Built target cnpy
[ 35%] Building CXX object third-party/cnpy/CMakeFiles/example1.dir/example1.cpp.o
[ 42%] Building CXX object CMakeFiles/PreprocessMesh.dir/src/ShaderProgram.cpp.o
[ 50%] Building CXX object CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o
[ 57%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o
[ 64%] Building CXX object CMakeFiles/PreprocessMesh.dir/src/Utils.cpp.o
[ 71%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/Utils.cpp.o
[ 78%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/ShaderProgram.cpp.o
In file included from /usr/local/include/pangolin/geometry/geometry.h:35:0,
from /data0/liuke/research/DeepSDF/src/PreprocessMesh.cpp:11:
/usr/local/include/pangolin/compat/variant.h:10**:32**: fatal error: mpark/variant.hpp: No such file or directory
compilation terminated.********
CMakeFiles/PreprocessMesh.dir/build.make:75: recipe for target 'CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o' failed
make[2]: *** [CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/local/include/pangolin/geometry/geometry.h:35:0,
from /data0/liuke/research/DeepSDF/src/Utils.h:9,
from /data0/liuke/research/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/compat/variant.h:10:32: fatal error: mpark/variant.hpp: No such file or directory
compilation terminated.
CMakeFiles/PreprocessMesh.dir/build.make:103: recipe for target 'CMakeFiles/PreprocessMesh.dir/src/Utils.cpp.o' failed
make[2]: *** [CMakeFiles/PreprocessMesh.dir/src/Utils.cpp.o] Error 1
In file included from /usr/local/include/pangolin/geometry/geometry.h:35:0,
from /data0/liuke/research/DeepSDF/src/SampleVisibleMeshSurface.cpp:11:
/usr/local/include/pangolin/compat/variant.h:10:32: fatal error: mpark/variant.hpp: No such file or directory
compilation terminated.
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:75: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/local/include/pangolin/geometry/geometry.h:35:0,
from /data0/liuke/research/DeepSDF/src/Utils.h:9,
from /data0/liuke/research/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/compat/variant.h:10:32: fatal error: mpark/variant.hpp: No such file or directory
compilation terminated.
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:103: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/Utils.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/Utils.cpp.o] Error 1
[ 85%] Linking CXX executable example1
[ 85%] Built target example1
CMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/all' failed
make[1]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/PreprocessMesh.dir/all' failed
make[1]: *** [CMakeFiles/PreprocessMesh.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Solved it by installing a package from https://github.com/mpark/variant.git. I guess it is an extra third-party package,


Rendered html is inline

When I import components in application.html.erb the content of my imports gets imported, not link URLs like it's supposed to work.
application.html.erb
//= require polymer/polymer
//= require paper-styles/paper-styles-classes
//= require iron-flex-layout/classes/iron-flex-layout
//= require paper-drawer-panel/paper-drawer-panel
//= require paper-header-panel/paper-header-panel
//= require iron-icons/iron-icons
//= require paper-toolbar/paper-toolbar
//= require paper-icon-button/paper-icon-button
//= require paper-menu/paper-menu
//= require paper-material/paper-material
//= require paper-item/paper-item
//= require iron-selector/iron-selector
//= require iron-pages/iron-pages
//= require paper-toast/paper-toast

rendered application.html.
/** @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ :host { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; } iron-selector > #drawer { position: absolute; top: 0; left: 0; height: 100%; background-color: white; will-change: transform; box-sizing: border-box; -moz-box-sizing: border-box; @apply(--paper-drawer-panel-drawer-container); } .transition > #drawer { transition: -webkit-transform ease-in-out 0.3s, width ease-in-out 0.3s; transition: transform ease-in-out 0.3s, width ease-in-out 0.3s; } .left-drawer > #drawer { @apply(--paper-drawer-panel-left-drawer-container); } .right-drawer > #drawer { left: auto; right: 0; @apply(--paper-drawer-panel-right-drawer-container); } iron-selector > #main { position: absolute; top: 0; right: 0; bottom: 0; @apply(--paper-drawer-panel-main-container); } .transition > #main { transition: left ease-in-out 0.3s, padding ease-in-out 0.3s; } .right-drawer > #main { left: 0; } .right-drawer.transition > #main { transition: right ease-in-out 0.3s, padding ease-in ------ Cut to save space in this issue -------

Everything inline, minified and without the js.

Polymer-rails inlines all css and js into an HTML component and merges the into one single application.html. So what exactly is working incorrectly?

example app

my app

So something in your required elements messes up html. Try to find that line by requiring custom components one by one.

I find your argument completely valid, and you are true about that there are some components that mess up the html. The problem is that i'm only using standard polymer components from the starter project that works flawless outside rails. Did you try the starter kit etc. when you updated the gem to 1.0? Just curious to see if this is gem related or a rails conflict with something else. Thanks!

I've added a quick fix to v1.0 branch. Try using gem from branch 1.0.x and let me know if it solves issue for you.

Still facing issues with rendering. To make sure it's not related to my ruby environment - did you try the Polymer starterkit using 1.0.x?
I'll see if I can test this in a virtual machine also to make sure it's not a conflict.
I also assume that referring to your branch in gemfile should work just fine.
gem 'polymer-rails', :github => 'alchapone/polymer-rails', :branch => '1.0.x'

Yes, I've found while trying  to use starterkit. And fixed it in branch 1.0.x. Most of components from starterkit work fine with that fix. But there might still be some issues with icons components. So yes, specify branch in gemfile, as above, and let me know if there are any issues with some components.


WIP: Implementation of Generic interpolator for multilabel images

Came across http://www.insight-journal.org/browse/publication/950 which is a generalization of the MultiLabel interpolator included in ITK.
It seems as though it's not in ITK proper but it might be useful for transforming multilabel images, so I took the code from the paper and implemented it in the options for ANTs.
My intention is to allow specification of the standard interpolator types as a an option to the GenericLabel interpolator to allow interpolation of label transforms. Right now hard-coded to linear as per paper suggesting it works the best under their limited test case.
Comments requested. Is this worth adding to ANTs? Or should this module make it into ITK proper?
I am not the original author of the GenericLabel interpolator code.

Thanks for this, Gabriel.  Before merging this, though, please move the generic label interpolator class from Examples/include to the ImageRegistration directory.

Moved the class to ImageRegistration and added a bit more to the help output.
Things still to add are the other interpolators as options to the interpolator type for GenericLabel, I would expect at least BSpline as well. Not sure it makes sense to duplicate Gaussian as it replicates MultiLabel, or Nearest since it's a no-op. Does sinc make any sense at all to expose to the GenericLabel methods?

@gdevenyi THANKS!


How I can hook C functions?

Hi,
Thank you for your git.
How can I hook C funtion, please?
for example:
int uname(struct utsname *);
or
CFDictionaryRef CNCopyCurrentNetworkInfo(CFStringRef interfaceName);

try DYLD_INTERPOSE or fishhook?

Thank you for your answer.
And can you show me an example for hooking C++ functions, please?


Please make old google code wiki content accessible in github

Been there, done that.
The old wiki content is now available at https://github.com/CADbloke/google-diff-match-patch/wiki
@CADbloke @mz2 @JanX2 @NeilFraser I found an earlier "Objective C Port" of the project which seems to lack the wiki branch.
I just wanted to make you all aware of it.

@anaran Thanks!


TestSuiteParser inserts Cobol statements for 88-level check twice

The duplicate code does not cause the tool to fail, but the tool should not generate these Cobol lines twice.

Bogus bug report - the test case was wrong, not the production code.

Bogus bug report - the test case was wrong, not the production code.


Sticky toolbar implement.

@asmriti Can you post a loom video for this? Also can you test the form builder in dev.optible.ai/f url. Thanks.

Loom Video: https://optibleai.slack.com/files/U06C4GR8Y5T/F06T0PCPHP0/screenshare_-_2024-04-08_11_13_06_am.webm


Add Index::open_directory function

Closes #279

[ ] How would you like this tested, and where?

Side note: happy to make a new issue, but it would be nice if there was a bit more consistency to the method names here. I'm going to attempt to propose a solution, but I'm not trying to cause more trouble than its worth either. :)
Creation
Index::create_in_ram(schema) // uses ram dir -> Index::from_directory
Index::create(path, schema) // uses mmap dir -> Index::from_directory
Index::create_from_tempdir(schema) //uses mmap dir -> Index::from_directory
Index::from_directory(managed_directory, schema) // a little more universal - but creates a new setup

Maybe? make from directory take a directory and wrap it in managed ourselves?
Does managed need to be exposed outside of the crate?
Index::from_directory -> Index::create_directory ?

Opening
Index::open(path) // uses mmap
Index::open_directory(directory) // new one
``

Ok, random ideas aside. Hopefully the meat of the PR is what you were looking for.

Coverage remained the same at 91.068% when pulling f34f9e528d289b7f17ef402411aace05b4118507 on drusellers:index-open into 5637657c2f076d7fc74adc317d9e093b2ac3fcfc on tantivy-search:master.

I agree with the concern. Also I wonder if we could entirely hide the concept of ManagedDirectory from all public API, remove the impl Directory and add the method to ManagedDirectory directly instead.
That would require a bit more thinking though.

Can you open a new ticket?

(merging this for the moment.)

done: https://github.com/tantivy-search/tantivy/issues/286


Workspace UI password

The Workspace UI requires authentication with the password but the documentation does not mention neither the password nor where it can be obtained from.
The password can actually be found in the file:
workspace-ui/generated-values.yaml
but it is something one has to figure out themselves.
Please add this information to the deployment guide.

Fixed with 698069cb457f1d21e0867c79331def2a50736e3f


ReferenceError: Can't find variable: IntersectionObserver

I'm testing API with Paw Version 3.3.5 and whenever I got error, I always get this page instead of normal ignition error
JavaScript Error
http://localhost:8000/api/current:156:286071
http://localhost:8000/api/current:156:286428
http://localhost:8000/api/current:156:286653
Fp@http://localhost:8000/api/current:151:248345
vh@http://localhost:8000/api/current:151:267816
v@http://localhost:8000/api/current:151:103636
dispatchEvent@[native code]
Bn@http://localhost:8000/api/current:151:103969
qn@http://localhost:8000/api/current:151:104922
mh@http://localhost:8000/api/current:151:266551
mh@[native code]
http://localhost:8000/api/current:151:38305
Ws@http://localhost:8000/api/current:151:148136
ph@http://localhost:8000/api/current:151:263404
Xm@http://localhost:8000/api/current:151:260109
Vm@http://localhost:8000/api/current:151:256827
Rg@http://localhost:8000/api/current:151:284065
http://localhost:8000/api/current:151:289335
qm@http://localhost:8000/api/current:151:260261
qg@http://localhost:8000/api/current:151:289321
http://localhost:8000/api/current:151:296402
http://localhost:8000/api/current:156:290838
global code@http://localhost:8000/api/current:160:18

Reproduction Steps

User Paw to call an API
Any error will always return Something went wrong in Ignition! instead of actual error
Opening said API in browser give normal error

User Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)

Hi @kuntau, thanks for reporting this! I thought we had fixed this a while ago but I gave it a quick try on Rapid API (formerly Paw) anyways. I'm using latest version 4.1.3 and it doesn't seem to be an issue there. Can you try using Paw's latest version instead?


Updated ESMI readme link

we do not allow merges to github branches. It must come from gerrit to upstream.
I set up new rules that shouldn't allow you to merge.
This breaks devops promotion scripts.


Interpolate variable given inside arguments input for Docker@2 task.

Type: Question, Bug, or Feature?
Environment

Azure Pipelines, Agent Hosted

Issue Description
Interpolate variable given inside arguments input for Docker@2 task.
Example
The displayName can interpolate variable to correct output. But, arguments use the given verbatim string without interpolate argument.
Expected: --build-arg environment=dev
Actual: --build-arg environment=$(echo targetEnvironment)
---
pool:
  vmImage: 'ubuntu-latest'

stages:
- stage: Build
  jobs:
  - job: 'MatrixJob'
    pool:
      vmImage: 'ubuntu-latest'
    strategy:
      maxParallel: '3'
      matrix:
        DevelopmentBuildMatrixJob:
          targetEnvironment: 'dev'
          targetEnvironmentName: 'Development'
        TestBuildMatrixJob:
          targetEnvironment: 'test'
          targetEnvironmentName: 'Test'
        ProductionBuildMatrixJob:
          targetEnvironment: 'prod'
          targetEnvironmentName: 'Production'

    - task: Docker@2
      displayName: 'Build Container Image ($(targetEnvironmentName))'
      inputs:
        containerRegistry: '$(containerRegistry)'
        repository: '$(imageName)'
        command: 'build'
        Dockerfile: 'Dockerfile'
        tags: '$(targetEnvironment)-$(Build.BuildNumber)'
        arguments: "--build-arg environment=$(targetEnvironment)"

It does not look like a Docker task issue per se, you'd probably be facing this issue with any other task being used in the same context, right?
@chshrikh to confirm

I experienced this issue with Docker@2 task.
For example, the  repository: '$(imageName)' and tags: '$(targetEnvironment)-$(Build.BuildNumber)'under input group did interpolate to use correct variables values, but not arguments.

The difference is the variables being served from the matrix context, right?

I discovered this issue from the matrix context only. I have not tested it without matrix context.

Hey @sheeeng - this looks like an issue with the general service, not with a particular task. This repo is meant for issues just dealing with specific tasks - please open a ticket at https://developercommunity.visualstudio.com/spaces/21/index.html, that way we can get the right eyes on this.

Really bummed the discussion didn't continue here.  I'm running into this, and I've been googling for hours.  I can't find the ticket, if it even got created, on developer community.  If the person who wrote the ticket over there sees this, please paste a link here?

Sad, I've found two related tickets:

CLI YAML Task Cannot Use a Variable from a matrix strategy - closed because they "didn’t get response for several days"
YAML Builds displayname not resolving variables with matrix strategy - moved to product teams, converted from problem to idea, closed "in order to maintain a manageable list of suggestions".

As a workaround, we are going to use pipeline templates.


Add more configurations

I think that's what I meant (config.py) as "Add more configurations", and there should be enough, so I will close this.


Bot only work with current user.

Hi, do you heve any idea why bot works with only current facebook account which created facebook page and api. Api doesn't work when another user send a message.

Until your app is not approved by Facebook, you have to be the admin of the app. You can add new admins by going to your App Admin Page > Roles.

@derozgurg Hi, you can add additional users as testers in the Facebook Developer settings for the FB Page you're using. After your facebook chatbot is approved then everyone can talk to it without restrictions.


Worlds Folder

Motivation:
While working on larger Minecraft projects, teams often work with multiple different worlds at the same time. At the moment, it is only possible to define a single world template inside of the project config.
Proposal:
Add a new minecraftWorlds field to the project config which defines a path to a folder storing Minecraft worlds.
{
  "name": "My Project",
  "packs": {
    "behaviorPack": "./packs/BP"
  },
  "minecraftWorlds": "./worlds"
}

I think the mincraft in minecraftWorlds might be a little redundant.

Should also be an array if the intention is to support multiple

Good call, "worlds" is more inline with "packs".
My current thinking is that all worlds of a project would be stored within the same folder so an array variant wouldn't be strictly necessary

I think it only makes sense as an array. I already know that I would never use multiple worlds in a project but it's highly probable that I would use a single world which would be contained in a folder with other worlds that I don't need.
This is because I typically work directly in .../com.mojang/minecraftWorlds folder where the world is a Git repository. When I work with Regolith I put the regolith project in a subfolder of the wrold: .../com.mojang/minecraftWorlds/<world-name>/regolith, so for me the only world path on the list would be ...

This is an interesting perspective. I wonder whether we can somehow find a solution that better supports the different ways people work with Minecraft worlds.

Main proposal is now updated to include the recent ideas


the model person_detection_retail_0002 doesn't work well

I tested the inference sample object_detection_sample_ssd with this model person_detection_retail_0002, which I downloaded by download.py.
but the result is not good, the pictures I used is from VOCTest dataset, it is unable to detect the persons accurately in pic.
the command is like
object_detection_sample_ssd -m person-detection-retail-0002.xml -l libcpu_extension.so -i 004690.jpg
what's wrong in my steps?

I found it could be caused by dataset, the person size in pic couldn't be large than 200 pixels.
sorry

Yeah, the person detection models we have, typically, work with small-to-moderately-sized objects.


feat: impl storage recovery

Signed-off-by: MrCroxx<EMAIL_ADDRESS>close #25

Codecov Report

Merging #32 (01a0b40) into main (85d8341) will decrease coverage by 2.64%.
The diff coverage is 3.31%.

@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
- Coverage   40.57%   37.94%   -2.64%
==========================================
  Files          32       32
  Lines        3088     3297     +209
==========================================
- Hits         1253     1251       -2
- Misses       1835     2046     +211

Impacted Files
Coverage Δ

foyer-storage-bench/src/main.rs
0.33% <0.00%> (ø)

foyer-storage/src/device/mod.rs
12.50% <0.00%> (ø)

foyer-storage/src/flusher.rs
0.00% <0.00%> (ø)

foyer-storage/src/reclaimer.rs
0.00% <0.00%> (ø)

foyer-storage/src/region.rs
0.00% <0.00%> (ø)

foyer-storage/src/region_manager.rs
0.00% <0.00%> (ø)

foyer-storage/src/store.rs
0.00% <0.00%> (ø)

foyer-storage/src/device/fs.rs
77.48% <100.00%> (-0.30%)
:arrow_down:


DO NOT MERGE [UNDERTOW-2416] Test fix with a test compilation error

This PR is created solely for testing purposes of the ci fix in #1615

I'll continue working on this after my PTO


Undefined method '%' for BigDecimal

The BigDecimal class, in big/big_decimal.cr, has no % method, making it impossible to modulo a BigDecimal. This can be seen in this code:
require "big/big_decimal.cr"

a = BigDecimal.new 5
puts a % 2

Expected output: 1
Actual output: Error: undefined method % for BigDecimal
This can be seen on Carcin.

Thanks!
Unfortunately none of the core team members wrote BigDecimal so I don't understand how the code works to fix it.

Ok, good to know. With Hacktoberfest starting tomorrow I might try and look at the code and see if I can fix it myself and PR.

Should be fixed by #9784.

Issues are automatically closed when PRs merge

Thanks for filing and fixing, I hit this one too.


Custom transition effect as a parameter

I would like to create a new transition effect which I can pass to the component as a parameter like so:
...

const params = {
  effect: 'newEffect',
  newEffectParams: {
    paramOne: 10,
  },
};

...

<Swiper {...params} />

...

I would like to code the effect in the same structure as it is done on the four build-in effects, for example, the "cover flow" /node_modules/swiper/src/components/effect-coverflow/effect-coverflow.js
Can someone help how (and where) to integrate a new effect in this manner of the four build-in ones?
Thanks a lot

I don't think Swiper itself is supporting this feature. For more info, you should ask Swiper team directly. Close this for now.


boost error in windowsXP

When client tries to connect to server and the ip address does not exist websocketpp ends up calling: websocketpp::endpoint::handle_connect_timeout(...)
and then boost calls: boost:asio::basic_socket::cancel();
and this function throws an error: boost::asio::detail::throw_error(ec, "cancel");
#if defined(BOOST_ASIO_MSVC) && (BOOST_ASIO_MSVC >= 1400) \
  && (!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600) \
  && !defined(BOOST_ASIO_ENABLE_CANCELIO)
  __declspec(deprecated("By default, this function always fails with "
        "operation_not_supported when used on Windows XP, Windows Server 2003, "
        "or earlier. Consult documentation for details."))
#endif
  void cancel()
  {
    boost::system::error_code ec;
    this->get_service().cancel(this->get_implementation(), ec);
    boost::asio::detail::throw_error(ec, "cancel");
}

And this ends up crashing the process on windows xp
Can you please help me with some workaround for this? Because I need it working on windowsXP too :(

Hi, is this issue still there?


Expose validation exception in SamlResponse

Hi, we have a requirement in our product to take different actions based on the exact error with the SAML response (in our case, show the user different documentation pages on how they can fix the problem).
The best way I found to do this which doesn't rely on string matching was to expose the actual exception as in this PR, then use ValidationException#getErrorCode to drive the logic.
I have not updated any tests yet, but am happy to do that if you agree this is an acceptable change.

Coverage decreased (-0.03%) to 94.524% when pulling 2886c715486a5832f819f7c34d37e74a4cb865ef on petenattress:expose-validation-exception into bed44f360ba47be06e02262216b1ec2cafa3022c on onelogin:master.

It's reasonable.
You may update LogoutRequest and LogoutResponse
And you should provide a getter as well to the Auth class in order to provide a similar method than getLastErrorReason , the method that returns the errorReason. You will see it updated on processResponse and processSLO -> 1 and 2
Test coverage for the new getValidationException methods should be provided as well

@pitbulk thank you for the feedback, I will make those changes as soon as I have some spare time. For the test coverage, will it be sufficient to just have one test for each new getValidationException method, or would you like me to add an assertion matching each call to getError, e.g.
assertEquals("SAML Response must contain 1 Assertion.", samlResponse.getError());
assertEquals(ValidationError.WRONG_NUMBER_OF_ASSERTIONS, ((ValidationError) samlResponse.getValidationException()).getErrorCode());

I understand 1 getValidationException per getError appearance is ideal, but you can simply cover the method.

@pitbulk updated with tests and additional exception getters as you described.

Thanks for contributing

@pitbulk no problem, thanks for the useful library :)


Enable debug logging for canary

Issue #, if available:
Description of changes:
Temporarily enable these fields to allow for debugging
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/approve
/lgtm


IEEE Bridge article for SMP

Desired Behavior

A draft of the article for IEEE Bridge needs to be delivered. Link to abstract.

First draft completed and submitted for review.

Link to draft - https://docs.google.com/document/d/1tv3VFzn1fVKLwGPUnKs6I6zp-ZTYpOxy1BeC-3ivzeU/edit#

Looking forward to the publication

Publisher's review is complete. Suggested edits forthcoming.

Published! https://www.nxtbook.com/nxtbooks/ieee/bridge_issue3_2021/index.php#/p/16  // @sunkuranganath @mum4k @mganguli @oschaaf


Dragged item jumps to the top of the list when the drag starts

Describe the bug
An item jumps to the top of the list when the drag starts—with certain conditions.
To Reproduce
Press and hold any item any item to call onDragBegin. Drag the item anywhere, and release the item, but before the animation is completed and onDragRelease is called—try to swipe the screen up or down (no matter whether or not the screen actually scrolls). Then, press and hold any item again to call onDragBegin again, and the item suddenly jumps to the top of the list.
Platform & Dependencies
Please list any  applicable dependencies in addition to those below (react-navigation etc).

Platform: iOS 14.4.2
React Native or Expo version: RN 0.63.2, Expo 14.3.4
Reanimated version: 1.13.0, tried with 2.1.0 too
React Native Gesture Handler version: 1.10.3

My DraggableFlatList is not inside a ScrollView. It's inside a SectionList, but even if I place it inside a View, the issue persists.
https://user-images.githubusercontent.com/12067936/114315371-5e0e3d80-9b07-11eb-9551-0c1ccd4676c2.mp4

The bug doesn't exist with react-native-draggable-flatlist v. 2.2.0, but that version doesn't support the dragHitSlop which is needed to be able to scroll the list. Version 2.5.0 introduced that property, and the bug exists with that version, too.
My DraggableFlatList has a prop
dragHitSlop={{ left: -(w - 62)}}

to only allow dragging items from the end of the row. Otherwise scrolling the list is not possible. (Which is another issue, for which using dragHitSlop is a workaround).

this was fixed in 2.5.5, but looks like it was accidentally dropped in 2.6.0, will re-add and release 2.6.1
https://github.com/computerjazz/react-native-draggable-flatlist/compare/v2.5.5...v2.6.0#diff-0b5adbfe7b36e4ae2f479291e20152e33e940f7f265162d77f40f6bdb5da7405L779

edit: done, can you try 2.6.1 and see if this solves your issue @heikkimantere ?

Seems to work, thank you! 😀
I had an occasional offset bug when using ListHeaderComponent and contentContainerStyle, but can't reproduce it now... I'll report here if that occurs again.

if your header changes height you may have to pass a layoutInvalidationKey to force remeasurement. https://github.com/computerjazz/react-native-draggable-flatlist/issues/136


[Release-1.26] August Test Backports

Signed-off-by: Derek Nola<EMAIL_ADDRESS>

Proposed Changes
Contains the following PRs backported to 1.26:

#8013
#8079
Parts of #8080, we do not include the go coverage sections, as this branch is not on GO 1.20

Types of Changes
Test fixes

Verification

Testing

Linked Issues

User-Facing Change

Further Comments

Merging, s390x error is a currently affecting all builds.


Feature: enable FPM in an existing UI5 application

Done with this PR:

new feature: enableFPM that modifies and existing UI5 app to support the flexible programming model
unit tests validating the functional correctness
example (examples/fpm-cli) illustrating how to use it
bug fix: add missing controlAggregation property to generateCustomPage (@stefanschreck @815are fyi)

Besides the fact that i would have assumed you have some sort of abstraction to work with the manifest in a nice and easy way (insted of doing everything by hand), the code looks fine to me.

We have something like that in one of the not yet release Fiori tools, however, I am not fully convinced it is needed. The manifest is 'just' an object, so there is not too much you would win with abstracting things. Nevertheless, if we start seeing the same manifest access code across modules, we can for sure add an abstraction to the ui5-config project.


[Performance] Using multiprocessing to accelerate PDF processing

Feature request
Using multiprocessing to accelerate PDF processing.
For instance, when we process large PDF files, the loading process is long. Can we use multiprocessing in python to accelerate this? after some investigation, I have some options:

native multiprocessing mechanism;
joblib
ray

Due to the existing GIL in Python, we cannot use multithreading to achieve this.

I would recommend processing pages in parallel.
A PDF document is basically a list of objects stored in a blob. A page object is a hierarchy of those objects and determines how and where text is rendered.
With pdfminer.six you can detect the number of pages without doing any of the advanced processing. Then you can create jobs to process each of the pages in parallel.
We wont include explicit support for parallel processing since this is already possible with the composable api and some custom orchestration code.

It is possible, but it's tricky to implement it.
As you know, CPython has GIL, so using multi-threading is not helpful.
If we use multi-processing, the objects in pdfminer.six are inter-linked each other, which means it's not easy to serialize them and passing them between processes, which means solutions like pool.map will always throw out a serialization error: the pickle thing.
So is it possible to provide a multiprocessing mechanism in the source code which can invoked by the user, rather than let the user to implement it?

As you know, CPython has GIL, so using multi-threading is not helpful.

Have you tried? This is an assumption worth testing.

If we use multi-processing, the objects in pdfminer.six are inter-linked each other, which means it's not easy to serialize them and passing them between processes, which means solutions like pool.map will always throw out a serialization error: the pickle thing.

The only thing you need to communicate is the path of the pdf file and the page you want to process. The process can read the file from disk and extract the text from the specified page.
PDF is built in such a way that you don't need to read the entire byte stream in order to process a particular page. It can read all relevant objects and ignore the rest. That's what pdfminer.six will provide you with out of the box if you ask it to extract text from a specific page only.


Link not opening

http://localhost/online-shopping-system-with-advanced-admin-page-master.
The following link is not opening even after successful importing project.

Hey @yash982000  is that link opened?

Hey @yash982000 is that link opened?

No @NavneetGaira1999
Also, I do not have any existing codebase too run this now since it is a long time now.

@yash982000  try this http://localhost/online-shopping-system-master


GDScript: Cache scripts after parse error

@Rindbee pointed out that #68374 doesn't cache scripts after parsing errors like the previous logic did. This fixes that
not a functionality regression as far as i can tell, but it's incorrect as-is

Thanks!


High CPU Load When ATEM Mini Pro Is Connected

The CPU load caused by companion is around 1-2% when there's not device connected. As soon as I add the ATEM Mini Pro, CPU load rockets to a bit above 30% and stays there forever.
I am not sure if there's a legit reason for that or it should be considered a bug.

Nobody? Companion is eating my MacBook alive and I am the only one with that problem?

I am running companion of Linux not Mac, but am only seeing an increase of about 2-4%.
When I have a chance I shall do some tests to see if I get a larger difference on another machine.
What version of companion are you running?
This could be related to https://github.com/nrkno/tv-automation-atem-connection/issues/96

It does run better on Linux, I can confirm that:
   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  22660 mewald    20   0   11.9g 114840  75364 S 104.7   0.5   1087:32 VBoxHeadless
  78042 root      20   0 2197380 296788  32344 S   4.7   1.2   0:04.25 node
   2345 mewald    20   0 1890240  77716  45688 S   1.0   0.3  17:01.14 Xorg
  21933 mewald    20   0  519384  58648  38244 S   1.0   0.2   0:30.31 gnome-terminal-
    993 root      20   0    9612   6124   4504 S   0.7   0.0   0:58.13 bluetoothd
  25857 mewald    20   0 5239764 327184  50508 S   0.7   1.3   3:33.33 code

On Mac, I am running v2.1.2

I have just taken a quick look at this on an M1 mac, and looks better in the 2.2 betas.
I am seeing about 20-25% cpu in 2.2 compared to 30-35% cpu in 2.1.3
If I run up a connection outside of companion it is about ~5% cpu.
I don't have any ideas right now on where the extra cpu is going, I shall pick this up another day to try and figure out why

Thanks for being persistent with the problem! Tbh, for something like connecting to the ATEM and sending a command every once in a while, I would expect to see companion in the output of top at all ;)

For what it’s worth, I’m also seeing exactly this:
M1 Mac Mini running Big Sur
Companion 2.1.2
x32, atem, Visca (x2), propresenter, unifi, and generic-wake-on-lan modules loaded
~33% CPU usage with atem module enabled
~5% CPU usage with atem module disabled
No curious log items or unexpected behaviors — all seems to work, just with bafflingly-high CPU usage specifically related to the ATEM module being enabled.

Apparently, smoking up a 3rd of a mac book pro isn't much of a deal for most folks here 😂

Same issue here, fresh install of latest companion brings 35% CPU load for companion process only. Making my fans spin like crazy if I open additional apps... Can this issue be fixed soon, please?!? MacOS BigSur 11.6 on 2020 Macbook Pro 13"


Creation of dynamic property ArtemSchander\L5Modular\Console\MigrateMakeCommand::$files is deprecated

Deprecation warning on PHP 8.2:
Creation of dynamic property ArtemSchander\L5Modular\Console\MigrateMakeCommand::$files is deprecated

I made a pull request to solve this.


update did not work

I tired to update the processflow with command

conda update –c acme processflow
It did not work.

I am not sure if we can use this command to update or we need to install it over every time with 'conda create ...'. Could you please add the updating to the documentation?
Here is the error I am getting
bash-4.1$ > conda update –c acme processflow
An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:
https://github.com/conda/conda/issues

Current conda install:
           platform : linux-64
      conda version : 4.3.21
   conda is private : False
  conda-env version : 4.3.21
conda-build version : not installed
     python version : 2.7.13.final.0
   requests version : 2.14.2
   root environment : /export/mccoy20/anaconda2  (writable)
default environment : /export/mccoy20/anaconda2
   envs directories : /export/mccoy20/anaconda2/envs
                      /export/mccoy20/.conda/envs
      package cache : /export/mccoy20/anaconda2/pkgs
                      /export/mccoy20/.conda/pkgs
       channel URLs : https://repo.continuum.io/pkgs/free/linux-64
                      https://repo.continuum.io/pkgs/free/noarch
                      https://repo.continuum.io/pkgs/r/linux-64
                      https://repo.continuum.io/pkgs/r/noarch
                      https://repo.continuum.io/pkgs/pro/linux-64
                      https://repo.continuum.io/pkgs/pro/noarch
        config file : None
         netrc file : None
       offline mode : False
         user-agent : conda/4.3.21 requests/2.14.2 CPython/2.7.13 Linux/2.6.32-696.6.3.el6.x86_64 Red Hat Enterprise Linux Server/6.9 glibc/2.12
            UID:GID : 53336:1026

$ /export/mccoy20/anaconda2/bin/conda update –c acme processflow
Traceback (most recent call last):
  File "/export/mccoy20/anaconda2/lib/python2.7/site-packages/conda/exceptions.py", line 632, in conda_exception_handler
    return_value = func(*args, **kwargs)
  File "/export/mccoy20/anaconda2/lib/python2.7/site-packages/conda/cli/main.py", line 137, in _main
    exit_code = args.func(args, p)
  File "/export/mccoy20/anaconda2/lib/python2.7/site-packages/conda/cli/main_update.py", line 65, in execute
    install(args, parser, 'update')
  File "/export/mccoy20/anaconda2/lib/python2.7/site-packages/conda/cli/install.py", line 152, in install
    common.arg2spec(name, json=context.json, update=True)
  File "/export/mccoy20/anaconda2/lib/python2.7/site-packages/conda/cli/common.py", line 510, in arg2spec
    return str(spec)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 0: ordinal not in range(128)

try conda install -c acme/label/nightly processflow the new version should be 0.3.17-devel


Add sysadmin course

A systems administration course from Google. Sysadmin is useful for backend and fullstack developers who may be required to administer servers or databases.

Unsure why the checks are failing. Possibly a problem with the first-interaction action? This issue may be relevant.

Hey @jc1812 !
Congrats on submitting your pull request and thank you for taking out the time to contribute in this project. Your PR has been merged and the changes will be reflected on the website in a few minutes.
And thanks for pointing out the issue with the github action. Yes, I'm aware of that priveleges issue and was going to fix it, but had been somewhat busy with my other projects. I'll fix it as soon as I get the time, thanks :)
Do leave a star, if you liked the repo ;)
Happy hacking ! 🎊


Cleanup licence list page

Needs to be move to a grid w/ search and the status names need to be externalized