Jspm

Could the books mentioned below be added to http://docs.spring.io/spring-python/1.2.x/sphinx/html/overview.html
[Spring Security Essentials](url

)
[Spring Integration Essentials](url

)
[Spring Batch Essentials](url

)
[Mockito for Spring](url

)
[Spring Cookbook](url

)
[Node.js By Example](url

)
[Learning Spring Application Development](url

)
[Mastering Spring Application Development](url

)
[Spring Boot Cookbook](url

)
[Building a RESTful Web Service with Spring](url

)
[Mastering Spring MVC 4](url

)

Spring Python is not managed by the spring team anymore.

And Node.js By Example?

Hi,
Could you perhaps feature it on any other page of spring.io?


Decide if we need to use OpenMetadataPlatformSecurityVerifier for ui admin calls

OpenMetadataPlatformSecurityVerifier

The short answer to this is "of course" :)
This connector determines who is allowed to issue platform service calls to the UI platform.  Examples of these are admin calls, diagnostic calls and the ability to start and stop tenants.
Only approved users should be allowed to do this.
I think the open question is whether the same connector interface supported by the OMAG Server Platform could be used by the UI Platform.  If it could be the same then it would be an advantage to a cloud provider to have the same control apply to both platforms consistently.

This function will be automatically include in the UI platform when we implement #1792

Added to UI  in #1939


Can i fine tune models that are not on unsloth/<model_name> list

Hello,
recently I pretrained a QWEN2 1.5B model from scratch using my tokenizer and domain dataset.
The model was downloaded from HF "Qwen/Qwen2-1.5B"
Can i use Unsloth to fine tune the model on my instruct dataset, or Unsloth can be used only with unsloth/<model_name>?
If the answer is yes could you suggest how to do that?
Thank you in advance,
Milos

@miloskovacevic68 If the model architecture is supported by unsloth you can fine tune yes, it doesn't need to be unsloth/ repo. You can use the notebooks samples presented on the page and replace the model name.
If you want to train a base model, use an instruct template such as alpaca. If you train a fine tune or instruct tuned model, use the chat template from the original model as it was trained on.

Thank you very much.

@miloskovacevic68 If the model architecture is supported by unsloth you
can fine tune yes, it doesn't need to be unsloth/ repo. You can use the
notebooks samples presented on the page and replace the model name.
If you want to train a base model, use an instruct template such as
alpaca. If you train a fine tune or instruct tuned model, use the chat
template from the original model as it was trained on.
--
Reply to this email directly or view it on GitHub:
https://github.com/unslothai/unsloth/issues/1127#issuecomment-2406032427
You are receiving this because you were mentioned.
Message ID: @.***>


Automatically apply a custom sql-function on a property inside an entity

