Completions == 1 impossible for indexed job > 1 parallelism

I'm creating an indexed job, and I'd like to say it is successful when there is one completion. Reading about completion mode here: https://kubernetes.io/docs/concepts/workloads/controllers/job/#completion-mode I'm not allowed to put 1, because it will default to one parallelism. Here are my options (none work):

Setting explicitly to 1 sets parallelism to 1, which I don't want
If I leave completions unset, which should mean 1, I get the error below

 {"controller": "jobset", "controllerGroup": "jobset.x-k8s.io", "controllerKind": "JobSet", "JobSet": {"name":"metricset-sample","namespace":"default"}, "namespace": "default", "name": "metricset-sample", "reconcileID": "6f738a8c-fdc8-4adb-ac09-fc917fc399f2", "error": "Job.batch \"metricset-sample-m-0\" is invalid: spec.completions: Required value: when completion mode is Indexed"}

The use case is an mpirun application that is running from one pod, and the rest (ideally) I could let sleep until the job completes (indicated by the mpirun command completing). Why is it impossible to run an indexed job with parallelism > 1 but not indicate one job finishing is criteria for the job finishing?
There is likely an issue / PR open to fix this, but I'm wondering what the workaround it (and why the logic was decided this way?)

I would discuss this in upstream k8s since it is about indexed job semantics. But in general, indexed job depends on completions to define the range of indexes, that is why it is mandatory, we discussed briefly using parallelism when completions is not set, but it was dismissed.
As for the mpi use case, why not define two jobs using JobSet, one of size 1 for the driver and one for the workers. Using success policy, you can define that the JobSet is successful and complete when the driver is.

As for the mpi use case, why not define two jobs using JobSet, one of size 1 for the driver and one for the workers. Using success policy, you can define that the JobSet is successful and complete when the driver is.

This did cross my mind! I think it's a good idea, and I haven't tried it yet because it affords updating the design of my operator. But I think I will - I'll update this issue after, and then decide if it makes sense to discuss upstream. Will report back (hopefully) soon!

As for the mpi use case, why not define two jobs using JobSet, one of size 1 for the driver and one for the workers. Using success policy, you can define that the JobSet is successful and complete when the driver is.

This did cross my mind! I think it's a good idea, and I haven't tried it yet because it affords updating the design of my operator. But I think I will - I'll update this issue after, and then decide if it makes sense to discuss upstream. Will report back (hopefully) soon!

You reminded me that I got this working to help demonstrate a useful case for JobSet.  I decided to add an example to for this usecase as I can see it being useful: https://github.com/kubernetes-sigs/jobset/pull/243

Thank you!

okay - refactor done!
This took me a few days, but I think it's a better direction. To step back, I'm working on a metrics operator that is going to help us understand things like application / storage performance. My goal is to use JobSet as the packaging means for a number of different kinds of Metric Sets. You can think of a MetricSet akin to a JobSet, but for different kinds of metrics, and the operator understands three kinds of MetricSets

An Application Metric set measures application performance (for one or more metrics)
A Storage Metric Set measures the same for storage (volumes)
A Standalone Metric Set can have a metric that does whatever it wants (e.g., the networking example above)

So when I was working on the third of those bullets, a custom networking metric that has a launcher/worker setup (and I couldn't get the workers to complete) I realized I wasn't using JobSet to its maximum potential (but I opened this issue just to double check there was no way). I chewed on this design for a bit because I wanted to design it in a way that the user experience is simple and consistent - they write a simple metrics.yaml file with some listing of metrics, and they have similar structure. But on the backend of the operator, it understands the three concepts above.

In the example above, we see a user requesting two metrics alongside their application, which the operator will validate, and then prepare a Jobset for. Since it's an application Metric Set, this means a JobSet with a single job and the application container with the metrics as sidecars. The user doesn't need to make any changes to their container because of the shared process namespace - that's the trick of this kind of MetricSet - monitoring the processes in sidecar containers by finding the PID based on the command. A Storage Metric set wouldn't use this shared process namespace, but instead would ensure each storage metric container has the volume mounted.
Anyway - that's the WIP so far! More diagrams and details are here: https://converged-computing.github.io/metrics-operator/getting_started/user-guide.html. I'm hoping to next add more actual metrics for storage, think about a better means to collect the output, and then hopefully actually run experiments! If I'm successful this would be a cool demonstration of using JobSet (sort of?) meaningfully for experiments. Otherwise, I've just been having fun this week (I guess that is OK too!)
Thanks for the help! I'm going to close the issue.


'prompt' module slowing down navigation in sshfs mounted directories

Description

Navigating inside a directory that is mounted via sshfs is extremely slow. I narrowed it down to some features inside the prompt module. A simple ls takes several seconds. This is because some git commands are run in the background.
I tried various versions of
zstyle ':vcs_info:*' disable-patterns "${(b)HOME}/dev(|/*)"
zstyle ':vcs_info:*' disable-patterns "/sshfs(|/*)"

but none of them fixed the issue.
I tried git-info off without effect.
I tried git config --global oh-my-zsh.hide-status 1 without effect.
Also, entirely removing all contents of modules/prompt/external (i.e. the powerlevel9k / powerlevel10k stuff) does not fix the issue.
This behaviour is observed with an outdated version from ~6 months ago and the latest master, that I pulled just now (of course I started a fresh shell after pulling).
Expected behavior
Simple commands like cd, ls, less, etc. should work without lag.
Actual behavior
Intermediate calls to git that are executed in the background slow down everything by orders of magnitude.
Steps to Reproduce

Start a new shell, no theme selected
Navigate to a sshfs-mounted directory
Observe that shell is still very responsive
Enable a thema, e.g. spaceship (all git features deactivated)
Shell became painfully slow

Side note: I can select any other theme, the result is the same. I've used spaceship for a while now and I know that in this theme I already got rid of all git related stuff.
Versions

Prezto commit: e94b6b2078ccd0b289293dc4b996983a96a34681
ZSH version: zsh 5.3 (x86_64-apple-darwin17.0)
OS information: macOS 10.13.6

I believe this is occurring because the git-info command is still running. We use git config --bool prompt.showinfo to check if git-info should be run, but it's the second git command in git-info. It may be worth providing a zstyle option to completely disable git-info so we can short-circuit any calls to git.

Hi @belak, thanks for your comment. Is there anything I can try/do?
I agree, a killswitch, similar to the vcs disable-patterns, would be the right thing. I still want to have the advantages in non-sshfs directories.

Have you tried it with a zsh version that's not 5.3? 5.3 is known to have multiple issues.

Hi @johnpneumann I just installed
➜ zsh --version
zsh 5.7.1 (x86_64-apple-darwin17.7.0)

with homebrew. I can tell that the git commands are still being run in the sshfs directory. However, I can't tell if it sped it any way, as I'm currently in an office with a much better connection to the server from which I'm mounting the dirs.
But I guess commands like git rev-parse, git ls-files, etc. shouldn't run faster with a different zsh version.
Would you have expected that any settings I tried before to disable the git commands work with a newer zsh version? It looks like this is not the case.

If you're willing to live without it, you could disable the prezto git module. You would lose additional git related functionality, but it wouldn't run additional git commands.

And how would I do that? Could this be done conditional? I.e. only in certain paths?

In your zpreztorc, there should be a list of enabled modules. If you remove or comment out the git module, this will be disabled. It's unfortunately not possible to do in certain paths.

Hi @belak,
I removed git from the zstyle ':prezto:load' pmodule list but as soon as I start prompt spaceship the git commands run again.
Is there maybe a way to hook onto git and print who called it every time it runs? That would really help me to understand where inside the prompt module the calls come from.

Okay quick update: I tested it back at home and removing git from .zpreztorc doesn't change anything.
I'm really wondering what exactly is calling git..

Okay, as this discussion is dying down let me try to ask a precise question.

How can I profile which processes are running after I enter any command (e.g. ls)?
If that's not possible, how would you try to identify the source of the delay?

Alright, I realised that I had another git installation directly from Xcode.
Here is what I was able to find out. I replaced /Applications/Xcode.app/Contents/Developer/usr/bin/git with a simple script
#!/bin/bash

echo "git $@ called by $PPID - $(ps aux | grep $PPID)"
exit 0

and the text pops up in the directory name. Does this help?

Run this to output the calls being made to a file:
zsh -xv &> >(tee ~/debug.log 2>/dev/null)
Can you post your full zpreztorc as well


Add a possibility to invoke private classes of inner/outer classes. GROO...

...VY-6468.
JIRA
Should I test recursive cases, or inheritance case.

Dear @melix
Is it ok, that I have touched JIRA already assigned to you? I haven't seen any branch/open pull-request from you about that ticket.

Excellent @xSeagullx ! Not the easiest part of Groovy that you are looking at :)
I will review this, no problem that you take a look at it. I'd like to check the bytecode which is generated too, to make sure it doesn't contain any dynamic invocation in that case.

@melix I'm sure, that my unit test are bad, because now they just show us that no compiler error is raised. I've changed them to do an actual constructor invocation.
//Added this (for outer)
assert new Foo.Bar().foo() instanceof Foo
// And this (for inner)
assert new Foo().foo() instanceof Foo.Bar

And now outer class test failed with tried to access method Foo.<init>()V from class Foo$Bar java.lang.IllegalAccessError: tried to access method Foo.<init>()V from class Foo$Bar
I'll check it this evening, after work.
P.S. I see no easy way to look into bytecode. If you have a secret knowledge(probably i can turn on some logger or smth like that) please share it =)

looking at the bytecode can be done for example using javap. I often use Textifier/CheckClassAdapater/ASMifierClassVisitor from the asm lib.

