JoinAll / join_all() in futures-preview 0.3 ?

futures-preview 0.3 is lacking the JoinAll combinator that is present in futures 0.1. Why is this? Could it be implemented? If not, what is the alternative? This is useful functionality.

It looks like the code still exists: https://github.com/rust-lang-nursery/futures-rs/blob/master/futures-util/src/future/disabled/join_all.rs but it's in a disabled subdirectory.

If you use async/await you can use the join! macro

join handles a fixed number of futures, not a vec of futures
On Tue, Nov 13, 2018, 1:30 PM Matthias Einwag<EMAIL_ADDRESS>wrote:

If you use async/await you can use the join!
https://github.com/rust-lang-nursery/futures-rs/blob/d040a57521ca09d7eb162840bfb084d90d72db03/futures-util/src/async_await/join.rs
macro
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/futures-rs/issues/1322#issuecomment-438384753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAADBHJKv-U7H_Nbbj76R2gME24FdyNAks5uuw_agaJpZM4YXtXO
.

There's no reason for this not having been ported other than that no one has done it yet.

Looks like this was implemented in https://github.com/rust-lang-nursery/futures-rs/pull/1341, but it's not exposed as futures::future::join_all, was that intentional, or an oversight?

Definitely an oversight, a PR to expose it would be great.


enumerateObjectInstances with containers and instances

with 3.1.5 I'm want combo box with this code
`
        const containerIdx = enumerationObject.containers.push({ displayName: currentColumn.displayName }) - 1;
        enumerationObject.instances.push({
            containerIdx,
            objectName,
            properties: {
                isMasking: VisualHelper.getValue<boolean>(currentColumn.objects, objectName, "isMasking", false),
                maskingType: VisualHelper.getValue<string>(currentColumn.objects, objectName, "maskingType", "1"),
                headerAlias: VisualHelper.getValue<string>(currentColumn.objects, objectName, "headerAlias", currentColumn.displayName),
                color: VisualHelper.getValue<string>(currentColumn.objects, objectName, "color", UISetting.DEFAULT_FOREGROUND),
                background: VisualHelper.getValue<string>(currentColumn.objects, objectName, "background", UISetting.DEFAULT_COLOR)
            },
            selector: { metadata: currentColumn.queryName }
        });`

but the result just show the empty combo box, image can see at https://community.powerbi.com/t5/Developer/combo-box-with-dynamic-value/m-p/781220#M20581

Emailed the team last week with the same question and haven't heard back yet, but came across this and looks like it's not just me having issues with getting it to work. I've compiled Power KPI locally and the same thing happens as above, yet the marketplace version of this visual works as expected. How can we get this working for our own visuals?

Hit this issue with Power KPI yesterday. Just located this open issue today. Has this been confirmed as an issue by the team? Only really asking to see if there is a "work around" or if it's a case of waiting for a fix in a future release?

There is no ETA for now

When will this be implemented? Been requesting this feature to the team for more than 2 years now.
I believe this is one of the most wanted features in Custom Visuals and it would enable loads of new and advanced scenarios.

Hi
This bug has been fixed and  will reach production by mid January.
Thanks

hi ,
a fix has been checked in, and should be available in production by mid January.
thx.

hi
when it will be?

Can we get a working example of this?
I am able to populate the dropdown now... but don't understand how to read the values per option now...
Thanks

We recommend everyone to use new format pane api


Update serialport to v6

This PR updates serialport to v6.2.0, but also contains code from the following PRs that have already been reviewed, so that they can all be tested together: #613 , #621
Basically, all that needs to be reviewed here is commit 5fe7c93

 Update node-serialport to version 6

@pazaan I've made reasonably significant changes to this PR, so should be re-reviewed. Specifically oneTouchUltra2.js and serialDevice.js.

One thing that was happening with the Ultra 2 driver is that the interval timer would re-trigger itself on slower machines causing partial uploads, so now I clear it as soon as we being receiving data. I've tested it and it now works fine on slower machines on Windows 7, 8.1 and 10.
I also discovered that there is a known upstream bug in serialport that causes race condition on connect. This is something that affects quite a large number of our users (> 70), so I implemented a solution that I got from the upstream bug report: Basically, retry to connect if it doesn't work on the first try :smile:


Add API jar stuff for #66.

Since you aren't very familiar with Maven, and I did this the other day, I figured I'd send a PR for you.
Note: I have not tested this. Should be correct though.

@McJty 🔔 any word on this?


HeatmapLayer Component

