Provide a fallback for font rendering when not allowed to use eval

This provides a fallback for font rendering if PDF.js is used in a place where it is not allowed to use eval, such as an environment with a CSP header with unsafe-eval.
It does so by changing the code emitted from the font_renderer to be more generic commands, and then when they're run in the font_loader, they're compiled into JS and used to construct a function like before. However if we catch an EvalError, we instead use Function.prototype.apply to run the commands.
Fixes https://github.com/mozilla/pdf.js/issues/4660

Thanks for working on the issue. Could you address jshint issues and squash commits? Make sure you are friendly to the https://github.com/mozilla/pdf.js/wiki/Style-Guide.
Few points:

feature test ability to eval once and perform the transform for compiler or interpreter later
generate few less arrays to reduce amount of created object, e.g. use single array and add some smarts on the compiler/interpreter to scan it

@yurydelendik Thanks for the kind words! Its my pleasure to work on this :grin:
I cleaned up much of the excess array creation, ensured I passed the linter, and applied the style guide rules where I saw I violated them. I'd love another review on this when you get a chance :eyes:
I'm unsure how to test this feature. I'm not the most familiar with this code base and I'm having trouble finding any tests around this. I also am not sure if there is a nice way to force the Function constructor to throw an EvalError instead of executing. If you had any pointers here they would be greatly appreciated :bow:
After this is resolved, I'm happy to squash my commits to prepare this for merging :sparkles:

@skalnik It is easier for us to review your code if you squash the commits into one commit. Could you please do that? Thanks!

@timvandermeij D'oh, I always just look at the PR diff on GitHub, so I didn't even think about that. I've gone ahead and squashed the commits :+1:

Reword commit comment "[PATCH] Add fallback for font loading when eval disabled
:crystal_ball:" to "Add fallback for font loading when eval disabled"

I'm unsure how to test this feature. I'm not the most familiar with this code base and I'm having trouble finding any tests around this.

If you introduce FontLoader.isEvalSupported property, you will be able to fake different compile methods by returning true or false. The internal font rendering is working when PDFJS.disableFontFace is set to true.

Could you add isEvalSupported to the FontLoader?
  get isEvalSupported() {
    var result = false;
    try {
       new Function(''); // trying to compile a simple function
       result = true;
    } catch (e) {
      // eval is not supported
    }
   return shadow(this, 'isEvalSupported', result);
  },

And use it to branch the logic in the FontLoader.getPathGenerator. PDFJS.isEvalSupported check can be included in the function above as well.

Ah, after looking at your example, I think I understand what you were saying now. Sorry, a lot of these JS patterns are new to me :finnadie:

There are some lint errors. Tip: you can catch lint errors locally by running node make lint from a terminal.

Could you optimize your code, by using objects instead of array & slice? Your current method involves a array copy operation at every glyph call. Here are some suggestions for optimization:
Use an object, not an array
I have created some alternatives and a benchmark, my proposed method ("usingObject") is 2-4x faster than your method (Safari 8. Chrome 43, Firefox 40,
  cmds.push({ name: 'lineTo',  args: [x, y]});  // usingObject
// instead of cmds.push(['lineTo', x, y]);      // usingSlice
// or even cmds.push(['lineTo', [x, y]]);       // usingArray

For a benchmark of the alternatives, see http://jsfiddle.net/5co62ohk/. My top suggestion is 3-4x faster than my proposed alternative in Chrome 43, Safari 8 and IE 11 and 1.3-1.5x faster in Firefox 40.
Special-case parameter-less arguments
The generic for loop in if (cmd === 'scale') is not needed, because scale always uses the same constant parameters. Instead of the for loop in this.compiledGlyphs[character], use the following. You could also put a comment at cmds.push({name: 'scale', args: []}); to clarify that scale is treated as a special case.
if (cmd === 'scale') {
    args = [size, -size];
}

Could you optimize your code, by using objects instead of array & slice? Your current method involves a array copy operation at every glyph creation call. Here are some suggestions for optimization:

I've implemented these changes :grin:

@Rob--W Any more thoughts on this?

@skalnik Two small notes, and then it looks fine to me.

All fixed up :wrench:

@skalnik I found another two minor issues. I guess that that's really it.

Patched that up as well!

In terms of code, LGTM.
I'll defer the merge to @yurydelendik.

Looks good with comments above addressed.

Updated!

/botio-linux preview

/botio test

It stops when processing test/pdfs/glyph_accent.pdf with the following console message:
TypeError: current.args is undefined

@timvandermeij That should be resolved. @Snuffleupagus tiny nits fixed up

/botio-linux preview

/botio test

This patch looks really good and much cleaner than before to me. The tests also pass now. @yurydelendik would like to test this once more and after that this should be good to merge.

@yurydelendik any updates here since you wanted to test one more time?

Looks good. Thank you for the patch.


Added storage app and all the tests for the length app

Hi,
I read your tutorial on testing with django and i liked it. I followed your suggestions about adding more tests and apps.
I added a new storage app and all the tests for the length app.
I thought you might like to merge them with the original project.
Thank you very much.

Hi @Tiki92
Hope you're doing well. Apologies for the delayed response.
I'm glad that you found the Django testing tutorial useful. This kind of feedback keeps me motivated to learn and share more.
I have had a look at the changes you made and they look really good. However, I think it is best to leave the project in its current state of minimal implementation. The project was intentionally left unfinished so that everyone could have a similar experience when exploring the different converters or when building on top of this repo.
If I merge this, everyone else will not be able to build the storage converter from this code. 😄
Hope this makes sense.
Thank you for your contribution and feedback.
I'll close this PR now...

Yes, it does make sense :) and thank you very much for  the feedback.
Keep up the good work.


Added make target to build without cache

Description
Added make target to build without cache to make automated build process more efficient.
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/1448

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have inspected the Grafana dashboards to verify the data is displayed properly
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Tested build and there are no overlay containers left mounted on the build machine


Run other model on Android failed

i convert a caffemodel to caffe2 pb model,(actually it is the CMU openpose coco model) and i have succeeded predict on PC using caffe2 python API.
Then i simplely change the model to mine in demo AI Camera Demo and Tutorial  But it failed when loadToNetDef ,net->ParseFromArray(data, len) returned false and the log says "Couldn't parse net from data" .
Then i find similar problem on github, someone said it worked after changing the prototxt input layer. So i rewrite the input layer referring to squeezenet like this:
before: input: "image" input_shape {   dim: 1   dim: 3   dim: 368   dim: 368 }
after: layer {   name: "image"   type: "Input"   top: "image"   input_param { shape: { dim: 1 dim: 3 dim: 368 dim: 368 } } }
it still failed when loadToNetDef(mgr, &_initNet,   "init_net.pb"); but it worked when loadToNetDef(mgr, &_predictNet,"predict_net.pb");
So, is there ways to solve the problem ? How can i use a new model with caffe2 on Android?

what is the size of your model?

@RuiZeWu Hi have u solved this problem? I also encounter this issue as well as many other guys.


Documentation on how to develop plugins

Hi,
I love drawio/diagrams.net, and I'd like to develop a custom plugin. I have taken a look at the existing plugins and I can use them as a basis to develop my own, but I just can't find any official documentation.
Am I too blind to find it, or is there none?
Is there some kind of resource where I can see what methods are available to a plugin?
I'd also like to know how I can add dropdown menus, text boxes, checkboxes and radio buttons to a dialog.
Please give me some pointers where I can find out more information on how to develop a plugin.
Thanks a lot,
Simon

Yup, literally nothing.

Will we get the docs for plugins? Or should we just reconsider the idea of developing a plugin?

Yup, I'd use another tool.


[Feature Request] - XML Export - Include "specialization" value as a fixed user defined property when exporting

I like the new "Specialization Manager" in Archi 4.9 as it makes life so much easier. So far our team has used a user-defined property "stereotype" to implement the specialization concept of the ArchiMate language but this was error prone as people had to type the correct value, whereas selecting from a predefine list is much better.
However, when exporting the model in XML the values of the new "specialization" attribute in Archi is not exported (same as label expression). Whilst I understand that these values are specific to the Archi tool they would still be very useful for exchanging files in the Open Exchange Format.
To distinguish these "Archi properties" from other user defined properties I could imagine a special identifier which could be based on the tag URI scheme as defined by RFC 4151. So this would enable the exchange of these useful data elements using the open exchange specification until a future ArchiMate version includes those properties as part of the standard..

 <element identifier="id-f11f19a0bb14481bbb603a83d0df4aab" xsi:type="Capability">       <name xml:lang="en">My Capability</name>       <documentation xml:lang="en">lore ipsum</documentation>       <properties>         <property propertyDefinitionRef="tag:archimatetool.com,2021-10-12:specialization">           <value xml:lang="en">CapabilityConfiguration</value>         </property>         <property propertyDefinitionRef="tag:archimatetool.com,2020-07-01:labelexpression">           <value xml:lang="en">«${specialization}» ${name}</value>         </property>       </properties>     </element> ... <propertyDefinitions>     <propertyDefinition identifier="tag:archimatetool.com,2021-10-12:specialization" type="string">       <name>Specialization</name>     <propertyDefinition identifier="tag:archimatetool.com,2020-07-01:labelexpression" type="string">       <name>Label Expression</name>       ...

