Fix nvarchar max not handled

Newer ODBC Drivers for SQL Server report nvarchar max as having a size of 0, so the client only gets one buffer full of data and large text will not be retrieved

Fixed in #7


String.substr(pos, len) second argument should be optional

Godot 3.0 RC2
It would be nice to have the second parameter of substr optional, and by default indicate the remaining length.
For example, removing the first character of a string currently needs to calculate the length:
s = s.substr(1, len(s) - 1)

While it could become:
s = s.substr(1)

Also using -1 as second parameter doesn't work, it returns an empty string.

I would also like the second argument to be optional or be able to use -1 to get all of the rest of the string from position

As mentioned in #28648, the requested feature is already provided by String.right(pos) which does what the proposed String.substr(pos, -1) would do.
So I'm not sure if it's really that necessary to add such feature. One could also expect that String.substr(pos) defaults to a slice of length 1 and gives the pos + 1-th character, by analogy with Python's slicing operator where "string"[pos] would do that (which "string"[pos:] would give the right side of the slice from pos).

If the feature is not added, it would be nice to either add links from substr to right and left or to group String methods more logically, in order to make it easier to find those other methods.


Leaflet anchor changes on declustering

I have an issue with custom icons. I create my markers using custom icon (setting anchor and iconSize) and everything looks at the beggining

But when i do following things:

Open a map with clustered icons
Zoom out so that markers will cluster
Zoom in so that marker will uncluster
and now markers are not pointing where they should.

as you see the marker and it's label looks weird and what is important is that label is in correct spot (icon is moved)
This issue is on both 0.7 and 1.0 so I would recommend to fix this on 0.7

Wrong repo, you probably want to report this in https://github.com/Leaflet/Leaflet.markercluster/issues instead.

Yeah, you are right, sorry


fix test code

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

Coverage data is based on head (b878bd7) compared to base (0146075).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #235   +/-   ##
=======================================
  Coverage   62.42%   62.42%
=======================================
  Files          60       60
  Lines        3984     3984
  Branches      782      782
=======================================
  Hits         2487     2487
  Misses        798      798
  Partials      699      699

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

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


Set visibility: hidden on menu if not visible (fixes #1025)

Just tested against the dashboard template and works as expected.
LGTM

Hold on this. IE11 is acting up

Fix'd :)

@surma Ahh looks fixed on the live templates, I guess I need to take the latest CSS file right ? Thanks @surma for this.


[FEA] fully support trims

Is your feature request related to a problem? Please describe.
The current GPU implementation of ltrim, rtrim and trim only support a literal trim string. It would be great to fully support all combinations of parameters.

Added that this needs a cudf dependency, but no issue was filed against cudf because this is currently a low priority.


Countries / cities with only (or none) capitals are not recognized

As you can see on both pictures, the correct country / city is only extracted and recognized if it is correctly capitalized. It would be really helpful if the package can also extract and normalize countries / cities that are formatted differently.

The best issues are those that solve themselves @MyrtheLammerse :)


A/B testing

Not sure it have to go into core, but for now let's keep that issue here.
Some useful resources:

https://github.com/danmaz74/ABalytics
http://romainstrock.com/easyAB/
http://blog.alexmaccaw.com/abba
http://support.kissmetrics.com/a-b-testing/using-km-js/
http://nopreset.ru/blog/eksperimentyi/a-b-testirovanie-na-sayte-s-pomoshhyu-js-i-yandeks-metriki/ (example with Yandex.Metrics)

Isn't a solution, but some info: http://nerds.airbnb.com/experiment-reporting-framework/

Google Optimize: https://www.youtube.com/watch?v=vDDMMbhvSVU

And Google Analytics actually has A/B too, called Content Experiments


fix emoji mapping

The gitmoji mapping was updated:
https://gitmoji.carloscuesta.me
:pencil: :memo: is now :pencil:
:poop: :hankey: is now :poop:

For more information:
https://github.com/carloscuesta/gitmoji/commit/fa9b4340e2c59204baea3e58963aa7f8b85081c5


RTL

This seems like a good place to start when tackling the former PR's
See: https://github.com/malte-wessel/react-custom-scrollbars/pull/88
I assume the new project doesn't have RTL support. I'll test this out when I get time, unless someone beats me to it.

Thank you @getTobiasNielsen for propose.
RTL is definitely a necessary feature here.

Hi there.
I am using Rocket.Chat software which uses rc-scrollbars component. All RTL language users have problems due to not supporting RTL.
Please add this feature as soon as possible.

Hi @sakhnyuk,
Is there any update on RTL support in this component?


Automatic tags not working

Using ETSI CAM 1.4.1 the Automatic tags are not respected (context_specific class is not used) and the message fails to validate against
ASN1 Playground
Please note that I have no real understanding of ASN.1 and BER encoding. So my fixes might seem naive. Anyways:
I have managed in somewhat uneducated way fix the encoder with generating context_specific id when the tagging_mode is automatic and the component in collection / choice is a SequenceType or ChoiceType. This "fix" somehow broke encoded_size as the returned value is 204 and real message size is actually 210.  This encoding might also work only for my use case as I haven't tested anything else. However the generated bytes are same as the message from ASN1 Playground.
I also fixed the decoder in similar way as the encoder. "create_collection_decode_functions" for optional types is another sort of hack by collecting all ids from all components and generating that huge "if" statement for them. I only tested that on decoding the message I previously encoded.

Could you post the ASN.1 snippit with the problem?

ASN.1 descriptions:
https://forge.etsi.org/rep/ITS/asn1/cdd_ts102894_2/blob/master/ITS-Container.asn
https://forge.etsi.org/rep/ITS/asn1/cam_en302637_2/blob/master/CAM-PDU-Descriptions.asn
I used sample from ASN.1 Playground as a baseline:
value1 CAM ::= {
  header {
    protocolVersion 1,
    messageID cam,
    stationID 1234567
  },
  cam {
    generationDeltaTime 11409,
    camParameters {
      basicContainer {
        stationType passengerCar,
        referencePosition {
          latitude 40487111,
          longitude 79494789,
          positionConfidenceEllipse {
            semiMajorConfidence 500,
            semiMinorConfidence 400,
            semiMajorOrientation wgs84North
          },
          altitude {
            altitudeValue 2000,
            altitudeConfidence alt-000-02
          }
        }
      },
      highFrequencyContainer basicVehicleContainerHighFrequency : {
        heading {
          headingValue wgs84North,
          headingConfidence equalOrWithinZeroPointOneDegree
        },
        speed {
          speedValue 2000,
          speedConfidence equalOrWithinOneCentimeterPerSec
        },
        driveDirection forward,
        vehicleLength {
          vehicleLengthValue 35,
          vehicleLengthConfidenceIndication noTrailerPresent
        },
        vehicleWidth 20,
        longitudinalAcceleration {
          longitudinalAccelerationValue 10,
          longitudinalAccelerationConfidence pointOneMeterPerSecSquared
        },
        curvature {
          curvatureValue straight,
          curvatureConfidence onePerMeter-0-00002
        },
        curvatureCalculationMode yawRateUsed,
        yawRate {
          yawRateValue straight,
          yawRateConfidence degSec-000-01
        },
        accelerationControl '0100000'B,
        steeringWheelAngle {
          steeringWheelAngleValue 30,
          steeringWheelAngleConfidence equalOrWithinOnePointFiveDegree
        },
        lateralAcceleration {
          lateralAccelerationValue -2,
          lateralAccelerationConfidence pointOneMeterPerSecSquared
        },
        verticalAcceleration {
          verticalAccelerationValue pointOneMeterPerSecSquaredUp,
          verticalAccelerationConfidence pointOneMeterPerSecSquared
        }
      },
      specialVehicleContainer publicTransportContainer : {
        embarkationStatus FALSE,
        ptActivation {
          ptActivationType undefinedCodingType,
          ptActivationData '001122334455'H
        }
      }
    }
  }
}

