node-sass v3.7.0 installation fails after installing node 8

Hi,
I'm working with node-sass v3.7.0 and today I installed node v8.1.0 after working with node v6.9.0 for a very long time, and for some reason now the installation of node-sass fails and I get the error:

Cannot download "http://localhost/node-sass/v3.7.0/win32-x64-57_binding.node

I download the binaries manually from  (and hosting it on iis) and the file doesn't exists there.
Which is wired because I uninstalled node v8.1.0 and installed v6.9.0 and the installation worked.
I've looked at many issues but none of them helped me.

NPM version (npm -v): 5.0.3
Node version (node -v): 8.1.0
Node Process (node -p process.versions): { http_parser: '2.7.0', node: '8.1.0', v8: '5.8.283.41', uv: '1.12.0', zlib: '1.2.11', ares: '1.10.1-DEV', modules: '57', openssl: '1.0.21', icu: '59.1', unicode: '9.0', cldr: '31.0.1', tz: '2017b' }
Node Platform (node -p process.platform): win32
Node architecture (node -p process.arch): x64
node-sass version (node -p "require('node-sass').info"): throw error
npm node-sass versions (npm ls node-sass): -- (empty)

node-sass 3.7.0 is too old for node 8. Either switch back to node 6 or upgrade your node-sass to the newest version.


add support for resources from get all that are missing

replicasets
daemonsets
replicationcontrollers
jobs
cronjobs
HPAs
PVs
PVCs

Currently missing:
Error from server (InternalError): an error on the server ("") has prevented the request from succeeding (get replicasets.apps)
Error from server (InternalError): an error on the server ("") has prevented the request from succeeding (get cronjobs.batch)

The rest are complete.

https://app.shortcut.com/replicated/story/109471/sbctl-add-replicasets-and-cronjobs

@xavpaice this looks good to me on the latest version. Will let you confirm before we close this out.


MVI HomeFragment

I'm looking for some high-level feedback on the general mechanism used in HomeFragmentViewModel2 and how that is consumed by the HomeFragment.
The General Idea:

The general idea is to remove UI inconsistency and hard-to-reason-with state that is a characteristic of the existing MVVM pattern in use. This includes scenario where multiple Observables emit due to a change, making it difficult to predict the resulting contents of the View.

The ViewModel uses Google's new ViewModel component which survives configuration change

Its scope exceeds that of its associated View.
All input from the data layer to the ViewModel is channeled through one Observable exposed by uiModel()

The View binds to the ViewModel using its UiBinder.

This indirectly holds a subscription which:

Sends the UiModel from the ViewModel to the View's renderer
Send the UiEvents (clicks etc) from the View to the ViewModel's uiEvents function

This subscription is created/destroyed on View start/stop (using Lifecycle aware components)
The UiBinder has the same scope as its host View.

Inside the ViewModel:

The uiModel Observable exposes this to view layer consumers:

The View UiEvents are mapped to a Action event.
The Action is transformed into a Result event.
The Result is then given to the reduce function which determines how to update the overall view state based upon the change and the previous state.

The UiBinder consumes these and displays the state
The ViewModel performs no operation when it is destroyed.

This may be revisited if long run operations need to be cancelled when the ViewModel is destroyed.

Component Roles

ViewModel
Interactor
Repository

get
getStream
refresh

CacheStore

Things I'm trying to improve:
What's the point of using the ViewModel Architecture Component??
I guess, currently the pattern doesn't need it. Although I'm looking at revisiting this and possibly changing the pattern because of the next point...
Long running operations unsubscribe by the ViewModel
There's no caching or stored state in the ViewModel, so on configuration change any in-flight requests being handled by the ViewModel are unsubscribed and lost.
Not every ViewModel will handle these types of requests, so the current solution would be for the ViewModel to dispatch the request to a component which will run "hot" (without subscribers). Arguably, this is a fairly reasonable solution already.
Render logic could be moved outside of View
It might be a bit more MVPresenter, but the Renderer logic for each View could be moved outside of the View and used to test in a more understandable way - e.g. when a UserUiModel object is non-null, then then showUser is called, else hideUser is called. This Renderer logic would have to remain View scoped, rather than ViewModel scoped.
Don't allow unexpected errors to propagate to the UiBinder (and crash the app)
The UiBinder uses LiveData, which cannot propagate errors when fed by an Observable. Any such attempt will cause the app to crash. To avoid this, we could represent unexpected errors as a state. This seems a little heavy handed though.

@tomaszpolanski There's been a bit of rework, if you've got some time to take look.


separate line numbers from code

Hi, I've implemented an improvement where the line numbers are separated form code in source code view. It really makes my life easier because I often copy the code from here. I'm sure everyone will appreciate this. There has nothing changed visually.

Hi @uiii , thanks for contribution. Seems like great idea to me.
Could I ask you to send same PR to BootstrapTheme?

Great. I'm not using BootstrapTheme, but I'll look at it.

Done.

Is there anything what block the PR to be merged?

Not really, thank you!


Editable Code Viewer

Expose nextjournal.clerk.render.code namespace
Add components to render editable code in render functions
Expose codemirror view class by codemirror.view alias in SCI env

This should be good now.


[th/setup-script] add "setup.sh" script for installing packages and preparing the machine

There is a dependencies.sh script, which installs packages and performs certain setup for CDA.
However, it's not sufficient, so much so, that the README lists additional steps here. These steps basically have to performed on any new machine.
Add a setup.sh script, which should perform all of those. Optimally, you don't need anything else, except running ./setup.sh (and followed by source ocp-venv/bin/activate).

Note that setup.sh currently defaults to VENV=ocp-venv and python3.11.
I think that default makes sense,, because /usr/bin/python on RHEL9 is too old, and you probably will need a VENV. Or how are you going to do otherwise?
You can opt-out from that by setting VENV=. You can activate your virtual environment before calling setup.sh. The script will use python/pip from $PATH, unless it is told to use a VENV. In that case, the script may install python3.11 for creating the venv.

How much of this can we move into python

How much of this can we move into python

Large part of the setup is installing pip modules and setting up the venv (depending on options, it even dnf install python3.11). I don't think that can be in python itself.
What would be the goal?

import pip pip.main(['install', package])

This PR adds a setup.sh script, which can be used instead of the commands from the README.
Moving functionality around, is a separate issue.

