Run this project and get vulkan validation error.

Hi, thanks for your project !
I make this project on my computer with vulkan sdk <IP_ADDRESS> and get a vulkan validation error as below, do you know how to slove this problem?
[VULKAN] info: validation: Validation Information: [ UNASSIGNED-cache-file-error ] Object 0: handle = 0x55f97a1dc760, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf0bb3995 | Cannot open shader validation cache at /root/.cache/shader_validation_cache-0.bin for reading (it may not exist yet)
55f97a0d4280 dev fab64d0000000002 surface
mode[0]: 0
mode[1]: 1
mode[2]: 2
mode[3]: 3
candidate[0]: 2048
/ 2048
candidate[1]: 2048
/ 2048
candidate[2]: 2048
/ 2048
candidate[3]: 2048
/ 2048
textures sizes: 67108864
[VULKAN] error: validation: Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-02997 ] Object 0: handle = 0x2e2cd000000002b, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0x40eb75ef | VkWriteDescriptorSet: image view must not be VK_NULL_HANDLE. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, or VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, and the nullDescriptor feature is not enabled, the imageView member of each element of pImageInfo must not be VK_NULL_HANDLE (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/linux/1.3-extensions/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-02997)
[VULKAN] error: validation: Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00325 ] Object 0: handle = 0x2e2cd000000002b, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xce76343a | vkUpdateDescriptorSets() pDescriptorWrites[0] failed write update validation for VkDescriptorSet 0x2e2cd000000002b[] with error: Write update to VkDescriptorSet 0x2e2cd000000002b[] allocated with VkDescriptorSetLayout 0xba7514000000002a[] binding #7 failed with error message: Attempted write update to sampler descriptor with invalid sampler: VkSampler 0x0[].. The Vulkan spec states: If desc

Hi ! Are you using a 3D model that doesn't have any texture ?

Hi !
The issue was that I haven't included the skymap in the GitHub. But I should handle the case where the skymap can't be found. The program should also be able to be provided with a specific skymap instead of just being hard-coded. So I don't mark this issue as "fixed".
But, thank you very much !

Hi ! The issue was that I haven't included the skymap in the GitHub. But I should handle the case where the skymap can't be found. The program should also be able to be provided with a specific skymap instead of just being hard-coded. So I don't mark this issue as "fixed". But, thank you very much !

Thanks，it did help me! After I add a skymap png and delete those two ray tracing EXT in comp.comp, I run this project successfully!
Two more question,

the camera move a long distance when I touch my mouse just a little. So it is hard for me to adjust the camera toward the model scene.
the terminal print info is always "a1 1xx.xxxxxx 0", is that "0" means no ray accumulated to decrease noise?

There is a way to control the camera position speed by using the scroll wheel. But I should also use it when you change camera orientation.
Yes It means that the camera moved so it restarted the ray accumulation. If you want you can also disable camera controls in the config.h file.

Thanks for your interest in the project !

Got it. But I cannot see my model at the initial camera setting, so it is useless to disable camera controls.


⚠ Bofrost.lu has degraded performance

In 45be1cf, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2361 ms

Resolved: Bofrost.lu performance has improved in f0112e6 after 38 minutes.


Compute correct flycheck message width

Subtracts the widths of all other columns from the buffer width. Somewhat relatedly, we might want to hide that unused 'ID' column.
I begin to regret never having learned Lisp.

I begin to regret never having learned Lisp.

@Kha , why ? Never is to late! http://www.gigamonkeys.com/book/


BulkThreshold is not for internal use

It can be set through the EAC and from powershell, it's the threshold for bulk mail. It's the BCL threshold, use a lower number to classify more bulk mail as spam.
https://docs.microsoft.com/en-us/office365/securitycompliance/bulk-complaint-level-values

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

ID: de4b3451-117a-6079-1c0c-e305438e8b2f
Version Independent ID: 6d85b0b2-2fe2-77db-baee-17303ae27d5a
Content: New-HostedContentFilterPolicy (exchange)
Content Source: exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterPolicy.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@jonwbstr, the parameter was documented in Set-HostedContentFilterPolicy, but not New.
Thanks for the feedback.


ci: add renovate config

Description

Test Plan

#485  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Brooooooklyn and the rest of your teammates on  Graphite


[lio_sam_mapOptmization-4] process has died [pid 33731, exit code -11

I am encountering this error when i try to run my launch file, any solutions?

@Gaochao-hit

I met this problem before and here's a solution, rebuild and reinstall your gtsam(version: 4.0.2) with "cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF ..". Enjoy~

Tried this way but it still fails


3.7 streaming transactions: ArangoError: cluster internal HTTP connection broken

This branch was working on 3.6.3, but is now failing on 3.7.3
https://github.com/mikestaub/arangojs/pull/1/files
Would it be possible to include a default Oasis cluster in the integration tests so these types of regressions could be caught earlier?

Hi,
If you make this a PR to arangojs, it will become part of the nightly tests that the ci runs.
Thanks for digging deeper into this.

@dothebart what 3 URIs should I use for the Oasis cluster in my PR?

@pluma can you give a hint for this?

@dothebart I've added support for passing multiple URLs with commas via ab866b0. Check the changes to CONTRIBUTING.md in particular.
Note that this will result in acquireHostsList being called, which in my case returns IPv6 URLs which won't be deduplicated if you use an alias like localhost. This also means you can just append a single comma to your TEST_ARANGODB_URL to opt into cluster mode.
Cluster mode always enables round robin.

Hi @mikestaub ,
I hope you are doing well. Alan and WIlli are working on extending the automatic testing to catch these issues more easily.
What is the current status? Is it blocking you from moving to 3.7 or did you work around it?
best Frank

@fceller this is blocking me from upgrading to 3.7 but it is not urgent as 3.6 is working well.

hm, running the tests with 3 coordinators barely doesn't reproduce this.
@mikestaub can you sched a bit more details on the environment you're running into this?

@dothebart here is the docker-compose.yml file I am using:
version: "3"

services:

  nginx:
    image: nginx:1.17.9
    container_name: arangodb-proxy
    depends_on:
      - arangodb-coordinator1
      - arangodb-coordinator2
      - arangodb-coordinator3
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf
    ports:
      - 8529:80

  arangodb-coordinator1:
    restart: on-failure
    container_name: arangodb-coordinator1
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics true
      --cluster.max-number-of-shards 1
      --cluster.min-replication-factor 3
      --cluster.max-replication-factor 3
      --cluster.force-one-shard true
      --cluster.agency-endpoint tcp://arangodb-agency1:8529
      --cluster.agency-endpoint tcp://arangodb-agency2:8529
      --cluster.agency-endpoint tcp://arangodb-agency3:8529
      --cluster.my-address tcp://arangodb-coordinator1:8529
      --cluster.my-role COORDINATOR
    volumes:
      - arangodb-coordinator1:/var/lib/arangodb3

  arangodb-coordinator2:
    restart: on-failure
    container_name: arangodb-coordinator2
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics true
      --cluster.max-number-of-shards 1
      --cluster.min-replication-factor 3
      --cluster.max-replication-factor 3
      --cluster.force-one-shard true
      --cluster.agency-endpoint tcp://arangodb-agency1:8529
      --cluster.agency-endpoint tcp://arangodb-agency2:8529
      --cluster.agency-endpoint tcp://arangodb-agency3:8529
      --cluster.my-address tcp://arangodb-coordinator2:8529
      --cluster.my-role COORDINATOR
    volumes:
      - arangodb-coordinator2:/var/lib/arangodb3

  arangodb-coordinator3:
    restart: on-failure
    container_name: arangodb-coordinator3
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics true
      --cluster.max-number-of-shards 1
      --cluster.min-replication-factor 3
      --cluster.max-replication-factor 3
      --cluster.force-one-shard true
      --cluster.agency-endpoint tcp://arangodb-agency1:8529
      --cluster.agency-endpoint tcp://arangodb-agency2:8529
      --cluster.agency-endpoint tcp://arangodb-agency3:8529
      --cluster.my-address tcp://arangodb-coordinator3:8529
      --cluster.my-role COORDINATOR
    volumes:
      - arangodb-coordinator3:/var/lib/arangodb3

  arangodb-agency1:
    restart: on-failure
    container_name: arangodb-agency1
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --foxx.queues false
      --agency.size 3
      --agency.supervision true
      --agency.activate true
      --agency.my-address tcp://arangodb-agency1:8529
      --agency.endpoint tcp://arangodb-agency1:8529
      --agency.endpoint tcp://arangodb-agency2:8529
      --agency.endpoint tcp://arangodb-agency3:8529
    volumes:
      - arangodb-agency1:/var/lib/arangodb3

  arangodb-agency2:
    restart: on-failure
    container_name: arangodb-agency2
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics false
      --agency.size 3
      --agency.supervision true
      --agency.activate true
      --agency.my-address tcp://arangodb-agency2:8529
      --agency.endpoint tcp://arangodb-agency1:8529
      --agency.endpoint tcp://arangodb-agency2:8529
      --agency.endpoint tcp://arangodb-agency3:8529
    depends_on:
      - arangodb-agency1
    volumes:
      - arangodb-agency2:/var/lib/arangodb3

  arangodb-agency3:
    restart: on-failure
    container_name: arangodb-agency3
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics false
      --agency.size 3
      --agency.supervision true
      --agency.activate true
      --agency.my-address tcp://arangodb-agency3:8529
      --agency.endpoint tcp://arangodb-agency1:8529
      --agency.endpoint tcp://arangodb-agency2:8529
      --agency.endpoint tcp://arangodb-agency3:8529
    depends_on:
      - arangodb-agency1
    volumes:
      - arangodb-agency3:/var/lib/arangodb3

  arangodb-dbserver1:
    restart: on-failure
    container_name: arangodb-dbserver1
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics true
      --cluster.min-replication-factor 3
      --cluster.max-replication-factor 3
      --cluster.force-one-shard true
      --cluster.agency-endpoint tcp://arangodb-agency1:8529
      --cluster.agency-endpoint tcp://arangodb-agency2:8529
      --cluster.agency-endpoint tcp://arangodb-agency3:8529
      --cluster.my-address tcp://arangodb-dbserver1:8529
      --cluster.my-role PRIMARY
      --database.directory /var/lib/arangodb3/primary1
    volumes:
      - arangodb-dbserver1:/var/lib/arangodb3

  arangodb-dbserver2:
    restart: on-failure
    container_name: arangodb-dbserver2
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics true
      --cluster.min-replication-factor 3
      --cluster.max-replication-factor 3
      --cluster.force-one-shard true
      --cluster.agency-endpoint tcp://arangodb-agency1:8529
      --cluster.agency-endpoint tcp://arangodb-agency2:8529
      --cluster.agency-endpoint tcp://arangodb-agency3:8529
      --cluster.my-address tcp://arangodb-dbserver2:8529
      --cluster.my-role PRIMARY
      --database.directory /var/lib/arangodb3/primary2
    volumes:
      - arangodb-dbserver2:/var/lib/arangodb3

  arangodb-dbserver3:
    restart: on-failure
    container_name: arangodb-dbserver3
    image: arangodb/arangodb:3.7.3
    environment:
      - ARANGO_NO_AUTH=1
    command: >
      --server.endpoint tcp://<IP_ADDRESS>:8529
      --server.authentication false
      --server.statistics true
      --cluster.min-replication-factor 3
      --cluster.max-replication-factor 3
      --cluster.force-one-shard true
      --cluster.agency-endpoint tcp://arangodb-agency1:8529
      --cluster.agency-endpoint tcp://arangodb-agency2:8529
      --cluster.agency-endpoint tcp://arangodb-agency3:8529
      --cluster.my-address tcp://arangodb-dbserver3:8529
      --cluster.my-role PRIMARY
      --database.directory /var/lib/arangodb3/primary3
    volumes:
      - arangodb-dbserver3:/var/lib/arangodb3

volumes:
  arangodb-agency1:
  arangodb-agency2:
  arangodb-agency3:
  arangodb-dbserver1:
  arangodb-dbserver2:
  arangodb-dbserver3:
  arangodb-coordinator1:
  arangodb-coordinator2:
  arangodb-coordinator3:

this seems to be missing the nginx config file?

this is the nginx.conf
worker_processes 1;

events {
  worker_connections 1024;
}

http {
  upstream arangodb-servers {
    server arangodb-coordinator1:8529;
    server arangodb-coordinator2:8529;
    server arangodb-coordinator3:8529;
  }

  server {
    listen 80;
    location / {
      proxy_pass http://arangodb-servers;
    }
  }
}

Ok,
@ajanikow was able to narrow it down to what actually is the reason.
nginx in HTTP-proxy-mode attempts to "fix" empty PUT requests which are used for cursors.
Since later on coordinators need to forward the request, they fail to correctly do so.
The instantly working fix is to configure nginx to use tcp-proxy instead of http-proxy by swapping the http section to:
stream  {
  upstream arangodb-servers {
    server arangodb-coordinator1:8529;
    server arangodb-coordinator2:8529;
    server arangodb-coordinator3:8529;
  }
  server {
    listen 80;
    proxy_pass arangodb-servers;
  }
}

We will dig deeper on the real reason later.

@dothebart any updates on the root cause? I am seeing these errors in Oasis on v3.7.5 as I assume envoy uses TCP not HTTP.

Hi,
sorry, have been busy with release QA.
hm, @ajanikow ensured me that oasis shouldn't have these issues?

Hello!
Problem with cluster internal HTTP connection broken in Oasis can be related to different thing. Only TCP forwarding is used on all levels, so issue caused by invalid body should not occur.
Can you create Oasis issue? Then we will be able to look on your Deployment (we will check internal reason).
Best Regards,
Adam.

Here is the Oasis issue: https://arangodb.atlassian.net/servicedesk/customer/portal/13/OASIS-418

@ajanikow I think the long-term solution is to provide a way to run the Oasis cluster locally so I can run my integration tests against it an be confident it will work once deployed. Either with a docker-compose file or k8 helm charts.

Ok, the current situation is, that ArangoDB will forward all [most] HTTP-headers that it gets from one coordinator to the one that owns the cursor.
In your setup case this is too - connection: close. This starts an unwanted chain of reactions, which in current devel somewhere later down the road doesn't lead to the actual error we see.
However, not forwarding the connection header in first place (since the cluster should use connection keep-alive for performance reasons) fixes this problem, without fixing the ultimatively last point where the error occurs.
This bugfix is going to be part of the upcomming 3.7.6 Release.

@dothebart great, thanks for tracking down this down. In the meantime can I manually remove that header from the requests being sent by arangojs? Do you have an ETA when 3.7.6 will be available on Oasis?

at least in your testcase this header is added by the NGINX Proxy - as @ajanikow pointed out, using it in TCP-Mode also circumvents the situation from appearing.
The problem is the PUT request without a post-body which makes the nginx go down to HTTP/1.0 - which implies connection: close.
As @ajanikow also told - oasis should also have no nginx in http mode - so if there are more problems, these aren't similar to the docker-compose ones.
I fear that the Oasis team is currently very busy because of the azure cloud.

I think it might also be a timing issue in the arangojs task queue. After adding this to my Database config, the issue disappeared:
agentOptions: {
  keepAlive: true,
  keepAliveMsecs: 50000,
  maxSockets: 1, // TODO: remove this
},

Hi, Happy new Year ;)
Its still unclear to me how and why you should be hit by this. Can we have some more details on the total environment?
How and from where do you connect the oasis cluster? Is this your local workstation and mabye  there a transparent proxy in the way (company network or telco provider?) ? Whats the tcp-traceroute? Does the instance live near to you?
If its all that, is issue reproducible if you use a cloud VM near to your oasis cluster?