Enable to wrap entity property (database value of field) with a custom sql-function (that's known by dql),
Use case:
Translating a value when get data with findAll().
Suggestion:
Wrapping the term value with sql function in select fields.
Example:
config.yml:
orm:
    mappings:
      AppBundle:
        type: annotation
    dql:
      string_functions:
        translate_term: AppBundle\DoctrineExtensions\Utils\TranslateTerm

Entity:
 /**
     * @var string
     *
     * @ORM\Column(name="mi_term", type="string", length=25, nullable=true)
     * @ORM\GeneratedValue(strategy="CUSTOM")
     * @ORM\CustomWrapper(class="AppBundle\DoctrineExtensions\Utils\TranslateTerm")
     */
    private $miTerm;

@mutale can you please rephrase/clarify what you want here? I don't understand what you'd want to achieve with this.

The goal is to translate terms from DB.
for example in menu_items table the "mi_term" value will be something like "M:I:GROUPS", but in translation table there is a translation for that term to any language.
There is already a function in the Mysql called "translate_term(term, language)".
I've added it to dql successfully and I can use it in the entity repository, but if I want to simply get all menus  with its items by findAll() I need some fields to use that function as well.
Hope I was clearer.

This is already implemented in https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.26/doc/translatable.md (via listeners).
It's generally a bad idea to push these concerns down to the storage layer, but please look at the already existing solution. Closing here.


[RFC]: Add @stdlib/random/strided/geometric

Description
This RFC proposes adding support for filling a strided array with pseudorandom numbers drawn from a geometric distribution. This is the strided interface analog of @stdlib/random/base/geometric.
Package: @stdlib/random/strided/geometric
Alias: geometric
Related Issues
None.
Questions
No.
Other

A package with a similar implementation/API design is @stdlib/random/strided/exponential.

Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

@kgryte @rreusser assign me can u tell me whats going in this project


Cannot  display ESC key

If I  press  ESC ,it  show a [?]

There alot of keys still not mapped, will try to spare some time for this soon 😊

Released new version which will cover this
https://github.com/umairsyed613/WinScreenKey/releases/tag/1.1.0

thank  you very much


Release scheduled?

Looking forward to use the metrics-influxdb implementation but it seems the latest version doesn't include it, are you planning on cutting a new release with that extension?

Implementing something like https://jitpack.io would be ideal and hassle-free

I'm afraid the metrics-influxdb module isn't scheduled for release until metrics v4, and I don't know when that will be released. I have several grand ideas for v4 and no time to make them happen.

no worries, im already using it via jitpack.io
On Fri, Jan 29, 2016, 1:42 PM Ryan Tenney<EMAIL_ADDRESS>wrote:

I'm afraid the metrics-influxdb module isn't scheduled for release until
metrics v4, and I don't know when that will be released. I have several
grand ideas for v4 and no time to make them happen.
—
Reply to this email directly or view it on GitHub
https://github.com/dropwizard/metrics/issues/906#issuecomment-176854473.

Guys - just wanted to see if there's any plan to do a release of metrics-core. I've been playing with the tag support functionality and we like it. I wanted to know if there's a release scheduled for it?

I'm afraid there's no release scheduled for the master branch (v4) at this time.

BTW I ended up using https://jitpack.io as a workaround, that way you can "depend" on a specific commit and update at will.


Vue-i18n: Custom number and date formats are reported as missing

Describe the bug

When custom number / date formats are defined and used as intended by vue-i18n, i18n-ally reports them as missing even though they work fine at runtime.
It possible that I'm missing something about how to define these to let i18n-ally know they exist, but I could not find any information about number / date formats at all in the docs. The inline annotations screenshot seems to indicate they work however.
Number and date formats are defined with the properties numberFormats and dateTimeFormats in the VueI18n options (which is separate from messages). But whether these are defined inline or through a json file, i18n-ally does not seems to recognize them. The screenshot below illustrates the issue:

It stands to reason that clicking "edit translation" on the missing key should resolve the issue, however adding the key here will append the missing key to the messages json file (en.json in my case).
This is definitely not what I want since it wont work at runtime even if I add it here. The en.json file contain messages, not formats which go into a separate option property as explained above.
I understand that i18n-ally might not recognize formats defined directly into the options object of VueI18n, but I have also tried to define the formats within a numberFormats.json (for all locales) and numberFormats-en.json (for single locales). Neither of which worked.
If i18n-ally simply does not support number / date formats, then I would suggest that $n() and $d() calls are ignored by i18n-ally so the keys wont be reported as missing.
Extension Version
i18n Ally v1.15.5

Framework/i18n package you are using
vue-i18n

To Reproduce
Steps to reproduce the behavior:

Define a VueI18n() instance with a custom numberFormat (or dateTimeFormat). For example:

new VueI18n({
  locale: 'en',
  fallbackLocale: 'en',
  messages: { ... },
  numberFormats: {
    en: {
      currency: {
        style: 'decimal', minimumFractionDigits: 2, maximumFractionDigits: 2,
      },
    },
  },
})

Consume the number format anywhere: {{ $n(123, 'currency') }}
i18n Ally reports error: "en: i18n key "currency" does not exist"

Device Infomation

OS: Windows 10
Version: 1903
VSCode Version: 1.44.0

Yeah, I think you are right. I will remove the detection for $d and $n in next release, thanks!


[FLINK-10376] [tests] Replace mkdirTolerateExisting by thread safe Files#createDirectories

What is the purpose of the change
Mainly to resolve the unstable test BlobCacheCleanupTest#testPermanentBlobCleanup. By replace BlobUtils#mkdirTolerateExisting with the same functional（but thread-safe) method java.nio.file.Files#createDirectories.
Verifying this change
Verified by passing existing tests, since it is a reinforce.

cc @tillrohrmann @GJL

travis gives green and the unstable one is theoretically hardened. @tillrohrmann


CardElement fields not focusing on a quick tap (Safari, on iOS)

Summary
When focusing the textfield on a CardElement it either takes 2 quick taps or 1 longer tap. The quick tap calls the onFocus function, but doesn't focus the field. After the element is focused, I can focus the textfield by tapping again. Pressing and holding a card element until the textfield highlights also lets me focus the textfield.
Other information
I have only experienced this on mobile (iOS, Safari)

+1 I am experiencing this as well.

Hi @danielnho22 - sorry for our delay in getting back to you on this. This sounds like a pretty painful bug. We're going to try and reproduce this issue, and we'll get back to you when we know more.

I believe this is a known issue in regards to iOS and Safari.
There are a lot of search results to find online regarding focus not being set correctly on elements within iframes on iOS devices.
We are experiencing this issue as well.

@danielnho22 we're having some trouble reproducing this issue ourselves. Any more information you can give us would be great - especially what version of iOS/Safari you're seeing this happen in, and any info you can give about your implementation of elements. Same goes for others who have been experiencing this as well. Thanks!

@mbarrett-stripe I'm also getting this issue with Apple Pay via the Payment Request Button.

Any more information you can give us would be great

We are experiencing this issue. We're using a pretty standard implementation:

Using the CardNumberElement/CardExpiryElement/CardCVCElement components
Not using any CSS that would conflict with click/touch events (e.g. no overlaying labels, no absolute positioning, etc.)
Not programmatically calling focus(), blur(), etc.

Versions:
react-stripe-elements 5.1.0
iPhone 6s
iOS 12.4

Hey all -
We are aware and empathetic about this being an enigmatic issue. We're still digging into this to see if there is something we can do on our end regarding recent changes to Safari's management of focus in 3rd party iFrames (which Stripe Elements are). As of now we believe this may be a browser level issue and are tracking a resolution.
When we have more information I'll be sure to update you.

Hi @mbarrett-stripe, do you have any update on this issue, by any chance?

Hi @mbarrett-stripe ,
I can only reproduce this behavior when using a card form that is composed of individual elements. There is no issue when using Stripe's inline card element. Also of interest is that the issue is not present on the Stripe Element Examples page when using an iOS device.
I am curious if others observe that the issue is not present on the Stripe Element Examples page.
Kind Regards,

I'm having a similar issue on safari. Also, the tabindex seems to be broken.
When i focus elements the first time by pressing tab, the cursor is not visible and you can't type anything. Only the second time it works, also the tab index is completely broken, it sometimes randomly switches between input fields when clicking tab. The same thing is actually happening on your examples page in safari.. https://stripe.dev/elements-examples/

Hey everyone,
We're aware of these issues and appreciate you chiming in. @thki91, your reported issue is not actually tabindexing issues, but the focus blocking issues that Safari rolled out recently. We've reached out to Apple with all of this information and are working to come to a solution. This is unfortunately out of our hands at the moment, and we're looking into ways we can alleviate this issue in the meantime. I will update this thread when we have more information but at this time we don't have anything new to share.
We're aware that this causes UX issues in Safari and we want to see it resolved as well. Again, the issue stems from a change Apple made in Safari which blocks focusing into cross-domain iframes without prior user focus. Stripe Elements relies heavily on frames to provide PCI-compliant secure form elements. Its the same issue as the one documented in this help page.
I know hearing "we're looking into it" for months isn't particularly useful, but it's true, and we're doing what we can to provide Apple with the information needed to resolve this.

I am facing the same issue on google chrome where pressing tab doesn't focus the element on first attempt. Pressing tab second time gives focus to the first stripe element in the form. Subsequent tab key press gives focus to stripe elements correctly

If it is Chrome on iOS, that would be expected as all browsers on iOS/iPadOS are forced to use Apple's WebKit rendering engine that's part of the system.
If it's on Chrome Desktop or Android, would you be able to provide a reproduction or further information on when this happens?

@hofman-stripe its Chrome Version 80.0.3987.132 (Official Build) (64-bit) Desktop on Ubuntu 16.04.
I am trying to use stripe elements along with materializecss. Got it working though.

I have similar issue on Safari 13 (iOS 13.5.1). I can't use navigation buttons on Safari keyboard (Up and Down). It moves the focus to next iframe but It doesn't focus on the input field.

I have tried my custom implementation, https://stripe.dev/elements-examples and https://codesandbox.io/s/react-stripe-official-q1loc?fontsize=14&hidenavigation=1&theme=dark&file=/src/components/demos/SplitForm.js
They all have the same issue.
Any suggestion how to workaround?

Unfortunately none, as this is related to Safari's preventing of programmatic focus into iframes. Unless Apple changes this behavior, I'm not sure there is much we can do right now.

Hi @hofman-stripe
I am also facing this issue in Mozilla Firefox on ubuntu as well. I am unable to focus to CardExpiryElement from CardNumberElement.
Please suggest me for tab indexing.

@ramayan I tried reproducing on Firefox 79.0 on Linux, but don't see the issue. Is this something that you can reproduce on stripe.dev/elements-examples? What are the exact steps you take to see the issue? Is it intermittent, or does it happen all the time?

Hi folks -- sounds like this issue has a few different parts and may also be different across browsers. I'm closing this as this project has migrated to React Stripe.js. If you believe this is still important, please re-open it there, and let's perhaps track issues in different browsers separately.


Custom FooterMSG not working

Changed way that the FooterMsg is being checked for existence.
With my hugo installation
hugo version
Hugo Static Site Generator v0.24.1 darwin/amd64 BuildDate: 2017-07-03T16:06:45+02:00

the FooterMsg parameter was ignored. After removing the isset and doing a  if .Site.Params.FooterMsg both rendering the default as well as setting a custom FooterMsg is working.

Thanks for the PR. You're right.


Bug: Error parsing AmazonMQ message

Expected Behaviour
AmazonMQ (ActiveMQ) message contains queue name in
...'destination': {'physicalName': 'MY.QUEUE.NAME'}... as per documentation
while parsing code is looking for
return self["destination"]["physicalname"]
which causes parsing error
Current Behaviour
Error when calling message.destination_physicalname
Code snippet
for message in event.messages:
        payload_decoded = message.decoded_data
        queue: str = message.destination_physicalname

Possible Solution
Fix typo here
Steps to Reproduce
Send message via AmazonMQ, connect lambda function as event consumer
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.11
Packaging format used
Lambda Layers
Debugging logs
[ERROR] KeyError: 'physicalname'
Traceback (most recent call last):
  File "/var/task/archive.py", line 129, in lambda_handler
    queue: str = message.destination_physicalname
  File "/opt/python/aws_lambda_powertools/utilities/data_classes/active_mq_event.py", line 62, in destination_physicalname
    return self["destination"]["physicalname"]

Hi @SZubarev! Thanks for reporting this bug! We would greatly appreciate your contribution. Would you be interested in submitting a PR to fix this?


Very hard to follow

[Enter feedback here]
Very hard to follow the following step.
Please provide the proper field names of what you actually need to capture.
"The name of your Azure key vault resource" does not mean anything to someone who is new to this.
Presumably half of these are supplied in the command so you don't actually 'capture' them

az keyvault secret set --vault-name <keyvault-name> -n ExampleSecret --value MyAKSExampleSecret
Take note of the following properties for use in the next section:

The name of the secret object in the key vault
The object type (secret, key, or certificate)
The name of your Azure key vault resource
The Azure tenant ID that the subscription belongs to

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

ID: 409a3be9-4831-9401-0bb3-c65209bb3f42
Version Independent ID: 4cf81213-5989-f36c-7456-70accfe452c2
Content: Use the Azure Key Vault Provider for Secrets Store CSI Driver for Azure Kubernetes Service secrets - Azure Kubernetes Service
Content Source: articles/aks/csi-secrets-store-driver.md
Service: container-service
GitHub Login: @Nickomang
Microsoft Alias: nickoman

Hello @rozzamozza,
Thank you for your feedback. We will investigate and update the thread further.


Dive Site Mission Coral Lagoon 1st Waypoint is not underwater

Waypoint generates 120 meters above sea-level instead of below.

So Issue #7 is a data bug that the first waypoint was not underwater (fixed) but it is also a Contract Configurator bug that does not like it when you specify a waypoint altitude value using non deterministic means - like say a random number from 0 to 7.
I ran into this in KSRGAP trying to fix the height of different KK statics above the real terrain value and I could not solve it. But as most runways were close to the ground it could be worked around.
Unfortunately this isn't true with the Site Dive contracts. The only way to make it work with the 4 different waypoints at significantly different height values is to force a deterministic value for the altitude. And to do that each site needs to have its own contract configuration file. The data defining all the sites is still in group.cfg file but the 8 contract files are just duplicate code with the value of one variable hard set to refer to the correct index.
It's dreadfully inefficient, but it works. If the issue is ever fixed in CC, i can revert back to one code file.

v1.0.2 corrects


coloring not right

top: 1px white - background height wrong?

Code of Background
The panel (which I guess it is from the look of the TAG Editor?) has no calculation for the height of the background coloring. It is just set on the container that represents the panel. More likely to be a clipping issue created by the border container or the cliprreact inside.


Adds interviewing.io and CodinGame

I would be ok with adding interviewing.io if you would like to edit this PR!

You mean to remove CodinGame? That's fine by me but may I ask why?


whereIn which file you pass member and logout to Profile?

In which file you pass member and logout to Profile ( src>native>Components>User ) t?

The container (not to be confused with the Bootstrap  component) passes in props to the Layout component


datasets problem

How to download or generate leftImg8bit_sequence? I put the leftImg8bit instead to do eval.sh , but it didn't work. Looking forward to your reply.

Hi, please browse the Cityscapes dataset download webpage(https://www.cityscapes-dataset.com/downloads/), it may require a login and you may need to register a count. After login, in the middle part of the webpage, you will see a message 'The following packages are available upon request. If you require any of them for your research, please send an email(link) including your Cityscapes username and a list of required packages.', click the email link and send an email to require the 'leftImg8bit_sequence_trainvaltest.zip' package including your Cityscapes username. You will get a link to download them. By the way, the size of .zip file is 325Gb, you need enough disk space, spare network, and time to download.


Clone from local repository

Q
A

Issue Type
Feature Request

Deployer Version
Deployer version 4.0.2

Local Machine OS
N/A

Remote Machine OS
N/A

Content of deploy.php
set('repository', '/Users/user/work/project/.git');

Output log
[RuntimeException]
fatal: repository '/Users/user/Sites/torrents/www/.git' does not exist
I want to clone files from local repository, but I can't do this, because git command run on remote server.

You can't do this, because git command run on remote server.

Yes, I can't do this, because git command run on remote server.

But I want do this!


Master

Worth noting that the gateway is already configured with 2/test, but that was in its local config only.

Ok ! Was wondering why the test uri was working !


Support script completion for yarn [tab]

https://github.com/gluons/posh-yarn-completion/issues/3#issuecomment-608356187

Awesome work -- I would love to see this as well! 👍


flags not created

Job gets started and fails, but the only flag i see in the workspace is .queued

This was an oversight in the compute platform library.  It has been patched as of v1.0.1 in that lib.


main_page option should accept page title, not filename

[[page links]] and @page.redirect expect page titles, not filenames, but main_page expects a page filename, with or without the .page extension. for consistency, main_page should instead accept a page title, running it through page_name_link() to normalize it. the normalized version could be accessed via a computed option main_page_file or something.

actually i'd rather the main page be allowed to be any type of link in the same format as accepted by @page.redirect


chore: auto-open Markdown review apps on Heroku

This uses our new GitHub Action for managing Heroku review apps to deploy review apps for Markdown, just like it worked before April 15.

When a Pull Request is opened or reopened, a review app is created in the markdown pipeline on Heroku
When a Pull Request is synchronized, the review app is rebuilt with the latest source
When a Pull Request is closed, the review app is deleted

For more information, check out the GitHub Action repo linked above.

☝🏼 Proof that this works: a review app was created for this PR!
👇🏼 More proof: Once I merge this PR, the review app should automatically close.

It looks like it's still up?

Yep, see https://github.com/readmeio/heroku-review-app-action/pull/2

This PR was released!
🚀 Changes included in v6.41.0


Assessment Tool Groups UI on Categorization Page

This branch introduces the user interface on the categorization page for grouping together table columns that have been categorized as assessment tools. (The interface consists of instructions text, a textbox, multi-selectbox, button, and table that sits beneath the categorization interface.)
Expected behaviors:

[ ] User can type in a group name in a textbox in the tool group interface. Any name is acceptable as long as it has not yet been added as tool group in previous grouping action
[ ] As the user categorizes columns as an 'Assessment Tool', column names populate a multiselect listbox in the tool group interface at the bottom of the screen
[ ] The multiselect box adds columns to a group via click, or using 'shift' or 'ctrl' keys to select multiple items (as one would in a file system)
[ ] Clicking the + Create Tool Group button adds the tool group with its name and selected columns to a table on the right of the tool group interface.
[ ] Once columns have been added to the tool group table they are grayed out and no longer selectable
[ ] The + Create Tool Group button is only enabled for clicking when a unique name has been entered into the textbox and at least one column is selected in the multi-selectbox.
[ ] If the user attempts to enter non-unique name, text indicating this name is already used will be displayed at the bottom of the tool group interface (Group already exists in table)
[ ] Tool groups can be removed from the table by clicking the X Remove Tool Group button in the last column of its table row. The table row is deleted and the columns in that now-deleted group are ungrayed in the multi-select box and are available for adding to a new tool group.

Resolves #118

this doesn't seem to be hooked up to the global store yet. I think it makes sense to add that to this PR so that any future work can use this (e.g. if we want to work in parallel on something that requires the tool-group info).

Store hookup is addressed in the very next PR for this week's sprint (wherein the tool groups start to have to be used outside of the page). Also addressed in the next PR:

Tool groups properly repopulating when the categorization page is returned to
Access to the annotation page is contingent on all categorized tools being grouped
Access to the annotation page is disabled in the scenario where tool groups are removed from the table

With that in mind, I'd like to merge this PR and followup with the (more) fully functional tool grouping feature right after this.

@jarmoza: check out this tutorial to resolve your merge conflict: https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow There is a section called "Example".
You'll  have to merge master into your feature branch

With that in mind, I'd like to merge this PR and followup with the (more) fully functional tool grouping feature right after this.
OK, sounds good

I did not however detect any linter whitespace errors.
You will only see these once you have merged (or rebased) the current master branch onto this one because the linter rules have changed since you made this fork. The main difference is that trailing whitespace is now disallowed everywhere.

there are some assignments (I marked them) that, as far as I know, are not reactive in Vue (e.g. adding a new property to an object with my_object[my_prop] = someval;). This seems to not be reflected in the app behaviour (e.g. these changes seem to always trigger reactive renders), but unless there is a good reason to not use the recommended assignment patterns from Vue, you should refactor these parts.

An important comment on this part. Though I made the changes for this PR, it turns out that once these changes are made in the store the regular JS assign and delete functionality is just fine, even necessary since Vue.delete and Vue.set are not available. The Vuex store is reactive: https://vuex.vuejs.org/guide/

Vuex stores are reactive. When Vue components retrieve state from it, they will reactively and efficiently update if the store's state changes.


ciao-cli does not correctly list volume details

When multiple volumes are created - some with name and description and some without, ciao-cli doesn't display the name and description.

the problem is intermittent unfortunately.

quite possibly this is a gopherclient bug.

This code be a duplicate of #644


update setup.md

docker now runs on windows version 2004 or higher in home edition
Fixes #
Describe the changes you have made in this PR -
Screenshots of the changes (If any) -
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 88.104% when pulling 7d9355874c910ee35e7bda310b4588f3d7693ec1 on igaurab:patch-1 into 1990e55396be889ec32e5c75b573766ad389da51 on CircuitVerse:master.


Remove radials attribute from Rings export

An action item from today's sprint review to complete #544 + #560
@topowright @lfunkhouser @dfoll @ACueva @kgonzago @BobBooth
IMPORTANT: this attribute will also need to be removed from the layer package (lpkx) this is why this column still appears in Pro (with Nulls below)
Export attribute should look like this after PR:
Pro:

ArcMap:

Radials are not being added to the feature class being that they have been removed here and the layer package.


request help: defind multiply ingress-apisix-controller in a k8s cluster

Issue description
hello，teams：
I want to defind multiply ingress-apisix-controller in a k8s cluster, then create ApisixRoute in  the designated ingress-apisix-controller，Can I do that？ and please give me an example?
Environment
apisix-ingress-controller 1.5
kubectl version:1.24

please refer to #1070  and #592

I will close this one, let using #592 for tracking. Thanks


Typst.ts for Vue3

working

[x] Init Vue3 Library
[ ] import @myriaddreamin/typst.ts
[ ] A customized demo for typst.vue3
[ ] Publish to npm

Interested taking this up in July, is that OK or you want to make it earlier? 😄

Interested taking this up in July, is that OK or you want to make it earlier? 😄

We are actively work on "next-generation" renderer, and I will update all packages then. But I'm not sure whether we will finish them in recent months. Feel free to do it as your like!


[GHSA-cxh2-hxrp-wmgx] Weak Password Recovery Mechanism for Forgotten Password...

Updates

Affected products
Summary

Comments
Hello! I'm a security researcher (@sev-hack) who found this vulnerability via huntr.dev platform and I just want to enrich the vulnerability information

Hey @sev-hack, similar to https://github.com/github/advisory-database/pull/2897, I'm not seeing this package on packagist.

Hello @darakian ! Sorry for misleading information, I chose Packagist because while improving the advisory it's necessary to choose one of provided ecosystem.
Actually, LinkStack isn't in Packagist.


When the background is set to transparent, the eraser becomes invalid

When the backgroundColor is set to transparent, the eraser becomes invalid

Hi leenannan,
Did you find a solution for this ?

@leenannan
Hi leenannan,
Did you find a solution for this ?


Demo swipe gesture for cards in gallery

From https://www.google.com/design/spec/components/cards.html#cards-behavior
"The swipe gesture may be used on a per-card basis. Limit swipe gestures within a view so that they don’t overlap with one another. For example, a swipeable card should not contain a swipeable image carousel, so that only a single action occurs when the card is swiped."

Presumably, our material widgets and framework already do this, so this can be something we show in gallery. However, if we need extra bits wired in for material, we should add that label.

Swipe should be handled by http://docs.flutter.io/flutter/widgets/Dismissable-class.html.  We should show it in the gallery though.

This doesn't exist in https://gallery.flutter.dev/#/demo/card
It can can added to the list after selectable card example

Should we transfer this issue to here https://github.com/flutter/gallery/issues ?


Fetch image from API

Frontend: Reactjs
Backend: Nodejs
I am fetching an image from nodejs API after verifying with JWT token. I am getting GET 200 ok response in browser Network header and picture can be seen in Preview, but I cannot use it in my app.
I am surely doing something wrong. Please let me know the proper way to display image from API. On my backend nodejs, I am using res.sendFile to send the file.
class Card extends Component {
 constructor({props, pic, token}) {
super(props, pic, token);
this.state = {
  pic: pic,
};

urlFetch(data) {
 fetch(data, {
 headers: new Headers({
 'authorization': `Bearer ${this.props.token}`,
 'Content-Type': 'application/json'
 })
})
.then(response => {
 if (response.statusText === 'OK') {
  return data   // OR return response.url
  }
 })
}

render() {
const { pic } = this.state;

 return (

       );
      }
     }

@jazkh  I don't believe these kind of questions should be asked/answered here.
IMHO, you should use the Stackoverflow.
Anyways, you are doing some mistakes and that is the reason the image is not being loaded:
 is expecting the src be a string
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
http://w3c.github.io/html/semantics-embedded-content.html#the-img-element


False "Did you mean to return a conditional instead of an assignment?" errors.

jshint v2.6.0 is reporting "Did you mean to return a conditional instead of an assignment?" errors when it should not. This happens despite the line number of the file reported not containing a return statement at all.

Is this issue still present in JSHint 2.8.0? If yes, can you provide some code to reproduce it?


[CS2103-W14-4] CLI-nic

CLI-nic helps medical product sales managers to keep track of medical supplies and storage. It optimizes for these managers to update supply conditions and access critical information of suppliers quickly via typing.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6389d85). Click here to learn what that means.
The diff coverage is 14.89%.

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 6389d85...2448e9b. Read the comment docs.


docs: integrations/providers

Added missed pages for integrations/providers from vectorstores.
Updated several vectorstores notebooks.

thanks @leo-gan!


Error on initial migrate

Hi, can anyone help me solve this error I ran into when trying to run 'migrate.py' for the first time? I couldn't find any issues that already covered this and I only see 'userprofile.User' once, in 'settings.py'

SystemCheckError: System check identified some issues:
CRITICALS:
userprofile.User: (auth.C009) <class 'saleor.userprofile.models.User'>.is_anonymous must be an attribute or property rather than a method. Ignoring this is a security issue as anonymous users will be treated as authenticated!
userprofile.User: (auth.C010) <class 'saleor.userprofile.models.User'>.is_authenticated must be an attribute or property rather than a method. Ignoring this is a security issue as anonymous users will be treated as authenticated!
There doesn't seem to be a way to ignore the SystemCheckError and continue :(
Thank you!!

I am facing with the same issue.

Same here, is there a demo site one could try before working around this issue?

there is no demo site

Hey, I need to know more how to reproduce this error

Could you give me more information about your configuration? OS, Python and Django versions?
Did you used official installation guide? https://saleor.readthedocs.io/en/latest/installation.html
Have you tried docker image? It was easiest way for me to test Saleor

I am also facing this issue.

Could you give me more information about your configuration? OS, Python and Django versions?

Ubuntu 16.04, Python 3.5.2, Django 1.10 according to requirements.txt.

Did you used official installation guide? https://saleor.readthedocs.io/en/latest/installation.html

Yes. Apart from having installed wheel locally in addition (see #552).

Have you tried docker image? It was easiest way for me to test Saleor

Not tried, want to have a development environment without dealing with docker.

OSX El Capitan/Yes, I used the official installation guide/ Python 3.5.2,Django 1.10
Thanks for helping us!

You can try deploying on heroku to reproduce this error.

You're right - there is problem with django version in requirements.txt. Thanks for reporting it! :)
Fast fix for testing - pip install -U django==1.9.

Thank you for reporting this. It seems Django has recently implemented a new system check that was not in place when we conducted initial testing. This is now fixed on master.

Fix confirmed.

@patrys
django 1.10 also causes an error after clicking 'Place Order'.
Exception Type: TypeError at /checkout/summary/
Exception Value: 'shipping_required' is an invalid keyword argument for this function
Everything is working fine for me after downgrading to Django 1.9

@myulz could you provide a complete stack trace? I've updated dependencies on master branch and "Place order" seems to work fine (Python 3.5, Django 1.10).

@pastrys I updated my fork with master after your latest dependency update and I still get the same error on 1.10

Environment:
Request Method: POST
Request URL: http://<IP_ADDRESS>:8000/checkout/summary/
Django Version: 1.10
Python Version: 3.5.2
Installed Applications:
['storages',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.sitemaps',
'django.contrib.sites',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.auth',
'saleor.userprofile',
'saleor.discount',
'saleor.product',
'saleor.cart',
'saleor.checkout',
'saleor.core',
'saleor.order',
'saleor.registration',
'saleor.dashboard',
'saleor.shipping',
'versatileimagefield',
'babeldjango',
'bootstrap3',
'django_prices',
'emailit',
'mptt',
'payments',
'selectable',
'materializecssform',
'rest_framework',
'webpack_loader']
Installed Middleware:
['django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'babeldjango.middleware.LocaleMiddleware',
'saleor.cart.middleware.CartMiddleware',
'saleor.core.middleware.DiscountMiddleware',
'saleor.core.middleware.GoogleAnalytics',
'saleor.core.middleware.CountryMiddleware',
'saleor.core.middleware.CurrencyMiddleware']
Traceback:
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
39.             response = get_response(request)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/core/handlers/base.py" in _legacy_get_response
249.             response = self._get_response(request)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
187.                 response = self.process_exception_by_middleware(e, request)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/Myles/saleor/saleor/checkout/core.py" in func
301.         response = view(request, checkout)
File "/Users/Myles/saleor/saleor/checkout/views/validators.py" in func
11.             return view(request, checkout)
File "/Users/Myles/saleor/saleor/checkout/views/discount.py" in func
29.         response = view(request, checkout)
File "/Users/Myles/saleor/saleor/checkout/views/init.py" in summary_view
50.         return view(request, checkout)
File "/Users/Myles/saleor/saleor/checkout/views/validators.py" in func
35.         return view(request, checkout)
File "/Users/Myles/saleor/saleor/checkout/views/validators.py" in func
26.         return view(request, checkout)
File "/Users/Myles/saleor/saleor/checkout/views/summary.py" in summary_with_shipping_view
59.         order = create_order(checkout)
File "/Users/Myles/saleor/saleor/checkout/views/summary.py" in create_order
11.     order = checkout.create_order()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/contextlib.py" in inner
30.                 return func(*args, **kwds)
File "/Users/Myles/saleor/saleor/checkout/core.py" in create_order
235.                 shipping_method_name=shipping_method_name)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/db/models/fields/related_descriptors.py" in create
609.             return super(RelatedManager, self.db_manager(db)).create(**kwargs)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/db/models/manager.py" in manager_method
85.                 return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/db/models/query.py" in create
397.         obj = self.model(**kwargs)
File "/Users/Myles/saleor/env/lib/python3.5/site-packages/django/db/models/base.py" in init
555.                 raise TypeError("'%s' is an invalid keyword argument for this function" % list(kwargs)[0])
Exception Type: TypeError at /checkout/summary/
Exception Value: 'shipping_required' is an invalid keyword argument for this function

http://dpaste.com/08QYX1Q

@myulz Good catch, it turns out that under certain circumstances we tried to pass a non-existent field name to manager.create(). Not sure how and why it worked in Django 1.9 though.
Should be fixed now.


Investigate the formulas involving alpha

See here and here.
I don't remember why I use these transformation formulas. And I'm wondering whether they should be swapped (following an observation during the development of my Haskell package; I fixed a failure by swapping these two lines).
@simonp0420 Do you remember why I use these formulas? Why not using the "direct" formulas, without these transformations involving the alpha function?

I think this was added when you were reviewing my original PR.  See this comment.

Thanks. I didn't read yet. I've just tried to replace these formulas in my R package with the "direct" formulas and some unit tests have failed, those related to some Weierstrass functions. So it looks like these formulas have an advantage. Need to investigate more.


Persisted data for ETCD clusters

Allow the creation of Etcd clusters with persisted data.
AC:

a PVC is created for each etcdpeer
e2e tests demonstrate the behaviour
docs exist explaining the design

@wallrj what's the status on docs/e2e tests for persistence?


[bug] revealed tiles are clickable after the game ended

After the game is finished, revealed tiles are still clickable and the surround reveal feature is still working

Note that this will be solved in the engine package that is maintained in the angular versions monorepo, Once that's done, this will use the separated engine as well.

Was already resolved


[Event Change] Report 292 - "Copy Sales Document" - OnBeforeValidateIncludeHeader

Hi AL-Team,
can you please add IncludeSender to the following Publisher?
// NEW >>>>
  // [IntegrationEvent(false, false)]
  [IntegrationEvent(true, false)]
  // NEW <<<<
  local procedure OnBeforeValidateIncludeHeader(var DoIncludeHeader: Boolean)
  begin
  end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


question about install Holmesgpt in k8s

can I directly install Holmesgpt in my k8s cluster with out Robusta, How to send prometheus alert to holmesgpt in the simplest way, just for testing purposes

hey @wiluen
The easiest way to test is with the Holmes CLI
you don't need to install anything in the cluster, just to be connected to it from the machine running the CLI
With it, you can ask holmes questions, or investigate prometheus alerts
If you want it as a pod in the cluster, the easiest way is to install it with Robusta.
Robusta is responsible for interacting with the rest api the Holmes pod exposes.
Without Robusta, you'll have the implement calling this API your self. (it's doable, bug unnecessary)
Installing Robusta is easy and fast


zsh killed python

I downgraded the python3 version on my macOS and tried both ways of installing the python. One through the terminal and another of manual installation. After that, when I check the python3 version it says "zsh :  killed     python3 --version".
Any idea how to fix it.Thank you in advance.

Can't see any related to Pipenv, closing


Stories with large attributes fail to load

I've a component, which receives an inline image (base64 data), but storybook seems to have a hard time rendering that component. The page (or the iframe I select iframe as the container) fails to complete loading without any errors im the logs.

Seems like using late evaluation with {:eval, code} did help.

Yes, {:eval, ...} is the way to go :)
We already had an issue on it ^^ https://github.com/phenixdigital/phoenix_storybook/issues/157