import pip and pip.main(['install', 'package']

setup.py also (optionally) installs python and sets up a venv. That cannot be done from python itself (unless you do that, and then re-exec another interpreter version).
Also, pip does not want to be invoked programmatically ([here]). You would need to spawn a subprocess. At which point, shell is probably the better tool than python.
What problem is this going to solve?

OK. I will thus close this.


Handle multiple pipes

This is a POC for #617
This PR allows the lib to handle multiple pipes. I don't know if there is some reason why it was created to support only one pipe but i created this example so we can discuss about it.
Until now if i run a cmd like oc describe pod/nodejs-ex-3-xtnqn | grep node | grep kubernetes it resulted in:

With this PR the output is:

This is a very simple example but you can see the limitation of just allowing one single pipe.
I edited the code as less as i could waiting to collaborate with you because i had many doubts. I.e if we allow to handle multiple pipes and a filename is passed, which data we should write to the file? The final result after all pipes run or just the first toolrunner's result?
Thank you

I completely forgot to look into this. Sorry. Thank for the feedback @damccorm. I'll work on this in next days and push a proper fix.


converting from model zoos

Hi Homuler, thanks for such a brilliant project, I've been having a blast playing with it and I'm delighted the mediapipe implementation of hand tracking is vastly superior to other projects I've tested using TFL alone.
I've been looking into using other pretrained models (e.g. from the ONNX model zoo), but I haven't been able to work out what the .bytes format this project uses for models actually is.  Could you let me know what type of model they are based on, and what processing is involved in getting them into .bytes format (even if it's just a rename)?
Cheers!

Could you let me know what type of model they are based on, and what processing is involved in getting them into .bytes format (even if it's just a rename)?

I just renamed *.tflite into .bytes so that they can be included in an AssetBundle file.
If MediaPipe can handle the format, extension is not much important.
https://github.com/homuler/MediaPipeUnityPlugin/blob/master/C/mediapipe_api/BUILD#L142
https://github.com/homuler/MediaPipeUnityPlugin/blob/master/C/mediapipe_api/import_model.bzl#L56

That's great thanks!


Update values.py

New Ecu Engine and Ecu Esp for NX Hybrid My18 European Edition, I'm From Italy

What is your dongle id?

What is your dongle id?

f889f2b77ff9b903
I've tested fork installation but i've black screen after reboot, why?
Please update values because every reboot, if i've internet connection, i lost my mod...
Thankyou

f889f2b77ff9b903
I've tested fork installation but i've black screen after reboot, why?
Please update values because every reboot, if i've internet connection, i lost my mod...
Thankyou


Lambda Powertools @Tracing failures due to leveraging XRAY SDK internal ObjectMapper

Currently the @Tracing annotation of Powertools writes to XRAY subsegment using XRAY SDK. Tracing the code of XRAY back to the source, it leverages this internal instance of Jackson's ObjectMapper in the EntityImpl class
This has caused me two problems in developing with Lambda Powertools

In an upgrade from Jackson 2.11 to 2.12, I started seeing failures of methods annotated with @Tracing due to behavior in Jackson 2.12 to fail serialization of java8 time types when the JSR310 module wasn't registered to ObjectMapper (see here). This is fixed if using the current version of XRAY SDK and findAndRegisterModules can detect the JSR310 dependency and register it. If JSR310 is not you dependency though, you get an error message that is difficult to debug since you have to trace the failure through the powertools aspect and back through XRAY SDK.

In @Tracing a method that returns an object with a circular reference, @Tracing causes failure for a similar reason as that instance of ObjectMapper in XRAY SDK doesn't know how to deal with the circular reference. The way to overcome this is to ensure classes are annotate correctly to resolve the circular reference. This strategy only works if the user can modify the source code of such classes though. If he cannot then he is left using ByteBuddy or something similar to impose annotations on the class. Also seems odd that a user would need to add Jackson annotations if his preferred serialization was not Jackson just to ensure that powertools tracing works correctly..I think the requirement for such annotations is an encapsulation break

Expected Behavior
At the least not failing in the event of the Tracing Aspect code getting exception from XRAY SDK serialization
Possible Solution
I think there are possibly two strategies to take to improve experience with powertools:

Powertools to gracefully handle failure of @Tracing, maybe just log warnings and do not log anything in the trace rather than allowing the Jackson exception to bubble out and cause failure
Possibly allow user to give custom serializer to powertools so that that serializer is independent of the default XRAY SDK one. This would allow a custom ObjectMapper, GSON, etc instance to handle serialization to string of the response/error from methods and then we'd be essentially free of the XRAY SDK ObjectMapper instance

Steps to Reproduce (for bugs)

Create some class with self-reference eg

public class ParentClass {
  public String name;
  public ChildClass c;
}

public class ChildClass {
  public String name;
  public ParentClass p;
}

Annotate a method with @Tracing to a Lambda handler and have it return the class with self-reference
Run Lambda handler in AWS and see it fail when the Tracing aspect is invoked

Hi @allenada,
Thanks for the bug report. I'll have a look at it in the new year.
Thanks,

Look at this bot nicely tidying up now @pankajagrawal16


Add environment attributes for Android when initializing Sentry client

Add an opportunity to specify environment attributes for the Android Platform such as app environment (debug, release, profile).

Closed via #21.


likes/comments API returns object without the comment

The likes/comments API is supposed to return objects that look like this:
{
    "liked_at": "...",
    "type": "comment",
    "comment": {...}
}

The problem
However I see that there is one object that does not have the comment object:
{
    "liked_at": "2019-07-21T21:10:19.000Z",
    "type": "comment"
}

How to reproduce

Execute GET https://api.trakt.tv/users/minas1/likes/comments?page=5.
There is one object that does not have the comment object in it.

Expected result
A possible cause might be that the comment was deleted.
If this is the case, the API should automatically delete likes for deleted comments/movies/etc or not return them at all as part of the API call.

Any news on this?

Looks like the comment was deleted. I'll have a fix out so that likes on deleted comments no longer show up. Fix will be out tomorrow.


Player crashes when no text plugins but content has closed captions

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.3.10
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Custom
If custom app, can you reproduce the issue using our demo app?
No
What browser and OS are you using?
MacOS Chrome
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?

https://livesim.dashif.org/dash/vod/testpic_2s/cea608.mpd
What configuration are you using?  What is the output of player.getConfiguration()?

{
    "drm": {
        "retryParameters": {
            "maxAttempts": 2,
            "baseDelay": 1000,
            "backoffFactor": 2,
            "fuzzFactor": 0.5,
            "timeout": 30000,
            "stallTimeout": 5000,
            "connectionTimeout": 10000,
            "suppressNetworkTimeoutWarnings": false
        },
        "servers": {},
        "clearKeys": {},
        "advanced": {},
        "preserveMediaKeySessions": false,
        "delayLicenseRequestUntilPlayed": false,
        "logLicenseExchange": false,
        "updateExpirationTime": 1,
        "preferredKeySystems": []
    },
    "manifest": {
        "retryParameters": {
            "maxAttempts": 2,
            "baseDelay": 1000,
            "backoffFactor": 2,
            "fuzzFactor": 0.5,
            "timeout": 30000,
            "stallTimeout": 5000,
            "connectionTimeout": 10000,
            "suppressNetworkTimeoutWarnings": false
        },
        "availabilityWindowOverride": null,
        "disableAudio": false,
        "disableVideo": false,
        "disableText": false,
        "disableThumbnails": false,
        "defaultPresentationDelay": 0,
        "overrideDolbyVisionCodecs": false,
        "dash": {
            "clockSyncUri": "",
            "ignoreDrmInfo": false,
            "disableXlinkProcessing": false,
            "xlinkFailGracefully": false,
            "ignoreMinBufferTime": false,
            "autoCorrectDrift": true,
            "initialSegmentLimit": 1000,
            "ignoreSuggestedPresentationDelay": false,
            "ignoreEmptyAdaptationSet": false,
            "ignoreMaxSegmentDuration": false,
            "keySystemsByURI": {
                "urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b": "org.w3.clearkey",
                "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed": "com.widevine.alpha",
                "urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
                "urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready",
                "urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb": "com.adobe.primetime"
            },
            "minimumUpdatePeriodOverride": null,
            "suggestedPresentationDelayOverride": null
        },
        "hls": {
            "ignoreTextStreamFailures": false,
            "ignoreImageStreamFailures": false,
            "useFullSegmentsForStartTime": false,
            "defaultAudioCodec": "mp4a.40.2",
            "defaultVideoCodec": "avc1.42E01E"
        }
    },
    "streaming": {
        "retryParameters": {
            "maxAttempts": 2,
            "baseDelay": 1000,
            "backoffFactor": 2,
            "fuzzFactor": 0.5,
            "timeout": 30000,
            "stallTimeout": 5000,
            "connectionTimeout": 10000,
            "suppressNetworkTimeoutWarnings": false
        },
        "rebufferingGoal": 2,
        "bufferingGoal": 10,
        "bufferBehind": 30,
        "ignoreTextStreamFailures": false,
        "alwaysStreamText": false,
        "startAtSegmentBoundary": false,
        "gapDetectionThreshold": 0.1,
        "smallGapLimit": 0.5,
        "jumpLargeGaps": false,
        "durationBackoff": 1,
        "forceTransmuxTS": false,
        "safeSeekOffset": 5,
        "stallEnabled": true,
        "stallThreshold": 1,
        "stallSkip": 0.1,
        "useNativeHlsOnSafari": true,
        "parsePrftBox": false,
        "inaccurateManifestTolerance": 2,
        "lowLatencyMode": false,
        "autoLowLatencyMode": false,
        "forceHTTPS": false,
        "preferNativeHls": false,
        "updateIntervalSeconds": 1,
        "dispatchAllEmsgBoxes": false,
        "observeQualityChanges": false,
        "enableSegmentStartWorkaround": false
    },
    "offline": {
        "usePersistentLicense": true
    },
    "abr": {
        "enabled": true,
        "useNetworkInformation": true,
        "defaultBandwidthEstimate": 1000000,
        "switchInterval": 8,
        "bandwidthUpgradeTarget": 0.85,
        "bandwidthDowngradeTarget": 0.95,
        "forceLowestRateOnTimeout": false,
        "restrictions": {
            "minWidth": 0,
            "maxWidth": null,
            "minHeight": 0,
            "maxHeight": null,
            "minPixels": 0,
            "maxPixels": null,
            "minFrameRate": 0,
            "maxFrameRate": null,
            "minBandwidth": 0,
            "maxBandwidth": null
        },
        "advanced": {
            "minTotalBytes": 128000,
            "minBytes": 16000,
            "fastHalfLife": 2,
            "slowHalfLife": 5
        }
    },
    "preferredAudioLanguage": "",
    "preferredTextLanguage": "",
    "preferredVariantRole": "",
    "preferredTextRole": "",
    "forceInitialTextLanguage": false,
    "preferredAudioChannelCount": 2,
    "preferredVideoCodecs": [],
    "preferredAudioCodecs": [],
    "preferForcedSubs": false,
    "preferredDecodingAttributes": [],
    "restrictions": {
        "minWidth": 0,
        "maxWidth": null,
        "minHeight": 0,
        "maxHeight": null,
        "minPixels": 0,
        "maxPixels": null,
        "minFrameRate": 0,
        "maxFrameRate": null,
        "minBandwidth": 0,
        "maxBandwidth": null
    },
    "playRangeStart": 0,
    "playRangeEnd": null,
    "cmcd": {
        "enabled": false,
        "sessionId": "",
        "contentId": "",
        "useHeaders": false
    }
}

What did you do?

Prepared custom build without text plugins (python3 build/build.py --name wt-test +@complete -@text)
Tried to play content with closed captions.
What did you expect to happen?
Player starts to play, closed caption tracks are selectable.
What actually happened?

Player crashed due to following error on 3.3.10:
TypeError: Cannot read properties of undefined (reading 'prototype')

On current main, error is following:
TypeError: a is not a function
    at shaka.text.TextEngine.initParser

The problem is related to the fact, that if text engine needs to be initiated due to closed captions, MediaSourceEngine inits it with text/vtt MIME type. TextEngine fails with assertion that no factory has been found for given MIME type.
It should be easily fixed with changing used MIME type in MediaSourceEngine to CEA608 or 708.
Bonus question - as there is a possibility to create custom build without certain plugins, do assertions in TextEngine around finding factory are valid? Shouldn't shaka instead throw an error but continue to play without subtitles? Or maybe prepare some dummy text parser that's always included in core?

PR that will resolve it https://github.com/shaka-project/shaka-player/pull/5160 :)

Fixed with https://github.com/shaka-project/shaka-player/commit/6937325b85d346fde6eba5c368ed201d152cc11f


Not working on Mac devices

Hi I'm working on a multiplatform project with windows and macOS using intellij.
I have no problem on window, it works perfectly, but on mac i'm trying to get the default camera and the app crashes
val webcam = Webcam.getDefault()
I'm getting this error
Caused by: java.lang.UnsatisfiedLinkError: 'org.bridj.Pointer com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.getVideoDevices()'
macOS Monterey 12.3.1

We are having the same issue at FlashMonkey. Windows works perfectly. However, macOS Monterey does not allow access even after user has granted permission.
We've attempted using version 0.3.12 and 0.3.13-SNAPSHOT.
macOS Monterey 12.6

Hi, please try this driver, it should work with mac https://github.com/eduramiba/webcam-capture-driver-native

https://github.com/eduramiba/webcam-capture-driver-native

This driver does work with macOS (but not for all dimensions), but I ran into Issue #889 while trying to get it to work.


Session Consistency isn't honored

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
When I do create item and then upsert item, with ItemRequestOptions as Session Consistency, and provide the session toke nfrom insert result to upsert operation, the returned sesson token is different.
To Reproduce
Steps to reproduce the behavior. If you can include code snippets or links to repositories containing a repro of the issue that can helps us in detecting the scenario it would speed up the resolution.

Do item creation with ItemRequestOptions with ConsistencyLevel.Session, get the returned session token.
Do item upsert with ItemRequestOptions with ConsistencyLevel.Session, and the session token from step 1.
The returned session token from step 2 is changed.

Expected behavior
A clear and concise description of what you expected to happen.
Session consistency should make sure the session token consistent.
Actual behavior
Provide a description of the actual behavior observed.
the session token from each item operation are different, with Session Consistency
Environment summary
SDK Version: GA 3.0.0
OS Version (e.g. Windows, Linux, MacOSX): Windows.
Additional context
Add any other context about the problem here (for example, complete stack traces or logs).

I think you have some confusion around session token. Session token is like a LSN. It basically an int representing a position in the logs. So every operation the session token increases representing those new operation performed on the database.
https://stackoverflow.com/questions/50500464/managing-cosmosdb-session-consistency-levels-with-session-token-in-web-environme


Prototype for Field customization helper

https://github.com/sima-zhu/azure-sdk-for-java/tree/prototype/sdk/search/azure-search/prototype/java/com/azure/search/documents


Could not Initialize GLX after Conda Update --All

Problem Description
I'm using Spyder on a remote server by SSH and X11 forwarding. After I use conda update --all , spyder stopped launching and has the error: Could not initialize GLX.
I have tried adding these lines in start.py
import ctypes
ctypes.CDLL("libGL.so.1", mode=ctypes.RTLD_GLOBAL)
from PyQt5 import QtWebEngineWidgets

and also
export __GLX_VENDOR_LIBRARY_NAME=nvidia
but none of them works.
I also tried
conda install qt=5.6.2
but then I  encounter the segmentation fault.
What steps reproduce the problem?

Create a new environment
Install keras, keras gpu, tensorflow, tensorflow gpu, cudatoolkit and dependencies
Conda update --all

Versions

Spyder version: 3.2.8
Python version: 3.6
Qt version: 5.9.5
PyQt version: 5.9.2
Operating System name/version: CentOS 7

Thanks for reporting. This is a duplicate of issue #6968 and it'll be fixed in Spyder 3.3.

I also tried
conda install qt=5.6.2
but then I encounter the segmentation fault.

The right command is
conda install qt=5.6* pyqt=5.6*

This does not appear to be fixed in Spyder 3.3.0. Could this be a Qt issue as noted in #7447?
conda install qt=5.6* pyqt=5.6* still works as a temporary fix with Spyder 3.3.0.

The problem was fixed only for local installations, not for connections over ssh. I think we can't do anything about it.

Darn. I am going to follow up with @bscipio and see if this can be brought to the attention of the Qt maintainers.

I don't know why, but Spyder 3.3.3(Python 3.6) works ok with ssh -X connections
but fails with the same error with Spyder 3.3.1 (Python3.5)


Items still get picked up when inventory is full

Description
Items still get picked up from the player and disappear from the world even when the inventory is full.
How To Reproduce
Steps to reproduce the behaviour:

Fill your inventory up with items, (use addItem command or just add items directly to inventory via code)
Walk over an item to pick it up
Watch the item disappear and not added to inventory even though it is full

Expected Behaviour
Item should not be picked up when inventory is full.
Temporary Fix
Add a getter in the InventoryComponent called isFull() which returns a boolean. Then in the ItemPickUpComponent you would access this method in the InventoryComponent and decide whether to pick up the item. To allow for inventories with different capacities, you could also overload the constructor and let someone pass in a max number of items. If inventory is rendered dynamically this would be fine because it should hopefully (not sure how you're rendering inventory) calculate the rows and columns based on number of inventory slots and then just draw them.

Should be easy to implement. Thanks for reporting!

#467


Updated introduction and contact details

added paragraph to introduction section with link
updated contact details section with link to website

https://trello.com/c/7RAsXPEJ

I've pushed these commits to a branch in this repository to get the Jenkins checks running...


Add Vagrant plugin for installing virtualbox guest additions

Add Vagrant plugin for installing virtualbox guest additions on the CentOS 7 box. This is needed for setting up the shared folder.
Without this plugin you get the following error when using VirtualBox. There might be a way to make this conditional
`Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
The error output from the command was:
mount: unknown filesystem type 'vboxsf'
`

Cool, thanks for adding this. It's been awhile since I've used this Vagrant setup, so I'll take your word that it works :)


IOS error to upload input file when captured from mobile camera on nuxt js 2.11.0

Version
v2.11.0
Reproduction link
https://codesandbox.io/s/not-working-prxd5
Steps to reproduce
Click to select a file to upload, and with an IOS phone, take a picture with the camera and click submit.
If the nuxt js version is 2.0.0 is works correctly.
But with the newest version 2.11.0, it doesn't work, it gives a cors error when i try to use fetch and if i try to use axios to make the upload it gives a network error, but on both cases it doesn't show an error on the server.
What is expected ?
It's expected that when the user takes a picture with his phone (IOS), the file gets uploaded to my server, which happens on Desktop and Android.
What is actually happening?
If the nuxt js version is 2.0.0 is works correctly.
But with the newest version 2.11.0, it doesn't work, it gives a cors error when i try to use fetch and if i try to use axios to make the upload it gives a network error, but on both cases it doesn't show an error on the server.
It only happens on IOS devices.
I'm using an Iphone 7 to test, but i also tested on an Iphone X.

This bug report is available on Nuxt community (#c10385)

This is not a problem in iOS and maybe in NuxtJS, because I checked it on my MacBook and Android, but I get the same error.
Does your server set the Access-Control-Allow-Origin header?

Yes, I even tried setting Access-Control-Allow-Origin to '*', but I get the same error (Origin is not allowed by Access-Control-Allow-Origin).

It was an error with nginx.
It's working now, thanks for the help.

what exactly was the error? I also have this error


Fix MIDI Note Off missing on some devices

Fixes #27199

It should be noted that this change can theoretically trigger an edge case scenario where a program doesn't expect note off (perhaps a continuous instrument of some kind, like a theremin?) and create unexpected behavior, but under most normal circumstances this solution represents programmer expectations under most far more common scenarios.
If any more edge cases come up, may I suggest here (for any potential future PR that may come up regarding this) an enum with configuration flags to handle the treatment of such scenarios?
That aside, thumbs up from me 👍

One of my MIDI keyboard (M-Audio Keystation mini 32) doesn't send NOTE_OFF signal, only NOTE_ON with velocity 0, so this is great improvement !

Thanks!

Cherry-picked for 3.1.1.


Fix schema mismatch exception

In case of schema mismatch the ConsumeSeatReservation Task was stuck forever. This is because the OnError callback which would complete the task was never called. Also the player is still in the room but unable to do anything.
Those commits are a simple fix, now the schema mismatch exception will be thrown and player will automatically leave the room.

Thanks a lot for your PR @Xaverix!
I don't think we have the ErrorCode's ported over for C#, I think it would be relevant to bring the ErrorCode constants from other clients, and add a new constant code for schema-mismatch instead of 0:
For reference, here's the ErrorCode constants in TypeScript: https://github.com/colyseus/colyseus.js/blob/9b9b71850631936c504c852b1bd369a762eab1a4/src/Protocol.ts#L15-L24

Thanks for suggestion @endel, I have added the error codes.

Looking great, thank you so much @Xaverix! 🎉


onCallback functionalities

I would like to enquiry about the onCallback props of Gateway.payStack.
To validate the payment I need to receive the json so I am stuck in the validation process and I can't figure it out.
Can you help me with this?

Message me on WhatsApp
+2349023112671
On Tue, 11 Oct 2022 at 23:03, micwise17 @.***> wrote:

I would like to enquiry about the onCallback props of Gateway.payStack.
To validate the payment I need to receive the json so I am stuck in the
validation process and I can't figure it out.
Can you help me with this?
—
Reply to this email directly, view it on GitHub
https://github.com/seyicoded/react-native-universal-payment-gateway/issues/4,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALA6P62DR35FCB56ULKYDGTWCXP2FANCNFSM6AAAAAARCWSJGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@seyicoded I'm also facing the same issue. The screen goes blank during the validatePayment process and stays that way.

resolved

@emmaadesile confirm if so


ParameterJuMP.Parameter vs. ParameterJuMP.ParameterRef

To construct a Julia env that utilized StructJuMP, JuMP, ParameterJuMP with PowerSimulations.jl I needed to use
StructJuMP#master
JuMP#master
ParameterJuMP#master
and I needed to replace ParameterJuMP.Parameter with ParameterJuMP.ParameterRef everywhere in my local version of PowerSimulations.jl.

This issue was solved in #139 by pinning the version of ParameterJuMP.


QbCore

Describe the feature
Make a optional cad intergration for qbcore
Additional Context
No response

@RealZotty you can integrate the framework using the CAD API

Can you elaborate on what QbCore is? Some links would be useful. @RealZotty

https://github.com/qbcore-framework

This is a framework that seems to be written in LUA. I don't know any LUA nor do I have the time to currently learn it, though as pp2amd6 said, you can use the Public API Access feature to create your own integration.


Routing based on Request Header

Hi,
I'm interested if Ocelot currently supports downstream routing to multiple endpoints based on a Request Header?
A use case for this is something like:

Octolot receives a request for /products
The request has a header something like  Region: AU / Region: UK
Based on the Region header field the request is routed to a matching downstream endpoint

eg.
AU redirects to -> api.internal-au/products
UK redirects to -> api.internal-uk/products
cheers

yes, i need it too!
in A/B Testing

@netren20000 cool thanks for letting me know! I will try and do this ASAP! I am very busy at the moment just answering questions and fixing bugs! Hopefully once all the bugs are sorted out I will do this feature!

Hi @TomPallister .
First I'd like to thank you for this great product.
I'm currently trying to use it in a multi tenant solution which is hosted in Service Fabric.
Based on a tenant id in a HTTP header I need to route to different instances of a particular Service Fabric application (i.e. change backend ServiceName dynamically based on current request parameters).
So I implemented my custom middleware which replaces DownstreamReRoute with a dynamic one and attached it as PreQueryStringBuilderMiddleware :
    public static async Task InvokeAsync(DownstreamContext context, Func<Task> next)
    {
	    var tenantId = <get it from HTTP header>;
                var reRoute = context.DownstreamReRoute;
                var tenantServiceName = $"{tenantId}.{reRoute.ServiceName}";

                context.DownstreamReRoute = new DownstreamReRoute(
                    reRoute.Key,
                    reRoute.UpstreamPathTemplate,
                    reRoute.UpstreamHeadersFindAndReplace,
                    reRoute.DownstreamHeadersFindAndReplace,
                    reRoute.DownstreamAddresses,
                    tenantServiceName,
		...
                );
            }
        }
        await next.Invoke();
    }

Though it works like a charm, looks like a hack.
So it would be great if we could use placeholders in ServiceName (and Host maybe), and these placeholders could be set from request parameters (HTTP headers for ex. )

@iderbyshev nice! doesnt feel like to bad a hack! Ocelot can't do everything :) I will bear this in mind and lets see if we can do something to make this better in the future!

Expected Behavior / New Feature
ReRoute discovery by header value in addition to path.
Actual Behavior / Motivation for New Feature
I am working on versioning problem for API, that is already running in production.
By the current moment version is passed with every request|response via headers.
I would like to configure Ocelot in a such way, so that v1 will be routed to Api 1, v2 to Api 2 an so on.
It also seems that additional constraints on Path could be used in other scenarios.
I can think about following problem with this approach:
should filtering be done by all headers, that are present in ReRoute or should it be one of the list ?
Current implementation
Right now I achieve the behaviour above by adding middleware. But this seems to be a bad solution.
Dear colleagues, is it possible to achieve described behaviour in any other way ?

yes, i need it too in a multi tenant scenario.

Excellent and amazing work Tom. Need it too for a multi tenant scenario as well !!!!

Yeah header based routing would also be useful for me :)

Hi all,
I started working on this feature a few days ago since this is something we want to leverage in our deployment of Ocelot.
The idea is that I want to be able to have a set of headers, each with a set of acceptable values, and be able to define whether a request should contain any or all of the defined headers to be accepted for routing to that downroute. Essentially, to say something like this in the configuration file in a downroute section:
"UpstreamHeaderRoutingOptions": {
  "Headers": {
    "Header1": [ "AllowedValue1", "AllowedValue2" ],
    "Header2": [ "AllowedValue1", "AllowedValue2" ]
  },
  "CombinationMode": "<one of Any/All>"
}

Any value from the set of values associated with a single header is currently sufficient for the downroute to be eligible.
Currently, my aim is to support choosing of a downroute based on a pre-configured set of headers, because that is the itch I need to scratch. I am thinking about making it possible to use placeholders in downstream path templates, but I am a little time-constrained and I have not yet researched how to achieve that.
@TomPallister or anybody from the maintainer team, can I get in touch somehow? I may have a question or two. :blush:
Thanks!

I'm looking for this functionality also. Described spot on earlier " v1 will be routed to Api 1, v2 to Api 2". Any recent news on how this effort is going?? Thanks

Hi @jrsanbornjr , I created a pull request #964 a few months ago for the guys to have a look at what I had done. I haven't received any feedback so I do not know if they had a look at it in the meantime.
However, I have gotten to the point where I would prefer being able to route based on claim values so I will likely look into that. Therefore, it might be preferable if my pull request was not actually merged before I get this done.
I am also strongly considering adding support for placeholders as per one of the suggestions above, so that one could specify something like this in the configuration
"UpstreamRoutingHeaders": {
  "Headers": {
    "MyHeader": [ "HeaderValue" ]
  }
},
"DownstreamPathTemplate" : "https://service/{header:MyHeader}/path"

which seems pretty nifty to me. Similarly, claims might have something like http://service/{claim:ClaimName}/path. I have not got around to this yet, though. :slightly_frowning_face:

I am also waiting for this functionality to support my legacy v1 api and v2 microservice. Will need to have unique gateway route which only be differentiated on header.

Claims could also be good. I was looking to differentiate V1 / V2 for a
service by a header value, but I think claims could do the same thing. my
V1 service requires no authentication or authorization, but I'd like to add
a bearer token requirement to V2 to restrict / log client activity.
On Mon, Sep 23, 2019 at 10:04 AM mrclayman<EMAIL_ADDRESS>wrote:

Hi @jrsanbornjr https://github.com/jrsanbornjr , I created a pull
request #964 https://github.com/ThreeMammals/Ocelot/pull/964 a few
months ago for the guys to have a look at what I had done. I haven't
received any feedback so I do not know if they had a look at it in the
meantime.
However, I have gotten to the point where I would prefer being able to
route based on claim values so I will likely look into that. Therefore, it
might be preferable if my pull request was not actually merged before I get
this done.
I am also strongly considering adding support for placeholders as per one
of the suggestions above, so that one could specify something like this in
the configuration
"UpstreamRoutingHeaders": {
"Headers": {
"MyHeader": [ "HeaderValue" ]

}
},
"DownstreamPathTemplate" : "https://service/{header:MyHeader}/path"
which seems pretty nifty to me. Similarly, claims might have something
like http://service/{claim:ClaimName}/path. I have not got around to this
yet, though. 🙁
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ThreeMammals/Ocelot/issues/360?email_source=notifications&email_token=ABW723OQHNMIOKDTSEYIG53QLDLGTA5CNFSM4FACFRPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7LFKCA#issuecomment-534140168,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW723NQ64HNO4TK5XVP5QLQLDLGTANCNFSM4FACFRPA
.

Thanks jrsanbornjr for suggestion. Seems good option if routes differentiated on claims as well. Either header or claims feature support needed to differentiate v1 or v2 routes . Will also check on how to extend ocelot in my code for forwarding requesr to correct downstream routes based on header/claims. Please suggest if you have done something like that?

@sachinjagdale, are you going to try to implement this? I think I will finally be able to look into adding claim-based routing and placeholder support for claims and headers, so that we don't end up messing with the same code.

@mrclayman great job. Are you planning add header value matching? I need it for my scenario.
Something like:
"UpstreamRoutingHeaders": {   "Headers": {     "MyHeader": [ "value-{everything}" ]   } }

Apologies! I've been sidetracked lately. I will have a look at this today.
On Mon, Sep 23, 2019 at 10:04 AM mrclayman<EMAIL_ADDRESS>wrote:

Hi @jrsanbornjr https://github.com/jrsanbornjr , I created a pull
request #964 https://github.com/ThreeMammals/Ocelot/pull/964 a few
months ago for the guys to have a look at what I had done. I haven't
received any feedback so I do not know if they had a look at it in the
meantime.
However, I have gotten to the point where I would prefer being able to
route based on claim values so I will likely look into that. Therefore, it
might be preferable if my pull request was not actually merged before I get
this done.
I am also strongly considering adding support for placeholders as per one
of the suggestions above, so that one could specify something like this in
the configuration
"UpstreamRoutingHeaders": {
"Headers": {
"MyHeader": [ "HeaderValue" ]

}
},
"DownstreamPathTemplate" : "https://service/{header:MyHeader}/path"
which seems pretty nifty to me. Similarly, claims might have something
like http://service/{claim:ClaimName}/path. I have not got around to this
yet, though. 🙁
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ThreeMammals/Ocelot/issues/360?email_source=notifications&email_token=ABW723OQHNMIOKDTSEYIG53QLDLGTA5CNFSM4FACFRPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7LFKCA#issuecomment-534140168,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW723NQ64HNO4TK5XVP5QLQLDLGTANCNFSM4FACFRPA
.

I also apologize for the delay, other more important tasks got in the way. I managed to clear my backlog a little, so hopefully I will finally have more time now.
@SebastianMajewski it was not planned intially, but I will give some time to research how difficult it would be. :slightly_smiling_face:

Is there some update about this feature?
It would be very beneficial to have this feature since depending on http header data the response from the server will change, like authentication.
I saw that there was a closed Pull-Request about this: https://github.com/ThreeMammals/Ocelot/pull/964/files
But somehow the progress got stuck.

I also think I need this feature for my multi-tenant application. I'm using different subdomains for my clients and basically I want to use the "origin" header to switch authentication schemes
route uses Finbuckle to configure via http call to a tenant service

{
        "AuthenticationOptions": {
            "AuthenticationProviderKey": "TenantAuthentication",
            "AllowedScopes": []
        }
},

and this route for admins
{
        "UpstreamRoutingHeaders": {
              "Headers": {
                     "Origin": [ "admin" ]
              }
        },
        "AuthenticationOptions": {
            "AuthenticationProviderKey": "AdminAuthentication",
            "AllowedScopes": []
        }
}

Unless anyone has a better suggestion. Plus I can also think of many other uses for header routing...

My apologies! I've been buried in other projects in recent months and
haven't had a chance to get back to this issue. But it is still important!
I will try my best to dig back into this very soon. Thanks again!
On Mon, Sep 23, 2019 at 10:04 AM mrclayman<EMAIL_ADDRESS>wrote:

Hi @jrsanbornjr https://github.com/jrsanbornjr , I created a pull
request #964 https://github.com/ThreeMammals/Ocelot/pull/964 a few
months ago for the guys to have a look at what I had done. I haven't
received any feedback so I do not know if they had a look at it in the
meantime.
However, I have gotten to the point where I would prefer being able to
route based on claim values so I will likely look into that. Therefore, it
might be preferable if my pull request was not actually merged before I get
this done.
I am also strongly considering adding support for placeholders as per one
of the suggestions above, so that one could specify something like this in
the configuration
"UpstreamRoutingHeaders": {
"Headers": {
"MyHeader": [ "HeaderValue" ]

}
},
"DownstreamPathTemplate" : "https://service/{header:MyHeader}/path"
which seems pretty nifty to me. Similarly, claims might have something
like http://service/{claim:ClaimName}/path. I have not got around to this
yet, though. 🙁
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ThreeMammals/Ocelot/issues/360?email_source=notifications&email_token=ABW723OQHNMIOKDTSEYIG53QLDLGTA5CNFSM4FACFRPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7LFKCA#issuecomment-534140168,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW723NQ64HNO4TK5XVP5QLQLDLGTANCNFSM4FACFRPA
.

I'm not sure of the implications, but maybe a better option might be a "delegate route strategy" which I think is the idea here #1236  - I'm thinking of the Delegate Strategy as used here
In that way your users could use any type of logic to return a delegate value which then can be used in the routing config to determine the route
.AddOcelot()
    .WithDelegateRouting(ctx => {
        //any kind of logic here to return a string
         ((HttpContext)ctx).Request.Headers.TryGetValue("origin", out StringValues originValue);
         return Task.FromResult(originValue.ToString());
    })

then in routing config:
{
        "DelegateRouting": {
              "Values": {
                     "admin.xxx.com",
                     "another_route"
              }
        },
}

I owe you guys an apology, too. :disappointed: I was the creator of PR #964 back when we (at the company I work for) thought we would make use of that feature. However, we have since made the decision to go a different route that would not require this change and I just have not had the time to finish this so I had to essentially abandon all work done on the task.
I have been hoping to return to it asap, but it has not worked out that way yet.

Hi @TomPallister . First I'd like to thank you for this great product.
I'm currently trying to use it in a multi tenant solution which is hosted in Service Fabric. Based on a tenant id in a HTTP header I need to route to different instances of a particular Service Fabric application (i.e. change backend ServiceName dynamically based on current request parameters). So I implemented my custom middleware which replaces DownstreamReRoute with a dynamic one and attached it as PreQueryStringBuilderMiddleware :
    public static async Task InvokeAsync(DownstreamContext context, Func<Task> next)
    {
	    var tenantId = <get it from HTTP header>;
                var reRoute = context.DownstreamReRoute;
                var tenantServiceName = $"{tenantId}.{reRoute.ServiceName}";

                context.DownstreamReRoute = new DownstreamReRoute(
                    reRoute.Key,
                    reRoute.UpstreamPathTemplate,
                    reRoute.UpstreamHeadersFindAndReplace,
                    reRoute.DownstreamHeadersFindAndReplace,
                    reRoute.DownstreamAddresses,
                    tenantServiceName,
		...
                );
            }
        }
        await next.Invoke();
    }

