promtool: Add Data Importers for the most requested formats.

As per discussions here, here and here we would love to clarify what format we need to enable on promtool to solve most of backfilling use cases Prometheus Ecosystem users have! :hugs:
Please vote via this Tweet: https://twitter.com/PrometheusIO/status/1249983109497585667
EDIT: The 7-days vote on Twitter finished with the following results:

Thanks all for voting!
It's worth to note that there was some "secret unknown" contributor who proposed JSON, but it did not get much attention. Maybe if it would part of the poll it would get bit higher. :upside_down_face:

Based on that we could form some kind of priority:
Priority

[ ] Remote-write
[ ] CSV file (potentially TSV)
[ ] Streaming API with Open Metrics / Prometheus TEXT format
[ ] Open Metrics file (Direction of https://github.com/prometheus/prometheus/pull/5887)
[ ] JSON

I think this is the way we should go. Added as a topic for DevSummit as well.
Additionally, I've created a design doc for backfilling items that might be missing: https://docs.google.com/document/d/15wKdeFntgUmEnV8kqQ_5iQEIhXnwU8HNm0NKlkR0xk4/edit# and what decisions we need to still make as a community and team e.g How many of those formats we should support when we should say stop and allow others to add prometheus-community projects rather?

Streaming APIs and remote write would be push, which we should never add to Prometheus. I don't think we should be inventing new formats via CSV, and instead focus on existing exposition formats.

We never said it should be part of Prometheus or not. We are just talking what to enable. We can totally add promtool that accepts remote write and create vertical blocks :shrug: (: So this one is just implementation detail. However for anything we need to know what would be the facing API / format.
Also I added this topic for our Prometheus Dev Summit :hugs:

CSV could be simple, but it seems complicated to import unstructured data. Metrics could arbitrary have labels, so I have no ideas for a simple CSV import.
For "remote-write" feature, (as you already know) Thanos cluster could be a good source of inspiration. They implement a receiver component (in beta status actually), which is understanding remote-write from another prometheus (https://github.com/thanos-io/thanos/pull/811). But I'm a little according with @brian-brazil Streaming API should be avoided to not encourage "push" and lot of new issues... "Push" should be limited to promtool cli.
OpenMetrics is the native format of prometheus (modulo timestamp formats...). It is not optimised for huge volumes and could be very heavy but it's a good starting point.
Other "compacted" format should be very appreciables to ingest massively old metrics. Anyone has ideas ?

We can totally add promtool command that accepts remote write or streaming OpenMetrics and creates vertical blocks

As I've stated in other discussions promtool should only ever be a CLI tool, not a daemon.

It is not optimised for huge volumes and could be very heavy

I'm not sure where you're getting that idea, a Prometheus server can already ingest millions of samples per second in the text formats and it's not the parser that's the bottleneck.

It is not optimised for huge volumes and could be very heavy
I'm not sure where you're getting that idea, a Prometheus server can already ingest millions of samples per second in the text formats and it's not the parser that's the bottleneck.

I don't speak about capacity to ingest, data but about import data manipulation. In my tests, one OpenMetrics file must be sorted by timestamps and weight 20Go for 137 021 241 samples. It's not easy to build this uniq text file, sort it, manipulate it. I have no better ideas for now, but it's a perfectible point. For example a compacted format gziped with a set of sorted files instead of a huge uniq text file.

OpenMetrics file must be sorted by timestamps

That's not quite the case, metrics must be grouped and within that for duplicate childs they must be sorted by time - however sorting on time is required for everything as the tsdb requires data to be ingested in-order.

Updated the description of this issue with following:
The 7-days vote on Twitter finished with the following results:

Thanks all for voting!
It's worth to note that there was some "secret unknown" contributor who proposed JSON, but it did not get much attention. Maybe if it would part of the poll it would get bit higher. :upside_down_face:

Based on that we could form some kind of priority:
Priority

[ ] Remote-write
[ ] CSV file (potentially TSV)
[ ] Streaming API with Open Metrics / Prometheus TEXT format
[ ] Open Metrics file (Direction of https://github.com/prometheus/prometheus/pull/5887)
[ ] JSON

I think this is the way we should go. Added as a topic for DevSummit.
As remote write will be hard to add, starting with CSV would make sense. This will be quite easy in context of https://github.com/prometheus/prometheus/pull/5887 to just switch format, or add CSV on top of open metrics which is already (done?). I leave that decision to @krasi-georgiev and @dipack95
I happy to attack remote write potential backfilling via some remote tool, in my free time will work adapting my design doc for that. Anyone is welcome to take it from me anytime as well :hugs:

As remote write will be hard to add,

That would be push and it's unclear to me how you'd go from e.g. an existing Graphite setup to this - you'd have to basically write Go code to speak remote write at which point you may aswell produce tsdb blocks more directly. The Thanos receiver also already does this.

Streaming API with Open Metrics

There is no such thing, OpenMetrics is not streaming.

just switch format, or add CSV on top of open metrics which is already

I'd rather not end up in a position where we support N different formats.

JSON

I think the point here is more that there should be an easy way to backfill recording rules, how that's actually done would hopefully be more of an implementation detail.

That would be push and it's unclear to me how you'd go from e.g. an existing Graphite setup to this - you'd have to basically write Go code to speak remote write at which point you may aswell produce tsdb blocks more directly. The Thanos receiver also already does this.

Yea, the idea would be essentially small CLI Thanos Receive with some snapshot technique on exit which will put block in Prometheus dir / Thanos object storage.

There is no such thing, OpenMetrics is not streaming.

Sure, the same with just "OpenMetrics" - it does not exist in the form of old "pages" gathered up.

I'd rather not end up in a position where we support N different formats.

Cool, this means you suggest we should have CSV?

I think the point here is more that there should be an easy way to backfill recording rules, how that's actually done would hopefully be more of an implementation detail.

For this, I planned to have totally separate component, which actually already exists: https://github.com/yeya24/backfiller We should start another ticket / discussion on how to embed it and if we want to.
I would see this as promethues-community project  :hugs: any thoughts @yeya24 ?

Yea, the idea would be essentially small CLI Thanos Receive with some snapshot technique on exit which will put block in Prometheus dir / Thanos object storage.

My question is, is this actually a useful way to backfill? I don't see why you'd need to hit the network in order to write a file to disk. If you can write Go to import the remote write encoder and speak http, you can write Go to import the tsdb appender - which is already possible today.
I've also gone over the original issue, and no one ever requested such an architecture as a way to do backfill - nor do I recall it coming up prior to this poll. The mentions are all about files. This makes me question how much weight should be put on the poll.

For [backfilling recording rules], I planned to have totally separate component,

I've always felt that this should be part of promtool, possibly with a little bit of scripting around it depending on how the implementation works out.

Cool, this means you suggest we should have CSV?

That's a possibility, but I'd also prefer that we don't proliferate formats. What's the actual workflow we're aiming for here for say the use case of migrating an old Graphite database?
Keep in mind that "CSV" is not one format but a family of variously well defined formats, whereas we have formats like the text exposition format which are fully defined including things like escaping.

For this, I planned to have totally separate component, which actually already exists: https://github.com/yeya24/backfiller We should start another ticket / discussion on how to embed it and if we want to.
I would see this as promethues-community project 🤗 any thoughts @yeya24 ?

Thank you for mentioning me here. However, I have some concerns.
The recording rules backfilling is one of the gsoc projects this year. Does any student work on this project now?
I agree with Brian that this feature should be part of promtool. Since #5887 is still WIP, and my project uses part of that PR's code, I think it is better to get #5887 merged first. Then it is quite easy to add recording rules backfilling to promtool.  WDYT @bwplotka ?
But anyway, that project is just a toy/demo, it lacks tests. And it might not be correct since I didn't get any feedback about it. It would be very appreciated if anyone could help review it

Regarding #5887, like I've said earlier, adding a CSV parser is something that can be done independent of the actual logic, and I suggest we merge the PR first, before we add support for alternative formats to import data.

Hi all, I needed to implement a back-filling job to import data from different sources (parquet files and mysql databases). I released it as a Golang library that can be easily used by providing (1) model structs with specific tags to convert them into TSDB and (2) a Go routing to send slices of models instances to a channel in order to be processed by the job. Here a link, if anyone is interested: https://github.com/aleskandro/go-prometheus-backfiller/tree/master

@aleskandro looks great, I believe I have a use case for your library :metal:

Hello from the bug scrub!
We added backfilling options in the past:

From OpenMetrics file https://prometheus.io/docs/prometheus/latest/storage/#backfilling-from-openmetrics-format
From recording rules https://prometheus.io/docs/prometheus/latest/storage/#backfilling-for-recording-rules

This means we delivered some data importers, but not the remote write.
Doing this via remote write is controversial as it's streaming vs here we talk about bulk import. I would say let's close this issue as it's satisfies a lot of import cases. If anyone want to have a full backfilling/bulk filling capable remote write APIs we can create another issue, but we need to talk about similar capability for client(senders) too, which is not trivial (:
There is indeed a 3rd party exporter that allows you to code in your format (?) https://github.com/aleskandro/go-prometheus-backfiller/tree/master
Thanks everyone!


improved batch.bat

removed echo unnecessary "@"
made script 1 line for simplicity

We shouldn't overcomplicate the code.


Add Haesol middle school

NX Mail<EMAIL_ADDRESS>School Official site: http://www.haesol.ms.kr
Street address: 60, Haesol-ro, Paju-si, Gyunggi-do, Republic of Korea.
and this case is similar with #12749.

@asdfoiwjef lib/domains/kr/go/goe/haesolm: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

I changed the name of file.

@asdfoiwjef Thank you for the correction and your patience while waiting for a review and processing your request. Pull request merged.


Chroma: implement Spring Boot starter

Implement Spring Boot starter for langchain4j-chroma in https://github.com/langchain4j/langchain4j-spring repo

I would like to work on this

can anyone please help me with the details of how to work on this issue??

@rustyBot31 great, thank you in advance!
Please take a look at existing Milvus and Redis SB starters. We need similar, but for langchain4j-chroma module.

@rustyBot31 I recently worked with Chroma and just completed the Spring Boot Starter for Chroma to address this issue. Please feel free to make any adjustments!
@langchain4j I’ve gone through the contribution guidelines, but please let me know if I missed anything while submitting the PR.


Fixed some random gcc's -Wreorder warnings

Continue to work fixing #1150

Fantastic, thanks for this. Looks good, will give it a quick test then we should be fine.


Offset when determining the size and alignment of bitmap fonts (valign == center)

Godot 2.1
I started using Godot 2.1 and quickly noticed that the interface of the project looks a bit wrong. Upon closer inspection, it turned out it was fonts:

I can confirm that when using the default font too:

This should be fixed before 2.1, as it's a regression(*) and might mess up the GUIs of 2.0 users.
(*) How it looks like in 2.0:

Is this still valid in the current master branch?

bitmap fonts are no longer supported for importing, so i guess not

just closing, then


Use connector on Power BI Cloud with Direct Query

Hi,
We have the connector working on Desktop version, but when we deploy it to Cloud/Service version it is throughing the following error:

We have a Power BI gateway deployed and the connector is configured. Also we have enabled the custom connectors feature on the gateway as indicated on this Microsoft website.
Have anyone experienced this same situation? We need to query the information via Direct Query because we have some real-time reporting use cases.

Same issue.

Hi. We're in touch with Microsoft to ensure the connector works on the PowerBI Cloud version. We'll keep you posted on the progress.

Hi. We're in touch with Microsoft to ensure the connector works on the PowerBI Cloud version. We'll keep you posted on the progress.

Thank you, great news!

Fantastic news, @mshustov! We're also in the position ready to deploy the PBI report based on CH data to PBI Cloud. Fingers crossed and thank you!

Hi everyone,
I've identified and fixed the root cause of the connector issue preventing it from working on the cloud service. The problem was related to our test connection handler, which the gateway invokes before establishing a connection to the source.
I've published a new release. Please take a moment to test it and let us know how it performs.
An important note: It's advisable to try creating a connection before uploading any reports. This ensures that you can successfully establish a ClickHouse connection via your gateway. You can find detailed instructions on how to do this here.
If you encounter any issues or have feedback, don't hesitate to reach out.
Best regards,
Bentsi

Hi everyone,
I've identified and fixed the root cause of the connector issue preventing it from working on the cloud service. The problem was related to our test connection handler, which the gateway invokes before establishing a connection to the source.
I've published a new release. Please take a moment to test it and let us know how it performs.
An important note: It's advisable to try creating a connection before uploading any reports. This ensures that you can successfully establish a ClickHouse connection via your gateway. You can find detailed instructions on how to do this here.
If you encounter any issues or have feedback, don't hesitate to reach out.
Best regards, Bentsi

IT IS WORKING!!! AMAZING!!
Thank you so much!

Guide: Setting Up ClickHouse ODBC Driver for Power BI
First of all, I would like to express my immense gratitude to @BentsiLeviav and @mshustov for their outstanding work.
I've decided to share a brief guide on how to set up ClickHouse ODBC driver for Power BI.
Installation

Download and install ClickHouse ODBC driver.

Visit the official repository and download the driver.
Follow the installation instructions provided in the repository.

Create the following directory for the custom connector: [Documents]\Power BI Desktop\Custom Connectors directory

Download the latest release of the Power BI Connector for ClickHouse from the Releases section and place it in the directory you just created.

Enable unsigned connectors loading:

Go to File -> Options and settings -> Options.
Navigate to Security -> Data Extensions.
Select "Allow any extension to load without warning or validation."

This setup will allow you to seamlessly connect Power BI to ClickHouse.
Guide: Use Connector on Power BI Cloud with Direct Query
Now, let's explore how to use the connector on Power BI Cloud with Direct Query.

Download the latest release of Power BI Gateway.

Visit the official Power BI Gateway download page.
Download the latest release of Power BI Gateway.

Enabling Custom Connectors with On-Premises Data Gateway
To use custom data connectors with an on-premises data gateway, follow these steps:

Access the on-premises data gateway app and select Connectors.

In Custom data connectors, under Load custom data connectors from folder, browse to and select a folder that the user running the gateway service can access. The default user is NT SERVICE\PBIEgwService.The gateway will automatically load the custom connector files in that folder, and they will appear in the list of data connectors.

For an on-premises data gateway, you need to create a data source for your custom connector. On the gateway settings page in the Power BI service, select the option to enable using custom connectors with this cluster.

When you enable this option, you will see your custom connectors as available data source connections that you can add to this gateway cluster.After you create a data source that uses your new custom connector, you can refresh Power BI reports by using the custom connector in the Power BI service.

@mrkhachaturov would you mind extending the official docs with the instructions for Cloud? https://github.com/ClickHouse/clickhouse-docs/blob/main/docs/en/integrations/data-visualization/powerbi-and-clickhouse.md

@mrkhachaturov would you mind extending the official docs with the instructions for Cloud? https://github.com/ClickHouse/clickhouse-docs/blob/main/docs/en/integrations/data-visualization/powerbi-and-clickhouse.md

@mshustov sure, if it is still actual!

Awesome work @BentsiLeviav @mshustov!
What does it mean for an option to have Clickhouse connector as an official connector in PowerBI library? Do you have any news from Microsoft when it will be possible?

Hi @matfiz,
This implies that you won't have to manually add the mez file to your Desktop & Gateway applications. Certified connectors are bundled out-of-the-box in Power BI Desktop and deployed to Power BI Service, Power BI dataflows, and Power BI datamarts (customers will still need to use a gateway because the use of the ODBC driver that must be installed).
Furthermore, from a security standpoint, there's no need to enable the "Allow any extension to load without warning or validation" option."


Arguments not used when in debug mode and press restart from the debug task bar

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

jslint
ajhyndman
1.2.1

vscode-npm
fknop
3.3.0

beautify
HookyQR
0.7.3

prettify-json
mohsen1
0.0.3

pegjs
none
0.0.1

pegjs-language
SirTobi
0.1.0

addDocComments
stevencl
0.0.8

Steps to Reproduce:

run program in debug mode (Launch Program mode)
goto launch.json and change arguments "args" to something else
press restart from debug mode
check arguments, still the same as before change.
press stop debug mode
run programm again in debug mode, arguments changed

sample launch.json configuration: [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}",
"cwd": "${workspaceRoot}",
"args" : [
"order.json.csv",
"order.eid"
]
}, .....
]

+1 on this one. Restart doesn't take into account any changes you've made in launch.json. This is possibly by design, but definitely different behavior than before 1.9.

Yes, this is a known issue.

Dup of https://github.com/Microsoft/vscode/issues/19366


Added blog for FastAPI & Supabase

Added blog for Supabase & FastAPI Integration.
Link to blog: https://blog.theinfosecguy.xyz/building-a-crud-api-with-fastapi-and-supabase-a-step-by-step-guide

Cool! Can you move it to the top of the list, please?

Cool! Can you move it to the top of the list, please?

@tiangolo It's done!

📝 Docs preview for commit 44d19c5a0065871416d8b56efb58a6625b80aab0 at: https://d202abb1.fastapitiangolo.pages.dev

Great, thanks @theinfosecguy! 🚀


Fix complex type checks in _correlate_or_convolve

Fixes #2916

Jenkins, test this please

Jenkins CI test (for commit 7229d8284b71d7af868aa9c0126e17b4135673ad, target branch master) succeeded!

LGTM


[scripts] set FED routereligible disable

Instead of setting routerupgradethreshold to 0, it's more correct for FED to turn off routereligible.

[ ] WIP: support routereligible on NCP (spinel-cli.py)

Will do it when have time.


No warning when string property value is null

Version
2.4.4
Reproduction link
https://jsfiddle.net/r15ocz2L/1/
Steps to reproduce

Run the jsfiddle

What is expected?
I'm not sure exactly, but I think either a console warning, or using the default value for the property, would make sense.
What is actually happening?
Vue silently renders nothing inside the component.

I can take a stab at fixing this if it is determined this behavior is indeed a bug.

This is because your prop doesn't have required: true. For optional props, null will bypass the type check.

This seems like confusing behavior. Why does null bypass the type check? And if it does, why isn't the default value used if the one provided by the binding is null?
Could we warn when this situation occurs?

To me, null is a value that has been purposefully assigned so overwriting it with a default would be unexpected.

So I guess my questions is, why does null bypass the type check?

If null specifies that "this type is not present" then why isn't the default value used? That seems contradictory.

Hmm, yeah so it needs to be more accurate:

null indicates the value is explicitly marked as not present and it should remain null.
undefined indicates the value is not present and a default value should be used if available.
required: true indicates neither null or undefined are allowed (unless a default is used)

I agree this could be confusing, just as the existence of null vs. undefined in the language itself. But the design was trying to stay close to what these values are designed represent in JS, and changing them would be breaking.

Would adding a warning in dev mode for this situation be acceptable? That wouldn't be breaking but would help people detect these edge scenarios.
There are three situations which seem unlikely to be desired:

A property with a default value and a type requirement, but with a binding value of null
A property with a default value but without require: true - why specify a default if the value isn't required, is there really a use case for letting people bypass the default value by binding null?
A property with a default value, require: true, a type requirement, and a binding value of null


Missing allow-unknown option in list command

The example readme mentions a --allow-unknown option, but the latest release (0.2.4)
doesn't have it. Even couldn't find on master branch.
The related commit:
https://github.com/stateful/runme/commit/59c2c9a83058eefaead628b898a492bc2ce16562#r88258426

btw I love this project, actually I was prototyping on a very similar thing :D

Hi @lalyos! Thank you for the kind words, we are glad you find it useful :) There is much more to come so stay tuned!
Regarding the flag, you're correct. I forgot to include the commit in the previous PR. It will be added very soon.

It was released in https://github.com/stateful/runme/releases/tag/v0.3.0.


Add XAIBase dependency

This would close #79 and be a major milestone towards a 1.0 release.

Closed by #154.


loss and acc don't change during each epoch

my code:
model = Sequential()
model.add(Convolution1D(nb_filter=16,filter_length=10, init='uniform',border_mode='valid',activation='relu',subsample_length=1,input_dim=input_dim,input_length=input_length))
model.add(MaxPooling1D(pool_length=2))
model.add(Convolution1D(nb_filter=32,filter_length=8, init='uniform',border_mode='valid',activation='relu',subsample_length=1))
model.add(MaxPooling1D(pool_length=2))
model.add(Flatten())
model.add(Dense(hidden_dims))
model.add(Dropout(0.25))
model.add(Activation('relu'))
model.add(Dense(1))
model.add(Activation('sigmoid'))
model.compile(loss='binary_crossentropy',optimizer=Adagrad(lr=1.0, rho=0.95, epsilon=1e-06),class_mode='binary')
model.fit(X_train, Y_train, batch_size=128, nb_epoch=100, verbose=1, callbacks=[],validation_split=0.0, validation_data=None, shuffle=True, show_accuracy=True, class_weight=None, sample_weight=None)

this is my training log:
Epoch 1/100
89595/89595 [==============================] - 9s - loss: 5.7178 - acc: 0.6446
Epoch 2/100
89595/89595 [==============================] - 8s - loss: 5.7257 - acc: 0.6448
Epoch 3/100
89595/89595 [==============================] - 8s - loss: 5.7257 - acc: 0.6448
Epoch 4/100
89595/89595 [==============================] - 8s - loss: 5.7257 - acc: 0.6448
Epoch 5/100
89595/89595 [==============================] - 8s - loss: 5.7257 - acc: 0.6448
Epoch 6/100
89595/89595 [==============================] - 8s - loss: 5.7257 - acc: 0.6448
it's on GPU: Using gpu device 0: GeForce GTX 970

Check you are not shuffling the training targets or inputs. Normally that happens when the labels do not correspond with the inputs.

I  thought each epoch is trained based on the previous one, isn't that so ?


Spring Boot update runtime details

Fixes #742 @claprun @rhoads-zach @metacosm Take a look let me know what you think about features table  and introducing spring concepts here and if additional resources or more introductory paragraph needed there.

@rhoads-zach @metacosm done with changes you requested. LGTM

LGTM.

Otherwise, LGTM

@rhoads-zach @metacosm done LGTM

LGTM, merging.

merged: c9b0c632234af8c184d81149381ec1cc2e32d04e


Remove the image from the cache when the network request fails

Description
Remove the image from the cache when the network request fails
Related Issues
Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
[ ] All existing and new tests are passing.
[x ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ x] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes).
[ ] No, this is not a breaking change.

