Use the CocoaPods libx265/libde265 dependency, instead of vendored static library

This is the solution to fix https://github.com/SDWebImage/SDWebImageBPGCoder/issues/4.
Using vendored static library, is a idea for simple C/C++ static library which does not have Xcode project or iOS cross-compiler support. However, it make it impossible to manage the version dependency.
For example, when two Pod use the same vendored library for libx265.a, libde265.a, it cause unavoidable conflict. The solution, it's to introduce a common shared dependency. Since we already make the dependency available on CocoaPods:

http://cocoapods.org/pods/libx265
http://cocoapods.org/pods/libde265

So, it's time to remove the vendored library and use the CocoaPods's one instead.

Even with that --verbose, the build time is too long for testing. So we just check the hold subspecs with --no-subspecs option. 😓


Fails to handle GetArchiveLink routes

Using the following logic (with a custom EndpointPattern because the already existing pattern assumes you're specifying a ref) I get an Get "": unsupported protocol scheme "" response.
mock.WithRequestMatchHandler(mock.EndpointPattern{
  Pattern: "/repos/{owner}/{repo}/zipball",
  Method:  "GET",
}, http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
  rw.WriteHeader(http.StatusFound)
  rw.Header().Add("Location", "https://codeload.github.com/gothinkster/react-redux-realworld-example-app/legacy.zip/refs/heads/master")
})),

I'm unsure if what I'm doing is inherently wrong, but I believe I'm returning the same response that Github would return with the http.StatusFound response and with a header identifying the location of the requested zipball.

Also, let me just say, I really appreciate this project - it's gotten me 95% of the way where I need to be for a project I'm working on. So, thank you!

Hi @edwardofclt ,
could you paste here the SDK method you're running?

I just noticed there is a possible improvement to the mock framework where the optional parameters are used to generate endpoints without them so the calls can succeed.

It appears, even the OpenApiSpec for the Github API says all parameters for the endpoint /repos/{owner}/{repo}/zipball/{ref} are required but the description explains otherwise :disappointed: .
Even the go-github SDK handles it in a weird way by appending the ref if it's present. :disappointed:
See:

https://github.com/github/rest-api-description/blob/main/descriptions/api.github.com/api.github.com.json?raw=true.
https://github.com/google/go-github/blob/master/github/repos_contents.go#L284

This seems to be an edge case.

No worries, I'm using the GetArchiveLink method. I noticed the same thing in the go-github package. Thought it was odd.

@migueleliasweb about to sign off for the rest of the year - any tips on how to make this endpoint work?

I have an idea how to mitigate this but it will require some substantial changes to the internals of the way requests are configured in the mock server.
The main problem seems to be the expected HTTP status and header is quite specific for this endpoint.
I probably won't be able to have enough time to fix this today, I'm sorry.
If you have the time, feel free to raise a PR and I will be happy to review.

Hi @edwardofclt ,
I might have found a workaround. Can you try to use https://github.com/migueleliasweb/go-github-mock/pull/20 as see if it suits you?

Awesome! Thanks, I'll give it a go soon.

@edwardofclt Any updates on this?

I will be closing this for now.


Changed ls from printing full path length to individual files

Because ls printed out the full path it was really verbose, so i removed that so now it will only print out the file names

How does this look with recursive ls does it print dir/file?

Just updates it, now it will print in the format

Looks great to me! One last thing maybe make a flag parameter enabling verbose output just for the utility of it ls -v something like that?

Great Idea

you can remove the clone from the as_path, it's not needed

I assumed that strip_prefix took ownership of Path but it takes a reference instead. I'll update this and get it working once i get home,
Also, does dev_term have functionality for flags like -v without a value associated so the user wouldn't have to do "-v true"


4.x: Pico config driven problem

Reproducer: https://github.com/tomas-langer/helidon/tree/ft-on-pico/examples/nima/fault-tolerance
server.port is ignored from configuration.
If you put breakpoint in LoomServer in injected construcor, you can see that the port is set to 0 in the config bean

See https://github.com/helidon-io/helidon/pull/6652


Sensor w/ latitude/longitude attributes showing up on the map

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.54.0
Python release (python3 --version):
3.5.2
Component/platform:
Map/Device Tracker
Description of problem:
The AirVisual platform produces sensors that have latitude/longitude attributes. While testing today, I happened to notice that the map was displaying a strange entity; when I clicked on it, it was as-if I clicked the sensor that had the latitude/longitude attribute. Thinking that somehow, this information is tricking HASS into thinking that it's a trackable device entity.
Expected:
The sensor shouldn't show up on the map.
Problem-relevant configuration.yaml entries and steps to reproduce:
N/A
Traceback (if applicable):
N/A
Additional info:

I've identified this as a front-end issue, so I'm going to close this and post in that repo.


Wrong version of angel_jael in README

Right version is angel_jael: ^2.0.0 now, but in README it is ^1.0.0-alpha

Thanks for pointing this out - please send a pull request to correct it.


Allow to define log and data folder and add python3 compatibility

leave default location in / but allow to set other location for data folder

Thanks for your pull request.
I don't understand which problem you want to solve. This will affect the placement within the docker container. You are able to set your folder as you wish by setting the variable "myPhotos"  in the .env.
What benefits does this bring?

I have create script to deploy libre photo on debian. Use folder in root / is not a good practice in this caseLe 28 févr. 2021 13:52, Niaz<EMAIL_ADDRESS>a écrit :
Thanks for your pull request.
I don't understand which problem you want to solve. This will affect the placement within the docker container. You are able to set your folder as you wish by setting the variable "myPhotos"  in the .env.
What benefits does this bring?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Ah, I see. Could you add the script for debian to this pull request? This should make it more obvious why it is needed.

My first working version of my script is here : https://git.lgy.fr/thomas/install-scripts/src/branch/master/librephotos.sh
It's compatible with the current version of librephoto
But let me propose more pull request with change log and data_models location.
And i want to work on python 3.9 available in debian 11
After i can add the script
On next script version with /var/lib/librephoto i will add
export BASE_DATA = /var/lib/librephotos
and change the location in ngnix
   # Original Photos
    location /original  {
        internal;
        alias  /var/lib/librephoto/data/;
    }
    # Nextcloud Original Photos
    location /nextcloud_original  {
        internal;
        alias  /var/lib/librephoto/data/nextcloud_media/;
    }

Where does LibrePhotos use encodestring? Is it an usused dependency?

Yes in geopy 1.11.0
But 2.1.0 is full compatible

sorry i'm not work on the good project tomamplius/librephotos
I will work on my repository.
I don't know if you want work to allow  more easily  install on debian
I don't know if you prefer a full pull request or many small pull request

do you want create a repository like librephotos-docker for linux/debian deployement (librephotos-linux) ?
the goal is store systemd file, configuration, file, and deployement script and maybe deb file creation script.

I think I would prefer a complete pull request. It makes it easier to test for me, because I have to check all the functions anyway. I will probably test if the docker build still works even if it was used before.
I created a repository, where you can put the debian scripts and configurations: https://github.com/LibrePhotos/librephotos-linux

Done for me.
All my work is in the other repository now. You can validate with no regression test
tkx

I'm currently trying the branch and it seems that exceptions are not logged. Makes it pretty hard to debug... I'm experimenting some 500 and can't find any traceback

I'm currently trying the branch and it seems that exceptions are not logged. Makes it pretty hard to debug... I'm experimenting some 500 and can't find any traceback

How you experimenting some 500?
Can you confirm that you use docker?

I've added this to settings.py and now errors shows in stdout (journald in my case):
LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'handlers': {
        'console': {
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        'django': {
            'handlers': ['console'],
            'level': 'INFO',
        },
    },
}

Ok, It's not link to this pull request? only path are changed.

No, not linked to this PR but I'm using this branch. Probably more related to #170

The error was caused by a wrong nextcloud url.
The PR works for me. Got my instance up and running.
+1 for the merge

tkx

Thanks again for your pull request. I tested it and it seems to work now after I changed the base path.


Enhance the metric to include timestamp