Message on above rewritten in code I used to test it.
        fast_ber::CAM_PDU_Descriptions::CAM msg{};
        msg.header.messageID = 2;
        msg.header.protocolVersion = 1;
        msg.header.stationID = 1234567;

        msg.cam.generationDeltaTime = 11409;
        auto& bc = msg.cam.camParameters.basicContainer;
        bc.stationType = 5;
        bc.referencePosition.latitude = 40487111;
        bc.referencePosition.longitude = 79494789;
        bc.referencePosition.positionConfidenceEllipse.semiMajorConfidence = 500;
        bc.referencePosition.positionConfidenceEllipse.semiMinorConfidence = 400;
        bc.referencePosition.positionConfidenceEllipse.semiMajorOrientation = 0;
        bc.referencePosition.altitude.altitudeValue = 2000;
        bc.referencePosition.altitude.altitudeConfidence = fast_ber::ITS_Container::AltitudeConfidenceValues::alt_000_02;

        fast_ber::CAM_PDU_Descriptions::BasicVehicleContainerHighFrequency basicVehContHF{};
        basicVehContHF.heading.headingValue = 0;
        basicVehContHF.heading.headingConfidence = 1;
        basicVehContHF.speed.speedValue = 2000;
        basicVehContHF.speed.speedConfidence = 1;
        basicVehContHF.driveDirection = fast_ber::ITS_Container::DriveDirectionValues::forward;
        basicVehContHF.vehicleLength.vehicleLengthValue = 35;
        basicVehContHF.vehicleLength.vehicleLengthConfidenceIndication = fast_ber::ITS_Container::VehicleLengthConfidenceIndicationValues::noTrailerPresent;
        basicVehContHF.vehicleWidth = 20;
        basicVehContHF.longitudinalAcceleration.longitudinalAccelerationValue = 10;
        basicVehContHF.longitudinalAcceleration.longitudinalAccelerationConfidence = 1;
        basicVehContHF.curvature.curvatureValue = 0;
        basicVehContHF.curvature.curvatureConfidence = fast_ber::ITS_Container::CurvatureConfidenceValues::onePerMeter_0_00002;
        basicVehContHF.curvatureCalculationMode = fast_ber::ITS_Container::CurvatureCalculationModeValues::yawRateUsed;
        basicVehContHF.yawRate.yawRateValue = 0;
        basicVehContHF.yawRate.yawRateConfidence = fast_ber::ITS_Container::YawRateConfidenceValues::degSec_000_01;
        std::array<uint8_t, 2> accelControl = {0x01, 0x40};
        basicVehContHF.accelerationControl =  std::span(accelControl);
        fast_ber::ITS_Container::SteeringWheelAngle steeringWheelAngle{};
        steeringWheelAngle.steeringWheelAngleValue = 30;
        steeringWheelAngle.steeringWheelAngleConfidence = 1;
        basicVehContHF.steeringWheelAngle = steeringWheelAngle;
        fast_ber::ITS_Container::LateralAcceleration latAcc{};
        latAcc.lateralAccelerationValue = -2;
        latAcc.lateralAccelerationConfidence = 1;
        basicVehContHF.lateralAcceleration = latAcc;
        fast_ber::ITS_Container::VerticalAcceleration vertiAcc{};
        vertiAcc.verticalAccelerationValue = 1;
        vertiAcc.verticalAccelerationConfidence = 1;
        basicVehContHF.verticalAcceleration = vertiAcc;

        fast_ber::CAM_PDU_Descriptions::BasicVehicleContainerLowFrequency basicVehContLF{};
        basicVehContLF.vehicleRole = fast_ber::ITS_Container::VehicleRoleValues::default_;
        std::array<uint8_t, 2> exterLights = {0x00, 0xA8};
        basicVehContLF.exteriorLights = std::span(exterLights);
        fast_ber::ITS_Container::PathPoint pp{};
        pp.pathDeltaTime = 1000;
        pp.pathPosition.deltaLatitude = 10000;
        pp.pathPosition.deltaLongitude = 5000;
        pp.pathPosition.deltaAltitude = 12800;
        basicVehContLF.pathHistory.emplace_back(std::move(pp));

        fast_ber::CAM_PDU_Descriptions::PublicTransportContainer pubTransportCont{};
        pubTransportCont.embarkationStatus = false;
        fast_ber::ITS_Container::PtActivation ptAct{};
        std::array<uint8_t, 6> testData = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55};
        ptAct.ptActivationData = std::span(testData);
        ptAct.ptActivationType = 0;
        pubTransportCont.ptActivation = std::move(ptAct);

        msg.cam.camParameters.highFrequencyContainer = std::move(basicVehContHF);
        msg.cam.camParameters.lowFrequencyContainer = std::move(basicVehContLF);
        msg.cam.camParameters.specialVehicleContainer = std::move(pubTransportCont);

My blanket fix I did yesterday (prepare the bucket :D ):
https://github.com/Roboauto/fast_ber/commit/089d3a2dfb3c8b14da066791f578fbec86dcf6c6

Thanks I will take a look


Gulp.src fails for non existing files

Hi,
I am not sure if this is an expected behavior (as it worked previously without problems), simply
gulp.src(['./src/non-existing-file.json'])
        .pipe(gulp.dest('./dist/'));

is failing with a not very descriptive exception:

Error: File not found with singular glob

Are you using 4.0? This error shouldn't be happening with gulp 3.
cc @contra

Yes I am using 4.0 branch.

if you give gulp a full path it will fail if it doesnt exist
pass allowEmpty: true to disable this

https://github.com/wearefractal/glob-stream/pull/41

Thanks!


IPsec mobile clients with different (virtual) IP addresses by (EAP) identity

[x] Redmine Issue: https://redmine.pfsense.org/issues/8292
[x] Ready for review
[x] extend GUI section "Pre-Shared Keys" with field for IP, subnet and identifier type

this is the first mod for extending mobile connection. this enables multiple mobile clients with different IPsec options handled by firewall rules.
this is a strongswan default feature, it's just not configurable by the WebUI of pfSense.
please also have a look at the forum post: https://forum.pfsense.org/index.php?topic=142560.0

added a new commit which is working as expected. section < mobilekey> is extended manually with <ident_type>, <pool_address> and <pool_netbits>.
is this the right way for you or should I place somewhere else?
edited first post to have a todo list...

I tried to complete the whole thing... I think I have too many empty lines in between (just for readability).
Let me know if I should change something :)

just a little update... currently running this enhancement on 4 pfsense boxes. no problems, just full control and flexibility of mobile connections (approx 28 mobile users)


fix(select,input): inconsistent disabled text color

Fixes the select and input having different disabled text colors and not taking colors from the palettes.
Fixes #7793.
Note: The disabled text color is currently wrong (It's supposed to be 0.5, but it's actually 0.3). It will be fixed by https://github.com/angular/material2/pull/7421.
Another note: Some screenshot test failures are to be expected because of the slightly different shades of grey.

@crisbeto please rebase. Thanks!

@crisbeto please rebase. Thanks!

Rebased @tinayuangao.


Allow generation of stable but unique name for resources

Is your feature request related to a problem? Please describe.
Generating globally unique names for resources that require a (globally unique) dns entry is challenging. In ARM templates, I would use the uniqueString function, seeding it with the "name" of the storage account (and possibly containing resource group name) that I want to create in order to get a "presudo-random" (but stable) name. Attempting to do so from a shell script is annoying.
Describe the solution you'd like
It would be of a lot of value to expose the functionality from the az create commands - e.g. az storage account create -g somegroup -n somename --uniqify-name
Describe alternatives you've considered

Make name optional and default it to a uniqueString equivalent.
Provide an az name create --resource-group some group --name someame

Additional context

this is a request on azure core change to request unique name creation when resource name is global unique. HI @qianwens could you pls have a look? thanks.

add to S168

@johanste , for the unique name of one resource, I think you can append a datetime string in the resource name like mystorage20204201232. This name can be generated in the script. I will keep this issue as feature request and see if we have more votes for this feature.

Appending a datetime does not solve the problem since that would make my script non-idempotent. I really need my scripts to be idempotent.

Appending a datetime does not solve the problem since that would make my script non-idempotent. I really need my scripts to be idempotent (thus my comment about the name being stable)

I see, it is a useful feature to generate a global unique dns entry based on the resource, we will add this feature request in the backlog.

@yonzhan @qianwens - Any update on this ? This would be good feature to have specifically when we need to re-run cli scripts

@nthewara, currently there is no plan to implement such feature due to other high priority tasks. Also, this would require changes in all mgmt-plane commands' --name arguments, or possibly even --vnet-name from az network vnet subnet create, --account-name from az storage container create. This will certainly make commands exponentially more complicated.
We recommend using your own hash function to achieve the same effect.
I wrote a sample Python script using hashlib and base64 to mimic the behavior of uniqueString:
# unique_string.py

import base64
import hashlib
import sys

str_to_hash = ''.join(sys.argv)

# Use sha1 algorithm to compute the hash in bytes
hash_bytes = hashlib.sha1(str_to_hash.encode()).digest()

# Compute the base32-encoded hash
hash_str = base64.b32encode(hash_bytes).decode()

# Only use the first 13 character
print(hash_str[:13].lower())

To invoke it:
# PowerShell

> python unique_string.py myresourcegroup mystorageaccount
k6b3wuaabd6k6

> $rg_id=az group show --name rg0823 --query id --output tsv
> python unique_string.py $rg_id
epthnx6bnawq7

Of course, you may tweak the script to customize it to suit your needs.


Unable to GET hero by its name.

Hi, thanks for creating such a powerful and useful template!
I am attempting to retrieve a hero by its name, e.g. 'spiderman'.
I have created a record under the Hero table with name='spiderman'.
The code for the API to retrieve hero via name is:
@router.get("/{hero_name}")
async def get_hero_by_name(
    hero_name: str
) -> IGetResponseBase[IHeroReadWithTeam]:
    """
    Gets a hero by its `name`: str.
    """
    hero = await crud.hero.get_heroe_by_name(name=hero_name)
    if not hero:
        raise NameNotFoundException(Hero, name=hero_name)
    return create_response(data=hero)

Using the Swagger UI and upon execution, I get the following:

The codes for the function get_heroe_by_name is as follows:
class CRUDHero(CRUDBase[Hero, IHeroCreate, IHeroUpdate]):
    async def get_heroe_by_name(
        self, *, name: str, db_session: Optional[AsyncSession] = None
    ) -> Hero:
        db_session = db_session or db.session
        heroe = await db_session.execute(select(Hero).where(Hero.name == name))
        return heroe.scalar_one_or_none()

Basically, I have took your template and attempted to write an API to get a hero by its name but failed to do so.
Thank you.

Hello, @jymchng thanks for reporting this issue I created an API that is able to get a hero by its name. Check it here https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/commit/64514006db09c992df9d09279f2ebb7319c5a8b5
The issue was caused because the get route for id and the name were the same @router.get("/{hero_id}") and @router.get("/{hero_name}"). This is something tricky of fastapi and the solution was to me routes different like this

Please check it and let me know our feedback.


Is it possible to change the 256 to a larger 512

Transforms the input image on GPU to a 256x256 image. To scale the input
image, the scale_mode option is set to FIT to preserve the aspect ratio,
resulting in potential letterboxing in the transformed image.
node: {
calculator: "ImageTransformationCalculator"
input_stream: "IMAGE_GPU:input_video"
output_stream: "IMAGE_GPU:transformed_input_video"
output_stream: "LETTERBOX_PADDING:letterbox_padding"
node_options: {
[type.googleapis.com/mediapipe.ImageTransformationCalculatorOptions] {
output_width: 256
output_height: 256
scale_mode: FIT
}
}
}
Is it possible to change the 256 to a larger 512？

I don't know what graph this is from, but likely 256 was chosen because the following calculators (or ML model) expects that particular size.
The width and height can be whatever you wish, assuming the downstream calculators can handle that size.


ISPN-6981 AffinityIndexManager fails to index documents in async mode

https://issues.jboss.org/browse/ISPN-6981
https://issues.jboss.org/browse/ISPN-7001

Updated

Updated with a timeout when waiting for delete tasks, until ISPN-7025 is done

Nice one. Pushed to master.


Compilation error - Local pointer not initialised

c:\development\xml2json.hpp(162): error C4703: potentially uninitialized local pointer variable 'name_ptr' used
What would be the solution for this?
Initialising "const char *name_ptr;" by changing it into "const char *name_ptr=0;" does not seem like the correct solution to me as this could cause a crash on a null-pointer.
Would the answer be: const char *name_ptr=""; ??
Or would you suggest another change?

Following the logic, in each recursive process round upon one node, name_ptr cannot be NULL.
Anyhow, I changed the code:
const char *name_ptr = NULL;

and
if (name_count[current_name] > 1 && name_ptr)

Check it!

Ok, issue closed


In version 4, how to select current value when data are fetched remotely?