Support for the [HeatmapLayer] (https://developers.google.com/maps/documentation/javascript/3.exp/reference#HeatmapLayer) class would be useful.

Feel free to submit a PR. Close for now
We're also looking for maintainers. Involve in #266 to help strengthen our community!


hessian2 反序列化bug

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

Environment

Dubbo version: 2.6.2
Operating System version: linux
Java version: 1.8

Steps to reproduce this issue

定义类：
public class JZSVo implements Serializable{
List arr = new ArrayList<>();
//get方法
//set方法。
}

在producer端赋值
public JZSVo get() {
List list = new ArrayList<>();
list.add(null);
list.add(null);
list.add(3.0);
 JZSVo jzsVo = new JZSVo();
 jzsVo.setArr(list);
 return jzsVo;

}

在service端接收返回的数据 jzsVo中的arr的第一个、第二个数据应该为null实际为0.0
4.经过测试所有的基础类型：Double/Float/Integer等都会出现这种问题。

Expected Result

I try to reproduce the problem, but it fails. Can you provide a demo project ?

I try to reproduce the problem, but it fails. Can you provide a demo project ?

I looked at this problem. It really exists. It should be a bug in hessian-lite. Let me fix it.

I try to reproduce the problem, but it fails. Can you provide a demo project ?

I looked at this problem. It really exists. It should be a bug in hessian-lite. Let me fix it.

哥们，你之前的修复思路不太对啊~~~，麻烦帮忙看看这个？https://github.com/dubbo/hessian-lite/pull/11


Elemental CAPI agent authentication

This issue serves to design and implement an authentication mechanism for the Elemental CAPI agent running on each host machine.
Since we are pretty set on using HTTP (either directly or to upgrade to websocket), the suggestion is to use JSON Web Tokens: https://jwt.io
The JWT can be simply passed as Authorization: Bearer eyJhbGciO...
Tokens can be signed with an initial secret, let's call it the registration-token. This can be done with a symmetric signing by injecting a registration private key into the Elemental ISO. The operator can then verify the JWT to be signed by this key in order to allow the agent to:

Fetch the ElementalRegistration resource to determine installation instructions (such as cloud-config)
Allow the creation of a new ElementalHost (this is de-facto how a host machine will register to the operator)

Note that JWT allows for multiple concurrent signatures, but one alternative option is to encrypt the token with the registration key, so that the operator will always try to decrypt it first.
Additionally, during registration, the agent can create a new private key and publish the related public key into the newly registered ElementalHost. The operator can then validate if the JWT issued to PATCH a specific ElementalHost, is signed by the key referenced in the ElementalHost itself.
The agent will include enough JWT claims to verify the request, for example: {"namespace":"my-elemental-machines","host":"my-elemental-host-1234"}
Some open topics are:

How to integrate TPM into this auth flow? Can we simply triple sign the JWT (registration-key + host-specific-key + tpm)?
Do we need to implement TPM enrollment in a different way? In any case it would be best to model TPM verification as a multi-factor authentication step, so that by default we can always relying on JWT signing with host-generated private keys.

How can we make the initial registration token expire? In the scenario where a ISO is leaked, what should the administrators do? Deleting the entire registration resource is a drastic measure and it may have impact on all underlying hosts. It would be better for example to bind the token to a certain seedimage resource and make it expire by default after 24 hours or so, with the option to disable expiration of course. The goal is to close the window for new hosts to register, because an attacker with the initial registration token will be able to register rogue hosts and potentially run workloads on them. Best it would be that the initial token expires and additionally the admins can edit the ElementalRegistration to pause/forbid registration attempts while waiting for the leaked token to expire.

Linking parent issue #968


Object storage refactor

This is a major refactor with a few different components:

Run object storage benchmarks from provider-independent driver
functions which call into provider-specific callbacks, instead of
having per-provider driver functions.

Move provider-specific object storage functionality into provider
directories. This refactor changes the object storage functionality
that runs in the PKB controller. A separate refactor already
addressed the API test script.

Modify the API test script slightly to support loading only the
requested provider instead of all of them. The changes to the
controller created provider-specific Prepare functions, which let us
prepare the worker VM for only the provider that we are actually
going to use. This change to the API test script is to enable that
simpler Prepare step, which is why it is part of this refactor and
not the previous one of the API test script.

Move the different object storage scenarios into their own functions
with a uniform interface, instead of grouping them into two
functions with lots of if statements inside. This change is in this
refactor because it was enabled by the provider-independent driver
function, and because the change to provider-specific callbacks
required substantial changes to the benchmarks anyway, which made
this seem more practical.

I have tested that AWS, Azure and GCP can all run the CLI benchmark and one of the API benchmarks, and that all of the benchmarks will run on at least one provider. I can complete the test matrix, it will just take some time, and I wanted to start getting comments on this because I'm sure there will be lots of them.
@hildrum @yuyantingzero @ehankland @meteorfox please take a look. Carlos, please especially look at the Swift implementation because I don't have one to test on.

@noahl I tried your PR. Currently is throwing an error, it seems you forgot to rename CLIUpload and CLIDownload to CLIUploadDirectory and CLIDownloadBucket respectively.
Error:
2016-06-24 22:38:42,083 7ddd3fa7 MainThread object_storage_service(1/1) ERROR    Error during benchmark object_storage_service
Traceback (most recent call last):
  File "/opt/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 473, in RunBenchmark
    DoPreparePhase(benchmark, benchmark_name, spec, detailed_timer)
  File "/opt/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 351, in DoPreparePhase
    benchmark.Prepare(spec)
  File "/opt/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/object_storage_service_benchmark.py", line 838, in Prepare
    service = object_storage_service.GetObjectStorageClass(FLAGS.storage)()
TypeError: Can't instantiate abstract class SwiftStorageService with abstract methods CLIDownloadBucket, CLIUploadDirectory

@meteorfox @yuyantingzero I pushed an update in response to your comments. Please take a look.

@noahl PR is working now. One problem that is probably unrelated is a pip dependency fails to install due to missing the Python.h header file. That's probably that I need to install the 'python-dev' package in Debian or 'python-devel' on RHEL-based distro.

@meteorfox great! About the Python issue, is the thing that's failing to install Swift-specific, or used by all providers? I'd like to add it to a PrepareVM method somewhere either way; I just need to know which one.

This is the patch I added to get it going.
diff --git a/perfkitbenchmarker/providers/openstack/swift.py b/perfkitbenchmarker/providers/openstack/swift.py
index d7a3b76..86e0f08 100644
--- a/perfkitbenchmarker/providers/openstack/swift.py
+++ b/perfkitbenchmarker/providers/openstack/swift.py
@@ -73,7 +73,7 @@ class SwiftStorageService(object_storage_service.ObjectStorageService):

   def PrepareVM(self, vm):
     # Upgrade to latest urllib3 version fixes SSL SNMI error
-    vm.InstallPackages('python-urllib3')
+    vm.InstallPackages('python-dev python-urllib3')
     vm.RemoteCommand('sudo pip install python-keystoneclient')
     vm.RemoteCommand('sudo pip install python-swiftclient')

@meteorfox I incorporated that patch into this PR, but if you'd rather submit it yourself to keep the history accurate, I would be happy to remove.

@yuyantingzero @meteorfox I updated in response to your comments; please take a look.

@noahl Nah, go ahead leave that patch in.

@yuyantingzero I set the multistream delays back to their old values. PTAL.

@yuyantingzero @meteorfox I forgot to update a test in my previous commit; I just pushed a fix for that. PTAL.

Works for me now! :+1:

@yuyantingzero I updated in response to your comments. Please take a look.

LGTM


The Backdrop is cleared when the window cancel close

When I set the args.Handle to true in the Closed event handler
Just like...
var window = new MainWindow();
window.Closed += OnClosed;

private void OnClosed(object sender, WindowEventArgs args)
{
    args.Handle = true;
}

The window is not close, But the Backdrop will be cleanup.
https://github.com/dotMorten/WinUIEx/blob/3173bb17e8fde2bcb1c75a7aa7e054327bf7ba92/src/WinUIEx/WindowManager.cs#L92-L96

Closing - Backdrop APIs has been deprecated in favor of Microsoft's own backdrop APIs


[TESTS] Validate some things

Not urgent or necessary, just making an issue with some thoughts...
We could run the markdown files through some sort of validator to make sure they all have the correct format
We could make sure all the md filenames are included in the config/projects.json
Make sure the repo has a folder name that matches the dashedName?
Make sure they're in .vscode/settings.json?

We could do this, but I was mostly of the thinking: If you add a project, and it does not load in the UI whilst you are developing, then there is likely a parsing/config error
I will bother @ojeytonwilliams to see if he has any experience with Markdown format validation.

Oliver, do we do something similar in /freeCodeCamp?

@ShaunSHamilton we use markdownlint, but I wouldn't recommend it.  I had to configure it quite heavily to get something reasonable. I believe remark-lint is a bit nicer, though.
Thing is, you have a parser, don't you?  What I'd recommend is checking that that is producing what you expect. What we do in the main repo is use Joi to validate the objects that the parser produces. That works quite nicely.

@ShaunSHamilton we use markdownlint, but I wouldn't recommend it.  I had to configure it quite heavily to get something reasonable. I believe remark-lint is a bit nicer, though.
Thing is, you have a parser, don't you?  What I'd recommend is checking that that is producing what you expect. What we do in the main repo is use Joi to validate the objects that the parser produces. That works quite nicely.

What I'd recommend is checking that that is producing what you expect.

Well, we kind of do this:
https://github.com/freeCodeCamp/web3-curriculum/blob/main/.freeCodeCamp/tests/parser.test.js

That looks to be checking that the parser functions as expected, but it sounds like you might also want to validate that it's not producing gibberish.

This should be closed with: https://github.com/freeCodeCamp/freeCodeCampOS/pull/182


Citation box missing information on web-hosted docpages

Hi MC/DC! I've been browsing your web-hosted docpages and noticed that the citation on the website is missing a lot of information:

In the source markdown, all this information is present, so I'm not sure what is causing this discrepancy.

Hi, @yardasol ! Thanks for pointing that out!
@jpmorgan98 , is it because the website has not been updated with the most recent source yet?

Hmm so this appears to be a docs only problem with importing a colorama version. When I try and build locally I get this numba error:
/opt/homebrew/Caskroom/mambaforge/base/envs/mcdc_doc/lib/python3.12/site-packages/numba/core/errors.py:194: UserWarning: Insufficiently recent colorama version found. Numba requires colorama >= 0.3.9

My current colorama version is 0.4.6. @clemekay any ideas?

Docs throw sphinx.ext.autosummary error starting with commit #6ed8ea8678bc7eb792389cef75bc03a7db3c3c61.

Fixed in #219. Thanks again for pointing this out @yardasol, we hadn't realized that our docs weren't updating!


stdout and stderr are intermixed

$ ./soft/bwk 'BEGIN { print "111"; print "222">"/dev/stderr"; print "333" }'
111
222
333

$ ./soft/mawk134 'BEGIN { print "111"; print "222">"/dev/stderr"; print "333" }'
111
222
333

$ ./soft/gawk511 'BEGIN { print "111"; print "222">"/dev/stderr"; print "333" }'
111
222
333

$ ./soft/goawk1.9.1 'BEGIN { print "111"; print "222">"/dev/stderr"; print "333" }'
222
111
333

This is a bit annoying since it's inconsistent with all major implementations.
This is the cause for failing test for makesure https://github.com/xonixx/makesure/runs/4585273788?check_suite_focus=true
And though I could write a test in a more resilient way, I would prefer to not add special logic for goawk.
I'm pretty sure this relates to https://github.com/benhoyt/goawk/issues/47.

Thanks. This is a good data point. Yeah, it's definitely related to #47. It's happening because in GoAWK stdout is buffered, stderr is not (and GoAWK doesn't currently flush stdout automatically to synchronize things, like the other AWKs do).


scroll doesn't seem to work as expected despite being isScroll=true

Expected behaviour:
When selecting tabs that are at end (partially visible), this should scroll to respective direction. Also prevent any sort of overflow issues.

Can you provide a screenshot or screen record about this issue?
Thanks


Bump Dependencies #418

Bumps dependencies for product-is.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Updated with: https://github.com/wso2/product-is/pull/7871/files


Versioned Images

What are your thoughts on adding versioning to the pre-built Docker images?
For example, I had a working solution a few days ago, but when I ran my same code today I ran into issue #27. If the Docker images were versioned, then I could "pin" my code to use a specific version and know that each time it runs it will work reliably. I would then have the flexibility to upgrade to a new version when I have time.
Today, I'm running a command such as:
docker run --gpus all -it -v ".:/app" ghcr.io/jim60105/whisperx:small-en -- --diarize --hf_token "XXXXX" audio.mp3

What I'm proposing is adding a Timestamp or version number to the pre-built images such as  ghcr.io/jim60105/whisperx:small-en-2023-11-30T02-03-33 or something similar so that I could target a specific version of a pre-built image.
If something like that already exists please let me know. Also, thank you for putting together this project as it greatly simplifies getting WhisperX up and running. 🙂

I'm sorry that I made mistakes when refactoring the Dockerfile.
If you need a specific image you can pull it by digest
https://docs.docker.com/engine/reference/commandline/pull/#pull-an-image-by-digest-immutable-identifier
This project is built once a week, and if timestamps are added, it will eventually be filled with tags.
If I were to add versioning, I would prefer to align it with the release version number of WhisperX. Nevertheless, it is worth noting that WhisperX has not publish a new version in the past months, and there are notable disparities between the latest version and the master branch.
Therefore, I will reject this proposal.

@jim60105, thanks, I wasn't aware of the ability to pull images by digest. 👍


Convert Intratec data from Excel to CSV

Convert Intratec data from Excel spreadsheet to CSV file
How to review
Read the diff and note that the CI checks all pass.

PR checklist

[x] Add or expand tests; coverage checks both ✅

[x] Add, expand, or update documentation.

[x] Update doc/whatsnew.
<!--
To do this, add a single line at the TOP of the “Next release” section of
doc/whatsnew.rst, where '999' is the GitHub pull request number:
<ul>
Title or single-sentence description from above (:pull:999:).

Commit with a message like “Add #999 to doc/whatsnew”
-->

Looks good to me :)
You might want to consider the name of your new file, though. When referring to regions, I think we typically use an upper-case R, so R12 in this case. Also, if you foresee adding indices for other types of region distributions and possibly more files specific to them, you could also make R12 a folder within data/intratec/ and just have a file called indices.csv in there.

Thanks @glatterf42! I implemented your advice and renamed the file/reorganized the folder structure.
I also added a line about the PR in doc/whatsnew.

@measrainsey, looking at where your code uses this data, I see this:
https://github.com/iiasa/message-ix-models/blob/8f39459fa2e978f80295d17feb0b052909dbeac2/message_ix_models/tools/costs/regional_differentiation.py#L560-L575
So it is not clear whether the file is for the R12 node codelist, or for R11 and gets adapted. From the values it seems the latter.
I suggest:

Store the data for R11. Include the exact node names, like R11_NAM, in a column called "node".
Call the existing function adapt_R11_R12.

I suggest:
* Store the data for R11. Include the exact node names, like `R11_NAM`, in a column called "node".

* Call the existing function [`adapt_R11_R12`](https://docs.messageix.org/projects/models/en/latest/api/util.html#message_ix_models.util.node.adapt_R11_R12).

@khaeru: As per your suggestion, I changed the indices file to be for R11 instead (putting that file in an R11 folder), and now use adapt_R11_R12 when the R12 node is activated. (Just a note for myself on here that in order for adapt_R11_R12 to work, the other column in the DataFrame that is passed through had to be called value.)
https://github.com/iiasa/message-ix-models/blob/35aa7630c66b1da7500ccd56e3101240995d66c0/message_ix_models/tools/costs/regional_differentiation.py#L539-L555


Adds Linter and Formatter

In Response to #37 this adds Eslint for JS formatting with a blank slate for prettier. This PR includes ES-Lint with the standard airbnb flavor for linting. Please Merge and discuss the rules as Prettier will need to be modified to everyone's liking

@GoodGuyGregory should we merge this into Development first before Master? I'm down with setting up prettier and lints.

@leekahung as per standard now that we have both Master and Dev tracking real changes, you're correct first step is development then master for merging. I will be adding a few more files into the project before a merge is appropriate. We can chat more tonight in the Voice channel


how to search emails of a month

Is it possible to search for all emails of a month?
lets say I want all emails of the the month 5, and year 2022, how could I do that with rust-imap?

Sure. You can do whatever the IMAP spec lets you do, which includes things like using the SEARCH command to query for old emails.


How correctly reorgonize files in environment folder? | ImproperlyConfigured

I am trying to use you application in my project but it raise error:
ImproperlyConfigured: settings.DATABASES is improperly configured.
Please supply the ENGINE value.
Check settings documentation for more details.

P.S. Database settings are correct. With next settings I can run project with python manage.py runserver command without any problem. Error happens when user try to go to any link of the project. It seems to me that I reorgonize development.py file (which inside environment folder) incorrect. Can you give me some advice, please? I tested right now and notice that if I set  'components/database_developemnt.py' in base_settings of __init__.py file, it works fine. But as you can see from the structure below I have 2 database settings file. One for development and one fore production.
I use:
Django 1.11
Python 2.7

structure:
project_name/settings/
    __init__.py
    components
        __init__.py
        common.py
        secret_key.py
        database_development.py
        database_production.py
    environments
        __init__.py
        development.py
        production.py

__ init __.py:
# -*- coding: utf-8 -*-

from split_settings.tools import include
from os import environ

ENVIRONMENT = 'development' or 'production'

base_settings = [
    'components/common.py',  # Common settings which I use in development and in production
    'components/secret_key.py',  # Secret key of the project which generated by Django

    'environments/%s.py' % ENVIRONMENT,
]

include(*base_settings)

database_development.py:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.oracle',
        'NAME': 'NAME',
        'USER': 'USER',
        'PASSWORD': 'PASSWORD',
    }
}

