[backport][v1.48.x] Fix python tests on kokoro macos monterey (#31126)

fix python build on kokoro macos monterey

avoid using realpath

fix grpc_distribtests_python on macos monterey

try upgrade setuptools

Looks like tests are red, I suspect you'd need to adjust this change to match the python versions that are being tested/built on the 1.48.x branch (recently we dropped support for some versions such as 3.6 and added some new such as 3.11 and the backport needs to reflect that).


role hasMany users, not belongsToMany

Voyager currently only supports Users having a single Role.  Please stop submitting these requests.  This is the 3rd you've submitted in 2 days, and I will keep declining them.

can you have a look conscientious
it's $role->users
not $user->roles
ok ?


Add MS front page support for older websites

this is a nonsense request mate. browservice passes a chrome window via imagemaps to your old browser.  if you want to use ancient technologies on websites such as front page support, use webone proxy.


Suggestion for improvements

Data is great, but it is hard to make sense of it. Some ideas to get a grip of what they mean...
Long lists are misleading and of little use. You want to compare only a small number of countries, for example

corona switzerland sweden

You might allow wildcards for countries you don't know the name of, e.g.

corona %orea%

It is inconvenient and impractical to write country names. Use ISO codes instead or better alternatively

corona be ch de se uk us

To give you an idea of how these numbers can be used to provide insight, here are some examples created with SQL. All results shown are based on https://data.europa.eu/euodp/de/data/dataset/covid-19-coronavirus-data from 2020-04-17.
A very important ratio is missing: cases and deaths per million or 10,000 inhabitants

Here you see at first glance that countries with fewer inhabitants may be much more afflicted (deathsPer1mCapita) although the number of cases in other states (like US) is much higher as this result is ordered by that ratio.

It would be instructive to normalize this data with respect to a single country to get a feeling which country does better, e.g. with respect to de (having ratio 1.00)

You see here that Belgium has 9 times as many deaths per 1 million inhabitants than Germany. That number has more meaning than the ratio alone.

Next the ratio of cases and deaths is interesting. Well, we know that death numbers are not reliable (Corona may be interpreted as pneumonia) and case numbers are not reliable either (which people are tested, only those with severe symptoms or all infected?). But you get an idea nevertheless.

With the death-cases-ratio you see which country scores better (higher numbers are better here). At that time, Turkey did better than Germany and UK worse than Spain. Switzerland isn't much better than the US, and India follows directly behind.

Also, you see that for countries with a high population (especially India, China) the absolute numbers aren't helpful at all.
Next it would be interesting to see these ratios develop over time. This would give a clue whether the measures of different countries are working.

Some more instructive results, same query, all countries except ship incident, different order:


Mimic Nette migrations, 2.0 to 2.4

All migration guides in Docs: https://doc.nette.org/en/2.4/migration
Nette 2.3 → 2.4

https://doc.nette.org/en/2.4/migration-2-4#toc-others

[ ] "Negative validation rules. An alternative for the ~Form::FILLED is Form::BLANK, or ~Form::EQUAL can be replaced with Form::NOT_EQUAL"

[ ] "Nette\Utils\Html::add() is replaced with addHtml() and addText()"

[ ] "In PhpGenerator methods setDocuments(), getDocuments() and addDocument() was replaced by setComment(), getComment() and addComment()"

[ ] "Flag SECURED and Route::$defaultFlags are deprecated"

Make use of release notes: https://github.com/nette/nette/releases/tag/v2.3.0

Just look for:
trigger_error('*', E_USER_DEPRECATED);

in the code

https://doc.nette.org/en/2.4/migration-2-1#toc-dependency-injection-di-2

Closing for now


Added a custom dilation

While playing the level sequence, get the custom dilation from the parent actor.

Accepted! Thanks for your contribution!
Applied some cosmetic changes.
Functional changes

And moved caching PlayRate from constructor (applied once to the node class) to InitializeInstance method that is called before executing a node.
Exposed option to control if a user actually wants to apply CustomTimeDilation from the actor. Set to True by default.
Added failsafe: in case Root Flow was created directly from some actor, not from The Flow Component.

Please check if everything work correctly for you :)


Add support for dt.timezone/dt.tzinfo objects as types in pydantic models.

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
Would it be possible to support having tzinfo/timezone objects be used in pydantic models?
IE we have a use case where we have a timezone attached to objects in the database. We'd like to have a pydantic model that validates and represents this:
import datetime as dt
class MyModel(BaseModel):
    timezone: dt.timezone | dt.tzinfo

This doesn't seem to be supported as of yet, but a simple conversion to a string for serialisation seems ideal.
Affected Components

[ ] Compatibility between releases
[X] Data validation/parsing
[X] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

@ollz272,
This is a reasonable feature request! PRs welcome with added support for this!

Great, thanks @sydney-runkle 🙌🏻
Heres a hacked together implementation in python:
from datetime import tzinfo, datetime, UTC
from typing import Type, Any

from pydantic import GetCoreSchemaHandler, BaseModel
from pydantic_core import core_schema

class TzInfo(tzinfo):
    @classmethod
    def __get_pydantic_core_schema__(cls, source: Type[Any], handler: GetCoreSchemaHandler) -> core_schema.CoreSchema:
        return core_schema.no_info_wrap_validator_function(cls._validate, core_schema.any_schema())

    @classmethod
    def _validate(cls, value: Any, handler: core_schema.ValidatorFunctionWrapHandler) -> Any:
        # if we are passed an existing instance, pass it straight through.
        if isinstance(value, tzinfo):
            return str(value)

        raise ValueError("Not a valid tzinfo object")

class MyModel(BaseModel):
    name: str
    timezone: TzInfo

tz = datetime.now(tz=UTC).tzinfo
print(MyModel.model_validate({"name": "hello", "timezone": tz}))

I guess there would be a couple of questions here:

Would we go for a pure python implementation, or would some work need to be done on pydantic core?
Does this even belong here? Or should this live in pydantic-extra-types

Happy to continue some work on this

@ollz272,
Nice work!

Would we go for a pure python implementation, or would some work need to be done on pydantic core?

Good question. It depends how we move forward from here. I think we should get @davidhewitt's input. I believe we might be able to keep things purely in pydantic, but we'll probably want to have some more complex validation / serialization logic than that used above.

Does this even belong here? Or should this live in pydantic-extra-types

Given the mainstream nature of these types, we can keep this in pydantic 😄

For sure I think dt.timezone can be handled directly in pydantic.
For dt.tzinfo, validation from JSON probably would create pydantic_core.TzInfo objects. That makes me think that handling the tzinfo ABC needs to go in core, but I'm not totally sure.

It might be worth splitting the work on this into two, as those types probably behave quite differently.

This looks interesting. Regarding validation from JSON, I can think of doing it with pytz, but we would rather have that logic in pydantic_core and validate against a list of valid timezones?
If that makes sense, would be happy to work on implementing validation for tzinfo.

@geospackle,
That makes sense to me re the pydantic_core validation, but I think we should double check with @davidhewitt before giving you the go ahead (just don't want to waste your time). Pinging him now :).

Is zoneinfo preferred these days over pytz? We should also make sure we understand how this interacts with the pydantic_core.TzInfo type.

@sydney-runkle
Unclear to me if I should proceed with this.

I think it would be difficult to interact with pydantic_core.TzInfo from Python, so this may need to be pydantic_core.

I think it would be difficult to interact with pydantic_core.TzInfo from Python, so this may need to be pydantic_core.

Makes sense. I started tinkering with this and hoping to get a draft PR up soon.

This change requires more extensive work than I expected and looks like I am not able to dedicate the time needed.
It was great to learn the code base a bit better though!


*.Jenkinsfile: remove leftover failFast

Fixes: 166d9c2333c0 ("Separate envs for tests in jenkins k8s pipeline")
Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-me-please

Coverage decreased (-0.04%) to 41.914% when pulling b6bc9efcfc5d25e858baf51c9723a25af3d68641 on pr/fix-jenkinsfiles into d5d31a760da1e11865919336deb99e7491c418de on master.


running_ssh_service.Dockerfile doesnt work on latest ubuntu (16.04)

The documentation example of ssh server doesn't work on 16.04. Can you please fix the Dockerfile!
https://docs.docker.com/engine/examples/running_ssh_service/
Some logs from my tests below. Same docker file sourced from 14.04 (eg_sshd_16)and 16.04 (eg_sshd_16 )
[root@mango3 sshd]# docker ps -a
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS                  PORTS                   NAMES
59dd963a766b        eg_sshd_16            "/usr/sbin/sshd -D"      14 minutes ago      Up 14 minutes           <IP_ADDRESS>:32788->22/tcp   test_sshd_16
bdef81d7566f        eg_sshd_14            "/usr/sbin/sshd -D"      37 minutes ago      Up 37 minutes           <IP_ADDRESS>:32787->22/tcp   test_sshd_14
[root@mango3 sshd]#
[root@mango3 sshd]# ssh root@mango3 -p 32787   ----  *** Login Works ****
root@mango3's password:
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.10.0-123.el7.x86_64 x86_64)
Documentation:  https://help.ubuntu.com/
Last login: Thu Jun 16 09:36:08 2016 from mango3.in.rdlabs.hpecorp.net
root@bdef81d7566f:~# exit
logout
Connection to mango3 closed.
[root@mango3 sshd]#
[root@mango3 sshd]#
[root@mango3 sshd]#
[root@mango3 sshd]# ssh root@mango3 -p 32788    ----  *** Login Doesn't Works ****
root@mango3's password:
Permission denied, please try again.
root@mango3's password:
Permission denied, please try again.
root@mango3's password:
Permission denied (publickey,password).
[root@mango3 sshd]#
[root@mango3 sshd]#

The Dockerfile is meant for ubuntu trusty (14.04) as shown by the FROM ubuntu:14.04 line and as such is not broken.
If you want to make the same example on Xenial (16.04) you can replace:
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
with
RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

It would be even better to actualise the documentation article itself, wouldn't it? Found this one by googling 🖖🏻

@smileart I updated the example in https://github.com/docker/docker/pull/26699