How to set the currently selected value/text when data are fetched using ajax? Indeed, I am trying to create an angular directive as follow:
app.directive('mehrUserCombo', ['$http', function ($http) {
        return {
            link: function (scope, element, attr) {
                element.select2({
                    ajax: {
                        url: "user/combo",
                        dataType: 'json',
                        delay: 250,
                        cache: true
                    }
                });
            }
        }

@salarmehr Hi, this is a part of code from my directive which currently works for programmatically changing the value of select2 4.0:
      ...
      var isChange = true;

      $timeout(function() {
        element.select2();
      });

      var refreshSelect = function() {
        if (isChange) {
          isChange = false;
          return;
        }

        $timeout(() => {
          isChange = true;
          element.trigger('change');
        });
      };

      scope.$watch(attrs.ngModel, refreshSelect);
      ...

That means, if you want to update value from ajax call, just update the ngModel in the success function and it should work.

Once you retrieve your data just do :
element.val(currentValue);

if it's an array
var currentValue = [1,2];
element.val(currentValue);

@snichini But how Select2 what is the corresponding text for that value?

it's the value of the option you've created through the ajax data source.
your ajax should return :
[{id:1,text:"Value1",{id:2,text:"Value2"}]

In this case if you want to select Value 1 you will have to do :
element.val(1);

The select2 is a component of a form and all form data are backed together. The server response only contains select2 value without corresponding text.
Consider in such scenario I modify the server response and send for example userId and userIdText as to distinct form field. How should I config select2 to use that?

I think this has been answered quite thoroughly on Stack Overflow. You need to add an <option> with the right text and value set, and also trigger the change event.

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.


PlatformSDK: Add leaders to AdhocMeetingCreationInput

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/Trusted-Application-API/SDK/ClientModel/Resources/Input.cs
:white_check_mark:Succeeded

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


Orders don't work

I can't seem to get any orders to go through at all; no errors, but no orders.  Stocks, forex, and futures.  For example:
from time import time
import sys
import logging

from qtpylib.algo import Algo

logging.getLogger('ezibpy').setLevel(logging.DEBUG)

class SecBar(Algo):
    def on_fill(self, instrument, order):
        print('fill', order)

    def on_bar(self, instrument):
        bar = instrument.bar
        print('bar {:.0f} {}'.format(time(), instrument.bar['datetime']), ' '.join('{:.4f}'.format(bar[val]) for val in ('open', 'high', 'low', 'close', 'volume')), file=sys.stderr)
        instrument.order("BUY", 1)

if __name__ == '__main__':
    SecBar(["AAPL"], '1S', force_resolution=True).run()

Just prints bars all day.
If I run the ezibpy example it works fine.  No idea what's going on, because there isn't really any coherent logging, so maybe I'll start there.

I'm not sure what the problem is. Just ran your code above and it worked without problem...
$ python strategy.py

Server Version: 76
TWS Time at connection:20161115 07:49:24 IST

bar<PHONE_NUMBER> 2016-11-15 05:49:28 111.0500 111.0500 111.0500 111.0500 2.0000
fill {'symbol': 'AAPL', 'time': datetime.datetime(2016, 11, 15, 7, 49, 27), 'status': 'FILLED', 'id': 2, 'parentId': 0, 'reason': None, 'avgFillPrice': 111.05}
bar<PHONE_NUMBER> 2016-11-15 05:49:29 111.0400 111.0400 111.0400 111.0400 1.0000
fill {'symbol': 'AAPL', 'time': datetime.datetime(2016, 11, 15, 7, 49, 27), 'status': 'FILLED', 'id': 3, 'parentId': 0, 'reason': None, 'avgFillPrice': 111.05}
bar<PHONE_NUMBER> 2016-11-15 05:49:30 111.0400 111.0400 111.0400 111.0400 1.0000
fill {'symbol': 'AAPL', 'time': datetime.datetime(2016, 11, 15, 7, 49, 28), 'status': 'FILLED', 'id': 4, 'parentId': 0, 'reason': None, 'avgFillPrice': 111.05}
...

I know it probably is - but Is your TWS/GW configured  with Bypass Order Precautions for API Orders?

Is your TWS/GW configured with Bypass Order Precautions for API Orders?

Yes.  I'm using the demo account if that makes any difference.
I think it's that the connection to TWS hasn't actually been made when the first bars/orders happen, and then subsequent orders don't get entered because there is a dead order pending.  I'm working on properly updating connection state and then waiting for it before starting.

Turns out I was never even connected to TWS, because the command-line arg defaults were overriding the ibport/ibclient I was passing to Algo(), and there was no/poor logging or error handling around this so I never knew it.  I spent several days fighting with this.
The design of silently integrating command-line arguments is hugely misleading ("explicit is better than implicit", etc.), has already caused bugs/frustration, and will continue to do so in the future.  I have kept it (and fixed its bugs), but I strongly recommend making it explicit (and non-default).  Plenty of people will want to make Algos buried deep in some other system having nothing to do with the command line, and this design will bite them.
Another (unresolved) issue is that when you place an order and it has an error, it stays in the pending queue and prevents other orders from going through.  I added a warning log when this happens, but it will need attention.
Patch in #29.

As always, great job! I've merged your code and added some changes of my own.
As for the pending order issue, pending orders can be cleared by setting self.orders.pending = {}, tho I wasn't able to replicate the issue, so I'm not sure where I should implement the fix.


Where can I find LoRA and Model IDs?

Hi, I tried your example, the result looks great!
But there are some magic string in your example code. e.g. loras and model seems to be/contain some sort of hash.
So what do these hashes mean? Is there a list of valid candidates?

Oops!
It's in config.lua. I'm thinking of including it into the documents.

These are my most used models and loras. more model can be supported if needed.


Dealing with suspended applications

Sort of related to #599, but this is a more general problem. In short, the issue is that the AX API is blocking. If we try to interact with an application that is currently suspended, we will halt until the AX API times out (currently set to 1 second).
The main issues are:

If an application is suspended when yabai is launched, we are unable to observe this application and it will go untracked until the application is restarted, or yabai is restarted after the application has become responsive. This could potentially also happen if the application becomes unresponsive during or shortly after startup, before yabai is able to subscribe to notifications.

If an application becomes unresponsive mid-session, and we try to interact with it in any way (get windows, move a window, etc.), it will block and the request will silently fail.

Issue 1. can more or less be solved by deferring the initialization of unresponsive applications til they report back as being responsive.
Issue 2. is tricky and there are many different ways to approach this, but none are really all that great.

A solution for issue 1. has been implemented https://github.com/koekeishiya/yabai/tree/track-unresponsive,  but I want to give this a more thorough analysis before any change is made, and I think it is a bad decision to mix this in with the other ongoing changes that are currently being scheduled for the next release.


Implement concurrent requests when crawling

Can revisit this after previously failed attempts with curl_multi on old codebase. Should be much cleaner now with Guzzle and async promises.
Still curious as to concurrent request limits on certain hosts, but if there's a user option to scale it down, at least, should be fine

thought: performance-wise, would fetching static files first speed things up on a 10,000+ post site? ie, not taxing the server as much/prone to creeping memory usage vs dynamic pages....


Astro plugin hangs when using CSS unicode escapes

Describe the bug
<q class="[&::before]{content:^---^}">This works in the runtime and in @stylify/astro</q>

<q class="[&::before]{content:^\2013^}">This works only in the runtime</q>

I haven't tested with other JS frameworks so it is possible it works with them.
Reproduction
See above ^
Logs
No response
System Info
Using @stylify/astro 0.5.31

Hi, thanks for the report! I will check it out.

@MilesPernicious Related to https://github.com/withastro/astro/issues/6866.
Have to wait on their response. Stylify renders everything ok, the bundler waits on another signal. This seems to be caused by Astro as the bug can be reproduced even without Stylify integration.

Confirmed, it is a bug on their side. I will keep this open in case someone else encounters the same issue and close it after they fix it.


Implement function to auto create hyperlink for ConvertTo-Html

PR Summary
Closes #11458.
Add a helper function that checks the property value(string) of objects passed into ConvertTo-Html. If the string is a valid absolute URI, then convert it to a hyperlink format in HTML
Add a switch "-hyperlink" to trigger the auto conversion feature.

PR Context
This Pull Request saves the user time when creating HTML documents by auto casting URI to hyperlinks

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@microsoft-github-policy-service agree

From: microsoft-github-policy-service[bot] @.>
Sent: Thursday, November 3, 2022 3:09
To: PowerShell/PowerShell @.>
Cc: Jeff Cui @.>; Mention @.>
Subject: Re: [PowerShell/PowerShell] Implement function to auto create hyperlink for ConvertTo-Html (PR #18453)
  External Email - Use Caution

@JJJcfffhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJJJcfff&data=05|01|jcui19%40jhu.edu|5cfeec494ee14bcb997608dabd6a65f7|9fa4f438b1e6473b803f86f8aedf0dec|0|0|638030561945039127|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=V4Y4ywM1GigakKQp19ihDlStFlpQlrte5%2FufKQdRrfE%3D&reserved=0 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttps://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensource.org%2F&data=05|01|jcui19%40jhu.edu|5cfeec494ee14bcb997608dabd6a65f7|9fa4f438b1e6473b803f86f8aedf0dec|0|0|638030561945039127|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=fnJNGGQfuDGbD9Cp95i0rQ8bvAB1NWYYQlLEI5BDLuY%3D&reserved=0).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F18453%23issuecomment-1301718422&data=05|01|jcui19%40jhu.edu|5cfeec494ee14bcb997608dabd6a65f7|9fa4f438b1e6473b803f86f8aedf0dec|0|0|638030561945039127|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=eAjmocxfA%2BdWu%2FYI6%2F8ppwRSy3Eu%2BZ3tOPmcrUYx2fs%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVNE5UV3EI664OQZMWTR3HLWGNQLZANCNFSM6AAAAAARV2LY3A&data=05|01|jcui19%40jhu.edu|5cfeec494ee14bcb997608dabd6a65f7|9fa4f438b1e6473b803f86f8aedf0dec|0|0|638030561945039127|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=G2J2R9zW8Upb0XJb3KGjfZpGZ%2Fq4FI1GRE21G8%2FVIw8%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Multiplatform template in IDEA / Android Studio. Compose classes are underlined in desktop module

If we open multiplatform template in IDEA or Android studio (templates/multiplatform), all compose classes will be underlined:
"Class 'androidx.compose.runtime.MutableState' is compiled by a new Kotlin compiler backend and cannot be loaded by the old compiler"

P.S. templates/desktop template is working fine

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


backend: test suite API pagination issue

Affected module
Does it impact the UI, backend or Ingestion Framework?
backend
Describe the bug
A clear and concise description of what the bug is.
Passing the after or before field to the API /api/v1/dataQuality/testSuites does not return the next or previous test suites.
Request URL: /api/v1/dataQuality/testSuites
Request Method: GET
To Reproduce
Screenshots or steps to reproduce
https://github.com/open-metadata/OpenMetadata/assets/51777795/c2404fb3-2e7c-4fcc-9008-59de82e37c82
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

@mohityadav766 closing this as done with your changes


Don't newly create .bash_profile

Fixes #99
I don't know how to test the new behavior in WSL
echo $'#!/bin/sh\necho OK' > ~/.local/bin/env-test && chmod +x ~/.local/bin/env-test
# Modify profile using starbase
PATH="$(getconf PATH)" sh -lc env-test

Thanks! Will merge through the errors since they are unrelated.

the most common profile is always last in the list

If so, I wonder why .bash_profile here comes first.
https://github.com/moonrepo/starbase/blob/38035a65baa9b5ae593469ee8902f642354ef46e/crates/shell/src/shells/bash.rs#L81-L85


feat: add api endpoint versioning

Requires close cooperation with UI so that endpoints are not broken.

Should we add it all at once for all the APIs, or would it be easier to gradually add the versioning the first time we need to touch an API?

Should we add it all at once for all the APIs, or would it be easier to gradually add the versioning the first time we need to touch an API?


Cannot add custom field

Hi. I am trying to add a custom field but cannot find any documentation on it. Can someone help me with what is wrong with this code? The custom element is not rendering in the editor interface
var formeo = new FormeoEditor({
    editorContainer: '#formeo-editor',
    svgSprite: 'https://draggable.github.io/formeo/assets/img/formeo-sprite.svg' ,
    elements: [
          {
            tag: 'input',
            config: {
               label: 'Password',
               disabledAttrs: ['type']
            },
            meta: {
              group: 'common',
              id: 'password',
              icon: '***',
            },
            attrs: {
               type: 'password'
             },
          },
    ]
});

take a look at my issue:
https://github.com/Draggable/formeo/issues/208


MultipartFormBody with unknown size

Currently, there is no way to create/append a MultipartFormBody with unknown size. The networking does not require this size. In fact, its only use in Alamofire seems to be deciding whether to encode into memory or a file.
Please make the size optional. If the (total) size of a MultipartFormData is unknown, you can always default to using files (which is safe).
A streaming interface (cf #1980) would not need to make even this decision.

@cnoon Can you look into this?

If the (total) size of a MultipartFormData is unknown, you can always default to using files (which is safe).

You can even start assembling in memory, and switch to a fuke if the chunk grows too large.

Please take a look at the PKMultipartInputStream project:
https://github.com/pyke369/PKMultipartInputStream

Hi @reitzig,
Thank you for putting this issue together. I agree with you that this is an unfortunate requirement. We will be relaxing this rule in AF5 since it cannot be done in a backwards compatible way right now. We've added the issue to our Trello backlog and will be fixed in AF5 which will ship roughly in October 2017.

Until then, you'll need to subclass and implement your own solution as a workaround.

Cheers. 🍻

@cnoon With October 2017 being upon us, what's the state of this?

@retzig A refactor like this is dependent on #2226 so we can more easily allow Requests to run long running encode tasks, like reading from a stream. If you'd like to contribute to that end we'd appreciate it.


Updated Java-Solution Delete Node in Linked list

Description
Updated Java-Solution for "Delete Node in Linked list" with main function and examples/test cases.
Fixes #1872
Replace #1872 with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Amit366 @ravikr126 @Ayush7614
Please review this and merge it.


chore(main): release nvim 1.17.4

:robot: I have created a release beep boop
1.17.4 (2024-10-04)
Bug Fixes

nvim: tree-sitter config setup is abnormal:( (92fa16c)

Miscellaneous

nvim: [plugin] add minty (d2dad9e)
nvim: add some more markdown snippets (ff98f47)
nvim: centre cursor when goto_next diagnostic (dc1cdc8)
nvim: dont auto install all these lsp's (2450c79)
nvim: open diagnostics float on goto_next (f4ac504)

Code Refactoring

nvim: lazy load, but not the colorschemes (77a8b48)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

nvim-v1.17.4
:sunflower:


Feedbacks are missing

• gostreamdeck: Settings:Output ColorSpace
• gostreamdeck: Settings:OutFormat
• gostreamdeck: Settings:Src Selection
• gostreamdeck: Settings:Mic Input
• gostreamdeck: Settings:Set Mv Layout
• gostreamdeck: Audio Mixer:Set Mic Audio Enable
• gostreamdeck: Audio Mixer:Set Input Audio Enable
• gostreamdeck: Super Source:Super Source Y Position
• gostreamdeck: UpStream Key:Set Key Pattern Source Fill
• gostreamdeck: UpStream Key:Set Pip Source
• gostreamdeck: UpStream Key:Set PIP Y Position
• gostreamdeck: UpStream Key:Set Key Pattern Resize Y Position

• gostreamdeck: Settings:Output ColorSpace  Is fixed in commit 1329b5f12a74d0537310e3e44a2159b22b8c4949

• gostreamdeck: Settings:OutFormat
• gostreamdeck: Settings:Src Selection
Are fixed in commit 6df1b63da1d8ae386e59a11a2e27d607d046ae65

• gostreamdeck: Settings:Mic Input
• gostreamdeck: Settings:Set Mv Layout
Are fixed in commit be4f6464d7e80ff2ac79e413d3f2efa22d7c8d66
Added pre-commit hook to husky so that yarn format is automatically run


Manage web server with Supervisor

This should help to resolve some of the problems like the website dying on a number of occasions.

Besides the flake8 check failing, this looks pretty good.


Add support for DuckDB native for histogram and boxplot

Describe your changes
Issue number
Closes #X
Checklist before requesting a review

[ ] Performed a self-review of my code
[ ] Formatted my code with pkgmt format
[ ] Added tests (when necessary).
[ ] Added docstring documentation and update the changelog (when needed)

:books: Documentation preview :books:: https://jupysql--745.org.readthedocs.build/en/745/

@edublancas
Please check if the following changes make sense
Explanation: Issue Comment

@edublancas
What are the test cases, you want to write? A single test case using duckdb native for boxplot?

What are the test cases, you want to write? A single test case using duckdb native for boxplot?

yes

@mehtamohit013 I'm currently working on a PR to refactor the connection.py module as it has become difficult/confusing to extract things like the dialect. pause work on this PR until that PR is merged because once that's done, getting this to work will be a lot easier


400: Bad Request when try to use a Journey voice on google tts. Journey voice don't support SSML

First of all, thank you very much for make this package!!
I was receiving 400: bad request, but not find anything wrong with my code.
The voice used was 'en-US-Journey-F'.
Using other voices then a Journey type works perfectly.
Copying the body from audio_handler and using with Curl give me the next error:
{
  "error": {
    "code": 400,
    "message": "This voice currently does not support SSML input. Please try again with text only input.",
    "status": "INVALID_ARGUMENT"
  }
}

Look's like cloud_text_to_speech_flutter need to use text when using a Journey voice.
Best regards.

hey @markokosticdev any update on this?. Thank you.

@ryosoul @rnamilakonda I am working on the next version that has SSML splitter and sequential requests for long SSML.
Right after I will fix this issue. Thank you for waiting!


ImportError: DLL load failed while importing _imaging: 找不到指定的模块。

Reproduction

What command or script did you run?

python demo/image_demo.py demo/demo.jpg rtmdet_tiny_8xb32-300e_coco.py --weights rtmdet_tiny_8xb32-300e_coco_20220902_112414-78e30dcc.pth --device cpu
Environment

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch
via:conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
pytorch version 2.0 and cuda version 11.8

Error traceback
If applicable, paste the error trackback here.
Traceback (most recent call last):
File "C:\Users\pengwei\mmdetection\demo\image_demo.py", line 29, in
from mmdet.apis import DetInferencer
File "c:\users\pengwei\mmdetection\mmdet_init_.py", line 2, in
import mmcv
File "E:\Anaconda3\envs\openmmlab\lib\site-packages\mmcv_init_.py", line 4, in
from .image import *
File "E:\Anaconda3\envs\openmmlab\lib\site-packages\mmcv\image_init_.py", line 11, in
from .photometric import (adjust_brightness, adjust_color, adjust_contrast,
File "E:\Anaconda3\envs\openmmlab\lib\site-packages\mmcv\image\photometric.py", line 8, in
from PIL import Image, ImageEnhance
File "E:\Anaconda3\envs\openmmlab\lib\site-packages\PIL\Image.py", line 100, in
from . import _imaging as core
ImportError: DLL load failed while importing _imaging: 找不到指定的模块。

i get reason pillow's version not match python's version


[istio.io testing] Need test for Request Timeouts

Describe the feature request
We need to develop a test for the Request Timeouts task in order to provide automated testing of the Istio.io website for future releases.
Example tests and the documentation for the framework can be found here: https://github.com/istio/istio/tree/master/tests/integration/istioio
A YouTube video describing the usage of the framework can be found here: https://www.youtube.com/watch?v=3y-z8NaVwr0
Please reach out to the Test and Release channel on the Istio Slack or Test and Release Discuss  with any questions.

@brian-avery : I'll pick this one too.

Hey @su225, you started working on this or I can pick this one ?


Domain Sniffing Cannot Handle Domains That Cannot Be Resolved

Please read the instruction and answer the following questions before submitting your issue. Thank you.
Please answer all the questions with enough information. All issues not following this template will be closed immediately.
If you are not sure if your question is truely a bug in V2Ray, please discuss it here first.

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?
Latest Git version

What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.

V2ray in Router, proxy all

What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)

Yeelight lamp tried to connect to "Mijia Cloud", "Mijia Cloud" is sniffed by V2ray, however, "Mijia Cloud" cannot be resolved by ordinary DNS server.
That's because the IP address of "Mijia Cloud" is hard coded into the Yeelight lamp, it is not using the DNS server to resolve the IP address. In this case, the domain sniffed by v2ray is a dummy domain, which cannot be resolved.
When it cannot be resolved, the lamp is disconnected from the cloud.

What's your expectation?
When the Domain Name cannot be resolved, just use the original IP address, to make it work.

But the scope of adaptation is very small, I suggest you try https://v2ray.com/chapter_02/03_routing.html

Thank you for your suggestion.
I've tweaked some of the code to ignore invalid domain name.
For example, when there's space character in domain name, this domain must
be invalid, just ignore it, and use it as is.
On Tue, Oct 8, 2019 at 11:39 PM Kslr<EMAIL_ADDRESS>wrote:

But the scope of adaptation is very small, I suggest you try
https://v2ray.com/chapter_02/03_routing.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/v2ray/v2ray-core/issues/1913?email_source=notifications&email_token=ABPLTYNDZPULWXJBT3YIMCDQNSSR7A5CNFSM4I34CYWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUTYUQ#issuecomment-539573330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPLTYPNC2GU5MD6UCCWUJ3QNSSR7ANCNFSM4I34CYWA
.

I tried freedom + AsIs.
But v2ray still went with tcp:Mijia Cloud:443.

Now I am using:
{
  "tag": "mijia_cloud",
  "protocol": "freedom",
  "redirect": "<IP_ADDRESS>:0",
  …
}

Anyone knows how to let v2ray go with the IP directly?

But the scope of use is very small, I suggest you try https://v2ray.com/chapter_02/03_routing.html

But routing does not work, v2ray would dispatch connect to 'Mijia Cloud:443' not its original address 'ip:443'.

我也遇到这个问题了，请问最后是如何解决的？

I encountered the same problem. Could anyone tell me how to solve this?

I tried freedom + AsIs. But v2ray still went with tcp:Mijia Cloud:443.
Now I am using:
{
  "tag": "mijia_cloud",
  "protocol": "freedom",
  "redirect": "<IP_ADDRESS>:0",
  …
}

I got the IP address with tcpdump. Anyone knows how to let v2ray go with the IP directly? So that I won't need to hard code it in my config.

Hi, I get the same problem, could you share me your full config please?  💯


Provide a sandboxed webapp functionality

Is your feature request related to a problem? Please describe.
I think that Fireproofing websites is brilliant. I previously used it so I could create bookmarks of certain websites on my homescreen, use their mobile web page instead of their app, and periodically clear my browser's data using the Fire button. In this way, I could create "webapps" for certain services.
However, it doesn't provide a true sandboxed environment to prevent certain websites from tracking cross-site tracking. Many of these sites set cookies to allow tracking scripts on other websites to read them and track me even in other tabs. I can't truly create isolated "webapps" using DuckDuckGo.
Describe the solution or the user experience you'd like
Yesterday, I discovered this app, and it is brilliant:
https://github.com/tobykurien/webapps
With this, I can create more than just bookmarks of Fireproofed mobile web pages - I can create truly isolated, sandboxed webapps that actually appear in my app manager as separate apps. What's more, I can enable and disable any script I want on each page so I can allow the minimum required scripts for any website, and I can also specify if I want the mobile or desktop page by default.
I think DDG should seriously consider working with the developer, Toby Kurien, to provide a similar experience in the DDG Android browser. The privacy provided by his app is beyond what I could previously achieve with DDG alone. If this were to happen, there are a number of improvements that could be made:

Ability to clear the cache and history of the current webapp
Provide a "store" of pre-configured webapps (or allow users to easily share them with others while ensuring that login cookies are cleared)
Provide a better "long-press" context menu to allow things like copying/sharing the address of a link in the app
Drag down to refresh pages
Access to the URL bar of the website

Thanks for sharing that with us. Actually, that's something we thought about and we will explore in the future.  It's a bit complex due to some WebView limitations. Not impossible for sure, but we need to find the right balance between user experience and how to solve the problem knowing those limitations (e.g: WebView works with a single cookie manager create internally by the component, so we can't provide a different one for each "sandboxed site").
I will close this issue since it's something we already have in our backlog. Thanks again to share that project with us, and kudos to that dev for providing a nice solution to protect users.

Thanks for sharing that with us. Actually, that's something we thought about and we will explore in the future.  It's a bit complex due to some WebView limitations. Not impossible for sure, but we need to find the right balance between user experience and how to solve the problem knowing those limitations (e.g: WebView works with a single cookie manager create internally by the component, so we can't provide a different one for each "sandboxed site").
I will close this issue since it's something we already have in our backlog. Thanks again to share that project with us, and kudos to that dev for providing a nice solution to protect users.


Missing support for credential_process

minio-go can obtain credentials from a configured aws config file.
This process, however, only looks for static credentials and does not support the credential_process mechanism to execute an external program that obtains the required credentials.
This is useful in environments where federated authentication is in place and long-living credentials are forbidden.

Will take a look @albertomurillo

Will take a look @albertomurillo

I have a patch for this... I am preparing the PR

hey @harshavardhana and @albertomurillo,
Does the minio library support source_profile in aws config files. Such an example being
[pod_role]
web_identity_token_file = /var/run/secrets/eks.amazonaws.com/serviceaccount/token
role_arn = <arn_a>

[assume_role]
source_profile = pod_role
role_arn = <arn_b>
role_session_name = <something>

I saw PR #1486, but I don't think this fixes it. Please confirm?


New wrapper library: Jokes4J

Link to the project:

https://github.com/the-codeboy/Jokes4J

Link to my personal website / GitHub page (optional):

https://github.com/the-codeboy/

Is your project explicit or unsafe for minors to view?

[ ] Yes, it contains explicit material
[ ] No, it doesn't contain explicit material

Notes:

I started working on a java wrapper for the api today. So far it only supports querying the api, but I might add more features later. I couldn't find a template for adding wrappers, so I used this one.

Checklist:

[x] I have added my project's name to the title of this issue
[x] I have filled out at least the first URL (second one is optional)
[ ] I have specified whether or not my project is explicit

Hi and thank you very much for making a wrapper! I will make sure to add it to the next update.

Sorry for the long wait but I've added it to the readme and the documentation page now.

Great 😂


chore: add "types" to package.json

Fixes: #316

Oh, I actually wound up in this situation because I added next-google-analytics and not nextjs-google-analytics...


Receiving gaze data out of screen bounds?

Hi James,
it works very well!
Do you think it is somehow possible to receive a continues data stream no matter where you look? I don't manage to get any data once I look ouside the bounds of my monitor. It is probably related to the Tobii internals but maybe you have an idea.

Hi @creating-worlds @JamesQFreeman , I want to run this script and test if the PyEyetracker works but when I run the shell it gives me the following:

Are we supposed to get anything within the parenthesis "( )"? Cause I'm not sure if my tracker gets initialized. Also, is there anything else to install other than having Python 3.7 32 bit version?
Eventually, I want to run the MicEye code, which is currently giving me the following error. I have to validate this PyEyetracker first before running that one.

Any help would be greatly appreciated! Thank you.


fix error in BigQueryUtils when retrieving non existent avro field

fixes #30730
fixes #30729
An integration test called BigQueryIOStorageReadIT.testBigQueryStorageReadProjectionPushdown is failing - this is because the pushdown optimizer projects the record retrieved from the bigquery by removing unused string_field. Later the toBeamRow conversion method iterates through the beam schema's fields and tries to extract a value from the avro record for every such field, including the one that has been removed by the optimizer - avro version 1.8 didn't have a problem with attempting to get a value from non-existent field - it simply returned null, but things have changed in version 1.11, and now this operation throws an exception. The fix is to check whether the field exists in the record before attempting to fetch its value. Also - added a unit test specifically for this situation

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Run PostCommit_Java_Dataflow

V2 PostCommit passed; V1 PostCommit failed quota issue on unrelated tests, merging for now


Fix gameobject intialization

Description
Fix gameobject intialization
Tests

[x] local playground
[x] local fps

Documentation

[x] changelog
[x] upgrade guide

Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

Replaced by https://github.com/spatialos/gdk-for-unity/pull/1333


Add issue template for route shield requests

Adds an issue template to request support for route shields. Hopefully I'm asking the right questions here.

This is a good idea, but hopefully shields aren’t the only thing folks would want to let us know about. We should add generic bug report and feature request templates alongside this one.

Makes sense. I guess I'm putting the cart before the horse here.


cert-manager not working on k3s 1.21

Describe the bug:
Can't install cert-manager on k3s 1.21
❯ k -n cert-manager get po
NAME                                      READY   STATUS             RESTARTS   AGE
cert-manager-66b6d6bf59-jh6j2              1/1     Running   0          4m
cert-manager-cainjector-856d4df858-6c2sb   1/1     Running   2          4m
cert-manager-webhook-5fd7d458f7-rkhvw      0/1     Running   0          4m

Logs:
❯ k -n cert-manager logs cert-manager-webhook-5fd7d458f7-rkhvw
I0918 12:25:38.071093       1 server.go:316] cert-manager/webhook "msg"="Health check failed as CertificateSource is unhealthy"
E0918 12:25:38.648354       1 dynamic_source.go:91] cert-manager/webhook "msg"="Failed to generate initial serving certificate, retrying..." "error"="failed verifying CA keypair: tls: failed to find any PEM data in certificate input"  "interval"=1000000000
E0918 12:25:39.646151       1 dynamic_source.go:91] cert-manager/webhook "msg"="Failed to generate initial serving certificate, retrying..." "error"="failed verifying CA keypair: tls: failed to find any PEM data in certificate input"  "interval"=1000000000
E0918 12:25:40.648077       1 dynamic_source.go:91] cert-manager/webhook "msg"="Failed to generate initial serving certificate, retrying..." "error"="failed verifying CA keypair: tls: failed to find any PEM data in certificate input"  "interval"=1000000000
E0918 12:25:41.647940       1 dynamic_source.go:91] cert-manager/webhook "msg"="Failed to generate initial serving certificate, retrying..." "error"="failed verifying CA keypair: tls: failed to find any PEM data in certificate input"  "interval"=1000000000
E0918 12:25:42.646550       1 dynamic_source.go:91] cert-manager/webhook "msg"="Failed to generate initial serving certificate, retrying..." "error"="failed verifying CA keypair: tls: failed to find any PEM data in certificate input"  "interval"=1000000000
I0918 12:25:43.071367       1 server.go:316] cert-manager/webhook "msg"="Health check failed as CertificateSource is unhealthy"
E0918 12:25:43.646682       1 dynamic_source.go:91] cert-manager/webhook "msg"="Failed to generate initial serving certificate, retrying..." "error"="failed verifying CA keypair: tls: failed to find any PEM data in certificate input"  "interval"=1000000000

Environment details::
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.0", GitCommit:"c2b5237ccd9c0f1d600d3072634ca66cefdf272f", GitTreeState:"clean", BuildDate:"2021-08-04T18:03:20Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.4+k3s1", GitCommit:"3e250fdbab72d88f7e6aae57446023a0567ffc97", GitTreeState:"clean", BuildDate:"2021-08-19T19:09:53Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}