Hi, Happy new Year ;)
Its still unclear to me how and why you should be hit by this. Can we have some more details on the total environment?
How and from where do you connect the oasis cluster? Is this your local workstation and mabye  there a transparent proxy in the way (company network or telco provider?) ? Whats the tcp-traceroute? Does the instance live near to you?
If its all that, is issue reproducible if you use a cloud VM near to your oasis cluster?

Happy new year!
The error was still appearing in my local env ( not Oasis ), even with TCP routing enabled. You should be able to reproduce it with that docker-compose file. I assume that docker-compose file is a good approximation of an Oasis setup. I saw the same errors when running on lambda connecting to Oasis.
I actually think it may be a bug in arangojs as it might be firing the HTTP requests in the wrong order ( commit transaction before it was created ).

Happy new year!
The error was still appearing in my local env ( not Oasis ), even with TCP routing enabled. You should be able to reproduce it with that docker-compose file. I assume that docker-compose file is a good approximation of an Oasis setup. I saw the same errors when running on lambda connecting to Oasis.
I actually think it may be a bug in arangojs as it might be firing the HTTP requests in the wrong order ( commit transaction before it was created ).

I just confirmed, this issue is still present in 3.7.7

we probably can meanwhile close this as duplicate of https://github.com/arangodb/arangojs/issues/702#issuecomment-791723325 since it meanwhile contains a more precise description & testcases of the actual ongoing behaviour WDYT?

arangojs 7.3.0 changes behavior related to maxSockets so you may want to try with this version in either case.

I still have to set maxSockets=1 with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Hi,
since all of our changes to improve this haven't finally resolved this situation yet, can you please open a Jira issue with maybe a code sample reproducing this?
Please add a reference to this github issue as well.


lamadava saas not working

hi, please check the lamadava saas, we can't get the users data from the api , it is showing error.

@gruzkercode Try now

not working again

not working again either


Fixing aarch64 float issue

Build on qemu::aarch64-centos raised the following error:
#17 808.1 =================================== FAILURES ===================================
#17 808.1 _____________________________ [doctest] skbio.tree _____________________________
#17 808.1 160 C 0.3
#17 808.1 161 D 0.4
#17 808.1 162 E 0.5
#17 808.1 163 root None
#17 808.1 164
#17 808.1 165 Now let's compare two trees using the distances computed pairwise between tips
#17 808.1 166 in the trees. The distance computed, by default, is the correlation of all
#17 808.1 167 pairwise tip-to-tip distances between trees:
#17 808.1 168
#17 808.1 169 >>> print(tree1.compare_tip_distances(tree1))  # identity case
#17 808.1 Expected:
#17 808.1     0.0
#17 808.1 Got:
#17 808.1     5.55111512313e-17

This is likely a floating-point number precision issue with the architecture. This PR attempts to fix it. Not sure if it will work because I don't have a local aarch64 environment. The trick is that SciPy has a specific distance metric correlation which equals to 1 - Pearson's r. It can be directly used.
Please complete the following checklist:

[x] I have read the guidelines in CONTRIBUTING.md.

[ ] I have documented all public-facing changes in CHANGELOG.md.

[ ] This pull request includes code, documentation, or other content derived from external source(s). If this is the case, ensure the external source's license is compatible with scikit-bio's license. Include the license in the licenses directory and add a comment in the code giving proper attribution. Ensure any other requirements set forth by the license and/or author are satisfied. It is your responsibility to disclose code, documentation, or other content derived from external source(s). If you have questions about whether something can be included in the project or how to give proper attribution, include those questions in your pull request and a reviewer will assist you.

[x] This pull request does not include code, documentation, or other content derived from external source(s).

Note: REVIEWING.md may also be helpful to see some of the things code reviewers will be verifying when reviewing your pull request.

It worked. Yah! All green now. @wasade

Awesome :) This PR includes the commits for the CacheControl stuff though which I think are still outstanding on resolution?

@wasade Just wanted to see an "all-green" status :) This PR can be on hold until the CacheControl stuff is resolved.

Looks good to me.  @wasade merge?


[🐞] updating a Signal in different functions does not trigger re-render

Which component is affected?
Qwik Runtime
Describe the bug
I have strange behavior that may be a bug. Here is what happens:

I have a Signal const isLoading =  useSignal(false);
The state is modified by multiple functions (wrapped by $(...)) inside a component$(..)
The signal is set to "true" before the start of loading lazily loaded code, which is supposed to bring an element into the DOM.
Then set to false when the reference to that DOM element is in view.
Upon inspection, the Signal updates without problems
However, the rendered page does not reflect that.
This is mainly noticed when the updates to the signal happen in different functions.
[update] actually, in the code example below, updating the signal value doesn't update the UI even if moved to the same function (e.g. onClick - when tried in Qwik's Playground using a fake delay via an await new Promise(..))

Code snippet is below in the reproduction section.
Reproduction
https://stackblitz.com/edit/qwik-starter-mvw12k?file=src%2Fcomponents%2Fstarter%2Frender-issue%2Frender.tsx
Steps to reproduce
import { component$, useSignal, useTask$, $, type Signal } from<EMAIL_ADDRESS>import { type PropFunction, type QwikMouseEvent } from<EMAIL_ADDRESS>
export interface ButtonProps {
  label: string;
  isLoading?: Signal<boolean>;
  onClick$?: PropFunction<(event: QwikMouseEvent<HTMLButtonElement, MouseEvent>) => void>;
}

export function InlineButton(props: ButtonProps) {
  return (
    <button onClick$={props.onClick$}>
      {props?.isLoading?.value ? (
        <> Loading ... </>
      ) : (
        <>{props.label}</>
      )}
    </button>
  );
}