Hi @chundong, we'll need a unit test before we can accept this change. To so, you could use the HttpOverrides class to ensure the http client created will throw an error when a request is made. Then confirm that the cache is empty.

@chundong Do you still plan to get back to this PR and address the comment above?

@chundong Do you still plan to get back to this PR and address the comment above?

Sorry，I am working overtime recently and can't write test cases.

OK, I am going to close this one for now until somebody on the team finds time to add tests. Feel free to re-open this with tests if you find the time.


[Draft] Intial commit to remove CompletableFuture

Description
Describe what this change achieves.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@zane-neo mind taking a look.

Integ tests are failing in JDK 21, probably need all our CI updated to force 21.0.1


mkdocs server throws an error

INFO    -  Building documentation...
WARNING -  The theme 'material' does not appear to have a configuration file. Please upgrade to a current version of the theme.
WARNING -  Config value: 'theme_dir'. Warning: The configuration option {0} has been deprecated and will be removed in a future release of MkDocs.
WARNING -  Config value: 'site_favicon'. Warning: Unrecognised configuration name: site_favicon
INFO    -  Cleaning site directory
ERROR   -  Error building page index.md
main.html
Upgrading the them does not fix the error
and looks like its related to:
https://github.com/squidfunk/mkdocs-material/issues/519