Though it works like a charm, looks like a hack. So it would be great if we could use placeholders in ServiceName (and Host maybe), and these placeholders could be set from request parameters (HTTP header and/or Claim).

Did you get this working I have the same issue

Hi @jrsanbornjr , I created a pull request #964 a few months ago for the guys to have a look at what I had done. I haven't received any feedback so I do not know if they had a look at it in the meantime.
However, I have gotten to the point where I would prefer being able to route based on claim values so I will likely look into that. Therefore, it might be preferable if my pull request was not actually merged before I get this done.
I am also strongly considering adding support for placeholders as per one of the suggestions above, so that one could specify something like this in the configuration
"UpstreamRoutingHeaders": {
  "Headers": {
    "MyHeader": [ "HeaderValue" ]
  }
},
"DownstreamPathTemplate" : "https://service/{header:MyHeader}/path"

which seems pretty nifty to me. Similarly, claims might have something like http://service/{claim:ClaimName}/path. I have not got around to this yet, though. 🙁

Did you implement this feature in the main/master branch?
I have similar problem with Keycloak where I want reroute based on customers in different realms?

@RickJNash  did you get it fixed for you?

@mrclayman commented on Jun 10, 2020

Hi Zbyněk!
It is 2023 year nowadays!
It is time to return back! 😉
So, I've assigned this issue to you. 😸