development.py:
from split_settings.tools import include, optional

DEBUG = True

development_settings = [
    optional('components/database_development.py'),  # Database for development
    optional('components/logging.py'),  # Logging in developement
]

include(*development_settings)

ERROR:
Traceback (most recent call last):
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
if test_func(request.user):
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 46, in <lambda>
lambda u: u.is_authenticated,
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/utils/functional.py", line 238, in inner
self._setup()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/utils/functional.py", line 386, in _setup
self._wrapped = self._setupfunc()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/auth/middleware.py", line 24, in <lambda>
request.user = SimpleLazyObject(lambda: get_user(request))
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 211, in get_user
user_id = _get_user_session_key(request)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 61, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py", line 57, in __getitem__
return self._session[key]
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py", line 207, in _get_session
self._session_cache = self.load()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/contrib/sessions/backends/db.py", line 35, in load
expire_date__gt=timezone.now()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/query.py", line 374, in get
num = len(clone)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/query.py", line 232, in __len__
self._fetch_all()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/query.py", line 1118, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/query.py", line 53, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 876, in execute_sql
sql, params = self.as_sql()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 428, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 46, in pre_sql_setup
self.setup_query()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 37, in setup_query
self.select, self.klass_info,
self.annotation_col_map = self.get_select()
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 227, in get_select
sql, params = self.compile(col, select_format=True)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 373, in compile
sql, params = node.as_sql(self, self.connection)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/expressions.py", line 695, in as_sql
return "%s.%s" % (qn(self.alias), qn(self.target.column)), []
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 364, in quote_name_unless_alias
r = self.connection.ops.quote_name(name)
File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/db/backends/dummy/base.py", line 20, in complain
raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

I would say that there is a problem with your structure.
Have a look at this example: https://github.com/wemake-services/wemake-django-template/tree/master/{{cookiecutter.project_name}}/server/settings
And check out the whole template, maybe you will find it useful.

I tried to make the similar structure as you described in your article. I just thought that it would be better to  put confidential data to separate files (in my case database_development.py, secret_key.py etc). After that it will be easy don't use them in version control system. What do you think about that?
From that link which you send me I notice that database settings in common.py file but in the same time you use autoconfig application, isn't it? Is it possible to set it without any additional dependency? I am so confused =(
Some explanations would clarify the situation for me.

There is no need in putting secret settings into some specific files that are ignored.
Just don't put these settings into python files at all.
I am using autoconf for this task, but you can use os.environ instead.


Create Create Update CryptoSJnet for v0.20

Create Update CryptoSJnet for v0.20 - IP changed I joined most of the testnets
Renamed the name From CryptoSJ.net to CryptoSJnet to not have double quotes
https://github.com/msobh13/namada-testnets/blob/patch-5/namada-public-testnet-9/CryptoSJ.net.toml
https://github.com/msobh13/namada-testnets/blob/patch-5/namada-public-testnet-8/CryptoSJ.net.toml
https://github.com/msobh13/namada-testnets/blob/patch-5/namada-public-testnet-7/CryptoSJ.net.toml
https://github.com/msobh13/namada-testnets/blob/patch-5/namada-public-testnet-6/CryptoSJ.net.toml
https://github.com/msobh13/namada-testnets/blob/patch-5/namada-public-testnet-10/CryptoSJ.net.toml

This PR has been automatically closed because it does not follow the correct procedure for updating the genesis file.
Not a .toml file


All mappings are suddenly lost

Describe the bug
After using the plug-in and entering in many LCSC values the mappings, the mappings I've entered have disappeared. If I click Mappings I can see the part mappings are there but they don't appear on the main menu, and when I generate the files the csvs are empty. I tried to import from a previously exported csv and it loaded the mappings correctly, but they still didn't appear in the main screen.
To Reproduce
The method to reproduce is not known to me, I just used the plug-in and the mappings were lost. MacBook M1 Pro Sonoma 14.4

Expected behavior
Mappings to stay until I delete them.
KiCad Version

Application: KiCad PCB Editor arm64 on arm64

Version: 8.0.1, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.13.2
	HarfBuzz 8.3.0
	FontConfig 2.15.0
	libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.58.0

Platform: macOS Sonoma Version 14.4 (Build 23E214), 64 bit, Little endian, wxMac

Build Info:
	Date: Mar 14 2024 13:30:33
	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.84.0
	OCC: 7.7.2
	Curl: 7.87.0
	ngspice: 42
	Compiler: Clang 14.0.3 with C++ ABI 1002

Build settings:

I also am having this problem on an upgrade to the latest release version, using KiCAD 7.0.9. I downgraded to 2023.09 and the parts and mappings came back. I will remain on 2023.09 until this bug is fixed.

I also am having this problem on an upgrade to the latest release version, using KiCAD 7.0.9. I downgraded to 2023.09 and the parts and mappings came back. I will remain on 2023.09 until this bug is fixed.

Presumably to go back a version you need to fetch through Git directly, rather than using KiCad's "Plugin and Content Manager"?

I also am having this problem on an upgrade to the latest release version, using KiCAD 7.0.9. I downgraded to 2023.09 and the parts and mappings came back. I will remain on 2023.09 until this bug is fixed.

Presumably to go back a version you need to fetch through Git directly, rather than using KiCad's "Plugin and Content Manager"?

I first removed the new version, and then I downloaded the 2023.09 version from the Releases section here on Github.

I also am having this problem on an upgrade to the latest release version, using KiCAD 7.0.9. I downgraded to 2023.09 and the parts and mappings came back. I will remain on 2023.09 until this bug is fixed.

Presumably to go back a version you need to fetch through Git directly, rather than using KiCad's "Plugin and Content Manager"?

I first removed the new version, and then I downloaded the 2023.09 version from the Releases section here on Github, so yes, I didn't use KiCAD's Plugin and Content Manager.

Thanks!

Sadly that didn't work for me. I downloaded 2023.09 but the LCSC values didn't come back.

I typed all of the LCSCs in again and lost them again, so I'll wait for this bug to be fixed before using again. This time it happened when closing the PCB editor and re-opening (even though I'd clicked "Save Mappings").

I have a rough idea whats the problem but I'm not sure what going on.
The 3 databases (parts, totations, mappings) are stored under the plugin forlder in jlcpcb:
.\jlcpcb\
├── mappings.db
├── parts-fts5.db
└── rotations.db

In order to update a plugin installed via PCM you need to remove it first, which deletes the entire folder and therefore the databases as well.
I don't know if theres a place to store data "persistent" so that it survices an update ...

Is your hypothesis that the loss of mappings will only occur if you install/update a plug-in? I don't think that was the case for me.

@cutlasses Then I don't have an explanation what happened ...
You can export your mapping an import them, just in case this happens again.
AS I have no idea what happend, this is the only solution I can offer for the moment