D'oh, I "fixed" this by pinning to version 0.15.3 in our CI toolchain (https://github.com/PagerDuty/incident-response-docs/blob/master/circle.yml#L8), but didn't update our README accordingly. Will do that now!

Latest update to the README should get this working for you again. Sorry about that! Thanks for reporting.


Use System.IO.Compression for decompressing PFS files

DotNetZip is considered vulnerable and unmaintained according to the linters in Visual Studio.
This PR updates the decompression function to use the facilities already provided by the language library.
For testing, I have successfully built and executed LanternExtractor, and as part of my own project (which I copied this function to) it works and loads assets.
It requires .NET version 6. I am not sure how to set this to the minimum.

Web page showing the vulnerability and unmaintained status: https://www.nuget.org/packages/DotNetZip/1.16.0


Reduce/remove CBOR decoding to reduce app size

It's a Byron only feature, and could be cut a lot or removed entirely, if appropriate.

resolved via app split in #208


feat: add credential_type plugin config

Feat:

added creential_type plugin config key
supported credential type: default, environment, managedidentity, azurecli

Test:

unit test cases
e2e test cases
tested environment credential, workload identity credential, managed identity in pod of AKS
tested Azure cli credential locally

Resolves #146 #154
Signed-off-by: Junjie Gao<EMAIL_ADDRESS>

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.65%. Comparing base (1d44efe) to head (f70be2c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
+ Coverage   91.22%   91.65%   +0.43%
==========================================
  Files          16       17       +1
  Lines         581      599      +18
  Branches       72       74       +2
==========================================
+ Hits          530      549      +19
+ Misses         38       37       -1
  Partials       13       13

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

So before this PR, i.e., before adding plugin config credential_type, how does a Notation user specify their credential_type?

So before this PR, i.e., before adding plugin config credential_type, how does a Notation user specify their credential_type?

through this flag: --plugin-config credential_type=xxxx

I'm a bit confused, added credential_type plugin config key means this key is added in this PR right? My question is what's the behavior BEFORE this PR?

I'm a bit confused, added credential_type plugin config key means this key is added in this PR right? My question is what's the behavior BEFORE this PR?

Before this PR, users could not set credential_type; it was chosen automatically by the library.
https://learn.microsoft.com/en-us/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet

LGTM. Is the plugin config credential_type documented anywhere?

Added documents.


Added CustomOneHotEncoder which can be consumed in a pipeline model

Looks good to me. Minor comments.  @roshan-nair Please have a look at scala code.

Have committed the changes based on feedback. Please review and pull. Thank you.

LGTM.
I'm assuming you've checked for correctness, just verifying for spark scala
guidelines.
https://github.com/databricks/scala-style-guide
On Wed, Jul 27, 2016 at 9:49 AM, Akshay Utkarsh Sharma <
<EMAIL_ADDRESS>wrote:

Looks good to me. Minor comments. @roshan-nair
https://github.com/roshan-nair Please have a look at scala code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flipkart-incubator/spark-transformers/pull/5#issuecomment-235480153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ0d0frgCMjverBmyUEVHv-oHNq3QFm9ks5qZtxBgaJpZM4JQicE
.


New icon for locations

The addition of a location icon into the design system. This is to be used firstly on the events page to mark various locations that the events may be held at.
https://www.nice.org.uk/news/events

@Tomlennon21 are you thinking a standard pin drop type icon? @wa-rren-dev this would be easy enough to add into nice-icons?

@Tomlennon21 are you thinking a standard pin drop type icon? @wa-rren-dev this would be easy enough to add into nice-icons?

Hi, yes just a standard location icon please

Hi, yes just a standard location icon please

Yep, will make a card for it :)

