Failed script broadcasts after successful simulation on Arbitrum

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (d1ab09d 2024-03-30T00:16:04.045075000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
Description
I'm working on a script to deploy and setup a protocol, around 30 transactions in all. The target network is Arb Sepolia, and eventually Arb mainnet. These transactions involve a mix of operations --- contract deployments, proxy deployments + configuration , ancillary contract deployments, setting initial params, transferring ownership etc.
While the script successfully passes simulation, it fails when actually run with --broadcast at multiple points. It also fails when I use --slow. Failures usually happens with transactions that depend on the previous one executing sequentially. An example is when deploying an implementation contract, followed by a transparent proxy pointing to it.
Note that I'm unable to --resume and continue off from where I left because the nonce is updated on a failed transaction which changes the deployment addresses for contracts to be deployed later in the script. The way I run the script right now is to manually edit addresses at every failure and before re-running the rest.
It seems like an unusual error, because it's as if the network confirms a transaction before the world state is actually updated. Or as if they're not being executed in the order that they're confirmed.
To rule out the possibility of it being a script issue I tried to deploy the same script on Eth Sepolia - it went through smoothly. So I suspect this happens due to some idiosyncratic behaviour on Arb.
Suggested Fix
I think forge script should implement the ability to broadcast transactions after a time delay, as done for contract verification. Or perhaps allow configuring the number of confirmations to wait for when using --slow.

@ruvaag could you please share the error messages which occur for failing scripts?

@klkvr closing this issue since i'm not able to replicate it anymore. The only change I made was updating rust and foundry a couple hours ago. I'll stay on top of this and reopen if I see something similar. Thanks a lot for taking the time to respond.


Please update version 4.X.X to support Flutter 3.10.2 by updating depedencies

This will fix and make it future proof, because version 5 has many breaking changes we cant afford to move

hi, when will support？


A call to an async function is not awaited. Use the "await" keyword before actions, assertions or chains of them to ensure that they run in the right sequence.

What is your Test Scenario?
My Testcase
test('As a User I can able to create a deck to enter all valid information', async t => {
    await LoginToApplication('abcd','abcd')
    await CreateFlashcard()
    await CreateDeckWithValidDetails('Automation','FrontName', 'BackName');
    await VerifyTheDeck()

});

My Methods below:
export async function CreateDeckWithValidDetails(NameOftheDeck,frontCard,backCard){
    await t.click(browser.Create_Deck_name)
          t.typeText(browser.Enter_deck_name,NameOftheDeck)
          t.typeText(browser.Deck_fornt_side, frontCard)
          t.typeText(browser.Deck_back_side, backCard)
          t.click(browser.Done_button)
};

export async function LoginToApplication(email,pass) {
    await t.maximizeWindow()
          t.click(browser.Login_Button);
          t.typeText(browser.Enter_Email, email);
          t.typeText(browser.Enter_Password, pass);
          t.click(browser.Submit_Button);
};

// After login the user click on the crete flashcard button
export async function CreateFlashcard(){
    await t.click(browser.Create_Flashcard)
};

-->
What is the Current behavior?

What is the Expected behavior?

What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):

A call to an async function is not awaited. Use the "await" keyword before actions, assertions or chains of them to ensure that they run in the right sequence.

Execute this command...
See the error...

Your Environment details:

testcafe version:
node.js version:
command-line arguments:
browser name and version:
platform and version:
other:

I think there is a typo in your code:

I think there is a typo in your code:
    await t.click(browser.Create_Deck_name)
          t.typeText(browser.Enter_deck_name,NameOftheDeck)
          t.typeText(browser.Deck_fornt_side, frontCard)
          t.typeText(browser.Deck_back_side, backCard)
          t.click(browser.Done_button)

As far as I understand, you want to call these methods in chain. In this case you need to remove the t variable before calling the methods.
Please see the following code:
    await t.click(browser.Create_Deck_name)
          .typeText(browser.Enter_deck_name,NameOftheDeck)
          .typeText(browser.Deck_fornt_side, frontCard)
          .typeText(browser.Deck_back_side, backCard)
          .click(browser.Done_button)

Or, if you do not want to chain the methods, you can write the test as follows:
    await t.click(browser.Create_Deck_name)
    await t.typeText(browser.Enter_deck_name,NameOftheDeck)
    await t.typeText(browser.Deck_fornt_side, frontCard)
    await t.typeText(browser.Deck_back_side, backCard)


Includes Rayleigh and H- countinuums into opacont

Includes Rayleigh and H- countinuums into opacont.py

[x] OpaCIA
[ ] OpaRayleigh
[ ] OpaHminus
[x] OpaMie

#115 #94


enabling title in step indicator

Hi @badoualy @rakshakhegde
I understand you have added the title to the step indicator Master branch. However it is not available in release 1.0.6. so i was wondering if you are going to make a release anytime soon ? Im really interested in the title feature and would use it if it's possible?
can you guid me on which fork to download for that feature with most stability?
Regards.

Follow the instructions at: https://jitpack.io/#rakshakhegde/stepper-indicator/601db0230c
This one uses my forked repo.


cannot import 'SETTINGS_YAML' from ultralytics.ultils

I had clone your project and followed the instructions to run the YOLO Phantom. But I have the issue when I import ultralytics in file 'yolophantom_testing.ipynb' that in the init.py of cfg folder is not working with SETTINGS_YAML. This code in your modified cfg folder. Can someone help me to fix it?

I believe recently there are some major restructuring in YOLO Ultralytics, which probably caused this issue. I suggest, install the latest version of Ultralytics YOLO from GitHub / pip, then try to recreate the architectural changes I did in Ultralytics yolov8n if possible. It may also be possible the current version of YOLO Ultralytics may or may not support the changes done in YOLO Phantom. I will try to reproduce YOLO Phantom locally with the latest version of YOLO Ultralytics and update the YOLO Phantom Github repo.

@pikamanh : I have mirrored the restructuring in current Ultralytics YOLO , as well as updated the instructions to reflect the changes done for YOLO Phantom, follow the updated instructions in readme and let me know if it works.


Enable Running Validator As Process & Container

Allows one to start a validator with a genesis config.
This allows running validators in containers as long as we provide:

Genesis config file
sui_programmability dir for genesis objects
The address of the validator to run

We simply need to provide these with the docker file.
Note:

For now we don't care about sharing the authority keys because it's all internal for devnet.
Once this PR merges, I'll add the Dockerfile

Example below:
mbp> ./validator --genesis-config-path ../../genesis.json --address 672CE5B4B59F378ADB393B435D04B816C99C0CB8
2022-04-19T03:13:01.552052Z  INFO sui::sui_commands: Creating 2 new authorities...
2022-04-19T03:13:01.552111Z  INFO sui::sui_commands: Creating accounts and gas objects...
2022-04-19T03:13:01.552154Z  INFO sui::sui_commands: Loading Move framework lib from "/Users/ade/Documents/work/val/fastx/sui_programmability/framework/deps/move-stdlib"
2022-04-19T03:13:01.559264Z  INFO sui::sui_commands: Loading Sui framework lib from "/Users/ade/Documents/work/val/fastx/sui_programmability/framework"
2022-04-19T03:13:01.605967Z  INFO validator: Started 672CE5B4B59F378ADB393B435D04B816C99C0CB8 authority on <IP_ADDRESS>:5000
2022-04-19T03:13:01.616715Z  INFO sui_network::transport: Listening to TCP traffic on <IP_ADDRESS>:5000

With the following config file: genesis.json
{
  "authorities": [
    {
      "key_pair": "gpQYaPZzWoi0tLUuu6CC3XO291OAUIzkwQVJ0XAhvWQ06QN5OysR6AZvmebhnKTD0wIAAKXfJjlUOaKZFIiMgA==",
      "host": "<IP_ADDRESS>",
      "port": 5000,
      "db_path": "DB_PATH1",
      "stake": 3
    },
    {
      "key_pair": "WwFNQ+z4cKJ3vV4XkQx9v9pSLhTBQ6LeknR6MwfXo2OWwXXe4YF3ED6b8cByM1OZCl9BQjW9aNe7A7qHsedKGw==",
      "host": "<IP_ADDRESS>",
      "port": 5001,
      "db_path": "DB_PATH2",
      "stake": 6
    }
  ],
  "sui_framework_lib_path": "../../sui_programmability/framework",
  "move_framework_lib_path": "../../sui_programmability/framework/deps/move-stdlib",
  "accounts": [
    {
      "address": "09818AAC3EDF9CF9B006B70C36E7241768B26386",
      "gas_objects": [
        {
          "object_id": "0000000000000000000000000070000000000127",
          "gas_value":<PHONE_NUMBER>
        },
        {
          "object_id": "0000000000000000000000000070000000000128",
          "gas_value": 1000000
        }
      ]
    }
  ]
}

Sample Dockerfile
FROM ubuntu:focal

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata

RUN apt-get install -y git curl build-essential

RUN apt-get install -y libssl-dev
RUN apt-get install -y pkg-config
RUN apt-get install -y libclang-dev

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

WORKDIR build

RUN git clone https://github.com/MystenLabs/sui.git
WORKDIR sui
RUN git checkout validator_as_process

ENV PATH="/root/.cargo/bin:${PATH}"

RUN cargo build --release

# Copy the config
COPY genesis.json target/release/
WORKDIR target/release

CMD ./validator --genesis-config-path genesis.json --address {VALIDATOR_ADDRESS}

Thanks @mystenmark for initial dockerfile

This looks perfect for what we need right now! Thanks!


Should dependencies of dependencies be credited?

The credit popup (click on the copyright link) currently lists all dependencies including their own dependencies. The problem is that after installing a new package today, four more packages had to be credited. This just isn't sustainable.
Our options:

Go cry in a corner and do nothing
Only credit our own dependencies
Move the credits to a different page

Option 2 would be preferable, but if anyone has a different idea, please go ahead and suggest it.
Just to be clear, we're talking about the dependencies in bold:
DraiWiki

Dependency 1 (SimpleMDE)
-- Dependency 1.1 Dictionary
-- Dependency 1.2 Cool colors
Dependency 2 (Whatever)
Dependency 3 (Why am I even listing a third fake dependency?)

Just out of curiosity, is GitHub listing its dependencies somewhere for example?

