Can not Login to the Keybase Android Application

I have a login problem. I can't log back into the Android keybase application. My problem here is that I lost my keybase data including the paper key. so how can I log back into the android keybase. but I can still log in via the keybase website

the same problem


update basePath config value

Coverage remained the same at 78.975% when pulling 9e9b61f85f5fd7effe740e0014e40118f75e04be on app-config-basepath-fix into f32900c282104912cdbbb674e352c836239631f2 on master.


core: Add message broker

Summary
Fixes #213
Checklist

[x] cargo fmt
[x] cargo clippy
[x] cargo test
[x] updated CHANGES.md

@Paveloom what do you think? Do you want to review this PR?

LGTM. The only thing is that the example is not configured in examples/Cargo.toml.
I haven't upgraded my project to v0.5 yet, but I will do it soon. Thank you very much for implementing this.

Thanks!
I accidentally modified examples/Cargo.toml in another PR already so it should work fine once merged.


fix(style): fixed UI inconsistencies in dark mode & responsiveness

Added proper padding and indentation for consistency in mobile devices
Added consistent drop shadow for theme change button for both light and dark modes
Fixed styling inconsistencies for dark mode

Previews:

A big thanks for the contribution, for providing new enhancements to this project.

no worries :)


fix: accessibility - icons are tab stops

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added the option to change the http status code

Hi @Spomsoree,
Dumb question, but why would it be better to use 302 as default?

302 is the current default by symfony: https://github.com/symfony/http-foundation/blob/18f8a2a3ab703428143c27c055fd743ab7e7dcb1/RedirectResponse.php#L35
I did not want to change that for current installations.

302 is the current default by symfony: https://github.com/symfony/http-foundation/blob/18f8a2a3ab703428143c27c055fd743ab7e7dcb1/RedirectResponse.php#L35
I did not want to change that for current installations.

There is a simple difference between a 301 and 302 redirect: a 301 redirect indicates that a page has permanently moved to a new location, meanwhile, a 302 redirect says that the page has moved to a new location, but that it is only temporary.

Personally, I use this most often for permanent redirects (so they get updated as such in Google), and I'd suspect it's most often used for that.
Would it be acceptable if we merge this in, but set the default to 301? That way it's no BC-break for existing user, but people can use 302 if they prefer..

@bobdenotter the current version does a 302.
I think 301 makes more sense, but people who have this installed are getting a 302, so it would be a BC if I'd change that.
No parameter is passed here: https://github.com/bolt/redirector/blob/master/src/RedirectSubscriber.php#L40
Thats why it defaults to 302 here: https://github.com/symfony/http-foundation/blob/18f8a2a3ab703428143c27c055fd743ab7e7dcb1/RedirectResponse.php#L35

@bobdenotter the current version does a 302.

Ah, hmm, right.. Let's get this merged as-is, then! 👍
Thanks, @Spomsoree


Add WordPress VIP & rtCamp to "Other" table in 3pcd-readiness.md

Proposing to add WordPress VIP and rtCamp to the "Other" table as we are 3PC ready.
We have been offering Privacy Sandbox audits for businesses to get ready for third-party cookie deprecation and migrate to alternatives.

Closing because of CLA issues. Getting my colleague @gagan0123 to commit the same changes as he has the CLA in place already.


Add CAPHV to clusterctl as a recognized provider

Describe the solution you'd like:
Right now, in order to use CAPHV with clusterctl , the user needs to add a custom configuration under $HOME/.cluster-api/. This can be easily avoid by following the official procedure.
Why do you want this feature:
Adding CAPHV to the clusterctl official provider list will increase visibility of CAPHV.

Issue Created: https://github.com/kubernetes-sigs/cluster-api/issues/11476
PR Created: https://github.com/kubernetes-sigs/cluster-api/pull/11477
Waiting for maintainers


Rotate output

Is there a way to rotate the output? Currently the output results in a diamond. Ideally I'd like to rotate it 45 degrees so that it represents a square as opposed to a diamond. The bearing option doesn't seem to do anything when I try to set that to 45.

One thing I forgot to mention, this is when numberOfEdges is set to 4.

Hi @fishcharlie , I get the correct rotation. Are you sure you spelled it correctly?
Passing bearing: 45
Code:
circle([-105.0075602531433, 39.748670669322394], 100, { numberOfEdges: 4, bearing: 45 });
{
  type: "Polygon",
  coordinates: [
    [
      [-105.0067340774561, 39.74930587122309],
      [-105.00838642883049, 39.74930587122309],
      [-105.00838641359589, 39.748035461565095],
      [-105.00673409269072, 39.748035461565095],
      [-105.0067340774561, 39.74930587122309],
    ],
  ],
}

On map
Image:

Omitting bearing
Code:
circle([-105.0075602531433, 39.748670669322394], 100, { numberOfEdges: 4 });
{
  type: "Polygon",
  coordinates: [
    [
      [-105.00756025314331, 39.74956898460652],
      [-105.00872863123237, 39.74867066346578],
      [-105.00756025314331, 39.74777235403828],
      [-105.00639187505423, 39.74867066346578],
      [-105.00756025314331, 39.74956898460652],
    ],
  ],
};

On map

@johachi The issue here was poor documentation. In the README it lists bearing as the 5th parameter. In reality, the function only accepts 3 parameters. The 3rd one being either a number representing numberOfEdges, OR an object.

No where other than the source code itself is this made clear. Maybe it'd be a good idea to update the README to make it more clear?

Your right, it is a little bit unclear unless one reads the source code. I have fixed it now. https://github.com/gabzim/circle-to-polygon/pull/40
Please feel free to contribute if you think there are more things that can be improved in the documentation 😄


Synth generation is broken

The synth changes in here are causing TypeScript compilation errors:
https://github.com/googleapis/nodejs-translate/pull/377
Not sure what's causing it :(

This one is a weird oddball right now since it's half JS, half TS.  It's on my list to be converted to TS right after the text-to-speech is done.

What I mean is - no need to spend time fixing JS+TS mix since it will go away soon.

see: https://github.com/googleapis/nodejs-translate/pull/377 we just need ot update synth.py mainly.


Buildcraft assembly table

Is it in or you are working on it or it will not be added? I want use robots and would help to have Gates and chips, same for use in Logistics pipes.

Do you have BuildCraftCompat installed? The NEI handlers for the Assembly Table, Integration Table and Refinery are in there nowadays.


DOT address is showing KSM transactions

I added our DOT Pool #18 Stash Address: 13UVJyLnbVp8c4FQeiGDrYotodEcyAzE8tipNEMc61UBJAH4
The DOT figure is correct. Why is it showing KSM...?

It seems you are showing KSM from Pool #18 which is for PolkaGate | https://polkagate.xyz

Hey hey! Looks like the same account id is used also for KSM pool. So it is expected behaviour that you see balances in both networks

Ok, but that account on Kusama is not mine…


Cleanups

Had codesigning issue along the way.
Turns out that a Mac app needs a valid CODE_SIGN_ENTITLEMENTS buildSetting, which I changed the path in this branch.


Error: maximum recursion depth exceeded in cmp

I have this build.py:
from pybuilder.core import task, depends

@task
@depends('readline')
def sqlite():
    print('sqlite')

@task
@depends(sqlite)
def readline():
    print('readline')

@task
@depends(sqlite, readline)
def python():
    print('python')

Now when I run pyb sqlite it will correctly tell me I have a circular dependency. But when I run 'pyb python` I get "maximum recursion depth exceeded in cmp" which seems to be a bug in pyb.
(Also, is there an API to ask a task for its -- direct and indirect -- dependencies? I am trying to use pybuilder as a kind of Make for project artefacts and each task needs to use the artefacts of its dependent tasks.)

Thanks for bringing this to my attention. The circular dependency detection is very naive right now.
I have replaced it with a tarjan SCC on the dependency graph which passes any test case I could come up with, but it still needs some more polish, I'll try to get it out tomorrow.
There's no API to obtain a task's dependencies currently. Can you clarify what you'd expect / how you'd use it, maybe with some sample code - are you looking for the name of the dependencies (["sqlite", "readline"]) or for the actual objects?

Thanks for the quick response!
Here's what I'm trying to accomplish -- I'm still not sure whether
pybuilder is useful for this or not. I'm not building Python packages --
I'm building a large app written in C, which uses many other libraries
written in C. Each dependency (e.g. sqlite) has its own checkout and we're
building from source. Once built, we collect the artifacts in a directory
named after the task name. Then the dependent task needs to reference these
artifacts, and ideally we don't want to encode the names of the
dependencies in the task body again. For example:
@task
@depends(sqlite, readline, ...)
def python():
copy('sqlite')
copy('readline')
copy(...)
I would prefer to be able to write the body of the task as
for d in get_dependencies(python):
    copy(d.name)

(I'm okay with having to reference the task itself by name, though it would
be even nicer if there was a shortcut for that too.)
Am I making sense?
On Fri, Mar 13, 2015 at 12:24 PM, Maximilien Riehl<EMAIL_ADDRESS>
wrote:

Thanks for bringing this to my attention. The circular dependency
detection is very naive right now.
I have replaced it with a tarjan SCC on the dependency graph which passes
any test case I could come up with, but it still needs some more polish,
I'll try to get it out tomorrow.
There's no API to obtain a task's dependencies currently. Can you clarify
what you'd expect / how you'd use it, maybe with some sample code - are you
looking for the name of the dependencies (["sqlite", "readline"]) or for
the actual objects?
—
Reply to this email directly or view it on GitHub
https://github.com/pybuilder/pybuilder/issues/122#issuecomment-79278378.

--
--Guido van Rossum (python.org/~guido)

I understand.
The following is possible with the changes I have made to fix the circular dependency detection issue (I have yet to push them to github):
from pybuilder.reactor import Reactor
from pybuilder.core import task, depends

@task
@depends("readline")
def sqlite():
    pass

@task
def readline():
    pass

