receiver:Error happens when Thanos receiver upload data to Object storage

Thanos receiver receives data from Prometheus successfully, and also save in the local disk. But Failed to upload the data to object storage sometimes. That means, sometimes it can upload data to object storage successfully, meanwhile sometimes it fails.
The relevant to bug reports from thanos receiver is as follows:
_level=info ts=2021-06-10T01:51:26.221171953Z caller=shipper.go:337 component=receive component=multi-tsdb tenant=default-tenant msg="upload new block" id=01F7R8VR019A876FPJF03NETNK
http://<IP_ADDRESS>/api/v1/list/bucket/chaosuan/?delimiter=%2F&prefix=01F7R8VR019A876FPJF03NETNK
level=warn ts=2021-06-10T01:51:27.423358333Z caller=receive.go:567 component=receive component=uploader msg="upload failed" elapsed=1.232621448s err="upload: upload 01F7R8VR019A876FPJF03NETNK: failed to clean block after upload issue. Partial block in system. Err: upload chunks: upload file /aiops/prometheusData/metricsData/default-tenant/thanos/upload/01F7R8VR019A876FPJF03NETNK/chunks/000001 as 01F7R8VR019A876FPJF03NETNK/chunks/000001: failed to upload(multipart) 01F7R8VR019A876FPJF03NETNK/chunks/000001: UploadOneChunk failed,父路径（01F7R8VR019A876FPJF03NETNK/chunks）不存在，或路径有误: upload chunks: upload file /aiops/prometheusData/metricsData/default-tenant/thanos/upload/01F7R8VR019A876FPJF03NETNK/chunks/000001 as 01F7R8VR019A876FPJF03NETNK/chunks/000001: failed to upload(multipart) 01F7R8VR019A876FPJF03NETNK/chunks/000001: UploadOneChunk failed,父路径（01F7R8VR019A876FPJF03NETNK/chunks）不存在，或路径有误"
level=warn ts=2021-06-10T01:51:27.423464116Z caller=receive.go:621 component=receive component=uploader msg="recurring upload failed" err="upload: upload 01F7R8VR019A876FPJF03NETNK: failed to clean block after upload issue. Partial block in system. Err: upload chunks: upload file /aiops/prometheusData/metricsData/default-tenant/thanos/upload/01F7R8VR019A876FPJF03NETNK/chunks/000001 as 01F7R8VR019A876FPJF03NETNK/chunks/000001: failed to upload(multipart) 01F7R8VR019A876FPJF03NETNK/chunks/000001: UploadOneChunk failed,父路径（01F7R8VR019A876FPJF03NETNK/chunks）不存在，或路径有误: upload chunks: upload file /aiops/prometheusData/metricsData/default-tenant/thanos/upload/01F7R8VR019A876FPJF03NETNK/chunks/000001 as 01F7R8VR019A876FPJF03NETNK/chunks/000001: failed to upload(multipart) 01F7R8VR019A876FPJF03NETNK/chunks/000001: UploadOneChunk failed,父路径（01F7R8VR019A876FPJF03NETNK/chunks）不存在，或路径有误"_
父路径 means parent path
不存在，或路径有误 means not exist, or the path is wrong
The command about thanos receiver is as follows:
thanos receive
--tsdb.path "/aiops/prometheusData/metricsData"
--grpc-address <IP_ADDRESS>:10907
--http-address <IP_ADDRESS>:10909
--receive.replication-factor 1
--label "receive_replica="0""
--label "receive_cluster="aiopssection""
--receive.local-endpoint <IP_ADDRESS>:10907
--receive.hashrings-file /aiops/hashring.json
--remote-write.address <IP_ADDRESS>:10908
--objstore.config-file  "/aiops/bucket.yml" > thanos_receive.log 2>&1  &

Thanos, Prometheus and Golang version used:
Output of "thanos --version":
thanos, version 0.21.0-dev (branch: iharbor, revision: d4a0751fb1532707549b55b07                                                                                943fbfc78add079)
build user:       root@Thanos
build date:       20210514-02:07:40
go version:       go1.16.1
platform:         linux/amd64
Object Storage Provider: the customed object storage just like S3
What happened: Thanos receiver fails to upload data to object storage sometimes.
What you expected to happen: Thanos receiver should upload data to object storage always successfully.
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components:
Environment:

OS (e.g. from /etc/os-release):
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

Kernel (e.g. uname -a):
Linux Thanos 4.18.0-294.el8.x86_64 #1 SMP Mon Mar 15 22:38:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

visit the url  http://<IP_ADDRESS>/api/v1/list/bucket/chaosuan/?delimiter=%2F&prefix=01F7R8VR019A876FPJF03NETNK
and get this response:
**_Api Root List Bucket Object Instance
List Bucket Object Instance
列举存储桶内对象和目录
GET /api/v1/list/bucket/chaosuan/?delimiter=%2F&prefix=01F7R8VR019A876FPJF03NETNK
HTTP 404 Not Found
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept
{
"code": "NoSuchKey",
"message": "无效的参数prefix，对象或目录不存在"_**
}

What kind of object storage are you using? Custom obj store means that it is developed by your company and it is S3 compatible?
If it is this case, I suspect it is caused by bugs in your custom obj store.


Fixes #288: Keep assembly delay-signed if Key is not provided

When an original assembly is "delay signed" and there is no KeyFile or KeyContainer property specified in obfuscar.xml - Obfuscar should still perform obfuscation and keep the PublicKey embedded into the assembly as is. Thus, the obfuscated assembly remains to be "delay signed".
This change simplifies configuration for scenarios when final signing is handled outside of the build process, by removing requirement of providing a PublicKey, since it's already stored in an assembly. It also makes possible to perform obfuscation of "delay signed" assemblies on MacOS (previously it failed because of the not supported PublicKey-related API, see #288 for more details).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Further improvements on delay signing have been incorporated into a separate fork (dot-blur fork). We needed this and more to improve code signing with obfuscation.


Roll engine 0602dbb27547..828191990af0 (5 commits)