Add functionality in the new Python package to use the new YAML control parameters (34)

Implemented in PR #67. Currently able to read from local YAML control parameters called config.yaml and also pass in path to a yaml file.


index: skip collection for fs with invalid fsid

related: https://github.com/iterative/dvc/issues/10309
In dvcfs, trying to read fs.fsid forces us to load the erepo which may end up raising an SCMError in the event we cannot clone the source repo. In this case, we will not be able to collect anything from that fs, so we should just ignore trying to collect this data/storage

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (d89a3f2) 63.04% compared to head (03aea4b) 62.98%.

Files
Patch %
Lines

src/dvc_data/index/collect.py
25.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #510      +/-   ##
==========================================
- Coverage   63.04%   62.98%   -0.07%
==========================================
  Files          62       62
  Lines        4338     4341       +3
  Branches      733      734       +1
==========================================
- Hits         2735     2734       -1
- Misses       1446     1449       +3
- Partials      157      158       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Revert libnetwork

:(

This is only if a solution is not found soon for the kernel lock ups on 3.18/3.19

This is linked to #13498 (just to link the PR to the issue :wink: ).

closing becase @mrjana is amazing :)

closing becase @mrjana is amazing :)

+1 to that :)

it has been resolved? \o/


Folders

This appears to copy only files on the root level. Is there any possibility that folder contents will be added? Thanks.