Another option is to use the astTrees property that the StaticCompilationTestSupport class provides (see for example https://github.com/melix/groovy-core/blob/master/src/test/org/codehaus/groovy/classgen/asm/sc/bugs/Groovy6962Bug.groovy#L22-22) or use the AbstractByteCodeTestCase (like https://github.com/melix/groovy-core/blob/master/src/test/org/codehaus/groovy/classgen/asm/sc/StaticCompilationTest.groovy)

@melix It seems I've done very naive attempt to fix it =)
Should investigate deeper. As far as I can see, both cases doesn't introduce virtual calls. But bytecode for calling <init> method is wrong, so why I get IllegalAccessError.
I can return to this issue on Sunday, but I can't guarantee that I'll be able to solve it quickly. Especially, because debagging that stuff is really hard.
Below is just working thoughts, but I'd be happy if you point out possible mistake or suggest a place to look
AFAIU, there should be 2 arg init method call in private constructor test(as it's not static)
Smth like
    NEW Foo$Bar
    DUP
    ALOAD 0
    ACONST_NULL
    INVOKESPECIAL Foo$Bar.<init> (LFoo;LFoo$1;)V
    ARETURN

And I get Foo$Bar.<init>(LFoo;)V in exception message, which is obviously wrong.
So, I need to:
Verify that Foo$Bar.<init> (LFoo;LFoo$1;)V is created.
Find a place where invokation bytecode is generated. Tweek it for inner/outer classes support.

I think there should be a way for you not to directly generate bytecode for this but rely on existing code. I would suggest debugging what path is taken in AsmClassGenerator without CompileStatic for this, and see if we cannot reuse some code. Be careful that I am not saying that it is doable, it's only how I would start.


fix: wrong day

Today (31st) the default day to run would be the 31st 🤨

Would it make more sense to make this required if current day is >= 25?🤔 Both are fine by me🤷♂

That seems cool too


Make the mod work (In userspace)

Will only work if the legacy inventory is already opened in the userspace. Isn't the mod supposed to open it if it's closed?


Fix mute_volume function

Double mute or double unmute was resulting in unexpected behaviour, i.e. unmute when it was not muted has restored some older volume, double muting made the mute/unmute button useless. So it is now only called when the state changes. (Although it might cause some problems if the volume is increased manually from 0 after using the mute button.)
Resetting the volume should only be called if unmuting (I don't know why this was working in the first place, can you shed some light on it).

Covered in new socketio updates

I just tested it and this is still present in the current version.
This behaviour can only be archived via the HA API or an automation, not the UI.
The problem is: by muting the device the current volume is stored as _muted_volume and then the volume is set to zero. Upon muting the second time, _muted_volume is not also set to zero as the volume is zero while muted.
After that has happened it is no longer possible to use the unmute buttons, as they only set the new volume to _muted_volume, which is zero at this point.
For the second change (adding else to the if mute condition), this currently happens when muting:
2022-04-08 18:19:54 DEBUG (MainThread) [pyhifiberry.audiocontrol2sio] setting volume: 0
2022-04-08 18:19:54 DEBUG (MainThread) [pyhifiberry.audiocontrol2sio] setting volume: 63
2022-04-08 18:19:54 DEBUG (MainThread) [pyhifiberry.audiocontrol2sio] update volume {'percent': 0.0}

So there is a second invocation to pyhifiberry to change the volume, but I have absolutely no clue why it never reaches the hifiberry.
I would be happy to update this PR to reflect the socketio changes

@willholdoway I have rebased it on the newest changes and tested it, I hope you will have a look again


Learning from ipyparallel

ipyparallel (formerly part of the Jupyter Notebook) provides similar functionality to dask distributed and dask-jobqueue in that it allows users to startup a cluster and submit work to it. The model of the ipyparallel is a bit different from that of dask distributed, but that doesn't really concern us here.
What is interesting is ipyparallel has a trove of knowledge regarding starting jobs on various common HPC Schedulers. This knowledge is largely baked into one file. For HPC Schedulers already in dask-jobqueue, it's worth comparing notes to ipyparallel and see what can be learned on this front. As to the schedulers not present in dask-jobqueue, it's worth taking a look at ipyparallel's implementations and seeing what can be gleaned from it and how it might be used here. It's probably also worth learning how things have been refactored out in ipyparallel to see if there are any useful strategies for modeling HPC Schedulers generally.

It's a good point.
Also, just for fun, but ipyparallel is also a reasonable way to deploy dask
itself:
http://ipyparallel.readthedocs.io/en/latest/api/ipyparallel.html#ipyparallel.Client.become_dask
On Tue, May 1, 2018 at 12:06 PM, jakirkham<EMAIL_ADDRESS>wrote:

ipyparallel https://github.com/ipython/ipyparallel (formerly part of
the Jupyter Notebook) provides similar functionality to dask distributed
and dask-jobqueue in that it allows users to startup a cluster and submit
work to it. The model of the ipyparallel is a bit different from that of
dask distributed, but that doesn't really concern us here.
What is interesting is ipyparallel has a trove of knowledge regarding
starting jobs on various common HPC Schedulers. This knowledge is largely
baked into one file
https://github.com/ipython/ipyparallel/blob/6.1.1/ipyparallel/apps/launcher.py.
For HPC Schedulers already in dask-jobqueue, it's worth comparing notes to
ipyparallel and see what can be learned on this front. As to the schedulers
not present in dask-jobqueue, it's worth taking a look at ipyparallel's
implementations and seeing what can be gleaned from it and how it might be
used here. It's probably also worth learning how things have been
refactored out in ipyparallel to see if there are any useful strategies for
modeling HPC Schedulers generally.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/49, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszFPJhnT7gzvs7X27oR7D_X43g-uBks5tuIgjgaJpZM4TuIab
.

Thanks for sharing. I had a quick skim. There are some remarkable similarities between the two projects, particularly on the level of abstraction between different scheduling systems. May be worth using this as a starting point when developing the LSF cluster (#4).

Wow, big source file! Scary at first, but a lot of information in there, probably worth taking a second look.
Thanks for sharing.

Closing this for now, we may want to look at it again for some other scheduler implementation, was useful for LSF. We may also want to look at this for #133, along with https://github.com/jupyterhub/batchspawner.


How to use config ?

Modules/ProviderGameList/Config/config.php
<?php

return [
    'name' => 'ProviderGameList',
];

I've tried
Config::get('module::key')
Config::get('ProviderGameList::name')

it does not work.

you have to use Name of the created module in lowercase, in my case User = user

@wikigods It works! Thanks you!


[BUG] inspectdb dosent work with leatest backend version

Describe the bug
inspectdb dosent work with leatest backend version
on version 1.1.1 - it definitely worked
(at that time I had a different version of the clickhouse server without a cluster, maybe that’s the problem)
To Reproduce
run python manage.py inspectdb --database=clickhouse
and get
# This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
#   * Rearrange models' order
#   * Make sure each model has one field with primary_key=True
#   * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
#   * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from django.db import models

without any models
Expected behavior
models should be generated
Versions

Python version.  3.11
Django version. 4.1.9
Django clickhouse backend version. 1.1.3
Server clickhouse version. <IP_ADDRESS>4

Thanks for the report, I will try to fix it.

It's fixed and will be released as 1.1.4. Now you can install from the main branch.
I have implemented an improved version of inspectdb #61. Add clickhouse_backend to INSTALL ED_APPS to use it.


Include instructions on APP_DIRS in Prerequisites docs

So I was having TemplateDoesNotExist errors when trying to set up everything.
It took me some time to realize that for this package to work, you need to have APP_DIRS: True for debug_toolbar to include its templates in the projects.
Perhaps it's a good idea to include this in the documentation?

Yeah as a temporary solution that'd be good to put in the troubleshooting space. However, ideally the toolbar would work without it and if that's not possible, it'd fail gracefully and log a warning.

The django.contrib.sitemaps app also requires "APP_DIRS": True; we could have a look there how "APP_DIRS": False is handled. I couldn't find a check or anything (I didn't look long) so maybe it's enough to document the expectation that templates can be loaded from app dirs.
(I haven't used "APP_DIRS": False or anything equivalent ever since beginning to use Django before 1.0, maybe this is exotic enough that we could simply ignore it. At least if it proves too much work to add a system check or something.)

I don't see any checks or error handling in sitemaps. And I think attempting to hijack the settings to make it work is a poor idea.


🚀 Feature: Increase Renovate minimumReleaseAge to 7 days

Bug Report Checklist

[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
For a while now, this template has set Renovate's minimumReleaseAge to 3 days. That's the time threshold for an npm package to be unable to be unpublished. It also has the nice benefit of giving some time for the community to catch & patch a malicious version of a previously ok package.
But, 3 days isn't a super long amount of time. If something releases on a Friday then folks might not have fully caught+patched it by Monday. I've been thinking for a while of increasing it to a full week.
Request: every place in this repo that says "3 days" should instead say "7 days". That includes .github/renovate.json and createDotGitHubFiles.ts.
Additional Info
See docs on: https://docs.renovatebot.com/configuration-options/#minimumreleaseage

Oop sorry @rubiesonthesky I missed your comment! Just seeing it now.

will mean: Your project will update to broken version on next Friday

I don't think that'll happen in the cases I'm thinking of. "Broken" here means malicious publishing. As in, something so bad that a security advisory and vulnerability alert come out. Renovate won't update to the package in that case.

But neither is really what you are hoping here. :/

Yeah 😞 the situation isn't super ideal. Just to be safe, I'll go ahead and bump this to 7 days. Thanks for the comments though!


System.Speech SpeechSynthesizer - Unable to run tests

Using image mcr.microsoft.com/dotnet/framework/sdk:4.8
Trying to run tests in that involve SpeechSynthesizer it fails on the line:
_speechSynthesizer.Volume = 100;
Stack Trace:
Initialization method AlertsTests.AlertsViewModelTest.MyTestInitialize threw exception. System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {D9F6EE60-58C9-458B-88E1-2F908FD7F87C} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).. Stack Trace:     at System.Speech.Internal.ObjectTokens.RegistryDataKey..ctor(String fullPath, IntPtr regHandle)  at System.Speech.Internal.ObjectTokens.RegistryDataKey.Open(String registryPath, Boolean fCreateIfNotExist)  at System.Speech.Internal.ObjectTokens.SAPICategories.DefaultDeviceOut()  at System.Speech.Internal.Synthesis.VoiceSynthesis..ctor(WeakReference speechSynthesizer)  at System.Speech.Synthesis.SpeechSynthesizer.get_VoiceSynthesizer()  at System.Speech.Synthesis.SpeechSynthesizer.set_Volume(Int32 value)
Any way to get these tests to execute using the 4.8 sdk image?

While you're using a .Net image, I'd assume the required component is not part of the base image, so assigning this to both Weijuan and Richard to investigate this scenario. As always, one alternative is to try out the new Server image: https://techcommunity.microsoft.com/t5/containers/announcing-a-new-windows-server-container-image-preview/ba-p/2304897

Hi @Orphic16, was the new Server image  was able to solve your issue?

Since there has been no activity, going to close out this issue and assume that the Server image was able to solve this issue.


Fix usage of deprecated attr option in auth models

Breaking change

Proposed change
Solve the following attr deprecation warning for the option cmp by replacing it with eq and order. See https://www.attrs.org/en/stable/api.html#attr.ib for reference.
homeassistant/auth/models.py:34
  /Users/paulus/dev/hass/home-assistant/homeassistant/auth/models.py:34: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
    perm_lookup = attr.ib(type=perm_mdl.PermissionLookup, cmp=False)

homeassistant/auth/models.py:40
  /Users/paulus/dev/hass/home-assistant/homeassistant/auth/models.py:40: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
    groups = attr.ib(type=List[Group], factory=list, cmp=False)

homeassistant/auth/models.py:43
  /Users/paulus/dev/hass/home-assistant/homeassistant/auth/models.py:43: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
    credentials = attr.ib(type=List["Credentials"], factory=list, cmp=False)

homeassistant/auth/models.py:46
  /Users/paulus/dev/hass/home-assistant/homeassistant/auth/models.py:46: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
    refresh_tokens = attr.ib(type=Dict[str, "RefreshToken"], factory=dict, cmp=False)

homeassistant/auth/models.py:49
  /Users/paulus/dev/hass/home-assistant/homeassistant/auth/models.py:49: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
    type=Optional[perm_mdl.PolicyPermissions], init=False, cmp=False, default=None

Type of change

[ ] Dependency upgrade
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml
N/A

Additional information

This PR fixes or closes issue: fixes #31341
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist
[x] The code has been formatted using Black (black --fast homeassistant tests)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

[x] No score or internal
[ ] 🥈 Silver
[ ] 🥇 Gold
[ ] 🏆 Platinum

Awesome! 🎉


Support caching of already downloaded tiles

I noticed that all tiles are re-downloaded every time, for example when zooming out and back in again.
This could be prevented by supporting caching the tiles.
Might add some more speed to the maps. Not sure on what level that would need to be implemented.

Hi @batje! There are two layers of caching in use by Tangram – the first is the browser cache, where any downloaded tiles should be cached and managed by the browser itself; the second is Tangram's internal JS object cache, which stores built tiles. The rules for that cache are here:
https://github.com/tangrams/tangram/blob/master/src/view.js#L263-L280
Currently, we discard tiles which are > 2 tiles outside of the current view (a value set with border_tiles), and > 1 zoom level away from the current zoom level (set with preserve_tiles_within_zoom). Those values could be modified, but the current combination is a level that we find works pretty well with the environments we're working in for the moment.
Feel free to experiment with these values and functions in a local build :)


Update get_values.py

Fix imports.
Turn on encoder rotor position reading to match comment.

Thanks @groybe


Include Sendgrid as option with webhook in first section

Elastic Email, SparkPost, Mandrill, Mailjet, Sendgrid, and Amazon SES (as of 2.2.0) support webhook callbacks for bounce management. See below for more details.

@miamicityman would you be open to making the PR to add this?
On the docs, you can just scroll to the bottom of the page, and press edit. This will allow you to make the changes, and then prompts you to make a pull request for us to review and bring those changes into the docs.

Sure, but when I do so ... I get:
"You’re making changes in a project you don’t have write access to.
Submitting a change will write it to a new branch in your fork
miamicityman/mautic-documentation, so you can send a pull request."
BTW: First time making github edits.
On Mon, Oct 11, 2021 at 8:49 AM Ruth Cheesley @.***>
wrote:

@miamicityman https://github.com/miamicityman would you be open to
making the PR to add this?
On the docs, you can just scroll to the bottom of the page, and press
edit. This will allow you to make the changes, and then prompts you to make
a pull request for us to review and bring those changes into the docs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mautic/mautic-documentation/issues/260#issuecomment-939999188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYWAASTWX2CDWIUIFR7YEDUGLMM7ANCNFSM5FYFCKNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Max Jaramillo
City of Miami, USA


Rick jpeg is still failing, react-native version is not defined properly

What's going on?
Rick jpeg is still failing as it is saved in .jpg format,
Getting error related to reach-native version
Steps to reproduce

create a new app try to run it will see something similar to this

On top of that you can see the react-native version is not properly defined

npx ignite-cli doctor results:

If you can give me contributors permission, I can get the jpeg issue fixed asap, so at least people can get back to building new apps with ignite without facing any immediate error on the first run.

Ugh, sorry about that. Expo must be finicky about .jpg types. It works fine for a standalone app, but I did reproduce for an expo app. CI didn't catch it because it doesn't actually run the app. I will open a PR.

We can also directly add 0.64.3 version of react-native to dependencies, but please let me know if there is any particular reason you are using the url. Is it because expo making updates and changing the react-native version at the url from time to time?

Yes, Expo manages the RN version manually. We are just generating an Expo app, so we have no control there.

:tada: This issue has been resolved in version 7.10.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


kvdo: mark kernel module as broken for other kernels than 5.15

Description of changes
Mark the KVDO kernel package as broken for any other kernel version than 5.15,
as it does not compile for them anyway.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I ran the related tests, though there are failing tests with LVM-thin. Those fail
as well without the changes applied.

Yes, that solution is much cleaner than mine!
For reference:
https://github.com/NixOS/nixpkgs/pull/174103/files#diff-d1fa85f180086b00c22098816b2a0c6ac12496e2d39808d8ac5d34f6f1125e28R30


Feature request - Line tool with arrow

Would love to see line tool with option for arrows. Maybe a dropdown to select arrow types
Thanks

Thanks, yeah, I have been thinking about this feature as most required from the beginning. Definitely need to give this first priority.

Bro can i use this in ionic with angular ? is there any sample application using this JS with angular/ionic please share......

+1

Added in 0.2.75


Test 3.13 "Unable to confirm engine speed"

"Unable to confirm Engine Speed" message need an explaination as to why.  Also, add Step #.

The new message should be:
"WARN: <IP_ADDRESS>.e - Unable to determine engine speed from freeze frame data"

#840


GameObjectConfig allow type object

This PR (delete as applicable)

Updates the Documentation
Fixes a bug

Describe the changes below:
GameObjectConfig x, y, rotation, angle, and alpha should allow type object
Fixes #5682
Thanks @chousiyan for raising the issue

👍


#28 - Implement SfCheckbox

Related issue
https://github.com/DivanteLtd/storefront-ui/issues/28
Scope of work
Implement SfCheckbox - I've copied the JS, SCSS and HTML from Alpaca as advised and have adjusted styles accordingly.
Screenshots of visual changes

@MikeSheward any updates?

@leomp12 will you be able to finish this PR?

Yup :)

I merged the work here to my fork and opened a new PR for this component.
#118
Closing this PR...


Using Update Module for SPO Management Shell

We should be able to update the SPO Management shell module using the same technique as we do for the SP PnP modules, i.e., update-module. The SPO Management Shell installation is not consistent with other POSH Modules from MS and should be revised so that it can be deployed from the PowerShell Gallery like so many other modules

@DeanGross Thank you for this feedback
We want to make sure your PnP issue is handled appropriately.
We have a separate repo for the PnP PowerShell issues. We want your issue to get the proper attention it deserves.
Please open your issue in this repo: https://github.com/SharePoint/PnP-PowerShell
I am going to close this issue so that we can track to correct one in the PnP PowerShell repo.


Add setting for sample rate for google and acapela voices

Put in TTS settings dialog and use /admin/properties API to control the corresponding engine setting
Don’t expose properties for engines that are not supported on the current platform.

examples of sample rate drop downs from audacity and ableton live

Property is org.daisy.pipeline.tts.google.samplerate and default is 22050 Hz

Sample rates between 8000 Hz and 48000 Hz are supported for google voice. We want to incorporate setting the sample rate for google voice and eventually SAPI legacy voices.

WIP see 01a91e2246165dd1fd212aba4cb068e038865ff7

This appears to be working and the value is set correctly via the API endpoint.


Typo "Azure blob storage"→"Azure Blob Storage"

https://docs.microsoft.com/en-us/azure/storage/blobs/blob-containers-powershell
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/storage/blobs/blob-containers-powershell.md
#PingMSFTDocs

@stevenmatthew

Can you review this PR?

IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Link out to Volunteer information on main portal

Implement UI to link out to the Volunteer information page on the main motrpac.org portal.

Task completed and deployed.


Bootstrap server security flag changes between the initial client write and server response

This might be caused by the workaround described in #296, however I cannot say that with full certainty.
I managed to get the bootstrap going with the workaround at mtusnio/AwaLWM2M@17d8926. After the initial client write is done, the security flag changes from 1 to 0, and the subsequent read of the bootstrap server response is treated like a plaintext read instead of an encrypted message, which obviously derails the process. Again, this might be due to the workaround causing the resolution to kick in every time the ServerIsBootstrap call is made. I quickly got this to work by doing the changes as found in mtusnio/AwaLWM2M@ca225d6aa0e8837808b5c1a439ddd2cec93e1919, however this is just a quick workaround the issue as far as I can tell.
I'll put up some more logs on Monday with proper debug messages to show exactly where the issue pops up.

I've added printfs to the NetworkSocket_Read and NetworkSocket_Send commands, you can find the log at the end of this message. From what I can see the moment a packet arrives the Secure flag switches for destAddress->Secure and (*sourceAddress)->Secure from 1 to 0. The workaround above
(mtusnio/AwaLWM2M@ca225d6) does the job of fixing the issue, but it also means some addresses are left unfreed.
[DEBUG] [coap_abstraction_erbium.c:249] Coap PUT for /0
[DEBUG] [coap_abstraction_erbium.c:311] resolve address from Uri: coaps://ds-mono.flowcloud.syst
ems:15684
[DEBUG] [network_abstraction_contiki.c:299] Address free: coaps://ds-mono.flowcloud.systems:1568
4
[DEBUG] [lwm2m_client_core.c:2079] BOOTSTRAP WRITE: /0
[DEBUG] [lwm2m_client_core.c:147] Deserialise object 0:
[DEBUG] [coap_abstraction_erbium.c:311] resolve address from Uri: coaps://ds-mono.flowcloud.syst
ems:5684/
[DEBUG] [network_abstraction_contiki.c:116] Lookup of "ds-mono.flowcloud.systems" succeded!
[DEBUG] [network_abstraction_contiki.c:337] Address add: coaps://ds-mono.flowcloud.systems:5684
[DEBUG] [network_abstraction_contiki.c:299] Address free: coaps://ds-mono.flowcloud.systems:5684
[DEBUG] [coap_abstraction_erbium.c:265] Coap Response code 204
[DEBUG] [network_abstraction_contiki.c:584] Network socket send called, security set as 1
dtls_prepare_record(): encrypt using TLS_PSK_WITH_AES_128_CCM_8
Post awa process
Resource changed
Running the loop
[DEBUG] [network_abstraction_contiki.c:539] NetworkSocket_Read called, security set as 1
Post awa process
Resource changed
Running the loop
[DEBUG] [network_abstraction_contiki.c:483] Packet from: 17213 17213
[DEBUG] [network_abstraction_contiki.c:539] NetworkSocket_Read called, security set as 0
[DEBUG] [network_abstraction_contiki.c:584] Network socket send called, security set as 0
Post awa process
Resource changed
Running the loop
[DEBUG] [network_abstraction_contiki.c:483] Packet from: 17213 17213
[DEBUG] [network_abstraction_contiki.c:539] NetworkSocket_Read called, security set as 0
[DEBUG] [network_abstraction_contiki.c:584] Network socket send called, security set as 0
Post awa process
Resource changed
Running the loop
[DEBUG] [network_abstraction_contiki.c:539] NetworkSocket_Read called, security set as 0
Post awa process
Resource changed

See #296


recursive_iterator fixed

Directory::recursive_iterator fixed.
The bug was due to a stack underflow.
Close #344.
AGE_ASSERT deadlock fixed.
The bug was due to one mutex.unlock() in excess.
Change std::exit to std::abort (better when we deal with fatal exceptions).
Close #332.

Wouhahou ! First PR @herpec-j ! Welcome in AGE :tada:
I'll check that during the week :smile:

Good job!

Good job !


Bidirectional RNN Argument Issue

Hi,
I am getting the following error while using bidirectional RNN with 1DCNN.
error:
File "build/bdist.linux-x86_64/egg/keras/layers/containers.py", line 68, in add
File "/home/user1/keras-master/seya/seya/layers/recurrent.py", line 55, in set_previous
self.forward.set_previous(layer, connection_map)
TypeError: set_previous() takes exactly 2 arguments (3 given)
My model is:
forward_lstm = LSTM(input_dim=32, output_dim=32, return_sequences=True)
backward_lstm = LSTM(input_dim=32, output_dim=32, return_sequences=True)
brnn = Bidirectional(forward=forward_lstm, backward=backward_lstm, return_sequences=True)
model = Sequential()
model.add(Convolution1D(input_dim=10,
input_length=100,
nb_filter=32,
filter_length=7,
border_mode="valid",
activation="relu",
subsample_length=1))
model.add(MaxPooling1D(pool_length=3, stride=3))
model.add(Dropout(0.2))
model.add(brnn))
model.add(Dropout(0.5))
model.add(Flatten())
model.add(Dense(output_dim=128))
model.add(Activation('relu'))
model.add(Dense(output_dim=1))
model.add(Activation('sigmoid'))