@thaJeztah Great! Thank you. Definitely will help someone. 👍

Super. Thanks. This helps.

@smileart @rafiqkattangere please be aware that that example is just for "illustrational" purposes; in most cases you don't need an SSH service in your containers; for debugging / ad-hoc access to the container, docker exec will be a better solution

@thaJeztah yep, sure, needless to say. Thank you.


[Bug] Editable Select exports all options instead of the actual value

Bug report
What I did
Exported a CSV for a CRUD with editable_select column.
What I expected to happen
The CSV should contain the current value for the editable_select field.
What happened
The CSV had all options from the editable_select field.
What I've already tried to fix it
I'm not sure how this works.
Is it a bug in the latest version of Backpack?
Yes.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
### PHP VERSION:
PHP 8.1.8 (cli) (built: Jul 11 2022 08:29:39) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies

### LARAVEL VERSION:
v9.23.0@c4eea9060d847b5c93957b203caa8f57544a76ab

### BACKPACK VERSION:
5.3.0@6339e9c0a28ee61549fecc8cdaeb2bbddaf8b8c7

I was able to fix this by publishing the export_buttons view and adding exportOptions.format in each button configuration to correctly return the value for editable_select, editable_text and editable_checkbox fields.

Thanks for opening this, and providing the solution @shivammathur . But it sounds like a bug... if it's a bug, we should take a look and fix it too.

Hi @shivammathur 🙌
Thank you for reporting the issue and give us an hint on how you've solved it 👌
I've created a PR to fix this issue https://github.com/Laravel-Backpack/CRUD/pull/4659, so I'll close this one for now, let's move the conversation there.


Incompatibility with Diego

There is a broken contract between the version of tps used in the current master of diego-release and the version of cloud_controller_ng used in cf-release: the url that tps listens on was changed. Therefore cloud_controller_ng should probably be updated at least to the state after this commit for cf-release to be compatible with Diego.

Hi, @ldmberman,
The latest final version of cf-release is v207, which according to the release notes is compatible with diego-release 0.1099.0. Due to the experimental nature of Diego, we do not presently make guarantees of backwards compatibility even between final CF releases, and we create final releases from our testing pipeline much more frequently. As a result, it may be the case that the latest final release of Diego is not compatible with the latest final release of CF. The Diego team just started publishing a comprehensive set of compatibility results from our testing pipeline, though, so if you would like to find compatibilities between particular commit SHAs of CF and final releases or commit SHAs of Diego, that is currently your best resource.
Thanks,
Eric, for the CF Runtime Diego team

Thank you for clarification


Commercial use - ready? Opinions

Hi there! First of all congrats on making such a beautiful and stand out library!
Have one question for developers that are currently using this lib in any commercial use, does this lib is worth of give it a try in such a projects in terms of stability and stuff? I'd be grateful for having some IRL thoughts 😘

I think that this library has no support anymore, none of the issues are properly responded and a lot of PR with great solutions not approved.

does this lib is worth of give it a try in such a projects in terms of stability and stuff

No.

No it's definitely not, just check my fork and you'll understand just how much work was needed to make this production worthy, there is critical bugs in 70% of the components and the code quality is terrible


Small stuff

Refactors the title component
Removes plugin subpages
Fixes blur script
Features home section has a nicer max-width
Adds more plugins to showcase

Don't squash and remove the latest commit from main please

eeeeeeeeeee


$ionicAuth.requestPasswordReset(email) 500 error. Cloud Services

I'm calling $ionicAuth.requestPasswordReset(email); and I keep getting:
{"meta": {"version": "2.0.0-beta.0", "status": 500, "request_id": "xyz"}, "error": {"message": "500: Internal Server Error", "link": null, "type": "InternalServerError"}}
The rest of the user system works, even using the hosted forms results in the same error.
Should this feature work? Is it a configuration issue on my side.

You should not be getting a 500 error. Checking in on this now.

Thanks allot for looking into it, really looking forward to resolving this, let me know if I can provide any more code or details to help troubleshoot.

 I'll reply here again when it's live and get you to test and confirm.

@edencorbin Hotfix is now live. Please test and let me know if you still have any problems.

Didn't get the error, and I got the reset code email. This is probably a user error now, but when I call:
$ionicAuth.confirmPasswordReset(123456, 'newpass');
I get this error:
{"error": {"link": null, "message": "Code or email was invalid.", "type": "UnprocessableEntity"}, "meta": {"version": "2.0.0-beta.0", "request_id": "55b6a8b9-f3ca-4ef7-a447-aa5f0809734a", "status": 422}}
Any idea what I'm doing wrong here, thanks allot.

The email get's set in your local storage, and we grab it for the request.
https://github.com/driftyco/ionic-cloud/blob/master/src/auth.ts#L282
https://github.com/driftyco/ionic-cloud/blob/master/src/auth.ts#L296
Can you open up your local app resources (in chrome developer tools) and see if email is actually getting set after you request password reset?

And if you are testing in the browser and opening up a new app window, then you'll get this error because that email won't be in local-storage for the new app window.

Perfect I'll test that in a bit and it should work fine. Thanks!
On Friday, September 2, 2016, Bryan Oliver<EMAIL_ADDRESS>wrote:

And if you are testing in the browser and opening up a new app window,
then you'll get this error because that email won't be in local-storage for
the new app window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-cloud/issues/44#issuecomment-244467459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgTQwewqHDbgvuNRoS-22rlaoAJB3FUks5qmHl4gaJpZM4Jz6vW
.

--
Eden Corbin
541-380-1211

@edencorbin It may also be useful to see what values the client is sending to the server. So the preview of the request would be good info, too.

Everything works great, I was testing on new browser instances and/or new mobile test builds, after actually building the forms, and not dumping localStorage, it worked without problems. Well implemented feature!

Awesome, thanks!
On Sat, Sep 3, 2016, 12:18 AM Eden Corbin<EMAIL_ADDRESS>wrote:

Everything works great, I was testing on new browser instances and/or new
mobile test builds, after actually building the forms, and not dumping
localStorage, it worked without problems. Well implemented feature!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-cloud/issues/44#issuecomment-244525590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGRcgmqtLruu8u67hvGFXATZXOAGEKT2ks5qmPT7gaJpZM4Jz6vW
.


How to debug efficiently in MJX

Hi,
I'm a student and I'm trying to use MuJoCo (MJX) for a research project.
I'm wondering how to debug efficiently in MJX.
In the code below, the first two iterations take about 80 seconds to run respectively, while the later iterations take less than 0.08 seconds.
I do not understand why the first two iterations take so long. I thought it was related to JIT, but after disabling JIT by setting the environment variable JAX_DISABLE_JIT=1, it takes even longer (over 300s).
I wonder whether there is anything wrong with the code. Besides, is there any method to debug efficiently in MJX. If the initial runs are always so slow, it would be very inconvenient to develop new environments with MJX.
model = mujoco.MjModel.from_xml_path("assets/robotiq_2f85/scene.xml")
data = mujoco.MjData(model)
renderer = mujoco.Renderer(model)

mjx_model = mjx.device_put(model)
mjx_data = mjx.device_put(data)
forward_jit = jax.jit(mjx.forward)

for i in range(10):
  tik = time.time()
  mjx_data = forward_jit(mjx_model, mjx_data)
  tok = time.time()
  print(i, tok - tik)

The asset can be found in https://github.com/google-deepmind/mujoco_menagerie/tree/main/robotiq_2f85. Actually, the running time varies with the complexity of assets.

Hi @damianliumin , did you get a solution? I got the same issue but couldn't figure out why.

Hi @damianliumin , did you get a solution? I got the same issue but couldn't figure out why.

Sorry, I don't have a solution yet. I have decided not to use MJX in my project.

Hi @panwliu and @damianliumin, a few pointers for debugging:

As of MuJoCo 3.1 we have a better API for placing data on device, mjx.put_model and mjx.put_data, please switch to those.  The old functions did not preserve array shapes correctly, so you are probably seeing double JITs in that for-loop when you call mjx.step.  Switching to the new functions should make it so that you pay the JIT penalty just once.

If you want a simple way of inspecting behavior in MJX, check out the supplied viewer.py - it's not nearly as fully featured as the native MuJoCo simulate, but you can at least eyeball behavior quickly and move ctrl values and so on.

In general our philosophy for MJX is that you should be able to do most of your model development in native MuJoCo, and then when you're ready to hook it up to RL just switch to MJX and it should just work - if that is not the case, please let us know!  Tools like jax.debug.print are quite handy and work well on GPU if you are seeing an issue.  However, this shouldn't be necessary, if you have a simulation that's working correctly in MuJoCo and not in MJX, that's a bug - we'll look into it.

In our roadmap are some tools for AOT'ing JIT / caching JIT output to disk, so that you can rapidly develop in MJX without waiting for JIT every time you restart your process... no ETA on that work though, but that will be a big help for sure.

For your particular model, I see a lot of meshes.  While MJX supports convex<>convex, they are not ideal performance wise.  You would see lower JIT times and much faster training performance if you switched to primitive shapes.  Just looking at the shape of the robotiq grippers, they seem ideally shaped for primitives.  If you would like an example of a menagerie model that has been optimized for MJX, see the Barkour robot and accompanying training tutorial.

Thanks @erikfrey ! I'd suggest putting the "philosophy for MJX" into MJX document so that developers are clear about the overall development flow. It could be very helpful.


Duplicate of instructions

You wrote two times : ZSH_THEME="current_theme" to ZSH_THEME="hyper-oh-my-zsh"

Thanks for the pull request @PierreLeGuen ! Merging it now


Merge dev into master

This change is

Reviewed 118 of 118 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[mungegithub]: Improve Approval Process

Add link to OWNERS file in notification
Show minimum set of OWNERS files needed
for approval
Make notification clearer
Call LeafApprovers on full file, not just
path, so correct owners file used
Added tests for repo updates and removed "/"
convention for root so files have same prefix
Added canonical way to get filepath and
tests for it

This change is

@foxish ping.  all comments are addressed i think

/lgtm


can not work in Alfred 3

hello, i just updated to Alfred 3 and found i can't use this workflow. hope you can fix this bug soon. thanks a lot.