Installed with:
helm template cert-manager jetstack/cert-manager --namespace cert-manager --version v1.5.3 --set installCRDs=true > install.yaml
k apply -f install.yaml

/kind bug

Hmm, it seems the problem is not with cert-manager. I tested again today on another vm, althou i did that yesterday too, and it workes now.


Decoding images on the main thread

This trace: https://github.com/flutter/flutter/issues/3082#issuecomment-217916705
...shows decoding happening on the main thread.

https://github.com/flutter/engine/blob/master/sky/engine/core/painting/painting.cc#L104 is likely the culprit.  It's posting to the current loop, which is presumably the main thread?  Unless painting.cc typically runs on a background thread?

Correct.  painter.cc runs on the ui_thread.

Are we calling DecodeImageFromList or DecodeImageFromDataPipe in this case?  /me will investigate.


Wire up data for Thorchain LP detailed pool view created

Overview
#5959 created the UI components for the detailed pool view this ticket is to connect the data for that view
References and additional details
see #5940 for docs and info on where to get some of the data / math
Acceptance Criteria
all data (and math) is available for all thorchain lp pools available in the view created in #5959
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

closed by https://github.com/shapeshift/web/pull/6009


Upgrading YAPF to v.0.10.0

Upgrading YAPF version, updating source to match v.0.10.0 styling.

