Introduce NetworkMode option

Provides openshift origin with the ability to control the network settings of
sti containers.

@rajatchopra This knob is used in order to propagate the network namespace from the builder Pod to the s2i docker container; this removes assumption on the networking settings on docker. The s2i docker pod can use the SDN solution used by the pod.

The following diff shows the proposed usage of this knob:
https://github.com/openshift/origin/compare/master...pedro-r-marques:sti_network
I would like to submit that as a PR once the dependency from source-to-build is merged, assuming that the maintainers consider the proposal acceptable.

The idea is helpful. But just asking the reverse question - is it too much hassle to be able to provide external network connectivity through docker's default network mode?

@rajatchopra The access allowed to the builder can be different than the network access allowed to the node. e.g. builder should have access to the enterprise source control system. The node itself, probably not. I think this would be also useful to the redhat sdn plugin: from a practical standpoint, one would probably not want to have to manage and operate docker networking (docker bridge) plus SDN.
With this proposal the deployment template can set options to the builder that would control its network access: that is set on the netns of origin-pod and inherited by s2i. It seems to me that this is the desirable workflow: control all settings via deployment .json.

Agreed, we had to go through hoops to accommodate docker's Linux bridge with our solution.
Do you mind putting this and the usage PR together in this one?

@rajatchopra Pardon my cluelessness. How do i put the 2 PRs together ? The usage PR is in a separate git repository (origin). Which then copies this repository through its Godeps; i was under the impression that i would have to submit this PR; wait for it to get merged; update the Godeps on origin and then submit the PR on origin with Godeps + change.

@pedro-r-marques @rajatchopra will this also provide the builder-pods DNS settings to the s2i container?  specifically i'm wondering about this issue:
https://trello.com/c/f3azg2K1/685-builder-containers-don-t-have-openshift-cluster-dns
https://github.com/openshift/origin/issues/4303

@bparees This is required in order to fix the DNS issue, when any network solution other than what is provided by docker is used. However the patch doesn't add the resolv.conf file from the parent Pod (which has the correct DNS settings). Would you like me to add this functionality through this patch or a separate PR ?

Separate PR would be great. Thanks!
Ben Parees | OpenShift
On Oct 16, 2015 11:51 AM, "Pedro Marques"<EMAIL_ADDRESS>wrote:

@bparees https://github.com/bparees This is required in order to fix
the DNS issue, when any network solution other than what is provided by
docker is used. However the patch doesn't add the resolv.conf file from the
parent Pod (which has the correct DNS settings). Would you like me to add
this functionality through this patch or a separate PR ?
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/source-to-image/pull/311#issuecomment-148752616
.

LGTM, @bparees please mark merge if you are okay.

LGTM, please add the godoc and it is ready for merge

@mfojtik Apologies for the newbie question... The PR has a comment in api/types.go type Config that is picked up when i run godoc ./pkg/api
output from godoc:
    // DockerNetworkMode is used to set the docker network setting to --net=container:<id>
    // when the builder is invoked from a container.
    DockerNetworkMode string

Can you please clarify your comment ? Are you referring to other documentation that is missing ?

@mfojtik The godoc has been added.

@bparees Added DockerNetworkMode and corresponding string constants.

thanks, lgtm.  [merge]


Does it support external configuration？

I want to use SQL to configure the start time，For example, I want to start calculating from October 10, 2023, but this starting time may change. I want to place it in the database and let Grafana dynamically read it.

This is now possible thanks to https://github.com/grafana/clock-panel/pull/179


remove isis_single_topology_required deviation

remove isis_single_topology_required deviation

Pull Request Functional Test Report for #3616 / cf1c593a062037acc31210d50205bc4152daa82b
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Cisco 8000E

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Cisco XRd

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Juniper ncPTX

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Nokia SR Linux

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Openconfig Lemming

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Cisco 8808

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Juniper PTX10008

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Nokia 7250 IXR-10e

RT-2.1: Base IS-IS Process and AdjacenciesRT-4.10: AFTs Route SummaryRT-4.11: AFTs Route SummaryTE-17.1: VRF selection policy driven TE

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.268%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


Node mysql bulk insert converted query is wrong

I'm trying to do a bulk mysql query using Node(mysqljs). For some reason query seems to not converted correctly.
const mysqlConnection = mysqlPool((err, connection) => {
   let sql2 = `insert into core_acc_transaction_ledger_detail (ID_TRANSACTION_LEDGER_HEADER,ID_LEDGER_ACCOUNT,CR,DR,LOCATION_ID,STATUS,IS_ACTIVE,REMARK) values (?)`;
   console.log('Running query : ' + sql2);
   var arr = [['35', '21', '500.00', '500.00', '', '', '1', ''], ['35', '23', '500.00', '500.00', '', '', '1', '']];
   var query = connection.query(sql2,[arr], (err, rows) => {
       console.log('sql2 :: ' + query.sql);
       if (err) {
           console.log('db query error : ' + err.message);
       }
       else{
           console.log('transactionLedgerDetails added : ' + rows.insertId);
           connection.release();;

       }
   });
});

I can see this output:
Running query : insert into core_acc_transaction_ledger_detail (ID_TRANSACTION_LEDGER_HEADER,ID_LEDGER_ACCOUNT,CR,DR,LOCATION_ID,STATUS,IS_ACTIVE,REMARK) values (?)

sql2 :: insert into core_acc_transaction_ledger_detail (ID_TRANSACTION_LEDGER_HEADER,ID_LEDGER_ACCOUNT,CR,DR,LOCATION_ID,STATUS,IS_ACTIVE,REMARK) values ((35, 21, 500, 500, '', '', 1, ''), (35, 23, 500, 500, '', '', 1, ''))

