Goal scoring test

This PR is aimed to test the process of scoring valid and invalid goals and finishing the first half, beginning the second half, and finishing the game by declaring the winner. It relates to issues #6 , #7 , #8 , #9 , and #12 .

This is the actual log I received when running this scenario:
[0000.001|0000.000] Error: Host is not correctly defined in game.json file, it should be <IP_ADDRESS> instead of <IP_ADDRESS>.
[0000.003|0000.000] Info: Real time factor is set to 0. Simulation will run as fast as possible, real time waiting times will be minimised.
[0001.103|0000.000] Info: Spawned RED_PLAYER_1 RobocupRobot on port 10001 at halfTimeStartingPose: translation 3.5 -3.06 0.24, rotation 0 0 1 1.571592653589793
[0001.726|0000.000] Info: Spawned RED_PLAYER_2 RobocupRobot on port 10002 at halfTimeStartingPose: translation 3.5 3.06 0.24, rotation 0 0 1 4.711592653589793
[0002.341|0000.000] Info: Spawned RED_PLAYER_3 RobocupRobot on port 10003 at halfTimeStartingPose: translation 0.75 -3.06 0.24, rotation 0 0 1 1.571592653589793
[0002.884|0000.000] Info: Spawned RED_PLAYER_4 RobocupRobot on port 10004 at halfTimeStartingPose: translation 0.75 3.06 0.24, rotation 0 0 1 4.711592653589793
[0003.430|0000.000] Info: Spawned BLUE_PLAYER_1 RobocupRobot on port 10021 at halfTimeStartingPose: translation -3.5 -3.06 0.24, rotation 0 0 1 1.57
[0003.985|0000.000] Info: Spawned BLUE_PLAYER_2 RobocupRobot on port 10022 at halfTimeStartingPose: translation -3.5 3.06 0.24, rotation 0 0 1 -1.57
[0004.538|0000.000] Info: Spawned BLUE_PLAYER_3 RobocupRobot on port 10023 at halfTimeStartingPose: translation -0.75 -3.06 0.24, rotation 0 0 1 1.57
[0004.542|0000.000] Info: Connected to GameControllerSimulator at localhost:8750
[0004.543|0000.000] Info: Red team is Funny Dingos
[0004.543|0000.000] Info: Blue team is Agile Lynxes
[0004.543|0000.000] Info: Left side is blue
[0004.543|0000.000] Info: Kickoff is red
[0004.543|0000.000] Info: Sending SIDE_LEFT:2 to GameController
[0004.543|0000.000] Info: Sending KICKOFF:1 to GameController
[0004.643|0000.016] Info: New state received from GameController: STATE_INITIAL
[0007.693|0009.608] Info: Sending STATE:READY to GameController
[0008.126|0011.912] Info: New state received from GameController: STATE_READY
[0020.146|0057.192] Info: New state received from GameController: STATE_SET
[0021.339|0062.184] Info: Sending STATE:PLAY to GameController
[0021.648|0063.376] Info: New state received from GameController: STATE_PLAYING
[0030.728|0087.368] Info: Ball touched by red player 3.
[0030.728|0087.368] Info: Ball touched again by same player.
[0030.763|0087.376] Info: Ball touched again by same player.
[0030.763|0087.376] Info: Ball touched again by same player.
[0030.799|0087.384] Info: Ball touched again by same player.
[0030.799|0087.384] Info: Ball touched again by same player.
[0030.827|0087.392] Info: Ball touched again by same player.
[0030.828|0087.392] Info: Ball touched again by same player.
[0030.861|0087.400] Info: Ball touched again by same player.
[0030.861|0087.400] Info: Ball touched again by same player.
[0030.890|0087.408] Info: Ball touched again by same player.
[0030.890|0087.408] Info: Ball touched again by same player.
[0030.919|0087.416] Info: Ball touched again by same player.
[0030.919|0087.416] Info: Ball touched again by same player.
[0030.948|0087.424] Info: Ball touched again by same player.
[0030.949|0087.424] Info: Ball touched again by same player.
[0030.981|0087.432] Info: Ball touched again by same player.
[0031.172|0087.520] Info: Ball touched again by same player.
[0031.173|0087.520] Info: Ball touched again by same player.
[0032.085|0087.776] Info: Ball left the field at -4.58969 0.0703013 0.0771557 after being touched by red player 3.
[0032.085|0087.776] Info: Sending SCORE:1 to GameController
[0032.085|0087.776] Info: Kickoff is blue
[0032.085|0087.776] Info: Score in blue goal by red player 3
[0033.076|0089.768] Info: Ball respawned at 0 0 0.08
[0033.163|0090.112] Info: New state received from GameController: STATE_READY
[0044.680|0134.816] Info: New state received from GameController: STATE_SET
[0045.654|0139.808] Info: Sending STATE:PLAY to GameController
[0046.183|0142.656] Info: New state received from GameController: STATE_PLAYING
[0052.805|0158.992] Info: Ball touched again by same player.
[0052.806|0158.992] Info: Ball touched again by same player.
[0052.806|0158.992] Info: Ball touched again by same player.
[0052.806|0158.992] Info: Ball touched again by same player.
[0052.831|0159.000] Info: Ball touched again by same player.
[0052.831|0159.000] Info: Ball touched again by same player.
[0052.831|0159.000] Info: Ball touched again by same player.
[0052.831|0159.000] Info: Ball touched again by same player.
[0052.858|0159.008] Info: Ball touched again by same player.
[0052.858|0159.008] Info: Ball touched again by same player.
[0052.858|0159.008] Info: Ball touched again by same player.
[0052.885|0159.016] Info: Ball touched again by same player.
[0052.885|0159.016] Info: Ball touched again by same player.
[0052.886|0159.016] Info: Ball touched again by same player.
[0052.914|0159.024] Info: Ball touched again by same player.
[0052.914|0159.024] Info: Ball touched again by same player.
[0052.942|0159.032] Info: Ball touched again by same player.
[0052.975|0159.040] Info: Ball touched again by same player.
[0053.079|0159.072] Info: Ball touched again by same player.
[0053.079|0159.072] Info: Ball touched again by same player.
[0053.731|0159.272] Info: Ball left the field at 4.59087 -0.15876 0.076968 after being touched by red player 3.
[0053.731|0159.272] Info: Sending SCORE:2 to GameController
[0053.731|0159.272] Info: Kickoff is red
[0053.731|0159.272] Info: Score in red goal by red player 3
[0054.569|0161.264] Info: Ball respawned at 0 0 0.08
[0054.694|0161.776] Info: New state received from GameController: STATE_READY
[0065.705|0205.480] Info: New state received from GameController: STATE_SET
[0066.687|0210.472] Info: Sending STATE:PLAY to GameController
[0067.208|0212.976] Info: New state received from GameController: STATE_PLAYING
[0164.844|0663.032] Info: Sending STATE:FINISH to GameController
[0164.844|0663.032] Info: End of first half
[0164.848|0663.032] Info: red player 1 reset to halfTimeStartingPose: translation -3.5 -3.06 0.24, rotation 0 0 1 1.57
[0164.851|0663.032] Info: red player 2 reset to halfTimeStartingPose: translation -3.5 3.06 0.24, rotation 0 0 1 -1.5700000000000003
[0164.854|0663.032] Info: red player 3 reset to halfTimeStartingPose: translation -0.75 -3.06 0.24, rotation 0 0 1 1.57
[0164.857|0663.032] Info: red player 4 reset to halfTimeStartingPose: translation -0.75 3.06 0.24, rotation 0 0 1 -1.5700000000000003
[0164.859|0663.032] Info: blue player 1 reset to halfTimeStartingPose: translation 3.5 -3.06 0.24, rotation 0 0 1 1.571592653589793
[0164.861|0663.032] Info: blue player 2 reset to halfTimeStartingPose: translation 3.5 3.06 0.24, rotation 0 0 1 4.711592653589793
[0164.863|0663.032] Info: blue player 3 reset to halfTimeStartingPose: translation 0.75 -3.06 0.24, rotation 0 0 1 1.571592653589793
[0165.350|0663.200] Info: New state received from GameController: STATE_FINISHED
[0165.354|0663.200] Info: Beginning of second half.
[0165.852|0663.408] Info: New state received from GameController: STATE_INITIAL
[0167.133|0664.600] Info: Sending STATE:READY to GameController
[0167.846|0665.288] Info: New state received from GameController: STATE_READY
[0201.386|0713.824] Info: New state received from GameController: STATE_SET
[0202.610|0718.816] Info: Sending STATE:PLAY to GameController
[0203.388|0722.032] Info: New state received from GameController: STATE_PLAYING
[0257.579|0733.128] Info: Ball touched again by same player.
[0257.579|0733.128] Info: Ball touched again by same player.
[0257.579|0733.128] Info: Ball touched again by same player.
[0257.602|0733.136] Info: Ball touched again by same player.
[0257.603|0733.136] Info: Ball touched again by same player.
[0257.632|0733.144] Info: Ball touched again by same player.
[0257.632|0733.144] Info: Ball touched again by same player.
[0257.658|0733.152] Info: Ball touched again by same player.
[0257.658|0733.152] Info: Ball touched again by same player.
[0257.700|0733.160] Info: Ball touched again by same player.
[0257.700|0733.160] Info: Ball touched again by same player.
[0257.720|0733.168] Info: Ball touched again by same player.
[0257.720|0733.168] Info: Ball touched again by same player.
[0257.737|0733.176] Info: Ball touched again by same player.
[0257.742|0733.176] Info: Ball touched again by same player.
[0257.766|0733.184] Info: Ball touched again by same player.
[0257.767|0733.184] Info: Ball touched again by same player.
[0257.767|0733.184] Info: Ball touched again by same player.
[0257.797|0733.192] Info: Ball touched again by same player.
[0257.797|0733.192] Info: Ball touched again by same player.
[0257.797|0733.192] Info: Ball touched again by same player.
[0257.820|0733.200] Info: Ball touched again by same player.
[0257.820|0733.200] Info: Ball touched again by same player.
[0257.821|0733.200] Info: Ball touched again by same player.
[0257.851|0733.208] Info: Ball touched again by same player.
[0257.851|0733.208] Info: Ball touched again by same player.
[0257.877|0733.216] Info: Ball touched again by same player.
[0257.878|0733.216] Info: Ball touched again by same player.
[0257.911|0733.224] Info: Ball touched again by same player.
[0257.911|0733.224] Info: Ball touched again by same player.
[0311.535|0782.544] Info: New state received from GameController: STATE_READY
[0336.066|0827.456] Info: New state received from GameController: STATE_SET
[0337.633|0832.448] Info: Sending STATE:PLAY to GameController
[0338.068|0833.824] Info: New state received from GameController: STATE_PLAYING
[0493.764|1320.928] Info: Sending STATE:FINISH to GameController
[0493.764|1320.928] Info: End of match
[0494.260|1321.400] Info: New state received from GameController: STATE_FINISHED
[0494.261|1321.400] Info: End of the game.
[0494.261|1321.400] Info: The score is 2-1.
[0494.261|1321.400] Info: The winner is the red team.