We will, at some point, be implementing support for ArchiMate Profiles and Stereotypes for the exchange format when that has been published by TOG, so until then we won't be adding any other ways to do it.

Setting a property for the label expression won't work because label expressions are applied to diagram nodes, not concepts. And the exchange format only allows properties on concepts, not nodes.

This is fair enough. Is TOG going to update the ArchiMate Model Exchange File Format 3.1 together with the next minor release for the ArchiMate language that is planned for mid-2022?

I'll close this one and we'll wait for feedback from TOG about changed to the AMEFF.


Error on adding Category

I just deploy the repo into Netlify, its great and I am very impressed. But there is an issue with adding Categories. I can edit 2 existing categories, but when I try to add a new category, I receive this error:
Failed to persist entry: Error: Collection must have a field name that is a valid entry identifier, or must have identifier_field set

I should mention that this does NOT happen when adding new post.
Regards

Well, I could manage to do it by adding the md file manually from my local development and push it to repo, but how is possible to fix it from admin side? Beside I recognized its not possible to edit slug of category from admin side neither.

Looks like because Categories didn't have a title field Netlify CMS didn't know what to use as the "identifier field". See netlify docs here: https://www.netlifycms.org/docs/configuration-options/#identifier_field .
Added "name" as the identifier field in commit #f5c002847cca32de89f6d7c4372ccfb823119f25.
This fixes the ability to post new categories in the admin interface.
As for changing the slug in the admin interface, that is not possible at this time and must be done via the file structure.
Thanks!


Undefined variable "filterI" presents after code  generation when using nested "collectionFormat": "csv"

Greetings.
I use code gen with swagger.json that contains these query parameter describing:
    "/path": {
      "get": {
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "filter",
        "description": "fetch items with filter",
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/Model"
            }
          },
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "filter",
            "type": "array",
            "collectionFormat": "multi",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "collectionFormat": "csv"
            }
          }
        ]
      }
    }

after code generation by command:
# swagger generate server -f swagger.json -t ./api -P auth.Identity --exclude-main
i get this code in my restapi/operations/get_path_parameters.go
func (o *GetPathParams) bindFilter(rawData []string, hasKey bool, formats strfmt.Registry) error {

	filterIC := rawData

	if len(filterIC) == 0 {
		return nil
	}

	var filterIR [][]string
	for _, filterIV := range filterIC {
		filterIIC := swag.SplitByFormat(filterIV, "csv")

		var filterIIR []string
		for _, filterIIV := range filterIIC {
			filterII := filterIIV

			filterIIR = append(filterIIR, filterII)
		}

		filterIR = append(filterIR, filterI) <!--- filterI is undefined!
	}

	o.Filter = filterIR

	return nil
}

I suppose it must be  filterIIR instead filterI
Environment
swagger version: dev
go version: go version go1.9.2 linux/amd64
OS:  Fedora release 27 (Twenty Seven)

Hello. That must be bug I introduced with latest PR. I tested and rested all these generations...
I'll check it out ASAP.

I think I only tested cases where there are nested validations. That's probably the point.

Hmm. Are you sure you got latest release? This nested params thing has been subject to a he.avy PR on friday
When I build your testcase on master I precisely got the following code:
func (o *GetPathParams) bindFilter(rawData []string, hasKey bool, formats strfmt.Registry) error {

	// CollectionFormat: multi
	filterIC := rawData

	if len(filterIC) == 0 {
		return nil
	}

	var filterIR [][]string
	for _, filterIV := range filterIC {
		// items.CollectionFormat: csv
		filterIIC := swag.SplitByFormat(filterIV, "csv")
		if len(filterIIC) > 0 {

			var filterIIR []string
			for _, filterIIV := range filterIIC {
				filterII := filterIIV

				filterIIR = append(filterIIR, filterII)
			}

			filterIR = append(filterIR, filterIIR)  // <-- this is what I get
		}

	}

	o.Filter = filterIR

	return nil
}

The signature for latest is the comment "items.xxx"

Yes, i just pull actual revision and bug is fixed! Thanks a lot !

I'll take your example and add it to our non-reg test suite.
Even if it worked, it is slightly different from the cases I did test, and those nested constructs are highly sensitive.

@kuai6 you might close this issue if it is okay with you

yeah thanks


The error in the new script

I enter the install command as you see it, and then I try to open it

Hey, go down a little further, then try dotnet restore.
Should be like NadekoBot\src\NadekoBot or similar?

I do try, says "project.json" was not found

It was okay Problem is that the old version of .net is in the new version.


Websocket connection closes automatically after some time

The websocket connection to stashcat closes after some time automatically and the code exits, without any logged errors int the console. Might be a problem that is not from StashConnect but rather from SocketIO as it worked fine before. Happens mostly on Linux arm64 according to my testing.
import stashconnect

client = stashconnect.Client(
    email="[my email]",
    password="[my password]",
)

@client.event("notification")
def message_received(data: stashconnect.Message):
    print(f"Message received: {data.content_encrypted}")
    if (data.type_id == [chat_id]):
        data.respond(f"[automated] message received - bot active \n`{data.content_encrypted}`", encrypted=False)

@client.loop(seconds=60)
def loop():
    client.messages.send("[chat_id]", "[automated] looped message - bot active", encrypted=False)

client.run(debug=True)

Update: Seems like the issue only occurs on Linux since i have just run the code above on a Windows machine for about 30 minutes and it has not yet exited and the websocket connection still is connected. I'll do some more tests on Linux and on Windows too.

Yea, that may be it, since I am on Linux. (Fedora 40 specifically, if that helps in any way.)
I'll try on a Windows WM as well, just to confirm the issue to be OS-specific.


updated changelog, deps, and example config

there's a build failure indicating you need to run go mod tidy

there's a build failure indicating you need to run go mod tidy

Completely forgot we moved zititest here. Updated the mod file there.


Australian Corpus of English (ACE)

Thanks Gillian for cleaning the dataset <3
The dataset now is set to inactive.

json format added

json format added

Thank you Junyi! This dataset now has both .csv and .json formats.
This dataset has been moved to Inactive Datasets.
Will reopen if it has any future development demands.


Support for async

Currently for complex single-page applications, there is no way to handle async UI operations between steps. For example, on step one, I want to show a menu but on step two, I want to hide that menu and open a modal. There needs to be a way to do additional UI setup work between steps.
I've created a pull request which addresses this issue by allowing users to optionally specify a before() callback on each step.
I've created an issue for this since it seems that issues are responded to more frequently. I apologize if this was unnecessary.

PR has been merged: https://github.com/pulsardev/vue-tour/pull/84.


[json-rpc] health-check for checking latest ledger info timestamp

Motivation
When fullnode db is lack behind the head of blocks, we may consider it is an unhealthy node and take it out.
This PR adds an optional param to the "/-/healthy" endpoint for validating the db latest ledger info timestamp and return 200 only for the case the ladger info timestamp is in the range given by the param.
Have you read the Contributing Guidelines on pull requests?
YES
Test Plan
Manual and unit test

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.

release binaries dependency change summary:
host packages:
  M serde_derive 1.0.123 (direct third-party, crates.io)
    * status changed from transitive third-party
    * (unchanged features: default)

release binaries dependency change summary:
host packages:
  M serde_derive 1.0.123 (direct third-party, crates.io)
    * status changed from transitive third-party
    * (unchanged features: default)

/land

/land

/cherry-pick release-1.1

@xli :exclamation: cherry-pick failed, possibly due to conflicts. You can perform the cherry-pick yourself by running the following commands:
git fetch https://github.com/diem/diem.git release-1.1 2af785b23175ceaef265ea971270d82d1073f35e
git checkout release-1.1
git cherry-pick 4e7215c80a3da60332217aa31f24d429f9c48fb3..2af785b23175ceaef265ea971270d82d1073f35e