db query error : ER_OPERAND_COLUMNS: Operand should contain 1 column(s

Same syntax worked for me before. But this time it doesn't.
Conversion has put extra parentheses around value list.

The extra paranthesis are because you have them in your sql. Change "values (?)" to just "values ?" in the sql string you are providing.


gen-host-js: Error wrapping and unwrapping for singular results

Updates the JS generator for functions that return a singular result to return the payload directly or throw the error payload if there was an error.
Conversely for imported functions, calls are now wrapped with a try-catch and errors are converted into intermediate result structs.
For both directions, the intermediate structs that are used should be possible to optimize away in future output. Tracking issue for this in [].
The error type implemented here is the following when converting a { tag: 'err', val } to a JS error:
class ComponentError extends Error {
  constructor (payload) {
    super(payload);
    this.payload = payload;
  }
}

When in an exported function, the JS function stack will naturally have the throw position including the real and correct function name in the JS adapter code.
toString is implicitly applied to the error payload in the error message, which would result in [object Object] etc for non-primitive payloads. We could potentially explicitly branch on this and do something different although it is tough to know what would make sense here.
In lifting, the payload is taken to be 'payload' in err ? err.payload : String(err). More complex type coercions could possibly be implemented for string to number etc handling, but at least handling the string case seems useful for being able to handle a normal JS error as a Result<ResultType, String> in any other language.
This PR also fixes some minor formatting in the C generator and adds consistent single quoting in JS output. Suggestions / changes very welcome further.

Note this PR makes the payload object property on errors special in being a lifted interface. We could potentially use a more specific component model name or tagging, although payload feels relatively unique to me here. Another alternative would be to further tag errors by enforcing err.tag === 'component_model_error' or something equally specific. What is useful about the current output though is supporting the relatively straightforward - throw new Error('any string error') and throw Object.assign(new Error(), { payload: { any: data } }).


[Enhancement] replace convert_field_to_format_v2 with convert_schema

Signed-off-by: xyz<EMAIL_ADDRESS>What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #7296
Problem Summary(Required) ：

Current version is 2.3, most of uses have been updated to version2.0, we can replace
with convert_field_to_format_v2 to convert_schema.
If the use still has format v1 column, then we will remind user to do schema change through warning log

We should change it very very carefully. Some early users' tablet schema is still format-v1. I think we need to let them change their tablet-schema to v2 first.
Then we can change this logic.
So I suggest we'd better to add some logic to make all format v1 tablet schema to v2.


Added UAX - Alfonso X "El Sabio" University

www.uax.es

@tekbreak

Could you please provide us with the following information?
We need it because myuax.com is not an official university website address.
-the university official website URL, if different from the domain you are submitting
-an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
-an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

Also please rename lib/domains/com/myuax to lib/domains/com/myuax.txt to reflect this repository rules. Thank you!

The official url is www.uax.es
One of its it-related courses is: http://www.uax.es/en/training-programmes/school-of-engineering-and-architecture/degree-in-computer-engineering.html
A PDF (Spanish version) introducing the service myuax.com is attached to this comment
triptico myuax dic 2010.pdf

Please do not hesitate to ask for any other thing you need

@tekbreak Pull request merged. Thank you!


Error in UITableViewCell

Hi,
I got an error in my TableView Content View there is another view which i want to add this slideshow in TableView but got the error
error: Illegal Configuration: The slideshow outlet from the HomeViewController to the ImageSlideshow is invalid. Outlets cannot be connected to repeating content.
I must have add the SlideShow inside the TableViewCell kindly let me know how to do that thanks.

Solved:
I just create the Individual Cell because i just forget my Table is Dynamic 👍
here is the code i used for just pasting for heling others.
Thanks in advance for such a great POD ...
thumbs up 🥇
import UIKit
import ImageSlideshow

class SlideShowCell: UITableViewCell {

    @IBOutlet weak var SlideShow: ImageSlideshow?

    let localSource = [ImageSource(imageString: "banner1")!, ImageSource(imageString: "banner2")!]

    override func awakeFromNib() {
        super.awakeFromNib()

        SlideShow?.slideshowInterval = 5.0
        SlideShow?.pageIndicatorPosition = .init(horizontal: .center, vertical: .under)
        SlideShow?.contentScaleMode = UIViewContentMode.scaleAspectFill

        let pageControl = UIPageControl()
        pageControl.currentPageIndicatorTintColor = UIColor.lightGray
        pageControl.pageIndicatorTintColor = UIColor.black
        SlideShow?.pageIndicator = pageControl

        // optional way to show activity indicator during image load (skipping the line will show no activity indicator)
        SlideShow?.activityIndicator = DefaultActivityIndicator()
        SlideShow?.currentPageChanged = { page in
            print("current page:", page)
        }

        // can be used with other sample sources as `afNetworkingSource`, `alamofireSource` or `sdWebImageSource` or `kingfisherSource`
        SlideShow?.setImageInputs(localSource)

        let recognizer = UITapGestureRecognizer(target: self, action: #selector(SlideShowCell.didTap))
        SlideShow?.addGestureRecognizer(recognizer)

        // Initialization code
    }

    @objc func didTap() {
        let fullScreenController = SlideShow?.presentFullScreenController(from: (self.window?.rootViewController)!)
        // set the activity indicator for full screen controller (skipping the line will show no activity indicator)
        fullScreenController?.slideshow.activityIndicator = DefaultActivityIndicator(style: .white, color: nil)
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}


Georgia number max length

The Georgia number limit is 9 digits but the package specifies it as 8 digits in contries  list.

Fixed (see bdc0ad5)


max-complexity overwritten with string or bool in pep8.py

Using flake8, mccabe and setuptools leads to setting wrong max_complexity option.
When you set setup.cfg to
[flake8]
max-complexity = 2

the command
./setup.py flake8

will not produce correct output, while calling
flake8

does.
Setting it to max-complexity=1 works, but the type of the option is set to boolean. When set to 2 it's a string instead of the requested int thus leading to always False comparisons at the mccabe code.
The option is parsed correctly at pep8 but is overwritten at pep8.py in class StyleGuide:1629:
       if options_dict:
            options.__dict__.update(options_dict)

I don't know if the problem lies in the mccabe code, pep8 or flake8, so reporting it here.
Versions used:
Python 2.7.6
argparse (1.2.1)
autopep8 (0.9.1)
coverage (3.7.1)
flake8 (2.4.0)
matplotlib (1.3.1)
mccabe (0.3)
nose (1.3.1)
numpy (1.8.2)
pandas (0.13.1)
pep8 (1.5.7)
pexpect (3.1)
Pillow (2.3.0)
pip (1.5.4)
ply (3.4)
Pmw (1.3.2)
pyflakes (0.8.1)
Pygments (1.6)
pyinotify (0.9.4)
pyparsing (2.0.1)
python-dateutil (1.5)
pytz (2012c)
PyX (0.12.1)
requests (2.2.1)
ScientificPython (2.9.4)
scikit-learn (0.14.1)
scipy (0.13.3)
SciTools (0.9.0)
setuptools (2.2)
Shapely (1.3.0)
simplegeneric (0.8.1)
simplejson (3.3.1)
six (1.5.2)
SQLAlchemy (0.8.4)
ssh-import-id (3.21)
statsmodels (0.5.0)
sympy (<IP_ADDRESS>)
tables (3.1.1)
Twisted-Core (13.2.0)
UFL (1.5.0)
urllib3 (1.7.1)
virtualenv (1.11.4)
VTK (5.8.0)
Werkzeug (0.9.4)
wheel (0.24.0)
wsgiref (0.1.2)
xlrd (0.9.2)
xlwt (0.7.5)

changing  mccabe.py from
    @classmethod
    def parse_options(cls, options):
        cls.max_complexity = options.max_complexity

to
    @classmethod
    def parse_options(cls, options):
        cls.max_complexity = int(options.max_complexity)

might fix the problem.

Since pep8 and flake8 handles the config file parsing and such, I'm thinking this might be something that we should fix there. Does that make sense to you @PyGuy2 ?

Also, sorry that I completely missed this before today

@sigmavirus24 I'm fine with that... until it's fixed one might find a temporary fix here.
It's even worst. It's somewhere in the setuptools - flake8 API handling...

could you report it upstream?

@PyGuy2 you should be able to upgrade mccabe and get this fix.


01-aks-create.json file does not exist in the repository

I'm wanting to recreate the demo but when looking through the docs for the Demo Setup, I'm told to run the 01-aks-create.sh file locally. When looking in the file, it references an ARM template file 01-aks-create.json but I can't find that file in the GitHub repository. Where does this file exist? I've checked both the helm and master branches. I'm not sure if I'm just missing a step in the docs or something else.
Here's the 01-aks-create.sh file located in the setup folder:
echo "------------------------------------------------------------"
echo "Creating Cluster ${AKS_NAME} in Resource Group ${AKS_RG}"
echo "------------------------------------------------------------"
az group deployment create -n ${AKS_NAME}create -g ${AKS_RG} --template-file 01-aks-create.json --parameters resourceName=${AKS_NAME} dnsPrefix=${AKS_NAME} servicePrincipalClientId=${SPN_CLIENT_ID} servicePrincipalClientSecret=${SPN_PW} workspaceRegion="Canada Central" enableHttpApplicationRouting=true enableOmsAgent=true

@sawpresto the file is here in the "provision" folder in this repository. Sorry it was hard to find.

Great, thank you, @bradygaster!


composer: min PHP 5.4 added

According to https://github.com/Halleck45/PhpMetrics/commit/23a7b9a49ca8824afc685e845fd4262cd89c3344, looks like min version is PHP 5.4

So it seems, see https://github.com/Halleck45/PhpMetrics/issues/101

No, PHP 5.4 is required only for building phar or running tests. PHPMetrics (./bin/phpmetrics) can be executed on PHP 5.3

I see. Closing in favor of https://github.com/Halleck45/PhpMetrics/pull/125


StringSplit wrong behaviour when separator is empty

According to the documentation in https://www.tensorflow.org/api_docs/python/tf/strings/split:

If sep is None or an empty string, consecutive whitespace are regarded as a single separator, and the result will contain no empty strings at the start or end if the string has leading or trailing whitespace.

However the current implementation performs a character by character split.
https://github.com/microsoft/onnxruntime-extensions/blob/98fb96d4e8c936f6a0013ab9e555fcb115fc60d5/operators/text/string_split.cc#L36-L50

@xadupre , can you share some suggestion here?

Any chance to address this issue in a future release?


Installing homeschick broke the terminal

I followed the setup instructions (clone the repository, add the path to the script to my .bashrc file, and then sourced .bashrc), and now my terminal is completely broken. The moment it opens, it closes. Even logging into the shell via a separate TTY (using ctrl+alt+f6) doesn't work. Restarting my system didn't work.
Ubuntu 21.10

I opened .bashrc and removed the line that sources the homeschick script and the issue is gone.

Without knowing what your .bashrc looked like when things where crashing, I have no way of helping you. Feel free to reopen with the contents of your .bashrc


Using placeholder in input disables the animation

I like the animation with input elements, and want to have it even if i have placeholder set for it.

	account_circle
	Username
	<input id="user-id" placeholder="kailas77" type="text">

	heart
	Things you always wanted to do
	<textarea id="user-tags" placeholder="organic-farming, swimming, camping" class="materialize-textarea"></textarea>

Using placeholder made it static, so i tried the following:

	account_circle
	Username
	<input id="user-id" oplaceholder="kailas77" type="text">

	heart
	Things you always wanted to do
	<textarea id="user-tags" oplaceholder="organic-farming, swimming, camping" class="materialize-textarea"></textarea>

var onInputFocus = function() {
	var e = $(this);
	e.attr('placeholder', e.attr('oplaceholder'));
};

var onInputBlur = function() {
	var e = $(this);
	e.attr('placeholder', null);
	if(!e.val()) $('label[for="'+e.attr('id')+'"]').removeClass('active');
};

var runInput = function() {
	$('input').focus(onInputFocus);
	$('input').blur(onInputBlur);
	$('textarea').focus(onInputFocus);
	$('textarea').blur(onInputBlur);
};

It would be great if you could make this a default feature of materialize.
Thanks.

To apply the same to textarea as well, has to do the following:
var runInput = function() {
	$('input').focus(onInputFocus);
	$('input').blur(onInputBlur);
	$('textarea').focus(onInputFocus);
	$('textarea').blur(onInputBlur);
};

I don't understand. The point of the animation is to use the label as the placeholder. If you have both then the animation no longer makes sense because they overlap? Or am I not understanding your problem correctly?

I have seen placeholder's being often used to provide extra information (examples) about a particular input, and label just gives a basic idea about. So it makes sense to display that extra information when user is ready to start typing.
ex: http://convert2mp3.net/en/index.php
I understand what you are saying. The label stays in place of placeholder, until input is focused, when it moves up to the label position with animation. I guess you did this so that the labels don't look to be associated with another input on the top (it would create confusion).
Using the same idea, we could keep the labels close to the input with hidden placeholder. The placeholder can be revealed (and the label moved up) when the input field is selected. It makes sense to display that extra information (placeholder) to be display when user is focused on that input, makes the form look neat, and also does not create confusion regarding which field associated with which input before we start typing (if placeholders are provided).
And thanks for responding, my first feature request in any repo :).


Improve streaming ingestion completion timeout error message

A streaming ingestion supervisor spec has the property: completionTimeout (defaults to 30 minutes), which is the total time to wait after the taskDuration has elapsed for the tasks to stop reading, create segments from intermediate persists, publish segments to deep storage, and finally hand them off from the peons to the historicals.
A task fails if the above operations are not completed before the completionTimeout has elapsed.
This PR adds steps for better debugging when such failures occur.

@kfaraz, @asdf2014 Thank you for the review!


feat(RHTAPBUGS-1077): add pipelinerun uids to IR labels

All tasks that create internalrequests will now add a label that specifies the pipelinerun uid. We can use these to clean them up at the end of the pipelinerun. The change also required a new image for each task using internalrequests.

Draft for now because I need to update the images once a new one is available

Depends on https://github.com/redhat-appstudio/release-service-catalog/pull/337

/test all


Revise timeprint help header

Change to something like this:
timeprint v2.1.1 - Prints time and date information
https://github.com/hollasch/timeprint

<remainder of help text>

Fixed in 1fa31ab9d9eed6f238c3c577e52e84b28c760c50.


Spelling

Thanks!
I merged the changes and applied them in https://github.com/apache/commons-dbcp/commit/7dd3b68cce4a731b635b766f745d76ab4b009eec


Display value diffs as text diffs

Before diving deeper in the range of changes we can properly detect, it would be good to be able to display the changes we already detect.
We now have a basic representation of changes to values. We would like to be able to pretty print such changes in a text diff-like format for human consumption.
The goal here is to add functions to the library that can print our diff as a text diff and to update the binary diff tool so that it outputs such diffs instead of simply printing API changed!.

Might be worth looking at https://github.com/panglesd/ocaml-diffutils, could be useful to turn our diff into their Diff.t and let them handle the printing!
CC @panglesd, do you think it could fit our usecase?

CC @Siddhi-agg

@NathanReb Please assign me.
If integrating with ocaml-diffutils is possible, that would be great!

I only see now that I completely missed the ping, sorry! (I think I was on vacation at the time, it must have been list in the sea of notification when I returned).
Using ocaml-diffutils for handling the printing could make sense, although I believe it will be limited for your usecase whenever you will go fancy!
You might want to have a look at diffcessible which show diffs as a TUI.
(Both of these libraries are focused on showing text diffs (with numbered lines). So they might not be suitable be we are open to making them suitable to other contexts, eg where line numbers/filenames do not make sense!)


Spot check: iOS Apps build (4)

iOS App Spot Check
What to test

[ ] Latest iOS "PhET Simulations" App:  version 1.5.0 build (3) - deployed via testflight
[ ] Latest iOS "PhET4Schools Access Program" app: version 1.5.1 build (3) - deployed via testflight

Things to test

[ ] Remove any currently installed apps, install the latest app from TestFlight, then put your device in offline mode.
Open the app and verify that 1 phet-brand releases mentioned in https://github.com/phetsims/qa/issues/1114 are present and working as expected.
[ ] Verify that the "PhET Simulations" app is not prompting for an access code
[ ] Verify that the "PhET4Schools Access Program" app requires an access code (use 23AP888Z to test)
[ ] Verify blank/empty collection view is fixed https://github.com/phetsims/phet-ios-app/issues/635
[ ] Verify crashes are fixed/significantly reduced https://github.com/phetsims/phet-ios-app/issues/634
[ ] Verify search behavior isn't buggy https://github.com/phetsims/phet-ios-app/issues/638

Devices to test

[ ] iPad
[ ] iPhone

Note: Steve incorporated a quick fix for the search behavior and collection view, but a more comprehensive fix would require a deep dive into the update process.

@oliver-phet based on phetsims/phet-ios-app#641, it isn't clear how to test the first item in the list above. Can you clarify how you would like QA to test this?

All that is needed is to verify the app is properly updating to the latest version of a sim - so you can ignore checking that specific versions are included in the cache. Note: the build date may differ from what is available on the website (As mentioned in https://github.com/phetsims/phet-ios-app/issues/641#issuecomment-2369581154, the app only updates to a new _all file if the device language matches.)

QA is done


Add newlines-between option to order rule

Checks existence of new lines between and inside import groups.
Implements #282.

LGTM, but @jfmengels should have final say, it's his baby. 😊

Oh, actually, it would be great if you could add a note to the change log. ### Added section makes sense to me.

This looks pretty good @singles, thanks a lot for this!
Just some comments on the documentation mostly.

it's his baby

Man, you have no idea... I still haven't had the heart to deprecate eslint-plugin-import-order. It's my most popular repo, and growing in downloads every day... Will do it soon... soon...

I can imagine. But every download here is your download too, now! 😁 I think GitHub itself may be responsible for the recent uptick in downloads, so that's pretty cool.

I think https://github.com/dustinspecker/awesome-eslint is partially responsible too. Even more so probably.

OK, new changes:

Added info the changelog
Fixed https://github.com/benmosher/eslint-plugin-import/pull/298#discussion_r61781477
Changed option values from true|false to always|never
Updated docs, less words, more concise

Thx @benmosher @jfmengels for feedback!

Sorry for the nitpicking, looks great otherwise @singles!

Sorry for the nitpicking

No problem :)

Looks pretty great to me :D


pytorch version?

Thanks for your work.
When try to run dynamic_shape.py, I got error info like following:
AttributeError: module 'torch.nn.functional' has no attribute '_canonical_mask'
AttributeError: module 'torch' has no attribute 'fill'
etc...
I think may caused by pytorch version. which version are you using?

@mychina75 Hi! As you can see here, it's Pytorch 2.0.0 (or newer). I should probably add guards against such type of errors. You only need v2.x.x for that F._canonical_mask function. Thank's for bringing this up.


Foundry v10-287 has broken it !

Hi Chris
I updated to Foundry 10 287 today from 286 and The Dee Sanction game screen was just blank.
I can get a log in to game screen, but when I log in, all I get is a blank canvas, no sidebar, and just the Foundry Anvil top left.
I have tried setting up a new world, and this hangs at importing the compendium items

I don't know what they are doing at Foundry, but they certainly are causing problems for us.

Sorry to be a pain.
Richard N

Hi Richard,
Hmm, I upgraded and couldn't replicate the problem. Could you go up to the Foundry menu and toggle Developer Tools, and get a screen cap of the console that will appear on the right-hand side? Maybe there are some error messages appearing that will help.

Hi Chris I tried it again with a fresh install and all was ok.    Thanks for trying it out. You can close the ticket. Regards Richard   From: Chris SharpSent: 10 October 2022 13:59To: chrisesharp/foundryvtt-dee-sanctionCc: newbyr; AuthorSubject: Re: [chrisesharp/foundryvtt-dee-sanction] Foundry v10-287 has broken it ! (Issue #24) Hi Richard,Hmm, I upgraded and couldn't replicate the problem. Could you go up to the Foundry menu and toggle Developer Tools, and get a screen cap of the console that will appear on the right-hand side? Maybe there are some error messages appearing that will help.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>Virus-free.www.avast.com


user detail broken in demo

https://fastui-demo.onrender.com/more/1/ is currently broken (fyi)
"No page found at /api/more/1/."

closed via #60


Option to group tasks by file

Lets say I have two files with tasks, and I want these to appear in cardboard as two columns, like so:

Currently to do this, I have to add tags: [cardboardtasks/file-one] and tags: [cardboardtasks/file-two] to the frontmatter for each respective file, then go into the Cardboard board settings and create a definition for each of those tags and manually specify the tag and name for each prospective file/column.
It'd be nice to just say "grab tasks from this folder" and tick a checkbox to say "use file names as column headings" (minus the file extensions).
Could also optionally support using title: Note Title Here fields in file frontmatter, like the Frontmatter Titles plugin.

Thank you.  I do have some other ideas on different ways to define and set up boards so will add this into that (virtual) pot :)

Hi there, great plugin you have here - I've been hacking away at my first vault for the last couple of weeks and I'm trying to find a solution to migrate my task management system (GTD method) into obsidian. There's a lot of task plugins around and this plugin you've created looks like the best candidate I've found for making working wth tasks in my book, feasible.
I've tried everything task related and have been pondering what plugin to fork and add the features I'm looking for. This plugin looks the best bet for me so far, because nobody seems to consider the value of subtasks, and the visual interaction with tasks are still primarily keyboard driven. I was thinking of forking Checklists, but your plugin looks closest to my needs.
I've been looking for something to implement a GTD methodology system in obsidian, where you have an inbox to dump tasks in initially, later processed into areas of focus. In that method a project is simply a task with multiple steps (sub-tasks). Tagging the next action is the last piece of the GTD puzzle, which could be achieved with tags if the UI made it quick enough to do.
Here's my ideal use-case scenario for a GTD-esque file-based cardboard view, which isn't too far away it seems. Let me dream for a moment!

Inbox (File column: Inbox.md)
Personal  (File column: Personal.md)
Work (File column: Work.md)
Family  (File column: Family.md)
Next Actions (a special GTD methodology 'focus' view which is the primary place to get things done)

includes all 'tasks without sub-tasks' from the other 'File columns' that aren't excluded by tags like #blocked or #waitingfor
includes the first subtask of all 'tasks with sub-tasks' ('project' in GTD terminology) that isn't excluded by tags like #blocked or #waitingfor
This particular view is the best thing about GTD, it shows you only things you can do immediately which move any given project forward in one list

The concept here of file columns is that a file becomes an 'area', consisting of individual tasks and projects (tasks with subtasks). Individual tasks can then use #tags and other string metadata to enrich the task. A powerful benefit emerging from this file-based use-case is that the simple structure inherent in files/tasks/subtasks can be easily used in other plugins (canvas, excalidraw, dataview, etc) to visualize the work in other meaningful ways. I see a lot of attention in task plugins on collecting dispirate tasks all over the vault, and while powerful a simpler setup is going to be super effective. The idea that you can realistically continue using a task system structure even in a plain text editor (all in one place not in a hundred different daily/project notes or whatever) is very appealing.
Combine 'file columns' with these killer features, and I think this plugin would really take off.

Drag and drop re-ordering in file columns (manual sort?!?!), which changes the order in the source files
Drag and drop between 'File columns'
magic sort by due date type things are possible just in the view, if the time metadata is included, but the above two features would be a home run for sure, nothing else has come close to this yet

I think the actual visual management of tasks has been a bit under-valued in lieu of the magic obsidian 'have stuff everywhere' graph. Managing tasks by text is actually painful. It's better to manage tasks with GUI for sure.
I see I've written a wall of text, but indeed this is a big problem I'm trying to solve and your solution looks the best so far. I really would like to abandon my other task app (2do).
Also as a seasoned contract frontend/UI developer i'd certainly offer my time and skills to contribute to this project (if desired, I'm not a loose cannon or anything) if it looks like it will be the solution for me. I'm pretty handy with CSS and I've already written a couple of dozen CSS snippets to fix up existing plugins in the vault I've been building, and contributed a few solutions for other plugins I'm using. I'm already writing styles in my head for this plugin.
Phil


CI log upload

@LorenzMeier @bkueng spamming Flight Review (new script called by Jenkins)
The links are now just printed in the console log. Could someone look into pushing those as comment on the PR?

@bkueng Can you by default hide the SITL logs (but allow to enable them with a check box or alike?) We probably also don't want to send notification emails for SITL logs.
Thanks! And thanks for building this awesome logger and awesome plotting. This is really very essential for PX4 and its ecosystem and a contribution not to be underestimated.

Jenkins test this please

@AndreasAntener there are some path and whitespace issues (spaces in variables) with upload_test_logs.bash on jenkins. For now I updated the execute shell section on jenkins to find all the ulg's and call the script directly. I also added the email address from the commit and basic description.

Very cool to see output from these tests!
URL: http://logs.px4.io/plot_app?log=12f7e84e-a7a5-4393-a417-cdd1a6fa375e
URL: http://logs.px4.io/plot_app?log=6d0823a3-237b-4365-a89c-aad814dc3590
URL: http://logs.px4.io/plot_app?log=5fa5057a-d18b-4284-a082-8d4c3e71802f
URL: http://logs.px4.io/plot_app?log=6e62521d-20c8-42ec-8153-9ef83b5c7c31
URL: http://logs.px4.io/plot_app?log=11c0dde3-b3a4-4753-b98d-1650eccd40cd
URL: http://logs.px4.io/plot_app?log=9f9edf3a-3f15-4ccd-9684-e95c27647610
URL: http://logs.px4.io/plot_app?log=36f2c67e-af3f-4599-98f5-c36eb2dbd898
I think we should find a way to have the build results page show these links prominently, rather than posting comments to github. That will generate a lot of comments with rebases.

@dagar Nice integration, thanks!
The reason I would like to have the upload it in a script is that everything done in Jenkins is  in-transparent to anyone else. Thoughts? Environment variables are (should) all available for the called scripts as well.

@dagar You suggestion about the links makes sense.

Either way works for me, I just wanted to see the output. Good point about transparency.

I just realized that we'll get emails for the uploaded logs, we probably want to prevent this?

Is this already merged? I'm asking since I did start to get logs already.

No, but Daniels script is running on Jenkins directly. Can we disable emails if source == CI?

Just avoid adding --email <email> when using the script does that. Or do you mean different email notifications?

ah ;), thanks