This just calls mklittlefs which handles the filesystem filling.  But in any case mklittlefs does include subdirectories automatically (note the file list shown in a quick test below):
...
Building LittleFS filesystem
/home/earle/Arduino/hardware/pico/rp2040/system/mklittlefs/mklittlefs -c /home/earle/Arduino/_/data -p 256 -b 4096 -s 65536 /tmp/tmp-1271534-UGfOKnAwVpI5-.littlefs.bin

/sub1/test
/_.ino
...


fixed format issue in tsconfig.json

Fixed a format issue in tsconfig.json.

Thanks for contributing to this project!


Debug static indices computing in TrailingAverageCoupler

When the "+1" is there, assume the time step is 48H and 96H, b = 0 and interval = 48H, the coupled index will be 96H and 144H  which is not correct as my understanding. So when deleting "+1", the coupled index will be 48H and 96H as normal.

But the input_times for ocean model is ["48H", "96H"], interval is "48H". So if "+1" is kept,
self._coupled_offsets[0,0,0] = (0+1)"48H" + "48H" = "96H"
self._coupled_offsets[0,0,1] = (0+1)"48H" + "96H" = "144H"
In forcasting, the code is averaging the atmospheric timesteps slice(t_0,t_0+48) and slice(t_0+48,t_0+96).
But in training, it use the following values:
coupling_temp = ds_index_range.isel(time=self._coupled_offsets[b,i,:])
But from the _coupled_offsets above, it is "96H" and "144H" value so if "+1" is kept, input_times should be "0H" and "48H"? for example,
self._coupled_offsets[0,0,0] = (0+1)"48H" + "0H" = "48H"
self._coupled_offsets[0,0,1] = (0+1)"48H" + "48H" = "96H"