Hi, thanks for the issue @MdAsifKhan!
Keras had a few API changes and set_previous was probably modified.
I'll look at that soon. But if you are able fix the problem, please make us a PR and I'd love to review your contribution.
Best,
-eder

The function 'set_previous' was modified to {def set_previous(self, layer, reset_weights=True)} in Keras,
I just delete the third parameter and it works.

@zzukun cool! would you make a PR?


WIP 🛡 DO NOT MERGE 🛡 Add test to check for password-protected pdf upload

Waiting for investigation before continuing this work.

Closing this PR, as the work was completed in #140


QCL staging Fix case for allowed_teams

See #2287

Manually deployed and tested spawn page works for users in group via admin page

Thanks. Tomorrow I’ll test if it can be removed but wanted to unblock user testing. Particularly as I’m less familiar with the auth internals here.


START PROBLEM

THE APPLICATION STOPS WHILE IT START. THE GAME DOES NOT START. IS THERE A SOLUTION TO THIS? HAVE I BEEN BANNED FOR RUNNING THE BOT?

I can't help you if you don't provide any infomation about it

i think api changed
2024-10-20 14:21:45 | ERROR    | 726 - FOMO_Fennec | Unknown error: Host unreachable


Doc Issue: Wrong description in "SQL connection string" section for Java, JavaScript and Python in the page "Azure SQL bindings for Azure Functions overview" for Azure Function.