Not sure to be honest :/

The credits popup will most likely be replaced with a regular page. That way we don't have to worry about space running out.

Okay, so the credits popup has been replaced with a regular page, but it's still relevant.


[BUG] Instance metadata variables are not expanded

Describe the bug
Cloud config templates do not expand metadata variables
In the VM, the instance-data.json file has the ds.meta_data.local-hostname variable

When used in the cloud-init file as documented, the variable expansion is not done, instead, the value is the string.
To Reproduce
Steps to reproduce the behavior:
#cloud-config
write_files:
  - content: |
      #!/bin/bash
      vmName=$1
      echo "VM Name is: $vmName" > /run/cloud-init/cloudinitscript.log
    path: /run/cloud-init/exec_initscript.sh
    permissions: '0755'
runcmd:
  - - /run/cloud-init/exec_initscript.sh
    - "{{ ds.meta_data.local-hostname }}"

Create VM using the above cloud-config template
Log into the VM and cat the file /run/cloud-init/cloudinitscript.log
You will see that instead of the VM name, you have the contents "{{ ds.meta_data.local-hostname }}"

Expected behavior
The file should contain the hostname of the VM. Example: If the VM hostname is testing123, the file should contain the string testing123.
Support bundle

Environment

Harvester ISO version: v1.0.0
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal ProLiant BL460c Gen9

Additional context
Add any other context about the problem here.

Yes, thank you for the correction!

Describe the bug Cloud config templates do not expand metadata variables
In the VM, the instance-data.json file has the ds.meta_data.local-hostname variable
When used in the cloud-init file as documented, the variable expansion is not done, instead, the value is the string.
To Reproduce Steps to reproduce the behavior:
#cloud-config
write_files:
  - content: |
      #!/bin/bash
      vmName=$1
      echo "VM Name is: $vmName" > /run/cloud-init/cloudinitscript.log
    path: /run/cloud-init/exec_initscript.sh
    permissions: '0755'
runcmd:
  - - /run/cloud-init/exec_initscript.sh
    - "{{ ds.meta_data.local-hostname }}"

Create VM using the above cloud-config template
Log into the VM and cat the file /run/cloud-init/cloudinitscript.log
You will see that instead of the VM name, you have the contents "{{ ds.meta_data.local-hostname }}"

Expected behavior The file should contain the hostname of the VM. Example: If the VM hostname is testing123, the file should contain the string testing123.
Support bundle
Environment

Harvester ISO version: v1.0.0
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal ProLiant BL460c Gen9

Additional context Add any other context about the problem here.

Hi,  @eshenayo  I fixed the issue, but I couldn't get it to run using the cloud-config you provided, and I tested that the issue was fixed using another example.    https://github.com/harvester/dashboard/pull/345#issue-1279815731

Verified this bug has been fixed.

Test Information

Environment: Bare metal DL160G9 5 nodes
Harvester Version: master-949bbb0c-head
ui-source Option: Auto

Verify Steps:

Install Harvester with any nodes
Create Image for VM creation
Create VM with following CloudConfig

## template: jinja
#cloud-config
package_update: true
password: password
chpasswd: { expire: False }
sshpwauth: True
write_files:
  - content: |
      #!/bin/bash
      vmName=$1
      echo "VM Name is: $vmName" > /home/cloudinitscript.log
    path: /home/exec_initscript.sh
    permissions: '0755'
runcmd:
  - - systemctl
    - enable
    - --now
    - qemu-guest-agent.service
  - - echo
    - "{{ ds.meta_data.local_hostname }}"
  - - /home/exec_initscript.sh
    - "{{ ds.meta_data.local_hostname }}"
packages:
  - qemu-guest-agent

login to the VM

file /home/exec_initscript.sh should exists
file /home/cloudinitscript.log should exists
execute cat /home/cloudinitscript.log, VM name should be the same as the VM.


How to use OpenDAP with PyWPS?

i'm using PyWPS for processing of climate data. A major data format used here is NetCDF. In PyWPS one can use a complex type with mime-type application/x-netcdf to define input and output parameters for NetCDF files.
Another important way to access NetCDF files is with OpenDAP. A data service to access parts of the remote NetCDF file. The OGC WPS Best Practise paper recommends the mime-type application/x-ogc‐dods for OpenDAP. If one would provide an OpenDAP url in a complex-type, PyWPS would try downloading it ... this is not the right behaviour, it should just pass it to the process. I could add a patch to fix this behaviour for OpenDAP mime-types.
A workaround would be to use a string parameter for the OpenDAP url. But then you loose the descriptive mime-type (which is used by generic wps clients).
The Python NetCDF4 library can handle both NetCDF files and OpenDAP urls with the same initialisation code (Dataset(file_or_url)), so for a process it would not be necessary to have separate input parameters for OpenDAP and NetCDF.
Any recommendations on this topic?
Cheers,
Carsten

Hi Carsten,
PyWPS is trying to handle the data inputs for you - and make sure, you are downloading right data, not too big, because you are operating with untrusted source. We try not to download data bigger than the configuration value (server -> maxsingleinputsize) and then validation can be applied (pywps.inout.formats.Format -> validate and mode attributes).
Having said that, I see your needs and it makes sense to me to address them. I can also see, having services around, like FME, it makes sense enable usage of such services and leave the input data handling and validating to them - to trusted 3rd party services.
Well, I think, we would need some complex approach to this topic, do you see any possible solution in
https://github.com/geopython/pywps/blob/master/pywps/app/Service.py#L393 where the Reference data are downloaded?

@jachym
i will have a look at it. I'm still on PyWPS 3.x ... so maybe i try it first there ... and hopefully switch to pywps 4.x soon.

We talked about this at the OGC coding-sprint in Bonn. I will make a small modification of the PyWPS 4.x code to make it possible to provide a netCDF file and a OpenDAP URL with the same ComplexInput parameter. netCDF and OpenDAP will have a different mimetype. Depending on the mimetype the PyWPS code can decide if it will download the file (netcdf) or just pass through the URL reference (OpenDAP) to the process.

See ticket https://github.com/bird-house/flyingpigeon/issues/231.
It references a code snippet to check if a URL is OpenDAP:
https://github.com/bird-house/hummingbird/blob/6d5ea96641abf49eae3a7a4d126425e5396ff283/hummingbird/processes/wps_cfchecker.py#L47
Maybe this code example could be used for a PyWPS input validator.

@cehbrecht That looks a very reasonable approach, as discussed in Bonn.

@huard PR #387 introduces the url_handler which we need for OpenDAP support. I have written a process which uses this url_handler for a ComplexInput parameter with OpenDAP mimetype:
https://github.com/bird-house/emu/blob/61a151dc8ec7dfb4d71da548e1607ff6b4152a2d/emu/processes/wps_ncmeta.py#L27
Currently the implementation (in the PR) uses the url_handler both for OpenDAP and other HTTP urls (netcdf from file-server). If the url_handler recognizes the mimetype (validation mode) then it could download the netcdf file from the file-server and provide a local file url (or is this the file_handler then?) ... in case of OpenDAP it just skips the download.
The reasoning for this is to have the same CompleInput parameter both for NetCDF and OpenDAP and pywps handles these according to the mimetype. In my process code I can then just use:
inpt = request.inputs['dataset'][0]   # opendap or netcdf
ds = Dataset(inpt.url)

Currently I have to use:
ds = Dataset(inpt.url)  # opendap
ds = Dataset(inpt.file) # netcdf

You're right. Will think about it.

I've thought about this, and here is the problem I see. The convention I've used is that accessing url does not trigger a download, it's just a link. So if for certain url we download the file locally and we don't for other types of files, I think we're creating confusion. Same thing for file, the idea is that accessing file creates a local copy of the link provided by the request. Accessing the file property of an opendap ComplexInput downloads the full file.
My guess is that it would be clearer to write something like the following
ds = Dataset(inpt.url if inpt.data_format.mime_type == 'application/x-ogc-dods' else inpt.file)

Another issue is that if an input has more than one supported format (netCDF and DODS), and the user does not specify the mimetype, pywps picks the first one by default. I don't know how to pass the mimetype using key-value pairs, is that even possible?

@huard

Another issue is that if an input has more than one supported format (netCDF and DODS), and the user does not specify the mimetype, pywps picks the first one by default. I don't know how to pass the mimetype using key-value pairs, is that even possible?

When we enable validation for inputs the NetCDF/OpenDAP validator (https://github.com/bird-house/pywps/pull/1) can check the mimetype of the input data. The WPS protocol allows it also to set explicitly the mimetype ... but it is optional and nothing we can rely on (relevant for the validator only?):
http://geoprocessing.info/wpsdoc/1x0ExecuteGETInputs
But relying on pywps to figure out the right mimetype is error-prone.

@huard
Well, I thought the following would work:
ds = Dataset('file:///path/to/my/local/data.nc')

But the Dataset does not like file URLs.

My guess is that it would be clearer to write something like the following

ds = Dataset(inpt.url if inpt.data_format.mime_type == 'application/x-ogc-dods' else inpt.file)

Maybe we can add a util method:
ds = Dataset(util.netcdf_or_opendap(inpt))

... follow up. The util method makes only sense when pywps can guess the right mimetype. Otherwise we need separate input parameters for netcdf and opendap, like already in ncmeta process example.

Support for file URLs is something we could ask upstream libraries to support (netCDF4, xarray), but it's not a short term fix.
Could we not just do  in the util:
try:
  return Dataset(inpt.url)
except:
  return Dataset(input.file)

That, in the case the mimetype is unknown.

I have added an nc_resource util method to ncmeta and it works :)
https://github.com/bird-house/emu/blob/ea899f544f4029f75594d4cf210251c5e3ee0a3d/emu/processes/wps_ncmeta.py#L17
I have done it different ... using requests.head to check the mimetype.

Looks good. Note that the next PR will include a new FORMATS.DODS for open dap mimetypes. I'm just waiting for the UrlHandler PR to go in before submitting it.

Just give me a "go" on the url_handler PR and I can pull it in.

Go. I've added a few tests. Nothing broke.

Hum, your nc_resource won't work for file:/// schema...