[Fix] Fix incorrect behavior to access train pipeline from ConcatDataset

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
According to the implementation of ConcatDataset class from mmengine, the datasets variable is a list.
We should use cfg.train_dataloader.dataset.datasets[0].pipeline, not cfg.train_dataloader.dataset.dataset.pipeline.
Modification

Add an if condition to check the train dataset is ConcatDataset
Assign the train pipeline cfg.train_dataloader.dataset.datasets[0].pipeline to cfg.test_dataloader.dataset.pipeline

BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMPreTrain.
The documentation has been modified accordingly, like docstring or example tutorials.

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


Support local and global secondary indexes on DynamoDB Tables

As per https://github.com/punchcard/punchcard/issues/103, we want to support indexes on DynamoDB tables. How should we do this?
I think the desired experience should be similar to how the table is created where the developer only needs to provide a tuple of the columns to index:
@Birowsky's example:
class RestarauntRecord extends Record({
  id: string,
  byUserId: string,
  status: string,
  avgRating: number
    .apply(Minimum(?))
    .apply(Maximum(?))
  starCount: string, // or integer?number? Not sure why your definition defines this column as a string?
}) {}

const table = new DynamoDB.Table(stack, 'id', RestarauntRecord, 'key');
const byStars = table.globalIndex(['starCount', 'avgRating']);
const byUserId = table.globalIndex(['byUserId', 'avgRating']);
const byStatus = table.globalIndex(['status', 'avgRating']);

What about projections? Should developers create another record class to represent the projection, or can we support an array of columns to project?
const projected = table.globalIndex('starCount', 'avgRating',
  // columns to project?
  ['starCount', 'byUserId', 'avgRating']
);

Not sure why your definition defines this column as a string?

The type there is explicit: 'One' | 'Two' | 'Three' | 'Four' | 'Five'.

Should developers create another record class to represent the projection, or can we support an array of columns to project?

I see array of columns as the ideal approach.


Trace sink operations

Current dependencies on/for this PR:

main

PR #130   👈

This comment was auto-generated by Graphite.

@fracek started a stack merge that includes this pull request via Graphite.

@fracek merged this pull request with Graphite.


Fix warning with Rust 1.6

warning: lint raw_pointer_derive has been removed: using derive with raw
pointers is ok

:+1:


[Feature]: Allow users navigate to previous step in Welcome tour

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Currently, users can only go forward to the next step in the interactive welcome tour.
It would be nice to allow users to go back and view instructions from previous steps.

Why should this be worked on?
Users may need to reference instructions of solutions from previous steps to better understand what is going on in further steps.

Given the reduced importance, and eventual sunsetting of the welcome tour, we will be closing this issue


docs: button to copy code block to clipboard

Introduces a CopyToClipboard component that wraps a code block and assigns a copy button.

This doesn't quite solve the inline CSS variable code copy, maybe that's a separate component?

For some reason, styles from https://media-chrome-docs-git-fork-davekiss-dk-code-copy-mux.vercel.app/assets/architecture.f479343c.css have higher specificity than the component's styles when built, but not during dev. @luwes any idea on what's going on here?

yes, the styles get overridden. not sure why this happening. easily fixed with a more specific selector for button
 docs/src/components/PageContent/CopyToClipboard.astro | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/src/components/PageContent/CopyToClipboard.astro b/docs/src/components/PageContent/CopyToClipboard.astro
index 36d0dc8..7ce0d02 100644
--- a/docs/src/components/PageContent/CopyToClipboard.astro
+++ b/docs/src/components/PageContent/CopyToClipboard.astro
@@ -61,7 +61,7 @@
     }
   }