This is feedback issue for the following doc. There is no feedback section to create an issue for the page, I create this here directly.
Document:

Azure Service: Azure Functions
Published documentation article: Azure SQL bindings for Azure Functions overview
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-azure-sql?tabs=isolated-process%2Cextensionv4&amp%3Bpivots=programming-language-java&pivots=programming-language-java#samples

Issue:
There is "SQL connection string" section in this page. It describes connection options which are available for Microsoft.Data.SqlClient. This description is correct only for C# or PowerShell because Microsoft.Data.SqlClient can be used in .NET Framework or .NET applications. However, this section is displayed event though either of Java, JavaScript or Python is selected. This causes users to implement the connection options which described in this section in their application and results application to fail.
Request:
Prepare the correct descriptions for Java, JavaScript or Python for "SQL connection string" and make this page to display correct description depending on the selected language.
Additional Information:
For Java or JavaScript, Microsoft JDBC Driver for SQL Server can be used to connect to SQL Server. The following document describes connection string.
https://learn.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-ver16
Note that there is no pooling feature in JDBC driver and users must use a third-party library.
For Python, the third-party driver "pyodbc" with Microsoft ODBC Driver for SQL Server can be used to connect to SQL Server.
https://learn.microsoft.com/en-us/sql/connect/python/pyodbc/python-sql-driver-pyodbc?view=sql-server-ver16
Here is an example of connection string.
https://learn.microsoft.com/en-us/sql/connect/python/pyodbc/step-3-proof-of-concept-connecting-to-sql-using-pyodbc?view=sql-server-ver16#prerequisites

@rikat-ms
Thanks for your feedback! We will investigate and update as appropriate.

The connection string is referenced in the trigger code, whether that be python, java, etc. The reference is to the local.settings.json file which uses the Microsoft.Data.SqlClient library.

@ManoharLakkoju-MSFT  please close this. Thanks.


LinkedIn Icon not coming in Auth Component

Bug report
Describe the bug
I have used Auth as given in one of your GitHub examples, everything working like water flows except  the Linkedin icon is missing.
This is the code.
import { Auth, Card, Typography, Space, Button, Icon, ThemeSupa  } from '@supabase/ui'
--
<Auth
            supabaseClient={supabase}
            providers={['google', 'linkedin', 'github']}
            view={authView}
            appearance={{ theme: ThemeSupa }}
            socialLayout="horizontal"
            socialButtonSize="xlarge"
/>

// and my packeage.json

 "@supabase/auth-helpers-nextjs": "^0.2.8",
 "@supabase/supabase-js": "^1.35.6",
 "@supabase/ui": "^0.36.5",

I checked at this repo where there is no linkedin icon data - https://github.com/supabase/auth-elements/blob/master/src/components/Auth/Icons.tsx
How can I add this without breaking stuff?
Screenshots

System information

OS:  Windows
Browser (if applies)   chrome

I added this in the dependency file to check,  under Auth component > icons file
const linkedin = () => jsxRuntime.jsx("svg", Object.assign({
  width: size,
  "aria-hidden": "true",
  focusable: "false",
  "data-prefix": "fab",
  "data-icon": "linkedin",
  className: "svg-inline--fa fa-linkedin fa-w-16",
  role: "img",
  xmlns: "http://www.w3.org/2000/svg",
  viewBox: "0 0 448 512"
}, {
  children: jsxRuntime.jsx("path", {
    fill: "currentColor",
    d: "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"
  }, void 0)
}), void 0);

But its invoking Hyderation error.

Hey @sahilpopli - perhaps this has already been fixed in the new version of Auth UI.
The auth ui component has moved to github.com/supabase-community/auth-ui
The new NPM package is @supabase/auth-ui-react
You can read the new docs for it here.


chore: release v0.0.10

:robot: I have created a release beep boop
0.0.10 (2023-12-22)
What's Changed

feat(manifest): add support for target-specific dependencies by @coffeebeats in https://github.com/coffeebeats/gdpack/pull/45
chore(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in https://github.com/coffeebeats/gdpack/pull/47
chore(deps): bump actions/download-artifact from 3 to 4 by @dependabot in https://github.com/coffeebeats/gdpack/pull/48
fix(ci): skip format job if triggered by dependabot by @coffeebeats in https://github.com/coffeebeats/gdpack/pull/50
chore(deps): bump anyhow from 1.0.75 to 1.0.76 by @dependabot in https://github.com/coffeebeats/gdpack/pull/49

Full Changelog: https://github.com/coffeebeats/gdpack/compare/v0.0.9...v0.0.10

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/coffeebeats/gdpack/releases/tag/v0.0.10 :sunflower:


[Feat] Metadata discovery filter on valid trust marks

A Metadata discovery won't be executed if there wan't at least a valid and verified trust mark in the entity configuration of the requestor

Done here
https://github.com/peppelinux/spid-cie-oidc-django/commit/2b61e3d214b8a26ed68de5857e37107331e6738c


Light % doesn’t work

Describe The Bug:
Light percentage doesn’t work. The light only works if I add the toggle light, if not it doesn’t turn on/off or change light intensity by using the standard light.
To Reproduce:
Go to home app and update light percentage.
Expected behavior:
Change light %

hello,
Can you give me your homebridge-create-fan version?
Can you give me your fan model?
Do you have any log from homebridge?
Thank you :)

I think the brightness is only compatible with the Create fan model.
Maybe I can provide an option to have toggle light instead of brightness? I know that is not a perfect solution, but it can help.
Or you can contribute to make it work :) ?

Hi,
Yes, I am using a create ceiling fan with light.
The model is: WINDCALM DC 40W Ø132 cm with light and wifi.
homebridge-create-ceiling-fan v0.0.81.
Toddles for fan and light and the percentage for the fan work fine, the only problem is the percentage for the light.

Maybe your model is incompatible with the light brightness.
Can you update with the last version of the plugin v0.0.84.
Do you see logs/errors in your Homebridge interface?
You can use this snippet to catch the key and number that your fan use by using the native application of CREATE:

import TuyAPI from 'tuyapi';

const device = new TuyAPI({
      id: 'bff9ec0ab7910d1oz8trij', // your fan Id
      key: 'E{q~!S7D*9S8DDeP', // your fan key
      version: '3.3',
      issueRefreshOnConnect: true,
    });

await device.find();
await device.connect();

device.on('dp-refresh', (data: any) => console.log(data));
device.on('data', (data: any) => console.log(data));

With the snippet below, play with the native app to catch all the information received (in console.log).

When I update the percentage on HB/homekit I can see it print log:
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan speed 15
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan on true
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan on true
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan speed 49
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan on true
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan on true
[17/07/2023, 15:59:20] [Create Ceiling Fan] Update fan speed 65
[17/07/2023, 15:59:21] [Create Ceiling Fan] Update fan on true
[17/07/2023, 15:59:21] [Create Ceiling Fan] Update fan on true

Same when I use light and fan toggles, however when I use the light % does not print any log.

Ok thanks for your feedbacks, means your fan use another code to change the brightness.


*: fix darwin build

What problem does this PR solve?
Issue Number: ref #6233
Problem Summary:
What is changed and how it works?
*: fix darwin build

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/retest


[Vote], whether to support freemind

Freemind is only an open-source mind map, and its format is .mm it is XML content.
and also the kityminder provides the Freemind protocol
What we know so far is that the Feishu export mind map is in the .mm format.
Welcome to add or make suggestions.

确实是如此，kitymind-core 项目是基于 json 来做解析的，其他的格式被称作本地格式，可以注册新的协议，并将数据转为json，详细的请参考导入导出功能设计


open source compliance: minimum files.

This is about the required and recommended files for open-source repos.

[x] LICENSE
[x] CONTRIBUTING.md
[x] CODE_OF_CONDUCT.md
[x] SECURITY.md
[x] SUPPORT.md
[x] ISSUE_TEMPLATE.md
[x] PULL_REQUEST_TEMPLATE.md

~- [ ] CHANGELOG.md~
~- [ ] PRIVACY.txt~
Decided to not touch "PRIVACY.txt".
CHANGELOG.md will be added with the next major release.

~Remains is to update README.md to accommodate latest changes and follow open-source compliance guidelines.~

[x] README.md

Progress: Remaining is the copyright headers.
Also will defer until the action that checks for copyright headers is completed.


Run:api not working for POST method

When I am trying to hit my POST method request, I am getting an unexpected error but the syntax for the API file is as defined in the documentation. Below I am attaching my API code.
let index = {};

index.name = 'Login User';

index.uri = '/auth/login';

index.method = 'POST';

index.body = {
  email<EMAIL_ADDRESS>  password: '123456'
};

index.timeout = 10 * 1000;

index.headers = {
  'Content-Type': 'application/json'
};

index.expected = {
  headers: {
    'Content-Type': 'application/json; charset=utf-8'
  },

  body: {
    data: {
      id: 'number',
      firstName: 'string',
      email: 'string',
      lastName: 'string',
      userType: 'string',
      email: 'string',
      lastLoggedIn: 'string',
      jwtToken: 'string'
    },
    success: 'boolean',
    message: 'string'
  }
};

module.exports = index;

And I am receiving below-mentioned node error on my CLI once the command has successfully exited.
 UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
    at helpers.buildRequest (/usr/local/lib/node_modules/ga-wdio/libraries/helpers/http/api.js:7:43)
    at Object.sync.start (/usr/local/lib/node_modules/ga-wdio/libraries/run/api/sync.js:12:27)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:17379) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:17379) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```

@GeekRishabh I have fixed the issues you've mentioned in our new release ie. v1.3.3.


Process Ended. Code: 1, Signal: null

Seam to be stuck in a loop with homebridge. Keep getting the following:
[homebridge-kia-connect] Child bridge process ended
Process Ended. Code: 1, Signal: null
{
"cars": [
{
"name": "Niro",
"targetTemperature": "70",
"vin": "xxxx",
"refreshInterval": 3600000
}
],
"email": "xxxx",
"password": "xxxx",
"_bridge": {
"username": "xxxx",
"port": 53154
},
"platform": "KiaConnect"
}
[7/16/2023, 12:55:21 PM] Homebridge v1.6.1 (HAP v0.11.1) (homebridge-kia-connect) is running on port 53154.
TypeError: Cannot read properties of undefined (reading 'vehicleSummary')
at /usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:274:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.Do (/usr/local/lib/node_modules/homebridge-kia-connect/node_modules/node-singleflight/lib/do.js:30:12)
at KiaConnect.logIn (/usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:251:5)
at KiaConnect.vehicleInfo (/usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:191:5)
at Car.refresh (/usr/local/lib/node_modules/homebridge-kia-connect/src/platformAccessory.ts:258:17)
[7/16/2023, 12:55:21 PM] [homebridge-kia-connect] Child bridge process ended
[7/16/2023, 12:55:21 PM] [homebridge-kia-connect] Process Ended. Code: 1, Signal: null
[7/16/2023, 12:55:28 PM] [homebridge-kia-connect] Restarting Process...
[7/16/2023, 12:55:29 PM] [homebridge-kia-connect] Launched child bridge with PID 57766
[7/16/2023, 12:55:29 PM] Registering platform 'homebridge-kia-connect.KiaConnect'
[7/16/2023, 12:55:29 PM] [homebridge-kia-connect] Loaded homebridge-kia-connect v1.2.0 child bridge successfully
[7/16/2023, 12:55:29 PM] Loaded 1 cached accessories from cachedAccessories.xxxxx.
[7/16/2023, 12:55:29 PM] [homebridge-kia-connect] Loading accessory from cache: xxxx
[7/16/2023, 12:55:29 PM] [homebridge-kia-connect] Restoring existing accessory from cache: xxxx
[7/16/2023, 12:55:29 PM] [homebridge-kia-connect] Starting control loop { refreshInterval: 3600000, vin: 'xxxx' }
[7/16/2023, 12:55:29 PM] Homebridge v1.6.1 (HAP v0.11.1) (homebridge-kia-connect) is running on port 53154.
TypeError: Cannot read properties of undefined (reading 'vehicleSummary')
at /usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:274:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.Do (/usr/local/lib/node_modules/homebridge-kia-connect/node_modules/node-singleflight/lib/do.js:30:12)
at KiaConnect.logIn (/usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:251:5)
at KiaConnect.vehicleInfo (/usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:191:5)
at Car.refresh (/usr/local/lib/node_modules/homebridge-kia-connect/src/platformAccessory.ts:258:17)
[7/16/2023, 12:55:30 PM] [homebridge-kia-connect] Child bridge process ended
[7/16/2023, 12:55:30 PM] [homebridge-kia-connect] Process Ended. Code: 1, Signal: null

Same error here... :( What is the solution?
Thanks!

Same here. here's my log:
TypeError: Cannot read properties of undefined (reading 'vehicleSummary')     at /usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:273:20     at processTicksAndRejections (node:internal/process/task_queues:95:5)     at Object.Do (/usr/local/lib/node_modules/homebridge-kia-connect/node_modules/node-singleflight/lib/do.js:30:12)     at KiaConnect.logIn (/usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:250:5)     at KiaConnect.vehicleInfo (/usr/local/lib/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:191:5)     at Car.refresh (/usr/local/lib/node_modules/homebridge-kia-connect/src/platformAccessory.ts:88:17)
I read it may be because we are in Canada?

hi!
same here.
I live in france.

@Edd28 @gitMarcus unfortunately I have only been able to test this plugin in the US. I'll add this as a TODO in the README to see if anyone from other locales is willing to pitch in and debug this.


Add whale_transactions API

Whale transactions (account, action, amount, to address, TX link)
I don't think that bonding with USD is a good idea. Let's define a whale tx as tx with 0.001% of token supply?

Join with select * from spacebox.message
Remove tx_type, use message.type for it, user message.value as details

@bro-n-bro-2
ready to check

add avatars of validators


Feature Request: Want to add Search functionality

I want to add search functionality to the search bar based on names in the filter and would filter the data. Currently its not working,please assign this issue to me under GSSoc 22

Okay,I follow the template and open the issue


Media Overlay does not play/advance properly for Japanese (RTL) EPUB

This issue is a Bug
Related issue(s) and/or pull request(s)
None
Expected Behaviour
Page should advance when Media Overlay plays on a new page.
Observed behaviour
Stays on the same page even though speaking and highlighting have moved to a new page.
Steps to reproduce

Open the sample EPUB, here
Start it playing
Wait til highlighting and speaking reach the end of the page
Should turn the page, but it doesn't

Test file(s)
Sample file is here.
Product
Choose one of the following (and delete the others)

Readium Chrome extension

latest official version available from the Chrome Web Store, 2.23.0 on OSX 10.11

Additional information
iBooks shows the same (incorrect) behaviour

I am able to reproduce this bug. Another test is to turn a page while Media Overlay playback is active: the audio position is not reset to the first visible text fragment in the page. Instead, playback restarts at the beginning of the spine item.
This sounds like a CFI regression bug. In my tests, Media Overlays playback works fine with LTR (Left To Right) HWM (Horizontal Writing Mode) HTML documents.

CC @kamata

Thanks !


Update mypy version

mypy v0.812 was throwing errors when I ran it locally because one of its dependencies failed to build. Updating to mypy v0.960 resolved the issue for me.

Would you mind also running pre-commit autoupdate? Thanks! 😄


reversed logic for enabling thread configurations

Default build for cc2650 is now MTD only.

fixes (#1375)

Codecov Report

Merging #1376 into master will decrease coverage by -0.08%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1376      +/-   ##
=========================================
- Coverage   70.17%   70.1%   -0.08%
=========================================
  Files         168     168
  Lines       25218   25218
  Branches     3180    3180
=========================================
- Hits        17697   17678      -19
- Misses       6188    6204      +16
- Partials     1333    1336       +3

Impacted Files
Coverage Δ

src/core/thread/lowpan.hpp
86.84% <ø> (-13.16%)
:x:

src/core/thread/lowpan.cpp
92.29% <ø> (-1.44%)
:x:

src/core/thread/mle_router.cpp
79.48% <ø> (-0.7%)
:x:

src/core/thread/network_data_leader_ftd.cpp
68.23% <ø> (+0.23%)
:white_check_mark:

examples/platforms/posix/radio.c
78.9% <ø> (+0.42%)
:white_check_mark:

src/core/mac/mac.cpp
78.13% <ø> (+0.45%)
:white_check_mark:

src/core/thread/network_data.cpp
88.3% <ø> (+0.75%)
:white_check_mark:

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 d8ca7ac...5e08735. Read the comment docs.


Pi Hole Monitoring dashboard shows N/A for 5 fields

All other fields are working fine and shows correct data. am i doing something wrong here?

You need to be able to view the Pi-Hole admin page at http://pi.hole/admin.

I think this may be your issue. If the device running this cannot reach pi hole via the link above, then it cannot generate those graphs.

I am able to view both pi.hole/admin and via <IP_ADDRESS>:3000. Not sure what's wrong.

You may need to enable the api in pi hole. http://pi.hole/admin/api.php

{"domains_being_blocked":972468,"dns_queries_today":29048,"ads_blocked_today":12059,"ads_percentage_today":41.514046,"unique_domains":2292,"queries_forwarded":14395,"queries_cached":1917,"clients_ever_seen":2,"unique_clients":2,"dns_queries_all_types":29048,"reply_NODATA":127,"reply_NXDOMAIN":48,"reply_CNAME":1898,"reply_IP":6057,"privacy_level":0,"status":"enabled","gravity_last_updated":{"file_exists":true,"absolute":1601845258,"relative":{"days":0,"hours":3,"minutes":41}}}

This means that it's active right? 🤔

Correct. That looks good. It could also be the graphs in grafana. They display data over time. If it hasn't been running for long, then it may take some time for enough data to populate.

It's been active since 6-8 hours now. I'll wait for some more time then and report back. Thanks.

Ok. Make sure grafana isn't set to 24h in the top right. If it hasn't been 24 hours yet, then that could be it.

It is set to 30seconds btw.
Oh wait, is it because I've enabled log2ram + zram?

That's a possibility. IIRC, log2ram only writes once every 24 hours to disk.

That's a possibility. IIRC, log2ram only writes once every 24 hours to disk.

Yep. Thanks again.

After 2 days it's the same, unfortunately. But I guess it is because of the logs being logged in RAM.


[Improvement to avoid ban]. Create small random change of position to resume the Bot after some time off

When you stop the Bot (by more than X hours for example) does not return the exact same position. It is strange to stay a few hours without running the bot and it resumes in the same previous position.

I agree, but image that you stay at home with the phone turned off over night. Then the position would be the same the next morning. Maybe it's just some GPS noise at the logon that should be added. It would also be strange if you "never" had the  same position on resuming ;-)

Think some adjustable param for GPS signal noise would be nice. There is already random_lat_long_delta() now but not a very good config for different range.

@NatNew0 @surewhynotmon If Bot starts in the same position few times, I agree with you, It could be my home, for example (even so could have noise before sending the first position in the "location" field). But I say about when we use the field "location_cache" in this case will always be the previous position where Bot stopped (even after hours off). In this case, it does not seem to be my home, as this position depends on where the Bot stopped the last time.

@kustavo what you are suggesting sounds like adding a new spawn_points.json config file that the bot can randomly select from to spawn. (A delta to that location can be random).
It sounds like location_cache should be part of a consolidated Spawn Task that covers where the bot spawns at the start. It can be random from a config, home at a fixed point, last location, or a particular gps location. There isn't such a spawn worker atm.

Sometimes its can occurs, but always it seems unnatural

I think it could start in the near the last location location, like a stronger noise, That would be enough

#3912 should be able to meet your needs, this is done all the time, so standing still will still have the same effect.
Please advise if this solves your request


Update Android基础面试题.md

httpclient已经depreciated, 无需介绍

Thank your PR，对于新手来说可以了解下HttpClient是为何deprecated的，所依还是保留为好哦~

不客气, 仔细查了一下, 原来还是历史问题.

There is nothing bad with using Apache's modules. Google just made a big mess of it, because they failed to make a successful fork. Google and Apache integration was supervised by Jesse Wilson - he worked in Google, messed up everything and then made his own library (OkHttp) during work in square.

Reference:
https://stackoverflow.com/questions/29294479/android-deprecated-apache-module-httpclient-httpresponse-etc


[/reply] Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'unsafe')\n    at window.WWebJS.sendMessage

Hello,
We are sending following request to /reply end point and it throws 500 exception and does not send a message.
JSON
{"chatId":"972547293074@c.us","session":"60107","type":"text","text":"\u05e9\u05dc\u05d5\u05dd \u05d5\u05d1\u05e8\u05db\u05d4.  \u05e0\u05d9\u05ea\u05df \u05dc\u05e7\u05d1\u05d5\u05e2 \u05d1\u05d8\u05dc\u05e4\u05d5\u05df: 026426583. \u05d0\u05d5 \u05d1\u05de\u05d9\u05d9\u05dc<EMAIL_ADDRESS>\u05e8\u05e4\u05d5\u05d0\u05d4<EMAIL_ADDRESS>
Response
{"statusCode":500,"timestamp":"2023-08-01T12:31:30.901Z","exception":{"stack":"Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'unsafe')\n    at window.WWebJS.sendMessage (__puppeteer_evaluation_script__:39:67)\n    at __puppeteer_evaluation_script__:10:45\n    at ExecutionContext._evaluateInternal (/app/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ExecutionContext.evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)\n    at async Client.sendMessage (/app/node_modules/whatsapp-web.js/src/Client.js:815:28)\n    at async /app/node_modules/@nestjs/core/router/router-execution-context.js:46:28\n    at async /app/node_modules/@nestjs/core/router/router-proxy.js:9:17","message":"Evaluation failed: TypeError: Cannot read properties of undefined (reading 'unsafe')\n    at window.WWebJS.sendMessage (__puppeteer_evaluation_script__:39:67)\n    at __puppeteer_evaluation_script__:10:45","name":"Error"},"request":{"path":"/api/reply","method":"POST","body":{"chatId":"972547293074@c.us","session":"60107","type":"text","text":"שלום וברכה.  ניתן לקבוע בטלפון: 026426583. או במייל<EMAIL_ADDRESS>רפואה שלימה","reply_to":"false_972547293074@c.us_3A58812051D368F25110"},"query":{}},"version":{"version":"2023.7.16","tier":"PLUS","browser":"/usr/bin/chromium"}}

This happens to normal message also. not only /reply end point.
Please fix it, it is happening with several instances now.

Hm, is it happening yet? There was huge update in web (whatsapp official one) and the engine, I see the issue is here for a year...


NATS jetstream output plugin

Is your feature request related to a problem? Please describe.
Hi, I have some problem with fluentd output plugins for nats. Actually i want to use fluentd as a publisher for NATS jetstream, but it seems that we don’t have any nats output plugin in fluentd. What can i do for this problem?
Describe the solution you'd like
Can we have a NATs Jetstream output plugin in fluentd? That's how we can use Fluentd as publisher for NATs
Describe alternatives you've considered
Something like that:
<match fluent**>
@type natsJetstream
brokers <broker1_host>:<broker1_port>,<broker2_host>:<broker2_port>
user nats
password nats
subjects fluent.>,fluent2.>
ssl true/false
.
.
.

Additional context
No response

I'm not tested yet, but it seems there is a plugin. Does it work for you?
https://github.com/hc-chien/fluent-plugin-nats-streaming

Hi, thanks alot, i'll check it

I'm not sure but, It may be caused by periodic sleep (5) intervals.
https://github.com/hc-chien/fluent-plugin-nats-streaming/blob/master/lib/fluent/plugin/in_nats-streaming.rb#L127
https://github.com/hc-chien/fluent-plugin-nats-streaming/blob/master/lib/fluent/plugin/in_nats-streaming.rb#L79
Anyway, I'll recommend you to raise it as an issue at https://github.com/hc-chien/fluent-plugin-nats-streaming/, because it has nothing to do with fluentd itself.


Update resources.tsx

I created an article for absolute beginners. Adding it in the file. Please have a look.
Thanks.

Thanks.

Thanks.


_medidata is not working for ''xml" files what could be the possible solution for that

[Enter feedback here]

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

ID: 15da48de-9b2a-85cb-8757-05c3c1d5d467
Version Independent ID: 15da48de-9b2a-85cb-8757-05c3c1d5d467
Content: File metadata column - Azure Databricks
Content Source: databricks/ingestion/file-metadata-column.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@rohit-warchali
Thanks for your feedback! We will investigate and update as appropriate.

@rohit-warchali
If Medidata is not working for XML files, there could be a few possible solutions to this problem. One solution could be to use a different tool or library that is specifically designed to work with XML files. Another solution could be to convert the XML files to a different format that Medidata can work with, such as CSV or JSON.
In terms of the article you provided, it discusses how to add a file metadata column to a DataFrame in Databricks. While this may be useful for organizing and analyzing data, it may not directly address the issue of Medidata not working with XML files.
If you could provide more information about the specific problem you are encountering with Medidata and XML files,
For an issue like this, I'd recommend you create a support ticket since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.

@rohit-warchali
We are going to close this thread.if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


[3pts] Create users controller

Create controller
Create methods
Create allowed params

Created API users Controller
Created API Users Model
The Users can be generated in JSON format and can be called from the Thunder Client
The user can be delete and update from the Thunder Client


Competitive Programming and DSA: Greedy Algorithm to  find minimum and maximum product subset of an Array

Description
Description
I want to make a documentation on a Simple Greedy Algorithm program that looks for both maximum and minimum product subset in an array.
Domain
DSA
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign


Added Windows 10 PDF book

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Hey, and welcome to free programming books! :wave:
It looks like you've accidentally added some extra lines you didn't mean to (Shell Programming) could you remove them?
Regarding the Windows 10 book, it looks like isn't an official source for the book.
The resource you linked can be officially found here:
https://www.microsoftpressstore.com/store/windows-10-step-by-step-9780735697959
However, both what you've linked, and what I've found above are just to the sample of the book (128 pages), not the full book (624 pages). It's only a few pages from each chapter, for example after page 95, comes page 345.

Sure
On Thu, 29 Oct 2020, 6:44 pm Seth<EMAIL_ADDRESS>wrote:

Hey, and welcome to free programming books! 👋
It looks like you've accidentally added some extra lines you didn't mean
to (Shell Programming) could you remove them?
Regarding the Windows 10 book, it looks like isn't an official source for
the book.
The resource you linked can be officially found here:
https://www.microsoftpressstore.com/store/windows-10-step-by-step-9780735697959
However, both what you've linked, and what I've found above are just to
the sample of the book (128 pages), not the full book (624 pages). It's
only a few pages from each chapter, for example after page 95, comes page
345.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/4876#issuecomment-718743846,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMVM2ISUD6SFET5JKAL7FC3SNFTBVANCNFSM4TDV6TOA
.


Add redirects

We still have business cars out there with /hungry on them. Also, we need to understand how the redirects work for the future, too.

Added the gatsby-plugin-netlify plugin, and the one redirect node that we're looking for.


Hover Effects on Blog Cards

Description
hover effects to make blog cards more interactive, Animate the appearance of text when hovering over the blog section to make it more dynamic
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@vararaghu002 As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.

please ⭐ our repo

Join our official Discord server & discuss about new features and bugs raise issue & PR accordingly.

And also follow us on Linkedin


[Botkit][Twilio] Add README.md file to Twilio sample

Proposed Changes
Added README.md file with instructions to connect a bot to Twilio and run the sample bot.

In the steps to test the sample use numbered bullets instead of just bullets points.

In the steps to test the sample use numbered bullets instead of just bullets points.

Done. Thanks!


Getting page ranges from Scopus does not work properly

Describe the bug
In DSpace-CRIS 2022.03.00 it's not possible to take page ranges from Scopus into the approriate fields on DSpace side. There is a Contributor, that is supposed to do that, but it's not clear, how it can be used and everything I tried yet was not successfull at all.
To Reproduce
You may use Scopus ID 2-s2.0-85144600378 for testing this.
This is the configuration I have been using in config/spring/api/scopus-integration.xml:
<entry key-ref="scopusPageRangeContrib" value-ref="scopusPageRangeContrib"/>
[...]
    <bean id="scopusPageRangeContrib" class="org.dspace.importer.external.metadatamapping.contributor.PageRangeXPathMetadataContributor">
        <property name="startPageMetadata" ref="scopus.startPage"/>
        <property name="endPageMetadata" ref="scopus.endPage"/>
        <property name="query" value="prism:pageRange"/>
        <property name="prefixToNamespaceMapping" ref="scopusPrism"/>
    </bean>
    <bean id="scopus.startPage" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.startPage"/>
    </bean>

    <bean id="scopus.endPage" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.endPage"/>
    </bean>

Doing that results in a error 500 once the backend is restarted. The error comes due to the missing field definition for scopusPageRangeContrib (as this is not a MetadataFieldConfig, but rather a PageRangeXPathMetadataContributor).
When I change that with something like this:
        <entry key-ref="scopus.pages" value-ref="scopusPageRangeContrib"/>
[...]
    <bean id="scopusPageRangeContrib" class="org.dspace.importer.external.metadatamapping.contributor.PageRangeXPathMetadataContributor">
        <property name="field" ref="scopus.pages"/>
        <property name="startPageMetadata" ref="scopus.startPage"/>
        <property name="endPageMetadata" ref="scopus.endPage"/>
        <property name="query" value="prism:pageRange"/>
        <property name="prefixToNamespaceMapping" ref="scopusPrism"/>
    </bean>
    <bean id="scopus.startPage" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.startPage"/>
    </bean>

    <bean id="scopus.endPage" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.endPage"/>
    </bean>

    <bean id="scopus.pages" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.pages"/>
    </bean>

This is not causing a 500 error anymore, but it's also not working properly: I do not see, that the page range is set into the appropriate fields, and neither the complete range is imported to oaire.citation.pages, as far as I saw that.
Expected behavior
I would expect the Contributor to set the values into the appropriate fields oaire.citation.startPage and oaire.citation.endPage.
Related work
I am not aware of related tickets or works to this.

Hello @olli-gold , I used this configuration
<bean id="scopusPageRangeContrib" class="org.dspace.importer.external.metadatamapping.contributor.PageRangeXPathMetadataContributor">
        <property name="field" ref="scopus.startPage"/>
        <property name="startPageMetadata" ref="scopus.startPage"/>
        <property name="endPageMetadata" ref="scopus.endPage"/>
        <property name="query" value="pageRange"/>
        <property name="prefixToNamespaceMapping" ref="scopusPrism"/>
    </bean>

    <bean id="scopus.startPage" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.startPage"/>
    </bean>

    <bean id="scopus.endPage" class="org.dspace.importer.external.metadatamapping.MetadataFieldConfig">
        <constructor-arg value="oaire.citation.endPage"/>
    </bean>

Quite similar to yours and was able to get pagination metadata populated. Tried with the same id you reported in this issue, this was the query performed on Scopus
`https://api.elsevier.com/content/search/scopus?query=EID(2-s2.0-85144600378)&start=0&count=25`

Could you test the same query with your Scopus API key and check if <pageRange> node is part of the response?

Thank you

Thank you, @corrad82-4s - I compared your configuration to mine and got it working now. My failure was in the configuration setting <property name="field" ref="scopus.startPage"/>. Using a different name there (for instance <property name="field" ref="scopus.pages"/>) will not work, even if it's referenced correctly. So, I am closing this ticket, as it was obviously just a matter of configuration. However, I would propose to put this configuration snippet into the default configuration file of DSpace-CRIS as it's probably not self-explaining...


⚠ Quirk Club Argentina (Payment Gateway) has degraded performance

In 879cc1e, Quirk Club Argentina (Payment Gateway) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/payment-gateway-ml) experienced degraded performance:

HTTP code: 200
Response time: 7314 ms

Resolved: Quirk Club Argentina (Payment Gateway) performance has improved in c5591bf.


Add command to clean up non-preserved scores

Note that cancellation doesn't work because dapper. Will probably want to consider migrating to something that does work.
I'm not aiming for efficiency here because it doesn't need to be that efficient. Currently running on production to test (is cleaning around 500 scores per second).
Addresses part of https://github.com/ppy/osu-queue-score-statistics/issues/141 (deleting of scores which are already in a non-preserved state). Remaining piece is to downgrade preserved scores to non-preserved when they can be.

 Not sure if ProxySQL or something else:
Unhandled exception. System.IO.EndOfStreamException: Expected to read 692 payload bytes but only received 477.


remove Liefery and leave note for developers

Liefery changed their offering, but it's not compatible with our services any more. Therefore we're removing it and leaving a note for developers.

ready to merge


Fails to build libtool

Hi,
python3 setup.py develop --user fails at building with the following output. Any hints? Thanks
[  0%] Performing build step for 'libmypaint'
Making all in .
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/json-c -D_POSIX_C_SOURCE=200809L -g -O2 -MT mypaint-brush.lo -MD -MP -MF .deps/mypaint-brush.Tpo -c mypaint-brush.c  -fPIC -DPIC -o .libs/mypaint-brush.o
mypaint-brush.c: In function 'mypaint_brush_new':
mypaint-brush.c:133:26: error: 'FALSE' undeclared (first use in this function)
     self->print_inputs = FALSE;
                          ^
mypaint-brush.c:133:26: note: each undeclared identifier is reported only once for each function it appears in
mypaint-brush.c:142:29: error: 'TRUE' undeclared (first use in this function)
     self->reset_requested = TRUE;
                             ^
mypaint-brush.c: In function 'mypaint_brush_reset':
mypaint-brush.c:225:29: error: 'TRUE' undeclared (first use in this function)
     self->reset_requested = TRUE;
                             ^
mypaint-brush.c: In function 'mypaint_brush_stroke_to':
mypaint-brush.c:961:31: error: 'FALSE' undeclared (first use in this function)
       self->reset_requested = FALSE;
                               ^
mypaint-brush.c:980:14: error: 'TRUE' undeclared (first use in this function)
       return TRUE;
              ^
mypaint-brush.c: In function 'obj_get':
mypaint-brush.c:1100:44: error: 'TRUE' undeclared (first use in this function)
         && (obj_out ? (*obj_out != NULL) : TRUE);
                                            ^
mypaint-brush.c: In function 'update_brush_setting_from_json_object':
mypaint-brush.c:1120:16: error: 'FALSE' undeclared (first use in this function)
         return FALSE;
                ^
mypaint-brush.c:1167:12: error: 'TRUE' undeclared (first use in this function)
     return TRUE;
            ^
mypaint-brush.c: In function 'update_brush_from_json_object':
mypaint-brush.c:1177:16: error: 'FALSE' undeclared (first use in this function)
         return FALSE;
                ^
mypaint-brush.c:1193:28: error: 'TRUE' undeclared (first use in this function)
     gboolean updated_all = TRUE;
                            ^
mypaint-brush.c: In function 'mypaint_brush_from_string':
mypaint-brush.c:1227:16: error: 'FALSE' undeclared (first use in this function)
         return FALSE;
                ^
Makefile:724: recipe for target 'mypaint-brush.lo' failed
make[5]: *** [mypaint-brush.lo] Error 1
Makefile:834: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:592: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/libmypaint.dir/build.make:114: recipe for target 'libmypaint-prefix/src/libmypaint-stamp/libmypaint-build' failed
make[2]: *** [libmypaint-prefix/src/libmypaint-stamp/libmypaint-build] Error 2
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/libmypaint.dir/all' failed
make[1]: *** [CMakeFiles/libmypaint.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "setup.py", line 97, in <module>
    "build_ext": CMakeBuildExt,
  File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/develop.py", line 38, in run
    self.install_for_development()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/develop.py", line 140, in install_for_development
    self.run_command('build_ext')
  File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "setup.py", line 44, in run
    self.build_extension(ext)
  File "setup.py", line 48, in build_extension
    self.build_cmake(ext)
  File "setup.py", line 73, in build_cmake
    cwd=self.build_temp)
  File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release']' returned non-zero exit status 2.

same problem here

Not sure why this happens but maybe this thread could help (they discuss a very similar problem): https://www.linuxquestions.org/questions/slackware-14/libmypaint-on-slackware-current-4175622706

I added a link to a pre-built Docker image to README. This should allow running the agent on any machine.


Automate the getting started process

There are a handful of complex, conditional steps people have to jump through before being able to work with our codebase. This attempts to automate them all using make, including starting boot2docker (if it's installed; otherwise we assume it's unnecessary), and means we can simplify the process of working with our code.

@matharden @marcofucci What d'you guys think of this? There are a few other things I'd like to add to it (notably, running tests for both Python and Javascript), so don't merge just yet…

:+1: if that helps devs it's fine, I don't use docker-compose that so can't comment on it.
I guess we add it and see if people like it?

I think this adds enough value as-is to be merged. @matharden waddya think? Anything need changing/not clear?

I think that's much easier to run. Nice work!