export default component$(() => {
  const isLoading = useSignal(false);
  const counter = useSignal(0);

  useTask$(async ({ track }) => {
    track(() => counter.value);
    await new Promise(resolve => setTimeout(resolve, 2000));
    isLoading.value = false;
    console.log('finish. isLoading?', isLoading.value);
  });

  const onClick = $(async () => {
    counter.value += 1;
    isLoading.value = true;
    console.log('start. isLoading?', isLoading.value);
  });

  return (<>

Hello Qwik

    {/** Both the div below and the button below it do not show the "loading" state. */}

      {(isLoading.value === true) ? (<>isLoading...</>) : (<>Idle</>)}

      <InlineButton label={'NEXT'} onClick$={onClick} isLoading={isLoading} />

  </>);
});

System Info
System:
    OS: macOS 13.2
    CPU: (12) x64 Apple M2 Pro
    Memory: 107.24 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.11.0 - ~/.nvm/versions/node/v18.11.0/bin/node
    npm: 8.19.2 - ~/.nvm/versions/node/v18.11.0/bin/npm
    pnpm: 7.9.0 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 115.0.5790.170
    Safari: 16.3
  npmPackages:
    @builder.io/qwik: ^1.2.6 => 1.2.6
    @builder.io/qwik-city: ^1.2.6 => 1.2.6
    undici: ^5.22.1 => 5.23.0
    vite: ^4.4.0 => 4.4.8

Additional Information
No response

Hi @yasserlens !
Thanks for submitting the issue
This is not actually a bug.
If you think about it, the Task always runs before the render...
So the await with the timer blocks the rendering from happening, until the promise resolves.
If you change the code to be "non blocking" like
useTask$(async ({ track }) => {
    track(() => counter.value);

    new Promise(resolve => setTimeout(resolve, 2000)).then(()=>{
      isLoading.value = false;
        console.log('finish. isLoading?', isLoading.value);
    });

  });

it will work as you expect it to work.
This is from the tasks docs -

Hope this clears things up


get feedback

@lorrainechu3n once I finally add my GitHub stuff tomorrow I'm planning to send the below to the OC. Does this sound okay to you?

Hi folks,
Important action for you all that it would be great to get feedback on asap this week (sorry folks, as we near OpenCon the timelines tend to get shorter...).
Lorraine & I have been collating all the feedback and ideas around the Do-a-thon into a working site. We would love your feedback, and for you to try it out.
I don't want to give too much information up front, as that's not what attendees will get. However, some things to keep in mind:
Copy isn't final, but some of the broad messages are in there, we'd love feedback.
The broad elements of the workflow are mostly locked in. However, we can make tweeks easily and will make more dramatic changes if it looks like they're needed.
If you find site bugs, let us know.
Some links might go no-where... as we say, it's a work in progress.
Currently, any interaction you make with the site won't be seen by conference attendees, but we'd ask you take interaction seriously regardless. It'll be easy to port your interaction over to live system soon.
In terms of style, we consider that broadly done.
What we'd love for you to try and do is:
Submit a problem / challenge or idea that you want discussed at OpenCon
Submit a project you care about
We're planning on releasing the site in stages, with ya'll first, followed by small groups of attendees and then everyone. We'll also be releasing more parts of the site as time goes on, so it's likely that what you see now isn't everything.
In terms of feedback, please direct that to Lorraine & I here: https://github.com/sparcopen/opencon/issues/4. Also, please be critical, the site and workflows here are going to need to stand up to a lot. But... do also let us know what works for you.
That's all you need to know. Please go forth and explore: doathon.opencon2017.org.

Discussed with Lorraine. She's happy with copy & asks. Just need to finish a few to-dos and then this is easy to send.

@JosephMcArthur could we please add a small line in the copy for folks to not share the website link until we officially release? Just because right now i have some example projects pulled from Collaborate and don't want to confuse people it if goes public.

Yes, good point!
On Wed, 18 Oct 2017 at 21:05 Lorraine Chuen<EMAIL_ADDRESS>wrote:

@JosephMcArthur https://github.com/josephmcarthur could we please add a
small line in the copy for folks to not share the website link until we
officially release? Just because right now i have some example projects
pulled from Collaborate and don't want to confuse people it if goes public.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sparcopen/doathon-dev/issues/21#issuecomment-337711937,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuWZ4RbZfBnt7DMVFxJf_j2b6karDO3ks5stloXgaJpZM4P5xrX
.

--
Joseph McArthur
Assistant Director: Right to Research Coalition
http://righttoresearch.org/
Co-Lead/Founder: Open Access Button http://openaccessbutton.org/
Twitter: @Mcarthur_Joe https://twitter.com/Mcarthur_Joe
Skype: joseph_mcarthur


[Feature] Include the cluster information and the corresponding SOCKS5 proxy address in the URL

Pre-check

[X] I am sure that all the content I provide is in English.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Some of our Dubbo projects have to be deployed in two different clusters for certain reasons. To enable mutual calls between these clusters, I want to include the cluster information and the corresponding SOCKS5 proxy address in the URL. This way, when a Dubbo consumer detects a call to a different cluster, it can route the request through the proxy.
Related issues
No response
Are you willing to submit a pull request to fix on your own?

[X] Yes I am willing to submit a pull request on my own!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Are the existing Dubbo routing rules inadequate for your scenario? https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/tasks/traffic-management/  Can you give me an example ？

Are the existing Dubbo routing rules inadequate for your scenario? https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/tasks/traffic-management/ Can you give me an example ？

I believe the existing solution cannot meet my requirements. The services registered with the registry should use intranet addresses within the cluster. This causes network issues when making cross-cluster requests. We need SOCKS5 for forwarding. Currently, Dubbo's NettyClient supports SOCKS5 configuration, but it is global. However, I only want my cross-cluster services to use SOCKS5.

@AlbumenJ


Exam 17 Question 5

Correct Answer : B
https://docs.aws.amazon.com/awssupport/latest/user/security-checks.html#security-groups-specific-ports-unrestricted

Question 5 overlaps with Question 34 of the same test where the correct answer is mentioned.

Agree

Thanks @nmzaheer fixed with https://github.com/kananinirav/AWS-Certified-Cloud-Practitioner-Notes/pull/165 PR


permissions issue

I can only write to folders that have my unix user permission (i.e. /home/myUserName). Writing to folders with root ownership doesn't work even though I run docker with sudo docker run...

The container itself doesn't as root.  Processes inside the container run as the user configured by USER_ID/GROUP_ID environment variables.

Closing this issue.  Please re-open if needed.


Continue adding tests

Description
More tests, primarily focused on the bulk, transactionable, and queryable state store related types.  Found and fixed #22.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #22
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

LGTM


Bug: RecursionError With constrained 0 length lists

Description
When constraining a list to be empty (max_length=0):
from pydantic import BaseModel, Field
from polyfactory.factories.pydantic_factory import ModelFactory
class TestModel(BaseModel):
    empty_list_field: list = Field(default=[], max_length=0)

class TestModelFactory(ModelFactory):
    __model__ = TestModel

TestModelFactory.build()

a recursion error occurs.
The problem seems to be in https://github.com/litestar-org/polyfactory/blob/67c57208de5ce993bdb2c7888864ac4e71964511/polyfactory/value_generators/constrained_collections.py#L49
where a default length of 1 is used if the randomly picked length (always 0) is falsy. @Goldziher do you remember why this default exists?
URL to code causing the issue
No response
MCVE
from pydantic import BaseModel, Field
from polyfactory.factories.pydantic_factory import ModelFactory
class TestModel(BaseModel):
    empty_list_field: list = Field(default=[], max_length=0)

class TestModelFactory(ModelFactory):
    __model__ = TestModel

TestModelFactory.build()

Steps to reproduce
1. Install polyfactory & pydantic (v2)
2. Run example code

Screenshots
No response
Logs
No response
Release Version
v2.16.2
Platform

[x] Linux
[x] Mac
[x] Windows
[ ] Other (Please specify in the description above)

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

@tom300z thanks for reporting this! I checked, and I couldn't really see a good reason to have it default to 1. Some of the tests check that the length of the collection from handle_constrained_collection is greater than 0, but I think that's incorrect. It should be checking that the length is greater than or equal to 0. If I make that change, the tests are all passing as well. So I think it should be fine to not default to 1 even if the random length we get is 0.


[Pages] limit update

https://github.com/cloudflare/cloudflare-docs/pull/3333

Thanks for taking care of this Kate!


Remove implementation specific function name of EventDispatcher

Some of the member functions of EventDispatcher are implementation specific, for example AddEpollOut.
We need to change that specific function name and adopt more general name then we can easily support brpc to more platforms.

这里只需改变AddEpollOut 和 RemoveEpollOut 两个函数即可,
AddEpollOut => AddMultiplex
RemoveEpollOut => RemoveMultiplex
这样是否是一个合适的做法呢?

Please review this pr as well @zyearn


OpenGL Calls

Hello!
I have a question related to the internal calls of OpenGL in GearVRF. Is there any way I can directly use OpenGL ES API in the GearVRF (except overwriting predefined functions) ?

It is possible.  You'll need to set up a drawFrameListener.  You'll need to also save and restore any opengl state that you set, including framebuffer binding.  Keep in mind that you may be modifying any opengl state we may be using as well.

Thank you for your prompt response!


No red wavy underlines (squiggly lines) for error generating/gibberish code.

Environment data
dotnet --info output:

VS Code version: 1.14.2
C# Extension version: 1.11.0
Steps to reproduce
Open C# file in Unity3D with VS Code
Expected  behavior
Errors are detected and show red squiggles/wavy underline
Actual behavior
Gibberish code is interpreted as normal and does not notify you of an error.

Omnisharp Log Output
Starting OmniSharp server at 2017-08-06, 8:39:01 PM
    Target: c:\Users\Antoine\Documents\Unity Projects\The Deep\The Deep-csharp.sln

OmniSharp server started
    Path: C:\Users\Antoine\.vscode\extensions\ms-vscode.csharp-1.11.0\bin\omnisharp\OmniSharp.exe
    PID: 197284

OmniSharp: -s c:\Users\Antoine\Documents\Unity Projects\The Deep\The Deep-csharp.sln --hostPID 194180 --stdio DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4
[info]: OmniSharp.Startup
        Omnisharp server running using Stdio at location 'c:\Users\Antoine\Documents\Unity Projects\The Deep' on host 194180.
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in c:\Users\Antoine\Documents\Unity Projects\The Deep
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        MSBuild will use local Visual Studio installation.
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        Detecting projects in 'c:\Users\Antoine\Documents\Unity Projects\The Deep\The Deep-csharp.sln'.
[fail]: OmniSharp.Startup
        The project system 'OmniSharp.MSBuild.MSBuildProjectSystem' threw exception during initialization.