https://github.com/flutter/engine/compare/0602dbb27547...828191990af0
git log 0602dbb27547cd03d8f8e816b7995cace854f7e6..828191990af0148045e75c1a842f459bb7b61ac3 --no-merges --oneline
828191990 Roll src/third_party/dart 6e0d978505..40ef0c6d9f (7 commits)
9dafb40a2 Roll src/third_party/skia 0e8362655a66..6faf8d662af8 (1 commits) (flutter/engine#9225)
e3b8b6120 Roll src/third_party/skia 3431d9d1dcc6..0e8362655a66 (2 commits) (flutter/engine#9223)
e80df363d Keyboard support for embedded Android views. (flutter/engine#9203)
2ec6dada6 Roll src/third_party/skia 6e4fee8c812e..3431d9d1dcc6 (17 commits) (flutter/engine#9221)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6379989121892352

Commit queue failed; closing this roll.


move json objects to azure

What's wrong
json objects are stored in the repo
What done looks like
json objects stored in blob storage
Where the changes need to be made
azure, src/shared/images

Is this the right flow? or is it better to use a datastore like a managed Mongo and pgsql instance and then just purge the repo of these objects? Blob storage and API seems like an intermediate step that we won't use for long.

yeah it is definitely a short term solution. we still want to move everything into a db and build an api around it. drew just mentioned that when moving all the images to blob storage it would be easy to just plop the json there as well so we can get the repo cleaned up from all the unneeded files

but we wouldn't even need to make an api around the json objects in blob storage, just download it directly and use it how it's currently being used


[$500] IOU - Copy to clipboard paid IOU in IOU page, instead of paid text requested text shown

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.86-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Tap on a Workspace chat
Tap plus icon near compose
Tap request money--manual
Enter an amount
Tap request amount
Tap on IOU and Pay elsewhere
Tap on paid IOU to open IOU page
On IOU page, long press the IOU paid
Select copy to clipboard
Paste on compose box

Expected Result:
When user copy to clipboard paid IOU in IOU page, paid "Brand new paid $0.04 elsewhere" text must be shown
Actual Result:
When user copy to clipboard paid IOU in IOU page, instead of this paid "Brand new paid $0.04 elsewhere" text requested text "requested ₹3.00" is shown
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Android: Native

Android: mWeb Chrome

https://github.com/Expensify/App/assets/78819774/9895b2fe-8f3e-43eb-94f6-411219a14976

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ee91e1d5782ad7bf
Upwork Job ID:<PHONE_NUMBER>797161984
Last Price Increase: 2023-10-20

Proposal
Please re-state the problem that we are trying to solve in this issue.
"Request" message is being shown instead of "paid" message when copying from the iou preview component.
What is the root cause of that problem?
The root cause of this issue is here:
https://github.com/Expensify/App/blob/69ad7bdcf143095b8736888ce901891b4fd342e6/src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js#L57-L62
reportAction is not up to date and is not getting the latest reportAction instead is reading the previous reportAction.
We can see the current latest report action contains the correct originalMessage type hence gets the correct message.

Things work perfectly fine for ReportActionItem because it is getting the current correct prop.
What changes do you think we should make in order to solve the problem?
I just identified the root cause and wanted to bring forth my discoveries for what its worth. Still didn't know why it is not getting the latest reportAction props.
What alternative solutions did you explore? (Optional)

Looks good to me too.

Payment summary:
$500 @Ollyws requires payment
$500 @dukenv0307 requires payment

Invited you both to the Upwork, job @dukenv0307 @Ollyws - Lemme know when you accept to issue payment 🙇

Paid and contracts ended, thanks everyone!


oanda v2 known symbols contains USD_GBP

This is only acceptable as  a non-inverted symbol: GBP_USD. There may be other symbols with the same problem but have not checked. If anyone can fix before my PR, please go ahead.

Thanks for reporting @jameschch


feat(PerfectRing): roots of Polynomial.expand

Inspired by #9271

[X] depends on: #10016

Looks like that this PR also depends on #10016.

I have merged #10016 into this branch and it includes some additional material (WIP).

I have merged #10016 into this branch and it includes some additional material (WIP).

Oh OK. I have nothing to add into this PR; feel free to push your changes.

Thanks!
bors merge


chore: remove dead code relating to single hop trade ui

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

High Risk PRs Require 2 approvals

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Engineering

Operations

Screenshots (if applicable)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

develop

PR #6051

PR #6077

PR #6080

PR #6113

PR #6117   👈

This stack of pull requests is managed by Graphite.


Use docker-based cli for AWS

[ ] Add GH Action test with USE_DOCKER-true https://github.com/civiform/cloud-deploy-infra/blob/main/.github/workflows/aws-oidc-deploy-test.yaml
[ ] Make sure it will work from https://github.com/civiform/civiform-staging-deploy/blob/main/.github/workflows/aws_deploy.yaml
[ ] Switch the scripts in https://github.com/civiform/civiform-deploy and https://github.com/civiform/civiform-staging-deploy to use docker by default

Will need to update the current deployment docker file.  When running the setup command on amd64 the container fails with:
  File "/cloud/aws/templates/aws_oidc/bin/aws_cli.py", line 31, in get_current_user
    res = self._call_cli('sts get-caller-identity')
...
FileNotFoundError: [Errno 2] No such file or directory: 'aws'

The No such file or directoy: 'aws' error, in this case at least, really means that the aws executable is dynamically linked against libraries that are not present on the host.  I changed the docker compose file command to bash to give me a shell in the container:
bash-5.1# ldd $(which aws)
        /lib64/ld-linux-x86-64.so.2 (0x7f843b354000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f843b354000)
        libz.so.1 => /lib/libz.so.1 (0x7f843b33a000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f843b354000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f843b354000)
Error relocating /usr/local/bin/aws: __strcat_chk: symbol not found
Error relocating /usr/local/bin/aws: __snprintf_chk: symbol not found
Error relocating /usr/local/bin/aws: __vfprintf_chk: symbol not found
Error relocating /usr/local/bin/aws: __realpath_chk: symbol not found
Error relocating /usr/local/bin/aws: __strdup: symbol not found
Error relocating /usr/local/bin/aws: __memcpy_chk: symbol not found
Error relocating /usr/local/bin/aws: __vsnprintf_chk: symbol not found
Error relocating /usr/local/bin/aws: __strcpy_chk: symbol not found
Error relocating /usr/local/bin/aws: __fprintf_chk: symbol not found

Turns out this is a known issue: https://github.com/aws/aws-cli/issues/4685

@avrittrohwer I don't think this is completed given that we haven't switched to docker by default?

Yes I did not mean to close the entire issue.  I meant to mark that the above comment has been resolved


Check whether LaTeX is installed before telling matplotlib to use it!

As happen in KrasellSmith in the first cell (see issue #55) code:
matplotlib.rcParams['text.usetex'] = True

KrusellSmith isn't a DemARK anymore.
https://github.com/econ-ark/KrusellSmith


Function to activate "mode" with a single Method

Splitting this work from https://github.com/fohrloop/wakepy/issues/69 into its own ticket.
Motivation

Method class in current main branch (unreleased) has too much responsibility. Make the Method class to be just for definitions of the Method. This will be used for subclassing.
a activate_using(method, ...) function could be used to activate a "mode" with just a Method class; no need for Mode. This is going to be a helper function in #69.

Task

Refactor the Method class as described above
Create a activate_using function which looks something like this

def activate_using(methodcls: MethodCls, ...) -> tuple[MethodUsageResult, HeartBeat|None]:
    method = methodcls()
    if check_platform_support(method) is False:
         return MethodUsageResult(failure_stage=PLATFORM_SUPPORT), None
    if check_requirements(method) is False:
        return MethodUsageResult(failure_stage=REQUIREMENTS), None
    entered = try_enter_mode(method)
    heartbeat_started = try_heartbeat(method)
    if not entered or not heartbeat_started:
        return MethodUsageResult(failure_stage=ACTIVATION), None
    if heartbeat_started:
        heartbeat = Heartbeat(method)
        heartbeat.start()
    return MethodUsageResult(), heartbeat

In this first version, the returned heartbeat can always be None and there will be separate task for creating the Heartbeat class. The Heartbeat might not be part of 0.8.0 release as there are no heartbeat-based Methods yet.
Create the required functions for checking platform support, checking requirements, entering a mode and calling heartbeat. Clean up the old implementations.

Closed with PR 107


Matomo

Hello, I use Matomo and don't know how to link it to the cookieconsent. Can someone help me with an example or something else?

Hi @sakis-tech,
you need to use matomo's api. You can find an example in https://github.com/orestbida/cookieconsent/discussions/279.

Hello @sakis-tech - in most cases you dont need consent for matomo, as you can host it locally. I added it as a necessary cookie, working in germany.

Hi @sakis-tech,
you need to use matomo's api. You can find an example in #279.

Thank you @orestbida  for the tip. That helped me.
I have still one question. Is there a way to combine the Matomo cookies "_pk_id.*" , "_pk_ses.*" and "mtm_consent_removed" in a custom cookie such as "matomo_cookies"?

@sakis-tech unless there is a config. option offered by Matomo to do so, I don't think it's possible.
There is however an option to disable all matomo's cookies, but it impacts the analytics' data accuracy.

I understand, all right. then the issue is closed for me. Thank you for the great support.

I have now switched to V3 and unfortunately do not know how to integrate Matomo there. Can you help me with that?
Many Thanks.

The easiest way is via script tags:
<script type="text/plain" data-category="analytics">
 _paq.push(['setConsentGiven']);
</script>

<script type="text/plain" data-category="!analytics">
 _paq.push(['forgetConsentGiven']);
</script>

or you could configure it the same way as in v2.
cc.run({
    onConsent: () => {
        if(cc.acceptedCategory('analytics')) {
            _paq.push(['setConsentGiven']);
        }
    },

    onChange: () => {
        if(!cc.acceptedCategory('analytics')) {
            _paq.push(['forgetConsentGiven']);
        }
    },
});

Note: cc is a shorthand for CookieConsent.

Hello @sakis-tech - did you add the cookie consent as a plugin? I would recommend to add all scripts (cookieconsent, google tag and so on) as a plugin.
My configuration with Nuxt 3:
Install via npm vanilla-cookieconsent
/plugins/cookieconsent.js
import 'vanilla-cookieconsent';

const config = {
    current_lang: document.documentElement.getAttribute('lang'),
    autoclear_cookies: true, // default: false
    page_scripts: true, // default: false
....
...

export default ({ app, store }, inject) => {
    inject('cookieconsent', () => {
        // obtain plugin
        var cc = initCookieConsent()

        // run plugin with your configuration
        cc.run(config);
    })
  }

in the nuxt config you can add it like this:
 plugins: [       '~/plugins/cookieconsent.js'     ]
finally, you can add it to your mounted functions in app.vue:
`mounted() {
window.addEventListener("scroll", this.handleScroll);
document.documentElement.classList.add('dark')
this.$cookieconsent()
    },`

thanks everyone, i made it with the script tag and it works.


remove openblas from conanfile

remove openblas from conan, due to the default use sve instrinsic when compiling on gravition 2 platform.
issue: #466

/lgtm

/kind improvement


Missing 'model.CLASSES' field in the pre-trained model for the open images dataset

I tired mapping the output index predicted by the model to label name using a list created using this file (https://storage.googleapis.com/openimages/challenge_2019/challenge-2019-classes-description-500.csv). But, the ordering isn't correct.
How do i get the correct ordering, since model is missing model.CLASSES ?

I update the data download link in readme and you can find a cls-label-description.csv in challenge2019.

Hi, I found the link was broken, could you please update the link?
Thanks!

https://drive.google.com/file/d/1-CnE3akagnoyDarrDuKTl7OF9vwF_rA3/view?usp=sharing   You can download with the link.


[New Request] Positional arguments

Describe the bug
For using commands with the new arguments and flags options, there would be the need to have arguments and/or flags to be "positioned" at the end (for example)
To Reproduce
In a bundle, using ssh with the need to have a command at the end is currently not possible using the "clean" way.
The original command (read: outside a bundle) is:
ssh host -l username -p port uname
Currently, here is how the command would be translated using arguments and flags:
command: ssh
arguments:
   - host
flags:
   l: "username"
   p: "port"

as the arguments cannot be called again, the last command is not possible to insert.
Instead, today there would be the need to call the command within a shell call:
command: bash
flags:
   c: "ssh host -l username -p port uname"

Expected behavior
Based on the examples above, I would hope something like this would be possible:
command: ssh
arguments:
   - host
   - command:
      postion: after=flags=p / last/ <position X>
flags:
   l: username
   p: port

Porter Command and Output
N/A
Version
Copy the output of porter version below
porter v0.20.2-beta.1 (3df87f1)
Hope this will make sense and thanks a lot for work ♥

How often does this occur? ssh is pretty important, but the workaround isn't hard. I do not see this as a bug at all, but a ux issue (which is still important generally).
Or, I could ask this another way: What is the argument that all possible commands should be modeled in yaml properly? Where is the dividing line for usability?

@nunix Good news! @gaurimadhok just added support for this in Porter in #1144, so it's coming very soon. 💥


Failed to deserialize CompileTimeKeyframe because splitting by @ did not result in 3 tokens!

Running the latest code on Unity 5.3.5f1 on OS X 10.11.5, I got this error immediately after installing the tracker in my project and Unity compiled it:
Failed to deserialize CompileTimeKeyframe because splitting by @ did not result in 3 tokens!
UnityEngine.Debug:LogError(Object)
DTCompileTimeTracker.CompileTimeKeyframe:Deserialize(String) (at Assets/CompileTimeTracker/Editor/CompileTimeKeyframe.cs:18)
DTCompileTimeTracker.CompileTimeKeyframe:<DeserializeList>m__4(String) (at Assets/CompileTimeTracker/Editor/CompileTimeKeyframe.cs:42)
System.Linq.Enumerable:ToList(IEnumerable`1)
DTCompileTimeTracker.CompileTimeKeyframe:DeserializeList(String) (at Assets/CompileTimeTracker/Editor/CompileTimeKeyframe.cs:42)
DTCompileTimeTracker.CompileTimeTrackerData:Load() (at Assets/CompileTimeTracker/Editor/CompileTimeTrackerData.cs:49)
DTCompileTimeTracker.CompileTimeTrackerData:.ctor(String) (at Assets/CompileTimeTracker/Editor/CompileTimeTrackerData.cs:29)
DTCompileTimeTracker.CompileTimeTracker:.cctor()
UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])

Subsequent compilations get the same error, but I do also see:
Compilation Finished: 22.68s (error)
UnityEngine.Debug:Log(Object)
DTCompileTimeTracker.CompileTimeTrackerWindow:LogCompileTimeKeyframe(CompileTimeKeyframe) (at Assets/CompileTimeTracker/Editor/CompileTimeTrackerWindow.cs:31)
DTCompileTimeTracker.CompileTimeTracker:HandleEditorFinishedCompiling() (at Assets/CompileTimeTracker/Editor/CompileTimeTracker.cs:46)
DTCompileTimeTracker.EditorApplicationCompilationUtil:OnEditorUpdate() (at Assets/CompileTimeTracker/Editor/Util/EditorApplicationCompilationUtil.cs:29)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

The time tracker window shows no information.
I tried creating an empty Unity project and adding the tracker and it seems to work fine there, no errors and data shows up in the window.

After going back to my main project, I no longer get the error. However, the compile times from the empty project are showing up in the window with my main project. That's really a separate problem so I'll make a new issue for that.

Did you have the old version of the tracker running in your project? It's possible that you then updated and the serialization was switched - leaving old / different formatted data in the editor prefs.
While you do get that error when failing to parse the tracker information, the next time the tracker saves it should ignore failed data + the data should be clean again.

I had never had the tracker installed before. The same thing occurred when I first did a build on another machine on the codebase, and then it also went away again. Looks perhaps like a problem with any brand new install.
John

On Jul 18, 2016, at 7:42 PM, Darren Tsung<EMAIL_ADDRESS>wrote:
Did you have the old version of the tracker running in your project? It's possible that you then updated and the serialization was switched - leaving old / different formatted data in the editor prefs.
While you do get that error when failing to parse the tracker information, the next time the tracker saves it should ignore failed data + the data should be clean again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/DarrenTsung/compile-time-tracker/issues/2#issuecomment-233402251, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVDtMglzJWOv2ugSkzLGpa2_l2oTvEHks5qW7rqgaJpZM4JNNVO.


Fix non-actionable code bugs: Storage

These issues are from Telemetry records, and most of them are caused by obvious code bugs. The detail error messages and the corresponding command and CLI version info can be viewed in the CLI error dashboard.
As the info of these issues are limited and may be more difficult to identify and solve, we opened a Teams channel for command groups owners to sync up the common error types and fixing methods. Feel free to share your experience and ask for help (if any) there.
A brief summary of the code bug errors of Storage here:

FailureType
EventCount

ModuleNotFoundError
17530

TypeError
1868

ValueError
1107

AttributeError
891

JMESPathTypeError
80

KeyError
77

IndexError
27

UnknownFunctionError
27

ArityError
15

NameError
11

SyntaxError
11

ImportError
5

UnboundLocalError
4

IndentationError
3

Non-actionable error messages are helpless to end users when Azure CLI error out. One of Fe OKR is to improve Azure CLI command pass rate for better user experience. We've identified non-actionable errors of top used command groups. Pls help to fix non-actionable errors. More detail in email. Feel free to ping us at teams,  or ping @houk-ms @yungezz  if any issue.

@Juliehzl  for awareness.


Before/After handlers

Hi,
I've not been able to get the Before/After Feature or Scenario event handlers working in my step definitions.
    this.BeforeFeature(/^Feature Name$/, function () {
        return helpers.loadPage('http://localhost/login').then(function() {
            return page.login.login(shared.testData.username, shared.testData.password);
        });
    });

Is there an example of how to do this? The above code works in a When - is something like this possible in a Before/After?
Thanks!

Hi @moogjet, apologies for the slow response. I've updated the readme to include example of before/after hooks


[Snyk] Upgrade @datadog/browser-rum from 4.43.0 to 4.44.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @datadog/browser-rum from 4.43.0 to 4.44.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2023-07-03.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closed via #205


Fix issue 57 and 64 - Add summaries to report for easier reading

Adds summaries to the final report for ease of reading:

Exchange server summary table
Mailbox database summary table
Failed tests comments list
Warning tests comments list

Closes #57

Closes #64


Image shrinks on first touch

When I do the first touch on the PhotoView (for example to zoom), the image automatically shrinks:

I use the PhotoView widget as a child of a RelativeLayout in a fullscreen Activity. And it only happens on the first touch after starting the Activity. When I try to zoom a second time, everything works as expected.

Can you reproduce this with one of the samples? I don't really see this happening in the samples.


Issue6 load mb config.json

Fixes #6
Loads all configuration settings in mb_config.json and returns an object of the settings.
To Test:
$ npm test

  ․․․․․

  5 passing (18ms)

  ․․․․․

  5 passing (12ms)

@sergii-tkachenko Good to go?
  ․․․․․

  5 passing (14ms)

:+1:


update audit-log presets

re https://github.com/cap-js/docs/pull/1443

@renejeglinsky thanks for fixing it, but I think there are two open points left:

I think https://github.com/cap-js/docs/pull/1443#issuecomment-2478252616 from @sjvans regarding default outboxed was not reflected (it's not false anymore)

I thought kind is the new level of abstraction from the internal implementation, which is there exactly to avoid such errors (plugin impl changed > config doesn't work anymore > documentation must be changed / code throws errors)
See the audit logging plugin impl
This is why I suggested to replace impl with kind in https://github.com/cap-js/docs/pull/1443
Is my understanding wrong?

Hi  @grenik
for the latter: As this kind is the implicit default (as you can see from the source you linked or by executing cds env requires.audit-log), there's no need to list it here. That way, you'd not benefit from any changes done within the plugin. If you stick to the defaults, you benefit from all the changes there. At least that is my understanding. Maybe @sjvans can confirm or improve my answer.
Wrt your first point, thanks for catching this! I'll fix it.

i'm a little torn on this one. i don't really see the value in [development]: { kind: 'audit-log-to-console' } without also listing what this predefined kind contains. but if we also add the three kinds, then the snippet gets way too long. that's why i actually kind of like the current state, because it reflects the effective env. but it really is confusing for the readers...

{
  "audit-log": {
    "handle": ["READ", "WRITE"],
    "outbox": true,
    "[development]": {
      "kind": "audit-log-to-console"
    },
    "[hybrid]": {
      "kind": "audit-log-to-restv2"
    },
    "[production]": {
      "kind": "audit-log-to-restv2"
    }
  },
  "kinds": {
    "audit-log-to-console": {
      "impl": "@cap-js/audit-logging/srv/log2console"
    },
    "audit-log-to-restv2": {
      "impl": "@cap-js/audit-logging/srv/log2restv2",
      "vcap": {
        "label": "auditlog"
      }
    }
  }
}


Json variables names

Maybe I didn't find the correct method, but I faced an issue using Dtos.
I'm doing some application with a backent and a frontend sharing the same dtos in a separate dll.
I used to do like this
     [JsonProperty("qnaList")]     public List<KBEntry> Entries { get; set; } = new List<KBEntry>();
but it seems Blazor doesn't support NewtonSoft Data Annottions.
What could be the good solution for that problem if there's one right now.
Thanks.

You should now be able to use Json.Net to accomplish this scenario.


Add hadolint (Dockerfiles linter) and begin work on shellcheck

Description
I encountered hadolint and wanted to try it out. Also a good excuse to try out shellcheck (although I haven't completed the work there yet, so it's not enabled in CI).
It's always good to have more linters.

I'll also run this branch on Aarch64 to make aure its build passes as well

I'll also run this branch on Aarch64 to make aure its build passes as well

Done - container build & exe build both pass


[Bug Report] el-tree, undefined scope.row before mounted

Element UI version
2.5.4
OS/Browsers version
Windows/Chrome Version 72.0.3626.81 (Official Build) (64-bit)
Vue version
2.6.2
Reproduction Link
https://jsfiddle.net/api/post/library/pure/
Steps to reproduce
open https://element.eleme.io/#/en-US/component/table
see "Custom column template"
Click "Try it" then see console log:
What is Expected?
No errors in console
What is actually happening?
Console.log
vue.js:633 [Vue warn]: Error in render: "TypeError: Cannot read property 'date' of undefined"
found in
--->
 at packages/table/src/table.vue

warn @ vue.js:633
vue.js:1882 TypeError: Cannot read property 'date' of undefined
at fn (eval at createFunction (vue.js:11412), :3:348)
at Object.normalized (vue.js:3914)
at Proxy.$options.render (index.js:1)
at VueComponent.Vue._render (vue.js:4807)
at VueComponent.updateComponent (vue.js:2937)
at Watcher.get (vue.js:3334)
at new Watcher (vue.js:3323)
at mountComponent (vue.js:2944)
at VueComponent.Vue.$mount (vue.js:8910)
at VueComponent.Vue.$mount (vue.js:11707)
logError @ vue.js:1882
vue.js:633 [Vue warn]: Error in render: "TypeError: Cannot read property 'name' of undefined"
found in
--->
 at packages/table/src/table.vue

warn @ vue.js:633
vue.js:1882 TypeError: Cannot read property 'name' of undefined
at fn (eval at createFunction (vue.js:11412), :3:585)
at Object.normalized (vue.js:3914)
at Proxy.$options.render (index.js:1)
at VueComponent.Vue._render (vue.js:4807)
at VueComponent.updateComponent (vue.js:2937)
at Watcher.get (vue.js:3334)
at new Watcher (vue.js:3323)
at mountComponent (vue.js:2944)
at VueComponent.Vue.$mount (vue.js:8910)
at VueComponent.Vue.$mount (vue.js:11707)

https://github.com/ElemeFE/element/issues/14303#issuecomment-461233228


socket.disconnect does not stop the connect loop

If the server is not available, there is no way to stop the .connect() retries.
I expect that if I call socket.disconnect the connect method will stop retrying.
You can reproduce this by using an invalid socket url.

Is this still an issue?

Hi, i will update the library in my project soon, and try to reproduce the issue.

this is still an issue. socket.disconnect does not stop the loop. is there any update in this?

I hope this is fixed in the latest release. Please try 0.2.2
I'm not actively doing dart/flutter work at the moment, so I'm not able to devote a lot of time to this project


Share File

I have added functionality to share files (images, pdfs, etc), both local and remote files. I have only implemented iOS and Android. Just run either the iOS or the Android Test project and click the "Share file" button.

Is there an API on Windows at all to do it? Just curious, we can specify in the docs that it only is an iOS/Android API.

Good question, I will probably be needing it in a couple of months so I will dive into it then.

So there are a few things here now reading through the code:
1.) For Android we would have to implement Permissions since read/write external is now
2.) These permissions should be added to the assembly
3.) If we don't support Windows platforms then they shouldnt' throw unless we implement a few properties on the interface called "SupportsLocalFileShare" & "SupportRemoteFileShare" else devs could get into trouble using the API
4.) Instead of WebClient could we just use HttpClient as it is a newer implementation and is better IMHO
5.) I would refactor your interface to be "Task" where it has a success boolean and a error exception and then get rid of the actual Error event as that is not a great way of handling situation. Else, just let it bubble up.

Sorry for the late response. This is my first time working on a Xamarin plugin, so I will have to dive in a little deeper. But I am a little busy right now so I will look at this later. ps: feel free to change it as you like.


Upgrade @expo/config-plugins to 9.0.0 for Expo 52

Just a heads up that with the drop of Expo 52 today, expo-doctor is warning that<EMAIL_ADDRESS>is being used and this is configured for ^8.0.6.
Description
Received this message from running npx expo-doctor@latest after upgrading to Expo 52:
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>  (for more info, run: npm why @expo/config-plugins)
Advice: Upgrade dependencies that are using the invalid package versions.

Steps to Reproduce

Create an Expo 52 project
Install newrelic-react-native-agent
run npx expo-doctor@latest

Expected Behavior
Expo doctor will run successfully and report no issues.
Relevant Logs / Console output
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>  (for more info, run: npm why @expo/config-plugins)
Advice: Upgrade dependencies that are using the invalid package versions.

Your Environment
Untested with build yet. Will report back soon.
Additional context
N/A

I am also having issues with this. My expo-go app auto-updated, so I was forced to upgrade to SDK 52 to use it. But now I get the same errors plus more when I run expo-doctor@latest. I have upgraded the dependencies, and even removed and reinstalled all of my node modules, but I can't resolve this error. npx expo install --check does not fix this either.
SDK 52 is also causing all of my builds to fail. I have reverted back to SDK 51, but now there is no way to test using the expo go application.
Expected package<EMAIL_ADDRESS>Found invalid<EMAIL_ADDRESS><EMAIL_ADDRESS> (for more info, run: npm why @expo/config-plugins) Expected package<EMAIL_ADDRESS>Found invalid<EMAIL_ADDRESS> (for more info, run: npm why @expo/prebuild-config) Advice: Upgrade dependencies that are using the invalid package versions.

@jamesboonstra It's unrelated to the SDK 52 support, but your options are laid out here (use Android, iOS simulators, or migrate to development builds).

@jake-carpenter we will fix this issue in our next release.

#208

we fixed it in latest release/

ndesai-newrelic

"latest release".. of what? :-)

same error..


StartupProjectRegistrar starts After ProjectFactoryCompletion

Also make sure to check for CanLaunch only on ProjectDebugger and not the other debuggers
@dotnet/project-system @BillHiebert for review
Fixes #514 #515

Can you back out the check for the specific debugger for the moment, but merge in the after project factory completion given this is blocking lots of people?

No longer relevant.


Fix maintenance procedure

Hi, I noticed that the procedure run_maintenance was not working properly when executing it.
This pull request fixes all errors.

Thanks for the fixes.


Search blob indexing article improvements

Switch to GitHub tables (so we can use markdown inside the table) and improve the content.

Hi @chaosrealm, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (eugenesh). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@chaosrealm
Eugene, as a Microsoft employee you should start working in the private repo. See the guidance https://github.com/Azure/azure-content-pr/blob/master/contributor-guide/tools-and-setup.md
Thanks


Correct SQL requirements for v/u_speed

The conditions for v_speed and u_speed are currently:
    CASE
        WHEN avg(b.radial_velocity_std) >= 2 AND avg(b.bird_density) >= 10 THEN round(avg(b.u_speed)::numeric,5)
        ELSE 0
    END AS avg_u_speed,
    CASE
        WHEN avg(b.radial_velocity_std) >= 2 AND avg(b.bird_density) >= 10 THEN round(avg(b.v_speed)::numeric,5)
        ELSE 0
    END AS avg_v_speed,

But those WHEN requirements should actually be stated per altitude and radar, not on the average.

[ ] Have requirements per radar
[ ] Have requirements per altitude in a specific altitude band
[ ] Sum speed from the altitudes that met requirements / divided by number of altitudes that met requirements (=> those not contributed are not affecting average)
[ ] If none of the altitudes meet the requirements: set to zero

Should these updates be included in the current visualization?

I only want to update this in the full query, not for each CartoDB call, therefore blocked by #86.

@hvangasteren, please review the new query. It does not yet include bird density.

Query has been reviewed and described


Enable Brotli compression

Summary of changes
Brief description of the proposed changes
Frontend
List all significant changes to Gatsby code
Backend
N/A
Test Plan

This compression is already enabled by default via Gatsby


Set extensionKind to ["ui", "workspace"]

As it stands, it's not possible to use the extension in Remote WSL, because the extensionKind is set only to ui. I believe, the correct setting would be ui, workspace.
Point is, I'm trying to set up a remote WSL session and it won't let me install it inside WSL, which is something you mentioned in another issue that we should be doing.

Nope. Don't set workspace extensionKind. It will be slow with remote extension host.
To use WSL neovim, set useWSL to true and specify wsl path to neovim

Does this apply to WSL 2, too? When I try setting it up with the linux path to my nvim.appimage, nothing happens. I don't see any errors, nothing in the logs, basically just nothing at all.
Here's the relevant section from my config file. I'd love to help debug it, if I can.
    "vscode-neovim.neovimPath": "/home/dany/nvim.appimage",
    "vscode-neovim.useWSL": true

Does this apply to WSL 2, too?

Yes, i'm using neovim installed in WSL 2 ArchLinux, but not through the appimage
Dumb question, but did you reload vscode after setting the config?

yep, I did. Let me try and get a non-appimage version.

I just tried appimage version - works for me after installing required deps (libfuse and may be something else) and chmod +x nvim.appimage
sudo pacman -S fuse3 libappimage fixes it for me
Try to run appimage through the terminal and see if it works

ya, it's happily loading. Just to be sure, it should be sitting in the user config, right? Or any other one of them?

Is there any kind of log I could see what's going on?

running this from command line works perfectly fine, btw:
wsl /home/dany/nvim.appimage

Just to be sure, it should be sitting in the user config, right? Or any other one of them?

Can be in other config i think, but non-user configs haven't been tested

Is there any kind of log I could see what's going on?

Not yet. Check in developer tools if you see any exception - vscode also usually displays notification if the initialization throws

I'd suggest to try non-appimage version then

I'll have to debug it next weekend or so, going on a business trip next week. I'll keep you posted, once I figure it out.

Ok, I know what's the problem. The command for launching in nvim is bash-specific and therefore it fails to create a process. Or, more precisely, the process dies almost immediately after being created, because it doesn't actually spawn nvim.
https://github.com/asvetliakov/vscode-neovim/blob/21ba0eb0ac483f45d73fb1333e46ae3178e4448d/src/controller.ts#L267
This line does a $(wslpath 'c:\blabla'). But that code doesn't work in fish, which is my default shell. So we should probably either start nvim inside of a bash, or somehow make the path resolution shell-agnostic.
Sorry to cause trouble.

Oh yeah, thank you for the investigation, i'll create separate issue


Create actions-k8s

@Durbois This PR is out of scope for the current repo and should be closed, sorry.
/close


chore: use skip instead of comment

Description of what you did:
Use skip() instead of comment.

My PR is a:

[ ] 💥 Breaking change
[ ] 🐛 Bug fix
[x] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

(Just a side comment) In our test result log,  I saw:

97 passing  and 3 Pending

due to mocha.skip. Mocha.skip is nice feature, but using Pending to describe skipped tests is a bit confusing.
https://travis-ci.org/IBM/kui/jobs/559414765#L2651


Add support for oom functions

Add tests for oom-kill-disable and oom-kill-adj
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

@mheon @baude @umohnani8 PTAL

@rhatdan This looks like just tests and no code? Is it already implemented?

That might explain why it is not working.

Might be time for me to leave for the day

Happy on Travis, but there looks to be some flag difference that's causing centos to spit up.

@rh-atomic-bot r=TomSweeneyRedHat

@rh-atomic-bot r=TomSweeneyRedHat


Download into "Special Folder" on Android issue

Description
Using the library FluentFTP, downloading a file(s) to the "Special Folder" on Android
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
Does not work in SK builds over 0.3.6 Final. Breaks in 0.3.7 preview-1.
Platform / Environment
Quest 2. Works on Windows desktop.
Logs or exception details
Nothing really useful to you I think, but let me know if you need anything.

So this was a lot simpler than I had anticipated. When I wrote the code back in 0.3.6, I used @"" to build file path strings, however once 0.3.7-Previews started coming out, this only works if I change the backslash to a forward slash, such as @"/" which is proper on linux flavored systems, and perhaps ok on Win11 too now?
Not sure what changed under the hood, but as it's working fine for me I'll close this issue!

Windows will take whatever slash you throw at it, yeah! But on Linux based systems, you need to make sure you get case sensitive and everything, it's waaay pickier. Glad this worked out for you! I'll have to find a good way to at least message this, maybe a doc on platform compatibility? 🤔


SsODNet name resolver should be more restrictive

We probably do not need to extract every space junk or exoplanet from there, just something relevant for Fink. Supposedly, these are asteroids and comets only?..
We should use /sso/search endpoint there, documented at https://doc.ssodnet.imcce.fr/quaero.html#toc30
Example code is below (it also contains a hint how to do slightly more exact search.
name = '21.*' # Match beginning of strings, like instant-search is doing
#name = '21' # Match whole word only, better for exact search

r = requests.get(
    'https://api.ssodnet.imcce.fr/quaero/1/sso/search',
     params={'q': "(aliases:'/{}/' OR name:'/{}/') AND (type:(Planet OR Comet OR Asteroid))".format(name, name)}
)
r.json()

Possible types are accessible with
requests.options('https://api.ssodnet.imcce.fr/quaero/1/sso').json()

As of now, they are
['Asteroid',
  'Spacejunk',
  'Spacecraft',
  'Exoplanet',
  'Comet',
  'Satellite',
  'Planet',
  'Dwarf Planet',
  'Interstellar Object',
  'Rogue Planet',
  'Star']

Thanks @karpov-sv -- indeed we should definitely use the type option, restricted to only Planet OR Comet OR Asteroid. It would be good to keep both types of query, that is the exact search as the first suggestion, but also a list of suggestions. From my experience, there are two main queries:

people remember vaguely the name of an asteroid, but not exactly -- in which case they want suggestions for names and corresponding number (if it exists)
people types the exact number.


adds examples for testing

This PR does the following:

Adds an 'examples' folder with two projects that are meant to be used to do local testing.
Adds a README in the examples folder to explain how to use these projects for local testing.

The purpose of this is to add examples that can be used to more easily test local changes to the SDK when doing work to the SDK.

@Weimin-Wan  will review


check input to split function is dataframe or series

I have made changes to the sktime/forecasting/model_selection/_split.py file in lines 99- 103 . this changes now accept DataFrames.

this is now fixed with other things in #1456


Chromium Edge should be added to SharePoint-Compatible PDF readers

Chromium Edge should be added as a supported viewer for windows 10 in this page (https://docs.microsoft.com/en-us/microsoft-365/compliance/sp-compatible-pdf-readers-for-irm).
The following page shows Chromium Edge is supported for SharePoint IRM.
https://docs.microsoft.com/en-us/azure/information-protection/rms-client/protected-pdf-readers
Support for previous formats

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

ID: 7da662e1-5ae5-7760-1321-26cd2bab997a
Version Independent ID: 60319761-1406-6c06-1620-e1a484468879
Content: SharePoint-Compatible PDF readers that support Microsoft Information Rights Management services - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/sp-compatible-pdf-readers-for-irm.md
Service: o365-seccomp
GitHub Login: @KCCross
Microsoft Alias: krowley

@mitanabe Thank you for your feedback. We have added Chromium Edge to the list and the same can be tracked viaPR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/3316
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @mitanabe Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Time picker missing in Datetimepicker

Overview of the problem
Oruga version: [0.5.*]
Vuejs version: [3.2.26]
OS/Browser: Firefox 96 & Chromium 90 on Linux Mint 20.3 (64-bit)
Description
The time picker is not visible under the date picker on Datetimepicker.
I have been testing with Oruga 0.5.0, 0.5.1 and 0.5.2, the issue is always present.
I downgraded Oruga to 0.4.8, the issue is not present.
Steps to reproduce
The issue is visible in the online documentation : https://oruga.io/components/Datetimepicker.html#examples

Click into the input field
The datetimepicker opens
The user can select a date, but the timepicker is not present

Expected behavior
Back to Oruga 0.4.8, the timeticker is visible under the date picker
Actual behavior
The timepicker is missing

Thanks a lot for being so reactive!


feat-#419: Added post editing functionality

Summary
This PR completes the post editing functionality in the application.
Description
A separate form component is created and used to create two pages. Add blog page and edit blog page.
Images
https://github.com/krishnaacharyaa/wanderlust/assets/109821078/6fe07373-c01c-4074-89ab-d7574ffc3467
Issue(s) Addressed
Closes #419
Prerequisites

[x] Have you followed all the CONTRIBUTING GUIDELINES?

pushed the requested changes

@devsharmagit any progress ?

@devsharmagit please see the attached video above in the comments, you'll get a good picture about stuffs and  let's please try to close it this weekend, of required take help of @siddharthisrani he has recently worked on in this
@siddharthisrani can you please help him if required the local storage part

@devsharmagit acknowledgment please

@devsharmagit you there ?

how do i contact @siddharthisrani  ?

Figure out @devsharmagit 🙂
GitHub ping him , or connect to him over linkendin, see his profile

@krishnaacharyaa
instagram link was there on his github profile
i messaged him there

Don't be dependent see the video shared and figure out...
Basically we should play with tokens not local storage...
Take the challenge and do it ...
Complain thoo sab kartte hei 😉

@krishnaacharyaa
can you check useAuthData.ts ?
i dont think that we are using local storage. we are using token there

Cool hei tho fir, not sure why i saw it being taken from the localstorage. Sorry for the miss


fix: add type: "module" to vitest-environment-miniflare

fixes #645

@mrbbot thank you! I was about to reach out for help.
I tried to figure it out independently, but I couldn't because of my lack of experience with the tooling.
Another approach I thought of (but couldn't explore) is some post-processing of the package.json in the build process. Not sure if your build pipeline supports it though


Filter expressions not being applied

Environment
Delta-rs version: 0.22 (Tested multiple versions up to latest)
PyArrow version: 18.0.0

OS: Mac 14.4 (23E214)
Delta table on S3

Bug
What happened:
When applying a filter expression (lighting == "day") using pyarrow.dataset, no results are returned. However, if I do not apply the filter at this stage and instead filter the resulting pandas DataFrame (results[results["lighting"] == "day"]), I find that rows are filtered out, confirming that data matching the condition exists in the dataset.
What you expected to happen:
The filter method should correctly return rows where lighting == "day" when applied directly on the pyarrow.dataset.
How to reproduce it:
Given a delta table as such
CREATE TABLE hive_metastore.dwh.table_name (
  key STRING,
  ...
  lighting STRING,
  ...
  h3_id_res9 BIGINT)
USING delta
PARTITIONED BY (h3_id_res9)
LOCATION 'dbfs:s3_path'
TBLPROPERTIES (
  'delta.minReaderVersion' = '1',
  'delta.minWriterVersion' = '2')

# Python code

delta_table = get_delta_table(table_path, dynamo_table_name)
partitions = [("h3_id_res9", "in", str(608716487191953407))]
condition = pc.equal(ds.field("lighting"), "day")

# Apply filter directly on pyarrow dataset
results = (
    delta_table.to_pyarrow_dataset(partitions=partitions)
    .filter(expression=condition)
    .to_table()
    .to_pandas()
)

# Results are empty
assert results.empty, "Expected non-empty results, but got none."

# Remove filter and filter using pandas
results = (
    dt.to_pyarrow_dataset(partitions=partitions)
    .to_table()
    .to_pandas()
)
results_filtered = results[results["lighting"] == "day"].reset_index(drop=True)

# Results are non-empty and rows were filtered as expected
assert not results_filtered.empty, "Expected non-empty results, but got none after pandas filtering."

More Details:

In other tables, I am able to filter the data, so I don't think it's tied to data type

Can you provide an MRE that I can run as-is with deltalake only

I haven't been successful in replicating the error with mock data.
I did however find that if the filter is ran with match_substring, it returns values.
This condition fails:
condition = (ds.field("lighting")==np.str_("day"))
This returns the expected values:
condition = pc.match_substring(ds.field("lighting"), "day")
After checking the data, there are no values with spaces or other characters.
Any ideas on what else I can check?

I haven't been able to replicate the error using mock data. However, I discovered that applying the filter with match_substring does return the expected values.
For example:
This condition fails:
condition = (ds.field("lighting") == np.str_("day"))

This returns the expected values:
condition = pc.match_substring(ds.field("lighting"), "day")

I've already verified that the data does not contain leading or trailing spaces or unexpected characters in the lighting column.
Any ideas on what else I can check?

Can you check the statistics for that column for all your add actions? Maybe there is something happening there.
Without an MRE it's difficult to help here


[BUG]: ERROR "(TypeError) unsupported operand type(s) for +: 'int' and 'NoneType'" in flow_execution_context.py / _trace.py

Describe the bug
When an environment variable is passed to a PropmptFlow Docker deployment, the error
`

(TypeError) unsupported operand type(s) for +: 'int' and 'NoneType'

`
is returned
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

Create a flow
Create a Docker image
Place the Docker image within a POD/Deployment
Add an environment variable to the POD, like "APPLICATIONINSIGHTS_CONNECTION_STRING"

Expected behavior
No errors are returned, the variable is correctly used,
Screenshots

Running Information(please complete the following information):

Promptflow Package Version: 1.15.1
Operating System: Ubuntu 20.04
Python Version: 3.9.17

Additional context
The error is raised at line 101 It seems that the problem is focused on the line of flow_execution_context.py, however the real problem is actually at line 144 or _trace.py which could be easily fixed by replacing
key: self._span_id_to_tokens[parent_span_id].get(key, 0) + tokens.get(key, 0)
with
key: str(self._span_id_to_tokens[parent_span_id].get(key, 0)) + str(tokens.get(key, 0))

It may possibly be related to this issue.
https://github.com/microsoft/promptflow/issues/3751

It may possibly be related to this issue.
#3751

Yes, it seems the same problem

This is fixed with promptflow-tracing 1.16.1


python: Apply patch for CVE-2019-20907

Motivation for this change
Patch issue directly instead of waiting for a new point release since I doubt that there will be another release for Python 2.7. Including the patch file in tree because the upstream patch target is Python 3 not Python 2.
Needs backport to 20.03.
Re #94004
Things done

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

[x] NixOS
[x] macOS
[x] other Linux distributions -> Ubuntu

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Please use git format-patch on https://github.com/python/cpython/pull/21454/commits/1fa6ef2bc7cee1c8e088dd8b397d9b2d54036dbc.

will do

@FRidh better?

@FRidh would perhaps be a good idea to merge this into staging not master due to the large rebuild set


Problems running pyleecan on Anaconda

When I installed pyleecan from the anaconda prompt, I got this. I don't know what is this supposed to mean but then I get this when trying to run pyleecan GUI

As mentioned on the site, https://www.pyleecan.org/get.pyleecan.html, I changed my environmental variables but then too I get the same errors. Furthermore, after changing the environment variables, anaconda navigator has stopped opening. I had too uninstall and reinstall it but it still doesn't open.

For the above error you should downgrade PyQt to maybe 5.15.3 or even 5.15.2 and rerun pip install pyleecan, since installation of requirements was incomplete because of the error.
As I told, sometimes it is necessary to manually install some of the required packages.
But it could also be some issue with the requirements.txt of pyleecan. I will check this later.

... I also think you should delete the environmental variable, since I can start the GUI (with Anaconda) without it ever set.

How do I downgrade the version, like type in cmd "delete PyQt" and then "install PyQt 5.15.3"?

You can do 'pip install --upgrade PyQT==5.15.3', but this is not a pyleecan related question.
You just open the requirements.txt file in you favorit editor, to which other packages are needed for pyleecan (and which version).

So I am unable to install any older versions as it says they don't exist. Anytime I have reinstalled pyleecan through anaconda it installs the latest version of pyqt5

So I was able to downgrade the versions of both pyqt and pyqtwebengine. Then I uninstalled pyleecan and reinstalled it and it still shows the same error

But you were able to start the GUI before on cmd or VS?!
From the error message it seems that this is some PySide2 / Anaconda issue (not related to pyleecan).
Can you check if shiboken2 is installed e.g. with 'pip list'.

yeah before, when I installed pyleecan directly from python, I was able to run the GUI. I needed anaconda to run the jupyter notebooks. shiboken2 seems to be installed

One last thing you could try is to setup a new empty environment in anaconda and try installing pyleecan there.
Otherwise you should find someone who know anaconda better than me.

Can you elaborate on new environment? Do you mean a new path? Yeah you mentioned in the last thread that you did not know anaconda so I started a new one in the hopes that someone may respond. No one else did so I can only hope someone comes looking here otherwise I will be unable to run the jupyter notebooks.

In anaconda there is a side menu 'Environment' where you can setup a new one.
That also the point about environments, you can switch between them and install   only the packages you need for some purpose. So you can avoid cinflicts between packages, etc. You can even install different python versions that way.

yup tried that I still have the same issue. Thanks for your help anyways. So, should I just close this thread and start a new one?


Success page

Wow ok, it would actually be quite a bit more work than expected to get any gain out of this beyond the default experience. Not gonna continue to spend time on this.


Pin CI to 3.1.2 to match Gemfile

Codecov Report
Base: 97.2% // Head: 97.2% // No change to project coverage :thumbsup:

Coverage data is based on head (3d0e15c) compared to base (c9fc71e).
 Consider uploading reports for the commit 2b74f70 to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #60   +/-   ##
=====================================
  Coverage   97.2%   97.2%
=====================================
  Files         21      21
  Lines        253     253
=====================================
  Hits         246     246
  Misses         7       7

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


"A script on this page is causing Internet Explorer to run slowly"

Hi Guys,
I know we all hate IE but alas I have yet to convince the powers that be to move away from it....
My problem is that  when using JSTree with IE (JSON data plugin using AJAX) and adding a large number of nodes (eg 2500) I get the "A script on this page is causing Internet Explorer to run slowly" message.  I've experienced this with IE6 and IE8.
Firefox / Chrome no problems at all but unfortunately the users are forced to stick with IE.
Is there anything that can be done to avoid this?  Had a look around but seen nothing obvious....

The solution is to now load everything at once. Use recursive loading on demand.

My problem is when I have one parent node with approx 2,500 child nodes.  Loading on demand with this volume causes the same issue.
My understanding is that this warning dialog is triggered by IE when 5m expressions have been executed.  Are there any config settings that can be set to reduce the work being done by jstree?  For what it's worth I'm makeing use of progressive options in JSON_DATA already.

If you have 2500 child nodes to one parent I'd say you have a pretty big usability problem.

That's the crazy users fault and there's nothing I can do about that.  What I need to do is workaround the problem as best I can.  I've various strategies but I was just wondering if any steps that could be taken to reduce the amount of work jstree is doing when it adds child nodes.
I'm guess that the answer is either "no" or just that you don't know; which is fair enough.  Thanks anyway.

Had same issue, resolved like:
http://groups.google.com/group/jstree/browse_thread/thread/6f3259198e74b396/9dc1e76eb068948d#9dc1e76eb068948d

Thanks very much!  Will take a look at this...

Make each node in your Json data with as little information as possible: the less branches in your nodes, the less code is run to traverse it.
For instance, try using 'data' : 'node title' instead of 'data' : {'title' : 'node title'}
or put attributes in the <li> tag instead of the <a> tag. Even better: do not use the 'attr' node at all.


Fix api call

Issue
Fixes #205
Solution
Insert path_prefix in to the api call url.
Testing Instructions

Deploy Loki
Relate to Traefik
Relate to a logging client
See if Loki is up

Release Notes
Fixed a bug where Loki-k8s fails when used with Traefik-k8s

We are consistently getting locked up trying to scale down at all. I've been trying to sift through Traefik's GH CI, but does that test work locally? If it doesn't, we may want to debate disabling it while we sort out the root cause as long as we think it's just CI


internal functions issue

Hi,
I am trying to build a 4-layered thalamocortical network, but I have stumbled across some issues with dsPropagateFunctions. I have built the simplest network just to try and decipher where the problem is, but I had no success with that.
Here is the link to my network files: https://github.com/The-Tea/4layers-network
I would appreciate any help! Thanks in advance!
Tea

Can you post the specific error and a minimal example to illustrate it?

closing due to inactivity


Error in SupportKitCordova.m

Hi, there is an error on the file SupportKitCordva.m on line 61, there is a ']' missing, the code should be like:
- (void)setUser:(CDVInvokedUrlCommand *)command {
    NSDictionary *user = [command argumentAtIndex:0];

    SKTUser *currentUser = [SKTUser currentUser];
    [currentUser setValuesForKeysWithDictionary:user];

    id timestamp = [user valueForKey:@"signedUpAt"];
    if (timestamp && [timestamp isKindOfClass:[NSNumber class]]) {
        NSTimeInterval seconds = [timestamp doubleValue] / 1000; // covert from milliseconds to seconds
        [currentUser setSignedUpAt:[NSDate dateWithTimeIntervalSince1970:seconds]];
    }
}

hm.. I fixed it a little while ago: https://github.com/supportkit/supportkit-cordova/commit/92587858be2c1d23d283835570fad7bea2a7bb7d
Did you recently pull in the code?

I am using Meteor, and it uses NPM for the cordova plugins, so I think it should download the latest version (1.1.13 ?), to add it on Meteor I used:
meteor add<EMAIL_ADDRESS>

Y think it's an error in Meteor, but please take a look a this fork:
https://github.com/cosio55/supportkit-cordova
with this you don't need to add any libraries or files in Xcode because the plugin loads them directly, can I send you a pull request?

hey @cosio55 nice! But I wouldn't include the Supportkit frameworks directly because it won't stay up-to-date. However, maybe it can pull in the main repo directly.

Hey @edchan77 I made some changes to the recent Smooch, check this fork again, I think you can include the Android installation directly using this plugin, and also there is a better way to add the JS files, check it out: https://github.com/cosio55/smooch-cordova

Hey @edchan77 I made a new pull request, so that we can add the Android dependencies from the plugin.

Thanks @cosio55!
I've made many updates to the installation procedure based on some of what you did in your fork.

Amazing! @jugarrit I hope this makes it easier to add SupportKit to any Cordova app.


[DO NOT MERGE] test if build is triggered

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

Turned out Docs Build was busy.

Docs Build status updates of commit 1350829:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch usr/jasteph/prereleaseNotes has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Assistance in writing a Regex to remove Rainbow information

First of all, thank you for putting together this library. It's great work!
I share your motivation that Swift will become incredibly useful for command line programs. This is the reason that I started SwiftyTextTable to better organize complex console output.
I think our libraries are a natural pair, and I would like to make them work seamlessly together. Unfortunately, right now the escape sequences that Rainbow uses to inject color and style information are not compatible with my (rather naive) method of calculating string lengths to determine column widths. This is being tracked in this issue: scottrhoyt/SwiftyTextTable#5.
It would be my preference to not introduce a dependency on Rainbow to keep the library as lightweight as possible. Therefore I was wondering if you could assist me in designing an algorithm to strip Rainbow styles and colors from a string for length calculations. From my light reading of the extraction methods already present in Rainbow, it looks like I can detect the presence of a formatted string, and if necessary, apply a regex to extract the text information out of the style information, but I would like to hear your thoughts on implementation. Thanks!

Hi, @scottrhoyt
Thanks for contacting and sorry for the late reply.
Yes, I guess you could have a regex for it. All attributed string in terminal would be started with the CSI control code \u{001B}[. Then followed by some mode code in the pattern of some digits and an "m". The attribute string would be terminated with u{001B}[0m.
Although I am not sure whether it is a complete set or not (I guess there are some other cases to display the same string), Rainbow is using the rule above and works fine. You can find the created string in the test files (RainbowTests.swift) for a reference as well.

Thanks @onevcat ! That's gives me most of what I need to know. Unless you have any better ideas than using a regex to pull out the text, feel free to close this.

@scottrhoyt Cool!
Good luck.


Update Windows pause image

Updating the windows documentation to reflect changes in the version numbering of the windows pause image.

/sig windows

could you also update the pause image section to use 3.6? https://deploy-preview-30327--kubernetes-io-main-staging.netlify.app/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#pause-container

Removing language/ko label, - I confirm that such small change does not affect on existing Korean transnlation

Thanks @jsturtevant sorry for the delay, this should be all now?

@perithompson sorry I think we are still missing a section right above the microsoft line:
Kubernetes maintains a multi-architecture image that includes support for Windows.
For Kubernetes v1.22 the recommended pause image is `k8s.gcr.io/pause:3.5`.
For Kubernetes v1.22 the recommended pause image is `k8s.gcr.io/pause:3.5`.
The [source code](https://github.com/kubernetes/kubernetes/tree/master/build/pause)
The [source code](https://github.com/kubernetes/kubernetes/tree/master/build/pause)
is available on GitHub.
is available on GitHub.

I was only searching on the mcr.microsoft.com image, I'm hoping I've found all of them now! @jsturtevant

@perithompson please revise this to only change English documentation.
Teams managing downstream localizations follow their own workflows to pull in updates and translate them etc.

and keeping language/ko label since actual Korean doc file is being updated

as the Korean reviewer is ok, should I just remove the Chinese content? as we are only changing an image tag, I thought consistency may be better as I didn't update any actual text?  Happy to remove the other languages though if that is the right approach

I recommend removing all the other languages. Once this merges it's fine to suggest the same change to those downstream localizations.

This PR looks good to me once you remove the other localization changes @perithompson! Thanks!

hi, @perithompson
According to the Chinese document guidelines, we will refuse to modify some pages of the Chinese document. Part of the modification is for the situation where there are other changes in the English upstream of the corresponding page that need to be synchronized. Once we merge this PR, we will not be able to determine whether there will be other upstream changes that have not been synchronized in the future based on when the file was last changed. Please understand that.
You can follow the Chinese document guide to synchronize all English document changes or remove the Chinese document in the current PR.
/hold

@perithompson, would you be willing revise this based on https://github.com/kubernetes/website/pull/30327#issuecomment-986343281 and similar feedback?
If it's easier to do so, you could close this PR and open a new one that only targets English.

@sftim @shuaijinchao @jimangel I have removed the other languages so this will be english only now

/hold cancel

/remove-language ko
/remove-language zh

Taking LGTM from https://github.com/kubernetes/website/pull/30327#issuecomment-986343281 plus own opinions.
/lgtm
/approve


Add support to sdk26 (Android 8)

The original version (NCV2) can run on my Android 8 Tablet, but this version (NCV3) can't.
After I used adb to install the apk file, I find this : adb: failed to install NClientV<IP_ADDRESS>.Debug.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl977301611.tmp/base.apk (at Binary XML file line #7): Requires newer sdk version #28 (current version is #26)]
Please add support to sdk #26, thanks

Done with Release 4.0.2

thank you!


Add resize handler for bottom panel

What should we do?
Design issue: https://github.com/camunda/camunda-modeler-design/issues/105

[ ] make properties panel resize handler a reusable component
[ ] add resize handler to the bottom panel

Why should we do it?
We defined the resize handler as a general concern and shall use it where applicable.
Depends on https://github.com/camunda/camunda-modeler-design/issues/90

I believed this was achieved with https://github.com/camunda/camunda-modeler/pull/3509


Custom function when working with 'isDayBlocked' -prop, odd functionality

isDayBlocked = day => {
    let notValid = true
    const dateRanges = this.props.avail.map(rng => {
      const dates = [
        moment(rng.startDate, "YYYY-MM-DD"), // example. 8.3.2018
        moment(rng.endDate, "YYYY-MM-DD")   // example. 11.3.2018
      ]
      const range = moment.range(dates)

      if (range.contains(day)) {
        notValid = false
      }
      return moment.range(dates)
    })

    return notValid
  }

<DayPickerRangeController
  {...calProps}
  isDayBlocked={this.isDayBlocked}
  ...

Following example gives unexpected behaviour with React Dates calendar. Idea behind this function is to get multiple date ranges from API and compare if React Dates day-variable is between each range.
In my example first date range is 8.3 - 11.3, on first render 11.3 is disabled. When calendar updates 11.3 seems to be un-disabled, but user is unable to select it.
I do use Moment Range -module to create range objects and compare this with React Dates, Moment-object.
Function also does return False for 11.3 from function but date is still shown as selectable.

This is issue with React Dates own moment object, which takes different timezone and therefore has different date value as with our date range.


add events collection class, and improved the response of /assets for be...

...tter UI parsing
@DanielJMaher

+1 Looking good


Minor typo fixes in API docs.

A handful of small typos jumped out at me while reading the API documentation.

Thanks!


Use type "menu" in navbar but with separate doc sections in sidebar

Hello,
Would it be possible to have my sections in a dropdown menu, but that every section is separate on the side bar, as if I used "type":"page"?

I don't think its possible. @B2o5T please help out here

I don't understand the question

For exemple if I click on Token in the dropdown menu, I only want the token doc on the left sidebar.

@cfranceschi-ledger I don't think what you're asking for is possible without modifying the codebase itself

Thank you @C-EO


UDPAddr leak

First of all, thanks for your work!
We have noticed when using Server that there is a slow UDPAddr object leak (see pprof heap inuse_objects diagram below) over time.
Looking into the code, it seems raddr are being added but only get cleared when the server closes down as it's UDP.

We are still looking into if we are doing something wrong and what might be triggering those incoming UDP connections in our network.

Hi @cooltea713705 .
Thanks for using sipgo. Yes I think solving this problem was not the best, but we needed to track this addresses.
I will take some time to look into this.


Rustoto and Azure links on main page point to the wrong page

The Rustoto (AWS) and Azure links under third party services on the main page point to https://www.arewewebyet.org/topics/services/#pkg-rusoto and https://www.arewewebyet.org/topics/services/#pkg-azure_sdk_for_rust but they now exist at: https://www.arewewebyet.org/topics/web-apis/
The links should point to the right location I think.

Fixed, thanks!

Wow you're fast! Thanks!


Add Entity#get

Get component instance from an entity by type.

It doesn't need to be Dynamic, right?
  inline public function get<T>(type : Class<T>): Null<T>
    return map.get(Type.getClassName(type));

Can't recall if a cast is needed there or not.

I come from typeless-ish world of php and javascript, I saw Something<T> notation but I don't even know how to search for it in docs.
D:/Dev/edge/src/edge/Entity.hx:38: characters 4-43 : Null<{ }> should be Null<get.T>
D:/Dev/edge/src/edge/Entity.hx:38: characters 4-43 : { } should be Null<get.T>
D:/Dev/edge/src/edge/Entity.hx:38: characters 4-43 : { } should be get.T

Adding unsafe cast removes those warnings. Commit that?

Yeah, go for it and I will fix it if needed.


Sundown

Moved PR from Heroku PHP buildpack to this repo, because this extension won't be merged.
I've copied the pecl script from the official buildpack. Creating a symlink isn't possible because the paths on line 8 en 44 aren't correct. I don't like copying code, but I couldn't find another solution.

thanks @martijngastkemper. The extension is now available for both PHP 5.5 and 5.6 in the extension repository.


[Question] Query by dbref field

I have small question about using dbref: for example i have following model:
class Order
{
  [BsonId]
  public Guid Id {get;set;}

  [BsonRef]
  public Customer Customer {get;set;}
  public DateTime OrderDate {get;set;}
}

class Customer
{
  [BsonId]
  public Guid Id {get;set;}

  public string Name {get;set;}
}

and i want to obtain all orders where customer name contains 'Bob'
var db = new LiteDatabase(path);
var orders = db
  .GetCollection<Order>()
  .IncludeAll()
  .Find(Query.Where(NameField, x => x.AsString.Contains('Bob'))
  .ToList()

but collections always empty. I try to setup logger instance and gain any additional information (may be error), but can't find any usefull info.
i try different values for const NameField:
$.Customer.Name
Customer.Name
Name

but no luck
i try to do that with IQueryable syntax:
var orders = db
  .GetCollection<Order>()
  .IncludeAll()
  .Find(x => x.Customer.Name.Contains('Bob'))
  .ToList()

with same result - empty collection.
so question is simple - can i use properties of dbref field in query or not.

information about environment:
lite db version: 4.1.4
xamarin android sdk - <IP_ADDRESS>

was anybody able to solve this problem? thanks

As option
var targetUsers = db.GetCollection<Customer>()
                    .Find(x => x.Name.Contains("Bob"))
                    .ToList();

var targetUsersIds = targetUsers.Select(x => x.Id);

var orders = db.GetCollection<Order>()
               .Include(x => x.Customer)
               .Find(x => targetUsersIds.Contains(x.Customer.Id))
               .ToList();

@mbdavid
Can we please have some kind of simple solution for that in 5.0.0?
We have pretty the same issue
When you have a chain of instances like:
A -> B -> C -> D (-> is a foreign key)
We'd like to get some A instances using foreign key and D instance in condition. But we can't even use C instance. It's a crucial moment I beleive.

In v5 you can query as expected. v5 contains a query engine that will made include before run filter. You can try in SQL like:
EXPLAIN
SELECT $
FROM Order
INCLUDE Customer
WHERE Customer.Name like 'JOHN%'

(using EXPAIN you will see how engine will resolve your query - remove EXPLAIN to run)


Grass shader walk displacement

We should use a displacement/normal map to bend the blades of infinigrass (tm) as you walk through it.

Note that this texture would need to be a 2D ring/torus, and we should condition the displacement on close distance from the character center to prevent tile bleed. We should also decrease/diffuse the displacement normals over time (grass restitution), and rather than doing this in CPU we should do all of the writing and displacement in a shader. Otherwise, we would basically be doing CPU based antialiasing and constant texture uploads w/ the DataTexture.

Grass implementation: https://github.com/webaverse/grass-anime


Why 2 bit mode SBQ divides into 3 regions instead of 4 ?

I was reading https://www.timescale.com/blog/how-we-made-postgresql-as-fast-as-pinecone-for-vector-data/ and your work on Statistical binary quantization is great, kudos for it!
One thing that caught my attention is that, from my understanding of the article, you are dividing the space on each dimension as follows:
|            00                 |               01               |             11                |
|-------------------------------|------------ median ------------|-------------------------------|
                        (median - stdev)                 (median + stdev)

Since storing it on two bits means you have four possible states, storing just 3 seems like we are missing an opportunity to store an extra state "for free" and further increase recall.
Have you considered making it work like:
|            00                 |       01      |       10       |             11                |
|-------------------------------|------------ median ------------|-------------------------------|
                        (median - stdev)                 (median + stdev)

Anyway, thanks for your contribution to the field. At @discourse we are using embeddings to power "Related Topics" feature on every forum we host, and I'm super interested on the possible gains on disk space saving when storing massive amounts of embeddings and binary embeddings showed great potential for us so far, see https://github.com/pgvector/pgvector/issues/521#issuecomment-2061634539.

hi @xfalcox, great question. The problem with the embedding you suggest is tha 01 XOR 10 = 11 which means a distance of 2 between regions that are next to each other. I'd want a distance of 1 between each region next to each other and I couldn't figure out how to do that in 2 bits with 4 regions.
But, maybe I am missing something. Open to suggestions.

If use 2 bit for each dimension, the compression ratio is 16x instead of 32x?

@cevian what happens in your 3 region split when you have 00 and 11, i.e. the first and last regions, the xor is then 11. Do you count this as a distance of 3 or 2 or something else?

@cevian to split into 3, you can convert 00, 01, 10, 11 to 000, 001, 011, 111 before doing the XOR and then do the xor and count bits as usual to calculate the distance. Or store these as 3 bit values from the beginning and use more space to save on computations.


Update README - last dependencies tested

I replace the last version of each dependency that I tested on Blackbird. I was wondering if in the installation instructions for python, numpy and swig we should change them for a conda install version, because the default versions that come with Ubuntu for example, are usually older than the ones from Anaconda.
@gforsyth  and @cdcooper84  what do you think?

I would be in favor of updating the instructions using both conda and pip.  In fact, we can provide files for conda and pip that can be used to install all the necessary dependencies (at least the Python related dependencies, people will have to install Cuda on their own).

I don't think we should explicitly add the instructions for conda and pip, we could just add a link to the official websites for instructions. They are both widely known, and I don't feel there is a need to rewrite those instructions. The only problem would be if the latest version breaks PyGBe for some reason, but Naty clearly states the latest versions tested. Let me know what you think of this.
I just edited a small typo in the pycuda instructions.

I agree that conda and pip are widely know. So we can just provide the number of the last versions we tested and let the user install them. In that case we should remove the line that says sudo apt-get install python numpy swig because doing that you are not installing the last version, so it might be confusing.
If we agree on that, then we can just point out the versions and say that you can install them using either conda or pip and provide the links to the official website.

I agree with that. However, I would include instructions on how to install swig, as it is less known. Is swig's website only way to get 3.0.8? If it is, then yes, we should remove sudo apt-get install python numpy swig from README, and point to the website.

I installed swig using conda, and I get  the latest version. So basically if they have either conda or pip then by doing conda install package or pip install package the are up to date, or if they specify the version they'll obtain the version they want.

Recommending the user to install the specific version of the packages by using conda or pip. I added a link to the main web page of conda and pip. If you think we don't need more changes, check it and merge it.

I'm okay with the README. @ncclementi, @gforsyth  go ahead and merge if you are good too.


Baklava cannot be used in a create-react-app

Using Baklava in a CRA fails the whole application
Steps to reproduce the behavior:

Just create a react app by running npx-create-react-app baklavareact
npm i @trendyol/baklava
Include Baklava library from CDN to your project's
Import BlButton in app.tsx
npm start

As far as I see you import BlButton from baklava.js. Instead you need to import it from baklava-react.js. Like
import { BlButton } from "@trendyol/baklava/dist/baklava-react";

If this is the reason we may consider improving our React document.
If that's not the reason, it would be great if you can reproduce this in a public place that we can debug.


Frequent AuthDecryptError on all connected orgs

Summary
While working, I'm deploying frequently to a sandbox and will be running the same deploy command multiple times. At some point I will get this error seemingly at random:
Error (2): Parsing --target-org
        Failed to decipher auth data. reason: Unsupported state or unable to authenticate data.
See more help with --help

After this happens, I check my connected orgs using sf org list and see that every single one has the same AuthDecryptError status. It's not just the org I was working on, it's all my connected orgs getting disconnected at the same time.
This problem happens multiple times a day. I'm not sure if this is a bug with the sf CLI or Salesforce itself, hoping you can point me in the right direction.
Steps To Reproduce
I honestly do not know how to reproduce this. It happens what seems totally randomly.
System Information

{
  "architecture": "linux-x64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.11.0",
  "osVersion": "Linux 6.10.8-200.fc40.x86_64",
  "rootPath": "/home/dpr/.nvm/versions/node/v20.11.0/lib/node_modules/@salesforce/cli",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.18 (core)",
    "@oclif/plugin-commands 3.3.4 (core)",
    "@oclif/plugin-help 6.0.22 (core)",
    "@oclif/plugin-not-found 3.1.10 (core)",
    "@oclif/plugin-plugins 5.1.3 (core)",
    "@oclif/plugin-search 1.0.24 (core)",
    "@oclif/plugin-update 4.2.14 (core)",
    "@oclif/plugin-version 2.1.2 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.19 (core)",
    "@oclif/plugin-which 3.1.10 (core)",
    "@salesforce/cli 2.44.8 (core)",
    "apex 3.1.13 (core)",
    "auth 3.6.17 (core)",
    "community 2.3.14 (user) published 382 days ago (Sat Aug 26 2023) (latest is 3.2.30)",
    "data 3.4.3 (core)",
    "deploy-retrieve 3.8.3 (core)",
    "info 3.3.3 (core)",
    "limits 3.3.9 (core)",
    "marketplace 1.2.8 (core)",
    "org 4.1.14 (core)",
    "packaging 2.4.5 (core)",
    "schema 3.3.9 (core)",
    "settings 2.2.7 (core)",
    "sobject 1.4.6 (core)",
    "source 3.3.18 (core)",
    "telemetry 3.3.11 (core)",
    "templates 56.2.9 (core)",
    "trust 3.7.3 (core)",
    "user 3.5.11 (core)"
  ]
}

This looks similar to this issue: https://github.com/forcedotcom/cli/issues/2174
Are you using KWallet?
Update to the latest version of the CLI (currently 2.58.7) and try setting this env var: SF_USE_GENERIC_UNIX_KEYCHAIN=true
Details here: https://github.com/forcedotcom/cli/issues/2174#issuecomment-2306647063

Hi @iowillhoit,
I'm not using KWallet.
I've updated my CLI and set the env variable. I'll let you know if I get the problem again.

Haven't had the problem since so either updating or setting the env variable fixed the issue.

Bug is still here but setting SF_USE_GENERIC_UNIX_KEYCHAIN is indeed workarounding successfully the issue  ...


type inference using type conversion

Using type conversion operators such as int() or str() is not taken into  account when assigning type information to variables. For eg
import math
def main():
    a = int(input())
    b = int(input())
    bstr = str(b)
    num = a * 10 ** len(bstr) + b

    for i in range(1, 100100):
        if i * i == num:
            break
    if i > 100100:
        print("No")
    else:
        print("Yes")
main()

In this type infered for variable a and b should be int  and for bstr it should be string but type inference module shows 'Any'

Indeed, this is a bug! Thanks for reporting.  I will close this issue once this is fixed