[bug] Send transactions / tokens with v2 issue

Link to minimal reproducible example
https://walletconnect-check.chikhrai.xyz
Summary
Hello. Have some issues with try send ETH/tokens with v2 when try to interact with TrustWallet.
And on iOS not work sign message.
Same code work correct with metamask on v1 on Android. On iOS it not create transactions...
On Android sign message with v2 with TrustWallet work correct too.
Create some demo-stand to reproduce full cicle with v1/v2 modal with this wallets.
Full code can be found here: https://github.com/YuriiChikhrai/walletconnect_check
List of related npm package versions

wagmi / @wagmi/core v1.3.4
viem v1.2.9
@web3modal/ethereum / @web3modal/react v2.6.2
react v16.14.0
webpack v5.87.0
typescript v5.1.6

Repro you provided has a lot going on there, could you post relevant code snippets and try to upgrade to latest modal version to see if issue is solved. Make sure to update to latest wallet versions as well, as both metamask and trust had few known issues that were resolved recently.

@0xAsimetriq Thanks for your response.
Yep, where is a lot of going on there, because is actual real use-case example :)
I remove code of chosing version (because is only v2 now), upgrade all walletconnect/wagmi/viem dependencies to latest versions (and mobile wallets app too).
Results:

Metamask works correct
TrustWallet works correct with connect/sign/send tokens, when try send ETH - error

TransactionExecutionError: An unknown RPC error occurred.

Request Arguments:
 from:   0x...
 to:     0x...
 value:  0.00000001 ETH
 gas:    100000

And
{context: 'client'} 'Unknown method(s) requested'

Thanks.

Does the error state name of the method that is failing? i.e. which rpc method exactly is failing and does Trust wallet support it? Does this work with other wallets i.e. Zerion / Rainbow?

@0xAsimetriq I have a similar issue when trying to send transactions when connected to Zerion and TrustWallet (via WalletConnect). Rainbow wallet and UniSwap works fine
I opened an issue in wagmi since I'm using their config but no solution yet
Here is the link to the issue for reference: https://github.com/wagmi-dev/wagmi/issues/2713
I'm using latest versions of react/wagmi/viem
here is the build with error
https://github.com/meri-maki/wagmi-issue
https://wagmi-issue.vercel.app/
To reproduce:
Connect to Zerion/TrustWallet wallet via WalletConnect (except for metamask)
Try sending transaction
Get
TransactionExecutionError: An unknown RPC error occurred.

Request Arguments:
  from:   0x568A33aA237fFc284FF584A3BAB17A44FAeF4054
  to:     0xE8078B5198E572Be8D8D412511d48b7D0f5E9a1c
  value:  0.000001 ETH
  gas:    104799

Found out that sendingTransaction only works in this example: https://github.com/WalletConnect/web-examples/tree/main/dapps/react-dapp-v2
It looks really complex.. could you please advise on which logic to add to the app so transactions work? i suppose the key is to add JsonRpcContext?

hello @meri-maki . I'm also experiencing the same issue on trust wallet but it works on safepal and metmask. Any solution??

same issue. any solution?

At this point all we know is that it's either wallet not parsing tx data correctly or tx data being incorrect. There is also a chance that wallet doesn't support method used to send transaction, however as far as I know trust should have no problem.

I think generally trust wallet  does not work with WAGMI sendTransaction. Cause I even tried on their official website. Is there any available codebase using etheruemProvider to initiate transaction?? @0xAsimetriq

@TEE2DWHY Hi! I had a backup with web3js logic (no wagmi/viem) that works with almost all wallets (including trust/zerion)
"web3": "^1.10.0",
"web3-eth": "^1.10.0"
But wagmi hooks provide much better user and programming experience + it's much faster that old web3js
I sincerely hope that the issue with trust would be resolved (also it doesn't want to connect via walletconnect in Trust Wallet Browser) and I could use it in my production build

@meri-maki . Oh wow. Amazing. I also hope wagmi issue is resolved also. Could you drop link to your code base for the web3js?. I’ll really appreciate 🙏🏼

@TEE2DWHY In this case I'm not sure if we can help in terms of web3modal repo, this sounds like an issue on trust wallet side. I know viem is using approaches that might differ from how ethers did it back in v5, could be the case where trust is not compliant with latest specs and only handles legacy stuff, not sure.
Will be closing this issue for now, as there is nothing actionable for us here, will reach out to wagmi guys and ask if they know anything about this.

@0xAsimetriq. Thank you. @meri-maki. I’ll really appreciate if you could drop link to the web3.js back up. Thank you

@TEE2DWHY Hi! I had a backup with web3js logic (no wagmi/viem) that works with almost all wallets (including trust/zerion) "web3": "^1.10.0", "web3-eth": "^1.10.0"
But wagmi hooks provide much better user and programming experience + it's much faster that old web3js I sincerely hope that the issue with trust would be resolved (also it doesn't want to connect via walletconnect in Trust Wallet Browser) and I could use it in my production build

could you explain how you solved this issue?

Hello @itsinayats. It was @meri-maki who got the solution not me. I’m still waiting for the  response also.

Hi @TEE2DWHY @itsinayats i sent you both an email with code, can’t share the repo of my organisation

Hi @TEE2DWHY @itsinayats i sent you both an email with code, can’t share the repo of my organisation

Thank you

Hi @TEE2DWHY @itsinayats web3 and web3-eth could be updated to latest version, please see this issue for change in logic that should be made
https://github.com/web3/web3.js/issues/6249
tested it, works fine!

Em... I doesn't know how it can be, but solution is add data: "0x" to usePrepareSendTransaction:
const { config } = usePrepareSendTransaction({
    to,
    value,
    chainId,
    gas: BigInt(10000),

    data: "0x",
});

Solution take from here: https://github.com/wagmi-dev/wagmi/issues/2161

Em... I doesn't know how it can be, but solution is add data: "0x" to usePrepareSendTransaction:
const { config } = usePrepareSendTransaction({
    to,
    value,
    chainId,
    gas: BigInt(10000),

    data: "0x",
});

Solution take from here: wagmi-dev/wagmi#2161

I just tried it.
It worked very well. Finally got some workaround.
Thak you so much

I also have this issue with TW. Workaround indeed works, however TrustWallet brings "Smart contract call" titled window (instead of a simple send) alongside with warning note that site will be able to access funds. I personally would not confirm such a call cause it does look suspicious. not ideal and frightens users!

data: "0x",

Great, this work for native token tranfer using usePrepareSendTransaction,
but for call any other contract function using usePrepareContractWrite, you know how to fix?

@itsinayats Thanks for your help...!!!
works great


Report unhandled exceptions

This PR adds optional and guided reporting of unhandled exceptions. This can be tested by adding a raise Exception("...") anywhere in a code path, and executing that path.

[x] Users should be able to configure exception reporting to have it: always report, never report, prompt ; to include variables, never include variables, or prompt
[x] Functions should be organized and cleaned up
[x] Documentation should be included to make this functionality and its configuration options clear to end-users

Test Cases:
# without configuration

# disabled configuration
core:
  exception_reporting:
    enabled: false

# include variables
core:
  exception_reporting:
    enabled: true
    include_variables: true
    ...
    include_variables: false
    ...
    include_variables: null

# automatically send report
core:
  exception_reporting:
    enabled: true
    automatically_send_reports: true
    ...
    automatically_send_reports: false


Fixes DF-1649 - removes McLean info

Removes Mallory McLean info (she is no longer at the CFPB).
Removals

Removes McLean section from press resources page.

Testing

Visit /newsroom/press-resources/ and note McLean section is gone.

Review

@sebworks
@jimmynotjim

:+1:


⚠ T:Riza Docs has degraded performance