Aha! I understand the confusion.
In this context the offsets are being computed with respect to the beginning of the batch (not initialization time).
Suppose the batch starts it index 0: The first SST input into the model will be indices [0,16] which correspond to times [t_0-48,t_0]. The coupled indices with respect to the beginning of the batch are [32,48] which correspond to times [t_0+48,t_0+96].
To fully appreciate what these indices mean you can checkout construct_integrated_couplings method of the coupler (line 339 of https://github.com/nathanielcresswellclay/zephyr/blob/dlesm/training/dlwp/data/couplers.py) and the iterator method of the dataloader (line 623 of https://github.com/nathanielcresswellclay/zephyr/blob/dlesm/training/dlwp/data/data_loading.py)
Let me know if there's any more confusion!

Thanks a lot. Now I am clear about the indexing. I will close this PR.


Healthcare API powered by ORM

The  Healthcare client now input & outputs fhir-resources objects, instead of plain dictionaries.
This allows an ORM-ish interaction with Healthcare API.

Coverage increased (+0.02%) to 32.938% when pulling d46a6740c8922b8c0cd93a7c0b620cae3661af5e on feature/healthcare into 553d100d7ac32a881196d0117a2866f16f5f1db6 on main.


Add Stefan Fercot

@pgstef You have a merge conflict, can you please resolve this?

@andreasscherbaum should be good now


Higher-layer API: Directory

In addition to key-value API, there are some API layers which are supported by official bindings and compatible between them (Python/Go/Java).
For Java: https://apple.github.io/foundationdb/javadoc/index.html
For Golang

https://godoc.org/github.com/apple/foundationdb/bindings/go/src/fdb/directory
https://godoc.org/github.com/apple/foundationdb/bindings/go/src/fdb/subspace
https://godoc.org/github.com/apple/foundationdb/bindings/go/src/fdb/tuple

It's great to have those layers in Rust.
TODO

[x] Tuple
[x] Subspace
[ ] Directory

I'll split the issue so that each layer should be tracked individually. It seems that directory layer is the hardest and requires both tuple and subspace layer, so let's rename this issue to directory and create two issues for tuple and subspace.

Just checking is there a branch or anyone currently working on the directory layer part? I would like to help with that.

As far as I know, nobody is working on it. Feel free to open a wip pr if you want, or ask for guidance.

Great. I’ll get the basics going and then do that

From: Vincent Rouillé<EMAIL_ADDRESS>Sent: Wednesday, March 11, 2020 5:57:45 PM
To: Clikengo/foundationdb-rs<EMAIL_ADDRESS>Cc: garren smith<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Clikengo/foundationdb-rs] Higher-layer API: Directory (#27)
As far as I know, nobody is working on it. Feel free to open a wip pr if you want, or ask for guidance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Clikengo/foundationdb-rs/issues/27#issuecomment-597716817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABL2ATMU6ZKHYP2MF4ZYOTRG6YHTANCNFSM4E35TANA.

Hi!
I was looking for a rust project around FDB for the holidays and saw this issue. @garrensmith are you still working on the feature? I would love to give an hand 😁

I am not working on it. You are welcome to go ahead.

From: Pierre Zemb<EMAIL_ADDRESS>Sent: Tuesday, December 22, 2020 12:54:47 PM
To: Clikengo/foundationdb-rs<EMAIL_ADDRESS>Cc: garren smith<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Clikengo/foundationdb-rs] Higher-layer API: Directory (#27)
Hi!
I was looking for a rust project around FDB for the holidays and saw this issue. @garrensmithhttps://github.com/garrensmith are you still working on the feature? I would love to give an hand 😁
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Clikengo/foundationdb-rs/issues/27#issuecomment-749480677, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABL2AQB3R32ITP2RL5SQ4LSWB3HPANCNFSM4E35TANA.

Ok, I will pull your work and continue then :smile:

Hi! I had a lot of fun to implement an MVP of the Directory that passes a basic test :tada:
I still have a lot of work ahead, but I wouldn't mind some early reviews, my rust is rusty :sweat_smile:
Should I open a new WIP PR?

Feel free to open a WIP PR.


Doc: includePatterns does not exist (anymore?)

Both  http://springfox.github.io/springfox/docs/current/#docket-spring-java-configuration and http://springfox.github.io/springfox/docs/snapshot/#docket-spring-java-configuration mention .includePatterns(".*pet.*"), but there is no includePatterns method available (anymore?) on Docket - perhaps the doc could clarify where it went?

@vorburger thanks for catching that. The documentation needs to be fixed. The source of truth (tested code) is however in the section above.
In any case, there is a selector api that is predicate based, see 4, 5 & 6. You can select by paths using the path selector, in addition you can also select based on the RequestHandler


Migrate to GitHub Actions

Migrates the CI process from Travis CI to GitHub Actions.
This uses 2 "workflows" to achieve what we currently do today with Travis.

A "Build & Test" workflow to check push/pull requests on all branches:

the app compiles correctly on the latest JDK (15 as of now; uses the gradle assemble task)
all tests pass on JDK 8 (uses the gradle check task) then checks code coverage with CodeCov
both of these use caches to speed up compile time
status is reported to our Slack

A "Deploy" workflow which deletes and re-creates the master-branch-latest tag, and deploys the following built artifacts, only on pushes to the master branch:

uberJar (to the master-branch-latest release)
javadocs (to gh-pages)
graphviz (to gh-pages)
if one of the steps fails, an error is reported to our Slack

(note step 2 uses a potentially sketchy Action to delete the old tag, but so far I haven't found many better options. I'm open to suggestions)

I don't think we need to do anything else - this should remove every reference to Travis (which btw, travis-ci.org is going away in favor of .com soon anyway, according to a banner at the top of every page) so we'll be all set


Add subpackage with template for TreeMHN

Hi Xiang,
I've added some "missing bits" to the package, which I find good "first tasks" in the project. I hope that they are sufficiently well-explained, but any suggestions how to improve them would be wonderful :slightly_smiling_face:
I think we can make "closing the loop" the priority, i.e., the minimal viable product would be doing some experiments with Bayesian inference on small simulated data sets.
This stage (hopefully no longer than the first three weeks) would consist of:

Implementing Algorithm 1 from the paper (tree generation) and simulating a small data set (e.g., 200 trees from a $5\times 5$ network with known diagonal and four off-diagonal terms).
Implementing loglikelihood calculation (using matrix inversion or forward substitution – at this stage we don't need the gradient).
Adjusting the (ordinary) MHN Snakemake workflow so that we can use gradient-free sequential Monte Carlo sampler to sample from the posterior.

What do you think about it? I think the next steps would be to move to gradient-based inference (Hamiltonian Monte Carlo) and then modelling more complex data.

Thanks a lot for the review :slightly_smiling_face:
Great! I've created a project board so we can order the items accordingly to their priority.


Cost management measures

A brief review of the project reveals that there are no build in API cost management measures. It is well known that OpenAI's don't work. There needs to be a warning, and budgets, otherwise people's accounts are going to get cleaned out.

Most of these calls cost a few pennies to run.


Automated cherry pick of #6077: Fix nil pointer dereference when ClusterGroup/Group is used

Cherry pick of #6077 on release-1.15.
#6077: Fix nil pointer dereference when ClusterGroup/Group is used
For details on the cherry pick process, see the cherry pick requests page.

/skip-all


Implement log(10)

I have thought of 2 cases here. one is to know the len (size) of the base 10 output and second is for the 10^n written way of writeing numbers. might want base of e as well.

I think I'd like to approach this as we have for sqrt etc. -- first with a new trait in num-integer, then implement it here.  A trait Log or Logs could have fn log2(&self) -> u32 which is trivial, and fn log10 is also straightforward with http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog10.
I'm not sure about natural log (base e) though.  Is it useful to have a truncated ln like this?  If you want the float value, it's probably easier to just convert your integer to a float and call ln().

I would say that there should be some discussion if we should floor or round this to closest int. On the one side floor will always give the len of the printed value, thow could be far mathematicly value.
I agree with the ln case as i cant see a use case for it.

It seems to me that rounded log2 and log10 are similar to ln -- I'm not sure they're useful.  But as a possible approach to implement these:
Given n = ⌊log2(x)⌋, we want to round up if x ≥ 2^(n + 0.5).  That's x ≥ 2^((2n+1)/2), or x ≥ √(2^(2n+1)).  We have Roots::sqrt, so we can implement this comparison if we're also careful about sqrt's trucation.  (Overflow before the sqrt is also a problem for bounded integer types.)  It's similar for log10, just changed to base 10, of course.

I think a general log function with be pretty useful, 10 is just a special case for that.

I just noticed that rust officially introduced log, log2, log10 for integer types, I think it will be great if similar API for bigint could be introduced.

I need log10 as a way to get the length of the number, what's the alternative just loop through? log10 is absolutely useful for general programming just not particularly useful for actual maths
Also log10 needs to be rounded down, not to nearest as again it's not useful for maths but if it were to be rounded to nearest it would be unusuable

I need log10 as a way to get the length of the number, what's the alternative just loop through? log10 is absolutely useful for general programming just not particularly useful for actual maths
Also log10 needs to be rounded down, not to nearest as again it's not useful for maths but if it were to be rounded to nearest it would be unusuable

FYI, this function is implemented in the dashu library: https://docs.rs/dashu/0.4.2/dashu/integer/struct.IBig.html, https://docs.rs/dashu/0.4.2/dashu/float/struct.Repr.html#method.digits
It's also easy to approximate log10 with log2 implementations if you don't need exact logarithm

I think I'd like to approach this as we have for sqrt etc. -- first with a new trait in num-integer, then implement it here. A trait Log or Logs could have fn log2(&self) -> u32 which is trivial, and fn log10 is also straightforward with http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog10.

Yes, I agree on this approach. How about calling the trait ILog to emphasize that they are integer/truncated logarithms?

I am currently working on a PR for ilog, ilog2, ilog10 (and checked versions of those).
Since the method BigUint::bits returns a u64 it would make sense to use fn ilog2(self) -> u64 for BigUint's implementation. Rust's method signature for primitive ints is fn ilog2(self) -> u32, however. Is this a problem?

Since the method BigUint::bits returns a u64 it would make sense to use fn ilog2(self) -> u64 for BigUint's implementation. Rust's method signature for primitive ints is fn ilog2(self) -> u32, however. How should we deal with this?

It's an annoying possibility, but 232 bits of a BigUint is only 512 MiB -- unwieldy, but definitely feasible even on 32-bit targets. So we should either use u64 everywhere, or we could make this an associated type, something like:
pub trait ILog {
    type Bits: Integer + Unsigned;
    ...
}

The advantage of an associated type is that it could even support exotic types with arbitrary bit sizes. For example, in my Project Euler solutions I have a bespoke SparseUint that only stores non-zero limbs, so it can store values that BigUint couldn't deal with due to memory limitations. For this, I would probably want type Bits = BigUint.

I got here because, I needed to take the log10 of a BigDecimal. I need to be able to do this to check when the numbers in a limited-precision system are getting too close to the configured precision limits and issue a warning before there is a problem.

BigDecimal doesn't have it, but I can split that into a BigInt and a scale which would be enough.
BigUint and BigInt don't have it either unfortunately.

Instead what I did was, I used ToPrimitive::to_f64 and then used f64::log10 from the standard library.
It feels a bit lame though. Intuitively, it should be a lot easier to compute an accurate log10 from a BigDecimal than it would be from an f64, but I couldn't see an easy pre-existing way to actually do it and didn't have time to build it.


Move u-boot to BSP layers

New BSP layers are meta-updater-monnowboard and meta-updater-qemux86-64

Sorry, I'll just merge it.


UI does not open

When i launch the program it only opens the icon on my task bar , the ui does not open no matter how many times i click on the icon

Same problem here, this started happening a week ago. I have deleted and re-downloaded the files a few times with no success. If you guys find a solution, please add me on Steam to let me know. Username : 187|Anonymous

My answer here might be helpful. >_>
https://github.com/ParadiseAigo/Tekken-7-Player-Displayer/issues/28

worked perfectly


[move-only] Teach the object/address move operator checker to not check move only types.

move only types will already be checked by the move only checker and said checker will still see move_value as a consume so we are just eliminating an unnecessary double diagnostic.
rdar://102056097

@swift-ci test

@swift-ci test

I decided to include in this PR the corresponding work that accomplishes the same thing for vars. It works in a slightly different manner by having us emit a copy_addr instead of a mark_must_check_unresolved. This then causes the difference in behavior.

@swift-ci test macOS platform

@swift-ci test macOS platform


Option to disable daemon online/offline notifications

Personally, I don't really want to be told when my daemon comes online or goes offline. Unfortunately, I can't find a setting for disabling this notification.
Note, I'm using the webext beta: 2.0.9beta1.

Good idea, added to the TODO list!

@Stebalien I've just released v2.0.10 with option to supress notifications:

(one can still inspect Browser Console / background.html -- notifications are logged into console there)


tools: Put sha1 in container tag instead of name

Ideally instead of having names like ruby_jessie_x64_ruby_2_5 and
ruby_jessie_x64_ruby_2_6 they would have the name "ruby" with tags
containing jessie_x64_ruby_2_5/6. But fixing that would be much more
invasive. The sha1 in the tag is producing the worst effects, so this is
a case of the perfect being the enemy of the good.
Fixes #20546

I re-pushed the current images under the new name and verified that rebuilding an image works.

I started work on this, but never finished it https://github.com/grpc/grpc/compare/master...jtattermusch:docker_tags_fix_20546
Thanks for stepping in. I'll quickly check for differences between the two branches.

Known failures: https://github.com/grpc/grpc/issues/22760

@jtattermusch, oh, I see. It looks like you were re-generating the docker images. Yeah, I can understand how that would slow things down, since it appears things fail to rebuild. I hacked push_testing_images.sh to do a docker pull + docker push under the new name. Even with that it took a long time; we have a lot of images.


Add command line tool: cmd/hashid

Just a command-line tool to experiment with the library.

I'll just remove the .gitignore in another commit as the usual way to install commands is with go install which puts it in $GOPATH/bin.

go install is the usual command for installing, but during development go build is safer because it doesn't affect the hashid in $PATH.


Ignore all files except the license and dist/ folder when installing with Bower.

When installing mermaid via Bower it still pulls in the majority of the repository, I've proposed a change to only include the license file and the compiled source files in the dist/ folder when installing via Bower.

Good point!! Merging!

Awesome! Thanks :)


Add sanity check in computeChecksum

Add checks outside of the while loop to fail fast before going into the actually reading and checksum computing.

I am wondering if we could add a toString() for byteStream to print out its layout?

Yeah I thought about that but then realized there is really not much we can print other than the remaining bytes and to read bytes which will already be printed by the check.

I am wondering if we could add a toString() for byteStream to print out its layout?

Yeah I thought about that but then realized there is really not much we can print other than the remaining bytes and to read bytes which will already be printed by the check.

@tanjialiang consider to print out each of byte range in the byte stream, for each byte range: position, size, is current. Also print out the last range end. I think it might be helpful to log out those info:
if (FOLLY_UNLIKELY(remaining size mismatch)) {
  VELOX_FAIL(xxx, toString());
}

if (FOLLY_UNLIKELY(empty read data)) {
  VELOX_FAIL(xxx, toString());
}


Datasets test

WIP do not merge

To do:
cherry pick my changes on top of main instead of datasets-test


trying to establish a connection always fail for timeout while waiting status to be ready

I'm trying to establish a connection to a voice channel. I can see the bot actually connects to the channel, but it always get aborted after timeout because the connection never switch to ready, it always stay at signalling
async function connectToChannel(channel) {
  const connection = joinVoiceChannel({
    channelId: channel.id,
    guildId: channel.guild.id,
    adapterCreator: channel.guild.voiceAdapterCreator,
  });
  try {
    // this always fail with timeout
    await entersState(connection, VoiceConnectionStatus.Ready, 30_000);
    return connection;
  } catch (error) {
    connection.destroy();
    throw error;
  }
}

Further details:

@discordjs/voice version: 0.6.0
Node.js version: 16.6.1
Operating system: Win/Linux
Priority this issue should have – please be realistic and elaborate if possible: HIGH

You need GUILD_VOICE_STATES intent also.
Add that and try again.

Adding GUILD_VOICE_STATES worked. Could that be added to the documentation please?

@dahool
discord.js docs states very clearly about this. As discordjs/voice is a separate package, so it doesn't mentions separately.

Please close this issue.

true, but since is a separate package with its own documentation, it would be nice if it is documented there too.


Node: Node tests failed with node version 22

Describe the bug
When trying to run node tests (npm test) with node version 22.7, several tests failed, including tests for the script and bitop commands.
Expected Behavior
Expect all node tests pass with node version 22, as we claimed in node’s README that we support Node.js 16.20 or higher.
Current Behavior

Test Suites: 2 failed, 4 passed, 6 total
Tests:       20 failed, 6 skipped, 1011 passed, 1037 total

Reproduction Steps

nvm use 22
cd node
npm run build
npm test

Possible Solution
No response
Additional Information/Context
No response
Client version used
valkey-glide latest main
Engine type and version
Valkey 7.2
OS
WSL/Ubuntu 22.04.3 LTS
Language
TypeScript
Language Version
Node.js v22.7.0
Cluster information
No response
Logs
● GlideClient › bitop test_1
expect(received).toEqual(expected) // deep equality

Expected: 2
Received: 1

  686 |                         key3,
  687 |                     ]),