@BrettJG commented on May 16, 2018

Hi Brett!
Are you still interested in this feature development?
I would like to discuss your user case...
Your feature request seems to me a little bit strange and unclear...
First,
Question: "What cloud provider do you use for gateway app hosting and all downstream services?"
If Azure, I could give you a couple of advices.
Read these articles please:

Migrate Azure App Service to availability zone support | Microsoft Learn
Application Gateway integration - Azure App Service | Microsoft Learn
Control traffic with Traffic Manager - Azure App Service | Microsoft Learn

Second,
If you already know the zone (DNS host name) you would like to redirect the request too, this means you get a decision or response from a service which said to you: "Redirect to this DNS host".
In this case why would you like to delegate the redirection to Ocelot gateway?
It seems you need just to integrate to some Service Discovery provider.
And it seems your user case is closely related to Dynamic Routing feature.
Do you have an intention to try these Ocelot nice features which should allow you to build multi-tenant downstream services based on some user IP location service?
The rest is enabling Headers Transformation feature, and apply X-Forwarded-For example to allow forwarding of client's IP to a downstream service which has multi-tenancy deployment. So, downstream service will redirect the request to appropriate zone (DNS host) based on client's IP being forwarded by Ocelot gateway. Bingo!
Sure, you could try native Azure services for multi-tenant apps.
And in this case you don't need this requested feature at all!