Currently, some of the metric reporters support timestamp with metric as well. The dropwizard metrics like Guage, Timers etc should support even timestamp as one of the members (Timestamp should be an optional member). Let me know any comments.
Example use case is: suppose say, we want to run a validation after an event has occurred and send the validation result as guage value once the validation completes. Now, in this scenario, the event will any ways be sent as metric (no need of timestamp here) but, while sending the validation result, it makes more sence to include the timestamp at which the event has occurred. This will help in correlating the validation metric with the event metric.
Let me know comments. If not, I can contribute to include timestamp as a member to Metric family specially for guage.
Timestamp can be an optional member to the metric type.

@db-vmw Please create an issue in the Dropwizard Metrics project at https://github.com/dropwizard/metrics/issues.


Updated ConfigurationModule to watch for circular references

Updated ConfigurationModule to watch for circular references when recursively finding configuration objects to register.

Closes #3


Fix for casting boolean values in MySQL

I'm not sure if this fix is sufficient enough. I've tried it locally and it solves my problem.
One thing I'm not sure is covered is, what if you pass a value that's not true or false to the cast expression? I assume that's just invalid SQL?

select if("true", TRUE, FALSE); -- false
select if("false", TRUE, FALSE);-- false
select if(False, TRUE, FALSE);-- false
select if(TruE, TRUE, FALSE);-- true
select if(TRUE, TRUE, FALSE);-- true
select if(true, TRUE, FALSE);-- true
select if(0, TRUE, FALSE);-- false
select if(1, TRUE, FALSE);-- true

As far as I understand, there is not really a  boolean type in MySQL, much like in C. So anything is false unless it's 1 or true, or TRUE.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Bug deploy and run Dockerfile

Please mention the following:

What command was run?
docker build -t cloudmapper .
Are you working out of a virtualenv environment, Docker, or something else?
 This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of urllib3 to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of typed-ast to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of toml to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of six to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of seaborn to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of s3transfer to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of python-dateutil to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of pylint to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of pyjq to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of pyflakes to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of pycodestyle to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of policyuniverse to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of parliament to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of nose to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of netaddr to determine which version is compatible with other requirements. This could take a while.
#11 20.46 INFO: pip is looking at multiple versions of mock to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of mccabe to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of matplotlib to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of markupsafe to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of lazy-object-proxy to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of jmespath to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of jinja2 to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of isort to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of docutils to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of boto3 to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of autopep8 to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of autoflake to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of  to determine which version is compatible with other requirements. This could take a while.
#11 20.47 INFO: pip is looking at multiple versions of astroid to determine which version is compatible with other requirements. This could take a while.
#11 20.47 ERROR: Cannot install -r requirements.txt (line 5) and urllib3==1.26.5 because these package versions have conflicting dependencies.
#11 20.48
#11 20.48 The conflict is caused by:
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.63 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.62 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.61 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.60 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.59 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.58 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.57 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.56 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.55 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.54 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.53 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.52 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.51 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.50 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.49 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.48 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.47 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.46 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.45 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.44 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.43 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.42 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.41 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.40 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.39 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.38 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.37 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.36 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.35 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.34 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.33 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.32 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.31 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.30 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.29 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.28 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.27 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.26 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.25 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.24 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.23 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.22 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.21 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.20 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.19 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.18 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.17 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.16 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.15 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.14 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.13 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.12 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.11 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.10 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.9 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.8 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.7 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48     The user requested urllib3==1.26.5
#11 20.48     botocore 1.17.6 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 20.48
#11 20.48 To fix this you could try to:
#11 20.48 1. loosen the range of package versions you've specified
#11 20.48 2. remove package versions to allow pip attempt to solve the dependency conflict
#11 20.48
#11 20.48 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1

Having the same issue..

It seems that the error is this:
botocore 1.17.6 depends on urllib3<1.26 and >=1.20; python_version != "3.4"

If so, there are already some issues open regarding the dependencies and PRs opened fixing them.
Cheers!

arliber & camiloburgos91, try removing version number (==1.26.5) for urlilib3 in requirements.txt file.


WAV stream/importer: Improve compression/loop names and descriptions

"Disabled" compression mode renamed to "PCM". It's the nomenclature used in other engines.
All mentions of "IMA ADPCM" such as "RAM(Ima-ADPCM)" and "IMA-ADPCM" renamed to the former (except code comments).
"QOA (Quite OK Audio)" reduced to "Quite OK Audio".
More details to compression modes have been added.
Added Detect From WAV on description.
AudioStreamWAV descriptions adjusted to remove info relevant to the importer.

Before:

After:

Small correction on loop forward description: it always starts at the absolute beginning of the file (position 0), plays all the way to loop_end then seeks back to loop_begin

Forgot a few names in AudioStreamWAV properties, done now.

Thanks!


Web Browser : Ability to allow self signed certificates

Feature description
Right now it's not possible to browse websites with self signed certificates

Now available inside WebSSH 25.4.1290 : https://testflight.apple.com/join/QSrBK59z


feat: add db idType to generated payload types

Makes it so generated types now includes a db object with idType set to string or number depending on the database
db: {
  idType: number;
};

should be defaultIDType to match


Use StaticMethods for event receivers/handlers.

Is your feature request related to a problem? Please describe.
No. It's just a usability issue.
Describe the solution you'd like
Replace classmethods with staticmethods for event handler.

Please explain what you mean with this?
What is the benefits of having a staticmethod over classmethod in our case?

Actually, due to our design, using staticmethods will not be possible..
What we do with our events, is that we have our event handler get a call from server, and then it delegates the call out to the registered events. Here is our decorator to register new events in a class:
https://github.com/pysamp/PySAMP/blob/f0dbab0a185acf4d714bf2d1925e4a2aa50662b3/pysamp/event.py#L14-L18
As you can see here, the decorator takes the default arguments and converts them over to actual objects.
So instead of having an event like this:
@Player.on_spawn
def player_spawning(playerid: int):
    # use playerid in code, ew..

We need want to convert the argument to a player object:
@Player.on_spawn
def player_spawning_new(player: Player):
    # Phew! Much better with the player object.

Using static methods for this will not work the way it is being handled. Remember that static methods know nothing about the class state.

Could you perhaps clarify how classmethods are a "usability issue"? staticmethods are generally frowned upon :-)


Obvious wrong solution for "nurses_scheduling.ipynb"

You only need to look at the plot and you will see that it is an incorrect solution.

The code is also clear that it is incorrect.

For almost all rows you don't have enough nurses for the pass.
I haven't changed anything, just printed the solution.
I hope you can fix the example :)

The nurse problem is a demo of the relaxation mechanism of docplex, as such this problem is infeasible (see Bound infeasibility column 'NurseWorkTime_Betsy'. in the notebook) because some requirements are too strict.
That's why we use the relaxation mechanism of CPLEX to compute a feasible solution.
Among the relaxed requirements, you will find all the requirements you hightlighed, for example:
* number of relaxations: 35
 - relaxed: high_req_min_EMER_Mon_18_3, with relaxation: -3.0
 - relaxed: high_req_min_CONS_Mon_08_10, with relaxation: -7.0
 - ...

So the gantt is displaying a feasible solution, not the optimal solution.

I understand that it is an example, but it removes a whole shift!!!
Finding a solution to this problem is not particularly difficult if you remove certain work shifts.
 This means that you actually have to have staff on site 24/7. Then it is wrong that the solution means that one should not work at night. That's not how it actually works in healthcare in real life.
This line remove the whole shift.
``

relaxed: high_req_min_EMER_Mon_18_3, with relaxation: -3.0
``

Is it possible to change that it is not allowed to draw down to zero staff?

notebook have been updated


[enhancement] Computed hashmap when given unique prop in array of objs

I have made extensive use of computing a hash map (plain js obj) by a unique property in an array of objects. This avoid needless iteration of array structures when using things like Array.prototype.find.
More simply, let's say you fetch an array of products from the server and place them in state (Vuex/component data). You may have orders that reference just the id off the product. Ideally you could get the product by ID without always looping through the array of products.
I'll see if I can PR my personal solution in the next couple days.

Hey @alexsasharegan! Thanks for posting this issue.
Do you mean something like this?
export default {
  data() {
    return {
      someArray: [
        { id: 1, name: 'lorem' },
        { id: 2, name: 'ipsum' },
        { id: 3, name: 'dolor' }
      ]
    }
  },
  computed: {
    someItem: findBy('someArray', 'id', 2)
  }
}