Good to go! Thanks @dagar


Use mc:edit

I've tested mc:edit="header" and it works, though in this particular example, the editor shows white text on white background, unless you switch to the HTML code view.

@dandv I've added it to the laster commit.


Release version 2.0.0

Any objections with packaging this baby up and releasing it? I also started on some docs around releasing updates.
cc/ @kadamwhite @pento @ntwb the contributors to this version.


not suppoert vite 4.4.5?

> set DEBUG=vite-plugin-cdn2 && vite build

  vite-plugin-cdn2 start scanning +0ms
  vite-plugin-cdn2 scanning done Map(0) {} +337ms
vite-plugin-cdn2: vue __require.resolve is not a function
vite v4.4.5 building for production...

mini demo: https://codesandbox.io/p/sandbox/vite-plugin-cdn2-not-work-s6p78h

It's seems like require.resolve can't process right esm code caused. I check the codesandbox. I will create a new patch version.

0.9.3 has been released. Bump the version can work  @ywzhaiqi


Testbranch - DO NOT MERGE

Testing
This is to see how the jenkinsfile changes perform against the main pipeline

Trade-offs

Dependencies

Screenshots

do we still need this PR?


docs: lakeFS endpoint as URI documentation changes

Part of #1489. Should be merged after #1717 is released.