Similar to my comment in #39 I think that this scenario is a little bit too complex and that testing elements based on a full game should be separated from elements tested on specific scenarios. It is easy to test #7 and #8 consecutively, for #9 to be tested simultaneously, it just requires to add a waiting time and move the robot at an appropriate location in between.
Similar to my comment in #39 rather than having ball is manually touched, I would move the robot, move the ball and apply a force on the ball to obtain the expected result. This will make transition to automated tests much easier.

I updated the PR and considered the points you mentioned. I'm now getting more on the same line with you about the idea of proof of concept and automated tests. I also tried to write steps in a way that could be easily converted to some actions.

It looks good, however I think it is easier to test #8 first and then only #7, this way it is not necessary to go for a full cycle of READY, SET, PLAYING again. That would simply mean moving step 6 before step 4 and removing step 5.


add kwargs for flexibiity in TagCollector

not sure whether default value for anytype and anyarch, 0 or 1.
@amaltaro, Alan please review.

Thank you @ticoann :) If this PR is fine, can it also be merged to our 1.1.0_crab branch with a new tag (1.1.0.crab1 I assume)? Thanks!

@emaszs, I will do that, when do you need a tag? Is later today fine?

Whenever you have time @ticoann, later today works perfectly fine for me :)


fix(clerk-js): Update redirection FAPI Accounts to include accountstage

Type of change

[X] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[X] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[ ] npm test runs as expected.
[ ] npm run build runs as expected.

Just including accountstage so that staging AP can also get properly redirected. See Linear: https://linear.app/clerk/issue/JS-506/accountstagedev-is-not-accounted-for-in-the-redirections

That makes sense, thanks @msakbar :) @dimkl there are 2-3 places where we have similar logic, let's discuss ideas on how to make this a little more maintainable. Moving everything to share might be enough?

@nikosdouvlis I will add it as part of a Revamp shared package ticket, to include this as helper method.

I have changed the regex and added a test for the staging accounts case. Thank you for opening this PR and sorry for editing your PR 😅

not at all - thank you so much for helping out, i genuinely just wanted to make it 0 effort for you to jump on this.

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Support Pods scheduled on Master nodes

What would you like to be added:
Support Pods scheduled on Worker nodes. With the current implementation, the route-agent runs on every Worker node but the Master nodes are being excluded.
Why is this needed:
Masters are now supported when running tenant workloads in OpenShift, especially for the OpenShift on bare-metal use case.

This is working now with the wide toleration support :)


long pasture name in schedule overlaps text in pdf

@micheal-wells Here’s an image of the one I was using to test it for #411.  Just saw it this morning in the PDF I was working through. Do we know what RAN she had the overlap in? If so we could check using Admin.

She says RAN077514, RAN077506, RAN077531.
Original issue (in case it helps troubleshooting) was #411

@micheal-w-wells Seems to be a problem with having a / in the name at certain positions (later I think). No problem with hyphens Compare these two images.


lightning-terminal: ensure reproducible releases

This is a copy of https://github.com/lightninglabs/lightning-terminal/pull/852 with no release docs, but based on the 0-19-staging branch as @GeorgeTsagk requested that I'd open a PR for that branch as well :)

rebased on top of 0-19-staging

note: we get consistent checksums when building on the same host/machine, there is not yet consistency across multiple hosts
more on https://github.com/lightninglabs/lightning-terminal/issues/854

@dstadulis: review reminder

We don't want to add anything to the 0-19-staging branch anymore. This should go into master (which will be done with https://github.com/lightninglabs/lightning-terminal/pull/852.


fix: pull the repo when we know we have it

:tada: This PR is included in version 1.0.0-alpha.30 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Enhancement Request: allow us to add properties

When I add a property, such as topic, it is deleted when editing the MindMap. I would like to add some properties to my mindmaps.
Excellent plugin by the way - thank you for making it!

Thank you for your support of this plugin. Currently, the plugin overrides properties with default content every time a mindmap file is saved.
As we are still in the early stages of development, the methods for adding and editing properties have not been finalized yet.
But, I think custom property editing is a great idea. It can clarify the relationships between files in mindmaps. I will carefully study and improve this feature.
Thank you once again for your support!


GRE Vocab : These Extension help the GRE aspirants get all vocab Word + Definition

🛠 #113

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots

https://user-images.githubusercontent.com/85748264/159780847-bb4e54d2-4f33-4ca1-8284-ef04ee0e06e8.mp4

@ridsuteri  I've Done my work , would you pls take some time and review it .