> 688 |                 ).toEqual(2);
      |                   ^
  689 |                 // Value becomes 00111101 01100001.
  690 |                 expect(await client.get(destination)).toEqual("=a");
  691 |

  at tests/SharedTests.ts:688:19
  at fulfilled (tests/SharedTests.ts:8:58)

● GlideClient › bitop test_0
expect(received).toEqual(expected) // deep equality

Expected: 2
Received: 1

  686 |                         key3,
  687 |                     ]),
> 688 |                 ).toEqual(2);
      |                   ^
  689 |                 // Value becomes 00111101 01100001.
  690 |                 expect(await client.get(destination)).toEqual("=a");
  691 |

  at tests/SharedTests.ts:688:19
  at fulfilled (tests/SharedTests.ts:8:58)

● GlideClient › hrandfield test_1
TypeError: Unknown encoding: 1

  2012 |                 const fields = Object.keys(data);
  2013 |                 const entries = Object.entries(data);
> 2014 |                 const encodedFields = fields.map(Buffer.from);
       |                                              ^
  2015 |                 const encodedEntries = entries.map((e) => e.map(Buffer.from));
  2016 |                 expect(await client.hset(key1, data)).toEqual(3);
  2017 |

      at Array.map (<anonymous>)
  at tests/SharedTests.ts:2014:46
  at fulfilled (tests/SharedTests.ts:8:58)

● GlideClient › hrandfield test_0
TypeError: Unknown encoding: 1

  2012 |                 const fields = Object.keys(data);
  2013 |                 const entries = Object.entries(data);
> 2014 |                 const encodedFields = fields.map(Buffer.from);
       |                                              ^
  2015 |                 const encodedEntries = entries.map((e) => e.map(Buffer.from));
  2016 |                 expect(await client.hset(key1, data)).toEqual(3);
  2017 |

      at Array.map (<anonymous>)
  at tests/SharedTests.ts:2014:46
  at fulfilled (tests/SharedTests.ts:8:58)