System.ArgumentException: "parenthesizedName" must be a non-null and non-empty string.
   à OmniSharp.MSBuild.SolutionParsing.SectionBlock..ctor(String type, String parenthesizedName, String value, ReadOnlyCollection`1 keyValuePairs)
   à OmniSharp.MSBuild.SolutionParsing.SectionBlock.Parse(TextReader reader)
   à OmniSharp.MSBuild.SolutionParsing.SolutionFile.ParseGlobal(TextReader reader)
   à OmniSharp.MSBuild.SolutionParsing.SolutionFile.Parse(TextReader reader)
   à OmniSharp.MSBuild.SolutionParsing.SolutionFile.Parse(String solutionFileName)
   à OmniSharp.MSBuild.MSBuildProjectSystem.GetProjectPathsFromSolution(String solutionFilePath)
   à OmniSharp.MSBuild.MSBuildProjectSystem.Initalize(IConfiguration configuration)
   à OmniSharp.Startup.InitializeWorkspace(OmniSharpWorkspace workspace, CompositionHost compositionHost, IConfiguration configuration, ILogger logger, OmniSharpOptions options)
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in 'c:\Users\Antoine\Documents\Unity Projects\The Deep'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.Startup
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.Startup
        Configuration finished.

Extensions used

I've already tried reinstalling VS Code, the C# extension and every other extension by itself after. I cannot get errors to be reported and I've googled for hours to no avail. Hopefully I'm posting this in the right place.

Hi! Thanks for reporting this issue. Could you share the content of the c:\Users\Antoine\Documents\Unity Projects\The Deep\The Deep-csharp.sln file?

Microsoft Visual Studio Solution File, Format Version 11.00
Visual Studio 2008
Project("{6047D3CE-DFF5-F069-3D1C-FDA0F6C01AC4}") = "The Deep", "Assembly-CSharp-firstpass-vs.csproj", "{A76A5766-4AE0-65BD-01D4-20AA44EA5D16}"
EndProject
Project("{6047D3CE-DFF5-F069-3D1C-FDA0F6C01AC4}") = "The Deep", "Assembly-CSharp-vs.csproj", "{E6E16ADF-8415-DD75-A4F7-4AC3655E1DE7}"
EndProject
Project("{6047D3CE-DFF5-F069-3D1C-FDA0F6C01AC4}") = "The Deep", "Assembly-CSharp-Editor-vs.csproj", "{9ADD63FB-E635-F11E-1D10-9B2BF9FCD85C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A76A5766-4AE0-65BD-01D4-20AA44EA5D16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A76A5766-4AE0-65BD-01D4-20AA44EA5D16}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A76A5766-4AE0-65BD-01D4-20AA44EA5D16}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A76A5766-4AE0-65BD-01D4-20AA44EA5D16}.Release|Any CPU.Build.0 = Release|Any CPU
{E6E16ADF-8415-DD75-A4F7-4AC3655E1DE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E6E16ADF-8415-DD75-A4F7-4AC3655E1DE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E6E16ADF-8415-DD75-A4F7-4AC3655E1DE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E6E16ADF-8415-DD75-A4F7-4AC3655E1DE7}.Release|Any CPU.Build.0 = Release|Any CPU
{9ADD63FB-E635-F11E-1D10-9B2BF9FCD85C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9ADD63FB-E635-F11E-1D10-9B2BF9FCD85C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9ADD63FB-E635-F11E-1D10-9B2BF9FCD85C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9ADD63FB-E635-F11E-1D10-9B2BF9FCD85C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
Policies = $0
$0.TextStylePolicy = $1
$1.inheritsSet = null
$1.scope = text/x-csharp
$0.CSharpFormattingPolicy = $2
$2.inheritsSet = Mono
$2.inheritsScope = text/x-csharp
$2.scope = text/x-csharp
$0.TextStylePolicy = $3
$3.FileWidth = 120
$3.TabWidth = 4
$3.EolMarker = Unix
$3.inheritsSet = Mono
$3.inheritsScope = text/plain
$3.scope = text/plain
EndGlobalSection
EndGlobal

It looks to me like there's an extra EndGlobalSection after the line that reads HideSolutionNode = FALSE causing the solution file to be invalid (maybe a source control mismerge?). Try deleting that extra EndGlobalSection and the blank line the follows it so that the HideSolutionNode and StartupItem are next to each other.

Tried that, restarted VS Code and nothing seems to have changed in the log or the missing errors.

Hmmm... OK. The call stack of the exception definitely looks like something wrong in one of the GlobalSection headers.
Another idea: Try downloading and install the latest 1.12 beta. We've made a lot of changes in this particular area to be a bit more resilient. You can follow the instructions at here to install the beta.

Thank you for the quick answers I'll keep you updated.

No problem. If that doesn't work, would it be possible to share your project? A could take a look at it tomorrow.

Good news! Thanks again for your time and patience.

Excellent! Is that with the beta?

I'm going to go ahead and close this since it looks like you have it working.

Same error, no underline for c# errors... Could you help?

@TheBanker1710 Sorry you are having issues. Can you open a new issue and provide the requested logs and information? You scenario may not be the same as the one from this issue.

a

This is the process which helped me to appear the squiggles in Visual Studio 2017 professional again:

I deinstalled Visual Studio 2017 & and 2019 Professional
-I deleted all folder in my case under harddrive c -> visual studio
I installed CCleaner and cleaned the harddisk & registry
Reinstall Visual Studio 2017 pro
Open Visual Studio 2017 pro.
Go to Tools -> Import & Export Settings -> Reset all settings -> and choose C# or C++

In Visual Studio 2019 pro, it still doesnt work for me.

I found this to be a bug, when you open vscode from Unity (double click on the script component - provided you have set your unity preferences) the red underline does not appear at this point, i.e. no realistic spelling errors can be made. When you open vscode from the desktop or another shortcut and go to the same cs file, the red underline will appear. In summary, do not open vscode from unity, open it from a desktop shortcut or open the cs file directly from the project folder of your project

I found this to be a bug, when you open vscode from Unity (double click on the script component - provided you have set your unity preferences) the red underline does not appear. no spelling errors can be made. When you open vscode from the desktop or another shortcut and go to the same cs file, the red underline will appear. In summary, do not open vscode from unity, open it from a desktop shortcut or open the cs file directly from the project folder of your project


Added pre-commit hook for reorder-python-imports.

Tool for automatically reordering python imports. Similar to isort but uses static analysis more.
From https://github.com/asottile/reorder_python_imports

why this style?
The style chosen by reorder-python-imports has a single aim: reduce merge conflicts.
By having a single import per line, multiple contributors can add / remove imports from a single module without resulting in a conflict.

Sorry, I'm not a fan. This PR adds a huge number of lines, and would take a significant time to review. Don't think the style is that useful, and a commit hook for this sounds overkill.
The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!

It passes all tests. It improves code quality and makes future merges easier.

I’m not a fan of the style either. It really doesn’t make merging easier. I don’t remember the last time I had a merge conflict because of import lines.


proposition: introduce scala dsl

The current deadbolt scala api feels very java-like. however it should be trivially easy to add a lightweight scala dsl for permission building to create a better api.
Instead of:
// subject must have the "foo" AND "bar" roles
def restrictedFunctionB = actionBuilder.RestrictAction("foo", "bar").defaultHandler() { Ok(accessOk()) }

// subject must have the "foo" OR "bar" roles
def restrictedFunctionC = actionBuilder.RestrictAction(List(Array("foo"), Array("bar"))).defaultHandler() { Ok(accessOk()) }

The API could look like this (even without changing the current api, by adding some dsl builders:
// Foo and Bar are types / enums / case classes ... or just stay string, both would work
// subject must have the "foo" AND "bar" roles
def restrictedFunctionB = RestrictAction(Foo and Bar) { Ok(accessOk()) }

// subject must have the "foo" OR "bar" roles
def restrictedFunctionC = RestrictAction(Foo or Bar) { Ok(accessOk()) }

A very valid criticism, and a very interesting idea.


fix: shut dowm operator when failing to start

fix: start timer as daemon to avoid prolonging the app's life
fix: exit operator on exception when starting

Wondering if we could make an integration test for this.


refactor: clean up whiskers templates & justfile

Simplifies the justfile by using a single task (with a shebang to avoid the multiline \), cleans up the light/dark logic on the CSS selector in one of the Whiskers templates, removes extra boilerplant and newlines in the other.

Glad to hear it - that build script does take forever. I've pushed a commit now that separates the build into whiskers and build tasks, and I've aliased the whiskers one to dev for you!


Python Support?

I'm wondering if this plugin support Python functions or not, because it's seems not working in my project (Python based)

Ok, it works but I think the log for the function is not working, I'll figure out how I can solve it

@alhazmy13 can you please share your serverless.yaml file?  I cannot seem to figure out how to call Python lambdas with this plugin's config.
If I do
custom:
  dynamodbStream:
    host: localhost
    port: 8000
    region: us-east-2
    pollForever: boolean
    streams:
      - table: roomTable
        functions:
          - readstream

with handler as a function in stream.py:
functions:
  readstream:
    handler: stream.handler
    environment:
      foo: bar
    events:
      - stream:
          enabled: true
          type: dynamodb
          batchSize: 1
          startingPosition: LATEST
          arn:
            Fn::GetAtt: [roomTable, StreamArn]

I get this error:
DynamoDBStreamReadable error... terminating stream... Error => Error: Cannot find module '/home/fn/serverless-dev/stream'

  Error --------------------------------------------------

  Error: Cannot find module '/home/fn/serverless-dev/stream'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
      at Function.resolve (internal/modules/cjs/helpers.js:33:19)
[...]

If I change the custom section to say instead
    streams:
      - table: roomTable
        functions:
          - stream.handler

I get this exception:
DynamoDBStreamReadable error... terminating stream... Error => TypeError: Cannot read property 'environment' of undefined

  Type Error ---------------------------------------------

  TypeError: Cannot read property 'environment' of undefined
      at createHandler (/home/fn/serverless-dev/node_modules/serverless-plugin-offline-dynamodb-stream/src/executeFunctions.js:17:51)
      at Promise.all.map (/home/fn/serverless-dev/node_modules/serverless-plugin-offline-dynamodb-stream/src/executeFunctions.js:45:23)

@fariedt any updates or follow-ups on this? I got same error when i try to use serverless-plugin-offline-dynamodb-stream and python offline lambda function.

Hi @vlade11115 after too many tests, I found this plugin is not working at all with Python even if there's no error, the invocation is not happening at all

Similar problem here: I'm trying to run Python function on new events in DynamoDB, execution triggers the following exception:
  Error: Cannot find module '/home/mcopik/project/aws/writer'
  Require stack:
  - /home/mcopik/project/node_modules/serverless-plugin-offline-dynamodb-stream/src/executeFunctions.js
  - /home/mcopik/project/node_modules/serverless-plugin-offline-dynamodb-stream/src/FunctionExecutable.js
  - /home/mcopik/project/node_modules/serverless-plugin-offline-dynamodb-stream/src/index.js
  - /home/mcopik/project/node_modules/serverless/lib/classes/PluginManager.js
  - /home/mcopik/project/node_modules/serverless/lib/Serverless.js
  - /home/mcopik/project/python-venv/lib/node_modules/serverless/lib/Serverless.js
  - /home/mcopik/project/python-venv/lib/node_modules/serverless/scripts/serverless.js
  - /home/mcopik/project/python-venv/lib/node_modules/serverless/bin/serverless.js

The configuration looks like this:
custom:
  serverless-offline:
    host: <IP_ADDRESS>
    port: 4000
    dontPrintOutput: false
  dynamodb:
    start:
      port: 8000
      migrate: true
      noStart: false
    stages:
      - ${self:provider.stage}
  dynamodbStream:
    host: localhost
    port: 8000
    region: localhost
    streams:
      - table: ${self:provider.environment.DYNAMODB_TABLE}-write-queue
        functions:
          - writer

functions:
  writer:
    handler: aws/writer.handler

However, looking at the source code I can find only support for Node.js modules?

Similar problem here: I'm trying to run Python function on new events in DynamoDB, execution triggers the following exception:
  Error: Cannot find module '/home/mcopik/project/aws/writer'
  Require stack:
  - /home/mcopik/project/node_modules/serverless-plugin-offline-dynamodb-stream/src/executeFunctions.js
  - /home/mcopik/project/node_modules/serverless-plugin-offline-dynamodb-stream/src/FunctionExecutable.js
  - /home/mcopik/project/node_modules/serverless-plugin-offline-dynamodb-stream/src/index.js
  - /home/mcopik/project/node_modules/serverless/lib/classes/PluginManager.js
  - /home/mcopik/project/node_modules/serverless/lib/Serverless.js
  - /home/mcopik/project/python-venv/lib/node_modules/serverless/lib/Serverless.js
  - /home/mcopik/project/python-venv/lib/node_modules/serverless/scripts/serverless.js
  - /home/mcopik/project/python-venv/lib/node_modules/serverless/bin/serverless.js

The configuration looks like this:
custom:
  serverless-offline:
    host: <IP_ADDRESS>
    port: 4000
    dontPrintOutput: false
  dynamodb:
    start:
      port: 8000
      migrate: true
      noStart: false
    stages:
      - ${self:provider.stage}
  dynamodbStream:
    host: localhost
    port: 8000
    region: localhost
    streams:
      - table: ${self:provider.environment.DYNAMODB_TABLE}-write-queue
        functions:
          - writer

functions:
  writer:
    handler: aws/writer.handler

However, looking at the source code I can find only support for Node.js modules?

not working with python as in january 2021!

not working with python as in january 2021!


How to uninstall a package created by xdeb?

Is this done manually by going from folder to folder, while using xlocate as a guide?

You can use xbps-remove -R <package-name>


Installation documentation

Is your feature request related to a problem? Please describe.
There are no installation instructions anywhere in the documentation that I can find.
Describe the solution you'd like
Create installation instructions for users to follow.

All documentation is in the /docs folder .. for installation or usage it's down to the operating or deployment model (either as a static pod or a daemonset)
Docs are -> https://github.com/plunder-app/kube-vip/tree/master/docs/hybrid


Another Module Not Found Error

I am trying to use the library on a Raspberry Pi and I am getting the Module Not Found error on ”from alpha_vantage.timeseries import TimeSeries”.
I did an install of the release and also the development alpha_vantage package downloaded from github on a Pi 4 running Raspbian v10 (Buster) and kernel 4.19.75. My Python version is 3.7.3 and pip version is 19.3.1. The library installs and builds without warnings or errors - console output follows. I am using a python virtual environment.
All I’m trying to do is use the python shell interpreter to import the module. It fails with “Module Not Found.” Executing a dir(alpha_vantage) on the module indicates that it is not exporting “.timeseries”. running a small demo app which I have named alphav.py also fails.  I have looked at all of the other similar github issues but did not find a solution.   Can you help?
Path:
(env) pi@magic-mirror:~ $ echo $PATH
/home/pi/env/bin:/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
Versions:
(env) pi@magic-mirror:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
(env) pi@magic-mirror:~ $ uname -a
Linux magic-mirror 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
Lib install:
(env) pi@magic-mirror:~ $ git clone https://github.com/RomelTorres/alpha_vantage.git
Cloning into 'alpha_vantage'...
remote: Enumerating objects: 1560, done.
remote: Total 1560 (delta 0), reused 0 (delta 0), pack-reused 1560
Receiving objects: 100% (1560/1560), 923.40 KiB | 1.68 MiB/s, done.
Resolving deltas: 100% (902/902), done.
(env) pi@magic-mirror:~ $ pip -V
pip 19.3.1 from /home/pi/env/lib/python3.7/site-packages/pip (python 3.7)
(env) pi@magic-mirror:~ $ pip install -e alpha_vantage
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Obtaining file:///home/pi/alpha_vantage
Requirement already satisfied: requests in ./env/lib/python3.7/site-packages (from alpha-vantage==2.1.2) (2.22.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./env/lib/python3.7/site-packages (from requests->alpha-vantage==2.1.2) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in ./env/lib/python3.7/site-packages (from requests->alpha-vantage==2.1.2) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in ./env/lib/python3.7/site-packages (from requests->alpha-vantage==2.1.2) (2019.9.11)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./env/lib/python3.7/site-packages (from requests->alpha-vantage==2.1.2) (1.25.6)
Installing collected packages: alpha-vantage
Running setup.py develop for alpha-vantage
Successfully installed alpha-vantage
Run in Python interactive shell:
(env) pi@magic-mirror:~ $ python
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import alpha_vantage
dir(alpha_vantage)
['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec']
from alpha_vantage.timeseries import TimeSeries
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'alpha_vantage.timeseries'

Demo app, contents of alphav.py:
(env) pi@magic-mirror:~ $ cat alphav.py
from alpha_vantage.timeseries import TimeSeries
key = (KEY REMOVED)
ts = TimeSeries(key)
amzn, meta = ts.get_daily(symbol='AMZN')
print(amzn['2019-11-10'])
Running app causes same failure:
(env) pi@magic-mirror:~ $ python alphav.py
Traceback (most recent call last):
File "alphav.py", line 1, in
from alpha_vantage.timeseries import TimeSeries
ModuleNotFoundError: No module named 'alpha_vantage.timeseries'
(env) pi@magic-mirror:~ $
Thanks for any help you can offer.
Mark

Could you ask this question on StackOverflow or another forum? I'm curious about the answer as well, but it's not really an issue with the repo here.

Yes, I can, and please excuse my ignorance, but why is it not an issue with the contents of the repo?

All good! Not ignorance, you're learning. Questions are great. And actually... now that you mention it, it could be an issue with the repo, but it's more likely something to do with your setup... I'm not too familiar with raspberry pi.
I'm sure on StackOverflow you'll get a better answer. Do you mind posting the link here when you ask it?

I did a little more work on it and there appears to be something wrong with “pip install -e alpha_advantage” (from the repo Readme.md). If I run my test from the alpha_vantage directory I can import timeseries and it works. Running it from anywhere else cause it to fail so it appears that it is not installing correctly. Pip thinks it is installed correctly but...
I tried the same process using a different Linux box (a Synology server) running python 3.5, with the same result. I am going to look a bit more into pip and if I can’t solve it myself I’ll post a question on stackoverflow. Thanks for your help.

Great, keep us posted?
Just another thought, it might have something to do with how your virtual environment is set up.

You are probably right, as the library is there, but Python can't seem to find it. I'll let you know when I solve it, or failing that, when I post to Stackoverflow.

Solved.
Pip was inadvertently installing the library into the wrong version of the Python interpreter. I found an existing discussion on this topic here: https://stackoverflow.com/questions/32680081/importerror-after-successful-pip-installation/34797844.
I found another discussion about how permissions can cause similar issues here:
https://stackoverflow.com/questions/14295680/unable-to-import-a-module-that-is-definitely-installed/37955665
All working fine now. Thanks for pointing me in the right direction.

Love it! Thanks for the information! Glad it's working for you now


fix bugs in bootstrap process

h2c to use http2 without TLS
missing SessionID and NodeID in peer streaming requests
initialize peer source
strip http:// from host address in grpc call

tested node replacement operation locally with controller and 3 initial data nodes

Codecov Report

Merging #238 into master will increase coverage by <.01%.
The diff coverage is 59.45%.

@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
+ Coverage   69.47%   69.47%   +<.01%
==========================================
  Files         159      159
  Lines       21197    21217      +20
==========================================
+ Hits        14727    14741      +14
- Misses       5345     5352       +7
+ Partials     1125     1124       -1

Impacted Files
Coverage Δ

datanode/bootstrap.go
0% <0%> (ø)
:arrow_up:

datanode/datanode.go
0% <0%> (ø)
:arrow_up:

utils/http.go
62.5% <0%> (ø)
:arrow_up:

datanode/peer_source.go
50% <40%> (-5%)
:arrow_down:

memstore/bootstrap.go
67.83% <90.9%> (+0.77%)
:arrow_up:

memstore/cuckoo_index.go
91.27% <0%> (+1%)
:arrow_up:

memstore/backfill_manager.go
92.07% <0%> (+4.95%)
:arrow_up:

Continue to review full report at Codecov.

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


Add new Mendix Native Mobile Builder release notes

Actual version will be known when the release pipeline succeeds.

This will be published around Monday.


[Bug]: Mapbox error StyleSource.removeFromMap

Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS, Android
@rnmapbox/maps version
10.0.15
Standalone component to reproduce
import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
        <ShapeSource id="idStreetLayer" shape={aLine}>
          <LineLayer id="idStreetLayer" />
        </ShapeSource>
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce
When changing the styleUrl when I have active layers/sources, mapbox throws the error:
 ERROR  Mapbox error StyleSource.removeFromMap id: twcRadar Source 'twcRadar' is in use, cannot remove {"level": "error", "message": "StyleSource.removeFromMap id: twcRadar Source 'twcRadar' is in use, cannot remove"}

Expected behavior
The layer persists and doesn't throw an error
Notes / preliminary analysis
No response
Additional links and references
No response

Will try latest beta!

Still there, not really sure how to give a repro as im using a private source with api key,
but all im doing is rendering this inside the map view
   <RasterSource
        id="twcRadar"
        tileSize={256}
        tileUrlTemplates={[
          `https://api.weather.com/v3/TileServer/tile/radarEurope?ts=<a-unix-timestamp>&xyz={x}:{y}:{z}&apiKey=<my-api-key>`,
        ]}
      />
      <RasterLayer sourceID="twcRadar" id="radar" style={{ rasterOpacity: 0.4 }} />