This change is

Coverage remained the same at 79.512% when pulling d82f1b23919fabd46e21e574b953cf8a00e0fc18 on mtlynch:upgrade-build-tools into 4506451c59c78c3295d00e4284fdd645bfc21cc6 on m-lab:master.

Coverage remained the same at 79.512% when pulling d82f1b23919fabd46e21e574b953cf8a00e0fc18 on mtlynch:upgrade-build-tools into 4506451c59c78c3295d00e4284fdd645bfc21cc6 on m-lab:master.

Review status: 0 of 12 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[stable/hazelcast-jet] Chart Deprecation

Signed-off-by: hasancelik<EMAIL_ADDRESS>What this PR does / why we need it:
Given the stable deprecation timeline, the Hazelcast Jet Helm chart is now located at hazelcast/charts.
The Hazelcast Jet chart repo is also avaliable at Helm Hub.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/lgtm

/ok-to-test

/lgtm


[test-triage] rv_core_ibex_lockstep_glitch

Hierarchy of regression failure
Chip Level
Failure Description
Offending 'pend_req[d2h.d_source].pend' has 1 failures:

Test chip_sw_rv_core_ibex_lockstep_glitch has 1 failures.
0.chip_sw_rv_core_ibex_lockstep_glitch.3247127825
Line 489, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_rv_core_ibex_lockstep_glitch/latest/run.log

      Offending 'pend_req[d2h.d_source].pend'
  UVM_ERROR @ 2624.939868 us: (tlul_assert.sv:256) [ASSERT FAILED] respMustHaveReq_M
  UVM_INFO @ 2624.939868 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]