In b751318, T:Riza Docs (https://docs.triza.dev) experienced degraded performance:

HTTP code: 500
Response time: 16856 ms

Resolved: T:Riza Docs performance has improved in 1972964.


Add possibility to configure socket timeout

Thanks for wanting to report an issue you've found in node_redis. Please delete
this text and fill in the template below. Please note that the issue tracker is only
for bug reports or feature requests. If you have a question, please ask that on gitter.
If unsure about something, just do as best as you're able.
Note that it will be much easier to fix the issue if a test case that reproduces
the problem is provided. It is of course not always possible to reduce your code
to a small test case, but it's highly appreciated to have as much data as possible.
Thank you!

Version: 2.8.0
Platform: Node.js 8.11.1on node:8-alpine docker image on Kubernetes 1.9.3
Description: On different environments different default tcp timeouts might occur. Currently AFAIK node-redis doesn't allow to configure socket timeout. I find it problematic on my prod environment, when redis server (behind a k8s service, a kind of load balancer) is down for couple of seconds, node_redis client is hanged trying to reconnect. Even though redis starts responding, the client is still hanged until it reaches a timeout which seems to be 130 seconds in my case.
I would like to configure redis client to wait only a given timeout.
The deprecated param connect_timeout seems to not work as expected.
Is there any way to configure socket timeout in node-redis?

If you create your own net instance with RedisClient's second argument you can put anything you'd like in as far as options.
Be warned that it's not an official feature, and it may go away.

Funny, I have this exact issue.
Contrary to the documentation, the option connect_timeout is used for the net instance regardless of whether you have defined a retry_strategy function. So it really shouldn't be marked as deprecated in favour of it. I think this option should be split out into its own configuration option.
This is where it's used:
https://github.com/NodeRedis/node_redis/blob/04a09aa2ffcbae9f380b61a4afe15badfe5be5ef/index.js#L255
(Unless I'm misunderstanding, please correct me, cause I'm trying to tackle this issue)

Oops hit delete on my comment.
I'm having this exact issue.
It seems  like connect_timeout, despite being marked as 'deprecated' in the documentation, is actually used for the net instance regardless of whether you have a retry_strategy defined. Looks like it's used for two things? The net instance timeout and the legacy retry strategy. Perhaps it should be split into two? Add a new option specifically for the net instance?
This looks like where it is https://github.com/NodeRedis/node_redis/blob/04a09aa2ffcbae9f380b61a4afe15badfe5be5ef/index.js#L255
Correct me if I'm wrong about any of this please, I'm trying to tackle this issue as well.

This really needs to be addressed ASAP. Right now, if your Redis server ever becomes unavailable for more than a few seconds, the library becomes unsafe/unusable.
If you set the connect_timeout to a low value, it will give up and stop bothering to try and reconnect very quickly.
If you set it to a high value (or leave it as the default), it takes 3+ mins to recover and reconnect - no matter what other options you use.
This has been brought up before (#652), but the PR was closed, seemingly without understanding that the implemented solution did not resolve the issue. At present, other than using the undocumented second argument, there is simply no way to use this library safely.

@jordie23 and @billinghamj I would entertain a PR that resolves the issue.

This seems to be related to https://github.com/NodeRedis/node_redis/pull/1430

Hi
I wrote a comment in:
https://github.com/NodeRedis/node-redis/issues/1488#issuecomment-586960090
On how we can recreate the redis client from the app level once the client has ended (eg from connect_timeout), both in a blocking and non-blocking way. But yes, ideally, it should be handled by the underlying library.


synapse package

not sure about the proper place to report, but would love to see the package for launcher called synapse: https://launchpad.net/synapse-project
please note this would be linux only package

I'd welcome a pull request for this, but I don't have the time to do it myself.
If you want to try to create the formula yourself, please see the formula cookbook.
Thanks for the package suggestion!

This issue was moved to Linuxbrew/homebrew-core#142


Added an alert about average node memory utilization

Description
Right now the existing kube-prometheus-stack doesn't have any alerts where average nodes memory utilization goes above a certain threshold value. I think this alert will be really helpful.
In one of our clusters we do a manual scaling of nodes - so we have no way to know when we actually go ahead and scale the nodes. But, with the help of this alert, we can know that the time has come to scale the nodes.
Also, even if we do autoscaling of nodes - this alert will help us to verify the logic of autoscaling if that's happening correctly or not.
Apart for scaling point of view, i think adding this alert really makes sense.
Type of change
What type of changes does your code introduce to the kube-prometheus? Put an x in the box that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[x] FEATURE (non-breaking change which adds functionality)
[ ] BUGFIX (non-breaking change which fixes an issue)
[ ] ENHANCEMENT (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry
Please put a one-line changelog entry below. Later this will be copied to the changelog file.

I agree with @metalmatze on this. Plus node-exporter mixin, on which we depend, is already shipping a NodeMemoryHighUtilization alert I don't see any reason we should be reinventing the wheel. Hence I am closing this.


react-boilerplate: Webpack can't find typescript-collections

Is caused by package.json "main" reference to umd.js instead of index.js

Resolved in 1.1.7 by adding "jsnext:main": "dist/lib/index.js", to package.json


[add_git_tag] Add commit option

This option allows one to specify the commit/object where to put the
tag in the git history.
This is an implementation for issue #5459

This looks great to me. Thanks for the contribution, @Liquidsoul 👍


How to Set the Find Command

Please confirm

[x] I am running the latest version of this plugin

Tell us about what's bothering you...
...
I have been playing around with Telescope and I have configured the setting find_command in the plugin. I have set in my config:
if isModuleAvailable("telescope-fzf-native") then
  require("telescope").setup({
    defaults = {
      --layout_config = { prompt_position = "top" },
      pickers = {
        find_files = {
          find_command = {
            "fd",
            "--no-require-git",
            "--ignore-file",
            "/scripts/Config/gitignore",
            "--follow",
            "--hidden",
          },
        },
      },
    },
    extensions = {
      fzf = {
        fuzzy = true,
        override_generic_sorter = true,
        override_file_sorter = true,
        case_mode = "smart_case",
      },
    },
  })
  require("telescope").load_extension("fzf")
end

This is recognized by Telescope, but telekasten does not appear to recognize this.
I tried setting in the telekasten config the following:
find_command = "fd --no-require-git --ignore-file /scripts/Config/gitignore --follow --hidden",

But it was not recognized. I tried setting it as:
    find_command = {
      "fd",
      "--no-require-git",
      "--ignore-file",
      "/scripts/Config/gitignore",
      "--follow",
      "--hidden",
    },

But this was not recognized. I tried modifying the plugin directly and updating it to my branch:
https://github.com/renerocksai/telekasten.nvim/compare/main...thw26:telekasten.nvim:main
But this, too, was not recognized. Any suggestions on how to change the find_command used by Telekasten? And more specifically, used by Telekasten's InsertLink function?

The M.Cfg.find_command is set in line 2724 as M.Cfg.find_command = { "rg", "--files", "--sortr", "created" }
Have you tried formatting it properly in your branch rather as one single string?
 local find_command = {
      "fd",
      "--no-require-git",
      "--ignore-file",
      "/scripts/Config/gitignore",
      "--follow",
      "--hidden",
    },

Thanks for the proper line. All is working well now.

Have you tried formatting it properly in your branch rather as one single string?

Some lua plugin in LazyVim keeps autoformatting it by breaking long lines into breaks. I don't do much in lua and I haven't taken the time to figure out which one is doing it.
If I am looking at this right, the find_command variable cannot be overwritten by the config file at this time?

Some lua plugin in LazyVim keeps autoformatting it by breaking long lines into breaks. I don't do much in lua and I haven't taken the time to figure out which one is doing it.

Problem was not formatting (i.e., spaces and newlines). It was because you used a string instead of an array to define the find_command.

If I am looking at this right, the find_command variable cannot be overwritten by the config file at this time?

Indeed, it is hard-coded: https://github.com/renerocksai/telekasten.nvim/blob/36dad2692974a5cc69813441442ccce8c53fbfd4/lua/telekasten.lua#L2729-L2734
Though it seems that for some reason @renerocksai  thought it was obsolete, so I will look into that a bit more in detail when continuing the refactoring.

Indeed, it is hard-coded:
https://github.com/renerocksai/telekasten.nvim/blob/36dad2692974a5cc69813441442ccce8c53fbfd4/lua/telekasten.lua#L2729-L2734
Though it seems that for some reason @renerocksai thought it was obsolete, so I will look into that a bit more in detail when continuing the refactoring.

I guess I found it to be obsolete because of its mention in the Telescope README. It is mentioned there that ripgrep is used for live_grep which is, essentially, what Telekasten is also doing.

BurntSushi/ripgrep is required for live_grep and grep_string and is the first priority for find_files.

So my assumption was: someone using Telescope would have ripgrep installed to be able to live_grep. That maybe was a bad assumption for users who just install Telescope because of Telekasten, sth I hadn't thought of.

I think I may still be misunderstanding something in your posts, @lambtho12. I did change my branch to modify line 2724 but still no change. To simplify things, as @renerocksai brings up, I have switched back to ripgrep in my branch. (I use ripgrep-all when doing terminal work anyways.) You can see that here: https://github.com/renerocksai/telekasten.nvim/compare/main...thw26:telekasten.nvim:main.
I updated the flags on the command to the following:
        M.Cfg.find_command = {
            "rg",
            "--no-require-git",
            "--ignore-file",
            "/scripts/Config/gitignore",
            "--follow",
            "--hidden",
            "--files",
            "--sortr",
            "created",
}

When I issue the following Telescope keymap, I am given symlinked and hidden files:
map(
  "n",
  "<leader>ff",
  ":Telescope find_files find_command=rg,--no-require-git,--ignore-file,/scripts/Config/gitignore,--follow,--hidden,--files,--sortr,created<CR>",
  { desc = "FZF for file" }
)

When I issue a :Telekasten find_notes or :Telekasten follow_link, I am not given symlinked or hidden files in the picker.
(I did update my plugin declaration to pull my branch.)
Am I missing something?

Here is my init.lua:
if isModuleAvailable("telekasten") then
  require("telekasten").setup({
    home = vim.fn.expand("~"),
    templates = vim.fn.expand("~/Templates"),
    image_subdir = nil,
    extension = ".md",
    new_note_filename = "title",
    uuid_type = "%H%m%d",
    filename_space_subst = "_",
    image_link_style = "wiki",
    tag_notation = "@tag",
  })
end

FWIW, I usually follow_link by keymap:
map("n", "<CR>", ":Telekasten follow_link<CR>", { desc = "Follow link under cursor" })


Tidymodels png hex font is missing

This was corrected before we launched tidymodels.org:

But a recent change (perhaps the resizing?) brought the old font back:

thanks to @dcossyleon for noticing!

all set!


Calling External Library From C#

Hello,
This project looks really awesome ! I'm trying to find an example of how to call a third-party library from C# (and ideally, how to to create definitions for arbitrary third party libraries). The one I have in mind is knockoutjs, but any example will make it !

Also I'm curious if there is any example regarding making ajax calls and dom manipulation with JQuery.

@reddyBell, I have made this program. Though, it currently only works with Bridge, if I could get some JSIL Javascript Interop, I would expand it.


How to get URL for updated webpage URL

I need the url for newly launched window.
ex:
https://github.com/kelaberetiv/TagUI
click //*[@id="readme"]/div[2]/article/p[7]/a
then a new tab will be opened, i need to get the newly launced url.
kindly help
thanks in advance

Hi Pallav, I see, you mean getting the URL of the updated webpage URL.
You can use the url() helper function to do that -
https://github.com/kelaberetiv/TagUI
click //*[@id="readme"]/div[2]/article/p[7]/a
echo url()

For a list of other useful helper functions, see https://github.com/kelaberetiv/TagUI#helper-functions

Pasting Pallav's further comments in #236, the use case is for an explicit popup window, not a normal link which brings current tab to a new page.

hi Kensoh
url() returns parent tab url but i need the url of newly launched tab.
please find the example
1.http://demo.guru99.com/popup.php
2.click //a[text()="Click Here"]
3.echo url()
in step 3 it is returning the launched url (http://demo.guru99.com/popup.php) but when i perform step 2 a new tab will be opened so i need the what url is launched in step 2

You can use the popup step to access the new tab. But you need to know at least some keyword in the new tab to identify which tab you wants to access. More details on popup step here, click to expand the pro steps - https://github.com/kelaberetiv/TagUI#steps-description
Both examples below work because the popup tab has an 'article' keyword in URL
http://demo.guru99.com/popup.php
click //a[text()="Click Here"]
echo url()
popup articles
echo url()

http://demo.guru99.com/popup.php
click //a[text()="Click Here"]
echo url()
// use brackets if want to do many actions in popup tab
popup articles
{
echo url()
echo title()
}

So it will show the output below -
START - automation started - Tue Apr 09 2019 18:10:04 GMT+0800 (+08)
http://demo.guru99.com/popup.php -

click //a[text()="Click Here"]
http://demo.guru99.com/popup.php
popup articles
http://demo.guru99.com/articles_popup.php

http://demo.guru99.com/popup.php - Guru99 Bank Home Page
FINISH - automation finished - 6.2s

Raise as a new issue next time, because different question. So that other users can find answer easily.
Created #393

hello @kensoh how i save the url on a .txt file? save url() as url.txt?

Yep that's right. The save step is to save text from a UI element.
dump or write steps can be used to output text or variables to a file.
http://tebel.org
dump url() to myurl.txt

http://demo.guru99.com/popup.php
click //a[text()="Click Here"]
echo url()
// use brackets if want to do many actions in popup tab
popup articles
{
echo url()
echo title()
}
Hi
Thanks a lot kensoh
The solution is working good.
I need one more help
How to close the newly launched tab. why because i need to perform some more operations in first tab.

Posted reply here for benefit of other users - https://github.com/kelaberetiv/TagUI/issues/411

Hi @kensoh The echo function only prints out my updated webpage URL. May I know how to write the updated webpage urls into the 8th column of my existing excel file? Thanks alot!
The codes I have used:
for n from 1 to 40
{
click (//*[@class="website-link"])
wait 2 seconds
hover (850,350)
vision wheel(WHEEL_DOWN, 5)
click attachment.png
popup Announcement&FileID
echo url()
write url() to SGX Data.csv
}

Hi! nice to see you all! I am stuck at a problem. I want to know how to navigate to a webpage by opening a new tab in the same browser window?? Actually I am extracting some data from a webpage then navigate to the specified page to use this data. But my current webpage reloads and navigates to the new url. I need to open the current webpage as well as a navigate to other webpage in a new tab, to use the extracted data. Please help me if someone can!
Thanks a lot!

TagUI does not natively support running multiple tabs unless it is initiated by the main webpage to open new tab. You can try using visual automation mode to do it the way you do manually, or you can break the automation into 2 parts. First part extract data from website 1, second part use data on website 2.


Add Missing Methods for Messages

Some endpoints of the following section can't be hit from this SDK.
We would like to ensure that all endpoints can be hit. For this issue, we would like to build out the Messages
Some of these methods may already exist.
If so no need to change/update them, just point out that they already exist and we will close the issue.

This is just to bring every SDK we have on par with all the methods available.
Check all the endpoints here and add the missing ones.

@jerempy Are there any other that we need to create?


fix: disable seasonfolder option in sonarr for jellyfin/Emby users

Description
This disables seasonfolder option in sonarr for jellyfin/emby users as physical seasonFolders are necessary as virtualFolders are ignored since #126
To-Dos

[x] Successful build yarn build

Issues Fixed or Closed

Fixes #575

:tada: This PR is included in version 1.8.0 :tada:
The release is available on:

v1.8.0
GitHub release

Your semantic-release bot :package::rocket:


Convert filebeat role and play to run on the rsyslog containers

This change is moving the filebeat process from every host and container
within an environment to only the rsyslog server container on a given
logging node.
Signed-off-by: Kevin Carter<EMAIL_ADDRESS>

Has this been tested? I'm afraid that this might kill the CPU on the logging server.

@d34dh0r53 nothing significant to report when testing in a multi-node-aio

recheck_swift

recheck_ceph

recheck all

recheck_ceph

recheck_swift

recheck_all

recheck_all

recheck_all

recheck_cit_all

recheck_all

recheck_cit_all

recheck_cit_all

recheck_cit_xenial_deploy_swift

recheck_cit_xenial_deploy_swift

Rebased but this can not merge until https://github.com/rcbops/rpc-role-filebeat/pull/1 is

I'll close this for now @cloudnull but feel free to reopen it if you're ready to work on this again.


Fix 2 Driver tests on Windows

Most of the driver tests currently don't work on Windows, but these two
were relatively fixable.

specifically target OSX in order to produce generate-dSYM
alternatively match the full path of dsymutil, which on Windows is
given as "C:\....\dsymutil.exe" verify-debug-info ...

Would it be useful to have a DEBUG_NONDARWIN etc that is the same as the DEBUG check but doesn't check for generate-dSYM and doesn't pass -target?

Thanks for looking at this. I don't think this is necessarily the right change for actions.swift, which is already XFAILed on Linux and FreeBSD. I'd rather split it up into the target-agnostic tests and the target-specific tests—and then yes, a DEBUG_NONDARWIN (or DEBUG_NON_DSYM) check would make sense.

So if I'm understanding correctly, leave actions.swift as is, but also xfail on windows, then add another test which doesn't check for dsym and doesn't xfail?
I mostly just fixed these so I'd have a passing test on Windows to add in a test for https://github.com/apple/swift/pull/20140, but if I were to go through and look at a few more, is one large PR better, or is several each with a handful of tests better?

Updated to xfail on windows and split the actions test into dsym and non dsym.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 4ee543894eea93c39311a9a0b1409921afdba13c

Build failed
Swift Test Linux Platform
Git Sha - 06f6f4ab1152bfb3a94689eb6a946ee895336aca

/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/swift/test/Driver/actions-dsym.swift:71:11: error: MULTI: expected string not found in input
// MULTI: 6: link, {1, 3, 5}, image
          ^
<stdin>:7:1: note: scanning from here
6: swift-autolink-extract, {1, 3, 5}, autolink
^
<stdin>:8:2: note: possible intended match here
7: link, {1, 3, 5, 6}, image
 ^

Looks like there's a -target missing somewhere.

/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/swift/test/Driver/actions-dsym.swift:71:11: error: MULTI: expected string not found in input
// MULTI: 6: link, {1, 3, 5}, image
          ^
<stdin>:7:1: note: scanning from here
6: swift-autolink-extract, {1, 3, 5}, autolink
^
<stdin>:8:2: note: possible intended match here
7: link, {1, 3, 5, 6}, image
 ^

Looks like there's a -target missing somewhere.

Oof yeah, that should be removed anyways since it's not being passed -g

Alright, updated and tested locally against all of Windows, MacOS, and Linux.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 06f6f4ab1152bfb3a94689eb6a946ee895336aca

Build failed
Swift Test OS X Platform
Git Sha - 06f6f4ab1152bfb3a94689eb6a946ee895336aca

Thanks, Jason. Sorry for all the delay!


Fix -[RLMResults indexOfObjectWithPredicate:] for RLMResults instances that were created by filtering an RLMArray

Fixes #3319.
/cc @tgoyne
This is working around a core issue (realm/realm-core#1565). It gives correct results for calls to indexOfObjectWithPredicate: at the expense of making them do more work (potentially a lot more), even in cases that aren't affected by the bug. I'm not sure if that's a good tradeoff for us to ship, but it may prove useful to anyone that is affected by #3319.

We could potentially limit the workaround to only cases that would be affected by the bug, but that would require knowing if a Query is restricted by a view. AFAICT that information is not exposed.

#3359 makes Results track the LinkView it's derived from so I could extract that change if needed, but a find_all() limited to one match is probably fine.

Actually, if I understand things correctly I think we could just do the following with the current behavior of find():
auto tv = results.get_tableview();
Query query = tv.get_table()->where(tv);
RLMUpdateQueryWithPredicate(&query, predicate, _realm.schema, _objectSchema);
size_t index = query.find();
return index == realm::not_found ? NSNotFound : index;

This would actually be faster than the current code for everything but Table-backed Results because index_of() is O(N) (could special-case Table-backed results to make it just as fast)

I'm not sure how I feel about optimizing based on finds current bogus behavior. That would mean regressing performance once the core issue is fixed.

:+1:


Exclude CSS

Is it possible to not include the CSS that comes with the Carousel. I often like to use my own and really strip back anything I won't need.

Hi willans, the style appears to be baked into the component, as for example from line 910 here https://github.com/SSENSE/vue-carousel/blob/master/src/Carousel.vue. I suppose you could clone, remove the styles from the source code, and build an unstyled version for your project but I do not know how that would affect the behavior of the Carousel.

@nicholasgriffen is correct! We're currently using single file components, so the template and styles are baked in. Part of our v1 refactor is to move to a more functional component design, which will have the added benefit of separating our CSS.
Going to close this in the mean time, as currently we have no way around embedded CSS.


[Improvement] Add LE executable interface

Add interface for working with LE executables.

http://www.textfiles.com/programming/FORMATS/lxexe.txt


Add Plugins Page to microsite

Fixes #2009
Adds a Plugins page to the microsite - demo.
Plugins are added to the page by adding a yaml file to data/plugins (and an optional icon under static/img/plugins). This is documented in the README and there is a link to that section from the plugins page for developers who want to add their plugin to the page.
:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[x] Screenshots attached (for UI changes)
[x] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

Good attempt to steal all the IP @iain-b. Almost got away with it! 😂

Hello @iain-b, and welcome to the party :) 👋

Modified the UI slightly

Awesome work! And welcome to the Backstage community 🎉

Thanks!


Clarification for "InitAbilityActorInfo" vs "RefreshAbilityActorInfo"

From my initial point of view, this isn't really a standard way to create an ability system, yes it does display that you can move components around, however because that this is on Player State, rather than being in a Character actor (Monsters, NPC's, etc can use Ability System, it's not really limited to the player) it could yield undesired results if implemented differently
While I was trying to implement the GAS system into my project, I found that the PlayerController was always set to null, since I was using the component to be per-character, rather than per-player-state (Reference where it's used https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent_Abilities.cpp#L1164) thus any ability that tried to run was always being denied with "Can't activate LocalOnly or LocalPredicted ability %s when not local! Net Execution Policy is %d.".
This issue can be resolved by calling RefreshAbilityActorInfo() on PossessedBy() override your player actor.
TLDR: InitAbilityActorInfo is called automatically whenever the component is constructed, but if you have a player controller, it will not take it into the account, you must call RefreshAbilityActorInfo().
I haven't seen this being noted anywhere in the documentation, so hope the knowledge here would help someone that was stuck in the same boat.
Reference commit: https://github.com/tranek/GASDocumentation/commit/831ec2e66b59db75f1205095819ed6fbdf81f0f4

Adding information about where to call InitAbilityActorInfo() when the ASC is on the Character for multiplayer games is a good suggestion. A lot of people ask about that "Can't activate LocalOnly..." error. This would be good to link to.
In my projects where I have the ASC on the player-controlled Character class, I call InitAbilityActorInfo() in both PossessedBy() (server-only) and in APlayerController::AcknowledgePossession() (client). Simply calling InitAbilityActorInfo() in PossessedBy() alone is not enough to fix that error. They both call AbilityActorInfo->InitFromActor() but InitAbilityActorInfo() does additional code after that.
Since I don't have an example from Epic of the "Epic way" of doing it and this method works for me, this is what I will include in the docs. It will be included in the 4.25 update of the docs.


How To/How To: Overview of progress board-Kanban Style process

https://github.com/SFDO-Community-Sprints/Nonprofit-Salesforce-How-To-Series/projects/4


ENV/super: enable deterministic archive generation

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

By "archive" I mean the generation of .a files, like static libraries.
ZERO_AR_DATE tells Apple's tools to set the timestamp within these archives to 0.

Review period will end on 2021-11-29 at 13:12:44 UTC.

Good shout 👏🏻

Review period skipped due to critical label.


Unit names

It would be nice if we can set a unit next to the number. Basically, i want to show multiple pickers that show different units for the same value.
<<   60 %   >>
<<   50 px   >>

Hello sdargutev!
Thanks for your feedback, that's actually a great idea. I can imagine implementing it if more people are requesting this feature.


md-autocomplete

Hey guys, I wonder if anyone has work a "md-autocomplete" as a field. I've tried and does not work properly.

Me too!


Arcade Circle bodies moving through other bodies. Reproducible.

This Issue is about

A bug in the API

I'm using 2.7.5.
When a physics body is moving fast enough, it can pass though other bodies that it is supposed to collide with. The velocity that this happens at is not the same for rectangle and circle bodies.
Here it can be seen, from Phaser sandbox. Press space to jump. The rectangle and circle bodies fall and hit the platform below at the same speed, but the circle passes though. When tried with lower values for gravity, this doesn't happen.
/**
 * Generated from the Phaser Sandbox
 *
 * //phaser.io/sandbox/rDpRbHcW
 *
 * This source requires Phaser 2.6.2
 */

var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });

function preload() {

    game.stage.backgroundColor = '#85b5e1';

    game.load.baseURL = 'http://examples.phaser.io/assets/';
    game.load.crossOrigin = 'anonymous';

    game.load.image('player', 'sprites/phaser-dude.png');
    game.load.image('platform', 'sprites/platform.png');

}

var player;
var player2;
var platforms;
var cursors;
var jumpButton;

function create() {

    player = game.add.sprite(100, 200, 'player');
    player2 = game.add.sprite(150, 200, 'player');

    game.physics.arcade.enable(player);
    game.physics.arcade.enable(player2);

    player.body.collideWorldBounds = true;
    player.body.gravity.y = 200;

    player2.body.setCircle(20);
    player2.body.collideWorldBounds = true;
    player2.body.gravity.y = 200;

    platforms = game.add.physicsGroup();

    platforms.create(500, 150, 'platform');
    platforms.create(-200, 300, 'platform');
    platforms.create(400, 450, 'platform');

    platforms.setAll('body.immovable', true);

    cursors = game.input.keyboard.createCursorKeys();
    jumpButton = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR);

}

var collideSpeed = 0;
var collideSpeed2 = 0;

function update () {

    game.physics.arcade.collide(player, platforms, function(){
        collideSpeed = player.body.velocity.y;
    });
    game.physics.arcade.collide(player2, platforms, function(){
        collideSpeed2 = player2.body.velocity.y;
    });

    player.body.velocity.x = 0;
    player2.body.velocity.x = 0;

    if (cursors.left.isDown)
    {
        player.body.velocity.x = -250;
        player2.body.velocity.x = -250;
    }
    else if (cursors.right.isDown)
    {
        player.body.velocity.x = 250;
        player2.body.velocity.x = 250;
    }

    if (jumpButton.isDown && (player.body.onFloor() || player.body.touching.down))
    {
        player.body.velocity.y = -400;
    }

    if (jumpButton.isDown && (player2.body.onFloor() || player2.body.touching.down))
    {
        player2.body.velocity.y = -400;
    }
}

function render () {
    game.debug.text('rect Y velocity: ' + player.body.velocity.y, 8, 140, "#ff00ff");
    game.debug.text('rect X velocity: ' + player.body.velocity.x, 8, 160, "#ff00ff");
    game.debug.text('rect collide speed: ' + collideSpeed, 8, 180, "#ff00ff");
    game.debug.body(player);

    game.debug.text('circ Y velocity: ' + player2.body.velocity.y, 408, 140, "#ff00ff");
    game.debug.text('circ X velocity: ' + player2.body.velocity.x, 408, 160, "#ff00ff");
    game.debug.text('circ collide speed: ' + collideSpeed2, 408, 180, "#ff00ff");
    game.debug.body(player2);
}

http://codepen.io/samme/pen/gmJeYK


fix(vm-create): fix notification when copy api logs on create error (#1569)

…#1569)

Pull Request Test Coverage Report for Build 1754

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.53%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/app/vm/vm-creation/api-log/vm-api-log.component.ts
0
2
0.0%

Totals

Change from base Build 1752:
0.0%

Covered Lines:
9522

Relevant Lines:
15785

💛  - Coveralls


Inconsistency in the  tags for the multilevel view

I only fixed it in index.html to demonstrate the minor fix but it should be fixed in every page
(The first tag wasn't closed and formatting was different from all your other sidebar levels)

Thanks again for your work on this!

Nice catch! Please also add this on other pages before merging.

Sure!


style options

As A team member
I want to Share some options for style in the landding page
Acceptance criteria
I want to choose one  background
Then I'll bring the link from the options to the team members
Then  Take a decision with the Team members opinion

complete and the Team members choose the option 11 given

in the slack chanel


Add screenshots

I think it would be useful to see in both the Foundry package description and here on the GitHub page what exactly this looks like before we install it so we can get some rough idea.

Thanks for the suggestion, it should be fixed now.


Update to IdentityModel 7.1.2

Is this a merge from the temporary internal repo?

Is this a merge from the temporary internal repo?

Yes. It was necessary to revert the change to the .submodules file to prevent it from still pointing to the internal repo.

/backport to main

Is this a merge from the temporary internal repo?

Yes. It was necessary to revert the change to the .submodules file to prevent it from still pointing to the internal repo.

Great!


Machine mac-4 lost connection from external iPhone device.

Machine mac-4 lost connection from external iPhone device.

The external connection has been restored by rebooting machine mac-4.


Custom TitleBar is not working in RTL

Describe the bug
i used Custom titlebar from here
https://docs.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=wasdk#platform-options
now if we change App Language to RTL, Custom Titlebar is not working (Window can not be dragged and Close Button is not work)
Steps to reproduce the bug
1.Create custom titlebar in RTL app
Expected behavior
No response
Screenshots
No response
NuGet package version
1.1.0-preview3
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022
Additional context
No response

@ghost1372 Can you provide a reproducible example? What language are you targeting?
This works for me on 1.1.0-preview1, albeit on 25115. Trying 22000 now.

Hi @riverar
please test with 1.1.0-preview3

App25.zip

OK, this is more of a problem with the sample code at https://docs.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=wasdk#interactive-content. Can confirm it's broken and incorrectly assumes LTR layout.
Adding @rkarman @BenJKuhn

We've verified this bug and logged it here http://task.ms/39695482. We will add it as part of v1.2 planning.

Hope it is considered for servicing as it impacts global readiness.

Yes, this we will consider servicing the fix in in-market releases.

@mevey Great news, thanks for closing the loop!

@mevey or @riverar do you think this will fix #2953?

@jamers99 The bug described here was ultimately a problem with the sample in the docs, so no don't think any changes here will fix that sadly.

@riverar should this be closed then?

@jamers99 Doesn't look like the sample was updated yet, so think it needs to remain open. @mevey may have more info.

@riverar thanks for the insight, makes sense. Do you have any idea if I should keep #2953 or microsoft/microsoft-ui-xaml#7392? How should I go about getting more priority for it? It's a big deal for our tab based app. Unless we find a workaround, I think it's a stopper.

@jamers99 I'd keep both, just to have data on how inattentive Microsoft is in the Microsoft UI XAML repository. I'll take a look at your issue and update you in the other thread.

This issue has been resolved in version 1.2 stable


remove duplicate parameter name in array multisort stub

Ref: https://youtrack.jetbrains.com/issue/WI-45819

looks like you should add a parameter back to the signature to fix the test

Please, not that you have one broken tests. Looks like you should add a parameter back to the signature to fix the test. Thank you for the contribution

Thanks @andrey-sokolov updated.

Thanks that was fast! Looks like the correct signature is different: https://www.php.net/manual/en/function.array-multisort.php Can you please fix it accordingly?

@terdia Thanks that was fast! Looks like the correct signature is different: https://www.php.net/manual/en/function.array-multisort.php Can you please fix it accordingly?

thanks @andrey-sokolov do you mean the default values, .i.e. $arg = 'SORT_ASC', $arg2 = 'SORT_REGULAR'?

Sorry, I've merged this PR https://github.com/JetBrains/phpstorm-stubs/pull/686 for this issue as ready one. Thank you for participating


Input "Over" events do not trigger when a Sprite moves into / under a Pointer

Reproduce by running Pixel Perfect Click Detection or Rotated Buttons.
Verify that the "Over" event works when the pointer is moved, by moving the pointer over the spinning sprite. Then place the pointer off the sprite, but to a location the sprite will turn into.
Problem: the "Over" event is not triggered when the sprite/button rotates under the pointer.

It's not really anything to do with rotation or sprite motion as such, it's just that the mouse didn't move, so no movement event was triggered, so the input handler didn't re-check anything.
If you think about it the alternative is to re-check every single input enabled object against all pointers previous x/y coordinates, every single frame. That would account for the point not having moved, but the objects doing so.
Part of me thinks that's a horrendous idea (because performance wise, it is) - the other part things it could possibly be a user-defined setting.

I'm going to mark this as a v3 feature (that users can easily disable!) as I don't plan on refactoring v2 enough to support this.
This feature request has been moved to the Phaser 3 feature list (so is being closed here)


real-ld: cannot find -lqsgepaper

~/draft-reMarkable$ arm-remarkable-linux-gnueabi-g++  -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi -Wl,-O1 -o draft main.o mainview.o options.o handler.o moc_handler.o   -lqsgepaper /opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi/usr/lib/libQt5Quick.so /opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi/usr/lib/libQt5Gui.so /opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi/usr/lib/libQt5QmlModels.so /opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi/usr/lib/libQt5Qml.so /opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi/usr/lib/libQt5Network.so /opt/codex/rm10x/3.1.15/sysroots/cortexa9hf-neon-remarkable-linux-gnueabi/usr/lib/libQt5Core.so -lpthread
/opt/codex/rm10x/3.1.15/sysroots/x86_64-codexsdk-linux/usr/libexec/arm-remarkable-linux-gnueabi/gcc/arm-remarkable-linux-gnueabi/9.3.0/real-ld: cannot find -lqsgepaper
collect2: error: ld returned 1 exit status

how to solve it?

You are missing libqsgepaper.a. You can find it here: https://github.com/Eeems-Org/oxide/tree/master/shared/epaper

Thank you for ur timely help.
However, I found it hard to use draft:

xochitl will still override the draft even if I systemctl disable  --now xochitl
I tried the mentioned button-capture, which is not working.
rsync 11 happens, making me have to change the deployment path to
home [minor issue though].

Hmm, the scarce space.......
reMarkable: ~/ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               230.2M    222.5M         0 100% /
devtmpfs                104.7M         0    104.7M   0% /dev
tmpfs                   233.2M         0    233.2M   0% /dev/shm
tmpfs                   233.2M    608.0K    232.6M   0% /run
tmpfs                   233.2M         0    233.2M   0% /sys/fs/cgroup
tmpfs                   233.2M     12.0K    233.1M   0% /tmp
tmpfs                   233.2M         0    233.2M   0% /var/volatile
/dev/mmcblk1p1           19.0M     11.0M      8.1M  58% /var/lib/uboot
/dev/mmcblk1p7            6.6G    710.2M      5.5G  11% /home

On 3/22/23 23:52, Nathaniel van Diepen wrote:

You are missing |libqsgepaper.a|. You can find it here:
https://github.com/Eeems-Org/oxide/tree/master/shared/epaper
—
Reply to this email directly, view it on GitHub
https://github.com/dixonary/draft-reMarkable/issues/36#issuecomment-1479827399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEGUCRQVJKFUVSH4R5CYNCDW5MN4BANCNFSM6AAAAAAWDQV6XM.
You are receiving this because you authored the thread.Message ID:
@.***>

There is another systemd service that will start xochitl even if it's disabled. I think it's sync.service.
If you want to install draft without any changes, I'd recommend installing toltec, as it has draft packaged, and handles the issues you are encountering.

I tried according to the official doc.
I connected to the wifi. You can see it's working.
reMarkable: ~/ curl https://bing.com
<title>Object moved</title>

Object moved to here.

However, I got stuck on the following things.
It seems the secure wget is not compatible with the rM (Segmentation fault happened).
reMarkable: ~/ wget http://toltec-dev.org/bootstrap
Connecting to toltec-dev.org (<IP_ADDRESS>:80)
saving to 'bootstrap'
bootstrap            100% |*******************************************************************************************************************************************************************|  8491  0:00:00 ETA
'bootstrap' saved
reMarkable: ~/ echo "04a28483286f88c5c7f39e352afb62adc57f6162a29fd7e124d832205bb0980e  bootstrap" | sha256sum -c && bash bootstrap
bootstrap: OK
INFO:  Fetching secure wget
wget: connection closed prematurely
ERROR: Could not fetch wget, make sure you have a stable Wi-Fi connection
reMarkable: ~/ echo "04a28483286f88c5c7f39e352afb62adc57f6162a29fd7e124d832205bb0980e  bootstrap" | sha256sum -c && bash bootstrap
bootstrap: OK
ERROR: '/home/root/.local/bin/wget' exists, but is not executable
ERROR: You may need to delete it and try again.
reMarkable: ~/ chmod +x .local/bin/wget
reMarkable: ~/ echo "04a28483286f88c5c7f39e352afb62adc57f6162a29fd7e124d832205bb0980e  bootstrap" | sha256sum -c && bash bootstrap
bootstrap: OK
INFO:  Bootstrapping Opkg
bootstrap: line 119:   576 Segmentation fault      wget --no-verbose "$entware_remote/opkg" --output-document "$opkg_path"
ERROR: Could not fetch opkg, make sure you have a stable Wi-Fi connection

bootstrap: OK
INFO:  Fetching secure wget
wget: connection closed prematurely
ERROR: Could not fetch wget, make sure you have a stable Wi-Fi connection

You'll want to delete /home/root/.local/bin/wget and try again. You pulled down a partial file, which will not run properly.

Well, I think the network is just not that good in rM because that's the same result after multiple tries.
I had to check the bootstrap thoroughly and find the wget url and do it in the scp way.
$ wget http://toltec-dev.org/thirdparty/bin/wget-v1.21.1 && scp wget-v1.21.1 root@remarkable:/home/root/.local/bin/wget
--2023-03-24 11:32:20--  http://toltec-dev.org/thirdparty/bin/wget-v1.21.1
Resolving toltec-dev.org (toltec-dev.org)... <IP_ADDRESS>, 2a01:4ff:f0:471a::1
Connecting to toltec-dev.org (toltec-dev.org)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3115800 (3.0M) [application/octet-stream]
Saving to: ‘wget-v1.21.1’

wget-v1.21.1                                         100%[=====================================================================================================================>]   2.97M  2.19MB/s    in 1.4s

2023-03-24 11:32:23 (2.19 MB/s) - ‘wget-v1.21.1’ saved [3115800/3115800]

wget-v1.21.1                                                                                100% 3043KB 998.8KB/s   00:03
$ ssh root@remarkable
ｒｅＭａｒｋａｂｌｅ
╺━┓┏━╸┏━┓┏━┓   ┏━╸┏━┓┏━┓╻ ╻╻╺┳╸┏━┓┏━┓
┏━┛┣╸ ┣┳┛┃ ┃   ┃╺┓┣┳┛┣━┫┃┏┛┃ ┃ ┣━┫┗━┓
┗━╸┗━╸╹┗╸┗━┛   ┗━┛╹┗╸╹ ╹┗┛ ╹ ╹ ╹ ╹┗━┛
reMarkable: ~/ chmod +x .local/bin/wget
reMarkable: ~/ echo "04a28483286f88c5c7f39e352afb62adc57f6162a29fd7e124d832205bb0980e  bootstrap" | sha256sum -c && bash bootstrap
bootstrap: OK
INFO:  Bootstrapping Opkg
2023-03-24 03:33:52 URL:https://bin.entware.net/armv7sf-k3.2/installer/opkg [752476/752476] -> "/home/root/.local/bin/opkg" [1]
2023-03-24 03:33:57 URL:https://toltec-dev.org/stable/rmall/toltec-bootstrap_0.2.2-1_rmall.ipk [6667/6667] -> "/tmp/toltec-bootstrap_0.2.2-1_rmall.ipk" [1]
INFO:  Installing Toltec and Entware
Mounting '/home/root/.entware' over '/opt'
Created symlink /etc/systemd/system/local-fs.target.wants/opt.mount → /lib/systemd/system/opt.mount.
Downloading https://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading https://toltec-dev.org/stable/rmall/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec-rmall
Downloading https://toltec-dev.org/stable/rm1/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec-rm1
Installing entware-opt (227000-3) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-opt_227000-3_all.ipk
Installing libgcc (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libgcc_8.4.0-11_armv7-3.2.ipk
Installing libc (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libc_2.27-11_armv7-3.2.ipk
Installing libssp (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libssp_8.4.0-11_armv7-3.2.ipk
Installing libpthread (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpthread_2.27-11_armv7-3.2.ipk
Installing librt (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/librt_2.27-11_armv7-3.2.ipk
Installing libstdcpp (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libstdcpp_8.4.0-11_armv7-3.2.ipk
Installing entware-release (1.0-2) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-release_1.0-2_all.ipk
Installing zoneinfo-asia (2022g-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-asia_2022g-1_armv7-3.2.ipk
Installing zoneinfo-europe (2022g-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-europe_2022g-1_armv7-3.2.ipk
Installing findutils (4.9.0-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/findutils_4.9.0-1_armv7-3.2.ipk
Installing terminfo (6.4-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/terminfo_6.4-1_armv7-3.2.ipk
Installing libpcre2 (10.37-2) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpcre2_10.37-2_armv7-3.2.ipk
Installing grep (3.8-2) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/grep_3.8-2_armv7-3.2.ipk
Installing locales (2.27-9) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/locales_2.27-9_armv7-3.2.ipk
Installing opkg (2022-02-24-d038e5b6-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/opkg_2022-02-24-d038e5b6-1_armv7-3.2.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-upgrade_1.0-1_all.ipk
Configuring libgcc.
Configuring libc.
Configuring libssp.
Configuring libpthread.
Configuring librt.
Configuring terminfo.
Configuring libpcre2.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required.
Configuring opkg.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring libstdcpp.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
Installing toltec-base (1.1-1) to root...
Downloading https://toltec-dev.org/stable/rm1/toltec-base_1.1-1_rm1.ipk
Installing bash-completion (2.11-3) to root...
Downloading https://toltec-dev.org/stable/rmall/bash-completion_2.11-3_rmall.ipk
Installing toltec-completion (0.3.1-1) to root...
Downloading https://toltec-dev.org/stable/rmall/toltec-completion_0.3.1-1_rmall.ipk
Installing coreutils (9.1-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/coreutils_9.1-1_armv7-3.2.ipk
Installing coreutils-tsort (9.1-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/coreutils-tsort_9.1-1_armv7-3.2.ipk
Installing toltec-base (1.1-1) to root...
Installing toltec-bootstrap (0.2.2-1) to root...
Downloading https://toltec-dev.org/stable/rmall/toltec-bootstrap_0.2.2-1_rmall.ipk
Installing rm2fb-client (1:0.0.30-1) to root...
Downloading https://toltec-dev.org/stable/rm1/rm2fb-client_1_0.0.30-1_rm1.ipk
Installing xochitl (0.0.0-14) to root...
Downloading https://toltec-dev.org/stable/rmall/xochitl_0.0.0-14_rmall.ipk
Installing display (1:0.0.30-1) to root...
Downloading https://toltec-dev.org/stable/rm1/display_1_0.0.30-1_rm1.ipk
Installing remarkable-splash (1.0-5) to root...
Downloading https://toltec-dev.org/stable/rmall/remarkable-splash_1.0-5_rmall.ipk
Installing open-remarkable-shutdown (1.0-1) to root...
Downloading https://toltec-dev.org/stable/rmall/open-remarkable-shutdown_1.0-1_rmall.ipk
Installing ca-certificates (20211016-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/ca-certificates_20211016-1_all.ipk
Installing wget-ssl (1.21.3-2) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/wget-ssl_1.21.3-2_armv7-3.2.ipk
Installing libpcre (8.45-3) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpcre_8.45-3_armv7-3.2.ipk
Installing zlib (1.2.13-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zlib_1.2.13-1_armv7-3.2.ipk
Installing libatomic (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libatomic_8.4.0-11_armv7-3.2.ipk
Installing libopenssl (3.0.8-2a) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libopenssl_3.0.8-2a_armv7-3.2.ipk
Configuring libatomic.
Configuring coreutils.
Configuring coreutils-tsort.
Configuring bash-completion.
Bash completions should take affect on next login.
To apply them immediately, run
 $ source /etc/profile.d/bash_completion.sh
Configuring toltec-completion.
Configuring xochitl.
Created symlink /etc/systemd/system/sync.service → /dev/null.
Created symlink /etc/systemd/system/multi-user.target.wants/manual-sync.service → /etc/systemd/system/manual-sync.service.
Configuring display.
Configuring rm2fb-client.
Configuring remarkable-splash.
Configuring open-remarkable-shutdown.
Configuring toltec-base.
Disabling usb1 network device to avoid long boots
Created symlink /etc/systemd/system/sys-subsystem-net-devices-usb1.device → /dev/null.
Configuring toltec-bootstrap.
Please restart your SSH session or run 'exec bash --login' to use Toltec
Configuring libpcre.
Configuring ca-certificates.
Configuring zlib.
Configuring libopenssl.
Configuring wget-ssl.
Package toltec-bootstrap (0.2.2-1) installed in root is up to date.
INFO:  After each system upgrade, run 'toltecctl reenable' to re-enable Toltec
reMarkable: ~/ exec bash --login
reMarkable: ~/ opkg install draft
Installing draft (0.2.0-21) to root...
Downloading https://toltec-dev.org/stable/rmall/draft_0.2.0-21_rmall.ipk
Configuring draft.

Run the following command(s) to use draft as your launcher
$ systemctl disable --now xochitl
$ systemctl enable --now draft

reMarkable: ~/ systemctl disable --now xochitl && systemctl enable --now draft
Removed /etc/systemd/system/launcher.service.
Removed /etc/systemd/system/multi-user.target.wants/xochitl.service.
Created symlink /etc/systemd/system/launcher.service → /lib/systemd/system/draft.service.
Created symlink /etc/systemd/system/multi-user.target.wants/draft.service → /lib/systemd/system/draft.service.
reMarkable: ~/ ls /etc/draft
icons          shutdown       xochitl.draft
reMarkable: ~/ ls /etc/draft/icons
power.png    xochitl.png
reMarkable: ~/ rm -rf /etc/draft
reMarkable: ~/ cp -r draft /etc/draft
reMarkable: ~/ systemctl restart draft
reMarkable: ~/ logout
Connection to <IP_ADDRESS> closed.

Anyway it's working.
I just replaced the config with my previous version where I had specied the path to the installed KOReader.
Awesome work, thank you bro~

The only thing that still doesn't work, is button-capture. I held and held, nothing happened.

You might be more interested in remux or oxide as an alternative to draft.

Yep, I guess


duplicated metrics with node_exporter

I see grok-exporter output some go_mem* metrics by default. But all these metrics are already available with node-exporter.
One important point is that some metrics display different help string between grok_exporter and node-exporter. This will get Prometheus to complain the difference.
e.g:
node-exporter: # HELP go_memstats_sys_bytes Number of bytes obtained from system.
grok-exporter: # HELP go_memstats_sys_bytes Number of bytes obtained by system. Sum of all system allocations.
Would you please remove duplicated metrics with node exporter or update the help text string?

A little bit of background for those who find this in their Google searches: The metric go_memstats_sys_bytes is produced by the Prometheus client library for the Go programming language. That means, every exporter written in Go provides this metric. The metric shows the memory consumption of the exporter. This is useful to observe the behavior of the exporter itself, but it does not say anything about the system being monitored.
It's not a duplicate metric. It's just that both the node_exporter and grok_exporter are written in Go, so the both export this metric for observing the exporters' memory consumption.
The reason why there are different HELP messages is that grok_exporter uses an older version of the client library, and the message changed with the newer version used in node_exporter. I updated the client library, so with the next grok_exporter release the HELP messages should be the same. You can safely ignore the Prometheus warning.


Public package "net.sf.uadetector.service" not exported (OSGI) to users

All examples uses class UADetectorServiceFactory witch is not exported in OSGI manifest. As result - module not usable in OSGI env.

I'm seeing the exact same problem.  Although it's packaged as a bundle, it's not been done correctly.

Let's see how we fix it. Thank you for reporting it.

It's been a year and this is still not working.  any update?  It's a simple fix.

here's the fix:
modules/uadetector-resources/pom.xml
line ~91
${bundle.namespace}.*;version="${project.version}",
net.sf.uadetector.service;version="${project.version}"


Catalog Views available in Azure Database and DW

These catalog views seem to be available in Azure DB and DW. Product team should confirm if that's expected behavior and documentation should be updated accordingly.

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

ID: 2e44d6f5-818c-fdf0-8169-d23d0b6a0b68
Version Independent ID: af6b6d8b-d984-faba-ff8e-ddf7fe954f36
Content: Object Catalog Views (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-catalog-views/object-catalog-views-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

@stevestein Hi Steve, please triage this article.
CC: @cheenamalhotra Hi Chenna, This Issue has been assigned to the article owner, who will triage this Issue. You will be notified again when the triage phase is completed.

@cheenamalhotra - This issue will be fixed in the documentation. We have created a new internal tracking number for this work item: 1518995. We are closing this Issue, and are letting the new item track this going forward. You will receive another notice after the internal item is completed. Thank you for submitting this Issue.


Document pod-overrides and container-overrides

Which area is this feature related to?
/area documentation
Which area is this documentation change is related to?
/area api
/area library
Issue details
pod-overrides and container-overrides were implemented in https://github.com/devfile/library/pull/158 and https://github.com/devfile/library/pull/157
but there is no documentation on devfile.io about how to use it and what is it for
context in https://github.com/devfile/api/issues/920

Thank you for opening this. I am planning on working on this. I was waiting for both the PRs to go in.


All content of all channels marked as adult when not logged in

When visiting a channel (e.g. https://hubzilla.nl/channel/rms) on my new hub when not logged in*, all content is marked with 'Possible adult content - Click to open/close'. This is true for cloned channels and newly created channels (e.g. https://hubzilla.nl/channel/testing). Toggling 'Adult Content' in channel settings (that is by default 'off') has no effect at all.

not logged in means also not remotely authenticated.

There was an obscure config someplace that makes all your channels adult/censored and doesn't let you over-ride it. I'll have to try and find it; though I also notice the nsfw addon is using the old xchan_flag fields to determine that it's an adult channel and that needs to be fixed.

Should be fixed - pull hubzilla-addons

Works! Thanks Mike.


Make Module.setRequiredDependencies() public

BUG: LMCROSSITXSADEPLOY-1057

It is inappropriate to make this methods public.


config.ini: only *.zip input possible?

Dear Marco,
greetings from Bunswick (We met on the ESA LPS) :-)
Currently I want to take a look into your S1_NRB framework and I try to understand how to use it.
Installation went well so far.
However, I read the following in the docs:

scene_dir will be searched recursively for any Sentinel-1 scenes using the regex pattern '^S1[AB].*.zip$'.

We are using CODE-DE (cloud service) for processing and there we have access to the entire Copernicus archive for Germany.
Problem is now, that all the scenes are already unzipped to the *.SAFE folder structure.
Is it still possible to use the config.ini although we do not have the zip files?
Second issue is then, that I do not know how to combine your approach of the "scences" directory  with the structure CODE-DE is saving their data.
The CODE-DE structure is using single YEAR, MONTH, DAY folders to split all aquisitions in to single sub-directories.
It would be a fantastic help, if you could share an End-to-End example, how to apply the whole process in a juypter notebook for one single image (in python).

Hi @florianbeyer. It was really great meeting you at LPS. Great to meet you again virtually.
The processor now finds .SAFE folders as well: https://github.com/SAR-ARD/S1_NRB/commit/aea53a57bc5fa1418fea4f46f69b41b7332909b1
As Marco has pointed out, it would be a good idea to limit scene_dir down as much as possible so that the processor does not search for all existing scenes and tries to ingest their metadata in the SQLite database. That would take forever.

I am closing this for now as the .SAFE product search is now possible with version 0.4.2. @florianbeyer if you find additional issues with using the processor in your use case feel welcome to reopen the issue or create a new one.


gg20

current signing test cannot demonstrate this can acheive offline signing

current signing test cannot demonstrate this can acheive offline signing

closed in favor of https://github.com/binance-chain/tss-lib/pull/127


[RFC] Generate enriched errors

Context
All components of both Clear Containers and Kata Containers now produce structured logs. This is extremely useful as the log fields provide a lot of context on key stages in the runtime flows.
Current virtcontainers error example
However, errors currently suffer as they are wholly "free-format".
For example, here's an example of a structured log message logged by cc-runtime:
time="2018-02-28T21:18:55.292102004+01:00" level=error msg="Container not ready or running, impossible to signal the container" source=runtime pid=1234

Or formatted with the log-parser on https://github.com/kata-containers/tests/pull/98 for easier reading:
- count: 1
  timedelta: 0
  filename: /home/james/tmp/vc-old.txt
  line: 1
  time: !!timestamp 2018-02-28T21:18:55.292102004+01:00
  pid: 1234
  level: error
  msg: Container not ready or running, impossible to signal the container
  source: runtime
  name: cc-runtime
  data: {}

Notes:

The msg is the value passed to fmt.Errorf().
The source=runtime is actually wrong - this error was generated by virtcontainers, but it was the runtime that caught the error and logged it (but how would a reader know this?)

Error based on this PR
This PR is just an idea for how we could improve our error handling. It adds a new implementation of Errorf() so that rather than the above, with this PR you'd get the following:
time="2018-03-02T14:40:30.311729832Z" level=error arch=amd64 error="Container not ready or running, impossible to signal the container" error-time="2018-03-02T14:40:30.311705732Z" file="\"/home/james/go/src/github.com/clearcontainers/runtime/vendor/github.com/containers/virtcontainers/container.go\"" function="github.com/clearcontainers/runtime/vendor/github.com/containers/virtcontainers.(*Container).kill" hello=world line=628 name=cc-runtime pid=22469 source=virtcontainers

... and here's the log-parser reformatted version of that line:
- count: 1
  timedelta: 0
  filename: /home/james/tmp/vc.log
  line: 1
  time: !!timestamp 2018-03-02T14:40:30.311729832Z
  pid: 22469
  level: error
  msg: ""
  source: virtcontainers
  name: cc-runtime
  data:
    arch: amd64
    error: Container not ready or running, impossible to signal the container
    error-time: "2018-03-02T14:40:30.311705732Z"
    file: '"/home/james/go/src/github.com/clearcontainers/runtime/vendor/github.com/containers/virtcontainers/container.go"'
    function: github.com/clearcontainers/runtime/vendor/github.com/containers/virtcontainers.(*Container).kill
    hello: world
    line: "628"

Notes:

We now get two timestamps - one showing the time the error was logged (time) and the other showing the time the error was generated (error-time).
The file, line number and function where the error was generated are now logged.
The source now correctly shows virtcontainers.

Caveats
This PR is just an example. To be generally useful, we'd need this Errorf() function (and an equivalent to errors.New()) to be available to all components of Clear Containers and Kata Containers. That implies we'd need a new package for this functionality in a separate repo that we'd "vendor in" to all the components.
The other issue is how we handle the logger itself. Ideally, we'd find a way to register the logger with the new package and then have Errorf() use that logger object. But worst case, we'd need to change all the fmt.Errorf() and errors.New() calls to pass in the logger as an extra arg.
/cc @sameo, @sboeuf, @grahamwhaley.

@jodh-intel PR looks good, and I agree this should be in a new subpackage of virtcontainers. This way, this could be reused accross repos.

Hi @sboeuf - regarding the separate package, what about Kata? If we agree to adopt "enriched errors", we'd want them used everywhere so wouldn't it be simpler to create a completely separate package (https://github.com/kata-containers/errors or https://github.com/kata-containers/utils or something) that all components could vendor to avoid vendoring (a sub-package of) virtcontainers?

A summary of current thinking...
The errors package
@markdryan pointed me at https://github.com/pkg/errors. This looks interesting, but although it improves the quality of the errors by adding a stack trace...

The returned error requires that particular format verbs are used to show the stack trace.
The stack trace is designed to be human-readable, not machine-readable.

I'm after a solution that doesn't change the error interface and which generates "structured" errors.
Original API Idea
I have an almost complete implementation whose API is:
package errors

// SetLogger sets the error logger to be used when generating error
// objects.
func SetLogger(logger *logrus.Entry)

// New is equivalent to errors.New().
func New(msg string) error

// Errorf is equivalent to fmt.Errorf().
func Errorf(format string, args ...interface{}) error

// Error takes a "normal" error and converts it into an enriched error
func Error(err error) error

This works in most scenarios but gets tripped up due to the flexible nature of logrus. Specifically, the following idiom -- where a more specialised logger is created (with extra fields) -- is problematic:
// "register" logger with the errors package
errors.SetLogger(virtLog)

// ...

logger := virtLog.WithField("foo", "bar")

err := doSomething()
if err != nil {
    // log the error
    logger.WithError(err).Error("doSomething() failed")

    // return an enriched error.
    //
    // BUG: the Error() function is still using the original logger (virtLog)
    // which doesn't have the "foo" field.
    return errors.Error(err)
}

The ways to resolve this issue (atleast the ones I came up with) aren't particularly palatable:

Allow errors.Error(), errors.Errorf() and errors.New() to accept an optional logger.
It would work, but be error prone to use as easy to forget to pass it.

Change the API so that SetLogger() becomes something like:
func SetLogger(f func() *logrus.Entry)

That way, the code could be reworked so that direct access to virtLog would be replaced by a call to a function that returned the logger. But again, you'd need to remember to call it so it would be error-prone.

A simpler API idea
I had a further think and came up with the following:
// LogError takes a logger which is assumed to contain an error and returns a
// new structured error which includes details of the error call site.
func LogError(entry *logrus.Entry) error

With this, we could then do magic like:
func f() error {
    logger := virtLog.WithField("foo", "bar")

    err := doSomething()
    if err != nil {
        // this logs
        return LogError(logger.WithError(err))
    }

    value := doSomethingElse()
    if value == "" {
        return LogError(logger.Error("doSomethingElse() failed"))
    }

    return nil
}

The advantages of this approach:

The API is extremely simple :smile:
You can use whichever logger you happen to have in your function:

no need to register in advance.
all log fields will then be added to the error.

LogError() can either just return the error or it could also log it normally then return it as an error if desired.
If you forget to use .WithError() with the provided logger, atleast the call site information tells you where your bug is!

An example of that API:
origErr := errors.New("hello world")
err := LogError(logger.WithError(origErr))
fmt.Println(err)

which generates an error something like:
time="2018-03-06T16:50:36.943864917Z" level=error error="hello world" error-file=/home/james/src/go/test_logrus_as_error2.go error-function=main.testLogError error-line=151 error-time="2018-03-06T16:50:36.943813912Z"

Any thoughts on the above @sameo, @sboeuf, @grahamwhaley?

Most of that sounds sane to me, I think.

Are you getting tied tightly to having to use a logger, or spefically logrus here - if so, then it would be nice to avoid being tied in if possible (I know all our current code is using logrus and logging, but just noting for being fully generic).
I'd value the input from @markdryan here, for his more global go pov

mostly unrelated - query - is the !! deliberate in the timestamps:
 time: !!timestamp 2018-03-06T17:29:13.06774561Z

and if so, what does it mean, and why do they not also appear in the error time?

Yes, LogError() is logrus-specific. If we ever wanted to move to another logger, I'm assuming we'd find a way to rework that function in similar ways to extract the log fields.
Ignore those timestamps - you get the weird prefix when running kata-log-parser --output-format yaml .... See: http://yaml.org/type/timestamp.html.

@jodh-intel I am all for simplicity ! And your simpler API idea looks good to me. Especially for logging, it's important not to be confused with too many options.

@jodh-intel Need to be closed and moved to https://github.com/kata-containers/runtime/virtcontainers


[BUG FIX] CHANGES IN SEARCH PAGE ( added background and styling ) AND DASHBOARD PAGE ( added navbar )

Fixes #3 #9

Merged :-)


Error during Flash Removal

Hi there,
Sorry to bug you again.  I've got everything working well with the code until the final step of removing the flash and recalculating/renormalizing.  As you can see in the attached screenshot, I get a series of errors for each Beam during this process.  It seems that during this final dose calculation the code is trying to use the GPU, even though the config file is set to "No" for using the GPU for dose calculation and optimization.
After I close the error window, the code finishes (see attached text file), but when I then open the patient in Eclipse, no dose is calculated.
Any ideas to solve this are much appreciated!  Thank you.

Finished_after error.txt

I would guess that maybe your code is on network but not on local drive? If so, you may want to move the code to local drive first. I had various issues that were all gone after I moved the code to local drive. Just my 2 cents.

Interesting error. I haven't seen this happen before. My only guess is that the use GPU option is getting turned back on during the process of removing flash. One of the annoying things in ESAPI is that there wasn't/isn't a clear way to clear dose from a plan (required for structure modifications). A way around this is to clear the assigned calculation model to the plan and then re-assign it. This inherently wipes the calculated dose. I'm guessing that during the process of re-assigning the calculation model, it is using the default options for your planning system. That use gpu option in the configuration file is only used in the plug-in/preparation script, not the optimization loop script. Try adding this line on line 574 of progressWindow.xaml.cs (right after p.SetCalculationModel(CalculationType.PhotonVolumeDose, calcModel);):
p.SetCalculationOption(calcModel, "UseGPU", "No");
This should tell Eclipse to set the use gpu option to false when re-assigning the calculation model. Add the above line, recompile, try again. Let me know how it goes.

Eric, that makes a lot of sense.  I suspect you are correct and that adding that line of code will solve the issue.  I will try that and report back.  Much appreciated!
JasonY - thank you very much for your suggestion as well.  I am running the code on the local C: drive already though.

Assuming this issue was resolved. Closing


[release-2.4] Added sonar project properties file to project

Related issue: https://github.com/stolostron/backlog/issues/24272
Signed-off-by: dislbenn<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/approve
/lgtm


on_form_prefill functionality

Checklist

[X] There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.
I want to be able to have a field depend on another field and have it populate with a certain value when selected.
flask-admin has this for editing, I would like it for creating.
Describe the solution you would like.
As an example, I have a custom form:
class ToolForm(Form):
    name = SelectField("Name", choices=[(tool_name, tool_name) for tool_name in KnownTools.get_all_tool_names()])
    config = JSONField("Config", validators=[InputRequired()])

When a user selects a name in the admin panel, I want to prefill the config field with the associated tool schema. In the case of a tool to send emails, you can imagine the config template to look something like
class SendEmailConfig(BaseModel):
    sending_address: str
    mail_server: str
    mail_server_port: int
    mail_username: str
    mail_password: str

So, when a user selects "send_email" from the name dropdown, I would like the config field to default to
{
    "sending_address": "str"
    "mail_server": "str"
    "mail_server_port": int
    "mail_username": "str"
    "mail_password": "str"
}

I think it would be nice to have an on_form_change method like on model_change
Assuming data is the form, I would like to be able to do something like:
async def on_form_change(self, data: Form, is_created: bool, request: Request):
    if is_created:
        default_config_class = KnownTools.get_tool(data.name).config
        data.config = json.dumps({name: type_mapping.get(type.__name__, 'any') for name, type in default_config_class.__annotations__.items()})

Describe alternatives you considered
Creating a custom template and using something like jQuery but I really would rather not.
Additional context
No response

I think the use-case of on_form_prefill is different to only prepare the edit form and prefill that.
Your case is already possible with on_model_change events, why do you need another event?
https://flask-admin.readthedocs.io/en/latest/api/mod_model/#flask_admin.model.BaseModelView.on_form_prefill
https://github.com/flask-admin/flask-admin/blob/14e24c970f0ee3a29add830612eee9a0b0ba5dcc/flask_admin/model/base.py#L2165

It is not the case that on_model_change fills my needs. on_model_change only happens when someone has clicked the save button. I'm looking for something that happens when the form front end changes

I managed to solve my issue by passing a field in the form that I hide in a custom template:
class ToolForm(Form):
    name = SelectField("Name", choices=[(tool_name, tool_name) for tool_name in KnownTools.get_all_tool_names()])
    config = JSONField("Config", validators=[InputRequired()])
    hidden_helper = SelectField(choices=[(config[1], config[0]) for config in KnownTools.get_all_tools_configs()])

and prefilling the config value with
    document.addEventListener('DOMContentLoaded', function () {
        let nameField = document.getElementById('name');
        let toolConfigsField = document.getElementById('config');
        let hidden_helper = document.getElementById("hidden_helper");

        // Update config field when the name field changes
        nameField.addEventListener('change', function () {
            let selectedTool = nameField.value;

            // Find the corresponding option in hidden_helper based on the selectedTool name
            let matchingOption = Array.from(hidden_helper.options).find(option => {
                if (option.text === selectedTool) {
                    return option.value
                }
            });
            if (matchingOption) {
                // Parse the value of the matching option as JSON and set it to the config field
                toolConfigsField.value = JSON.stringify(matchingOption.value, null, 2);
            } else {
                // Handle the case when no matching option is found
                console.error("No matching option found for:", selectedTool);
            }
        });

        // Initial update based on the default selected value
        nameField.dispatchEvent(new Event('change'));
    });


feat: add search command

Adds search command which uses a custom inquirer prompt
Note that I decided to leave the custom prompt in this code base for now instead of putting it into a different library. My reasoning is that it will be easier to iterate on the custom prompt wile it lives here and we can easily pull it out into it's own library once we have other use cases for it
Also note that I'll add unit tests for this if/when this command gets approval

QA
✔ Prompts work
✔ Autocomplete works
❔ Scrolling to a command and hitting [Enter] doesn't select/run a command, instead asks you to type something. I suppose this is FAD but it's kind of confusing from a UX perspective.

❔ Similarly, after typing in a search term and selecting the one you want, hitting [Enter] doesn't run it. Instead it asks you which command you meant which is a little annoying since you already selected the one you wanted.

❔ For some reason this doesn't seem to be finding certain commands but I'm not sure why or if it's even a problem with this plugin or with some other part of oclif.

❌ Help doesn't contain anything

QA 2
✔ Prompts work
✔ Autocomplete works
✔ Scrolling to a command and hitting [Enter] shows the help for the selected command.
✔ Similarly, after typing in a search term and selecting the one you want, hitting [Enter] shows the help for the command.
✔ All commands are found.
✔ Help for the search command exists.


changed UI params for better view

Username and password labels aren't visible completely. Resolution of the complete window changed for better look.

Have you checked the code?
Is it working properly?

Sorry, I was a little busy in some work.


Add display: block to .mdc-list to apply padding

What Angular MDC version are you using?
0.33.0
What browser(s) is this bug affecting?
All
What OS are you using?
Windows
What are the steps to reproduce the bug?
Create a <mdc-list> and take a look at the padding. In the .mdc-list class the style is set as padding: 8px 0; but it's not being displayed because the  element has no display property.

@visurel Sorry, I've been unable to duplicate. Could you fork the StackBlitz project and demonstrate the issue? Any assistance to duplicate is appreciated.
https://stackblitz.com/edit/angular-mdc-list

@trimox Added a StackBlitz: https://stackblitz.com/edit/angular-mdc-list-yk4dcn

PR incoming.


Spelling Mistake

The manifest says "Adds moore connections to Discord."
Moore should be more.

I'll have this fixed when I get home tommorow. Thanks for the issue report!


Doxyfile INPUT too broad

Required Info

Camera Model
N/A

Firmware Version
N/A

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)
4.4.0

In the doxy configuration file "doc/doxygen/doxyfile" you have the following configuration:
INPUT                  = ../../include \
                         ../../include/librealsense \
                         ../ \
                         ../../src

In the file "doc/readme.md", to build the documentation it says to run:
sudo apt-get install doxygen
doxygen doc/doxygen/doxyfile

It is not explicitly stated, but it seems the assumption would be to run this command from the root project directory. If you do this, the INPUT definitions point to the parent directory of the root project directory, bringing in anything found there as well. So if you have other opensource projects in that directory, the doxygen documentation also brings in things that are completely unrelated.
So instead, I ran from the "doc" subdirectory of the project. This seems to correctly find the sources for building the project. The only INPUT definition that actually matches is the '../' definition. Unfortunately, if you have patched the kernel prior to running this command, then the kernel sources will be in subdirectory of the project ("ubuntu-xenial-master" in my case). Doxygen then attempts to build all of the documentation for the entirety of the kernel sources. This quickly caused the small instance I was using to run out of memory. It seems unlikely to me that you would intentionally want to build doxygen for the entirety of the linux kernel.
I think the INPUT definition needs to be changed to avoid building the kernel's docs.

Zendesk ticket #440 has been linked to this issue.

Hi @callendorph
Sorry for delayed response. I believe you are correct. We are planning to run doxygen automatically on our servers and host proper output using github pages in the upcoming weeks. In the meanwhile, you are welcomed to contribute changes to the file and documentation that worked for you.

[Realsense Customer Engineering Team Comment]
@callendorph  Considering this issue fixed already, can we close it now?


[3.8] Explain indexes of SHORTEST_PATH, K_SHORTEST_PATHS and K_PATHS

Backport of #14298
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/15734/

Tests blue.

Just FYI:
This issue is only in the rendering of the explain, which is inherently hard to test. All information was available in the correct places
We could allow to test those features if we somehow split the large "explain" method into smaller Parts.
Otherwise we would need super complex and fragile string parsing to make sure everything is at the right place.


⚠ Bofrost.de has degraded performance

In 6c39687, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1131 ms

Resolved: Bofrost.de performance has improved in 247e3db after 16 minutes.


Would it be possible to provide the lib through a cdn?

Hi Guy,
great angular module! Do you consider to provide it through a CDN (jsdelvr or cdnjs or ...)?
Cheers,
Robert

Hi Robert,
thanks for the praise ;). Till now I haven't got this plan but I can have a look at it and add it to a CDN. Do you have a favorite/preferred CDN?
Thanks and sorry for the late response,
Guy

Hi Guy,
both cdn's jsdelvr and cdnjs are free and libs can be contributed through pull requests. jsdelvr seems to be a bit more straight forward to me to add a library.
Cheers,
Robert

https://cdn.rawgit.com/guylabs/angular-spring-data-rest/master/dist/angular-spring-data-rest.min.js

Hi Kamron,
thanks a lot for the link!
@hostirosti Would that be enough for you? Can I then close the issue?
Thanks and regards,
Guy

Closed due to inactivity.


[SPARK-8482] Added M4 instances to the list.

AWS recently added M4 instances (https://aws.amazon.com/blogs/aws/the-new-m4-instance-type-bonus-price-reduction-on-m3-c4/).

Can one of the admins verify this patch?

https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark
Usually we ask for JIRAs

@srowen I created a JIRA ticket and updated the title with that.

We might as well include the new Tc.large instance while we're at it: https://aws.amazon.com/blogs/aws/new-t2-large-instances/

@JoshRosen Thank you for reminding it. Added t2.large as well.

Jenkins, this is ok to test.
(So the Python style checks are run)

Jenkins, this is ok to test.

Merged build triggered.

Merged build started.

Test build #35354 has started for   PR 6899 at commit 4f4ea79.

Test build #35354 has finished for   PR 6899 at commit 4f4ea79.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Jenkins, retest this please.

(Retesting to test a build script change)

Merged build triggered.

Merged build started.

Test build #35374 has started for   PR 6899 at commit 4f4ea79.

Test build #35374 has finished for   PR 6899 at commit 4f4ea79.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

@davies @ahirreddy The tests here passed, but the test-selection logic was too good:  by skipping all of the Scala / Java tests, we didn't write any JUnit XML files, causing Jenkins to mark the build as failed.  Maybe we should just add a dummy XML file to the build / repo to avoid this (or see if we can somehow configure the Jenkins plugin to be more permissive w.r.t missing report files (the artifact upload plugin is robust against this, for example)).

LGTM. This is safe to commit in that there was no actual test failure due to this right?

Yeah it should be fine to commit; go ahead.
Sent from my phone

On Jun 22, 2015, at 1:25 AM, Sean Owen<EMAIL_ADDRESS>wrote:
LGTM. This is safe to commit in that there was no actual test failure due to this right?
—
Reply to this email directly or view it on GitHub.

Merging this


Suggestion from Doc Repo

Someone reading our docs on docs.ms.com tried to use the sample from the readme, and had this to say. Definitely a viable recommendation IMO.

This doesn't seem right to me. The original issue is the user's sas token is probably missing the ? in the front.
const blobServiceClient = new BlobServiceClient(`https://${account}.blob.core.windows.net/?${sas}`);

The sas string contains several URL query parmeters, need to have the ? if it's attached directly to the path.
The SAS we get from portal contains the ? by itself. Probably adding a comment stating that the sas need to contain the ? in the front is the right fix.

@EmmaZhu If you believe the changes in this PR are not required, then place close the PR

The PR is not necessary.
In the sample, SAS token should be directly appended to the URI, there shouldn't be a '/' between base URI and SAS token.


added the notebook to evaluate featurizers.

Added the notebook to evaluate different featurizers on a dataset.

@rahulthakurakridata I don't see the experiments including color and downsample. I'm approving this right now, we can add them later on requirement basis.