Can you verify the workflow is still installed, and if so, execute "rtest" and post the results back? This workflow should already be compatible with Alfred v3.0

I have followed you instruction and this is the test result. But this workflow still cannot work. thanks a lot.
Test results:
OS version: 10.11.5 (0 seconds)
Current date: viernes, 27 de mayo de 2016, 10:00:47 a. m. (0 seconds)
Initialize workflow path: /Users/tuzi/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.FFD8FCD3-D5C1-4703-AB01-0B55C26951C1 (0 seconds)
Initialize alfred-library: OK (0 seconds)
Initialize update-library: OK (0 seconds)
Initialize wf-library: ERROR: mkdir: /Users/tuzi/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (0 seconds)
Initialize plist-library: OK (0 seconds)
Reminders.app state: Not running (0 seconds)
Fetch reminder count: 8 (18 seconds)
Fetch reminder info: OK (11 seconds)
Fetch reminder list count: 5 (0 seconds)
Fetch reminder list info: OK (0 seconds)
Run cache process: SKIPPED (0 seconds)
Fetch cache timestamp: SKIPPED (0 seconds)
Fetch cached reminder count: SKIPPED (0 seconds)
Test basic query: OK (0 seconds)
Test today query: OK (0 seconds)
Test in n minutes query: OK (0 seconds)
Test in n hours query: OK (0 seconds)
Test in n days query: OK (0 seconds)
Test in n days y hours query: OK (0 seconds)
Test in n hours y minutes query: OK (0 seconds)
Test at time query: OK (0 seconds)
Test tomorrow at time query: OK (0 seconds)
Test in x list query: OK (0 seconds)
Subtitle generation: OK (0 seconds)
Test basic reminder filtering: OK (0 seconds)
Test remind today reminder filtering: OK (0 seconds)
Test due tomorrow reminder filtering: OK (0 seconds)
Test reminder list filtering: OK (0 seconds)
Test version-check response: ERROR: La variable timestamp no está definida. (0 seconds)
Current unix time: 1.464314476E+9 (0 seconds)
Simple JSON: OK (0 seconds)
Test execution time: 29 seconds

Hello
It seems that the folder with all the configuration data got wiped, most likely during the upgrade process. I'm not sure why that should happen, but in any case, can you try removing the workflow from Alfred and then downloading and installing it fresh?

Hello. I have remove this workflow and installed a new one, but it seems the same problem still exists.