Steps to Reproduce

GitHub Revision: 70b1e3d93
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_rv_core_ibex_lockstep_glitch --build-seed<PHONE_NUMBER> --fixed-seed<PHONE_NUMBER> --waves fsdb

Tests with similar or related failures

[ ] chip_sw_rv_core_ibex_lockstep_glitch

I can investigate this one.

The PR is here #16814

@vogelpi it looks like lockstep still has some issues, albeit different to the one initially reported.
Currently reporting as
c7a64bc3a
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_rv_core_ibex_lockstep_glitch --build-seed<PHONE_NUMBER> --fixed-seed 509199674 --waves fsdb
Offending '(!$isunknown(req_o))' has 1 failures:

Test chip_sw_rv_core_ibex_lockstep_glitch has 1 failures.
0.chip_sw_rv_core_ibex_lockstep_glitch.509199674
Line 492, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_rv_core_ibex_lockstep_glitch/latest/run.log

      Offending '(!$isunknown(req_o))'
  UVM_ERROR @ 2735.910732 us: (tlul_adapter_sram.sv:551) [ASSERT FAILED] ReqOutKnown_A
  UVM_INFO @ 2735.910732 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

from 2 days before
c7a64bc3a
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_rv_core_ibex_lockstep_glitch --build-seed 710109159 --fixed-seed<PHONE_NUMBER> --waves fsdb
UVM_FATAL @ * us: (chip_sw_rv_core_ibex_lockstep_glitch_vseq.sv:606) [chip_sw_rv_core_ibex_lockstep_glitch_vseq] Check failed alert_major_internal == exp_alert_major_internal (* [*] vs * [*]) Major alert did not match expectation. has 1 failures:

Test chip_sw_rv_core_ibex_lockstep_glitch has 1 failures.
2.chip_sw_rv_core_ibex_lockstep_glitch.4067394497
Line 490, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/2.chip_sw_rv_core_ibex_lockstep_glitch/latest/run.log

  UVM_FATAL @ 2678.634402 us: (chip_sw_rv_core_ibex_lockstep_glitch_vseq.sv:606) [uvm_test_top.env.virtual_sequencer.chip_sw_rv_core_ibex_lockstep_glitch_vseq] Check failed alert_major_internal == exp_alert_major_internal (0 [0x0] vs 1 [0x1]) Major alert did not match expectation.
  UVM_INFO @ 2678.634402 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

Thanks @johngt for flagging this. I will look into this now.

The second failure happens because when glichting instr/data_rvalid_i the glitch is applied on the same negative clock edge used by the sampling logic to detect new accesses/ req/gnt handshakes. As a result, the test assumed the glitch was effective while it actually wasn't. This one is a bit more involved but should be fixed by #16985.

Thanks @johngt , I'll look into this.

I've created a PR to fix both these issues here: #17097

Closing as this test has now been passing for several days.


Looks like json gem packaged in Ruby 2.3 does not set the its license in its gemspec.

/cc: @danielsdeleo

👍 🚢

:+1:


test

@testervorl @dengayevskiy please avoid testing on other's repos. We will have to block your account if more "test" PRs submitted.


Unify Extensibility views to new enhance requirements

Description
As Sebastian and Matthew, I would like Busola to comprehensively review and enhance all native Kubernetes resources and Kyma modules. This includes ensuring adherence to design guidelines, completeness of required fields such as Resource Metadata and Status, attachment of Events, and inclusion of Resource Graphs views where needed, to streamline development and operational tasks within the Kyma environment.

Reasons
Unify resource views.

Acceptance Criteria

[ ] Status fields should be displayed in the Status Panel
Example from Busola repo: https://github.com/kyma-project/busola/blob/main/kyma/extensions/configuration/dns-entries.yaml#L28
[ ] Metadata Panel should contain only fields which are in metadata in YAML
[ ] Resource Graph should be displayed (if the resource is connected to other resources)
[ ] Events table should be displayed (if the resource is making some events in the cluster)

DoD:

[ ] Provide unit and integration tests.
[ ] Provide documentation.
[ ] Verify if the solution works for both open-source Kyma and SAP BTP, Kyma runtime.
[ ] If you changed the resource limits, explain why it was needed.
[ ] Verify that your contributions don't decrease code coverage. If they do, explain why this is the case.
[ ] Add release notes.

Attachments
Busola epic: https://github.com/kyma-project/busola/issues/2857
Extensibility docs: https://github.com/kyma-project/busola/blob/main/docs/extensibility/30-details-summary.md
Example of enhanced views from Busola:

/kind feature


Handle invalid namespace prefixes when converting to W3C Dom

It is very possible that pages include namespaced tags without
actual namespace definitions. For example, <ie:menuitem>
This PR ensures that such malformed elements are gracefully
handled when converting to a w3c object tree.

Thanks for the PR, and my apologies for the late reply. I implemented something that has the same effect with a810d2e3615da9a37ad74a7db2ca8bc6945ab9a8


Typescript doesnt recognize class's prop (as binded method) as event listener

I'm sorry, but I've not found any and have not any answer on stacoverflow

TypeScript Version:  3.0.0-dev.201xxxxx
reproduced with typescript@next

Search Terms:
noone answer on stackoverflow
Code
class MouseCoordinates extends React.Component {
    componentDidMount() {
        document.addEventListener('mousemove', this.handleMouseMove);
    }

    handleMouseMove = (event: MouseEvent<HTMLElement>): void => {
       // console.log(event)
    };
}

Expected behavior:
no error.
Actual behavior:
error at this.handleMouseMove

Argument of type '(event: MouseEvent) => void' is not assignable to parameter of type 'EventListenerOrEventListenerObject'.
Type '(event: MouseEvent) => void' is not assignable to type 'EventListenerObject'.
Property 'handleEvent' is missing in type '(event: MouseEvent) => void'.

Playground Link:
link
but there is no sense due to playground does not import any library
Related Issues:

MouseEvent doesn't seem to be generic: https://github.com/Microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L10088
So where did oyu get MouseEvent<HTMLElement> from?

I got it from one of example, but making it not general doesnt solve the problem - typescript treat handleMouseMove as an object EventListenerOrEventListenerObject

document.addEventListener is a native DOM method.  It has nothing at all to do with React.  You're trying to use React.MouseEvent with it.  The two are unrelated.  The proper type is the MouseEvent from the built in DOM lib typings.  (The playground link makes this more clear, as it includes the import { MouseEvent } from 'react' line that you've omitted from the code sample here).
As a React user, I reccommend always referring to React types with the React. qualifier and not importing the individual types directly, especially when you're using React and DOM types in the same file; it helps avoid confusion like this.

@nmain
thanks for the explanation!
React.MouseEvent was imported by VSCode not by me, so I decided it knows what to do


Boy have I been busy.

Change List:

Rust Marker for Monuments (labels)
User menu (still a WIP)
Add debug for rplus test server
Do 1 map update at the start (init stage)
Show display names correctly
Show username on the dot on the map
Save on tokens

This looks amazing! Great work @pogchamppoly


Temporary use conmon from main Ubuntu repo until OBS project gets conmon 2.1.10