@Bouni could the issue be pressing the launch icon whilst the app is already running? I do all my KiCad work on my laptop with limited screen real-estate. The JLC exporter doesn't appear under the Windows list in KiCad, so I'm often losing it, and I've sometimes just pressed the launch icon again to switch to it. Could that be launching 2 instances and causing issues?
I'm annotating another board. I'm regularly saving mappings, and exporting back to the schematic. No issues so far..

I entered all my LCSC parts and generated the files but noticed there was no BOM file. I tried updating the plugin and lost my values (which could be the issue you mentioned before). I'm trying to import my saved ones. It loads them to the Import menu, but they don't appear in the main list. Am I doing something wrong?

As far as I remember (I know this is embarrassing 😅) mappings are not loaded automatically from the mappings table!
You have to right click on a part and use the "Find LCSC from mappings" function:

You can do that for multiple parts by using the select alike function.


Maven artifacts for druid-0.12.3 missing

I can find the maven artifacts for druid 0.12.2 in maven central, but cannot locate the ones from 0.12.3. Is it possible to release them?

@jon-wei can you take a look?

@gianm I think folks don't have permissions to upload to Maven

@fjy https://search.maven.org/search?q=g:io.druid AND a:druid&core=gav

I just uploaded the 0.12.3 artifacts. They should start showing up on mirrors soon. Sorry for the delay on this one!


fix: product details document title

#13
Update document title according to the product name

thanks for your contribution


Enable state persistence through simple file store

Proposal
Current implementation of State Extension works very well. However, there will be times when there's a need to persist state through restarts (For example, when upgrading WireMock version).
To tackle this, it would be great to save Caffeine's state separately to a file while running and reading them back after waking up.
References
https://stackoverflow.com/questions/71566146/cache-data-to-local-hdd-with-caffeine#comment126486444_71566146

Ahh, it seems that Store itself is configurable.
Wondering how should I configure it so that even when its standalone, the store used can still be configured to other than Caffeine

Currently, Wiremock does not provide a way to pass configuration options to extensions. While stores are configurable, I’m not aware of a way provide them in an extension-like mechanism. And I don’t think making persistence a default would be ok.
one way I can think of to make it work with standalone is to provide an admin interface, so: you can turn options off/on and thus trigger loading of a state or a continuous persistence thereof. Not sure whether this would be an option for your use case.

Hi Dirk,
thanks for responding. That's a good suggestion that I might just look into! Agree on making persistence as a default would violate the need for interim mocking. While I've tried to implement the persistence layer via Sqlite, it seems that it would be hard to find a way to contribute this feature directly to this repo unless there's admin interface built-in and state-extension is able to be configured directly via the interface 🤔
https://github.com/willypt/wiremock-state-extension/pull/1
For reference of the above feature in case there are people looking for the idea of how to override the store quickly 👍🏻

A small update. I talked with the core wiremock team on both configuration and store options. Long term, the store system of WireMock will be configurable, e.g. by adding custom stores. This will be the way to go for establishing this feature in the end.
As intermediate solution, I'm thinking about adding some configuration options. These options will be phased out as soon as the store system is available though. The feature design for extension-specific configuration options is covered in issue wiremock/wiremock#2579 .

A small update. I talked with the core wiremock team on both configuration and store options. Long term, the store system of WireMock will be configurable, e.g. by adding custom stores.


Fix the usage of skew shortcode in the version-skew-policy page

There are two skew shortcodes but they are not marked up properly. This PR fixes the errors.
Where is the problem?
Kubernetes version and version skew support policy | Kubernetes
Before screenshot

Here is the preview:
https://deploy-preview-22442--kubernetes-io-master-staging.netlify.app/docs/setup/release/version-skew-policy/#kube-proxy

/assign @kbarnard10

/lgtm

/lgtm
/approve


Prevent password logging

SDK logs write the loaded config under INFO [connect] {...}.
Would be nice if the logger could filter the password settings - which should apply anywhere, but at the least it should be a DEBUG log.

+1