@task
@depends("sqlite")
def python():
    reactor = Reactor.current_instance()
    for dependency in reactor.execution_manager.collect_all_transitive_tasks([python.__name__]):
        copy(dependency.name)

This looks like it would solve your problem, doesn't it? I'd add some kind of wrapper, of course, since the code above makes a lot of assumptions about the pybuilder internals.

Yes, that would solve my problem. Thanks! (Another time I'd like to tell
you about my experience trying to understand pybuilder's docs.)
On Fri, Mar 13, 2015 at 1:44 PM, Maximilien Riehl<EMAIL_ADDRESS>wrote:

I understand.
The following is possible with the changes I have made to fix the circular
dependency detection issue (I have yet to push them to github):
from pybuilder.reactor import Reactorfrom pybuilder.core import task, depends
@task@depends("readline")def sqlite():
pass
@taskdef readline():
pass
@task@depends("sqlite")def python():
reactor = Reactor.current_instance()
for dependency in reactor.execution_manager.collect_all_transitive_tasks([python.name]):
copy(dependency.name)
This looks like it would solve your problem, doesn't it? I'd add some kind
of wrapper, of course, since the code above makes a lot of assumptions
about the pybuilder internals.
—
Reply to this email directly or view it on GitHub
https://github.com/pybuilder/pybuilder/issues/122#issuecomment-79370714.

--
--Guido van Rossum (python.org/~guido)

Great, I'll try to get it out asap then. Feedback on the docs is always welcome, though I fear we need an overhaul there :-/

Using pybuilder==0.10.54 should detect the cyclic dependency you reported (and any other you can come up with).
What's more, this now works:
from pybuilder.core import task, depends
from pybuilder.utils import get_all_dependencies_for_task

@task
@depends("sqlite", "readline")
def python(logger):
    logger.info("I depend on {dependencies}".format(
        dependencies=[dependency.name for dependency in get_all_dependencies_for_task(python)]))

@task
@depends("something_else")
def sqlite():
    pass

@task
def readline():
    pass

@task
def something_else():
    pass

and it outputs:
$ pyb python
PyBuilder version 0.10.54
Build started at 2015-03-14 11:26:11
------------------------------------------------------------
[INFO]  Building test version 1.0.dev0
[INFO]  Executing build in /private/tmp/test
[INFO]  Going to execute task python
[INFO]  I depend on ['something_else', 'readline', 'sqlite']
------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------
Build Summary
             Project: test
             Version: 1.0.dev0
      Base directory: /private/tmp/test
        Environments:
               Tasks: something_else [0 ms] sqlite [0 ms] readline [0 ms] python [0 ms]
Build finished at 2015-03-14 11:26:11
Build took 0 seconds (0 ms)

Thanks again for reporting this bug.

Thanks for your quick response to both issues!!
On Sat, Mar 14, 2015 at 3:28 AM, Maximilien Riehl<EMAIL_ADDRESS>wrote:

Using pybuilder==0.10.54 should detect the cyclic dependency you reported
(and any other you can come up with).
What's more, this now works:
from pybuilder.core import task, dependsfrom pybuilder.utils import get_all_dependencies_for_task
@task@depends("sqlite", "readline")def python(logger):
logger.info("I depend on {dependencies}".format(
dependencies=[dependency.name for dependency in get_all_dependencies_for_task(python)]))
@task@depends("something_else")def sqlite():
pass
@taskdef readline():
pass
@taskdef something_else():
pass
and it outputs:
$ pyb python
PyBuilder version 0.10.54
Build started at 2015-03-14 11:26:11
[INFO]  Building test version 1.0.dev0
[INFO]  Executing build in /private/tmp/test
[INFO]  Going to execute task python
[INFO]  I depend on ['something_else', 'readline', 'sqlite']
BUILD SUCCESSFUL
Build Summary
Project: test
Version: 1.0.dev0
Base directory: /private/tmp/test
Environments:
Tasks: something_else [0 ms] sqlite [0 ms] readline [0 ms] python [0 ms]
Build finished at 2015-03-14 11:26:11
Build took 0 seconds (0 ms)
Thanks again for reporting this bug.
—
Reply to this email directly or view it on GitHub
https://github.com/pybuilder/pybuilder/issues/122#issuecomment-80283771.

--
--Guido van Rossum (python.org/~guido)


Power BI Shape Tooltip Link Feedback

I was looking for more information on the conditional tooltip feature in relation to shapes, as that's the window I had pulled up in Power BI desktop. However, clicking the "Learn more about conditional formatting" link brought me to this page on matrix and table tooltip customizations. I realize some of it overlaps, but none of it called out how it was related to the tooltip on a shape. Snip below shows which link I clicked in the desktop and the shape I had selected. I was editing the "Tooltip" under the "Action" property.
TLDR: The link seen in the bottom left corner of the snip doesn't bring you to a relevant documentation page.

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

ID: 3af9ce3a-a3eb-8d57-55a7-66f04f46bbf7
Version Independent ID: 58e304ed-89d2-3c85-4428-acefedaef5c0
Content: Apply conditional table formatting in Power BI - Power BI
Content Source: powerbi-docs/create-reports/desktop-conditional-table-formatting.md
Service: powerbi
Sub-service: pbi-reports-dashboards
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @emivy20. This issue has been assigned to the doc author for review.

Thanks for your comment, and sorry about that misdirection. We'll forward this to the product team to see about putting a better doc link into that dialog.


Reuse presets for repeated component slots

Currently presets utilize a custom config per component and specific component slots have a completely separate set of classes for their styling. While this is very customizable it would be nice to utilize more reuse throughout the preset. One example is the Chip component. It is used in at least 3 different components under the name token, including in the Autocomplete and Chips components preset.
If there could be one chip component with the option to merge and/or override pass-through classes that would reduce code footprint and potential for errors.

Hi, thank you for your feedback. We actually changed our decision. It was like you asked in our first version, but our primary approach is to make the presets as un-dependent as possible. But I will open this discussion again with the team with your feedback.

Thanks for the response, I can understand that decision. It's a minor optimization with trade-offs. Keep up the great work on the project!


Double quotes in single quotes breaks syntax highlighting

While working with the content attribute, I found out that the following will break the syntax highlighting
content: "'"; // this works
content: '"'; // this doesn't

@dschu-lab looks like #79 fixed this:

Thanks for the heads up! :+1:


Standardize the sync/suspend/edit buttons

Part of https://github.com/weaveworks/weave-gitops-enterprise/issues/3374

Replaced the Sync/Suspend/Resume controls, used in the SyncActions and CheckboxActions components, with the new Sync/Suspend/Resume controls (the SyncControl component).

Moved all components, related to syncing and suspending objects (existing SyncActions and CheckboxActions and new SyncControls and ResumeIcon), to the Sync folder.

Updated the related UI snapshot.

Added SyncControls to exports.

Moved custom actions to the start (left) of SyncControls buttons.

Re-arranged icons in IconType alphabetically (because it was hard to add new icons – to decide to which part of the list of icons or select cases to add new icon and to check if they already exist in the project, now it's somewhat easier).

Notes:

I've kept the original logic of creating sync/suspend handlers in general. Only added passing them to the new standartized SyncControls component and passing with/without source sync options (set with the new radio buttons) to the handlers.

We decided not to add Sync/Suspend notifications to enterprise for the time being. Notifications will be covered in the follow-up issues.

Screen recording of the new controls working in OSS:
https://github.com/weaveworks/weave-gitops/assets/8824708/c2e26671-184f-4e3e-82df-16086f593934
Design (there might be some differences between video and Figma design or design system, I tried to combine it in the most logical way):
The latest video with the design:
https://github.com/weaveworks/weave-gitops-enterprise/issues/3374#issuecomment-1745203249
Figma:
https://www.figma.com/file/IVHnM9iyeFWpd11evtY8ux/Weave-GitOps?type=design&node-id=20086-71968&mode=design&t=46JWHoVfIwzQyShI-0

There is an enterprise counterpart to this PR:
https://github.com/weaveworks/weave-gitops-enterprise/pull/3487
But tests in it just started failing after updating the OSS branch in it (probably because of this PR merged https://github.com/weaveworks/weave-gitops/pull/4096 ), so, I hope it will be resolved after the following PR is merged:
https://github.com/weaveworks/weave-gitops-enterprise/pull/3556
But the current PR can be reviewed independently.

@foot merged a small PR updating enterprise with the latest OSS main, so I will continue working on the enterprise counterpart of the current PR. But the current PR can be reviewed already.

Add links to the latest video and Figma.

Changed the format of my screen recording to MP4.

@joshri thank for notifying me about the issue!
I don't think it is related to the current PR, because it should not affect the backend. But there was another PR merged in a few days ago which introduced some major changes to the sync/suspend backend code.
I will re-test my PR now with some ImageAutomations objects.

Yep - figured as much. I think this is safe to merge and we should address whatever's happening/not happening there in a follow up

@joshri tested several requests, have not been able to receive request timeout or an error for iamge repos or image update automations, works fine for me.

I only managed to reproduce request timeout (in most cases, but sometimes the request still succeeds) when trying to sync many objects, some of which are red or stuck in reconciling. But I see this issue in both main and current branches:

Re-tested the current PR, works fine, so I am merging it. Will merge the enterprise part of this issue when enterprise is updated for the main OSS branch.
If you need to update enterprise with the current changes tomorrow, while there is a public holiday in Germany, you can add the following changes to Terraform object tests:
https://github.com/weaveworks/weave-gitops-enterprise/pull/3487/files#diff-6c94d245e3caa02985486f6d6925631e02882ccd7d7b9f824fb92ae30efde607


Configuration Setting paginate_items

Hi,
I want to set de default number of items in the tables, and I changed the "paginate_items" value to 50, but always showing 10 tickets in the lists.
I'm doing it correctly?

Hi,
You are doing right.
In Controllers/TicketsController.php the paginate setting is taking only be comments, right here:
$comments = $ticket->comments()->paginate(Setting::grab('paginate_items'));
But in the index of Active Items and Completed Items that setting is not used:
    public function index()
    {
        $complete = false;
        return view('ticketit::index', compact('complete'));
    }

    public function indexComplete()
    {
        $complete = true;
        return view('ticketit::index', compact('complete'));
    }

I think the correction would be:
    public function index()
    {
        $complete = false;
        return view('ticketit::index', compact('complete')->paginate(Setting::grab('paginate_items'));
    }

    public function indexComplete()
    {
        $complete = true;
        return view('ticketit::index', compact('complete')->paginate(Setting::grab('paginate_items'));
    }

Can you try this?
Regards,
Martín - Argentina.

And is important use the filter in the top of the list "Show ... entries".

@pepoteloko as @tinthenet said, it's left for user choice at datatables

Thanks to all!!
@tinthenet your solution does not work.
But I've modified the main view to set 50 item as default in datables.
<script> 	    $('.table').DataTable({ 	        processing: false, 	        serverSide: true, 	        responsive: true, 		    pageLength: {{ $setting->grab('paginate_items') }},         	lengthMenu: {{ json_encode($setting->grab('length_menu')) }},

@pepoteloko Very good idea, It would be nice if you could put this into a PR?


Define a new operator

Now, I want define a new operator. Simplicity, I use the your convolution's operator, after doingthis:
DMLC_REGISTER_PARAMETER(myconvolutionParam);
MXNET_REGISTER_OP_PROPERTY(myconvolution, myconvolutionProp)
.add_argument(......)
I executive program again, but there is a fault:
AttributeError: 'module' object has no attribute 'myconvolution'
How can I solve this problem?  Thanks.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


Allow tmux session name to be passed as env var

Note this is a replacement for the obsolete PR #952.
I finally got this actually figured out and rebased on master. The priority is now:

A manual environment variable (great for keyboard shortcut launches, remote ssh connections, etc.)
The value of the zstyle setting
A default string of "prezto"

For normal usage this change should be a NOOP. However it enables the
use case where the user might want to predefine what session gets
connected to when the shell is launched. Running zsh will still net
you a connection to the last used tmux session or a new one named
"zprezto" if none exists. However env tmux_session=myname zsh will
connect you specifically to a session called 'myname' including creating
it if it doesn't exist.
This is particularly useful in window managers where a key binding might
open a terminal with a predefined session or even show a list of current
sessions and open a new terminal connected to that session.
The default session name may still be set using zstyle as documented.

👍 on the general idea here.
I had a hard time stepping through the code... have you tested all these scenarios?
Also, your PR has a great explanation... maybe copy some of that to the tmux module readme?

Yes I've tested all the scenarios mentioned. I've been using this since 2015 and use all four scenarios on a daily basis. I had to re-code the logic a little bit to keep up with prezto changes, but the basic idea is the same.  The code isn't that complicated to step through:

If the var (trimmed) is empty, then try to set it from zstyle. If it's still empty set it to the default string.
Use the var.
Explicitly use the var rather than letting tmux guess in case the requested session isn't the default.

I'm on the road right now but will try to add docs at some point.

nudge re: adding docs as previously discussed

Thanks @jeffwidman, you caught me at a computer this time (since the issues isn't assigned to me it wasn't really staying on my radar!). I've added some documentation to the README and stuffed it in the same commit.

Thank you!
So stepping through this, I'm a little confused. You said:

For normal usage this change should be a NOOP... Running zsh will still net
you a connection to the last used tmux session or a new one named
"zprezto" if none exists.

However, reading the code and the comments, it looks like the fallback behavior does change from the last session session used to instead using the "prezto" session name.
If someone doesn't set this var, and last used a different session name, will this change the behavior for them to instead start attaching to the "prezto" name?
I don't have an opinion yet whether that is a good or bad thing--it might be an improvement it might not, but I first want to make sure I understand how this works.

@jeffwidman Thanks for your patience. My logic did in fact slip a cog somewhere, this needs to be a 4 stage fallback not a 3 stage fallback.

env variable
last used
user set zstyle default
hard coded 'prezto' default

Да?


18.03.1-ee-2 release-notes missing

Problem description
The 18.03.1-ee-2 release-notes aren't available on https://github.com/docker/docker.github.io/blob/master/ee/engine/release-notes.md
The 18.03.1-ee-2 is available for download since 2018-07-11. The release-notes for this release aren't published yet. The 18.03.1-ee-1 (2018-06-27) release is the latest release published on the release-notes page.

Sorry for the delay. They are being posted via https://github.com/docker/docker.github.io/pull/7072.


Snapshots of lists of primitives aren't immutable

The following works under Core 5, but seems to be broken with Core 6:
TEST_CASE(".NET Repro", "[dotnet]") {
    InMemoryTestFile config;
    auto r = Realm::get_shared_realm(config);

    SECTION("List of primitives snapshot") {
        r->update_schema({
            { "listObject", {
                { "list", PropertyType::Array | PropertyType::Int }
            }}
        });

        auto table_listObject = r->read_group().get_table("class_listObject");
        auto col_list = table_listObject->get_column_key("list");

        // create objects
        r->begin_transaction();
        auto object = table_listObject->create_object();
        List list(r, object, col_list);
        for (int64_t i = 0; i < 10; i++) list.add(i);
        r->commit_transaction();

        // enumerate
        Results snapshot(list.snapshot());
        int count = 0;
        for (int64_t i = 0; i < snapshot.size(); i++) {
            r->begin_transaction();
            list.remove(list.find(i));
            r->commit_transaction();
            count++;
        }

        REQUIRE(count == 10);
        REQUIRE(list.size() == 0);
    }
}

The test passes fine if I use a link list instead of a primitive list, however.

@tgoyne how is this supposed to work? For the snapshot to be immutable, it should live in its own read transaction. But the list in the snapshot is the same list object that elements are removed from.

The core 5 behavior was that we simply never called sync_if_needed() on the TableView, which for primitive lists worked correctly only for a very narrow set of things.

So it wasn't intended to "work", as it were, and was just undocumented behavior that we stumbled upon accidentally in .NET? Shouldn't snapshotting a primitive list be an error in that case?

Snapshotting in general had weird semantics in core 5 (and still does). Looping over a list while adding/removing items from it was one of the things that it worked usefully for even on primitive lists, but I don't know how to make that work in core 6.

So, we should really disallow snapshotting a primitive list in this case?

Going forward, I'd like to add the ability to freeze state at any point during a write transaction, and be able to access that state as we do with frozen objects. This will also allow nested transactions.

➤ Brian Munkholm commented:
[~yavor.georgiev] I believe we decided to not persue this right?

➤ Yavor Georgiev commented:
We decided we just aren't gonna try to support snapshots of lists in Core 6.

➤ Ian Ward commented:
Can someone walk me through this decision? I'm a bit surprised that we wouldn't fix this

➤ Yavor Georgiev commented:
Core 6 reimplemented lists in such a way that snapshotting a list of primitives at the Object Store level is no longer possible. From what I've been able to find, snapshotting primitive lists was never intended and was only incidentally possible even with Core 5.
None of the SDKs had exposed this functionality publicly - AFAIK .NET and Java implemented their list iterators on top of snapshotting, but removing snapshotting only changes the behavior during iteration, but doesn't break it. And even then the change in behavior is only noticeable if a developer tries to insert or remove elements to a primitive list white holding an iterator.
In any case, snapshotting in general is less versatile than the new Frozen Objects API and I don't think it's worth it to spend time improving an essentially legacy API such as snapshots.

➤ Ian Ward commented:
AH! I see - I thought this was related to Frozen Objects - my mistake. If it's covered with Frozen Objects then we are good - thank you for the explanation


Add support for samesite.

Hi,
I've added support for SameSite cookies. Let me know if I missed something? Cheers.

:+1:


[Speech to Text] Swift Watson SDK can no longer detect end of speech

Remember, an issue is not the place to ask questions. You can use Stack Overflow for that, or you may want to start a discussion on the dW Answers.
Before you open an issue, please check if a similar issue already exists or has been closed before.
When reporting a bug, please be sure to include the following:

[ ] Start the title with the service name in brackets:  [speech-to-text] websockets...
[ ] Steps to reproduce
[ ] Expected behavior
[ ] Actual behavior
[ ] Xcode version
[ ] ios-sdk version
[ ] ios version you are targeting

When you open an issue for a feature request, please add as much detail as possible:

[ ] A descriptive title starting with the service name
[ ] A description of the problem you're trying to solve
[ ] A suggested solution if possible

So I have an application that relies on recognizing when the user stops speaking to trigger the service to convert the speech to text.  It was working fine until one day during a demo it finally did not respond (I am using the websocket connection).  I could not figure out what happened until I found this:
"The continuous parameter has been removed from all methods that initiate recognition requests. The service now transcribes an entire audio stream until it ends or times out, whichever occurs first; this is equivalent to setting the former continuous parameter to true. By default, the service previously stopped transcription at the first half-second of non-speech (typically silence) if the parameter was omitted or set to false.
Existing applications that set the parameter to true will see no change in behavior. Applications that set the parameter to false or that relied on the default behavior will likely see a change. If a request specifies the parameter, the service now responds as it does to any unknown parameter: by returning a warning message with its response:
"warnings": [
"Unknown arguments: continuous."
]
The request succeeds despite the warning, and an existing session or WebSocket connection is not affected.
IBM made this change in response to overwhelming feedback from the developer community that specifying continuous=false added little value and could reduce overall transcription accuracy."
My application relied on setting the continuous to false. Is there a workaround planned to still be able to detect the end of speech or is it going to require stepping back in time and writing boilerplate code to detect microphone settings.  I would vote this change added huge negative value for anyone trying to develop real-time conversation applications.  This basically renders my application useless at present time and will anyone's that tries to use the service in similar fashion.  Why not just default to continuous = true?
Thanks,
Mark

Hi @riverbaymark! Sorry for our silence here--much of our team has been on vacation or traveling for conferences recently. I'm sorry for the delay in getting back to you.
I agree that the Speech to Text team probably should have only changed the default for continuous to true, but allowed people to specify continuous = false. I will follow-up with some of the folks on the team and try to learn more. I'll link them to this issue, as an example of a use-case for continuous = false.
This is also an example of poor version control, since the service should not introduce any breaking changes without requiring a modification to your app. Many of the other services use version dates so that your application will always run the same so long as you do not change the version date. But Speech to Text does not use version dates, so this change affected everyone.
I'll let you know what I find out from the Speech to Text team, and whether we can convince them to reintroduce the continuous parameter.
In the mean time, it's possible to write a workaround in your application. There are a couple of ways to do this: using the microphone volume or using the transcription results.
Using the microphone volume, you could detect when the volume gets quieter, which may indicate an end of speech event. (Although if your user is in a crowded room or somewhere with a lot of background noise, then that may not be the case.) You can access the microphone volume using the session management functionality of the SDK--particularly, the onPowerData callback. This callback is invoked every 0.025s with the average decibel power of the microphone. This line in the speech-to-text-swift sample is an example of how to print out the decibel rating. You would need to write some code to identify the volume of speech versus the volume of the background noise.
Alternatively, you could use the transcription results themselves. For example, you might assume that the user has stopped speaking if you have interimResults = true but have not received any transcription results in the last second. (This may have issues in a loud environment too, if Speech to Text starts transcribing background conversations.) This StackOverflow answer provides some details on using an timer to detect the end of speech based on transcription results.
Sorry for all of the trouble with your application. I hope we can report some good news to you, soon!

Hi Glenn,
Thanks for your response and all your suggestions.  I recently figured out how to recognize end of speech for Apple’s SFSpeechRecognizer utilizing Final results and a resetting timer scenario. Sounds like I could do the same with Watson Speech to Text with your last example.  Was just so easy to set the parameter continuous = false to accomplish this as you can well see.  Basically I am using speech recognition to form the text to send to Watson Conversation.  I think the IBM version may be better since you can actually create a corpus to enhance the recognition.  At WWDC this year it seemed like there was a lot of improvement to Siri but I haven’t put her to a good test yet :)
Thanks again and I’m a fan of your code examples and your work with the Watson Swift SDK.
Mark Pruitt MSN FNP
phone<PHONE_NUMBER>
<EMAIL_ADDRESS>
On Jun 14, 2017, at 10:02 PM, Glenn R. Fisher<EMAIL_ADDRESS>wrote:
Hi @riverbaymark https://github.com/riverbaymark! Sorry for our silence here--much of our team has been on vacation or traveling for conferences recently. I'm sorry for the delay in getting back to you.
I agree that the Speech to Text team probably should have only changed the default for continuous to true, but allowed people to specify continuous = false. I will follow-up with some of the folks on the team and try to learn more. I'll link them to this issue, as an example of a use-case for continuous = false.
This is also an example of poor version control, since the service should not introduce any breaking changes without requiring a modification to your app. Many of the other services use version dates so that your application will always run the same so long as you do not change the version date. But Speech to Text does not use version dates, so this change affected everyone.
I'll let you know what I find out from the Speech to Text team, and whether we can convince them to reintroduce the continuous parameter.
In the mean time, it's possible to write a workaround in your application. There are a couple of ways to do this: using the microphone volume or using the transcription results.
Using the microphone volume, you could detect when the volume gets quieter, which may indicate an end of speech event. (Although if your user is in a crowded room or somewhere with a lot of background noise, then that may not be the case.) You can access the microphone volume using the session management https://github.com/watson-developer-cloud/swift-sdk#session-management-and-advanced-features functionality of the SDK--particularly, the onPowerData callback. This callback is invoked every 0.025s with the average decibel power of the microphone. This line https://github.com/watson-developer-cloud/speech-to-text-swift/blob/master/Speech to Text/MicrophoneViewController.swift#L96 in the speech-to-text-swift sample is an example of how to print out the decibel rating. You would need to write some code to identify the volume of speech versus the volume of the background noise.
Alternatively, you could use the transcription results themselves. For example, you might assume that the user has stopped speaking if you have interimResults = true but have not received any transcription results in the last second. (This may have issues in a loud environment too, if Speech to Text starts transcribing background conversations.) This StackOverflow answer https://stackoverflow.com/a/42925643/1519343 provides some details on using an timer to detect the end of speech based on transcription results.
Sorry for all of the trouble with your application. I hope we can report some good news to you, soon!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/watson-developer-cloud/swift-sdk/issues/632#issuecomment-308629395, or mute the thread https://github.com/notifications/unsubscribe-auth/AXElrLt196Lzl1YCPfGHWFxwznVhA6Hxks5sELr2gaJpZM4Nu4Xp.

Thanks, Mark! I appreciate the kind words.
I hope that using the timer and checking for final results will work for your app. In the mean time, I've followed up with the Speech to Text team and will let you know what I hear. Thanks!

I received a great response from the Speech to Text team. They said that the functionality of continuous = false is completely contained in the functionality of continuous = true (which I believe is the rationale for removing the parameter -- it duplicates functionality).
To detect an end of speech event, as if continuous = false, look for a result with final = true. The service sends a final = true transcription result when it detects about a half-second pause in speech. After receiving a final transcription result, you can end the audio stream and close the connection. That's what the service did internally when continuous = false.
There's one catch that I'm worried about. The bestTranscript property is constructed in the SDK by concatenating an array of all transcriptions results. But you may only want the transcriptions up to and including the first final result. That way any transcriptions after the first final result are ignored.
(In other words, the processing and networking delay might be long enough that your user continues speaking after the end of a phrase, so you receive additional transcriptions after the final result but before your application has stopped the microphone.)
I'm not sure if that will happen—I haven't had a chance to test it. But I will include a code example in case you run into that issue with the bestTranscript property.
Here's a code example to try:
// start transcribing microphone audio
speechToText.recognizeMicrophone(settings: settings, failure: failure) { results in

    // print all transcription results
    print(results.bestTranscript)

    // print all transcription results up to
    // and including the first `final` result
    var transcription = ""
    for result in results.results {
        if let transcript = result.alternatives.first?.transcript {
            transcription += transcript
        }
        if result.final {
            break
        }
    }

    // detect end of speech event
    for result in results.results {
        if result.final {
            // stop transcribing microphone audio
            self.speechToText.stopRecognizeMicrophone()
        }
    }
}

As you experiment with your application, it may be helpful to refer to our documentation on the SpeechRecognitionResults and SpeechRecognitionResult structs.


compile.and_raise_error does not fail when no error is raised

I'm using rspec-puppet 2.2.0
I would expect a failure when testing, but tests are green.
Testing against...
# alf.pp
class alf {

  $foo = bar
  # no error raised here
  # fail("foo")
}

...with that spec
# alf_spec.rb
require 'spec_helper'

describe 'alf', type: 'class' do
  context 'with defaults for all parameters' do
    it { should compile.and_raise_error(/foo/) }

  end
end

.and_raise_error will only lead to a failing test, if a function fail('foo') is defined, but the message is not matching (like should compile.and_raise_error(/bar/)).

Exactly this case is covered by https://github.com/rodjek/rspec-puppet/blob/master/spec/classes/test_fail_spec.rb which seems to work just fine. Please investigate what is different between those two test cases, maybe that brings insight into what's going wrong here?

We got a misunderstanding here. Of cause, the test case you've referenced works, but this is not the case I've described. Please see my example again
I would have expected

compile: yes, (green)
and_raise_error(/foo/): fail, (red)
as there is no fail within the puppet manifest.

Thank you for explaining that. I still have troubles reproducing it though: I've added more tests to this, trying to cover both the compile-does-not-fail and the compile-fails-with-different-mesage case: https://github.com/rodjek/rspec-puppet/compare/master...DavidS:compile-and-raise-error-testing All of those tests succeed for me.

Could this be a fix for you: https://github.com/rodjek/rspec-puppet/commit/185e0de8772c41397f142f0ce223d78fc4912675 ?

When adding it { expect { should compile.and_raise_error(/foo/) }.to raise_error RSpec::Expectations::ExpectationNotMetError } to my spec, a test failure is reported, that nothing was raised even when calling fail in a manifest. Nevertheless 185e0de8772c41397f142f0ce223d78fc4912675 is looking really good. (I'm not a ruby professional (,yet)).

You need more feedback? Do I have to switch the issue's label somehow?

Sorry, that slipped through the cracks. The commit seems to clear your issue? So we can either keep this open as a reminder that rspec-puppet should see a new release soon, or close it, as it is already addressed in master.

Yes. I think, 185e0de could help. Would be good, to get this to a new release.
I would leave this issue open to indicate, that this issue is not resolved for end-user. (After releasing a new version containing the commit, I'll verify that testing works as desired. If it does, I'll close this issue.)

agreed, and thanks!

I'm having a similar issue, where my module code:
# alf.pp
class alf {
  $foo = bar

  fail("baz")
}

and rspec code
# alf_spec.rb
require 'spec_helper'

describe 'alf' do

  context 'with expect and raise' do
    it do
      expect {
        should compile
      }.to raise_error(Puppet::Error, /baz/)
    end
  end
end

gives me a test failure:
Failures:

  1) alf with expect and raise
     Failure/Error: expect {
       expected Puppet::Error with message matching /baz/, got #<RSpec::Expectations::ExpectationNotMetError: error during compilation: baz
     # ./spec/classes/alf_spec.rb:8

Finished in 0.35361 seconds
1 example, 1 failure

I pulled down the current master branch for the gem, which includes the https://github.com/rodjek/rspec-puppet/commit/185e0de8772c41397f142f0ce223d78fc4912675 commit.
This rspec test successfully evaluates using rspec-puppet-1.0.1

@mgriffin13 that's because should compile will raise a RSpec::Expectations::ExpectationNotMetError indicating - to rspec - that the alf class didn't compile. To check for the actual error, you need to is_expected.to compile.and_raise(Puppet::Error, /baz/)

@DavidS thank you. for completeness, here is my new test that passes with the released 2.2.0 gem
# alf_spec.rb
require 'spec_helper'

describe 'alf' do

  context 'with expect and raise' do
    it do
      expect {
        is_expected.to compile.and_raise(Puppet::Error, /baz/)
      }
    end
  end
end

You can even remove the expect{} part and just leave it's body. See https://github.com/rodjek/rspec-puppet/blob/master/spec/classes/test_compile_error_spec.rb

Closing this in preparation of 2.3.0


Made a few suggestions that would help newcomers to Rust

Hi there!
Thank you for contribution. Are you interested in implementing any of this features? :)

I might of had a go at the tooltips, although Im not sure racer supports type information at point?


Error on multiple env files on docker compose

⚠ Please verify that this bug has NOT been reported before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
On compose file we use multiple .env files, one required, one optional.
Starting the container from docker desktop is ok, but starting from Dockge I have this error:
validating /opt/stacks/database/docker-compose.yml: services.mongodb.env_file.0 must be a string

I have tried to add " or ' into path env file name but it not work in any mode.
👟 Reproduction steps
version: "3.9"
services:
  mongodb:
    image: mongo
    container_name: mongodb
    restart: unless-stopped
    env_file:
      - path: ./.env.default
        required: true
      - path: ./.env.override
        required: false
    ports:
      - 27017:27017
    volumes:
      - mongoData:/data/db

👀 Expected behavior
A normal start of the container
😓 Actual Behavior
Error during start of container
Dockge Version
1.4.2
💻 Operating System and Arch
Windows 11 x64
🌐 Browser
Versione 122.0.6261.129 (Build ufficiale) (a 64 bit)
🐋 Docker Version
Docker desktop 4.28.0
🟩 NodeJS Version
20.11.0
📝 Relevant log output
No response

This link can be useful : https://github.com/docker/compose/issues/9181


[WIP] glossary/index/explainer for SDR

very WIP, needs more editing, needs a better (less snarky) title and file name, is about half filled in and linkified.  should also link to Mike's WIP SDR topology diagram.
structure is mostly from Naomi's onboarding guide, with one added top level section for robots stuff.
cc: @mjgiarlo and @ndushay, who've offered to review what's here so far.

I think you should make this against the gh-pages branch rather than "main"

ah yeah, good point, thanks.  switched the base branch and then it auto-closed the PR.  will figure out how to re-open, or will re-create.

recreated as #3.


Add userop storage pool

This PR is based on #78

Refactor ObservableStorage to allow subscribing to specific fields
Add immer updater pattern to ObservableStorage for setting state
Add user operation storage pool

This PR primarily focuses on this section:


PEM_read_bio_RSA_PUBKEY method return NULL；error:2007507E:BIO routines:MEM_WRITE:write to read only BIO

BIO *keybio = BIO_new_mem_buf((void*)strKey.c_str(), strKey.size());
    if (keybio==NULL) {
        printf( "Failed to create key BIO\n");
        return NULL;
    }

    if( rsaType==Type_RSA_Public_Encrypt||rsaType==Type_RSA_Public_Decrypt) {
        rsa = PEM_read_bio_RSA_PUBKEY(keybio, &res, NULL, NULL);
	ERR_load_ERR_strings();
	ERR_load_crypto_strings();
	unsigned long ulErr = ERR_get_error();
	char szErrMsg[1024] = {0};
	char *pTmp = NULL;
	pTmp = ERR_error_string(ulErr,szErrMsg);
	string errcode(szErrMsg);

The print information:
error:2007507E:BIO routines:MEM_WRITE:write to read only BIO

I don't know how to correct.could you please tell me why,and to write correct？

I'm not able to reproduce your problem. I've tried:
char rsa_pubkey[] =
        "-----BEGIN PUBLIC KEY-----\n"
        "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA6q4W1BfhI3r+y0SKoyAf\n"
        "wtJz60Nrhu92AqPFECFuJ5hFhyGZ7ayekng3n1Hjp0UfKgm4grZw9tVulnwbAeiH\n"
        "pWlFU1B92XxbIAhDvh3tV2XKFP2ZlPPo9ijQXv6TMhAqEsFx/VyDW4wzBUZ88GdH\n"
        "nXVpYsv2KKH/kby9Iu51H5ngONHUpF//cvB91B9p85w3ERSXYRRAxYyhX9JU/4SF\n"
        "2EDwAXg4BY7Z26/QOces9aDypzREfePTS4EA8XqsL0lHiRPk+GTkTrQFw+rXKBta\n"
        "4hzNXi61Bp22x+1gU4pyOr29Pv8EqFU6xu9q90C4hGKHaDxpteQ0uixqet+9kZFw\n"
        "G/tAhOMF3X4tJmn3YJxYgiz8jAQ4yGWnIS0isJyjB0vTe9ODwL3VrYmegvxqGkoK\n"
        "fW9lQvi6zYPKrznOCDvuvtbLC779LJhAjnK+c2rR5lAEXjjHaED7vC4dvFETO86+\n"
        "g7Q3NDfHZwbzPx0zXUd0YMoSXCH3dM5z0OKWNwIBDzcbJF6CZQhORXwqLlUujZo9\n"
        "e7OwBJlO2DxetGwYNfNJ732Cl5CFfe6uAhSOJiIHSq3oDeIm1wdUZ++Fuy7qjk1d\n"
        "ly2+b9xl5ytIvU0U/96kJJfuEBq9v35R4Ibf/zCyz3zvr8h5Dk6cbcjpWAw5kxwZ\n"
        "bvEVRj4oX5BDGt3Kij9NYbMCAwEAAQ==\n"
        "-----END PUBLIC KEY-----\n";

        BIO *bio = BIO_new_mem_buf(rsa_pubkey, sizeof(rsa_pubkey));
        RSA *rsa = RSA_new();
        PEM_read_bio_RSA_PUBKEY(bio, &rsa, 0, NULL);

The PEM_read_bio_RSA_PUBKEY() call was succesful.

Hello @elton-wang-ch,
the problem might be that you did not check the return value of PEM_read_bio_RSA_PUBKEY(). So it is possible that the PEM_read_bio_RSA_PUBKEY() call succeeded and the ERR_get_error() just returned an error value from some previous failure of an OpenSSL api call.
To detect an error, you need to check whether a NULL pointer was returned:
    if( rsaType==Type_RSA_Public_Encrypt||rsaType==Type_RSA_Public_Decrypt) {
        rsa = PEM_read_bio_RSA_PUBKEY(keybio, &res, NULL, NULL);
        if (rsa == NULL) {
            /* an error occurred */
            unsigned long ulErr = ERR_get_error();
            ...
        }

Also, I recommend to load the error strings once at the very beginning of the program and not just after the error occurred. (You also need to be careful to call ERR_get_error() immediately after a function failed and not call other OpenSSL functions in between, because that might change the error value.)
Hope that helps

If you create a mem bio using BIO_new_mem_buf(), the memory is considered read-only:
       BIO_new_mem_buf() creates a memory BIO using len bytes of data at buf, if len is -1 then the buf is assumed to be nul terminated and its length is determined by
       strlen. The BIO is set to a read only state and as a result cannot be written to. This is useful when some data needs to be made available from a static area of
       memory in the form of a BIO. The supplied data is read directly from the supplied buffer: it is not copied first, so the supplied area of memory must be unchanged
       until the BIO is freed.

Now the error message indicates that some routine tried to write into that bio.
error:2007507E:BIO routines:MEM_WRITE:write to read only BIO

There is only one location where this error is generated, it's in the mem_write() function. Try to set a breakpoint there in the debugger.

Did you intent to close this?

Did you intent to close this?

I did it intentionally, because I answered his question and I believe it is a programming error an not an OpenSSL issue. But you are right, it would be better to leave the ticket open and wait for a reply from @elton-wang-ch before closing it.

IMO this is just some user mistake and there was no response from the reporter anymore. Closing.


OpenSSL always adds NID_pkcs9_signingTime as a signed attribute

RFC2315 and RFC5652 both only have two required signed attributes which is NID_pkcs9_contentType and NID_pkcs9_messageDigest. OpenSSL should not shove NID_pkcs9_signingTime into the signed attributes by default, or at the very least, allow a way to remove it before signing.

Potential relevant code: https://github.com/openssl/openssl/blob/31b7f23d2f958491d46c8a8e61c2b77b1b546f3e/crypto/pkcs7/pk7_doit.c#L695-L700

Is this still an issue on the latest release?  it appears there are some conditions gating the inclusion of this attribute now

no response, moving to inactive, to be closed at the end of 3.4 dev barring further input

I honestly assume this is still a problem, but I will test it.


⚠ Samsung has degraded performance

In 48bcdbb, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2193 ms

Resolved: Samsung performance has improved in 4751c1a.


--create-envs-only with no sample in sample.tsv

Is your feature request related to a problem? Please describe.
I would like to create a docker that has a template snakemake pipeline (no data) inside, including all software dependencies. I can ask snakemake to write all dependencies in the working directory by using snakemake --use-conda --create-envs-only, however this only installs all dependencies when the sample.tsv is filled (and probably there need to be files inside the pipeline folders as well).
Describe the solution you'd like
I would like to be able to write all software dependencies with an empty/template pipeline
Describe alternatives you've considered
Moving data and a filled samples.tsv into a snakemake run folder, executing snakemake --use-conda --create-envs-only and then removing the data and replacing the samples.tsv with an empty table again.  But this is less convenient.
Best regards,
Freek.

You cannot do this with an empty samples.tsv, because snakemake creates its DAG by connecting rules to get from your rule all to your input samples.
What you can do is

create toy data and samples.tsv, and pack this up in your workflow as a test set for your users.
create a directory, say 'build', containing toy data and samples.tsv, and create the workflow in your 'deployment' directory using
snakemake --use-conda --create-envs-only --snakefile /path/to/deployment/Snakefile --directory /path/to/deployment --config samples=/path/to/build/samples.tsv
where samples is the variable you use in your config.

In the latter case your toy data can just be an empty file, as the creation of the DAG does not run any rules.

I have a use case that would require a similar feature.
Some of my workflows have multiple checkpoints, so --create-envs-only won't work, even with toy data, on rules that only run after a checkpoint. The only ways to pre-build the environments for these workflows are to:

Run through the whole workflow on the toy data. For a complex workflow, this can be non-trivial. It also requires some mechanism to delete the outputs from the toy run.

Add a set of dummy rules that use each conda env that can all be triggered by a special target rule.

The feature I would want is a variant --conda-create-envs-only that parses the Snakefile(s), but instead of building the DAG, simply builds the conda env for every rule with a conda: declaration.


will 5H0907159B module accept earlier version firmwares ?

greetings, haven't found a firmware specific for 5H0907159B and its the only currently available module for sale on AliExpress.
as far as I understood this module was installed on MLB vehicles, im looking to retrofit it on MQB 2019 audi a3.
did anyone try to flash a NO FPA earlier version firmware on it?
does the OP know if its possible?
Thank you for any help in advance.

As far as I know, it’s a gen2.5 module. So you can’t use gen2.0 firmware (check warning section in wiki)
Try find on your local market places gen2.0, usually there are many on sale for cheap

https://mqb-blog.com/en/2022/07/22/sak-gen25/
There are unlocked firmwares for gen2.5 tho.


Politician page UX tweaks

Update count ("over 500") number on https://www.standwithcrypto.org/politicians

Blocked by #634


Add Europa to the Container Registry landscape

This commit adds Puppet's open source Europa container registry project
to the CNCF landscape under the Provisioning -> Container Registry
section.
Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~10 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape failed.
Built with commit a9dd65c9c742752ad04283b29dda959c79dce83f
https://app.netlify.com/sites/landscape/deploys/5bede6a205c4173c04fbffac


Fallback to os temp directory if findCacheDir fail

From the find-cache-dir readme:

Finds the cache dir using the supplied options. The algorithm tries to find a package.json file, searching every parent directory of the cwd specified (or implied from other options). It returns a string containing the absolute path to the cache directory, or null if package.json was never found.

This is a fallback for null condition. Investigated after @gaearon comments on https://github.com/facebookincubator/create-react-app/pull/1578#discussion_r101802866

I am not sure to follow how a project cannot have a package.json...
But just in case...

Released in 1.6.2

@MoOx Thank you!


jpa batch insert : Code: 26. DB::ParsingException: Cannot parse quoted string: expected opening quote ''', got ''

1.error info:
ClickHouse exception, code: 1002, host: <IP_ADDRESS>, port: 19102; Code: 26. DB::ParsingException: Cannot parse quoted string: expected opening quote ''', got '':
Row 1:
Column 4,   name: xxxxx,             type: Array(String), parsed text: "["ERROR
Code: 26. DB::ParsingException: Cannot parse quoted string: expected opening quote ''', got ''. (CANNOT_PARSE_QUOTED_STRING) (version <IP_ADDRESS> (official build))
2.env:
2.1:springboot data jpa
2.2.datasouce:druid
2.3.clickhouse-jdbc:0.2.6
3.desciption
when I close jpa batch insert , sql executed success,
but I open jpa batch insert,sql executed fail.the error info is above.
List(String) type convert to Array(String),I use a converter:
@Converter
public class StringArrayToListConverter implements AttributeConverter<List<String>, String> {

    @Override
    public String convertToDatabaseColumn(List<String> attribute) {
        if (Collections.isEmpty(attribute)) {
            return "[]";
        }
        return attribute.stream()
                .map(s -> "'" + s.replaceAll("'", "''") + "'")
                .collect(Collectors.joining(", ", "[", "]"));
    }

    @Override
    public List<String> convertToEntityAttribute(String dbData) {
        if (StringUtils.isBlank(dbData)) {
            return Lists.newArrayList();
        }
        return JSONArray.parseObject(dbData, new TypeReference<List<String>>() {
        });
    }
}

duo to the business needed,batch insert is necessary.please give me a solution to resovle this problem,thanks.

Hi @liangxw5, thanks for the report. It could be an issue in legacy driver when handling batch insert. Have you tried upgrading driver to 0.4.6?

@zhicwu I use the Driver's groupId is : ru.yandex.clickhouse, tried upgrading driver to 0.3.2.but it's not effective.
now I will try to use com.clickhouse,thinks for your advice,please wait.

@zhicwu Hi,I tried to use 0.4.6 version.but I encountered a new problem:
Error attempting to apply AttributeConverter; nested exception is javax.persistence.PersistenceException: Error attempting to apply AttributeConverter
I guess the problem is the StringArrayToListConverter . because I tried to delete the List field.It successed.
    @Column(name = "names")
    @Convert(converter = StringArrayToListConverter.class)
    private List<String> nameList;

Please check it for me，thanks.my converter is below:
@Converter
public class StringArrayToListConverter implements AttributeConverter<List<String>, String> {

    @Override
    public String convertToDatabaseColumn(List<String> attribute) {
        if (Collections.isEmpty(attribute)) {
            return "[]";
        }
        return attribute.stream()
                .map(s -> "'" + s.replaceAll("'", "''") + "'")
                .collect(Collectors.joining(", ", "[", "]"));
    }

    @Override
    public List<String> convertToEntityAttribute(String dbData) {
        if (StringUtils.isBlank(dbData)) {
            return Lists.newArrayList();
        }
        return JSONArray.parseObject(dbData, new TypeReference<List<String>>() {
        });
    }
}

@zhicwu there is a new problem,when i insert a Ring,java type is List:
Caused by: java.lang.UnsupportedOperationException: Converting [String] to [Ring] is not supported
when I use the driver [ru.yandex.clickhouse],the problem has  never occurred .

Sorry it didn't work for you. Can we use String[] for Array(String) and double[][] for Ring?
Taking Array(String) as an example, you may refer to below test in clickhouse-jdbc module:
https://github.com/ClickHouse/clickhouse-java/blob/c25ffc62c886c0cdc1fcf8d8bf2234690c131dca/clickhouse-jdbc/src/test/java/com/clickhouse/jdbc/ClickHousePreparedStatementTest.java#L1680C12-L1698

My project uses springboot framwork,and DAO uses spring data jpa.
Due to the business,List type is necessary.

List type is necessary.

Understood. Have you tried to add a new converter to convert List<String> to String[]?


Untangle the server / handler registration a bit.

Remove RegisterHandler and have the servers do the same thing with one
less layer of indirection. Server no longer refers to HttpHandler purely
for this.

You might be able to get rid of the #include "server/handler.h" in server.cc, no? Otherwise done with the review, just those nits. :smiley:

All done.

LGTM


Provide context aware navigation.

This would be a feature enhancement currently focused on :portal.view/table such that when clicking on the index column, instead of navigating to the element which is somewhat pointless, will instead transition the view to column mode for that specific index.

Is the below video what you are trying to accomplish? Selecting a subset of all columns to focus on?
https://user-images.githubusercontent.com/1986211/103423983-1de20b00-4b67-11eb-80a8-3985e8591dc4.mov

Closing for now, feel free to re-open the issue with more info.


Fix BigCode models not working with prompt tuning

@pacman100 @younesbelkada
This PR fixes it: https://github.com/huggingface/transformers/pull/26623

Thanks a lot @mayank31398 ! I have asked you a question on the PR directly

closing this since this has been fixed


Fixed bug for 430/431 Case Sensivity & Email

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RDCC-430
https://tools.hmcts.net/jira/browse/RDCC-431
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x ] No

Is this meant to be raised into Master?


2FA authentication issue

Hello,
My email is<EMAIL_ADDRESS>and username is rayyan99. I have an issue with 2FA and unfortunately, I also seem to have missed the secret key. Please help me reset 2FA. appreciate your help.
Thank you,
rayyan99

MONYX JUST CLOSED THIS TICKET SO THE ANSWER IS NO.... GET THE POINT AND STOP OPENING NEW TICKETS AND WASTING THEIR TIME.

@rayyan99 can you confirm you own the email by sending something to<EMAIL_ADDRESS>?
But of course we should stop disabling 2FA as it's the only secure way to prevent someone to access an account.

Ok

<EMAIL_ADDRESS>sir

Confirm to basalamah rayyan<EMAIL_ADDRESS>

<EMAIL_ADDRESS>

@rayyan99 i mean, send something from this email to the email I wrote above, then I'll be more or less sure that's you.

My account is<EMAIL_ADDRESS>sir

Please disable

Sir how

Email him. This is his email<EMAIL_ADDRESS>

Hello,
My email is<EMAIL_ADDRESS>and username is rayyan99. I have an issue with 2FA and unfortunately, I also seem to have missed the secret key. Please help me reset 2FA. appreciate your help.
Thank you,
rayyan99

Hahaha

@rayyan99 disabled.


fix: using default_scheduler_url as a mounting point for not root pat…

…h. fix #3213
Signed-off-by: ROUDET Franck INNOV/IT-S<EMAIL_ADDRESS>

Description

1 files modified to change the build of URL.
Keep full base path from default_scheduler_url.
2nd attempt for that: more cleaner approach.
Motivation and Context

Fixes:

https://github.com/spotify/luigi/issues/3213
and https://groups.google.com/g/luigi-user/c/kJ7aI2GNfcE

Have you tested this? If so, how?

I'm able to test:

With or Without scheduler-url set
With or Without scheduler-url not at root

@dlstadther , I found a better solution and made a cleaner pull request.

@dlstadther , Is it OK ? I don't know to help more.
I use the feature every day.


[Feature request] pass context to mapPropsToFields

In our case we sometimes use a context to pass objects so it would be nice to provide a way to access it inside of mapPropsToFields.
mapPropsToFields(props, context) => .....

Can you PR ?

#69


feat: add an error when eqns will not have desired effect

Due to the implementation at https://github.com/leanprover/lean4/blob/a7efe5b60e86b26fefd4795b46d66af369b97329/src/Lean/Meta/Eqns.lean#L83-L96 currently registering eqns will not work if lean already registered some eqns itself.
As a bandaid we make the eqns attribute check and error in this case.

bors r+


[Usage]: Requests stuck in pending state despite available resources with tensor parallel size 8

Your current environment
Description
I'm experiencing an issue where requests are getting stuck in the pending state despite having available GPU resources. The metrics show a consistent pattern where only 1 request is running while 3 requests remain pending, with very low GPU KV cache usage (around 3-4%).
Environment

vLLM version: [please specify]
Model: Custom model at /Qwen/Qwen2.5-32B-Instruct
Hardware: [please specify GPU configuration]
Command used:

python3 -m vllm.entrypoints.openai.api_server \
  --port 7071 \
  --model /Qwen/Qwen2.5-32B-Instruct \
  --trust-remote-code \
  --tensor-parallel-size 8 \
  --gpu-memory-utilization 0.8 \
  --enable-auto-tool-choice \
  --tool-call-parser hermes \
  --max-model-len 32768 \
  --enable-lora \
  --max-seq-len-to-capture 32768 \
  --max-lora-rank 64

2024-12-20 15:18:19 - vllm.executor.distributed_gpu_executor - INFO - # GPU blocks: 50231, # CPU blocks: 8192
2024-12-20 15:18:19 - vllm.executor.distributed_gpu_executor - INFO - Maximum concurrency for 32768 tokens per request: 24.53x

2024-12-23 18:28:10 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.7 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.1%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:15 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.7 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.1%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:20 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.6 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.1%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:25 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.6 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.2%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:30 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.6 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.2%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:35 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.2%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:40 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.2%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:45 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.3%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:50 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.3%, CPU KV cache usage: 0.0%.
2024-12-23 18:28:55 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.3%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:00 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.4%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:06 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.4%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:11 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.4%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:16 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.4%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:21 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.5%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:26 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.5%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:31 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.5%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:36 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.5%, CPU KV cache usage: 0.0%.
2024-12-23 18:29:41 - vllm.engine.metrics - INFO - Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 45.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 3 reqs, GPU KV cache usage: 3.6%, CPU KV cache usage: 0.0%.

@DarkLight1337  Please help me take a look, thank you

What happened?


systemd: set meta.mainProgram to systemctl

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It's unlikely to be useful and I think it's even incorrect to think any one program is the main program of systemd. IMO this shouldn't be merged.


chore: adding a banana

Description
We're testing git action permission stuff.
Motivation and context

Related issue

Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [ ] Minor (add a new token, changing a value, deprecating a token; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type, renaming a token by deprecating the old one; fix or feature that would cause existing functionality to change)
Checklist:

 [ ] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [ ] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum2-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-colors/
TOKENS STUDIO DATA IS COLOR ONLY
STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/palette.Palette.banana

SPECTRUM SYNC SUMMARY
NEW TOKENS: (1) banana
DEPRECATED TOKENS: (2) drop-shadow-color, color-loupe-drop-shadow-color
CHANGED VALUES: (1) color-loupe-drop-shadow-color

TEST COMPLETE

And of course the "banana" was removed again https://github.com/adobe/spectrum-tokens-studio-data/commit/8a69434f501c210406034e772cec43bd3fcb5759 :-)


Acoustic comms plugin

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸
🎉 New feature
Summary
This plugin adds a simple acoustic comms plugin to gz-sim.
Test it
Added a small test case which contains 2 pairs of boxes which communicate with each other. One set in inside the max range of comms, and the other is outside it. The one outside the range should not receive any messages.
TODO

The current calculation for distanceToTransmitter considers the current distance between the 2 bodies, when actually it should be the distance between current receiver position and position of the sender at the time at which the packet was sent, as the sender might be moving. This is not a big problem if the 2 bodies are at rest or moving slowly compared to speed of sound.

Since the packet does not contain a field related to position of sender at the time the packet was sent, I;m not sure how to implement this.
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

As per offline discussion with @caguero , we decided that making the users specify the position of the sender in the header file is cumbersome. Instead, what I have now is : The plugin will keep track the position of sender when a msg is first processed, and use that for distance calculations throughout the life of the message.
This means the difference between actual position of the sender (when the msg was sent) and the one we use will only differ by one spin cycle of the plugin, which is still good.

Removed the Garden label because we're past feature freeze ❄ .
This PR can either be merged into main and backported to gz-sim7 after the stable release, or retargeted to gz-sim7 and merged after the stable release (i.e. October).

@osrf-jenkins retest this please

I don't think the failures in CI are related to the changes made here.


there is nothing mentioned in the setting the custom dns

need to run docker with --dns option
we have a custom dns server in the Vnet and it has to get resolved
Where is the documentation for this ?

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

ID: b421fa01-1f39-28a5-78c2-63dd5700c8c5
Version Independent ID: 10ed9c91-16e0-d371-fcfc-d6d5a7f984b2
Content: Azure App Service on Linux FAQ
Content Source: articles/app-service/containers/app-service-linux-faq.md
Service: app-service
GitHub Login: @YiLi
Microsoft Alias: yili

Please see the related map to identify the issue.
The documentation is lacking big time
https://www.draw.io/?lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=dns problem ASE#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1KFzzyX4TOym-C03ubtrbTbIzJMNJGYdu%26export%3Ddownload

Hi @rifaterdemsahin Thank you for your feedback! We will investigate and get back to you with our findings.

I have created a video about the problem and emailed to<EMAIL_ADDRESS>


Add arm64v8 support

Please add arm64v8 support. Thx

@yasker K3s suport armhf, arm64 and amd64 is there a change to compile by myself longhorn-manager, controller and ui?

We haven't looked into arm64v8 support yet...
On the other hand, you should able to only deploy manager on certain nodes by modify the manager deployment yaml file. Though the engine image daemonset will likely fail since the image supports amd64 only. We're looking at some ways to customize a few workloads generated by Longhorn manager, including engine image daemonset (https://github.com/longhorn/longhorn/issues/584).

Thanks @yasker
BTW I asked the K3s team if there could be a seamless integration between longhorn and k3s for all the supported architectures. (https://github.com/rancher/k3s/issues/567)

Subscribed. I would love to see longhorn on RPi so I can create RPi based storage cluster.

would be great to have this working on arm64, armhf.

Perhaps when Apple comes with their ARM processors, we will see more software be available on ARM as well ;-)

Linking to full arm feature request: longhorn/longhorn#6

Close this issue since ARM64 support has been added in #6.

Close this issue since ARM64 support has been added in #6.

@yasker thank you.

@yasker thank you.


[HOLD for payment 2023-10-13] [$500] Dev: Search - Going to search page crashes the app

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to search page

Expected Result:
App should not crash
Actual Result:
App crashes when opening search page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native - missing
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: Dev 1.3.77-5
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/9cdf2133-a23c-4832-86fd-69e1228fd24c

https://github.com/Expensify/App/assets/93399543/36ce030b-745c-4527-8c73-cfa4eab0671f
https://github.com/Expensify/App/assets/93399543/18b8d004-fe9a-47c1-bd52-2e96114d3338
Expensify/Expensify Issue URL:
Issue reported by: @alitoshmatov
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696451187529939
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0142683ca91cfb31ee
Upwork Job ID:<PHONE_NUMBER>220293632
Last Price Increase: 2023-10-04

Proposal
Please re-state the problem that we are trying to solve in this issue.
App crashes in search page
What is the root cause of that problem?
The crash is happening because in reportAction.originalMessage.paymentType reportAction is sometimes empty and accessing its properties throwing an error
https://github.com/Expensify/App/blob/447d87e9204578ccaf5c8e3a6887b97de531457e/src/libs/ReportUtils.js#L1553
What changes do you think we should make in order to solve the problem?
Considering the function description reportAction has a default value of empty object suggesting that it might be empty object and this is not a required argument we should add conditions to prevent this error
https://github.com/Expensify/App/blob/447d87e9204578ccaf5c8e3a6887b97de531457e/src/libs/ReportUtils.js#L1524
We can add conditions preventing the access of its properties if reportAction is empty object, like:
reportAction&&reportAction.originalMessage&&(
            _.contains([CONST.IOU.PAYMENT_TYPE.VBBA, CONST.IOU.PAYMENT_TYPE.EXPENSIFY], reportAction.originalMessage.paymentType) ||
            reportActionMessage.match(/ (with Expensify|using Expensify)$/))

Or we can use lodash like this:
lodashGet(reportAction,["originalMessage",'paymentType']))

What alternative solutions did you explore? (Optional)

I ran into this locally earlier today and made branch with a fix

no payments needed here


ISIS-3243: fix typos and formatting in simpleapp and contribute docs

This PR fixes some of the typos and formatting issues in these docs that I've come across.

@andi-huber Thanks for reviewing my PR so quickly! Incidentally, I'm participating in Hacktoberfest at the moment which is an event that encourages people to contribute to open-source projects in October through PR's. Would it be alright for you to add a hacktoberfest-accepted label to this PR to count it towards my contribution for the event?

there you go


Support flags with shapes

I would like to create flags with coloured shapes e.g. progress flag
This would involve coloured squares, triangles and circles which overlay the bars.
Related to #3

I'll start by adding arrow support. How to implement this depends on what you consider the underlying logic to flag creation. Daniel Quasar describes the arrows as being "half sized stripes" so let's try halfing the width of any flag's bars then displacing the arrows relative to the flag's left corners e.g.

A flag with one arrow (demisexual) aligns with the flag's corners with 45° lines meeting in the vertical middle
A flag with two+ arrows (progress pride flag) has arrows spaced diagonally by half the width of the bars, themselves spaced by the height of the flag divided by the number of bars. This would be (1/4) * √3 * barHeight

I just assumed equilateral triangles had an angle of 45°. How did I get to A Level maths and through a CS degree?

Created a mockup but it wasn't appearing as expected because the progress pride flag has a ratio of 5:3. This is presumably because it was created with flags in mind, which are typically 5ft by 3ft. This raises the issue I was hoping to avoid until later that flags have many different ratios: #9

Perhaps allow the flag to specify a ratio and resize the canvas on rendering? Any procedural generation of flags would then need to check if the flag contains arrows and avoid narrow ratios such as 3:2. Alternatively we can switch to 5:3 as the default and kick #9 down the road to deal with at a future date.

I'm going to choose the lazy option and switch to 5:3.


number word in pdf

Hello,
It would be useful to add a function to get the number of words in the pdf.

Given how text is handled in PDF documents, there's really no concept of "words" in the general case since text rendering is done using individually positioned glyphs. Furthermore, the PDF.js library will not parse all of a document upon load (in order to save resources), hence anything that'd required iterating through the entire document isn't a feature we'd consider adding either.
All-in-all, closing as WONTFIX.

For future reference: When opening an issue, please provide all of the information requested in the ISSUE_TEMPLATE. Furthermore, even as a feature request this issue is a little "light" on the details.


Make a hierarchical menu in navstories

The hierachical menu is based on the structure of the stories (permalink).

See: https://groups.google.com/forum/#!topic/nikola-discuss/Ry4LpSMY0Bg

Hi,
Thank you for the review.
See my comments inline
2016-10-31 18:17 GMT+01:00 Chris Warrick<EMAIL_ADDRESS>
@Kwpolska commented on this pull request.
In v7/navstories/README.md
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593:

+NAVSTORIES_MAPPING = {

DEFAULT_LANG: (

   # Mapping "Toplevel in permalink" to "Visible text"

   # The order is as listed here, entries not listed here are included in the end,

   # example (remove initial #):

   #("b", "Boo"),

   #("f", "Foo"),

),
+}
+NAVIGATION_LINKS_POST_NAVSTORIES = {

Format just as NAVIGATION_LINKS, but content included after navstories entries

+}
+```
+
+To exclude a single story from the navstories meny add the following
+metadata .. hidefromnav: yep (yep can be anything) to the story.
yes or True

I will change to yes, I will also change the code so that no or False gives
the same result as if hidefromnav isn't included, or what is the normal
behavior for metadata with boolean value?

In v7/navstories/README.md
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593:

@@ -1,3 +1,34 @@
This very simple plugin throws all the stories to the navigation bar.

-Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+Started as a Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+
+Changed to map the stories to a hierachical structure in the menu
Wait, how deep down does this go? Do you realise you can have only one
level of submenus?

Only one sub-level, i didn't mention that in the README,
But I can include this:
This plugin generates menus and one level of submenus (further sublevels
are
WARNING: Support for submenus is theme-dependent.

In v7/navstories/README.md
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593:

@@ -1,3 +1,34 @@
This very simple plugin throws all the stories to the navigation bar.

-Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+Started as a Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+
+Changed to map the stories to a hierachical structure in the menu
+based on the permalink structure (defaults to the directory structure
+of the posts).
+
+The menu entries inserted by navstories are inserted after entries from NAVIGATION_LINKS.
+Entries listed in NAVIGATION_LINKS_POST_NAVSTORIES are inserted after navstories entries.
+
+Format of NAVIGATION_LINKS_POST_NAVSTORIES is identical to NAVIGATION_LINKS.
+
+Sorting and display names in menu can be controlled for top-level entries via NAVSTORIES_CFG.
no example for this

No, it should be NAVSTORIES_MAPPING, and there is an example for that.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKrkZ07GhDqnvCB3jnNZI4hcGAHS6BXBks5q5iKygaJpZM4KlKK7
.

Hi,
Thank you for the review.
See my comments inline
2016-10-31 18:17 GMT+01:00 Chris Warrick<EMAIL_ADDRESS>
@Kwpolska commented on this pull request.
In v7/navstories/README.md
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593:

+NAVSTORIES_MAPPING = {

DEFAULT_LANG: (

   # Mapping "Toplevel in permalink" to "Visible text"

   # The order is as listed here, entries not listed here are included in the end,

   # example (remove initial #):

   #("b", "Boo"),

   #("f", "Foo"),

),
+}
+NAVIGATION_LINKS_POST_NAVSTORIES = {

Format just as NAVIGATION_LINKS, but content included after navstories entries

+}
+```
+
+To exclude a single story from the navstories meny add the following
+metadata .. hidefromnav: yep (yep can be anything) to the story.
yes or True

I will change to yes, I will also change the code so that no or False gives
the same result as if hidefromnav isn't included, or what is the normal
behavior for metadata with boolean value?

In v7/navstories/README.md
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593:

@@ -1,3 +1,34 @@
This very simple plugin throws all the stories to the navigation bar.

-Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+Started as a Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+
+Changed to map the stories to a hierachical structure in the menu
Wait, how deep down does this go? Do you realise you can have only one
level of submenus?

Only one sub-level, i didn't mention that in the README,
But I can include this:
This plugin generates menus and one level of submenus (further sub-levels
are mapped to first level submenus).
WARNING: Support for submenus is theme-dependent.

In v7/navstories/README.md
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593:

@@ -1,3 +1,34 @@
This very simple plugin throws all the stories to the navigation bar.

-Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+Started as a Proof-of-concept of a ConfigPlugin.  By request on the mailing list.
+
+Changed to map the stories to a hierachical structure in the menu
+based on the permalink structure (defaults to the directory structure
+of the posts).
+
+The menu entries inserted by navstories are inserted after entries from NAVIGATION_LINKS.
+Entries listed in NAVIGATION_LINKS_POST_NAVSTORIES are inserted after navstories entries.
+
+Format of NAVIGATION_LINKS_POST_NAVSTORIES is identical to NAVIGATION_LINKS.
+
+Sorting and display names in menu can be controlled for top-level entries via NAVSTORIES_CFG.
no example for this

No, it should be NAVSTORIES_MAPPING, and there is an example for that.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getnikola/plugins/pull/183#pullrequestreview-6481593,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKrkZ07GhDqnvCB3jnNZI4hcGAHS6BXBks5q5iKygaJpZM4KlKK7
.

Previous mail was sent twice by an failure, except a small fix, so the last
one had this fix:
This plugin generates menus and one level of submenus (further sub-levels
are mapped to first level submenus).
Br,
Benny

Please respond on GitHub, not via e-mail. As for the hidefromnav variable, no need for no or False support (check presence, not value)

I have updated README.md
Code checking hidefromdev are checking for presence, so nothing changed
(I have also removed my first comment of the dublets).

I have installed v. 7.8.1 and found that default location for stories have been changed to pages, commit df8d5d2 made navstories work well for both pages and stories.
Commit 5667017 lets navstories only add menu entries if initial path of permalink match an entry in NAVSTORIES_PATH.
I think that was all for now.

I have not a public demo site at the moment, I will create one.

p.permalink(lang)
When p.permalink(lang) shall be changed to p.permalink(), what then with p.title(lang)?
Usage of TranslatableSetting
I have looked into nikola.py and utils.py, but I am not sure I understand how you would like it implemented. I will soon commit a proposal.

p.permalink(lang)

Please use the lang argument.

TranslatableSetting

You can use those to avoid some checks when it comes to languages in settings.
navstories_paths = utils.TranslatableSetting('navstories_paths', site.config['NAVSTORIES_PATHS'], site.config['TRANSLATIONS'])

You can use navstories_paths(lang) to get a translation for lang, or default to the default language. It follow the behavior of NAVIGATION_LINKS and other built-in translatable settings.

I have updated https://slbs.dk/n/ with a bit in english, and I found out how p.permalink() and p.title(lang) worked together with a multi-language site - Nice :-)
You wrote: "undo this!", I assume that it is not commit bd62af2, since this change is required.
What would you like to get reverted?
I think the first loop over the configuration variables is the smartest way to accept:

Missing configuration
Variable created without translation support
Variable created with translation support
It is similar to what was done in nikola.py

The loop in the top op the lang loop could be skipped, but I think it is easier to read.

I had not seen your previous comment - I have just incorporated it, but reading config variables are in a try-excpet to prevent errors if a variable is missed in conf.py.

How does your plugin behave when /nav/index.html and /nav/last/index.html are in output?

I am not sure if I understand your question about  /nav/index.html and /nav/last/index.html are in output?
It ignores all files in the output folder.
I will add text similar to this to the README.md:
Navstories seaches only for pages with permalinks listed in NAVSTORIES_PATHS.
It skips the path that matches NAVSTORIES_PATHS. Next level of the permalink is used in the top level menu. If there are further levels it maps to sub-menus.
I don't know if that answers your question.

But how does it react to /stories/nav.rst and /stories/nav/last.rst? Where is nav.rst displayed and how?

That will not be handled good, it will give two entries in the main menu, one with submenu for all entries in nav/*.rst and one with nav.rst.
As I see it it is not possible to make the mapping well, but one way could be moving the top level nav.rst to first element in submenu, e.g.:
A menu like tihis
  nav
   |- * (`nav.rst`)
   |- Page 1 (`nav/1.rst`)
   |- Page 2 (`nav/2.rst`)

Last commit 88ac1a8 changes handling of entries as e.g. nav/*.rst and one with nav.rst.
I have changed it a bit compared to the idea I have listed above:
  nav
   |- Top (nav.rst)
   |- * Page 1 (nav/1.rst)
   |- * Page 2 (nav/2.rst)
   |- * * Page 2a (nav/2/a.rst)

The indention '* ' can be controlled via conf.py.

I don't think I have more changes to the plugin.

I have implemented the changes, should I increment the version number again, or is it only when on master it should be incremented?

Those version numbers don’t matter.

Thank you for contributing to Nikola! :tada: