Zend router - child routes

Hi, is there any way how to configure expressive router to use zf2 router's child routes?

Currently, no, though I think @DASPRiD was working on a solution.
The reason is this: zend-router is the only router we've run across that supports such a feature, and adapting other routers to support it was going to be hugely difficult, and complicate adding middleware to a large degree. As such, the RouterInterface targets the most common featureset common across routing implementations.
You can, of course, slipstream in your own routing middleware to allow it, however.

Any progress? I'll use zend-expressive for big project and I'll need child routes for sure...

Hi @vbogoev ,
I have not integrated zend-router, but as zend-router is integrated to expressive, in that case you can first instantiate the router and make / load the necessary changes to make that happen.
But if you are looking at the config/autoload/routes.global.php then probably there is no way I guess.
The same concept can be applied to Aura.Route attaching groups. But it is not the way zend-mvc-router did. Keeping the link in case you want to look into it https://github.com/auraphp/Aura.Router/tree/2.x#attaching-route-groups .

I guess there will be no support for this feature?

There are no plans to implement this officially right now, but we could
look at contributions for it.
On Tue, Oct 25, 2016 at 9:40 AM Alex<EMAIL_ADDRESS>wrote:
I guess there will be no support for this feature?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zendframework/zend-expressive/issues/336#issuecomment-256037368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALOGTlgBevea-3WkTcSagDypcMDIgUQks5q3gbTgaJpZM4IM8vV
.

I knew zend-router supports it but I didn't know FastRoute and Aura.Router supported it in some way as well.
How hard would it be to implement this? I'm not thinking about actual using the child routes and groups of the specific routers since they seem to differ too much. I was thinking about doing it the FastRoute way and transform the child routes to normal single routes while they are being added. So just prefix a child route with its parents path. Could it be really that simple or am I missing something?
$app->addGroup('/blog', function (Application $app) {
    $app->route('/', Action\BlogIndexAction::class, ['GET'], 'blog');
    $app->route('/feed.xml', Action\BlogXmlFeedAction::class, ['GET'], 'feed');
    $app->route('/{id:[0-9a-zA-Z\-]+}', Action\BlogPostAction::class, ['GET'], 'blog.post');
});

Would translate to:
$app->route('/blog', Action\BlogIndexAction::class, ['GET'], 'blog');
$app->route('/blog/feed.xml', Action\BlogXmlFeedAction::class, ['GET'], 'feed');
$app->route('/blog/{id:[0-9a-zA-Z\-]+}', Action\BlogPostAction::class, ['GET'], 'blog.post');

In my case it's not only in naming URLs.
For eg. at Admin panel I want to check the whole group instead of single route.
Of course I can extract route name. In my case would be admin.post, admin.category, admin.comments ... And than to have my custom convention to explode route name by dot and than to check if user have permission for "admin" group.
so, it would be much clearer if there is a grouping routes.

@tasmaniski Checking the group is not possible. At least not with FastRoute. If you add a group, FastRoute internally translates all child routes into single routes. So internally the complete grouping does not do what you want it to do.
Checking the route name or add route options ('_security' => 'admin') might work for you.

@xtreamwayz How can I use route groups myself? I'd have to add them to the router myself. Completly ignore the application and route collector.
This way I cant change my router (e. g. from FastRoute to ZendRouter) any more.
Are there any more drawbacks to this?


consistency issues with the handling of stop requests in split and ensure_started

@lewissbaker writes:

At the moment, with ensure_started() if a stop request is issued before start() is called, then if the  operation has not yet completed we basically just detach, request-cancellation of the child operation and then complete synchronously with set_stopped().
However, if we send a stop-request just after start() returns, then the stop-request is sent to the child operation and we wait for it to complete before signalling completion.
Similarly for split(), if the first consumer to connect/start the operation happens to have a stop-request already issued then it immediately completes with set_stopped and does not start the operation. However, a second consumer of split() that does not yet have a stop-request on entry to start() will then start the underlying operation and, if a stop-request subsequently comes, will stop the child operation for all consumers. In this case, some consumers may see different results from other consumers.
This seems inconsistent. I think perhaps that if you connect/start the split/ensure_started sender then it should always wait for the underlying operation to complete. If the first consumer of split() to start the operation has an outstanding stop-request then perhaps it should mark the underlying operation as stopped for all subsequent consumers? Or alternatively, just start the underlying operation and let it handle completing synchronously and then notifying all registered consumers...

Closing as duplicate.
This issue should be addressed with #263.


Change Go Doc URL from godoc.org to pkg.go.dev

This is a Feature Request
https://godoc.org/ is an old endpoint and it automatically redirects to https://pkg.go.dev/. Before it will be removed at some point, it makes sense to change the URL.
What would you like to be added
Modify Go Doc reference URL
Why is this needed
The current URL is deprecated.
Comments

/triage accepted

I have opened a PR #31340

/assign @inductor


TypeError sometimes when signing in

https://github.com/rootsdev/familysearch-javascript-sdk/blob/3665429b066384ae2e21917f1c691d2dae34e719/src/plumbing.js#L264
Should be this.settings.accessToken. The function getAccessToken() does not exist on the settings object.

The bug occurs when autoSignIn is enabled and a request is made to any endpoint other than oauth or discovery.

That's a fallback, how can we get access to that object?


Up should not be killing & rebuilding tiller

Up should be idempotent.  Update will have to kill and rebuild it, however.
See kill-services.yaml

first step investigate:

if destroying/reinstalling tiller causes loss of access to installed charts, p1, otherwise p2

investigation complete:  removing tiller doesn't effect the installed charts and re-installing helm allows access to the previously installed charts.
downgrading to p2


Add script to collect system information

Proposed changes
This PR adds script to collect system information.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Codecov Report

Merging #101 (ecf6111) into main (86e97c2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #101   +/-   ##
=======================================
  Coverage   99.91%   99.91%
=======================================
  Files           2        2
  Lines        1204     1204
=======================================
  Hits         1203     1203
  Misses          1        1

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 86e97c2...ecf6111. Read the comment docs.


demo bug, please fix!

RuntimeError: The NVIDIA driver on your system is too old (found version 11080). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
Traceback:
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.dict)
File "/home/user/app/Whitebox_style_transfer.py", line 257, in
content_img, _vp = load_params(content_id, style_id)#, effect)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/streamlit/caching/cache_utils.py", line 145, in wrapper
return get_or_create_cached_value()
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/streamlit/caching/cache_utils.py", line 137, in get_or_create_cached_value
return_value = func(*args, **kwargs)
File "/home/user/app/Whitebox_style_transfer.py", line 201, in load_params
content_cuda = np_to_torch(img_org).cuda()
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/torch/cuda/init.py", line 298, in _lazy_init
torch._C._cuda_init()

Hi, if this is referring to the huggingface demo - that is working again


version number as tag

could the version number be also added as a tag (https://github.com/open-webui/open-webui/pkgs/container/open-webui), that way we do not have to look up the git-xxxxx on the repo commit to figure out which commit it is from (https://github.com/open-webui/open-webui/releases/)
or is there a way to revert back using the version number?
eg, if suppose v0.1.117 was an older version and it's commit id was 46774aa then
instead of
docker run -e PORT=8081 -d -p 3000:8081 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:git-46774aa
use the version number
docker run -e PORT=8081 -d -p 3000:8081 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:v0.1.117

Although the goal was to implement that release process, our current workflow actions are not working as intended. The reason for this could be that addressing this issue has not been deemed urgent. PRs are difficult to test as well as you need to make a release to see the result. Fixes have been attempted by many people already. It's certainly doable but it's just not seen as high priority for the amount of disruption it causes.

thanks for clarifying. Will close this ticket.


Incorrect Tasks showing up

Issue tracker is ONLY used for reporting bugs. New feature ideas should be discussed in the ideas section. Please use the Q&A section for supporting issues. Please use the search function.
If you encountered the issue after you installed, updated, or reloaded the tasks plugin, please try restarting obsidian before reporting the bug.
If you want to report a bug, please follow the guide lines below to help me resolve it.
Expected Behavior

not done
due after 2022-06-06 and due before 2022-06-12

Due in the next week. I expect to see tasks due between tomorrow and a week's time.
Current Behavior

I see tasks due beyond next week, including some for several months time.
Steps to Reproduce

using the query above
Context (Environment)

Obsidian version: 0.14.6
Tasks version: 1.6.0
[ x] I have tried it with all other plugins disabled and the error still occurs

Possible Solution

Sorry I don't have a clue

Resolved, I have removed the and, and placed the due before on a new line. I suspect there may be other newbies who have a similar problem. So hopefully this may help someone else who made the same mistake in the future.

Hi @creativefibro - thank you very much for sharing your learning - much appreciated!


[alert_handler] Interface naming updates in preparation for top-level integration

Carried over from #663.
This PR contains a set of interface modifications in the alert handler in order to prepare its upcoming integration into the top-level design. In particular, the differential alert and escalation signals have been collated using packed structs, and the interrupt outputs have been renamed such that they are compatible with the current naming scheme of topgen. The documentation has also been updated accordingly.
The associated FPV testbenches and the DV testbench have been tested, and they work after this change.
Note also that this change does not touch the top-level yet.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

Yeah let's see how others feel. If I read them as tx / rx channel, it feels
clearer, to me at least
On Wed, Nov 6, 2019, 18:46 Michael Schaffner<EMAIL_ADDRESS>wrote:

@msfschaffner commented on this pull request.
In hw/ip/alert_handler/doc/index.md
https://github.com/lowRISC/opentitan/pull/906#discussion_r343449549:

@@ -153,15 +153,14 @@ instances is parametric and hence alert and ping diff pairs are grouped together
in packed arrays. The diff pair signals are indexed with the corresponding alert
instance <number>.

-Signal
Direction
Type
Description

-crashdump_o
output
packed struct
This is a collection of alert handler state registers that can be latched by hardware debugging circuitry, if needed.

-entropy_i
input
logic
Entropy input bit for LFSRtimer (can be connected to TRNG, otherwise tie off to 1'b0 if unused).

-alert_pi/ni[<number>]
input
packed logic
Incoming alert or ping response(s), differentially encoded. Index range: [NAlerts-1:0]

-ack_po/no[<number>]
output
packed logic
Outgoing alert acknowledgment, differentially encoded. Index range: [NAlerts-1:0]

-ping_po/no[<number>]
output
packed logic
Ping request to alert sender, differentially encoded. Index range: [NAlerts-1:0]

-esc_po/no[<sev>]
output
packed logic
Escalation or ping request, differentially encoded. Index corresponds to severity level, and ranges from 0 to 3.

-resp_pi/ni[<sev>]
input
packed logic
Escalation ping response, differentially encoded. Index corresponds to severity level, and ranges from 0 to 3.

+Signal
Direction
Type
Description

+------------------------
------------------
----------------
---------------

+crashdump_o
output
packed struct
This is a collection of alert handler state registers that can be latched by hardware debugging circuitry, if needed.

+entropy_i
input
logic
Entropy input bit for LFSRtimer (can be connected to TRNG, otherwise tie off to 1'b0 if unused).

+alert_tx_i[<number>]
input
packed alert_tx_t array
Incoming alert or ping response(s), differentially encoded. Index range: [NAlerts-1:0]

I was looking for short names that we could use here... another option
would be req and ack, but they are typically used for single signals...
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/906?email_source=notifications&email_token=AAH2RSQXCLPC2KCODH6UR2DQSN6OXA5CNFSM4JKAKYCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCKUUFHA#discussion_r343449549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSSA6RR47NHU5TCHCRDQSN6OXANCNFSM4JKAKYCA
.

Rebased to fix the merge conflict.
@cindychip I ran prim_alert_rxtx_fpv, prim_alert_rxtx_async_fpv and prim_esc_rxtx_fpv and they all pass.

thanks @msfschaffner
Other than the naming thing i pointed out, this looks good to me. Unfortunately, I don't have any better naming suggestions for you, and it seems like others are fine with it too, so I say we go with it...and if confusion does arise for any reason, we deal with it separately.

Ok, thanks for reviewing! Let's pull it in then.


netmesh process crash

There is a race condition due to the fact that crds are handled by two plugins instead of one. When crd plugin get AfterInit before the Handler plugin, then ObjectStore methods might not be ready and when it calls Handler's methods nil pointer exception happens.
time="2018-07-02 00:02:08.41343" level=info msg="LogCrdHandler.ObjectCreated: %!(EXTRA *reflect.rtype=*v1.NetworkService, *v1.NetworkService=&{{NetworkService networkservicemesh.io/v1} {gold-network  default /apis/networkservicemesh.io/v1/namespaces/default/networkservices/gold-network f5be5144-7d4d-11e8-98e0-5254004c4249 5601202 1 2018-07-01 16:44:02 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {name:\"gold-network\" namespace:\"default\" labels:<selector:<key:\"networkmesh.io/app\" value:\"gold-network\" > >  [metadata:<name:\"gold-ethernet\" > payload:\"ipv4\" ] {} [] 0} { }})" loc="handler/plugin_impl_handler.go(105)" logger=netmeshhandler
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x100a01b]
goroutine 94 [running]:
github.com/ligato/networkservicemesh/plugins/handler.(*Plugin).ObjectCreated(0xc4203613c0, 0x12c24a0, 0xc42057e000)
        /go/src/github.com/ligato/networkservicemesh/plugins/handler/plugin_impl_handler.go:106 +0x10b
github.com/ligato/networkservicemesh/plugins/crd.workforever.func1(0x141fae0, 0xc4203922e0, 0x11e7160, 0xc420596060, 0xc42022c220, 0x14, 0xc4203612a8, 0x141f1c0, 0xc4200ea2d0, 0xc42022c220, ...)
        /go/src/github.com/ligato/networkservicemesh/plugins/crd/crd_queue.go:124 +0x996
github.com/ligato/networkservicemesh/plugins/crd.workforever(0xc4203612a8, 0x141fae0, 0xc4203922e0, 0x141f1c0, 0xc4200ea2d0, 0xc420258840)
        /go/src/github.com/ligato/networkservicemesh/plugins/crd/crd_queue.go:134 +0xc5
created by github.com/ligato/networkservicemesh/plugins/crd.(*Plugin).AfterInit
        /go/src/github.com/ligato/networkservicemesh/plugins/crd/plugin_impl_crd.go:233 +0xb40

I do not see why would 2 plugins be required to deal with CRDs, single CRD plugin should be able to deal with all CRD related activities.

The original intent was to have plugins in the server but it appears we don’t need that so the handler can go away. I’ll propose a patch to remove it today once I merge #136.

@mestery imho we should not remove handler plugin, it is an excellent example of how to build plugins. There  should  be a reference in the documentation, for folks developing new plugins.


matrix power operator

Extend the power operator (^) to signature (matrix,int):matrix, with definitions

A^0 = I
A^n = A^(n-1) * A  for n > 0

Throw an exception if A is not square or if n is not positive.
This should be easy to build.  Extra credit if there's something clever that can be done for the gradients of each A^n[i,j] with respect to each A[i',j'].  Just storing the gradients is going to be order K^4 for a K by K matrix.

This issue was moved to stan-dev/math#47


Home Assistant/MQTT not receiving any data (first time setup)

Default config, get this when I try to manually run after didn't work with the stock procedure. The last error repeats over and over.
Successfully loaded addon: cpu
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Error with module: media
Traceback (most recent call last):
  File "/opt/lnxlink/modules/__init__.py", line 15, in <module>
    addons = getattr(import_module(f"{__name__}.{module_name}"), 'Addon')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/lnxlink/modules/media.py", line 4, in <module>
    import alsaaudio
ModuleNotFoundError: No module named 'alsaaudio'
Successfully loaded addon: memory
Successfully loaded addon: network
Successfully loaded addon: notify
Successfully loaded addon: restart
Successfully loaded addon: send_keys
Successfully loaded addon: shutdown
LNXLink started
Connected to MQTT with code 0
Exception in thread Thread-1 (_thread_main):
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
Can't load addon: media
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
Traceback (most recent call last):
  File "/opt/lnxlink/run.py", line 44, in monitor_run
    addon = self.Addons[service]
KeyError: 'media'
    self.loop_forever(retry_first_connection=True)
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 1164, in _loop
    rc = self.loop_read()
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 1556, in loop_read
    rc = self._packet_read()
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
    rc = self._packet_handle()
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 3039, in _packet_handle
    return self._handle_connack()
  File "/usr/lib/python3.10/site-packages/paho/mqtt/client.py", line 3138, in _handle_connack
    on_connect(
  File "/opt/lnxlink/run.py", line 95, in on_connect
    self.setup_discovery()
  File "/opt/lnxlink/run.py", line 147, in setup_discovery
    addon = self.Addons[service]
KeyError: 'media'
Can't load addon: media
Traceback (most recent call last):
  File "/opt/lnxlink/run.py", line 44, in monitor_run
    addon = self.Addons[service]
KeyError: 'media'
Can't load addon: media
Traceback (most recent call last):
  File "/opt/lnxlink/run.py", line 44, in monitor_run
    addon = self.Addons[service]

Seems that you are missing a python package.
You can install it like this:
sudo apt python3-alsaaudio
if it doesn't work, please send me your OS version.

No matter what I use, it can't find the required packages to install that. EndeavourOS.

You might be able to install the missing package like so:
sudo pip3 install pyalsaaudio

If it doesn't work, you will have to delete the media.py file and it's config from control and monitoring.

That worked, thanks. After doing that though and restarting service, I have the stats of cpu/memory and network download/upload in MQTT, but I don't see anything in HA. I don't see anything in the readme that made it clear to me the next step, but nothing shows up in HA.

I am happy that it worked!
For showing up on Home Assistant you need to make sure you have correctly configured the MQTT section from config.yaml and the discovery->enabled is true.
You should be able to see the new device on Home Assistant under the mqtt integration.

Okay, so after restarting some things it started working all of a sudden.

Is there an example of how to add the features that need additional setup, like notify? I see the thing at the bottom of the readme about adding python file in modules folder, but I couldn't make enough sense of that.

In order to send a notification from Home Assistant, you can do it like so:
  - service: mqtt.publish
    data:
      topic: {prefix}/{clientId}/commands/notify
      payload: >-
        { "title": "My notification", "message": "my message" }

Now that you mention it, some info on README from the send-keys are not shown correctly, but you can read it from here:
https://raw.githubusercontent.com/bkbilly/lnxlink/master/README.md
As for the last section called Expanding is for programmers who want to add something that I don't currently support.

Thanks, figured that out, but I needed to be able to add an image to make it useful. I was trying to duplicate what I can do on Windows by having a notification sent from Frigate NVR of when it detects a person for example, it would show that image like I get on my phone as well.

Unfortunately linux notifications don't allow an image to be shown.

After some research I think that I found a way to show an image, but it is very small.

Thanks. What is very small?

I've just updated the notify service to show an icon from a URL or from a path from your PC.
It works like this:
  - service: mqtt.publish
    data:
      topic: {prefix}/{clientId}/commands/notify
      payload: >-
        { "title": "My notification", "message": "my message" , "iconUrl": "http://myurl.com/image.png"}

Thanks. Better than no image. So there are no notifications whatsoever besides small icon that can be shown in Linux? I didn't really find anything either, but it seems like such an odd restriction from such an open and powerful OS.


topbar scss colors

via bower ( 6.1.1 ) , and via node cli, also via zip download of develop branch,
editing _settings.scss like:
$topbar-background: $black;
$topbar-link-color: $white;

app.scss
@import 'settings';
@import 'foundation';
@include foundation-everything($flex: true);

and compiles fine using node cli, no errors
the $topbar-background does not cascade down menus within the top bar
the text (title) in the topbar is still black
the $topbar-link-color does apply, but the down arrows are still default $primary-color

Here's the CSS that applies the background color. It does it to the top bar itself, and every <ul> inside.
.top-bar,
  .top-bar ul {
    background-color: #e6e6e6; }

Try inspecting the dropdown and see if another style is overriding this rule.

It's overridden by the menu classes, like
ul.menu
Don't remember the exact class, but it was the menu stuff

Menu scss stuff came out in the css before the topbar scss as its ordered in source files,  but the menu stuff is just more specific

Cut back the specificity of a menu selector to fix the issue: 0ce09db0424dae44868ae5e0b5fc2218bcfd51e2


Gh 2366

Exit early from Model.adapt if there are no registered adaptors. This provides small performance boost in tight loops when setting modifyArrays to false.

@fskreuz I've no idea what the legacy code is or how rewrite it.

@sabob the hacky code referred to a few lines down is that the ArrayWrapper holds its own special blessed reference to the Ractive model that holds the value it is wrapping. I think that change is out of the scope of this PR. One of the longtime TODOs is to move the provided wrappers (array and magic) to their own projects and refactor Ractive's APIs such that they can still continue to work without special treatment.


Make completions commands more friendly to new users.

A few problems observed:

INPUTRC could be set in bashrc according to TERM=dumb and vsh_shell_start won't see it.
Does not automatically complete current word when only one possible-completion (not 100% sure if possible -- need to wait until text is back from subprocess before starting completion and have no real trigger on that happening).
<C-q> mapping is often captured by the terminal rather than getting sent to vim anyway.
People expect <TAB> -- I don't want that because I like to indent larger blocks with tab (e.g. python functions in REPL, or larger GDB  or shell commands), but that should probably be the default.

I'm deciding to not implement most of this due to the trade-offs involved.
None of these decisions are 100% clear.

Attempting to pick up INPUTRC set in the users bashrc
The obvious way to do this is to directly source the users bashrc and /etc/bash.bashrc from vsh_shell_start.

These files are supposed to only run in interactive shells, it feels a little troublesome to start sourcing it directly.
When looking into this I found that I happen to have an early-out in both those files avoiding any behaviour change if not running interactively.
I'd guess this is a standard practice -- it's at least in the OS provided /etc/bash.bashrc file for me.

The next likely approach seems to be to make the vsh_shell_start script run as if it were interactive.
I.e. use #!/bin/bash -i as the shebang.
This seems to work, but if there is any text printed out to the user on startup then we would have introduced the possibility of a python stack trace being printed out on the command line.
To see this, with the above shebang in vsh_shell_start:

open some VSH file in one neovim instance (nvim test.vsh)
in another terminal, start another neovim instance on the same file (nvim test.vsh)
When queried whether to actually open the file by neovim, press Q to quit.
Should see a python stack trace on the terminal output.

This seems to do with the behaviour of ftplugin running twice on a file at startup that neovim has.
Essentially we end up with some output coming from the started process but with no-where to put it.
There are other observables, like any output that gets printed at bash startup being printed twice (or three times if this is the file opened on the command line) instead of just once.
Overall I think these other changes seem to be less beneficial than accounting for the use case of a user changing INPUTRC in their .bashrc.

What I think would be worth it is to allow the user to manually override the detection mechanism in case it's wrong, and have something in their vimrc which says "just use these settings".

Automatic completion of word on command line.
As yet I don't think this is possible, but what does seem possible is to convert the mapping of <TAB> from "get possible-completions to underlying shell" to "<C-n>, and convert it back when a completion has been chosen.
That would make <TAB> first get possible completions into the buffer, then start to cycle between them, then when one has been chosen the next <TAB> will send the binding for readline's possible-completions again.

Honestly I just thought this would be too much effort for the benefit.
If anyone else comments on this (the OP is just me from another account) then I'll rethink this.
If anyone else wants to implement that  (with some sort of "opt-out" mechanism in place) I'd be interested.

Using <TAB> instead of <C-q> seems a good idea -- will do.


Update programm ess2022

This PR contains an update of basic details and publishes the program of ESS2022.
Tested!
To be merged after the next ViFE-Weekly.

Still waiting for the logos to integrate into the program.


CREATE_TYPEDEF not working

When I add CREATE_TYPEDEF to the makefile, the compile fails
The Rules.mk file has the following:
# SYSOPT.FILE -- CRTPF
SYSOPT.FILE: private TEXT = System options
SYSOPT.FILE: private CREATE_TYPEDEF = YES
SYSOPT.FILE: SYSOPT.PF FLDREF.FILE

I get the following error message:
/QOpenSys/pkgs/lib/bob/src/mk/Makefile:67: *** missing separator.  Stop.
Objects:             0 failed 0 succeed 0 total
Build Completed!

@irfanshar  Can you look to see if you can reproduce this?


Export-StartLayout outputs JSON (Windows 11)

Example 1 should be Export-StartLayout -Path "C:\Layouts\Marketing.json". Regardless of how you specify Path, the output is always JSON.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3b2acb98-04c8-242f-8ee8-3c5150160eb5
Version Independent ID: c1208227-6428-bee1-e2f3-0cda1f35dc1c
Content: Export-StartLayout (StartLayout)
Content Source: docset/winserver2022-ps/startlayout/Export-StartLayout.md
Product: w10
Technology: windows
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Sometimes achievements don't show up as just earned in victory modal

When completing a level for the FIRST time, the gems and XP are not being reflected properly where indicated in the attached .jpg. The gems ARE being collected and I can only assume the XP points are being allocated as well. When I go to the main screen (https://codecombat.com/play), I can see that the number of gems listed in the lower left corner has gone up the correct amount. It's just immediately above the "continue" button where it does not register/indicate anything but zero. I would expect this if it was a re-submit of a previously completed level, but that is not the case - this happens upon the first completion/submit.
Last night I saw this happening on my daughter's account as well so I'm assuming that it's a bug. We're both using Chrome browser.

Update:
It just did it again. I just submitted Clash of Clones for the first time and this is what I see.....

I don't care about the gems so much (I have plenty and don't really use them at the moment) but I'd really like to be sure that my XP are going up and there doesn't seem to be any way to check this.

Thanks for the detailed report! Couple questions:

Is this happening every time or from time to time? If from time to time,
Do the icons animate when the xp and gems fail to increase? Normally the icons animate.

I'm thinking either the animation is breaking somehow, or (more likely) the game thinks you earned the achievements previously and so is skipping the animation. The XP and Gems and items are being earned either way. I also checked your account and already earned the achievement for Clash of Clones about five hours ago... so in line with when you submitted this issue.

It appears to be happening a lot.  Not sure if every single time but I’m sure it’s happening a lot.  When my daughter submitted a level last night it happened again and she asked why she didn’t get any gems.  That’s when I decided to inquire about it.  There is no animation.  What you see in the screen shots I posted is all there is.
Thanks.
From: Scott Erickson<EMAIL_ADDRESS>Sent: Wednesday, December 07, 2016 12:38 PM
To: codecombat/codecombat
Cc: Don Stacy; Author
Subject: Re: [codecombat/codecombat] Gem and XP - Zero? (#4083)
Thanks for the detailed report! Couple questions:

Is this happening every time or from time to time? If from time to time,
Do the icons animate when the xp and gems fail to increase? Normally the icons animate.

I'm thinking either the animation is breaking somehow, or (more likely) the game thinks you earned the achievements previously and so is skipping the animation. The XP and Gems and items are being earned either way. I also checked your account and already earned the achievement for Clash of Clones about five hours ago... so in line with when you submitted this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/codecombat/codecombat/issues/4083#issuecomment-265515927, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASsKjkZ8mL8XdeW5Fuhnv3FO2Hc8e3cYks5rFu7vgaJpZM4LGmC7.
Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged and exempt from disclosure under copyright law or subject to U.S. export laws. Dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and destroy all copies of this communication. Thank you.

@MunkeyShynes looks like this this issue has resolved?

Yes, I closed it.  Apparently, the simulations were turned off on Friday to lighten the load on the server for the Hour Of Code.  I'm all for that and have no problem with it - I'm all for the Hour of Code thing.  I just would have liked someone to say something to inform me that it was the reason.  I wasted a lot of time making sure that there was no issue on my end.  :/

just realized that I closed the wrong issue.  Sorry about that.  I'll reopen it if I see the no animations again.  The last few levels that I finished, the animations worked fine.


Modified autohandler and added interauto query

Made some comments in-line in the source - overall everything looks good and ok to merge. Will use this as a base for future dev.
In the future, we will want to handle errors better / more consistently. I see you are working with err.Error() - I'll show some canonical golang ways to handle errors in a future pr.


Update request: pydantic 2.8.2 → 2.9.2

Package name: pydantic
Latest released version: 2.9.2

Current version on the unstable channel: 2.8.2
Current version on the stable/release channel: 2.6.3

[x] Checked the nixpkgs pull requests

Notify maintainers

@wd15

Note for maintainers: Please tag this issue in your PR.

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

part of https://github.com/NixOS/nixpkgs/pull/345326

Thanks. I'm not familiar with nixpkgs updates but I'm happy to close this issue and follow that PR if that simplifies things.

you can keep it open, until it reaches master, otherwise maybe some one else will create similar issue


feat(core): add broadcast functionality to dialogues

Also the following:

add optional session id to MsgStatus
fix broadcast method due to changed API
refactor error messages in send_exchange_envelope method

It is now possible to use a protocol digest for the destination argument in Dialogue.start_dialogue(...) to start a dialogue with multiple agents at the same time.

Do we need an example for this?


Expectation errors should be based on median run values

When performing multiple runs on a page with expectation set, the entire testing process will fail if any one of the runs exceeds any expectation value.
If the purpose of doing multiple runs is to gather several data points for performance metrics in order to rule out outliers and unrepresentative numbers, I think it makes sense that the pass/fail should be based on the median numbers for the runs (which are displayed at the end anyways).
What do you guys think? I'm happy to make a PR if we're okay with this.

should be fixed via #178

Hi, @brophdawg11. Hope really soon, but need some polishing. Working on that...

closing since #178 merged


scan fails on scheme with quote in name (')

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
I have created a test lane in my fastfile, pointing to my scheme whose name contains a single quote '.  Fastlane generates a command which is piped to tee, which fails to escape the quote.
Output
fastlane test_iPhone
[17:56:05]: Seems like launching fastlane takes a while - please run
[17:56:05]:
[17:56:05]: $ [sudo] gem cleanup
[17:56:05]:
[17:56:05]: to uninstall outdated gems and make fastlane launch faster
[17:56:05]: Alternatively it's recommended to start using a Gemfile to lock your dependencies
[17:56:05]: To get started with a Gemfile, run
[17:56:05]:
[17:56:05]: $ bundle init
[17:56:05]: $ echo 'gem "fastlane"' >> Gemfile
[17:56:05]: $ bundle install
[17:56:05]:
[17:56:05]: After creating the Gemfile and Gemfile.lock, commit those files into version control
[17:56:05]: For more information, check out https://guides.cocoapods.org/using/a-gemfile.html
[17:56:13]: -------------------------------------------------
[17:56:13]: --- Step: Verifying required fastlane version ---
[17:56:13]: -------------------------------------------------
[17:56:13]: fastlane version valid
[17:56:13]: ------------------------------
[17:56:13]: --- Step: default_platform ---
[17:56:13]: ------------------------------
[17:56:13]: Driving the lane 'ios test_iPhone' 🚀
[17:56:14]: -----------------------
[17:56:14]: --- Step: cocoapods ---
[17:56:14]: -----------------------
[17:56:14]: $ pod install
[17:56:18]: ▸ Analyzing dependencies
[17:56:18]: ▸ Downloading dependencies
[17:56:18]: ▸ Using FBSnapshotTestCase (2.1.2)
[17:56:18]: ▸ Generating Pods project
[17:56:22]: ▸ Integrating client projects
[17:56:22]: ▸ Sending stats
[17:56:22]: ▸ Pod installation complete! There are 1 dependencies from the Podfile and 1 total pods installed.
[17:56:22]: ▸ [!] The `dhoskins-iPad EN [Debug]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `../../Pods/Target Support Files/Pods-dhoskins-iPad EN/Pods-dhoskins-iPad EN.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[17:56:22]: ▸ [!] The `dhoskins-iPad EN [Release]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `../../Pods/Target Support Files/Pods-dhoskins-iPad EN/Pods-dhoskins-iPad EN.release.xcconfig'. This can lead to problems with the CocoaPods installation
[17:56:22]: ▸ - Use the `$(inherited)` flag, or
[17:56:22]: ▸ - Remove the build settings from the target.
[17:56:22]: ▸ - Use the `$(inherited)` flag, or
[17:56:22]: ▸ - Remove the build settings from the target.
[17:56:22]: ------------------
[17:56:22]: --- Step: scan ---
[17:56:22]: ------------------
[17:56:22]: $ xcodebuild -list -workspace ./dhoskins.xcworkspace
[17:56:24]: $ xcodebuild clean -showBuildSettings -workspace ./dhoskins.xcworkspace -scheme dhoskins\'s\ iPhone\ EN
[17:56:28]: $ xcodebuild -list -workspace ./dhoskins.xcworkspace
[17:56:29]: $ xcodebuild clean -showBuildSettings -workspace ./dhoskins.xcworkspace -scheme dhoskins\'s\ iPhone\ EN

+-----------------------+--------------------------------------------------------------------------+
|                                     Summary for scan 0.12.1                                      |
+-----------------------+--------------------------------------------------------------------------+
| scheme                | dhoskins's iPhone EN                                                     |
| devices               | ["iPhone 6s"]                                                            |
| workspace             | ./dhoskins.xcworkspace                                                   |
| derived_data_path     | /Users/douglashoskins/Library/Developer/Xcode/DerivedData/dhoskins-fa... |
| clean                 | false                                                                    |
| code_coverage         | false                                                                    |
| address_sanitizer     | false                                                                    |
| skip_build            | false                                                                    |
| output_directory      | ./fastlane/test_output                                                   |
| output_types          | html,junit                                                               |
| buildlog_path         | ~/Library/Logs/scan                                                      |
| open_report           | false                                                                    |
| skip_slack            | false                                                                    |
| slack_only_on_failure | false                                                                    |
| use_clang_report_name | false                                                                    |
| fail_build            | true                                                                     |
+-----------------------+--------------------------------------------------------------------------+

[17:56:31]: $ set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace ./dhoskins.xcworkspace -scheme dhoskins\'s\ iPhone\ EN -destination 'platform=iOS Simulator,id=C71531A7-0F6C-41B1-B40C-63F085667F08' -derivedDataPath '/Users/douglashoskins/Library/Developer/Xcode/DerivedData/dhoskins-faqmqscuenbpeydajihigdvpwxtr' build test | tee '/Users/douglashoskins/Library/Logs/scan/App-dhoskins's iPhone EN.log' | xcpretty
[17:56:31]: ▸ Loading...
[17:56:31]: ▸ sh: -c: line 0: unexpected EOF while looking for matching `''
[17:56:31]: ▸ sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
[17:56:31]: Exit status: 2
[17:56:31]: Variable Dump:
[17:56:31]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios test_iPhone", :SCAN_DERIVED_DATA_PATH=>"/Users/douglashoskins/Library/Developer/Xcode/DerivedData/dhoskins-faqmqscuenbpeydajihigdvpwxtr", :SCAN_GENERATED_PLIST_FILES=>[], :SCAN_GENERATED_PLIST_FILE=>nil}
[17:56:31]: Error building/testing the application - see the log above

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cocoapods                           | 8           |
| 4    | scan                                | 9           |
+------+-------------------------------------+-------------+

[17:56:31]: fastlane finished with errors

[!] Error building/testing the application - see the log above

Configuration Files
Fastfile:
fastlane_version "1.103.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Runs all the tests"
  lane :test_iPhone do
    scan(
      scheme: "dhoskins's iPhone EN",
      devices: "iPhone 6s"
    )
  end
end

Environment
fastlane version (run fastlane -v):1.103.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

@dhoskins Thanks for reporting this! Any chance you are interested in submitting a PR to correct this behavior? We'd love to see something 👍

Will give it a go, thanks for the encouragement.

@dhoskins Awesome! That'd be really great. Hope you are having nice week. 👍 👍


Make Item names more meaningful

Change the labels to reflect what the actually are...

@Stephen-Gates I love the font in your screenshot :)

@pwalsh I'm practising my calligraphy. I'll keep practising ;-)

We'll do this for sure.

Closing in favour of https://github.com/frictionlessdata/datapackage-ui/issues/227


[FEATURE REQUEST]: Align Cumulus Github Projects With FY23 Objectives

Feature Request Type
This request would support characterizing and organizing Github Issues by FY23 objectives and funding amounts in the scope of work.#178
FYI, I closed all of the existing projects in this repository, so it should be a clean slate.
cc @willbreitkreutz @FHanbali

Working this out now.

@willbreitkreutz, just discovered from our stand-up call the Kanban / tables here:  https://github.com/orgs/USACE/projects/9/views/4 .  👍 Let's close this issue.


Upgrade jackson deps from 2.9.4 to 2.9.7

to fix this remote code execution vulnerability:
https://nvd.nist.gov/vuln/detail/CVE-2018-7489

cc @spotify/docker-admins


Deal with cookie expiration

Add a method to check if cookies have expired

Cleaning up some old issues I own


Add MacPorts Installation Guide

Closes https://github.com/Ciphey/Ciphey/issues/583
Naturally, since the MacPorts image isn't in the master branch of Ciphey yet, the link for the image will not work. However, you can see what it would look like here.

Since this is IMO the best workaround for macOS (no slowdown compared to Docker), it might be useful to also add this to the Docs. I can't edit it, so maybe something like the following? (based on Docker instructions)

MacPorts
Click here for how to install MacPorts.
sudo port install ciphey

Our MacPorts port is maintained by @harens.

It might also be useful to add MacPorts to the I can't install Ciphey on Mac OS section since this is also a viable workaround. Thanks.

How's this in the wiki? :D
https://github.com/Ciphey/Ciphey/wiki/Common-Issues-&-Their-Solutions#i-cant-install-ciphey-on-mac-os

It looks great 👍 Thanks @bee-san.

Hey we're changing from MIT to GPLv3 because some of our projects are licensed with that, do you approve? If you do not approve we will be forced to delete your code and rewrite it 😢
By approving of this change, you are agreeing to re-license the code you wrote under GPLv3.

Not that I wrote any code...but I'm more than happy with the transition :)


Updating code doesn't update share links

How to reproduce:

Write some code
Create share links
Update code
Get/Create share links

Current behavior:
The second time i get the links to share my code, I get the original links back and the code available at those links is same as before.
Expected behavior:
The second time I get links to share the code, I get an updated link or the code available at the original links is update. Favor the former.

I cannot reproduce

i just realised that the issue is localized to when you're working on an existing playgorund link.
Eg: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=5fa48975469cbd5b191deca67b63fd50
So basically when trying to make changes to what someone shared with me or if I have from the past and want to modify the contents.

The share links are also not updated when changing the version.


helm rbac config's are redundant

we need to make this more clear in the labs

Added a note to skip to step 2 installing Jenkins if helm is already installed


Annotation to indexing policy doesn't roundtrip

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
A clear and concise description of what the bug is.
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2252/files
Due to the change the annotation doesn't roundtrip well. If you read ContainerProperties of container (whose annotation is null) and use to replace another container's property -- the backend call fails.
A fix could be to not serialize the annotation if it's null.
To Reproduce
Steps to reproduce the behavior. If you can include code snippets or links to repositories containing a repro of the issue that can helps us in detecting the scenario it would speed up the resolution.
Database database = await client.CreateDatabaseAsync(DatabaseName);
Container container = db.CreateContainerAsync(
new InteropContainerProperties(containerName, "/pksrc"),
ThroughputProperties.CreateManualThroughput(2000));
InteropContainerProperties newContainerProperties = await InteropContainerProperties.ReadAsync(await sourceContainer.ReadContainerStreamAsync()); await container.ReplaceContainerAsync(newContainerProperties);
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
Provide a description of the actual behavior observed.
Environment summary
SDK Version:
OS Version (e.g. Windows, Linux, MacOSX)
Additional context
Add any other context about the problem here (for example, complete stack traces or logs).

@jayantacs that has the INTERNAL preprocessor flag which is only set for internal project that are using the SDK. The property won't be included in any public SDK nugets.
@bemill can you please take a look at this?


[Webex] multiple services degraded or down.

Webex is experiencing service impacts. You may be unable to:

start / join meetings
send images / files

https://status.webex.com/commercial/status?lang=en_US

Webex is experiencing service impacts. You may be unable to:

start / join meetings
send images / files

https://status.webex.com/commercial/status?lang=en_US

Webex should now be fully operational.


Keep TDD (test driven development) as part of tutorial

Should we keep TDD as part of the tutorial. This would mean that the parts would go something like

Drap up map of what we want to solve problem
Do up concept in Solidity Online Compiler
Write Tests
Write Code
User Acceptance Testing (ie manually checking web and contracts)
Deployment

Vote for issue here: http://poll.gitrun.com/coder-forge/chain-forge/issues/4

related #2


Add signature

Spec.
Signing the contributions
The signing of contributions with Ethereum ECDSA keys and BLS signing the user's identity is RECOMMENDED.

Getting the encoded identity:

Depending on whether the user logged in with an Ethereum Address or a GitHub handle, they will encode their identity into bytes via either

BLS-Sign Identity (RECOMMENDED):

Use the secret x as a private key to sign the user's encoded identity.

ECDSA Sign the user's PoT Pubkeys (RECOMMENDED)

Only perform these steps if using an Ethereum Address to login
Build the EIP712 TypedData JSON object as per contributionSigning.md
Use web3.eth.signTypedData() to sign the message

def sign_identity(contribution: Contribution, x: int, identity: str) -> Contribution:
    encoded_identity = b''
    if identity[:2] == '0x':
        # Identity is a Ethereum address
        encoded_identity = eth_address_to_identity(identity).encode()
    else:
        # Identity is an GitHub ID
        encoded_identity = github_handle_to_identity(identity).encode()
    signature = bls.Sign(x, encoded_identity)
    contribution.bls_signature = signature

def sign_contribution(batch_contribution: BatchContribution, ethereum_address: Optional[str]) -> BatchContribution:
    typed_data = contribution_to_typed_data_str(batch_contribution)  # function defined in contributionSigning.md
    batch_contribution.ecdsa_signature = web3.eth.sign_typed_data(ethereum_address, json.loads(typed_data))
    return batch_contribution

identity is required to sign.
There is no way we can get identity with cli.
It looks good to add a web interface after we add it.

identity is required to sign. There is no way we can get identity with cli. It looks good to add a web interface after we add it. I think this is why it's optional. @rootwarp What do you think?

@kim201212 Make sense.
This issue may be handled as optional if we have the plan to support web interface.


Is it possible to get a collection of Bookshelf Models

Hi Tim, I am wondering if it is somehow possible to load more models of the same table in a performant way. I know Bookshelf model is related to a database row
I am having similar scenario
tbl Post
tbl User,
tbl PostComment
-user_id
-post_id
Is it somehow possible to fetch all post comments with Bookshelf and having users and posts attached?

Any ideas as to why this doesn't work?? I'm desperate!
var City= Bookshelf.Model.extend({
tableName: 'city',
country: function() {
return this.belongsTo(Country);
}
});
var Country = Bookshelf.Model.extend({
tableName: 'country',
// Tried with or without the following
city: function() {
return this.hasMany(City);
}
});
var Cities= Bookshelf.Collection.extend({
model: City
});

new Cities().fetch({
withRelated: ['country']
}).then(function(cities) {
console.log(JSON.stringify(cities.toJSON()));
})
.otherwise(function() {
console.log("error");
});
It prints error!

@dksakkos:

Please format any code blocks properly: https://guides.github.com/features/mastering-markdown/
Why are you using .otherwise() (BTW, I didn't even knew there was such a method) instead of .catch()?
What does the error say?

Formatted.
Please keep in mind that I'm fairly new to Bookshelf.
I changed the last block of code to
new leagueModel.Leagues().fetch({
		withRelated: ['country']
	}).then(function(leagues) {
		console.log(JSON.stringify(leagues.toJSON()));
	})
		.catch(function(err) {
			console.log(err);
		});

But it seems it doesn't recognize catch. It prints "undefined is not a function".

@dksakkos
City Model
Edit the country method to include a second parameter which should be the foreign key.
    country: function() {
        return this.belongsTo(Country, <foreign_key>country_id);
    }

So, if you include the foreign key it works? It thought Bookshelf would use the tableName property in case it is specified on a model. Anyway, if you use the defaults you'll be more likely to have a better experience. That is, table names are the plural versions of model names, and the foreign key is the singular version of the table name with _id appended.

It works, but it returns an empty list of country.
For example:
new Cities()
		.query({where: {city_id: 2}})
			.fetch({
				withRelated: ['country'],
				columns: ['city.name']
	}).then(function(cities) {
		console.log(JSON.stringify(cities.toJSON()));
	})
		.otherwise(function(err) {
			console.log(err);
		});

This chunk of code prints
[{"name":"Paris","country":{}}]

That's a really convoluted way of fetching what you want. What is that .query() call doing there? What is city_id? Is it the primary key?

It's just an example. Usually I would like to fetch the list of cities with a common attribute, lets say the cities with population greater than 1 million. But I also want the name of the country that the city belongs to.
In this case, the query would be {where: {population > 1000000}} or something like that.
Don't be bothered by the query.

I can't not be bothered with the query() because it's the cause of your related country attribute being empty. We can only help you if you post actual code with actual problems, not theoretical examples.

I think it's the fact that the foreign key is being excluded by columns. More detailed explanation here.

@dksakkos You just need to make sure that the column used by the relation is included in your columns argument. This is a known issue.

Changed to:
new Cities()
		.query({where: {population: 1000000}})
		.fetch({
			withRelated: ['country'],
			columns: ['name', 'country_id']
		}).then(function(cities) {
	//		cities.load('name')
	//			.then(function(cities) {
					console.log(JSON.stringify(cities.toJSON()));
	//			})
		})
		.otherwise(function(err) {
			console.log(err);
		});

But I still get empty list of country.
I tried to use the load function, the version of the code above without the comments, however it again fails to recognize the function.

You need to include all the columns you want returned, at the moment you are only requesting for 2 columns from the city table.

@qawemlilo
Apparently the columns that I am requesting can only be from the city table; when I try to include country.name it throws the following error:
clientError:
{ [Error: ER_BAD_FIELD_ERROR: Unknown column 'country.name' in 'field list']
code: 'ER_BAD_FIELD_ERROR',
errno: 1054,
sqlState: '42S22',
index: 0 } }

Yes. @qawemlilo was incorrect here.
@dksakkos You can add debug: true to check the SQL output of any of your queries. This might help you (or us) determine the problem.
Also in future please open a new issue.

@rhys-vdw Debug mode is already on true.
I'm sorry, I just thought it was a similar problem. In the future I will open a new one.

@dksakkos All good dude. So the reason load('name') didn't work is not because load is not recognized, but because you load a relation, not an attribute.
This code, as far as I can tell, should work. Note that I'm not using Collection here, simply because we'll be removing collections soon.
City
  .query('where', 'population', '>', 1000000)
  .fetchAll({
    withRelated: ['country'],
    columns: ['name', 'country_id'],
    debug: true
  }).then(function(cities) {
    console.log(JSON.stringify(cities.toJSON()));
  }).catch(function(error) {
    console.error(error);
  });

Can you please try that code, then confirm that the results are the same running the logged queries in your favourite SQL client?

Okay, my fault. I had incorrectly specified the foreign key in the city model. It now correctly prints
[{"name":"Paris","country":{"country_id":147,"name":"France"}}]

How can I know restrict the output to paris, france only?

I think this works:
console.log(cities.pluck('name'));

@dksakkos Actually that wont do what you want. But it's just a basic JS question. Simply call toJSON on the collection and then remove the stuff you don't want with lodash or something.

@rhys-vdw Ahh okay, yes I understand how it works. Thank you all very much for your help, we can consider this issue solved.

@dksakkos No probs. Good luck.


Adding g$ and g^ functionality

While j and k seem to work like gj and gk, currently ^ and $ jump to the first resp. last character of the buffer line. There doesn't seem to be a way to jump to the first/last character of the screen line when soft wrap is enabled.

Something like this should work, but it only works for g$ and neither for g^ nor g0:
`'atom-text-editor.vim-mode:not(.insert-mode)':
'g^': 'editor:move-to-beginning-of-screen-line'
'atom-text-editor.vim-mode:not(.insert-mode)':
'g0': 'editor:move-to-beginning-of-screen-line'
'atom-text-editor.vim-mode:not(.insert-mode)':
'g$': 'editor:move-to-end-of-screen-line'`

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!


On-chain and lightning balances being shown as 0

So I have Mutiny installed as a PWA on my Android phone. I had both an on-chain and a lightning balance with a handful of transactions. I didn't use the app for a few months and when I open the app now, I do not see either of my balances nor do I see any of my past transactions. Any reason why this is so? I have not cleared the cache or storage of the app - just that I did not open the app for some time. Any help appreciated.
Edit: Attaching logs
mutiny-logs (1).txt

Your browser may do that automatically. Restore from your seed words to recover things.

Is it normal that this happens if I don't use the app for one day? I restored from seed successfully and was able to see my on chain and lightning balance. However after not using the app for just one day, I no longer see any balance or transactions? Do I have to restore from seed every time I need to use the app?

You shouldnt need to always restore. Your privacy settings in your browser might be wiping your state. It is recommended to use the native app or install as a PWA to prevent this.

Thanks, I did not know that there was a native app. I have migrated my PWA to the native app now and will let you know if I face any other issues.


Updated readme, added list of related projects

This adds a list for related projects, projects related to running Rust on GPUs, below the contribution section in the main README.MD
The list is ordered by last update to the repo, with ongoing and in-maintainance projects marked as such.

I added the projects I am familiar with, previous suggestions, and projects found from searching. Please suggest any others you would like me to add/any changes to formatting/information!

@repi, @khyperia let me know if there are any steps you need from me before reviewing

Here is the updated look with changes:

Let me know if there are any other changes you want @repi!


Dockerfile: Add Dockerfile labels to pass CVP check.

See: https://fedoraproject.org/wiki/Container:Guidelines#LABELS

/cherry-pick release-4.5


doc: 20.09 release notes: nixos-YY.MM branches no longer in nixos-channels repo

Since https://github.com/NixOS/nixos-channel-scripts/commit/7c442a2f67c77344a71e5aae7e4cd2a1554420a9
for https://github.com/NixOS/nixpkgs/issues/99257

Motivation for this change
Tell folks that were waiting for the nixos-20.09 branch to appear in the nixpkgs-channels repo as the signal that 20.09 is ready that this signal will never come and they need to quit looking there.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

editorconfig failures will be fixed by https://github.com/NixOS/nixpkgs/pull/103535.

Thanks! ALso ported to stable as 3090c65041104931adda7625d37fa874b2b5c124.


[tests-only][full-ci] api test to get personal drive information of other users

Description
This PR adds the api test to get the personal drive information of users by admin or non-admin users using endpoint /graph/v1.0/users/{userid}/drive.
Related Issue

Closes https://github.com/owncloud/ocis/issues/6011
Fixes #6017
Motivation and Context

How Has This Been Tested?
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

E2E tests failed: https://drone.owncloud.com/owncloud/ocis/21176/88/1
:boom: To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/ocis/21176/tracing/folder-alice-2023-4-6-06-56-43.zip
npx playwright show-trace https://cache.owncloud.com/public/owncloud/ocis/21176/tracing/folder-brian-2023-4-6-06-56-58.zip

https://github.com/owncloud/ocis/issues/6017 still relevant or can we close?

#6017 still relevant or can we close?

The issue is still there. Even though Brian logs in the returned status code is 404.
@ScharfViktor

@PrajwolAmatya @ScharfViktor @individual-it What is the test expectation regarding "Space Admin" Roles?
IMO this should behave the same like for users with the "Admin" role.

@PrajwolAmatya @ScharfViktor @individual-it What is the test expectation regarding "Space Admin" Roles?
IMO this should behave the same like for users with the "Admin" role.

I think that expectation for "Space Admin" should be 200 and according this tests tests/acceptance/features/apiSpaces/spaceManagement.feature "Space Admin" can see personal space of users
@PrajwolAmatya please change expectation here

@PrajwolAmatya @ScharfViktor @individual-it What is the test expectation regarding "Space Admin" Roles?

In test, we are expecting that Space Admin user cannot view the other user's personal drive information. (i.e. expecting 404)

IMO this should behave the same like for users with the "Admin" role.

If Space Admin user should behave like Admin user then we need to change the test expectation (from 404 to 200), which means Space Admin can view other users' personal drive information.

This branch is 3 commits ahead, 46 commits behind master.
@PrajwolAmatya please rebase once and then merge


Using other cloud points than KITII to to track the objects

I need to use my data on this project not just KITII and also I need to use more KITII frames not just validation on that.
Could you please guide me with this?

Please generate detections using the OpenPCDet codebase and save in the KITTI format, then use our code to generate tracking results.


Import of tsv only inserts odd numbered rows

Description
Import of tsv only inserts odd numbered rows.
FLAT_RCL_CLEAN.txt
Of the ten rows, it inserts only the odd rows into this table:

CREATE TABLE "nhtsa_tsv_format_recalls" (
  "record_id" INTEGER NOT NULL,
  "camp_no" TEXT NOT NULL,
  "make_txt" TEXT,
  "model_txt" TEXT,
  "year_txt" TEXT,
  "mfg_camp_no" TEXT,
  "comp_name" TEXT,
  "mfg_name" TEXT,
  "bg_man" DATE,
  "end_man" DATE,
  "rcl_type_cd" TEXT,
  "pot_aff" INTEGER,
  "o_date" DATE,
  "influenced_by" TEXT,
  "mfg_txt" TEXT,
  "rc_date" DATE,
  "date_a" DATE,
  "rp_no" TEXT,
  "fmvss" TEXT,
  "desc_defect" TEXT,
  "consequence_defect" TEXT,
  "corrective_action" TEXT,
  "notes" TEXT,
  "rcl_cmpt_id" TEXT,
  "mfr_comp_name" TEXT,
  "mfr_comp_desc" TEXT,
  "mfr_comp_pt_no" TEXT
);

Settings:

Preview:

Actual:

Error Log:

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:07.100
!MESSAGE Cannot guess data type for column 'Column18', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:07.101
!MESSAGE Cannot guess data type for column 'Column19', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:07.101
!MESSAGE Cannot guess data type for column 'Column25', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:07.102
!MESSAGE Cannot guess data type for column 'Column26', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:07.102
!MESSAGE Cannot guess data type for column 'Column27', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:10.207
!MESSAGE Cannot guess data type for column 'Column18', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:10.208
!MESSAGE Cannot guess data type for column 'Column19', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:10.208
!MESSAGE Cannot guess data type for column 'Column25', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:10.209
!MESSAGE Cannot guess data type for column 'Column26', defaulting to VARCHAR

!ENTRY org.jkiss.dbeaver.model 2 0 2024-11-20 16:07:10.209
!MESSAGE Cannot guess data type for column 'Column27', defaulting to VARCHAR

DBeaver Version
<IP_ADDRESS>411171748
Operating System
Sonoma 14.7.1 (23H222)
Database and driver
Postgres 16.4 (RDS) PGJDBC 42.7.2
Steps to reproduce
Attempt to load this file FLAT_RCL_CLEAN.txt into this table:

CREATE TABLE "nhtsa_tsv_format_recalls" (
  "record_id" INTEGER NOT NULL,
  "camp_no" TEXT NOT NULL,
  "make_txt" TEXT,
  "model_txt" TEXT,
  "year_txt" TEXT,
  "mfg_camp_no" TEXT,
  "comp_name" TEXT,
  "mfg_name" TEXT,
  "bg_man" DATE,
  "end_man" DATE,
  "rcl_type_cd" TEXT,
  "pot_aff" INTEGER,
  "o_date" DATE,
  "influenced_by" TEXT,
  "mfg_txt" TEXT,
  "rc_date" DATE,
  "date_a" DATE,
  "rp_no" TEXT,
  "fmvss" TEXT,
  "desc_defect" TEXT,
  "consequence_defect" TEXT,
  "corrective_action" TEXT,
  "notes" TEXT,
  "rcl_cmpt_id" TEXT,
  "mfr_comp_name" TEXT,
  "mfr_comp_desc" TEXT,
  "mfr_comp_pt_no" TEXT
);

With these settings:

Additional context
No response

Please return back Quote char parameter in the importer settings

Why did you set it to empty string?

The  Quote char  tooltip reads "Character used to quote values".
This data does not use " to quote values.
Both the full data and the supplied sample have columns with quotes in the middle of the values and when attempting to import the entire file with the Quote char set to " we had one type of exception and the import would fail at one location in the file and when we had the Quote char set to null the import would fail at a different location in the file and with a different exception.
To identify those issues I began truncating the file until it wouldn't fail with an exception and then noticed the odd-rows-only behavior.
Yes, it appears to work with the test sample if the Quote char  is set to "but that seems off given that the data doesn't use " for delimiting values.
For completeness here is the same file with no quotes nested in values.  It behaves the same as the originally submitted file.
Why would setting the Quote char option have any impact on a file with no "s?
FLAT_RCL_CLEAN_NO_QUOTES.txt

I figured out the issue.
https://github.com/dbeaver/dbeaver/blob/d2187a3635445107034cf1f54b995320af1e9fd9/plugins/org.jkiss.dbeaver.data.transfer/src/org/jkiss/dbeaver/tools/transfer/stream/importer/DataImporterCSV.java#L164
A null, or whitespace value gets defaulted to ' as the Quote char, and since the sample data has a single quote in each row CSVReader gets confused and its line reader starts to return every other line

Removing all single and double quotes from the file allowed the table to load.

Thanks for the quick response and investigation.

Why would setting the Quote char option have any impact on a file with no "s?

It's a good question. I would like to know the answer to this too. For now it looks like DBeaver bug for me.

Thanks for the quick response and investigation.

Why would setting the Quote char option have any impact on a file with no "s?

It's a good question. I would like to know the answer to this too. For now it looks like DBeaver bug for me.

It is because it defaults to ' so any rows that have single quotes are at risk.
In my case each row had a single ' which lead to the skipping behavior


Server temperatures and fan speeds.

Is it possible to add server temperatures and fan(s)?

If your node exposes it you can query it from node-exporter with node_hwmon_fan_rpm.
If they're server based boards with IPMI you can install another exporter for those details.


App crashs in Android 8.1.0

The camera plugin is working with Android 7.0 but not with a Samsung J9 2017 and Android 8.1.0. After calling Camera Plugin it crashs the App:
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.intervall_fasten.app, PID: 27814
    android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=-2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 number=0 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1906)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:7000)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
Application terminated.

I use the following code:
	function onSuccess(imageURI) {

									if (device.platform.toLowerCase() == 'android'){
								  		cordova.plugins.backgroundMode.disable();
									}
						//

									})

							 }

							 function onFail(message) {
								  console.log('Failed because: ' + message);
							 }

 if(typeof navigator !== 'undefined' && typeof navigator.camera !== 'undefined') {
								  console.log('calling getPicture');
								  navigator.camera.getPicture(onSuccess, onFail, {
								  	   quality: 80,
									   correctOrientation: true,
									   sourceType: Camera.PictureSourceType.CAMERA,
									   destinationType: Camera.DestinationType.FILE_URI
								  });
							 } else {
								  console.log('no navigator.camera - did you install the plugin?');
							 }

Ditching the 'quality' option when capturing from Camera helped me.

Can you show the options you applied? I tried ditching the 'quality' option but it didn't help.

Ditching the 'quality' option helped me also on Android 9.
I also got app crashing when trying to call getPictures() method without any options.

Need to add the NotificationChannel for above Android Oreo versions.

@girigiramesh can you show whtat you mean with "Need to add the NotificationChannel for above Android Oreo versions."
Thanks!

@timlut In Android, up to Android Nougat, there is no need of NotificationChannel for startForeground. From Android Oreo onwards we need to add the NotificationChannel for startForeground.

Has anyone found a solution to this? I tried commenting out the quality option, but it still crashes.
Thanks

I can’t reproduce and the plugin is not calling startForeground, so it’s probably a bug in another plugin you are using.


manage drafts area not reachable

Reported error when trying to access manage drafts area action=admin;area=managedrafts
https://www.elkarte.net/community/index.php?topic=5527
possible php related version error but we need more information.

Going to close this since we have no further information, its probably not a core issue anyway


Fix pdb tt gt vw

fixes bug with vectorstore==0, for real

Please fix the pyflakes issue ASAP and resolve Scott's question.  We're planning to do our monthly merge Thursday evening.  Thanks so much.

Extended passed for arcturus on a standalone desktop.

yes that was typo. oops


chore(package.json): Changed main and module to point to unminified

...build

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


BugFix: Fixes From QA In Test

Links to Jira Tickets
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-541
Description of Changes
Fix migration (patching missing subcount records for existing observation records).

Was causing observation records not to show in the UI (as the subcount record is required).

Fix project/survey user search (does proper backend typeahead search).

Previously it was hard-limited to 50 users, which meant not all users were ever shown in the frontend.

Update the clamav library we use to one that is more supported.
Testing Notes
n/a

Codecov Report
Attention: Patch coverage is 46.15385% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 75.11%. Comparing base (4519738) to head (6952bd7).

Files
Patch %
Lines

api/src/utils/file-utils.ts
46.15%
7 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##              dev    #1277       +/-   ##
===========================================
+ Coverage   53.03%   75.11%   +22.08%
===========================================
  Files         560      204      -356
  Lines       16390     8223     -8167
  Branches     2545     1174     -1371
===========================================
- Hits         8692     6177     -2515
+ Misses       7116     1686     -5430
+ Partials      582      360      -222

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


move weather tests from electron to e2e

related to https://github.com/MichMich/MagicMirror/issues/2408
additionally:

updated dependencies
increased test delay for alert module test (because this test did fail sometimes)

Codecov Report

Merging #2687 (0fb9e0b) into develop (e965028) will decrease coverage by 7.63%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2687      +/-   ##
===========================================
- Coverage    69.46%   61.83%   -7.64%
===========================================
  Files            8        8
  Lines          262      262
===========================================
- Hits           182      162      -20
- Misses          80      100      +20

Impacted Files
Coverage Δ

js/app.js
43.69% <0.00%> (-15.97%)
:arrow_down:

js/server.js
85.18% <0.00%> (-1.86%)
: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 e965028...0fb9e0b. Read the comment docs.


Change to PG credential configuration

To improve service provisioning, it would be helpful to separate the credentials from the current pgpass file, as demonstrated in the following docker-compose snippet:
services:
  cardano-db-sync:
    ...
    environment:
      - POSTGRES_HOST=postgres
      - POSTGRES_PORT=5432
      - POSTGRES_DB_FILE=/run/secrets/postgres_db
      - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
      - POSTGRES_USER_FILE=/run/secrets/postgres_user
    secrets:
      - postgres_password
      - postgres_user
      - postgres_db
  postgres:
    image: postgres:11.5-alpine
    environment:
      - POSTGRES_DB_FILE=/run/secrets/postgres_db
      - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
      - POSTGRES_USER_FILE=/run/secrets/postgres_user
    secrets:
      - postgres_password
      - postgres_user
      - postgres_db
secrets:
  postgres_db:
    file: ./config/secrets/postgres_db
  postgres_password:
    file: ./config/secrets/postgres_password
  postgres_user:
    file: ./config/secrets/postgres_user

N.B. This pattern should not be seen as specific to Docker, but it does provide Docker with a secure way of managing sensitive information.
Proposed changes

Read values directly from ENVs (not sensitive):

POSTGRES_HOST
POSTGRES_PORT

Read string from files nominated by the following ENVs:

POSTGRES_DB_FILE
POSTGRES_PASSWORD_FILE
POSTGRES_USER_FILE

To reduce complexity, refactor fall-though to align with this granular handling instead of a pgpass, setting the ENVs if not found on service init.

Closed in favour of handling this using scripts to create a pgpass


Update UI and clean up

PRR- Design_sm.pdf
Dines's designs for what this could look like, higher fidelity

Hey Dines,
First off, really impressed with the progress on this already! It's looking promising. I think you're higher fidelity mock-ups look great. At this point, I think what I'd love to see is:

Add some kind of contract between the cards and the background. Whether that's a different color background, or a border, or both, I think there are options.
Let's drop the images for now, and assume that we're only going to be using text fields on the cards. This will also make all the cards the same size, meaning we don't have to build in any mosaic capability.
Let's have all the cards start at the same point on the page, rather than having a couple of them raise up to be next to the text.

Hopefully that's clear! Let me know if you have any questions.


[TC-GRPKEY -2.1, 2.2] Script has to be updated as per Test Plan

Description:

[x]   TC-GRPKEY-2.1

Test steps 4, 7a, 7b, 9, 11 has been removed from Test Plan. So Script has to be updated as per Test Plan.

[x]  TC-GRPKEY-2.2

Step 1 Test step label has to be updated as per Test Plan.

Step 26 has been newly added to the Test Plan. This Step has to be added in script according to the Test Plan.

Steps to reproduce:
TC-GRPKEY-2.2 -   Steps 4, 7a, 7b, 9, 11
TC-GRPKEY-2.2 -   Steps 1, 26
Test Plan References:

https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/group_communication.adoc#431-tc-grpkey-21-attributes-dut-server

Yaml References:

https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml
https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml

Addressed in PR
https://github.com/project-chip/connectedhomeip/pull/32296


pylance complaining about missing paramters while instantiating

on Pydantic v1 i used to solve this problem with parse_obj method but now that method is deprecated. How should this  be instantiated ?
Thanks in advance.

Selected Assignee: @dmontagu

Thanks @jiaulislam for reporting this issue 🙏
Please let us know what version of Pydantic and pydantic-settings are you using?

Pylance uses Pyright for type checking.
There is an issue in pyright regarding this.
You probably can make your fields Optional or add some default value for them to fix this.

@hramezani I can replicate this issue, and it's not just a Pyright problem, the error manifests at runtime:
from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    test: str

settings = Settings()

Gives:
$ python3 test_settings.py
Traceback (most recent call last):
  File "test_settings.py", line 7, in <module>
    settings = Settings()
               ^^^^^^^^^^
  File "python3.11/site-packages/pydantic_settings/main.py", line 61, in __init__
    super().__init__(
  File "python3.11/site-packages/pydantic/main.py", line 150, in __init__
    __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings
test
  Field required [type=missing, input_value={}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.1.2/v/missing

I'm using pydantic 2.0.2 and pydantic-settings 2.0.1.

Use model_validate() which has the same use case as parse_obj().


reduce duplicate go generator code

This PR proposes simplifying some generator code by combining two sets of mostly duplicate JSON/Protobuf code.  The generated code remains unchanged.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hmmm, I think this change makes things a little more complex, not less. I think the generators' dirt-simple structure right now makes them very easy to understand. Abstraction here doesn't seem worth it.
While abstraction here would make it easier to make changes to both JSON and Protobuf methods at the same time, I don't quite think that's worth it in this case.
I'm willing to hear arguments, but closing this for now.


enhance: make response_field customizable in MLModelTool

Description
Current MLModelTool hard code to fetch the response field from response body. However, in other non-LLM cases or non-Claude LLM services, we can not assume all of them use response keyword.
This PR makes response_field customizable in MLModelTool. If not provided, it will use response by default. This will make current API invokation behavior consistent.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ylwu-amzn @dhrubo-os Do you think this PR is enough to fix this problem? Please help review thanks


Add missing semicolon and docs group description

@pmconne mind approving?  This is needed before the 2.9.0 release


Shopify Web Scraper

Description
Shopify Web Scraper, Checkout readme.md for description
Fixes #232
Replace issue_no in the above line, with the issue related to this PR.
Type of change
Choosing one or more options from the following as per the nature of your Pull request.

NOTE: These boxes can be checked using [X]

[ ] Bug fix (non-breaking change which fixes an issue)

[X] New feature (non-breaking change which adds functionality)

[ ] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[X] I have named my files and folder, according to this project's guidelines.
[X] My code follows the style guidelines of this project.
[X] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[] I have commented on my code, particularly in hard-to-understand areas.
[X] I have created a helpful and easy to understand README.md
[X] I have included a requirements.txt file (if external libraries are required.)
[X] My changes do not produce any warnings.
[] I have added a working sample/screenshot of the script.

Hi @xcodz-dot please fix the issues as per deep source analysis


Allow using backticks for code in headlines instead of <inlinecode>

Right now when writing documentation you need to use <inlinecode> to format text as code, but only in headlines: https://github.com/prisma/docs/search?q=inlinecode
This requirement seems to be an artifact of the behavior of the ToC (list of headlines on the right of the page, "On this page") that can by default not render backtick enclosed text as code.
As inlinecode is not standard Markdown, and also not obvious, it is easy to get wrong and leads to additional changes required when contributing to the documentation. It also generally makes creating documentation harder than it could or should be.
We should investigate if it is possible to remove the requirement for <inlinecode> and replace it with the ability to use normal backticks to highlight code in headlines as well.

Example page: https://www.prisma.io/docs/concepts/overview/prisma-in-your-stack/fullstack

@carlagn to document this in Notion and then close the issue

https://www.notion.so/prismaio/Heading-inline-code-highlight-ff748b1b0aac4ea8a9808bad1415194f?pvs=4


Bulk update on multiple runs overrides component info

To reproduce run a bulk update to add a deploy annotation to multiple runs. The component on every run will be set to that of the first run.

The issue is actually worse than just overriding the component, it looks like it overwrites ALL metadata with the metadata of the first run in the update.