hey @raman-m ,
I'm sorry I don't recall exactually how we planned to use this as a feature, it was a while ago. However, we moved to an API per region architecture, so this feature is no longer required by us.
Thanks for following up.

@RickJNash did you get it fixed for you?

No We decided not to do this in the end

hey @raman-m
We are trying to do something similar,
I have an Ocelot gateway that we are using to route our services. I also have Azure storage accounts for each Tenant and we want to call the storage apis directly from the gateway.
I used the PreQueryStringBuilderMiddleware to replace the DownstreamHostAndPort with the below code
httpContext.Items.UpsertDownstreamRoute(                 new DownstreamRoute(                     key: downstreamRoute.Key,                     upstreamPathTemplate: downstreamRoute.UpstreamPathTemplate,                     upstreamHeadersFindAndReplace: downstreamRoute.UpstreamHeadersFindAndReplace,                     downstreamHeadersFindAndReplace: downstreamRoute.DownstreamHeadersFindAndReplace,                     downstreamAddresses: downstreamHostAndPorts,                     serviceName: downstreamRoute.ServiceName,                     serviceNamespace: downstreamRoute.ServiceNamespace,                     httpHandlerOptions: downstreamRoute.HttpHandlerOptions,                     useServiceDiscovery: downstreamRoute.UseServiceDiscovery,                     enableEndpointEndpointRateLimiting: downstreamRoute.EnableEndpointEndpointRateLimiting,                     qosOptions: downstreamRoute.QosOptions,                     downstreamScheme: downstreamRoute.DownstreamScheme,                     requestIdKey: downstreamRoute.RequestIdKey,                     isCached: downstreamRoute.IsCached,                     cacheOptions: downstreamRoute.CacheOptions,                     loadBalancerOptions: downstreamRoute.LoadBalancerOptions,                     rateLimitOptions: downstreamRoute.RateLimitOptions,                     routeClaimsRequirement: downstreamRoute.RouteClaimsRequirement,                     claimsToQueries: downstreamRoute.ClaimsToQueries,                     claimsToHeaders: downstreamRoute.ClaimsToHeaders,                     claimsToClaims: downstreamRoute.ClaimsToClaims,                     claimsToPath: downstreamRoute.ClaimsToPath,                     isAuthenticated: downstreamRoute.IsAuthenticated,                     isAuthorized: downstreamRoute.IsAuthorized,                     authenticationOptions: downstreamRoute.AuthenticationOptions,                     downstreamPathTemplate: downstreamRoute.DownstreamPathTemplate,                     loadBalancerKey: downstreamRoute.LoadBalancerKey,                     delegatingHandlers: downstreamRoute.DelegatingHandlers,                     addHeadersToDownstream: downstreamRoute.AddHeadersToDownstream,                     addHeadersToUpstream: downstreamRoute.AddHeadersToUpstream,                     dangerousAcceptAnyServerCertificateValidator: downstreamRoute.DangerousAcceptAnyServerCertificateValidator,                     securityOptions: downstreamRoute.SecurityOptions,                     downstreamHttpMethod: downstreamRoute.DownstreamHttpMethod,                     downstreamHttpVersion: downstreamRoute.DownstreamHttpVersion             ));         }         await next.Invoke();
However, this works for the first time, and the following requests don't get changed to the right host but use the host from the first request instead. Can you please guide me to a right track.

@mrclayman commented on Jun 10, 2020

Hi Zbyněk!
It is 2023 year nowadays! It is time to return back! 😉
So, I've assigned this issue to you. 😸

I don't know... I mean... it's been 4 years. :laughing: I don't even work for the company where we needed that. But I guess, since I don't like walking away from unfinished work, I should find the time to look into it and complete it somehow, especially now that I don't have much else to do in my spare time. :thinking:

@PraveenValavan commented on June 29, 2023

However, this works for the first time, and the following requests don't get changed to the right host but use the host from the first request instead. This is because the LoadBalancingMiddleware kicks in and replaces the host that I have updated.
Can you please guide me on the right track?

Hi Praveen!
It looks like a developer's coding life hack! Nice! 🤣
Cannot suggest anything with your life hack...
I recommend going these two ways:

Use my tips I wrote for Brett Graves. In this case you will have some hybrid solution because multi-tenant redirects will be made by service discovery provider or another multi-tenancy service.
Use Azure native tools (I see you deploy apps to Azure cloud). See First approach in my tips

Hope it helps!
P.S. Sure, you can wait for final delivery of current feature in a month or two. We have now draft solution ( #964 )  from Zbyněk Novotný.

@mrclayman commented on Jun 29, 2023

I don't even work for the company where we needed that.

No worries! Every company in the world could use Ocelot to build API gateways, including your current one. 😃
Regarding #964 ... It is based on very old, outdated feature branch!
I've created this PR 1 to update your fork repo. Please merge the PR!
After that create new feature branch from develop, apply all changes and create new PR please!
Hope you will start development soon!

@mrclayman We have #1312 by @jlukawska
@jlukawska We have #964 by @mrclayman
Who will win? :star: :yum:
Your bets, please! :spades: :hearts: :clubs: :diamonds:

I bet on her. :smile:
I've got the changes I made in the past incorporated into the new state of the code base. I could create a new preliminary PR just so ya'll can see, but I have not tested them (unit tests do pass, though).

Hm, for some reason, many of the changed files are coming up as "rewritten" even though I really only just added the bits I had implemented in the old branch, dammit.
Let me know if that is a problem. :confused:

@mrclayman
Let's move discussion to your PR #964 until the moment you'll create a new PR, maybe...
You are unassigned from this ticket because your solution is draft and it is based on very old source code and feature branch which is 247 commits behind ThreeMammals:develop!
We cannot go with your draft solution.
This issue will be assigned to @jlukawska because of ready and solid PR #1312. The merge conflicts will be resolved soon.

Well, if you have another solution that is close to being merged, then it makes little sense to me to keep working on this any longer. I am perfectly fine with somebody else picking up the mantle and I don't really want this to become a race. :slightly_smiling_face:

Possible delivery in December...

Implemented by #1312
Will be released as a part of version 24.0...


high virtual memory consumption after aggregate query run

I have a question on ClickHouse virtual memory consumption, my clickhouse instance(18.14.10) consume huge virtual memory consumption:

pmap also show huge [anon] blockes of this process, for example:
0000000000400000 192600K r-x-- clickhouse
000000000c016000 2600K rwx-- clickhouse
000000000c2a0000 2952K rwx-- [ anon ]
00007ea54b197000 1048576K rwx-- [ anon ]
00007ea60b197000 8388608K rwx-- [ anon ]
00007ea8bb197000 1310720K rwx-- [ anon ]
00007ea98b197000 491520K rwx-- [ anon ]
00007ea9b1197000 5505024K rwx-- [ anon ]
00007eab05197000 196608K rwx-- [ anon ]
00007eab1919b000 229376K rwx-- [ anon ]
00007eab3324b000 1474560K rwx-- [ anon ]
00007eab9c269000 262144K rwx-- [ anon ]
00007eabd5ab4000 393216K rwx-- [ anon ]
00007eabf3ac0000 196608K rwx-- [ anon ]
Does this symptom ring memory leak problem in my instance?  those anonymous block should be allocated by mmap in clickhouse, and should have been munmap back to system.

Virtual memory is not a scarce resource - there are 2^64 bytes of it :) You should instead look at the resident memory (RES in the top output) and it is ok in your screenshot.
Probably this is how jemalloc operates - allocate huge blocks of virtual memory and return unused physical memory to the system using the madvise syscall.