If yes - I'm working on this now so it'll be available today (find and findBy), currently there is only filter and filterBy that you could use alternatively. If not let me know what you mean exactly :)

Sorry, I meant to include some background. Here's an example case:
export function reduceToObjByProp(prop) {
  return function objReducer(memo, model) {
    return (memo[model[prop]] = model), memo
  }
}

new Store({
  store: {
    products: [{},{},{}]
  },
  getters: {
    productsById({ products }) {
      return products.reduce(reduceToObjByProp("id"), {})
    }
  }
})

@alexsasharegan In case of storing such data in the store I think the best way is to just use normalizr
But if somehow you store data in array, is this what you'd like to be able to do in a component?
export default {
  computed: {
    productsById: toObjBy('arrayProp', 'id')
  }
}

I get a lot of use out of this say when rendering shopping cart items out. The store has an array of product objects, but the cart item just has an id reference. I don't need normalizr, I just want the fastest, lightest way to pluck product where { id: x }. Vuex docs show that getter pattern where it returns a function that does a find iteration, but that can loop more than it needs to. If products never get reloaded, that computed map will stay put and all reads are simple and fast. It doesn't add much in the way of memory either because every product is just a reference to the original object.

Hmm, and what's wrong in keeping that getter in vuex? It seems like a best place for such a scenario to me. I don't see a clear point of moving it to a computed helper. On one hand I want those helpers to actually save time and burden, but on the other I don't want them to introduce too much of a logic that should actually be kept in other place of the application. Otherwise pleople might start to create too complex components, which is not a good thing.
I see however 5 thumbs already so I might give it another thought :)

I would only use it in vuex! But if I'm including computed helpers, can't I import it and use it in vuex? Then we all get community tested code?

Currently it only works in components, because of the context. In vuex getter this doesn't relate to the state. So it would a bit tweaking to work in both cases. But that might be a good step forward actually.

Ah, gotcha. I starred this from a twitter post, but haven't started another project yet where I can play with it. Maybe you could take the lodash approach and have all the computed helpers have base functions, then just wrap them for instance helpers/store helpers?

Not sure about this regarding how some of the computed helpers work, but I'll be thinking of the possible elegant ways of providing those helpers both for controllers and vuex.
Currently if you want to use those in vuex getters you have to bind the proper context like this:
getters: {
  currentLaunch (state) {
    return findBy('all', 'id', state.currentLaunchId).bind(state)()
  }
}

Not sure about this regarding how some of the computed helpers work, but I'll be thinking of the possible elegant ways of providing those helpers both for controllers and vuex.
Currently if you want to use those in vuex getters you have to bind the proper context like this:
getters: {
  currentLaunch (state) {
    return findBy('all', 'id', state.currentLaunchId).bind(state)()
  }
}


Basic e2e tests for IFE flow

Why
We have this for SE, but we didn't start our tests suite with the e2e ones for IFE when developing. Thus we should have some as a start and verifies whether all functions works together or not.
Successful Criteria

Come up with a test plan
Have some basic e2e tests covers the test plan

wait, I'm confused, those tests exist in the Python test suite (and existed for RootChain.sol). We're plugging this old test suite into the PlasmaFramework.sol contracts now, aren't we?

yeah, we are porting those to give us some confidence as a short term solution but my understanding is that we will not be continuously adding new tests to that test suite. It's more like port it once and we will only do some basic maintenance on that and gradually deprecate/port to truffle  as time goes.
But anyway, this task is just asking for a really basic ones, some basic happy cases to make sure existing codes are really working then we can start audit. We can port the existing python tests cases while audit process goes in my opinion (if it is not ready when we start audit).

I will be starting IFE test in the following days, I will keep you updated.

I think during one PR of @pgebal there is a really simple e2e test now for IFE, closing this


Merge pull request #1 from ksoichiro/master

2015.9.11

同步源程序

@309746069 I think this pull request is made by some mistakes
because it doesn't contain any changes.
I'll close this, but if you were going to push some codes,
please reopen and push your codes.


feedback: Support changing the model when editing a chat message

Version
1.19.1716131761
Areas for Improvement

[X] UI/UX
[ ] Onboarding
[ ] Docs
[ ] Chat
[ ] Commands
[ ] Context
[ ] Response Quality
[ ] Other

What needs to be improved? Please describe how this affects the user experience and include a screenshot.
I have suggestion some changes in ui of Cody.
Cody is really convenient. thank you.
And to make use of the multimodal function more efficiently, I would like to put the function to change the module next to 'Edit Last Message'.
In addition, I hope that you can change the module using the shortcut key.
(ex:
Open the menu that can cut the module with the X + Y shortcut key, select the keyboard direction key, and enter it.)
Describe the solution you'd like to see
To make use of the multimodal function more efficiently, I would like to put the function to change the module next to 'Edit Last Message'.
In addition, I hope that you can change the module using the shortcut key.
(ex:
Open the menu that can cut the module with the X + Y shortcut key, select the keyboard direction key, and enter it.)

Describe any alternatives that could be considered
No response
Additional context
No response

Thank you for the feedback! This has been fixed in #4189


Unicode issues with tail plugin

I'm using irssi to output log files from channels. I then use the tail plugin to parse entries from these files. The log files are encoded as UTF-8. Until recently this has worked perfectly, but now the plugin aborts with an error "Failed to decode file using utf-8. Check encoding" anytime a Unicode character appears in the log.
When further investigating, I saw that it is caused by an exception thrown in native_str_to_text():
try:
 line = native_str_to_text(line, encoding=encoding)
except UnicodeError:
 raise plugin.PluginError('Failed to decode file using %s. Check encoding.' % encoding)

if PY2:
  def native_str_to_text(string, **kwargs):
          if 'encoding' not in kwargs:
              kwargs['encoding'] = 'ascii'
          return string.decode(**kwargs)
  else:
      def native_str_to_text(string, **kwargs):
  return string

Since I'm running Python 2.7 the native_str_to_text() is basically just calling string.decode(). And because the error message contains our preferred encoding I think we can be fairly certain that we are actually providing the decode-method with the correct encoding string.
I extended the code so that it printed out the full exception and the result was the following output:
'ascii' codec can't encode character u'\u25e2' in position 21: ordinal not in range(128)

The strange thing about all this is that when I cloned the git repository and run the code from there instead of the installed package, everything works. So I think this is some locale/environment trouble. I've tried to recreate the virtualenv but it did not have any effect. I've also tried to set the LC_ALL, PYTHONIOENCODING, LANG to UTF-8 with no luck.
I was able to recreate the exception in some test code by explicitly setting PYTHONIOENCODING=ascii. So there's definitely some issues with how python performs decoding in my environment.
However, what did fix the problem was to change the tail.py so that it opens the file in binary mode instead by simply changing.
- with open(filename, 'r') as file:
+ with open(filename, 'rb') as file:

I'm new to Python so I'm not confident this is a good solution because by looking how native_str_to_text() is defined it could cause problems with Python 3 users as I've heard that the unicode string management has changed between v2 and v3. An other solution that came in mind was to specify an encoding to the open() method of the file.
Config:
 taskX:
    tail:
      file: ~/.irssi/logfromchannel.log
      encoding: utf-8
      entry:
        title: nick:\s(.*?)\s:\shttp://.*
        url: nick:\s.*?\s:\s(http://.*)
      format:
        url: '%(url)s'
 (... and other settings for the task, not related to tail)

Log:
2016-07-06 10:05 CRITICAL plugin        taskX      Failed to decode file using utf-8. Check encoding.
2016-07-06 10:05 WARNING  task          taskX      Aborting task (plugin: tail)

Additional information:

Flexget Version: 2.1.6
Python Version: 2.7.10
Installation method: Standard installation from released package using virtualenv and pip
OS and version:
openSUSE 13.1
Linux 3.12.57-44-default #1 SMP Wed Apr 6 09:18:15 UTC 2016 (9b4534f) x86_64 x86_64 x86_64 GNU/Linux

Two other alternatives:

Use the (beta) IRC plugin: http://discuss.flexget.com/t/beta-irc-plugin-testers-needed/2341
Directly inject to tasks using API with autodl-irssi: http://discuss.flexget.com/t/plugin-wip-irc-input/1497/88?u=liiight

I think we need to look a bit closer at the fix. This is reading the file as binary, but then tries to call naitive_str_to_text to convert it to a string, which will only work on python 2.

I see. You wanna revert the fix?

I think the proper fix is this:
Switch to io.open, which works the same across python versions, and is the default implementation of open on python 3. We should make the default encoding utf-8 instead of ascii, which is almost always a more sane choice. We shouldn't have to deal with line by line decoding anymore, and I don't think we ever needed the native_str_to_text utility, as the types here should all by consistent across python versions already.

@gazpachoking I think you are right. As I implied in the bug description, I suspected my "fix" only to work on python 2, at least when calling native_str_to_text.
If the IO functions between the two versions work the same, it seems like the correct way to go. So instead of using string.decode(encoding) we just open the file with the correct encoding to begin with and let the IO implementation do the work, right?
io.open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True)