Yep, will make a card for it :)

Changes to icons does me think that #81 would be useful to do sooner rather than later

Changes to icons does me think that #81 would be useful to do sooner rather than later

Closed by #164

@Tomlennon21 this will be released this week


python3Packages.minikerberos: 0.2.18 -> 0.2.20

Description of changes

Things done
Update to latest upstream release 0.2.20

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/)
22.05 Release Notes (or backporting 21.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 166045 run on x86_64-linux 1

14 packages built:

python310Packages.aiosmb
python310Packages.lsassy
python310Packages.minikerberos
python310Packages.msldap
python310Packages.pypykatz
python310Packages.unicrypto
python310Packages.winsspi
python39Packages.aiosmb
python39Packages.lsassy
python39Packages.minikerberos
python39Packages.msldap
python39Packages.pypykatz
python39Packages.unicrypto
python39Packages.winsspi


Update use_incense.py

Short Description:
Fix for #5119
Fixes/Resolves/Closes (please use correct syntax):

#5119
Ignored self.use_incense fixed

#5119

Ops, sorry for additional branch ;))

👍


Update to use new Fabric v1 struct changes

Ability to read data using Fabric v1.0

thanks, i'll have to hold off on accepting this to coordinate this with the bluemix service.  then again maybe I should just make a marbles v4 with this change...

@dshuffma-ibm Cool. Would you be open to having this open so that I can send in all the changes - code, nodejs and documentation - related to running this on non-bluemix platform?

yep, that will be fine @rmohta

Can we expand this to include the Node SDK changes to enable the demo to work with 1.0.0-alpha2?


Panic on Num.div and Num.floor

I'm unable to do Num.div and Num.floor in the repl.
» Num.div 10.0 2.0
thread 'main' panicked at 'not yet implemented: NumDiv: layout, Builtin(Decimal)', crates/compiler/gen_dev/src/generic64/mod.rs:1612:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

» Num.floor 3.14
thread 'main' panicked at 'not yet implemented: low level, NumFloor', crates/compiler/gen_dev/src/lib.rs:1924:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Division seems to work in roc dev but I'm seeing a panic on Num.floor in roc dev.
thread 'main' panicked at 'internal error: entered unreachable code: Unrecognized dec unary operation: NumFloor', crates/compiler/gen_llvm/src/llvm/lowlevel.rs:2318:13

This is on the latest nightly build on Apple Silicone.
roc nightly pre-release, built from commit 9889984dd48 on Wed Dec  6 09:18:32 UTC 2023

Am I doing something wrong?

I don't think you are doing anything wrong, those functions just arent implemented yet in the dev backend for arm64. It shouldn't be difficult to add if you are interested in diving into that part of the compiler.
For context the arm64 dev backend is quite new, previously the REPL was using LLVM but the plan is to move everything across to the dev backends for improved speed while developing.

There are a few things that we may have changed too early:

We change the repl to the dev backend, but it is still missing features
We changed the default Fractional type to Dec, but it doesn't support everything F32 does.

Frac is a wrapper type that can be a Dec, a F32, or a F64. It defaults to Dec now.

@bhansconnect thanks for clarifying. It makes more sense now.
Is there a way to configure which backend the repl uses? Ideally the repl would match roc dev so I can use it to debug issues.

I don't think that is supported currently. @folkertdev is there any way to still use the llvm backend with the repl?

https://github.com/roc-lang/roc/pull/6339 fixes the Num.div. Num.floor is still unimplemented for decimals though


Fix slackbutton_slashcommand example

The example seems to need 'bot' in its scopes (since it uses replyX?). See https://github.com/howdyai/botkit/issues/590.
Based on another example I think (?) you need to use replyXDelayed after the first replyX. Without this change the second reply does not work and prints Can't set headers after they are sent. Error.

This was fixed by another pull request, I believe!


Unexpected / new "error: value is a path while a set was expected" when importing "nixos-hardware.nixosModules.asus-zephyrus-ga402x.amdgpu" or "nixos-hardware.nixosModules.asus-zephyrus-ga402x.nvidia"

I think PR #1046 has broken my importing of nixos-hardware.nixosModules.asus-zephyrus-ga402x.amdgpu, which was working beforehand, but now gives the error:
error: value is a path while a set was expected

This really confused me until (after some digging) I realised that nixos-hardware.nixosModules.asus-zephyrus-ga402x now pointed to a separate source path, rather than a direct import of the default.nix at //asus/zephyrus/ga402x/default.nix, which does export a amdgpu and nvidia attr.
This made it easy to switch between AMD only and NVidia boot specialisations, because disabling NVidia completely saved some battery — let alone for those times where the AMD GPU driver or the NVidia driver have a regression.
NOTE:
Also breaks lenovo-yoga-7-14ARH7.amdgpu and lenovo-yoga-7-14ARH7.nvidia

// @NiklasGollenstede