-  button {
+  .copy-to-clipboard {
     height: 30px;
     width: 30px;
     border: 1px solid #aeb3d5;
@@ -72,7 +72,7 @@
     background: white;
   }

-  button:hover {
+  .copy-to-clipboard:hover {
     border: 1px solid #999;
   }

@@ -85,7 +85,7 @@
   }

   @media (prefers-color-scheme: dark) {
-    button:hover {
+    .copy-to-clipboard:hover {
       background: #fafafa;
     }
   }


[BUG][WEBJS] - Missing Error  GET /api/sessions/{session}

The endpoint returns a 200 status code with an application/octet-stream as response type.
I would expect that a 404 Error be returned instead.

Fixed in 2024.9.6, not it returns http status code 404 and message
{
  "statusCode": 404,
  "message": "Session not found",
  "error": "Not Found"
}


Post-event surveys

It might be a nice feature for organizers if we offered to automatically send out post-event surveys on behalf of organizers the day after their event ended. We could add a type of custom form to handle this ("event feedback" or something) and maybe generate emails inspired by the way Square does receipts:

Or the way Simple does feedback:

Most events that do useful surveys do relatively more complex survey-monkey-style surveys.

Oh right! So one thing I forgot to mention was that in the Square email, after I clicked the happy or sad face button it brought me to a longer survey to fill out. Which I thought was clever (though a little tricksy).

I think we'd want to tie this in with our custom form functionality and have a "after event" form type.

I think this feature is SUPER cool, especially if organizers can create a survey and have it ready to go before the event with dancerfly automatically distributing it at a specified time. Trying to pull together the energy to generate and send a survey post-event is pretty impossible and you're going to get the most useful information from attendees while the event is still fresh in their mind, so you really want it to go out with little turnaround time. It would be great to also tie this in with future discounts to thank people for coming to the event and offer them some token coupon to the next event so they're encouraged to string together events/workshops/etc.
It would be cool to have some pre-generated survey questions they organizers can choose from, so they're not creating everything from scratch. Also wondering about tying in google forms/sheets to auto-generate some useful statistics/graphs for organizers.


Clarify CompatibilityCheckDetails contract

Current usage of CompatibilityCheckDetails indicates that a compatibility check is never performed if both values are equal.
This should be reflected in the Javadoc so that implementors know it is part of the contract.
And code should enforce it, checking for equality always before invoking the compatibility rule.
From discussion in https://github.com/gradle/gradle/pull/8455#discussion_r256928706

Opened #8551 to clarify that a compatibility rule will never be invoked for equal producer and consumer values.
Current implementation also says that the producer value will never be null. However that's not something we want to guarantee as a contract.


Replace overloading with template specializations.

Define the interface for types in the new types.h. This includes functions like _get, _checked_get and _push as well as _get_n and _push_n. The notion of primitive types, to define types not being able to get a raw pointer to from Lua, is inverted and has changed to is_referenceable.
Split specializations of different kind of types from primitives.h into
separate header files: primitives.h, tuples.h and userdefined.h.

To fulfill the two new test cases, I started out to correct the order of declarations and definitions for all overloads of _push[1] relative to the definition of _push_n[2]. (_push_n was defined prior to overloads of _push for sel::function.) I quickly found myself splitting headers into separate headers for declarations and definitions. In my opinion that turned out to be quite messy.
By switching to the proposed solution, the order of includes is no longer such a problem. Uses of _push_n within templates do not need the definitions for all specializations. It suffices to have them included by the point the call to _push_n is actually instantiated. In practice that is in code using Selene, which then already has all headers included.
[1] holds also for _get and _checked_get
[2] holds also for _get_n and make_Ref


How to set the style of the table like ngx-admin-smart-table

How to add the orignal style of the table like that in the ngx-demo-Smart Table?
I found this file<EMAIL_ADDRESS>nebular github
But of course as this package name angular2-smart-table and not ng-smart-table as the original package the style not apply.
Any idea how to set the origianl style?

You can try replacing all occurrences of ng2- with angular2-.
But I cannot guarantee that this will yield exactly the same appearance as in the original version. But it might come a little closer.

Thank you


Remove noarch package

Since openslide-python package has platform-specific library file
(such as _convert.cpython-39-x86_64-linux-gnu.so), noarch package
cannot work in Windows(See openslide/openslide-python#124).
In addition to that, in noarch package, it has
_convert.cpython-39-x86_64-linux-gnu.so which works only for 64-bit
linux CPython 3.9.
(See https://anaconda.org/conda-forge/openslide-python/files).
This patch removes building noarch package.
Closes #4
Signed-off-by: Gigon Bae<EMAIL_ADDRESS>
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin please rerender

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Yeah unfortunately there's not much we can do about that here. The openslide package doesn't appear to be built on Windows. Raised issue ( https://github.com/conda-forge/openslide-feedstock/issues/10 ) about that

Added a commit to skip building the Windows package, as per @Ethyling's suggestion.


rm

Problem description

Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

So... what's your problem, @rafiimahmud? :)


Assignment 0 corrected TA Github username

The Assignment 0 has been updated to include the correct TA Github username for this semester.
For those of you who have started early on Assignment 0, please check the updated version and invite the correct TA to your private repository.

I am confused. When I get to this step in Assignment 0
Clone the DSCI-633 repo to your local machine.
Am I supposed to clone your repository to my local machine or my repository to my local machine?
Paul

You should

Clone this repo to your local machine.
Clone your private repo to your local machine.
Copy everything from the local folder of this fds repo to the local folder of your private repo.
Push changes of your private repo to the GitHub server.
After all this, your private repo should look the same as the fds repo on the GitHub server.

I tried to follow your instructions, but received this error when I tried to complete step 4.
(base) pac8612@cos-chem2003:~/DSCI-633 $ git push
git: 'credential-manager' is not a git command. See 'git --help'.
Enumerating objects: 81, done.
Counting objects: 100% (81/81), done.
Delta compression using up to 12 threads
Compressing objects: 100% (78/78), done.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (79/79), 6.46 MiB | 6.05 MiB/s, done.
Total 79 (delta 9), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

Did you do git add and git commit before git push?

I did. I then searched for "error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400" and the stackoverflow response (https://stackoverflow.com/questions/62753648/rpc-failed-http-400-curl-22-the-requested-url-returned-error-400-bad-request) said it was an http buffer issue, so I followed the instructions there:

https://stackoverflow.com/questions/62753648/rpc-failed-http-400-curl-22-the-requested-url-returned-error-400-bad-request
git pull && git push

It worked and my repository looks right now.

Glad you solved it!


Refactoring to decouple w2v from EidosSystem

Fairly major changes, @kwalcock please check over, and also @bgyori if you can re-check to make sure the reground api still works that would be swell!

This is fine. But isn't there an EidosOntologyGrounder class now? Where is that?

I think that there are lots of Grounder classes of various flavors, so more refactoring is still needed.  To better answer your question, did you want me to send you pointers to the various ones?

@MihaiSurdeanu
trait for Grounders: https://github.com/clulab/eidos/blob/reground/src/main/scala/org/clulab/wm/eidos/groundings/OntologyGrounder.scala#L25
Sorry -- IDK what you mean re: implementation with w2v -- the w2v is now "owned" by OntologyHandler (https://github.com/clulab/eidos/blob/reground/src/main/scala/org/clulab/wm/eidos/groundings/OntologyHandler.scala#L11) which has several Grounders (i.e., one for each active ontology).
Specifically, the ontologyHandler gives EidosSystem a MultiOntologyGrounder (which, as I understand it is just a wrapper for a Seq[OntologyGrounder] ??):

https://github.com/clulab/eidos/blob/reground/src/main/scala/org/clulab/wm/eidos/EidosSystem.scala#L111

https://github.com/clulab/eidos/blob/reground/src/main/scala/org/clulab/wm/eidos/groundings/OntologyHandler.scala#L17

In terms of functionality, the grounding is still "enabled" by setting useW2V=true in the config, but that's now in a diff section of the config (bc EidosSystem doesn't know/care if it's on or off): https://github.com/clulab/eidos/blob/reground/src/main/resources/eidos.conf#L25
The actual grounding happens as the Mentions are converted to EidosMention  -- which is a very mysterious portion of the code to me, but it certainly works... :)  But every time I try to trace through it I tell myself I'll sign up for a CS course or 2

Why do we need a MultiOntologyGrounder here?
https://github.com/clulab/eidos/blob/reground/src/main/scala/org/clulab/wm/eidos/groundings/OntologyHandler.scala#L17
Maybe @kwalcock knows?

also -- here's the grounding line: https://github.com/clulab/eidos/blob/reground/src/main/scala/org/clulab/wm/eidos/mentions/EidosMention.scala#L164

@MihaiSurdeanu, the OntologyHandler is rather new to me and I'll look more closely.  Perhaps the return value can be made more generic.
@BeckySharp, I think the grounding line makes grounding part of the EidosMention constructor.  They are inherently grounded rather than having a var and an Option so that it can be done later or not at all or independently with some external method.   There are so many ways to do it that the best way likely changes with the circumstance.  Perhaps it's time to reevaluate.

I'm testing this branch now and looks like some adaptations are needed on our end which I'm working on, I'll post again when ready!

Okay, this works well!

I think that #570 is the more urgent PR.  This one doesn't necessary need to be merged before the other, but it may well be easier to do all at once.  I was hoping to use that strategy with #567 as well.

So maybe I should just merge these all so that you can simply use master.

However you want to do it is fine with me!
On Wed, Apr 3, 2019 at 9:56 AM Keith Alcock<EMAIL_ADDRESS>wrote:

So maybe I should just merge these all so that you can simply use master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/pull/569#issuecomment-479572963, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFIniVe36RCWEJfJOg5YTmjoQEIufMj7ks5vdN1SgaJpZM4cVYE9
.


Issue with SSM Maintenance window DB table not being populated.

Hi there,
Whilst creating a standard Scheduler and adding a single "nested" stack to have an additional schedule utilize an SSM maintenance window I notice that in the main DB table (StackName)-ConfigTable the specific Custom schedule is added correctly however, in the underlying Maintenance window DB table that specific Window is not added (table like {StackName}-MaintenanceWindowTable)
I searched through the code running specific events however, could not ever find a call to the "{PathToScheduler}\instance-scheduler\schedulers\ec2_service.py" which does the updating and editing of this table.
I will attach my zipped file which contains the code and the "InstanceScheduler.yaml"/NestedSchedule.yaml" template files I ran for my template. Running these did not add the "Custom" schedule's Maintenance window to the underlying DB, as this DB is utilized to "start" the instance in an allotted time before the window.
Please do let me know if you need anything else.
instance-scheduler.zip

Hi @keagansc2 Instance scheduler has an issue where the solution is unable to load SSM Maintenance windows (even those not used in the solution) are defined in any timezone other than UTC, the work around for this is to define all the maintenance windows in UTC. We are currently working on fixing this issue in the next release.


support elasticsearch?

any plan to support elasticsearch as store engine

Not at the time being. The datastore is abstracted to a certain degree. It doesn't have a nice abstract class yet, but that should not be to hard to accomplish and thus allow for other storage backends.


Add a temperature converter extension.

Is your feature request related to a problem? Please describe.
I can add a temperature converter extension which will be used to convert the temperature values in any of degree,kelvin or fahrenhiet into the relative values of other two.
Describe the solution you'd like
I will use HTML,CSS and JavaScript to build this.
Features
Consists of 3 input fields for input of temperature in degree,kelvin and farhenhiet and automatically displays the corresponding values in other two scales when any one of the value is entered.

Closing as exists #1191


Allow ErrorSummary to receive JavaScript config

Following the tracks of #2843 for the notification banner, and #2826 for the accordion, this PR adds the possibility to configure the ErrorSummary component through Javascript, alongside its existing data attributes.
Each commit takes care of one of the 3 things that needed to happen for that:

Allowing the component to receive JavaScript configuration
Letting initAll pass through any configuration when instantiating ErrorSummary
Making sure that the data attribute takes precedence over the JavaScript configuration

Closes #2838

Made the code updates, but still working on the failing tests. Narrowed it down to: when the code calls mergeConfigs or normaliseDataset, the other tests/suites fail. But obviously if they're not called, the test for this specific feature fails...
Trying to see if I can get some more explanation of the failures from Jest as it's a bit... light... on why all these tests fail 😢


Templated Workfile build doesn't work for AE

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
AE can add Create and Load placeholders for Templated Workfile builder, but it doesn't seem to be able to resolve them (during Build Workfile from template)
Expected Behavior:
LoadPlaceholder should be replaced by loaded item, CreatePlaceholder should be replaced by new created instance.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
Build Workfile template in AE menu via Create placeholder ![image](https://github.com/ynput/ayon-core/assets/4457962/f8d4066b-1a72-4c66-a07d-89e63d2f475e) Save it somewhere and update ayon+settings://aftereffects/templated_workfile_build/profiles Start AE on non-existent workfile, or useBuild Workfile from template` in AE extension menu
Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response

@kalisp any chance you can confirm whether this issue is still present after #768 ?


unable to access cloudformation tags using ec2_sd_config

There are many cloudformation tags that have colons such as, aws:cloudformation:stack-name.  If I try to access that tag in prometheus with something like __meta_ec2_tag_aws:cloudformation:stack-name, I get a bad label syntax error.  It appears you don't allow colons.  Is there any way to get around this?  Do the colons get replaced with something else?
Thanks.

The should be getting replaced with underscores.


Common Errors Index

Searching for webpack errors on stackoverflow is more difficult than with other libraries because the error messages are often very opaque, and they use common words that are also used by other build systems and libraries.
I would love to write a document like "twenty possible reasons you might get the error 'Module could not be built'".
I envision the page as a list of common error message. Under each one we would catalogue the various reasons why that error might occur.

Have you considered webpack-validator? It is supposed to statically analyse the config and show possible errors in the build.

I really like this idea. Many confusing error messages and warnings can have simple answers, like:

Module build failed
Module not found
Critical dependencies

However, we should also think about changing the actual error messages. If they can be improved, that's the first step.

I am on Webpack Gitter Chat right now. There are two people getting the error "Cannot find module." Both have exhausted all troubleshooting options. I have found multiple unanswered stack questions with the same error.

This could be somewhat similar to glossary page @rouzbeh84 is currently working in #1223...

However, we should also think about changing the actual error messages. If they can be improved, that's the first step.

I think this definitely key. One of the great things about react is the detailed error messages and links from the error message itself to the piece of documentation that relates to it. We could probably link to the index or other places in the docs from these error message.
@bishopZ if you're still interested in submitting a pr for this page I'd be happy to facilitate the process.

I'm going to close as there are now multiple places where actual error messages are mentioned in the parts of the documentation where they apply. Seeing that we have a search bar, I think they are easily discoverable and, if we started linking to bits of the docs in the error messages themselves, I think we'd be in a pretty good place. If people still feel strongly about this and have the time to tackle it I'd be happy to re-open and facilitate however I can.


[Impeller] Cannot draw text outline

Is there an existing issue for this?

[X] I have searched the existing issues
[x] I have read the guide to filing a bug

Steps to reproduce

Run the provided sample with Impeller enabled (e.g. on iOS).
Compare the output to the result when rendering with Impeller disabled.

Expected results
Show the text "Hello Flutter!" with a dark outline.
Actual results
Flutter renders the text without an outline.
Code sample
This code should draw a text widget that adds a dark outline around each glyph.
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: const MyHomePage(title: 'Outlined Text'),
      );
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context) {
    final theme = Theme.of(context);
    final textTheme = theme.textTheme;
    final colors = theme.colorScheme;
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      body: Center(
        child: OutlinedText(
          "Hello Flutter!",
          borderColor: colors.primary,
          textStyle:
              textTheme.displayMedium?.copyWith(color: colors.inversePrimary),
        ),
      ),
    );
  }
}

class OutlinedText extends StatelessWidget {
  final String text;
  final Color borderColor;
  final double borderWidth;
  final TextStyle? textStyle;
  final TextAlign textAlign;
  final double? textScaleFactor;

  const OutlinedText(
    this.text, {
    Key? key,
    this.borderColor = Colors.blueAccent,
    this.borderWidth = 5.0,
    this.textStyle,
    this.textAlign = TextAlign.start,
    this.textScaleFactor,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    final style = textStyle ?? DefaultTextStyle.of(context).style;
    return Stack(
      children: <Widget>[
        // Stroked text as border.
        Text(
          text,
          textAlign: textAlign,
          textScaleFactor: textScaleFactor,
          style: style.copyWith(
            foreground: Paint()
              ..style = PaintingStyle.stroke
              ..strokeJoin = StrokeJoin.round
              ..strokeWidth = borderWidth
              ..color = borderColor,
          ),
        ),
        // Solid text as fill.
        Text(
          text,
          textAlign: textAlign,
          style: style,
          textScaleFactor: textScaleFactor,
        ),
      ],
    );
  }
}

Screenshots or Video

Screenshots
How the sample is rendered with Skia:

How the sample is rendered with Impeller.

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.3.1 22E772610a darwin-arm64, locale en-US)
    • Flutter version 3.10.0 on channel stable at /Users/redge/Shared/SDKs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (2 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/redge/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • iPhone 14 (mobile) • 68EF78D4-1BB5-4876-ADE1-FFD1AAE58734 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 13.3.1 22E772610a darwin-arm64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report! Reproduced this issue on the latest master channel as well. Verified on iPhone 7, iOS 15.7.2.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (35 hours ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-2.0.pre.93, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.11.0-2.0.pre.93 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 224c8b92dc (29 minutes ago), 2023-05-10 21:24:14 -0400
    • Engine revision ef771f95e9
    • Dart version 3.1.0 (build 3.1.0-94.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I think it's being implemented. Related issue: https://github.com/flutter/flutter/issues/126010


Organizing cmdlets

I moved the cmdlets into their own folder to get them out of the root of the project and used a function I learned/borrowed from https://github.com/gscales/Exch-Rest to import anything in the cmdlet folder into the module. This should also make it easier to add new cmdlets to the project, as you now won't have to track whether or not the .ps1 is explicitly named in the .psm1 file.
I've tested locally with the Export-Excel cmdlet and things appear to work.

Thanks, not going to do this at this time.


429 response

Hello,
I am new to Tweepy (and programming in general), so I apologize if this is a silly question but is there a way to see how much time is left until the reset of the rate limit responsible for error 429 (too many requests) and how many requests are left?
I figured out how to access "rate_limit_status()" via Tweepy but according to the response, all my "remaining" values are greater than zero. E.g. I'm getting 179 for the main one:
api.rate_limit_status()['resources']['application']['/application/rate_limit_status']['remaining']
Yet when I try to run my bot, I'm getting Twitter error 429.
And before you ask - I now realize there are request limits. I wasn't earlier today, which I'm sure contributed to my app not being able to run any more. I already added limit checks and "sleep" statements to my code.
Thank you kindly.

I believe specific endpoints have specific rate limits.
api.rate_limit_status() returns a json file that you can write out to a file and parse through in a text editor.


Status Effects Timer Resets at Random to Max Value

In my investigation, I found the problem: the init function is called in 600 ticks chunks, so if the effect is greater than 600 ticks, say 800 ticks, it will be called twice, once at 800, once at 600. It will do chunks infinitely; for example, 1800 will be called at 1200 and 600 ticks.
Issue fixing it is difficult, as I would need to track effects only for the player entity, so a bunch of source code browsing for new mixin locations.


feat(experimental): Add Configurable System Prompts Feature

Add Configurable System Prompts Feature
Overview
This PR introduces a dynamic system prompt configuration feature that allows users to select different LLM system prompts based on their needs. This enhancement provides flexibility in how the AI assistant behaves and processes requests, with initial testing showing promising results across models including GPT-4 and Claude 2.5 Coder 32k.
Key Changes
1. Prompt Library Implementation

Added new PromptLibrary class to manage different system prompts
Implemented two initial prompts:

Default: The battle-tested standard system prompt
Optimized: An experimental version designed for lower token usage

Created extensible architecture for future prompt additions

2. Settings Integration

Added prompt selection UI in the Features tab
Implemented prompt persistence using cookies
Added new promptId state management in settings store

3. Backend Integration

Modified chat API to support dynamic prompt selection
Updated stream text functionality to incorporate selected prompts
Maintained backward compatibility with existing chat functionality

4. File Structure Updates

Moved prompts to a dedicated directory under lib/common/prompts/
Created new optimized.ts for the experimental prompt version
Reorganized prompt-related utilities for better maintainability

Technical Details
Prompt Library Structure
The PromptLibrary class provides:

Centralized prompt management
Type-safe prompt registration and retrieval
Configurable prompt options (working directory, HTML elements, etc.)
Easy extensibility for adding new prompts

Settings Integration

New promptStore atom in settings store
Persistent storage using cookies
UI integration in Features tab with dropdown selection
Real-time prompt switching without page reload

Testing Results

Tested with GPT-4 and Claude 2.5 Coder 32k
Optimized prompt showed improved performance in token usage
Maintained response quality across different models
Verified prompt persistence across sessions

Migration Impact

No breaking changes to existing functionality
Default prompt remains unchanged for existing users
No database migrations required

Future Improvements

Add more specialized prompts for different use cases
Implement prompt customization interface
Add prompt performance metrics
Support for model-specific prompt optimizations

How to Test

Navigate to Settings > Features
Select different prompts from the dropdown
Test chat functionality with each prompt
Verify prompt persistence after page reload
Test with different LLM models if available

Preview
GPT4o:
https://github.com/user-attachments/assets/79e71afe-3934-4638-962a-b3651723430f
qwen 2.5 Coder 32B
https://github.com/user-attachments/assets/5ed3cc93-89c3-42b5-b127-b1489734ffd1

@thecodacus My day just got better, cant wait to use this.

works on windows.

we need code template import after this. I would like to add starter templates which will super charge the project outputs

that would take this to the next level.

But can't we already use them with github import?
Like here is bolt.new starters
https://boltstarter.com/
It has link like this
https://bolt.new/github.com/donvito/bolt-admin-dashboard
In reality its this repo
https://github.com/donvito/bolt-admin-dashboard
I just go to bolt.diy and import git
It took a bit of time but I got this

Bolt.new works faster for this for some reason
But it does work with bolt.diy

But can't we already use them with github import?

yes but thats manual selection. I am talking about
user: i want a todo app
llm: selects vite starter templates and start the project

another scenario
i want to design an admin dashboard with schadcn ui and typescript
llm: selects schadcn starter templates and start the project

basically based on user's qurey it should select the best starter template and start.

Bolt.new works faster for this for some reason

cuz they are not cloning it using browser resources 😅

Bolt.new works faster for this for some reason

cuz they are not cloning it using browser resources 😅

Even if they were pulling on server side and then streaming it to client it would be the same no?
May be only part I can imagine is being isomorphic git not being good.
Another is some form of caching they may be do.

But can't we already use them with github import?

yes but thats manual selection. I am talking about
user: i want a todo app
llm: selects vite starter templates and start the project

another scenario
user: i want to design an admin dashboard with schadcn ui and typescript
llm: selects schadcn starter templates and start the project

basically based on user's qurey it should select the best starter template and start.
currently lots of users are saying they are not getting good results compared to bolt.new this is the reason. for any general query bolt/new is first pulling a suitable starter template, then starting the work

I guess you mean dozen of templates for various setups than? That are very barebone? Like next.js starter, vue starter and so on?

I guess you mean dozen of templates for various setups than? That are very barebone? Like next.js starter, vue starter and so on?

Yes exactly. it should have most of the skeleton ready. so that the llm does not have to write them. and the result will instantly become pretty nice

May be only part I can imagine is being isomorphic git not being good.

yes isomorphic-git is trying to do an actual git operation in browser, and using a simulated  file system plus  it also needs to get loaded and initialized, where as they are using github api it to pull all the files directly and them pushing it.. both has its pros and cons.


onSubmit prop in React Widget not firing

I've been using the Widget component from @typeform/embed-react for months now with no issues, however as of this morning the onSubmit handler has stopped firing. To test, I replaced the body of my onSubmit handler with just a console.log and am not seeing even that.
My implementation looks like:
[...]

const handleSubmit = (response) => {
   console.log('submitted');
};

[...]

return (
   <Widget
        id="<id here>" // edited out, but can provide this id if necessary
        style={{ width: "100%", height: "100%", zIndex: 10 }}
        onSubmit={handleSubmit}
   />
);

The Results tab in the Typeform admin shows that my responses are in fact being submitted.

OnSubmit not firing in Vanilla-JS also!

Same tested the same way, passed in a new callback and even the debugger doesnt fire inside it

Hello all, thank you for reporting this. We are aware about this bug and will look into it right away.

We identified the issue and prepared a fix. It should be deployed and available shortly. I will update you here and close the issue when it is.

The fix is deployed and live now.


Some key species end up with a raw popularity of zero

This can happen when we use an outdated taxon.
One example is with the Snow Leopard:

It's Panthera uncia, but our tree still has it as Uncia uncia.
We end up mapping it to wikidata Q12823232 instead of Q30197
But Q12823232 has no wikipedia sitelink for en, so we are not able to get any raw popularity for it.

Of course, it still gets some high popularity based on its ancestry, but it is getting short changed.

Fixing this would likely involve following synonyms, so that we end up treating Uncia uncia as Panthera uncia. The wiki dump line for Uncia uncia does point to Panthera uncia via P642:
"P31": [
    {
        "qualifiers": {
            "P642": [
                {
                    "datavalue": {
                        "value": {
                            "numeric-id": 30197
                        }
                    }
                }
            ]
        }
    }
],

However, we're evidently not following this properly. I need to dig into this some more.

Here is another case that is more complex and also results in a missing raw popularity. The Bay cat (aka Bornean cat) has 3 wikidata entries:

Pardofelis badia, marked as having as synonym 'Catopuma badia'. This is the entry that has all the wikipedia sitelinks
Catopuma badia, marked as having as synonym 'Felis badia'
Felis badia, marked as not having any synonyms

In OneZoom, we use the taxon Catopuma badia. The problem is that it leads only to Felis badia, which doesn't have the goods. So even if we follow synonyms, we get nowhere.
Maybe we need to catch this one from the other way around, relying on the Pardofelis badia -> Catopuma badia synonym link.
You would think that wikidata would automatically make any synonym symmetric, but I guess that's too much to ask :(

Another weird case: Leopardus pajeros is the Pampas cat.
Problem is that the wikidata entry has the english link linking to Leopardus_pajeros (which is a redirect), instead of to the main Pampas cat page: "enwiki": { "title": "Leopardus pajeros" }. So we end up looking up Leopardus pajeros in the Page Count file, and not finding anything, because all the hits are with the Pampas cat entry.
This is a completely different case from above, as it doesn't relate to needing to follow wikidata synonyms.

has the english link linking to Leopardus_pajeros (which is a redirect)

So we can either change the link in Wikidata and/or somehow keep redirects in the wikipedia dump, and follow those?
I seem to remember that I did do a bit of redirect-following in my original wikimedia parser, but I think I didn't think about that case on wikipedia.
Yan

change the link in Wikidata

Interestingly, if you look at the links on https://www.wikidata.org/wiki/Q311417, next to 'en', there is a little arrow symbol. If you hover over it, it says "intentional sitelink to redirect". I'm not sure what the reasoning is, as in most cases, the link is to the main page with no redirects.

somehow keep redirects in the wikipedia dump, and follow those

The wikiDATA dump doesn't know about redirects afaik. It just has wikiPEDIA links, which sometimes happen to redirect. So I'm not sure if we can get the redirect information, other than by actually making http requests to it, which is too painful/slow.

The wikiDATA dump doesn't know about redirects afaik. It just has wikiPEDIA links, which sometimes happen to redirect. So I'm not sure if we can get the redirect information, other than by actually making http requests to it, which is too painful/slow.

Indeed, but perhaps the enwiki-latest-page.sql.gz file contains information on redirects?

Indeed, but perhaps the enwiki-latest-page.sql.gz file contains information on redirects?

Yes, it has a page_is_redirect Boolean field (https://www.mediawiki.org/wiki/Manual:Page_table#page_is_redirect). I don't think it gives the redirection target, but at least if we had to make a request, that would greatly reduce the number of cases where it's needed.

My PR #58 addresses the Snow leopard and Bay cat issues above (and presumably many more like it).
It does not address the Pampas cat case (wikipedia redirect), which we should track as a separate issue.

I opened #59 to track the wiki redirect case. The rest of the issue is fixed, so closing this one.


change org id to int64 in OrganizationsListOptions

Change org ID in OrganizationsListOptions to be consistent with the org id type

I signed it!

@googlebot - please rescan.

Thanks @qinfchen!


Multi LLM USE & SEARCH Engines

Hey, I would really love to see this with several other Modells, operating together.
Where you also can choose wich model to use, or one model even chooses the models for you based on the tasks...
Please add more Features like that.

One major Problem with auto coder dev ops is the cutoff of the public llm, so claude and others use old versions of python or github tools.
So we will mostly get an older version then possible. Wich is really bad.
To fix that, it should also use things like perplexity api and better even https://tavily.com/ or open source perplexity alternatives.
It should often use that, to be able to resolve issues and use latest models.
Also a system, that prevents it from doing small repetitive tasks and some memory to not go below version X, when already applied. also to it should be able to research the actual github framework, find and use latest advancements and how to code properly using lastest library from xy.
Please add those important features, as we are wasting lots of api credits with redundant tasks or things, where it makes errors, because of version problems etc.
Please implement those things to make it a whole lot better, but its already really good and thanks for your work :)

Hey thank you for all the great suggestions! Please feel free to add these to our ideas board so people can vote on their favorite feature requests to give me a better idea of what to work on next. https://github.com/saoudrizwan/claude-dev/discussions/categories/ideas


net, VM ctrl: Mv to pkg/network

What this PR does
PR #12090 had decoupled the network logic from the core VM controller.
As part of SIG-network code consolidation effort, move the network VM controller from pkg/virt-controller/network to pkg/network/controllers.
This move completes the code transfer from pkg/virt-controller/network.
Add linter coverage to the moved code.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

NONE

Change: Rebase

Change: Restructured the PR.
Dropped the attempt to fold the dependencies of VMNetController prior to moving it, as it would require a larger effort to cover all cases from VMNetController's unit tests.

/uncc @iholder101 @xpivarc @enp0s3 @RamLavi

Change: Fixed typo in commit message.

Change: Rebase


Update site-wide settings for project website

The names and links found on the project website belong to AB3 rather
than our own project.
Let's

update the github link in the navbar to our team repo
update the product name in the navbar to AddresSoC

Codecov Report

Merging #32 (fbe2cbe) into master (401373e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #32   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


About sankaku JSON API

See Projects:
https://github.com/CryShana/Sankaku-Channel-Downloader
https://github.com/urain39/KngetPy

It still works.

Duplicate of #1250?
Any difference between the implementation in those projects compared to Grabber?
The one I saw is headers.

I think so, like if you try to download images without 'referer' in headers that you will get this problem, but i still dno't know why it still works on sometimes when i not set it.(may magic yet?)

Sorry for my issues, cuz that my English is not well.😥


ffsend: init at 0.2.34

Motivation for this change
Adds https://gitlab.com/timvisee/ffsend.
Things done

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

[ ] NixOS
[X] macOS
[X] other Linux distributions (Docker nixos/nix image)

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

I've declared Linux support but it's not very well-tested. I've built it in Docker and made sure the resulting binary works, but I haven't tested everything. As you can see from a comment I left in the file, clipboard support is enabled but won't actually work on Linux unless xclip is in the PATH. In theory we could patch the source to run xclip from the Nix store but I didn't want to be responsible for maintaining such a patch when I don't use Linux.
I'm also not sure if there's any need to add cacert, since we're using openssl. It seems to work without that, but I'm not sure where it gets certs from.

@GrahamcOfBorg build ffsend
thanks; please consider adding yourself to the GrahamcOfBorg known users so your PRs can be built automatically.

failed to fetch https://github.com/rust-lang/crates.io-index
Caused by:
[16/-1] unexpected return value from ssl handshake -9808

Is this an indication that with sandbox on Darwin we need cacert too?

It occurs to me the dependency on openssl is unrelated to the build failure, because it's failing when trying to start the build, not failing because ffsend uses openssl.

Ok I checked another Rust package (cargo-tree) and it has the exact same error with ofBorg's Darwin build as this one (https://github.com/NixOS/nixpkgs/runs/77715402). I guess that's just a problem in general with the sandboxed darwin builds of Rust packages.

I filed https://github.com/NixOS/ofborg/issues/332 about this issue with Rust packages in general.

@GrahamcOfBorg build ffsend
@lilyball, if you've tested building on Darwin, I think it's fine for us to merge and see how it goes. Maybe Hydra won't have the same issue?

It seems cargo fails to update it's package index due to a failing SSL handshake. Could this be because of missing/outdated SSL certificates or an incorrect host configuration?
See this log: https://logs.nix.ci/?attempt_id=765d3576-eb30-4c9d-8c7a-ca36aa030751&key=nixos%2Fnixpkgs.57776

I just realized cargo-tree didn't have a prebuilt Darwin binary when I installed it the other day. I bet this is why.
@timvisee My current assumption is the sandboxed Darwin builder is preventing access to the /etc/ssl/ certs. It's also possible that /etc/ssl/ has obsolete certs in it, given that the OpenSSL that Apple ships is horribly obsolete, but I don't know how to test.


Witness data included in tx id

The tx id is including witness data. Since this field is malleable by third parties it should not be included in the tx id.

Ref: https://github.com/FuelLabs/fuel-specs/pull/268


Custom sorting function

Hi again!
I would like to create my own sorting function in Vue 2.0, according to whether it is a folder or a leaf. However, I only get infinite loops:
      sort: (a, b) => {
        if((a.children && b.children) || (!a.children && !b.children)) {
          return a.name.localeCompare(b.name)
        } else if (a.children && !b.children) {
          return -1
        } else {
          return 1
        }
      }

Could you please help me understand how the sort function works?

Hi @The-BlackWidow !
Actually this is a bug, I reproduced having an infinite loop simply by calling console.log(b.children) inside the sorting function.
As a workaround, you can try this while I will attempt to fix the real issue :
sort(a, b) {
  const sameChildrenState = 'children' in a === 'children' in b
  if(sameChildrenState) {
    return a.name.localeCompare(b.name)
  } else if ('children' in a) {
    return -1
  } else {
    return 1
  }
}

Thank you very much! It's working. Please keep me posted when the fix is out 😃 !


7S2P.Effie version 3.8.1

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Duplicate of #146165 with the same issue

What's the issue?


Changing input

I'm wondering if this repo could be modified to use the same input and output size? I would like to map same size input to output for low light versus normal light conditions in gray images. Thanks and great repo.

You can use a 1x upscaling factor. But it's not guaranteed that this will work, this is not the purpose of the repo. For image reconstruction you might want to look into U nets maybe.


Add ubuntu-22.04 to ci matrix

Indeed, the curl versions installed by apt-get are different.
for ubuntu 20.04:
Preparing to unpack .../libcurl4-openssl-dev_7.68.0-1ubuntu2.12_amd64.deb ...
Unpacking libcurl4-openssl-dev:amd64 (7.68.0-1ubuntu2.12) ...
Setting up libcurl4-openssl-dev:amd64 (7.68.0-1ubuntu2.12) ...

for ubuntu 22.04:
Preparing to unpack .../libcurl4-openssl-dev_7.81.0-1ubuntu1.3_amd64.deb ...
Unpacking libcurl4-openssl-dev:amd64 (7.81.0-1ubuntu1.3) ...
Setting up libcurl4-openssl-dev:amd64 (7.81.0-1ubuntu1.3) ...

This is probably due to https://github.com/curl/curl/commit/e54b1885d19dee5ed04761295020a0a84b8296ca which landed in curl 7.69.1 I believe.


enable rviz -d my_config as shortcut to ~/.rviz/my_config.rviz

Fixes #1420 .

Merged as 779cbe8e1103e6c151c43f84de22162de8c1461a. Unfortunately, I wasn't able to push my simplifications to your PR branch.

Thank you! Your changes look good to me.
I intentionally did not accept rviz -d foo.rviz. But sure, I guess there's no reason not to.

Unfortunately, I wasn't able to push my simplifications to your PR branch.

Oh, I did not disable that intentionally.
Maybe the feature only works for private forks? I used my group's fork this time.


Safari 14: HTTP/3 is not enabled by default

Reference: https://github.com/WebKit/webkit/commit/85a1ac7f69985c84709247d467085282ea5d0bb8

Screenshots

Thanks!


Prepare main func for running multiple components

Description
BTP Manager will run multiple components in separate goroutines to divide the current module reconciliation and future Service Manager integration.
Related issue(s)

See #442

/test pull-btp-manager-build


FIRE element size distribution

Hi, I am working on ONT Fiberseq data and I plotted the FIRE element size distribution. Please see figure attached below. The orange histogram represents FIRE element size distribution and blue histogram represents MSP size distribution. I found there are two peaks in the orange histogram -- a small peak centered around 100bp and a much larger peak with long tail. I wonder why that is the case (i.e., two length population for FIRE elements)? Thank you in advance!

If MSP length was a perfect discriminator of accessible chromatin we wouldn't need FIRE at all. But it's not so we do this extra work to better infer these regions.
Re your specific ONT data I have no idea, but it wouldn't be hard for you to see if these smaller elements are enriched for certain mapping locations.
Also, as always I need to note, glad ONT seems to work for you but it is not yet supported so take results with a grain of salt.


probability 1.0 not working

probability with a value of 1.0 does not always work. There should be a 100% response, but in the next 80%
image = cv2.imread(i)
aug = A.Blur(p=1, blur_limit = 9)
image = aug(image=image)['image']

Windows 10
albumentations 0.3.3

Hi. Can you please clarify what is the meaning of 80% response in this context? I don't think there is something wrong with probability, perhaps what you want is A.Blur(p=1, blur_limit = (9,9)).

I submit 100 pictures and about 80 of them are blurry

In my case all works.
image = np.random.randint(0, 256, (256, 256, 3), dtype=np.uint8)
result = []
aug = Blur(p=1, blur_limit = 9)
for i in tqdm(range(10000)):
    img = aug(image=image)['image']
    result.append(int(np.all(image == img)))
result = np.array(result)
print(result.sum(), len(result))

How you check that images are not blurry?

Its work A.Blur(p=1, blur_limit = (9,9))`.
Correct a document?

class albumentations.augmentations.transforms.Blur(blur_limit=7, always_apply=False, p=0.5)
blur_limit = (?,?)


qcm: 1.0.4 -> 1.0.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/hypengw/Qcm/releases.
meta.description for qcm is: Unofficial Qt client for netease cloud music
meta.homepage for qcm is: https://github.com/hypengw/Qcm
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.5 with grep in /nix/store/n7yvbdhz7nq54h3b48ggn5dhrzijjak3-qcm-1.0.5
found 1.0.5 in filename of file in /nix/store/n7yvbdhz7nq54h3b48ggn5dhrzijjak3-qcm-1.0.5

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

qcm

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/f83611e2e8b40755a4e9712ad36eb1ca0442817a#qcm

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

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

1 package built:

qcm

Maintainer pings
cc @Aleksanaa for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

This seems to break the program.


Add ShapeCast2D editor handle and improve debug drawing

Applies the changes from https://github.com/godotengine/godot/pull/59337 and #46675 to ShapeCast2D

Add support for editing ShapeCast2D.target_position in the viewport.
Rename RayCast2DEditorPlugin to Cast2DEditorPlugin and use it for both RayCast2D and ShapeCast2D.
Apply RayCast2D debug drawing improvements to ShapeCast2D.

Before
After

Thanks!


Add table aws_iam_user_ssh_key

References
https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServiceSpecificCredentials.html
Use Case
as of now is not possible to list if IAM users have "SSH keys for AWS CodeCommit" enabled
Should work similar to aws_iam_access_key

Thanks @alberto-colombo for raising the request and welcome to Steampipe 👍 .
If anyone would like to attempt to develop this table, the API mentioned by @alberto-colombo is an excellent place to start.
Please let us know in case there are questions 👍 .

Commenting here for keeping this issue open.


Build scripts broken

I just tried compiling LFS in a clean Ubuntu 14.04 (trusty) Docker container and got an error. Something about package includes (sorry, I don't know much about GO). I got similar errors trying to build it on a Debian 8 machine. To reproduce use the following:
docker run -i -t --entrypoint /bin/bash ubuntu:trusty
apt-get install git
git clone https://github.com/github/git-lfs.git
cd git-lfs/
script/debian-build

which gives
<output omitted>
+ ./script/bootstrap
script/build.go:13:2: cannot find package "github.com/github/git-lfs/lfs" in any of:
	/root/.gvm/gos/go1.4.2/src/github.com/github/git-lfs/lfs (from $GOROOT)
	/root/.gvm/pkgsets/go1.4.2/global/src/github.com/github/git-lfs/lfs (from $GOPATH)
++ echo FAIL
FAIL

On CentOS 7 following the same steps I get:
script/build.go:13:2: cannot find package "github.com/github/git-lfs/lfs" in any of:
	/usr/lib/golang/src/github.com/github/git-lfs/lfs (from $GOROOT)
	($GOPATH not set)
FAIL

Debian (and derivates): see #383
CentOS: see #313 an #332
Meta: see #281 and https://gitlfs.slack.com (via #344)

apt-get install git
git clone https://github.com/github/git-lfs.git

Update the lines above as follows:
apt-get install git
export GOPATH=$PWD/go
mkdir -p go/src/github.com/github
cd go/src/github.com/github
git clone https://github.com/github/git-lfs.git

Thanks. I was able to build it, before I read your posts, by syminking a lot of the vendor stuff etc.

I've submitted a fix for this in #458.

same error here

Even like @michael-k wrote, the same:
can't load package: package github.com/github/git-lfs/commands: cannot find package "github.com/github/git-lfs/commands" in any of:
	/root/.gvm/gos/go1.4.2/src/github.com/github/git-lfs/commands (from $GOROOT)
	/root/.gvm/pkgsets/go1.4.2/global/src/github.com/github/git-lfs/commands (from $GOPATH)
can't load package: package github.com/github/git-lfs/lfs: cannot find package "github.com/github/git-lfs/lfs" in any of:
	/root/.gvm/gos/go1.4.2/src/github.com/github/git-lfs/lfs (from $GOROOT)
	/root/.gvm/pkgsets/go1.4.2/global/src/github.com/github/git-lfs/lfs (from $GOPATH)
script/build.go:15:2: cannot find package "github.com/github/git-lfs/lfs" in any of:
	/root/.gvm/gos/go1.4.2/src/github.com/github/git-lfs/lfs (from $GOROOT)
	/root/.gvm/pkgsets/go1.4.2/global/src/github.com/github/git-lfs/lfs (from $GOPATH)
++ echo FAIL
FAIL

Hello,
I am trying to rpm package git-lfs-1.1.0 using a custom SPEC file .  I get the following error during the build. I don’t know anything about go. Could you please help ?
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F57yah

umask 022
cd /home/rpmuser/rpmbuild/BUILD
cd git-lfs-1.1.0
GOARCH=amd64
++ pwd
GOPATH=/home/rpmuser/rpmbuild/BUILD/git-lfs-1.1.0
./script/bootstrap
Using go1.4.2

_/home/rpmuser/rpmbuild/BUILD/git-lfs-1.1.0
./git-lfs.go:23: cannot use lfs.ClearTempObjects (type func() error) as type func() in argument to once.Do
./git-lfs.go:36: cannot use lfs.ClearTempObjects (type func() error) as type func() in argument to once.Do
2016/02/24 09:10:31 exit status 2
exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.F57yah (%build)
Thanks


Custom property name

Let user assign other property name instead of 'file'

Awesome 👍 Thanks @iwannabaa — released as v0.5.17.


some Ops tensorflow could but tflite

hi,
I have some Ops which are valid in Tensorflow,but not valid in Tensorflow Lite,and if I want use the tflite file,how to solve the problem ?thx
2019-10-11 17:30:39.943242: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListReserve is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943256: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListFromTensor is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943266: W tensorflow/lite/toco/tflite/operator.cc:2707] Op While is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943275: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListStack is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943359: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListReserve is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943373: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListFromTensor is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943382: W tensorflow/lite/toco/tflite/operator.cc:2707] Op While is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943392: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListStack is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943422: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListReserve is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943456: I tensorflow/lite/toco/tflite/operator.cc:2054] Writing flex op: TensorListReserve 2019-10-11 17:30:39.943471: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListFromTensor is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943483: I tensorflow/lite/toco/tflite/operator.cc:2054] Writing flex op: TensorListFromTensor 2019-10-11 17:30:39.943500: W tensorflow/lite/toco/tflite/operator.cc:2707] Op While is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943566: I tensorflow/lite/toco/tflite/operator.cc:2054] Writing flex op: While 2019-10-11 17:30:39.943591: W tensorflow/lite/toco/tflite/operator.cc:2707] Op TensorListStack is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set. 2019-10-11 17:30:39.943606: I tensorflow/lite/toco/tflite/operator.cc:2054] Writing flex op: TensorListStack
I just want to use the tflite file in cellphone ,what should I do ?
Thanks a lot

@ucasiggcas, Is this similar to #33239. Thanks!

@ucasiggcas, Is this simile issue #33239. If not please provide more information about issue. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


3.0 dodo

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

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

:exclamation: No coverage uploaded for pull request base (2.0-dodo@6dba6e3). Click here to learn what that means.

Additional details and impacted files
@@             Coverage Diff             @@
##             2.0-dodo      #33   +/-   ##
===========================================
  Coverage            ?   55.03%
===========================================
  Files               ?      509
  Lines               ?    35412
  Branches            ?        0
===========================================
  Hits                ?    19489
  Misses              ?    15923
  Partials            ?        0

Flag
Coverage Δ

python
55.03% <0.00%> (?)

unit
55.03% <0.00%> (?)

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

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


Refactor CAT pool to become nonce aware

Description
Currently, transactions are prioritised based on the fee not taking nonce order into account. We can make the mempool nonce aware where transactions would be partially ordered by both nonce and priority, ensuring high-priority transactions are processed sooner while maintaining nonce order. This would allow users to:

Cancel transactions
Replace transactions with the same nonce and higher fee

Acceptance Criteria

[ ] CAT pool is nonce aware

IIRC @evan-forbes was talking about how CAT will be the only supported mempool soon. Shipping this feature will most likely align with shipping CAT

Thanks for the context. If we aren't going to add this feature to the other mempools, IMO we should work on a few other issues before this one:

Recommend CAT mempool on testnets + mainnet
Deprecate other mempools (needs discussion)
Lastly, this issue


Fix race condition in video_player

The race condition prevented some videos from being displayed on widgets.
This PR handles both the case where:

eventSink is attached before the exoPlayer state changes to Player.STATE_READY(eventSink != null)
eventSink is attached after the exoPlayer state changes to Player.STATE_READY(eventSink == null)

It is the second case that was not previously handled.
In all cases sendInitialized only calls eventSink.success(event); once per the lifetime of the video.
Fixes issue: https://github.com/flutter/flutter/issues/19953

This PR is ready for review. All comments welcome.