Find a raster layer source on the internet the doesn't require password like bellow, and also add a switch, so it changes styleUrl. And verify that you can reproduce the issue on the example you're posting.
import React from 'react';
import {
  Images,
  MapView,
  RasterLayer,
  RasterSource,
  Camera,
} from '@rnmapbox/maps';

const styles = {
  matchParent: { flex: 1 },
};

export default function RasterSourceExample() {
  return (
    <MapView style={styles.matchParent}>
      <Camera
        defaultSettings={{
          centerCoordinate: [-74.00597, 40.71427],
          zoomLevel: 14,
        }}
      />
      <RasterSource
        id="stamen-watercolor"
        titleSize={256}
        tileUrlTemplates={['https://tile.openstreetmap.org/{z}/{x}/{y}.png']}
      />
      <RasterLayer
        id="stamen-watercolor-layer"
        sourceID="stamen-watercolor"
        style={{ rasterOpacity: 0.85 }}
      />
    </MapView>
  );
}

@mfazekas, isn't it possible to just remove or add layers explicitly? I am also getting a similar error when a layer is not present anymore on my map:  ERROR  Mapbox [error] RNMBXMapView | Map load failed: {type=source, message=Source route-source is not in style, begin=4988175947546}


Instantiate choices when select field added dynamically