"Queries" option missing in responses

Hey team, I have a question...
I just saw that the "Queries" option for responses is missing, at least in versions 1.52 and 1.53. But it used to be present in a previous version (I don't remember exactly what version was it).
Old version:

1.53:

Wonder if this is a bug or an intentional change. And, on the other hand, what should be the workaround for path params.
Thank you guys in advance.
Nicolas

Thank you for reporting this @nicohv.
I have identified the issue and created a fix for it. I will prepare a new release today.
Best regards,
Karl Dahlgren

Thank you @karldahlgren for taking care of this. Very appreciated!


Usage option to control when to destroy

all new issues should include the following:

description of the issue and steps to reproduce
On your web site, in the window scrolling example, you hide the header only after the user scrolls past the very bottom of the table.  Do you know of any arguments that can control this?  Perhaps if we wanted to "glue" the header just above the second to last row of a table?

jsfiddle that reproduces your issue in its simplest form possible [required]
https://jsfiddle.net/dixalex/s6dyobo7/

browser name/version

OS name

jQuery version if not latest: 1.9

floatThead version if not latest

no jsfiddle == your issue will be closed
Ideally, this would be an configurable option where we could set defaults of where we want the header to anchor while scrolling.
If I have posted this issue in the incorrect manner, please forgive me.

what you want is the bottom option. I have no idea why it made it so you have to return a negative number, probably because I didn't really think about it and made it work just like top works. anyway:
https://jsfiddle.net/s6dyobo7/2/

I appreciate your time and your example.  I apologize that I did not see this in the documentation.

Any time.


Please add a Ethiopian payment method

Is your feature request related to a problem? Please describe.
PHP Laravel by Kidus Yared » https://github.com/Chapa-Et/chapa-laravel
https://developer.chapa.co/docs/
Describe the solution you'd like
to pay locally using chapa payment gateway,it has both and international payment method please add the Chapa payment to your  bagisto project
Describe alternatives you've considered
payment integration with Chapa gateway
Additional context
No response

You can create a customized package for that. As this is not in our roadmap.


No response to query

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

How to troubleshoot and locate if the query result is not available, or have any suggestions

Bug

Which version of SkyWalking, OS, and JRE?
1.skywalking: v8.5.0
2.elasticsearch: 7.5.1
3.kafak-reporter-plugin and kafka-fetcher are turned on
4.Deployed in kubernetes,3 oap, 1 ui
5.Customized tomcat plugin implementation
TomcatInvokeInterceptor

    @Override
    public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes,
                             MethodInterceptResult result) throws Throwable {
        Request request = (Request) allArguments[0];
        ContextCarrier contextCarrier = new ContextCarrier();

        CarrierItem next = contextCarrier.items();
        while (next.hasNext()) {
            next = next.next();
            next.setHeadValue(request.getHeader(next.getHeadKey()));
        }

        AbstractSpan span = ContextManager.createEntrySpan(request.getRequestURI(), contextCarrier);

        // ------------------------------Custom start-------------------------------------------
        String traceIdKey = "traceid";
        if (StringUtil.isNotEmpty(System.getenv("traceIdKey"))) {
            traceIdKey = System.getenv("traceIdKey");
        }

        String oldTraceId = null;
        if (StringUtil.isNotEmpty(request.getHeader(traceIdKey))) {
            oldTraceId = request.getHeader(traceIdKey);
        } else if (StringUtil.isNotEmpty(request.getHeader("x-request-id"))) {
            oldTraceId = request.getHeader("x-request-id");
        }

        if (StringUtil.isNotEmpty(oldTraceId)) {
            DistributedTraceId newDistributedTraceId = new NewDistributedTraceId(oldTraceId);
            ContextSnapshot contextSnapshot = ContextManager.capture();
            this.setFieldValue(contextSnapshot, "traceId", newDistributedTraceId);
            this.setFieldValue(contextSnapshot, "traceSegmentId", "X" + contextSnapshot.getTraceSegmentId());
            ContextManager.continued(contextSnapshot);
        }
        // ------------------------------Custom end-------------------------------------------

        Tags.URL.set(span, request.getRequestURL().toString());
        Tags.HTTP.METHOD.set(span, request.getMethod());
        span.setComponent(ComponentsDefine.TOMCAT);
        SpanLayer.asHttp(span);

        if (TomcatPluginConfig.Plugin.Tomcat.COLLECT_HTTP_PARAMS) {
            collectHttpParam(request, span);
        }
    }

public class NewDistributedTraceId extends DistributedTraceId {
    public NewDistributedTraceId(String traceId) {
        super(traceId);
    }
}

Which company or project?

What happened?

After the cluster is installed successfully, there is no problem with a small amount of access data. After increasing the amount of access data, it is found that there is no response to the query today.

Once you changed codes, they are your reponsibility. Don't ask to a community about your fork.

@wu-sheng
When using 8.1(But did not modify the custom code), the cluster is unavailable after running for a period of time, and then I made a part of the transformation

There is a problem with the kubernetes cluster deployment mode,
Solution: --set oap.env.SW_CLUSTER=kubernetes
There are some error messages such as queue accumulation in the backend, which may be caused by a relatively large amount of data
Solution: kafak-reporter-plugin and kafka-fetcher are turned on
Large amount of data, elasticsearch upgrade configuration

Now use 8.5, and solve the above problems, but skywalking is not available today, ui and oap have no obvious abnormalities

All you mentioned, we have documents to mention that. I can't see what is the point. You should understand, the community is a place to discuss tech and find a solution, rather than a place to provide diagnose service.
Unless you have some specific questions, I don't think this is a valid question.

All you mentioned, we have documents to mention that. I can't see what is the point. You should understand, the community is a place to discuss tech and find a solution, rather than a place to provide diagnose service.
Unless you have some specific questions, I don't think this is a valid question.

Okay, just now, the cluster can query the results again. For the time being, this problem has not happened, although I don't know the reason.:flushed:


Update Telemetry features in feature-stages doc

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: douglas-reid
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
Assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: douglas-reid, jasmine-jaksic
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
Assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

As @jasmine-jaksic approved:
/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid, jasmine-jaksic, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Tenant migrations are applied on central DB

Describe the bug
I have a multi-database tenancy installation, but when executing a php artisan tenants:migrate command, all migrations are being applied on central DB instead.
This unexpected behaviour started happening after I transferred (copy-pasted) my code to another physical machine. I didn't do any changes in my code after that. On an old machine, all migrations were being applied on proper databases. I cleared all app caches, but it did no impact on the situation.
I suppose this may not be a bug, but rather an issue in a configuration. Where should I look to fix that?
Steps to reproduce

Set up a new project;
Install stancl/tenancy package;
Set up a multi-database tenancy app;
Move code to another machine by ctrl+c-ing source to another computer;
Run app and tenant migrations;

Expected behavior
Tenant migrations should apply on tenant databases, not central one.
Your setup

Laravel version: 8.26.1
stancl/tenancy version: 3.4.1

Can you test this on an older Laravel 8 release?

Tested on Laravel 8.0.3 - same story.

I made a clear Laravel v8.0.3 setup with a stancl/tenancy package, created two tenants via laravel tinker and ran their migrations (at first, corresponding databases have been automatically created and filled by migrations for each tenant, but I truncated these databases and applied migrations manually) - works as intended.


tests/kernel/timer/timer_api failed on mec15xxevb_assy6853 board.

To Reproduce
Steps to reproduce the behavior:

sanitycheck --hardware-map ~/mec1.file --device-testing
-T tests/kernel/timer/timer_api  -vv
see error

Screenshots or console output
*** Booting Zephyr OS build zephyr-v2.3.0  ***
Running test suite timer_api
starting test - test_time_conversions
PASS - test_time_conversions
starting test - test_timer_duration_period
PASS - test_timer_duration_period
starting test - test_timer_period_0
PASS - test_timer_period_0
starting test - test_timer_expirefn_null
PASS - test_timer_expirefn_null
......
starting test - test_timer_k_define
PASS - test_timer_k_define
starting test - test_timer_user_data
PASS - test_timer_user_data
starting test - test_timer_remaining
Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:603: test_timer_remaining: (abs(delta_ticks) <= MAX(slew_ticks, 1U) is false)
tick/busy slew -2 larger than test threshold 0
FAIL - test_timer_remaining
starting test - test_timeout_abs
PASS - test_timeout_abs
Test suite timer_api failed.
PROJECT EXECUTION FAILED
Environment (please complete the following information):

OS: Fedora28
Toolchain: Zephyr-sdk-0.11.3
Commit ID: zephyr-v2.3.0

@chen-png  Maybe, this is similar to  #26039

Maybe, this is similar to #26039

yes,  it's fixed by #26045 too, so closed this.


Code cleaning 002

What changes does this PR introduce?
In pkg/seaice and pkg/ctrl, replace call to obsolete MDSREADFIELD S/R with call to (pkg/rw) READ_REC_3D_RL and replace call to obsolete MDSWRITEFIELD S/R with call to (pkg/rw)
WRITE_REC_3D_RL.
Other information:
This complements PR#72 which did the same substitution within pkg/ecco ; Once both PR
are merged, the 2 obsolete S/R could be removed.

LGTM +1


Ensure that PATransportChannel delegates to wrapped channel and add tests

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
Ensures that PATransportChannel delegates implementations to the wrapped channel except for:

getChannelType
getProfileName

Added tests that use reflection to ensure that if the TransportChannel interface changes that the CI in this repo catches it to ensure that this wrapper class gets modified accordingly.
Additional context
https://github.com/opensearch-project/performance-analyzer/issues/606
Check List

[ ] Backport Labels added.
[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The BWC tests are failing, can you bump up the BWC version to 2.11 here: https://github.com/opensearch-project/performance-analyzer/blob/main/build.gradle#L13. The same needs to be back-ported to 2.x branch.

@cwperks want to finish this?

Rebased with main. @Gaganjuneja @psychbot Can you take a look?


Update test-infra, use its function for pod logs

Proposed Changes

Update to latest test-infra commit
Use test-infra's generalized dump_app_logs function and remove Build's implementation

/assign @adrcunha, @shashwathi


Broken link in Terms of Service

The link "reblogging function", poiting to en.support.freecodecamp.com is broken. Do FCC still have a support site?
Screenshot

I don't know what this should be linking to (if anything). Any insight @QuincyLarson?

@Greenheart this can be deleted. It is left over from Wordpress's ToS (which I interpreted into our ToS - it's creative commons).