Hi. fresh install didn't work. Here's the rtest result and debug reports
rtest
Test results: OS version: 10.11.5 (0 seconds) Current date: 2016년 6월 3일 금요일 09:50:45 (0 seconds) Initialize workflow path: /Users/Canor 1/Dropbox/개인 자료/Alfred.alfredpreferences/workflows/user.workflow.EF6909BD-68F6-4D04-AD83-85986E3AE1CD (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: ERROR: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Running (0 seconds) Fetch reminder count: 4 (1 seconds) Fetch reminder info: OK (0 seconds) Fetch reminder list count: 3 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: SKIPPED (0 seconds) Fetch cache timestamp: SKIPPED (0 seconds) Fetch cached reminder count: SKIPPED (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: Fail (1 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: ERROR: timestamp 변수를 정의하지 않았습니다. (0 seconds) Current unix time: 1.464915047E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 2 seconds
debug
`Starting debug for 'Reminders'
[2016-06-03 09:50:33][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:34][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:34][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:34][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:35][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:35][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:35][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:35][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:36][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:37][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:37][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:37][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:38][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
[2016-06-03 09:50:39][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)`

Thanks for this, I see the problem now and will try to get a solution

Please install this update and let me know: http://bit.ly/1UlcR8F

Thanks for the update, but it's not working. Alfred shows radd for less than .5 second and it disappears. I'll attach rtest result and debug report with video.
Test results:
OS version: 10.11.5 (0 seconds)
Current date: 2016년 6월 3일 금요일 23:29:11 (0 seconds)
Initialize workflow path: /Users/Canor 1/Dropbox/개인 자료/Alfred.alfredpreferences/workflows/user.workflow.979BF6BD-A387-454A-AD86-721F733167A4 (0 seconds)
Initialize alfred-library: OK (0 seconds)
Initialize update-library: OK (0 seconds)
Initialize wf-library: ERROR: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (0 seconds)
Initialize plist-library: OK (0 seconds)
Reminders.app state: Not running (0 seconds)
Fetch reminder count: 2 (1 seconds)
Fetch reminder info: OK (0 seconds)
Fetch reminder list count: 3 (0 seconds)
Fetch reminder list info: OK (1 seconds)
Run cache process: SKIPPED (0 seconds)
Fetch cache timestamp: SKIPPED (0 seconds)
Fetch cached reminder count: SKIPPED (0 seconds)
Test basic query: OK (0 seconds)
Test today query: OK (0 seconds)
Test in n minutes query: OK (0 seconds)
Test in n hours query: OK (0 seconds)
Test in n days query: OK (0 seconds)
Test in n days y hours query: OK (0 seconds)
Test in n hours y minutes query: OK (0 seconds)
Test at time query: OK (0 seconds)
Test tomorrow at time query: OK (0 seconds)
Test in x list query: OK (0 seconds)
Subtitle generation: OK (0 seconds)
Test basic reminder filtering: OK (0 seconds)
Test remind today reminder filtering: OK (0 seconds)
Test due tomorrow reminder filtering: OK (0 seconds)
Test reminder list filtering: OK (0 seconds)
Test version-check response: ERROR: timestamp 변수를 정의하지 않았습니다. (0 seconds) (translation: timestamp variable hasn't been declared)
Current unix time: 1.464964153E+9 (0 seconds)
Simple JSON: OK (0 seconds)
Test execution time: 2 seconds
Starting debug for 'Reminders for Alfred 3'
[2016-06-03 23:32:19][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
[2016-06-03 23:32:22][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
[2016-06-03 23:32:26][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
[2016-06-03 23:32:38][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
[2016-06-03 23:32:40][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
[2016-06-03 23:32:42][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
[2016-06-03 23:32:45][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.surrealroad.alfred-reminder/: Permission denied (1)
Video(dropbox url):
https://www.dropbox.com/s/en7sjwv6dq4et6c/alfred_reminder_bug.mov?dl=0
Fresh installed and no settings has been modified while installing. I guess there's something I have to setup before use but I can't seem to figure it out.
Thanks.

can you try repair permissions on your Mac and see if that helps?

yes, i have installed the new one and now it works correctly. thanks a lot~


Safari push packages

To support Safari push notifications a new package could be added to Buford to create a .pushpackage which could then be served via HTTP.
https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html
The main issue right now is that we need PKCS #7 signing which isn't currently provided by x/crypto.

@wyattjoh If you find/write a PKCS #7 implementation for signing, can you please drop a note here?

https://github.com/mdigger/pkcs7sign/blob/master/pkcs7.go

Thanks @mdigger.

The MIT License (MIT)

https://github.com/mdigger/passbook

Thanks @mdigger. Do you mind if I bring that code into buford/pkcs7 with your LICENSE?
It would be nice if we could generalize the code some. The wwdr variable seems specific to Apple Safari Push.

Related: https://github.com/cloudflare/cfssl/blob/master/crypto/pkcs7/pkcs7.go (but no signing)

@mdigger Your library looks very similar to https://github.com/st3fan/gocrypto.


Jabbered2 is read only

https://github.com/jabberd2/jabberd2 is read only.

If you think it should be mentioned - feel free for PR


Intellisense not working for Ember when using import statement

Hi,
I've a project using Ember and experience problems with Intellisense not being available.
I've a .jsconfig at the root level of my projects and have used the tsd manager
to download the .d.ts for ember. Whenever an import Ember from 'ember';
statement is present in any javascript file, Intellisense is not available. Removing the import statement causes vscode to properly display auto complete for the Ember namespace but obviously the project doesn't compile then... Am I doing something wrong here?
Thanks.

This is a limitation in the existing JS infrastructure. We are switching to a new infrastructure and you can try the preview https://code.visualstudio.com/Updates#_javascript-salsa-preview and we believe that this issue is now addressed, but would appreciate if you could confirm this in your setup.
// @chrisdias

I've enabled Salsa but now I don't have Intellisense at all (with or without the import statement).

+1 from me :)

I guess that the ember.d.ts does not use the ES6 default export.  Please see this comment for the new compilerOption allowSyntheticDefaultImport https://github.com/Microsoft/vscode/issues/5336#issuecomment-211052292

allowSyntheticDefaultImport is now the default https://github.com/Microsoft/TypeScript/issues/10895.


macOS framework library 'damaged'

Copy the framework from the mac where it was built to a Windows machine and back again. Open any of the G-Audio VIs, and then macOS will complain the library is damaged and should be deleted.

Most likely due to the binary not being signed.

The framework was damaged, in that some files and shortcuts were missing. A new build in Xcode was created, and the entire g_audio_x64.framework folder copied to Windows and back without a problem.


Fix metafile location for cargo workspaces

The bindings.json file is always generated at the cargo workspace root unless the OUT_DIR env is set. It did not work unless the working directory was on the workspace root for the CLI.

 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.


Add section on required IAM permissions.

cf.: https://github.com/ncw/rclone/issues/1455

Very nice docs - thank you :-)


Should add social media login

First time using it and i dont remember my password because i assume everything has social media linked to it in 2019.
Would drive more users in instead of out <3

Same. Wish I knew what to do, I don't know my IG password I just logged in with Facebook.
I see some stuff about callbacks.

Follow these steps:
Go here to edit your Instagram profile (login with Facebook if you have to): https://www.instagram.com/accounts/edit/
Enter an email address & a username if those fields are empty
Log out of Instagram
Go here to reset your password and enter your email: https://www.instagram.com/accounts/password/reset/
Open your email and press the link in the email you should have received from Instagram
Set a new password


Why is grappa labeled as "FORTRAN" on github?

This is confusing as grappa is implemented in C++.

I believe the reason is the NAS parallel benchmarks redistribution. This is probably something we should remove.

I nearly stopped looking into this project when I saw a "FORTRAN" code base. so glad I didn't...

@bmyerz You should just move NPB to a different repo under uwsampa...
@pengxu7 You should not be so allergic to Fortran: Those who cannot remember the past are condemned to repeat it.


Creating periodic checks of master branch

Over the last couple weeks, there have been a couple instances where something unrelated to code we developed in this repo breaking the master branch, when it appears to be fine based on the last merge and causing confusion when PR branches start failing.
I think we should run a periodic check on master instead of just when a new PR is merged. Maybe once a day at night or something.
@michaelavs @erogluorhan @pilotchute @hCraker let me know your thoughts!

I agree. Here is the reference about scheduled events.
Moreover, I think that we need to work on our event triggerers (push and pull_request_target on branches * currently) to 100% cover pushes from forked repos as well as avoiding multiple triggerings for teh same event (in favor of automatic code-formatter)

Moreover, I think that we need to work on our event triggerers (push and pull_request_target on branches * currently) to 100% cover pushes from forked repos as well as avoiding multiple triggerings for teh same event (in favor of automatic code-formatter)

Yeah, I 100% agree. I think we could use some time to reconsider how we're doing github checks as a team.

I think this is an excellent idea. I don't know very much about how these checks work, but let me know if there is anything I can do to help.

I think this is an excellent idea. I don't know very much about how these checks work, but let me know if there is anything I can do to help.

@hCraker, it's a matter of adding the following in the on key section:
 schedule:
     - cron: '0 0 * * *' # Daily “At 00:00”

https://github.com/NCAR/GeoCAT-examples/blob/40f05e2762248ec386376665ca68fe0d3514c162/.github/workflows/build.yml#L3
If you want to use a different schedule, you can use crontab guru to help generate your cron syntax


AutoFilter not apply default

548 / 5,000
Resultados de traducción
Traducción
I have the following code: // Add headers to the Excel file
headers := []string{"ID", "Status", "Product", "Cost", "# of people", "Order", "Start Date"}
// Set auto filter for the headers
err = xlsx.AutoFilter(sheetName, fmt.Sprintf("A1:%s1", columnIndexToAlpha(len(headers))), []excelize.AutoFilterOptions{
{Column: "B", Expression: "x = paid"},
})
if err != nil {
return err
}
which applied a filter in column B where = a paid, when the excel loads it looks like this (all the data without the filter)

I have to click on the filter (I see that the paid option is checked by default) and click on apply, if the filter works, am I doing something wrong? I appreciate your help

Thanks for your issue. This library doesn't support filtering cell values when you add an auto filter. As the documentation says: It isn't sufficient to just specify the filter condition. You must also hide any rows that don't match the filter condition. Rows are hidden using the SetRowVisible function. Excelize can't filter rows automatically since this isn't part of the file format


[Improvement][UI] Add no-var rule for eslint and add npm run lint:fix command

Tips

Thanks very much for contributing to Apache DolphinScheduler.
Please review https://dolphinscheduler.apache.org/en-us/community/index.html before opening a pull request.

What is the purpose of the pull request
Add no-var rule for eslint and add npm run lint:fix command
Brief change log

Add no-var rule for eslint, and fix related files
Add npm run lint:fix command, which distinguished from the default command npm run lint

The behavior of command npm run lint and command npm run lint:fix should be distinguished
The first command is used to lint only, and the second one is used to lint and fix problems automatically

Verify this pull request
(Please pick either of the following options)
This pull request is already covered by existing tests.

LGTM.


Add spring tween to AnimationTrackEditor

Follow up #76899.
AnimationTrackEditor has the feature to bake Tweens and needs to add an item to the list.

Thanks!


darwin/arm64 binary says it is running under Rosetta 2 on macOS M1 machine

What version of Go are you using (go version)?

$ go version
go version go1.16 darwin/amd64

Does this issue reproduce with the latest release?
Yes, Go 1.16 is the latest release.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/[name]/Library/Caches/go-build"
GOENV="/Users/[name]/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/[name]/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/[name]/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.16/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.16/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/[name]/dd/gotest/darwin/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/6d/hrpbskwn3nv8qnm51fdpmh5c0000gn/T/go-build1276543076=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Consider the following program, saved on main.go:
package main

import (
	"fmt"
	"golang.org/x/sys/unix"
)

func processIsTranslated() (bool, error) {
	// https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment#3616845
	_, err := unix.Sysctl("sysctl.proc_translated")

	if err == nil {
		return true, nil
	} else if err.(unix.Errno) == unix.ENOENT {
		return false, nil
	}

	return false, err
}

func main() {
	if isTranslated, err := processIsTranslated(); err != nil {
		panic(err)
	} else if isTranslated {
		fmt.Println("Running on Rosetta 2")
	} else {
		fmt.Println("Running natively")
	}
}

As per Apple's documentation, if I am translating the code correctly to Go, this should detect whether a binary is running natively or it is being translated under Rosetta.
Build the program both for amd64 and arm64 on macOS:
GOOS=darwin GOARCH=amd64 go build -o main_darwin_amd64 main.go
GOOS=darwin GOARCH=arm64 go build -o main_darwin_arm64 main.go

What did you expect to see?
The amd64 binary should report it is running natively on a macOS with amd64 architecture and it should report it is running under Rosetta 2 on a macOS with arm64 architecture.
The arm64 binary should not be runnable on a macOS with amd64 architecture and it should report it is running natively on a macOS with arm64 architecture.
What did you see instead?
When running on a macOS with an amd64 architecture I see the following

$ uname -a
Darwin [name].local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,2 Darwin
$ file ./main_darwin_amd64
./main_darwin_amd64: Mach-O 64-bit executable x86_64
$ ./main_darwin_amd64
Running natively
$ file ./main_darwin_arm64
./main_darwin_arm64: Mach-O 64-bit executable arm64
$ ./main_darwin_arm64
-bash: ./main_darwin_arm64: Bad CPU type in executable

When running on a macOS with an arm64 architecture (with a macOS M1 chip) I see the following

$ uname -a
Darwin [name].local 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:18 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8020 arm64
$ file ./main_darwin_amd64
./main_darwin_amd64: Mach-O 64-bit executable x86_64
$ ./main_darwin_amd64
Running on Rosetta 2
$ file ./main_darwin_arm64
./main_darwin_arm64: Mach-O 64-bit executable arm64
$ ./main_darwin_arm64
Running on Rosetta 2  # ?!?

I would expect this last line to say Running natively since it is an arm64 executable on an arm64 macOS.

Compare with the following C++ program which does output the results I would expect: the arm64 version reports "Running natively" on the Mac with the M1 chip.
#include <iostream>
#include <sys/sysctl.h>

int processIsTranslated() {
  int ret = 0;
  size_t size = sizeof(ret);
  if (sysctlbyname("sysctl.proc_translated", &ret, &size, nullptr, 0) == -1) {
    if (errno == ENOENT)
      return 0;
    return -1;
  }
  return ret;
}

int main() {
  int res = processIsTranslated();
  if (res == 0) {
    std::cout << "Process is running natively" << std::endl;
  } else if (res == 1) {
    std::cout << "Process is running under Rosetta" << std::endl;
  } else {
    std::cout << "Unexpected error code: " << res << std::endl;
  }
}

Closing as it was an issue in my code. The correct implementation of the function in Go is:
func processIsTranslated() (bool, error) {
	// https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment#3616845
	ret, err := unix.SysctlUint32("sysctl.proc_translated")

	if err == nil {
		return ret == 1, nil
	} else if err.(unix.Errno) == unix.ENOENT {
		return false, nil
	}

	return false, err
}


Add label for validator error

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
I have multiple entities with field "name". On one of the entity I got this error (MaxLen is 255): ent: validator failed for field \"name\": value is greater than the required length. There is no way I can understand which entity this error refers to. I guess I can do better error handling on my side, but there should be no problem to add label to this errors.
Proposed solution
My entity:
func (Work) Fields() []ent.Field {
	return []ent.Field{
		field.String("name").MaxLen(255),
	}
}

Example of generated code now:
// check runs all checks and user-defined validators on the builder.
func (wc *WorkCreate) check() error {
	if v, ok := wc.mutation.Name(); ok {
		if err := work.NameValidator(v); err != nil {
			return &ValidationError{Name: "name", err: fmt.Errorf(`ent: validator failed for field "name": %w`, err)}
		}
	}
	return nil
}

My proposal:
// check runs all checks and user-defined validators on the builder.
func (wc *WorkCreate) check() error {
	if v, ok := wc.mutation.Name(); ok {
		if err := work.NameValidator(v); err != nil {
			return &ValidationError{Name: "name", err: fmt.Errorf(`ent: validator failed for field "name": %w`, err), Label: work.Label} // work is an entity and already imported in all of the work_create work_update and etc files.
		}
	}
	return nil
}

So we can add additional label field to ValidatorError and pass it to its Error method or we could inline label inside fmt.errorf

Thanks for proposing this @maxifom. I think it makes sense to support it. I'll come up with some implementation and will add you as a reviewer.


file "UIActionSheet+Common.h "not found

anyideas?

delete this line
#import "UIActionSheet+Common.h"


Trying to get instrumentation tests passing

Please don't merge this until Circle reports tests passing!

Pretty positive you're not working on this anymore haha.

Pretty positive you're not working on this anymore haha.


Settings UI: value not updated visually

Issue Type: Bug
Configuration:
"someFilePath": {
	"type": "string",
	"markdownDescription": "[**Specify file path**](command:specify)",
	"default": ""
}

Code:
commands.registerCommand('specify', () => {
	const settings = vscode.workspace.getConfiguration(undefined, null);
	settings.update('someFilePath', 'NEW FILE PATH', vscode.ConfigurationTarget.Global);
});

You can see that the modified border appeared but the value did not change until it lost focus.

VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

This is tricky. We purposely don't pull in updates until the user has stopped editing (focus leaves the setting) because it will conflict with the user's text editing

Specifying the file path with OS dialog: window.showOpenDialog()

If it's not a bug, then I'm closing it.

I'd like to provide that built-in https://github.com/microsoft/vscode/issues/56834 and we have recently been looking at settings editor issues again, so good to know that you would find that one useful


Spelling error in default examples for Kicad 5

In Kicad 5, Part('device') has to be Part('Device.lib').

Thanks for letting me know. You're probably on linux where file names are case-sensistive.


Two upcoming breaking changes:

The global coordinate systems I'm finding in books on robotics all have z=0 representing ground, whereas I have y=0 representing ground so I'm going to refactor tharp to use z=0 representing ground.
The names I have given to joints (i.e. Coxa, Femur, etc) are superfluous. We really only need to know the type of joint and how it's oriented in space. So "CoxaY-FemurZ-TibiaZ" can be simply represented as "YZZ". Uppercase letters can represent simple rotating joints (servos) and lowercase letters can be linear actuators.

These are done.


readme: use inclusive language

Update README.md to use inclusive language as per the main repo.

Please fill out the DCO & sign your commit  (see the CI details), and I'll be happy to merge.

@rodaine signed and force-pushed.


DJANGO integration

Hi,
I can't find how to integrate atoti interactive dashboard in a django project
Where can I find there information?
thx

Closing because the issue is not clear enough. Feel free to reopen if needed.


Add characters exclusion from random string

Hi @anuragajwani and thank you for your pull request.
To be honest, I'm not a fan of adding exclusion parameters to the random String initializer. Can you please explain what your use case is and why the case allCharactersIn doesn't fulfill your needs?
If you really need exclusion behavior, I would rather have a new allowedCharactersType where you can specify a CharacterSet object. CharacterSet already has a rich API where you can invert, add and also subtract other CharacterSet objects from. Maybe we can call it allInCharacterSet(CharacterSet)?

Hi @Dschee ,
I was looking to exclude certain characters (o,O and 0) from the alphanumeric character set. I found more convenient than stating all of the characters excluding those.
On the other hand we could make the CharacterSet return the String containing all of the characters and then passing that String as the payload in as allInCharacterSet. Currently the string containing all characters is within the random initialiser.
let allowedCharsString: String = {
            switch allowedCharactersType {
            case .numeric:
                return "0123456789"

            case .alphabetic:
                return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

            case .alphaNumeric:
                return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

            case .allCharactersIn(let allowedCharactersString):
                return allowedCharactersString
            }
        }()

Anurag

Sorry I don't quite understand what you mean as you wrote it. Your text only makes sense to me, when I assume you meant allCharactersIn (which already exists) and not allInCharacterSet (which I suggested as a new enum case). And if I understand it correctly, you want to add something like toString() to CharacterSet?
Well, you're right, that would work, too. I've even found this SO answer which includes a solution to doing this (maybe we should make the code more readable though). Feel free to post a PR including tests and docs, and I'll happily review and merge. Thanks in advance! 👍

Closing due to inactivity.


Mahalanobis distance example

Simple non-graphical example for python_modular. Let me know if I should add more functionality to it.

I would really prefer to have a switch instead of this rhs != lhs logic above. I mean it can make sense to compare lhs examples with each other via mahalanobis...

Here it is the new version. Let me know if I misunderstood you (again :P) so we can fix it


Noxious16:master

Description:
Describe your proposal.
Justification:
Justification or a use case for your proposal.
Are you willing to submit a PR?

Closed as a spammy issue 👎


Add postgis support

Wraps the postgis adapter in the Makara abstract class.
This is only tested against AR 4.2+ and only on the ruby platform.

included in release candidate. https://github.com/taskrabbit/makara/releases/tag/v0.3.7.rc


adding sas-bases/overlays

Hi,
How do I add the overlays from sas-bases/overlays?
As I understand I cannot add them to the kustomization.yaml since it is autogenerated.
I copied them to site-config and modified a little so they would be picked up by viya4-deployment, but this means that I need to manually sync them when I update to new releases.

@Vladislaff as long as you continue to deploy into the same cluster your modifications will be used. Here's the link to the doc on how to set this up: https://github.com/sassoftware/viya4-deployment#customizations

I don't mean my customizations, but standard overlays.
For example, to deploy sas-planning I need to add its overlays to kustomization.
To do so with viya4-deployment I copied them over to site-config with some changes so it will be picked up by the tool.
Next month I download a new version of Viya and the overlay in sas-bases/overlays is different. How can I add the overlays from sas-bases without the need to modify and copy them to site-config?

For that you'd have to follow the docs provided by SAS, https://go.documentation.sas.com/doc/en/itopscdc/v_001LTS/itopswlcm/home.htm

Does this mean I cannot use viya4-deployment if I need to use standard overlays from sas-bases/overlays?

It does not but you'll have to copy them as you stated above. What is the reason these sas-bases overlays need to be replaced? Is that something covered in the SAS doc link provided? If you're making changes most of those should be in the site-config location. Is there a reason they cannot exist there?


fix(regex): movie and tv (pack and episode) regex

The following are changes made to improve matching for TV (season pack and episode) as well as movies.
All Regex's

Replaced literal space (' ') in expressions with \s

MOVIE_REGEX
Added support for '_' in release name.
SEASON_REGEX

Added support for '_' in release naming.
Capture multiple variations (including poorly named) of multiple season packs properly.
Fixed matching incorrectly when season has more than one digit

EP_REGEX

Added more variations on multi-episode capturing

If you run some test cases and find any outliers or mismatching, please comment and note what release naming you used to demonstrate.

Congrats on first PR! Can you explain what you mean by capturing lazily in <title>?

I removed that actually before PR'ing but wrote the initial PR prior to posting. I wasn't aware of why it was perhaps greedily capturing. So i decided against changing it.
Simply changing the (?.+) to /^(?.+?) will reduce the steps, and in my test cases I could find no negative results but since it wasn't initially included I just left it out of the commit code, but forgot to edit the comment.
Example in ep_regex matching "Hello_World_S01E01_ntb.mkv":
Using (?.+) takes 58 steps.
Using (?.+?) takes 43 steps.
Match results are the same.


Option to disconnect

There should be an option to disconnect a database. It could happen that one needs to disconnect a database because of certain limitations (http://stackoverflow.com/a/17456538).

Will add when possible.


Scores on the upper part

What do the scores on the upper part mean ?
If this is the number of correctly answered questions they are wrong.

Should have been fixed by 139b945699eaea57ce9b0acb2fadc6bedae346a4, right @Aranir? Feel free to re-open if not.


Update request: pythonPackages.debugpy

Project description
debugpy is an implementation of the Debug Adapter Protocol for Python.
Metadata
homepage URL: https://pypi.org/project/debugpy/
source URL: https://github.com/microsoft/debugpy
license: mit
platforms: unix, linux, darwin
Update details
Upstream has updated and has changed the supported python versions. The issue mentioned in the code has been fixed.
v 1.7.0 Adds 3.11 support https://github.com/microsoft/debugpy/releases/tag/v1.7.0'
v 1.8.0 Drops 3.7 Support https://github.com/microsoft/debugpy/releases/tag/v1.8.0
See the nix package definition here
https://github.com/NixOS/nixpkgs/blob/b6fb0591e004cb6ffa47ab4edee06da8a38f9500/pkgs/development/python-modules/debugpy/default.nix#L25-L30

This was already done in 04b53be12571675e9ddea719b420dc237c9b10f4, wasn't it?

Seems so! Thanks @gepbird, @antonmosich

Completed in #255379


Constant fill_parent is deprecated

I see in your librarry, you use fill_parent in res/layout.. the best way is set match_parent
https://stackoverflow.com/questions/5761960/what-is-the-difference-between-match-parent-and-fill-parent

Can we get a PR 😸


CAB-3145: Display of 'Upload' button on main search page should be co…

…nfigurable

Coverage increased (+0.004%) to 79.927% when pulling 634478b7b3f1539f36feadbf7a68c3ac1b4cc64b on feature/CAB-3145 into 46996f7933def7d69af8c958f45a434a8d068da8 on develop.


[Depends on #10115] PR: Try reusing app to avoid long test time

Description of Changes
Reuse same window for all test_mainwindow tests

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

Hello @impact27! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/app/tests/test_mainwindow.py:

Line 225:80: E501 line too long (82 > 79 characters)

This seems very interesting @impact27! I think we need to close all consoles for the tests that depend on the IPython console, in order to not have conflicts due to the state of previous consoles.

The tests now pass in 20 min!

This seems very interesting @impact27! I think we need to close all consoles for the tests that depend on the IPython console, in order to not have conflicts due to the state of previous consoles.

I am just closing the front console, but that seems to work.

This is the code that "Cleans" spyder.  Anything you would add/change?
            # Close everything we can think of
             window.editor.close_file()
             window.projects.close_project()
             if window.console.error_dlg:
                 window.console.close_error_dlg()
             window.switcher.close()
             client = window.ipyconsole.get_current_client()
             window.ipyconsole.close_client(client=client)
             # Reset cwd
             window.explorer.chdir(get_home_dir())

Amazing work @impact27  :-) !

This is terrific @impact27!! Please don't add more commits here, I'm going to tidy up this PR so we can merge it ASAP!


Importing dagre.js after traspiling with Babel

Hi, I want to preface this by saying that we are not knowledgeable with javascript importing, but would be grateful if you can help us with our problem :)
We want to use dagre in application that uses Qml for UI. Qml runtime allows to import javascript files to use in Qml, but only supports Ecmascript version 7. Our solution was to use Babel to transpile the dagre.js to ES7, then Qml engine seems to parse the dagre.js correctly without complaints. However, after importing dagre.js, we can't access the exported variables, like dagre.graphlib.
Are there any reasons that this should not work, if Qml engine implements ES7. Maybe dagre.js is only supposed to work in browsers? Or some other checks during import fail... Would be super helpful to hear some input on this.
I'm also attaching the transpiled dagre.js.
dagre.es7.zip

I think it would be awesome if dagre could be used from Qt QML!
Qt does not provide any layouting of graphs. There is the nice Qt QML library QuickQanava that can be used to display and interact with complex graph layouts, but it also does not provide any layouting. dagre would be a perfect extension for this! And I think the QuickQanava developers would be interested to add dagre bindings.


confused handler when rpc client catch serve rerror

we know it is common that server return an error, but blacklist of default selector limit 3 error, then we have no services available. can we turn off blacklist?

The selector is pluggable. You can write a new selector that suits your requirements. We could potentially provide one that doesn't blacklist. But the fact that the call fails 3 times implies there's an issue, hence blacklisting the node. Only that specific node is blacklisted. So if you're only running one instance of a service, yes it's going to return no service available. Why is it throwing an error? Can you run more instances of the service?

I guess the key is
what is the best way to throwing error?

for example：invalid request params and so on，they will return error，but not reason to block that specific node. People will benchmark wrong request and make all node not available

I have use my own selector,problem solved.

great

Let us know if you open source it. Would be great to see what it looks like.

ok,my team use micro on a  e-commerce project, we will open source some plugins when code stable.
your great job help us reduce much work,thanks

Cool. Feel free to add your company to the Users list https://github.com/micro/micro/wiki/Users


Fix duplicate jira issue creation

fixes #2257
remove jira issue_tasks from models.py

Closing in favor of #2263


Add support for KNI

Add support for Khiops Native Interfance (KNI, ie. the kni.dll or kni.so library that allow to deploy Khiops models).
Implementation Ideas

N.Voisine already implemented a prototype for this support
Implement it as a submodule kni
The test docker will need to have installed the KNI library

Should it be in a different library, kni-python, as it has different assumptions from khiops-python (no more khiops_env, MODL* etc)?


Update v1 test runner to wast v39 (from v38)

Codecov Report

Merging #319 (5a269e8) into master (fdcfa6c) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #319      +/-   ##
==========================================
- Coverage   79.88%   79.84%   -0.04%
==========================================
  Files          70       70
  Lines        9328     9330       +2
==========================================
- Hits         7452     7450       -2
- Misses       1876     1880       +4

Impacted Files
Coverage Δ

tests/spec/v1/run.rs
72.84% <100.00%> (+0.36%)
:arrow_up:

src/v1/module/compile/mod.rs
91.77% <0.00%> (-0.68%)
:arrow_down:

benches/src/lib.rs
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Empty string

So I followed the exact procedure as mentioned in the collab notebook for running on command prompt. But unfortunately, I am not able to get anything printed in the final output file. Can someone please help me with this?
Thanks

Now worries, the python interface is working..Thanks


compile error on windows: expected initializer before 'teval'

I tried compiling from matlab 2017a on windows 10 using the MinGW64 Compiler (C).
During compilation, I get the following error
Trying to compile 'mmx_naive', using
-DWIN_SYSTEM,
Building with 'MinGW64 Compiler (C++)'.
Compilation of 'mmx_naive' failed with error:
C:\Users\acooman\Documents\mmx\src\mmx.cpp:80:16: error: expected initializer before 'teval'
 DWORD _stdcall teval(void* pn)
                ^

A solution to fix this can be found on this page:
https://github.com/joncox123/Cortexsys/issues/15
Fix:
In mmx.cpp Line 80 add a double underscore to stdcall instead of a single one:
DWORD __stdcall teval(void* pn)

I don't know whether this will break the other builds, so I hesitate to propose this fix as a commit.

Can you please make a pull request which we'll leave floating for a while?
Different users on different platforms will be able to patch it as required and let us know if it works for them (or not).
Thanks!


Ordering by status on Scenarios Sequence page is not working

Currently ordering by status on the Scenarios Sequence page is not working due to missing text in the cell.
Steps to reproduce the behavior:

Make sure to have Failed, Passed and Skipped scenarios in the report.
Open the Scenarios Sequence page.
Order the table by column Status
See behavior

Expected behavior
Order entire table by the scenarios' status: Failed, Passed, Skipped using natural alphabetic ordering.
Additional context
This could be fixed by changing the html code for the 'i' tag in common.ftl to wrap the status in a hidden span:
 ${status}

By this on the table will keep current style and the ordering will work.

Hi @monofrei !
Thanks a lot for reporting this!
Would you like to make a PR with your solution? If not, I will fix it for the next release.

Hi @laxersaz, sure i will do it.

You can just fork the repo, make your changes and create a pull request from there.

Fixed in 1.7.1


graph moves out of the screen

I'm not sure if it is a bug or a feature :), but it surely looks strange. if the focus is on the graph, and I position mouse close to either border of the VFR tab, or even beyond the tab, the graph starts moving in the opposite direction until it completely disappears.
If this is a feature, please rethink it... when I return to the VFR tab from other tabs, it is often empty.

I actually can't repro this. I had it docked in the main document well, docked as a tool window, and floating. Could you add some more description of exactly what you are doing?

it works fine for me when I open VS for the first time. I don't think it depends on the docking type. but after a few times I close the VFR window and open it back with a simple method (not many connections), it starts sliding the picture, so in 3 seconds it is gone, and i have to press 'fit to display' to get it back. and if I don't remove the mouse from this button, it immediately slides down again.


tailscale - combining binaries breaks tailscale ssh

Describe the bug
Commit "tailscale: combine client and daemon binary" breaks tailscale ssh

https://github.com/NixOS/nixpkgs/commit/ccf4d0c623495168171bee72f511d7e56b4cdc84

╭─    ~/nix    main *1 +3                                                                                  ✔  vesu@glacier  18:59:02 
╰─ tailscale ssh myhost
2024/05/11 18:59:06 tailscaled does not take non-flag arguments: ["nc" "myhost.word-other.ts.net." "22"]
Connection closed by UNKNOWN port 65535
╭─    ~/nix    main *1 +3                                                                                  255 ✘  vesu@glacier  18:59:06 
╰─ git au && just switch
sudo nixos-rebuild switch --flake ".#glacier"
warning: Git tree '/home/vesu/nix' is dirty
warning: updating lock file '/home/vesu/nix/flake.lock':
• Updated input 'nixpkgs-test':
    'github:nixos/nixpkgs/ccf4d0c623495168171bee72f511d7e56b4cdc84' (2024-04-24)
  → 'github:nixos/nixpkgs/cd7bb6126ced1216fb49f48103db7811bd308a39' (2024-04-22)
warning: Git tree '/home/vesu/nix' is dirty
building the system configuration...
warning: Git tree '/home/vesu/nix' is dirty
activating the configuration...
setting up /etc...
reloading user units for vesu...
setting up tmpfiles
reloading the following units: dbus.service
restarting the following units: tailscaled.service
╭─    ~/nix    main *1 +3 !1                                                                                  ✔  32s   vesu@glacier  19:00:11 
╰─ tailscale version
1.64.2
  go version: go1.22.2
╭─    ~/nix    main *1 +3 !1                                                                                  ✔  vesu@glacier  19:00:16 
╰─ tailscale ssh myhost
[vesu@<ip> ~]$
logout
Connection to myhost.word-other.ts.net. closed.

Steps To Reproduce
Attempt to use tailscale ssh ... with nixpkgs commit ccf4d0c623495168171bee72f511d7e56b4cdc84 or later and notice that it fails with the error  tailscaled does not take non-flag arguments: ["nc" "myhost.word-other.ts.net." "22"]
Expected behavior
tailscale ssh ... should not fail, as in commits prior.
Notify maintainers
@SuperSandro2000
Metadata
╰─ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.87, NixOS, 23.11 (Tapir), 23.11.20240511.71bae31`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05"`
 - channels(vesu): `"home-manager-23.05.tar.gz"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

The bug is here https://github.com/tailscale/tailscale/blob/main/cmd/tailscale/cli/ssh.go#L119
I am going to create a PR and apply a patch to fix this.

Please test #311176

Patch seems to work - thank you @SuperSandro2000!


login: use browser for interactive login

By default, if browser is available, CLI will use it for login. No more device code copy & paste.
The device code login is still available, through az login --use-device-code in case desktop is unavailable say SSH session, cloud shell, etc.  CLI will also pick this up if it can't launch the browser in such situations.
this will address #5413

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

[x] I adhere to the Command Guidelines.

Codecov Report

Merging #6593 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##           dev   #6593   +/-   ##
===================================
  Coverage    0%      0%
===================================
  Files       11      11
  Lines      145     145
  Branches    11      11
===================================
  Misses     145     145

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 3b4a58e...479653f. Read the comment docs.


The Chinese font shows normal when the bpp set to 1. but when the bpp greater than 1, it shows abnormal

i use these two command:
lv_font_conv --font chinese_ui.ttf -r 0x9009 --size 48 --format lvgl --bpp 1 -o stsong_30.c
lv_font_conv --font chinese_ui.ttf -r 0x9009 --size 48 --format lvgl --bpp 2 -o stsong_30.c

If you are on 6.0, add --no-compress, or switch to 6.1-dev. Compressor defaults are a bit ahead of lvgl releases.

If you are on 6.0, add --no-compress, or switch to 6.1-dev. Convertor defaults are a bit ahead of lvgl releases.

very thanks, i try it, it shows ok, but it works only in a small range of unicode. when i choose a big range(e.g. 0x4E00-0x9009 or 0x4E00-0x9FA5), it also shows abnormal.
here is my command line:
lv_font_conv --font chinese_ui.ttf -r 0x00-0x9009 --size 48 --format lvgl --bpp 2 --no-compress -o stsong_30.c

Those effects are not related anyhow. I'd suggest you to create a reproducible sample, because described command is not enougth. Also try this things:

use --format dump and check if dumped images are correct or not
try narrow down your example to case when it still works and stop works after small change.

thanks again, the dumped images are correct.

Prepare a test repo please, with your font and commands to execute. Ideally, this ones:

with max range, still working correctly
with max range + 1, when glyph become bad (will in be only one bad glyph or all revious too?).

Prepare a test repo please, with your font and commands to execute. Ideally, this ones:

with max range, still working correctly
with max range + 1, when glyph become bad (will in be only one bad glyph or all revious too?).

glyph become bad from 0x5669.  range 0x4e00-0x5668 is ok.

@incity please, create a test repo as requested, that's important, because we need reproduce situation locally.

@incity please, create a test repo as requested, that's important, because we need reproduce situation locally.
i just use the sample code in lvgl(lv_linux_frame_buffer\lv_examples\lv_tests\lv_test_theme)
and modify the code in lv_test_theme_2.c from line 135(sb_create function)
lv_test_theme.zip

@puzrin there is a overflow in lv_font_fmt_txt_glyph_dsc_t struct. i remove the bit field. and it shows ok now.

BTW, if you have resources for such big fonts, why do you use lvgl then? Seems you can run qt + freetype.

It's probably for at least one of these reasons:

LittlevGL is more lightweight (and therefore faster).
It might be easier to work with for simple GUIs.
Maybe @incity has already used LittlevGL on another platform before.

i do like the ui style of the littlevgl, it more like android and ios, im not very familiar with QT, maybe it can also realize that, but, i dont know how much work will it take.
do u have any suggestions.

LittlevGL is more lightweight (and therefore faster).

This 2 statements are not related. For example, lvgl has no commands abstraction layer (see nuklear for example), which can be effectively done at gpu if exists. More simple != more fast.

do u have any suggestions?

I can not decide what is better for you. In my current projects i use LVGL due memory constrains.

@incity
With a lot of characters, you should enable LV_FONT_FMT_TXT_LARGE.

More simple != more fast.

You need more context to effectively make a statement like that.
On a platform without a dedicated GPU, something that does simpler graphics operations will be faster. On a platform with a GPU, there are probably advantages to the complexity (because it will be handled by the GPU).


Initial development of a Keycloak addon

Installs a Keycloak instance based on the official Keycloak template at https://raw.githubusercontent.com/jboss-dockerfiles/keycloak/master/openshift-examples/keycloak-https.json

Can one of the admins verify this patch?


Usage display - horizontal bar charts for number of plans by template difficult to read

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
3.0.2
Expected behaviour:
An improved display for number of plans by template.
Actual behaviour:
At the moment, number of plans by template are displayed in colour-coded horizontal bar charts, which can be difficult to read. Too many options, and some are very similar shades.
Steps to reproduce:
Examine usage for number of plans by template. Select long period of time, e.g. a whole year.
Compare shades for different funder templates and check how easy it is to tell them apart.

This issue arose out of the 2020 Usability Testing exercise.

I have a feeling this has been raised before but I couldn't find an issue.

Need to look into the carts.js library to see if we can specify colors that can be used


Dapr cli goes out of sync with the instances of dapr running.

Currently the info about running dapr isntances is stored by dapr cli in %temp%\dapr-run-data.ldj.
This gets out of sync with actual instances which are running.
Change the cli so that when it reads the info from the file, it checks if the process is actutally running and if the process is not running. remove it from the file and continue.

@amanbha / looks like https://github.com/dapr/cli/pull/65/files already fixed this issue. Do you still see the same problem?
cc/ @yaron2

I haven't seen it recently, it can be closed

Closing with #65


Emotion detection

Amazing library !!
Anyone aware of a nice emotion detection library (happy / sad / smiling) that could integrate nicely with this ?
Thanks

Any plan or suggestion  for  emotion detection?
Thanks?

Maybe  https://github.com/oarriaga/face_classification this ?
I havenot integrated with this lib though


Add coverage badge

Codecov Report

Merging #21 (3c6c3d7) into main (3eb7a07) will decrease coverage by 0.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   92.70%   91.91%   -0.79%
==========================================
  Files           5        5
  Lines         507      507
==========================================
- Hits          470      466       -4
- Misses         28       31       +3
- Partials        9       10       +1

Impacted Files
Coverage Δ

map.go
90.60% <0.00%> (-1.11%)
:arrow_down:

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 3eb7a07...3c6c3d7. Read the comment docs.


Fix dependency updattes

The following updates seem to have problems:

[x] https://github.com/opencast/opencast-admin-interface/pull/443
[x] https://github.com/opencast/opencast-admin-interface/pull/498
[ ] https://github.com/opencast/opencast-admin-interface/pull/499
[x] https://github.com/opencast/opencast-admin-interface/pull/504

Take a look. Fix the problem.

#504 was superseded by #514

#498 was superseded by #512

#499 was superseded by #513

#442 was superseded by #511


Update the notaryproject-org-maintainers with the new maintainers

The notaryproject-org-maintainers GitHub team still has only three maintainers and this is the group that is assigned to manage the organization. As per previous discussions, we would like to have the people listed in the MAINTAINERS file added to that team to allow them to maintain the organization. This was discussed in #3 and the teams structure was discussed in #14.
This issue is only to provide visibility that this change will be made.

@Toddy, how would you track votes on the individuals? As commented here, can we please do individual votes for org maintainers?
If you'd like to do that as individual PRs, that's also good, as long as there are votes on the individuals to become org maintainers.

The above work is completed. We can close.


Organization for refactoring about transport layer

I create this issue to organize the team work.
I plan to begin massive refactoring about "adding a way to add more transport Layer" (#1025).
This will be a lot of changes (with lot of API break) and this will probably take much time.
I feel this will be a good idea to not work on complex feature at the same time to avoid to manage error prone conflicts.
So my idea would be to deliver a 2.0.0-M7 with all ongoing work :

timestamped node.
OSCORE minimal viable feature.
(Let me know if there is more than that ?)

Then go for a kind of feature freeze during the transport layer work.
I think I will do most of the work in separated branches and integrate this in master once all will be in an acceptable state.
At the same time we can continue to add some bug fix to master (and so keep the sandbox clean to get feedback about 2.0.0-M7).
This will also allow to eventually release a 2.0.0-M8 with only small changes/bug fixes.
@Michal-Wadowski, @rikard-sics does it sounds good to you ?

OSCORE minimal viable feature.
(Let me know if there is more than that ?)

@Michal-Wadowski, @rikard-sics does it sounds good to you ?

Yes, I think that sounds like a good plan.

@Michal-Wadowski, @rikard-sics does it sounds good to you ?

Yes, it looks ok for me too :slightly_smiling_face:

Hi all,
I have some concerns about the current plan. I think I should really move forward concerning #1025 and so we need maybe a less ambitious plan.
(Above I talked about 2.0.0-M7 and 2.0.0-M8 but we deliver an unexpected 2.0.0-M7, so now we are talking  about 2.0.0-M8 and 2.0.0-M9)
As I said above, #1025  will be a huge refactoring.  During I work on this, I think we should limit as much as possible to integrate feature in master.
Contributors could still work on their side but they should keep in mind :

that the API will probably change a lot.
I will not integrate big feature in master during this time.

So what the new plan :

I need to finish some work on CI https://github.com/eclipse/leshan/issues/1265 (@Michal-Wadowski 's idea :wink: )
I will integrate current OSCORE branch in master even if there is known issue about "common" use case : #1257
I will finish CI enhancement about formatting and organize import (I will need to do a full format/ sort import of the whole code base)

Then I will consider to release the 2.0.0-M8, then I will be able to work on transport layer (help will be welcome on this big task of course)
While I'm working on step above :point_up: (before the 2.0.0-M8 release) :

@rikard-sics ideally if you have time could you work on #1257, It would be better to have this fixed for the 2.0.0-M8. (but if we don't have it in time, I will release it anyway. I guess this should not be ideal but OK for a new experimental feature)
@rikard-sics, @adamsero, if you want to help more you could take some time to test current OSCORE code base in "common/basic" usage.  (no obligation of course)

Does it sounds good to you ?
Did I miss some important point ?
Do you have some feature you absolutely want before the 2.0.0-M8 release ?

I tried to investigate on #1257 without success :disappointed:  (https://github.com/eclipse/leshan/issues/1257#issuecomment-1178988829)
So I integrated oscore in master (#1277) as planned, meaning :
:heavy_check_mark:  2. is done.
I will now work on 3. (formatter and organize import from https://github.com/eclipse/leshan/issues/1265)

:heavy_check_mark:  3. is done with :

#1281
#1282
#1285

I will be unavailable next days back on Monday.
@rikard-sics if you find a solution for #1257 for Monday this would be great, this way I could release the 2.0.0-M8 and so finally start to work on #1025.
Even if you didn't finish, do not hesitate to share current state of your investigation at #1257. :pray:

@rikard-sics, @adamsero, @JaroslawLegierski.
Please let me know if we need to add some missing stuff for 2.0.0-M8.
If I don't get any news about this, I will release the 2.0.0-M8 on Wednesday, and then I will  enter in a code freeze period during my work on #1025.

@rikard-sics, @adamsero, @JaroslawLegierski.
I prepare the release today and release it publicly tomorrow in the morning.
So you have until tomorrow morning 7.00 pm to eventually raise a No Go. :slightly_smiling_face:

(Just to let you know guys,  I will be unavailable until 22th August)

@adamsero, I started to work on #1025.
Experiment some ideas at #1220 and #1312 : you could have a look at this but this is a crappy POC and maybe better to wait for a cleaner version.
I also propose a new module design at #1295  : feedback about this is welcome :pray:
I'm currently working on a cleaner version for abstraction at server side. When this will be ready feedback will be welcome too.
Once we will have a cleaner version of the abstraction, I see some task that you could eventually work on :

create another transport layer for coap (eventually coaps too) with another java library than californium, I guess this should not be very clean code. I don't think we will release it. This is just a try to be sure the LWM2M endpoint abstraction is good enough. Do you see the idea ?
Maybe we should rewrite some tests to make possible to reuse same test for different transport layer ? (just an idea, I have not clear idea about this)

At https://github.com/eclipse/leshan/issues/1049#issuecomment-923916916, there is idea about supporting NIDD this could also be a very good way to experiment test the LWM2M endpoint abstraction.
Globally the idea is giving feedback about the design and find issue/bug/regression about it.

About "create another transport layer for coap", I created a issue #1338

Experiment some ideas at https://github.com/eclipse/leshan/pull/1220 and https://github.com/eclipse/leshan/pull/1312 : you could have a look at this but this is a crappy POC and maybe better to wait for a cleaner version.
I'm currently working on a cleaner version for abstraction at server side. When this will be ready feedback will be welcome too.

The cleaner version are now available at : #1318,  #1323 , #1336.
Currently, there're missing some polish but unless we find some blocking issue. It should not change too much.
So, missing task about transport layer are :

maybe testing it with another coap library than californium (#1338) ?
maybe implement coap over tcp ? (#1047)
refactor code to follow new design : (#1295)
some polish as explained in :#1318,  #1323 , #1336

I'm not sure in which order I should proceed now :thinking:
I also don't know, if I should integrate #1318,  #1323 , #1336 in master now or if this is too soon.
The issue is that until now, I didn't succeed to get any feedback from community about all of those.
So, I'm not hyper confident about all those changes.
@adamsero or any Orange guys , do you have any opinion about that ?
Let me know if you plan to work on some of this or if you plan to provide feedback ?
Waiting from you, I think I will try to fix #1314.

I have started work on testing coap-java with Leshan. In the first stage of learning coap-java, I registered example-client example-client in Leshan server. In the next step, I would like to replace californium with the coap-java library (probably on the client side first).

@JaroslawLegierski  good news. I hope you based your work on #1323 ?
Do not hesitate to create an issue to discuss about it or just to give some news regularly about this topic.
Do not hesitate to contact the java-coap maintainer (szysas), he says me he is OK to help.

Yes I'm using endpoint_client branch from PR #1323

@JaroslawLegierski , @adamsero, @Warmek,
I would like to propose a plan.
I think we could consider to release a 2.0.0-M10 without transport layer (#1025)  but with  :

Bootstrap Authorizer  #1359
Base64 enhancement #1325
Do you have any other features you would like to add ?

Then after this 2.0.0-M10, I integrate #1318,  #1323 , #1336 in master.
This way we can get feedback from Leshan demo at the beginning of next milestone development phase.
Does it sound good to you ?  (Just an idea)

I think that this is very good idea I would like add one more point:

#1350 (already merged in master)

Today we also identified one problem with Californium congestion control but I haven't analyzed this problem yet and I don't know if it concerns Leshan or Cf ? (I will test it tomorrow or the day after tomorrow)
How do you think it will be possible to release the M10 by mid-December?
Regarding test of #1323 I asked szysas for help but I haven't got an answer from him yet

Then after this 2.0.0-M10, plan to integrate https://github.com/eclipse/leshan/pull/1318, https://github.com/eclipse/leshan/pull/1323 , https://github.com/eclipse/leshan/pull/1336 in master.
This way we can get feedback from Leshan demo at the beginning of next milestone development phase.

@JaroslawLegierski do still you agree with this idea ?
This will impact a lot Leshan code base with several API break and even Redis Store Serialization format will be broken.
We will enter in phase where Leshan will be less stable in term of API but also maybe we will face some regression.
I know this not so encouraging but I guess at some time we have to take the plunge.
Do you know if at Orange someone test to integrate this PR in a product or a tool based on Leshan ?

Sorry for the late reply. In general, the plan is OK for us, however we would like to address following topics (conditions):

No need at our side to use something else than Californium.
Need that Leshan is able (just in case of) to release fixes on M10 before releasing M11 - How do you see work on fixes for the  2.0.0-M10 release (e.g. in case of a serious bug) in a situation where version  2.0.0-M11  will not be mature enough for production use yet?
We will be able to integrate a Master Branch M11 candidate and perform some unit tests within our product.

I have one important question from our French colleagues: When should we test M11 candidate ?

Sorry for the late reply.

No problem. :slightly_smiling_face:

No need at our side to use something else than Californium.

Yep this is still planned to provide transport layer based on Californium for  coap and coaps.
For coap+tcp, there is less clear.

Need that Leshan is able (just in case of) to release fixes on M10 before releasing M11 - How do you see work on fixes for the 2.0.0-M10 release (e.g. in case of a serious bug) in a situation where version 2.0.0-M11 will not be mature enough for production use yet?

I hope we will be able to avoid this.
Either by finding some workaround for M10 to help you to fix your bugs if you don't want to jump to M11 too soon.
Or by succeeding to make M11 stable fast enough.
In all case, if no ways above works, we will find a way to release something with a fix and without transport layer. (I'm not worry about it)

We will be able to integrate a Master Branch M11 candidate and perform some unit tests within our product.
When should we test M11 candidate ?

The most often you can test and the sooner you can give feedback, the better it is. (any kind of feedback : bugs, remarks about API, design, readability, missing features ... ... )
If you want to test now you can just take content of branch endpoint_bootstrap.
If this is OK for you and as I will be unavailable next week, I plan to rather integrate this branch in master when I'm back. So if someone face bug or need support, I will be able to answer quickly.
About discussion with your french colleagues, if wanted they can also participate to conversation here (or any conversation about Leshan) , everybody is welcome :)

late to the party, but I rebased my "obj25", fixed conflict :sweat_smile: , bumped my product to use it, ran my integration test suite, looks all green to me :+1:

@JaroslawLegierski, let me know if this sounds good for you.
@jvermillard same for you and by the way if you can test the endpoint_bootstrap branch, this is maybe a good idea to do it before to integrate it in master ?

I'm back in business. I hope you guys had good holiday.
@JaroslawLegierski following my answers (https://github.com/eclipse/leshan/issues/1222#issuecomment-1361372075), I'm waiting for your green light before to  integrate transport layer abstraction into master.
@jvermillard did you try (or do you plan)  to integrate endpoint_bootstrap branch and launch your integration tests ? (I would like to know if I should wait for it before the integration in master)

@sbernard31 nop, cause I run on top of the obj25 branch, which is based on the master
and at the moment I have little testing for my bootstrap process

cause I run on top of the obj25 branch, which is based on the master
and at the moment I have little testing for my bootstrap process

Just to be sure, there isn't miss-understanding,  the idea is to make endpoint_bootstrap branch the new master soon and endpoint_bootstrap branch contains transport layer abstraction for client, server and bootstrap server.

Your explanation is OK for me. I also sent your comments to my french colleagues (along with the invitation to discuss here :-) ).

@JaroslawLegierski OK, then I wait for their green light :slightly_smiling_face:

I rebased the obj25 support on it and tested it with my lwm2m implementation integration test suite and it works

@JaroslawLegierski OK, then I wait for their green light 🙂

I just got a reply from colleagues - we are OK with your answers. Therefore You have green light to integrate transport layer abstraction into master.

First version of transport abstraction layer is now integrated in master.
See https://github.com/eclipse/leshan/issues/1025#issuecomment-1373824399  for more details.


Dependency fx/System.Net.Http.Formatting could not be resolved

When including the IoT SDK package Microsoft.Azure.Devices which has dependencies on Microsoft.AspNet.WebApi.Client (≥ 5.2.3)
Microsoft.AspNet.WebApi.Core (≥ 5.2.3)
Building from VS2015 and in VSO and using 1.0.0-rc1-final I get the error:
"error NU1001: The dependency fx/System.Net.Http.Formatting could not be resolved."
What is the fx/System.Net.Http package?
Could this be something to do with including WebAPI packages as above in aspnet 5 project? Or another problem...?

I have the same error.

We are again having this issue on a new developer's machine. Any insights from the Azure devices team?

The package appears to be authored incorrectly. It works in csproj because adding references that already exist no-op (it's a fluke). The package has a framework assembly reference on System.Net.Http.Formatting but that assembly is not a framework assembly so it can't be resolved in a DNX project.
Here's the nuspec:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
  <metadata>
    <id>Microsoft.Azure.Devices</id>
    <version>1.0.4</version>
    <title>Microsoft Azure IoT Service SDK</title>
    <requireLicenseAcceptance>true</requireLicenseAcceptance>
    <authors>Microsoft</authors>
    <owners>Microsoft</owners>
    <licenseUrl>https://github.com/Azure/azure-iot-sdks/blob/master/LICENSE</licenseUrl>
    <iconUrl>http://go.microsoft.com/fwlink/?LinkID=288890</iconUrl>
    <description>Service SDK for Azure IoT Devices</description>
    <language>en-US</language>
    <dependencies>
      <dependency id="Microsoft.AspNet.WebApi.Client" version="5.2.3" />
      <dependency id="Microsoft.AspNet.WebApi.Core" version="5.2.3" />
      <dependency id="Microsoft.Azure.Amqp" version="1.0.0" />
    </dependencies>
    <frameworkAssemblies>
      <frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.5.1" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.5.1" />
      <frameworkAssembly assemblyName="System.Net.Http.Formatting" targetFramework=".NETFramework4.5.1" />
      <frameworkAssembly assemblyName="System.Runtime.Serialization" targetFramework=".NETFramework4.5.1" />
      <frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5.1" />
    </frameworkAssemblies>
  </metadata>
</package>

This should be removed
      <frameworkAssembly assemblyName="System.Net.Http.Formatting" targetFramework=".NETFramework4.5.1" />

Contact the owner of the package on NuGet.org and point them at this issue.

Magic, thank you. You're a wizard @davidfowl :)
Sent them a message via NuGet.org and hopefully can test if this resolves the issue shortly.

Resolved with Microsoft.Azure.Devices 1.0.5


hanging

Ubuntu server 18.04, installed chromium-browser package, when running aquatone with -debug option it hangs like this:
aquatone v1.4.0 started at 2018-11-17T15:02:09Z
[agent:url_screenshotter] Located Chrome/Chromium binary at /usr/bin/chromium-browser

Are you running Aquatone on a GUI-less server?

Oh, and can you also show me the command you used to initiate aquatone?


Download - returned value is bugged

the return value expects to find : Downloaded to in stdout.
this does not seem to be output anymore
i.e:
Downloading Data (3 files, 2 folders, 108.48 kB total)
[Done] examples/kiwi.json
[Done] examples/contracts.csv
[Done] examples/blob.txt

Sorry, this is fixed in the new version of dat but we haven't published it yet to npm. Give us a few days


Illuminate\Database\QueryException om php artisan migrate:install

Hello, on open carts site, when I follow your directions and get to Step: php artisan migrate:install
I get the following error.
Any advice on how to fix?

Hi,
it seems the SQL driver is missing.
Probably some files where not uploaded / copied.
Delete everything and do it again from scratch using release 1.2.4
https://github.com/opencorero/opencore/releases/tag/1.2.4