In my case I had to set the bot's log level to "warning" to hide the INFO messages with secrets. Which then forced me to emit useful log messages (e.g. "User X has invited User Y to Github") as warnings, so that's less than ideal. Warning: something good has happened. :(

I'm away for a couple weeks, but will look into it when I'm back if no one else presents a solution. The SDK accepts and uses the logger from Hubot, so there's no option for a smart filter in that, the way some loggers do. For info and more importantly debug logs, I think it would require logging a clone of the config and login data that deletes the password attribute. Probably by wrapping any logged objects in a utility function something like logger.info('[connect] Connecting', filterPassword(config))

On it, working on this

@timkinnane just one question, should we filter inside lib/driver.ts? I was thinking maybe like there should be a function filter(...keys: string[]) that would take any number of arguments and would filter what user wants. And user can use them on client side like driver.connect(filter(["password", "username"])). What do you think?


Update to chai@4

depends on https://github.com/ember-cli/ember-cli-chai/issues/31

looks like our QUnit hack will not work that well anymore with chai@4 😢


Change InteractiveShell's exit_result to result

This simplifies the attribute and brings it in line with a standard set by Broker.

lgtm


Extremely long startup times

Including this lib in my project causes the time from starting the executable to the time the window is displayed to be increased by several seconds.
I would appreciate any input about this issue, such as why it might be so long, and what if anything I might do about it.
I really like this lib otherwise, but more than tripling my startup time is hard to accept.
FWIW I'm using this with ImGui 1.69, sdl2 and gl3w. I'm using the default impl_sdl and impl_opengl3.

Well, I tried launching my project in a debugger in order to step through and see what was taking so long, and discovered it was not actually functioning properly. Instead, I was getting an immediate exception with no source attribution. I'm not sure what was wrong, as the program functioned fine outside of the debugger, aside from the startup time.
I changed some things around (added __declspec annotations), and built this library separately as a DLL which I then linked into my project.
This both cleared up the problem with the debugger, and alleviated the startup time issue.


lit 2 compatibility

Currently, the only way to make mdjs-preview work in lit2 context, is to upgrade MdJsPreview.js:
import { LitElement, html, css } from 'lit';

Could you maybe make a (pre)release for this?

it's now using lit 2 by default 👍


While loading tickets progress bar should be in the middle of the screen

Describe the bug
The progress is at the top of the screen which seems a bit odd since the whole screen is blank at that time. It should be placed in the middle.
To Reproduce

Go to Tickets fragment.
Progress bar appears at the top.

Expected behavior
Progress bar should have appeared at the middle of the screen.
Screenshot

Would you like to work on the issue?

[x] Yes
[ ] No

The progress bar is missing now in latest commits.

@liveHarshit I think it's still there.


Weird ImGUI Assertion

On ctrl/shift/alt this happens. Assertion failed: (key_mod_flags == 0 || g.IO.KeyMods == key_mod_flags) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods", file C:\Users\Kenzie\Documents\GitHub\CitrusToolbox\thirdparty\imgui\imgui.cpp, line 7165

Read this, figure it out... https://github.com/ocornut/imgui/issues/3575


pulseaudio module only detects new default device after volume change

I have a small script I use to quickly switch between output devices. Basically, it sets a new default device and moves all of the sink-inputs to the new sink. I've noticed that Waybar doesn't pick up the change of default device (reproducible when using Pulsemixer or something like that to pick a default device).
Waybar only seems to pick up on the new device when the volume is changed on it. So right now I have this hacky workaround in my script to have Waybar pick up the change:
ponymix increase 1
ponymix decrease 1

Would it be possible to have the module pick up the change in device without any volume changes?

i3blocks -contrib's module volume-pulseaudio has cool features like changing the default output and muting the volume.

I have this problem as well, using pipewire's pulse compability. waybar 0.9.17 from Debian 12. Even changing the volume didn't fix it for me, I had to restart waybar for it to detect the change in output.

Having this as well. Really hope this could be worked on.
What I observe:

Sometimes the pulseaudio module can't pick up the change of current device (usually when I connect/disconnect a bluetooth earphone) at all.
The volume change by scrolling on the module actually changes the device that the module shows at the time, not the actually used one.
Wireplumber module detects the change successfully.
Switch default devices back-and-forth in pavucontrol, and the module probably will detect it after that. Any reason device connection does not trigger the module to update?


Update target-throughput.md

Fixes an issue where user's were confused about target-throughput settings.
Checklist

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

@IanHoang: That should address your comments. Let me know if there are any other tweaks you want me to make.


Problem still exist with resizing an array previously declared in a tuple.

Pythran still misbehaves with the code below:
self[0] is initializes as a (1,1) array, then when an attempt is made to give it a shape of (100,100) this fails.
# pythran export test()
import numpy as np

def A():
    self_xx = np.zeros((1,1))
    self = tuple([self_xx])
    return self

def B(self, D, C):
    print(D, C)
    self[0] = np.zeros((D, C))
    print('self[0]', self[0].shape)

def test():
    fr = A()
    B(fr, 100, 100)

OK my bad. Adding a print('fr[0]', fr[0].shape) in test() fixes the issue. Argh. I was trying to isolate a real issue I'm seeing along these lines. CRAP

Question:
why is:
(BuildVEnv) jlaroche-mbp:Freeze(devel)$ pythran -lblas TD.py --config 'pythran.optimizations=pythran.optimizations.ConstantFolding pythran.optimizations.PartialConstantFolding pythran.optimizations.DeadCodeElimination pythran.optimizations.IterTransformation pythran.optimizations.ComprehensionPatterns pythran.optimizations.ListCompToGenexp pythran.optimizations.LoopFullUnrolling pythran.optimizations.ModIndex pythran.optimizations.PatternTransform pythran.optimizations.RangeLoopUnfolding pythran.optimizations.RangeBasedSimplify pythran.optimizations.Square pythran.optimizations.Inlining pythran.optimizations.InlineBuiltins pythran.optimizations.ListToTuple pythran.optimizations.TupleToShape pythran.optimizations.RemoveDeadFunctions pythran.optimizations.ForwardSubstitution pythran.optimizations.ListToTuple'

different than
pythran -lblas TD.py

The former lists all the optimizations available (from the init.py file in the optimizations directory). So I would imagine all of these are on by default, but I get different results in both cases. The former works, the latter does not.

The list of optimization used is defined in pythran/pythran.cfg. order matters!

Does pythran.optimizations=pythran.optimizations.ListToTuple indicate that that's the only optimization being run?

yes

As a side note: the code above is not valid Python:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 3, in test
  File "<stdin>", line 3, in B
TypeError: 'tuple' object does not support item assignment

Yes, of course, I'm aware of that! I'm bending the rules because pythran allows me to do it (and it's really the only way I can create and use a tuple from the C++ created by pythran!).

Cool. I'm going to check it this pm

Well, it's still not working for me:
This is the typical situation: These values are declared in my init function.
        flux                =    np.zeros(0)
        #flux                =    np.zeros(int(0*bogus) # < - this makes it work.

The code, again, is too complex to post here. But maybe that will give you an idea for what's going on?

@jeanlaroche can you double check if this is fixed or not in the latest release?

@serge-sans-paille Nope. I get exactly the same assert with the latest release. I might be able to make a pruned-down example if that's useful.

I'm going to close this, and open a new bug that has a smaller example.


[Feature request] Script support for patching strings from a list of offsets

Is your feature request related to a problem? Please describe.
I would like to suggest a method of passing a list of offsets to a converter using the game script. Those offsets would point to offsets of strings that can be extracted/translated, where the only thing that needs to be updated would be the offsets themselves (i.e. write new string offset at address x, where x was given to the converter from the game script).
Describe the solution you'd like
A way of passing a list of offsets (or a list of lists of offsets, if a string's offset is written in multiple places) to a converter so that strings can be extracted from those offsets, and can be written back with the offsets updated.
Describe alternatives you've considered
A Parameter can be added to the script and used with the converter, so two alternatives I can think of are:

Write the offsets in a serialized form in a parameter and let the converter deserialize them.
Write the path to a separate file in a parameter and have the converter read the offsets from it.

However, the first alternative sounds more of a hack than a solution, and the second alternative would require that the converter gets the current working directory and looks for the file somewhere (maybe in the scripts folder). This would have to be updated (either in the script or in the converter class) whenever the script directory in TF3.Core changes, so it also sounds like a hack.
If TF3.Core had a method of getting the script directory, that can be used from inside a plugin, then this would make the 2nd alternative slightly more valid.
Additional context
I am suggesting this method to allow patching files that do not have an easily reversible format, or files in which the strings are not easy to detect/distinguish from other data (except when checked by human eyes). An example would be PS3 EBOOTs, where you can patch an elf by converting the file offsets to the virtual addresses and updating them, after adding the strings to the end of a segment.

I'm not sure if it is possible to create a "generic plugin" for that kind of translation. For example, in Windows .exe files, it isn't enough just adding the new strings at the end of the file, but you need to define a new exe section in the header with proper permissions. Fortunately, there is a library in C# that does it, but I don't know if something similar exists for elf files.
In TF2, I used a similar approach to translate the strings inside the .exe of Trails in the Sky: First I searched all strings with Ghidra and made a list of strings offsets and their references inside the code. To update the references, I had to search what type of instruction referenced the string and update it properly. But I have no knowledge about PS3 opcodes, so I don't know how it references the memory positions.
And about the method to get the scripts folder, I think it isn't necessary. That folder is always relative to the TF3 executable, so you should be able to access it like I do to the plugins folder in this line

Well, that answers all of my questions, thanks!
The way I wrote it was a bit confusing, but I wasn't asking for a generic patcher, just a way of passing on a list (and where that list should be stored). The converters themselves would be provided by each plugin that needs them.
But because of this:

That folder is always relative to the TF3 executable, so you should be able to access it like I do to the plugins folder in this line

I now know that I can just load a file from the scripts/plugins folders.
As for the elf patching, it's really simple. I was using a python script to do this, and all it does is write the strings at the end of a segment, and patch the offsets (after converting them to the virtual space). The segment that the strings will be written to can then have its file/virtual sizes updated, and it would work just fine. This isn't a concrete method, but it usually doesn't have issues if the executable has an empty segment defined (so I don't have to define a new segment)

Do you think it would be more appropriate to store these offsets in a separate json in the scripts folder?

Yes, I think it's better to keep the offsets in a separated file, in that way, we can reuse the plugin for other games.

Thanks, that answers all of my questions.


Can't edit function breakpoints after first edit

Testing #43836
Shouldn't double click allow me to edit the breakpoint?

Pushed some function breakpoint polish. Now you can double click to edit and there is also a context menu "edit breakpoint" item.
There are still some rough edges since the issue is taht I am reusing the inputBox template and the listeners have some timing issues. But will only fix those if users complain since it requires a bigger refactoring (function breakpoints are not that popular)

I would probably expect the input to close when focus moves out, same as how the explorer rename works.

That is not reported, just created an issue to track that
https://github.com/Microsoft/vscode/issues/44912


1928 topic req

Coverage increased (+0.03%) to 67.57% when pulling c7e6454328c32882a13f60648a41351cea10bd81 on 1928-topic-req into 94f02e053e6c28b2e784c6f893aae6c98b3daeab on master.

Coverage increased (+0.03%) to 67.57% when pulling 12028ed0b2039496115a94519f9697696fbb1fea on 1928-topic-req into 94f02e053e6c28b2e784c6f893aae6c98b3daeab on master.

Coverage increased (+0.03%) to 67.57% when pulling 12028ed0b2039496115a94519f9697696fbb1fea on 1928-topic-req into 94f02e053e6c28b2e784c6f893aae6c98b3daeab on master.

When I try to navigate to the market after creating a new market (by clicking on it in the transaction display), I get the following error:
Uncaught Error: abi.unfork failed (bad input): "0x0000000000000000000000000000000000000000000000000000000undefined"
    at Object.unfork (eval at <anonymous> (main.1599293….js:113), <anonymous>:218:15)
    at Object.packageRequest (eval at <anonymous> (main.1599293….js:871), <anonymous>:1255:37)
    at Object.invoke (eval at <anonymous> (main.1599293….js:871), <anonymous>:1299:25)
    at Object.fire (eval at <anonymous> (main.1599293….js:871), <anonymous>:1439:10)
    at Augur.fire (eval at <anonymous> (main.1599293….js:5262), <anonymous>:16:21)
    at Augur.batchGetMarketInfo (eval at <anonymous> (main.1599293….js:5108), <anonymous>:270:17)
    at loader (eval at <anonymous> (main.1599293….js:540), <anonymous>:31:64)
    at eval (eval at <anonymous> (main.1599293….js:540), <anonymous>:49:7)
    at eval (eval at <anonymous> (vendor.fa9fb0d….js:1423), <anonymous>:11:18)
    at eval (eval at <anonymous> (main.1599293….js:60), <anonymous>:20:14)
    at dispatch (eval at <anonymous> (vendor.fa9fb0d….js:2132), <anonymous>:55:18)

I don't think the topic is getting properly set -- when I create a new market, its topic is never added to the topics list, even after a refresh.

@tinybike — Make sure it’s not just getting sliced — we currently only display the top 50 topics.
I’ll take a look @ the transaction issue.

Nuked my other comment — I’ll double check that the topic is being set as the first tag.
Also going to take a look @ the transactions link issue.

Coverage increased (+0.03%) to 68.377% when pulling 8fbdbc39d4c86a807ca7c40fc06acb73ed6ea902 on 1928-topic-req into 2d0ac63b240b7241e9eed235d0249d3db5da51bc on master.

Coverage increased (+0.03%) to 68.373% when pulling 7d6f10a413949a0d12e49224c31d3a36b57280a7 on 1928-topic-req into 2d0ac63b240b7241e9eed235d0249d3db5da51bc on master.

Can confirm that topics are being set correctly during market creation + topic is returned correctly when loading markets.
Looks like topics with 0 volume are excluded from the topics returned from the topics returned from getTopicsInfoChunked.

Coverage increased (+0.02%) to 68.365% when pulling b43051289392c1ffba5db005083a654583d85c8d on 1928-topic-req into 9f4a3ca521e0ad75321870aef9942b7da7f9290a on master.

Coverage increased (+0.02%) to 68.365% when pulling b43051289392c1ffba5db005083a654583d85c8d on 1928-topic-req into 9f4a3ca521e0ad75321870aef9942b7da7f9290a on master.

Coverage increased (+0.01%) to 68.361% when pulling bf7a7e6e71787f4adc0f4dafa93eb53c45ad1f26 on 1928-topic-req into 9f4a3ca521e0ad75321870aef9942b7da7f9290a on master.


Bug Report: "Select Diff Seed" Unexpected Behavior

Background: 2-of-3 wallet with two of the co-signers already active on the SeedSigner. I signed with one of the good co-signers, then attempted to sign with that co-signer again. I received the error "PSBT Error" "Signing with this seed did not add a valid signature" and was prompted to "Select Diff Seed".
When I selected this option, I was returned to the beginning of the transaction review workflow rather than to a list of currently-loaded seeds, which would seem to be the expected behavior.

I DONT HAVE MUCH TO SHARE, just my thoughts... which are far from an answer.
I suspect that you ARE being redirected back to PSBTSelectSeedView but that you're immediately redirected into the PSBTOverviewView because self.controller.psbt_seed is still set from your last iteration.
Admittedly, I'm not familiar with this code.  I don't know if the PSBTSigningErrorView could unset the psbt_seed so that a redirect won't happen, or if the check below the line liked above should be checking for one-matching-seed exactly, and failing if there are 2 matching seeds, so that you can have a choice to choose just one... or if it should be checking for a matching seed that hasn't already signed the psbt.

Im having a hard time duplicating.  Is it correct to:

load threshold seeds into seedsigner,
scan psbt via MainMenu / Scan,
sign with first seed,
scan psbt w/1 sig via MainMenu / Scan,
let it choose the first seed again and try to scan?

I'm not getting to the point where "Signing with this seed did not add a valid signature" (or rather what I think it means, did not add an additional signature).  Instead, it just gives me the qrcode that I scan back into Specter Desktop... which realizes I still need other keys to sign.

As far as I can tell you have the sequence correct. To arrive at this I...

loaded two of the three required keys into signer
scan proposed spend into signer
sign with first seed & send PSBT back into coordinator
scan proposed spend into signer again
attempt to sign with the same seed again

Not sure that it would matter but I am using Sparrow to produce this error screen -- maybe Sparrow is including the completed signature into what is passed back to the signer the second time?

I am using Sparrow to produce this error screen

That was it, I confirm the error.


Build issue: missing vu library

It is not possible to build the tool, at least one lib is missing:

@greenozon Please take a look at the section Development @ https://github.com/vic4key/QLoader#development
You need to install Vutils (very simple to install @ https://github.com/vic4key/Vutils#installation) to build the solution.

Thanks
all clear, closing


Make rdfstore work with Atom.io

There are ( at least ) three things that stand in the way:

sqlite3 does not play nicely with atom-shell ( See: https://github.com/mapbox/node-sqlite3/issues/357 )
contextify has similar build issues ( and it is a transitive dependency through jsonld )
usage of unsafe eval() needs to be wrapped using loophole

I have added a small frontend for the store built using electron (old atom-shell)
These are the changes: https://github.com/antoniogarrote/rdfstore-js/commit/94c0917c56a065846178c1c3d7ce16856d329731
To run it, you can just run electron from the 'frontend' directory.
Integration as a chrome library is trivial. I have to try intengrating the library as a node library and fix the issues you mention. It's a really interesting option for people to try the library.
Thanks for the suggestion.

Looks like the new version of jsonld 0.4.x no longer have the dependency to contextify (as it has been moved into node.js already). Maybe an update of the package dependencies might be sufficient to resolve the issue...


Space Travelers' Hub: Fetch Rockets

Space Travelers' Hub: Fetch Rockets
In this PR, I implemented the following features:

fetch data from SpaceX API.
Displayed the data from API in my UI.
Stored data in a redux store

Very God Job Bro.
You can merge it

Thanks @Olivier-Kango


aurora constantly accessing my microphone

Expected Behaviour
microphone not being accessed while not having microphone level as lighting effect
Actual Behaviour

it accesses it nonetheless
Reproduction steps

install aurora

Frequency

always
Aurora Version:

0.7.0-rc2
Previously an Issue?

i dont know

This functionality has been present for a while but it's only due to the recent Windows 10 update that the microphone icon is appearing.
In the current v0.7.0 release candidates (both 1 and 2), there is an option in the settings to turn this feature off (and it will be off by default).
Duplicate of #1578, #1672.


test benchmark ADE20k-clean

I appericate your work. Can you release the test benchmark ADE20k-clean?

Hi, the labels of ADE20k-clean are:
animal
bag
hill
ball
step
bar
barrel
basket
bottle
plaything
clock
airplane
bench
path
bicycle
bed
bar
box
pier
bridge
sidewalk
lamp
light bulb
pool table
cabinet
cabinet
computer
boat
ship
sculpture
book
rug
land
pole
bookcase
seat
case
ceiling
chandelier
runway
wardrobe
apparel
building
coffee table
computer
bus
chest of drawers
sofa
counter
counter
countertop
curtain
cushion
bathtub
case
waterfall
stove
fence
fireplace
flag
car
pole
fountain
van
refrigerator
earth
hovel
ceiling fan
column
chandelier
mirror-stuff
chair
cup
table
desk
plate
dishwasher
door
railing
oven
palm tree
tank
field
armchair
flower
food
booth
pillow
trade name
canopy
plant pots
tower
runway
railing
person
sand
sand
cushion
awning
trade name
lake
microwave
shelf
shower
monitor
hovel
sink
mountain
sea
skyscraper
skyscraper
streetlight
stairway
booth
stool
stove
plant
minibike
poster
radiator
swimming pool
television receiver
river
road
rock
tent
ashcan
toilet
towel
land
armchair
signboard
tray
truck
sky
stage
vase
traffic light
waterfall
canopy
tree
water
windowpane

Wow, thank you!


Add to calendar in drop page

we are managing to put up the drop page at least one day prior, IMO it will be worth to consider add to calendar feature
will drop design

continue #9329


Minimize NEEDS_CURRENT_LEDGER requirement (RIPD-840, RIPD-27)

This enhances the reporting capability of RPC::LookupLedger and reduces the requirement of a current ledger for many RPC commands. The perceived up-time of client handlers improves since requests will not depend on the server being fully synced.

Reviewers: @JoelKatz @ximinez @HowardHinnant

:+1:

Someone forgot to turn off CAPS_LOCK in the commit message ^_^

I found a spot you may have missed. https://github.com/miguelportilla/rippled/blob/301e5e25d43bfce00d247bd1a9572466c6662a76/src/ripple/rpc/impl/Handler.cpp#L70-L71
        addHandler<LedgerHandler>();
        addHandler<VersionHandler>();

These classes are outside of the the Handler table starting on line 98, and they define a condition() function that returns a Condition.
Specifically, LedgerHandler::condition() returns NEEDS_NETWORK_CONNECTION. I think that's no longer correct.

Whoa, good catch!
Nasty issue that I :-( created there - that these two items are not in the main table and easy to miss.  Theory is that all the others will move to that format but it'll be some time yet...
Mickey, since you're here, could you drop in a comment at the top of the table of handlers pointing to that location in Handler.cpp so we won't make that mistake again?

@ximinez  Nice digging! I am not sure how I missed it since its based on use of RPC::lookupLedger.
@rec Will do. This did not affect me though as commands requirements I changed were based off the handler implementation using RPC::lookupLedger. No one should solely rely on the condition enumeration to make these types of changes. After we merge this code we can probably eliminate the condition entirely.

Thank you Tom and Ed for the review and feedback! Much appreciated.

You're welcome, but why'd you close the PR?

:+1:

Modified the synced function to handle the validated ledger passed in as the ledger argument.

:+1:

@rec ping

urg, I muted this whole thread.  I was wondering what you were talking about!
On this right now.

:+1:

Merged as d182d1455eceb862a63163ddec53b98f5b02d595


allow BLOB txs during shanghai

covers first block after the fork case, merge after #5961

reference test fail https://app.circleci.com/pipelines/github/hyperledger/besu/24242/workflows/f8d4d4b8-9426-401e-bc5e-c7b6a34459ec/jobs/155813/tests#failed-test-0

I do not think this is the right way, since adding Blob tx here means that they are considered valid even before Cancun, that is against the protocol specs, since we can accept as valid blocks containing them when still on Shanghai. We need to understand better the scope of the Hive test and in case change it.
I remember that this was discussed during a ACDE call, and we agreed that tests should not expect blob tx to be present in the pool for the fork block.

ok, that makes sense. Will close this PR, and need more time to open a more extensive one that allows the set of allowedTransaction types to change as the protocol schedule passes.


Fix numpy version checks

Closes gh-2998.
Note that no existing version string parsers in distutils/setuptools/distutils2 work well, so this is the simplest solution I think.

For future reference, here is the PEP that's about changing distutils.version: https://www.python.org/dev/peps/pep-0386/. It explains why StrictVersion / LooseVersion aren't ideal (to put it mildly).


Internal use of deprecated API

openid.server.server.OpenIDResponse.__init__ uses request.namespace instead of request.message.getOpenIDNamespace(), which generates deprecation warnings.

This repo is being archived. Closing issue.


#12 allow context substitution for handler class

@parikhyash
handlers can also be substituted

CLA is valid!

Looks good, merging..


How to resize existen bag file?

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10 64bit

Kernel Version (Linux Only)

Platform
PC

SDK Version
2.26.0

Language
C++

Segment
VR/AR/others

Issue Description
i am using recorder from sdk, changed recording time 10s to 1s.
after recording, bag file size is about 30 ~ 40 Mbytes(auto exposure), 40 ~ 60 Mbytes(manual). (color 1920x1080, depth 1280x720, 15fps).
I think there are 10 to 15 frames of image files in the bag file. To check if the bag file was saved successfully, we tried to extract the jpg image from the bag file to see if the jpg file was saved normally. In most cases I have verified that the bag file is saved normally. The only remaining problem is
I want to reduce the size to 4-5 Mbytes by leaving only 1 frame in this bag file.

ROS has a toolkit called **bag_tools ** that features a program called cut.py. It can input a bag file, crop it to the specified start point and 'duration' end-point, and write the result as an output bag.
http://wiki.ros.org/bag_tools#cut.py

@MartyG-RealSense , thanks for the info!


Revert use of podman.podman_login

See #248. This reverts the changes made to podman registry login step in e9d56496261807a5174c1347123b49e629c2490 b, ensuring that we can use the podman plugin while we wait for a reply in https://github.com/containers/ansible-podman-collections/issues/723

I've also added a commit that sets no_log to true for the login command. This was presumably handled by the podman.podman_login module itself, but since this PR now uses ansible.command again, I felt it would be better to suppress all login output to obscure the password, analogous to the docker plugin.

Closing in favour of #250


Example for simple font

Here you can see when executing
cargo run --example simple_debug

that the visible font is broken

Thanks. list_all was basically this, but it lacked examples of lowercase characters. I added one to list_all instead


Can't set property "--no-correct-pts"

I'm trying to set a property using mpvPlayer.API.SetProperty, like this:
mpvPlayer.API.SetProperty("no-correct-pts", new byte[] { 1 }, MpvFormat.Flag);
I'm being told that "no-correct-pts" is an invalid property. Throwing a Mpv.NET.API.MpvError.PropertyNotFound Exception, error message:
Mpv.NET.API.MpvAPIException: 'Error occured: "property not found".'
Does it have something to do with the use of dashes in the property name? Am I incorrectly setting a MpvFormat.Flag? Can't find another example but tried setting another flag which seemed ok, didn't crash anyway.
Is there a way to fix this? Kind of need this property (or another way to tell MPV to play at faster than 60fps.. speed isn't seeming to do it). Basically I need to display frames to the screen as fast as I get them, skipping being ok as they'll be coming in at up to 600fps. Find one sending front but no matter how fast I send them, MPV seems to buffer them instead of displaying them.

Fixed it with help from the official mpv team, I disabled vsync using these options and one of them did the trick:
mpvPlayer.API.SetPropertyLong("opengl-swapinterval", 0) and mpvPlayer.API.SetPropertyString("vulkan-swap-mode", "immediate")
Hope it helps someone else.


Update manage-tags.md

Tags are now supported in GCCH

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Transactions can be orphaned

Just to note a very obtuse edge case in #193.  Due to the change, any block voted invalid (by quorum) immediately has all its transactions put back in the backlog by every federation member.  This redundancy is good but has one pitfall -- if EVERY SINGLE node goes down while liquidating the block, leftover transactions will be orphaned upon restart.
The block is never revisited unless a new vote is cast, which may never happen again.  Thus any transactions that didn't make it back in before the federation crashed will not make it back to the backlog.

We need to assume that at any given time a majority of the nodes will be working correctly. If this is not true then we have no way to ensure consistency or prevent data loss. I think we should close this issue. @rhsimplex ?

This would be solved by #568


picsure 303 non super admin can't touch super admin privileges backend and UI changes (improved show notification in UI)

Test Results in JIRA ticket picsure 303

Again! Very nice work!

On Sep 6, 2019, at 11:18 AM, YuAvillachLab<EMAIL_ADDRESS>wrote:
Test Results in JIRA ticket picsure 303 https://urldefense.proofpoint.com/v2/url?u=https-3A__hms-2Ddbmi.atlassian.net_browse_PICSURE-2D303&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=TO8-XRA3sYxW6P0O-ZOZWDn_qb5dTj7SsPieslLmZ8o&e=
You can view, comment on, or merge this pull request online at:
https://github.com/hms-dbmi/pic-sure-auth-microapp/pull/64 https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=v_-UxEnfWclRvz2seOoIB1VnJo_fuYFKms0gB7ksuR8&e=
Commit Summary
picsure 303 non super admin can't touch super admin privileges backend and UI changes (improved show notification in UI)
File Changes
M pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/rest/UserService.java https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64_files-23diff-2D0&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=Q3DnlS_alApsb5wLnft4_D5LXYGOe3LETH-zSu-ApYo&e= (127)
M pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/service/Auth0UserMatchingService.java https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64_files-23diff-2D1&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=oq-Vc_Yj3FbYgTaSu3XwTEoURjhIE95r7i9BMyYo7yk&e=(2)
M pic-sure-auth-ui/src/main/webapp/psamaui/picSure/userFunctions.js https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64_files-23diff-2D2&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=n8AFyifZiTzRFp-XXDkaIDlBe8b7Mgm74A44cesCyZQ&e= (28)
M pic-sure-auth-ui/src/main/webapp/psamaui/util/notification.js https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64_files-23diff-2D3&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=Jn9c9wEVyOSdvqgWbw9hluzWxDn8tu6md9LBva3NJWM&e= (5)
Patch Links:
https://github.com/hms-dbmi/pic-sure-auth-microapp/pull/64.patch https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64.patch&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=OK8_JMC8KWPA-kbwp_Tj6vhqBGd89JZ0eXGR-Dummoo&e=
https://github.com/hms-dbmi/pic-sure-auth-microapp/pull/64.diff https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64.diff&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=Q_u9ovXVd7N-H6mkjtPdggAG8VoWnRKzvt_NZvPN058&e=
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hms-2Ddbmi_pic-2Dsure-2Dauth-2Dmicroapp_pull_64-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAEJHQSJ26JRCEG3C3PGHKBDQIJYE7A5CNFSM4IUKFSH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ2VPVA&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=Mo-CSJJGMVte2lBOzJ_DyWTBWmGfhJ3BXKCPi_fhBQU&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEJHQSNLP26WW73HB35EYPDQIJYE7ANCNFSM4IUKFSHQ&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=pijzILWzyE5fbgehP7mrMWRDVS5IVXAsHSkDzMRm1qM&m=sspN0vVvIdcOcxbpUT0-vFfBnQg9yFdvWvpwtprCv3g&s=7mEyHMh7y4wsEPhRqYUGsrzrxXQO5arA37EF-HepSxY&e=.


Roll Flutter Engine from 4ee09d3b7f3b to c6cb09d3c0da (1 revision)

https://github.com/flutter/engine/compare/4ee09d3b7f3b...c6cb09d3c0da
2024-07-05<EMAIL_ADDRESS>[web] use semantic tags for headings (h1, h2, etc), and fix missing secondary roles (flutter/engine#53703)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Node v6.9.1 (LTS) updates

Release notes

Hi @cilindrox : I'm going to close this (since it deletes several tags which we intend to maintain), but we've pulled in many/all of the updates you've proposed in #27.


launch: merge CI and ansible-lint

To avoid having to run the whole CI pipeline if we have an Ansible error, run ansible-lint command before running any Ansible playbook.

Will we do it inside the github action.


New term AFG3L2-related optic atrophy

Closes #7826

Definition
Logical definition
Term tracker
3 Parents
2 Children
Several PMIDs and a working group source/dbxref

@yshwetar I am reassigning to you based on our slack discussion about this issue.


versions: update nemu to latest release

Latest release fixes entropy issue.
Fixes: #1251.
Fixes: #987.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

@jodh-intel @grahamwhaley I guess we could merge it as long as we have travis and the static checks passing here, right?
We don't have any NEMU CI in place yet, and this changes only the NEMU binary version.

/test


Add blurred right click menu

Description
Add blur to right click menu this requires layout.css.backdrop-filter.enabled to be set to true on older versions of Firefox it was only recently enabled by default as of 103 to my knowledge maybe 102-101?
Include screenshot / video recording if possible.

It is set to true for me but I don't see the blur effect. Do you use Mica ?

I am on Windows 11 I assume so

It seems that backdrop-filter cannot be applied to the context menu. I think it is because Firefox draws context menus as their own windows separate from other content, but Firefox can only blur it's own in-page content.
.menupopup-arrowscrollbox {
  background: #fff8 !important;
  backdrop-filter: blur(20px) !important;
}

backdrop-filter is definitely enabled:
body {
  backdrop-filter: blur(20px) !important;
}

Maybe make a bug on Mozilla bug tracker? I don't know if they will do anything likely WONTFIX since it's unsupported

Well in that case you can probably use Mica for everyone in some way or Picom on Linux

Closing this due to Mica being no longer supported.


Added reference to supported uris and plugins page

Thanks Damon, this is a great linkage.
To protect yourself, the project, and users of Mycroft technologies we require a Contributor Licensing Agreement (CLA) before accepting any code contribution. This agreement makes it crystal clear that along with your code you are offering a license to use it within the confines of this project. You retain ownership of the code, this is just a license.
You will also be added to our list of excellent human beings!
Please visit https://mycroft.ai/cla to initiate this one-time signing.
Thank you!

Done :+1:

Received, thanks again!


in Vivaldi. Crashes when clicking on links in the extension

Vivaldi version : 5.7.2921.53
Chromium version : 110.0.5481.111
When I restart my browser and open the page, I can view the page without problems.

click extension
click links in popup
Click anywhere on the page displayed.

It occurs on all links.

Confirmed, working on a fix now

Can you check if this build https://github.com/anaclumos/bing-chat-for-all-browsers/blob/new-tab-fix/release/chrome.zip resolves the problem?

v1.0.4 was released with this change. Please let me know if the issue persists.

Oh. Sorry I didn't notice your comment.
I just tried it in my own browser and can confirm the problem is fixed! Thanks so much. 👍


link to repo from site?

Hi! Interesting project. Have you considered linking to this repository from http://www.overreact.io?

Hey! We will be linking the github shortly, just wanted to clean up some code and write a Readme. Stay tuned!!


Pkg resources

metadata was not correctly imported. Fix #1108.

Merging this, but I expect to include it in the next hotfix <IP_ADDRESS>


set extension name while building vscode extension (vsix) in build.gradle

is it possible to set extension name from build.gradle?
StackOverFlow
I had a look on this article, but couldn't get any idea to set name from build.gadle   package.json schema

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


implement work-steal schedule

this is a meta issue

cc: http://supertech.csail.mit.edu/papers/steal.pdf

Simple implementation of BusyLeaves
#![feature(std_misc)]

extern crate coroutine;

use std::thread;
use std::rt::util::default_sched_threads;

use coroutine::mpmc_bounded_queue::Queue;
use coroutine::coroutine::{Coroutine, State};

fn main() {
    const MAX_MESSAGES_NUM: usize = 1000;
    let n_threads = default_sched_threads();

    let queue = Queue::with_capacity(n_threads * MAX_MESSAGES_NUM);

    let coro = Coroutine::spawn(move || {
        let mut count = 0;
        loop {
            println!("Counting {} in {:?}", count, thread::current());
            count += 1;

            Coroutine::sched();
        }
    });

    queue.push(coro);

    let mut threads = Vec::with_capacity(n_threads);
    for thread_id in 0..n_threads {
        let queue = queue.clone();
        let t = thread::Builder::new().name(format!("Thread {}", thread_id)).spawn(move || {
            loop {
                match queue.pop() {
                    Some(coro) => {
                        coro.resume().unwrap();

                        match coro.state() {
                            State::Suspended => {
                                queue.push(coro);
                            },
                            _ => {}
                        }
                    },
                    None => {}
                }
            }
        }).unwrap();

        threads.push(t);
    }

    for t in threads.into_iter() {
        t.join().unwrap();
    }
}

Here comes the problem: what would happen if a Handle was added into the queue more than once? I think I should reconsider the design of APIs.

What if two different threads got a Handle to the same Coroutine and then try to resume it concurrently?
There are multiple choices to apply for this situation:

Make the Handle non-Clonable. This is the most simple solution, but I am still wondering it that applicable for most situation.

Add a conditional variable inside the Handle, when the Coroutine is running, other thread that wants to resume this Coroutine may have to wait for the signal.

In maciekgajewski/coroutines, Scheduler is a Singleton.
When the Scheduler was constructed, it will creates Processors, which actually are native threads with work queues.
When spawning a Coroutine, a Unique handler to the Coroutine may be created. Then the handler will be pushed into a queue owned by Scheduler. So the Scheduler owns all Coroutine.
When a Coroutine is ready, Scheduler::schedule may be called with a weak ref to the Coroutine, which actually adds it to a Processor's work queue or a global ready queue inside the Scheduler.
When a Coroutine dies, it will tell its parent who spawns it (the Scheduler) to delete it. All weak ref to the Coroutine will be invalid.

maciekgajewski/corotines does not provide any mechanisms to ensure only one handler to a coroutine can be added into the ready list.

In the original version of libgreen, they implement the work-stealing scheduler heavily rely on many lock-free queues.
Every Scheduler has its own work queue, which is a lock-free queue. This queue is a special type of mpmc queue but it provides multiple Stealers and one Worker. The Scheduler gets work from the queue with pop operation on the Worker, which is less overhead than getting data from Stealer. The other Schedulers have one copy of the Stealer. When the Scheduler is starving, it will call steal on every Stealers it records. If one of them succeeded, it runs it immediately.
Scheduler is in thread local storage.
There are communication channels (mpsc queues) between Schedulers. They could send messages to other Schedulers.
spawn operation is nothing more than add the created coroutine to the Scheduler in current thread.


Invalid Token Specified

Hey there ... cloned the project, built, and ran in dev env. I am getting an error when visiting "/". After seeding the db and changing config:
"host": "<IP_ADDRESS>",
"port": 3000,
"domain": "",
"baseUrl": "",
"db": {
"protocol": "postgresql",
"host": "localhost",
"port": 5432,
"database": "ng_auth_example",
"username": "",
"password": "",
"dialect": "postgres",

No other changes were made in the config. Am I missing a step?

Hi, same issue, any help please?

anyone, same error


Please explain how to get reply variable before using it

I got really confused on where reply came from. I just came from the previous tutorial which doesn't have it, and it's not shown until the user scrolls down, so this confuses the user. I know the document says "reply activity (that was created off the activity with CreateReply())," but I didn't know where to get the activity from.
Also, I tried this, but it errored:
protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
{
     var reply = turnContext.Activity.CreateReply();
}

The error is:

IMessageActivity' does not contain a definition for 'CreateReply' and no accessible extension method 'CreateReply' accepting a first argument of type 'IMessageActivity' could be found (are you missing a using directive or an assembly reference?)

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

ID: 607856cb-baae-c401-5b34-876b5018771d
Version Independent ID: 77df1de7-7b2e-a546-1280-a66121039a94
Content: Add media to messages - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-add-media-attachments.md
Service: bot-service
Sub-service: sdk
GitHub Login: @ivorb
Microsoft Alias: v-ivorb

The documentation is confusing. It says to use the Activity object of the turn context and call CreateReply(), but that doesn't work because the data type of turn context is ITurnContext<IMessageActivity>. If the datatype is just ITurnContext without <MessageFactory>, I can then call CreateReply().
But when I change the datatype to ITurnContext, a new error comes up, which is that then OnMessageActivityAsync() function doesn't have that call signature. So I can't actually change the datatype.
My colleague found a workaround, which is to cast the activity to another type: var reply = ((Activity)context.Activity).CreateReply();. Why does this work? Does this mean an Activity has the CreateReply() function but a IMessageActivity can't? It seems like a IMessageActivity does indeed have the CreateReply() function. But I don't know.

We didn't include the complete method body here, as we are referencing code from the Handling Attachments sample. For example, OnMessageActivityAsync and ProcessInput in the Bots\AttachmentsBot.cs file.
As to what's going on:

The Activity class implements the IActivity interface.
However, the CreateReply method is defined on the class, but not on the interface.
I think this is a bug in the SDK, and I'll open an issue in the botbuilder-dotnet repository.

PS. Turns out both the samples and the documentation are out of date on this front. Hopefully, we'll get this sorted out by the next release. In the mean time, you can do something like the following:
var reply = new Activity
{
    Type = ActivityTypes.Message,
    Text = "<replay message>",
    Attachments = new List<Attachment>
    {
        // Add attachments...
    },
};

Thanks @JonathanFingold. We can use the example you provided in the meantime.


Timeline header at the bottom

Hi there!
I didn't find any similar and direct answer to that question: can top timeline header be placed to the bottom?

I don't think that is possible using the API. However you could try to create a second timeline. Link them together using Example Linked Timelines and hide the header of the first one (which will be easier with the custom headers coming soon).
No guarantee though that this works and it seems also rather hacky.

This works for me:
.react-calendar-timeline {
    display: flex;
    flex-direction: column;
}

.rtc-outer {
    order: 1;
}

.rct-header-root {
    order: 2;
}


auto-ebs - ERROR - An error occurred when connecting to EC2

When I try to use the script for anything I get the error in the title. Is there any way I can debug this issue further to pinpoint what the problem is?

Yeah, that's a pretty lousy message..
I would assume that that means that you didn't provide credentials on the command line nor via the environment variables. Try explicitly setting the access and secret key on the command line for debugging this.

I tried directly setting the keys, I have them set as env variables as well and I also tried passing them in in a config file, nothing worked, same error.

I have created a new version of automated-ebs-snapshots that hopefully will give some more insights. Try installing it with pip install -U automated-ebs-snapshots==0.4.1a1.

$ automated-ebs-snapshots --config auto-ebs-snapshots.conf --list
auto-ebs - INFO - Connecting to AWS EC2 in us-west-2a
auto-ebs - ERROR - An error occurred when connecting to EC2

Maybe I'm missing some configuration in my AWS account?

Ping. Same issue here too. I also upgraded to 0.4.1a1 - any progress on debugging this?

Ah, fixed it. It turned out my region doesn't need the letter at the end. I had us-east-1a, but changing it to us-east-1 fixed it.

@remy yeah, if you add an a in the end your specifying the AZ, not the region.


Sanitize Email & Username

Fixes #
Proposed Changes

@v-rucdu / @NikTripathi - Is it possible to please do the following for these changes so that the deleted emails do not appear in history: Thanks.

Copy the impacted sample data file from master branch
Delete the instance (#1) from GitHub
Make changes to #1 by replacing email IDs and anything else you observe that seems like a name or contact info (replace by 1111 or so) etc.
Then check in #3 as a new file
This way the changes won’t show up and also name the PRs as sample file delete and sample file create.


Add to wishlist not yet implemented in Shopify framework.

This is likely because Shopify, as a platform, does not support wishlists. When building a store with a standard Shopify theme, this functionality can be achieved with one of several apps available in the Shopify marketplace. The commerce package currently depends on the platforms to provide the APIs for this functionality. Perhaps a complimentary framework provider could be developed in the future to extend this functionality for Shopify stores.


Alert table colors doesnt match the theme

Description:
Alert table colors are

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

duplicate of https://github.com/wso2/analytics-apim/issues/1220


Clicking a point on the minimap does not move the viewport to that point unless it is within the current view

Clicking a point on the minimap does not move the viewport to that point unless the clicked point is within the current view.  Also, after clicking such a point on the minimap, clicking a tile within the viewport moves the viewport to a tile relative to the minimap-clicked point rather than the tile clicked in the viewport.

The minimap is currently not working correctly and I will attempt to get it fixed in the next preview version.

It seems to me that it is moving the viewport to that location without updating the screen to reflect the move.  The clue is that clicking somewhere inside the viewport after clicking the minimap location acts as if the viewport had been updated.

Some more information about this one: it seems that the only thing that matters is whether the minimap click point is within viewport range of the currently in-control unit.

The map is probably moving, but there's no update signal given to the screen. I will start working on this now.


Change default 'set tabs aside' shortcut

This shortcut can cause problems for those who are accustomed to using it to go back in history. In Chrome and Edge, it seems to be overridden. Shift+Alt+Left is an unused key combo.
Implements following issue:
Default shortcut overrides browser hotkeys #89
Changelog

Changed "Set Tabs Aside" shortcut to Shift+Alt+Left

Got that updated. Thanks!

Accidentally clicked "close and comment"...


APS-1472: Add stub for Cas1 Space Booking, non arrival

Added Space Booking Non Arrival API definition and stub

Implemented this change as part of a PR 2454 :
https://github.com/ministryofjustice/hmpps-approved-premises-api/pull/2454


Issue 498 Update unitflagmanager.lua

Fixes #498

You can link to issues just by typing "#" followed by the issue number. I've edited your parent comment to demonstrate this functionality

Ok, thanks. :)