Fixed:
https://github.com/bird-house/emu/blob/14eeee066ddf52bdfaa9cc79670abd41acba1ea9/emu/processes/wps_ncmeta.py#L16
It does not work on Python 2.7 due to import issue in PR #387:
File "/home/travis/build/bird-house/emu/emu/processes/wps_ncmeta.py", line 20, in nc_resource
    if urlparse(inpt.url).scheme == 'file':
  File "/home/travis/miniconda/envs/emu/lib/python2.7/site-packages/pywps/inout/basic.py", line 315, in url
    import pathlib
ImportError: No module named pathlib

@cehbrecht I think this can be closed.

Initial support is integrated in pywps now.


[REQUEST] scrape more proxy type from API

https://github.com/openbullet/openbullet/issues/101

in the same time*

+1 for this feature too.
actualy you can only take some HTTP proxies or Socks proxies, but not both from one website.
at least 2 sources would be nice.

Done


[SPARK-36285][INFRA][TESTS] Skip MiMa in PySpark/SparkR/Docker GHA job

What changes were proposed in this pull request?
This PR aims to skip MiMa in PySpark/SparkR/Docker GHA job.
Why are the changes needed?
This will save GHA resource because MiMa is irrelevant to Python.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the GHA.

cc: @HyukjinKwon , @dongjoon-hyun

Test build #141684 has started for PR 33532 at commit d83429e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46198/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46198/

Test build #141684 has finished for PR 33532 at commit d83429e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46198/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141684/

Merged to master and branch-3.2.


Support creating NetBox Custom Field Types other than text

What would you like to be added?
Creating the following CR does currently not work since the NetBox Operator only supports creating IPAM Resources with Custom Fields of type Text in .spec.customFields.
apiVersion: netbox.dev/v1
kind: PrefixClaim
metadata:
  name: prefixclaim-sample
spec:
  parentPrefix: "<IP_ADDRESS>/16"
  prefixLength: "/28"
  customFields:
    cfDataTypeBool: "false"
    cfDataTypeInteger: "2"
    environment: "Production"

Events of both PrefixClaim and Prefix:
  Type     Reason                       Age    From                     Message
  ----     ------                       ----   ----                     -------
  Normal   ParentPrefixSelected         4m24s  prefix-claim-controller  The parent prefix was selected successfully. parentPrefix is provided in CR: <IP_ADDRESS>/16
  Normal   PrefixCRCreated              4m23s  prefix-claim-controller  New prefix fetched from NetBox and prefix CR was created
  Warning  PrefixClaimResourceNotReady  4m23s  prefix-claim-controller  PrefixClaim Resource is not ready
  Warning  FailedToReservePrefixInNetbox  21s   prefix-controller  Failed to reserve prefix in NetBox. <IP_ADDRESS>/28

Operator Log showing that the NetBox API rejects invalid types:
2024-11-14T11:07:26+01:00       ERROR   Reconciler error        {"controller": "prefix", "controllerGroup": "netbox.dev", "controllerKind": "Prefix", "Prefix": {"name":"prefixclaim-sample","namespace":"default"}, "namespace": "default", "name": "prefixclaim-sample", "reconcileID": "077e5ee9-5e16-406e-8440-39aea154cab0", "error": "failed at update prefix status: %!w(<nil>), after reservation of prefix in netbox failed: failed to create Prefix: [POST /ipam/prefixes/][400] ipam_prefixes_create default  map[__all__:[Invalid value for custom field 'cfDataTypeBool': Value must be true or false.]]"}
2024-11-14T11:10:30+01:00       ERROR   Reconciler error        {"controller": "prefix", "controllerGroup": "netbox.dev", "controllerKind": "Prefix", "Prefix": {"name":"prefixclaim-sample","namespace":"default"}, "namespace": "default", "name": "prefixclaim-sample", "reconcileID": "94ee4f8d-4738-49ef-8d44-72515c371cdd", "error": "failed at update prefix status: %!w(<nil>), after reservation of prefix in netbox failed: failed to create Prefix: [POST /ipam/prefixes/][400] ipam_prefixes_create default  map[__all__:[Invalid value for custom field 'cfDataTypeInteger': Value must be an integer.]]"}

It would be nice to support Custom Field types other than Text.
Why is this needed?
For certain use cases, the user wants to create NetBox resources with the NetBox Operator that contains Custom Fields of type Boolean, Integer and other.

Added "creating" to the issue title, as querying the custom fields with string/int/bool data types are working as expected.


Easy and quick way to disable/change linter rule

I think many people doesn't know how to add and remove linter rule according to their project status .
For example,

I want to

disable error from gloabal variable ,  seems pylinter doesn't allow this by default , you need cost much time to search how to exclude this error . We could simply right click the error message to [exclude this error rule].
quick disable linting for pyspark, I found some articles asked me to add some rules in .pylintrc to ignore modules , which doesn't work at all . We could simply right click the warnning message to [add the ignore rule].
Other unresolved import is because linter doesn't know where is the project root , maybe there are many project roots , add those paths to python.autoComplete.extraPaths doesn't take effect . We could simply right click the warnning message to [redirect us to config path , so that we can add the project/module path !]
...

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

The last 3 errors are no longer applicable as they're handled by Pylance, if you still see those feel free open an issue at https://github.com/microsoft/pylance-release.
Linting support has now been moved out of the extension: https://github.com/microsoft/vscode-pylint. Please open this as a feature request there or in the Python extension if you would like us to consider it again, closing this.


Does it still works?