@RiyaBhandari-2811 the extension fails to load bcz the manifest file is missing :((

@ridsuteri sorry for inconvenience  , now every thing is in build folder so while loading the extension just load Build folder that's it .

good job @RiyaBhandari-2811, Thanks for contributing :)

Thank you so much @ridsuteri 🤗💯


Fixes related to the updated Slack and Watson APIs and the location

Several comments and minor changes are proposed in order to make the setup easier for the new user. The definition and content of the Slack tokens and the Watson IDs / keys have been updated, in order to work with present versions of the APIs. Further, more information about using Watson in different locations has been added. In this regard, some relevant comments have been included in the notebooks. In addition, the Pandas version has been updated to be compatible with Python 3.7. Finally, some required data (stop words, punkt tokenizer) are downloaded by default at the beginning to avoid errors related to the NLTK library.

Hi @Sundar0989, could you please take a look at this PR? It proposes minor changes to make the setup easier for the new user. Many thanks and best regards.

I proceed to close this PR, because it was not taken into consideration for > 6 months. I assume the repo is not being maintained anymore. The reader should note that the code within the present repo does not work, because the Slack and Watson APIs have changed over time. The code within my own fork / branch is more up-to-date. Many thanks and best regards.


chore: update postgres docker container version

Description
Hello everyone. I was setting up a dev enviroment and getting this error on ./sndev start:
 > [db 2/2] RUN apt-get update     && apt-get install --no-install-recommends -y postgresql-13-ip4r     && rm -rf /var/lib/apt/lists/*:
16.77 Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
17.34 Ign:2 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease
17.47 Get:3 http://deb.debian.org/debian buster InRelease [122 kB]
17.64 Err:4 http://apt.postgresql.org/pub/repos/apt buster-pgdg Release
17.64   404  Not Found [IP: <IP_ADDRESS> 80]
53.74 Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [610 kB]
81.88 Get:6 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
126.6 Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7,909 kB]
135.6 Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [610 kB]
283.6 Get:8 http://deb.debian.org/debian buster-updates/main amd64 Packages [8,788 B]
284.4 Reading package lists...
285.0 E: The repository 'http://apt.postgresql.org/pub/repos/apt buster-pgdg Release' does not have a Release file.
------
failed to solve: process "/bin/sh -c apt-get update     && apt-get install --no-install-recommends -y postgresql-13-ip4r     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

This pr fixes the issue for me.

Screenshots

Additional Context

Checklist
Are your changes backwards compatible? Please answer below:

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
1
For frontend changes: Tested on mobile? Please answer below:

Did you introduce any new environment variables? If so, call them out explicitly here:

@huumn<EMAIL_ADDRESS>thanks!


How to access background script public function

In my popup.js i used to do: bg = chrome.extension.getBackgroundPage() to get access to the background page. Then I could do bg.xxx() ...
However, with this setup, i am getting:
Uncaught (in promise) TypeError: bg.xxx is not a function

Any clue?

In my popup.js i used to do: bg = chrome.extension.getBackgroundPage() to get access to the background page. Then I could do bg.xxx() ...

Try chrome.runtime.getBackgroundPage instead of chrome.extension.getBackgroundPage
Also you can use messages to/from background page:
popup.js
chrome.runtime.sendMessage({purpose: "ping"}, function(response) {   console.log(response.resolution); });
background.js
chrome.runtime.onMessage.addListener(   function(request, sender, sendResponse) {   console.log(request.purpose);     if (request.purpose == "ping")       sendResponse({resolution: "pong"});   });

This happens because the background page in this setup is a module, so you can't access the methods from this module with this direct approach because the module encapsulates everything instead of defining everything in the global scope (which allowed you do this access).
Access directly to the methods from other contexts is a slightly bad practice, so the suggested method by @SzpakLabs is the recommended way to do this.

This is also somewhat bad practice, but if you really need to make your function global to the window object and access it with getBackgroundPage, you can do so by directly setting window.xxx = xxx;


#patch Allow unscoped filtering on all NamedEntity(Metadata) fields

This fixes a regression where attempting to filter the list endpoint for NamedEntities on any of the base fields (such as name) will incorrectly exclude any records which do not have a metadata entry.
This is due to the generated query containing a where clause pointing at the metadata table, instead of the primary table.
For NamedEntitiy objects, the behavior we want is that the core and metadata fields are treated all as a single struct. The fact that we store the metadata in a separate table shouldn't require that filters be scoped.
This fixes the issue by leveraging some customization logic we already have for execution fields, but allows replacing of the filter entity instead. For state and description, we want the filter to be against the NamedEntityMetadata type. For all others, we want to use NamedEntity.

Codecov Report

Merging #124 into master will decrease coverage by 0.00%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   62.24%   62.24%   -0.01%
==========================================
  Files         105      105
  Lines        7840     7845       +5
==========================================
+ Hits         4880     4883       +3
- Misses       2385     2386       +1
- Partials      575      576       +1

Flag
Coverage Δ

#unittests
62.24% <71.42%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/manager/impl/util/filters.go
71.54% <ø> (ø)

pkg/repositories/gormimpl/common.go
60.71% <ø> (ø)

pkg/common/filters.go
75.00% <66.66%> (-0.54%)
:arrow_down:

pkg/manager/impl/named_entity_manager.go
40.69% <100.00%> (ø)

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 6e2c136...76f107b. Read the comment docs.


Allow to provide Closure in runCommand()

Hi,
Currently the runCommand(String cmd) API accepts a String CMD, which (if the Docker-typed task is created 'staticly') mandates that the whole command is available at project evaulation phase.
The idea (feature request) would be to add additional API: runCommand(Closure commandSpec) to allow the actual command to be set at build stage.
Use case being: in some cases the very command is not known till other build tasks run.
Note, there sure exist other/better approaches to solving same issue of deferring command evaluation (using Closure just strikes me as having the lowest cost-to-implement)

That might be useful, to be to defer the evaluation to later. However, I don´t see a example of such case.
Do you have an example of that?

Hey @bjornmagnusson . Thanks for your response! Let me try to illustrate my point (if I failed miserably - please re-ask).
To be honest, my actual use case is very niche (and can be easily overthrown by 'just do it properly' argument :) ) , so let me try something abstract first:
Example1:
Consider a gradle task, called acquireLicense, that (somehow) produces a software activation key and a requirement to install said software inside Docker during your container build. It is one of caese where you wouldn't know the exact CLI to run till the very 'build' phase. (I believe this can rather easily be expanded to all subcases where you need to dynamically get the CLI to run, by either contacting remote servers or depending on other task build results).
The way I think about it, with some creativity, you could say it applies even to the apiPassword param of this plugin as well (that's a little controversial, though)
Example 2:
Another example is a rather simple need for 'consuming' other task's outputs. Assume you have a producePackage task that outputs an RPM package that you need to install inside the container. While you definitely can hard-code the package names in some places, a nice way of installing that inside the container could ideally be expressed as runCommand({ -> "dpkg -i ${producePackage.outputs.files.singleFile}" }    (BTW, using a neat closure-based syntax you can copy it inside container already)
Example 3: (not about runCommand but I believe it applies to the general idea)
if you had a container hierarchy (with a base image and a derived image), both build via separate Gradle projects... The only way to tie them together would be a static value of baseImage which implies you need to know the exact name and tag of base before the build even starts. This pushes all the versioning tasks into configuration phase and in some cases (actually - in my case), invokes some I/O as well.
My actual case:
I actually have a set of 'template' tasks that get shared among multiple projects for a very simplistic re-use (via apply from: myCommonTasks.gradle mechanism). Since they aim for reuse, some of the parts (like arguments to the runCommand) are provided via system properties and are 'specialized' by each project that includes them. Thing is, while most of the projects need to run all of the tasks, some only need a couple of them (some tasks get explicitly disabled). Since all the runCommand inputs, for all of the tasks that are added to the task graph need to be instantiated, I end up with providing myProperty = THIS_WILL_NEVER_BE_USED values before the apply from:...
All in all - yes, this is just bad design of my code, nothing more (those tasks should never get created, etc.) and I am definitely going to extract those to a plugin on their own. In other words, if this was the only use case, my proposal doesn't bring any more value than allowing individuals to write more bad code :). That said... I do hope the examples above provide a much more rational explanation, and... fact is most of the built-in plugins and the Gradle's DSL allow you to defer execution of nearly everything, which, aside the usefulness discussion - provides a great deal of flexibility.

tl;dr; I hardly see any case where the inability to defer evaluation of the actual commands couldn't be worked around this way or another. I am rather hoping that the (new) syntax would allow a more convenient way of expressing some intents without resorting to intermediary files or hard-coded names, etc. Not sure how costly would that be to implement, though.


Node version check w/o semver

This PR is an attempt to reduce the amount of friction users have with installing Ghost.
The other option rather than doing this would be simply to remove this check.
Unfortunately, different versions of npm all handle preinstall quite differently. The order of operations are completely different between npm@2 and npm@3. Further still, using npm install inside of a preinstall script runs into permissions issues frequently.
This PR removes the need for npm installing semver and also removes the require of package.json from the check that is run during the preinstall.
I'm then using a very simple strategy to attempt to match the current node version with one of the version strings in package.json#engines:

clean up the node version string to be just the first two digits: x.x - major & minor, as these are the only ones we ever want to match against.
for each version in engines:

detect the first char as ~ or ^ as we have to do different matches for these
also simplify the string to major & minor
for ~ check the strings are identical (0.10 or 0.12)
for ^ check the first number is the same (4) and the second number is the same or greater (2+)

This should also work when we remove ~0.10.0 and add ^6.??.0 in October.
I have tested this on my mac using both npm@2 and npm@3. I have tested both running npm install inside Ghost, and proxied testing npm install ghost by using a local package as described here.
I don't really know how to replicate the issues which result in the error npm WARN cannot run in wd - these are usually to do with needing sudo or some other permission issue?
If anyone has an idea what to test to see if this code is less painful, I'd be grateful.

closes #6691

removes dependency on semver & package.json in preinstall script
has a simplified proxy of semver to look for the right version numbers

Note: I'm aware we now have 2 checks which do roughly the same thing, as I didn't do anything with the one in startup-checks yet.
My main goal here is just to fix the install process before we do another release.
We're hatching a plan to completely overhaul the install process, so I'm not too worried about having stuff hanging around as that project will definitely fix it.

i like this improvement. i've tested so far with npm2 and several combinations, couldn't break it. will try on npm3 soon.

Just for reference, I seem to be able to switch npm versions quite easily by doing npm i -g npm@2 or npm i -g npm@3.

tested on npm3, found nada issues.


Composition Engine

Here at Chaordic we use Librato and Graphite. Librato for several reasons. As you all know Librato can't compose metrics using functions like Graphite (ex.: Graph Data > Apply Function > Calculate > Ratio). So we built an engine to compose metrics based on existing ones.
Metrics are sent to the composition engine before flushing it to backends. Compositions are calculate based on rules defined at a source file. For example:
Rule:
{
      name: "#0.ctr.#1",
      regexp:[
        /^([a-z]+)\.click\.([a-z]+)/,
        /^([a-z]+)\.view\.([a-z]+)/
      ],
      compose: function(click, view) {
        return 100 * (click / view);
      }
}

Source Metrics:
{
    counters: {
        "site.click.page": 10,
        "site.view.page": 100
    }
}

The engine will store it matching metric to an array [10, 100] where 10 is the first matching regexp and 100 is the second matching regexp. After all matches in metrics the engine starting applying collected metrics to user-defined compose functions. So it will become:
click = 10;
view = 100;

Applied to:
compose: function(click, view) {
    return 100 * (click / view);
}

Will result: 10
The output compose metric will be named like name attribute defined in the rule object. The sharps are back reference to the matching strings, so:
#0 = site
#1 = page
Then, output metric will be:
site.ctr.page = 10
The final metrics object to be flushed to backends will look like:
{
    counters: {
        "site.click.page": 10,
        "site.view.page": 100,
        "site.ctr.page": 100
    }
}

Cheers!

Wow was surprised to see this pop up in my inbox in 2016. Probably worth noting for posterity while the limitations of composing metrics were true in 2013, Librato added support for "composite metrics" about a year later and have been expanding on them in the two years since.


use escape char to differentiate formatting from literal backslash

use escape character to differentiate formatting marks from literal backslash
add tests for manpage backend
consolidate manify method

Hmm. Your changes work on sample manpages I pulled it into my fork. However, when I create a new PR back to asciidoctor, it fails the AppVeyor and Travis CI checks. This happens both when I simply merge your change, and also when I merge both it and the upstream asciidoctor. It's quite possible I ruined something in my branch.
If you have a working fork that succeeds at the checks, you should probably merge to master directly. Anything I may have initially had in my manpage-backslash-is-verbatim-inside-listing branch is completely superseded by what you wrote anyway.

I'll have a look. I'm sure we can get to the bottom of it.

I had broken the tests on Ruby 1.8 and 1.9 (I'll be so happy when we can finally get rid of those archaic beasts).
Merged as 31feac906f023ca413dc96040c3464815fa3bee1.
Thanks!
Moving forward, we can be more confident about changes to the manpage converter now that we actually have some tests for it :)

Excellent; thanks! Here's to a new golden age of man pages. :-)

:trophy:

Thanks for pushing it to a new level!


build: Remove error-prone bundle images

Can you give some context to this PR @roschaefer ??
I don't think anyone this week ran into any of this errors, did they?

Yes, we had difficulties during setup.


updated import to point to libs repository; removed duplicates

https://www.pivotaltracker.com/story/show/162850480


BUG: Fix screenshoturls extension metadata

Fix 404 error updating URLs to all use https://www.slicer.org/slicerWiki/ instead of https://www.slicer.org/w/.
These changes are done anticipating the integration of the following pull requests:

https://github.com/Slicer/Slicer/pull/7629
https://github.com/Slicer/ExtensionsIndex/pull/2011

cc: @lassoan


Help in the use of puppeteer-cluster

Hello,
I'm practicing with headless browser and I plan to make a little viewerbot. The goal would be to be able to put a site where a stream is broadcasted and to be able to choose a number of viewers to send on the stream with the possibility to increase the number or to reduce it without relaunching the app.
Currently I have some problems with the use of puppeteer-cluster.
1/ I can't find a way to handle the number of active tasks at the same time, how to add or remove at any time. That is to say my number of viewers in this case. Would Puppeteer be better than Puppeteer-cluster for my use?
2/ When the tasks of the cluster go live if I have a timeout problem on a single task it's all the others that crash as well. How can I fix that?
3/ Once the task is launched how to make sure that it never ends, that the viewer is on the page without being detected AFK or that the task is finished.
const {Cluster} = require('puppeteer-cluster');
const vanillaPuppeteer = require('puppeteer')

const {addExtra} = require('puppeteer-extra')
const Stealth = require('puppeteer-extra-plugin-stealth')

async function main() {

  const puppeteer = addExtra(vanillaPuppeteer)
  puppeteer.use(Stealth())

  let viewers = 3;
  let live = 'https://a-live-stream.com';

  const browserArgs = [
    '--no-sandbox',
    '--disable-setuid-sandbox',
    '--disable-infobars'
  ];

  const proxies = [
    'proxy:port',
    'proxy:port',
    'proxy:port',
  ];

  let perBrowserOptions = [];

  for (let i = 0; i < viewers; i++) {
    perBrowserOptions = [...perBrowserOptions, {args: browserArgs.concat(['--proxy-server=' + proxies[i]])}]
  }

  const cluster = await Cluster.launch({
    puppeteerOptions: {
      headless: false,
      args: browserArgs,
      executablePath: 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe'
    },
    monitor: false,
    puppeteer,
    concurrency: Cluster.CONCURRENCY_BROWSER,
    maxConcurrency: viewers,
    perBrowserOptions: perBrowserOptions
  });

  cluster.on('taskerror', (err, data) => {
    console.log(`Error crawling ${data}: ${err.message}`);
  });

  const viewer = async ({page, data: url}) => {
    await page.goto(url, {waitUntil: 'networkidle2'})
    const element = await page.$('iframe')
    await element.click()

    console.log('#Viewer live')
    await page.waitFor(3000000)
    console.log('#Closed')
  };

  cluster.queue(live, viewer)
  cluster.queue(live, viewer)
  cluster.queue(live, viewer)

  await cluster.idle()
  await cluster.close()
}

main().catch(console.warn)

Sounds like you are looking for a statistics API. This is currently not implemented... See #8

What you mean with crash? Does the whole cluster crash? This should not be happening. The library will always try to restart the browser. Regarding your code: Please be more specific and provide a minimal example with the problem.

See https://github.com/thomasdondorf/puppeteer-cluster/issues/147#issuecomment-490203944

Feel free to reopen with improved code or if anything is unclear.


feat: support explain syntax

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Support explain syntax like this:
explain select * from foo

Checklist

[x]  Add explain to sql parser
[x]  Add explain test to sql parser
[x]  Handle explain in DataNode
[x]  Handle explain in Frontend

Refer to a related PR or issue link (optional)
Closes #531

@v0y4g3r Hi Lei, Could you review this PR, If you have time.

@v0y4g3r Hi Lei, Could you review this PR, If you have time.

Glad to help. We will finish the review asap.

@francis-du Could you please fix the failing clippy check? You can test before push by running following command in your own machine:
cargo clippy --workspace --all-targets -- -D warnings -D clippy::print_stdout -D clippy::print_stderr

@francis-du Could you please fix the failing clippy check? You can test before push by running following command in your own machine:
cargo clippy --workspace --all-targets -- -D warnings -D clippy::print_stdout -D clippy::print_stderr

cargo clippy validation passed locally

I think the Clippy error comes from GitHub Action


pressure sensitivity

How do you achieve pressure sensitivity while using Apple Pencil?

Sorry I've never tried that kind of features.
If I could find the way to do it, I'll apply it.


Fix edit functionality -- stop editing when another todo clicked

See #8

Clicking on another todo ends current edit but doesn't start a new one - potential bug to fix? See #18


Added Mac OS ignore

removed .DS_Store files
Reasons for making this change:
TODO
Links to documentation supporting these rule changes:
TODO
If this is a new template:

Link to application or project’s homepage: TODO

Thanks, but see Global\macOS.gitignore


Add shell completion support via argcomplete

Could replace the extras/ completions with this I think. And if argcomplete dependency isn't desired, I suppose it could be made optional.

Rebased on current master.

Codecov Report

Merging #957 (1535bb9) into master (9764cc7) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #957   +/-   ##
=======================================
  Coverage   97.28%   97.28%
=======================================
  Files          67       67
  Lines        4235     4239    +4
=======================================
+ Hits         4120     4124    +4
  Misses        115      115

Impacted Files
Coverage Δ

httpie/__main__.py
100.00% <ø> (ø)

httpie/__init__.py
100.00% <100.00%> (ø)

httpie/cli/definition.py
100.00% <100.00%> (ø)

httpie/core.py
92.30% <100.00%> (+0.10%)
:arrow_up:

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 4eaa4d6...1535bb9. Read the comment docs.


chore: updating README.md

Description
Fix the artifact name in the README
Reviewer Checklist

[X] Description of Change
[X] Description of outside testing if applicable.
[X] Description of Roll Forward / Backward Procedure
[X] Documentation updated for Change

Thanks for pointing this out! We got this change included with #31. I was hoping to merge your PR a few days ago, but we seem to have some issues with our GitHub Actions workflows when builds run for PRs submitted from external forks (secrets aren't being injected properly). Sorry about that, but thanks for the contribution!


add tflite generative ai example

Add TFLite generative AI Android example
https://codelabs.developers.google.com/kerasnlp-tflite#0

Thank you so much for your reviews @JunyoungLim ! The team revised the code in the latest commit. Tested in Android Simulator.

Thank you so much  @JunyoungLim ! Resolved in the latest commit.


Vickel: Watch travellingspots.com

Vickel requests the watch of the watch_keyword travellingspots\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by double-beep in Charcoal HQ

travellingspots\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


The file was changed resolving the issue

There was a configuration issue. By resolving the issue the email verification link was sent to the registered user's email address and only after verification the user was been checked as verified.

Issue Resolved


Missing docs.. great library but we can't use it....missing even basic of good docs

We need an updated wiki or readme 👎

I've added a page to the wiki which gives an example of how to use this library. Took a while for me to figure it out myself, thought it'd be nice to share with others so they don't have to go through the same thing.
See https://github.com/vikramkakkar/SublimePicker/wiki/Example


[Q] Best option to reorder audio stream

Hi,
I want to change the order of the audio streams for a digital television service. I need to set the default version, and change the order of others. What's the most simple action to achieve this? Changing the PMT table manually?
Thank you.

Hi @lars18th
To my knowledge, there is no standard way of defining the "order of the audio streams" or even the "default version". This is either receiver-specific (hard-coded or through some settings menu) or defined in the private signalisation of an operator.
A receiver may decide to display the list of audio versions in whatever order, hard-coded, in the order of appearance in the PMT, sorted in alphabetical order, according to some private descriptor in the PMT, BAT or NIT, etc.
You need to understand how the languages are sorted in your environment (operator and receiver devices). Then, you will be able to implement the change. Or not. Only if there is a solution at network-level, and not only at receiver level.

Hi @lelegard ,
Thank you for the clarification. However, any idea to reorder the audio tracks in the PMT? I feel that the most generic approach is the appearance order, plus the prefered language and country descriptors.

Currently, the PMT is implemented as a C++ map of PID -> stream. A map is, by definition, implemented in order of keys, here PID's. When the PMT is serialised (converted to binary), the streams are consequently written in order of PID.  In the plugin pmt, the modifications are applied on the PMT C++ object, where the streams cannot be reordered.
So, reordering the streams in the binary PMT would need another approach. I will think about it.

OK, I added sorting hints inside the PMT C++ class. Currently, these sorting hints are only set when reading a binary PMT or an XML PMT.
The net result, for now, is that a generated binary PMT now restores the same order of PID's as input, no longer the order of PID values.
More generally, this update gives the possibility to affect the order of PID's in the PMT. Previously, this was not possible.
When I have time, I will add options to the plugin pmt such as --sort-pid 342,43,0x34 and --sort-languages end,fre,deu. The latter applies to audio and subtitles.

Thank you @lelegard for consider this enhancement! 👍

Done, options --sort-pids and --sort-languages were added.

Thank you. Well done. I close this issue.


chore(master): release 1.1.14

:robot: I have created a release beep boop
1.1.14 (2023-04-09)
Miscellaneous

deps: update quay.io/keycloak/keycloak docker tag to v21.0.2 (45ffe5e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.14 :sunflower:


Internal Server Error while running "npm run dev"

getting this error when i try to start........

Hi, i think is the same error https://github.com/mickasmt/next-saas-stripe-starter/issues/28


Torch("forward did not return a tensor")

Thank you so much for creating this amazing library
I meet a very import issue for me . But I can not solve by myself.
May I have a question for you, if you have free time. well~
NLP filed
well. I convert a pytorch model to .pt file. but this model output is a tuple type of python
save model to .pt file
from transformers import BertModel, BertTokenizer, BertConfig
import torch

enc = BertTokenizer.from_pretrained("bert-base-uncased")

# Tokenizing input text
text = "[CLS] Who was Jim Henson ? [SEP] Jim Henson was a puppeteer [SEP]"
tokenized_text = enc.tokenize(text)

# Masking one of the input tokens
masked_index = 8
tokenized_text[masked_index] = '[MASK]'
indexed_tokens = enc.convert_tokens_to_ids(tokenized_text)
segments_ids = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1]

# Creating a dummy input
tokens_tensor = torch.tensor([indexed_tokens])
segments_tensors = torch.tensor([segments_ids])
dummy_input = [tokens_tensor, segments_tensors]

model = BertModel.from_pretrained("bert-base-uncased", torchscript=True)

# Creating the trace
traced_model = torch.jit.trace(model, [tokens_tensor, segments_tensors])
torch.jit.save(traced_model, "traced_bert.pt")

test this .pt file in python is ok

loaded_model = torch.jit.load("traced_bert.pt")
loaded_model.eval()

all_encoder_layers, pooled_output = loaded_model(*dummy_input)

print(all_encoder_layers.shape)
print(pooled_output.shape)

well. May be you have notion that loaded_model(*dummy_input) return a tuple in python
then I use this .pt in rust
use tch::jit;
use tch::CModule;
use tch::Tensor;

fn main() {

    let model = jit::CModule::load(
        "./traced_bert.pt",
    )
    .unwrap();

    let attention_mask = Tensor::of_slice2(&[[
        101, 2040, 2001, 3958, 27227, 1029, 102, 3958, 103, 2001, 1037, 13997, 11510, 102,
    ]]);

    let input_ids = Tensor::of_slice2(&[[0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1]]);

    let result = model.forward_ts(&[attention_mask, input_ids]).unwrap();

    println!("Hello, world!");
}

but raise some err:
warning: `rustinfer` (bin "rustinfer") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
     Running `target/debug/rustinfer`
conda activate devc
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Torch("forward did not return a tensor")', src/main.rs:23:66
stack backtrace:
   0: rust_begin_unwind
             at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panicking.rs:142:14
   2: core::result::unwrap_failed
             at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/result.rs:1805:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/result.rs:1098:23
   4: rustinfer::main
             at ./src/main.rs:23:18
   5: core::ops::function::FnOnce::call_once
             at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

in a summary, this error is show that Torch("forward did not return a tensor")
so. how can I solve this problem. rewrite forword_ts method or else?
how use tuple of python in rust?
finally
thanks~

thanks~ I had solved it by change model output(just output a Tensor)

@yuanzhoulvpi2017 can you please provide a code update on how you solved this?


Best practice for embedding gltf-viewer on website

On your website you have several embedded gltf-viewers of your car assembly and parts for example.
This is a really neat feature and something I would want to have on my website as well to showcase my 3d-models and designs.
What do you think about documenting the steps to do this in the documentation. And on the same time look into what the best practice would be? Maybe there are more convinient ways than what you do right now?
I have been looking at clay-viewer which looks really nice and opens and views the gltf-models from cqparts just fine. I am not sure how to embed it yet though.
https://pissang.github.io/clay-viewer/editor/
https://github.com/pissang/clay-viewer

This might be a good conversion for @RustyVermeer to be involved in. He's done some similar work with web viewers,.
https://rustyvermeer.github.io/design/web_viewer/

I did some experimentation last night with threejs and the GLTFLoader.
It is a very convenient solution and quite easy to get started with. I tested it with the Duck.gltf example. and followed these instructions.
https://threejs.org/docs/#manual/introduction/Creating-a-scene
https://threejs.org/docs/#api/lights/HemisphereLight
https://threejs.org/docs/#examples/loaders/GLTFLoader
However there seems to be some incompatibilties with the gltf-files generated by cqparts. I couldnt render them using threejs.
However, the files generated from cqparts opens in Clay-viewer without problems.
https://pissang.github.io/clay-viewer/editor/
@fragmuffin do you know the reason why the gltf from cqparts doesnt render in threejs?

Here is an example for how to load a gltf model using ClayGL
http://examples.claygl.xyz/examples/basicGLTFCameraAnimation.html

@jmwright sorry for silence for some time... been busy.
@gntech in general, I think it's difficult to define 'best practices' for something like a viewer. This is in part due to the many options users have for file output types. That alone makes it somewhat difficult to plan for what people might have in mind for their own use cases.
As such, I think over time people conclude that something like WebGL is fairly accessible for people to 'roll their own' viewers. This is certainly what happened for me.
The link Jeremy provided to an example viewer of mine uses .json filetype and a Three.js scene I made myself (it's not necessarily the best way it could be made).
I have a slightly modified version of that web viewer which uses .gltf filetype
https://github.com/RustyVermeer/desk/tree/master/web_view
In order to get this to work, I DID have to modify the qparts code.
The culprit, if I recall correctly is in the materials.
You can test this yourself by opening a gltf that you want to load with Three.js and finding all of the materials nodes eg:
"materials": [
    {
      "alphaCutoff": 1.0,
      "alphaMode": "MASK",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          0.7529,
          0.7529,
          0.7529,
          0.8
        ],
        "metallicFactor": 0.1,
        "roughnessFactor": 0.7
      }
    }
  ],

And change the alphaMode from MASK to BLEND. An example from my gltf file:
  "materials": [
    {
      "alphaCutoff": 1.0,
      "alphaMode": "BLEND",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          0.7529,
          0.7529,
          0.7529,
          1.0
        ],
        "metallicFactor": 0.1,
        "roughnessFactor": 0.7
      }
    }
  ],

The code change to cqparts, I believe was just one line:
https://github.com/fragmuffin/cqparts/blob/ed71b559b4f0c1be04cecbcd81da7c27e53e4ebd/src/cqparts/display/material.py#L173
@fragmuffin I changed this on a local copy of the cqparts library as a 'quick fix' for my own purposes. I do not know if such a change is appropriate, or if this should be handled in a different way?

@RustyVermeer Thanks for tip about the material! When I opened this issue I felt like I was hitting my head against the wall trying to get the 3d-model to render using ThreeJS. Now it works flawlessly.
Regarding a fix for the alphamode issue. Perhaps "Blend"-alphaMode is just not supported by ThreeJS. As I mentioned, the model opens fine in Clay-viewer without changing the alphamode.
Maybe we could add an optional "alphaMode"-parameter to the GLTFExporter()-function that defaults to "MASK"? Thoughts?

Hm.. that could work. I can foresee a future though where every user wants something just slightly different. Over time it might get cumbersome to maintain code to handle all kinds of parameters / cases.
Maybe it makes sense to have a sensible template with defaults that can be useful in the major WebGL setups (Babylon.js, Three.js, cesium.js, maaaybe one more?). Then, if someone wants anything more particular, they provide a flag that points the gltf converter to a custom template.
That custom template would be assumed correct, from cqparts perspective, and it would just dump the appropriate geometry into the correct spots in the template.
Just a rough idea. Cqparts is essentially all the hard work of @fragmuffin , who would probably have a clearer picture of how to appropriately handle something like this.

Woah, I've missed a lot in 3 days!
@gntech

do you know any reason for why the gltf from cqparts doesnt render in threejs?

Yes, as @RustyVermeer mentioned, the ALPHA is an issue, but I didn't know BLEND would work.
@donmccurdy found an alternative solution here.
The real problem is that the rendering properties were "designed" by trial and error :roll_eyes:.
My plan has been to improve this in issue #36

Maybe we could add an optional "alphaMode"-parameter to the GLTFExporter()-function that defaults to "MASK"? Thoughts?

[ ] I can do that.

@RustyVermeer, you're not wrong about these parameters being difficult to maintain, but in this case I can add a **kwargs parameter to the exporter, and log a warning for any unused parameters.
@gntech : to your original question

What do you think about documenting the steps to do this in the documentation. And on the same time look into what the best practice would be? Maybe there are more convinient ways than what you do right now?

There are definitely better ways to do it, at present each render is done in its own frame. This doesn't seem too bad, until you do a full refresh and watch the aframe framework get downloaded 10 times for a single page.
I was thinking of eventually creating a gltf based viewer that also displayed metadata from cqparts (like a hierarchy of parameters and their values), and had some basic options for rendering, like hide/show particular parts, or wire-frame, semi-transparency, animations (like a turntable, also animations for more complex constraints when they're introduced)
But also, I like the idea of a guide for display in a range of frameworks... I can aim for:

[ ] Three.js
[ ] A-Frame
[ ] Babylon.js
[ ] cesium.js

Am I missing any?

For what it's worth you can embed my viewer (https://gltf-viewer.donmccurdy.com/) if you like. It uses threejs, but the issue with threejs will be fixed soon. Embed it like this:
<iframe src="https://gltf-viewer.donmccurdy.com#kiosk=true&model=<MODEL-URL>" frameborder="0" width="600px" height="400px"></iframe>

But there are much more efficient ways to render than iframes, if you have many parts on the same page. :)

Hi Dom,
I've experiencing the same issue: “An embedded page at gltf-viewer.donmccurdy.com says:
Unable to retrieve this file. Check JS console and browser network tab”
I've made a simple HTML page with your iframe in it. I'm using WordPress, added code in PHP to allow CORS (following instructions from 2 separate blogs), but still, nothing... any tips?

Usually this error means that your .glb/.gltf file is hosted in a way that prevents my site from accessing it. I'm afraid I don't know much about WordPress configuration, but feel free to open an issue on https://github.com/donmccurdy/three-gltf-viewer and I'll try to help there.
More recently, the https://modelviewer.dev/ project provides a really nice model embedding solution. It's faster and more customizable than embedding my viewer, and can avoid CORS complexity, so I'd recommend giving it a look. 🙂

Very helpful. Thank you Dom! 👍

Hello Don,
I have tried to use the iframe with a glb in my firebase storage, but it looks like you discard the url arguments after the "&".
Since the storage url uses a token
for example the : "https://firebasestorage.googleapis.com/v0/b/myproject.appspot.com/o/Test%2Ftest-web.glb?alt=media&token=my-secret-token" will discard "&token=my-secret-token" and use it as an argument for your site. This means that firebase storage will refuse my read since i'm not identified anymore...
I don't have any idea to make it work, do you have any tips?
And great job on this viewer by the way, it's awesome :D

All good, I just had to use encodeURIComponent(myUrl).
Sorry for the useless question :)


linux icon is not working

Hi, thanks for your hard work on this template. I was wondering if you could point out how to add a linux icon here?
Thanks again!

one other note is when I run npm run build I notice in the release folder it produces a folder that looks like this:
release
  - ${version} // this is the actual name
    icon_16x16.png
    icon_....png

Hey @lifeiscontent! Seems like electron-builder had an update where Linux builds are not using .ico files anymore. I will take a better look on weekend but seems like you just have to add PNG files to the resources and change the configuration. Please take a look at the electron-builder configuration reference

@PAXANDDOS I've dug into it a bit and even setting the png file directly as: electron/resources/icon/256x256.png does not work, I've got target set to AppImage, just for context, but for the life of me I have yet to figure this one out, so any help here would be much appreciated!

You specified the path as electron/resources/icon/256x256.png but you forgot the s, documentation says it should be electron/icons/* unless changed in the electon-builder config. You can also place a single icon.png under resources.
But they also say that the best way to add Linux icons is to use macOS icons. Linux icon set will be generated automatically based on the macOS icns file or common icon.png. You can use any online convert tool to make your icns.

@PAXANDDOS I've tried doing both of those and they don't work, you can see the project here: https://github.com/bitgo/wallet-recovery-wizard/tree/fresh-start

but also, the template doesn't have an icon for linux AppImages either

That's pretty strange since build resources are specified explicitly. We'll take a note, thanks so much for investigating! ❤


Multiple lasso

Hi,
First of all thanks for this awesome plugin.
I write this in order to say that I would like to have various graphs with a lasso in each one and manage the selections. I have not been able to make this work and I haven't seen any option or mention of this. I am looking at the plugin code now. I am thinking on coding something in order to do this if I see that is not possible. I would appreciate some help or maybe is a very simple issue and you can explain me how to do it.
Thanks!

Hi, I see you closed this. Does that mean you solved the issue?
You should be able to instantiate multiple lassos on a page, like
var myLasso1 = d3.lasso();
var myLasso2 = d3.lasso();
You could use them for separate graphs that way; they will just need to have different areas assigned to keep them separate during the lasso interaction.

Hi thank you for the rapid response! :) I closed it because I thought I post it too fast and maybe it was not and  issue and is just that I didn´t know how to do it. I still haven´t been able to make it work though. My setup is a bit different. I have extracted the lasso to be a function outside the graph.
function lassoFunction(svg) and I return the lasso. I pass the svg in order to keep the areas asigned different.
I have another function that paints scatterplot charts inside it a variable called lasso = lassoFunction(svg) this one passes the svg in which is rendering.
I create 2 graphs rendering in 2 different svgs. The first one the lasso works perfectly. The second one the lasso runs and paints but does not enter somehow the lasso_draw function it never runs jumps from lasso_start and when you finish the selection to lasso_end, so the d.possible does not get assigned. lasso_start and lasso_end work perfectly. You have any idea why this might be happening?

Would it be possible for you to post some example code for me to look at?
Thanks
On Wed, Feb 11, 2015 at 7:31 PM, whatwehaveunlearned <
<EMAIL_ADDRESS>wrote:

Hi thank you for the rapid response! :) I closed it because I thought I
post it too fast and maybe it was not and issue and is just that I didn´t
know how to do it. I still haven´t been able to make it work though. My
setup is a bit different. I have extracted the lasso to be a function
outside the graph.
function lassoFunction(svg) and I return the lasso. I pass the svg in
order to keep the areas asigned different.
I have another function that paints scatterplot charts inside it a
variable called lasso = lassoFunction(svg) this one passes the svg in which
is rendering.
I create 2 graphs rendering in 2 different svgs. The first one the lasso
works perfectly. The second one the lasso runs and paints but does not
enter somehow the lasso_draw function it never runs jumps from lasso_start
and when you finish the selection to lasso_end, so the d.possible does not
get assigned. lasso_start and lasso_end work perfectly. You have any idea
why this might be happening?
—
Reply to this email directly or view it on GitHub
https://github.com/skokenes/D3-Lasso-Plugin/issues/1#issuecomment-73995221
.

Sure!
I attach both functions lassoFunction creates the lasso and function scatterplot creates a scatterplot and calls the lassoFunction. I create two scatterplots using this function.
The actual code is here: https://github.com/whatwehaveunlearned/visualizator
I am just thinking about solutions so I have no documentation sorry for that, but in case you want to try it launch browse to main.html do a lasso in the graph click the selection and click add in the menu this should create another scatterplot and you can see what is happening...
Thank you so much! :)
function lassoFunction (svg,color){
// Lasso functions to execute while lassoing
var lasso_start = function() {
lasso.items()
//.attr("r",3.5) // reset size
.style("fill",null) // clear all of the fills
.classed({"not_possible":true,"selected":false}); // style as not possible
};
var lasso_draw = function() {
// Style the possible dots
lasso.items().filter(function(d) {return d.possible===true})
.classed({"not_possible":false,"possible":true});
// Style the not possible dot
lasso.items().filter(function(d) {return d.possible===false})
  .classed({"not_possible":true,"possible":false});

};
var lasso_end = function() {
var selected;
// Reset the color of all dots
lasso.items()
   .style("fill", function(d) { return color(d.species); });

// Style the selected dots
selected=lasso.items().filter(function(d) {
  console.log("s");
  return d.selected===true})
  .classed({"not_possible":false,"possible":false})
  .attr("r",17)
  .on("click",function(d){
    menu(d3.mouse(this),svg);
  });

// Reset the style of the not selected dots
lasso.items().filter(function(d) {return d.selected===false})
  .classed({"not_possible":false,"possible":false})
  //.attr("r",3.5);

  for (i=0; i<selected[0].length;i++) {
    selectedItems.push(db[selected[0][i].id.split("_")[1]])
  }

//Remove duplicates from selectedItems
removeDuplicates(selectedItems);

};
// Create the area where the lasso event can be triggered
var lasso_area = svg.append("rect")
.attr("width",width)
.attr("height",height)
.style("opacity",0);
// Define the lasso
var lasso = d3.lasso()
.closePathDistance(75) // max distance for the lasso loop to be closed
.closePathSelect(true) // can items be selected by closing the path?
.hoverSelect(true) // can items by selected by hovering over them?
.area(lasso_area) // area where the lasso can be started
.on("start",lasso_start) // lasso start function
.on("draw",lasso_draw) // lasso draw function
.on("end",lasso_end); // lasso end function
// Init the lasso on the svg:g that contains the dots
svg.call(lasso);
return lasso;
}
function scatterPlot(){
graphCounter = graphCounter +1;
areaCreator(graphCounter);
var x = d3.scale.linear()
.range([0, width]);
var y = d3.scale.linear()
.range([height, 0]);
var color = d3.scale.category10();
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(y)
.orient("left");
var svg = d3.select("#graphArea"+graphCounter).append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
//Call lasso function
var lasso = lassoFunction(svg,color);
//lassoArray.push[lasso];
x.domain(d3.extent(dataset, function(d) { return d[0]; })).nice();
y.domain(d3.extent(dataset, function(d) { return d[1]; })).nice();

svg.append("g")
    .attr("class", "x axis")
    .attr("transform", "translate(0," + height + ")")
    .call(xAxis)
  .append("text")
    .attr("class", "label")
    .attr("x", width)
    .attr("y", -6)
    .style("text-anchor", "end")
    .text(plot.xAxis);

svg.append("g")
    .attr("class", "y axis")
    .call(yAxis)
  .append("text")
    .attr("class", "label")
    .attr("transform", "rotate(-90)")
    .attr("y", 6)
    .attr("dy", ".71em")
    .style("text-anchor", "end")
    .text(plot.yAxis)

svg.selectAll(".dot")
    .data(dataset)
  .enter().append("circle")
    .attr("id",function(d,i) {return "dot_" + i;}) // added
    .attr("class", "dot"+graphCounter)
    .attr("r", 3.5)
    .attr("cx", function(d) { return x(d[0]); })
    .attr("cy", function(d) { return y(d[1]); })
    .style("fill", function(d) { return color(d.species); });

lasso.items(d3.selectAll(".dot"+graphCounter));

var legend = svg.selectAll(".legend")
    .data(color.domain())
  .enter().append("g")
    .attr("class", "legend")
    .attr("transform", function(d, i) { return "translate(0," + i * 20 + ")"; });

legend.append("rect")
    .attr("x", width - 18)
    .attr("width", 18)
    .attr("height", 18)
    .style("fill", color);

legend.append("text")
    .attr("x", width - 24)
    .attr("y", 9)
    .attr("dy", ".35em")
    .style("text-anchor", "end")
    .text(function(d) { return d; });

title(svg);

}

I am getting an error on this line on the ondraw function. in lasso.js
Cannot read property 'value' of undefined
var complete_path_d = d3.select("path")[0][0].attributes.d.value + "Z";

have you been able to take a look at it? I had not been able to fix the issue.

Hi,
I am going to take a look at it this weekend. Thanks
Speros

No, thank you! :)

Hey, just an update - I am still looking into this.
Thanks
Speros

I see you are doing changes I change my code accordingly hehe. How is it going now way to find the issue?

Hey, I think I have fixed the issue. Can you pull down the latest version of lasso.js and try it?
Thanks
Speros

O my God! Im so happy! It works!!! Hehe. Let me give it a little bit more testing in a few hours but it looks like it works!! Thank you so much!
Another thing i have been thinking about is have you tested the lasso in a scatterplot of a lot of dots say 10-50000 points. I tried it and I think it can not handle it. But maybe it was part of my code. Even though I imagine looking at the code that the scalability is difficult because you have to track all the points of the graph at the same time. what do you think?
Again thank you so much for your time! :)

I'd anticipate poor performance with that many items. Every time you drag the lasso, it re-checks every single item to see if it is inside the lasso or not. This check involves several conditional statements that are evaluated. With a lot of items, I think those operations would add up and slow things down.

I won’t look at the issue for now. But probably in the near future I will need to address the issue of creating the selection in a way where it is feasible to scale for so many points. I think one way is checking less times during the drag. Even though your selection will not be so accurate but it could do the trick. It would be interesting for you to make it scalable for so many points?
Alberto González Martínez
<EMAIL_ADDRESS>
On Feb 27, 2015, at 4:27 PM, Speros Kokenes<EMAIL_ADDRESS>wrote:
I'd anticipate poor performance with that many items. Every time you drag the lasso, it re-checks every single item to see if it is inside the lasso or not. This check involves several conditional statements that are evaluated. With a lot of items, I think those operations would add up and slow things down.
—
Reply to this email directly or view it on GitHub https://github.com/skokenes/D3-Lasso-Plugin/issues/1#issuecomment-76505447.

Thanks Skokenes for update it, I had the same problem.


motion.py "screen" in not defined

Hello All,
Can any one help me solving this issue.
Im getting an error  in "motion.py screen is not defined."
Thanks,
Lakshmi.

fix for screen,
https://github.com/Sentdex/pygta5/pull/64/commits/6639a0226f4355736407f7d23a9ad75fc9e1acb6
fix for delta count
https://github.com/Sentdex/pygta5/issues/50


Enable multi-core build

This commit enables utilization of all available cores on
multi-core machines. It speeds up node-js compilation, as
well as improves npm install command to use multi job
switch when compiling node add-ons using node-gyp.

Build was successfully tested with v0.12.7, v4.2.2 and v5.0.0.

This is beyond awesome.
I'll test and look forward to merging this PR.

I've not tested anything yet, but I'll be looking into concurrency issues when compiling built-in dependencies such as v8 and openssl. Additionally I know that Node.js unit tests could have some sensitivity to concurrency issues when building with parallelizing make using all cores.
Good reference for this is the way Node.js project builds the development and release binaries.
They seem to do make -j$(expr $(expr $(nproc) + 1) / 2) which means that they are not using every CPU core available, but only (n+1)/2.

@imyller I haven't found any problems with concurrent build using all cores. I doubt that the number of cores has been chosen because of concurrency issues, since n can be anything in this equation (2 or 40, depending on the build system). IMHO the equation is like this because this is more optimal way to utilize CPU and keep the whole system responsive enough. If there was any issue with concurrent build of nodejs using multiple cores, it should be raised as a serious issue in nodejs project.

Updated this commit to use default bitbake variable. This variable can be tuned in local.conf for global settings.


Discord forwards all chat messages, not just ones pinging @Discord or specific users

This issue is still ongoing, came here to report it.


[MAINT, MRG] Fix failing flake tests

Fixes flake failing here: https://github.com/mne-tools/mne-python/pull/11352

Thanks @alexrockhill!


What should I

I am wondering what should I do if I want to use xxtea to encrypt my datebase?
Where should I modify?


[shell] devices appear as undefined:undefined

@zhenyasav there's likely some sdk work involved in longer term solutions here, but in the mean time I understand we want to make this look less broken. Do you have preferences for a fallback value? "unknown" feels just a bad as "undefined" in this case. Generated names are confusing, but at least feel less bad than this in terms of a placeholder.


Show full scrollbar on url dataset and paging.

on large scroll implemented partial download with index of cached part

Thank you for your contribution. However, I cannot yet accept this pull request. I have left your some comments in the code, but as for "AP19" as it is references in the code, can you please explain what did you try to archive? I cannot figure out from the code what was wrong. Infinite scroll seem to have been working great, and as it is the very code feature, I need to understand what you were trying to do.

I did not clean the code, sorry. it was a quick change that I needed .. the next few days I will pull a well commented version with some small improvements on the loading speed and to correctly reposition the update even if in subsequent pages (which I need and, I think, it could be useful)

Closing due to inactivity


Void Fire under blast furnace not working?

Hi, I can't seem to power the blast furnace. The void power is going in correctly, but no matter what I try I can't get the fire to work with the furnace. I'm using the obsidian filled flask to make the fire UNDER the furnace, but to no avail. Let me know if I'm missing something or if it's a bug. Great mod though!

Void fire directly underneath, voidic power, and the two dusts must be the infused kind from my mod, coal and iron. This is all correct?

Seems fine to me.


[3.0] [Mono] Backport fix to Quat Equals

Not that I actually recommend any C# users use 3.0, but I realized this fix wasn't backported and it probably should be. It's a simple enough fix. #26023 @akien-mga
Co-authored-by: RomanAkberov<EMAIL_ADDRESS>

As you said, there's really no reason for C# users to use 3.0. If we publish 3.0.7, we don't plan to ship a Mono build either. So I don't think it's worth trying to sort out cherrypicks that wouldn't break compat in the hundreds of fixes made for 3.1 and later.


Python 3.8 support

time.clock() was deprecated in Python 3.3, and removed in Python 3.8. Python 3.8 will be released on 14th October. See PEP 596 for more info.
Tested locally against Python 3.8.0rc1.
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

@fengzhou-msft @zikalino  please help with this PR.

@JamieMagee can you give more details on how you did the tests? I think we need to add tests with Python 3.8 in the pipeline/ci as well.

I installed Python 3.8 locally and tested by running the unittest.sh script. Adding Python 3.8 to the test matrix isn't possible yet. It's blocked by microsoft/azure-pipelines-image-generation#1317

Thank you for this PR. Our CI checks is blocked in this check Azure.azure-cli (Verify src/azure-cli/requirements.*.Darwin.txt). It is caused by old code time.clock() in new Python 3.8 environment.

time.time is the correct function we need here. It is available in both Python 2 and 3.8:
https://docs.python.org/3.8/library/time.html#time.time
https://docs.python.org/2/library/time.html#time.time
Reverting back to use time.time.

@jiasli Thanks for looking at this, and making the required changes. I wasn't sure which method was correct.

Would be nice to release a version quickly with this fix if possible.

Release schedule is based on Milestones. The next release is on 11/26/2019.

Whoa, and there is no notion of urgent fix, no flexibility ? Ho well, just
another issue using azure. Anyway, I know it is not your fault, but this is
a bit annoying.
On Sat, Nov 9, 2019, 4:56 AM Feng Zhou<EMAIL_ADDRESS>wrote:

Release schedule is based on Milestones
https://github.com/Azure/azure-cli/milestones. The next release is on
11/26/2019.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/pull/10777?email_source=notifications&email_token=AAJVOG263Y43NQCBXAXASXLQSYYG7A5CNFSM4I6W5LQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT5CZY#issuecomment-552063335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJVOG6NINE3KZT32FURYJDQSYYG7ANCNFSM4I6W5LQQ
.

with python 3.8 i've this error on azure-cli install:
AttributeError: module 'platform' has no attribute 'linux_distribution'
info:
Python version 3.8.0
OS: archlinux updated on 15/11/2019


examples/kubernetes config has broken v6 when cluster is v4 with dual-stack nodes

General Information

Cilium version (run cilium version)

Client: 1.0.3 a2ebe00a5 2018-05-16T19:13:52+00:00 go version go1.9 linux/amd64
Daemon: 1.0.3 a2ebe00a5 2018-05-16T19:13:52+00:00 go version go1.9 linux/amd64

Kernel version (run uname -a)

Linux alpha 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Orchestration system version in use (e.g. kubectl version, Mesos, ...)

Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.6", GitCommit:"6260bb08c46c31eea6cb538b34a9ceb3e406689c", GitTreeState:"clean", BuildDate:"2017-12-21T06:34:11Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T11:55:20Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

Link to relevant artifacts (policies, deployments scripts, ...)

https://github.com/cilium/cilium/tree/master/examples/kubernetes/1.10

Upload a system dump (run curl -sLO releases.cilium.io/tools/cluster-diagnosis.zip && python cluster-diagnosis.zip sysdump and then attach the generated zip file)

cilium-sysdump-20180527-140139.zip
How to reproduce the issue

Setup dual-stack network
Install Ubuntu 18.04 on nodes. Ensure nodes obtain both v4 and v6 addresses.
Use kubeadm to install Kubernetes on nodes using v4 addresses
Deploy Cilium to the cluster using the YAML from https://github.com/cilium/cilium/tree/master/examples/kubernetes/1.10
Verify that pods receive both v4 and v6 pod addresses. v4 comes from cluster pod CIDR. v6 comes from Cilium default (f00d:0:0:0:::/9).
Verify pod-to-pod v6 works
Verify pod-to-external v6 is broken (f00d is in reserved address space and isn't NAT'd to node's public v6 address)

Expected behavior
One of:

Seeing cluster is using v4, disable v6 for pods
Require operator to specify per-node io.cilium.network.ipv6-pod-cidr annotations before allocation v6 addresses to pods
Refuse to start until operator provides v6 cluster range

Attempted to change the default IPv6 CIDR (#4298) to the private IPv6 CIDR range fd00::/8. We can't change it without breaking upgrades while guaranteeing endpoint restores.


Remove ConstructionBaseExtras as direct dependency

Addresses #52

Removed ConstructionBaseExtras.jl as direct dependency.
Added note to readme file.
Changed version number to 0.4.0
Kept tests running on Julia <1.9 by adding ConstructionBaseExtras as a test dependency that gets loaded if on those Julia versions.
Tested on both Julia 1.9.0-rc1 and Julia 1.8.2 locally and all passes.

Done, I think :)

Codecov Report

Merging #53 (591138e) into master (6010d26) will decrease coverage by 0.85%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
- Coverage   79.88%   79.04%   -0.85%
==========================================
  Files           4        4
  Lines         174      167       -7
==========================================
- Hits          139      132       -7
  Misses         35       35

Impacted Files
Coverage Δ

src/ModelParameters.jl
100.00% <ø> (ø)

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Test failure on mac os complains about codecov permissions- no idea how to fix that to be honest and whether it’s a an actual issue.

You can change this line:
https://github.com/rafaqz/ModelParameters.jl/blob/master/.github/workflows/ci.yml#L40

Thanks!

Could you register a new version? I am running in some trouble with compat entries in local packages.

See this comment.


200 % Display Scaling not working on IBM SPSS 26 and Spotify

200 % Display Scaling not working on IBM SPSS 26 and Spotify.
Both apps upscale to 2736x1824.
Is there a fix?
Thx

This probably isn't related to a kernel or installation issue, so I am going to close it. But to answer your problem, maybe try fiddling around with xrandr settings (increase DPI, etc.). Also, take a look at https://wiki.archlinux.org/index.php/HiDPI. Seems like they have a section for Spotify; not sure about IBM SPSS 26.


Can't properly install plugin with branch specified

Output from vim-plug:
  5 Updated. Elapsed time: 2.218548 sec.
  4 [===================x]
  3
  2 - Finishing ... Done!
  1 x vim-taggatron:
6       fatal: invalid reference: issue/10

The plugin & branch, which Git and GitHub seem to accept without issue. The plugin does actually install but the output of git branch in ~/.vim/plugged/vim-taggatron is just this:
* master

I have to checkout the branch manually with git checkout issue/10:
Branch issue/10 set up to track remote branch issue/10 from origin.
Switched to a new branch 'issue/10'

I don't know if me doing that will mess up future updates.

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 27 2020 16:45:06)
Included patches: 1-460
Compiled by Roy
Huge version without GUI.  Features included (+) or not (-):
+acl               +channel           +cscope            +ex_extra          -hangul_input      +lispindent        -mouse_gpm         +netbeans_intg     +python/dyn        +spell             +terminal          +vertsplit         +X11
+arabic            +cindent           +cursorbind        +extra_search      +iconv             +listcmds          -mouse_jsbterm     +num64             +python3/dyn       +startuptime       +terminfo          +virtualedit       +xfontset
+autocmd           +clientserver      +cursorshape       -farsi             +insert_expand     +localmap          +mouse_netterm     +packages          +quickfix          +statusline        +termresponse      +visual            -xim
+autochdir         +clipboard         +dialog_con        +file_in_path      +job               -lua               +mouse_sgr         +path_extra        +reltime           -sun_workshop      +textobjects       +visualextra       +xpm
-autoservername    +cmdline_compl     +diff              +find_in_path      +jumplist          +menu              -mouse_sysmouse    +perl              +rightleft         +syntax            +textprop          +viminfo           +xsmp_interact
-balloon_eval      +cmdline_hist      +digraphs          +float             +keymap            +mksession         +mouse_urxvt       +persistent_undo   -ruby              +tag_binary        +timers            +vreplace          +xterm_clipboard
+balloon_eval_term +cmdline_info      -dnd               +folding           +lambda            +modify_fname      +mouse_xterm       +popupwin          +scrollbind        -tag_old_static    +title             +wildignore        -xterm_save
-browse            +comments          -ebcdic            -footer            +langmap           +mouse             +multi_byte        +postscript        +signs             -tag_any_white     -toolbar           +wildmenu
++builtin_terms    +conceal           +emacs_tags        +fork()            +libcall           -mouseshape        +multi_lang        +printer           +smartindent       -tcl               +user_commands     +windows
+byte_offset       +cryptv            +eval              +gettext           +linebreak         +mouse_dec         -mzscheme          +profile           -sound             +termguicolors     +vartabs           +writebackup
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -std=gnu99 -c -I. -Iproto -DHAVE_CONFIG_H     -O -I/usr/lib64/perl5/CORE/ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include64
Linking: gcc -std=gnu99  -L/usr/lib64   -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE   -L/usr/local/lib -Wl,--as-needed -o vim    -lSM -lICE -lXpm -lXt -lX11 -lSM -lICE  -lm -ltinfo -lnsl    -ldl   -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE  -fstack-protector  -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc

Type:

[x] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[x] Linux
[ ] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[ ] GVim
[ ] Neovim

I don't know for sure that the / is the cause, but removing the branch specifier allows the installation without error.
BTW, my Git is version <IP_ADDRESS>.

The answer is in the bug report, I just didn't realise. It's not the branch name. I tried with this entry:
Plug 'joonty/vim-taggatron', {'branch': 'python3'}

It failed again. I ran the same branch checkout your code does, manually:
git checkout -q python3 -- 2>&1

It failed with the same message and, as before, running a simple checkout worked fine:
git checkout python3

The -- without any paths specified after it breaks the checkout.

It wasn't that simple, either. This works:
git checkout -q --track origin/python3 -- 2>&1

When installing a plugin, I think it should be explicit about tracking the remote branch.
I know the manual has this

git checkout [<branch>]
...
If <branch> is not found but there does exist a tracking branch in exactly one remote (call it <remote>) with a matching name and --no-guess is not specified, treat as equivalent to
   $ git checkout -b <branch> --track <remote>/<branch>

And it does do that but only interactively or without a paths separator, or something, but it's defeinitely failing in my older git unless it specifies remote tracking.

Can we just add a check to see whether the local branch exists, and if not, add the --track flag to this command?
https://github.com/junegunn/vim-plug/blob/8b45742540f92ba902c97ad1d3d8862ba3305438/plug.vim#L1297

This patch solves the initial install for me, I'll let you know how updates go. It puts the plugin repo into a detached HEAD state like the tag option.
--- a/.vim/autoload/plug.vim     2021-02-19 11:00:37.100186300 +1030
+++ b/.vim/autoload/plug.vim     2021-02-19 11:00:37.081185977 +1030
@@ -1295,9 +1295,8 @@
         let out = s:system('git checkout -q '.plug#shellescape(tag).' -- 2>&1', spec.dir)
       else
         let branch = s:git_origin_branch(spec)
-        call s:log4(name, 'Merging origin/'.s:esc(branch))
-        let out = s:system('git checkout -q '.plug#shellescape(branch).' -- 2>&1'
-              \. (has_key(s:update.new, name) ? '' : ('&& git merge --ff-only '.plug#shellescape('origin/'.branch).' 2>&1')), spec.dir)
+        call s:log4(name, 'Checking out origin/'.s:esc(branch))
+        let out = s:system('git checkout -q origin/'.plug#shellescape(branch).' -- 2>&1', spec.dir)
       endif
       if !v:shell_error && filereadable(spec.dir.'/.gitmodules') &&
             \ (s:update.force || has_key(s:update.new, name) || s:is_updated(spec.dir))


Release QtAwesome 1.2.2

Creating this issue since seems like there is nothing left to cover to release v1.2.2 (open issues need either to be fixed/closed on a minor release or need more info to fix them). Also, creating this in general to check if there are any comments/questions

Closing to do the release!


Error ldap when updating user

Sugoi trie to update forbidden attributes like modifyTimestamp :
LDAPException(resultCode=19 (constraint violation), diagnosticMessage='modifyTimestamp: no user modification allowed', ldapSDKVersion=5.1.2, revision=420e41670eca6da60425a79cf400a49205397f61)

We need to have readonly attribute.

We need to have readonly attribute.


Dark mode

Kind (Required)

Proposal / Discussion

Overview (Required)

Currently there is no dark mode design. Can someone give it a try? 🌔

Links
https://www.figma.com/file/IFlrbfmBSdYvUz7VmSzfLV/DroidKaigi_2021_official_app
There are some parts where the design size is not accurate. Use 4dp * x size and similar Material components.
Please log in to see the size on the design.

Could I try this issue? I will prepare color palette of dark theme based on 2020 app implementation and 2020 design kit in addition to 2021 UI spec.

Thanks! Assigned 👍


Added missing http-user and place them into $downloadProps

Hello @ziahamza,
As title said, I added missing http-user option and place them into $downloadProps in configuration.js to make sure user can set the HTTP authentication easily without accessing so many advanced settings.

Awesome, should make it faster to discover http auth parameters.


PiT 24.1: Error in browser console, call to bad endpoint

Description
When running the app in either dev-mode or prod-mode, there is a network error in browser console

How to reproduce
git clone git@github.com:vaadin/hilla-crm-tutorial.git
cd hilla-crm-tutorial/
./mvnw

Versions
Hilla 24.1.0.beta1 ...  24.1.0.rc1

Also reported in 24.2 Pit, adding it to the list


rollback the changes that were done to enable world collisions

turns out that those changes triggered multiple CollideEvent for same entity and for same collisions. Found another way to achieve what i needed, so please do merge this to rollback the changes.

Hooray Jenkins reported success with all tests good!

Merged with some tiny bits of poking around with the physics :-)


[styled-engine] styled() extra props have type error

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Using experimentalStyled to create my own components and passing styleProps attribute typescript fails to compile

Expected Behavior 🤔
I can pass properties without failure.
Steps to Reproduce 🕹
Playground

@povilass You need to type it
import * as React from "react";
import { experimentalStyled as styled } from "@material-ui/core";

interface StyledRootProps {
  styleProps?: {
    foo?: string;
  };
}

const StyledRoot = styled(
  "div",
  {},
  { name: "Test", slot: "Root" }
)<StyledRootProps>(({ theme, styleProps }) => {
  return {
    backgroundColor: styleProps.foo,
    color: theme.palette.primary.main
  };
});

export default function Demo() {
  const styleProps = {
    foo: "red"
  };

  return <StyledRoot styleProps={styleProps}>TEST TEST TETS</StyledRoot>;
}

https://codesandbox.io/s/demo-material-demo-forked-9elzv?file=/demo.tsx:0-542
We might need to document it. I'm leaving this issue so we can use for once we want to solve properly the documentation aspect of @material-ui/styled-engine.

This was a duplicate of #18986. I have closed it too.


Multi-language support / Content.

Hello,
Is language support available for content?

Hi @wancode,
Thanks for opening this issue. Please see #569 for my comments on this.
Since this is already open under #569 I will close this.


ANTs with system ITK installaton

How can I tell ANTs not to compile ITK and use the system install instead?
My distribution provides itk-4.5. as the newest version, will thate be new wnough for ANTs (it seems to ship with itk-4.9 - which is weird, since I only find sources up to itk-4.8).

ANTs source tracks the latest ITK source pretty closely so, no, you can't use the current ANTs with ITK 4.5.
You can use the cmake option USE_SYSTEM_ITK to not use the superbuild mechanism for ITK 4.9 installation.

@ntustison can I use ANTs with itk-4.8.1? I can't find the 4.9 sources anywhere.
The reason I really want to use the system itk is actually that the build system seems to have an issue somewhere.
I am getting this error when I am calling an ANTs command from nipype:
Standard error:
terminate called after throwing an instance of 'itk::MemoryAllocationError'
what():  /var/tmp/portage/sci-biology/ants-9999/work/ants-9999_build/ITKv4-install/include/ITK-4.9/itkImportImageContainer.hxx:199:
Failed to allocate memory for image.
Return code: -6
Interface ApplyTransforms failed to run.

And since that is a directory in my package manager path, and gets created before compile time and deleted after the install is finished, I am guessing something is wrong with how the ANTs compiler links against ITK? What do you think might cause that path to still be remembered somewhere by ANTs?

@ntustison can I use ANTs with itk-4.8.1? I can't find the 4.9 sources anywhere.

No.  For the superbuild-ing of ITK, we specify the git tag and that tag was changed about a week to reflect some recent work I did in ITK proper which was reflected back to ANTs.

I am getting this error when I am calling an ANTs command from nippy:

I don't work with nipype so I can't help you with that.  Are you able to reproduce the error using the compiled ANTs programs directly?

@ntustison  not yet, which is why I brought nipype into the discussion. However, there is no way nipype knows about the compilation path of ANTs and ITK - so this error is coming from the ANTs side of things. I asume CMake set up some dynamic linking using the compile-time absolute path of some ITK component...
@kiwifb @ jlec - could you guys maybe give me an opinion on this?

I'm guessing this is a system-specific set-up problem as opposed to an ANTs problem.

Alternatively:

would the very latest ANTs work with the very latest ITK? (both live from github, ITK being this)
what tag of ANTs would work with itk-4.5.1 or itk-4.8.1?

would the very latest ANTs work with the very latest ITK? (both live from github, ITK being this)

It should.

what tag of ANTs would work with itk-4.5.1 or itk-4.8.1?

I don't know if there's any git magic to answer this.  Perhaps someone like @hjmjohnson or @stnava  would know.

Isn't the original error just antsApplyTransforms running out of memory? Can this error be reproduced with a small image and simple transform?
Sent from my iPhone

On Nov 16, 2015, at 12:48 PM, Nick Tustison<EMAIL_ADDRESS>wrote:
would the very latest ANTs work with the very latest ITK? (both live from github, ITK being this)
It should.
what tag of ANTs would work with itk-4.5.1 or itk-4.8.1?
I don't know if there's any git magic to answer this. Perhaps someone like @hjmjohnson or @stnava would know.
—
Reply to this email directly or view it on GitHub.

Here's how to grep for a particular ITK version:
git log -G "ITK_VERSION_ID ITK-4.8" SuperBuild/External_ITKv4.cmake

This will show where the ITK version got changed. Thus it should give you the first and last + 1 commits where a particular ITK version is used.
I don't think that 4.8.1 ever got used in a commit. I guess you could try a version that works with 4.8. But I suspect this error:
Standard error:
terminate called after throwing an instance of 'itk::MemoryAllocationError'
what():  /var/tmp/portage/sci-biology/ants-9999/work/ants-9999_build/ITKv4-install/include/ITK-4.9/itkImportImageContainer.hxx:199:
Failed to allocate memory for image.
Return code: -6
Interface ApplyTransforms failed to run.

is not a matter of system ITK or not. Unless ANTs got built with shared libraries, it shouldn't need ITK at run time.

Thanks Phil.  That's good to know.


Company Details | Rename Company Details to Organization Details |1|

Task:

Rename the "Company Details" label in the main nav bar to "Organization Details".

Change the "Company Name" label that appears in the list of fuel suppliers (IDIR user, Fuel Suppliers tab on the main nav bar)

See attached screenshots

Rationale:
Some of our fuel suppliers are not technically considered "companies" with respect to the conventional definition. Suppliers such as municipalities, school districts, etc. do not fit this description. Thus, we want to change the label to reference "organization" rather than "company"
https://trello.com/c/HOlheDTe/1591-company-details-rename-company-details-to-organization-details-1

 Company Details | Rename Company Details to Organization Details |1|

 Company Details | Rename Company Details to Organization Details |1|

Resolved in Sprint Supermassive


Build automated publishing of api docs

From @GoogleCodeExporter on May 11, 2015 15:4
Automate publishing of API docs to google base, to be displayed via missing
link code wordpress blog and google site

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 13 Mar 2011 at 6:03
Copied from original issue: twogee/missing-link#4

From @GoogleCodeExporter on May 11, 2015 15:4
Original comment by<EMAIL_ADDRESS>on 19 Mar 2011 at 12:02

Added labels: Milestone-1.0.1

From @GoogleCodeExporter on May 11, 2015 15:4
This is completed

Original comment by<EMAIL_ADDRESS>on 19 Mar 2011 at 12:10

Changed state: Verified

From @GoogleCodeExporter on May 11, 2015 15:4
Original comment by<EMAIL_ADDRESS>on 19 Mar 2011 at 2:27

Added labels: Project-ant-http


fix some missing prefix

add missing bs- prefix when using Manipulator
fix wrong data-content attribute
fix data-original-title in reboot.scss

@XhmikosR i've fix data passed thru javascript and update the documentation.
Still have a question around tooltip content config option present only in unit test and not in documentation. Maybe an old param? Otherwise I think the rest is okay

I'm going to merge it and rebase my branch and see where we are left. Thanks for the PR!