Waveshare_ILI9486 alignment with Flash strings

Bug report filed by @pitrz migrated from https://github.com/ImpulseAdventure/Waveshare_ILI9486/issues/1#issuecomment-555199974:
Hi,
i've been playing around with the new version and have noticed a strange behavior with text position / alignment. Basically what is happening if i use the waveshare font as per instructions is that alignment works as it supposed to when the element is stored in RAM. If use the PROGMEM / flash api / _P versions of the element (Button) labels are not aligned correctly. Can you please give me a hint what could be off?
Also - the code is generated using the builder.
Thanks,
Petr

Thanks @pitrz for the report. I have now added support in Waveshare_ILI9486 mode for FLASH-based strings. Please try the latest branch of GUIslice here: https://github.com/ImpulseAdventure/GUIslice/tree/WIP173-WaveshareFlash and let me know if that works.

Hi. Thanks. Seems to work great. The only thing that is a bit confusing now is that the larger waveshare fonts don't really come up in the sizing as previewed in the Builder. They are usually half the size than what's being shown in the Builder. But i don't use them anyways for now. :) Thanks! Awesome support!

Glad to hear it, @pitrz !
As for the font size preview in the Builder, you should be able to add a more accurate preview of the Waveshare fonts to the Builder with the steps listed in https://github.com/ImpulseAdventure/Waveshare_ILI9486/issues/1#issuecomment-548242430
I'll close the ticket now as the font alignment sounds like it is working. If there are any other problems, please feel free to open a new issue ticket. thanks!


Is there a problem with MobileNet -in keras applications- with its input shape?

I am trying to implement number of networks using Keras applications. Here I am attaching a piece of code and this code works fine for ResNet50 and VGG16 but when it comes to MobileNet it generate the error:
ValueError: Error when checking target: expected dense_1 to have 4 dimensions, but got array with shape (24, 2)
# basic_model = ResNet50()
# basic_model = VGG16()
basic_model = MobileNet()
classes = list(iter(train_generator.class_indices))
basic_model.layers.pop()
for layer in basic_model.layers[:25]:
    layer.trainable = False
last = basic_model.layers[-1].output
temp = Dense(len(classes), activation="softmax")(last)

fineTuned_model = Model(basic_model.input, temp)
fineTuned_model.classes = classes
fineTuned_model.compile(optimizer=Adam(lr=0.0001), loss='categorical_crossentropy', metrics=['accuracy'])
fineTuned_model.fit_generator(
        train_generator,
        steps_per_epoch=3764 // batch_size,
        epochs=100,
        validation_data=validation_generator,
        validation_steps=900 // batch_size)
fineTuned_model.save('mobile_model.h5')

This is because MobileNets uses pointwise Conv2D to classify the images (Instead of Dense), and then reshapes the 2D output to 1D as expected in Dense.
You have two choices -

pop 3 times, add Dense and then Flatten layer.
pop 5 times, add Dropout and then Dense.

To look at why you need so many pop operations, refer to the actual code of MobileNets - beginning from line 485


verify: verify checkpoint's STH against the inclusion proof root hash

Signed-off-by: Asra Ali<EMAIL_ADDRESS>Verifying the checkpoint signature of an entry should also verify that the root hash corresponds to the one in the inclusion proof.
Required for https://github.com/slsa-framework/slsa-verifier/issues/281

Summary

Release Note

Documentation

I made a not error :)

Codecov Report

Merging #1092 (d3c134d) into main (a859807) will decrease coverage by 23.07%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##             main    #1092       +/-   ##
===========================================
- Coverage   64.09%   41.02%   -23.08%
===========================================
  Files          82       74        -8
  Lines        7498     7091      -407
===========================================
- Hits         4806     2909     -1897
- Misses       2068     3874     +1806
+ Partials      624      308      -316

Flag
Coverage Δ

e2etests
?