@matharden @marcofucci I'm pretty sure we shouldn't do 03be1e9, but have a look and let me know if you think it's as crazy as I do…

After discussion with @marcofucci, I've rolled back so we're not including 03be1e9 now. It's an interesting diversion, but has too many unexpected side effects.


Error when subscribing to an API stream over TLS

Try:

$ grpcurl api-20.spacemesh.io:443 spacemesh.v1.MeshService.LayerStream

Result:
ERROR:
  Code: Unavailable
  Message: Gateway Timeout: HTTP status code 504; transport: received the unexpected content-type "text/html"

Try again - it now works as expected and the data is streamed to console.

So I suspect it is a configuration issue and related to TLS as this is not happening when connecting insecurely to localhost.
@valar999

Looks like we have timeout in grpcurl itself. Connection closing has been initiated from client.
$ grpcurl api-20.spacemesh.io:443 spacemesh.v1.MeshService.LayerStream
ERROR:
  Code: Unavailable
  Message: Gateway Timeout: HTTP status code 504; transport: received the unexpected content-type "text/html"

01:29:07.688703 IP <IP_ADDRESS>.443 > <IP_ADDRESS>.64916: Flags [P.], seq 9961:10152, ack 1008, win 338, options [nop,nop,TS val 411138374 ecr 525759046], length 191
01:29:07.688843 IP <IP_ADDRESS>.64916 > <IP_ADDRESS>.443: Flags [.], ack 9961, win 2045, options [nop,nop,TS val 525819234 ecr 411138283], length 0
01:29:07.688846 IP <IP_ADDRESS>.64916 > <IP_ADDRESS>.443: Flags [.], ack 10152, win 2042, options [nop,nop,TS val 525819234 ecr 411138283], length 0
01:29:07.688847 IP <IP_ADDRESS>.64916 > <IP_ADDRESS>.443: Flags [.], ack 10152, win 2042, options [nop,nop,TS val 525819234 ecr 411138374,nop,nop,sack 1 {9961:10152}], length 0
01:29:07.689412 IP <IP_ADDRESS>.64916 > <IP_ADDRESS>.443: Flags [P.], seq 1008:1073, ack 10152, win 2048, options [nop,nop,TS val 525819234 ecr 411138374], length 65
01:29:07.705914 IP <IP_ADDRESS>.64916 > <IP_ADDRESS>.443: Flags [F.], seq 1073, ack 10152, win 2048, options [nop,nop,TS val 525819251 ecr 411138374], length 0

We need to specify recommended client timeout and other settings for consuming grpc streams. This important for both smapp and cliwallet. lane is right and this issue should be moved to go-sm

Connection closing has been initiated from client.

This is not a truth at least at the moment.
I dig it a little bit using grpcurl and Wireshark to sniff the traffic.
Fortunately grpcurl tool supports SSLKEYLOGFILE so Wireshark can sniff encoded traffic. To do so you just need to set env variable export SSLKEYLOGFILE=/some/path/keylog.txt in the terminal session before calling grpcurl and then specify this file in Wireshark settings "Protocols > TLS".
So, how to reproduce and ensure that the client don't do anything wrong:
grpcurl -d '{ "transactionId": [{ "id": "MHhiN2ZjYTY4ZTM5OGQ5YjJmNTU5NGQyMDYyYTg2ZDJlNzQzNzRhNTkyNmU5MGIxZmVjZjQ3ZWY3NTY4Y2FkNWQ4" }] }' api-devnet.spacemesh.io:443 spacemesh.v1.TransactionService.TransactionsStateStream

(Looking ahead, I can tell that it works the same with -keealive-time 5 and -max-time 180 options)
And what I got in the Wireshark:
No	Time	From	To	Protocol	Len	Info	Comment
...
/// SEND REQUEST
154	2.354323	<IP_ADDRESS>	<IP_ADDRESS>	HTTP2	214	HEADERS[1]: POST /grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo
155	2.355592	<IP_ADDRESS>	<IP_ADDRESS>	GRPC	135	DATA[1] (GRPC) (PROTOBUF)
...

/// SERVER RESPONSES WITH 504
5477	62.653179	<IP_ADDRESS>	<IP_ADDRESS>	HTTP2	199	RST_STREAM[1], HEADERS[3]: 504 Gateway Time-out
5478	62.653184	<IP_ADDRESS>	<IP_ADDRESS>	HTTP2	257	DATA[3] (text/html)
...
/// AND CLIENT SENDS RST_STREAM 3
5480	62.653633	<IP_ADDRESS>	<IP_ADDRESS>	HTTP2	131	RST_STREAM[3], WINDOW_UPDATE[0], PING[0]

I left only related things, but you can download entire logs
I've already found some issues in the internet related to nginx proxy timeout, but didn't found a solution without timeout at all 🤔
Without nginx in the middle (running on the local node) Streams works well.
So, we need to handle it to make Smapp works well in Wallet only mode.

Pending @brusherru to test it again.

@moshababo @narayanprusty I can confirm that right now it is working pretty well.
However, from time to time (but always I had to wait a really long) TIMEOUT error occurs on Streams. But I didn't find out the way to reproduce it or to determine why it happens (it has different intervals). So I propose to postpone this thing for the "better times" and do not stuck on it.
To avoid experiencing a stuck state of Smapp in Wallet Only mode I added a feature (which is required anyway) that will restart GRPC streams in case of some errors.


[REQUEST] Benchmark/improve performance of GTFS entity enums

Is your feature request related to a problem? Please describe.
Yhis feature is linked to the general idea of optimizing the validator for performance.
Describe the solution you'd like
This code https://github.com/MobilityData/gtfs-validator/blob/cd453761ef60a7d6c7bdc6ed5dd07d65ca31c1f6/domain/src/main/java/org/mobilitydata/gtfsvalidator/domain/entity/stops/WheelchairBoarding.java#L36
could be replaced by a switch statement.
Additional context
https://github.com/MobilityData/gtfs-validator/pull/44#discussion_r388938144

This issue applies to all enums for GTFS entities - see org.mobilitydata.gtfsvalidator.domain.entity package.


Decouple testhelper module from annotationprocessor

Testhelper can be internally used for tests if internal dependencies to annotationprocessor module are removed

unit tests now are using the testhelper module.


Enhacement: Support Natron

Natron: An OSS VFX software, just like Nuke
natron.fr

This has already been requested in #18. It will get done...eventually.

In fact, I already have most of it done here:
https://github.com/scribblemaniac/RenderChan/tree/natron
I can't remember what part wasn't working (probably handling multiple output nodes), but it may suffice for your purposes.

@scribblemaniac Maybe it worts to merge it already. what do you think?

Probably not. I'm sure I had a good reason for not merging it before. Unpredictable behavior may be worse than no behavior.
I'll try and figure out the current state of that branch when I get a chance, but it could be a while. There are a lot of things I still want to do for this project, I've just been way too busy.

@scribblemaniac I can perfectly understand that. No problem, let's keep that unmerged for now. ^__^


App window does not resize correctly when moving from one display resolution to another

When moving from one DPI display resolution (eg, laptop undocked) to another DIP display resolution (eg, laptop docked), the app window does not resize correctly.
There also is no way I've found so far to force the app to resize. I've tried minimizing to the task tray, fully closing/exiting and reopening the app, restarting the graphics (ctrl+shift+win+b), enabling the native title bar in the app, and dragging the app back to the prior display (ie, dragging the app back from the docked screen which is bigger to the smaller laptop screen).
I assume a reboot will fix the issue, but haven't tried that yet. (Will update when I do.)
My guess is you can fix this by having the app re-read the DPI scale upon a restore or at least on startup.
See screenshots attached.

OS is Windows 10 Pro 64bit 21H2 built 19044.1865
Pomatez v 1.1.0
Installed with Windows installer

Hey, we are currently exploring moving to another framework and will add DPI checks to the list of things to make sure to check out while making these edits.
I'll label this as a bug and make sure to keep an eye on it!

Not sure if same problem (because Timer tab seems fine in my case) but the Task List is missing the right part and I cannot scroll there…


set/2 : Pre parse/sort options to prevent wrong date creation

Steps to reproduce
iex(2)> date = ~D[2023-03-31]
~D[2023-03-31]
iex(3)> time =  ~N[2023-04-03 13:30:00]
~N[2023-04-03 13:30:00]
iex(4)> Timex.set(time, day: date.day, month: date.month, year: date.year)
~N[2023-03-30 13:30:00]
iex(5)> Timex.set(time, month: date.month, year: date.year, day: date.day)
~N[2023-03-31 13:30:00]
iex(10)> Timex.set(time, date: {date.year, date.month, date.day})
[date: {2023, 3, 31}]

Description of issue

What are the expected results?
The order of argument put into set/2 matters since Timex.set(time, day: date.day, month: date.month, year: date.year) will not always produce the same result as Timex.set(time, month: date.month, year: date.year, day: date.day)

Technically the user could/should have used the date option but this may not always be obvious.
I kinda propose to either pre parse the options to convert month, year & day options into a single date option or sort the options list by importance such that year is being set first, month second and day third (in our example).
What are you thinking?
Would happily work on this! :)

Oh there is a PR for this issue already: https://github.com/bitwalker/timex/pull/671


44 cljs support

Closes #44
Note: To be reviewed and merged after the PR #43

Add cljc extension and reader conditionals
Use Olical/cljs-test-runner for cljs testing (all tests passed)

Some files were marked as deleted, whereas they were just renamed.

Codecov Report

Merging #45 (5d8b517) into master (f94bb4b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   95.35%   95.36%   +0.01%
==========================================
  Files           7        7
  Lines         366      367       +1
  Branches       11       11
==========================================
+ Hits          349      350       +1
  Misses          6        6
  Partials       11       11

Impacted Files
Coverage Δ

src/sg/flybot/pullable.cljc
100.00% <ø> (ø)

src/sg/flybot/pullable/core.cljc
96.18% <ø> (ø)

src/sg/flybot/pullable/parameter.cljc
82.35% <ø> (ø)

src/sg/flybot/pullable/pattern.cljc
100.00% <ø> (ø)

src/sg/flybot/pullable/schema.cljc
100.00% <ø> (ø)

src/sg/flybot/pullable/util.cljc
87.50% <ø> (ø)

src/sg/flybot/pullable/core/option.cljc
84.61% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Some files were marked as deleted, whereas they were just renamed.

Fixed after resolving merge conflicts.