Add new operator for R_RISCV_GOT_HI20

Currently, the la pseudo-instruction cannot be expanded for position-independent code by the compiler, and it must emit the pseudo-instruction instead. This pull request introduces a new %got_pcrel_hi operator for this purpose.
Name Bikeshedding
We have %pcrel_hi and %tprel_hi which would suggest %got_hi is a logical option. However, we also have %tls_ie_pcrel_hi and %tls_gd_pcrel_hi which would lead to %got_pcrel_hi being the new name. Despite %got_hi being possibly the more obvious choice at first, given that it's shorter, I am instead proposing %got_pcrel_hi. This is because %tprel_hi has its own %tprel_lo, whereas %tls_ie_pcrel_hi and %tls_gd_pcrel_hi reuse %pcrel_lo, much like this new operator, and therefore including pcrel in the name is both more consistent and makes it seem less odd that it's used in conjunction with %pcrel_lo. Thoughts?
NB: I have submitted a patch to the binutils mailing list implementing this, where there has already been some discussion of the name. Please keep the naming discussions here.

I'd suggest a patch to remove assembler operators from the psABI, since it duplicates what is here, and this info doesn't really belong in the psABI.


Advanced Dialogue: Non-Modal Dialogue pinned to top causes screen flicker

Hello,
Summarizing this issue here for you after troubleshooting on the discord.
I have a platformer scene with advanced dialogue being used to create a HUD. It is pinned to the top of the screen, and does not clear. It is only updated once at the beginning of a scene init, and then refreshed again if a coin is collected, but there is no constant updating via timer/on update/etc.
When pinning the dialogue to the top, there is a screen flicker on the left hand side of the screen:
https://user-images.githubusercontent.com/65201358/209164170-778a6c3e-2e53-48df-8835-6ba70f2c07da.mov
This does not occur when the dialogue events are pinned to the bottom.
Oddly, this is not present during emulation. It's only there when testing on the Gameboy Pocket. Notably, it did not occur when inserting the same cart into my GBA. I can't 100% rule out that it's not a hardware problem, but perhaps its not on the GBA or emulation due to the differences in tech?

Hi, I can test it and try to reproduce this issue on a pocket, DMG, aPocket and others if you want.


Static mode pagination not working as expected

The pagination of static mode looks broken, If I reckon correctly it was same as server loaded pagination.
Its broken even here: https://vue3-lite-table.vercel.app/simple-examples
When you click on lets say page 2 it append more rows instead of hide previous rows and show next set of rows.
Tested on MAC, chrome and firefox with<EMAIL_ADDRESS>

#69

Hi @mizmaar3 , thanks for your ticket.
I am fixed the bug and release v1.3.6

Oh, I saw your PR now. Thank you a lot!


Replace java.util.Base64 for Android sdk below 26

For Android sdk below 26 (Android 8.0), there will be an exception since java.util.Base64 is unknown.
This can be modified in https://github.com/ehn-dcc-development/hcert-kotlin/blob/main/src/jvmMain/kotlin/ehn/techiop/hcert/kotlin/chain/Extensions.kt
Instead of java.util.Base64.getEncoder().encodeToString(this) and java.util.Base64.getDecoder().decode(this)
org.bouncycastle.util.encoders.Base64.toBase64String(this) et org.bouncycastle.util.encoders.Base64..ecode(this) can be used

correct this needs to change to allow usage on older android devices.
we changed the file in our fork:
https://github.com/section42/hcert-kotlin/commit/e2d2ae3e0408fbdd94354fd38e91722a910b80a2#diff-66b1c9aff517cfce47a40bb207b738ddc194bdb40c0281d35e0288c0b7f3c1b9
tested on android down to 6.0.1.
will create a PR with our changes


Tool Langchain::Tool::Database: Spaces in function call "database__describe_tables" arguments generate error

Describe the bug
When using Langchain::Tool::Database with Postgres adaptor it, sometimes, generate no valid arguments for the function name "database__describe_tables"
For example:
        "tool_calls": [
          {
            "id": "call_pgyoQ7Dzz4MeSJ4AUEnuQpux",
            "type": "function",
            "function": {
              "name": "database__describe_tables",
              "arguments": "{\"tables\":\"dashboard_customernode, dashboard_invoiceline\"}"
            }
          }
        ]

Generates this error:
request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} Rails -- Exception: Sequel::DatabaseError: PG::UndefinedTable: ERROR:  relation " dashboard_invoiceline" does not exist
LINE 1: ..."."attnum" > 0) AND ("pg_class"."oid" = CAST(CAST('" dashboa...
                                                             ^

If I add this system instructions:
When use "database__describe_tables" function name don't put space between the "tables" arguments

It is fixed:
       "tool_calls": [
          {
            "id": "call_ncdQLaeEGaVdOJ0d9fArk7Hb",
            "type": "function",
            "function": {
              "name": "database__describe_tables",
              "arguments": "{\"tables\":\"dashboard_customernode,dashboard_invoiceline\"}"
            }
          }
        ]

To Reproduce
As everything related to LLM it is difficult to reproduce
Expected behavior
The Database Tool should generate valid function calls, in this case, not include spaces in the arguments list
Terminal commands & output
Commands you used and the terminal output.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: OS X
Ruby version: 3.2.4
Langchain.rb version: 0.13.4