unittests
41.02% <66.66%> (+0.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add a default filter which filters out any markets that end past the cutoff date - on market list page

Filter should not be selected as default if a user holds a position in a market that expires after the cutoff

Designs can be found on 'Market List' page of this doc
https://www.figma.com/file/csVtbWhGCAYe3nVe2LI1UEPM/v1-updates-to-the-UI?node-id=300%3A8313

added - closing


DON'T MERGE e2e: don't delete resource

debugging TestBackupAndRestore flake.
Currently, with this change, local test always fail due to second member can't verify seed member's ip. Error:
2018-01-12 23:13:04.413761 I | etcdmain: rejected connection from "<IP_ADDRESS>:56888" (error "tls: \"<IP_ADDRESS>\" does not match any of DNSNames [\"*.test-etcd-backup-restore-7029314227233146219.e2e-1.svc\" \"*.test-etcd-backup-restore-7029314227233146219.e2e-1.svc.cluster.local\"] (lookup <IP_ADDRESS>.in-addr.arpa. on <IP_ADDRESS>:53: no such host)", ServerName "test-etcd-backup-restore-7029314227233146219-0001.test-etcd-backup-restore-7029314227233146219.e2e-1.svc", IPAddresses [], DNSNames ["*.test-etcd-backup-restore-7029314227233146219.e2e-1.svc" "*.test-etcd-backup-restore-7029314227233146219.e2e-1.svc.cluster.local"])

[skip ci]

Closing this issue since it's for debugging purpose and it's done.


[FEATURE]: Option to post cards anonymously

Summary
A feature where the board as the option to place cards anonymously
User story it relates to
#144
Motivation
This option gives the option for Stakeholders/SuperAdmin to make the boards with the option to post cards anonymously so people are not biased or afraid of sharing their opinion.

Implementation Suggestion

Verify if the backend returns this option as true;
If yes, replace every letter for a or other character;

<variable>.replace(/[a-zA-Z0-9'#]/g, "a")

Add blur on the text


Avoid catching __pycache__ as a "valid" app

Currently __pycache__ is picked up as a legal app and shown on the home page.
This should be avoided.

Fixed by #28


Issue24 add logo

RESOLVES: ISSUE #24
Designed and Added a logo, which could be used in Readme.md and Documentation of Webiu.
ScreenShot of Logo

@wdevon99 ,Could you please review this ? I would love to get suggestions from the community.

Could you please review this ? @wdevon99

@sachinsom93 How does this logo represent the purpose of Webiu?  :)

Hi @wdevon99, thanks for feedback, the basic idea thought behind this is "create faster websites".

Should I go for designing other style of logo ?

A logo was selected and added in PR #182. Thanks for your contribution @sachinsom93 :)


Ship require.js and jquery in Renderer extension

Testing

Create a jupyter notebook and ensure the following python dependencies are installed in the Python environment

!pip install mobilechelonian plotly plotly-express

Verify require.js

Create a cell with the following code and run it

import plotly.express as px

fig = px.scatter(x=[0,1,2,3,4],y=[2,4,7,2,7])
fig.show(renderer='notebook')

* [ ] Verify the plot is rendered

Verify jQuery

Create a cell with the following code and run it

from mobilechelonian import Turtle
t = Turtle()
t.speed(5)
colours=["red","blue","yellow","brown","black","purple","green"]

t.penup(); t.left(90); t.forward(200);t.right(90);t.pendown()
for i in range (0,18):
    t.pencolor(colours[i%7])
    t.right(20)
    t.forward(50)

t.right(180)
t.home()

* [ ] Verify the plot is rendered


Enabling notifications crashes the app

Apparently some notifications are crashing for some users. Not able to reproduce so far, it would be great if someone can tell me which apps/notifications they have open when the app crashes.

What's the best way to collect this information at the granularity that would be useful? I can't imagine that dumping ps aux to a file is necessarily going to be very helpful.

send me a screenshot of the notifications in the notification center, just to see what is in there, you can black out the contents, but I want to see the apps

Nothing looks out of the ordinary to me, I've also experienced some crashes but the moment I start the app with the debugger attached, I'm unable to find anything... weird

This feature is hacky anyways, it is bound to break anytime since I'm not using any official API but rather reading directly from the notifications database. I think I will remove it, it's more trouble that it is worth.


ISPN-5935 Provide an alias to 'eq' in the Query DSL

https://issues.jboss.org/browse/ISPN-5935

Pulled. Thanks @gustavonalle !

Backported to 8.0.x too.


Installing<EMAIL_ADDRESS>failed.

npm ERR! git fetch -a origin (https://github.com/jeremyramin/pty.js.git) fatal: Unable to find remote helper for 'https'
npm ERR! git fetch -a origin (https://github.com/jeremyramin/term.js.git) fatal: Unable to find remote helper for 'https'
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Users\Argana Phangquestian\AppData\Local\atom\app-1.16.0\resources\app\apm\bin\node.exe" "C:\Users\Argana Phangquestian\AppData\Local\atom\app-1.16.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Argana Phangquestian\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Argana Phangquestian\.atom\.apmrc" "install" "C:\Users\ARGANA~1\AppData\Local\Temp\d-11744-3084-1uv25wf.zf5dish5mi\package.tgz" "--runtime=electron" "--target=1.3.13" "--arch=x64" "--global-style" "--msvs_version=2015"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.5
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\ARGANA~1\AppData\Local\Temp\apm-install-dir-11744-3084-11wrbpv.zirqtcsor\npm-debug.log
pls help me :(

Hi @ArganaPhangquestian
terminal-plus doesn't seem to be maintained any longer, and doesn't work with the latest version of Atom. I maintain a working fork if you'd like to try that instead:
apm install termination
Another fine alternative is platformio-atom-ide-terminal.

We also experienced the same problem. It seems it is no longer maintained. We suggest* you to use this package: termination.
*(Suggested, before use).


[Docker] Fix failing docker build

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

// @leecalcote


Safari iOS Support

Support iOS Safari - at the moment nonworking.

Is there any error message in the console?

With iOS Safari this is - I think - not really problem-free. You have to couple XCode with it. I don't have the environment now. But I also think it has to do with the touch environment, which can't be applied here to adding visuals.
According to my fixed idea, you could implement a second strand that takes care of mobile device support.

#14 fixes this


WIP: [Rust] Remove ArrowPrimitiveType

I am placing here as a placeholder because this is a significant change that affects many and thus requires time to think and discuss.
I started working on this based on a reference design outlined and implemented here.
Background
Most formats have two main "planes", the logical and the physical, that represent two fundamentally different aspects of a format. Typically, a physical type, such as i64, represents many logical types (Int64, Date64, Timestamp(), etc.), and a logical type is uniquely represented by a physical type.
From the memory's perspective, the physical plane is the only plane that matters. From the representations' point of view (e.g. as a string), the logical plane matters. Variations on the physical type result in different machine code, variations in the logical type result in different branches at runtime.
Rust uses a "generics" mechanism to write less code that relies on different physical representations that share behavior.
Unfortunately, our dear arrow crate currently uses trait ArrowPrimitiveType to differentiate logical representations.
This trait is implemented for zero-sized structs that contain both the logical and physical representation. For example,
#[derive(Debug)]
pub struct Date32 {}

impl ArrowPrimitiveType for Date32 {
    type Native = i32;
    const DATA_TYPE: DataType = DataType::Date32;
}

We have such structs for 25 logical types (e.g. Date32, Timestamp(Millisecond, _)), and these are used to connect a logical type with a physical type. This has many undesirable consequences, the two most notable ones being:

we can't write generics that are valid for different logical types with the same physical representation.
we do not know what to rely on to get an array's logical data type

1.
In almost all kernels that support a Primitive type, we write something like the following:
match data_type {
        ...
        DataType::Int32 => downcast_take!(Int32Type, values, indices),
        DataType::Date32 => downcast_take!(Date32Type, values, indices),
        DataType::Date64 => downcast_take!(Date64Type, values, indices),
        DataType::Time32(Second) => downcast_take!(Time32SecondType, values, indices),
        DataType::Time32(Millisecond) => downcast_take!(Time32MillisecondType, values, indices),
        DataType::Time64(Microsecond) => downcast_take!(Time64MillisecondType, values, indices),
        DataType::Timestamp(Millisecond, _) => downcast_take!(TimestampMillisecondType, values, indices),
        ...
}

Note how there are two physical representations of all the types above: i32 and i64.  I.e. from the physical representations' point of view, there are only two branches there.
What happens beneath the downcast_take and many other downcasts is that we downcast to the logical type (e.g. Date32), and then perform the operation on it using the same physical type as any other physical type.
The main problem with these is that there is a proliferation of match cases consequent of us using Rust's physical type system to represent logical types. This becomes really painful in any kernel that matches two DataTypes, as we must outline NxN of the valid types. The most dramatic example is cast, but any sufficiently generic kernel suffers from this.
The main consequence is that we often do not bother writing all the cases just because it seems pointless. It also makes it more time-consuming to test because we have more branches to test.
2.
Currently, we have two ways of getting an arrays' datatype inside a generic that consumes array: PrimitiveArray<T: ArrowPrimitiveType>: T::DATA_TYPE and array.data_type. The core issue is that because DataType is a value, not a type (because it is only known at runtime), there can be a mismatch between them. We even abuse it to DRY with things like
        DataType::Timestamp(_, _) => downcast_something!(Int64Type, data_type)

because we know that the physical representation is correct and thus do not bother writing all cases.
The problem with all of this is that because ArrayData::data_type() is used to transmute byte buffers, e.g. whenever we pass it to make_array() to create an Arc<dyn Array>, we expose ourselves to a large risk of unsound code.
This PR
This PR proposes that we remove ArrowPrimitiveArray altogether and have as the only types passed to PrimitiveArray<T> rust's primitive types, such as i32, that implement ArrowNativeType.
 This also makes it obvious that <T> corresponds solely to a physical type, and that logical types are purely decided by ArrayData::data_type() at runtime.
This will also allow us to more easily perform runtime checks to whether the DataType passed to a physical type is correct, which will allow us to write unsafe free Arrays (more details here).
backward incompatibility
There are three main consequences of this change:
collect needs re-write
We will no longer be able to write
let array = iter.collect::<PrimitiveArray<Int32Type>>();

This is because Int32Type will no longer exist and an iterator of Option<T> no longer has a Logical type associated to it.
My proposal to address this is to use a transient struct for this, that I already concluded addresses it. The corresponding code for the above would be
let array = iter.collect::<Primitive<i32>>().to(DataType::Int32);

Here, Primitive<i32> is a struct with a validity and values  buffer but without a Datatype, and .to converts it to a PrimitiveArray<i32> (physical type) with a logical type DataType::Int32 (that panics if the DataType does not fit the physical type).
This has a bit more characters to write. OTOH, it enables full support for Timestamp with timezones, as they can be created via
let array = iter.collect::<Primitive<i64>>().to(DataType::Timestamp(...));

and thus all our iterators' APIs start to work with it out of the box (they currently do not).
match cases can be trimmed down
All match cases whose physical representation is the same and whose logical representation induces no semantic change to the kernel can be collapse in a single case. They also become a bit easier to understand:
    DataType::Int32 | DataType::Date32 | DataType::Time32(_) => downcast_take!(i32, values, indices),
    DataType::Int64 | DataType::Date64 | DataType::Time64(_) | DataType::Timestamp(_) => downcast_take!(i64, values, indices),

for kernels whose logic depends on the logical type, they are also greatly simplified. For example, what our current master currently accomplishes in 16 cases (we use an unsafe trick to reduce it down to 3 cases that does not work if we would do the proper safety checks) can be accomplished as follows:
    (Timestamp(from_unit, None), Timestamp(to_unit, None)) => {
            let array = array
                .as_any()
                .downcast_ref::<PrimitiveArray<i64>>()
                .unwrap();

            let from_size = time_unit_multiple(&from_unit);
            let to_size = time_unit_multiple(&to_unit);
            // we either divide or multiply, depending on size of each unit
            let array = if from_size >= to_size {
                unary::<_, _, i64>(&array, |x| (x / (from_size / to_size)), to_type)
            } else {
                unary::<_, _, i64>(&array, |x| (x * (to_size / from_size)), to_type)
            };
            Ok(Arc::new(array))
        }

Note how because the physical type is the same for all logical types, we perform 1 downcast to i64 (physical representation), and handle logical variations at runtime (the factor to multiply/divide).
Replace IntXXType by iX, UIntXXType by uX
With this change, we no longer need structs such as Int32Type to represent array types. We may want to keep pub type Int32Type = i32; for the sake of a smaller number of changes on downstream dependencies, but the only downcasts only happen when there is a different physical, not logical, representation of the data.
This would significantly reduce the number of branches in all DataFusion's kernels, as well as reduce the risk of errors and unsound code resulting from those errors.

fyi @nevi-me @alamb @andygrove @sunchao , as this has major implications. This is what I was mentioning in the Rust call that has non-trivial consequences but IMO is highly desirable in the long run (and it will only get worse with increasing time).

I fully understand the need for such a huge refactor. I am also very scared for such a refactor. As polars is not in the repo, and would enforce a huge redesign. If this continues could it be communicated what the latest release (of the old API) on crates.io would be?

@ritchie46 , I ended up working this out on a separate repo, https://github.com/jorgecarleitao/arrow2 . Note that there is no ArrayData, which required a brutal refactor. No parquet support yet. It is safer (and faster), though. Working on it.

Ah.. Doing that in parallel is a relief. I follow that one with huge interest.

Closing this PR to hopefully make it clearer this revamp is happening in a separate repo


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3239

Questions ?
Please refer to the Backport tool documentation


description: The class to represent a collection of REST reference links.
position:
line: 1468
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonPosition:
line: 310
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Dashboards/GET_dashboard.json
 error :
operationId: Get
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: widgets/0/_links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
similarPaths:
- widgets/1/_links
- widgets/2/_links
- widgets/3/_links
- widgets/4/_links
- widgets/5/_links
- widgets/6/_links
- widgets/7/_links
- widgets/8/_links
position:
line: 1468
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonPosition:
line: 34
column: 23
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Dashboards/GET_dashboard.json
 error :
operationId: Get Widgets
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get Widgets", parameter project is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Get Widgets
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: INVALID_TYPE
errorDetails:
code: INVALID_TYPE
params:
- array
- object
message: Expected type array but found type object
path: ''
title: >-
/paths//{organization}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}/widgets/get/responses/200/schema
position:
line: 715
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Widgets/GET_widgets.json
 error :
operationId: Replace Widgets
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Replace Widgets", parameter project is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Replace Widgets
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: INVALID_TYPE
errorDetails:
code: INVALID_TYPE
params:
- array
- object
message: Expected type array but found type object
path: ''
title: >-
/paths//{organization}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}/widgets/put/responses/200/schema
position:
line: 815
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Widgets/PUT_widgets.json
 error :
operationId: Update Widgets
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Update Widgets", parameter project is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Update Widgets
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: INVALID_TYPE
errorDetails:
code: INVALID_TYPE
params:
- array
- object
message: Expected type array but found type object
path: ''
title: >-
/paths//{organization}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}/widgets/patch/responses/200/schema
position:
line: 914
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Widgets/PATCH_widgets.json
 error :
operationId: Get Widget
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get Widget", parameter project is required in the swagger spec
but is not present in the provided example parameter values.
 error :
operationId: Get Widget
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1468
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonPosition:
line: 32
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Widgets/GET_widgets_widgetid.json
 error :
operationId: Replace Widget
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Replace Widget", parameter project is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Replace Widget
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1468
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonPosition:
line: 55
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Widgets/PUT_widgets_widgetid.json
 error :
operationId: Update Widget
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Update Widget", parameter project is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Update Widget
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1468
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/dashboard.json
directives: {}
jsonPosition:
line: 55
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/5.1/httpExamples/Widgets/PATCH_widgets_widgetid.json
 error :
operationId: Get Widget Types
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get Widget Types", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Get Widget Types
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - contribution
- previewImageUrl
message: 'Additional properties not allowed: contribution,previewImageUrl'
path: widgetTypes/0
title: /definitions/WidgetMetadata
description: Contribution based information describing Dashboard Widgets.
similarPaths:
- widgetTypes/1
- widgetTypes/2
- widgetTypes/3
- widgetTypes/4
- widgetTypes/5
- widgetTypes/6
position:
line: 1603
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 9
column: 11
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/WidgetTypes/GET__dashboard_WidgetTypes-onprem.json
 error :
operationId: Get Widget Metadata
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get Widget Metadata", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Get Widget Metadata
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - contribution
- previewImageUrl
message: 'Additional properties not allowed: contribution,previewImageUrl'
path: widgetMetadata
title: /definitions/WidgetMetadata
description: Contribution based information describing Dashboard Widgets.
position:
line: 1603
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 9
column: 27
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/WidgetTypes/GET__dashboard_WidgetTypes__widgetId_-onprem.json
 error :
operationId: Create
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Create", parameter collection is required in the swagger spec
but is not present in the provided example parameter values.
 error :
operationId: Create
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 52
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/POST_widgets-onprem.json
 error :
operationId: List
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "List", parameter collection is required in the swagger spec
but is not present in the provided example parameter values.
 error :
operationId: List
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- self
message: 'Additional properties not allowed: dashboard,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 25
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Dashboards/GET_dashboards-onprem.json
 error :
operationId: Replace Dashboards
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Replace Dashboards", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Replace Dashboards
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - refreshInterval
- position
- name
- id
- widgets
message: 'Additional properties not allowed: refreshInterval,position,name,id,widgets'
path: ''
title: /definitions/DashboardGroup
description: >-
Describes a list of dashboards associated to an owner. Currently, teams own
dashboard groups.
position:
line: 1325
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Dashboards/PUT__dashboard_groups__groupId__dashboards__dashboardId__-onprem.json
 error :
operationId: Replace Dashboards
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - group
- self
message: 'Additional properties not allowed: group,self'
path: links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 16
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Dashboards/PUT__dashboard_groups__groupId__dashboards__dashboardId_-onprem.json
 error :
operationId: Delete
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Delete", parameter collection is required in the swagger spec
but is not present in the provided example parameter values.
 error :
operationId: Delete
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
errorDetails:
code: RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
id: OAV111
message: >-
Following response status codes "200" for operation "Delete" were present in
the swagger spec, however they were not present in x-ms-examples. Please
provide them.
level: error
 error :
operationId: Delete
scenario: ''
source: response
responseCode: '204'
severity: 0
errorCode: RESPONSE_STATUS_CODE_NOT_IN_SPEC
errorDetails:
code: RESPONSE_STATUS_CODE_NOT_IN_SPEC
id: OAV112
message: >-
Response statusCode "204" for operation "Delete" is provided in
exampleResponseValue, however it is not present in the swagger spec.
level: error
 error :
operationId: Get
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get", parameter collection is required in the swagger spec but
is not present in the provided example parameter values.
 error :
operationId: Get
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - widget
- group
- self
message: 'Additional properties not allowed: widget,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 310
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Dashboards/GET_dashboard-onprem.json
 error :
operationId: Get
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: widgets/0/_links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
similarPaths:
- widgets/1/_links
- widgets/2/_links
- widgets/3/_links
- widgets/4/_links
- widgets/5/_links
- widgets/6/_links
- widgets/7/_links
- widgets/8/_links
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 34
column: 23
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Dashboards/GET_dashboard-onprem.json
 error :
operationId: Get Widgets
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get Widgets", parameter collection is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Get Widgets
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: INVALID_TYPE
errorDetails:
code: INVALID_TYPE
params:
- array
- object
message: Expected type array but found type object
path: ''
title: >-
/paths//{collection}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}/widgets/get/responses/200/schema
position:
line: 711
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/GET_widgets-onprem.json
 error :
operationId: Replace Widgets
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Replace Widgets", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Replace Widgets
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: INVALID_TYPE
errorDetails:
code: INVALID_TYPE
params:
- array
- object
message: Expected type array but found type object
path: ''
title: >-
/paths//{collection}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}/widgets/put/responses/200/schema
position:
line: 811
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/PUT_widgets-onprem.json
 error :
operationId: Update Widgets
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Update Widgets", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Update Widgets
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: INVALID_TYPE
errorDetails:
code: INVALID_TYPE
params:
- array
- object
message: Expected type array but found type object
path: ''
title: >-
/paths//{collection}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}/widgets/patch/responses/200/schema
position:
line: 910
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/PATCH_widgets-onprem.json
 error :
operationId: Get Widget
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Get Widget", parameter collection is required in the swagger
spec but is not present in the provided example parameter values.
 error :
operationId: Get Widget
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 32
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/GET_widgets_widgetid-onprem.json
 error :
operationId: Replace Widget
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Replace Widget", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Replace Widget
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 55
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/PUT_widgets_widgetid-onprem.json
 error :
operationId: Update Widget
scenario: ''
source: request
responseCode: ALL
severity: 0
errorCode: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
errorDetails:
code: REQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
id: OAV105
message: >-
In operation "Update Widget", parameter collection is required in the
swagger spec but is not present in the provided example parameter values.
 error :
operationId: Update Widget
scenario: ''
source: response
responseCode: '200'
severity: 0
errorCode: OBJECT_ADDITIONAL_PROPERTIES
errorDetails:
code: OBJECT_ADDITIONAL_PROPERTIES
params:
- - dashboard
- group
- self
message: 'Additional properties not allowed: dashboard,group,self'
path: _links
title: /definitions/ReferenceLinks
description: The class to represent a collection of REST reference links.
position:
line: 1464
column: 23
url: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/dashboard-onprem.json
directives: {}
jsonPosition:
line: 55
column: 19
jsonUrl: >-
/Users/nschonni/Documents/github/vsts-rest-api-specs/specification/dashboard/tfs-4.1/httpExamples/Widgets/PATCH_widgets_widgetid-onprem.json
(node:85071) UnhandledPromiseRejectionWarning: #
(node:85071) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:85071) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
</details>

Hello @nschonni as explained in comment here https://github.com/MicrosoftDocs/vsts-rest-api-specs/issues/161#issuecomment-467501976 we use these specs for documentation generation and their format is not exactly the same as Swagger 2.0.
We would likely fail this validation, we want to eventually be in line with OpenApi but that is long term goal.


kind: 0.3.0 -> 0.5.1

Motivation for this change
upgrade!
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

@GrahamcOfBorg build kind

@GrahamcOfBorg build kind


Do not use macro as identifier in sbt code base

Use of macro as an identifier has been deprecated in Scala 2.10 and will be prohibited in Scala 2.11.
We should inspect sbt code base and get rid of uses of macro as an identifier. For example, we'll need to update:

sbt/src/sbt-test/source-dependencies/macro
sbt/src/sbt-test/source-dependencies/macro-name-hashing

scripted tests. Nonetheless, the whole code base should be grepped.

Given the 1.0.x branch is successfully building on Scala 2.11, whatever changes needed to be done, must've been done.


Update sql-sdk-connection-modes clarify TLS

Added two sections to clarify that Direct Connection traffic is encrypted via TLS and is not transmitted in cleartext. Customers and customer engineers are unclear about this when viewing the doc as it's easy to miss the first statement at the beginning of the article.

@najohnson-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good, approved

#sign-off

@alsur,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. Thanks.

@jborsecnik already reviewed and signed off


Intel E5-2680 coredump

We're having an issue w/the library core dumping on certain Intel processors, specifically the Intel E5-2680 v2 @ 2.80 GHz.
Steps to reproduce:
# python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hnswlib
>>> p = hnswlib.Index(space='l2', dim=128)
Illegal instruction (core dumped)
#

If you run it on an AWS c3 instance it will fail.  On other instance types with the newer Intel E5-2686 v4 @ 2.30 GHz processor it works fine, for example on a m4 or i3 instance type.
Any ideas?  The 2680 doesn't have the AVX instruction set.
I have a Docker image you can use to check it as well:
docker run -it quay.io/kairosinc/cpubug-test:latest
Thanks!

Hi @coleca,
Do you build hnswlib on the target machine?
This issue seems to be related to #17.

That must be it because we build via Jenkins on a host that has AVX.  No way to compile in both, but determine which one to use at runtime?
Is there a big impact for running the non-AVX version on an AVX enabled host?
Easiest solution will probably be for us to remove the non-AVX hosts from our cluster going forward.
Thanks for your help!

@coleca There is a way to determine that and make different paths for different architectures.
The impact depends on the size of the vector. E.g. for 128-dimensional vectors it is ~10-15%. For larger vectors it is higher.

Great, thanks again!


Local pull request success status testing

Docs Build status updates of commit 68d94cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

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.


Add Members of Cabinet section

Load cabinet member data (people) and show their positions.

I'll try doing this one.

Is สส.บัญชีรายชื่อลำดับที่ 1 coming from mp_type?
In that case, I only see บัญชีรายชื่อ and แบ่งเขต so I'm assuming บัญชีรายชื่อ will always be สส.บัญชีรายชื่อลำดับที่ 1. What will it be for แบ่งเขต

Hi @Wisawing
After revising this infomation with data team, we'll show only the name-lastname of the member.
Please ignore สส.บัญชีรายชื่อลำดับที่ parts. See added details in the issue description.

Two more questions:

Where do I get images for people? Or should I just use a place holder for now?
From the screenshot, I'm assuming it's categorized by ministry. However the data we have in people.yaml only have cabinet_position. It's possible to derived ministry from the postion however codewise it will be a bit ugly. Is that what's expected?

Build URL with their name and lastname. Look for example in people-template.js
That’s what’s expected. This is the first version of website and we’re learning while building. So data is not very nice for now.


Broken link in Overriding Developer Portal Theme

Broken link [1] for Advanced Customizations. Link should directed to [2]
[1] https://apim.docs.wso2.com/en/4.0.0-dev/reference/customize-product/customizations/customizing-the-developer-portal/overriding-developer-portal-theme/
[2] https://apim.docs.wso2.com/en/4.0.0-dev/reference/customize-product/customizations/advanced-ui-customization/

Seems to be fixed now in [1] so closing this.
[1] - https://apim.docs.wso2.com/en/latest/reference/customize-product/customizations/customizing-the-developer-portal/overriding-developer-portal-theme/


fix normalise_string to prevent issues when lexer->buflen == 0

This was flagged by either the memory sanitizer or the undefined behavior sanitizer as an issue.
This commit changes the datatype of i to be ssize_t so that lexer->buflen - 1 becomes less than 0 when lexer->buflen == 0.

The CI failure is unrelated and will be fixed by PR #4358.


For YouTube player the video length shown as '03:04' on start screen and actual video length is '03:03'

Steps to Reproduce

Hit the URL : https://plyr.io/#youtube
Observe that :  For YouTube player the video length shown as '03:04' on start screen and actual video length is '03:03' as compare to 'Video Player' and 'Vimeo Player'
When video playback completes then YouTube player shows video length as '03:03' on end screen same like 'Video Player' and 'Vimeo Player'

Expected Results :
For YouTube player the video length should be shown as '03:03' on start screen same like 'Video Player' and 'Vimeo Player'
Actual Results :
For YouTube player the video length shown as '03:04' on start screen and actual video length is '03:03'
Content Manifesting : https://plyr.io/#youtube
Configuration Manifesting

Win 8, Chrome 53

Notes :
See the attached screen shot :

Thanks for this - I'll take a look. I suspect it's a rounding issue.

This is related to #362 so will manage both there


Fixes version conflict for cloudpickle

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
#2355
What are the significant changes in functionality due to this change request?
Dask was the offending package, with dask version 2024.8.1 requiring cloudpickle >= 3.0.0. Reverting to 2024.8.0 resolves this issue.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test CentOS 7 on 747e96f : invalidated by @j-bryan
Failed when setting python environment

Job Test CentOS 7 on b638a3f : invalidated by @dylanjm
Failure to set python environment

Job Test qsubs sawtooth on b638a3f : invalidated by @dylanjm
Failure to set python environment

@j-bryan Looks like there is now a diff on a HERON test for HERD. We will have to look into that and prepare a submodule update for HERON with a regolded or fixed test.

Job Test qsubs sawtooth on b638a3f : invalidated by @wangcj05

@dylanjm It looks like the errors on the HERD test are really small (~10^-9). A regold or just adding a tolerance to the test should be fine. Also, it looks like it's a different plugin test failing on Mac, one of the LOGOS tests. @wangcj05, any insights on that LOGOS test?

@dylanjm It looks like the errors on the HERD test are really small (~10^-9). A regold or just adding a tolerance to the test should be fine. Also, it looks like it's a different plugin test failing on Mac, one of the LOGOS tests. @wangcj05, any insights on that LOGOS test?

@j-bryan The logos tests are fine, the failure is caused by time out, which happens.

@j-bryan Okay great, yeah once this is merged we can regold that HERON test.

We keep getting the following error on the python environment setup @joshua-cogliati-inl any thoughts why this is happening?
... Activating environment ...
... conda-forge command: mamba install -y -c conda-forge h5py numpy=1.22 scipy=1.9 scikit-learn=1.0 pandas xarray=2023 matplotlib=3.5 statsmodels=0.13 cloudpickle python=3 hdf5 swig pylint coverage lxml psutil pip pyDOE3 importlib_metadata nomkl smt statsforecast setuptools=69 numpy-financial networkx pytest dill=0.3.5 pyomo=6.4 pyutilib glpk ipopt coincbc=2.10.5 cvxopt quadprog qpsolvers
Traceback (most recent call last):
  File "/home/civet/.conda/envs/raven_libraries/bin/mamba", line 7, in <module>
    from mamba.mamba import main
  File "/home/civet/.conda/envs/raven_libraries/lib/python3.9/site-packages/mamba/mamba.py", line 44, in <module>
    import libmambapy as api
  File "/home/civet/.conda/envs/raven_libraries/lib/python3.9/site-packages/libmambapy/__init__.py", line 7, in <module>
    raise e
  File "/home/civet/.conda/envs/raven_libraries/lib/python3.9/site-packages/libmambapy/__init__.py", line 4, in <module>
    from libmambapy.bindings import *  # noqa: F401,F403
ImportError: libarchive.so.13: cannot open shared object file: No such file or directory

ERROR: exiting with code 1

Job Test qsubs sawtooth on b638a3f : invalidated by @joshua-cogliati-inl
fixed library issues

Job Test CentOS 7 on b638a3f : invalidated by @joshua-cogliati-inl
updated conda

Job Test qsubs sawtooth on 11dd22b : canceled by @joshua-cogliati-inl
seems to have stopped running

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
restarted civet

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Mingw Test on 11dd22b : canceled by @joshua-cogliati-inl
civet problems

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Test qsubs sawtooth on 11dd22b : invalidated by @joshua-cogliati-inl
civet problems

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
updated conda

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
updated conda

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
updated conda

Job Mingw Test on 11dd22b : invalidated by @joshua-cogliati-inl
updated conda

duplicated pr.


Problem with worldguard in the src

the boolean in the Quest.class isInRegion does not work even though i imported the worldguard plugin in my buildpath.
https://pastebin.com/wCpw8V0Y
	private boolean isInRegion(Player player) { 		if (region == null) { 			return true; 		} else { 			ApplicableRegionSet ars = 	plugin.getDependencies().getWorldGuardApi().getRegionManager(player.getWorld()).getApplicableRegions(player.getLocation()); 			Iterator<ProtectedRegion> i = ars.iterator(); 			while (i.hasNext()) { 				ProtectedRegion pr = i.next(); 				if (pr.getId().equalsIgnoreCase(region)) { 					return true; 				} 			} 			return false; 		} 	}
this is the problem plugin.getDependencies().getWorldGuardApi().getRegionManager(player.getWorld()).getApplicable
The type com.sk89q.worldedit.math.BlockVector3 cannot be resolved. It is indirectly referenced from required .class files

It should work just fine. BlockVector3 is present in WorldGuard 7 (not 5 or 6), so chances are your IDE didn't/couldn't import WG7 correctly. Update the project or just add a WG7 jar to your build path.


config maximum amount of lines not work

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.66.0
OS Version: win11

I need print full logs, but scrollback can't work.
Steps to Reproduce:

Ideally you should redirect the output of your command to a file or something if you need to do this. Just use a more reasonable number here, the scrollback defines how much memory the terminal uses, so I'm not surprised this doesn't work.


pipenv shell does not work with PowerShell Core

Running pipenv shell under PowerShell Core does not work.
Pipenv version: '11.6.1'
Pipenv location: 'C:\\Users\\brcan\\AppData\\Roaming\\Python\\Python36\\site-packages\\pipenv'
Python location: 'C:\\Users\\brcan\\AppData\\Local\\Programs\\Python\\Python36\\python.exe'
Other Python installations in PATH:

Expected result
pipenv shell to execute the Activate.ps1 script for the virtual environment.
Actual result
PS C:\Users\brcan\Desktop\bunk> py -3 -m pipenv shell
Traceback (most recent call last):
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\core.py", line 2107, in do_shell
    c = pexpect.spawn(
AttributeError: module 'pexpect' has no attribute 'spawn'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\brcan\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\brcan\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\__main__.py", line 4, in <module>
    cli()
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\vendor\click\core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\vendor\click\core.py", line 697, in main
    rv = self.invoke(ctx)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\vendor\click\core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\vendor\click\core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\cli.py", line 281, in shell
    core.do_shell(three=three, python=python, fancy=fancy, shell_args=shell_args)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\core.py", line 2123, in do_shell
    pew.workon_cmd([workon_name])
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\pew.py", line 368, in workon_cmd
    shell(env, cwd=project_dir)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\pew.py", line 194, in shell
    shell = _detect_shell()
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\pew.py", line 187, in _detect_shell
    shell = get_shell(os.getpid())
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\_win_utils.py", line 111, in get_shell
    return check_parent(pid)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\_win_utils.py", line 108, in check_parent
    return check_parent(ppid, lvl=lvl+1)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\_win_utils.py", line 108, in check_parent
    return check_parent(ppid, lvl=lvl+1)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\_win_utils.py", line 108, in check_parent
    return check_parent(ppid, lvl=lvl+1)
  File "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\patched\pew\_win_utils.py", line 104, in check_parent
    if ppid and processes[ppid]['executable'].lower().rsplit('.', 1)[0] in SHELL_NAMES:
KeyError: 18064

Steps to replicate
PS C:\Users\brcan\Desktop\bunk> py -3 -m pipenv --python 3.6.4
Virtualenv already exists!
Removing existing virtualenv…
Creating a virtualenv for this project…
Using C:\Users\brcan\AppData\Local\Programs\Python\Python36\python.exe (3.6.4) to create virtualenv…
Already using interpreter C:\Users\brcan\AppData\Local\Programs\Python\Python36\python.exe
Using base prefix 'C:\\Users\\brcan\\AppData\\Local\\Programs\\Python\\Python36'
New python executable in C:\Users\brcan\.virtualenvs\bunk-M_X9FcBv\Scripts\python.exe
Installing setuptools, pip, wheel...done.

Virtualenv location: C:\Users\brcan\.virtualenvs\bunk-M_X9FcBv
Creating a Pipfile for this project…
PS C:\Users\brcan\Desktop\bunk> py -3 -m pipenv shell

thanks for the report!

ooh that's an interesting one.
@brettcannon for the record we don't invoke Activate.ps1 currently, or most other activation scripts -- thus the subshelling.  I think the pexpect issue is an import issue, and well the ppid issue is obvious
Gonna have to tag @uranusjr for the virtualenv replacement there, I'm working on some finder tools that use the pep514 implementation but haven't swapped it in yet.  Wonder if this is normalization related

FWIW I can use pipenv shell correctly with Powershell Core on macOS, so this is likely more a Windows issue than PS Core. I don’t have access to my Windows machine right now, however, and will need to explore this later.

@erinxocon want to take a look?

I think I got it. Pull request coming up (but I need some help with click_completion).

@uranusjr we can disable it on windows.

I think it’s good to keep it as-is. Powershell Core is not officially supported by click-completion anyway, so people shouldn’t expect much in the first place.

fixed in master

I'm fixing those calls in pew._win_utils as well


[Feature] add a tampering proxy for integration tests

Use case
When I was trying to implement the test for #1812 which include an simulated MiTM attack to check if the verifer for oidc challenge code is working, I find it requires a lot of code specific to that test.
Specifically, I need to add the following functions:
func (s *AuthOIDCScenario) runTailscaleUpWithModifier(
	userStr string,
	loginServer string,
	httpClientModifier func(*http.Client),
) error { ... }

func (s *AuthOIDCScenario) CreateHeadscaleEnvWithHTTPModifier(
	users map[string]int,
	httpModifier func(*http.Client),
	opts ...hsic.Option,
) error { ... }

where the httpModifier function is used to modify the http roundtrips between headscale and oidc server.
In later discussion, @kradalby suggest to have a tampering proxy that is able to modify the requests: https://github.com/juanfont/headscale/pull/1812#discussion_r1894852089

Unless I am really missing something, I think what bothers me is that it isnt the tailscale client that is doing the request, but a httpClient.Do(req). I think the "correct" way to do this is to have the request go through a proxy and that could be passed as an option to hsic or tsic. where you can give it a func that will modify the requests.
That way we can have unmodified (and only one version of) runTailscaleUp, and have failing and passing nodes in the same test, some just get tampered with and some dont, compared to a dedicated test for each.
This is a lot of code that is very specific to one test, and a proxy in between headscale and tailscale for tampering would be quite useful.

I think adding such feature will be greatly helpful for future improvements, such as more attack simulation tests.
Description
We can have a tampering proxy that is able to modify the request among many parties in the integration tests:

tailscale client
headscale instance
user operations (browser)
thirdparty service providers (oidc server)

Therefore we can support more powerful integration test
Contribution

[ ] I can write the design doc for this feature
[X] I can contribute this feature

How can it be implemented?
Having a Proxy set up and pass all request through it.

#2315 This draft PR illustrate how the MiTM test is working before for OIDC Verifer feature in #2314 .


chore(master): release 1.9.7

:robot: I have created a release beep boop
1.9.7 (2023-08-27)
CI

修改ci报错 (e9e415e)
修改配置 (ed9d813)

Miscellaneous Chores

其他修改 (10715e0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/KYX1234/Element-Admin/releases/tag/v1.9.7 :sunflower:


Add support for up to k=63 using u128

Adds generics over u64 to allow use of u128 when 31 < k <= 63. More fiddly than I expected, but main parts are:

One megatrait RevComp adds all the needed integer traits, and adds specialisations for the reverse_complement function and other base type coversions.
When loading arrays, they are first tried as u64. If that errors, then u128 is tried. This necessitated many of the main functions in lib.rs being lifted out and made generic.

TODO:

[x] Update docs
[x] cargo test -- fix existing code
[ ] cargo test -- add new tests for k=63
[x] cargo clippy -- fix lint
[ ] cargo fmt -- before merge

Note this also fixes the countmin table -- only one hash was being used rather than four


Odd behavior when redirecting insufficient input from file to readString

When there are more readString() calls than lines in a file that's redirected to stdin, the string "undefined" is returned from the readString() call. This is probably not how it should behave; it should either return a Wheel null or throw a runtime error.

Leaning towards throwing a runtime error.


Ignore intel VIRTUAL[1-9] outputs

Pretty self-explanatory.
These outputs are guarenteed to be consitently named, so there's no witch hunt through xrandr for them.
I might submit a PR if I have some time.

PR #46


Change python block comment to """

Per https://github.com/Microsoft/vscode-python/issues/473
VSC provides Python config file currently contains "blockComment": [ "'''", "'''" ]
while users want  blockComment": [ "\"\"\"", "\"\"\"" ]

@DonJayamanne Don, your opinion?

@aeschli I agree with this change


File not found

Hi, Receiving following error
##[error]File not found: '/azp/_work/_tasks/AIPRReview_018f87db-0fa6-79f2-8a8a-7661bb024ef4/0.12.3/dist/index.js'
what could be the reason

review this point in your code
"execution": {
"Node10": {
"target": "review.js"
}
}

I have this issue as well, reviewing a c# web api application

@lordsteggu @jpitapeva just rebuilt and pushed. Sorry for the late response.

@lordsteggu @jpitapeva just rebuilt and pushed. Sorry for the late response.

Thank u ;)

closing for now feel free to reopen if there is still an issue


[Bug]: MelonLoader does not work with game "Eleven Table Tennis"

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[X] Was able to see the Start Screen.

Describe the issue.
I have reported this issue previously at here, the issue was marked as Completed and Closed, but it seems still does not work for me. I have attached the latest log here.
The game is able to run, but the problem is that mod seems does not work.
I have tried the sample MelonLoader mod, none of callbacks are working.
MelonLoader_22-09-15_20-39-52.063.log
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

That issue is marked closed because that specific issue has already been fixed in the upcoming update.
Please wait for it to release.


High CPU and memory usage

Hello,
I am taking a screenshot of 1000 domains. I am fetching 10 domains from a queue (Rabbit MQ) and taking a screenshot. CPU usage got increased consistently and memory usage also got increased. After sometime it got crashed.
How can I lower the CPU and memory consumption?
Any help would greatly be appreciated.

@vbauer  Any news on this?

Could you check with the command ps -aux if they are Defunct process that could lead to high CPU usage?


bug (hubble): Sync 99%

I did restart service but it 99%

Hey @roryhuynh, this is expected. It is almost impossible to be 100% synced—the network is distributed and new messages are constantly being created. There are almost always some messages in flight that one hub has which another hub doesn't.
Perhaps we could change this number to include some decimal places to make this more clear, but going to close for now as this is expected behavior.


Payload Too Large when uploading file

Im trying to upload a file with a size of 27mb, but I got this error Failed to load resource: the server responded with a status of 413 (Payload Too Large). What I have done so far is to edit the index.js and add maxUploadSize: '30mb' to config but it doesnt help.
The parse server only installed in our Local machine. Any recommendation?

I'm closing this as it does not seem to be a Parse Server Example issue.

For help with Parse Platform we recommend our community forum
For coding questions we recommend Stack Overflow using the parse-platform tag
For network and server questions we recommend ServerFault using the parse-server tag

Feel free to comment if you have any questions and we can re-open this issue.


Document common error messages

Identify common error messages and provide potential troubleshooting advice. This may be cross posted to StackOverflow if it makes sense from a user perspective.
Just FYI - these used to sit in the airtable roadmap, but we decided to move product-related doc items out into GitHub issues.

With https://www.cockroachlabs.com/docs/stable/common-errors.html as well as the troubleshooting training content at https://www.cockroachlabs.com/docs/stable/training/, considering this done for now.


Input Video to the model

Is there any support for testing model using video file?

No, this is a method that assumes the input is a bounding box of a Grevy’s zebra in his natural environment.

On 6. May 2020, at 09:12, ras3791<EMAIL_ADDRESS>wrote:
Is there any support for testing model using video file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/silviazuffi/smalst/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNYVFMJ7VQAACF757CLORDRQEEWHANCNFSM4M2GDD6Q.

Thanks for the quick reply. I have one more query how are you generating the processed images from full size?

Hi,
I got the images with the bounding boxes from our coauthor Tanya Berger Wolf from WildBook https://www.wildbook.org/doku.php https://www.wildbook.org/doku.php

On 6. May 2020, at 09:22, ras3791<EMAIL_ADDRESS>wrote:
Thanks for the quick reply. I have one more query how are you generating the processed images from full size?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/silviazuffi/smalst/issues/9#issuecomment-624484824, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNYVFNLSQVJGS3NXCKJZ5TRQEFZRANCNFSM4M2GDD6Q.

Thanks!


rocksdb: 7.10.2 -> 8.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/rocksdb/versions.
meta.description for rocksdb is: A library that provides an embeddable, persistent key-value store for fast storage
meta.homepage for rocksdb is: https://rocksdb.org
meta.changelog for rocksdb is: https://github.com/facebook/rocksdb/raw/v8.0.0/HISTORY.md
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.0.0 with grep in /nix/store/6cmj683vyagln36i8hlw5k0nva9ddp6l-rocksdb-8.0.0
found 8.0.0 in filename of file in /nix/store/6cmj683vyagln36i8hlw5k0nva9ddp6l-rocksdb-8.0.0

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

12 package rebuild(s)

First fifty rebuilds by attrpath
fulcrum
haskellPackages.haskoin-node
haskellPackages.rocksdb-haskell
haskellPackages.rocksdb-haskell-jprupp
haskellPackages.rocksdb-query
nimPackages.rocksdb
nimPackages.spry
polkadot
rocksdb
rocksdb_lite
sortmerna
surrealdb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6cmj683vyagln36i8hlw5k0nva9ddp6l-rocksdb-8.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocksdb https://github.com/r-ryantm/nixpkgs/archive/bc9892f2aed6ae9e1a76525b1a9286e7fae4b51f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6cmj683vyagln36i8hlw5k0nva9ddp6l-rocksdb-8.0.0
ls -la /nix/store/6cmj683vyagln36i8hlw5k0nva9ddp6l-rocksdb-8.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

fulcrum
surrealdb

6 packages built:

nimPackages.rocksdb
nimPackages.spry
polkadot
rocksdb
rocksdb_lite
sortmerna

Maintainer pings
cc @adevress @magenbluten for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/facebook/rocksdb/releases.
meta.description for rocksdb is: A library that provides an embeddable, persistent key-value store for fast storage
meta.homepage for rocksdb is: https://rocksdb.org
meta.changelog for rocksdb is: https://github.com/facebook/rocksdb/raw/v8.3.2/HISTORY.md
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.3.2 with grep in /nix/store/qq9yrk4fkx1s221yaap4qm8dd57bkz2v-rocksdb-8.3.2
found 8.3.2 in filename of file in /nix/store/qq9yrk4fkx1s221yaap4qm8dd57bkz2v-rocksdb-8.3.2

Rebuild report (if merged into master) (click to expand)

14 total rebuild path(s)

14 package rebuild(s)

First fifty rebuilds by attrpath
chickenPackages_5.chickenEggs.rocksdb
fulcrum
haskellPackages.haskoin-node
haskellPackages.rocksdb-haskell
haskellPackages.rocksdb-haskell-jprupp
haskellPackages.rocksdb-query
nimPackages.rocksdb
nimPackages.spry
polkadot
rocksdb
rocksdb_lite
solana-cli
sortmerna
surrealdb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qq9yrk4fkx1s221yaap4qm8dd57bkz2v-rocksdb-8.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocksdb https://github.com/r-ryantm/nixpkgs/archive/c2d03c7cb70a2da593ee539e760c746b34aefcea.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qq9yrk4fkx1s221yaap4qm8dd57bkz2v-rocksdb-8.3.2
ls -la /nix/store/qq9yrk4fkx1s221yaap4qm8dd57bkz2v-rocksdb-8.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

fulcrum
surrealdb

8 packages built:

chickenPackages_5.chickenEggs.rocksdb
nimPackages.rocksdb
nimPackages.spry
polkadot
rocksdb
rocksdb_lite
solana-cli
sortmerna

Maintainer pings
cc @adevress @magenbluten for testing.


npm_package doesn't include typescript declaration files

Consider the following rule:
ts_project(
    name = "types_ts",
    srcs = glob(["**/*.ts"]),
    declaration = True,
)

If I expose the generated files via an npm_package, then the declaration file will be missing unless I include it explicitly:
npm_package(
    name = "types",
    srcs = [
        # Declaration files not exposed unless the next line is uncommented.
        # "index.d.ts",
        "package.json",
        "types_ts",
    ],
)

Thanks for the issue.
@thesayyn, the fix is to add any files in DeclarationInfo providers in srcs to the npm_package.

I got this one @thesayyn . It was a bit involved with the copy_to_directory composition. https://github.com/aspect-build/rules_js/pull/259 will fix it; it required https://github.com/aspect-build/bazel-lib/pull/176

Oh cool. thanks! I got swarmed by other stuff.


[TODO] support watch-mode fusion dev --profile and fusion profile --watch

fusion dev --profile should not exist. It would make CLI output too noisy


"D&I Champion Award" winner needed for Open Source in Finance Forum, London on July 13th

cc @beekemarie, @Julia-Ritter
On Friday 10th June, the DEI SIG agree to provide FINOS with the winner of the "D&I Champion Award" for Open Source in Finance Forum, London on July 13th.
Please complete and supply the following items by Tuesday 5th July 2022 DEI SIG Meeting.

[ ] DEI SIG to determine the "D&I Champion Award" for Open Source in Finance Forum, London.
[ ] Winner details to be emailed to<EMAIL_ADDRESS>
First name
Last name
Firm
Contact email address

[ ] Name of person presenting the award at OSSF, London

This issues has been closed to give thought on how roles within wider teams can be considered for FINOS Community Awards. There is no requirement for the D&I Champion Award at OSFF London 2022.


googlefonts.*: init at unstable-2023-07-22

Description of changes
Added a  collection of Google Fonts built from github:googlefonts/* repos. This was created to package the croscore fonts (issue #238047) without having to fetch the entire github:google/fonts repo using the google-fonts package.
If having a parent attrset containing the derivations isn't okay, I'll drop the separate font derivations and create one "croscore" package instead.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

ping? i would really like to use croscore fonts without having an old nixpkgs copy in flake...


Function from utils.jl does not update

I follow the description on https://franklinjl.org/syntax/utils/ to create a hfun function. The example gives the hfun_recentblogposts() function which lists the (dates of) the three most recent .md files in a folder. This works well, as long as the files do not change. Upon e.g. deleting a file, that file is still listed after refreshing the page; only restarting the server removes the file from the list. Is this caused due to caching? Is there a way to execute the function every time the page gets refreshed?
(As you can guess, I am new to fanklin.jl; I also looked into the "inserting code" section of the documentation, but that seems to be rather for writing tutorials where the code is also displayed.)
Many thanks in advance!

Let's say you have index.md which has the {{recentblogposts}}. Franklin will only reevaluate that function if index.md changes. So in your case what you can try is to just re-save index.md (without real change) and check that the list gets updated.
Refreshing the page does not signal anything to Franklin. Franklin only looks at changes in the source files and reacts to that. So it's not really caching, it's just not reacting to the file being deleted.

Thank you, also for the clarification that refreshing the page from the client side does not signal anything to Franklin. It would be a great feature though, to be able to run some code every time someone accesses a page, in order to display some live information served from a back-end -- but I guess that this is, at least at the moment, beyond the intended purpose of Franklin.


Errata on p 18

While reading the note in "Disabling production optimization," I noticed an issue.
The following text looks like it's been added in error:

This text is not part of the note. It must be moved outside, just before the next sertence
At the end...)

Good catch, thanks!
I add it to the errata file

Added


Added system tests for non-JVM clients

Type of change

Enhancement / new feature

Description

As part of #97, I have included a couple of tests using kcat (librdkafka) and sarama clients to produce and consume messages to test Kroxylicious is independent on the client used.
A refactor of the current test clients has been done to remove the yaml templates and start using job builders.

Additional Context
All clients but kcat producer are developed using the job builder of fabric8 library. Kcat producer needs to be feed with a message to be sent and I have not found another way to do it. Any other suggestion is welcome.
Checklist

[X] Write tests
[X] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[x] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[x] Update documentation
[x] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

This is good step forward, thank you for taking the initiative.

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:heavy_check_mark: Test Summary :heavy_check_mark:
BUILD NUMBER: 50
KAFKA VERSION: 3.7.0
TOTAL: 17
PASS: 16
FAIL: 0
SKIP: 1

I think the direction is much better. I left a couple of comments.

The idea is having a environmental variable KAFKA_CLIENT that could be modified in the pipeline to run the tests as many times as required using a different kafka client.

An environment variable would work, but that ties you to controlling the execution from outside Maven.  Maybe injecting the test client into the test would be better, making use of parameterized or template tests.   What do you think?

I think the direction is much better. I left a couple of comments.

The idea is having a environmental variable KAFKA_CLIENT that could be modified in the pipeline to run the tests as many times as required using a different kafka client.

An environment variable would work, but that ties you to controlling the execution from outside Maven. Maybe injecting the test client into the test would be better, making use of parameterized or template tests. What do you think?

I intentionally wanted to control the execution from outside Maven because we want to separate the level of testing for PRs, release or merge pipelines, so I'd prefer to control that from the CI rather than inside the test.
From my POV injecting the test client in a template test will run every time all tests for all test clients and I think it shouldn't be necessary for PRs as we have already created the test suite to smoke test the different clients.

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:heavy_check_mark: Test Summary :heavy_check_mark:
BUILD NUMBER: 51
KAFKA VERSION: 3.7.0
TOTAL: 17
PASS: 16
FAIL: 0
SKIP: 1

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:x: Test Summary :x:
BUILD NUMBER: 52
KAFKA VERSION: 3.7.0
TOTAL: 5
PASS: 0
FAIL: 4
SKIP: 1
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

io.kroxylicious.systemtests.KroxyliciousST
io.kroxylicious.systemtests.MetricsST
io.kroxylicious.systemtests.NonJVMClientsST
io.kroxylicious.systemtests.RecordEncryptionST

Re-run command:
@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:x: Test Summary :x:
BUILD NUMBER: 53
KAFKA VERSION: 3.7.0
TOTAL: 5
PASS: 0
FAIL: 4
SKIP: 1
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

io.kroxylicious.systemtests.KroxyliciousST
io.kroxylicious.systemtests.MetricsST
io.kroxylicious.systemtests.NonJVMClientsST
io.kroxylicious.systemtests.RecordEncryptionST

Re-run command:
@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:heavy_exclamation_mark: System tests Failed (no tests results are present) :heavy_exclamation_mark:

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:heavy_check_mark: Test Summary :heavy_check_mark:
BUILD NUMBER: 55
KAFKA VERSION: 3.7.0
TOTAL: 17
PASS: 16
FAIL: 0
SKIP: 1


Strange behavior in Ru holidays (Help needed)

For some reason package has not correctly works for Russian holidays
My Code:
import holidays
ru_holidays = holidays.country_holidays('RU')
print('2024-12-30' in ru_holidays)
#Output False

In file holidays/holidays/countries/russia.py (https://github.com/vacanza/holidays/blob/2aa829a906fb6e3cbf60636317eaa3a49e78698f/holidays/countries/russia.py#L317)
I can see that 2024-12-30 is in RussiaStaticHolidays
Can anybody help me to get correct output for that date?
Maybe there is some other method that I should be calling

Works for me.
What's your holidays version?

holidays==0.27.1 🤦
That it! I forgot that this project is wery old an uses python 3.7
@arkid15r thanhs for quick response


merging PR for step function

https://github.com/aws-samples/serverless-ops-review/pull/9

Merging internally.


Highlight hovered items when searching with "in:"

Summary
https://github.com/mattermost/mattermost-webapp/pull/4402 introduced a minor regression on the search popover when using the in: keyword, as the onMouseMove event was not registered in the SearchChannelSuggestion component. This PR just adds it back.
I have tried to add a test for this using Cypress, but I have no luck hovering over the item to check that the CSS class is added. Looks like this is a well-known pain point in Cypress; it even has a dedicated documentation page, but none of the workarounds worked for me. I'd love to hear other ideas for testing this.
Ticket Link
https://mattermost.atlassian.net/browse/MM-24296 (this PR only solves the first issue described in the ticket, I think we should discuss the CSS one separately)
Screenshots
Before:

After:

Thank you for trying the mouseover thing, it's weird that it does not work!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/81874

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/82617

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/105305


Fix MAC security header processing and validation.

Current coverage is 75.14% (diff: 100%)

Merging #936 into master will increase coverage by 1.88%

@@             master       #936   diff @@
==========================================
  Files           117        117
  Lines         17410      16381   -1029
  Methods        2437       2309    -128
  Messages          0          0
  Branches       2115       1990    -125
==========================================
- Hits          12754      12309    -445
+ Misses         3958       3431    -527
+ Partials        698        641     -57

Powered by Codecov. Last update 82e85a7...755a7e4


Overseerr URL not parsing correctly in 2.4.0

Describe the bug
When setting the overseerr URL, it is not parsed correctly and fails to connect.
To Reproduce
Steps to reproduce the behavior:

Install fresh
Configure overseerr URL, in my case overseerr-service.overseerr with port 80 and API key set.
Debug logs show [maintainerr] | 21/12/2024 18:51:32  [DEBUG] [OverseerrApi] GET request to undefined/api/v1/status failed: TypeError: Invalid URL

Note "undefined" instead of the set value.
Expected behavior
Maintainerr connects to overseerr
Device (please complete the following information):

OS: Ubuntu docker
Version 2.4.0

It's doing it for tautulli too
[maintainerr] | 21/12/2024 19:01:13  [DEBUG] [TautulliApi] GET request to null/api/v2?apikey=null&cmd=get_tautulli_info failed: TypeError: Invalid URL

Weird, it worked after the fifty thousandth time. I saved before testing (which shouldn't be necessary) and it worked now.


Add more tests

Add some tests. coverage: 65.36%
Work in progress... but some help needed (I've placed TODO and FIXME marks inside the test code)

I've noticed that all of the tests in this PR and in master define their views with the hyperx tagged templates.
I think it would be a good idea to duplicate those tests using raw h function calls also, to isolate any potential bugs that could be introduced by hyperx.  While messing around with SVGs the other day, I noticed some bugs from hyperx that would not occur if defining the v-dom nodes by hand.
I think this is especially important if JSX is being officially supported, since it all gets transpiled down to h calls.
Thoughts?

@SkaterDad Makes sense.
@danigb You'll want to rebase this after I merge #54.

@danigb Now that 0.0.12 has landed, we can make this the next priority.

I've just rebased with master. Some tests are skipped (see comments).

Seems you'll need to rebase again! Sorry! 🙏

No problem. Here you go.

Thanks @danigb  ive re-directed this PR to point to a tests branch, where i've cleaned up a few stylistic things.

Hi @jbucaran & @maraisr
I've just rebased again against tests branch. You had replaced var with const but that make the test failing. I've used let instead.

Can you please sync your branch with this new upstream branch, and resolve conflicts with a -x Theirs

What is -x Theirs? I'm afraid I didn't do it... 🤕

I've noticed that all of the tests in this PR and in master define their views with the hyperx tagged templates.

I think it would be a good idea to duplicate those tests using raw h function calls also, to isolate any potential bugs that could be introduced by hyperx. While messing around with SVGs the other day, I noticed some bugs from hyperx that would not occur if defining the v-dom nodes by hand.

I think this is especially important if JSX is being officially supported, since it all gets transpiled down to h calls.

I thought about it, and I think using we need to test for both.
The html function we use to create virtual nodes with HyperApp, is not hyperx. I was confused about this too at some point, so forgive me if you already understand this.
Let me explain the difference between html and Hyperx, so that we can be on the same page.
Hyperx is a template tagged literal function factory.
Hyperx is not a tagged literal function, but rather returns one, let's call it hx.
Hyperx also accepts a function h and other options. This function h we hand to Hyperx will be invoked via hx as the Hyperx tokenizer parses the HTML.
const hx = hyperx(h)
hx`<h1>Hi</h1>` // h( h1, {}, [ 'Hi.' ] )

In HyperApp, we call hx, html instead, for convenience. It also aids syntax highlighters in some editors, GitHub's markdown parser, etc.

I think we want our tests to check that the function get got from Hyperx, html is correctly calling h. HyperApp's implementation, due to its tiny nature has a tightly coupled parts, so I believe functional tests are also important to have.

Ok, I've added a couple of tests more.

I want to rework some of those tests where you're using let, the ones testing lifecycle events, etc. I think we can do even better.

Ok, go ahead. I'll stop here until you apply those changes. Maybe you can merge this PR and work in your own branch.

Because that's what the README says... We have to 1) change the README and specify what params are not optional or 2) change the code...

Oh, you're right, lol.
@danigb I was thinking about working on them after merging this PR.
You done adding tests? What's missing?

The coverage is right now at 70%. Run the tests and open hyperapp/coverage/lcov-report/app.js.html to see what is missing.
I had problems with the routing tests. They are skipped (take a look at them).


[TUTORIAL] flash attention d128 improvement

ptxas is able to automatically generate a call instruction to "call" the loop body so that instructions are better scheduled.

Hey, what's the strategy for handling the kernels in the tutorial and in triton.ops? Is it desired to sync these kinds of small/simple changes? For example, should each PR take care of syncing the two or are there just general synchronizations in certain intervals?
I totally agree for example that SEQUENCE_PARALLEL is the kind of complex change that blows up the tutorial function, but this PR seems super useful in both the tutorial and triton.ops.flash_attention.
@ptillet already said that triton.ops is not supposed to be production-ready, so expecting this kind of strict maintenance may be too much, but I just wanted to give the synchronization "issue" a bit of attention. Sorry, if I'm the 10,000th person to ask.

It's just an experimental change. We need to manually sync two kernels currently