This is where not having versioning for our docs bites us in the a**..
It becomes unusable for any prior versions.
I strongly recommend adding examples for older versions instead of replacing existing ones.

agree, need versioned documentation - about older examples, for all the docs or specific section.
adding note and example in the lakectl page will be enough? wdyt?

This is where not having versioning for our docs bites us in the a**..
It becomes unusable for any prior versions.
I strongly recommend adding examples for older versions instead of replacing existing ones.

agree, need versioned documentation - about older examples, for all the docs or specific section.
adding note and example in the lakectl page will be enough? wdyt?

I think that we need at least one example per with the old format.
Or instead a Note that explains how to reference an object in older versions (again - the note should exists in all applicable pages)


User semver in macvim version

Thank you for the contribution. It was merged directly as 822c681a7ee69a95873c5b3c2c510350bc51396a to keep commit history cleaner. Your contribution is still credited to you.


Time Benchmark

Requesting comparison between this and http://blog.kevinalbs.com/base122 and http://base91.sourceforge.net/

By "Time Benchmark", do you mean throughput performance comparisons?

@qntm I meant encoding/decoding speed and data transfer speeds.

Ah. Well, I'm afraid I'm going to have to decline. It seems like a lot of work for an encoder which is written in JavaScript and intended to encode around 385 bytes at a time... and not used by anybody that I'm aware of...


Always lock UTXOs in wallet commands

Wallet commands should always lock inscriptions

this is a great idea. I've been pro-actively locking outputs that I dont want it to spend by hand. having the wallet commands do this would be great


added blank footer blocks to email invite tempalte since they do not hav...

...e any preferences yet.
The email that arrived with invite was a bit awkward:

Someone has just invited you to join Kegbot
To accept the invitation and register, please click here: https://mysite.info/accounts/register?invite_code=ddccc3f3-f457-4250-ac03-1f653d201616
You are receiving this e-mail because you have notifications enabled on Kegbot. To change your settings, visit .

They would not have notifications enabled since they are not a member yet.

thanks!


Error with import MyApp.{ModA, ModB}

Environment

Elixir & Erlang versions (elixir --version): Elixir 1.8.0 (compiled with Erlang/OTP 20)
Operating system: Linux
Client (editor or IDE): Emacs

When visiting a file that is using a module that has a line like import MyApp.{ModA, ModB} in it's __using__ macro, the following error is raised:
LSP :: an exception was raised:
    ** (FunctionClauseError) no function clause matching in Code.ensure_loaded/1
        (elixir) lib/code.ex:985: Code.ensure_loaded({{:., [], [ElixirLsTest, :{}]}, [], [ModA, ModB]})
        (elixir_sense) lib/alchemist/helpers/module_info.ex:64: Alchemist.Helpers.ModuleInfo.get_module_funs/1
        (elixir_sense) lib/alchemist/helpers/module_info.ex:52: Alchemist.Helpers.ModuleInfo.has_function?/2
        (elixir) lib/enum.ex:2948: Enum.find_list/3
        (elixir_sense) lib/elixir_sense/core/introspection.ex:628: ElixirSense.Core.Introspection.find_imported_function/2
        (elixir_sense) lib/elixir_sense/core/introspection.ex:602: ElixirSense.Core.Introspection.actual_mod_fun/4
        (elixir_sense) lib/elixir_sense/providers/docs.ex:12: ElixirSense.Providers.Docs.all/4
        (elixir_sense) lib/elixir_sense.ex:50: ElixirSense.docs/3

I've set up a test repo at https://github.com/manukall/elixir_ls_test. When opening the file lib/elixir_ls_test/using.ex I get the above error.

Example packet causing error:
Content-Length: 211

{"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"textDocument":{"uri":"file:///home/jason/dev/forks/elixir_ls_test/lib/elixir_ls_test/using.ex"},"position":{"line":1,"character":0}},"id":10451}

@manukall does this happen only when ModA and ModB don't actually exist as modules?

No, it also happens when they exist. I was just to lazy to create them for
the example app.
Am So., 3. Feb. 2019, 10:21 hat Jason Axelson<EMAIL_ADDRESS>geschrieben:

@manukall https://github.com/manukall does this happen only when ModA
and ModB don't actually exist as modules?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elixir-lsp/elixir-ls/issues/16#issuecomment-460035941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHKqq3kD-NzMcdqa06MPLR6VMsNEHfLks5vJqoKgaJpZM4afCJs
.

Annoyingly, although the error is coming out of elixir_sense I have been completely unable to reproduce it in there. I'm starting to think that the bug is somewhere inside elixir-ls (which makes it harder to test).

Could it be that it's got to do with how elixir-ls sends the information to
elixir_sense?
On Sun, Feb 17, 2019 at 3:20 AM Jason Axelson<EMAIL_ADDRESS>wrote:

Annoyingly, although the error is coming out of elixir_sense I have been
completely unable to reproduce it in there. I'm starting to think that the
bug is somewhere inside elixir-ls (which makes it harder to test).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elixir-lsp/elixir-ls/issues/16#issuecomment-464428132,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJSYiqw1GgEjRIizdVmvtzqQyT2vSmks5vORC0gaJpZM4afCJs
.

I didn't have a time to deep dive into this, but it looks like it has to do with a module making it to the metadata_builder without being properly quoted.
Adding this:
+  defp pre({:import, [line: line, column: _column], [{{:., _, [module, :{}]}, _, imports}]} = ast, state) when is_atom(module) do
+    imports_modules = imports |> Enum.map(fn {:__aliases__, _, mods} ->
+      Module.concat([module | mods])
+    end)
+    pre_import(ast, state, line, imports_modules)
+  end
+
   # import without options
   defp pre({:import, meta, [module_info]}, state) do
     pre({:import, meta, [module_info, []]}, state)

to elixir_sense resolved that specific warning for me.

Basically it is expecting the module in that case to be {:__aliases__, _, _} like it normally is, but sometimes it is not that and it is only a single module name :)

Is anyone able to reproduce this in vscode? I'm only able to reproduce it in Emacs with lsp-mode.

@axelson I'm able to reproduce it in vscode by moving the mouse pointer over first character of the using.ex. There's also a similar error with autocomplete suggestion when I add a new line
def

