Optimistically recreate streams when write fails

To address https://github.com/Seldaek/monolog/issues/1860 - when fwrite() fails - only then recreate the stream resource.

This will not work IMO as the failure to write might be turned into an exception by some frameworks/apps, and also the failure is detected, file reopened on next log, but you still lose one log entry, so not great.


feat: add "always-update" config option

This patch adds a new option "always-update" that forces existing pull requests to be updated even when there are no changes to the release notes. This is useful, for example, when the repository enforces pull requests to be up-to-date with the main branch before they can be merged. Without this option set to true, that is, with the default behavior of release-please, if the last commit made to the main branch does not appear in the release notes, the existing pull request branch would not be rebased.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #1459 🦕

Hey @meyfa I'm really looking forward to this feature. Is there anything I can do to help, in case you're busy with other things at the moment?


Plugin throwing error on volume create in Docker 1.13

Hi there,
I was testing compatibility with 1.13 release and came across the following:
isaac@ubuntu:~$ sudo docker volume create --driver=vmdk --name=db-vol-1 -o size=10gb
Error response from daemon: create db-vol-1: VolumeDriver.Create: Server returned an error: IndexError('list index out of range',)

This was on a fresh install of the following:
Docker 1.13
Volume plugin 0.10
Ubuntu 16.04.1
VM logs:
2017-01-24 14:53:24.001751062 -0500 EST [DEBUG] vmdkOps.Get name=db-vol-1
2017-01-24 14:53:24.087598782 -0500 EST [DEBUG] vmdkOp.Create name=db-vol-1
2017-01-24 14:53:24.138577283 -0500 EST [ERROR] Create volume failed error="Server returned an error: IndexError('list index out of range',)" name=db-vol-1

Host logs:
01/24/17 19:34:22 2343525 [Thread-788] [ERROR  ] Unhandled Exception:
Traceback (most recent call last):
  File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 1359, in execRequestThread
    opts=opts)
  File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 745, in executeRequest
    error_info, tenant_uuid, tenant_name = auth.authorize(vm_uuid, datastore, cmd, opts)
  File "/usr/lib/vmware/vmdkops/Python/auth.py", line 419, in authorize
    error_info, privileges = get_privileges(tenant_uuid, datastore)
  File "/usr/lib/vmware/vmdkops/Python/auth.py", line 179, in get_privileges
    datastore_url = vmdk_utils.get_datastore_url(datastore)
  File "/usr/lib/vmware/vmdkops/Python/vmdk_utils.py", line 316, in get_datastore_url
    return res[0]
IndexError: list index out of range
01/24/17 19:34:22 2343525 [Thread-789] [ERROR  ] Unhandled Exception:
Traceback (most recent call last):
  File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 1359, in execRequestThread
    opts=opts)
  File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 745, in executeRequest
    error_info, tenant_uuid, tenant_name = auth.authorize(vm_uuid, datastore, cmd, opts)
  File "/usr/lib/vmware/vmdkops/Python/auth.py", line 419, in authorize
    error_info, privileges = get_privileges(tenant_uuid, datastore)
  File "/usr/lib/vmware/vmdkops/Python/auth.py", line 179, in get_privileges
    datastore_url = vmdk_utils.get_datastore_url(datastore)
  File "/usr/lib/vmware/vmdkops/Python/vmdk_utils.py", line 316, in get_datastore_url
    return res[0]
IndexError: list index out of range

Docker Engine Logs:
Jan 24 14:52:47 ubuntu systemd[1]: Started Docker Application Container Engine.
Jan 24 14:53:24 ubuntu dockerd[22017]: time="2017-01-24T14:53:24.139312459-05:00" level=error msg="Handler for POST /v1.25/volumes/create returned error: create db-vol-1: VolumeDriver.Create: Server returned an error: IndexError('list index out of range',)"

Hi @mlschuh,
I checked hostlog, the exception you hit is because the datastore does not exist. I have serveral questions for you to understand your steps:

Have you created any tenant and assign the VM to that tenant?
Have your assigned the default_datastore for that tenant? If you do assign, what is the name of that datastore?  If not, what is the datastore where your VM lives?

If possible, could you try to reproduce this issue with turning on  DEBUG log for ESX Plugin logs and send us ESX Plugin logs?
This is the link about how to turn on DEBUG log for ESX Plugin logs.  https://github.com/vmware/docker-volume-vsphere/blob/34f91627a75eda1bebe0972bc4980014b5935a51/README.md#L122
Thanks.

I have not knowingly made anything related to a tenant as I'm unaware of what a tenant is. The VM is living on DS_ISAAC_Staging.
I'll grab logs the logs you request shortly.

@lipingxue I've tried finding how to launch the volume plugin manually but cannot seem to find the location on my VM. Can you let me know/update the README on where to find it?

Hi @mlschuh, are you using gitter or other chat tools? We can chat online to better understand your problem.

@lipingxue I can be available on gitter tomorrow anytime during EST business hours. Feel free to add me to an appropriate room.

@mlschuh OK. I just created a gitter room named https://gitter.im/docker-volume-vsphere, and send you a request to join this room. Let us chat tomorrow.
Btw, are you able to get the ESX plug in log with turning on the DEBUG log? If you can, please share with me, I can take a look before we chat tomorrow.

While attempting to retrieve the logs, I was able to get it working. Here's what I ended up doing (mostly for future reference):

Adjusted the config file on the esxi host and restarted the service. Upon attempting to reproduce, this error was thrown:

isaac@ISAACTemplateDeploy1:~$ sudo docker volume create --driver=vmdk --name=db-vol-1 -o size=10gb
Error response from daemon: create db-vol-1: create db-vol-1: Error looking up volume plugin vmdk: legacy plugin: plugin not found

To attempt to revive it, I confirmed that the plugin was installed:

[root@localhost:~] esxcli software vib install --no-sig-check -v /vmware-esx-vmdkops-0.10.04f085b.vib
Installation Result
   Message: Host is not changed.
   Reboot Required: false
   VIBs Installed:
   VIBs Removed:
   VIBs Skipped: VMWare_bootbank_esx-vmdkops-service_0.10.04f085b-0.0.1
[root@localhost:~]

I then decided to attempt to start fresh by removing the .vib and the ubuntu package:

[root@localhost:~] esxcli software vib remove -n esx-vmdkops-service
Removal Result
   Message: Operation finished successfully.
    Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  docker-volume-vsphere
0 upgraded, 0 newly installed, 1 to remove and 47 not upgraded.
After this operation, 12.5 MB disk space will be freed.
Do you want to continue? [Y/n] Y

After that, I reinstalled following the methods in the project readme which then the service worked as designed. Because of this, I wasn't able to ever get debug logs exhibiting the error.

I am not certain if it was the VM plugin that needed a reinstall after updating to docker 1.13 or if the esxi host .vib was upset but clearing out both resolved whatever wonky was happening. I'm not sure it would be worth the time and effort to attempt to reproduce it again other than me being aware that this might be a problem during future Docker updates.


[Camera] Fix pixel bytes widening conversion

Java bytes are signed, which causes value problems when widening them to int because the sign-extension messes with the represented value.
This commit eliminates the sign-extension.

Result


Calculate frequency register values instead of using lookup table

Added code to calculate the values for the frequency registers according to datasheet, instead of using a lookup table. This should make it easier for people to use other frequencies than the few provided ones.

thanks!

thanks!


New version: PosDefManifold v0.3.6

Registering package: PosDefManifold
Repository: https://github.com/Marco-Congedo/PosDefManifold.jl
Created by: @Marco-Congedo
Version: v0.3.6
Commit: d2ccc54e0cc8c26d3ca18f9dba0686e5e2ad3b45
Reviewed by: @Marco-Congedo
Reference: https://github.com/Marco-Congedo/PosDefManifold.jl/issues/107

Closing in favor of https://github.com/JuliaRegistries/General/pull/6186


Fails to respawn when launched via Visual Studio Code debug

This may be a bug in Visual Studio Code, but I thought I'd post here first in case I'm just missing something with the configuration.
What DOES work: run via terminal
My package.json contains this entry in the scripts element:
"debug": "ts-node-dev --inspect --respawn --transpileOnly ./src/server.ts"

I run it from the terminal like so:
npm run debug

This works well - I can add breakpoints and debug along the way. Whenever I edit and save a file, it respawns the process and the debugger re-attaches. All good!
The only limitation with this approach is that I need to go to the terminal and type the command each time. Since I develop in Visual Studio Code, I would like to use its debug configuration, which can be easily invoked by pressing F5. This leads to what doesn't work...
What doesn't work: Debug via Visual Studio Code
Visual Studio Code supports the use of launch configurations. My launch.json contains this configuration entry:
{
    "type": "node",
    "request": "launch",
    "name": "Launch via NPM",
    "runtimeExecutable": "npm",
    "runtimeArgs": [
        "run-script",
        "debug"
    ],
    "port": 9229
}

When I use this approach, things start out ok - the debugger starts the process and I can add breakpoints and debug the code. However, whenever I edit a file and save it, I see the "Restarting" toast window appear, but the process fails to restart
NOTE: The same happens if I configure launch.json to invoke the ts-node-dev command directly. I show the above example here as it makes it clearer we're dealing with exactly the same parameters.
The Question
Is there something more that ts-node-dev should be doing to place nicely with Visual Studio Code, or do you think the problem lies in their application?

No sure, don't work with such config.

@whitecolor Is this a setup that you expect to support, though? I think a lot of people use Visual Studio Code for their Typescript development.

There were some closed issues about using ts-node-dev with VSCode debugger, look at them, please.

The only issue I saw that was similar was #9. I tried the proposed solutions there, but none of them resolved my problem.

I agree it would be nice to debug from vs code by just using a launch configuration.
Right now the launch configuration crashes on code change.
So right now you must run debug command and then attach vs code to the port

@Sharpiro what's an example config to do that?

Created a working example of this bug and how starting ts-node-dev from shell first works, but if vs-code launches it instead of just attaching, it will crash on code change.
https://github.com/Sharpiro/bugs/tree/master/ts-node-dev/vs-code-debugging
specifically the launch file
https://github.com/Sharpiro/bugs/blob/master/ts-node-dev/vs-code-debugging/.vscode/launch.json

Any plans to fix this?


Implement Tensor struct

@CameronMatthew can you have a look and see if this is heading in the right direction.
Very rough around the edges (can you flatten an n-dimensional tensor in your head?), but that can be patched up with refinements to the API and maybe some additional macros.
Also code is a bit of a mess (wth is iters.rs) but gotta start somewhere