I'm using Choices for select fields on a form and when one field is changed I do an AJAX request to the server and the server sends back another select field to add to the form. I need that field to be instantiated as a Choices select.
I'm instantiating my original fields with:
const items = document.querySelectorAll('.js-choice');
items.forEach((item) => new Choices(item));
but when I try to add something like that to my AJAX code it complains that Choices isn't defined and it won't let me import it again because I'm not calling from a js module.
Is there a way to watch for new .js-choice elements and instantiate automatically?
Also posted to StackOverflow

You would need to update your AJAX code to setup the choices object after adding the field.


feat: upgrade helm charts to support k8s 1.25 api

k8s 1.25 removes api versions of some objects, the changes included here are intended to get the platform chart to support version 1.25.
Upgraded the following charts:

clusterAutoscaler
cortex
grafana
loki
prometheusBlackboxExporter
sentry
linkerd

Special note on linkerd: the helm chart "linkerd2" was deprecated by the maintainers and replaced with two separate charts "linkerd-crds" and "linkerd-control-plane". The changes here implement the two new charts. The "linkerd" application in the values was repurposed to configure the "linkerd-control-plane" helm chart to maintain backwards compatibility with old values files without requiring a change.
BREAKING CHANGE: application major version upgrades, field changes

also note, some of the resources were renamed in the loki chart. this will break dashboards. I intend to fix the dashboards after the chart goes live in one of our clusters so that I can test the dashboard changes before pushing them.

:tada: This PR is included in version 2.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Set Files as default File explorer

Any ways, it's real?

@dinrise You can follow the instructions in this link, but it's not recommended. https://github.com/files-community/Files/wiki/Replacing-File-Explorer-with-Files-(Unsupported).


Autoconnect Failed Between Teensy 4.1 and ROS2 Foxy

I am using Intel NUC with Ubuntu 20.04 ROS2 Foxy connected with Teensy 4.1 running code from this repo.
I have modified the code so it could run in Arduino IDE and adjust the components code (my IMU and BLDC driver is not supported yet by linorobot2). I got  re-connection issues when running the agent. Most of the time I need to re-upload the code to the Teensy when the agent is running.
Comparing the loop in this repo and the loop inside micro-ROS re-connection example, I added delay (around 100-500 ms) at the end of the loop and solved the re-connection issues. At the end I could go as low as 10-20 ms delay. Is there any other solution for this problem since I do not think adding delay is a good solution in terms of the robot responses.

the image above shows the agent terminal output when running the agent (The Teensy is always connected to the NUC). the topic that should be published by the Teensy sometimes appears when I run the "ros2 topic list" command but nothing published.

the image above shows the agent terminal output after re-uploading the agent. After this shows up, everything run as it should be.
Thank you

+1

Hi, are you able to get the same results when using fake imu? (See more here) Just to make sure, it’s not related to hardware

Hi, I have not tried that yet, but I have tried make the code consist of the cmd_vel subscribers only. It does not publishing any IMU or odom data. I do not even create the executor and publisher of them. I got exactly the same result.
I thought the cause of the problem is your line of code here
https://github.com/linorobot/linorobot2_hardware/blob/e80af875113f80bcd52b608e194d96836ac3d9c8/firmware/src/firmware.ino#L132
Due to the Teensy 4.1 high clock, I though the spin some node is not finish executed yet or has not reach the 10ms timeout but already called and cause some bugs?
I have checked the newest micro-ROS repo for the auto reconnect example. They are not using the same loop frame as you are using in your current code.
As a supporting argument of  my suspicion, I modify you loop structure so that the spin some function is called at least 10ms after the last call done. It solved the problem. The old micro-ROS example also use some small delays to make sure those function are called at least after several seconds after previous call.
https://github.com/micro-ROS/micro_ros_arduino/blob/4998c25f0fb502380ac6a7438daba1ff9c0c9771/examples/micro-ros_reconnection_example/micro-ros_reconnection_example.ino#L108

Hi, are you able to get the same results when using fake imu? (See more here) Just to make sure, it’s not related to hardware

I have been tried to use the FAKE IMU, the result still the same (the "ros2 topic list" command but nothing published.).

Hi, I have not tried that yet, but I have tried make the code consist of the cmd_vel subscribers only. It does not publishing any IMU or odom data. I do not even create the executor and publisher of them. I got exactly the same result.

I thought the cause of the problem is your line of code here

https://github.com/linorobot/linorobot2_hardware/blob/e80af875113f80bcd52b608e194d96836ac3d9c8/firmware/src/firmware.ino#L132

Due to the Teensy 4.1 high clock, I though the spin some node is not finish executed yet or has not reach the 10ms timeout but already called and cause some bugs?

I have checked the newest micro-ROS repo for the auto reconnect example. They are not using the same loop frame as you are using in your current code.

As a supporting argument of my suspicion, I modify you loop structure so that the spin some function is called at least 10ms after the last call done. It solved the problem. The old micro-ROS example also use some small delays to make sure those function are called at least after several seconds after previous call.

https://github.com/micro-ROS/micro_ros_arduino/blob/4998c25f0fb502380ac6a7438daba1ff9c0c9771/examples/micro-ros_reconnection_example/micro-ros_reconnection_example.ino#L108

I also have been tried to add the "rclc_executor_spin_some(&executor, RCL_MS_TO_NS(10));", unfortunately, I have no luck.

Hi, try to run those command every 10-20ms using the millis() function

Hi michael
please make sure the IMU is working properly.
and make sure that the magnetometer working.
in my case, because the case from metal, the localization seems bit error
while running navigation.
and sometimes need several restart to make the IMU working.
and one thing, idk is it necessary there in linorobot 2, in linorobot 1 you
need to calibrate the imu first before using it.
hope helpfull
On Tue, May 31, 2022 at 6:30 PM Akkharaphong EKSIRI <
@.***> wrote:

Hi, I have not tried that yet, but I have tried make the code consist of
the cmd_vel subscribers only. It does not publishing any IMU or odom data.
I do not even create the executor and publisher of them. I got exactly the
same result.
I thought the cause of the problem is your line of code here
https://github.com/linorobot/linorobot2_hardware/blob/e80af875113f80bcd52b608e194d96836ac3d9c8/firmware/src/firmware.ino#L132
Due to the Teensy 4.1 high clock, I though the spin some node is not
finish executed yet or has not reach the 10ms timeout but already called
and cause some bugs?
I have checked the newest micro-ROS repo for the auto reconnect example.
They are not using the same loop frame as you are using in your current
code.
As a supporting argument of my suspicion, I modify you loop structure so
that the spin some function is called at least 10ms after the last call
done. It solved the problem. The old micro-ROS example also use some small
delays to make sure those function are called at least after several
seconds after previous call.
https://github.com/micro-ROS/micro_ros_arduino/blob/4998c25f0fb502380ac6a7438daba1ff9c0c9771/examples/micro-ros_reconnection_example/micro-ros_reconnection_example.ino#L108
I also have been tried to add the "rclc_executor_spin_some(&executor,
RCL_MS_TO_NS(10));", unfortunately, I have no luck.
—
Reply to this email directly, view it on GitHub
https://github.com/linorobot/linorobot2_hardware/issues/9#issuecomment-1142011768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQKBDOPZPSLJAQZZL3H3USLVMXZ3RANCNFSM5W3M466A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi, I have tried and make sure that my IMU is working. I am using BNO080 IMU, the calibration process already done outside ROS. I think it only use mainly gyroscope to calculate the changes in headings ?

Hey @mich1342 . I can't seem to replicate your reconnection problem. Btw the firmware may take a few seconds to reconnect as mentioned here https://github.com/micro-ROS/micro_ros_arduino/issues/659#issuecomment-1000086435 . Could it be you're reuploading the firmware too soon? Meanwhile I'll try to continue replicating the error.

hey @aeksiri . Can you confirm you have the latest version of the following:

Latest ROS packages (sudo apt update && sudo apt upgrade)
Latest microrosarduino library (on linorobot2_hardware/firmware) run: pio lib update
Latest microROS agent: cd <your_ws>/src/uros/micro-ROS-Agent && git pull and follow these instructions. Don't forget to builld and source your workspace.

hey @mich1342. Updated the main loop to sync with microROS reconnection examples. Does that work for your too?

Hi @grassjelly sorry for the late update. It works perfectly. One of my biggest problem is my Inverter. Everything works perfectly after removing the inverter. Thank you


[Feature] Sticky Navigation Bar:

Description
Similar to fixed, but becomes visible only after the user scrolls down a certain distance.
Maximizes screen real estate when not in use.
Screenshots
https://github.com/Rakesh9100/Beautiify/assets/142514166/9b28d739-8055-454d-8ba3-ad4845dafa9f
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

i get what u want assign it to me

Go ahead @AbhineshJha


Defunct entry detected