SNOW-821408: Union does not validate field types

Please answer these questions before submitting your issue. Thanks!

What version of Python are you using?

The code should analyze the types upon running the union_all_by_name, and fail fast when incompatible types are attempted union. (What happened in our code, is that the error was discovered much later, when the eventual dataframe is written, despite the fact that it could've been detected much earlier).
It is worth noting that the existing union code already does a really similar validation with the attribute names - accessing their datatypes is not out of reach:
    def _union_by_name_internal(
        self, other: "DataFrame", is_all: bool = False
    ) -> "DataFrame":
        left_output_attrs = self._output
        right_output_attrs = other._output
        right_output_attr_by_name = {rattr.name: rattr for rattr in right_output_attrs}

Can you set logging to DEBUG and collect the logs?

df_3:
2023-05-17 16:41:34,541 - MainThread cursor.py:735 - execute() - DEBUG - executing SQL/command
2023-05-17 16:41:34,542 - MainThread cursor.py:800 - execute() - INFO - query: [SELECT  *  FROM (( SELECT "A", "B" FROM ( SELECT $1 AS "A", $2 AS "B" FROM  VALU...]
2023-05-17 16:41:34,542 - MainThread connection.py:1363 - _next_sequence_counter() - DEBUG - sequence counter: 3
2023-05-17 16:41:34,543 - MainThread cursor.py:467 - _execute_helper() - DEBUG - Request id: 38b44933-b5ef-47ac-86de-3499453a206a
2023-05-17 16:41:34,543 - MainThread cursor.py:469 - _execute_helper() - DEBUG - running query [SELECT  *  FROM (( SELECT "A", "B" FROM ( SELECT $1 AS "A", $2 AS "B" FROM  VALU...]
2023-05-17 16:41:34,544 - MainThread cursor.py:476 - _execute_helper() - DEBUG - is_file_transfer: True
2023-05-17 16:41:34,544 - MainThread connection.py:1035 - cmd_query() - DEBUG - _cmd_query
2023-05-17 16:41:34,545 - MainThread connection.py:1058 - cmd_query() - DEBUG - sql=[SELECT  *  FROM (( SELECT "A", "B" FROM ( SELECT $1 AS "A", $2 AS "B" FROM  VALU...], sequence_id=[3], is_file_transfer=[False]
2023-05-17 16:41:34,546 - MainThread network.py:1162 - _use_requests_session() - DEBUG - Session status for SessionPool 'xxxxxxxx-xxxxxxxx.snowflakecomputing.com', SessionPool 1/1 active sessions
2023-05-17 16:41:34,546 - MainThread network.py:847 - _request_exec_wrapper() - DEBUG - remaining request timeout: None, retry cnt: 1
2023-05-17 16:41:34,547 - MainThread network.py:828 - add_request_guid() - DEBUG - Request guid: 9b54a4ca-0867-467a-8a3f-f91a584f36f6
2023-05-17 16:41:34,547 - MainThread network.py:1021 - _request_exec() - DEBUG - socket timeout: 60
2023-05-17 16:41:34,905 - MainThread connectionpool.py:456 - _make_request() - DEBUG - https://xxxxxxxx-xxxxxxxx.snowflakecomputing.com:443 "POST /queries/v1/query-request?requestId=38b44933-b5ef-47ac-86de-3499453a206a&request_guid=9b54a4ca-0867-467a-8a3f-f91a584f36f6 HTTP/1.1" 200 1687
2023-05-17 16:41:34,910 - MainThread network.py:1047 - _request_exec() - DEBUG - SUCCESS
2023-05-17 16:41:34,911 - MainThread network.py:1167 - _use_requests_session() - DEBUG - Session status for SessionPool 'xxxxxxxx-xxxxxxxx.snowflakecomputing.com', SessionPool 0/1 active sessions
2023-05-17 16:41:34,911 - MainThread network.py:727 - _post_request() - DEBUG - ret[code] = None, after post request
2023-05-17 16:41:34,912 - MainThread network.py:751 - _post_request() - DEBUG - Query id: 01ac58f5-0001-9ffc-0021-d2870008105a
2023-05-17 16:41:34,914 - MainThread cursor.py:807 - execute() - DEBUG - sfqid: 01ac58f5-0001-9ffc-0021-d2870008105a
2023-05-17 16:41:34,915 - MainThread cursor.py:813 - execute() - INFO - query execution done
2023-05-17 16:41:34,916 - MainThread cursor.py:827 - execute() - DEBUG - SUCCESS
2023-05-17 16:41:34,917 - MainThread cursor.py:846 - execute() - DEBUG - PUT OR GET: False
2023-05-17 16:41:34,917 - MainThread cursor.py:941 - _init_result_and_meta() - DEBUG - Query result format: arrow
2023-05-17 16:41:34,920 - MainThread cursor.py:955 - _init_result_and_meta() - INFO - Number of results in first chunk: 4
2023-05-17 16:41:34,921 - MainThread server_connection.py:328 - run_query() - DEBUG - Execute query [queryID: 01ac58f5-0001-9ffc-0021-d2870008105a]  SELECT  *  FROM (( SELECT "A", "B" FROM ( SELECT $1 AS "A", $2 AS "B" FROM  VALUES ('a' :: STRING, 1 :: INT), ('b' :: STRING, 2 :: INT))) UNION ALL ( SELECT  CAST ("A" AS VARIANT) AS "A", "B" FROM ( SELECT $1 AS "A", $2 AS "B" FROM  VALUES ('a' :: STRING, 1 :: INT), ('b' :: STRING, 2 :: INT)))) LIMIT 4
2023-05-17 16:41:34,923 - MainThread arrow_iterator.cpython-38-darwin.so:0 - __cinit__() - DEBUG - Batches read: 1
2023-05-17 16:41:34,923 - MainThread CArrowIterator.cpp:16 - CArrowIterator() - DEBUG - Arrow BatchSize: 1
2023-05-17 16:41:34,923 - MainThread CArrowChunkIterator.cpp:50 - CArrowChunkIterator() - DEBUG - Arrow chunk info: batchCount 1, columnCount 2, use_numpy: 0
2023-05-17 16:41:34,925 - MainThread result_set.py:58 - result_set_iterator() - DEBUG - beginning to schedule result batch downloads
2023-05-17 16:41:34,925 - MainThread CArrowChunkIterator.cpp:74 - next() - DEBUG - Current batch index: 0, rows in current batch: 4

df_4:
2023-05-17 16:41:06,727 - MainThread cursor.py:735 - execute() - DEBUG - executing SQL/command
2023-05-17 16:41:06,728 - MainThread cursor.py:800 - execute() - INFO - query: [SELECT  *  FROM (( SELECT  CAST ("A" AS VARIANT) AS "A", "B" FROM ( SELECT $1 AS...]
2023-05-17 16:41:06,728 - MainThread connection.py:1363 - _next_sequence_counter() - DEBUG - sequence counter: 2
2023-05-17 16:41:06,728 - MainThread cursor.py:467 - _execute_helper() - DEBUG - Request id: 2df6d65c-1bc6-4358-9cde-924161967bb6
2023-05-17 16:41:06,729 - MainThread cursor.py:469 - _execute_helper() - DEBUG - running query [SELECT  *  FROM (( SELECT  CAST ("A" AS VARIANT) AS "A", "B" FROM ( SELECT $1 AS...]
2023-05-17 16:41:06,729 - MainThread cursor.py:476 - _execute_helper() - DEBUG - is_file_transfer: True
2023-05-17 16:41:06,729 - MainThread connection.py:1035 - cmd_query() - DEBUG - _cmd_query
2023-05-17 16:41:06,729 - MainThread connection.py:1058 - cmd_query() - DEBUG - sql=[SELECT  *  FROM (( SELECT  CAST ("A" AS VARIANT) AS "A", "B" FROM ( SELECT $1 AS...], sequence_id=[2], is_file_transfer=[False]
2023-05-17 16:41:06,730 - MainThread network.py:1162 - _use_requests_session() - DEBUG - Session status for SessionPool 'xxxxxxxx-xxxxxxxx.snowflakecomputing.com', SessionPool 1/1 active sessions
2023-05-17 16:41:06,730 - MainThread network.py:847 - _request_exec_wrapper() - DEBUG - remaining request timeout: None, retry cnt: 1
2023-05-17 16:41:06,730 - MainThread network.py:828 - add_request_guid() - DEBUG - Request guid: 7ae80b5d-f94d-4e3c-a8d1-691c0b05bb4c
2023-05-17 16:41:06,730 - MainThread network.py:1021 - _request_exec() - DEBUG - socket timeout: 60
2023-05-17 16:41:07,072 - MainThread connectionpool.py:456 - _make_request() - DEBUG - https://xxxxxxxx-xxxxxxxx.snowflakecomputing.com:443 "POST /queries/v1/query-request?requestId=2df6d65c-1bc6-4358-9cde-924161967bb6&request_guid=7ae80b5d-f94d-4e3c-a8d1-691c0b05bb4c HTTP/1.1" 200 434
2023-05-17 16:41:07,073 - MainThread network.py:1047 - _request_exec() - DEBUG - SUCCESS
2023-05-17 16:41:07,073 - MainThread network.py:1167 - _use_requests_session() - DEBUG - Session status for SessionPool 'xxxxxxxx-xxxxxxxx.snowflakecomputing.com', SessionPool 0/1 active sessions
2023-05-17 16:41:07,073 - MainThread network.py:727 - _post_request() - DEBUG - ret[code] = 001790, after post request
2023-05-17 16:41:07,074 - MainThread network.py:751 - _post_request() - DEBUG - Query id: 01ac58f5-0001-a00b-0021-d2870007908a
2023-05-17 16:41:07,074 - MainThread cursor.py:807 - execute() - DEBUG - sfqid: 01ac58f5-0001-a00b-0021-d2870007908a
2023-05-17 16:41:07,074 - MainThread cursor.py:813 - execute() - INFO - query execution done
2023-05-17 16:41:07,074 - MainThread cursor.py:888 - execute() - DEBUG - {'data': {'internalError': False, 'errorCode': '001790', 'age': 0, 'sqlState': '42601', 'queryId': '01ac58f5-0001-a00b-0021-d2870007908a', 'line': -1, 'pos': -1, 'type': 'COMPILATION'}, 'code': '001790', 'message': 'SQL compilation error:\ninconsistent data type for result columns for set operator input branches, expected VARCHAR(16777216), got VARIANT', 'success': False, 'headers': None}

thanks for the feedback, I think fail fast is in general a good idea, we will look into it.
also free free to make PR if you have some thoughts already and want to implement them.


[Work in progress] Feature/table filters

I think its stable enough to move into client project

Change default quick search placeholder text to "Search by keyword"
Rearrange components to be: Search.Provider, SearchFilters.*, Search.Status, Search.Export, Search.Pagination
Change registerParam to filterMapping
Remove the drop shadow on the Segment default style (across the board)
If no filterMapping is provided, fall back to traditional X filters active indication (no URL states available)
Use  styling for active filters indicator (maybe use the Label.Detail type styling)
Make sure there is proper spacing between wrapped around components


Improve activity & action completed pages

New "completed" pages for activities and actions. See what you think.
Have put this behind a activities_2024 feature flag - we need to remove the activites_2023 one though soon!
Think the notice with the link to the action or activity could be improved (think the link should be inline with the text at least, but this is not standard behaviour for this component, so I thought I would wait to discuss this with you).
I noticed there is some text on the old page that mentions the scoreboard prizes. It is behind the scoreboard_prizes feature flag and currently switched off in production so have left it out on the new page for now.
Also - it is possible to record an action or activity and not score points (when the completed date is set in a previous academic year), so in this situation, instead of writing "Congratulations! You've just scored X points", I have put "Congratulations! We've recorded your activity" (or action).
I added an icon to the "View all suggestions" prompt on these pages, so it matched better with the other prompts above it.

Have taken a look at this, my initial feedback after seeing it implemented:

I think now that the "Share what you've done..." notice ought to go below the scoreboard and other activity, to focus on the progress / activity feedback rather than the sharing
Suggest that this notice goes under the "What do you want to do next?" heading so that section now covers all both sharing of progress as well as picking what to do next
I agree that the notice text and link needs to be better aligned, on this page it might look better with the link as a button rather than a plain hyperlink

Other suggested changes to text, etc look good to me too.

Thanks @ldodds - here's a screen grab of the bottom of the page based on the changes suggested.
I have added an icon to the share text so it matches the other prompts, see what you think:

I think that looks good and like the icon.


Example doesn't work

Honor 8A
Logs after pressing the start button:
I/flutter ( 4247): Failed to call startBubbleHead
E/flutter ( 4247): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value
E/flutter ( 4247): #0      PlatformAssetBundle.load
package:flutter/…/services/asset_bundle.dart:222
E/flutter ( 4247): #1      Bubble.startBubbleHead
package:bubble_head/bubble.dart:23
E/flutter ( 4247): #2      main
package:bubble_example/main.dart:9
E/flutter ( 4247): #3      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:145:25)
E/flutter ( 4247): #4      _rootRun (dart:async/zone.dart:1428:13)
E/flutter ( 4247): #5      _CustomZone.run (dart:async/zone.dart:1328:19)
E/flutter ( 4247): #6      _runZoned (dart:async/zone.dart:1863:10)
E/flutter ( 4247): #7      runZonedGuarded (dart:async/zone.dart:1851:12)
E/flutter ( 4247): #8      _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:141:5)
E/flutter ( 4247): #9      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:283:19)
E/flutter ( 4247): #10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter ( 4247):

Will take a look within the week. Currently busy but will find to confirm and resolve the issue.

Unfortunately, am unable to reproduce your issue @pocket-red-fox. My guess here is that your setup is not properly configured (as illustrated in the package documentation).


ARROW-5872: [C++][Gandiva] Support mod(double, double) function in Gandiva

Codecov Report

Merging #4820 into master will increase coverage by 0.58%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4820      +/-   ##
==========================================
+ Coverage   88.53%   89.11%   +0.58%
==========================================
  Files         911      720     -191
  Lines      115462   101245   -14217
  Branches     1418        0    -1418
==========================================
- Hits       102225    90228   -11997
+ Misses      12875    11017    -1858
+ Partials      362        0     -362

Impacted Files
Coverage Δ

cpp/src/gandiva/function_registry_arithmetic.cc
100% <100%> (ø)
:arrow_up:

cpp/src/gandiva/precompiled/arithmetic_ops.cc
33.33% <100%> (+16.66%)
:arrow_up:

cpp/src/gandiva/precompiled/arithmetic_ops_test.cc
100% <100%> (ø)
:arrow_up:

cpp/src/gandiva/decimal_ir.h
68% <0%> (-5.34%)
:arrow_down:

cpp/src/gandiva/tests/decimal_test.cc
100% <0%> (ø)
:arrow_up:

go/arrow/ipc/writer.go

go/arrow/math/uint64_amd64.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/ipc/file_reader.go

... and 192 more

Continue to review full report at Codecov.

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


Cloud Drives: Add Yandex

What's the Problem?
No response
Solution/Idea
Adding two other cloud drives
Google Drive
Yandex Disk
Alternatives
none
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.346
Windows Version
Windows 11, latest
Additional comment
No response

Good drive should already appear in the sidebar (maybe in the Drives section). Not so for Yandex thoughm

Hi Marco
Left side my cloud drives with Yandex Disk and Synology Drive (somehow
Explorer can identify them, even the Syno Drive, that surprices me). In
the middle the G: drive from Google. Right is Files
Freundliche Grüsse
Jörg Strohmeier
------ Original Message ------
From: "Marco Gavelli" @.>
To: "files-community/Files" @.>
Cc: "inthesky" @.>; "Author"
@.>
Sent: 16.11.2021 09:16:16
Subject: Re: [files-community/Files] Cloud Drives: Add Google and Yandex
(Issue #6940)

Good drive should already appear in the sidebar (maybe in the Drives
section). Not so for Yandex though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/6940#issuecomment-970000583,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJYPRY3ZFRMRNQCOR5ZJSY3UMIHNBANCNFSM5IDGYRVQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


1440 secret key ref explanation

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[ ] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description

I changed the text of the doc to reflect the areas that were missing as stated in Issue 1440.
Issue reference

#1440

This is a great clarification on the use of secrets, and those where the "key" is part of the actual secret itself like connection strings. My main feedback is that rather than calling these "Standard Case" and "Special Case", using descriptive names would be better, something like "embedded key" case and "string only " case.

I am ready to apply Marks feedback on renaming some things.  But I am unsure how to proceed?  Which repo should I fork?  Is this like starting anew, or should I start from the changes in progress and now to do that?  Thanks.

@georgestevens99 Can you please address @msfussell's comment so we can merge this? Thank you.

I did that yesterday, in the 1440xxx branch that Mark was commenting on.
Is there a problem with that?
On Wed, Sep 8, 2021 at 6:35 PM greenie-msft @.***>
wrote:

@georgestevens99 https://github.com/georgestevens99 Can you please
address @msfussell https://github.com/msfussell's comment so we can
merge this? Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dapr/docs/pull/1757#issuecomment-915618973, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRXHHKD3IVDM7FZ5U56EE3UA7QJZANCNFSM5DFFP2MQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Reload nginx really gracefully

Introduce nginx_reload_script config option
Introduce nginx_reload_script configuration option, allowing to
specify a script which will be used to reload nginx.  By default it
executes the same actions as the current hardcoded command.
Don't kill old nginx instance if the new one is unhealthy
While reloading nginx, after we sent SIGUSR2 to nginx asking it to
launch a new instance of itself, let's check that the new instance
actually launched before killing the old one.

To test it I made some changes in a service port to make sure that the command still gracefully reload nginx.
I also run the command to make sure that it fails if the new nginx pid is the same as the old one.


Privacy Center logging is too verbose

Bug Description
In recent releases of the Privacy Center we added some new troubleshooting logs for loading config files, like:
Loaded configuration file: file:///app/config/config.css
Loaded configuration file: file:///app/config/config.json

Right now these are way too verbose for production usage though, so we need to just throttle them back.
Steps to Reproduce

Run nox -s "fides_env(test)" and interact with the privacy center
Inspect the Docker logs

Expected behavior
In a production build, no debug logging should be present.
Environment

Version: 2.14.2

moving to done


Implement /rankup; remove ?rankup

Replace the ?rankup command with the equivalent slash command /rankup.
Since this command is relatively complex, additional review and testing to uncover bugs is appreciated (cc @Kacarott ).
Related: #43

It looks fine to me. Does ephemeral mean the command and output still happen in the channel, but are hidden from everyone else?

Yes


Touch up rmi -f usage statement

Signed-off-by: TomSweeneyRedHat<EMAIL_ADDRESS>Touches up the usage to note that the containers are also removed with the -f param of rmi.  Addresses #438

@rh-atomic-bot r+


Big performance drop every couple seconds

I'm sure you also noticed the slowdown that happens every couple seconds.
The cause is that our code produces a lot of garbage (memory) that get's collected from time to time.
Here is small video showing the performance drop when the garbage get's collected
https://user-images.githubusercontent.com/4752038/140398076-192faad7-c2dc-4327-9ab0-5d00b2eb304b.mp4
To solve the issue we need to optimize the mem usage significantly. The terrain  generation might be one of the bigger contributors to that issue.

I don't notice on windows but I have no doubt you are right.

Okay, I've identified the issue. The code responsible for pre-generating the positions for all the refuel bases fills the garrGround table with a painful lot of entries with the line if basedistance > #garrGround then Terrain.getNoise(basedistance * 2) end.
We need a way to predefine positions for bases and buildings without generating all the terrain for it.
Also we need to generate, update and draw just the terrain, buildings etc that is/are directly near the player. Everything else shouldn't be present at runtime.
Maybe we could keep small tables just saving the x position for objects and if the player is near that position, the object will actually be created. And if the player get a set distance away then the object will be destroyed and e.g for refuel bases, just an entry with it's id and the fuelCapacity will be saved just in case the player comes back and tries to refuel again.
y position can be generated on-the-fly to make sure the object sit's on the surface.

I don't notice on windows but I have no doubt you are right.

Thanks for your trust :heart_eyes:
I assume you just woke up & I'm about to go to bed? hehe.
Have a nice day :wink:

Functionality and just getting the darn thing to work was the focus. Optimizing was always going to be needed.
Like the way I just optimised the socket code. Iterative improvements.
Glad you found that one about the bases.
Good night!

Functionality and just getting the darn thing to work was the focus. Optimizing was always going to be needed.

Sure, no worries :wink:


Build and promote best of breed of open source tooling used in dev context

e.g. #252

For Code screenshots -> https://github.com/carbon-app/carbon
For awesome drawings / whiteboarding -> https://github.com/excalidraw/excalidraw