Expected Behavior
Should block all search results with quora.com
(expression is added as *://www.quora.com/* )
Actual Behavior
It shows search results from quora anyway

Specifications

OS: Win 10

Browser: Chrome, latest

Other extensions that might interfere:
Dark Theme for Google (maybe?)

Active extensions:
Amino: Live CSS Editor
ColorZilla
Dark Theme for Google™
DarkCloud
GhostText
GoFullPage - Full Page Screen Capture
Improve YouTube! (Open-Source for YouTube)
LastPass: Free Password Manager
Toggl Track: Productivity & Time Tracker
uBlacklist
uBlock Origin
Window Resizer
Youtube Uninterrupted

Other extensions that might interfere:
Dark Theme for Google (maybe?)

Obviously that is the cause of the problem.
"Dark Theme for Google" replicates <style id="_goober">...</style> added by goober, which is a CSS-in-JS library used inside uBlacklist, but does not change the id. Duplicate ids break goober in Chrome.
This problem cannot be fixed on our side.

I just realized that uBlacklist worked with "Dark Theme for Google" in Firefox.
As it happens, Firefox-specific code to work around a bug of Firefox avoids this problem.
I'm going to port it to Chrome.


Nested arrays not displaying in context window

I have a similar problem to #59 but with nested arrays. I can expand a top-level array just fine in the xdebug context window but any array nested within that just shows the number of children with an ellipsis. This happens whether I set max_depth, max_children, max_data or not. A manual var_dump() shows everything. Any ideas on this?
Great plugin and thanks for any information you can provide.
Installed from Package Control
Mac OS X 10.9.1
ST2 2.0.2
xdebug 2.1.0
*.sublime-project
...
"max_children": -1, // (or any other sane value)
"max_depth": -1,
"max_data": -1,
...
PHP 5.3.6 INI
...
xdebug.default_enable=1
xdebug.auto_trace=1
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.var_display_max_children=-1 // (or any other sane value)
xdebug.var_display_max_depth=-1
xdebug.var_display_max_data=-1

I found a solution to this. Please see: https://github.com/martomo/SublimeTextXdebug/issues/128 and let me know if it works. I believe this is a problem with Package Control installation not creating the directory because there is a space in the directory name, "Xdebug Client". If this solution works for you, please comment.

Same issue, where I need more detail about a variable in "Xdebug Context."  Is there a way to execute PHP in the active debugger session?  Eg can I View > Show Console then print print_r($_SESSION['some_array']['some_member']);
Anyway to see variables better??


Enable scaphandre to read its configuration from a file

Problem
All the configuration has to be passed as flags in the command line today.
Solution
I'd like to be able to write the behaviour I want Scaphandre to adopt in a file, give it this file's path to read (with --config for example).

Hi, I believe getting config from environment variables may be a related topic.
As far as i can read rust (not much yet ;-)) I understand that scaphandre uses clap (https://docs.rs/clap/2.33.3/clap/)  to parse it's command line arguments.
Do you think that a integrating a library like clap_conf (https://lib.rs/crates/clap_conf) could help unifying cli args, env vars and config file ?
Could something like

Hi ! Absolutely. Thanks for sharing this, this library seems to be worth a shot !

Hello, coming with clap 4.0 (coming in #234), we can add an env directive to get value from an env variable. https://docs.rs/clap/4.0.19/clap/builder/struct.Arg.html#method.env
It seems pretty simple to add, not intrusive and avoids a new dependency. Used with a dotenv file it could be a friendly alternative.

clap can be "augmented" with argfile in order to load arguments from a file, it seems to do what you're looking for

Thanks to @TheElectronWill work, it should be done for 1.1 release


chore: migrate to cli-table3

Needs a new npm install after the merge to update the lockfile.

Bump. This is still relevant.


[BUG] Issue with application/octet-stream MIME type on responseBody

Describe the bug
When a response body is declared which specifies an application/octet-stream MIME type and the type field is set to string Schemathesis will throw encoding errors.
It looks like this is an issue with encoding binary data into UTF-8 format before sending the data to the server.
To Reproduce
Create an endpoint with a request body set to the below specified YAML and run schemathesis tests against it. Note that this can be resolved by adding a format: binary field under the schema object, however this forces some occasionally unwanted behavior from generated clients.
If possible, please post a minimal version of your API schema that cause this behavior:
requestBody:
  required: false
  content:
    application/octet-stream:
      schema:
        type: string

Expected behavior
The test should pass as it currently does without the encoding errors and with a passing error code.
Environment (please complete the following information):

OS: Ubuntu Docker container
Python version: 3.8.2
Schemathesis version: 3.6.2
Spec version: 3.0

Additional Info
Here is an example of one of the errors outputted by Schemathesis.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/schemathesis/runner/impl/core.py", line 422, in network_test
    response = _network_test(
  File "/usr/local/lib/python3.8/dist-packages/schemathesis/runner/impl/core.py", line 465, in _network_test
    response = case.call(session=session, headers=headers, timeout=timeout, verify=request_tls_verify)
  File "/usr/local/lib/python3.8/dist-packages/schemathesis/models.py", line 293, in call
    response = session.request(**data)  # type: ignore
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.8/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1300, in _send_request
    body = _encode(body, 'body')
  File "/usr/lib/python3.8/http/client.py", line 164, in _encode
    raise UnicodeEncodeError(
UnicodeEncodeError: 'latin-1' codec can't encode character '\u0100' in position 0: Body ('Ā') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.

Thanks, @telday for reporting it :) I plan to release a fix today

The fix is released in 3.6.3


gnome-decoder: 0.3.1 -> 0.3.3

Description of changes
https://gitlab.gnome.org/World/decoder/-/compare/0.3.1...0.3.3
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks!


UIPEthernet with pubsubclient

Just like to know whether there is any support or way of using UIPEthernet instead of the standard Ethernet libraries as I am using a ENC28J60?

@lightcowboy are you successful using it with ENC28J60?

I managed make it work ENC28J60 with Nano using UIPEthernet component via MQTT. Check my GitHub repo.
Link: https://github.com/zuhryfayesz/Zuhry-MQTT-IoT

@zuhryfayesz  is it stable? does not hang?

I have also used PubSubClient with UIPEthernet and ENC28J60 on various Arduino devices.
This works great sometimes, but unfortunately I am experiencing random hangs and persistent connection failures from time to time, which are very hard to reproduce and debug.
Do you guys have any idea what is the issue here ? Is it something in the libraries (thus fixable) or is it a problem with the ENC28J60 device ?

I realize it might be an old topic, but I have been using the UIP lib as well and works very well. The random hanging that mihaif3 experienced might be caused by a program that is too big. The ENC28J60 does require some space, much more than the W5100 and that might make your program hang.
The Arduino library usually gives an indication that the program might be unstable if too much memory/variables used

@consolacion i agree with you, just disable UDP to save 5Kb flash and some RAM. Disable it on utility/uipethernet-conf.h.

Indeed, sadly not always possible. Even with the simplest of programs setting UIP_CONF_UDP to '0' to disable UDP generated errors in  the Ethernet.begin(mac)  statement:  undefined reference to `UIPEthernetClass::begin(unsigned char const*)'
But ofcourse this is  starting to fall beyond the scope of the pubsub clent

Interestingly, README.md reads The library cannot currently be used with hardware based on the ENC28J60 chip which is not true as it is supported via UIPEthernet.

@dmak it was true when I wrote those words a long long time ago. Happy to have a PR to correct it.

I can create a PR, but I am not sure that UIPEthernet library works with all combinations of boards and ENC28J60-based shields...

Hello guys,
I'm trying to use ENC28J60 with esp32. But i can't run the error: "Attempting MQTT connection...failed, rc=-2 try again in 5 second"
My code:
#include <SPI.h>
#include <UIPEthernet.h>                                  // UIP Ethernet Library to support ENC28J60 ethernet module.
#include <PubSubClient.h>                                 // MQTT publisher/subscriber client library

byte mac[]      = {  0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED }; // Set the mac address for the arduino nano mcu
//byte server[] = { xxx, xxx, xxx, xxx };                  // Set MQTT broker server IP address
char server[]   = "broker.mqtt-dashboard.com";             // Set MQTT broker server domain address
byte ip[]       = { 192, 168, 0, 108 };                    // Set the IP address for the arduino nano mcu

//int LED = 6;                                               // Initialize digital pin 6 to LED variable
String msgString;                                            // Initialize msgString variable

void callback(char* topic, byte* payload, unsigned int length) {
  char message_buff[100];
  int i;
  for(i=0; i<length; i++) {
    message_buff[i] = payload[i];
  }
  message_buff[i] = '\0';
  msgString = String(message_buff);
  Serial.println("message arrived: " + msgString);          // Serial output of received callback payload
}

EthernetClient ethClient;
PubSubClient client(server, 1883, callback, ethClient);     // Initialize a MQTT client instance

void reconnect() {
  // Loop until we're reconnected
  while (!client.connected()) {
    Serial.print("Attempting MQTT connection...");
    // Attempt to connect
    if (client.connect("arduinoClient")) {
      Serial.println("connected");
      // Once connected, publish an announcement...
      client.publish("outTopic","hello world");
      // ... and resubscribe
      client.subscribe("inTopic");
    } else {
      Serial.print("failed, rc=");
      Serial.print(client.state());
      Serial.println(" try again in 5 seconds");
      // Wait 5 seconds before retrying
      delay(5000);
    }
  }
}

void setup()
{
  Serial.begin(115200);                                       // Set the Serial Buad rate to 9600
  Ethernet.begin(mac, ip);

  if (client.connect("arduinoClient")) {                    // Check the MQTT broker connectivity
     client.publish("topic","connected");                   // Publish ethernet connected status to MQTT topic
     client.subscribe("topic");                             // Subscribe to a MQTT topic
  }

}

void loop()
{
  if (!client.connected()){
    reconnect();
  }
  client.loop();
}

I managed to post a tweet with the EtherCard library but I didn't get anything with MQTT

Have you tried to look into PubSubClient.h sources? It reads:
#define MQTT_CONNECT_FAILED         -2

so I believe that if EthernetClient works fine with some other network application, then something is wrong with MQTT connectivity. First try to ping your ESP (ping <IP_ADDRESS>) from your MQTT server. Do you have other remote devices which successfully connect to MQTT sever?


I need clarification regarding target loudness and DRC effect parameters.

I'm curious what the numbers in the DRC effect parameters mean. Do you follow this description? However, the description of parameters 7 and 8 is missing. https://github.com/Fraunhofer-IIS/mpeghdec/wiki/MPEG-H-decoder-parameters#drc-effect-type
And for the target loudness parameter, do you follow this description? However, the range described in the documentation is -63 to 0.
https://github.com/Fraunhofer-IIS/mpeghdec/wiki/MPEG-H-decoder-parameters#target-reference-level

The description for the DRC effects 0-8 are available Table 12 of the document ISO/IEC 23003-4. We will add an update to our documentation with a brief about these effects soon. The descriptions present in the link you shared match for effect types 0-6 in our case as well.
Regarding loudness our interface is different from the link You shared.


support tf::SinOp and tf::CosOp

Does tf community provide conversion from tf.sin to mhlo::sine, so we do not need to add converter in our lower tf pass?

Does tf community provide conversion from tf.sin to mhlo::sine, so we do not need to add converter in our lower tf pass?

yes. I also added some e2e UTs to ensure this behaviour.


Add support for ORDER hint

BULK INSERT allow to specify if data already has a specific order so that Azure SQL / SQL Server can avoid sorting it again if inserting data into a clustered index.
https://docs.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver15

There is no implementation of order hints for SQLServerBulkCopy.class, SQLServerBulkCopyOptions.class. Thus it is not able to add hint support in spark mssql connector. I opened the issue below in MSSQL JDBC repo to ask the mssql jdbc team to support the order hints.
https://github.com/microsoft/mssql-jdbc/issues/1481


Possibility to track license changes

Once we can automatically detect licenses (#191), try to detect license changes automatically. Maybe sometimes, the license got more restrictive, for example going from CC without NC to CC with NC, etc. ...

One such possible case is #409.
We can automatically detect the license as one step and then checkout repositories commit by commit and look for the license. However that may take a long time for only a few cases. Maybe we can simply look in the index for typical license files and check them out as a non-complete but more efficient way.


Pack Tarball in Publish to Snapcraft Pipeline Error

Describe the bug
Pack tarball error in publish to Snapcraft pipeline.
Expected behavior
Monika packed as tarball.
Screenshots

Reopened because it has not been fixed yet. https://github.com/hyperjumptech/monika/actions/runs/7297246215/job/19886287976

new type of error

Publish success


RangeError: Maximum call stack exceeded  on String

> fm --version
 0.1.200

I get an error (sometimes) when i want to typecheck the code in the gist.
Not all the time, but somewhere around the size of the current string it happens somewhat consistently.
Sometimes it typechecks correctly.
> fm main/values -t
RangeError: Maximum call stack size exceeded
    at quote (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:468:52)
    at reduce (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:484:16)
    at weak_normal (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:769:12)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:832:23)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:951:22)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:951:22)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:951:22)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:951:22)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:951:22)
    at typecheck (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-core.js:951:22)
Sorry, the type-checker couldn't handle your input.

When i execute it with interaction nets it take a few seconds, then outputs a similar error.
fm main/values -o
RangeError: Maximum call stack size exceeded
    at Array.push (<anonymous>)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:214:24)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:225:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:215:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:215:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:225:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:215:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:215:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:225:26)
    at build_term (/nix/store/5g7mgyjih6gcmvqj1jni7g5lgxa9v1iy-node_formality-lang-0.1.200/lib/node_modules/formality-lang/src/fm-to-net.js:215:26)
{"rewrites":19466,"loops":21149303,"max_len":21091}

Does the same happen with the new implementation of the interaction nets?

Very likely to be caused by stack overflows when compiling from/to nets. This is a recursive function, and JS's stack limit is not high enough for very big strings.
The good news is that we're on the process of freezing Formality's features, cleaning up the code (which grew organically and messy) and possibly implementing the runtime/compilers in other languages such as Haskell, on which stack won't be a problem.
On JS, this could too be solved by making the functions on the new runtime non-recursive (with a manual stack). Laborious but doable. I wonder if there is a tool that does that automatically? @bamorim


Maven classifier is not generated correctly in artifact URL

If I depend on io.netty.netty-transport-native-epoll, Coursier will try and resolve the artifact without an _ in the linux-aarch64 classifier. If I manually go to the URL and insert an _ between aarch and 64, the artifact can be found. We can see it exists at https://repo.maven.apache.org/maven2/io/netty/netty-transport-native-epoll/4.1.79.Final/netty-transport-native-epoll-4.1.79.Final-linux-aarch_64.jar
Here's the error I encounter
java.lang.RuntimeException: we could not download the artifact io.netty:netty-transport-native-epoll:jar:linux-aarch64:4.1.79.Final to compute the hash for digest type Sha1 with error com.github.johnynek.bazel_deps.CoursierResolver$FileErrorException: not found: https://repo.maven.apache.org/maven2/io/netty/netty-transport-native-epoll/4.1.79.Final/netty-transport-native-epoll-4.1.79.Final-linux-aarch64.jar

Might be related to !295


Issues while installing it with pip

When I tried installing pydrive via pip, it installed python 2.x version, I was infact hoping for python 3. Further when I tried pip install git+https://github.com/googledrive/PyDrive.git, it still resulted in python 2 version. I want the python 3 version in my application. Let me know if I am doing something wrong here.
Ubuntu OS 14.04
Virtual Environment created with python 3.4

it seems pydrive was not yet updated in pypi, as the updated date is 2014-04-04. however I cloned it and put it in my virtualenvs site-packages and it get the correct python3 compatible version. how do you make out that it is the "python 2 version" that you are running?

I checked out the file with.py the print statements were in python 2 syntax
-----Original Message-----
From: "Lawrence"<EMAIL_ADDRESS>Sent: 16-01-2016 22:50
To: "googledrive/PyDrive"<EMAIL_ADDRESS>Cc: "rajeshyogeshwar"<EMAIL_ADDRESS>Subject: Re: [PyDrive] Issues while installing it with pip (#51)
it seems pydrive was not yet updated in pypi, as the updated date is 2014-04-04. however I cloned it and put it in my virtualenvs site-packages and it get the correct python3 compatible version. how do you make out that it is the "python 2 version" that you are running?
—
Reply to this email directly or view it on GitHub.

maybe just mixed something up when cloning. the only file I see containing print statements is the auth.py and in my case, it's all print(). make sure you delete the old pydrive folder, just to be safe

I will try it again and let you know if the issue persists
-----Original Message-----
From: "Lawrence"<EMAIL_ADDRESS>Sent: 16-01-2016 22:56
To: "googledrive/PyDrive"<EMAIL_ADDRESS>Cc: "rajeshyogeshwar"<EMAIL_ADDRESS>Subject: Re: [PyDrive] Issues while installing it with pip (#51)
maybe just mixed something up when cloning. the only file I see containing print statements is the auth.py and in my case, it's all print(). make sure you delete the old pydrive folder, just to be safe
—
Reply to this email directly or view it on GitHub.

nonetheless, @aliafshar @jgwak is it possible to get the current master in PyPI?

The new version is going to be updated on PyPI soon.


G923 Support

Does that package work normally when I use the G923?

I have no experience. I would appreciate it if you tried.

I guess it works because there is no big difference between g29 and g923.


New window

I would like to use egui to render an overlay that displays the players stats in my game.
For context, I would like to keep the overlay internal.
I would do this by injecting my dll into the game and hooking wglSwapBuffers where I would then render my overlay.
But it seems like this isn't possible with the current OpenGL implementations because they force you to create a new window.
Am I missing something in these implementations that will allow me to render my overlay without creating a new window
or do I have to implement this myself?

Perhaps you can reuse https://docs.rs/egui_glium/0.14.0/egui_glium/struct.Painter.html for this, but I don't know.

This confusion comes up because egui is often confused and mixed up with its fellow brothers like egui_glium or epi/eframe.
egui itself doesn't have a concept of the window or anything. you can just create a new CtxRef, add all stuff it needs to RawInput like screen size, position etc.. and finally just get the output to draw however you want.
You will need to take care of the drawing yourself manually with opengl or whatever api you are hooking into. if its just opengl, you can copy the egui render code from the other popular crates easily. but the events though, I have no idea how the hooking deals with that.


fix: should check a tag type in creating styled component

Even if it is used styled``, an error is not occurred.
I think it should warn for wrong using.
It is referred react styled-component.
https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/constructors/constructWithOptions.js#L14-L16
I do not know this way is correct, so It is no problem that it can be referred only.
At least, I think isValidElementType method and Error statement should be modified by an
appropriate collaborator.

Merged in 1.4.9
Thank you <3

Hey there! I seem to have problems with this patch version, we're composing styled-components which seem to break right now.
(e.g. styled(Circle)``)
I will open a more descriptive issue for this and raise a pull-request when I find a solution.

Hey! Yeah, seems to be a problem caused by this PR.


About scale up near to 500 in Godot

Hello. In read.me introduction you mentioned, with Heightterrain plugin in Godot increase the y scale HTerrain object to something near 500. But if I have other max height number, let's say 2500m, should I still increase the y scale to 500? Or should I scale it to 2500? Thank you.

500 is the y scale you should use to have the same look in Godot as in wgen. If you scale even higher, you'll get higher mountains but the map might start to look stretched in the y direction. What you might want to do though is first scale y 500 to get a proper y/xz scale, then scale X5 in all directions. This will get you 2500 height while maintaining the y/xz ratio

500 is the y scale you should use to have the same look in Godot as in wgen. If you scale even higher, you'll get higher mountains but the map might start to look stretched in the y direction. What you might want to do though is first scale y 500 to get a proper y/xz scale, then scale X5 in all directions. This will get you 2500 height while maintaining the y/xz ratio

Thank you. I see.


Update Marvel readme to include freezed usage instructions

Fixes https://github.com/rrousselGit/river_pod/issues/369

Thanks!

awesome, thanks @rrousselGit  and @AlexHartford


Update to latest stable Angular

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Update to the latest stable angular release 2.4.7

As per a discussion with brandy/dan today this issue is on hold while dan fixes an issue in app-scripts 1.1.0, which is required for this angular update.

Can we know which bug do you talk about for app-scripts 1.1.0 and when do you think you will update to latest angular?

Also, just want to know if ionic is planned to support angular next big release (4) on march 1st, or not planned yet.

@mburger81 Not blocked anymore, app-scripts 1.1.1 fixed the issue 😃  . Also @AmitMY , the plan is to support Angular 4 if they have it out by march 1st. Remember, their plan to have it out on march 1st is just the plan haha, things always change in software. We do plan to support it asap though once it comes out.

Oh and i guess i should mention that you dont have to rush to update to app-scripts 1.1.1 as the changes were all related to e2e test type stuff for internal use. Feel free to update, but there are not many user facing changes

good news to hear :+1:

@jgw96 on update to app-scripts 1.1.1 http.get and post doesn't work anymore. Any http request gives error 404 Not Found

Status report on this: dan made some fixes to the e2e tests to get them to build correctly, currently waiting on his snapshot to finish running before we merge this update.

Closing as the above PR was just checked off and merged.

Closed by https://github.com/driftyco/ionic/commit/555519da620b3db3c7b0111a45dbb747e58e4f51

this issue isn't really closed because of https://github.com/driftyco/ionic/commit/98e8158b9c03e142a50e79b6e754f9f0fa2a0233

Yeah, looking forward for Angular 4 support as now Angular 4 is already in RC.

Trying this again (: @NgYueHong we are steadily working on updating to Angular 4 (and very excited about it! ) but we most likely will not update to it until it is out of RC releases.

Fixed with https://github.com/driftyco/ionic/pull/10592

ad https://github.com/driftyco/ionic/pull/10592#issuecomment-284063919 by @mhartington

@mikezks Please re-read my comment, that is not what I said as all.

I could not answer your comment directly, becaue I was locked out of https://github.com/driftyco/ionic/pull/10592. It would be polite and show respect if you either at least ignore my post or give me the chance to reply to your comment before locking me out. Of course it is your project and therefore your decision. Furthermore expect that I read your comment - otherwise I would not answer. In case I got anything wrong a comment like "please re-read" is not very helpful in most of the cases - a comment on what I may have understood wrong can help.
Related to the context:
The main point I referred to was:

since angular 2.2.1 there have been breaking changes that framework/library authors need take into consideration and update

IMO it does not make a big difference if someone uses angular as base for a framework or any other project. If these mentioned breaking changes within the angular framework affect someone's work it is not helpful if the angular team does not increment the most left version number. If these breaking changes were not intended, then there is less to discuss.
I agree, in case you wanted to say something else, then I still have not understood your comment correctly.
Beside all above, thanks for all your work on the ionic framework. It is really amazing what you and your colleagues have achieved.

Hey @mikezks was not trying to be rude or disrespectful, but just prevent constant back-and-forth on a closed PR. Not really the place for that.

If these mentioned breaking changes within the angular framework affect someone's work it is not helpful if the angular team does not increment the most left version number.

Also, not trying to throw angular under the bus, but what we're seeing contradicts this. While the changes are not noted as "breaking", they do break bits of ionic or, for example ionic storage. Ionic storage was not setup correctly for angular 2.4.8 and if devs tried to update independently but got error, it's a bad user experience.
Locking the packages keeps things predictable. We know that X version of Ionic works with Y version angular.

Locking the packages keeps things predictable. We know that X version of Ionic works with Y version angular.

From the perspective of Ionic in a vacuum, this makes perfect sense. Once people start pulling in other dependencies to create apps, shared dependency mismatches are going to happen. It would be great if there was some publicly visible tracker that shows users what specifically is known to be incompatible with version >= x.y.z of Ionic's dependencies. Obviously, it's not reasonable to expect it to be exhaustive, but if we know what you know at least in terms of  land mines that have been hit, we can maybe help fix them and/or identify others. We can also make more informed decisions about whether our apps would be affected.
I realize you don't necessarily want to encourage independent dependency upgrading, and I respect that. A bit of information sharing that might make it somewhat less of a blind leap into the unknown would be a big help to app developers.

Hi @mhartington, thanks for these further explanations - this helps to understand why you chose to pin the angular version.
I was thinking whether I may update the angular version in combination with ionic on my own risk, but this definitely sounds to be not a good idea ATM.

@mhartington

Locking the packages keeps things predictable. We know that X version of Ionic works with Y version angular.

I understand issue may have happened during the Angular beta phase, but since then they fully respect Semantic Versioning, so allowing minor updates (or at least bufixes) can only improve the developer experience.
It's actually a pain in the *ss trying to maintain an Angular web app using Ionic (and a lot more other components) due to the Ionic's fixed dependencies.
If you really want to to maintain fixed dependencies for Ionic-centric projects, why not publish it as a separate npm package, like ionic-angular-fixed? This way everyone can be happy.


Fix 2023.1 ai kit samples

Existing Sample Changes
Description
based on 2023.1_AIKits to apply following merged PR

https://github.com/oneapi-src/oneAPI-samples/pull/1729
https://github.com/oneapi-src/oneAPI-samples/pull/1702
https://github.com/oneapi-src/oneAPI-samples/pull/1691

fix for ipex get start samples

update the broken link in the sample
update env variable ONEAPI_INSTALL to ONEAPI_ROOT
fix env pytorch to pytorch-gpu with gpu sample
add note to gpu sample that devcloud may not have ats node to run properly

fix for ipex quantization samples

remove performance result that do not go through performance PDT

External Dependencies
List any external dependencies created as a result of this change.
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Implement fixes for ONSAM Jiras

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode
[ ] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

close


Explanation module, actual causality and explanation notebooks

Once the explanation-related code is separated into a module and the actual causality and explanation notebooks have been completed and merged into ru-causality-staging,  this should land in master.

Closing since the staging branch we're using is staging-causality following #391


Support common source archive formats

I proposed this in the Go issue tracker as https://github.com/golang/go/issues/19614 but it was put on hold pending a solution from dep. Since that's likely to be in the medium to long term I thought I'd better open this as a tracking issue so it doesn't get lost.
Summary from that issue:
Currently the go get command expects to interact with a source control system to check out source code. There is no way to package up a source archive (e.g. tar or zip) and use go get to retrieve this.
This proposal would modify the go tool to look for a source archive according to a to-be-defined scheme when the user types go get package. The go tool would download and unpack the source archive in the correct location. Alternatively the go tool could be modified to keep the archive file and support reading source from the archive directly during a build.

I was actually just thinking about this over the weekend. Specifically, what a tar archive might look like (the need for supporting alternate source types has been clear to me for a long time). There's a ton of value in doing this, to the point that it might even be necessary for some possible long term changes - for example, the source cache in my current big-picture sketch.
This hasn't been on my immediate TODO list because we have more pressing problems, but if it's something you're interested in working on, I'd love to help you work out a spec.

I'll work on an initial draft of a spec for discussion.

Aaaaawesome. If you're able to take into consideration some of the issues raised in the aforelinked gist, as well as have a look over #121, that should cover many of the concerns I think relevant, and might make discussion of an initial draft more productive.
I'm also happy to hop on voice/vid to discuss anytime, if you'd find that helpful!

How's this going?

gonna close this out - feel free to reopen if you find time to write up the spec!

This feels like it would be very useful, perhaps consider re-opening for better visibility if someone looking to contribute picks it up?


vertical stacking with other controls in a dialog

All works well, except that i need to use it in a dialog with other controls, and i dont want vertical scrolling.
The data picker has its own scrolling, and the whole section should not also scroll.
Maybe i need to learn more polymer styling :)

screenshot of the problem.

The paper-datepicker-dialog class is intended to give the styling shown in the material design spec for picker dialogs (these do not include a header). If you're wanting to do any customization beyond that you'll need to do that in your own CSS.  Try just removing that class from the dialog and see if that meets your needs. If not, you can copy the code for that class into your own custom class.


Don't Merge! Regression pull request test

Docs Build status updates of commit 9d3eadb:
:clock10: Pending: waiting for processors (18 builds ahead of you)
:warning: Docs Build is busy, currently there are 18 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 9d3eadb:
:clock10: Full build: the average full build time is 6 min(s) 2 sec(s), this is based on the last 538 build(s) for this repository.

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

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/TestingPullRequest.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/TestingPullRequest.md

[Warning] Metadata with following name(s) are not allowed to be set in Yaml header, or as file level metadata in docfx.json, or as global metadata in docfx.json: content_type. They are generated by Docs platform, so the values set in these 3 places will be ignored. Please remove them from all 3 places to resolve the warning.
[Warning] Metadata with following name(s) are not allowed to be set in Yaml header, or as file level metadata in docfx.json, or as global metadata in docfx.json: content_type. They are generated by Docs platform, so the values set in these 3 places will be ignored. Please remove them from all 3 places to resolve the warning.
[Warning] Metadata with following name(s) are not allowed to be set in Yaml header, or as file level metadata in docfx.json, or as global metadata in docfx.json: content_type. They are generated by Docs platform, so the values set in these 3 places will be ignored. Please remove them from all 3 places to resolve the warning.
[Warning] the value invalid_type is undefined for metadata content_type
[Warning] the value invalid_type is undefined for metadata content_type
[Warning] the value invalid_type is undefined for metadata content_type
Line 7: [Warning] Invalid file link:(~/nonexisted1.md).
Line 7: [Warning] Invalid file link:(~/nonexisted1.md).
Line 7: [Warning] Invalid file link:(~/nonexisted1.md).
Line 8: [Warning] Invalid file link:(~/nonexisted2.md).
Line 8: [Warning] Invalid file link:(~/nonexisted2.md).
Line 8: [Warning] Invalid file link:(~/nonexisted2.md).
Line 9: [Warning] Invalid file link:(~/nonexisted3.md).
Line 9: [Warning] Invalid file link:(~/nonexisted3.md).
Line 9: [Warning] Invalid file link:(~/nonexisted3.md).

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


Add/Edit links inline

Is your feature request related to a problem? Please describe.
Currently, to edit a link there is a browser alert window. This is inconsistent with the rest of the UI.
Describe the solution you'd like
Links should be added and edited inline.
Additional context

Figure: Current link editing experience 👎🏻

hello, can I take this issue?

I can't find the edit link button in the code. Can you point me in the right direction?

@jbowen4 this should be the click handler:
https://github.com/netlify/netlify-cms/blob/5d2256051ebb10617bd3aa45baafde113d56e552/packages/netlify-cms-widget-markdown/src/MarkdownControl/VisualEditor.js#L174

Hi, can I handle this feature?


highlight syntax errors in brackets

hey guys I need your help. I am new in Brackets. I want highlight when I missed the syntax
Thanks in advanced..

what language ? give us an example pls.

We need more info to help you.


Rename create_act_on_args to create_simulation_state

@95-martin-orion Here's this allows safely deprecating those functions. Plus ProductSimulationState.args is now ProductSimulationState.sim_states, and also renamed the args param for public act_on protocol.

{...} this PR does take care of all the regex 'act_on\w*_args' appearances at least, and I'm pretty sure it takes care of all appearances of "args" in public functions / properties.

I think if we've hit these, that's enough to call this PR complete - we can catch the rest in code cleanup down the road.


Expandable rows not working correctly while working with server data

Expected Behavior
When using option serverSide:true, when data in table changes, expanded rows should collapse or it should be possible to manage their state through options.
Current Behavior
Currently rows stay expanded after getting new data (for example by changing page, sorting or filtering).
Steps to Reproduce (for bugs)

Example on codesandbox: https://codesandbox.io/s/awesome-flower-urwc8

Expand first row
Select next page

You can see that after changing the page row stays expanded, even though there is different data in the table. When data changes, row should collapse.
Your Environment

Tech
Version

Material-UI
4.2.0

MUI-datatables
2.6.1

React
16.8.6

browser

etc

I think the best resolution here is to provide a rowsExpanded option that works similarly to the rowsSelected option, so that the state of expandable rows is customizable.
This should also help resolve https://github.com/gregnb/mui-datatables/issues/549, https://github.com/gregnb/mui-datatables/issues/724, https://github.com/gregnb/mui-datatables/issues/518, https://github.com/gregnb/mui-datatables/issues/433, and possibly others.

@gabrielliwerant I'm trying to tackle that option on #800 any feedback would be most appreciated.

No need @Inaia, I've already assigned myself to this issue and am working on it. It will be in the next release.

Feature added in 2.7.0. Let me know if this satisfies your issue. @Inaia

@gabrielliwerant I am trying to use rowsExpanded but it does not work on my machine. Using version 2.8.0. One thing to note is that the type definition for options in the accompanying index.d.t.s file doesn't have a rowsExpanded in the interface for Options. Is this perhaps a bug?

@frahman5 This project does not officially support ts, so any ts support is supplied by users via the definitely typed project (so, not a bug,technically). I'm going to close this particular issue as resolved, but feel free to open a new issue if you have a bug to report, ideally with a minimal example written in js and added to a codesandbox so I can interact with it and we can be sure we're looking at the same thing.


hyperscan: replace with vectorscan

Issue description
Apparently, the great minds at Intel felt the need to turn a regex library proprietary: https://www.phoronix.com/news/Intel-Hyperscan-Now-Proprietary
Shall we replace it with vectorscan (already packaged) like Fedora intends to? It claims to be API-compatible, is committed to FOSS and has cross-platform support (ARM for instance).
Leveraging this could also make some packages compatible cross-platform and/or enable hyperscan configuration for more platforms.
cc @avnik @fpletz @globin @nlewo @tnias @vlaci @0x4A6F @fabaff @magenbluten (maintainers of hyperscan/vectorscan and dependant packages)

In my experience Vectorscan is binary compatible with Hyperscan's current version, so switching shouldn't be a problem. Although adding ARM support to software built on top of it may require some fine tuning of CMake flags to work. On x86, Vectorscan will have the same performance characteristics as well. I have no experience with the Chimera module though.
On the other hand I don't know if we need to be proactive about this. Existing versions of Hyperscan package will continue to work. So at least there is no time pressure.

Relevant fedora issue: https://bugzilla.redhat.com/show_bug.cgi?id=2263601
Debian has packages for hyperscan (since at least debian 10) and vectorscan (since debian 12), but they currently only have packages depending on hyperscan and nothing depending on vectorscan.

Reverse dependencies for libhyperscan5 and libvectorscan5 in debian:sid
% docker run --rm -it debian:sid
root@d27655d895c4:/# apt update
Get:1 http://deb.debian.org/debian sid InRelease [198 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 Packages [9876 kB]
Fetched 10.1 MB in 2s (6224 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
43 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@d27655d895c4:/# apt-cache rdepends libvectorscan5
libvectorscan5
Reverse Depends:
  libvectorscan-dev
root@d27655d895c4:/# apt-cache rdepends libhyperscan5
libhyperscan5
Reverse Depends:
  libhyperscan-dev
  libvectorscan5
    libvectorscan5
  libvectorscan5
  suricata
  rspamd
  kbtin
root@d27655d895c4:/#

Debian has packages for hyperscan (since at least debian 10) and vectorscan (since debian 12), but they currently only have packages depending on hyperscan and nothing depending on vectorscan.

Note that we're talking about an imperative FHS distro here; if the so names are the same, one package could simply be substituted with the other as an alternate implementation.
The packages are likely built against hyperscan but users can opt to install vectorscan instead. To facilitate this, it's declared to implement and replace "libhyperscan5":
root@04ba83f99d9d:/# apt-cache show libvectorscan5
Package: libvectorscan5
Source: vectorscan
Version: 5.4.11-2
Installed-Size: 13660
Maintainer: Konstantinos Margaritis<EMAIL_ADDRESS>Architecture: amd64
Replaces: libhyperscan5
Provides: libhyperscan5
Depends: sse4.2-support, libc6 (>= 2.32), libgcc-s1 (>= 3.0), libstdc++6 (>= 11)
Pre-Depends: debconf
Conflicts: libhyperscan5
Description: Portable fork of Intel's Hyperscan library
Description-md5: 122e14c3dd052e13b79532de5f832353
Multi-Arch: same
Homepage: https://vectorcamp.gr/vectorscan
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/v/vectorscan/libvectorscan5_5.4.11-2_amd64.deb
Size: 2523140
MD5sum: 64e0f0e1d276b86c92821ab69a340ced
SHA256: 77c5265cbebd6d64cf6a1b86a8e47c6c95e7da29b0231adf6662ecaea9c56441


Is terarkdb in production use?

Is terarkdb in production use? is it advised to use it in production?
when will terarkdb be supporting golang bindings?

Yes
No official ones


Error on Android

2 errors one after another during runtime in android.

[ERROR] :  TiExceptionHandler: (main) [8266,22027] ----- Titanium Javascript Runtime Error -----
[ERROR] :  TiExceptionHandler: (main) [0,22027] - In CollectionView.js:54,7
[ERROR] :  TiExceptionHandler: (main) [0,22027] - Message: Uncaught TypeError: Object # has no method 'createRefreshControl'
[ERROR] :  TiExceptionHandler: (main) [1,22028] - Source: Ti.UI.createRefreshControl();
[ERROR] :  V8Exception: Exception occurred at CollectionView.js:54: Uncaught TypeError: Object # has no method 'createRefreshControl'

[ERROR] :  TiExceptionHandler: (main) [1305,29400] ----- Titanium Javascript Runtime Error -----
[ERROR] :  TiExceptionHandler: (main) [0,29400] - In alloy/controllers/index.js:227,46
[ERROR] :  TiExceptionHandler: (main) [0,29400] - Message: Uncaught TypeError: Object # has no method 'createCollectionView'
[ERROR] :  TiExceptionHandler: (main) [0,29400] - Source:     var listView = require("CollectionView").createCollectionView({
[ERROR] :  V8Exception: Exception occurred at alloy/controllers/zo.js:227: Uncaught TypeError: Object # has no method 'createCollectionView'

@SkipperJohn-whqjvaap What I did to solve that error was in app/lib/CollectionView.js put the Ti.UI.createRefreshControl(); in the ios block, Fixed for me.
Ti.UI.createListView();
Ti.UI.createTableView();
if(OS_IOS){
	Ti.UI.createRefreshControl();
}

why is headerView & footerView of list not showing up in ios?

@SkipperJohn-whqjvaap probably related: #35


Gliders should not work on Galacticraft planets

Currently, gliders are really overpowered as they can be used both in space (like on the asteroid belt) as on planets with low atmosphere like mars or no atmosphere, like moon.
It might be possible to adjust the effect of the gliders, by using the galacticraft API. For example:
https://github.com/micdoodle8/Galacticraft/blob/master/src/main/java/micdoodle8/mods/galacticraft/api/galaxies/CelestialBody.java#L28

@CrazyPants has this been fixed?


Add supported versions to README

Resolves #168
I added the supported versions to the Try it! section.

/lgtm

/approve

/lgtm

/retest

/lgtm

There is something wrong with the issue label and we all agree the PR is ready. Let me merge this PR manually this time.
Or pls let me know if there is another good way. :)
Thanks!


Fixing issues in event fitlering (/events command in chat handler)

Short Description:

fixes issues in filtering of /events
fixes issues when calling /info and no visited pokestops or caught pokemons counts are available
minor reformatting of subscriptions shown by telegram handler

Replaces #5536

They were probably hidden because they are never really raised?...
I don't know, to be honest, why they were discarded at all.

I thought they were effecting startup and bogging...but i was wrong...@gobberwart fix is correct.

Correct, removing events has no effect at all if they're not actually being generated, and no effect on startup in any case. Suggest just not removing any events (although we could perhaps look at why these events even exist and remove the from the bot if they're not used)

Okay, I removed the code discarding events in the list completely.

Come on guys...


Make DNS Servers optional

Hi,
I've tried to remove the DNS Servers from Global Settings, but an error message appears: "Invalid DNS Server address".
Please make the DNS servers optional, as they are not mandatory.
A warning could be added to the help text about DNS leakage when you are not using your own servers.

While your suggestion could make sense for people who don't want DNS support for any of their clients, you can disable DNS on a per-client basis for now.


Correction for raw affiliation INRA-Montpellier SupAgro, UMR 1208 IATE, 34060 Montpellier, France

Correction needed for raw affiliation INRA-Montpellier SupAgro, UMR 1208 IATE, 34060 Montpellier, France
raw_affiliation_name: INRA-Montpellier SupAgro, UMR 1208 IATE, 34060 Montpellier, France
new_rors: 03rnk6m14;0000n5x09
previous_rors: 03rnk6m14
works_examples: W2059052521
contact: 3a14da7ea5a66ff9e1dd54d89baacd3c:2ca8f99ceb2053b6ecf98025626f09fb5e28 @ inrae.fr

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


fix(setup): require pdfminer for python 3 and pdfminer.six for python 2

Taken from https://github.com/euske/pdfminer:
Starting from version 20191010, PDFMiner supports Python 3 only. For Python 2 support, check out pdfminer.six.

Coverage decreased (-0.9%) to 67.385% when pulling e3b5e4874f904e66cf246b77dc4eb9183c9c9cbf on tuky:patch-1 into 5b85d998c30ddc6772b56310713530224466083a on clips:master.


How to use word-wrap feature in dart pad?

Kindly suggest how to use word-wrap feature in dart pad? BTW do we have such feature in dart-pad online in the browser? Kindly confirm. Thanks a lot.

Thanks for filing an issue, @kamieshwebtech!
We've actually disabled line-wrapping in DartPad for the time being. It used to be on by default, but caused large strings (that couldn't be broken) to break our UI.


document the units

Add a section to the readme and some description in the header file to document the units used, and how to convert from raw to scaled values. This will solve #8 .
I understand that the conventions used are "obvious / as expected" for people with in-depth embedded experience, but I think / hope that for people without so much embedded experience, which are often the target of *duino ecosystem, a bit of extra documentation / examples may be useful :) .

I am not sure of the formatting rules, looks like a trailing space was causing formatting lint error, fixed it now; if you have more tips on what formatting should be modified if there are still lint errors, feel free to point / explain :) .

Thanks a lot for the contribution @jerabaul29 , PR integrated in the main branch. ;-)


Tables

Add in tables please 😄

@BertVanHeckeCertifisc Sure, working on it. and it will come with seperate branch. will let you know if this feature implemented

Great, appreciated! Thanks


support track time less than 5 days old

Fixes https://github.com/mixpanel/mixpanel-node/issues/38

Isn't the 5 days something that's hardcoded into the mixpanel service?

@freeall it looks like the docs say to use a different endpoint depending on the time:
If the event you are trying to send to Mixpanel is more than 5 days old, the track endpoint above will not accept your request. Instead, you will need to hit the import endpoint at http://api.mixpanel.com/import/ to process your request.
https://mixpanel.com/help/reference/http

@freeall yeah, the limit is that you can't use track for events older than 5 days. The import endpoint meanwhile requires your project's private key as opposed to the public tracking token. So it makes sense to add support for track calls with a specified time, as long as they're within the limit.

Makes sense. The track endpoint also has a batch option that is not supported by this library.

@tdumitrescu, @cruzanmo thanks for clearing it up for me :)

@tdumitrescu, per your suggestion, I refactored so that track always uses /track endpoint and throws an error if older than 5 days, and import always uses /import endpoint.

Thanks @cruzanmo, published in v0.6.0!


Make it Easy For People to Find Their Log

Add a button to auto open log or log folder or both, so that users can send debugging information easier.

I really like this idea.

<div className="card__actions">
           <Button
             button="primary"
             label={__('Open Log File')}
             icon={icons.MESSAGE}
             href="{log-location}"
           />
         </div>

Code Location

Agreed, this is a great idea @Invariant-Change!
The button should probably be somewhere else though. Either a standalone card, or in About?

As a separate section makes it easier to find. So I guess that is the best solution.

I will take this up!
I had a couple of questions/clarifications - @kauffj @seanyesmunt

The log files location are mentioned in this post and I am assuming that this is the right file.
I know that the electron shell plugin allows you to open external files that are on the file system, but it cannot open files with relative paths. Does anyone know how I can access properties like the user's home directory etc.?

@amitnndn take a look at how we do this on the backup page: https://github.com/lbryio/lbry-app/blob/afaad1910e84d27140abaa696af53a985349c53d/src/renderer/page/backup/view.jsx
In this case, the setting is: data_dir

@tzarebczan Thank you! I will take a look at it.

#1600 I see that there is an issue opened, that is related to the changes in this issue. Can anybody with a Windows 10 system, click on the open log folder and let me know what folder it ends up opening? Thank you!

On windows 10 and Mac, it opens to the parent folder of lbrynet, with it highlighted. Think you want to pass the logfile and have it open that folder.

@tzarebczan Is that happening when you click on 'Open Log Folder' or 'Open Log'?

It's described in the issue. It happens when you click open log folder. Open log opens the logfile in notepad correctly.

Got it! 👍 A bit of a lag in my brain registering an Issue on a Friday night!!

Closing this, https://github.com/lbryio/lbry-app/issues/1600 tracks latest issue.


Fix order of subscriptions in the takeUntil() operator

This switches the order of subscriptions in the takeUntil() operator. This is relevant only when using the ImmediateScheduler.
$source = Observable::range(1, 10);
$notification = new Subject();

$source->takeUntil($notification)
    ->subscribe(new CallbackObserver(function($value) use ($notification) {
        echo "$value\n";
        if ($value === 5) {
            $notification->onNext(true);
        }
    }));

This will print numbers 1 - 10 even though I called $notification->onNext(true) after the first five items because the takeUntil() operator first subscribes to its source which starts emitting values immediatelly before subscribing to the notifier.

Coverage increased (+0.8%) to 96.791% when pulling 23f851160192397838a457c9e7e81709cd33641e on martinsik:fix-takeuntil-subscribtion-order into 31f36d69cf9ab121eff726fc0d003b2ccfc3ab16 on ReactiveX:1.x.

@davidwdan I guess I should send PR agains the 2.x as well...

@martinsik that would be great.  Would you also be interested in back porting #167 and #168 to v1?

@davidwdan I'll have a look at all of them.


Issue295 fixes #295

This issue fixes a critical error, in download_pandoc, where the urls to the binaries stopped being populated.
This is a suggested solution, that I'll leave open for discussion before merging.

Thanks for the fix!
I always see another error when running the pypandoc download:
 [INFO] Downloading pandoc from https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-1-amd64.deb ...
[INFO] Unpacking /tmp/tmpyhpyagw4/pandoc-2.19.2-1-amd64.deb to tempfolder...
[INFO] Copying pandoc to /tmp/runner/build-docs/bin ...
[INFO] Making /tmp/runner/build-docs/bin/pandoc executeable...
[INFO] Copying pandoc-citeproc to /tmp/runner/build-docs/bin ...
Error:  Didn't copy pandoc-citeproc

This is just a print statement and does the cause the program to crash but still is a bit annoying. Is this something that can be easily disabled?

@kevalmorabia97  this can be disabled indeed. See the README for instructions, specifically under the "logging messages" section.

I came across this issue, thanks for the quick fix! I can confirm it works well on Ubuntu 22.04.
Querying api.github.com makes perfect sense to me, and will hopefully be more stable.

@FedeMPouzols  good that it also works there.
Issue that I don't like, is that api.github.com has a ratelimiting of 60 requests / hour for non-authenticated users.
This might not seem like a big deal, but consider that before it was unlimite due to reading the html, so bigger pipelines might break if it's ran many times an hour (even our own tests, breaks sometime because of it).
I have not yet found a fix for this, that I like.
I do take suggestions.

@JessicaTegner how about we use https://github.com/jgm/pandoc/releases/expanded_assets/2.19.2 urls? I think it might not work for latest version in which case we would need to fall back to what you have now. What do you think?

@kevalmorabia97  that would solve the rate limiting issue for every version except if using "latest".
Since we are only hitting api.github.com once, if we use "latest" as version, the rate limiting will still happen.
Reason for this, is that we are extracting the asset html download urls from the json data returned from the call.
If we could find another way of getting the latest version number, that didn't involve hitting api.github.com, your solution might just work perfectly.

What if we cache the latest version and let the cache be alive for a minute, this would ensure we hit the api almost once per minute

that could also work, however I think I have found a solution between what you suggested and what I have found after doing some research. Do let me know what you think :)

@kevalmorabia97   also works on Windows here.
I don't like that the tests are failing, but that seems to be for other reasons, not a cause of this pr.
I'll leave this open for a little, to see if other people has comments, while I look at better CI pipeline options.

Sounds good. For now I'm passing a hard coded url to the pandoc_download function

Is it possible to make a new release/tag for this working state?

@enochtangg as a temporary option, you can update your dependencies to pypandoc @ https://github.com/JessicaTegner/pypandoc/archive/refs/heads/master.zip to try that it works on your environment.

@enochtangg  that has now been done.
PyPandoc v1.9 - pypandoc-binary v1.9


FILEUPLOAD-340 Give a better name for the JPMS module

Set javac's --release to 8 when releasing

Coverage remained the same at 78.163% when pulling 2175f3cad65dc9a3e16490c5a2834caeff51d1ad on martin-g:340-better-name-for-jpms into 5855c053f99b00602a239c0cda6bed5e1fa89622 on apache:master.


Team3 [3pt] Implement dragon booking - Actions

When a user clicks the "Reserve dragon" button, action needs to be dispatched to update the store. You need to get the ID of the reserved dragon and update the state. Remember you mustn't mutate the state. Instead, you need to return a new state object with all dragons, but the selected rocket will have an extra key reserved with its value set to true. You could use a JS filter() or map() to set the value of the new state - i.e.:

const newState = state.map(rocket => {
    if(dragon.id !== id)
        return dragon;
    return { ...dragon, reserved: true };
});

Regardless of which method you choose, make sure you place all your logic in the reducer. In the React view file, you should only dispatch the action with the correct dragon ID as an argument.

https://github.com/oluwatobi-fasasi/react-group-project/pull/36


fix: :arrow_up: Update to jekyll 4.3.2 and jtd 0.5.1

The template turned out to be not builable with the versions set in the lockfile.

I noticed jekyll is not strictly pinned. Not sure what way to go, updating the version contraint or the lockfile...

Lacking access ... @mattxwang, please take over ;)

I also just merged an update replicating the Netlify build on CI, which should give you more insight on what's happening.

Looks like netlify uses Ruby 2.7, which seems to be incompatible with the sass-plugin.

Looks like netlify uses Ruby 2.7, which seems to be incompatible with the sass-plugin.

Hm, I might be wrong, but I explicitly loaded Ruby 3.1.2 into the Netlify builder; for example, in the latest deploy log:

11:27:47 AM: build-image version: ffab3dbd3296c17f3cd4edff692372d98e6d8a8f (focal)
11:27:47 AM: buildbot version: f6128af83ac177740bc729eee55d8c066e4a11a4
11:27:47 AM: Fetching cached dependencies
11:27:47 AM: Starting to download cache of 143.5MB
11:27:49 AM: Finished downloading cache in 2.212s
11:27:49 AM: Starting to extract cache
11:27:50 AM: Finished extracting cache in 831ms
11:27:50 AM: Finished fetching cache in 3.092s
11:27:50 AM: Starting to prepare the repo for build
11:27:50 AM: Preparing Git Reference pull/22/head
11:27:52 AM: Starting to install dependencies
11:27:52 AM: Python version set to 3.8
11:27:52 AM: Attempting Ruby version 3.1.2, read from environment
11:27:52 AM: Started restoring cached Ruby version
11:27:52 AM: Finished restoring cached Ruby version
11:27:53 AM: Using Ruby version 3.1.2
11:27:53 AM: Using Bundler version 2.3.9 from Gemfile.lock
11:27:53 AM: Started restoring cached ruby gems
11:27:53 AM: Finished restoring cached ruby gems
11:27:53 AM: Installing gem bundle
11:27:53 AM: [DEPRECATED] The --path flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set --local path '/opt/build/cache/bundle', and stop using this flag
11:27:53 AM: [DEPRECATED] The --binstubs option will be removed in favor of bundle binstubs --all
11:27:54 AM: Fetching gem metadata from https://rubygems.org/...........
11:27:54 AM: Your bundle is locked to sass-embedded (1.62.1-x86_64-linux) from rubygems
11:27:54 AM: repository https://rubygems.org/ or installed locally, but that version can no
11:27:54 AM: longer be found in that source. That means the author of sass-embedded
11:27:54 AM: (1.62.1-x86_64-linux) has removed it. You'll need to update your bundle to a
version other than sass-embedded (1.62.1-x86_64-linux) that hasn't been removed
in order to install.
11:27:54 AM: Error during gem install
11:27:55 AM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
11:27:54 AM: Build was terminated: dependency_installation script returned non-zero exit code: 1
11:27:54 AM: Failing build: Failed to install dependencies

Taking a look at the versions of sass-embedded, there doesn't seem to be a version directly for x86_64-linux. Perhaps either unplatforming it and/or picking the right platform should resolve the build error?

I generated a new lockfile for testing ... and it broke even more. 😂


Custom font in TextField rendering problems

Using a custom font family in a TextField gives unexpected font sizes. The screenshot below shows two TextFields, both a fontSize of 30. Top widget uses a custom TTF fontFamily, bottom widget does uses default. Both have a OutlineInputBorder with zero padding to illustrate the bounding area.

The non-custom font appears as expected. However the custom font has:

a much larger bounding box
text does not fill the bounding box
cursor does fill the bounding box

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.3.2, on Mac OS X 10.12.6 16G29, locale en)
Error executing simctl: -6
dyld: Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
  Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl
  Reason: image not found

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
    ✗ Xcode requires additional components to be installed in order to run.
      Launch Xcode and install additional required components when prompted.
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
[!] VS Code (version 1.23.1)
[✓] Connected devices (1 available)

! Doctor found issues in 2 categories.
Process finished with exit code 0

@zoechi Just tested and it appears to be fixed 👍

Thanks for checking and the update!


Add GetFulfillmentPreview to OutboundShipments API

Adds get_fulfillment_preview method to the outbound_shipments API. Follows the same conventions as create_fulfillment_order.

This is my first PR to this project so please let me know what changes you'd like me to make before merging. Thanks!


 None of the examples even show using the library with any windows crate.

Hi. In the windows crate, the HWND is just a wrapper around isize. The HWND is practically an IntPtr, therefore converting HWND to *mut c_void is just a cast. To convert it see: Getting a windows-rs HWND from winit?. Not all HWND implementations by different crates are the same. Ex.: in winapi, an empty enum is used. Maybe if we supported HWND directly it would not be HWND but isize.

Thank you :+1:


Game doesn't read .tja files when ran of an External Hard-drive and crashes when it tries to read them.

Title says everything

Title says everything

@billie-sc have you finished scanning?

Hey @billie-sc, apologies for taking so long to get back to you. Work, "vacation," other priorities, etc. have often been in the way for a while now.
The TJAPlayer3 code doesn't have sensitivity to internal versus external drives aside from perhaps the following:

drive disconnection while the application is running
shifting drive letters

Do either of the above apply to what you have been experiencing?


New module: Python bindings

These commits implement python bindings for the c++ API. I've also created the metadata for a v0.13.0 release.
Check out the commit descriptions and the included doc changes for more details.
 Re-created the branch and new PR with feedback incorporated.