This one:
[Delphi] [FPC] Several cipher algorithms: the 128-bit block ciphers AES and Twofish, the 64-bit block cipher Blowfish, and the stream ciphers Salsa20/XSalsa20/ChaCha and Sosemanuk.
contains a link to here:
https://www.wolfgang-ehrhardt.de/
But since the author died a while ago somebody else took over the domain and the original content is no longer there.

Thanks, I'll remove these links

@MHumm
Everything from his site is available here:
https://github.com/chadilukito/www.wolfgang-ehrhardt.de

Last capture at waybackmachine
https://web.archive.org/web/20190731114053/http://www.wolfgang-ehrhardt.de:80/


Question about content of table2

Impressive work!
But I am a confused why in Table2 llava and shikera are deemed as no zero-shot ability models? Thank you.

thanks, we consider them as non-zero-shot because they were trained with referring or grounding annotations, e.g., refcoco, flickr30, visual genome, etc.


Fairness evaluation

Here are some thoughts concerning fairness evaluation:
Protected attributes
Extraction: As methodologies may implement pre-, in- or post-processing to enhance algorithmic fairness, I think we need to extract sensitive attributes at the level of task extraction, not only at evaluation.
Definition: Sensitive attributes may differ across datasets (for instance, ethnicity changes for a patient at different visits in the MIMIC dataset; Canada and France do not record ethnicity; and different datasets may present different levels of granularity). As an initial step, we could focus on age and sex.
Save: Attributes could be saved in the target file and extracted at the same time. Alternatively, we could gather them in a separate file, following a different script.
Metrics
We can distinguish three fairness definitions:
Group fairness:  A model is fair if performance is equal across groups defined by protected attributes.
Causal fairness: A model is fair if the prediction remains unchanged if membership changes.
Individual fairness: A model is fair if similar individuals are treated similarly.
We need the causal graph to estimate causal fairness and a meaningful distance for individual fairness. I think, as a first step, group fairness is the simplest to implement (and is widely used in medical ML). So, we could stratify performance per identified protected groups and compute the difference as a measure of fairness.
Let me know what you think!

Adding @kamilest

Following our conversation, we could start with the following fairness metrics for binary tasks:

Group specific AUC (just stratifying given the different groups)
Demographic parity: measure if the expected rate are the same across groups
Equalized Odds: same but conditional on outcome


Import open names

Might be useful to use as a gazeteer?
https://www.ordnancesurvey.co.uk/business-and-government/products/os-open-names.html
Would need to convert easting/northing to lat,lng

Actually this looks more promising: http://geoportal.statistics.gov.uk/datasets/a6c138d17ac54532b0ca8ee693922f10_0

Import to elasticsearch: e8b77ea5766f0b242334b29dc1e3265f8d94f3f3

Now implemented: https://findthatpostcode.uk/places/IPN0069702.html


Fixing typings (again 🤷🏼♂) + test for them

Fixing two small misspellings + added GitHub action to prevent that in the future.
There is a bigger problem however - Choices constructor is little hacky and can return one instance of Choices (like any normal class), or array of Choices (if created with string parameter) or even undefined (if created with unsupported parameter). As far I know, it's impossible to describe that in TypeScript, but I've added a small hack to at least allow it to use today.

There is a bigger problem however - Choices constructor is little hacky and can return one instance of Choices (like any normal class), or array of Choices (if created with string parameter) or even undefined (if created with unsupported parameter). As far I know, it's impossible to describe that in TypeScript, but I've added a small hack to at least allow it to use today.

Yeah agreed, not my best decision! Will have to revisit that


How to change data dir?

Does the root dir must be
pub static ROOT_PATH: &str = "./index";
May I use some configurations to change it?

Currently you can't change it without modifying the source code as you have there and building that.
Typically it's expected that a lot of people will simply run lnx in docker which makes this less of an issue.
Although this should be fixed in future versions.

OK thanks！
By the way. I want to join you. I am a big fun of rust.  What should ？

Hello again, sorry for the long response time.
Probably the best thing to start with is going the Discord server so it's easier to discuss things :)
https://discord.gg/jpDvTE7R


Joystick: it gets cropped

https://user-images.githubusercontent.com/7217420/106455711-d8c63700-648c-11eb-9b82-3a5d9a844727.mov
Possibly related to #33?

Not related, but fixed in https://github.com/gsimone/leva/pull/49/commits/cf2dc5e01e7c064ced18e21ebb87481c5fac669d


fix: ensure inventory is not send when disabled (Flaky 1)

It can happen that sendInventoryTimer is triggered before stopping it and therefore the inventory sent.

moved to one branch & multiple commits: https://github.com/newrelic/infrastructure-agent/pull/937


Runtime error when building with Xcode 10

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
I have a project that depends on a Cocoapod. This cocoapod depends on Alamofire (via Cocoapods). The Alamofire SDK version that it depends on is 4.7.2. With Xcode 9.4 I have no issues building or running (on Sim or device). When I build and run with Xcode 10 I get this runtime error:
dyld: Symbol not found: __T010Foundation10URLRequestV9Alamofire0B11ConvertibleADWP
Referenced from: /private/var/containers/Bundle/Application/F879F891-0F2D-4281-93F4-C440D3F978C6/XXXXX.app/Frameworks/YYYYY.framework/YYYYYSDK
Expected in: /private/var/containers/Bundle/Application/F879F891-0F2D-4281-93F4-C440D3F978C6/XXXXX.app/Frameworks/Alamofire.framework/Alamofire
in /private/var/containers/Bundle/Application/F879F891-0F2D-4281-93F4-C440D3F978C6/XXXXX.app/Frameworks/YYYYYSDK.framework/YYYYYSDK
This happens for both Simulator and device.
What did you expect to happen?
I expected the app to build and run the same way as in Xcode 9. I am not sure if there is some build setting that causes this is error.
What happened instead?
App crashes at launch because the symbol is not found.
Alamofire Environment
**Alamofire version: 4.7.2
**Xcode version: 10.0
**Swift version: 4.0
**Platform(s) running Alamofire: iOS
**macOS version running Xcode: 10.13.6
Demo Project
N/A

I looked at AlamoFire framework and listed the symbols and found that it contains the following symbol:
_$S10Foundation10URLRequestV9Alamofire0B11ConvertibleADWP
which has a different prefix (_$S10) than the one that is being searched for at runtime (__T010)

Make sure you recompile all of your dependencies using the same version of Xcode. If your dependency is shipped prebuilt, it may not be compatible with other dependencies built under Xcode 10.

Ok that makes sense. Let me try and get the dependency that is prebuilt and try again. Please keep this ticket open until I get that resolved.

when I try to build application with fast lane I'm getting error
xxx2018-09-20 16:57:03 +0000 [MT] Entitlements for <IDEDistributionItem: 0x7f9b2699ca90 'org.alamofire.Alamofire' '<DVTFilePath:0x7f9b25eabe30:'/Users/gener/Library/Developer/Xcode/Archives/2018-09-20/xxx 2018-09-20 21.54.07.xcarchive/Products/Applications/zzz.app/Frameworks/Core.framework/Frameworks/Alamofire.framework'>'>: {
}
2018-09-20 16:57:03 +0000 [MT] Writing entitlements for <IDEDistributionItem: 0x7f9b2699ca90 'org.alamofire.Alamofire' '<DVTFilePath:0x7f9b25eabe30:'/Users/gener/Library/Developer/Xcode/Archives/2018-09-20/xxx 2018-09-20 21.54.07.xcarchive/Products/Applications/zzz.app/Frameworks/Core.framework/Frameworks/Alamofire.framework'>'> to: /var/folders/lw/3yk4rgd121j57dd61ctrvpvw0000gn/T/XcodeDistPipeline.vdl/entitlementsDcxsCp
2018-09-20 16:57:03 +0000 [MT] Running /usr/bin/codesign '-vvv' '--force' '--sign' '33276899996CE4D035F48B45022ACC1FACA16C0A' '--entitlements' '/var/folders/lw/3yk4rgd121j57dd61ctrvpvw0000gn/T/XcodeDistPipeline.vdl/entitlementsDcxsCp' '--preserve-metadata=identifier,flags,runtime' '/var/folders/lw/3yk4rgd121j57dd61ctrvpvw0000gn/T/XcodeDistPipeline.vdl/Root/Payload/zzz.app/Frameworks/Core.framework/Frameworks/Alamofire.framework'
2018-09-20 16:57:03 +0000  /var/folders/lw/3yk4rgd121j57dd61ctrvpvw0000gn/T/XcodeDistPipeline.vdl/Root/Payload/zzz.app/Frameworks/Core.framework/Frameworks/Alamofire.framework: replacing existing signature
2018-09-20 16:57:03 +0000  /var/folders/lw/3yk4rgd121j57dd61ctrvpvw0000gn/T/XcodeDistPipeline.vdl/Root/Payload/zzz.app/Frameworks/Core.framework/Frameworks/Alamofire.framework: code object is not signed at all
2018-09-20 16:57:03 +0000 [MT] /usr/bin/codesign exited with 1

@gener That doesn't really have anything to do with Alamofire. I suggest looking into why your code signing might be failing.

@jshier thanks. But all project sign fine. I don't know what I can do to fix it.

This seems resolved for both issues.


Implement silenced query parameter in /alerts endpoint

The 'silenced' url query parameter is not yet implemented in the /alerts endpoint. We already show a checkbox on the AlertList view and change the query parameter accordingly, but the back-end ignores it.

@stuartnelson3 @w0rm I have added this to milestone v0.7 as I think we should tackle this before the next release. What do you think?

agreed, and it looks like work is already underway :P


Accordion active section does not expand on initial render

@oblador  I am using the latest version of the library 1.6.2 with React Native 0.75.3, When the Accordion is rendered for the first time it does not expand the activeSection, attaching link for reproducer app
https://snack.expo.dev/@ravindragupta_intelex/react-native-collapsible-demo

After updating to Expo@52, I encountered the same issue.

Yep, I'm experiencing this issue as well

I have the same issue after upgrading react-native to v74 and android sdk to 34

same problem


Support deployment on Sepolia

The Görli testnet currently used by Threshold/Keep for development purposes is planned to become deprecated with the end of year 2023. The testnet that is planned to replace it is called
Holešky, however it's not yet available - it's planned it will become widely accessible on Oct 1, 2023 (source). Switching our infrastructure to support new testnet is quite time consuming, so moving directly from Görli to Holešky may be quite risky, especially if there would be some delays in the date of Holešky genesis (not meeting the planned timelines is not a rare occurrence in the Ethereum space). As a solution, we decided to switch first to another testnet that is currently live - Sepolia. This testnet's EOL is planned for 2026, which gives us plenty of time to move to Holešky before Sepolia gets deprecated.
Refs:
https://github.com/threshold-network/solidity-contracts/issues/150
https://github.com/keep-network/ci/pull/48
https://github.com/threshold-network/solidity-contracts/pull/151
https://github.com/keep-network/tbtc-v2/pull/691
https://github.com/threshold-network/token-dashboard/pull/605