I have restructured the code to have some of the features that we want. NamelyDynamicStorage which abstracts away the memory mapping of the tensor. I have also tweaked some of the interfaces for the methods as mentioned above (e.g. returning Result in various places).
I'm going to press ahead with some further restructurings:

[ ] Create dedicated Vector and Matrix types which support some extra methods
[ ] Create a distinction between int and float Tensors (to hopefully support `pow)

I'm ignoring the specific implementations of the methods for now because they work (even if they are over-complicated). I will revisit them at the end and tidy them up as well as implement any of the other missing functionality.

Would be good to have another review of the code written so far. I've implemented most of the methods outlined in #1 so far (missing more of the advanced features). Before I add any more, would like to get some feedback on the structure of everything. The way I've done it seems to work, but there's a fair bit of duplication. Perhaps there's a better way.
Largely ignore the code within the methods for now. A lot of it needs to be looked at and refactored. They do get the job done though so :shrug: (I've never had more tests than I have for this repository I don't think ahaha).
@CameronMatthew @Dougal-s

I had a quick look and seems fine. I think we should just merge this asap now.
For the following reasons...

Something "imperfect" is much better than nothing.
This PR is getting too large to review properly.
While this remains on a dev branch, the work you do on it is so broadly scoped that it is impossible for others to contribute without risking massive merge conflicts.
Merging will allow us to create small, self-contained issues that we can all pick up, work on and review easily.

TL;DR Ship it 🚢.

Sounds good to me.


Configure Dependaboat

adding dependabot for the backstage-plugins to manage npm dependencies upgrades.

/assign

/assign


Added a visualization - however the code is a mess :D

Hey @dekinet
I played around with the module a bit and added a nice little visualization of the power distribution:

It also supports the arrows changing direction depending on charging / discharging as well as importing / exporting power from / to the grid.
I would be very happy to create a pull request for you to review, however my coding skills are very limited leading to a very ugly and unnecessary long code. It would need to be refactored, however I am not able to do it myself.
Let me know if you are interested given these circumstances and I will be happy to upload my files.

Hi @lenikey, thanks again for offering to contribute to this project. While I appreciate the offer, I think your contribution might be better directed at an existing visualisation like EnergyMonitor. Perhaps you have some ideas to improve/extend that project? I feel that would be better than adding a visualisation into this module.
In order to support EnergyMonitor, this Growatt project would need to be modified to send notifications in the format required by EnergyMonitor. I'd be happy for you to do that in this (Growatt) module. I've been thinking about doing it for a while, so am also happy to do that myself if it would help you out.
Let me know what you think.

I would be happy to take a look at the module and try it out.

Hey @andersfalt. Sorry for letting you wait. I created this pull request to give you the chance to review: https://github.com/dekinet/MMM-Growatt/pull/4

Hi @andersfalt and @lenikey : Not sure where this is at? Can this issue be closed?


Cannot install 0.19.0

I try to install via jspm install aurelia-bootstrapper and by downloading and running jspm install, both ends with:
err  Error: EPERM: operation not permitted, rename<EMAIL_ADDRESS>-><EMAIL_ADDRESS>         at Error (native)

You have some permissions issues gonig on on your machine. Please ask about this in the gitter channel and someone can probably assist you if you aren't sure what to do.

Thanks, deleting C:\Users\tomalec\AppData\Local\.jspm folder, and re-running jspm install helped.


Update the web components use & reference v1 instead of v0

@marybeshaw this looks good. Thank you very much for the contrib!


Need to add a fullPath option to file data in the file picker

Need to add a fullPath option to file data in the file picker

This has been added.


Data pump: tasklistitem difference

After import:
v7: cwf_pooltask = 2
v5: tasklistitem = 14
NOTE:

Data pump logged 14 imported tasklistitems
I think maybe the tasklistitem table was divided or it works differently in the v7 - I think we were solving this strange difference
Python Issue: https://github.com/dataquest-dev/dspace-python-api/issues/35

@milanmajchrak
The reason why the number of imported values into cwf_pooltask is different from tasklistitem is that tasklistitem joins the workflow item with the eperson while cwf_pooltask joins the workflow item with the group.
A workflow item is assigned to a collection. Each collection has an assigned group. The name of the group is based on the assigned collection and workflow step. So in the clarin-dspace database: Workflow item with id 2142 has an assigned collection with id 2 and this collection is assigned to group 19, because its name is COLLECTION_2_WORKFLOW_STEP_2 [object_id_workflowStep].
In the Dspace database, the workflow item is connected with the collection and group as in the clarin-dspace database.
The tasklistitem assigns the eperson to the workflow item, but the cwf_pooltask is not assigned to the eperson but to the COLLECTION_[uuid]_WORKFLOW_STEP_2 group. From this, it follows that all epersons from tasklistitem for one workflow item have to be assigned to the collection from cwf_pooltask assigned to this workflow item. Because in tasklistitem there are 2 workflow items and 7 epersons are assigned to each of them, in cwf_pooltask we have only 2 records, and the assignment of eperson to that group is in the epersongroup2eperson table. Since the workflow items are assigned to the same collection, the records in the cwf_pooltask table are assigned to the same group, and the epersongroup2eperson table has 7 more records.
Here is issue where is less detailed description:
https://github.com/dataquest-dev/dspace-import/issues/35

OK, I think I understand. Thank you.


feat: create NFT API with Checkpoint

Depend on #186.
We should also add a NFT API within https://github.com/snapshot-labs/token-api-checkpoint. The API should use this format:
scalar Text

type AccountNft {
  id: String! # Equal to <nftAddress>-<tokenId>-<accountAddress>
  account: String
  collection: NftCollection
  tokenId: String
  balance: Int
  name: String
  modified: Int # Last modified timestamp in seconds
  tx: String # Last transaction that modified this entry
}

type NftCollection {
  id: String! # NFT contract address
  name: String
  symbol: String
  description: Text
  totalSupply: Int
}

This require Checkpoint version after v0.1.0-beta.13 (currently master branch).
Here is some docs to learn more about Checkpoint: https://docs.checkpoint.fyi

I had already solved this here https://github.com/checkpoint-labs/workshop/tree/main/nft-api but the thing was to merge it to the actual token-api repo so any erc20/721 would be indexed in that repo?

@antiyro Yes

@bonustrack @antiyro do we consider it done? If so we could close this issue.


Lots of warning messages

Translating from English to Chinese appeared a lot [Warning] The translation engine returned an invalid number of translation lines! try again..]
How to modify the tolerance of an invalid number of translation lines?
An 8-minute subtitle took 4 to 5 hours due to a large number of invalid translation lines and a lot of attempts.

lines Per Packet 5 is changed to 1, and warning messages are greatly reduced.

There's no tolerance for invalid lines, because invalid lines means subtitle lines got removed or merged, which also means the system doesn't know anymore which translated line belongs to which original line.
Reducing the lines per packet to 1 is a good workaround for that specific problem, but it will also make the translation sound wayyy worse. With only one line, Gemini has no context for what the subtitle lines talk about, so it will just yolo it, which is often bad.
The invalid lines problem is on Gemini's side and I sadly can't do anything to fix that, sorry.
It is also not really a problem for many other languages, but seems to be in your case (with Chinese)..
In case you changed the prompt, change it back please. Messing with the prompt can also highly increase the "invalid line" warnings.


It doesn't work in the latest version for CLion !!

After updating CLion to the latest version, I discovered that it doesn't support !

Same issue rn. Just today


mjs and masm files ( /dist) are missing

Hi @rhashimoto  😊  Thank you for your work 🙏🏻  I am hoping that I will be able to get the demo running. However, seems like a couple of files missing .  Specifically these 2 files are missing:
~/dist/wa-sqlite-async.mjs
~/dist/wa-sqlite.mjs
~/dist/wa-sqlite-async.wasm
~/dist/wa-sqlite-async.wasm

From where can I get those files ?
In the meantime, I just copied them from : https://rhashimoto.github.io/wa-sqlite/dist/
Also it seems to need CSP settings. wasm-unsafe-eval

Please read the Build section of the README.

Hi @rhashimoto thanks for your fast reply. And thanks for a wonderful project !
Yes I had already read that section of the README.  I am using the "buildless",  with pre-built artifacts.  Are you saying I do not need those files if I do something a certain way ? Could you please elaborate ? 🤷🏻♂
The webpages I am creating  (actually porting existing tools, to web) , are progressing well now.  But I am using the files I mentioned above as having been copied from   the link I gave. IS there another way I should have done it ?

Your issue says that files are missing from dist/. They can be found on the "buildless" branch, or you can build them yourself if you are on the "master" branch.

Thanks for the link. When I did the git clone  those did not come across.
Without that link provided (thanks 🙏🏻😊 ), I probably would not have enough knowledge of git and/or github to have found them easily. But there they are 😉


"A system error occurred" when opening web in desktop

ref #91225 on ubuntu

This seems unrelated to opening a link to me.

Caused by https://github.com/microsoft/vscode/pull/89199, will be fixed with https://github.com/microsoft/vscode/issues/89593
@bpasero Is it critical for February?

If you ask for the "Open in Desktop" support, I think this is not critical for February. But I am not sure how this triggers the issue. It would probably happen for any protocol link invocation then.


Setting up lightningnetwork

Hi there, I come from another open source project: DAppNode. Said in one phrase, DAppNode is a docker ecosystem for blockchain projects that makes interactions easier for users. We incentivate users to run their own node.
I am currently coding a DAppNode package for lightningnetwork, also using Ride-The-Lightning to provide the user a UI. Would be great if I can get some help from you to finish setting it up.
My environment:
I have already a bitcoin node (as a dappnode package) running on a container. Also, I have a compose with 2 services (1 for  lightningnetwork and the other one  Ride-The-Lightning).  I have set up both services using official Docker images (shahanafarooqui/rtl:0.10.0 and lightninglabs/lnd:v0.12.0-beta) and adding their corresponding config files ( RTL-Config.json and lnd.conf) respectively.
When initialize the compose and set up a new wallet, seems to be working fine, successfully communicate each other as well with the bitcoin node.
Issue
After loggout and login again, I have to unlock the wallet. When unlock it, it starts as usual but after a few seconds I get the following errors from the lightning network daemon:
lnd_1  | 2021-02-11 12:30:34.876 [INF] CHBU: Updating backup file at ~/.lnd/data/chain/bitcoin/mainnet/channel.backup
lnd_1  | unable to start server: unable to refresh backup file: unable to update multi backup: unable to create temp file: open ~/.lnd/data/chain/bitcoin/mainnet/temp-dont-use.backup: no such file or directory
lnd_1  | 2021-02-11 12:30:34.879 [ERR] LTND: unable to start server: unable to refresh backup file: unable to update multi backup: unable to create temp file: open ~/.lnd/data/chain/bitcoin/mainnet/temp-dont-use.backup: no such file or directory

Not sure where does temp-dont-use.backup come from, it is not defined in any env variable nowhere.
I have tried to unlock it using the cli: lncli unlock but the same problem. My backup file path is: backupfilepath=~/.lnd/data/chain/bitcoin/mainnet/channel.backup
I would really appreciate your help and sorry for the long extension of my issue.
Love your project  :heart:

If you don't set the backup path manually does it work?

This is because we forgot to expand the path for that flag. I've created a fix. Until then, try with a full, absolute path instead of the tilde (/home/<youruser>/.lnd instead of ~/.lnd).

Hey! thank you all for the quick response
Seems to be in the good direction, now I have other different error:
unable to start server: unable to refresh backup file: unable to extract on disk encrypted SCB: read /root/.lnd/data/chain/bitcoin/mainnet/channel.backup: is a directory

More info about my setup:
Dockerfile
FROM lightninglabs/lnd:v0.12.0-beta
COPY ./lnd.conf /root/.lnd/
EXPOSE 8080

lnd.conf (aplication options)
[Application Options]
datadir=/root/.lnd/data
logdir=/root/.lnd/logs
maxlogfiles=3
maxlogfilesize=10
tlscertpath=/root/.lnd/tls.cert
tlskeypath=/root/.lnd/tls.key
letsencryptdir=/root/.lnd/letsencrypt
adminmacaroonpath=/root/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
readonlymacaroonpath=/root/.lnd/data/chain/bitcoin/mainnet/readonly.macaroon
invoicemacaroonpath=/root/.lnd/data/chain/bitcoin/mainnet/invoice.macaroon
listen=<IP_ADDRESS>:9735
rpclisten=<IP_ADDRESS>:10009
restlisten=<IP_ADDRESS>:8080
debuglevel=debug,PEER=info
maxpendingchannels=10
backupfilepath=/root/.lnd/data/chain/bitcoin/mainnet/channel.backup

Is there any documentation about the API that exposes LND? I would like to test myself this API since I'm having some issues between the communication of RTL and LND, saying:
rtl_1  | ERROR: GetInfo(17) => LND Get info failed due to bad or missing macaroon!

How exactly are you starting the docker container? Sounds to me like you're mounting a volume incorrectly and docker creates folder where lnd expects files.
Also just a hint: you don't need to set any of those paths if you just set lnddir=/root/.lnd. All other paths will be placed in their default location below that dir then.

Yes! good point, I did not found info about which data should be tracked in docker volumes so I just defined the ones I have considered relevant.
docker-compose
version: "3.4"
networks:
  default:
    external:
      name: dncore_network
services:
  lnd:
    build: ./buildLnd
    image: "lnd.lightning-network.dnp.dappnode.eth:0.1.0"
    ports:
      - "9735:9735"
    environment:
      ALIAS: ""
      EXT_IP: ""
      COLOR: "#5ACDC5"
    volumes:
      - 'lnd_data:/root/.lnd/data'
      - 'lnd_backup:/root/.lnd/data/chain/bitcoin/mainnet/channel.backup'
      - 'lnd_macaroon:/root/.lnd/data/chain/bitcoin/mainnet/admin.macaroon'
    restart: always

  rtl:
    build: ./buildRtl
    image: "rtl.lightning-network.dnp.dappnode.eth:0.1.0"
    volumes:
      - 'rtl_backup:/shared/lnd/backup'
    restart: always

volumes:
  lnd_data: {}
  lnd_backup: {}
  lnd_macaroon: {}
  rtl_backup: {}

Related to the paths, I know it (you have well explained that those paths are set by default), anyway Just wanted to write them down to know exactly where is everythin stored.

This is your problem:
      - 'lnd_backup:/root/.lnd/data/chain/bitcoin/mainnet/channel.backup'
      - 'lnd_macaroon:/root/.lnd/data/chain/bitcoin/mainnet/admin.macaroon'

A volume is always a folder, not a file.
Try this:
      - 'lnd_backup:/root/custom-backup-path'
      - 'lnd_macaroon:/root/custom-macaroon-path'

And then in your lnd.conf:
adminmacaroonpath=/root/custom-macaroon-path/admin.macaroon
backupfilepath=/root/custom-backup-path/channel.backup

Oh men, much appreciate your help now I fully understand how to set it up.
Amazing support
Thanks again!


Any way to connect to Oracle Cloud via API?

Hi. Is there any way to connect to Oracle Cloud via its API?
Thanks!

Unfortunately, it is not supported yet.


feature: Added support for 3 new key exchanges

One of our devices only supports these kex after an SSH upgrade, i noticed these were not part of your library. Can this be added for future releases?

It's not as simple as adding the key exchange names. They have to be implemented as well. In some cases, such as curve25519, I don't believe the version of OpenSSL bundled with node supports it yet, so neither can ssh2-streams.

Well this seemed to fix the issues on our side with our device. However i can see your point, maybe it may be a cleaner 'fix' if we would allow custom/newer algorithms by enabling an environment variable?

Again, without the additional code needed to (properly) support these new key exchange algorithms, this cannot be merged as-is.


Fix Custom schemas in mdf_reader module

Loading of custom schema & opening source files fails if data_model_path argument is used in mdf_reader.read.
This PR corrects loading of schema depending if data_model or data_model_path arguments are used.
Also corrects opening of the data since properties.open_file is not set for custom models, hence open_with gets set to None. Instead default to "pandas".
Also update 2 of the notebooks, accounting for the above changes and removing absolute paths that were for a specific user.

@ludwiglierhammer : There is another notebook with absolute paths (example_notebooks/CLIWOC_missing_code_tables.ipynb)
The data required for this notebook doesn't appear to exist within the test data repository. I look to see if I can find the data used & correct this notebook if desired - alternatively maybe it can be removed?

@ludwiglierhammer : Thanks for the information on the tests, I had noticed they failed on main too. I'll ask around about the missing data for the other notebook, amend if I can, then remove the draft tag.

I have removed the additional notebook, I'm not sure it works as an example notebook.

Using simple schema such as
{
    "header": {
        "delimiter": ";",
        "format": "delimited",
        "field_layout": "delimited"
    },
    "elements": {
        "Year": {
            "column_type": "uint16",
            "units": "metre",
            "valid_max": 1878,
            "valid_min": 1876,
            "description": "Year (m)"
        },
        "Sea Swell": {
            "column_type": "key",
            "code_table": "sea_swell",
            "units": null,
            "description": "Sea Swell (None)"
        }
    }
}

Fails in mdf_reader.read, with logging.error to set "field_layout" or "format" in header. This message arises following mdf_reader.utils.auxillery.Configurator.open_pandas() when it calls self._get_borders. This function eventually calls Configurator._validate_delimited which checks self.delimited_format. This attr should be set to the section header format field, which is not set for the example above (despite the field being set in the schema).
Fix was to ensure this field is passed from the header to section headers in cases like the above. 228ae66

@jtsiddons Many thanks for checking custom schemas. Do you think we can or should add some tests for custom schemas to the testing suite? Then, I think I can merge this PR. Or do you have any further adjustments?

@ludwiglierhammer I think adding extra tests for this is a good idea. I assume any additional tests will need to be part of glamod/cdm-testdata? I'll have a look into it, although that will likely be mid-week sometime.
A brief look suggests I'll need to modify https://github.com/glamod/cdm_reader_mapper/blob/main/tests/_testing_cdm_suite.py#L67 to allow for data_model_path argument.
At some point, I want to look into custom models and the mapper, but I've not started looking into that component yet. That won't be part of this PR.

@jtsiddons: Pretty good :tada:
I'll merge this PR into the main branch. Could you please add your changes to the changes history.
For the additonal test I'll open a new issue for discussion.

@ludwiglierhammer Do you want me to add the changes as a new PR?

@jtsiddons: sorry, I shouldn't have merged this PR yet 😵
You can send me your changes as a comment and I'll add them to the CHANGES.rst

@ludwiglierhammer No worries - I think I missed the merge by about 2 minutes with a changelog commit on my branch!
I had added the following to the bug fixes section
* fix reading of custom schema in ``mdf_reader.read`` (:pull:`40`)
* ensure ``format`` schema field for delimited files is passed correctly, avoiding ``"...Please specify either format or field_layout in your header schema..."`` error (:pull:`40`)

and the following to contributors:
Contributors to this version: Ludwig Lierhammer (:user:`ludwiglierhammer`), Joseph Siddons (:user:`jtsiddons`)

@jtsiddons Done ✔


Including naveensrinivasan as org member.

Including naveensrinivasan as an org member.

https://github.com/kubeflow/kubeflow/issues?q=naveensrinivasan
https://github.com/kubeflow/kfctl/issues?q=naveensrinivasan

@yanniszark

/lgtm
@naveensrinivasan has been pushing some great work for e2e testing of the notebook-controller.

/lgtm
@naveensrinivasan has been pushing some great work for e2e testing of the notebook-controller.

ping @Bobgy

ping @Bobgy

/lgtm
/approve
Thank you for your contributions!
Welcome to Kubeflow!

/lgtm
/approve
Thank you for your contributions!
Welcome to Kubeflow!


Buddybuild crash report on build #520

Buddybuild detected a crash from<EMAIL_ADDRESS>View Full Crash Details

Crash report from Unknown user


Upgrade to 'go mod' from 'dep' and add pre-commit hooks

I've migrated this repo to using go mod. After go1.12 was released they made it pretty clear that go mod was the future and vendoring was disappearing. So I've grabbed some of the code from transcom/mymove to migrate this repo as well.  You'll need to move your repo outside of your $GOPATH though, which is the one downside/upside to this change.
Additionally I've added pre-commit hooks that check golang and markdown files. They both showed up with a few easy-to-fix errors that I completed her as well.
To get pre-commit run brew install pre-commit. Then you can run make ensure_pre_commit to install everything. Then just run pre-commit run -a and you'll see all the checks run. There are more things I could add but I thought keeping it pretty minimal was fine for now.
I've also updated the Makefile a bit. Try building it now with make clean bin/nom or simply make if that's what you want to do.

@jamesatheyDDS - sorry for the churn on this PR. I think it's in a good state now and would love for you to take a look.

As an update: I'm testing this change out now and it appears to work for me.

Ah looking closer at the make file the pre-commit is different than what is installed. My pre-commit is installed different since installed with pup.
$ which pre-commit
/home/USER/.local/bin/pre-commit`

Ah looking closer at the make file the pre-commit is different than what is installed. My pre-commit is installed different since installed with pip.
$ which pre-commit
/home/USER/.local/bin/pre-commit`

Generally we've found that the version in pip can diverge from brew. So a while ago we tried to move everyone off of pip to make sure it was the same in all environments. Up to you but I'd suggest moving.


[Docker Desktop Extension] Support for Opening Meshery UI in a New Browser Window

Do we just want to run Meshery completely within Docker Desktop Extension?
- This is not the best idea because the Docker Desktop Extension framework is not built for this purpose, and hence has a lot of guardrails. It will not be worthwhile for us to keep using hacks to bypass those guardrails.
- But this could still be an additional feature that the user could make use of, if he wants to.

https://docs.google.com/document/d/1sxO8rWemfzDFUEh8QCBKx-4uKlXy7KBYOekK_fdkLGI/edit


Update clarify to 2.0.5r4

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 6741e649e04903c65d5ae242ac5d77324f592b11. Your contribution is still credited to you.


01 February 2023

Task Lists

[ ] [README.md] Add a README.md for Problem Of The Day
[ ] [C++] Add C++ Solution for Problem Of The Day
[ ] [Java] Add Java Solution for Problem Of The Day
[ ] [Python3] Add Python3 Solution for Problem Of The Day
[ ] [C] Add C Solution for Problem Of The Day (optional)
[ ] [C#] Add C# Solution for Problem Of The Day (optional)
[ ] [JavaScript] Add JavaScript Solution for Problem Of The Day (optional)

FAQ
How do I get assigned to these issues?
You must leave a comment with the issues you want assigned.
Is there any limit to the number of issues that can be assigned?
Yes, one person can only be assigned two issues per day from the four (README, C++, Java, and Python 3).
Can I be assigned to multiple issues on different days by commenting once?
Yes, you can be assigned to multiple issues on different days by commenting once. However, you must be assigned to the contributor role in order to do so. If you already have access to the contributor role, simply list the issue in a comment that you want to be assigned to.
Example:
01 January 2023 - Java & Python
04 January 2023 - README.md & Java
12 January 2023 - C++
19 January 2023 - README.md

How do I get access to the Contributor role?
You must contribute 2-3 times before being granted access to the contributor role.
Can I be assigned to issues that are optional?
If [C], [C#], or [JavaScript] are available for the problem of the day, you can be assigned to it on the day of the problem.

Please assign the following issue to me:-
1 February 2023 - C++ & README
2 February 2023 - C++ & README
.
.
.
up to...
20 February 2023 - C++ & README

@Rishav1707 ,
That's great!

@Rishav1707 , That's great! Sure! But 1st Feb can't be assigned!

Then from 2 Feb 2023?

@Rishav1707
From tomorrow onwards you can checkout this repo too https://github.com/AIOCodeBase/LCPOTD

@Rishav1707 , That's great! Sure! But 1st Feb can't be assigned!

Then from 2 Feb 2023?

yes! you can be assigned from 2nd feb!

@Rishav1707 From tomorrow onwards you can checkout this repo too https://github.com/AIOCodeBase/LCPOTD

ok sure!!


Show Startup Loading Screen after all movies being played

I guess its a feature request as i cant seem to find that kind of option.
What i want is to play couple short movies on startup (UE logo, studio logo) followed with slate loading widget. I have tried to do it on my own but it throws me and error that i must operate with slate only in slate thread.... assertion failed and yada yada :(

Ok ive figured it out myself (-;
For those who wonder how to do it - i cheated :p There are 2 helper functions to switch visibilty of widget in MoviePlayer.cpp, so i just slightly modified them and added to slate widget template files of this plugin.
EVisibility SClassicLayout::GetWidgetVisibility() const { 	return (!GetMoviePlayer()->IsMovieCurrentlyPlaying() && !GetMoviePlayer()->IsLoadingFinished()) ? EVisibility::Visible : EVisibility::Collapsed; }
and then call it somewhere (just like they do in MoviePlayer.cpp for SLoadingScreenTestWidget) to hide widget or its part or w/e
.Visibility(this, &SClassicLayout::GetWidgetVisibility)
So basicly widget is allways there but stays hidden till movies being played. This can be improved further as there are alot of  functions avaliable for MoviePlayer (check MoviePlayer.h it's well commented) aswell as logic could be ran using plugin options variables.
Technically, proper way to do it is to make delegate for GetMoviePlayer()->OnMoviePlaybackFinished()
GetMoviePlayer()->OnMoviePlaybackFinished().AddRaw(this, &FLoadingScreenModule::HandleMoviePlaybackFinished);
and then try to push widgets shared pointer that was created on a startup in it like this
GetMoviePlayer()->SetSlateOverlayWidget(SplashScreenWidget);
You can find how to do it in another fork of LoadingScreen plugin by OldSiren... but that results crash ive mentioned in first post on 4.25.


remove Hvp methods in direction_constraint_optimizer

remove Hvp methods in direction_constraint_optimizer

Codecov Report

Merging #32 into master will increase coverage by 0.88%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   81.31%   82.19%   +0.88%
==========================================
  Files          57       57
  Lines        3249     3174      -75
  Branches      396      384      -12
==========================================
- Hits         2642     2609      -33
+ Misses        447      407      -40
+ Partials      160      158       -2

Impacted Files
Coverage Δ

...olbox/optimizers/direction_constraint_optimizer.py
42.74% <100.00%> (-0.46%)
:arrow_down:

Continue to review full report at Codecov.

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


Rename CoStream to CoFeed

Would it be possible to export CoStream as an alias?
Otherwise this would be technically a breaking change.

Why not, really?

Would it be possible to export CoStream as an alias?
Otherwise this would be technically a breaking change.

I'd prefer this for sure

@aeplay What about BinaryCoStream?

@aeplay What about BinaryCoStream?

Maybe we should rename them into "FileStream"?

@aeplay What about BinaryCoStream?

I'd say BinaryStream - as it can also be used for ongoing livestreams, not just finite files (cc @marinoska  @gdorsi)

@aeplay What about BinaryCoStream?

I'd say BinaryStream - as it can also be used for ongoing livestreams, not just finite files (cc @marinoska @gdorsi)

The most common usage would be related to files and I think that using the "File" prefix helps with discoverabilty (one should be able to find and use it with just the TS declarations without looking at the docs).
For livestreams we can do an alias or another view type. I think that would give the feeling of a more solid support from our side.

@aeplay What about BinaryCoStream?

I'd say BinaryStream - as it can also be used for ongoing livestreams, not just finite files (cc @marinoska @gdorsi)

The most common usage would be related to files and I think that using the "File" prefix helps with discoverabilty (one should be able to find and use it with just the TS declarations without looking at the docs).
For livestreams we can do an alias or another view type. I think that would give the feeling of a more solid support from our side.

@aeplay wdyt?

@marinoska @gdorsi OK, let's go with FileStream for now and invent a new view when we actually have high-level conveniences for live streaming


Table layout="auto" when no colwidths specified

Let's say my DITA topic has inside it a table which has no column widths specified:
        <table frame="all" rowsep="1" colsep="1" id="table_es1_h1j_nx">
            <title>ZUZU</title>
            <tgroup cols="2">
                <colspec colname="c1" colnum="1"/>
                <colspec colname="c2" colnum="2"/>
                <thead>
                    <row>
                        <entry>aaaaaaaaaaaaaaaaaaaaaaa</entry>
                        <entry>a</entry>
                    </row>
                </thead>
                <tbody>
                    <row>
                        <entry>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</entry>
                        <entry>b</entry>
                    </row>
                    <row>
                        <entry>ccccccccccccccccccccccccccccccccccccc</entry>
                        <entry>c</entry>
                    </row>
                    <row>
                        <entry>ddddddddddddddddddddddddddddddddddddddddddddd</entry>
                        <entry>d</entry>
                    </row>
                </tbody>
            </tgroup>
        </table>

and I publish it to XHTML. The layout of the HTML table is automatically computed based on the cell preferred sizes, so the first column will take a larger amount of space.
If I publish to PDF I get a warning:
   org.apache.fop.apps.FOUserAgent - table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)

and the resulting table has both columns equal in width. In my opinion when there is no column width specified on the colspecs, the table layout should be auto.
FOP does not take the "auto" into account but at least the warning is gone + it works with XEP and probably also Antenna House.

Is there anything in the DITA specification stating if a table should be considered with fixed layout even none of the colspecs has a colwidth set on them?


Directive to guide the user to read software project standard.

This is a follow up to comments in #5 from 170623.

It would be great to have a directive that does one of the following suggestions, depending on what is possible:

Open the default browser on a users box, when processing the template is done, sending the user to a documentation URI, where the user can read up on the coding standard/software development standard.
Fetches documentation data via a REST or cURL call, to stay in the PowerShell world I guess invoke-webrequest, shows the data to the end-user. In VS Code the new HTML tab option could be used 👍 .....

It might be worth considering that a user could get really tired of getting this prompt every time they scaffold from the template. However, the documentation on the other side, might have been updated....goes both ways....thinking out loud here. Feedback is welcome.

Thank you.

How about just including a README.MD file? That would fit with current community standards.

@PowerSchill - I know what you are saying and it is a good suggestions. However, users that have access to or is familiar with IDE's and so forth might see it as uphill to update a Readem.md file in a repo.....but yes....thinking about it.


Update instruction to support latest GPG version

The latest GnuGP tool (https://gnupg.org/download/)  is now storing keyring in a new format file 'kbx' instead of 'gpg' which make the current documentation incomplete for a new user. The propose pull request consists of adding documentation to explain how to generate a gpg using the latest GnuGP tool

I sign the CLA doing this comment to retry

I have issue with this current pull request with the CLA so I am closing it and will try another one.


Analytics package is missing from Maven

I get an error including the dependency in my Gradle config:
dev.gitlive:firebase-analytics:1.12.0
Also the link listed on your readme is returning a 404 error:
dev.gitlive:firebase-analytics:1.12.0

This dependency is not deployed yet. It was merged after the last release so it will be available in the next version that will be released (probably 1.13.0). I have no idea on when this might be, but @nbransby may be able to tell :).

It seems that publish workflow for 1.13.0 failed:
https://github.com/GitLiveApp/firebase-kotlin-sdk/actions/runs/9611108925

https://github.com/GitLiveApp/firebase-kotlin-sdk/actions/runs/9611108925
https://central.sonatype.com/artifact/dev.gitlive/firebase-analytics/1.13.0?smo=true
Looks like the publish workflow went through now but isnt on maven

1.13.0 is working for me now


Position of compound collider seems to be randomly ignored

This is a difficult one to explain!
Avian 0.1.2 2D. I am attaching this collider to a rigid body and sprite:
Collider::compound(vec![(
    Position(Vec2::new(0., 19.)),
    Rotation::default(),
    Collider::capsule(12., 12.),
)])

Most of the time when I start my game, it is correct. But 10% of the time (?!) it seems the position is ignored and the collider capsule collider appears at 0,0. Even stranger is that once I explicitly move the entity, the capsule "snaps" to its correct location. (It also moves by itself, via gravity, but that doesn't trigger the "snap" to place.) I'm using PhysicsDebugPlugin to see it.
I'm really stumped with debugging this issue, because it cannot be reproduced reliably. It only happens sometimes.
Any suggestion on where to look to try to understand why this is happening? My guess is that it might have something to do with the SyncPlugin.

I'm also experiencing this same issue. I was using a convex_hull collider previously and switched to a compound collider in a refactor. After that, rotational forces stopped working on the collider, however transnational forces work. For now, I'll just switch back to using the convex_hull.


[Event Request] Codeunit 80 "Sales-Post" – New event “OnInsertShipmentLineOnBeforePostWhseShptLines”

Could we please have a new event “OnInsertShipmentLineOnBeforePostWhseShptLines” in function “InsertShipmentLine”, Codeunit 80 "Sales-Post”, including a handle pattern?
    local procedure InsertShipmentLine(SalesHeader: Record "Sales Header"; SalesShptHeader: Record "Sales Shipment Header"; SalesLine: Record "Sales Line"; CostBaseAmount: Decimal; var TempServiceItem2: Record "Service Item" temporary; var TempServiceItemComp2: Record "Service Item Component" temporary)
    var
        SalesShptLine: Record "Sales Shipment Line";
        WhseShptLine: Record "Warehouse Shipment Line";
        WhseRcptLine: Record "Warehouse Receipt Line";
        TempServiceItem1: Record "Service Item" temporary;
        TempServiceItemComp1: Record "Service Item Component" temporary;
*** start new code ***
        IsHandled: Boolean;
*** stop new code ***
    begin
        SalesShptLine.InitFromSalesLine(SalesShptHeader, xSalesLine);
…
        SalesShptLine."Qty. Shipped Not Invoiced" := SalesShptLine.Quantity - SalesShptLine."Quantity Invoiced";

        if (SalesLine.Type = SalesLine.Type::Item) and (SalesLine."Qty. to Ship" <> 0) then begin
            if WhseShip then
*** start new code ***
            begin
                IsHandled := false;
                OnInsertShipmentLineOnBeforePostWhseShptLines(SalesLine, IsHandled);
                if not (IsHandled) then begin
*** stop new code ***
                    if WhseShptLine.GetWhseShptLine(
                         WhseShptHeader."No.", DATABASE::"Sales Line", SalesLine."Document Type", SalesLine."Document No.", SalesLine."Line No.")
                    then
                        PostWhseShptLines(WhseShptLine, SalesShptLine, SalesLine);
*** start new code ***
                end;
            end;
*** stop new code

            if WhseReceive then
…
*** start new code ***
    [IntegrationEvent(false, false)]
    local procedure OnInsertShipmentLineOnBeforePostWhseShptLines(SalesLine: record "Sales Line"; var IsHandled: Boolean)
    begin
    end;
*** stop new code ***

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Minified version doesn't work

We've tried to use this module in our project and it works really great, but there are some issues with minified version. We tried to use minified version from Your repo and tried to minify ourselves. Result is always the same - in such example:

item always is undefined. Trying to reproduce on plunker I've got something different: https://docs.angularjs.org/error/$injector/unpr?p0=eProvider <- e <- ngRepeatFastDirective, but still it's an error with minified and success with full version.

The issue has been fixed.
Thank you for the reporting!


add 17 test cases for nip57

getZapEndpoint
√ returns null if neither lud06 nor lud16 is present (1 ms)
√ returns null if fetch fails (1 ms)
√ returns null if the response does not allow Nostr payments
√ returns the callback URL if the response allows Nostr payments
makeZapRequest
√ throws an error if amount is not given (29 ms)
√ throws an error if profile is not given
√ returns a valid Zap request (1 ms)
validateZapRequest
√ returns an error message for invalid JSON
√ returns an error message if the Zap request is not a valid Nostr event
√ returns an error message if the signature on the Zap request is invalid (46 ms)
√ returns an error message if the Zap request does not have a "p" tag (10 ms)
√ returns an error message if the "p" tag on the Zap request is not valid hex (7 ms)
√ returns an error message if the "e" tag on the Zap request is not valid hex (7 ms)
√ returns an error message if the Zap request does not have a relays tag (10 ms)
√ returns null for a valid Zap request (8 ms)
makeZapReceipt
√ returns a valid Zap receipt with a preimage (6 ms)
√ returns a valid Zap receipt without a preimage (6 ms)
Test Suites: 1 passed, 1 total
Tests:       17 passed, 17 total

Thank you very much!

Did you generate these tests using some AI bot?

Thank you very much!

my pleasure.

Did you generate these tests using some AI bot?

Nope.
I've seen your note regarding writing a bunch of test cases.
https://www.nostribe.com/post/note19gx4944w3eewe4lkm5yrz528ntyz2y9hm9kxgtxwne5vdh9ng2gsyaueqv
So, I started with client tools, writing these tests over each available method and their expected functionality, it's not a big deal.


Feature request - Homebrew install

Neat tool! It would be really great if it was installable via homebrew, so it's install could be easily automated and kept up to date with other packages.

@sammcj thank you. I'm preparing a command line version of this tool, and then I'll pack for homebrew.


Not working on Huawei

downloaded the latest release

Describe the bug
I installed the app earlier today, it worked fine on NA. Later, I messed with the max update, clicks, swipe and wait settings. I then later played JP (I also changed the settings to JP) to test it out and it doesn't work anymore. I then went to NA and it also doesn't work anymore.
I reinstalled to reset the settings and it still doesn't work.
Device Info (please fill atleast 'Device model'):

Device model: MRD-LX2
Screen size: 1560x720
Android Version: 9
RAM:3GB

That's a problem with Huawei phones. See #354.
Nothing can be done about it in the app.

The battery thingy worked.. Just need to restart the device

Instead of restarting the device, you can also just Force Stop the app or Clear cache like said in that issue.


Estimating gas fee exception

I'm trying to estimate the gas fee for the ERC20 token transaction - in this case transferring DAI from one address to another (on Mumbai).
The code for estimating the gas fee:
final contract = DeployedContract(ContractAbi.fromJson(abi, token.id),  // 'dai'
          EthereumAddress.fromHex(token.contractAddress)); // 0xcB1e72786A6eb3b44C2a2429e317c8a2462CFeb1

final transferFunction = contract.function('transferFrom');

final transaction = Transaction.callContract(
  contract: contract,
  function: transferFunction,
  parameters: [
    EthereumAddress.fromHex(address),  // 0x2970C7181450B6c13071131f0005ccA18436c12B
    EthereumAddress.fromHex(recipientAddress),  // 0xc7c6BAEA62Ff6BBAca799156CC4e9f50BC9e8060
<PHONE_NUMBER>0000,  // 0.001 Dai
  ],
);

final fee = await _client.estimateGas(
  to: transaction.to,
  value: transaction.value,
  data: transaction.data,
);

However, I'm getting RPCError: got code 3 with msg "execution reverted: Dai/insufficient-allowance". The sender address holds enough tokens (approx. 0.0038 Dai). I have tried first to call approve with the same amount but I'm getting a different exception RPCError: got code -32000 with msg "already known" and the gas estimation still fails.
Any ideas on how to estimate correctly with web3dart?

@3ph i have same issue,
are you have fixed this issue?

Yes, I have changed the structure of the call which seemed to have fixed it:
   final transferFunction = contract.function('transferFrom');

    final fee = await _client.estimateGas(
      sender: EthereumAddress.fromHex(address),
      to: EthereumAddress.fromHex(recipientAddress),
      data: transferFunction.encodeCall([
        EthereumAddress.fromHex(address),
        EthereumAddress.fromHex(recipientAddress),
        amount,
      ]),
    );

When checking the ERC721 token, it seems that the correct value cannot be obtained.
(The value varies a lot.)
Has anyone checked?
Thank you.


[DX] Web UI long stuck on first load

Is your feature request related to a problem? Please describe.
Since the server is a little far from us, sometimes the first page takes a few seconds to load. The page actually shows very fast and looks like complete, but it still waiting on other resources to load on the background. During the load time, the page is irresponsible, click "Join" has no effect, and looks like "stuck".
Describe the solution you'd like
We did a trick to show "Loading ... " instead of "Join" before the page is completely loaded. We can make a pr to review if you guys like it.
https://avatar.ccall.ai/
Additional context
The above link is unprotected right now for easy access, please don't abuse it.

fixed.


FATAL EXCEPTION: AsyncServer

FATAL EXCEPTION: AsyncServer
Process: computician.janusclient, PID: 12108
java.lang.NullPointerException: Attempt to invoke interface method 'void com.koushikdutta.async.http.WebSocket.setWriteableCallback(com.koushikdutta.async.callback.WritableCallback)' on a null object reference
at computician.janusclientapi.JanusWebsocketMessenger$1.onCompleted(JanusWebsocketMessenger.java:48)
at com.koushikdutta.async.http.AsyncHttpClient$11.onConnectCompleted(AsyncHttpClient.java:672)
at com.koushikdutta.async.http.AsyncHttpClient.reportConnectedCompleted(AsyncHttpClient.java:170)
at com.koushikdutta.async.http.AsyncHttpClient.access$200(AsyncHttpClient.java:51)
at com.koushikdutta.async.http.AsyncHttpClient$3.onConnectCompleted(AsyncHttpClient.java:279)
at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:843)
at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:657)
at com.koushikdutta.async.AsyncServer.access$800(AsyncServer.java:44)
at com.koushikdutta.async.AsyncServer$14.run(AsyncServer.java:599)
How should I deal with this problem?

Is this related to? https://github.com/Computician/janus-gateway-android/issues/22 ? Does that code change help here as well?


VBS script contains very unoptimized code

fix. make array and stuff idk

idk how to make array to optimize so cant make,

its good enough


[BUG] : Servo motor lags when using rotary encoder to move it

DCS-BIOS version
1.1.4
Hardware used
Arduino Uno (official board)
Setup

Arduino Uno -> COM6
DCSBiosBridge V1.1.4 -> COM6 @ 250000 baud
stepper motor (gnd, +5v, signal to pin 11) - this rotates the barrel in the ammo counter
Rotary encoder (gnd, signal1->pin7, signal2->pin8)
bf109 sketch for the left ammo counter (rotatry encoder allows manually adjusting the counter up & down)

Describe the bug

When I use the rotary encoder to turn the ammo counter the stepper seems to go into slow motion & slowly turns no matter how fast I turn the encoder
If I use the socat cmd file (connect-serial-port.cmd -> port 6), rotating the encoder instantly moves the stepper & as fast as needed
I tried v1.1.3 of DCSBiosBridge - that seems to almost work, but rotating the encoder in the opposite direction occasionally moves the stepper the wrong way for a moment... but the slow-motion is now gone

Sketch :
#define DCSBIOS_IRQ_SERIAL
#include "C:\Dev\doc\Addresses.h"
int LeftPinionAnti = 7;
int LeftPinionClock = 8;
int LeftAmmoCounter = 11;
DcsBios::RotaryEncoder szkk3AmmoLeft("SZKK3_AMMO_LEFT", "-3200", "+3200", LeftPinionAnti, LeftPinionClock);
DcsBios::ServoOutput mg1310ShellCounter(Bf_109K_4_MG131_0_SHELL_COUNTER_A, LeftAmmoCounter, 544, 2200);
void setup() {
DcsBios::setup();
}
void loop() {
DcsBios::loop();
}
*Post your .dcs-bios_settings file
SerialPortV2{COM6|250000|None|8|One|None|0|0|False|True
To Reproduce
Steps to reproduce the behavior:

Start DCSBIOSBridge
Start DCS
Start Mission
Rotate rotary encoder
observe slow-motion movement of the stepper

Expected behavior
As soon as the encoder is rotated, the stepper should instantly move. Fast rotation should translate to quicker movement of the stepper
Screenshots
n/a

correction - servo motor

Alright, I'll have a look at this.

Following discussion on Discord the issue was that there was a 50ms delay between sending DCS-BIOS commands. The default was lowered to 5ms and a new option where the user can change the value.
This fixed this issue.


Forward To Group and Chat Id's not working

I have deployed bot on my Windows machine ;bot is working; video is uploaded to only chat in bot "Forward to Group", "Forward to chat Id's " are not working;
And allowed users only one id is allowed
At end of every video this error persists every time...
🛑 General error
ℹ Task ID: a4f4a540-c3eb-4ac7-80de-eb8ae0077456
💬 Message: Upload error
📹 Video URL: https://www.youtube.com/watch?v=ZYaZ6Odbx_Y&pp=ygUPYWwgZmF0aWhhIHN1cmFo
🌊 Source: BOT
👀 Details: Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 62, in resolve_peer
return await self.storage.get_peer_by_id(peer_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyrogram/storage/sqlite_storage.py", line 142, in get_peer_by_id
raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: -1001812523689'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/bot/core/handlers/success.py", line 61, in _handle
await self._create_upload_task(media_object)
File "/app/bot/core/handlers/success.py", line 86, in _create_upload_task
await create_task(
pyrogram.errors.exceptions.bad_request_400.ChannelInvalid: Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by "channels.GetChannels")
⬇ yt-dlp version: 2023.07.06
🤖 yt-dlp-bot version: 1.4.1
🏷 Tag: #error

Are you sure that this group id is valid and the bot was added there?

Yes.

Please share your config

Your channel has 1 subscriber (you). You must the bot to the channel.

What is your  telegram username?

I don't think that two bots will work since they both would receive the same messages

I want to deploy it for other  telegram account. As docker works as containers. Can't we create another container?

You can try to copy the bot directory to another one and edit the docker-compose.yml by changing the api, bot, worker services container names to different ones and build/run as usual.

This isn't working. There are some conflicts with postgres ports and I may be not qualified to do config. Anyhow I am grateful for your contribution so far. I hope you make my request. I am applying for bitcoin wallet and hope to donate you asap. And i will be delighted if you provide a telegram id for a private chat.

Do you still have issues?

I am expecting to have video quality settings option as videos are rendered in high quality and we can't save 4k videos with 2 GB limit.
I have created an enhancement by which you can automate a playlist and save videos to telegram group.😊
And I feel bot should be developed by which we can configure it from the UI without having to modify config from terminal or IDE...

Bot is not triggered when video urls are sent to the bot directly...

You can ping me in the telegram @rare_vision

I am expecting to have video quality settings option as videos are rendered in high quality and we can't save 4k videos with 2 GB limit.

You can change the settings https://github.com/tropicoo/yt-dlp-bot/blob/a3536073e67999e23a927ec66a4588725eaee60c/app_worker/ytdl_opts/default.py#L42
to something like this: 'bestvideo[ext=mp4][filesize<=2000MB]+bestaudio[ext=m4a]/mp4',

And I feel bot should be developed by which we can configure it from the UI without having to modify config from terminal or IDE...

That's really a lot of work and rework :)

I am expecting to have video quality settings option as videos are rendered in high quality and we can't save 4k videos with 2 GB limit.

You can change the settings
https://github.com/tropicoo/yt-dlp-bot/blob/a3536073e67999e23a927ec66a4588725eaee60c/app_worker/ytdl_opts/default.py#L42
to something like this: 'bestvideo[ext=mp4][filesize<=2000MB]+bestaudio[ext=m4a]/mp4',

This isn't Working...

And I feel bot should be developed by which we can configure it from the UI without having to modify config from terminal or IDE...

That's really a lot of work and rework :)

Thanks for consideration. Let the features be implemented in course of time...

This isn't Working...

That's strange, I've tested that locally and it definitely did choose the right video.
Can you post logs?

This isn't Working...

That's strange, I've tested that locally and it definitely did choose the right video. Can you post logs?

I have given a 4k video and it chose a file range of 2.3 GB. Logs are in VPS somewhere...  Do you have any ideas to improve bot!?.

This isn't Working...

That's strange, I've tested that locally and it definitely did choose the right video. Can you post logs?

It's working but there is a small catch. If the next best quality is slightly more than 2 GB then the upload is failing. And recently build is failed because of PyYAML got new version in its repository. Is there any automatic way to update versions in requirements file to have successful build without intervention....

any solution found? @tropicoo @ShamilSd-ux

@PalashMudi Please open new issue since the original one is resolved


None/False fix.

Addresses the issue defined in #90 and #111.
Fixed where some of the values are False or None.

Pull Request Test Coverage Report for Build 384

10 of 12 (83.33%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.4%) to 76.096%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terraform_compliance/steps/steps.py
5
7
71.43%

Totals

Change from base Build 379:
3.4%

Covered Lines:
538

Relevant Lines:
707

💛  - Coveralls


Fix Non-Admin Access to New Admin UI

Some static files were moved around for the new Admin UI and we need to reflect these changes in our security config. Without this, a non-admin user can't see the new Admin UI despite having all the UI roles, just a blank page. This is easily reproduced on stable.opencast.org (but doesn't occur on legacy.opencast.org).
I couldn't find the exact PR responsible for this in the new admin interface repo, so maybe somebody who knows more can check if a blanket permission for admin-ui/assets is reasonable.

But can this go into r/15.x? Or is r/15.x fine as you said "doesn't occur on legacy.opencast.org"?

This can't go into 15.x because there the files still reside in the old place.

As an aside, I am getting a lot of
http://localhost:8080/services/health.json
[HTTP/1.1 403 Forbidden 3ms]

in the web console with my local user, not sure if this related though.

This is "normal" and was also the case for the old admin UI. This endpoint is for the health icon at the top. Since your user doesn't have access rights for this endpoint, you get a 403. The UI will then just not display this information. I'm not sure if it makes sense to complicate the logic to only try once etc.


feat: esp32c3 icm42670 I2C example (panics, help needed)

Before adding the rest of the checks like running the example in CI, etc. I wanted to check if such an example is even needed.
The reason I'm opening this PR is that for whatever reason, using the GPIO pins 10 and 8 of the Esp32-c3 Rust board are giving me an error when I try to run this example.
It cannot instantiate the IMU sensor on the board and throws a bus error:
! A panic occured in 'examples/i2c_icm42670.rs', at line 44, column 76

PanicInfo {
    payload: Any { .. },
    message: Some(
        called `Result::unwrap()` on an `Err` value: BusError(AckCheckFailed),
    ),
    location: Location {
        file: "examples/i2c_icm42670.rs",
        line: 44,
        col: 76,
    },
    can_unwind: true,
}

I've checked the sensor address
I've tried multiple I2C clock speeds
Ran with and without enabling the I2C_EXT0 interrupt priority

Must

[x] The code compiles without errors or warnings.
[ ] ~All examples work.~ Example does not work
[ ] cargo fmt was run.
[ ] Your changes were added to the CHANGELOG.md in the proper section.
[x] You updated existing examples or added examples (if applicable).
[ ] Added examples are checked in CI

Nice to have

[x] You add a description of your work to this PR.
[ ] You added proper docs for your newly added features and code.

@playfulFence IIRC you had a similar issue some long months ago, unfortunately, I forgot what your findings were.

This leads me to believe that there might be something wrong with the board that I'm using.
Let me double check it tomorrow with another board.

@bjoernQ I tried with another Rust board today and I'm still getting the same issue.
The only difference I see is the revision version of the chip, mine is 0.4 your is 0.3, not sure what difference does it make though.
[2023-11-11T09:01:13Z INFO ] Serial port: '/dev/ttyACM0'
[2023-11-11T09:01:13Z INFO ] Connecting...
[2023-11-11T09:01:13Z INFO ] Using flash stub
Chip type:         esp32c3 (revision v0.4)
Crystal frequency: 40MHz
Flash size:        4MB
Features:          WiFi, BLE
MAC address:       64:e8:33:dc:15:54
App/part. size:    294,000/4,128,768 bytes, 7.12%
[00:00:00] [========================================]      13/13      0x0                                                               [00:00:00] [========================================]       1/1       0x8000                                                            [00:00:02] [========================================]     117/117     0x10000                                                           [2023-11-11T09:01:16Z INFO ] Flashing has completed!
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380836
0x40380836 - esp_hal_common::interrupt::riscv::vectored::handle_interrupts
    at /mnt/Disk/Projects/lechev.space/esp-hal/esp-hal-common/src/interrupt/riscv.rs:216
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd5820,len:0x171c
0x3fcd5820 - _stack_start
    at ??:??
load:0x403cc710,len:0x968
0x403cc710 -
    at ??:??
load:0x403ce710,len:0x2f68
0x403ce710 -
    at ??:??
SHA-256 comparison failed:
Calculated: 1d06b938c0222bf626e0bdf46178b1b37ab24d03f0360fc8fcf7153c2571deaf
Expected: 68d7bdf643ba446b8ed7ae8423241d442fd052b2bc77091100ba06fd65dcf8d5
Attempting to boot anyway...
entry 0x403cc710
0x403cc710 -
    at ??:??
I (43) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (43) boot: compile time Jun  7 2023 07:59:10
I (44) boot: chip revision: v0.4
I (48) boot.esp32c3: SPI Speed      : 40MHz
I (53) boot.esp32c3: SPI Mode       : DIO
I (57) boot.esp32c3: SPI Flash Size : 4MB
I (62) boot: Enabling RNG early entropy source...
I (68) boot: Partition Table:
I (71) boot: ## Label            Usage          Type ST Offset   Length
I (78) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (86) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (93) boot:  2 factory          factory app      00 00 00010000 003f0000
I (101) boot: End of partition table
I (105) esp_image: segment 0: paddr=00010020 vaddr=3c040020 size=0a524h ( 42276) map
I (123) esp_image: segment 1: paddr=0001a54c vaddr=40380000 size=00e58h (  3672) load
I (124) esp_image: segment 2: paddr=0001b3ac vaddr=00000000 size=04c6ch ( 19564)
I (134) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=37c28h (228392) map
I (189) boot: Loaded app from partition at offset 0x10000
I (189) boot: Disabling RNG early entropy source...

!! A panic occured in 'examples/i2c_icm42670.rs', at line 45, column 76

PanicInfo {
    payload: Any { .. },
    message: Some(
        called `Result::unwrap()` on an `Err` value: BusError(ExecIncomplete),
    ),
    location: Location {
        file: "examples/i2c_icm42670.rs",
        line: 45,
        col: 76,
    },
    can_unwind: true,
}

Backtrace:

No backtrace available - make sure to force frame-pointers. (see https://crates.io/crates/esp-backtrace)

Can confirm it works on my machine. This is the binary that is on my device:
hello-imu.zip
(it's not actually a zip file, I had to rename it for github to accept it.)
That's compiled using cargo run --release. If you run espflash flash --monitor /path/to/hello-imu (after removing the .zip, it should be a re-creation of what I've got running on my board (and working). If you still get the same issues, then probably a board thing. If no issues, I think it would be a toolchan, .toml, or something similar that's giving you troubles.

It seems that the issue is more related the flashing and maybe timing.
I somehow managed to reset the device RST + BOOT and flash the firmware from @Ben-PH which worked a 2 times but then I couldn't replicate the fix.
Then flashing the firmware to the device after a BOOT, no matter if it's triggered with RST + BOOT or just holding BOOT when plugging in the USB gets me to this "waiting for download" and resetting the chip with Ctrl + R seems to get me to an I2C write reg mask, whatever this means...
    Finished release [optimized + debuginfo] target(s) in 0.44s
     Running `espflash flash --monitor target/riscv32imc-unknown-none-elf/release/examples/i2c_icm42670`
[2023-11-18T16:20:01Z INFO ] Serial port: '/dev/ttyACM0'
[2023-11-18T16:20:01Z INFO ] Connecting...
[2023-11-18T16:20:02Z INFO ] Using flash stub
Chip type:         esp32c3 (revision v0.4)
Crystal frequency: 40MHz
Flash size:        4MB
Features:          WiFi, BLE
MAC address:       64:e8:33:d8:c3:14
App/part. size:    116,656/4,128,768 bytes, 2.83%
[00:00:00] [========================================]      13/13      0x0                                                               [00:00:00] [========================================]       1/1       0x8000                                                            [00:00:01] [========================================]      40/40      0x10000                                                           [2023-11-18T16:20:04Z INFO ] Flashing has completed!
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x40380832
0x40380832 - __EXTERNAL_INTERRUPTS
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e0
0x400462e0 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e0
0x400462e0 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e0
0x400462e0 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e0
0x400462e0 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e0
0x400462e0 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e0
0x400462e0 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462dc
0x400462dc - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2

Same goes for @Ben-PH binary:
$ espflash flash --monitor hello-imu
[2023-11-18T16:22:29Z INFO ] Serial port: '/dev/ttyACM0'
[2023-11-18T16:22:29Z INFO ] Connecting...
[2023-11-18T16:22:29Z INFO ] Using flash stub
Chip type:         esp32c3 (revision v0.4)
Crystal frequency: 40MHz
Flash size:        4MB
Features:          WiFi, BLE
MAC address:       64:e8:33:d8:c3:14
App/part. size:    111,504/4,128,768 bytes, 2.70%
[00:00:00] [========================================]      13/13      0x0                                                               [00:00:00] [========================================]       1/1       0x8000                                                            [00:00:01] [========================================]      38/38      0x10000                                                           [2023-11-18T16:22:31Z INFO ] Flashing has completed!
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x40380836
0x40380836 - .LBB1_54
    at ??:??
waiting for download
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x4 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
0x400462e2 - rom_i2c_writeReg_Mask
    at ??:??
waiting for download

I was able to simulate the problem, by connecting ungrounded wire to PIN 8, or by touching the board.
It seems that I2C clocks are simply thrown out of balance.
Workaround: Decrease frequency of I2C to 2 kHz.
Probably it needs further investigation.

Thanks for reporting this problem, please see this comment for the cause of the problems.
I am going to close this PR for now, so we can carry on discussion in the linked issue.

I just tested the code and it seems running fine both in debug and release mode on the esp32c3 rust board.

This was a hardware issue. The rust board has a problem because it uses two pins 8, which as far as I heard, causes the longer trace to act as an antenna.
If you put the board on a breadboards you will see the same results as me. On its own, the board will not show you this problem.


deleted unecessary code

The alert was unnecessary and detrimental to the user experience (UX).

@Sharjeel-Afridi the changes you mentioned were already done. so i am closing this pr


⚠ SceneTime has degraded performance

In a480b3c, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 7107 ms

Resolved: SceneTime performance has improved in 8e61a9f after 6 minutes.


fixed formatting on change "Part Of Speech" filter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 29.514%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1318

Relevant Lines:
5461

💛  - Coveralls


Confusing error message

let h = u => {
    let m = u##hi ;
    m(.1,2);
    m(1 2) // missed ,
}

Unclosed "(" (opened line 54, column 5)
This gives me an impression that I have mismatched parens but it is not

Hey, this might be a trivial question but I’ve not tried to recreate this yet. Is the line and column count correct?


dom.Value.from(jsValue) API

Description of changes:
This PR introduces a dom.Value.from(jsValue) method that can convert an arbitrary Javascript object to a newly constructed instance of the appropriate Ion dom.Value subclass.

Ambiguous conversions:

JS Arrays will be converted into instances of dom.List. Users requiring dom.SExpression will need to manually instantiate them.
JS Uint8Arrays will be converted into instances of dom.Blob. Users requiring dom.Clob will need to manually instantiate them.
JS Strings will be converted into instances of dom.String. Users requiring dom.Symbol will need to manually instantiate them.

Future work

JS Symbols are not yet supported. Research is needed to understand how their semantics align with Ion's string and symbol types.
We may wish to add a hint: IonType parameter to this method in the future, but this needs to be designed. (How would the hint apply to arrays inside of arrays?)

CC @yohanmartin
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

i'd suggest adding tests to:
* verify nested container behavior (struct containing a list and vice-versa)

Good idea, done.

* verify `JSON.stringify` behavior (or perhaps you're planning that separately)

I have a PR queued behind this one that will address this.


[baseline][kf5solid] Explicitly disable imobile backend

What does your PR fix?
Fixes a baseline regression introduced by the last kf5 update.
IMO the backend can be enabled when the libimobiledevice family of ports uses genuine upstream and supports !windows.

You have modified or added at least one vcpkg.json where you should check the license field.

Won't fix in this PR.


bchunk: fix recent CVEs, simplify installPhase

Motivation for this change
Fixes recent bchunk CVEs. Tested!
See: https://bugs.gentoo.org/635898
https://nvd.nist.gov/vuln/detail/CVE-2017-15953
https://nvd.nist.gov/vuln/detail/CVE-2017-15954
https://nvd.nist.gov/vuln/detail/CVE-2017-15955
https://github.com/extramaster/bchunk/issues/2
https://github.com/extramaster/bchunk/issues/3
https://github.com/extramaster/bchunk/issues/4
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Backported to stable


Update pt_PT

Some consistency fixes.

Coverage remained the same at 100.0% when pulling 1befeac9cca4601fe40815937d950ddafae76f86 on SW1FT:patch-2 into 1dc28777c8ce20dbb88c39f3d1c35517d42118aa on mrdokenny:master.

Thanks!


Prevent E2E test failure after integration of symbol loading fallback

This is in preparation of merging https://github.com/google/orbit/pull/4241.
The interesting part is that we can't expect no symbol to be in the function
list if debug symbols are not available, because fallback symbols can be loaded
instead.
Note that this is not actually testing the new feature yet.
Bug: http://b/245680119
Test: Run orbit_symbol_location.py locally, with a version of Orbit from
https://github.com/google/orbit/pull/4241.

For the removed verify no symbol loaded case, I guess we will extend it to more cases for partial and error cases later?

I'm planning to extend or at least change the tests to better verify the "Partial" case. As for the "Error" case, I have to think about it a bit because in all normal cases "Error" doesn't show up and is basically replaced by "Partial".


Move to IPFS

We were previously on IPFS but it kept crashing on us, so we are currently using S3.
However I think everyone is in agreement IPFS would be much better overall, if it were performant and inexpensive.

An IPFS endpoint is implemented:
curl https://ipfs.exokit.org/QmbtftrnvgVfgPSCHsp9iUB81ScNnFtn4HUe6EHFcFJgnW
curl https://ipfs.exokit.org/ipfs/QmbtftrnvgVfgPSCHsp9iUB81ScNnFtn4HUe6EHFcFJgnW
curl https://ipfs.exokit.org/QmbtftrnvgVfgPSCHsp9iUB81ScNnFtn4HUe6EHFcFJgnW/lol.js

echo lol | curl --data-binary @- -XPOST https://ipfs.exokit.org

closing this issue since we have been on IPFS, next step is Filecoin https://github.com/webaverse/app/issues/748


Document That Users Can Self-Assign Issues

Please link to the daprbot documentation inside the contributing.md file, so that users know what Github commands they can run in this repo. Based on the dapr-bot.yml they can run the /assign to self assign issues and a few other commands in this repo.

@cicoyle I will take this ticekt....

#1330 fixes this one


Can you make it work with cocoapods?

Can you make it work with cocoapods?

We don't currently support Cocoapods, but if you want to add an external podspec we'll link to it from the README.

@msanders can I ask the reasoning for not supporting Cocoapods?

We don't use it internally and didn't want to add additional overhead in maintenance. But if people need it to use the project we can add support for it.

As a build-system-inept developer with a project dependent on Cocoapods the ease of a pod makes me much more likely to use a library but if I'm a minority and the overhead is too much I understand!


Windows (7, 8.1) tabs labels with large, xlarge font-sizes

Sublime Text 2.0.2, tested in Windows 7 and Windows 8.1.
here's screenshot:

I have same problem ST3 win7

Did anyone found a solution?

When i set smaller text in tab then it's ok.
In the end I used this theme: https://packagecontrol.io/packages/Theme - Afterglow which is similar but with a good documentantation and filetype-icons

I can confirm the same bug on ST3 Build 3083 and Windows 10.

Hey, I also confirm the same bug on st3 3083, win7

set like this can make it ok
"spacegray_tabs_font_normal": true,
"spacegray_tabs_xlarge": true,
"enable_tab_scrolling": false


Cannot cancel paste event

Description
Documentation states during beforePaste event, the paste can be cancelled.  This functionality does not function according to the documentation.
See demo I have created,
https://stackblitz.com/edit/angular-handsontable-ce-hx3axx?embed=1&file=app/app.component.ts

Hi @smart-guid,
unfortunately, currently, you can cancel pasting only if you define beforePaste inside a settings object. https://stackblitz.com/edit/angular-handsontable-ce-pxxp9b?file=app%2Fapp.component.ts

This is undocumented behavior.  This event as well as all other events should function the same no matter how the events are wired up.
This is still considered a bug.

You're right, we should mention about this in our documentation :+1:
Actually, event emitting in @Output is not the same thing as function or arrow function defined in a settings object.
@Output uses EventEmitter to emit custom component events. You can listen on occurring of this event.
But, EventEmitter extends rxjs/Subject. So I dive into the code and EventEmitter.emit() calls super.next(), but Subject.next() can returns only undefined. That means you cannot return values inside the EventEmitter callback.
Source code:
https://github.com/angular/angular/blob/5.2.10/packages/core/src/event_emitter.ts#L79
http://reactivex.io/rxjs/file/es6/Subject.js.html#lineNumber36
You can find a similar question here: https://stackoverflow.com/questions/38102948/how-to-return-a-value-from-an-eventemitter-function

The question is, did we used @Outputs correctly? Maybe these hooks should be only as @Inputs. What do you think?

Hi @smart-guid,
I've just released new version. Now you can use hooks as @Input:
<hot-table [beforePaste]="onBeforePaste"></hot-table>

onBeforePaste = (hotInstance, data, coords) => {
  return false;
}


Special Orders icon on the cursor gets stuck "on" for no reason

This has been a long-standing bug in Cataclysm. For some reason, if you do a Special Order when using the hot-key (with a ship selected, press Z), the lightning bolt icon gets stuck on the cursor and doesn't tend to go away unless something makes the cursor vanish. It can be temporarily overwritten with other hotkeys (eg Attack, Force Attack, Guard), but usually it'll revert to showing the cursor with the lightning bolt icon.
It has no impact while the icon is visible: its just a visual glitch that gets annoying after a while. Should be easy to fix (really no clue how this bug got introduced because this didn't exist in HW1 Classic lol)

I'm not sure that I've ever seen this occur. Including the exact steps to reproduce on your end would be appreciated.

I'm not sure that I've ever seen this occur. Including the exact steps to reproduce on your end would be appreciated.

Not on my pc atm, so i decided to look at my last playthrough on youtube, one method that appeared to cause the glitch was when i selected a few workers, hovered over the command ship and right-clicked to do the healing special action. This then caused the lightning bolt to stay on the cursor even into the next mission. I have no idea what i did to get rid of the bug, but i have to gather that i closed and reopened the game at some point, which caused the bugged cursor to reset.
i’ll need to see if i can trigger it again in my current [or a future] playthrough, and then make a quick unlisted video to show, but the above should help in the interim.

Exact steps to reproduce means writing out the exact sequence that causes the problem, though. A video, by itself, won't tell me the exact buttons you pressed (or the order they were pressed in).

I know what you meant [reporting bugs in things isn’t new to me ;)], having a video is just a way of visualising whatever steps i write, is all. :)

@Talthos Back on my PC now, these are the steps I used to reproduce the cursor bug. I used Workers to achieve this (with the Repair order), as this is far easier to do at the end of a mission with no goals required, but the steps would apply equally to any other vessel that has special orders available to them:

Select one or more ships with a special order available to them.
Hold Z and band-box another ship to trigger a dialog box to appear.
Select the relevant special order (in this case, "Repair")
Move the cursor away from vessels and observe that the lightning bolt remains visible.

This is NOT reproducible when selecting such ships and just right-clicking the target they need to go to. For example, selecting workers and then right-clicking a friendly vessel automatically sends the Repair command and doesn't trigger a glitched lightning bolt.

Strange. I am unable to reproduce your issue on my end, like, at all.


Deterministic Installation and Uninstallation of Kubeflow

Is your feature request related to a problem? Please describe.
#250, #251, #158, https://github.com/kubeflow/manifests/issues/2062, https://github.com/kubeflow/manifests/issues/2096, https://github.com/kubeflow/manifests/issues/2086
Solutions considered
https://docs.google.com/document/d/14-ZDDqvqDGrHk2bdZl-JhVIS80z_2jPtxLxWCcfeBKQ/edit#

#250, #251, #158, https://github.com/kubeflow/manifests/issues/2062, https://github.com/kubeflow/manifests/issues/2096, https://github.com/kubeflow/manifests/issues/2086

That's a great initiative @surajkota
I always thought it would be nice to be able to take the succesful idea of AWS SAM deployments and apply it to Kubeflow.
Of course AWS SAM is probably not applicable to Kubeflow deployment, but its idea is interesting IMO.
Just like AWS SAM is a Cloud Formation extension, maybe we could have a new Cloud Formation extension for Kubeflow where we have a syntax that generates Cloud Formation like AWS SAM does.
Just a thought tho, I'm not sure how exactly or if it's possible to create a custom Cloud Formation extension like it was done for AWS SAM.

Included initial implementation in 1.6


Using Openlane for symmetric routing

Hi all,
I am laying out a circuit for security based application and they are dependent on balanced parasitic capacitance in its routing. The criteria is all the routing from within the custom standard cells, inter cell connections, to macro-macro routing has to be symmetrical. Motivation is to get balanced parasitic capacitance between them. This circuit uses 4 trapezoidal power clocks at 90 degree phase shift and the sequence follows CLK0 to CLK3. The following images below show the current layout outline, 4-bit width layout, and new layout outline plan for symmetric routing. I recognize I will need to reroute the basic custom cells to realize the new plan, just to make sure they are matched on the lowest hierarchy. The question is does Openlane have some sort of function to facilitate balanced inter-cell or inter-macro routing?
Current 4-bit width layout outline.

4-bit width Layout sub-block without considering its parasitic capacitance balance.

New logic cell placement plan in vertical pipeline

@kareefardi Please kindly find the design files in the attachment.
Design_files_11012023.zip


Fix race condition casing NPE

Motivation
See #624
Modifications

Use CopyOnWriteArrayList instead of synchronizedList

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

Codecov Report

Merging #628 (dd3a0b5) into master (c6ba90e) will increase coverage by 2.17%.
The diff coverage is 84.27%.

@@             Coverage Diff              @@
##             master     #628      +/-   ##
============================================
+ Coverage     75.74%   77.91%   +2.17%
- Complexity      863      891      +28
============================================
  Files           107      108       +1
  Lines          3875     3863      -12
  Branches        271      265       -6
============================================
+ Hits           2935     3010      +75
+ Misses          779      693      -86
+ Partials        161      160       -1

Impacted Files
Coverage Δ

.../streamnative/pulsar/handlers/mqtt/Connection.java
90.00% <ø> (-0.63%)
:arrow_down:

...e/pulsar/handlers/mqtt/utils/PulsarTopicUtils.java
78.26% <50.00%> (+1.02%)
:arrow_up:

...qtt/support/MQTTBrokerProtocolMethodProcessor.java
79.46% <76.00%> (+1.42%)
:arrow_up:

.../pulsar/handlers/mqtt/proxy/MessageAckTracker.java
78.57% <78.57%> (ø)

...dlers/mqtt/support/event/AutoSubscribeHandler.java
80.85% <80.85%> (ø)

...s/mqtt/proxy/MQTTProxyProtocolMethodProcessor.java
78.75% <86.99%> (+7.54%)
:arrow_up:

...pulsar/handlers/mqtt/adapter/MQTTProxyAdapter.java
86.60% <92.85%> (+0.89%)
:arrow_up:

...support/AbstractCommonProtocolMethodProcessor.java
53.48% <100.00%> (+0.54%)
:arrow_up:

...lers/mqtt/support/event/PulsarEventCenterImpl.java
92.00% <100.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


[#2966] feat(core): supports generate topic event

What changes were proposed in this pull request?
supports generate topic event
Why are the changes needed?
Fix: #2966
Does this PR introduce any user-facing change?
no
How was this patch tested?
existing tests

@FANNG1 Can you please solve the conflict.


Remove broken map component

that showed an unfriendly error message.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (link to Jira or GitHub issue)
Type of change

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

Checklist:

[x] I have updated the CHANGELOG
[x] I have requested at least 1 reviewer for this PR
[ ] I have made corresponding changes to the documentation

Is it still doable with Google Maps?

@igor-kamil @eronisko can we resolve this and close the issues?

My suggestion is to merge this in & make it work again in a separate task, while reverting this commit. Otherwise we'll show this error until somebody finds time to fix it.