Yeah, if we pass the correct encoding to io.open (and I think change the default to utf-8 if user hasn't specified encoding) it should be good to go, and the lines will the be text already.

Same happens to exec plugin:
BUG: Unhandled error in plugin exec: 'ascii' codec can't encode character u'\xf1' in position 104: ordinal not in range(128)
It was working right recently, but now if the given path contains unicode (e. g. "ñ") characters it crashes.
Running version 2.1.5 (unable to upgrade to latest  due to sqlalchemy update fails) on Windows 8.1 x64 + Python 2.7.10


Update MS MARCO Passage Replication Log

Hey! Great work @HangCui0510 ! Do you mind sharing the command for monot5-base. Also since you were running on colab, can you also verify if using --model-name-or-path castorini/monobert-large-msmarco instead works? Thanks :)

@ronakice
Command for monot5-base

--model-name-or-path castorini/monobert-large-msmarco works

Looks good thanks for clarifying, we're just trying to get to see why it doesn't show up in huggingface! @lintool seems like although he runs it doesn't seem to update the "count". Maybe it lags behind by a bit! Merging!

I love to count. And leaderboards.

ha, count von count. There's a muppet-kind name still up for grabs ;) (or so I think)


Officially a dead project?

First of all, hope you are all healthy and well! Thank you for the Viromedia team and contributors!
But can someone shed a light if this is a dead project?
No distributions since October 2019.
Happy to pay a monthly fee for a library that is alive and well.
Thank you

Hey @jeveloper, unfortunately, as you mentioned there isn't much activity on this library at the moment. There's been some work done since Nov '19, and we've just put in an automatic pipeline build for ViroCore with GitActions. No additional roadmap bug fixes / features have been planned.
As an alternative, I am personally offering contract services / paid support for ViroCore. If that is something that may be of interest to you, feel free to reach out to me via email. I would love to hear your use cases and see if I can help.


Fix enterprise github auth

We need to pass the authUrl to ghauth when working with GitHub enterprise, otherwise it'll try to use a token from github.com

@ungoldman Fixed up GitHub enterprise auth and url detection and tested it on our GitHub enterprise server.  Everything works with these changes!

Looks good at first glance, will try to test it out in the next 24 hours!

Awesome, thanks! Also, thanks for gh-release in the first place, it's an awesome tool that really helps to streamline our workflow

@ungoldman Hate to bug you about this, but any chance you might be able to take another look at this PR sometime today or tomorrow?  Also wondering if you guys are looking for help maintaining this project, or with any of the other issues that are open on it. I was considering tackling #49 when I get some free time as that would be a really nice enhancement to gh-release 😄 Thanks!

📦 3.2.3

fwiw, i tested this branch in GitHub enterprise and everything was 👍

Thanks @jgravois 🙏

Awesome, thanks for reviewing @ungoldman and thanks for testing @jgravois !!  Accepted the invite, the collaborator guidelines all look kosher and I'm happy to help out with contributing and maintaining this project!


Update README.md

fix the typo

This text was removed.
But while it was there, it was provided as is by the sponsor.