● GlideClient › script test_decoder_1
RangeError: "length" is outside of buffer bounds

  705 |     private writeBufferedRequestsToSocket() {
  706 |         this.writeInProgress = true;
> 707 |         const requests = this.requestWriter.finish();
      |                                             ^
  708 |         this.requestWriter.reset();
  709 |
  710 |         this.socket.write(requests, undefined, () => {

  at Op.writeStringBuffer [as fn] (node_modules/protobufjs/src/writer_buffer.js:61:13)
  at BufferWriter.finish (node_modules/protobufjs/src/writer.js:453:14)
  at GlideClient.writeBufferedRequestsToSocket (src/BaseClient.ts:707:45)
  at GlideClient.writeOrBufferRequest (src/BaseClient.ts:819:14)
  at GlideClient.writeOrBufferCommandRequest (src/BaseClient.ts:801:14)
  at src/BaseClient.ts:771:18
  at GlideClient.createWritePromise (src/BaseClient.ts:738:16)
  at GlideClient.<anonymous> (src/BaseClient.ts:3474:21)

● GlideClient › script test_decoder_0
RangeError: "length" is outside of buffer bounds

  705 |     private writeBufferedRequestsToSocket() {
  706 |         this.writeInProgress = true;
> 707 |         const requests = this.requestWriter.finish();
      |                                             ^
  708 |         this.requestWriter.reset();
  709 |
  710 |         this.socket.write(requests, undefined, () => {

  at Op.writeStringBuffer [as fn] (node_modules/protobufjs/src/writer_buffer.js:61:13)
  at BufferWriter.finish (node_modules/protobufjs/src/writer.js:453:14)
  at GlideClient.writeBufferedRequestsToSocket (src/BaseClient.ts:707:45)
  at GlideClient.writeOrBufferRequest (src/BaseClient.ts:819:14)
  at GlideClient.writeOrBufferCommandRequest (src/BaseClient.ts:801:14)
  at src/BaseClient.ts:771:18
  at GlideClient.createWritePromise (src/BaseClient.ts:738:16)
  at GlideClient.<anonymous> (src/BaseClient.ts:3474:21)

● GlideClient › script test_binary_1
RangeError: "length" is outside of buffer bounds

  705 |     private writeBufferedRequestsToSocket() {
  706 |         this.writeInProgress = true;
> 707 |         const requests = this.requestWriter.finish();
      |                                             ^
  708 |         this.requestWriter.reset();
  709 |
  710 |         this.socket.write(requests, undefined, () => {

  at Op.writeStringBuffer [as fn] (node_modules/protobufjs/src/writer_buffer.js:61:13)
  at BufferWriter.finish (node_modules/protobufjs/src/writer.js:453:14)
  at GlideClient.writeBufferedRequestsToSocket (src/BaseClient.ts:707:45)
  at GlideClient.writeOrBufferRequest (src/BaseClient.ts:819:14)
  at GlideClient.writeOrBufferCommandRequest (src/BaseClient.ts:801:14)
  at src/BaseClient.ts:771:18
  at GlideClient.createWritePromise (src/BaseClient.ts:738:16)
  at GlideClient.<anonymous> (src/BaseClient.ts:3474:21)

● GlideClient › script test_binary_0
RangeError: "length" is outside of buffer bounds

  705 |     private writeBufferedRequestsToSocket() {
  706 |         this.writeInProgress = true;
> 707 |         const requests = this.requestWriter.finish();
      |                                             ^
  708 |         this.requestWriter.reset();
  709 |
  710 |         this.socket.write(requests, undefined, () => {

  at Op.writeStringBuffer [as fn] (node_modules/protobufjs/src/writer_buffer.js:61:13)
  at BufferWriter.finish (node_modules/protobufjs/src/writer.js:453:14)
  at GlideClient.writeBufferedRequestsToSocket (src/BaseClient.ts:707:45)
  at GlideClient.writeOrBufferRequest (src/BaseClient.ts:819:14)
  at GlideClient.writeOrBufferCommandRequest (src/BaseClient.ts:801:14)
  at src/BaseClient.ts:771:18
  at GlideClient.createWritePromise (src/BaseClient.ts:738:16)
  at GlideClient.<anonymous> (src/BaseClient.ts:3474:21)

● GlideClient › script test_1
RangeError: "length" is outside of buffer bounds

  705 |     private writeBufferedRequestsToSocket() {
  706 |         this.writeInProgress = true;
> 707 |         const requests = this.requestWriter.finish();
      |                                             ^
  708 |         this.requestWriter.reset();
  709 |
  710 |         this.socket.write(requests, undefined, () => {

  at Op.writeStringBuffer [as fn] (node_modules/protobufjs/src/writer_buffer.js:61:13)
  at BufferWriter.finish (node_modules/protobufjs/src/writer.js:453:14)
  at GlideClient.writeBufferedRequestsToSocket (src/BaseClient.ts:707:45)
  at GlideClient.writeOrBufferRequest (src/BaseClient.ts:819:14)
  at GlideClient.writeOrBufferCommandRequest (src/BaseClient.ts:801:14)
  at src/BaseClient.ts:771:18
  at GlideClient.createWritePromise (src/BaseClient.ts:738:16)
  at GlideClient.<anonymous> (src/BaseClient.ts:3474:21)

● GlideClient › script test_0
RangeError: "length" is outside of buffer bounds

  705 |     private writeBufferedRequestsToSocket() {
  706 |         this.writeInProgress = true;
> 707 |         const requests = this.requestWriter.finish();
      |                                             ^
  708 |         this.requestWriter.reset();
  709 |
  710 |         this.socket.write(requests, undefined, () => {

  at Op.writeStringBuffer [as fn] (node_modules/protobufjs/src/writer_buffer.js:61:13)
  at BufferWriter.finish (node_modules/protobufjs/src/writer.js:453:14)
  at GlideClient.writeBufferedRequestsToSocket (src/BaseClient.ts:707:45)
  at GlideClient.writeOrBufferRequest (src/BaseClient.ts:819:14)
  at GlideClient.writeOrBufferCommandRequest (src/BaseClient.ts:801:14)
  at src/BaseClient.ts:771:18
  at GlideClient.createWritePromise (src/BaseClient.ts:738:16)
  at GlideClient.<anonymous> (src/BaseClient.ts:3474:21)

Other information
No response

Hi, is it specifically 22.7 or all 22.*

And obviously, but just to make sure, you tried with other versions and it worked?

Hi, is it specifically 22.7 or all 22.*

I only tested 22.7. I can test more 22.* subversions and attach the result later.

And obviously, but just to make sure, you tried with other versions and it worked?

Yes, also tested with node v16.20.2, all test passed.

Hi, is it specifically 22.7 or all 22.*

I only tested 22.7. I can test more 22.* subversions and attach the result later.

And obviously, but just to make sure, you tried with other versions and it worked?

Yes, also tested with node v16.20.2, all tests passed.

Just so i know what release notes i should check. Prefer to read just the one got broken :)
Thanks

Test result with more versions:
22.0: all tests passed
22.6: all tests passed
22.7: 2 tests failed
22.8: all tests passed
It'd be great if somebody else could validate 22.7 to rule out a contaminated env.

@jamesx-improving Thanks, ill check it. One minor, Very interesting.

So - they added some buffer improvements in 22.7 that results in few errors that were fixed in 22.8.
We support 22 but not 22.7.


docs: add lottie issue resolve

I had some issues setting this up. Apparently lottie-react doesn't work properly SSR in Node v22 which I use. I found it only works normally on version 18 https://github.com/Gamote/lottie-react/issues/101.
Updated the docs to state that for anyone who might want to try setting the repo and run into same issue

Thanks for catching this!


Feature: Ability to delegate panzoom for dynamic elements

If would be nice to be able to use a CSS class selector to specify what elements to panzoom, via delegation.
Sort of like $('body').on('<panzoom event>','.selector', function(){ <handle zooming stuff> });
where panzoom is the event name for touch start, click, etc, and .selector is the class applied to elements that are to have panzoom applied.
This would be great for dynamically added elements (like lightboxes, etc), without having to modify other libraries (or create custom event handlers)
If one could pass an option for element class selector and a parent selector to limit the scope, it would be possible to bind to the particular events that panzoom uses, and filter only the elements that have the .selector (i.e.. .panzoom) class limited to the parent element (i.e. body or .lightbox)..

This is not viable because Panzoom needs to be attached to the element it's moving.


REPL security

Immediately executing javascript passed as a query string is pretty bad from security perspective. Since this is static website, have you considered first showing the code and asking the user to manually run it with some type of warning?

In addition to security issues, immediately executing the code can cause the editor to hang and become unresponsive.
Just writing a simple for loop causes the editor to get stuck once you write:
for (let i = 0; i <100; )

^ the code also gets stored to local storage so the next time you visit "https://babeljs.io/repl/" without cleaning it, the same code code is automatically executed. e.g. redirect somewhere with window.location inside editor. Then try to visit "https://babeljs.io/repl/" and it will automatically redirect until you clean up the local storage.


Hold one object with 2 controllers

as the title says,
one object, 2 controllers. (hold the object left and right).

Actually yea, especially if you wanted to simulate holding a larger weapon such as a rifle. In fact, RawData does a neat thing that if you hold the sword with two hands, it aligns the hands as such that it looks like a correct two-handed sword hold.

Any Idea when this will release?

You can check the progress of issues on the issue tracking board
https://waffle.io/thestonefox/SteamVR_Unity_Toolkit

This is a great idea - was also thinking that some objects can only be lifted with two controllers, i.e. heavy items.

Any word of this? as 2.2 is out but I can't find it in the documentation. :/ @thestonefox

it didn't make it into 2.2.0

Ah bugger same for the other one I guess, cheers anyway!

They're climbing up the list though :)
Someone has just made an inventory system for their game, they may be doing an PR of the work.

That's good to hear, I've tried messing around to get it to work but usually ends in tears.
I do like the idea of the snap system though so can't wait :)
Thanks again for making such an amazing TK!

Ah sorry Stone this is what I was talking about, and duh, I see now it's backlogged on Waffle.
Phew saved me from being that guy and posting a second issue on it 😜

This will be linked to #31 as a new "second controller grab action" will be added to an interactable object, determining what happens when a second attempts to grab an already grabbed object


[SUSHI-02] Gradio with NestJS

Context
Still not sure if we should move to Flask or stay with Nest.
Details
The current approach to infer with gradio API is only working if we are using some tricks including setting globally the
eventsource from eventsource + by modifying the base package @gradio/client at the EventSource(URL) line to add: URL.toString().
I will raise an issue for it.

Issue fixed
Will start to deploy API

I made some overall test directly in Prod, everything seems to work.

Based on a few test, it seems to work correctly on prod serv.

I will force merge this one as the related PR#9 from Big Brain was merged without conflicts.


Added support for additional options.

Added support for the following options:

new-game - creates a new blank map
save-game  - save the current game with the specified name
list-saves - listed all the game saves in the saves folder

Also fixed an issue when installing.

hmmz, looks like you want to revert my latest changes - can you please rework the pull request not to mess with the various fixes I've made recently? (also I'd prefer a pull request to master if you do not mind)
Awesome of you to make this tho! :D


ortc/services/internal/services.events.h file not found on windows build

"ortc/services/internal/services.events.h"           file not found on windows build.
Is there any separate "services.events.h" file ?? or Is it automatically generated????
Please provide solution.

This is auto generated as part of the SDK build from the zsLib.Eventing tool. This allows events that are generated inside the process to be remoted and captured using ETW using tools like Windows Event Recorder and WIndows Event Viewer.

Hi robin-raymond,
you are saying that "ortc/internal/ortc.events.h"  is automated generated file from sdk.   But I'm not getting any ortc.events.h file.
For this particular file building failed.
Please help to me build ortclib-sdk.

BUILD LOG START
Ortclib.Test @ x64 platform Release
1>------ Build started: Project: ortclib.services (ortclib.services\ortclib.services), Configuration: Release x64 ------
2>------ Build started: Project: ortclib (ortclib\ortclib), Configuration: Release x64 ------
1>services_BackOffTimer.cpp
1>services_BackOffTimerPattern.cpp
2>ortc.cpp
2>ortc_Certificate.cpp
1>......\ortc\services\cpp\services_BackOffTimer.cpp(34): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>......\ortc\services\cpp\services_BackOffTimerPattern.cpp(33): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_Cache.cpp
1>services_DNS.cpp
2>......\ortc\cpp\ortc_Certificate.cpp(35): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_DataChannel.cpp
1>......\ortc\services\cpp\services_Cache.cpp(33): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_Helper.cpp
1>......\ortc\services\cpp\services_DNS.cpp(36): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_HTTP.cpp
1>......\ortc\services\cpp\services_Helper.cpp(34): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_HTTP_WinRT.cpp
1>......\ortc\services\cpp\services_HTTP.cpp(35): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_Logger.cpp
2>......\ortc\cpp\ortc_DataChannel.cpp(36): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_DTLSTransport.cpp
1>......\ortc\services\cpp\services_HTTP_WinRT.cpp(35): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_services.cpp
1>......\ortc\services\cpp\services_Logger.cpp(33): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_STUNDiscovery.cpp
1>......\ortc\services\cpp\services_STUNDiscovery.cpp(33): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_STUNPacket.cpp
2>......\ortc\cpp\ortc.cpp(34): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_ICEGatherer.cpp
2>......\ortc\cpp\ortc_DTLSTransport.cpp(39): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
1>......\ortc\services\cpp\services_STUNPacket.cpp(36): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
2>ortc_ICEGathererRouter.cpp
1>services_STUNRequester.cpp
1>D:\sivareddy\ortclib-sdk\ortc\xplatform\ortclib-services-cpp\ortc/services/internal/services.h(67): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory (compiling source file ......\ortc\services\cpp\services_services.cpp)
1>services_STUNRequesterManager.cpp
1>......\ortc\services\cpp\services_STUNRequester.cpp(34): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>services_TURNSocket.cpp
2>......\ortc\cpp\ortc_ICEGathererRouter.cpp(34): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_ICETransport.cpp
2>......\ortc\cpp\ortc_ICEGatherer.cpp(36): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_ICETransportController.cpp
1>......\ortc\services\cpp\services_STUNRequesterManager.cpp(34): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>......\ortc\services\cpp\services_TURNSocket.cpp(35): fatal error C1083: Cannot open include file: 'ortc/services/internal/services.events.h': No such file or directory
1>Done building project "ortclib.services.vcxproj" -- FAILED.
3>------ Build started: Project: Ortc.WebRtc.Builder, Configuration: Release x64 ------
3>  Webrtc build is started. It will take couple of minutes.
3>  Working ...
3>  x64
3>  Platform x64
3>  Visual Studio path is "C:\Program
3>  Determining compiler options ...
3>  CPU arhitecture is x64
3>  Selected compiler option is amd64
3>  Microsoft (R) Build Engine version 14.0.25420.1
3>  Copyright (C) Microsoft Corporation. All rights reserved.
3>
3>MSBUILD : error MSB1009: Project file does not exist.
3>  Switch: D:\sivareddy\ortclib-sdk\ortc\windows\projects\msvc\Ortc.WebRtc.Builder..........\webrtc\xplatform\webrtc\webrtcForOrtc.vs2015.sln
3>
3>EXEC : CRITICAL error : Building WebRTC projects for x64 has failed
3>
3>
3>  FAILURE: Building WebRtc library has failed
3>
3>  Total execution time: 00:00:04 (4s total)
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1276,5): error MSB3073: The command "call "D:\sivareddy\ortclib-sdk\ortc\windows\projects\msvc\Ortc.WebRtc.Builder..........\bin\buildWebRTC.bat"  "D:\sivareddy\ortclib-sdk\ortc\windows\projects\msvc\Ortc.WebRtc.Builder..........\webrtc\xplatform\webrtc\webrtcForOrtc.vs2015.sln" Release x64 ortc" exited with code 255.
2>......\ortc\cpp\ortc_ICETransportController.cpp(35): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_ORTC.cpp
2>......\ortc\cpp\ortc_ICETransport.cpp(38): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_RTPListener.cpp
2>......\ortc\cpp\ortc_ORTC.cpp(34): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_RTPMediaEngine.cpp
2>......\ortc\cpp\ortc_RTPListener.cpp(41): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_RTPReceiver.cpp
2>......\ortc\cpp\ortc_RTPMediaEngine.cpp(42): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_RTPReceiverChannel.cpp
2>......\ortc\cpp\ortc_RTPReceiver.cpp(44): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_RTPSender.cpp
2>......\ortc\cpp\ortc_RTPReceiverChannel.cpp(44): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_RTPSenderChannel.cpp
2>......\ortc\cpp\ortc_RTPSender.cpp(44): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_SCTPTransport.cpp
2>......\ortc\cpp\ortc_RTPSenderChannel.cpp(45): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_SCTPTransportListener.cpp
2>......\ortc\cpp\ortc_SCTPTransport.cpp(39): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_SRTPTransport.cpp
2>......\ortc\cpp\ortc_SCTPTransportListener.cpp(36): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>ortc_StatsReport.cpp
2>......\ortc\cpp\ortc_SRTPTransport.cpp(37): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.events.h': No such file or directory
2>......\ortc\cpp\ortc_StatsReport.cpp(35): fatal error C1083: Cannot open include file: 'ortc/internal/ortc.stats.events.h': No such file or directory
2>Done building project "ortclib.vcxproj" -- FAILED.
4>------ Build started: Project: ortclib.Test, Configuration: Release x64 ------
4>LINK : fatal error LNK1181: cannot open input file 'webrtc.lib'
4>Done building project "ortclib.Test.vcxproj" -- FAILED.
========== Build: 0 succeeded, 4 failed, 5 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

BUILD LOG END
ortclib.Test.txt

@sivareddyensurity Could you let us know if this is still outstanding or if it can be closed?


How to parallelize libosmium area parsing?

I asked this in Stack Overflow yesterday but it was suggested to bring it up here instead.
I'm looking into ways to make libosmium based project to parse through OpenStreetMap PBF areas using multiple threads. Parsing nodes, ways, or relations is multi-threaded, but parsing areas is not.
For example, while running the following code that counts relations, top shows CPU utilization over 400%:
    #include <osmium/handler.hpp>
    #include <osmium/io/pbf_input.hpp>
    #include <osmium/visitor.hpp>

    using namespace osmium;

    struct MyHandler : public handler::Handler {
        int counter = 0;
        void relation(const Relation &relation) {
            counter++;
        }
    };

    int main(int argc, char *argv[]) {
        io::File infile(argv[1]);
        MyHandler handler;
        io::Reader reader(infile);
        apply(reader, handler);
        reader.close();
        std::cout << handler.counter << "\n";
    }

When I modify it to count areas instead, CPU stays around 100%:
    #include <osmium/area/assembler.hpp>
    #include <osmium/area/multipolygon_collector.hpp>
    #include <osmium/handler/node_locations_for_ways.hpp>
    #include <osmium/index/map/sparse_mem_array.hpp>
    #include <osmium/io/pbf_input.hpp>

    using namespace osmium;

    using index_type = index::map::SparseMemArray<unsigned_object_id_type, Location>;
    using cache_type = handler::NodeLocationsForWays<index_type>;

    struct MyHandler : public handler::Handler {
        int counter = 0;
        void area(const Area &area) {
            counter++;
        }
    };

    int main(int argc, char *argv[]) {
        // pass 1
        io::File infile(argv[1]);
        area::Assembler::config_type assembler_config;
        area::MultipolygonCollector<area::Assembler>  collector(assembler_config);
        io::Reader reader1(infile, osm_entity_bits::relation);
        collector.read_relations(reader1);
        reader1.close();
        // pass 2
        index_type index;
        cache_type cache{index};
        cache.ignore_errors();
        MyHandler handler;
        io::Reader reader2(infile);
        apply(reader2, cache, collector.handler([&handler](
            const memory::Buffer &&buffer) { apply(buffer, handler); }));
        reader2.close();
        std::cout << handler.counter << "\n";
    }

The difference here is that the code runs in 2 passes. The first pass assembles area references from relations, and the second pass then builds areas using node cache and collected relation data. However, such structure does not seem to be multi-threaded.
How can I make this to utilize several threads? Is there an existing approach already built into libosmium or should I start implementing my own thread pools and queues?

Okay, the first question is: Why do you want to do it multithreaded? I guess because it seems to be quite slow. Fortunately I am currently working on some improvements. The current master version is at least an order of magnitude faster than earlier versions and I am working on further improvements. After I have done all the optimizations I can think of, we will see how fast it is and whether it makes sense to add multithreading. Getting multithreading right is hard to do, so this is only the last resort.
Btw: Areas are not "parsed", they are assembled from their constituent nodes, ways, and relations. That's a very different part of libosmium than the parsing of OSM files which is multithreaded.

apply(reader2, cache, collector.handler([&handler]( const memory::Buffer &&buffer) { apply(buffer, handler); }));

By the way, taking a rvalue reference (as in &&buffer) by const does not make sense and prevents you from std::move-ing the buffer later on. From reading the docs apply also takes a const Buffer&, so removing one of your & should be fine here.

Thank you Jochen, thank you Daniel. Yes, the main reason for thinking about multithreading is speed improvement. The end goal is to write out WKT for administrative boundaries using custom filters and parsing the whole OSM planet file took slightly over 4 hours for me. After pulling the latest code I saw 15..20% speed improvement when testing with smaller extracts. Good job! I'd think that assembling the areas in multiple threads would give additional improvement for sure and if it'd be something you'd be willing to undertake, then I'd be very grateful!

Reading a planet file and assembling all multipolygons of the planet now takes about 20 minutes on a modern machine with the latest release. It takes much longer to write this data out into a Shapefile or so. So I think the code is fast enough for the time being. Adding the complexity of multithreading isn't worth it.


Use a flag to customize /var/lib/kubelet path in dothill-node

In GitLab by @paul.laffitte on Oct 13, 2020, 00:05

In GitLab by @paul.laffitte on Oct 15, 2020, 23:22
closed by 6d3d7934322113efd2ec021ab50370ca668ddf07

In GitLab by @paul.laffitte on Jan 8, 2021, 17:56
assigned to @paul.laffitte


⚠ Bofrost.be has degraded performance

In 66f0057, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1060 ms

Resolved: Bofrost.be performance has improved in 346db6c after 6 minutes.


Upgrade to rancher 2.6.0 do not clean up fleet-system namespace and older CRD's

We upgraded rancher from 2.5.9 to 2.6.0 recently and we figured out that fleet system namespace and older helm releases was not cleaned up
We do see that now fleet-agent-local and fleet-crd is now moved under new namespace cattle-fleet-system and its now managing all fleet relevant CRD's in the cluster.
However expected behavior was it first deleted the older installation under fleet system  and removed the relevant CRD's and recreate everything under cattle-fleet-system
Want to understand how do we cleanup without hindering any of the rancher functionality to just delete the releases from fleet system  namespace only .

Any idea if one of those agents are safe to remove?