fails with
conmon set on hold.
E: Unable to correct problems, you have held broken packages.```


add common consistent versioning to reference in store and setup.py

keep each release version consistent by reading it from one place.

added in lapis.version


Extra else in secondary prompt

Description
When showing the secondary prompt during an if, else, etc., there is always an extra else in the prompt
Expected behavior
Only the commands actually entered should be listed
Actual behavior

This happened after updating a rather old install (based on 4f19700) that didn't show this property, but also occured on a brand new install with a brand new user (Image is from new user)
Steps to Reproduce

Clone repo and install
Input " (or other item that will create a secondary prompt and hit return

Versions

Prezto commit: 7b5196c
ZSH version: 5.1.1 (Ubuntu) and  5.3.1 (Raspbian)
OS information: Ubuntu 16.04 and Raspbian 9

What's the output of print $PROMPT2?
What prompt theme are you using?

I am not sure if we set secondary prompt in default theme viz., prompt_sorin_theme (which would be the case with brand new setup). Is it possible that you have a different source (~/.zshrc, ~/.zprofile, /etc/zprofile etc.) which is bringing this in?

I just tried this on Ubuntu 16.04 with ZSH 5.1.1 and wasn't able to reproduce it. Do you have your dotfiles anywhere public so we can test this? Or is it just your prezto fork?

@jgdye, just looked at your prezto fork.

Is it possible that you are using joshua theme?
The theme seems to be customizing PS2.

I am closing this based on the assumption that you are using custom theme (joshua) which has PS2 customization outside what prezto provides. Please feel encouraged to re-open if you consider my assumption incorrect and/or you mange to find some other prezto issue.

This occurs on a clone of the primary repository installed in a fresh user using the sorin prompt with a $PS2 value of %_>. I'm away from the system at the moment and can only ssh in with my phone, so my troubleshooting capability is somewhat limited, but a git bisect shows the issue arose with b38ced8. When I can get on the system later this weekend I'll try a complete reinstall of zsh and prezto to verify nothing unusual being sourced followed by removing the changes in that commit if the reinstall doesn't fix the issue.On Aug 4, 2017 3:13 PM, Indrajit Raychaudhuri<EMAIL_ADDRESS>wrote:Closed #1415.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

Aha, so #1272 is the one behind b38ced8. Thanks @jgdye for the analysis.
Looks like we'll need to troubleshoot this.
/cc @johnpneumann

After testing on a minimal Ubuntu VM, the issue is present. Using an SSH connection it occurs out of the box, using the console you have to explicitly set PS2 to include %_.  Setting ps-context to yes appears to resolve the issue on a default install, but that's with fairly minimal testing.

Looking at this now. It's strange that this is just now occurring after being in use for months.

I've attempted to reproduce this issue on 3 separate machines with no luck. Default install with nothing added.
Docker Attempt:
FROM ubuntu:xenial

RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install sudo build-essential curl vim git zsh python python-dev ruby

WORKDIR /tmp

RUN curl -L -O https://bootstrap.pypa.io/get-pip.py
RUN python get-pip.py
RUN pip install --upgrade pip setuptools requests
RUN rm get-pip.py

RUN useradd -ms /bin/zsh zshuser
RUN usermod -aG sudo zshuser
RUN chsh -s /bin/zsh zshuser

USER zshuser
RUN cd && git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
ADD prezto_setup.sh prezto_setup.sh
RUN /bin/zsh prezto_setup.sh

WORKDIR /home/zshuser
ENTRYPOINT /bin/zsh

Corresponding prezto_setup.sh script:
#!/bin/zsh
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
    ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done

Run it with:
docker run --rm -it zsh-ubuntu-xenial

Vagrantfile:
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/xenial64"

  config.vm.provision "file", source: "dockerfiles/ubuntu/prezto_setup.sh", destination: "prezto_setup.sh"

  config.vm.provision "shell", inline: <<-SHELL
    apt-get update
    apt-get -y upgrade
    apt-get -y install sudo build-essential curl vim git zsh python python-dev ruby
    cd /tmp
    curl -L -O https://bootstrap.pypa.io/get-pip.py
    python get-pip.py
    pip install --upgrade pip setuptools requests
    rm get-pip.py

    cd /home/ubuntu
    chsh -s /bin/zsh ubuntu
    export ZDOTDIR=$(pwd)
    git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
    /bin/zsh ./prezto_setup.sh

  SHELL
end

I used the same corresponding script from above in this setup as well. Now run:
vagrant up
vagrant ssh

I also stood up a new remote machine on DO and tried the same things as listed above and couldn't get this issue to pop up.
I attempted multiple permutations of the issue, attempting to make it fail, but could not. Since no one can reproduce this, I'm closing it. If someone else can reproduce the behaviour, I'm more than happy to take another look at this.


fix(bigdecimal): Convert BigDecimal to BigNumeric instead of Numeric

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #2013

Hi Roy, could you enable edits on your branch by the maintainers, so that the owl process can proceed?

Hi @yirutang , tnx for reaching out.
It turned out that this was not possible to do from an organization repository. I recreated the PR from my personal account here: https://github.com/googleapis/java-bigquerystorage/pull/2030
This should allow edits by maintainers.


Division by zero error

When I create a brand new project, setup one file, then go to the queue before generating the mutation patches, we end up with zero patches. At that point, if you try to go the queue, you get a division by zero error. Although it could be considered user error (I forgot to generate the patches), I still think that the queue page should not generate such an error. Just report that it is empty.

I've found the instance showing that error:
<IP_ADDRESS> - - [12/Aug/2023 07:03:53] "GET /queue HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/app.py", line 2091, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/app.py", line 2076, in wsgi_app
    response = self.handle_exception(e)
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/home/alexis/tools/mutate_cpp/app/views.py", line 85, in route_v2_queue
    return render_template('v2_queue.html', patches=patches)
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
    return _render(
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
    rv = template.render(context)
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/jinja2/environment.py", line 1291, in render
    self.environment.handle_exception()
  File "/home/alexis/tools/mutate_cpp/venv/lib/python3.10/site-packages/jinja2/environment.py", line 925, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/alexis/tools/mutate_cpp/app/templates/v2_queue.html", line 2, in top-level template code
    {% set title='Queue' %}
  File "/home/alexis/tools/mutate_cpp/app/templates/v2_base.html", line 175, in top-level template code
    {% block content %}{% endblock %}
  File "/home/alexis/tools/mutate_cpp/app/templates/v2_queue.html", line 34, in block 'content'
    {% set patch_finished_percentage = 100.0 * ((stats.patch.count._all_ - stats.patch.count.incomplete) / stats.patch.count._all_) %}
ZeroDivisionError: division by zero

I actually created PR #33

PR was accepted so we're done here. Thank you.


LUIS SDK azure vs container implementation

Is your feature request related to a problem? Please describe.
When using the container version, you need to access web service. There is no SDK Abstraction as sdk version differ in webservice endpoints...
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/424
The problem here is that prediction results are not the same...
Exemple in code :
Task pred;
            if (_config.UseLocalServices)
            {
                pred = GetPredictionFromEndpointAsync(_config.LuisAPIKey, _config.LuisContainerUrl, _config.LuisAppId, _config.LuisSlotName, question.ToLowerInvariant());
            }
            else
            {
                IList<DynamicList> dynamicLists = _luisFeedDynamicListService.LuisEntries.Select(e => new DynamicList(e.Key, RequestListExtensions.FromLuisEntries(e.Value))).ToList();
                var predictionRequest = new PredictionRequest(question.ToLowerInvariant(), null, null, dynamicLists);

                pred = _luisClient.Prediction.GetSlotPredictionAsync(
                   Guid.Parse(_config.LuisAppId),
                   slotName: _config.LuisSlotName,
                   predictionRequest,
                   verbose: true,
                   showAllIntents: true,
                   log: true);
            }

Describe the solution you'd like
The proper solution would be to change only the enpoint like this:
Version Azure
_luisClient = new LUISRuntimeClient(new ApiKeyServiceClientCredentials(_config.LuisAPIKey))
{
Endpoint = _config.LuisHostRegion
};
Version container
_luisClient = new LUISRuntimeClient(new MockCredentials())
{
Endpoint = "http://localhost:5010"
};

Hello cedrox,
It looks that you are using the LUIS Runtime SDK.  This is for Cognitive Speech SDK.  I will try to find a channel that you can post your LUIS Runtime SDK questions.
Inside the Speech SDK, there is a IntentRecognizer that talks to the LUIS service as well. Check it out here.

You may want to go to https://github.com/Azure-Samples/cognitive-services-language-understanding/issues.

Thanks @lisaweixu for your advice.
Adding issue here : https://github.com/Azure-Samples/cognitive-services-language-understanding/issues/28


Counter Function

Is it possible to implement some form of counter function in Nunaliit atlases?

This could be implemented using a web server log analyzer and embedded counter image/value. It would be complicated to implement in Nunaliit given the client-side nature of the bulk of the code.


Removing the mouseover opacity in the sidebar

Hi. I'm not an expert on CSS, but I wanted to make the opacity of the sidebar constant and not changing whether or not you mouseover it. I tried editing the opacity value in _sidebar.css but that didn't do anything as far as I could tell.

So apparently it was working on the github pages but not in my local repo? I'm probably just inexperienced in this.


When deleting an execution, modal is not closed

Bug detected when deleting an execution. The execution is deleted but the modal remains when it should close.

Implemented: https://github.com/baobabsoluciones/cornflow-ui/pull/67


Introduce SES sample once SES is migrated to AWS SDK v2

Since there is no SES sample for 2.3.x branch it could be a good thing once #59 is done to introduce SES sample. This can be a good first issue. Spring Cloud AWS sample module can be used as a reference for creating SES sample.

@MatejNedic @maciejwalkowiak Let me pick this up once I'm done with #59 if its ok with you.

I'm considering creating this sample inside V3 module. v3/spring-cloud-aws-v3-samples/spring-cloud-aws-v3-ses-sample. I'm assuming that all V3 modules once done will replace the existing ones in a major refactoring effort en-masse.

Once #84 is merged, I can take this up.