Use ujson to load the dict instead of yaml`

Summary
Hi @benjaoming .
This fixes issue retrieving the assessment item data for English language packs.
Issues addressed

#56

Need this fix to build the English language pack with subtitles.

Hi @benjaoming @aronasorman this fix is need to be merge or else we can't build the en language pack.

Interesting, does this mean that data is now JSON and not YAML or just that ujson can auto-detect the format?

It is already a JSON format then I use ujson to read the data.
Same with the yaml.load but special characters are not allowed.


Category selection popup shows all categories instead of showing only allowed category

We are using Geta.EpiCategories package in our code and utilizing it on the property for category selection like shown below.
[CultureSpecific]
[Display(
Name = "Industries",
Order = 510,
GroupName = CustomTabNames.Taxonomy)]
[Categories]
[AllowedTypes(new[] { typeof(IndustryCategory) })]
public virtual IEnumerable Industries { get; set; }
When we were on 1.2.6 version, we were getting only allowed categories(see below pic) in the selection like Industry Category

but now, we have upgraded the package from 1.2.6 to 1.2.10 and the Category selection popup(see below pic) is now showing all category types in the latest version, instead of showing just allowed category type like shown in the above pic.

Question: Is there a way to show only Allowed category type in the selection popup and hide the other category types?

Hi!
This is weird since nothing regarding this has been changed between these versions. I will take a look at this. Did you also upgrade Episerver in relation to this?

Hello again.
Are you sure this has worked in earlier versions? This is the code in the CategoriesAttribute:
https://github.com/Geta/EpiCategories/blob/master/src/EpiCategories/DataAnnotations/CategoriesAttribute.cs#L36
However, I will add support for the AllowedTypesAttribute and create a new release. I'll let you know when it's published.

@MattisOlsson Yes, it worked with the earlier version.
We upgraded the following packages:
Episerver.CMS from 11.12.0 to 11.15.0
Episerver.CMS.UI from 11.23.0 to 11.24.0

I can't reproduce this. Just to make things clear: The category selector shows all category types, but only the AllowedTypes are selectable (with a checkbox to left of the label), provided that the "IsSelectable" property is set to true. This is the way default Episerver selectors work as well. They show everything, but you can only select the allowed types. Because it might be possible to have an allowed category nested somewhere.
I don't see any checkbox at all in your screenshots, are you sure you can select any of them? :)
I will investigate if I can easily add a css class to those nodes so they are a bit grayed out (disabled).

The category selector shows all category types and provides checkbox only for the allowed types, not for the other types.
But for the better user experience, Is it possible to show only allowed category types & hide the other categories from the category selection popup?
Instead of adding a class to grey out, can you add Hide class to hide the disabled categories from the selection?

I can't imagine how it could ever have worked like you say in 1.2.6, maybe because of differences in Episerver perhaps, since this has not been changed in the package.
Unfortunately, I don't want to hide disabled categories because there might be children to those categories which are actually allowed.

Oh, I see it has been changed. But previously, it wasn't possible to select sub categories (even though they are allowed) if the categories on the first level was always hidden because they were not matching allowed types.
I might add a setting for this in the future, but default will always be like it currently is.

It turned out to be an easy fix so I added this setting. See updated README for details. I just uploaded version 1.2.11 to the Episerver feed so it will be available in the next few days. Closing this issue now.

Wow! that was quick. Thanks for the fix @MattisOlsson


hugo/feature/Refactor objects into namespaces

:art: (reinforcer): Refactor objects into namespaces
:art: (ledkit): Refactor objects into namespaces
:art: (colorkit): Refactor objects into namespaces
:art: (behaviorkit): Refactor objects into namespaces
:art: (os): Refactor objects into namespaces
:art: (bootloader): Refactor objects into namespaces
:art: (bootloader): Refactor globals into namespace/anonymous namespace

closed by fe54bcf9fb48676617f09a24f687e6e8d3b7f964


[tool_crash] ProcessException: The directory name is invalid. Command: d:\Dev\flutter\bin\cache\dart-sdk\bin\pub.bat, OS error code: 267

Command
flutter doctor

Steps to Reproduce

...
...
...

Logs
ProcessException: The directory name is invalid.
Command: d:\Dev\flutter\bin\cache\dart-sdk\bin\pub.bat, OS error code: 267
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:390:33)
#1      Process.start (dart:io-patch/process_patch.dart:36:20)
#2      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:39:20)
#3      ErrorHandlingProcessManager.start.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:638:33)
#4      _run (package:flutter_tools/src/base/error_handling_io.dart:532:20)
#5      ErrorHandlingProcessManager.start (package:flutter_tools/src/base/error_handling_io.dart:638:12)
#6      _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:472:28)
#7      _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:491:35)
#8      _DefaultPub.batch (package:flutter_tools/src/dart/pub.dart:282:34)
<asynchronous suspension>
#9      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:222:7)
<asynchronous suspension>
#10     PubDependencies.update (package:flutter_tools/src/cache.dart:774:5)
<asynchronous suspension>
#11     Cache.updateAll (package:flutter_tools/src/cache.dart:562:9)
<asynchronous suspension>
#12     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1109:7)
<asynchronous suspension>
#13     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
<asynchronous suspension>
#16     CommandRunner.runCommand (package:args/command_runner.dart:197:13)

[✓] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version
    10.0.19042.867], locale en-US)
    • Flutter version 2.0.2 at d:\Dev\flutter
    • Framework revision 8962f6dc68 (2 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit
      https://flutter.dev/docs/get-started/install/windows#android-setup for
      detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit
      https://flutter.dev/docs/get-started/install/windows#android-setup for
      detailed instructions).

[✓] Connected device (1 available)
    • Edge (web) • edge • web-javascript • Microsoft Edge 89.0.774.50

! Doctor found issues in 3 categories.

Flutter Application Metadata
No pubspec in working directory.

Hello @eman1970. This issue has been fixed already in newer versions of Flutter. Marking this as duplicate of https://github.com/flutter/flutter/issues/80418. Thank you


v0.17.9 for MacOS is not signed

Expected behavior
App should open normally and without any alerts on MacOS
Actual behavior
MacOS displays a message informing that the OS cannot verify the app's developer and stops the user from opening it.
Information about the Issue
The App must be signed using an Apple Developer certificate.
$ spctl -a -v -v /Applications/Kitematic.app
/Applications/Kitematic.app: rejected
source=no usable signature

$ codesign -v /Applications/Kitematic.app
/Applications/Kitematic.app: code object is not signed at all
In architecture: x86_64

Steps to reproduce the behavior

Download from GitHub (https://github.com/docker/kitematic/releases/download/v0.17.9/Kitematic-0.17.9-Mac.zip)
Open on macOS Catalina

Can you open that file with shift? Hold shift then open.

I'm facing the same issue. Can't use it now.

Sorry i mean hold STRG and open it!

I confirm the same. Kitematic-0.17.9 is not signed and notarized.

@Trackhe that is a system bypass and should not be recommended.

yes okey but this is an opensource free project. you can pay or making self your sigend version.
here are the new requirements. https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution?language=objc

Docker Inc. recommends Kitematic and offers it as a download. They should have the resources to sign it, especially considering that they also provide Docker for Mac, which is signed.
I understand that a lot of free projects can't (or don't want to - which is also fine) afford a Apple developer certificate. But Kitematic is supported by Docker and advertised as "by Docker" on https://kitematic.com - there should be a signed version available in my opinion.
One reason for example: On my corporate MacBook using Apps not signed with a valid certificate is forbidden for example, so I can't use Kitematic on it. And I guess other companies might have the same requirements as well.

I would also be glad to hear about better support kitematic.

That's no reason to not provide signed versions of Kitematic until the Dashboard reaches feature parity. If they have something new to replace it that is ready to use, I'm fine with switching, but until then, a signed version should be provided.

0.17.10 is also not signed. Latest signed version is 0.17.8.

spend 99usd and get your sign version. ^^ maybe with dark-mode.

Problem still exists as of v0.17.11

I am having the same issue with Kitematic v0.17.12 installed through brew cask install kitematic

It's been about 10 months and now docker desktop offers a dashboard so we can just use it instead of kitematic.


Fix bot intents versioning

Description
Fix intents versioning for published webchat.
Type of change

[X] Other (non-breaking change which doesn't match an issue, Non-code related, ...)

How Has This Been Tested?
Yarn lint & tests have been launched!

Yarn/npm/nodejs version: v1.16.0/v6.9.0/v8.10.0
OS version: macOS 10.14.5
Chrome version: Google Chrome 74.0.3729.169

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas

Working on my machine. Since needed, merging


Pull in latest content changes

Adds supplier guide URLs for all frameworks plus legal wording tweaks.

👍 Do it.


Fix drawing tests for the new TAEF world and fix OS X tests.

Additionally, this pull request fixes:

The combined TAEF/CLI entrypoint in drawing tests.
The file output medium for drawing tests; it'll use WEX's file logger now!

Fixes #1941, #1940.

                                                               GetTestFullName().c_str(),

Is this not wrong now? It would pick up the interstitial name as well right?

Refers to: tests/UnitTests/CoreGraphics.drawing/DrawingTest.cpp:80 in c7d625e. [](commit_id = c7d625ec6ca67ef2a5981facd24adb1a58271094, deletion_comment = False)

                                                               GetTestFullName().c_str(),

I"m a dummy. I see how this works. polymorphism is fun.

In reply to: 279105423 [](ancestors = 279105423)

Refers to: tests/UnitTests/CoreGraphics.drawing/DrawingTest.cpp:80 in c7d625e. [](commit_id = c7d625ec6ca67ef2a5981facd24adb1a58271094, deletion_comment = False)

@bbowman Since we changed the gtest API, the interstitial is only used as the abse class. Its name does not get embedded anywhere 🗡

yep. I see that now. sweet sword.

In reply to: 279105585 [](ancestors = 279105585)

:shipit:


Add docs for using attachments in embeds

You can add attachments to embeds by using
file = nextcord.File("image.png")

e = nextcord.Embed()
e.set_thumbnail(url="attachment://image.png")

await ctx.send(file=file, embed=e)

This is mentioned in the FAQ
https://nextcord.readthedocs.io/en/latest/faq.html#how-do-i-use-a-local-image-file-for-an-embed-image

Ah okay. Maybe a good idea to link to it in the send function?

Ah okay. Maybe a good idea to link to it in the send function?

I think the Embed constructor would be a better place for it and maybe also both the set_image/thumbnail methods. this needs a file kwarg in v3


support specifying multiple IAM roles

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
Being able to use this module to install helm charts that create several SAs, and that recommend more than one IAM role to be created, due to security or functional requirements.
Describe the solution you would like
In addition to being able to specify a list of SAs, be able to specify a list of IAM roles, and a mapping between both.
Describe alternatives you have considered
Not using the module
Additional context
This came up in the context of https://github.com/aws-ia/terraform-aws-eks-blueprints-addons/issues/26.
The helm chart for flux2 creates 6 service accounts, and the documentation recommends creating 2 IAM roles to be assigned to 3 of the SAs.
This deployment doesn't seem possible using terraform-aws-eks-blueprints-addon.
Please note that I understand that the module seems to have been able to address the needs of many of the addons in v5. However, I would assume this need would be needed for secure deployment on more complex environments. However I didn't check all other addons (v4 or v5) so I may be missing something.

closing this for now - I don't think this is the appropriate avenue to try to attach multiple roles since the module is designed to be a 1:1 of helm chart and IAM role


Add "m2k" as alias for move2kube on installation of move2kube

Is your feature request related to a problem? Please describe.
It's frustrating to write move2kube all the time.
Describe the solution you'd like
Set an alias m2k for move2kube by default on installation

Thanks for raising the issue, I think it should be simple to add something like
alias m2k="move2kube"

in the user's shell profile,  we probably can leave this to the user how they wish to alias the move2kube command rather defaulting it in the installation process.
cc @HarikrishnanBalagopal @seshapad

Thanks for raising the issue, I think it should be simple to add something like
alias m2k="move2kube"

in the user's shell profile, we probably can leave this to the user how they wish to alias the move2kube command rather defaulting it in the installation process.
cc @HarikrishnanBalagopal @seshapad

Folks often aren't aware regarding such commands, adding it to the readme I guess this thing can be done.


[SUGGESTION] Add support for new aspects introduced in S3

They have added several new aspects such as the following:

Yep, will update them asap 👍

See: https://github.com/aeon0/d4lf/releases/tag/v4.1.0


Add UI tests for the suggestion panel

          This PR is ready, this suggestion panel is hidden if the `fork` feature is unavailable. I will add UI tests later once `jupyter-collaboration` 3.1 is released

Originally posted by @trungleduc in https://github.com/jupytercad/JupyterCAD/issues/579#issuecomment-2510218178

What kind of tests are we thinking to add for suggestions panel?
I think I'd like to give it a try in upcoming days

Just do something with the suggestion panel then take screenshots


Parse true/false as 1/0 on device metrics

There's quite a lot of codecs that exist in the TTN repository (pulling this in is lovely by the way, great work) that return true/false values.
It would be lovely if these could be graphed as 1/0 on the device metrics page that's new in v4 as it would be useful to track a binary state over time.

Please note that you should already be able to graph these, but then as true / false text.

Boolean/string just shows as one (latest) metric rather than as a graph for me... I might be confused!

Do you have an example how you would like to display this value as graph and how this data would be aggregated (last hour / day / month)?

But how would the true (1) / false (0) value be aggregated? Note that there is a single data-point stored per hour, day and month.
For a gauge values, the average is calculated over all measurements
For counter values, only the last value is stored
For absolute values, the sum is calculated over all values
How would you aggregate binary true (1) / false (1) value? Would the output be the percentage of true and false (together always 100%)?

So that could be a bar or line graph, where per hour (or per day or month) you have a true and a false bar or line showing the number of reported states. Still I'm not sure if that is very useful. E.g. in case of a parking sensor you probably want to capture how long it was true and false so that you can calculate the percentage of time it was occupied within that hour.
If the device only sends an event on state change, then you would not be able to capture this data from the graph. E.g. the car parks at 16:01 and leaves at 16:57. So the graph shows for that hour: true: 1, false: 1 (either two bars or two lines).
If the device would send its state periodically, it would be more easy. But then a percentage would make more sense. E.g. the parking spot was 75% occupied within that hour.
This could be a tricky one, as there are many different cases where a bool is used.

Yeah I can see what you mean! I'm gonna close this as it clearly needs more thought and I'm sure there are higher-priority items at the moment.


alternatives to whisper for history Integration in speechLLM

I noticed that Whisper is being used for transcription on HF space and wanted to explore alternative approaches for incorporating history without relying on Whisper for transcription. The primary goal of SpeechLLM was to eliminate the dependency on ASR, but it seems ASR is still part of the process. I would like to understand more about this and explore if there are different methods to achieve the intended functionality.

Ultravox itself does not rely on ASR, but it does use Whisper's encoder. Anywhere you see ASR is usually for the user's benefit, not for Ultravox's benefit.


set cache_key's max_length 128

Mysql database requires the length of the primary key to be less than 767bytes

I don't think we can make this backwards incompatible change due to a MySQL limitation. Are you using MySQL 5.6? In MySQL version 5.7 and upwards this limit has been increased to 3072 bytes. (unless it's a different limitation than the one I'm reading about.)

oh, maybe it's time to give up MySQL 5.6


Bump cats version.

Bumps:

cats
cats-effect
scalatest

I think it's a super useful plugin. I can remove if you want, for this
project, might not make sense. Remove?
On Fri, Sep 25, 2020, 11:57 Yaroslav Klymko<EMAIL_ADDRESS>wrote:

@t3hnar commented on this pull request.
In project/plugins.sbt
https://github.com/evolution-gaming/cats-helper/pull/45#discussion_r494910165
:

\ No newline at end of file
+addSbtPlugin("com.evolutiongaming" % "sbt-scalac-opts-plugin" % "0.0.5")

+addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.5.1")
why do we need this here? @saraiva132 https://github.com/saraiva132 you
could just add that in your local .sbt/ folder
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/evolution-gaming/cats-helper/pull/45#pullrequestreview-496316946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLNZ2LEM527VMIHIS4J5A3SHRZQ3ANCNFSM4RZMESTA
.


GitHub is written with an uppercase H

I noticed this in my user interview with @pamela-drouin: there are a lot of instances where we are not properly capitalizing GitHub. This patchset fixes that issue.
@iamjessklein @susanjrobertson to review.

Thanks @brianloveswords ! Great catch 🐟


[SIP-67]Gallery modal redesign and enhancement

Note: This is 1/3 of a greater proposed effort in Data Visualization Enhancement, Reorganization and Revamp
Background
As of today, Superset has grown from a Hackathon project to a full-fledged BI tool with over 50 out-of-the-box visualization plugins offered. Users appreciate Superset for providing a variety of visualization options, though the organic growth of the product throughout the years has led to increasing difficulty in navigating in the gallery page, and creating visualizations efficiently.
Goal
Posting 3 SIPs in related areas, and the shared end goal of SIP65, 66 and 67 is to improve the time-to-value in creating meaningful charts using Superset.
|Less disorganized and stand alone plug-ins| Cleaner Gallery modal and control layout | More powerful charts!
Problem Statement
Problem 1- Disorienting Gallery page
The visual clutter and design debt we accumulated the last few years makes it hard—especially for the new Superset users—to get a good idea of all the visualizations available at a glance, and to easily select the one that best serves their charting purposes.
Competitive analysis
We did some competitive analysis to understand what are the main chart types other data analytics tools offer, and how others organize. In summary of the research, Superset offers a wider range of selections, compared to tools that are at similar maturity level, for example Mode, Metabase, Data Studio, Sisense, Logi Analytics and even Chartio.
Superset also has great advantages in extensibility and customization, thanks to the effort made in Dynamic Viz plug-ins system.
However, we identified some gaps compared to more mature BI tools like PowerBI and Tableau. Charts that we are missing in Superset include Combo/Composed charts, Project management charts(mentioned in roadmap item #), e.g. gantt, funnel and waterfall chart, and chart variations, e.g. column chart(horizontal bar), multi row big number/cards etc.
Based on the research we’ve done, there’s no question that integrating new charts that are mentioned above should also be part of the data visualization reorganization/redesign effort, in order to advance in the BI landscape.
Proposed Solutions for Problem 1 Gallery Page Redesign

We are taking a three-step approach to solve this problem.
Step 1 : Categorize the existing charts
Option 1: Based on dataset type,
Current category: Time-series, Comparison, Composition, Geospatial etc.
https://docs.preset.io/docs/the-right-chart-for-your-data
Option 2: Based on business use
Popular, KPI, Analysis, Project management, Maps and Others
Option 3: Abstract - D3 category
Distribution, Ranking, Correlation, Part of a Whole, Evolution, Flow and Maps
https://www.d3-graph-gallery.com/
Please note that whichever solution we land on, users may find the same chart appears in more than one chart categories.

Step 2 : Decide which charts are “gallery worthy”
Different BI tools have different sets of charts available in their galleries. We have to make this choice too, since we have several charts with several different variations, and layers of variations.
For example, should “Pie Chart” and “Donut Chart” be 2 separate charts in the gallery? On one hand we can argue that they are essentially the same chart with just a visual difference. On the other hand, both of these charts are popular and many BI tools have them as separate options in their galleries.
What about Scatter Plot and Bubble Chart?
Other examples:
Line vs smoothed line.
Horizontal bar vs vertical bar vs stacked bar vs 100% stacked bar (this is an example of layers of variations)
Area chart with circle markers vs area chart with triangle markers vs area chart with square markers (this is an extreme example)
So, what variations of charts will we show in the gallery? Where do we draw the line between “too granular” and “too general”?
How we’re attempting to approach this question:

Look at comparable products
2.Come up with a list of principles that might guide what is chart worthy?

"do people generally think of this as a visualization type?"
should we make “x” chart a separate option from “y” chart in the gallery if:
a) it adds a new dimension of understanding?
b) it changes the shape of the visualization?
c) It takes at least n number of control changes to go from x to y?
d) n of the above principles are met?

Please let us know which of above principles should we take into consideration.
Poll: 1) Horizontal and vertical Bar are the same chart type 2) Donut and Pie Chart are the same chart type 3)Line and smooth line are the same chart type

Other considerations:
What we select as gallery worthy will inform how controls on the control panel will be organized. Ideally, we would be able to make non essential changes to charts in the same place. And if charts x and y are two separate charts displayed in the gallery and they serve different purposes, in Explore to go from x to y you’d need to pull up the gallery to change as a conscious decision.
Step 3: Implement a robust viz search that help user select the right viz type
Under the assumption that we want to make as many chart types visible in the hierarchy of the category as possible without overwhelming the users, we will be implementing a few new features in the gallery to improve the time-to-select-chart.

Text description, including general purpose, use case and supported data type etc.
Tag. e.g. tag Spider for Radar Chart as a.k.a.
Thumbnail example.
Advanced search bar to search all metadata of each chart type

We want to include an “All charts” category for users to quickly search across different sections.
Thanks for brainstorming: @mihir174 @villebro @mistercrunch @rusackas 🙏

I think the classification of existing charts is also very important. Does superset have plans in this regard?

I think the classification of existing charts is also very important. Does superset have plans in this regard?

@cdmikechen SIP 65 is written to tackle this, and we welcome your thoughts over on that thread.

Additional comments (beyond the polling options):
all chart types have a visually similar thumbnail

Agreed on this point. Having a simplified, slightly abstracted thumbnail, with a consistent visual style, would be quite nice. I think/hope we can tackle this, though it might not make it into the first iteration of the effort.
The other issue with this, however, is that several plugins in the future may be contributed by the community, and we'll have to find some way to both provide a design system/language, and hold these contributors to a certain standard.

Thus, the litmus test for defining a visualisation type group could be: “Can I seamlessly switch to any of the other variants in this group after I've entered the Explore mode?”

This is an intriguing idea, and would be worth mentioning on SIP-65 which goes into categorization. However, this could be a LOT of work to implement (it's not true for almost any combination of charts today), and/or would lead to a proliferation of categories if this becomes a requirement. It's definitely a good idea to strive toward though, and it would be the case if we subdivide certain charts (e.g. Pie and Donut, or some of the various line/area/bar implementations of the Timeseries chart)


Resizing of GitLab icon

Contribution Guidelines

[X] I have read and agree to the Contribution Guidelines

Icon Name
This isn't a new icon, rather a request to change an existing one: the GitLab icon is smaller than all the others, with transparent pixels around the logo but with more padding than the others. Along with a bunch of the other icons on a dashboard it doesn't look great. Is resizing this icon to have fewer transparent pixels around it a possibility? Example of what I mean:

(Every icon except GitLab is the same size as FreePBX.)
Icon(s)
N/A

Hi, this icon came from the gitlab presskit, but I will modify it! Thanks for noticing it

Sorry, accidentally mentioned the wrong issue. Fixed! https://github.com/walkxcode/dashboard-icons/commit/8b8ae0385638662d16e413ef216d393fb0f6c853


Fixed parameter name in uniform grid state

Just name casing issue.

@MarchingCube, it won't be auto merged due to a failing MacOS build.


Select over multiple receivers with different types

I'm writing a small library to aggregate and report different types of events to a collection server.
In crossbeam-channel 0.2.1 I could store receivers of different message types in one collection:
trait ErasedChannel: Send {
    fn recv(&mut self, select: &mut Select) -> Result<(), SelectRecvError>;
}

struct Channel<V> {
    rx: Receiver<V>,
    reporter: Report<V>,
}

impl<V> ErasedChannel for Channel<V>
where
    V: Send,
{
    fn recv(&mut self, select: &mut Select) -> Result<(), SelectRecvError> {
        let msg = select.recv(&self.rx)?;
        self.reporter.report(msg);
        Ok(())
    }
}

pub struct Collector {
    channels: Vec<Box<ErasedChannel>>,
}

impl Collector {
    fn aggregate(&mut self, deadline: Instant) {
        'aggregating: loop {
            // Convert deadline into duration for select's timeout
            let timeout = match Instant::now() {
                x if x < deadline => deadline - x,
                _ => break 'aggregating,
            };

            let mut select = Select::with_timeout(timeout);

            'selecting: loop {
                for mut channel in &mut self.channels {
                    if let Ok(_) = channel.recv(&mut select) {
                        break 'selecting;
                    }
                }

                if select.timed_out() {
                    break 'selecting;
                }
            }
        }
    }
}

Is it possible to achieve something similar with crossbeam-channel 0.3?

Unfortunately, this isn't possible in the new version. :(
Would it be difficult to find a workaround, i.e. an alternative solution that doesn't erase types?

I don't doubt that it's possible, but I'm not sure how to proceed.
The actual message types are determined by the application: one struct per event type. In a separate thread, I select over all the receivers to aggregate/report the events.
Without type erasure, I don't think I can cram all the receivers into one list.

Alright, so I've been playing around with this for a while now, and the best I can come up with is providing a macro that generates the select from the types provided.
I guess it would look something like:
selector!(MySelector; Event1, Event2, Event3);

Which would expand to something like:
pub struct MySelector {
    Event1: Channel<Event1>,
    Event2: Channel<Event2>,
    Event3: Channel<Event3>,
}

impl Select for MySelector {
    fn select(&self, _timeout: Instant) {
        select! {
            recv(self.Event1.rx, msg) => self.Event1.recv(msg),
            recv(self.Event2.rx, msg) => self.Event2.recv(msg),
            recv(self.Event3.rx, msg) => self.Event3.recv(msg),

            /* ... skipping the timeout bits ... */
        }
    }
}

Which is... okay, but not ideal. It would require making a ton of implementation details public, and I believe that users of my library would have to #[macro_use] extern crate crossbeam_channel to get the select! macro.
Do you have any suggestions for making this a little cleaner?

Yeah, that doesn't seem like a satisfying solution.
For comparison, this is how one might do dynamic selection in Go: https://stackoverflow.com/questions/19992334/how-to-listen-to-n-channels-dynamic-select-statement
I wonder whether we should do something similar. Suppose crossbeam-channel had the following:
struct SelectCase<'a>;

impl<'a> SelectCase<'a> {
    fn recv<T>(
        r: &'a Receiver<T>,
        callback: impl FnOnce(Option<T>),
    ) -> Self;

    fn send<T>(
        s: &'a Sender<T>,
        message: impl FnOnce() -> T,
        callback: impl FnOnce(),
    ) -> Self;
}

fn select(
    cases: impl IntoIterator<Item = SelectCase>,
    may_block: bool,
) -> bool;

Then you could achieve what you had with version 0.1 like this:
trait ErasedChannel: Send {
    fn case<'a>(&'a self) -> SelectCase<'a>;
}

struct Channel<V> {
    rx: Receiver<V>,
    reporter: Report<V>,
}

impl<V> ErasedChannel for Channel<V>
where
    V: Send,
{
    fn case<'a>(&'a self) -> SelectCase<'a> {
        SelectCase::recv(&self.rx, |msg| self.reporter.report(msg.unwrap()))
    }
}

pub struct Collector {
    channels: Vec<Box<ErasedChannel>>,
}

impl Collector {
    fn aggregate(&mut self, deadline: Instant) {
        let duration = match Instant::now() {
            x if x < deadline => deadline - x,
            _ => return,
        };
        let timeout = after(duration);
        let mut timed_out = false;

        while !timed_out {
            let cases = self.channels
                .iter()
                .map(|c| c.case())
                .chain(iter::once(SelectCase::recv(&timeout, |_| timed_out = true)));
            select(cases, true);
        }
    }
}

Playground link: https://play.rust-lang.org/?gist=5164b46a2fb04a2611a99cc59be2b1e7&version=stable&mode=debug&edition=2015
What do you think? The proposed SelectCase API is the first thing that came to my mind so if you have other ideas, let me know. :)

So SelectCase is kind of like a way to register the callbacks for each Sender/Receiver?
If so, I really like it! I'd have to play around a bit to make sure it works, and to get a feel for it, but the idea is pretty simple.
Is it possible to avoid rebuilding the iterable of cases every select operation? Maybe instead of IntoIterator, use a slice? I don't know how expensive building that list is, but it seems worth avoiding if we can.

Yes, SelectCase is just like recv(r, msg) => block or send(s, msg) => block inside select!. Callbacks are used to produce the message in send and to execute the block on success.
We could avoid rebuilding the iterator of cases, but then FnOnce would have to be changed to FnMut. I'll think a little bit more about this.
Another unresolved question is what should fn select return. Here's another idea:
fn select(
    cases: impl IntoIterator<Item = SelectCase>,
    allow_blocking: bool,
) -> Result<usize, WouldBlock>; // On success, returns the index of the selected case.

Yet another:
fn select(cases: impl IntoIterator<Item = SelectCase>) -> usize;

fn select_nonblocking(
    cases: impl IntoIterator<Item = SelectCase>,
) -> Result<usize, NotReady>;


Add dns entries for all hosts from the inventory file

As of now, JetSki only creates dns entries for the nodes that are being used during the installation. For later scale outs it's required to parse the inventory file again and create the remaining dns entries for dnsmasq. It'd be good if that could be done during the installation already, possible with a switch that defaults to off if that is not a common usecase.

@jaredoconnell Would you like to work on this?

@smalleni That seems like a good task once I finish my current task.


Jacob

Added file output, test data analysis, several variable inputs and more.

Not complete, merging so harry can update


Eliminate ALINE by adding PLOT/VS/NOUSER

Reported by hankin on 10 Oct 2000 15:50 UTC
Both PLOT/NOUSER and POLYGON/NOUSER should be added.
They will implicitly invoke PPL WINDOW OFF (which currently doesn't work for
POLYGON). If we add /LINE=last to the PLOT command we will remove the need for
ALINE
PLOT/VS/OVER/NOLAB/LINE=last {xlo,xhi},{ylo,yhi}
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/164

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:15 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.

Comment by<EMAIL_ADDRESS>on 3 Nov 2003 18:43 UTC
Move to Ferret Tasks, and reassign to Ansley

Comment by<EMAIL_ADDRESS>on 10 Nov 2003 21:31 UTC
done for polygon; ppl window off lets us plot
things outside the box
do this for plot, and let these be done w/
qualifier /nouser

Comment by<EMAIL_ADDRESS>on 5 Nov 2004 19:20 UTC
Changing Component of bugs in "Ferret Tasks" from All to Main


feat: upgrade decentraland-connect

What?
Drop custom implementation of Formatic and replace it with decentraland-connect@2
Why?
In order to maintain a coherent experience when users login into our products

There is a change of dependencies, you will need to run npm install in kernel and website directories

I tested this branch in local and running the make watch for the kernel triggers the following error

Then, after the server builds, trying to access the local build shows the following error

After these issues are fixed we should also test in preview mode with the ENABLE_WEB3 URL param

Have you run npm install in the website folder? This error may be caused by that.

@2fd This PR changes the behaviour so that when a user already has a session, they don't have to click on "Play" to go to the loading screen. Instead, it goes there directly. I'm not sure we want to do that. We actually required the users to click on play in order for them to need to interact with the page, allowing us to bypass some chrome throttling.
Was this intentional? Do we want to not require the returning users to click play anymore?

@pablitar yes, it was intentional and it the expected behaviour, but if there is any problem with some browser I can reverted, let me know if it is the case

@pravusjif try to npm install in kernel and website directories as @pablitar said

After the npm i you guys suggested, now the server compiles fine but I get this crash as soon as I enter the local website

(I can't test the implementation in preview mode until these initializing crashes are fixed =S)

running npm i inside 'kernel/' and another inside 'website/' solved my problem.
Tested accessing prod with ENV=org and also using a scene in preview mode with and without ENABLE_WEB3 url param.


Docker images update :latest tag per commit in master

https://github.com/uber/jaeger/issues/283

Coverage remained the same at 100.0% when pulling 3261a226efc1c65401c96eeb8e686626e03e48bb on pavolloffay:docker-images-update-master into 34573d7dc2e57b5300ea8a9ae46a0b9ba9c62495 on uber:master.


Add rank index as a transformation

Rank index is needed in certain non-parametric operations. I suggest to add this as one transformation.
Abundances would be transformed as: x <- order(x)
Related to #93

The concept is not clear to me.
In addition the command x <- order(x) is ambiguous for any two dimensional object and I also would like point out two things problematic with concept as laidout above:

order returns an ordering integer vector. Overwriting x with it probably does not make sense. Did you mean sort?
Ordering of SE object is already available via se[new_order_row,new_order_col]. This makes it very versatile, because the user can create an enormous amount of different orders using data from rowData or colData. There is no wrapping function needed.

I think this is a case of "use/teach base R behaviour" to avoid any unneccessary sugar.

Rank tests are a routine workhorse for non-parametric tests and having the ability to add such assay easily through a transformation would be useful. Because such transformation needs to be done for certain tests or visualizations.
The x <- order(x) was a brief example on how to do this per row or per column. In practice a sweep will be needed. Order returns the rank for each entry. I did mean the rank order and not sort.
The idea is not to reorder rows or columns but transform the abundances to their corresponding ranks per sample (or per taxa).

So the idea would be more like function named getRankOfAbundance?

or more like transformCounts(..., method = "rank")?

The latter, yes.

I got to test this now. The .calc_rank function internally uses the ties.method argument (of colRanks function). This has been set to ties.method="min". This is not the default in colRanks, and the user is not given an option to change this.
I propose two changes:

default should be ties.method="first"
user should have access to this argument through transformCounts ("..." option)

I am of two minds on this

This method implements a specific fixed rank calculation.
If it is just a wrapper of colRanks, maybe we should skip implementing the wrapper and just use assay(se,"whatever") <- colRanks(assay(se, "whichever"))

So from that point of few, I thought this was a specific use case, which warrants fixing the ties.method argument. If that is not the case, removing the whole function again would make sense

Right. No strong opinion as long as the use case is shown for instance in OMA.
We can have (1) by providing the well-thought default value, even if we allow other choices through ties.method.
But it is also true that the other transformations do not have such flexibility.
I could do with either option. For now, I would propose keeping (1) and changing the default to ties.method="first" (unless we like to allow other choices). When we accumulate more experience, this can be either kept or removed.

The point (2) does  not seem to work out of the box
data("esophagus")
x <- esophagus
assay(x, "rank_average") <- colRanks(assay(x, "counts"), ties.method="average")

How about
assay(x, "rank_average", withDimnames = FALSE) <- t(colRanks(assay(x, "counts"), ties.method="average"))

?

Yes that's ok. I added an example.


feat: added col breaks feature

Summary
The library supports row breaks but doesn't support col breaks which is also a valid XLSX feature.
Test plan
Added unit test and integration test for writing col breaks
Page Breaks
      ✓ adds multiple row breaks
      ✓ adds multiple col breaks

I think I'll need a help with this because although the library now correctly writes col breaks, I think it doesn't properly read them, so if the document has any, they will be lost. Apparently this needs to be covered with tests which will make it easier to detect and fix

@StefanNedelchev That's really great, thanks for the PR, but I'm going to have to spend some time getting to grips with this PR first, will reply as soon as I make progress!

@StefanNedelchev That's really great, thanks for the PR, but I'm going to have to spend some time getting to grips with this PR first, will reply as soon as I make progress!

No worries, take your time. I added some refinements and also added some comments for better explanation

@StefanNedelchev Thank you very much for your contribution, it's been merged and a new version has been released.
You are welcome to continue to PR and improve the package together, I see that there are still a lot of issues and good PRs in exceljs, my plan is to finish the issues in the current project and then go to exceljs to see what else can be solved! Thanks again!

@StefanNedelchev Thank you very much for your contribution, it's been merged and a new version has been released.
You are welcome to continue to PR and improve the package together, I see that there are still a lot of issues and good PRs in exceljs, my plan is to finish the issues in the current project and then go to exceljs to see what else can be solved! Thanks again!

Thanks, it was my pleasure. It's sad to see a decent free stylesheet library to get left behind so I'm happy to contribute to this revived project. Since the PR is merged I'll delete my branch and my fork (until next PR)

Yes, you're right, it was my problem, I changed it in the next update.


Use subprocess32 in GCE tests (closes #2118)

toil.test:811 should maybe also be changed per the note

Seems like a flaky test?

src.toil.test.src.fileStoreTest.CachingFileStoreTestWithGoogleJobStore.testCacheEvictionFailCase
http://jenkins.cgcloud.info/job/toil-pull-requests/3790