Additional context
Here is the full stack trace:
2024-06-26 07:36:40.872599 D [57454:puma srv tp 001] {request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} Rails --   HTTP POST (1239.44ms)   https://api.openai.com:443/v1/chat/completions
2024-06-26 07:36:40.872662 D [57454:puma srv tp 001] {request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} Rails --   Request body   {"messages":[{"role":"system","content":"Your name is Dashboard Assistant, and you have access to the dashboard database to answer user questions about products and sales.\n\nMake sure to answer any user questions related to sales and products using information from the database tables.\n\nYou are an SQL and PostgreSQL expert.\n\n## Constraints:\n\n- Understand the user's intention based on their question, and use the given table structures defined in the database to create a grammatically correct SQL query. If SQL is not required, answer the user's question directly.\n- Always limit the query to a maximum of 50 results unless the user specifies a different number of rows they wish to obtain.\n- Be careful not to mistake the relationship between tables and columns when generating SQL queries.\n- Check the correctness of the SQL and ensure that the query performance is optimized.\n- Use only tables and fields that you find in the database schema.\n- Use only SQL commands and functions valid for a PostgreSQL DB.\n- When building queries, ensure to prevent possible errors of \"division by zero.\"\n- Use only pure SQL commands, not Rails integration.\n- The field \"dashboard_invoiceline.margin\" is in euros, not percentage.\n- When showing a list of clients, always include the ID and the Name of the client, in addition to other relevant fields relative to the user's question.\n- When showing results, sort them in the best way relevant to the user's question."},{"role":"system","content":"Use only pure SQL commands, not Rails integration"},{"role":"user","content":"Dime clientes que tengan un porcentage de margen medio en el último mes inferior al 25%"},{"role":"assistant","content":"","tool_calls":[{"id":"call_CpAxJvNUamtbsfRvgDDGl9va","type":"function","function":{"name":"database__list_tables","arguments":"{}"}}]},{"role":"tool","content":"[:dashboard_categorynode, :dashboard_deliverynoteline, :dashboard_businessnode, :dashboard_customernode, :dashboard_customerbudget, :dashboard_invoiceline, :dashboard_latestproductcostuploadedfile, :dashboard_product, :dashboard_salespersonnode, :dashboard_familynode, :dashboard_invoicedivision, :dashboard_latestproductcost, :dashboard_lead, :dashboard_predictiveanalytic, :dashboard_supplier, :dashboard_saleoffer, :dashboard_ecomuser, :dashboard_salespersonbudget, :dashboard_specialprice, :dashboard_supplierbudget]","tool_call_id":"call_CpAxJvNUamtbsfRvgDDGl9va"}],"tools":[{"type":"function","function":{"name":"database__describe_tables","description":"Database Tool: Returns the schema for a list of tables","parameters":{"type":"object","properties":{"tables":{"type":"string","description":"The tables to describe."}},"required":["tables"]}}},{"type":"function","function":{"name":"database__list_tables","description":"Database Tool: Returns a list of tables in the database","parameters":{"type":"object","properties":{},"required":[]}}},{"type":"function","function":{"name":"database__execute","description":"Database Tool: Executes a SQL query and returns the results","parameters":{"type":"object","properties":{"input":{"type":"string","description":"SQL query to be executed"}},"required":["input"]}}}],"tool_choice":"auto","model":"gpt-4o","temperature":0.0,"n":1}
2024-06-26 07:36:40.872683 D [57454:puma srv tp 001] {request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} Rails --   Response status   Net::HTTPOK (200)
2024-06-26 07:36:40.872703 D [57454:puma srv tp 001] {request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} Rails --   Response body   {
  "id": "chatcmpl-9eFceNUqNNShPQM5ZIfCXKyTwvvVa",
  "object": "chat.completion",
  "created":<PHONE_NUMBER>,
  "model": "gpt-4o-2024-05-13",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "tool_calls": [
          {
            "id": "call_pgyoQ7Dzz4MeSJ4AUEnuQpux",
            "type": "function",
            "function": {
              "name": "database__describe_tables",
              "arguments": "{\"tables\":\"dashboard_customernode, dashboard_invoiceline\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 558,
    "completion_tokens": 25,
    "total_tokens": 583
  },
  "system_fingerprint": "fp_d576307f90"
}

2024-06-26 07:36:40.901688 I [57454:puma srv tp 001] {request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} (2.088s) Front::MessagesController -- Completed #create -- { :controller => "Front::MessagesController", :action => "create", :params => { "authenticity_token" => "[FILTERED]", "message" => { "content" => "Dime clientes que tengan un porcentage de margen medio en el último mes inferior al 25%", "role" => "user" }, "button" => "", "conversation_id" => "3MvAYhi23oG0kTys2LGJPB" }, :format => "TURBO_STREAM", :method => "POST", :path => "/front/conversations/3MvAYhi23oG0kTys2LGJPB/messages", :status => 500, :view_runtime => 0.0, :db_runtime => 3.12, :exception_object => #<Sequel::DatabaseError:"PG::UndefinedTable: ERROR:  relation \" dashboard_invoiceline\" does not exist\nLINE 1: ...\".\"attnum\" > 0) AND (\"pg_class\".\"oid\" = CAST(CAST('\" dashboa...\n                                                             ^\n">, :allocations => 13392, :status_message => "Internal Server Error" }
2024-06-26 07:36:40.902157 F [57454:puma srv tp 001 deprecators.rb:86] {request_id: 5bc7b95e-5d4a-4230-b1f3-3ac6c7644f96} Rails -- Exception: Sequel::DatabaseError: PG::UndefinedTable: ERROR:  relation " dashboard_invoiceline" does not exist
LINE 1: ..."."attnum" > 0) AND ("pg_class"."oid" = CAST(CAST('" dashboa...
                                                             ^

/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:171:in `exec'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:171:in `block in execute_query'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/database/logging.rb:38:in `log_connection_yield'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:171:in `execute_query'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:159:in `block in execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:136:in `check_disconnect_errors'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:159:in `execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:532:in `_execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:348:in `block (2 levels) in execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:555:in `check_database_errors'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:348:in `block in execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/connection_pool/threaded.rb:92:in `hold'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/database/connecting.rb:293:in `synchronize'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:348:in `execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/dataset/actions.rb:1189:in `execute'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/postgres.rb:651:in `fetch_rows'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/dataset/actions.rb:164:in `each'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/dataset/actions.rb:51:in `block in all'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/dataset/actions.rb:1097:in `_all'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/dataset/actions.rb:51:in `all'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/dataset/actions.rb:977:in `where_all'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/adapters/shared/postgres.rb:1704:in `schema_parse_table'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/sequel-5.81.0/lib/sequel/database/query.rb:159:in `schema'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/tool/database/database.rb:64:in `describe_table'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/tool/database/database.rb:45:in `block in describe_tables'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/tool/database/database.rb:44:in `each'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/tool/database/database.rb:44:in `describe_tables'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/assistants/assistant.rb:231:in `block in run_tools'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/assistants/assistant.rb:218:in `each'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/assistants/assistant.rb:218:in `run_tools'
/Users/me/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/langchainrb-0.13.4/lib/langchain/assistants/assistant.rb:94:in `run'
/Users/me/Development/DashboardChatbot/app/services/conversation/process_user_message_service.rb:11:in `perform'
/Users/me/Development/DashboardChatbot/app/services/service.rb:4:in `perform'

Sadly, the model is ignoring the instructions:

When use "database__describe_tables" function name don't put space between the "tables" arguments

randomly. And the error appears and disappears. I can not work with this right now. Checking for workarounds

@fguillen I actually think that we can improve the LLM outputs by changing this parameter description is to specify something like: "Comma-separated list of tables to describe. No spaces."
Could you please try that?

Sure!. I am already using a locally forked version of the gem. For now, the error hasn't occurred again. It is very random. Sometimes, the model puts two tables in the arguments. Sometimes one. Sometimes, it makes two calls... I am waiting to see if I can reproduce the error. I am on this ;)

Sure!. I am already using a locally forked version of the gem. For now, the error hasn't occurred again. It is very random. Sometimes, the model puts two tables in the arguments. Sometimes one. Sometimes, it makes two calls... I am waiting to see if I can reproduce the error. I am on this ;)

Thank you! If you fix it -- please send in a PR.


could we have a packaging or opam branch?

Hello,
In this branch, the commands:
git submodule init
git submodule update

would have already been ran, and src/3rd-party
would be put under version control.
This would ease the opam packaging (rm git dep) and make sure the opam package
is working even if some infrastructure is down, because the tarball would then be self-contained.
Thanks a lot,
F.

in this branch and in the future, we would synchronize the src/3rd-party/tokyocabinet once for each camltc tag

make sure the opam package is working even if some infrastructure is down

This disregards dependencies.
Anyway, the packaging works fine if you use the commit hash in the package, as seen in the previous package
https://github.com/ocaml/opam-repository/blob/master/packages/camltc/camltc.0.9.6/url
In the end, a commit hash should be preferred over a  tarball, as the latter can be changed after the release, while the former is quite tamper free/proof.

but tarballs are managed by the opam infrastructure: even if github is down, they are mirrored somewhere else

#43


Fix  zsh/bash completions for arguments in option groups with a custom completion

Issue

Fixes #646

Description
The issue
It was caused by a mismatch in the completion scripts and the custom completion parsing. This is following the example from the issue above.

The completion scripts contained the name of the argument
':arg-in-option-group:{_custom_completion $_completion_example_commandname ---completion  -- argInOptionGroup $words}'

The parsing of the completion command failed to find the argument using ArgumentSet.firstPositional(named:).
This was caused by the function creating an InputKey with just a name and comparing to keys in the set that have their name and path set.
In other words
InputKey(name: "argInOptionGroup", parent: nil)
!= InputKey(name: "argInOptionGroup", parent: .init(named: "optionGroup", parent: nil))

There's also another issue that would occur when a command and an option group each contain an argument with the same name. In that case the completion would always match the first one in the ArgumentSet even if the user is trying to get completions for the second argument.
The fix
The completions scripts were updated to contain the full path of the argument instead of just the name. Then the completions parser can create an InputKey that will exactly match one in the ArgumentSet.
To avoid having the logic spread out, an extension was added to InputKey to get the fullPathString from a key and an init to create an InputKey from a fullPathString.
I also updated the bash completion script to use ArgumentDefinition.customCompletionCall(_:) that the zsh script was already using to deduplicate the logic.
Checklist

[x] I've added at least one test that validates that my change is working, if appropriate
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary (wasn't necessary)

Let's use the stdlib method here instead of Foundation's:

👍 That's been pushed to the branch.

Have you had a chance to see if this behavior occurs with fish completions as well?

From what I can tell, it appears that completions for arguments aren't being generated currently for fish.
This is returning nil if the ArgumentDefinition.names is empty.
https://github.com/apple/swift-argument-parser/blob/5be327c/Sources/ArgumentParser/Completions/FishCompletionsGenerator.swift#L62-L64
names will always be empty for positional arguments.
https://github.com/apple/swift-argument-parser/blob/5be327c/Sources/ArgumentParser/Parsing/ArgumentDefinition.swift#L109-L114
It'll take me some more time see if there's a reason for the condition in the guard and what the solution would be.

@swift-ci Please test


Handle Notification message

I made a pull request to handle notification message in Admin.
To display notification, we have to flash an error_message or success_message on the session.
Good for displaying to the user that an action have been done or not.

https://github.com/sleeping-owl/admin-lte-template/pulls

I've merged that request. Do you want me to add some additional handlers for that?


Prompt me for connection timeout when I use this library

My Code
public static void main(String[] args) {
SteamWebApiClient client = new SteamWebApiClient("727D5975998DB3C733D465EDCE60E***");
SteamUser steamUser = new SteamUser(client);
steamUser.getPlayerBans(Long.valueOf("76561199015*******")).thenAccept(steamBanStatuses ->
steamBanStatuses.forEach(steamBanStatus ->
log.info("Ban status for {} = {}, Economy Ban: {}",
steamBanStatus.getSteamIdAsLong(),
steamBanStatus.isVacBanned(),
steamBanStatus.getEconomyBan()))).join();
}
exception message
xception in thread "main" java.util.concurrent.CompletionException: java.net.ConnectException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:636)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
at org.asynchttpclient.netty.NettyResponseFuture.abort(NettyResponseFuture.java:273)
at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:181)
at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108)
at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28)
at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:262)
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute$$$capture(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Suppressed: com.ibasco.agql.core.exceptions.WebException: java.util.concurrent.CompletionException: java.net.ConnectException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
at com.ibasco.agql.core.AbstractWebApiInterface.handleError(AbstractWebApiInterface.java:198)
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
... 27 more
Caused by: [CIRCULAR REFERENCE: java.util.concurrent.CompletionException: java.net.ConnectException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443]
Caused by: java.net.ConnectException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179)
... 23 more
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261)
... 12 more

I'm unable to reproduce the error. Works fine in my end.
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
this error indicates that it is unable to connect to the steam api url. Can you manually verify if you can access the url below from your browser (Replace <your steam id> and <steam api key>) with your values.
https://api.steampowered.com/ISteamUser/GetPlayerBans/v1?steamids=<your steam id>&key=<steam api key>

I'm unable to reproduce the error. Works fine in my end.
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
this error indicates that it is unable to connect to the steam api url. Can you manually verify if you can access the url below from your browser (Replace <your steam id> and <steam api key>) with your values.
https://api.steampowered.com/ISteamUser/GetPlayerBans/v1?steamids=<your steam id>&key=<steam api key>

Response results obtained by using postMan

I'm unable to reproduce the error. Works fine in my end.
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: api.steampowered.com/<IP_ADDRESS>:443
this error indicates that it is unable to connect to the steam api url. Can you manually verify if you can access the url below from your browser (Replace <your steam id> and <steam api key>) with your values.
https://api.steampowered.com/ISteamUser/GetPlayerBans/v1?steamids=<your steam id>&key=<steam api key>

is ok

It is possible that your firewall is blocking inbound/outbound connections of your application, can you confirm?

Closing. No further feedback. Feel free to re-open if issue still persists.


Slow world loading

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
When the render distance is set above 25, occasionally the world will not load in beyond 25 tiles. When this happens, approaching the unloaded area causes the game to freeze for about 5 seconds. While this also happens when using the gpu plugin, the game doesn't freeze while the world loads.
My apologies if this is a known bug, something that can't be fixed by a plugin, or something else that makes this bug report unneeded
To Reproduce
Steps to reproduce the behavior:

Enable 117 HD in the Plugins Menu
Increase render distance to above 25
Run in one direction until the world fails to load
Approach unloaded area

Expected behavior
The game should load in the world at distances greater than 25 tiles. If this is impossible, the game shouldn't freeze while loading
Environment (please complete the following information):

Windows 10
RuneLite version: 1.9.1
Launcher version: 2.5.0

Not much we can do about this current as the base game itself is slow at loading the game world, and HD does extra stuff on top, we can look into making it a bit faster but don't think be a massive change

5 seconds sounds quite slow, but this comes down to your CPU performance. Is it taking this long in a specific area, or does it happen everywhere? Our priority hasn't been on optimizing this, but we could probably take a look to see if there's anything obviously slower than it needs to be.

Scene reloads for me generally take less than 500 ms on an i7 6700K CPU, and typically around 250-350 ms. Is it possible that you're using RuneLite's 32-bit launcher perhaps? You can find a link to RuneLite's website on the OSRS website if you want to download the 64-bit launcher to make sure.

I was on the 32-bit launcher... Thanks for your help!

Are scene reloads considerably faster now? Like less than 1 second?

Yep!

Awesome, glad it was as simple as that :+1:

How are you seeing the exact time for a scene reload?

How are you seeing the exact time for a scene reload? It's probably nothing, I just want to check the specific speed

Running with --debug adds some timers, but not everything. If you want to time it properly, you'll have to make changes to our code. If you need any help with this, please join our Discord. I recently spent some time optimizing scene loading though, so this should improve a little bit for the next update. See https://github.com/117HD/RLHD/pull/95 for details.


Fix for recent changes page error

closing this for now and moving check to the main rails application.


Produce Gradle module metadata when publishing java component using ivy-publish

Similar to #3331.

Also: provide an internal opt-in for publishing the metadata (both maven and ivy) in the publishing extension. See: https://github.com/gradle/gradle/pull/3349#discussion_r149314718

Note: map the 'status' value to an attribute in the published metadata

@melix Is this complete?

Sir yes, Sir!
Le 27 nov. 2017 7:15 PM, "Daz DeBoer"<EMAIL_ADDRESS>a écrit :

@melix https://github.com/melix Is this complete?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/3393#issuecomment-347274198, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATTxWtTKwF4vNvT173dHB9ix4Uf0HxGks5s6vxXgaJpZM4QTqxw
.

@melix You know there's a 'close' button on these issues, right?


[0.8.1] Long IP address hint

Due to IPv6, the new feature displays a long tooltip.
It is possible to make transfer of lines on each IP.
Consider replacing this with an (i) info button. There are child windows in other places, so there shouldn't be any problems with the implementation.
This will display other data, as if we were using "arp -a" and "ipconfig /all" requests.

I do not have many network connections, once upon a time saw this.
I can roughly imagine why this is needed, but usually you know the necessary connections by their names.
If a quick display of the IP address is required, then I will try to suggest an optimization.

Do not overlap the checkmark icon after the IP address. It should be left-aligned, indented from the right edge by the width of the icon.

Write the first IP address of any version. If you have multiple IPs (including multiple IPv4/6 from OS settings), put a comma and an ellipsis. Increase the width of the green field, as you do with long network connection names.

I don't think it's necessary to display ALL addresses in the tooltip. If there are no IP conflicts in the system and the user knows the addresses, then 1-2 addresses will be enough for him.
Make a two-line hint - one line per IP version. Show 1-2 IPs per version, and abbreviate the third one with an ellipsis.
A large hint from many IPs also complicates the use, so it is useful to shorten it. If there is a request for more data, then this can be implemented with the "Show all IP addresses" switch. Now I do not see the need to complicate the program code.

P.S. You can think more about the UI of the network card selection button and hints. I based on what I wrote earlier. The idea of displaying all IPs in a long column seemed short-sighted. I'm not even sure what the limit of alternative configurations is. The Windows interface allows you to set several configurations through an additional dialog box.

Additional solution for long strings. Switch between table view and icon view. In the usual form, show a minimum of data. In tabular form, output as strings without displaying a tooltip. Only very long lines (wider than the program window) will require a line break, which will increase the "line height" in some cases.
The nuance is in the complication of the UI in terms of code (different layers with visibility and activity settings), thinking through scrolling and placing the icons "WiFi", "LAN", "Other" at the beginning (at the end).


Application hangs at FindAll in uia_element_info.py

Expected Behavior
I have an application that is automating activities in Firefox. It connects to a running Firefox process.
Actual Behavior
Basically from one day to the next my application stopped working, meaning it hangs as soon as I want to connect to the running Firefox process. After further testing, it hangs on any connect.
Debugging the problem leads me to this line with FindAll. Apparently, there was such an issue already that was related to multi-threading (#394), but it was fixed in a previous version. However, I am not using multi-threading at the moment.
What suprises me, is, that this stopped working from one day to the other. Just yesterday it was running properly. I cannot really say what has changed.
Short Example of Code to Demonstrate the Problem
from pywinauto.application import Application

app_obj = Application(backend='uia').connect(title_re=".*Mozilla Firefox")

Specifications

Pywinauto version: 0.6.8
Python version and bitness: 3.11.6 x64
Platform and OS: Win 11

After waiting for a very long time, the program continues at some point. Anyway, all the following commands, like getting the top window or retrieving child windows takes endless time.

Hi.
The connect method is used to automate the launched app.
Have you launched more apps with window title that match ".*Mozilla Firefox" than yesterday?

Hi,
no, it is just a single one. I also have set found_index=0 in my original app, becaue I had problems when two tabs where opened in Firefox. Anyway, there are less apps running than I had yesterday, but it takes much longer to return for that function. I waited 2 minutes for the connect to return and getting the top window. UISpy shows there are 20 top-level windows open.
Restarting my system multiple times didnt help either.

While debugging, I can only see the get_param in comtypes return a value and then I am not able to follow anymore. So I guess this FindAll is already the Win UI Automation API that runs natively in a driver? Which would mean you can probably not change anything about this being so slow? UI Spy displays all info instantly.

If Firefox in your environment is automatically updating, then the GUI implementation may have changed.
You may want to check your Firefox version and try an older version.

So I guess this FindAll is already the Win UI Automation API that runs natively in a driver?

comtypes handles COM objects in your environment.
pywinauto treats UIA through comtypes.
(I am also a maintainer of comtypes.)

Can you share the results shown by print_control_identifiers with the community?

Do you mean of the created Application object?

I thought that app_obj.window(title_re=".*Mozilla Firefox").print_control_identifiers might tell us something.
However, I reconsidered that it is not very appropriate because we want to know the state before connect.
Instead, try running the following in the console.
>>> from pywinauto import Desktop
>>> dt = Desktop(backend="uia")
>>> dt.windows(title_re=".*Mozilla Firefox")

start_time = current_millis()

dt = Desktop(backend="uia")
window = dt.windows(title_re=".*Mozilla Firefox")

print(window)
print("duration=" + str((current_millis() - start_time) / 1000) + "s")

[<uiawrapper.UIAWrapper - 'Google – Mozilla Firefox', Dialog, -3829186715094450244>]
duration=70.175s

It returns the window, but seems extremely slow with 70 seconds.

I am not sure what is slowing down the UIA process.
Can you try to (re)create your Python virtual environments?

Also created a clean project with no env and had the same issue.

How is the memory usage?

around 16GB/32GB, CPU is around 10-20% on 8 cores, the system runs smoothly, also other apps. Its not much different to what I had the days before, actually even less load.

It is very surprising that only UIA can be so slow.
It seems the only thing we can do is to run the script another day and observe what happens then.

Ok, so I tried it today and it really works like a charm now. I dont know what was causing it. I would close the ticket then, hoping this was just a one-time glitch.

Since desktop object is looking for all open windows during the search, another window(s) may influence on this situation. Also some Windows updates (hotfixes) may contain fixes specifically for UIA. I remember one such case in the past, but it is too long to find it. So keeping Windows up-to-date may help sometimes.


Removing entities function

Hallo
I understand that you can spawn entities in the world by using the .spawn() function, but is there (or will there be) a '.remove()' function on the World service, in order to delete that entity once it is not needed? Btw I am new to using the ECS, so maybe i have missed something (please let me know if there is workaround as i am clueless).
I know there is a '.remove()' function for the Assets service, but that is not what I am after (since that removes the asset, not the specific entities which can have that asset component)
Gracias

Hello,
you did not miss anything, there is indeed no remove function, but there will be one soon. I had two different ideas, how the removal should work and decided to wait for the use case to decide. The use case raised during the terrain development, so it is a coming soon feature.
De nada :)

Hi, thanks you, very good to hear! :)


False positive workings with: unknown field in rust-toolchain.toml: toolchain

It seems that there is some wrong logic related to processing rust-toolchain.toml which can cause some false positive warnings. Apparently, mise is trying to load these as mise.toml files and they do not have the same format.
The most hilarious part is that the warning does not appear when I enter a directory that have this file but it appears when I exit that directory and switch to another one.
❯ cd uv
~/code/os/uv

❯ cd tox-uv
~/code/os/tox-uv
mise WARN  unknown field in ~/code/os/uv/rust-toolchain.toml: toolchain

❯ cat ~/code/os/uv/rust-toolchain.toml
[toolchain]

Look at the path reported, warning appearing in another unrelated folder. I should mention that I do not have any rust plugins installed.
❯ mise plugins
uv
yarn

Can you post your mise doctor output to give some more context on your setup?

~/code/os/uv
❯ mise doctor
version: 2024.12.20 macos-arm64 (2024-12-25)
activated: yes
shims_on_path: no

build_info:
  Target: aarch64-apple-darwin
  Features: DEFAULT, NATIVE_TLS
  Built: Wed, 25 Dec 2024 20:45:03 +0000
  Rust Version: rustc 1.83.0 (90b35a623 2024-11-26) (Homebrew)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (arm64-apple-darwin24.0)

dirs:
  cache: ~/.cache/mise
  config: ~/.config/mise
  data: ~/.config/mise
  shims: ~/.config/mise/shims
  state: ~/.local/state/mise

config_files:
  ~/.config/mise/config.toml
  ~/code/os/uv/rust-toolchain.toml

ignored_config_files: (none)

backends:
  aqua
  asdf
  cargo
  core
  dotnet
  gem
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:
  uv    https://github.com/asdf-community/asdf-uv.git#8155fc5
  yarn  https://github.com/mise-plugins/asdf-yarn.git#74ea3b9

toolset:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>    (missing)
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
path:
  ~/.venv/bin
  ~/.config/mise/installs/java/23.0.1/bin
  ~/.config/mise/installs/node/22.12.0/bin
  ~/.config/mise/installs/npm-prettier/3.4.2/bin
  ~/.config/mise/installs/npm-cspell-cli/8.17.0/bin
  ~/.config/mise/installs/python/3.13.1/bin
  ~/.config/mise/installs/python/3.12.7/bin
  ~/.config/mise/installs/python/3.11.11/bin
  ~/.config/mise/installs/python/3.10.15/bin
  ~/.config/mise/installs/python/3.9.21/bin
  ~/.config/mise/installs/usage/1.7.4/bin
  ~/.config/mise/installs/yarn/4.5.3/bin
  /opt/homebrew/opt/openjdk/bin
  ~/bin
  ~/.local/bin
  /usr/local/sbin
  /usr/local/bin
  /Library/Frameworks/Python.framework/Versions/3.12/bin
  /opt/homebrew/bin
  /opt/homebrew/sbin
  /System/Cryptexes/App/usr/bin
  /usr/bin
  /bin
  /usr/sbin
  /sbin
  /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
  /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
  /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
  /opt/X11/bin
  /Library/Apple/usr/bin
  /usr/local/MacGPG2/bin
  /usr/local/share/dotnet
  ~/.dotnet/tools
  /Library/Frameworks/Mono.framework/Versions/Current/Commands
  /usr/local/munki
  /Applications/iTerm.app/Contents/Resources/utilities

env_vars:
  MISE_SHELL=zsh

settings:
  experimental         true ~/.config/mise/config.toml
  python.uv_venv_auto  true ~/.config/mise/config.toml
mise WARN  mise version 2024.12.21 available

1 problem found:

1. new mise version 2024.12.21 available, currently on 2024.12.20

zsh (ssbarnea) 3.13 main ↓4  -1  1 (ERROR)~/code/os/uv
❯ cd tox-uv
~/code/os/tox-uv
mise WARN  unknown field in ~/code/os/uv/rust-toolchain.toml: toolchain


BUG: Fix the Sticky Navbar for smaller screens

Category

[x] User Interface

Description
The Navbar of the website is Sticky for the Desktop view. But for mobiles it is not
I want to fix this issue to enhance user experience while surfing the website and make it more convenient for mobile users to navigate to other pages or switch between themes easily
Screenshots (Current)
Desktop View - Sticky

Mobile View - Needs to be Sticky

@Sriparno08 Kindly assing this issue to me under JWOC.

You're assigned.


Import order in styles.scss

When you add @import files to the styles.scss file they are not added to the page in the order that they are in in the file. For me it's adding bootstrap after my theme, even though I have bootstrap before the them in the file.
OS?
Mac
Versions.
@angular/cli: 1.0.0-rc.0
node: 6.9.2
os: darwin x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.0
@angular/compiler-cli: 2.4.9

Can we see the import statements in your SCSS file?

This is my styles.scss file:
@import 'variables';
@import '../node_modules/bootstrap/scss/bootstrap';
@import 'assets/css/mdb.css';

It loads bootstrap last for some reason and my theme for bootstrap before, so the styles are all messed up. I ended up putting them in the angular-cli.json for now, but this will make it tough to override the theme when needed.

If you declare the .css extension in a SASS import, it will compile to a traditional CSS import and hoist @import 'assets/css/mdb.css'; to the top of your file.
Remove the file extension and SASS will inline the contents of that file at the position where you declare the import.
So, in conclusion, remove the .css from your final import.

@builtbyjay Oh ok. Thanks!!


compilation failure with purescript-<IP_ADDRESS>

purescript-derive-lenses-<IP_ADDRESS>...
[1 of 1] Compiling Main             ( src/Main.hs, dist/dist-sandbox-673be850/build/purescript-derive-lenses/purescript-derive-lenses-tmp/Main.o )

src/Main.hs:20:10:
    Constructor ‘P.Module’ should have 5 arguments, but has been given 4
    In the pattern: P.Module _ mn ds _
    In an equation for ‘process’:
        process (P.Module _ mn ds _)
          = (mn, concatMap processDecl ds)
          where
              processDecl :: P.Declaration -> [Optic]
              processDecl (P.DataDeclaration _ nm args dctors)
                = concatMap member dctors ++ mapMaybe ctor dctors
                where
                    member (_, [P.TypeApp obj r])
                      | P.tyObject == obj
                      = map (DataMemberLens . fst) (fst (P.rowToList r))
                    member _ = ...
                    ctor (dctor, [inner])
                      = Just (DataConstructorPrism dctor outer (Just inner))
                    ctor (dctor, []) = Just (DataConstructorPrism dctor outer Nothing)
                    ctor _ = Nothing
                    ....
              processDecl (P.PositionedDeclaration _ _ d) = processDecl d
              processDecl _ = []

Thanks. The code in master should build against latest psc again.


Dev builds only run once on Windows (must reboot)

Windows Fall Creators Update just installed on my machine, and now I have to reboot the machine between each attempt to run dev builds of the app.

I have this issue also. Not sure my issue is the same but to get it working I have to end task on ElectronNet that is showing in tasks.

Mhh.... I thought we had a similar problem on macOS as well. I'm this week quite busy, so hopefully I will find some time next week - sorry for this huge delay :/

Fixed in version 0.0.9.


Add diagnostic alayzer for doxygen comment of public API

Add Dexter.Analyzer and Dexter.Analyzer.Tests project
Fix build errors after uninstalling vs2015

This does not look like analyzer for Doxygen comments but rather for XML Documentation Comments. These are two distinct technologies.
XML Documentation Comments looks like this:
/// <summary>
/// This is a summary.
/// </summary>

And this is Doxygen comment:
    /**
    * Constructor that sets the time to a given value.
    *
    * @param timemillis Number of milliseconds.
    */

@KarolAntczak
Doxygen supports several comment forms. The xml document form is one of them. Actually Platz is getting the API comment information from the cs file by running the doxygen program.


Save button permanently visible

I'm tired of chasing the Save All button around.  I'm tired of always having to switch over to files to get to save all.  I'm tired of mistaking the tile horizontal button for the save all button.
The Save All button needs a permanent presence on the UI.  It's too important to bury under a tab.

Maybe there already an extension which does this.
If not, it's a good subject for you to build your first extension. See https://code.visualstudio.com/api which includes a pointer to a sample that adds a click able panel to the status bar.
Alternatively, commission an extension writer to do the job for you.


 Should allow filtering based on range of years, and the option to only look at respondents that reported demand in each year.

[ ] In each year, what fraction of respondents have a geometry associated with them?
[ ] In each year, what fraction of overall reported demand has a geometry associated with it?
[ ] Break each of the above down depending on whether respondent was is a BA or a Utility.
[ ] What's the total area of all geometries in each year (including overlapping areas)?
[ ] What's the total area covered by all geometries in each year (excluding overlapping areas)?
[ ] What fraction of the continental US is covered by the geometries in each year?

It may be necessary to make the classification of respondent_type into balancing_authority vs. utility something that varies by year -- unclear whether respondents that show up as BAs in one year necessarily show up as BAs in other years.

It may also be preferable to use the annual list of utility_id values that appear in the service_territory_eia861 table as an indicator of whether a given ID is associated with a "utility" rather than using the utilities_eia860 table.


Raise to 9.4.0

Hi @ivy-rew
Can you check the last commit? When I opened the project in designer i had some warning and after it got resolved those are the changes that designer made. I think its weird that it didn't do it during migration/conversion


SAK-50119 Global cleanup of Deprecated annotation

Instead of all the casting to (Object) to statisfy the vararg it might be better to switch the method signature to
public String getFormattedMessage(String key, Object[] args)
I checked and only saw 2 places that would need updating 1 in SiteAction and 1 in SiteParticpantHelper

I checked and only saw 2 places that would need updating 1 in SiteAction and 1 in SiteParticpantHelper

Oh, I think it's probably about 100 places not 2 ;)

I checked it and it is only 2 and everything built, remember varargs and Object[] have the same signature, so your not updating all of them.

I fixed up this PR and rebased it


Generalize new I18N view system

Previously, when diplomats submit translations, the system
would try to figure out whether it should be a 'patch' or a 'change',
and then would either create a patch for an admin or artisan to
review and accept or reject, or would apply the changes immediately
and they would be live. This was done as a compromise between
getting translations live quickly, but also preventing already-translated
text from getting overwritten without oversight.
But having the client handle this added logical complexity. So
this makes all diplomats submit patches, no matter what. The server
is then in charge of deciding if it should auto-accept the patch or not.
Either way, a patch is created.
There was also much refactoring. This commit includes:

Update jsondiffpatch so changes within array items are handled correctly
Refactor posting patches to use the new auto-accepting logic, and out of Patch model
Refactor POST /db/patch/:handle/status so that it doesn't rely on handlers
Refactor patch stat handling to ensure auto-accepted patches are counted
Refactor User.incrementStat to use mongodb update commands, to avoid race conditions
Refactor Patch tests

Looks like withdrawing a patch as a Diplomat doesn't update the view until you refresh. Eg. http://localhost:3000/i18n/achievement/forest-shadow-complete#

AFAICT The "Version History" button in the top-right dropdown menu does nothing (and did nothing before these changes)


"Open with Code" does not respect (files.encoding) user setting

VSCode Version: 1.36.0 (user setup)
OS Version: Windows_NT x64 6.1.7601

Steps to Reproduce:

Close all open files.
Create text file (encoding: cp850) content: ÄäÖöÜüß ( e. g.: PowerShell: Set-Content -Encoding Oem -Path TESTencoding.cmd -Value @([char]0xC4, [char]0xE4, [char]0xD6, [char]0xF6, [char]0xDC, [char]0xFC, [char]0xDF) )
Set settings to: "{ "[bat]": { "files.encoding": "cp850" }, "files.associations": { "*.bat": "bat", "*.cmd": "bat" } }"
Close Visual Studio Code.
Use "Open with Code" to open the text file.
Observe that the encoding is set to UTF-8 and the file content is garbled.

Does this issue occur when all extensions are disabled?: How to disable extensions for "Open with Code"?

/duplicate https://github.com/microsoft/vscode/issues/39084


removing redundant parenthesis

This PR will remove redundant parenthesis in parser.py:L357
Thanks.

Hi, @noviluni can you please suggest.


adds cron job

According to the feedback from lint, this is not gonna work.
Is this supposed to be merged after the other PR?

Coverage remained the same at 64.678% when pulling 34f1c02242e785454f3be76c148e5348d6c1f16b on feat/enable-tax-form-cron-job into b28129eb70b93a468ce5aa4f4f6294e280fbb0e1 on master.


possible bug in docker-machine openstack: calls v2 of API for tenants when given v3 auth?

When calling docker-machine using the openstack interface with V3 of the API, I get an unexpected error which seems to suggest that docker-machine is calling v2 of the API for the tenants.  Perhaps I'm doing something wrong in my call here, but given that the v2 appears to come out of nowhere I wonder if this is a bug?
I'm calling against the openstack setup  of the NSF Jetstream system; trying to debug with the devs there but think it might be a docker-machine issue?
After sourcing in my openrc.sh env vars appropriately, here's the docker-machine command I am using (with secure/personal variables replaced):
docker-machine --debug create --driver openstack --openstack-flavor-id m1.tiny --openstack-image-id IMAGEIDHASH --openstack-keypair-name KEYPAIR --openstack-sec-groups default --openstack-tenant-name TENANTNAME --openstack-domain-name DOMAIN  --openstack-private-key-file ~/.ssh/id_rsa --openstack-auth-url  https://jblb.jetstream-cloud.org:XXXX/v3  testbed

Which gives the following:

Docker Machine Version:  0.8.1, build 41b3b25
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver openstack
Plugin server listening at address <IP_ADDRESS>:39073
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver openstack
Plugin server listening at address <IP_ADDRESS>:44650
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(testbed) Calling .GetMachineName
(testbed) Calling .DriverName
(testbed) Calling .GetCreateFlags
(testbed) Calling .SetConfigFromFlags
Running pre-create checks...
(testbed) Calling .PreCreateCheck
(testbed) Calling .GetConfigRaw
Creating machine...
(testbed) Calling .Create
(testbed) DBG | Authenticating... map[DomainName:tacc Username:cboettig TenantName:TG-DEB160003 TenantID: AuthUrl:https://jblb.jetstream-cloud.org:XXXXX/v3 Insecure:false DomainID:]

Error creating machine: Error in driver during machine creation: Expected HTTP response code [200 204] when accessing [GET https://jblb.jetstream-cloud.org:XXXXX/v2.0/tenants], but got 403 instead
{"error": {"message": "You are not authorized to perform the requested action: admin_required", "code": 403, "title": "Forbidden"}}

I find it strange that the error message occurs on a call to GET https://jblb.jetstream-cloud.org:XXXXX/v2.0/tenants, surely this should be v3.0 instead? (Also confusing that it says earlier in the debug trace Using API Version  1, though perhaps that refers to something else?)

@fsoppelsa

What is OS_AUTH_URL and/or OS_IDENTITY_API_VERSION here?

Thanks. OS_AUTH_URL is set to the same value as it has in the command line option shown above (I assume the latter takes precedence anyhow) --openstack-auth-url  https://jblb.jetstream-cloud.org:XXXX/v3 (made anonymous obviously).
The OS_IDENTITY_API_VERSION is set to 3, and is specified in the openrc.sh file I linked in the above, OS_IDENTITY_API_VERSION=3.

Were you able to resolve this issue? I am having the same issue trying to create to a devstack installation.

Having the same issue here. Any resolution?

It seems that several of the imports are for v2 support only
https://github.com/docker/machine/blob/61ef47dc5d6b1658e3d6636f9382d50507c8c7e1/drivers/openstack/client.go#L16-L25
v3 would be an awesome feature!

I also have this issue. Moreover identity / keystone API v2 is now deprecated and no longuer available in rocky release and more. So since we upgraded docker-machine is no longuer usable.

It would be great if someone can take a look on the ##4755, which has to resolve this issue.

Is there anybody who can look at kayrus's PR?  This issue is preventing my team from giving rancher a real evaluation.


:seedling: bump x/net to 0.14.0

This is to close potential vulnerability:
https://osv.dev/vulnerability/GO-2023-1988

/test-ubuntu-integration-release-1-3

/approve


cmake: automatically board change from x_ns to x

This is done so that sub-images of a non-secure image
is built as secure.
Signed-off-by: Håkon Øye Amundsen<EMAIL_ADDRESS>

CI Failure is expected, check the other PRs to this repo.

Missing sauce tag [nrf ]

Missing sauce tag [nrf ]

fixed

Found the following issues, please fix and resubmit:
checkpatch issues
-:13: ERROR:TRAILING_WHITESPACE: trailing whitespace
#13: FILE: cmake/app/boilerplate.cmake:254:
+  # images defined. With this technique, it is not possible to have multiple $

-:15: ERROR:TRAILING_WHITESPACE: trailing whitespace
#15: FILE: cmake/app/boilerplate.cmake:256:
+  # TODO: Allow multiple non-secure images by using Kconfig to set the $

- total: 2 errors, 0 warnings, 21 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

NOTE: Whitespace errors detected.
      You may wish to use scripts/cleanpatch or scripts/cleanfile

Your patch has style problems, please review.

NOTE: Ignored message types: AVOID_EXTERNS BRACES CONFIG_EXPERIMENTAL CONST_STRUCT DATE_TIME FILE_PATH_CHANGES MINMAX NETWORKING_BLOCK_COMMENT_STYLE PRINTK_WITHOUT_KERN_LEVEL SPLIT_STRING VOLATILE

NOTE: If any of the errors are false positives, please report
      them to the maintainers.

I'm unable to test this. Master revision of zephyr/samples/mcuboot appears to be broken.
Will try to get it fixed and then re-test.

I suspect that we want to move this code into zephyr_add_executable. It'l give us nearly the same semantics, but will cause fewer conflicts with upstream (zephyr_add_executable isn't upstream yet, but boilerplate.cmake is).

I suspect that we want to move this code into zephyr_add_executable. It'l give us nearly the same semantics, but will cause fewer conflicts with upstream (zephyr_add_executable isn't upstream yet, but boilerplate.cmake is).

AFAICS this is not trivial, since the location of this change needs to be correct. Note that zephyr_add_executable is a function which is called from the image app CmakeLists.txt, which again calls add_subdirectory(zephyr boilerplate cmakelists.txt). In other words, simply setting the ${BOARD} - cmake variable will not suffice.
One option would be to use some CACHE variable, but IMO that will cause a bigger diff compared to upstream than what we currently have.

I'm unable to test this. Master revision of zephyr/samples/mcuboot appears to be broken.
Will try to get it fixed and then re-test.

Follow these steps to have it build:
Check out nrf repo  https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/613
west update
cd zephyr
cherry-pick https://github.com/NordicPlayground/fw-nrfconnect-zephyr/pull/124

Follow these steps to have it build:
Check out nrf repo NordicPlayground/fw-nrfconnect-nrf#613
west update
cd zephyr
cherry-pick #124

I'm getting this error after following those steps:
sebo@mach:~/ncs/zephyr/samples/mcuboot$ cb
-- Using application from '/home/sebo/ncs/zephyr/samples/mcuboot'
Zephyr version: 1.14.0
-- Found PythonInterp: /home/sebo/bin/python3.4 (found suitable version "3.5.2", minimum required is "3.4")
-- Selected BOARD nrf52840_pca10056
-- Found west: /home/sebo/.local/bin/west (found suitable version "0.5.7", minimum required is "0.5.6")
-- Cache files will be written to: /home/sebo/.cache/zephyr
-- Loading /home/sebo/ncs/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056.dts as base
-- Overlaying /home/sebo/ncs/zephyr/dts/common/common.dts
nrf52840_pca10056.dts.pre.tmp:312.23-315.5: Warning (simple_bus_reg): /soc/virtualcom: missing or empty reg/ranges property
Parsing Kconfig tree in /home/sebo/ncs/zephyr/Kconfig
Loading /home/sebo/ncs/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig as base
Merging /home/sebo/ncs/zephyr/samples/mcuboot/prj.conf
Configuration written to '/home/sebo/ncs/zephyr/samples/mcuboot/b/zephyr/.config'
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /home/sebo/Downloads/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
Including module: nrf in path: /home/sebo/ncs/nrf
Including module: mcuboot in path: /home/sebo/ncs/mcuboot/zephyr
-- Using application from '/home/sebo/ncs/mcuboot/boot/zephyr'
Zephyr version: 1.14.0
CMake Error at /home/sebo/ncs/zephyr/cmake/kconfig.cmake:132 (message):
  File not found:
  /home/sebo/ncs/zephyr/boards/arm/nrf52840_pca10056/qemu_x86_defconfig
Call Stack (most recent call first):
  /home/sebo/ncs/zephyr/cmake/app/boilerplate.cmake:487 (include)
  /home/sebo/ncs/mcuboot/boot/zephyr/CMakeLists.txt:51 (include)

-- Configuring incomplete, errors occurred!
See also "/home/sebo/ncs/zephyr/samples/mcuboot/b/CMakeFiles/CMakeOutput.log".
See also "/home/sebo/ncs/zephyr/samples/mcuboot/b/CMakeFiles/CMakeError.log".

This issue was introduced when mcuboot started setting its BOARD by default.
Luckily, there is a comment stating that it should only do this unless the board is already set, which they currently don't check. So I will create a PR fixing that.


ENH add gen_benchmark function

generate a benchmark into a temp dir from 3 string (objective, dataset, solver)
useful for tests and for doc

fixed after merging https://github.com/benchopt/benchopt/pull/580


cuDNN library error after loading pre-trained model weights

I am trying to load NSynth weights and I am using tf version 1.7.0
`
from magenta.models.nsynth import utils
from magenta.models.nsynth.wavenet import fastgen
def wavenet_encode(file_path):
Load the model weights.
checkpoint_path = './wavenet-ckpt/model.ckpt-200000'
Load and downsample the audio.
neural_sample_rate = 16000
audio = utils.load_audio(file_path,
sample_length=400000,
sr=neural_sample_rate)
encoding = fastgen.encode(audio, checkpoint_path, len(audio))
Reshape to a single sound.
return encoding.reshape((-1, 16))
An array of n * 16 frames.
wavenet_z_data = wavenet_encode(file_path)
`
I get the following error: "E tensorflow/stream_executor/cuda/cuda_dnn.cc:396] Loaded runtime CuDNN library: 7103 (compatibility version 7100) but source was compiled with 7005 (compatibility version 7000). If using a binary install, upgrade your CuDNN library to match. If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration."
What should I do and which version of tf should I install and exactly which CUDA version do I need.

I was having the same issue. I uninstalled libcudnn 7.1 (cuDNN 7.1) and installed the latest 7.0 version and it worked for me.
I am using cuda 9.0 and tensorflow-gpu 1.7.
You can download libcudnn packages from here but first you need to register as a developer:
https://developer.nvidia.com/rdp/cudnn-archive
Installation instructions here:
https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html

I have the same issue.
CentOS 7
tensorflow-gpu==1.7.0
CUDA9.0
cuDNN7.0.5
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

$ python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib() + "/python/_pywrap_tensorflow_internal.so")' | xargs ldd
/home/web_server/dlpy72/dlpy/lib/python2.7/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
	linux-vdso.so.1 =>  (0x00007ffd3b9f7000)
	libtensorflow_framework.so => /home/web_server/dlpy72/dlpy/lib/python2.7/site-packages/tensorflow/python/../libtensorflow_framework.so (0x00007f5927b53000)
	libcublas.so.9.0 => /home/web_server/xiaolun/cuda-9.0/lib64/libcublas.so.9.0 (0x00007f592440e000)
	libcusolver.so.9.0 => /home/web_server/xiaolun/cuda-9.0/lib64/libcusolver.so.9.0 (0x00007f591f812000)
	libcudart.so.9.0 => /home/web_server/xiaolun/cuda-9.0/lib64/libcudart.so.9.0 (0x00007f591f5a5000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f591f392000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f591f175000)
	libgomp.so.1 => /home/web_server/gcc-5.3/lib64/libgomp.so.1 (0x00007f591ef56000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f591ed4e000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f591ea4b000)
	libstdc++.so.6 => /home/web_server/gcc-5.3/lib64/libstdc++.so.6 (0x00007f591e6bd000)
	libgcc_s.so.1 => /home/web_server/gcc-5.3/lib64/libgcc_s.so.1 (0x00007f591e4a7000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f591e0e3000)
	/lib64/ld-linux-x86-64.so.2 (0x000055944f876000)
	libcuda.so.1 => /lib64/libcuda.so.1 (0x00007f591d265000)
	libcudnn.so.7 => /home/web_server/xiaolun/cuda-9.0/lib64/libcudnn.so.7 (0x00007f59093f9000)
	libcufft.so.9.0 => /home/web_server/xiaolun/cuda-9.0/lib64/libcufft.so.9.0 (0x00007f5901358000)
	libcurand.so.9.0 => /home/web_server/xiaolun/cuda-9.0/lib64/libcurand.so.9.0 (0x00007f58fd3f3000)
	libnvidia-fatbinaryloader.so.384.90 => /lib64/libnvidia-fatbinaryloader.so.384.90 (0x00007f58fd1a1000)


crash when scrolling through exh

Steps to reproduce
Go into exhentai and scroll down a bit fast
Expected behavior
Should show new manga
Actual behavior
Crashes
Crash logs
tachiyomi_crash_logs (1).txt
Tachiyomi version
r527
Android version
Android 12
Device
s10
Other details
No response
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.9.3.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Should be fixed in the latest build 👍


Praat匯入

閣有做pyro4

Coverage decreased (-2.5%) to 68.472% when pulling 1958b33cc1c9f817403e301fa92f3675b965e997 on praat匯入 into 88948ef9390ddfde69d0ccc9b7e42c7113474595 on master.

Coverage decreased (-2.4%) to 68.538% when pulling e1a42b0c6f2ba7c686e4daaeeda5ed2d23cc47a0 on praat匯入 into 88948ef9390ddfde69d0ccc9b7e42c7113474595 on master.

Coverage decreased (-2.4%) to 68.538% when pulling e1a42b0c6f2ba7c686e4daaeeda5ed2d23cc47a0 on praat匯入 into 88948ef9390ddfde69d0ccc9b7e42c7113474595 on master.


Enable aarch64-darwin

While not all components don't seem to be available (have to use minimal profile instead of default), it works fine on aarch64-darwin platform.

Maybe need a nix flake update

Seems nothing changed after force push? Are you missing something?
Also nix flake check failed now, we need to fix the assertions.

Not sure where nixpkgs update went...

Ensure you have nix with flake support installed (nixFlakes).
Run nix flake update in the repo to update hashes in flake.lock.
Then run nix flake check to run assertions and checks (like what CI did), which currently fail after your updates.

I'm aware how to use Nix flakes, but thanks. Turns out I just forgot to amend the commit at first place.
I moved failing assertions under tier 1 check, they refer to older Rust versions which did not have aarch64-darwin support.

Thanks!


Roll back API changes ahead of interim release

This reverts commit d2af254522cba7f36c9980852801e66a98fe3e70.

Can we just create a 1.1.x branch and let master be the latest and greatest bleeding-edge stuff? We treat 0.13.x as a support release branch, so we can use 1.1.x the same way and keep things consistent.

We could do that; the interim-release branch (minus the top 2 commits, or with them) would be a clean starting point.
However, we do need to do stuff like update the changelog and the docs even for a v1.1.x release. I feel like it'd be marginally less work just to re-apply the API change commit. Otherwise we'd need to cherry-pick those docs updates.

Except you'll have to update this "undo patch" of sorts against any further changes in master, which may create more conflicts as it diverges. That seems to me like a lot more work. Merge conflicts vs. copy-pasting some markdown? I can do that by hand if need be.
Let me push up a 1.1.x and let me know what you think.

We pick our poison either way. interim-release~2 is a clean 1.1.x branch if you want - has just the commits we need.

Let's cherry pick in commits and copy-paste any docs changes. Less history noise from reverting commits and such. Plus, contributors gets the right authorship (gotta fill the profile dot graph! :smile:)

Sure - I've already done that on the branch though - no need to do so again

I think we did it differently. I did an interactive rebase, so I got the real commits instead of the merge commits. Maybe different settings? Anyways, the end result is the same. It's all good :ok_hand:

That's fine then - as long as the file content matches. Real commits probably better. Good to have a double check.


create about hero section #78

Description
Create the about page hero section
Fixes #78
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Screenshot (optional)

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas

@JAPHETHNYARANGA thanks for the feedback. I can't extract the image from the design hence the reason I chose this one. For the navlink highlight, I will sort it on the navbar build issue.

Good work, but closing this pr as issue is done, please pick another issue


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test

Docs Build status updates of commit 9fa3c30:
:warning: Validation status: warnings

File
Status
Preview URL
Details

archvieTargetFolder/SubFolder/content/someContent.md
:warning:Warning

Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archvieTargetFolder/SubFolder/TOC.yml
:white_check_mark:Succeeded

archvieTargetFolder/SubFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

archvieTargetFolder/docfx.json
:white_check_mark:Succeeded

archvieTargetFolder/SubFolder/content/someContent.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Expose a query method for ContractEvents

Overview
Need to expose a query method for ContractEvents so we can set up the DefaultQueryProvider and CacheQueryProvider to be able to query the provider.
Specification
add .query to ContractEvents and then add to the singledispatch methods created in the query providers.
Dependencies
None

i made a small plugin here, feel free to borrow the schema
https://github.com/banteg/ape-events/blob/main/ape_events/__init__.py

I think we added this in #923

I think we added this in #923

Yes, we did. Not sure why this was left out of there


newInbox hangs on ubuntu trusty after several iterations

The following code:
package com.mvce;

import io.nats.client.Connection;
import io.nats.client.ConnectionFactory;

public class Main {
    public static void main(String [] args) throws Exception {
        ConnectionFactory cf = new ConnectionFactory();
        Connection conn = cf.createConnection();

        String s = "";
        long startingMs = System.currentTimeMillis();
        s = conn.newInbox();
        System.out.println("newInbox complete, took " + (System.currentTimeMillis() - startingMs) + " ms to complete");
        System.exit(0);
    }
}

run on ubuntu/trusty (via docker from OS:X) repeatedly begins taking 2+ minutes to execute newInbox. The first several executions do not take this amount of time - however subsequent attempts do. This is normally 2-5 total executions before the failure behavior begins occurring.
I was using the following scripts to test this:
pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.mcve</groupId>
    <artifactId>mvce</artifactId>
    <version>0.0.0</version>

    <name>mvce</name>
    <properties>
        <java.version>1.8</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

    </properties>

    <dependencies>

        <dependency>
            <groupId>io.nats</groupId>
            <artifactId>jnats</artifactId>
            <version>0.4.1</version>
        </dependency>
    </dependencies>

</project>

Configuring the environment: setup_mvce_linux.sh
#!/usr/bin/env bash

wget -O gnatsd.zip https://github.com/nats-io/gnatsd/releases/download/v0.9.4/gnatsd-v0.9.4-linux-amd64.zip
unzip gnatsd.zip
mv gnatsd-v0.9.4-linux-amd64/gnatsd gnats
chmod 0755 gnats
./gnats -D &

mvn clean compile -U

Running the example: run_mvce.sh
#!/usr/bin/env bash

time mvn exec:java "-Dexec.mainClass=com.mvce.Main" -f="pom.xml"

mvce.zip

curious but wonder what happens if setting JAVA_OPTS to use something like java.security.egd=file:///dev/urandom ? Think in jnats we're using SHA1PRNG which can possibly block on some occasions afaik... maybe could try using NativePRNGNonBlocking too as well as an alternative if that is the case.

@wallyqs Great suggestion. As I was saying to @aldenpeterson-wf via Slack, I'm pretty sure it has to be something entropy pool-related on Linux, so we can definitely give that a shot.

@aldenpeterson-wf - Confirmed the behavior you observed on my local precise64 vagrant box.
@wallyqs - I passed -Djava.security.egd=file:///dev/urandom to mvn and that seemed to solve the problem. I will try integrating NativePRNGNonBlocking (i.e. SecureRandom.getInstanceStrong()) and see if this solves the problem overall.

@mcqueary  looks like that flag will get us past the issues we were running into as well.

I have no better solution than -Djava.security.egd=file:///dev/urandom, which seems to be the accepted answer. Closing this for now, and will add something to the README. More info here:
http://security.stackexchange.com/questions/14386/what-do-i-need-to-configure-to-make-sure-my-software-uses-dev-urandom


Split outputs config into "typegen" and "sdl"

Current typegen related options:
outputs.typgen
shouldGenerateArtifacts
prettierConfig
formatTypegen
typegenConfig

Suggestion:
{
sdl: {
  enabled: boolean // shouldGenerateArtifacts
  path: string
}
typegen: {
  enabled: boolean // shouldGenerateArtifacts
  path: string // outputs.typegen
  format: prettierConfig | formatTypegen
  createInfo: ... // typegenConfig
  headers: ... // typegenAutoConfig.headers
}

WDTY @tgriesser @Weakky

I think typings.backing could be renamed typings.models.

I like it a lot overall. The part I'm not sure about is sdl. SDL is not a newcomer-friendly name. The problem is that I don't see schema being a better name, as it feels like it's configuring some stuff related to the whole library. That's probably the reason you've chosen sdl in the first place.
As we discussed, I also prefer models over backing as it's a much more familiar naming that we use other domains for similar concepts (such as orms). I never heard of the term "backing type" before working on @nexus/schema.

That's probably the reason you've chosen sdl in the first place.

Yep

The part I'm not sure about is sdl. SDL is not a newcomer-friendly name.

GraphQLSchemaDefinitionLanguageFile is a verbose version, better?
This option is enabled by default now so it might not matter as much as before to be a newcomer friendly term.
Also there is always jsdoc fwiw.

Going to need to think on this one for a bit

IMO I don't think this can be done after 1.0

Updated to use "source" terminology

Via @Weakky related to https://github.com/graphql-nexus/schema/issues/583#issuecomment-740046565 wanting to sync local type def sourceTyping with naming we have globally.
Updated to remove typings property namespace.

sourceTyping or sourceTypings for the root do you think?

@tgriesser oh yeah good point!

Hm, if user provides typegen.createInfo does that mean that contextType and sourceTypes are completely ignored?

Following more discussion with @Weakky changed my mind that "type" is better than "typings"

@Weakky and I agreed these are good names for our source type strategies:
GraphQL Schema Strategy (default)
Exact Matching Strategy
Pattern Matching Strategy
Manual Mapping Strategy

With this in mind I have updated the config above.

After [more] discussion with @Weakky I realized typegen auto config is a whole topic unto itself and I have reduced the footprint of this issue to be just about the outputs configuration.


[Bug] RuntimeError: [TM][ERROR] CUDA runtime error: out of memory /lmdeploy/src/turbomind/utils/memory_utils.cu:32

Checklist

[ ] 1. I have searched related issues but cannot get the expected help.
[ ] 2. The bug has not been fixed in the latest version.
[ ] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug
RuntimeError: [TM][ERROR] CUDA runtime error: out of memory /lmdeploy/src/turbomind/utils/memory_utils.cu:32
Reproduction
RuntimeError: [TM][ERROR] CUDA runtime error: out of memory /lmdeploy/src/turbomind/utils/memory_utils.cu:32
Environment
A100
单卡40G显存

Error traceback
No response

Please provide the production method

same bug use comand：python /root/swift/swift/cli/deploy.py --host <IP_ADDRESS> --port 6006 --model_type qwen2-7b-instruct --infer_backend lmdeploy
after OpenCompass batch 8 test it raise the error：terminate called after throwing an instance of 'std::runtime_error'
what():  [TM][ERROR] CUDA runtime error: out of memory /lmdeploy/src/turbomind/utils/allocator.h:233

4090 24g

nevertheless vllm is stable

I checked faq：https://lmdeploy.readthedocs.io/en/latest/faq.html#inference    ，Is it possible to stably auto configure the --cache-max-entry-count parameter？

what version of lmdeploy are you using?

0.5.2.post1

Could you upgrade to lmdeploy v0.5.3 and try it again.
I haven't used swift yet.
I couldn't appreciate too much if you can reproduce the issue with lmdeploy api_server and the official qwen2-7b-instruct model

After upgrade to lmdeploy v0.5.3 and try it again.I stably worked.


X-Auth-Key header should be redacted in debug logs

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the library and it is still present.

cloudflare-go version
0.55.0
Go environment
provider.terraform-provider-cloudflare_v3.29.0
Expected output
Debug output should redact any sensitive API keys from debug, trace, etc logs.
2022-12-08T00:14:18.105Z [DEBUG] provider.terraform-provider-cloudflare_v3.29.0: Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/accounts/dabb2c6d3e5582260ef1a0dd67fb870b/workers/scripts/indeed-api-gateway-dev-worker-script/bindings HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.3.4 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.29.0
Content-Type: application/json
X-Auth-Email<EMAIL_ADDRESS>X-Auth-Key: REDACTED
Accept-Encoding: gzip
Actual output
Debug output includes the X-Auth-Key header in plaintext. When combined with Cloudflare's terraform provider, this can expose personal as well as service account global API keys.
2022-12-08T00:14:18.105Z [DEBUG] provider.terraform-provider-cloudflare_v3.29.0: Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/accounts/dabb2c6d3e5582260ef1a0dd67fb870b/workers/scripts/indeed-api-gateway-dev-worker-script/bindings HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.3.4 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.29.0
Content-Type: application/json
X-Auth-Email<EMAIL_ADDRESS>X-Auth-Key: [MY API KEY WAS SHOWN HERE]
Accept-Encoding: gzip
Code demonstrating the issue
All headers are logged here without any change or attempt to redact sensitive keys:
https://github.com/cloudflare/cloudflare-go/blob/d7efda7b30549c48e7e69cf9b1b76c518138dfdc/cloudflare.go#L259
Steps to reproduce
Setting logging to DEBUG, or in my case, setting TF_LOG=DEBUG environment variable in terraform.
References
No response

Here are some examples of what Datadog does to redact sensitive keys.
Output:
datadog_monitor.api_gateway_worker_errors: Refreshing state... [id=104643268]
2022-12-08T00:14:18.565Z [INFO]  provider.terraform-provider-datadog_v3.16.0: 2022/12/08 00:14:18 [DEBUG] Waiting for state to become: [success]: timestamp=2022-12-08T00:14:18.565Z
2022-12-08T00:14:18.566Z [INFO]  provider.terraform-provider-datadog_v3.16.0: 2022/12/08 00:14:18
GET /api/v1/monitor/104643268 HTTP/1.1
Host: api.datadoghq.com
User-Agent: terraform-provider-datadog/3.16.0 (terraform 2.10.1; terraform-cli 1.3.4) datadog-api-client-go/2.3.1 (go go1.17.13; os linux; arch amd64)
Accept: application/json
Dd-Api-Key: REDACTED
Dd-Application-Key: REDACTED
Accept-Encoding: gzip
Here is the code that appears to set it as REDACTED: https://github.com/DataDog/datadog-api-client-go/blob/1c6033006d72db906faef2daeecda0ccd20cb48e/api/datadog/client.go#L107

thanks but this isn't something we'll tackle in this library in the immediate future.
I'll add it as a request for our next iteration of the Go client.

reopening this as I've found a way we can achieve this within Terraform (thanks to some new internals!) without the major overhaul we explored in the past.
should be within the next couple of releases if al goes to plan.


feat(free-courses-es.md): new free courses in Spanish have been added

What does this PR do?
Add a free course on youtube and web platforms for git & github, javascript, react native and design patterns in spanish.
For resources
Description
These are two long youtube videos and two platforms to learn design patterns, javascript, git & github and react native in spanish.
The two videos do not constitute a playlist. They are individual videos that are structured as an episodic course and have a duration of 4 to 5 hours.
Why is this valuable (or not)?
Because they are interactive, with complementary examples that help to improve understanding.
How do we know it's really free?
They are on youtube and free access platforms.
For book lists, is it a book? For course lists, is it a course? etc.
These are courses
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Are the other midudev resources labeled the same way? (can deal with that in another PR)

No, the other midudev resources are not labeled that way

OK, I still like Miguel Ángel Durán "midudev" - that can be another PR
Thanks, and welcome to free-programming-books!

Thanks for all. I created a new PR to add nickname "midudev"


v0.23 website is out of sync with the repo

https://http4s.org/v0.23/cors/ is not up to date with the new, fixed version of the CORS middleware, although the sources in the repo (https://github.com/http4s/http4s/blob/series%2F0.23/docs/src/main/mdoc/cors.md) are. Both the 0.22 and the 1.0 versions of the page are up to date 🤔

Because of #5919, I've been reverting the website every time we publish.  It may be related to that, but I can't explain 0.22 vs. 0.23.

Everything should be up-to-date now.


HARP-7579 Add pre-dist-tag to publish

We need to tell lerna to tag as latest only the non-alpha packages.
Using verdaccio locally I was able to test and verify the following behavior with this sample project

do changes
run lerna version preminor to create a minor alpha version
lerna publish -y from-git --pre-dist-tag alpha publishes the expected minor alpha packages
do some more changes
run lerna version minor to create a minor version
lerna publish -y from-git --pre-dist-tag alpha publishes the expected minor packages

Signed-off-by: Ignacio Julve<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #930   +/-   ##
=======================================
  Coverage   47.68%   47.68%
=======================================
  Files         235      235
  Lines       21756    21756
  Branches     4929     4929
=======================================
  Hits        10374    10374
  Misses      11382    11382

Continue to review full report at Codecov.

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


[WFCORE-1178] Use specific description for reply value types in ListAttributeDefintion and MapAttributeDefinition

https://issues.redhat.com/browse/WFCORE-1178

Core - Full Integration Build 11024 outcome was FAILURE using a merge of de50a4a105145a0a65578f2842f3d8e2ab748837
Summary: Compilation error: Compiler (new) Build time: 00:02:42

Core - Full Integration Build 11128 outcome was FAILURE using a merge of de50a4a105145a0a65578f2842f3d8e2ab748837
Summary: Tests passed: 541, ignored: 3; compilation error: Compiler (new) Build time: 00:03:21

Changes in WFLY for PR checks to pass are in https://github.com/wildfly/wildfly/pull/14994


Are there any implementations yet?

Has this proposal been implemented anywhere yet (e.g. via a polyfill)? Thanks!

I've linked to implementation tracking bugs here: https://github.com/tc39/proposal-json-parse-with-source/issues/15#issue-664090651 V8 has an implementation behind the --harmony-json-parse-with-source flag.

Thanks @mathiasbynens!


SA1118 (ParameterMustNotSpanMultipleLines) should designate a span for the warning

This analyzer does not provide a (non-empty) span for the error, I suppose, since it doesn't show any squiggly line. As a result, Roslyn doesn't give me an option to suppress it.

Can you include a code snippet that reproduces this issue?

Not repro.
My guess is it had something to do with #1391 that caused the problem.


deptry does not work when installed globally

Describe the bug
Whenever deptry is installed globally, it does not have access to the metadata of the packages in the virtual environment, even if that virtual environment is activated.
I will see if I can either

solve this, which I think will be difficult, or...
state clearly in the documentation that deptry should be installed within the virtual environment to be tested and optionally log this warning to the console whenever one or more dependencies are not found in the environment.

To Reproduce
install globally with pip install deptry outside of the virtualenv. Then activate a virtualenv and run deptry .

Added a warning for now: https://github.com/fpgmaas/deptry/pull/93

Just to confirm, is it impossible to perform static code analysis with pyproject.toml, poetry.lock and .venv directory?

No, it's definitely possible to scan a project with  pyproject.toml, poetry.lock and .venv. when added to the project with poetry add --dev deptry.
But it will not work to install it globally with pip install deptry and then scanning a poetry project. It really needs to be within the virtual environment. (So your project covid19-sir is not affected).

Yes, this issue is for gloval installation of deptry. I just thought, but "script" of the target pyproject.toml can be read from the outside of the virtual environment.

On Reddit, someone offered this as a potential starting point for adding the functionality; https://stackoverflow.com/a/14792407
Not sure if we should add this kind of solution to the codebase though.

@mkniewallner suggested using [site.getsitepackages()](https://docs.python.org/3/library/site.html#site.getsitepackages),  which contains all installed modules and should be available when the venv is active.
A good source of inspiration for that may be mypy which has similar needs, see here and here

Tried this out, but also unsuccessful. site.getsitepackages() does not seem to return the virtual environment's site-packages directory.
To reproduce:

add import site and print(site.getsitepackages()) anywhere in cli.py.
install deptry globally with pip install -e .
navigate to a directory with an installed Poetry environment and a .venv folder.
run poetry shell
run deptry .

In my case, this returns:
['/Users/florian.maas/.pyenv/versions/3.9.11/lib/python3.9/site-packages']

And a list of warnings since deptry could not find the installed packages.
However, when running the following steps:

poetry shell
python
import site
site.getsitepackages()

The output is:
['/Users/florian.maas/git/my-project/.venv/lib/python3.9/site-packages']

So then it does find the correct site-packages directory.

Hi 👋🏻 I have a very naïve question: from the site.getsitepackages() strategy you tried, I assume that getting the path of the active virtualenv would suffice, even if deptry is not run by the virtualenv interpreter. Could this path not be retrieved using the VIRTUAL_ENV environment variable exported by the activation script ?
If I'm completely off-topic (which I fear 😅 ) I'll be glad to have some pointers to the codebase that might help me understand the problem better!

Thanks for the suggestion. That's no naive question, don't be afraid to ask! I am not an expert at this subject myself either.
The issue lies in this part of the code. Here, we try to get the metadata of a package using importlib-metadata, for which I believe it is necessary that the path to the virtual environment is in sys.path.
Your idea of using VIRTUAL_ENV seems pretty good. However, this points to <some_path>/example-project/.venv, whereas the packages are actually stored in <some_path>/example-project/.venv/lib/python3.10/site-packages. We could try to build a solution around this that looks for a site-packages directory recursively within VIRTUAL_ENV.
An issue I can think of with this solution; how do we detect if it's necessary to perform this recursive search?

The issue lies in this part of the code.

@fpgmaas thanks for encouragements and this enlightening entry point 🙂 I'd like to share an idea based on importlib.metadata's suggested extension mechanism.
Fists, suppose we have a way of reliably detecting if deptry is currently running in a virtualenv.
def running_in_virtualenv() -> bool:
  # See https://docs.python.org/3/library/sys.html?highlight=sys#sys.base_prefix for this strategy
  return sys.prefix != sys.base_prefix

Then, suppose we have a few heuristics to guess a project's virtualenv site-packages on the filesystem:
def find_virtualenv_site_packages(project_dir: Path) -> Path | None:
    site_packages = None
    possible_roots = [
       os.environ.get("VIRTUAL_ENV"),
       project_dir / ".venv",
       Path("~/.virtualenvs") / project_dir.name,
  ]
  while not site_packages and possible_roots:
      site_packages = find_site_packages_below(possible_roots.pop())
  return site_packages

Then we could implement and  install a meta_path finder along the lines of:
from importlib.metadata import DistributionFinder
class VirtualenvDistributionFinder(DistributionFinder):
    @classmethod
    def find_distributions(cls, context):
        if not running_in_virtualenv():
            site_packages = find_virtualenv_site_packages()
            if site_packages:
                path = [site_packages, *sys.path]
                context = DistributionFinder.Context(name=context.name, path=path)
        return super().find_distributions(context)

Let me know if I need to make the idea clearer. If you think this might be a way to go, I'll work on a PR 🙂

Well I realize that implementation would be highly inefficient since it would call find_virtualenv_site_packages every time. So let's say "a less clumsy variation of the above":
if not running_in_virtualenv():
    site_packages = find_virtualenv_site_packages(project_dir)
    sys.meta_path.insert(0, VritualenvDistributionFinder(site_packages=site_packages))

I think this is the most promising and detailed starting point until now, better than what I could think of 😄 So if you think it's worth a shot, I look forward to reviewing the PR that implements this.

Late to the party, but it's probably worth taking a look at how pipdeptree added support for arbitrary virtualenvs: https://github.com/tox-dev/pipdeptree/blob/28bf158e98e95109a426aad8a0ac3b1ea2044d4a/src/pipdeptree/_non_host.py#L16

By setting the PYTHONPATH to the site-packages within the external virtualenv, for example PYTHONPATH=/PATH_TO_VENV/.venv/lib/python3.11/site-packages deptry . will work (at least with python3.11).
Seems like https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.DistributionFinder might be the way to go for implementing in deptry (you can see in the docs that the path defaults to sys.path which I think is why the above works).


show polly data in GUI

Feature requested by stakeholders: show polly data in a new tab under Speech Analysis

Polly has been removed from the Media Insights Application workflow.


Support Hoster: dfiles.eu

I wrote an email to ask for the premium api and a developer/test account


TypeError: shell is not a constructor

I am running the following: var ps = new shell({executionPolicy: 'Bypass', debugMsg: true, noProfile: true});
and received the following error: [TypeError: shell is not a constructor]
any thoughts

Hey @forensicsguy20012004 ,
I suggest you try to re-install the module.
Besides, did you remember to add this line first?
const shell = require('node-powershell');

Let me know if you managed to solved this, or you need further help.
GL and THx :+1:

Hello...thanks for replying back so quickly :)
So I ran the following code....
var shell = require('node-powershell');
var ps = new shell({executionPolicy: 'Bypass', debugMsg: true, noProfile: true});
ps.addCommand('echo "node-powershell rocks"')
.then(function(){
return ps.invoke();
})
.then(function(output){
console.log(output);
ps.dispose();
})
.catch(function(err){
console.log(err);
ps.dispose();
});
I installed via NPM doing: npm install node-powershell --save
I have not been able to get this working...yet...I am hoping I will or I will find something.
I am running v6.9.1 on a Windows 7 box.

Info: Start process (6:42:23 PM)
Error:
var ps = new shell({executionPolicy: 'Bypass', debugMsg: true, noProfile: true});
^
TypeError: shell is not a constructor
at Object. (c:\NodeProjects\Spartan\node_302d72ae491fb.tmp:3:10)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Info: End process (6:42:24 PM)

I have run this a couple different ways...so I am not getting an error about the module not being loaded or available. I will try anything.

Hey @forensicsguy20012004 ,
After reading this
The two reasonable things that could happened is that either the module is not loaded correctly from some reason... or that you use shell variable elsewhere in your code ... I would suggest that once again, you will open an empty folder and try to run the example... Anyway I will try to publish a new version at the beginning of next week maybe .. maybe this would solve it.
Have a nice day and keep updating!

Sorry for responding back so late...I will give that a try and look forward to a new push of your module. Keep up the good work :)

So, I pulled down your newest version via NPM:  "node-powershell": "3.0.1"...still getting the same error. My guess is, it has got to be something that I am doing. I am pretty adept as Node but for some reason this escapes me.
var ps = new shell({executionPolicy: 'Bypass', debugMsg: true, noProfile: true});          ^ TypeError: shell is not a constructor     at Object.<anonymous> (C:\nodeprojects\spartan\NodePowershell.js:3:10)     at Module._compile (module.js:570:32)     at Object.Module._extensions..js (module.js:579:10)     at Module.load (module.js:487:32)     at tryModuleLoad (module.js:446:12)     at Function.Module._load (module.js:438:3)     at Module.runMain (module.js:604:10)     at run (bootstrap_node.js:394:7)     at startup (bootstrap_node.js:149:9)     at bootstrap_node.js:509:3

Hey @forensicsguy20012004
Please check out the new features entered in the last commit. and try again.
Thx. 👍

Hello @rannn505,
I have the same problem as @forensicsguy20012004.
I tried re-installing the module but that didn't fixed the issue for me.
This is the code I was trying to run:
const Shell = require('node-powershell');

const ps = new Shell({
  executionPolicy: 'Bypass',
  noProfile: true
});

ps.addCommand('echo node-powershell');
ps.invoke()
.then(output => {
  console.log(output);
})
.catch(err => {
  console.log(err);
});

I copied this code from StackOverflow and wanted to test it, but I don't know how to workaround this error.
Is it working for you?


helm: fix duplicate configmap key for bpf-lb-sock-terminate-pod-connections

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Previously, when both socketLB.enabled and socketLB.terminatePodConnections were set in the Helm chart, the cilium-configmap would include the bpf-lb-sock-terminate-pod-connections twice. This fixes the issue by only emitting the key once.
This issue appears to affect Flux CD HelmReleases, but not Helmfile for some reason. I think Flux renders the Helm chart internally prior to sending the manifests to the API server, whereas Helmfile invokes helm, which appears to remove or otherwise merge duplicate keys.
helm: fix duplicate configmap key for `bpf-lb-sock-terminate-pod-connections`

Sure - done.