I suspect it's not useful, but the full error message (for me) looks like:
error:
       … while calling the 'seq' builtin

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:322:18:

          321|         options = checked options;
          322|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          323|         _module = checked (config._module);

       … while evaluating a branch condition

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:261:9:

          260|       checkUnmatched =
          261|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |         ^
          262|           let

       … in the left operand of the AND (&&) operator

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:261:72:

          260|       checkUnmatched =
          261|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |                                                                        ^
          262|           let

       … in the left operand of the AND (&&) operator

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:261:33:

          260|       checkUnmatched =
          261|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |                                 ^
          262|           let

       … while evaluating a branch condition

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:254:12:

          253|
          254|         in if declaredConfig._module.freeformType == null then declaredConfig
             |            ^
          255|           # Because all definitions that had an associated option ended in

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:242:28:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                            ^
          243|

       … while calling 'mapAttrsRecursiveCond'

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/attrsets.nix:1201:5:

         1200|     f:
         1201|     set:
             |     ^
         1202|     let

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:234:33:

          233|           ({ inherit lib options config specialArgs; } // specialArgs);
          234|         in mergeModules prefix (reverseList collected);
             |                                 ^
          235|

       … while calling 'reverseList'

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/lists.nix:1116:17:

         1115|   */
         1116|   reverseList = xs:
             |                 ^
         1117|     let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:229:25:

          228|       merged =
          229|         let collected = collectModules
             |                         ^
          230|           class

       … while calling anonymous lambda

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:445:37:

          444|
          445|     in modulesPath: initialModules: args:
             |                                     ^
          446|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:446:7:

          445|     in modulesPath: initialModules: args:
          446|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
             |       ^
          447|

       … while calling 'filterModules'

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:413:36:

          412|       # modules recursively. It returns the final list of unique-by-key modules
          413|       filterModules = modulesPath: { disabled, modules }:
             |                                    ^
          414|         let

       … while calling anonymous lambda

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:439:31:

          438|           disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
          439|           keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
             |                               ^
          440|         in map (attrs: attrs.module) (builtins.genericClosure {

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:400:22:

          399|           let
          400|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                      ^
          401|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling anonymous lambda

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:359:11:

          358|         then
          359|           m:
             |           ^
          360|             if m._class != null -> m._class == class

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:400:35:

          399|           let
          400|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                                   ^
          401|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling 'loadModule'

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:336:53:

          335|       # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
          336|       loadModule = args: fallbackFile: fallbackKey: m:
             |                                                     ^
          337|         if isFunction m then

       … from call site

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/modules.nix:337:12:

          336|       loadModule = args: fallbackFile: fallbackKey: m:
          337|         if isFunction m then
             |            ^
          338|           unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgs fallbackKey m args)

       … while calling 'isFunction'

         at /nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source/lib/trivial.nix:929:16:

          928|   */
          929|   isFunction = f: builtins.isFunction f ||
             |                ^
          930|     (f ? __functor && isFunction (f.__functor f));

       error: value is a path while a set was expected

Just ran into this last night when defining nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7.amdgpu in my module list for my laptop's nixosSystem.  Since I had other NixOS systems building without any errors and the inclusion of this hardware flake was pretty much the only difference for that system, I chanced upon the correct solution by commenting out that line in my module list and then found this bug report after the rebuild succeeded that time.
The error output certainly didn't help to narrow it down initially.  The initial error was after the first failure where the extra eval-cache option was necessary now to attempt a rebuild:
# nixos-rebuild switch --show-trace --flake .#
error: cached failure of attribute 'nixosConfigurations.ginaz.config'

# nixos-rebuild switch --option eval-cache false --show-trace --flake .#
error:
       … while calling the 'seq' builtin

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:334:18:

          333|         options = checked options;
          334|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          335|         _module = checked (config._module);

       … while evaluating a branch condition

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:273:9:

          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |         ^
          274|           let

       … in the left operand of the AND (&&) operator

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:273:72:

          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |                                                                        ^
          274|           let

       … in the left operand of the AND (&&) operator

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:273:33:

          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |                                 ^
          274|           let

       … while evaluating a branch condition

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:266:12:

          265|
          266|         in if declaredConfig._module.freeformType == null then declaredConfig
             |            ^
          267|           # Because all definitions that had an associated option ended in

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:254:28:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                            ^
          255|

       … while calling 'mapAttrsRecursiveCond'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/attrsets.nix:1201:5:

         1200|     f:
         1201|     set:
             |     ^
         1202|     let

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:246:33:

          245|           ({ inherit lib options config specialArgs; } // specialArgs);
          246|         in mergeModules prefix (reverseList collected);
             |                                 ^
          247|

       … while calling 'reverseList'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/lists.nix:1116:17:

         1115|   */
         1116|   reverseList = xs:
             |                 ^
         1117|     let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:241:25:

          240|       merged =
          241|         let collected = collectModules
             |                         ^
          242|           class

       … while calling anonymous lambda

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:457:37:

          456|
          457|     in modulesPath: initialModules: args:
             |                                     ^
          458|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:458:7:

          457|     in modulesPath: initialModules: args:
          458|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
             |       ^
          459|

       … while calling 'filterModules'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:425:36:

          424|       # modules recursively. It returns the final list of unique-by-key modules
          425|       filterModules = modulesPath: { disabled, modules }:
             |                                    ^
          426|         let

       … while calling anonymous lambda

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:451:31:

          450|           disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
          451|           keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
             |                               ^
          452|         in map (attrs: attrs.module) (genericClosure {

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:412:22:

          411|           let
          412|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                      ^
          413|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling anonymous lambda

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:371:11:

          370|         then
          371|           m:
             |           ^
          372|             if m._class != null -> m._class == class

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:412:35:

          411|           let
          412|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                                   ^
          413|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling 'loadModule'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:348:53:

          347|       # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
          348|       loadModule = args: fallbackFile: fallbackKey: m:
             |                                                     ^
          349|         if isFunction m then

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:349:12:

          348|       loadModule = args: fallbackFile: fallbackKey: m:
          349|         if isFunction m then
             |            ^
          350|           unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgs fallbackKey m args)

       … while calling 'isFunction'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/trivial.nix:989:16:

          988|   */
          989|   isFunction = f: builtins.isFunction f ||
             |                ^
          990|     (f ? __functor && isFunction (f.__functor f));

       error: value is a path while a set was expected

This is one of my few complaints with NixOS is that the error messages are next to useless sometimes in figuring out where the problem actually lies.  Although I'm open to suggestions if a better command line invocation would have somehow sussed this out as a problem in this particular flake.

Just ran into this last night when defining nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7.amdgpu in my module list for my laptop's nixosSystem. Since I had other NixOS systems building without any errors and the inclusion of this hardware flake was pretty much the only difference for that system, I chanced upon the correct solution by commenting out that line in my module list and then found this bug report after the rebuild succeeded that time.
The error output certainly didn't help to narrow it down initially. The initial error was after the first failure where the extra eval-cache option was necessary now to attempt a rebuild:
# nixos-rebuild switch --show-trace --flake .#
error: cached failure of attribute 'nixosConfigurations.ginaz.config'

# nixos-rebuild switch --option eval-cache false --show-trace --flake .#
error:
       … while calling the 'seq' builtin

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:334:18:

          333|         options = checked options;
          334|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          335|         _module = checked (config._module);

       … while evaluating a branch condition

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:273:9:

          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |         ^
          274|           let

       … in the left operand of the AND (&&) operator

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:273:72:

          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |                                                                        ^
          274|           let

       … in the left operand of the AND (&&) operator

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:273:33:

          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |                                 ^
          274|           let

       … while evaluating a branch condition

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:266:12:

          265|
          266|         in if declaredConfig._module.freeformType == null then declaredConfig
             |            ^
          267|           # Because all definitions that had an associated option ended in

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:254:28:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                            ^
          255|

       … while calling 'mapAttrsRecursiveCond'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/attrsets.nix:1201:5:

         1200|     f:
         1201|     set:
             |     ^
         1202|     let

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:246:33:

          245|           ({ inherit lib options config specialArgs; } // specialArgs);
          246|         in mergeModules prefix (reverseList collected);
             |                                 ^
          247|

       … while calling 'reverseList'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/lists.nix:1116:17:

         1115|   */
         1116|   reverseList = xs:
             |                 ^
         1117|     let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:241:25:

          240|       merged =
          241|         let collected = collectModules
             |                         ^
          242|           class

       … while calling anonymous lambda

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:457:37:

          456|
          457|     in modulesPath: initialModules: args:
             |                                     ^
          458|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:458:7:

          457|     in modulesPath: initialModules: args:
          458|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
             |       ^
          459|

       … while calling 'filterModules'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:425:36:

          424|       # modules recursively. It returns the final list of unique-by-key modules
          425|       filterModules = modulesPath: { disabled, modules }:
             |                                    ^
          426|         let

       … while calling anonymous lambda

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:451:31:

          450|           disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
          451|           keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
             |                               ^
          452|         in map (attrs: attrs.module) (genericClosure {

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:412:22:

          411|           let
          412|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                      ^
          413|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling anonymous lambda

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:371:11:

          370|         then
          371|           m:
             |           ^
          372|             if m._class != null -> m._class == class

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:412:35:

          411|           let
          412|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                                   ^
          413|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling 'loadModule'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:348:53:

          347|       # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
          348|       loadModule = args: fallbackFile: fallbackKey: m:
             |                                                     ^
          349|         if isFunction m then

       … from call site

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/modules.nix:349:12:

          348|       loadModule = args: fallbackFile: fallbackKey: m:
          349|         if isFunction m then
             |            ^
          350|           unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgs fallbackKey m args)

       … while calling 'isFunction'

         at /nix/store/afawjm6nv8m5aagkcqxlxgrr5qpyh6cm-source/lib/trivial.nix:989:16:

          988|   */
          989|   isFunction = f: builtins.isFunction f ||
             |                ^
          990|     (f ? __functor && isFunction (f.__functor f));

       error: value is a path while a set was expected

This is one of my few complaints with NixOS is that the error messages are next to useless sometimes in figuring out where the problem actually lies. Although I'm open to suggestions if a better command line incantation would have somehow sussed this out as a problem in this particular flake.

TL;DR:
I think the only places where the (incorrect) attr-set style was used was in asus-zephyrus-ga402x and lenovo-yoga-7-14ARH7 — both of which were my fault, I'm afraid.

IMHO, in this particular situation, it's more that the inner complexities of modules can make it harder to diagnose higher-level errors like this.
As I understand it, part of the reason for @NiklasGollenstede's change was to try to make it easier to diagnose module errors;  unfortunately this particular one is much less obvious because of when it fails.
I only realised it because of a bit of an epiphany!


Deposit fund to new Reporter Accounts

Despite we are going to use Delegated Payments for reporter accounts for Price Feed, I think it would be better to put emergency fund, we it could be used in case of delegator is not working well.


Decode error in Sublime text 3

It doesn't work with my Sublime text 3.
Error infomation from console:
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 549, in run_
return self.run(edit)
File "C:\Users\myusername\AppData\Roaming\Sublime Text 3\Packages\CSScomb JS\CSScomb.py", line 28, in run
combed = self.comb(originalBuffer, syntax, config_path)
File "C:\Users\myusername\AppData\Roaming\Sublime Text 3\Packages\CSScomb JS\CSScomb.py", line 52, in comb
sublime.error_message('CSScomb error:\n%s' % stderr.decode('utf-8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 7: invalid start byte

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

doenst work too

Today I have the same issue :(
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 818, in run_
return self.run(edit)
File "C:\Users\Yuriy Gerton.MICROBILT\AppData\Roaming\Sublime Text 3\Packages\CSScomb\CSScomb.py", line 27, in run
combed = self.comb(originalBuffer, syntax, config)
File "C:\Users\Yuriy Gerton.MICROBILT\AppData\Roaming\Sublime Text 3\Packages\CSScomb\CSScomb.py", line 53, in comb
sublime.error_message('CSScomb error:\n%s' % stderr.decode('utf-8'))

Please report the issue to sublime-csscomb if it is still a problem.

Not using sublime text for a long time... Thanks for your help


Encoding uint pointers

do you really have a use case for encoding options with integers where zero integer can't be used instead?

Yes, for example, a vrf nonce index, for which a zero value is also a valid value.


Add force prop for snapToItem()

Platforms affected
React Native 0.63.0
iOS 14
react-native-snap-carousel 4.0.0-beta.6
What does this PR do?
If I display an alert when it's still transitioning. The alert will cause the transition to stop in the middle.
So my workaround is to call snapToItem manually after the alert is dismissed to make the transition to complete.
I did not investigate why the transition stopped and why force exist. My workaround is just a quick dirty fix.
The PR added a new force prop for snapToItem() to make my workaround work.
What testing has been done on this change?

I tested it with my workaround.
force have a default false value so everything else works fine.

Tested features checklist

[ ] Default setup (example)
[ ] Carousels with and without momentum enabled (prop enableMomentum)
[ ] Vertical carousels (prop vertical)
[ ] Slide alignment (prop activeSlideAlignment)
[ ] Autoplay (prop autoplay)
[ ] Loop mode (prop loop)
[ ] ScrollView/FlatList carousels (prop useScrollView)
[ ] Callback methods
[ ] ParallaxImage component
[ ] Pagination component
[ ] Layouts and custom interpolations

Probably it is better to use forceUpdate for you case. Because it your code that causes  breaking component and you should not modify inner component to achieve your outer goal.


Make --index-url a global option.

--index-url is going to be used across multiple commands and should probably be a global option rather than a sub-parser option. We should also look at what other options are global as well.

After testing this today, global options become positional if subparsers are present.
Ex:
pip2 install test_package -i http://simple.crate.io    # Does not work
pip2 -i http://simple.crate.io install test_package    # Works as expected
I feel like global options should be able to be passed in anywhere so maybe we should investigate this a little more.

Does putting the global options in a "parent" parser like this help?
http://stackoverflow.com/questions/7498595/python-argparse-add-argument-to-multiple-subparsers

Looks like that is exactly what we need to do. Thanks!


Added Create Azure Blockchain Workbench Users.ps1

This script allows users to quickly create ABW users for testing the sample applications.  It's not intended for creating production AD users.
Purpose

This is an optional PowerShell script to automate user creation for the sample apps.

Does this introduce a breaking change?

[ ] Yes
[ X] No

Pull Request Type
What kind of change does this Pull Request introduce?
Adds a new PowerShell script that eases adding users for the sample applications

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[X ] Other... Please describe:  PowerShell script to automate ABW user creation for sample apps

How to Test

Get the code

Open script in PowerShell ISE and test it.  You might need to RunAs Admin

Test the code

Open script in PowerShell ISE and test it.  You might need to RunAs Admin

What to Check

Verify that the following are valid

It created your named user, with the provided password, and it doesn't require you to login with a temp password

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

Hi there @pjjohnson,
Sorry for taking this long, honestly I'm not sure this script belongs here.


Remove deprecated methods and correct hardware connect check

Removed the dependency on the shared preference model that was deprecated by Android a long time ago. Replaced it with a small class that will bind to the router service and request the connection status. Classes interested in finding the connection status out can create an instance of this class and pass in a callback that will notify them of the connection status once the router service responds.
This also takes care of #307 by eliminating the transport broker from using the shared preferences but instead the connection information is just passed to it from the router service during the client's registration.

Testing so far looks good, just a couple of minor things:
Is there a way for us to avoid the handler leak here:
https://github.com/smartdevicelink/sdl_android/blob/6b0cfb157e6b2b5e7d1415ec4e40e52b99f84d84/sdl_android_lib/src/com/smartdevicelink/transport/SdlRouterStatusProvider.java#L103
Should we rename isTransportConnected since it now returns a void with a call back passed in instead?
https://github.com/smartdevicelink/sdl_android/blob/6b0cfb157e6b2b5e7d1415ec4e40e52b99f84d84/sdl_android_lib/src/com/smartdevicelink/transport/SdlBroadcastReceiver.java#L205

Alright, renamed the method and fixed the handler leak issue. Both good suggestions.

:thumbsup:


Implement adjoints for atleast_*d

I signed it!

Awesome, thanks! Could you please add some tests as well? You can see the guide to adding new adjoints here. It would be nice to add the forward-mode derivatives as well, but that is not strictly necessary.

Done, it passes locally. Should I name inputs as x?
BTW, how do you implement d object?

Concerning forward derivatives, they are already implemented as far as I understand https://github.com/google/tangent/blob/master/tangent/tangents.py#L206-L218.

Oh, nice re: forward-mode derivatives. Also, please see my comments re: the specific form of the test -- we want to test vector-valued inputs.
d[] is a little code macro that tangent internally will search for, and replace with the correct name of the derivative of the variable name enclosed. This is usually mechanical: d[x] is replaced with bx in reverse mode and dx in forward mode. However, if you've already used the variable bx in your original code, we have to find a unique name. Tangent takes care of all of this internally in the replace function.

Thanks for tuning the tests! I think that addresses the requests Alex had, so I'll go ahead and pull the branch.


Heroku doesn't support Python2 out-of-the-box anymore

Do we need to update the ReadMe for this?

@InbarGazit no the Heroku deploy button works now but as a good practice, in requirements.txt, we should supply minimum versions for each dependency (as opposed to to strict exact versions).


compiler crash due to bad codegen in string.cr

@hugopl discovered a compiler crash when trying to update crystal-gobject for crystal 0.36
when cloning hugopl's fork at commit https://github.com/hugopl/crystal-gobject/commit/4158b46f993fdf118a137582d90f70b618c985e2 and running the scripts/ci.sh script, the compiler crashes with the following output:
$ ./script/ci.sh
Running crout/crout.cr
1
Hello John
Uh...
Hello
TEST
Compiling base_class_container.cr... Module validation failed: Referring to an argument in another function!
  store i32 %argc, i32* @ARGC_UNSAFE
Referring to an argument in another function!
  store i8** %argv, i8*** @ARGV_UNSAFE
 (Exception)
  from /crystal/src/string.cr:5017:14 in 'finish'
  from /crystal/src/compiler/crystal/codegen/codegen.cr:69:7 in 'codegen'
  from /crystal/src/compiler/crystal/compiler.cr:172:16 in 'compile'
  from /crystal/src/compiler/crystal/command.cr:296:3 in 'run'
  from /crystal/src/compiler/crystal.cr:11:1 in '__crystal_main'
  from /crystal/src/crystal/main.cr:110:5 in 'main'
  from src/env/__libc_start_main.c:94:2 in 'libc_start_main_stage2'
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
failed.

platform: fedora 33 x86_64
$ crystal -v
Crystal 0.36.1 [c3a3c1823] (2021-02-02)

LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu

the bug also exists with current git head b018f288c0ac336a8297d5c575e062e6bb791902
i'm really not sure what the bug is, but i'll be running a bisect to try and find the commit that introduced it

i can't get a bisect going because i can't get a working compiler build of anything earlier than 0.36.1, it fails with a type error in the gc

Can you try to reduce a reproducing example? Best case if it would reproduce without gtk.

@straight-shoota issue is in https://github.com/jhass/crystal-gobject/blob/5bc0cc7481a713b22e332d1bab80c132a819d20e/src/gtk/autorun.cr#L5
i copied that bit over and modified the import:
#require "gobject/gtk/autorun"
require "gobject/gtk"

class Container
  getter widget : ::Gtk::Label

  def initialize
    @widget = Gtk::Label.new("Hello")
  end
end

main_window = Gtk::Window.new(title: "Widget container", border_width: 20)
container = Container.new
main_window.add(container.widget)
main_window.connect "destroy", &->Gtk.main_quit
main_window.show_all

fun main(argc: Int32, argv : UInt8**) : Int32
  Crystal.main do
    LibGtk.init pointerof(ARGC_UNSAFE), pointerof(ARGV_UNSAFE)

    Crystal.main_user_code(argc, argv)

    LibGtk.main
  end
end

Signal::INT.trap do
  Gtk.main_quit
  exit
end

and it fails, as expected. however, changing LibGtk.init pointerof(ARGC_UNSAFE), pointerof(ARGV_UNSAFE) to LibGtk.init pointerof(argc), pointerof(argv) compiles, runs, and displays a window perfectly
i have no idea where LibGtk.init is defined; i can't find it with github nor grep, and i'm thinking it might be autogenerated. regardless, following minimal code triggers the compiler crash
fun main(argc: Int32, argv : UInt8**) : Int32
  Crystal.main do
    pointerof(ARGV_UNSAFE)
  end
end

❯ ./script/ci.sh
Running crout/crout.cr
1
Hello John
Uh...
Hello
TEST
Compiling base_class_container.cr... Module validation failed: Referring to an argument in another function!
  store i8** %argv, i8*** @ARGV_UNSAFE
 (Exception)
  from /crystal/src/string.cr:5017:14 in 'finish'
  from /crystal/src/compiler/crystal/codegen/codegen.cr:69:7 in 'codegen'
  from /crystal/src/compiler/crystal/compiler.cr:172:16 in 'compile'
  from /crystal/src/compiler/crystal/command.cr:296:3 in 'run'
  from /crystal/src/compiler/crystal.cr:11:1 in '__crystal_main'
  from /crystal/src/crystal/main.cr:110:5 in 'main'
  from src/env/__libc_start_main.c:94:2 in 'libc_start_main_stage2'
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
failed.

also, the following code also triggers the crash:
fun main(argc: Int32, argv : UInt8**) : Int32
  Crystal.main do
    pointerof(ARGV_UNSAFE)
  end
end

(notice that ARGV_UNSAFE has changed to ARGC_UNSAFE)

Those constants are magical in the compiler, there's no pointer you can take, as far as I remember. Please don't use compiler internas. Thank you!

I didn't write it but ill be sure to keep that in mind haha
would it be worth it to add a bit of a warning if someone does try to use them or take their pointer? i'm assuming not but might as well ask

IMO a warning isn't needed, maybe renaming then to _ARGV_UNSAFE, but IMO also not needed, since the rule is:

If there's no documentation, it's internal, so sorry if it crash.


Add alias target WIL::WIL

To consume WIL, typically there are two methods:

Install WIL (e.g. vcpkg install wil),  then find_package(WIL), finally link to namespaced imported target target_link_libraries(WIL::WIL). https://github.com/microsoft/wil/blob/c3c9e030240a21e21ea81bef38ce566191b42f13/CMakeLists.txt#L45
Add WIL as submodule add_subdirectory(wil), then link to target target_link_libraries(WIL).
https://github.com/microsoft/wil/blob/c3c9e030240a21e21ea81bef38ce566191b42f13/CMakeLists.txt#L34

By adding the namespaced target, consumer can use same target name WIL::WIL for either method.

I'm not cmake savvy, can you explain what this is for?

@ChrisGuzak I've updated the description.


why use "mean" in the merge_aug_bboxes function?

https://github.com/open-mmlab/mmdetection/blob/381f491776a3e934be88c895a3f17f256342c629/mmdet/core/post_processing/merge_augs.py#L40-L64
in bboxes = torch.stack(recovered_bboxes).mean(dim=0), If the detected bbox position of the multi scales are not matched, is it not correct if the bbox is not detected correctly?
BTW, how to merge bboxes should be decided by the user?  For example, I want to combine the detection results of different cropped images.

Can the merge function be designed as a class, and then specified in the configuration file, the user can design his own merge function to inherit from the mmdet's merge class

Thanks for your advice! We will redesign the TTA apis in the future refactoring.


Fix SQL Statement for queryUserCredentials

Need to fix the SQL statement for queryUserCredentials function.  When adding this to the where clause...
AND nra_team_role.RoleID <> 6
...the admin users who are not assigned to any teams cannot log in anymore since the record count will be zero.

fixed


Convert @uniqie to ID if no @id exists.

Continued by #25 #26, Resolves #20.

Codecov Report

Merging #27 (4618416) into master (05dcf7b) will increase coverage by 0.18%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   98.43%   98.62%   +0.18%
==========================================
  Files          13       15       +2
  Lines         192      218      +26
  Branches       16       17       +1
==========================================
+ Hits          189      215      +26
  Misses          3        3


update selenium timeouts to w3c standard

the current default timeouts in ghostdriver are:
script: 2^31 -1 milliseconds
page timeout: 2^31-1 milliseconds
implicit: 200 milliseconds
per w3c webdriver spec it should be:
script: 30,000 milliseconds
page timeout: 300,000 milliseconds
implicit: 0 milliseconds

Thanks. I will track this as well. Perhaps I could try a pull request as well but am really, really busy.  The overall feedback and improvements over time have been great. In the meantime, perhaps the ticket remains open?

It is still a major problem.
[INFO  - 2016-10-17T16:40:52.635Z] Session [77b65540-9488-11e6-8b50-6587ab547a16] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1","webSecurityEnabled":false}
[INFO  - 2016-10-17T16:40:52.635Z] Session [77b65540-9488-11e6-8b50-6587ab547a16] - page.customHeaders:  - {}
[INFO  - 2016-10-17T16:40:52.635Z] Session [77b65540-9488-11e6-8b50-6587ab547a16] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"2.1.1","driverName":"ghostdriver","driverVersion":"1.2.0","platform":"linux-unknown-64bit","javascriptEnabled":true,"takesScreenshot":false,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyAutoconfigUrl":null,"autodetect":false,"socksUsername":null,"socksPassword":null,"httpProxy":"<IP_ADDRESS>:3128","proxyType":"MANUAL","noProxy":null,"ftpProxy":"<IP_ADDRESS>:3128","socksProxy":"<IP_ADDRESS>:3128","hCode":373097727,"class":"org.openqa.selenium.Proxy","sslProxy":"<IP_ADDRESS>:3128"}}
[INFO  - 2016-10-17T16:40:52.635Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: 77b65540-9488-11e6-8b50-6587ab547a16
Oct 17, 2016 10:40:52 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
[INFO  - 2016-10-17T16:42:52.352Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
[INFO  - 2016-10-17T16:42:52.526Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
10:43:23.626 [main] INFO  org.slf4j.Logger - https://sors.doc.state.ok.us/svor/f?p=119:1: Obtained
[INFO  - 2016-10-17T16:45:52.463Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
[INFO  - 2016-10-17T16:47:52.352Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
[INFO  - 2016-10-17T16:47:52.526Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW


Setup mechanism to start a docker build for images on demand

In milestone 0.2, we will start with an empty Pyrsia network. To start building and publishing artifacts, we will implement a mechanism that:

when any node tries to fetch an image that doesn't exist in Pyrsia

it will return an error to the Docker Client and write a nice message about it in the logs
the docker client will fallback to Docker Hub
the Pyrsia node will send a build trigger for this image to one of the central nodes

the central node will follow the same procedure as if the build was triggered via the CLI - it will schedule a build, wait for the result, add a transparency log and wait for consensus (this is part of 0.2, but not part of this issue)

Concrete steps to implement this issue:

Any node needs to be able to determine if it is a authorized node itself - this can be implemented using the get_authorized_nodes from the Transparency Log
When a build is triggered via the CLI API, the node first has to check whether

it's an authorized node: so it triggers the build as is already implemented right now
or it's a regular node: so it will continue with step 3

Regular nodes cannot start builds (because they don't participate in the consensus) directly, so the first thing they have to do is get a list of authorized nodes (TransparencyLog.get_authorized_nodes) and randomly select one of them to send a build trigger command. To be implemented for this to work:
a. Translate the peerId of the authorized node to a multiaddress
b. send a p2p command build trigger command to that multiaddress
c. accept p2p build trigger command (on the authorized node) and trigger a build
d. if something fails, another authorized node (fetched from the TPL) can be tried.
When a build was successfully triggered, the regular node returns this to the requesting side (CLI)

At this point, we can trigger a Pyrsia build from any node.
What we still need is to trigger this build on-demand, also on any node:

when an artifact is requested for which we don't have a TransparencyLog, we try to trigger a build in the same way it is done using the CLI
we make sure to log useful messages about this in its Pyrsia logs
but the artifact request has to return an error to the requesting client (docker client, maven client, ...)
we rely on that client (docker, maven) to either give an error or fallback (depending on user preference) to something that might work.
After some time, the build in the Pyrsia network has finished and reached consensus. This artifact can now be requested from any node in the Pyrsia network

Status update: PR #1063 addresses most of this issue, except triggering the build when an artifact is requested. I will create a follow-up issue


Update pivot.md

Add note that FILTER clauses are currently ignored, fixes https://github.com/duckdb/duckdb/issues/11802.

Thanks!


[PowerRename] Regular Expression not working "Positive Lookbehind"

ℹ Computer information

PowerToys version: v0.27.0
PowerToy Utility: PowerRename
Running PowerToys as Admin: Yes
Windows build number: [run "winver"] 19042.662

📝 Provide detailed reproduction steps (if any)

Using RegularExpressions with PowerRename and it doesn't seem like the "Positive Lookbehind" action works. And like other variations of this command.
For example: Filename = 123456.txt
Checkmark on "Use Regular Expressions" and Search for: (?<=^...)(.*)

✔ Expected result
456.txt
❌ Actual result
(blank - no match
📷 Screenshots

Here's the result from a RegEx testing site:

https://github.com/microsoft/PowerToys/wiki/PowerRename-Overview#regular-expressions

Maybe it's worth mentioning that you need to restart PowerRename for the change to take effect.


Video Sprite not work on EK?

What is your question?
![Uploading image-1.png…](
![Uploading image-2.png...](
Some reason the video sprite not work on your ek engine
So i have asked my friend work help me fix it
Also this one is same with 0.6.3

Version??
It should definitely work, I didn't edit anything from Psych Engine itself.

Issue has been identified.


Feature: Switch between vaults

Hey, trying this (and Raycast) out now, looks great! One limitation of this, is that you can only use one vault. However, I use multiple! Is there any chance this will support multiple vaults?

Hey, thank you.
Sounds like a good idea, will let you know if I can implement it with the next update.

Easy switching between vaults has been added with the new commits.
However this version hasn't been reviewed yet and thus isn't available in the store right now.

The new features are now available in the store:
https://www.raycast.com/marcjulian/obsidian


Implement headers

headers should be an extensible concept.
Consider having a module for each header eg Raxx.ContentType then other libraries can just implement Raxx.XMyHeader

Should we implement a behaviour module for a generic header?

core headers

RFC 7230

[x] Transfer-Encoding

[x] Content-Length

[ ] Trailer

[ ] Host

[ ] Via

[x] Connection

[ ] Upgrade

RFC 7231

[ ] Content-Type

[ ] Content-Encoding

[ ] Content-Language

[ ] Content-Location

[ ] Expect

[ ] Max-Forwards

[ ] Accept

[ ] Accept-Charset

[ ] Accept-Encoding

[ ] Accept-Language

[ ] From

[x] Referer

[x] User-Agent

[ ] Date

[x] Location

[ ] Retry-After

[ ] Vary

[ ] Allow

[x] Server

RFC 7232

[ ] Last-Modified

[ ] ETag

[ ] If-Match

[ ] If-None-Match

[ ] If-Modified-Since

[ ] If-Unmodified-Since

[ ] If-Range

RFC 7233

[ ] Accept-Ranges

[ ] Range

[ ] If-Range

RFC 7234

[ ] Age

[ ] Cache-Control

[ ] Expires

[ ] Pragma

[ ] Warning

RFC 7235

[ ] WWW-Authenticate

[ ] Authorization

[ ] Proxy-Authenticate

[ ] Proxy-Authorization

RFC 6265

[x] Set-Cookie

[x] Cookie

Headers have a standard behaviour
defmodule Location do
  @behaviour Header
  def fetch
  def set
  def merge
  def all
end

can be imported into Raxx
Raxx.fetch_location, Raxx.fetch_cookie

Cookie implements the headers from RFC 6265


Save collection(s)

Describe the feature you want
Ability to save programs of collection

Added in EOX v2.0.


[Grid] made the grid adjustable

I made the grid adjustable. Please have a look. Now it is possible to adjust the number of grid columns, the spacing between the columns and the initial grid width. You are also able to customize the breakpoints.

Hey @retober thanks for the PR.
Can you sort out the indentation and formatting of your changes so it's easier to review please?

I'm not used to this kind of formatting but i tried to fix the indentation.

Looks good so far @retober
We will need to have an update to the docs too please.
Need to explain the process of building your own version if you want to override the grid quantity etc.
It might be best to break out the variables into a separate SCSS file, as that way to build your own you can just include your own setup var file, include the amazium files and generate your end result.
Do you see what I mean?

I agree,  _variables.scss would be the best place to put the adjustable variables. What do you mean when you said that we need to update the docs. Which file do you mean ? Isn't amazium.co.uk the documentation ? I'm not a native speaker so i guess it is not advisable to let me write the documentation.

@retober yes that's right, the amazium site covers all the usage and standard installation.
But the README in this repo also covers the basics, and think it would be best something relating to building your own column/gutter version in there.
Nothing wrong with your language at all, give it a go, we can always tweak it. But as this is your feature and approach it would be good to have you explain how you see it working.
Cheers 👍

I'm writing a small documentation of my feature. There still seem to be some problems. And i have a question - do i have to add .grid now to every .grid-X or why does this class exist ?

@retober You will only use .grid when you want all the columns in your row to be the same width. If you want a specified width you would then use .grid-6. Hope that makes sense.

Could do but grid is shorter to type :)

I wrote a short documentation of the new feature and fixed some errors. I tested it and it works fine now but somebody else should have a look at it and test it thoroughly.

Thanks guys. Good job! What about calling it .grid-x instead of .grid?

For me it's the default grid, without a size specific override (1-12), so just .grid makes sense.
Anything else would need to clarify it, which .grid-x doesn't do. Unless i've misunderstood what you meant with that one @p2or ?

Well done my friend! Rockin' in the Free World!

Thanks for your work here @retober looking good!
I'll pull down and do some testing against various projects.
Docs look fine too so nice one there.
/cc @MikeBallan

@catchamonkey It's more about consistency. I agree that '.grid' is short and easy to write but I think having the same length of grid class names leads into a clean design. Also .grid-x or grid-n indicates that the class is supplied from the framework, it's more unique in a larger scope, but especially it implies that there is something automatic going on which is easier to understand (IMO).

@p2or my issue with .grid-x is that it doesn't add any clarity, as the x is as (possibly more) ambiguous as just .grid on it's own.
In terms of ensuring they are the same number of characters, that's kind of a side point, don't think that has ever been an issue in code clarity/cleanliness :)

Had a chance to test this and looks great. Thanks for the PR!


[storm-1150]Fix the authorization of Logviewer in method authorized-log-user?

+1.  great catch @rujia1019