[ ] Configure secrets:

TESTNET_ETH_CONTRACT_OWNER_PRIVATE_KEY
DAPP_DEV_TESTNET_ETH_CONTRACT_OWNER_PRIVATE_KEY

Ready for review, but I don't want to merge this PR yet before I check the deployment, so leaving as draft for now.


[ISSUE #5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn

Make sure set the target branch to develop
What is the purpose of the change
close #5939
Brief changelog

Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #5940 (bf96191) into develop (46869c9) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             develop    #5940      +/-   ##
=============================================
- Coverage      43.34%   43.32%   -0.02%
+ Complexity      8800     8799       -1
=============================================
  Files           1090     1090
  Lines          76407    76435      +28
  Branches        9981     9987       +6
=============================================
- Hits           33115    33114       -1
- Misses         39153    39180      +27
- Partials        4139     4141       +2

Impacted Files
Coverage Δ

...rocketmq/client/impl/factory/MQClientInstance.java
47.41% <0.00%> (-0.60%)
:arrow_down:

...q/namesrv/routeinfo/BrokerHousekeepingService.java
70.00% <0.00%> (-10.00%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
82.21% <0.00%> (-1.93%)
:arrow_down:

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
70.27% <0.00%> (-1.36%)
:arrow_down:

...q/controller/impl/manager/ReplicasInfoManager.java
61.07% <0.00%> (-0.89%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
59.91% <0.00%> (-0.89%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
67.65% <0.00%> (-0.63%)
:arrow_down:

...e/rocketmq/remoting/netty/NettyRemotingClient.java
41.49% <0.00%> (-0.57%)
:arrow_down:

.../org/apache/rocketmq/store/ha/DefaultHAClient.java
61.53% <0.00%> (-0.52%)
:arrow_down:

... and 18 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


snowflake table naming issue with default config

Hi there, I noticed that out of the box a table is not compatible with Snowflake.  To resolve this a config can easily be added for snowflake not to choke on the table called 'group'
pendo_source:
group: '"VAULT_DB"."PENDO"."GROUP"'
I'm wondering if there is appetite to fix this so that the default works out of the box?  Happy to implement this with some guidance.  May be its just a simple addition to the readme but there might be a better way this can be addressed?

^ actually just updated this branch because i was not converting group to uppercase for snowflake as well


Ensure we don't rely on x86 and ARM intrinsics (i.e. SSE 4.2, etc)

Add three missing defines to always be unset to avoid this dependency:

HAVE_X86_64_POPCNTQ
USE_ARMV8_CRC32C
USE_SSE42_CRC32C_WITH_RUNTIME_CHECK

Additionally, to help with generating the correct code on either ARM or x86, make sure we unset these defines before we run the extract source script. This now produces the identical output on x86 and ARM, besides some minor pg_config differences before the undefs at the end that undo those differences.
In passing, drop the "-msse4.2" flag passed in during source extraction, as we do not want to target SSE 4.2.

FWIW, this is mostly a cleanup step, since the relevant code parts are not actively used. Therefore we don't need to tag a new release for this (I think), but should make sure we also get this into 15-latest when we merge it.


feat: add deserialize_with that handles strings or objects with content

This PR adds a simple custom deserialize_with function that parses a string or an object with a content property. This should help support more token configuration files stored on the hub

fixes https://github.com/huggingface/text-generation-inference/issues/1545


docs: updated broken link

docs: link for [Download and install flagd or run it as a container] updated.

Hey @Prathviraj-B-N , Thanks!
Your branch has a lot of re-written commits. You might have done something funny in a rebase and re-written some history. Can you fix your branch so it only contains a few (new) commits?

Hey @Prathviraj-B-N, thanks for opening the PR. It looks like we forgot to update a few links on the readme. I've gone ahead and fixed that in a separate PR.


plugins.json release date format

Is it ever useful to require a full date+time as release-date of a plugin?
I propose that in addition to the full date format e.g. Mar 22, 2017 9:00:35 PM we also allow only date in ISO format, e.g. 2017-04-19. It will be parsed to time 00:00:00 internally. We no longer pick latest release by comparing dates, only versions, so there should be no downside to this.
Don't know how to instruct GSon parser into understanding that format but I guess it is doable.

It's OK for me if you wish to modify the format of date field (not to add a new field).

Is it ok to change the spec with a back-compat break, so the date field must adhere to YYYY-mm-dd format only? Gson seems to only accept one dateFormat at a time, so in order to accept multiple formats, we need to change date into String and provide some code to get a Date object.
Ideally I'd like to support strictly two formats for the date field: YYYY-mm-dd and YYYY-mm-ddTHH:MM:ss.SSSZ (ISO, UTC), but as long as variables are public and not hidden behind getters/setters it is hard to do back-compat trickery...
Should we change PluginInfo into a proper Java bean?

We could add getters/setters for PluginInfo and PluginRelease if it's useful.


dgeni: export Class Description programmatically and rename Class Interfaces

We’re not outputting a Class Overview, which should be generated based on the class type and similar to what is output to the d.ts. this applies to all classes (including directives)
The original mock for the API styles is here: https://drive.google.com/a/google.com/file/d/0B5PzLooin-9SRWotUDllRUZXZk0/view
The heading Instance Members should become Class Details for all classes and directives. The intent for the Class Overview section was to create a TOC (hyperlinked) to the Class Details/Instance Members lower down the page.

While I wait on https://github.com/angular/angular.io/pull/1118, I'll work on this one.

#1118 is closed now! :)


Delete Autos.java as it has been replaced by AutoGenerator.java

Just some clean up for us to do

#50


fix(ci): update the concurrency strategy

What this PR does / why we need it?

This PR tries to fix https://github.com/axonweb3/axon/issues/1460

What is the impact of this PR?
No Breaking Change
CI Settings

CI Usage
Tip: Check the CI you want to run below, and then comment /run-ci.
CI Switch

[x] Web3 Compatible Tests
[x] OCT 1-5 And 12-15
[x] OCT 6-10
[x] OCT 11
[x] OCT 16-19
[x] v3 Core Tests

CI Description

CI Name
Description

Web3 Compatible Test
Test the Web3 compatibility of Axon

v3 Core Test
Run the compatibility tests provided by Uniswap V3

OCT 1-5 | 6-10 | 11 | 12-15 | 16-19
Run the compatibility tests provided by OpenZeppelin

/run-ci


Fixes bug in Felix config table

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

CC @fasaxc


gradlew/gradlew.bat should not be gitignored according to official doc

Steps to Reproduce
According to https://docs.gradle.org/current/userguide/gradle_wrapper.html

To make the Wrapper files available to other developers and execution environments you’ll need to check them into version control. All Wrapper files including the JAR file are very small in size. Adding the JAR file to version control is expected.

So the gitignore seems to need some modification.

Execute flutter run on the code sample
...
...

Expected results:
n/a
Actual results:
n/a

Code sample

Logs

latest version, no error

Hi @fzyzcjy, Thanks for filing the issue. Is this still valid considering that the current behavior is intentional as per this response https://github.com/flutter/flutter/pull/109750#issuecomment-1218966258


Silent failure on OS X

This is more of a note; something that might be useful in the README. When I press Ctrl-Shift-Enter, the cursor moves down a line but the tmux session gets no input.
The problem ended up being caused by tmux not being in Sublime's PATH. To verify that this, I opened the console `Ctrl-`` and ran:
from subprocess import check_output
check_output("which tmux", shell=True)
# subprocess.CalledProcessError: Command 'which tmux' returned non-zero exit status 1
check_output("echo $PATH", shell=True)
# b'/usr/bin:/bin:/usr/sbin:/sbin\n'

To fix this, I created a new file ~/Library/Application Support/Sublime Text 3/Packages/User/User.py:
import os
os.environ['PATH'] = "/usr/local/bin:" + os.environ['PATH']

Sublime reloaded the plugin automatically and my PATH was correctly set up.
The reason this happened: I installed tmux using brew install tmux, which places it into /usr/local/bin/tmux. This is fine, because /etc/paths contains /usr/local/bin. However, /etc/paths is only used in console applications, so Sublime Text is exempted.

Thanks for the comment. I really appreciate your feedback. Sorry for the delay.
Yes configuration is a hazzle, I added a comment in the readme.


provide HTML_NIMIFY environment variable support ?

Sometimes, I do really have good reasons not to minify the html file, like I want to put some global variables which can change the app's configuration without re-building the app
<script>
window.API_DOMAIN = 'http://my.api.com:8080';
</script>

and it is hard to edit a minified html file.

I think it's unlikely this will land. It's pretty niche and there are other solutions.

and it is hard to edit a minified html file.

If you're editing it programmatically I don't think it's any harder. If you're editing it by hand, you can run it through prettier first.
prettier --write ./build/index.html

in my project, I have several global variables
<script>
window.THIS_VAR_CALLED_A = 'image this is very long ...';
window.THAT_VAR_CALLED_B = 'image this is very long ...';
window.ANOTHER_VAR_CALLED_C = 'image this is very long ...';
</script>

after npm run build, the <script> will be
<script>
window.THIS_VAR_CALLED_A = 'image this is very long ...', window.THAT_VAR_CALLED_B = 'image this is very long ...', window.ANOTHER_VAR_CALLED_C = 'image this is very long ...'
</script>

and prettier would make it any better.

With prettier I get this:
<script>
  (window.THIS_VAR_CALLED_A = "image this is very long ..."),
    (window.THAT_VAR_CALLED_B = "image this is very long ..."),
    (window.ANOTHER_VAR_CALLED_C = "image this is very long ...");
</script>

I'm sorry, but this doesn't seem like a big enough issue to justify making a change that adds yet another configuration option to CRA.


Pan/PTZ Support?

Hello I own a chuangmi.camera.021a04 it works great with your integration, I have one question can you make so your integration supports Pan/PTZ? So I can move my camera up and down and sideways

?

None of the related services are defined in miot-spec, if you can capture the relevant miio commands or cloud api, I'd be happy to support it.

Hello I own a chuangmi.camera.021a04 it works great with your integration, I have one question can you make so your integration supports Pan/PTZ? So I can move my camera up and down and sideways

I have same chuangmi.camera.021a04 and it works really bad, triggers (such as motion detection) don't work , streaming don't work too. How have you set up this? Thanks