** (Protocol.UndefinedError) protocol List.Chars not implemented for {{:., [], [ElixirLsTest, :{}]}, [], [ModA, ModB]} of type Tuple
    (elixir) lib/list/chars.ex:1: List.Chars.impl_for!/1
    (elixir) lib/list/chars.ex:17: List.Chars.to_charlist/1
    (elixir) lib/code.ex:240: Code.eval_string/3
    lib/alchemist/helpers/module_info.ex:37: Alchemist.Helpers.ModuleInfo.get_functions/2
    lib/alchemist/helpers/complete.ex:49: anonymous fn/6 in Alchemist.Helpers.Complete.run/2
    (elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3
    lib/alchemist/helpers/complete.ex:48: Alchemist.Helpers.Complete.run/2
    lib/elixir_sense/providers/suggestion.ex:132: ElixirSense.Providers.Suggestion.find_hint_mods_funcs/3

I was able to isolate it to a testcase in elixir_sense and confirm the bug there (already fixed on master in https://github.com/elixir-lsp/elixir_sense/pull/30)
@zachdaniel the root issue here was fixed in https://github.com/elixir-lsp/elixir_sense/pull/30/files#diff-d6973eae0d57d757480888d565996cefR207 by properly extracting modules from AST node

@lukaszsamson Thanks for looking into and fixing the root cause of this issue! I wonder what I was doing wrong when I tried to reproduce. I'll open a PR to update to the latest version of elixir_sense.


May require current working directory is set correctly for the typical case.
Related Issue
#952
Motivation and Context
I moved my IntermediateOutputPath to a ramdisk on a different drive, and so $(ProjectDir)$(IntermediateOutputPath) results in two absolute paths crammed into one which breaks the build.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

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

I believe this breaks the samples due to incorrect working directory.  See issue for discussion of more potential fixes.

See https://github.com/jaredthirsk/stride/blob/master/sources/assets/Stride.Core.Assets.CompilerApp/build/Stride.Core.Assets.CompilerApp.targets for my latest fixes (working so far with both relative and absolute $(BaseIntermediateOutputPath)


Trait command on NPC's

Hello nathan!
Is a little question about the trait command.
I tried to use that trait using a command of a own plugin.
The command is /razas elegir , this command is to open a GUI to select your race (The plugin is about races yes).
I tried to use this trait with @p at the end of the command
/mtrait command razas elegir @p
but dont work , so... do you have idea about this to solve my problem?
Regards!

Try /mtrait console false to make the player cast it
By default command traits use the console to run the command.
But note they will need permission for the command~

Oh! , Its true, I didnt looked the console.
Now works ,Thank you ^^

A little question more , this trait its own of magic plugin right?
I want to say.. I will not have problems with citizens plugin

The Magic traits do rely on Citizens, if that's what you mean.

Yes, I was doubting about the possible "incompatibility" (I have more plugins adding more options to citizens) , But sorry for that ^^ , Thank you again

Well hopefully it's not an issue but I do wonder what happens if some other plugin tries to add a "command" trait...

Time to experiment muahaha .
Just for finish but... A NPC can have than more 1 mtrait? , for example... hat & command ?
And in that case.. How can i look , all the traits for a NPC?

NPCs can have many traits, yes ... I'm not really sure how to check them, that's kind of a Citizens question. Maybe just /trait?

Aaam yes, I did it.  Is the basic command /npc to look all the properties including all the traits for that NPC.
I think, by the moment, I dont have more question about this, so... Thank you so much again ^^


XIVY-7822 Add start process quickaction.

Nice! Can we also test this? Or how does this behave on an engine?

I could write a test for the handler in glsp core. Is that what you expect?

No, I thought at a webtest which starts this process...


add support for windows infrastructure

Current coverage is 6.68%

Merging #14 into master will increase coverage by +0.61% as of f7c4556

@@            master    #14   diff @@
=====================================
  Files           40     40
  Stmts         2717   2737    +20
  Branches         0      0
  Methods          0      0
=====================================
+ Hit            165    183    +18
  Partial          0      0
- Missed        2552   2554     +2

Review entire Coverage Diff as of f7c4556

Powered by Codecov. Updated on successful CI builds.


panic: iouring_setup: function not implemented

When I tested the cat in /example, it was panic on my machine(CentOS Stream9).
But, when I tested the cat in Ubuntu22.04, It can work normally.
env
uname -a
Linux 5.14.0-160.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 25 23:06:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

uname -a
Linux 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Could you give me the output of panic?

Could you give me the output of panic?
Like the title

Please run the command on centos and Ubuntu separately to see their output
printf SYS_io_uring_setup | gcc -include sys/syscall.h -E -

printf SYS_io_uring_setup | gcc -include sys/syscall.h -E -

centos stream9
[root@test-bs cat]# printf SYS_io_uring_setup | gcc -include sys/syscall.h -E -
# 0 "<stdin>"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 0 "<command-line>" 2
# 1 "/usr/include/sys/syscall.h" 1 3 4
# 24 "/usr/include/sys/syscall.h" 3 4
# 1 "/usr/include/asm/unistd.h" 1 3 4
# 20 "/usr/include/asm/unistd.h" 3 4
# 1 "/usr/include/asm/unistd_64.h" 1 3 4
# 21 "/usr/include/asm/unistd.h" 2 3 4
# 25 "/usr/include/sys/syscall.h" 2 3 4

# 1 "/usr/include/bits/syscall.h" 1 3 4
# 30 "/usr/include/sys/syscall.h" 2 3 4
# 0 "<command-line>" 2
# 1 "<stdin>"

# 1 "<stdin>" 3 4
425

请分别在 centos 和 Ubuntu 上运行命令以查看它们的输出
$ printf SYS_io_uring_setup | gcc -include sys/syscall.h -E -

Ubuntu22.04
# 0 "<stdin>"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 0 "<command-line>" 2
# 1 "/usr/include/x86_64-linux-gnu/sys/syscall.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/sys/syscall.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/asm/unistd.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/asm/unistd.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/asm/unistd_64.h" 1 3 4
# 21 "/usr/include/x86_64-linux-gnu/asm/unistd.h" 2 3 4
# 25 "/usr/include/x86_64-linux-gnu/sys/syscall.h" 2 3 4

# 1 "/usr/include/x86_64-linux-gnu/bits/syscall.h" 1 3 4
# 30 "/usr/include/x86_64-linux-gnu/sys/syscall.h" 2 3 4
# 0 "<command-line>" 2
# 1 "<stdin>"

# 1 "<stdin>" 3 4
425

Weird problem, but apparently the kernel doesn't support iouring, maybe the centos kernel compile option doesn't enable iouring, you can try this https://unix.stackexchange.com/questions/596276/how-to-tell-if-a-linux-machine-supports-io-uring

Weird problem, maybe the centos kernel compile option doesn't enable iouring, you can try this https://unix.stackexchange.com/questions/596276/how-to-tell-if-a-linux-machine-supports-io-uring

you are right! thanks.


Compilation of the example fails

I'm trying to compile the example at https://rustwasm.github.io/wasm-bindgen/whirlwind-tour/basic-usage.html but the compilation fails:
$ cargo +nightly build --target wasm32-unknown-unknown
   Compiling wasm-bindgen v0.2.23
error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-unknown-unknown` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: Could not compile `wasm-bindgen`.

To learn more, run the command again with --verbose.

Let me know if you need more informations.

Thanks for the report! It looks like the wasm target isn't added for your toolchain, and I think this should fix the issue:
$ rustup target add wasm32-unknown-unknown --toolchain nightly

Hi @alexcrichton I have the same Issue, and I already run following command:
 rustup target add wasm32-unknown-unknown --toolchain nightly
and the command's result as following:
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
but still occurrus the issue：
error[E0463]: can't find crate for core  |   = note: thewasm32-unknown-unknown target may not be installed error: aborting due to previous error

@Itanq oh it looks like you added the wasm target to the nightly toolchain, so you'll need to make sure any build commands are prefixed with rustup run nightly ...

ADD this once: rustup target add wasm32-unknown-unknown --toolchain nightly
SOLUTION :
rustup run nightly cargo build --target wasm32-unknown-unknown


We should add the ability for people to register and use prefixes during reading and writing. The prefixes used during reading are independent of the actual declared prefixes in the xml document, so it basically behaves similarly to registerXPathNamespace in simplexml.
Example
$writer->namespaceMap = [
   'd' => 'DAV:',
];

$writer->write('d:foo', 'bar');

/// Instead of:

$writer->write('{DAV:}foo', 'bar');

The change in the preceding example may seem minimal, but most namespace declarations are not 4 characters, they are massive urls.
It's a bit of a different story with reading though, as for writing, we can easily support both syntaxes unambiguously at the same time:
$writer->write('d:foo', 'bar');
$writer->write('{DAV:}foo', 'bar');

During reading though, a choice needs to be made. Or can we make it optional?

This was pretty much the very first thing I started looking for. I have urls here that would be quite long comparatively. There's also the matter of memorising such long strings for documents where multiple namespaces feature (even Atom have quite a variety).

@padraic i can see it's a bit frustrating, but frankly I'm not 100% certain on how to correctly solve it.
The biggest issue is that by using a 'global configuration' for namespace to prefix mapping, it means that the individual element classes need to either use the global configuration to figure out the correct prefixes for their namespace (pretty much defeating the purpose).
Or: we just have to assume that users such as yourself simply always want to map namespaces, and don't care much for re-using the parser classes in other projects (or force the other projects to re-use the same prefixes).
Most of this only applies to reading though. For writing it's a bit easier, because you can actually just use prefixes in all of the function names.
So I'm basically not necessarily against the idea, but I'm stumped as to how to do this well.

I feel like using namespaces is what you need. You can omit the xmlns declaration if you want to, and use it only for markup but I think that should be optional. To use the prefix and omit the namespace you can just pass null.
There is an example in the documentation.
http://php.net/manual/en/function.xmlwriter-start-element-ns.php

Closing this ticket. If more specific features are proposed in the future I'll definitely consider it, but this never really went anywhere.


Fix broken test on julia 1.7+

This is a quick and dirty fix for #273. Ideally one would use stable RNGs in the tests. But that is beyond my capacities.

@greimel Thanks!
Would you mind opening an issue explaining about an ideal fix that uses "stable RNGs in the tests"? Thank you!


Assemble new chassis - Doug's robot

Waiting on task #1 (make new thigh parts) which in turn are waiting on the Haimer to be repaired.

All required parts are now created and Doug’s robot can now be fully assembled.

Doug's robot is now assembled and we are ready to fine tune the home/neutral joint positions.


Add methods to test whether CGGeometry is undefined

These might be helpful in assertions in Few.swift for example.

Awesome! Mind adding a couple tests for them?

@joshaber Ready for another review! In order to make it work I had to generalize the behavior to returning true if any of the lengths isnan. It still correctly returns false for the special rects though.

:metal:


SessionListener.onStreamReceived not called

I'm building my android application with  com.opentok.android:opentok-android-sdk:2.11.0 .
below is my code in SubscriberActivity:
  @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_live_subscriber);

        initView();

        queryToken();
    }
    //success on server response
    private void onTokenReceived(String apiKey, String sessionId, String token) {
         liveSession = new Session.Builder(this, apiKey, sessionId).build();
        liveSession.setSessionListener(this);
        liveSession.connect(token);
    }
     @Override
        public void onStreamReceived(Session session, Stream stream) {
            if (liveSubscriber == null) {
                liveSubscriber = new Subscriber.Builder(this, stream).build();
                liveSubscriber.getRenderer().setStyle(BaseVideoRenderer.STYLE_VIDEO_SCALE, BaseVideoRenderer.STYLE_VIDEO_FILL);
                session.subscribe(liveSubscriber);
                showPlayingView();
                liveSubscriberView.addView(liveSubscriber.getView());
            }
        }

I entered this screen and SessionListener.onConnected(Session) had been called, but onStreamReceived never called.
This problem is serious for me, please give me help, thanks.

Hi @lby1992,
Please note, the "onStreamReceived(Session session, Stream stream) event, will be invoked when you are connected to the session and there is a new stream published by another client in the same OpenTok session.
Do you have another participant connected to this OpenTok session?

@marinaserranomontes Thanks for your reply.
I had published a stream yet and it was stopped before I try to subscribe it. On iOS client it can be watched, but android client can't.

I found the reason, I should use the saved video url to watch the video which no longer live active. @marinaserranomontes thank you.


Json

in advanced cs have a good course on cryptography and quantum computing would be nice, we should have a elective style section where we can take advanced courses or other courses such a communication, writing,  or speaking since this is really important in a professional environment.

Hello @Qubit-Hex
It looks like you have some thoughts on substantive changes to the curriculum. I encourage you to read through the Contributing guidelines which can guide you through the process of improving the OSSU curriculum.

The commits in this PR are unrelated to the content/comments above. Closing.


Bump jinja2 from 2.10.1 to 2.11.3

Bumps jinja2 from 2.10.1 to 2.11.3.

Release notes
Changelog
Commits

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Merged the Dependabot PR since it picked up this one's successful test run. Closing this PR out.


How is transformation function automatically called inside DeepAREstimator class?

I was trying to configure that how can i insert create_transformation inside DeepARE estimator class, when i read documentation i felt that i need to use DataLoader class for feeding the transformed data in to the model. But when i checked DeepARE estimator class source code, create_transformation() function was already present. I think when i call DeepAREstimator class, this function create_transformation automatically is called and transforms my ListDataset object. is this true? How is create_transformation function automatically called when the DeepARE estimator is used. Should we first call create_transformation() from the DeepARE object.
Tutorials are not clear about how to add transformations in built in models. Are they automatically applied when we provide then ListDataset().

create_transform is called automatically during training:
https://github.com/awslabs/gluon-ts/blob/ed847c9895fb2a225eed0596073a98babd3f31c6/src/gluonts/model/estimator.py#L173-L176
At the moment, only GluonEstimator implements that logic. I agree, that we can improve how we handle this generally and update the documentation.

This has really solved my issue, thank you!


Permanent archival of Docker or Singularity images

Docker or Singularity images could be useful to preserve a specific software version with its run-time environment for long-term archival and reproducibility in scientific computing.
Docker Hub may delete images and change access policies at their discretion.
For that reason we should look into a registry that guarantees longer retention. Perhaps the GitHub container registry could be an option? Optimal would be a service like Zenodo.

Optimal would be a service like Zenodo

We could directly generate and upload the Singularity image (SIF file) to Zenodo - that should be "straight forward"™.


Error when installing dsa5-drag-rule

When trying to install, red error message appears:

drag-ruler v1.12.8
socketlib v1.0.11
foundry v10.286

confirmed

Fixed typo in download URL.
Thanks for the report.


Updated test data and unit tests to reflect the changes

@mfunk, please review and merge

picking up this one.

Updates to the test pass for RLOS and LLOS on Pro and Desktop with expected error in Pro from issue  #83.
@dhagens go ahead and delete this feature branch from the repo.


pivot_table with aggfunc='min'?

Discussed in https://github.com/dask/dask/discussions/9722

Originally posted by sorenwacker December  6, 2022
Hi,
I came across these post on stackoverflow, where someone asked, if it is possible to do a pivot_table with aggfunc = 'min'. That was in August 2019 and this feature has not yet found its way into the repository. I don't know if such a feature request was ever created, but I wonder why that feature was never implemented. Is there a techincal barrier that makes it particularily difficult to implement the minimum function for a pivot_table aggregation in dask? If someone know the details, I would be interested what these difficulties are. Maybe someone can point me to a resource to read, like a discussion, or documentation, if such things are discussed there in enough detail to understand the issue.

xref: https://github.com/dask/dask/pull/9728


meshgraphnets : training cylinder_flow gives InvalidArgumentError

Description of the bug
Hi @tobiaspfaff, @alvarosg & team, thanks for making this repo - I'm hoping to use the meshgraphnets on some real combustion CFD data as discussed with Tobi. However, I'm encountering a bug during training of the cylinder_flow test case without any modifications. In a clean cloned repo, running the command:
python -m meshgraphnets.run_model --mode=train --model=cfd --checkpoint_dir=${DATA}/chk --dataset_dir=${DATA}/cylinder_flow
gives the following error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot update variable with shape [3] using a Tensor with shape [2], shapes must be equal.
         [[{{node Model/loss/output_normalizer/cond/AssignAddVariableOp_1}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/mlc70/tmp/deepmind-research/meshgraphnets/run_model.py", line 131, in <module>
    app.run(main)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "/home/mlc70/tmp/deepmind-research/meshgraphnets/run_model.py", line 126, in main
    learner(model, params)
  File "/home/mlc70/tmp/deepmind-research/meshgraphnets/run_model.py", line 83, in learner
    _, step, loss = sess.run([train_op, global_step, loss_op])
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 754, in run
    run_metadata=run_metadata)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1259, in run
    run_metadata=run_metadata)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1360, in run
    raise six.reraise(*original_exc_info)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/six.py", line 719, in reraise
    raise value
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1345, in run
    return self._sess.run(*args, **kwargs)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1418, in run
    run_metadata=run_metadata)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1176, in run
    return self._sess.run(*args, **kwargs)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot update variable with shape [3] using a Tensor with shape [2], shapes must be equal.
         [[node Model/loss/output_normalizer/cond/AssignAddVariableOp_1 (defined at home/mlc70/tmp/dmenv/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]

Notes

Training flag_simple works fine

System info:
System: Linux
Node Name: paragon
Release: 4.15.0-159-generic
Version: #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021
Machine: x86_64
Processor: x86_64
GPU: NVIDIA Quadro P400
Packages
absl-py                1.0.0
astor                  0.8.1
cloudpickle            1.1.1
contextlib2            21.6.0
cycler                 0.11.0
dataclasses            0.8
decorator              5.1.1
dm-sonnet              1.36
gast                   0.2.2
google-pasta           0.2.0
GPUtil                 1.4.0
grpcio                 1.43.0
h5py                   2.10.0
importlib-metadata     4.8.3
Keras-Applications     1.0.8
Keras-Preprocessing    1.1.2
kiwisolver             1.3.1
Markdown               3.3.6
matplotlib             3.3.4
numpy                  1.18.5
opt-einsum             3.3.0
Pillow                 8.4.0
pip                    21.3.1
pkg_resources          0.0.0
protobuf               3.19.3
psutil                 5.9.0
pyparsing              3.0.6
python-dateutil        2.8.2
semantic-version       2.8.5
setuptools             59.6.0
six                    1.16.0
tabulate               0.8.9
tensorboard            1.15.0
tensorflow-estimator   1.15.1
tensorflow-gpu         1.15.5
tensorflow-probability 0.8.0
termcolor              1.1.0
typing_extensions      4.0.1
Werkzeug               2.0.2
wheel                  0.37.1
wrapt                  1.13.3
zipp                   3.6.0

Solution: bug was due to checkpoint directory being shared between two different test cases (flag_simple and cylinder_flow). When training different models, ensure the checkpoint directories are unique, like --checkpoint_dir=${DATA}/chk_cylinder and --checkpoint_dir=${DATA}/chk_flag


plugin is VERY slow

There are no visible errors or warnings, but the sheets screen is extremely slow, taking almost a second to respond to mouse inputs. There's no lag in other parts of the editor, only in the sheets screen.
I attached a video showing the issue.
https://user-images.githubusercontent.com/18042232/152300185-4b42c4d7-7e75-4a3b-8f5c-05de3f9df2b8.mp

I think this happens with large sheets with many cells. In an upcoming version, I will try to create cells with VisualServer instead of adding nodes to the tree. Hopefully, that will make it faster.

What I had onscreen doesn't seem like it would be enough nodes to cause this sort of slowdown. You probably shouldn't jump to doing a major rewrite like that without positively identifying the root cause(unless you want to switch to using the VisualServer for other reasons).
I have a little more time now, so I'll redownload it this weekend and try to find the problem.


Refactor Release Object Ordering

@jofsky whenever you change a model, you need to generate a new migration so that Django can keep track of whether other instances of the project need to have their databases updated.
Run ./manage.py makemigrations -n NAME where NAME is a brief description of what changed (e.g. release_ordering in this case). Then run black on the resulting migration file and commit it.

Django docs on migrations, for more info: https://docs.djangoproject.com/en/3.1/topics/migrations/

Ah shoot, I forgot to commit it before requesting. Although I will read the docs. @davisagli


Created notebook for creating sample data of two sensors on a half pipe

offset sine waves in 3 dimensions to mirror two sensors

Will publish to kaggle


Create cla.yml

add CLA action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 77.123%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3742

Relevant Lines:
4852

💛  - Coveralls


Android oreo is not able to open the customize landing page Intent action while tapping the system notification tray.

Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?

iOS/Android/Both
iOS/Android versions
emulator or device. What type of device?

Please, provide the following version numbers that your issue occurs with:

CLI: (run tns --version to fetch it)
Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.json file in your project)
Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
Plugin(s): (look for the version numbers in the package.json file of your
project and paste your dependencies and devDependencies here)

Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Is there any code involved?

provide a code example to recreate the problem
(EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.

I have customized the Landing Page as per UA documentation and registred in the manifest file. But In android Oreo when I tapped on System notification tray It shows 'no app for this action' with gray intent action sheet.  I can't resolve this problem after lot of digging the UA documentation and made lots of other effort too. Please help to get out of this. One more thing Why UA doesn't provide sample for all these actions like other plateform do. It is so complex to implement and its customizatio  creates too much headache.

@Ravind88 Would you be so kind to fill the issue form by providing all requested data?
Additionally, it is not clear what "UA" means and what you have changed to your app in order to reproduce the issue. A sample project that reproduces the case will be of great help.

Closing due to inactivity.


Add being able to set your reach to a decimal number like 3.5

Is your feature request related to a problem? Please describe.
It bothers me that I can only set my reach to a whole number like 4 and not a decimal number like 3.5
Describe the solution you'd like
Maybe add a command like .reach or allow decimals in the slider for reach in the clickgui
Describe alternatives you've considered
I cannot think of a way around this

fixed in 1.12.4

when will that release?

today


Fix test_campaign_high_res_v1 error

Fix test_campaign_high_res_v1 error. Presumably this is because there is no [tc_analysis] section in the cfg file (the last time #179 was tested must have been before #169 merged). Note that is the same unhelpful error reported in #175.
$ zppy -c tests/integration/test_campaign_high_res_v1.cfg
Configuration file validation passed
Error interpreting years
Traceback (most recent call last):
  File "/home/ac.forsyth2/miniconda3/envs/zppy_dev_v200rc1/bin/zppy", line 8, in <module>
    sys.exit(main())
  File "/home/ac.forsyth2/miniconda3/envs/zppy_dev_v200rc1/lib/python3.7/site-packages/zppy/__main__.py", line 101, in main
    tc_analysis(config, scriptDir)
  File "/home/ac.forsyth2/miniconda3/envs/zppy_dev_v200rc1/lib/python3.7/site-packages/zppy/tc_analysis.py", line 34, in tc_analysis
    year_sets = getYears(c["years"])
  File "/home/ac.forsyth2/miniconda3/envs/zppy_dev_v200rc1/lib/python3.7/site-packages/zppy/utils.py", line 98, in getYears
    raise Exception
Exception

This error also occurs in test_campaign_cryosphere_override and test_campaign_water_cycle_override

@forsyth2 : this is annoying about missing sections. Every single section needs to be listed in the cfg file. I really wish there was a work around, so that missing sections are simply turned off. But I haven't found one (did not spend a whole lot of time either).

@golaz Can we make active=False the default, rather than active=True? That will make it easy to omit unneeded sections. I suppose that would be an incompatible API change (since users would have to start specifying active=True, but we're incrementing the major version for this release anyway.

@forsyth2 : sure, you can make that change. I thought something else was causing trouble, but I don't remember the details.

I really support active=False being the default.


docker image build error!

exec :sh build.sh
the result is like below:
[ERROR] Failed to execute goal on project carrera-common: Could not resolve dependencies for project com.xiaojukeji.ddmq:carrera-common:jar:1.0.0-SNAPSHOT: Could not find artifact com.xiaojukeji.rocketmq:rocketmq-tools:jar:4.2.2-SNAPSHOT -> [Help 1]

在build.sh加一条(cd ../rocketmq && mvn clean install -DskipTests)


Not working after latest FDM update

Not working after latest FDM update, can u add support please thanks

says python cant be found on logs. but its installed tried several versions of python.

https://i2.paste.pics/ea343fb5083e03b7325f7a6fa1534a18.png?trs=468dc29fac871783a137698b3e82a82a8d3d9d33f126508ed09ac613a9dcfa92
https://www19.zippyshare.com/v/tKkrwWkX/file.html

You need to write to their support.

thanks it was about python not recognized. i think fdm's fault... i installed python via fdm and now its working again.


Apply fixes from CodeFactor

This pull request applies style fixes from code review by CodeFactor.

For more information, click here.

Codecov Report

Merging #1 (e1bafd0) into main (bfa8972) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage   38.22%   38.22%
=======================================
  Files           4        4
  Lines         497      497
=======================================
  Hits          190      190
  Misses        307      307

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 bfa8972...e1bafd0. Read the comment docs.


Translate Value Changes from first index to last Index

Steps to reproduce

The current value of the slider pointer changes from the first index to the last index on pointer click.

Expected behaviour
Value should not change unless the pointer is moved or translated.
on pointer click, value should not change.
on pointer click + dragged, value should change
Actual behaviour
Value changes fron index 0 to 5
I. E. [1,2,3,4,5]
current value = 1
on pointer click translate value changes from 0 to 5 even the slider pointer is not dragged.
I'd like some help with it thanks.

Could you please provide a JSFiddle showing the issue and a list of steps to reproduce it?

I have this.

myCtrl.slider = {
            value: 1,
            options: {
                floor: lodash.head([1,2,3,4,5]),
                stepsArray: [1,2,3,4,5],
                ceil:lodash.last([1,2,3,4,5]),
                translate: function(value) {
                    console.log('Data: ' + value);
                    return  value;
                },
                showSelectionBar: true,
                getSelectionBarColor: function(value) {
                    return '#7F7F7F';
                },
                getPointerColor: function(value) {
                    return '#ffffff';
                },
                hidePointerLabels: false,
                hideLimitLabels: true,
            }
        };

<rzslider
                    rz-slider-model="myCtrl.slider.value"
                    rz-slider-options="myCtrl.slider.options"></rzslider>

so what is expected is when I click on the pointer, it should not move the value for some milliseconds to the last index of the steps array i.e
[1,2,3,4,5]
current value = 1
clicking the pointer changes the value from 1 to 5 and reverts back to 1.
expected output,
when clicking the pointer should do nothing, dragging the pointer should change the value according to the steps array.
Let me know if this helps verify my problem.

When using stepsArray, you don't need to set floor/ceil. Moreover, for a slider from 1 to 5, you don't need to use stepsArray, just set floor=1 and ceil=5.
Moreover, you should not change the colors of the sliders with functions if it doesn't change at runtime, it's better to do it via CSS.

Also your translate function is useless here... I feel like this is not the real code you are using in your app because this one should work... If my comment didn't fix your issue, you should really take the Fiddle from the README (in the reproducing issue part), modify it, fork it and share it here. Otherwise, I can't help more.

Thanks for clarifying, I removed the translate and just used the onEnd option so the value only changes on end. Will close this thread now. Thank you for a good support! :)

translate and onEnd don't serve the same purpose at all! I strongly feel like you don't use the library properly... What are you trying to achieve?

Hello,
the approach i have with the translate and onend seems to work,
what I wanted to achieve is this,
I have a dynamic array which is used as a stepsarray
now when I click on the point + drag it to each steps, it should show the value of that steps ( which I got working )
now I only have the on pointer click issue with the translate since when I click on the pointer, the value changes from the current value to the last of the steps array. This is what I have working.
singleProductCtrl.slider = {
            value: $sessionStorage.currentProductVersionWatts,
            max: lodash.last($sessionStorage.productWatts),
            options: {
                stepsArray: $sessionStorage.productWatts,
                translate: function(value) {
                    var data = ((!lodash.isUndefined(lodash.find($sessionStorage.wattsLumens, {"Watts": value})) ? lodash.find($sessionStorage.wattsLumens, {"Watts": value}) : 0));
                    singleProductCtrl.valueWatts = $sessionStorage.currentProductVersionWatts = value;
                    singleProductCtrl.valueLumens = $sessionStorage.currentProductVersionLumens = data.Lumens;
                    return  value;
                },
                showSelectionBar: true,
                getSelectionBarColor: function(value) {
                    return '#7F7F7F';
                },
                getPointerColor: function(value) {
                    return '#ffffff';
                },
                hidePointerLabels: false,
                hideLimitLabels: true,
                onEnd: function(id, value, high) {
                    var data = ((!lodash.isUndefined(lodash.find($sessionStorage.wattsLumens, {"Watts": value})) ? lodash.find($sessionStorage.wattsLumens, {"Watts": value}) : 0));
                    singleProductCtrl.valueWatts = $sessionStorage.currentProductVersionWatts = value;
                    singleProductCtrl.valueLumens = $sessionStorage.currentProductVersionLumens = data.Lumens;
                }
            }
        };

not sure if I had it correctly but it seems to be what I needed. :)


Add support for DAG & TaskGroup level caching (performance improvement)

Introduce DAG level cache. Based on initial tests, this can improve the performance of running a Cosmos-powered DAG by 59% (validated with the repo's basic_cosmos_dag).
To enable this feature, users should set the environment variable AIRFLOW__COSMOS__EXPERIMENTAL_CACHE=1.
What is missing (why this is draft PR):

Allow users to customise their own calculate_current_version
Refactor so there isn't so much code duplicate between DbtDag and TaskGroup
Allow users to purge the cache (via env var or param passed in the Airflow UI - second option is probably preferable)
Unify _create_cache_identifier and create_cache_identifier_v2
Write tests
The cache should be invalidated if there is an error unpickling

This will be done in a separate PR:

have a way of storing cache remotely (to be addressed in a separate ticket: https://github.com/astronomer/astronomer-cosmos/issues/927). There is a concern about how secure is pickle, so we may need to cache representation.
button in the UI to purge cache for individual DAG/TaskGroup
button in the UI to purge all Cosmos cache
enable feature by default before 1.5 release (TODO: log ticket)

Closes: #926
Closes: #990
How to reproduce
Run using the new cache feature:
time AIRFLOW__COSMOS__ENABLE_CACHE=1 AIRFLOW__COSMOS__EXPERIMENTAL_CACHE=1 airflow dags test basic_cosmos_dag  `date -Iseconds`

Ran in 7.03s user 2.59s system 81% cpu 11.808 total

Run without the new cache feature:
time  AIRFLOW__COSMOS__ENABLE_CACHE=1 AIRFLOW__COSMOS__EXPERIMENTAL_CACHE=0 airflow dags test basic_cosmos_dag  `date -Iseconds`

Ran in 18.75s user 2.62s system 73% cpu 28.898 total

When using the current approach in a distributed environment, there are two challenges:

Concurrent tasks (in the same node) try to create the cache at the same time
Tasks running in different nodes (that didn't have the cache) have to generate it

We'll look into improving this.
Examples of the behavior in a distributed Airflow environment:

For this approach to work in a distributed Airflow environment, the cache would have to be stored remotely.
storing a pickle in a remote location (e.g., an object store) has security implications. For example, someone could provide malicious shell code as input, causing remote code execution. For this reason, I'm closing this PR.
I'm closing this PR in favor of a more promising dbt ls caching strategy in #1014.


Only run if plugged in

This shouldn't be that hard to implement, just checking if the command pmset -g batt | head -n 1 | cut -d \' -f2 returns AC Power and only if it doesn't, cancel the update and potentially send the user a notification. This is useful for running upgrades on all packages due to compilation taking up cpu etc.

We already deliberately bar Homebrew upgrading anything from-source whilst using autoupdate since https://github.com/Homebrew/homebrew-autoupdate/commit/4082fc2bd523a45959c11c46147d2ff1a651d2f8, so CPU usage is kept fairly minimal. Can you go into more detail about what you're seeing as an issue despite that?


pull request for e2e test at 01/07/2017 08:15:07

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


Styling for ticks

Describe the bug
Tick marks inline with text change the wrapping behavior.
To Reproduce
Steps to reproduce the behavior: on local builds or on the staging site a good testing page is

learn/governance/auditing executive spells
Scroll through teh technical content , the inline code likes to take up space.
work_with_us/content/writing-style-guide
Especially in the do's and don'ts

Expected behavior

New lines wouldn't add extra padding
If code was wirtten inline the words wouldn't start on a new page.

Screenshots

Desktop (please complete the following information):
All
Smartphone (please complete the following information):
Didn't test

Fixed by #414


Rails Admin Home Button Messing Up With My Rails Layout

I have tried looking for an answer online regarding this but I can't seem to find any solution. I am using the rails_admin gem in my rails application. Everything seems to work fine but when I click the Home button in the Admin Workspace portal it messes up with the layout of my application, for which I have to refresh the page to get it back to normal. Also if I refresh the admin page after it's been loaded and then click on the home button it's working fine - same is the case with the charts section that I have in the admin panel. I have to refresh it the first time for it to show up
Please check the images.

Looks like a pjax issue, try adding data-pjax="0" to links which needs layout change.


Feature Request: Create an automated cognitive KBs, dispatch-integrated update mechanism

As bots development grows, so is the variety of roles/personas participating in the development. We'll have content "conversation" AI producers, and backend developers for example.
Content producers should be able to trigger update and push new models to production using automated refresh mechanism, e.g. dispatch will pull in updated models, re-train, and push out.

Actually, I was trying to automate dispatch refresh command using a console application in azure portal, and I have tried to install the botdispatch but I am not able to run the "dispatch init" and other dispatch commands in the azure directory using that console application. Please suggest me that is there any thing other than botdispatch to be installed to make the commands run.

Hi you could just use our DispatchUpdater from the BB Community repo: https://github.com/BotBuilderCommunity/botbuilder-community-tools/blob/master/DispatchUpdater/README.md


Basics

Very basic, this is for warmup.

Not sure what I should review here. Looks like the basic stuff we discussed.

@jl-wynen Have another look, I added some dask stuff.


Some members cannot login to our website

Some of our members have recently gotten in contact with the board saying they cannot login to their accounts. When they do log in they get shown the "Contact the board if you want to become a member"-page.
I couldn't find anything weird in our members database, and I made sure the student/employee numbers are correct.

Please send me/www-super@ a list of people that are affected, as I can log in perfectly fine.


AttributeError: module 'enum' has no attribute 'IntFlag'

hi, I am trying to use python 3 to import sparkdl, i found this error, anyone who can help me?
Python 3.6.4 | packaged by conda-forge | (default, Dec 23 2017, 16:31:06)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sparkdl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/mark/tool/python3/lib/python3.6/site-packages/sparkdl/__init__.py", line 15, in <module>
    from .graph.input import TFInputGraph
  File "/home/mark/tool/python3/lib/python3.6/site-packages/sparkdl/graph/input.py", line 17, in <module>
    import tensorflow as tf
  File "/home/mark/tool/python3/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "/home/mark/tool/python3/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 30, in <module>
    import traceback
  File "/home/mark/tool/python3/lib/python3.6/traceback.py", line 5, in <module>
    import linecache
  File "/home/mark/tool/python3/lib/python3.6/linecache.py", line 11, in <module>
    import tokenize
  File "/home/mark/tool/python3/lib/python3.6/tokenize.py", line 33, in <module>
    import re
  File "/home/mark/tool/python3/lib/python3.6/re.py", line 142, in <module>
    class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
>>>

What was the fix?

@exitNA what was the fix?


Session scoped OAuth2ClientContext, handling missing JSESSIONID upon redirect back to client.

In OAuth2ClientContextConfiguration, the OAuth2ClientContext is session scoped, so unless my understanding of the fundamentals is incorrect, when a service provider (WSO2 Identity Server in my case) grants authorization and redirects back to the client, if it does not pass back the relevant JSESSIONID then you'll ultimately get an InvalidRequestException in AuthorizationCodeAccessTokenProvider since there will be no preserved state (see http://stackoverflow.com/questions/34219911/why-is-accesstokenrequests-preservedstate-perpetually-null-with-a-resultant-csr) since state is stored in the OAuth2ClientContext.
Now, my question is whether it is appropriate, in terms of the OAuth2 spec, to rely on the JSESSIONID being sent back, i.e. if it not enough for the service provider, upon granting authorization, to just send the code and state in the redirect back to the client. In my mind this means that the client must maintain state based on the very same state query parameter.
Hope I'm not barking up the wrong tree.

The spec requires clients to store state. We have chosen to do that using Spring MVC @SessionAttribute support (which uses the HttpSession by default). I don't see any problem with that, and you appear to be a bit confused about the role of the provider (who will never know your client app's cookie). So probably, in summary, the wrong tree.
If you have a more specific scenario where something actually doesn't work, we can analyse it a bit to work out why, but nothing seems wrong to me on the face of it.

@nicodewet I'm going to close this issue but if you feel there is more discussion required please re-open. Thanks.

Hello,
following this issue we have encountered a problem in our application. We decided to be stateless and because of that we have the exception "Possible CSRF detected - state parameter was required but no state could be found".
For stateless application it seems that there is an issue. Instead of storing the state in session it would be great if the api allows use to define a "SessionStore" class, in order to implements our own session management, for example in a cookie.
Instead of using the httpsession we will then use a cookie acting as session.
Regards,

There is already a strategy in spring for @SessionAttribute (so there shouldn't be any need to do anything here).

https://spring.io/blog/2015/02/03/sso-with-oauth2-angular-js-and-spring-security-part-v#adding-the-oauth2-dependencies metioned if you launch both auth-server and ui-server on same host, need to set a context-path avoid the cookie be overrided by other
this resolved the same problem i faced.


CogVLM support

Are there any plans to support CogVLM?

Right now, we support any Pytorch and JAX based models. Our current focus is to enhance features and optimize performance for those two frameworks.


Updating deprecated EntityTestUtils to EntityAsserts

Updating deprecated EntityTestUtils methods to EntityAsserts.

wonderful!  i've been wanting this done!


Refactor: Mx check

Current coverage is 75.11% (diff: 41.46%)

Merging #914 into master will decrease coverage by <.01%

@@             master       #914   diff @@
==========================================
  Files           131        131
  Lines          6942       6941     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           5215       5214     -1
  Misses         1727       1727
  Partials          0          0

Powered by Codecov. Last update 4b18093...321fa81


support for unregistered axes

Right now the only axes that seem to work are the registered Weight, Width, Slant, Optical. The spec says other axes can be used:

Tags are registered for commonly-used design axes, but foundry-defined tags may also be used

When I have a non-standard name in my designspace file varLib won't generate a var font. Is there something else I need to do to get this to work?

I think this might be a duplicate of https://github.com/fonttools/fonttools/issues/701 ?

ah yep, you're right : )


VisualStudio Insider freeze

Its  been happening quite regularly in recent days, significant deterioration in reliability. Not limited to a specific operation or control, just freezing intermittently.
Version: 1.47.0-insider
Commit: e38c2d293da8f435d408afaf7f35a20cf3a10d30
Date: 2020-07-03T05:28:08.704Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-40-generic

/duplicate https://github.com/microsoft/vscode/issues/102095


⚠ ClamAV has degraded performance

In 483de6e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 196 ms

Resolved: ClamAV performance has improved in 833c2d2 after 13 minutes.


source-map dependency isn't needed, runtime loc wasn't working

This should fix our runtime loc. We weren't pulling in the vscode-nls-dev/lib/webpack-loader. In order for this to work, I had to update the source-map dependency.

Blocking comment because I should test this vsix. I may have noticed a bug or two due to these changes.


Provide ability to remove a whole group from an instance of a schema

In order to change which groups certain users are able to see, we would like to remove whole groups from schema's used in specific REST service deployments.  I.e. the schema overall could contain:
Group A, Group B, Group C
But in one specific REST deployment we only want the schema to contain:
Group A, Group C - there-by hiding Group B

Merged into develop.