DeepL supports more languages

Could you please add the remaining languages? E.g. Netherlands is still missing, but DeepL supports it.
Thank you very much!

Thank you for let me know. Netherlands is supported by Deepl.com but does not appear to be supported yet by extension. I will try it once and add it as a supported language if it is usable.

Thank you for this information!
looking forward to a new version.
I’ve already used Netherlands several times. Of course not with your app ;-) .

@SchroedersKater I can't find the language "Netherlands" on DeepL.com, is it really supported by DeepL? If you mean Dutch, we already support it in this extension.

You are completely right! I apologise for my ignorance. Very sorry. Thank you for your patience with this.

Thanks for confirming.


mintapi.api.MintException: Could not parse response to set_user_property

Well, everything was working yesterday, however this morning I am now getting this error:
[11088:6688:0924/092002.625:ERROR:service_manager.cc(156)] Connection InterfaceProviderSpec prevented service: content_plugin from binding interface: memory_instrumentation::mojom::Coordinator exposed by: content_browser
Traceback (most recent call last):
  File "overunder.py", line 35, in <module>
    result = mint.get_transactions_json(include_investment=False, skip_duplicates=False, start_date=datetime.datetime.now().strftime('%m/01/%y'))
  File "C:\Python27\lib\site-packages\mintapi\api.py", line 316, in get_transactions_json
    self.set_user_property('hide_duplicates', 'T' if skip_duplicates else 'F')
  File "C:\Python27\lib\site-packages\mintapi\api.py", line 286, in set_user_property
    raise MintException("Could not parse response to set_user_property")
mintapi.api.MintException: Could not parse response to set_user_property

I'm having the same issue.
Traceback (most recent call last):   File "jsonParser.py", line 82, in <module>     transactions = mint.get_transactions_json()   File "/usr/local/lib/python2.7/dist-packages/mintapi/api.py", line 303, in get_transactions_json     self.set_user_property('hide_duplicates', 'T' if skip_duplicates else 'F')   File "/usr/local/lib/python2.7/dist-packages/mintapi/api.py", line 273, in set_user_property     raise MintException("Could not parse response to set_user_property") mintapi.api.MintException: Could not parse response to set_user_property

Has anyone solved this issue?  It started hitting me 7 days ago, and I haven't been able to figure out what's causing it.  Thanks!

I am getting the same error. Did anyone get a fix for it yet?


Can you add support for Flask 2.x?

Kind regards and many thanks in advance.

I am not following Flask anymore. So I don't when I can explore this update.
Just saying that so:

anyone fell free to share what exactly breaks in Flask 2, this helps me estimate the stint for this update
anyone knows that PRs are welcomed : )

#27 Here it is a good explanation about changes, looks like it safe to merge

Here it is a good explanation about changes

This might be a good explanation about changes in Flask 2, but it does not give a clue about what exactly breaks in Flask 2 when using the current release. Can you be specific? Any API changes that the project needs? Any method we use is deprecated? Any error message?

looks like it is safe to merge

I don't think so, since there are no tests using Flask 2. Gonna pull this thread there.


PD: New redux reducers + actions for modules

overview
Support modules on the deck
data
Modules, like labware and pipettes, have properties that can be manipulated on the timeline (via manual intervention steps) and also time-invariant properties:

Module time-invariant properties: {| moduleType: 'temperature' | 'magnetic' | 'thermocycler', model: 'gen1' | 'gen2' |} (I'M CALLING "generation" a kind of "model"!!!)
Module time-variant properties (related to deck): slot: DeckSlot.
Modules, like pipette tip state, have time-variant state inside RobotState. These are different for different modules types, and will be fleshed out later, when we do Module Steps.

Labware must fully exist inside manual intervention steps (like pipettes do... I think labware is still a TODO here? Or maybe we did this already? Liquids might or might not have to follow -- TODO investigate)
Labware needs to be expanded to not only be placed in a DeckSlot, but also in a module.
actions
This stuff all happens in the hidden manual intervention step:

Like labware, modules can be moved (like SWAP_SLOT_CONTENTS)
Like labware, modules can be added (like CREATE_CONTAINER)
Like labware, modules can be removed (like DELETE_CONTAINER)
Add labware to modules (not just slots -- need to modify the labware actions)

Making new ticket for selectors, this is closed by #4287


Deleting a feed that had unread items, keeps unread count in the folder it was in.

I had a feed that had 14 items left in it. The folder that the feed was in had 30 items, this included the 14 from the feed. I deleted the feed with the 14 items. The folder still said it had 30 items in it. Refreshing the page didn't help. After I finished reading the other items in the folder, I was able to use shift-a to mark everything as read.
When the feed was deleted, the unread count should've reflected the change in items.

I believe it does, although I have fixed a number of issues like that since 2013.


zxfer resuming unneeded disks from sleep

Hello, I have 3 ZFS pools on home server (zroot, zusbbackup, zmirror) and I am backuping FreeBSD system (zroot) to the USB drive (zusbbackup) with this cron job:
zxfer -dFPv -R zroot zusbbackup/backups/pf-server
I am putting my big media mirror (zmirror) to sleep after 40 minutes of inactivity.
But - when zxfer starts (zroot -> zusbbackup), my zmirror disks are resumed - I don't want to even touch the zmirror pool by zxfer while backuping different zpools.
Is possible, that zxfer in some internal command call ZFS function, that acts over ALL zpools (some internal snapshot listing or something)?
Any idea?
Thanks very much!

Yes, it does 'zfs list' across everything at the start of the replication

@petr-fischer could you share how you put disks or pools to sleep? Thx

@cedrictineo by setting timeout
camcontrol idle ada1 -t 7200 camcontrol idle ada2 -t 7200 camcontrol idle da1 -t 2400


unused code in ObjectWaterInteraction.cs

I think that line can be removed, right?
        var rnd = 1f + _noiseAmp * (2f * Mathf.PerlinNoise(_noiseFreq * ocean.CurrentTime, 0.5f) - 1f);

rnd is never used

Thanks. It can be. I will have to do a sweep for unused code. I am unsure if this was planned to be used because it became unused as part of a "revert" natured commit. It was previously applied to velocity before being made unused.

I think it can be nuked, take. We should look at adding randomness to the dynamic waves so that they look more random and natural. This simple approach didn't really work

Thanks. Unused code has been removed. I'll close this since I don't think anyone else will report it.


Refactor to Serverless Implementation

Whereas:

The UI is half-implemented to run with i18n from the server and half-implemented to run with static local i18n files
The UI loads all of the json files from the server (without modification or filtering)
The UI is able to handle requests (search, XLSX/Docx generation, etc) without the server
Duplication of type definitions and data
Servers cost $$$

Be it resolved:

Goodbye server.

But seriously, we should probably get rid of the server. This will require:

Finishing the refactoring to use separate i18n files under the ww-data key
assets/api/v1 should be separated by language model code (i.e. fr for a French conjugator)
Re-implementing the wordweaver validate and wordweaver compress functionality in typescript (as npm scripts). Possibly by performing jsonschema validation or using a typescript interface checker.
Do CI validation and compression with the aforementioned scripts
Get rid of all references to the API and to "serverless" option as it's now the only option

fixed by https://github.com/roedoejet/wordweaver/pull/39


Increase RAM provided to WGS deeptools bamcoverage

https://github.com/genome/analysis-workflows/blob/5a4fed24f01f6d7c7ce1f595b272d82d97d4f9bd/definitions/tools/deeptools_bamcoverage.cwl#L9

deeptools used 10GB on a manual re-run of one of the previous failures. I'm running the germline_wgs workflow with 32GB of RAM, but 16GB might be enough. We should collect a few more data points.

4 more data points. All use more than 10GB but only one used more than 11GB. It seems like 16GB of RAM would be a good default until we see something higher.


Generate a build(minify) sequence

Only the library file will be minified because browsers may need to download it every time.
Optionally, we can also upload it on a cdn for easier access.

Minifying would cause the object names to change again, and users will have problems. Need to fix object names first... Should probably delay this until project matures into complete open source... (?)

Will reopen later...


support for 32 bit systems?

Do you want to support 32bit systems?
I tried to use artax on an older server, but it does not work.
The return value of getCurrentTime is too big for 32bit, so the return value is a negative int.
And in this line an error is thrown, because argument 2 is smaller than argument 1.

I guess you're using PHP 7.3?

No, 7.2.

Does everything work fine with versions < 2.1?

@kelunik Yes, it does. Problem started to occur after update do 2.1 version.

How did you deal with this problem, I also encountered

The only solution I have found so far is to require older version of amp:
"amphp/amp": "2.0.7"

I am getting an error when adding a database. The database I am using is  https://github.com/auraphp/Aura.SqlQuery

I pushed a commit to the fix-252 branch. Please try this on a 32-bit system and let me know if it fixes the problem.

@trowski it fixes the problem :+1:

@gharlan @tunnela @qq15870939565 Please test with the latest master.

OK。
Thank you
发送自 Windows 10 版邮件应用
发件人: Niklas Keller
发送时间: 2019年6月1日 2:17
收件人: amphp/amp
抄送: qq15870939565; Mention
主题: Re: [amphp/amp] support for 32 bit systems? (#252)
@gharlan @tunnela @qq15870939565 Please test with the latest master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Released a bugfix version, please report if there are further issues.


html minification and optimization

Should have a way to specify an environment to strip the whitespaces

Whitespace stripping omit for JS

Feature done, need documentation


BigInteger ported to Haxe

Hi Peter, I really want to thank you for this fantastic library!
For a while I wanted to implement something similar for Haxe and I tried several times. After a few failures I decided to "ad(a|o)pt" your code and now it works perfectly. The code is here:
https://github.com/fponticelli/thx.core/blob/master/src/thx/BigInt.hx
https://github.com/fponticelli/thx.core/tree/master/src/thx/bigint
The most notable aspect of this port is that it works on JS, CPP, C#, Java, Flash, Neko, PHP and Python. I just wanted to share my gratitude.

Great, I'm glad this library was useful to you. I think it's nifty that you can override the arithmetic operators, which I imagine makes dealing with big integers a good deal less tedious.
I'm closing this issue, let me know if you need help with anything.

Based on that type I also built a Decimal type. It feels good to see things falling into the right places. Thanks again. Franco


Adding batch_size support for stable diffusion.

Testing this branch - please don't merge.

Tested ready to merge.


Node fails to sync after restarting from empty chain

Steps to reproduce:

Run witness_node with empty datadir
Shut down cleanly with kill -SIGINT $pid
Edit config.ini to connect to local seed node
Re-run witness_node

Looks like block 36534 is causing the problem.  Somehow VBO ID's are getting out of sync.  I suspect it is undo-related, possibly related to #336.
Here is the log:
2601103ms th_a       db_block.cpp:191              _push_block          ] Failed to push new block:
10 assert_exception: Assert Exception
op.owner == vbo.owner:
    {}
    th_a  vesting_balance_evaluator.cpp:102 do_evaluate

    {"op":{"fee":{"amount":100000,"asset_id":"1.3.0"},"vesting_balance":"1.13.13","owner":"1.2.17269","amount":{"amount":"40000000000","asset_id":"1.3.0"}}}
    th_a  vesting_balance_evaluator.cpp:109 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:628 apply_operation

    {"trx":{"ref_block_num":36528,"ref_block_prefix":3755663456,"expiration":"2015-10-06T21:28:12","operations":[[33,{"fee":{"amount":100000,"asset_id":"1.3.0"},"vesting_balance":"1.13.13","owner":"1.2.17269","amount":{"amount":"4000000$
    th_a  db_block.cpp:611 _apply_transaction

    {"next_block.block_num()":36534}
    th_a  db_block.cpp:514 _apply_block
2601104ms th_a       application.cpp:425           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
op.owner == vbo.owner:
    {}
    th_a  vesting_balance_evaluator.cpp:102 do_evaluate

    {"op":{"fee":{"amount":100000,"asset_id":"1.3.0"},"vesting_balance":"1.13.13","owner":"1.2.17269","amount":{"amount":"40000000000","asset_id":"1.3.0"}}}
    th_a  vesting_balance_evaluator.cpp:109 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:628 apply_operation

    {"trx":{"ref_block_num":36528,"ref_block_prefix":3755663456,"expiration":"2015-10-06T21:28:12","operations":[[33,{"fee":{"amount":100000,"asset_id":"1.3.0"},"vesting_balance":"1.13.13","owner":"1.2.17269","amount":{"amount":"4000000$
    th_a  db_block.cpp:611 _apply_transaction

    {"next_block.block_num()":36534}
    th_a  db_block.cpp:514 _apply_block

    {"new_block":{"previous":"00008eb5f524cc47c58abeb93f70252edf73e288","timestamp":"2015-10-06T21:28:09","witness":"1.6.33","transaction_merkle_root":"0f95eeb9a1b32e561ca3b3212f438f0e9b0377cc","extensions":[],"witness_signature":"1f27a$
    th_a  db_block.cpp:197 _push_block

followed by many, many unlinkable blocks.

Accounts are indexed by hashed_unique, so iteration order is undefined.  But process_fees iterates accounts in order to pay out deferred fees to VBO's; the order in which VBO's are created (and hence their ID's) depends on the iteration order.

Adding this debugging test clearly demonstrates that the accounts are traversed in an unsorted order:  a748d4cc1d62f71e6c7fe66dd84f906c6ae856f1


Add support for Authorization Header and ContentMd5

Hi  there!
Added support for Authorization Header and ContentMd5..
Please let me know if you would like me to reformat the changes in any way..

Hello Robert,
First off, thank you for contributing to this project.  The changes you added looks great.  But in addition, can you write some test to support the Authorization Header?
Thank you,
-Lam


Fix #127 and #129

@bmay2 Thanks! Could you please add a helpful commit message describing the change?

No problem! Let me know if you need anything else.

Much better, thanks very much! :-)

@bmay2 Sorry, but I didn't review this PR closely enough. You can't modify existing migrations to add new fields to a table. You have to create new migrations that modify existing databases, otherwise it makes the whole idea of migrations pointless.
Unfortunately, I had to revert this PR because of it. I'd be happy to accept a new one with migrations done right. (Let me know if you need help with that!)

So I should add my changes to a new migrate# method in db.py?

Yup. Just use a number that is 1 greater than the previous and it should just work. You'll need to issue ALTER TABLE commands.

I think I'm going to create two new pull requests for this - one for Fix #127 and one for Fix #129. Sound good?

@bmay2 Perfect!


test(harness): jepsen-style

lots of influence from: https://github.com/jepsen-io/jepsen/tree/main
for the checker will take inspo from: https://github.com/anishathalye/porcupine

closing this to move to its own repo.


EF Core 3.0 Design Tooling: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=<IP_ADDRESS>'

I'm trying out the EF Core 3.0 preview (in VS 2019, 16.0.0 Preview 1.1 on Windows 10 Pro), added the following to my project.
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.0.0-preview.18572.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview.18572.1" />

When I want to add a migration (or just list them), I get the following error:
> dotnet ef migrations list
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
File name: 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.GetMigrations(String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrationsImpl(String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations.<>c__DisplayClass0_1.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass4_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)

Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

I verified what version of Microsoft.Extensions.DependencyInjection.Abstractions is in my local NuGet cache and it seems to be <IP_ADDRESS>26 (from the File Version entry in the Details).

@thijstijsma It's likely that there will be issues with very early previews like the first preview of .NET Core 3.0, so this is something that may just get fixed as things progress. However, if you would like us to investigate more then we'll need a simple runnable project/solution that reproduces what you are seeing so that we can dig into it.


Tombstone events in Azure Event Hub for Log Compacted Topics

Package Name: azure-eventhub
Package Version: 5.12.1
Operating System: MacOS 14.6
Python Version: 3.12.4

Describe the bug
We want to use log compacted Event Hubs (see https://learn.microsoft.com/en-us/azure/event-hubs/use-log-compaction) with the python SDK. To use the full potential of the log compacted topics we need to be able to send tombstone events to indicate the end-of-life for a certain event indicated by its partition_key.
We naively followed the documentation and tried to send an empty event with an existing partition_key like
from azure.eventhub import EventData

tombstone_event = EventData(None)

However, the body of an event cannot be None. Therefore, the next best guess was to use EventData(b''). But this just sends and empty string and does not trigger the tombstone mechanic of the queue.
To Reproduce
Steps to reproduce the behavior:

Create a log compacted eventhub with a retention for tombstone events of 1 hour.

Send a message with a null body (as mentioned in the documentation, linked above)
Example code:
import asyncio
import os
import uuid

import dotenv
from azure.eventhub import EventData
from azure.eventhub.aio import EventHubProducerClient
from azure.identity.aio import DefaultAzureCredential

dotenv.load_dotenv()

credential = DefaultAzureCredential()

async def run():
    producer = EventHubProducerClient.from_connection_string(
        os.getenv("EVENT_HUB_CONNECTION_STRING"),
        eventhub_name=os.getenv("EVENT_HUB_NAME"),
        credential=credential,
    )
    async with producer:
        user_id = str(uuid.uuid4())
        event_data_batch = await producer.create_batch(partition_key=user_id)
        event_data_batch.add(EventData(b''))
        await producer.send_batch(event_data_batch)

        await credential.close()

if __name__ == "__main__":
    asyncio.run(run())

Expected behavior
After one hour, I would have expected the topic to be empty. However, the message with the empty body still remains in the topic.
Question
How to create an Event with a null body?

Thank you for the feedback @deichrenner . We will investigate and get back to you asap.

@deichrenner I have reached out to the service team to see exactly what is happening and where this issue resides. Will update as soon as I have something.

Hi @kashifkhan,
any news on this one?

@deichrenner sorry about the delay on this one. I'm still waiting to hear back from the service team on what the issue is and how do we go about resolving this. Its still on my radar :)

@deichrenner I just heard back from the service team and they have confirmed that tombstone events are not supported via the AMQP endpoint (which is what the EH SDK uses). Log compaction (which is a setting) will work automatically.
The service team has taken an action to update and align the docs online to make it clear whats supported & possible today.

@kashifkhan This means that we cannot use the event hub python SDK to send tombstones? Do you have a suggested workaround?

/unresolve

@SebastianSchroeder @deichrenner yes, you cant use the python send to send tombstones ( nor any other language ) as the service doesn't support tombstones via the AMQP endpoint. The documentation suggesting that tombstones are supported is wrong and the service team will update that to reflect the current status. Only log compaction is supported and there are no workaround as per the service team.

Alright, thank you for the clarification. We might try the kafka client and endpoint for our log compacted topics. For now we can live with empty messages not being deleted from the topic.

@SebastianSchroeder sorry about the inconvenience this caused for yall, I'm hoping that the service team updates the docs soon so that it reflects the current state of the log compaction feature along with limits/what works etc.

@SebastianSchroeder @deichrenner yes, you cant use the python send to send tombstones ( nor any other language ) as the service doesn't support tombstones via the AMQP endpoint. The documentation suggesting that tombstones are supported is wrong and the service team will update that to reflect the current status. Only log compaction is supported and there are no workaround as per the service team.

Dude, seriously?
Instead of documenting a feature gap, how about make it work?


docs: Artifact hub improvements

This PR

improves the artefact hub documentation
nests the operator chart, matching the pattern commonly used by other entries in the artefact hub

Related Issues

https://github.com/open-feature/open-feature-operator/issues/231
Notes

Follow-up Tasks

Once the artefact hub account is set up for OpenFeature, the existing entry needs to be removed and a new one set up to point to this repo. The icon will also be setup within the account config.
if this pr https://github.com/open-feature/open-feature-operator/pull/278 merges first the helm installation instructions also need to be updated
How to test

Codecov Report

Merging #280 (bfae744) into main (4820493) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   50.79%   50.79%
=======================================
  Files           3        3
  Lines         443      443
=======================================
  Hits          225      225
  Misses        202      202
  Partials       16       16

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Have you tested this works @james-milligan ? From what I understand using the FQDN of open-feature-operator with helm will result in a name that's too long for K8s admission.

Have you tested this works @james-milligan ? From what I understand using the FQDN of open-feature-operator with helm will result in a name that's too long for K8s admission.

Ive set it up to test on my forked gh-pages here and am able to install the operator https://artifacthub.io/packages/helm/open-feature-operator-dev/open-feature-operator


crashing while scrolling on sources list without gapps installed

https://del.dog/cruywyrexa
I freshly installed from Google play (using aurora store) and scrolling too far downwards (before Google suggestion is visible) causes the above null pointer exception.
please consider handling it, for users who don't want Google in their lives

Yep, this is already fixed in Muzei 3.4.1 by 6684eee


Add data link class

I think the move borked codecov. merging for now, will check this file is covered next pr.


feat: BadgeOverlay component ported from storefront

Resolves #223
Impact: minor
Type: feature
Component
This PR ports over Storefront's BadgeOverlay component.
Screenshots

Note: once ProductItem is ported over, I'll update this component's examples to show a product with badges. Currently just wrapping an <img /> tag.
Breaking changes
None
Testing

Visit component lib docs and confirm component renders correctly for all states.

Thanks @nnnnat & @cassytaylor - I updated the best seller label so it always reads "Best Seller".

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[ALLUXIO-2918] Improve javadoc of RPCMessage#validate

https://alluxio.atlassian.net/browse/ALLUXIO-2918

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17705/
Test PASSed.


SSR Rendering HTML Error

How often can you reproduce it?

[x] Always
[ ] Sometimes
[ ] Rarely
[ ] Unable
[ ] I didn’t try

Description:
Running into this error during ssr:
TypeError: attrValue.replace is not a function
html-serializer.js:26

feathers\node_modules\can-simple-dom\dist\cjs\simple-dom\html-serializer.js:26:22

Okay. attrValue is the number 10 and stepping up to HTMLSerializer.attr, the attr.name is value in this case causing the crash. Its happening in a component template that looks like this:

                Per page:
                <select el:value:bind="perPage" class="form-select">
                    {{#each perPageOptions}}
                        <option value="{{.}}">{{.}}</option>
                    {{/each}}
                </select>

perPage is 10, and its bound to the select element value.
Donejs process crashes when this happens. It looks like its trying to escape the number 10, and treating it like a string.

Expected results:
Donejs should not crash when rendering this component.

Environment:

Software
Version

donejs -V
2.1.0

node -v
8.9.4

npm -v
5.8

Browser
All

Operating system
Windows

Probably the bug is that value is saved as a number, attributes should always be strings.

https://github.com/canjs/can-simple-dom/blob/90b26787597472b153d8cd0df9973d85e7b428b1/lib/simple-dom/document/element.js#L51
I think this should be converting the attribute value to a string. Might changing this locally in your node_modules and see if that fixes it?

Yup, adding
    value += ''

does it

awesome, can you submit an issue in can-simple-dom then?


Retire the Text_Matcher and Regex_Matcher and update the column selectors.

This task is automatically imported from the old Task Issue Board and it was originally created by James Dunkerley.
Original issue is here.

type Column_Selector
    ## Selects columns based on their names.

      - names: Set of names to match.
      - case_sensitivity: Specifies whether the matching should be case sensitive.
      - use_regex: Allow regular expression based patterns.
    By_Name (names : Vector Text) (case_sensitivity:Case_Sensitivity=Case_Sensitivity.Sensitive) use_regex=Boolean=False

    ## Selects columns by their index.

       - indexes: Set of indexes to match.
         The index of the first column in the table is 0.
         If the provided index is negative, it counts from the end of the table
         (e.g. -1 refers to the last column in the table).
    By_Index (indexes : Vector Integer)

This also removes support for selecting by column. This only worked by matching on name in a case sensitive way (not on the specific column instance). The other uses become:
type Column_Name_Mapping
    ## Selects columns based on their names.

      - names: Map of old names to find with replacements.
        If use regular expression, the special replace patterns can be used.
      - case_sensitivity: Specifies whether the matching should be case sensitive.
      - use_regex: Allow regular expression based patterns.
    By_Name (names : Map Text Text) (case_sensitivity:Case_Sensitivity=Case_Sensitivity.Sensitive) use_regex:Boolean=False

    ## Selects columns by their index.

      - indexes: Map of indexes with the new name.
        The index of the first column in the table is 0. If the provided index is
        negative, it counts from the end of the table (e.g. -1 refers to the last
        column in the table).
    By_Index (indexes : Map Integer Text)

    ## Selects columns by position starting at the first column until the
       new_names is exhausted.
    By_Position (new_names : [Text])

Covered Column_Selector by #5646, still to work on Column_Name_Mapping.


WIP: Event class

Work in progress code for creating Event class instead of having it be a dict

Closed in favor of #2753


add testing env variables for database host and db name

I'm runnig tests inside docker containers with gitlab-ci before deploy bookstack to swarm cluster, thats why using mysql test hosts as <IP_ADDRESS> is impossible.

Thanks for the pull request @sonrac.
It's probably a good idea to make these configurable but I might standardise the variable naming before merge and remove the old env vars used here so watch out for that.
Just as an addition, I don't commit any level of stability to the testing components of BookStack so if you are using them in your production flow in any way just be aware that things may break. The testing components are really intended for the development process of BookStack rather than deployment/integration of user environments.


lab ci view fails

Since I updated lab with brew, lab ci view fails:
2018/12/19 16:40:45 ci_view.go:481: <nil>

For information:
$ lab version
git version 2.17.2 (Apple Git-113)
hub version 2.5.0
lab version master

I re-cloned the source with go get github.com/zaquestion/lab and checked out the last release.
The problem is still there but I'm not sure if I really compiled it well.
Could you tell me how to do so so I try to debug it myself?

Usually this happens when the pipeline can't be found. I'd try explicitly specifying the remote you'd like to search. lab ci view origin for example. If you find the pipeline that way, it might point to some funky behavior selecting the remote.
There was a change a while back where we updated the pipeline search to match the branch. Before this change it was possible to get a stale pipeline and not actually the one related to the tip of what you're working on. I'd double check the branch <> pipeline combination in the GitLab UI as well to make sure you weren't hitting that case before.


[release-4.11] OCPBUGS-20657: CVE-2023-44487: bump golang.org/x/net to v0.17.0

cc @openshift/storage

/label backport-risk-assessed

/retest

The golang.org/x/net version is v0.17.0 and CI result looks good.
/label qe-approved
/label cherry-pick-approved

/jira refresh

/jira refresh


C# argv condition fixed, and whiteline removed.

There was no condition checking the size of argv, instead there was an else with no if statement. There was also an empty line that was removed.

Cool, Thanks :+1:


Integration tests refactor

Changes look good. Just need to fix up the pom conflicts. Codacy issues are not too big of a deal.


Active job puts classes in wrapped not wrapper

@snmaynard Awesome! Would you like to put a 5.0.1 out?

@kattrali Great! Would you like to release a 5.0.1 with this? That would be magic 💫

@sandstrom Released in v5.0.1 🌟


[Batch mode] Cherry-pick fix for error suppression

Addresses rdar://49303574
Requires https://github.com/apple/swift/pull/23879
When compiler issues errors for nonprimaries that do not show up when that file is primary, batch mode never shows the user the specific error. This PR addresses that issue by passing the responsible primary into the FileSpecificDiagnosticConsumer so that it can place the error in the primary's .dia file.

Please test with following pull request:
https://github.com/apple/swift/pull/23879
@swift-ci please test


[6.0] Highlight unique components of overloaded declarations

Explanation: Updates UI to highlight differing parts of declarations
Scope: Impacts pages for overloaded symbols built with the --enable-experimental-overloaded-symbol-presentation DocC compiler flag
Issue: rdar://117503463
Risk: Low, focused changes to render new declaration token
Testing: Added/updated unit tests, manually verified that overloaded symbols render with expected declaration highlights
Reviewer: @marinaaisa
Original PR: #841

\cc @QuietMisdreavus

@swift-ci test


No doc info copy

Changelist:
removed DocumentInfo
where possible using PathBuf instead of uri
refactoring

Build is failed because tests are broken. Comment failed test


Can't create a calendar

I was trying to create a calendar for next months for several curriculums: Laurea in Statistics (Maths&Stats), Laurea in Economics of Tourism and Cities (Curriculum Economics of tourism and Leisure industries).
There are 2 main issues:

There is no such curriculum (Economics of Tourism) not in unibo calendar tool, nor in original tool
It is impossible to create a calendar via unibocalendar for any program and curriculum, but it is possible to do it with original tool - I'd tried to make it for several different curriculums, not only mentioned above, and for any I hadn't got any good result. The final page with links to add created schedule in different apps was working, but if I would try to look at created calendar via button "Apri online" or add it to my google account, I always got the same plain calendar, without any lections added.
I had check them several months ahead.

Can you check if the second point is resolved after #16?
For the first point can you link the unibo website where you can find this curriculums that are not present in unibocalendar?

It had actually started to work! But partually and unstable. I had checked this page (https://calendar.students.cs.unibo.it/courses/6054), and for both curriculums it was possible to create a schedule only for the first year, but not for the second.
Also checked other courses - For Math&Stats it was working the same way (only creates a schedule for the first year).
When I tried to create a schedule for several different curriculums it stopped to work - rn I can't see a schedule of lections for any program, even those for which I've created it previously.

This commmit (https://github.com/VaiTon/unibocalendar/pull/18/commits/3fbd7ef8e9204d310fe3de110d53b3cd029680e3) should fix your problem. It's in the #18 PR where I also added subject filtering, so it could take some time before merge

Great, thank you! Will check it out when it will be merged with the main.

So I've tested it more widely, and I think I've found the pattern.
If we create timetable for a program with single curriculum the tool works good (examples: https://calendar.students.cs.unibo.it/courses/8835, https://calendar.students.cs.unibo.it/courses/6061)
If there are more than 1 curriculum - it fails the creation of timetable (examples: https://calendar.students.cs.unibo.it/courses/9256, https://calendar.students.cs.unibo.it/courses/8850), but not always - for https://calendar.students.cs.unibo.it/courses/6054 it was able to create timetable for the first year, but not for the second or third.
I've checked, and for all examples above the schedule is published.
The only differences I've seen is the need to choose the proper curriculum on the site of the program to display the schedule for it.

Hi, we have merged #18. Can you test if it's working now? https://calendar.students.cs.unibo.it

First thing - failed alingment of objects (buttons "Apri calendar", "Google Calendar | Apple Calendar") on a page, same issue at all pages:

Seems reasonable to put the button with google/apple calendar under "Apri Calendar"
Checking/unchecking subjects for filtering change sizes of other objects on the page

But core functionality work well, I will test it more widely tomorrow.
btw I really like that the name of the program is now displayed in the google calendar app after adjustment, previously it was just a link

What browser are you using? Because I have tested the new version in both Firefox and Chrome and I can't reproduce your screen. For me the filter menu - when opened - overlaps the other items on the page as expected.
Checking/unchecking subjects add strings to the end of the URL. I wanted to make that visible to the user, so the buttons shift to the right. If you have a better idea for the UX I'm open to change the current implementation.

Chrome Version 128.0.6613.137 (Official Build) (64-bit), but I bet the reason is screen size. I use a laptop with 14". Was able to reproduce that issue at a phone - and yeah, I've saw the new design, it fixed the issue for laptop view, but not for phone view.
But I don't think it should be adopted to phone - It is highly unlikely that someone will use a phone to access the site, and even in that case - it is still possible to do everything, the bug is not blocking, so, I'd left it as is.
Btw, checked also with 10" tablet - and for a tablet all was fine.
Actually, I like the current design a lot already - the idea if hiding all subjects into drop-down menu works perfect for me.

Thanks a lot for fixing the issues!

Thank you @Bosmut for reporting and @samuelemusiani for fixing! Can we close this?

@Bosmut I've tried on the phone and on my 14" laptop but everything is working as expected. I can't reproduce your issue on the UI.
We can close this issue for me.

Sure, this issue can be closed.


[Epic] Detox 21 Miscellaneous

Describe your idea
Easy to implement breaking (or risky) changes that are best to do ASAP, in Detox 21
- [ ] Upgrade required engine to Node 16
- [ ] #4212
- [ ] #4223
- [ ] #2533
- [ ] #2610
- [ ] https://github.com/wix/Detox/issues/4245
- [ ] https://github.com/wix/Detox/issues/4244

@noomorph I'm not a fan of version-specific epics. I favor product-oriented epics; For version, we can use github milestones, or plain labels, maybe 🤔

And where we should do the breaking changes?


Sourcemaps

Most of the custom plugins currently don't generate sourcemaps. For a better developer experience, these plugins should generate sourcemaps.

Closed by #70


bum actions/checkout

Similar to https://github.com/denoland/deno/pull/14089

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Exec format error

While trying to run this i get:
sh: 27: /tmp/tmp.hjqiUgorVk: Exec format error ERROR: Executing linutil
Also trying to download the file and run with both bash and sh:
./start.sh: 27: /tmp/tmp.c44F4VrSUu: Exec format error ERROR: Executing linutil
Just a quick question, is this Arch only? This is on a Debian based system.

i ran it in debian 12 and it worked perfectly fine

Could it be because of arm?

It seems like Rust executable needs to also be compiled for ARM and then it will probably work if your computer uses an ARM processor since below shows "x86-64".
$ file linutil
linutil: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically link
ed, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=743f2ea0f7f24097882d90
32552ec986d27c3818, for GNU/Linux 3.2.0, not stripped


fix: use the fragment as pointer when resolving a sub schema as the c…

…urrent builder doesn't contain a pointer
The current builder in this scope contains an un-escaped url which might not be a proper json pointer, for example when using a uri as a json key. This problem probably spans further than this piece of code.
I don't really know how to test this, as no tests test this code explicitly, but there are test coverage covering these changes, but they don't test this specific scenario.
I found this issue using a json document that contains json schemas (like OpenAPI). One of the schemas point to a schema that is relative to the json document, not the schema, hence why it's not registered at this point. That pointer has a segment that is a url, which cannot be resolved as the currentbuilder is not a proper json pointer (each segment has already been decoded).
I.e.:
{
  "foo": {
    "/this/is/a/url/property/name/": {
    ....
    }
  }
}

Which is referenced as /foo/~1this~1is~1a~1url~1property~1name~1/
CurrentBuilder will contain something like /foo//this/is/a/url/property/name//

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

That's a really interesting scenario. I'll have a look at the specs that are exercising things around this code path, and see if I can add one to the JSON Schema test suite to specifically exercise this scenario (so that the wider community can benefit from it).

I've got back to this one now. Do you have a minimal example of a doc with a reference to a JSON island like this?

You can try any json pointer that has a segment with a forward slash, the OpenAPI spec has many examples, here for example: https://spec.openapis.org/oas/v3.1.0#paths-object
Json document example (not actual OpenAPI):
paths:
  /foo/bar:
    schema:
      type: string

Json pointer (JsonReference fragment): #/paths/~1foo~1bar/schema

Okay - I've put together a spec that covers this off. It is really a scenario that should be covered in the (optional) specs in the Json-Schema test repo, so I'll prep a PR for that as well.
I've also made a modification to the way it is implemented to use the ROS instead of allocating another string, as we happen to have it available.
I'll push up and link my branch tomorrow as it appears to have become 2am here!

I have created issue #238 to capture this need, and created PR #239 to resolve it.
I will close this and we can continue conversations over there. I will get someone to review the change on our side and release some time today.


fixes #18168: py format check

Describe your changes:
Fixes #18168

I worked on ... because ...

Type of change:

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@kuma0128 I'll close this PR. These method names are expected as they refer to the antlr syntax defined here https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/antlr4/org/openmetadata/schema

I understood


Getting a view's height

I'd like to get select's height.
Now it's impossible?
Problem description
struct Widget {
    view: LinearLayout,
}

impl Widget {
    fn new<V: View>(view: V) -> Self {
        let layout = LinearLayout::vertical()
            .child(EditView::new())
            .child(SelectView::<String>::new());

        Widget {
            view: layout,
        }
    }
    fn x(&self) {
        // TODO: i'd like to get select view height..
        // this should be real value no matter `view` is added, like
        // this
        //app.add_layer(w.fixed_size((20, 10)));
        // or that
        //app.add_layer(w.full_screen());
        let view_height = select.scrollbase.view_heigh;
    }
}

impl ViewWrapper for Widget {
    wrap_impl!(self.view: LinearLayout);
}

fn main() {
    let mut app = Cursive::default();

    let w = Widget::new();
    app.add_layer(w);
    app.run();
}

Anyway of doing that?

Will you look at it @gyscos  :)

Do you want the number of items? Or the height allocated by the parent (in the last layout() call)?
If it's the second, you can wrap a view in SizedView; it will remember the last size given and make it public.

I need items count, I think. :)
When I'm printing this:
select.scrollbase.view_heigh;
the value is correct. But it's private.
Anyway if there is an other way I will use it.

For the number of items there is SelectView::Len()

This returns total count of items (scrollable).
I'd like to know how many items are visible in one page (without scrolling).

Then you want the minimum of the height (that you can get with SizedView) and the item count.

This is completly awesome, and works :)
Here's the example code:
#[macro_use]
extern crate cursive;

use std::cmp::min;

use cursive::Cursive;
use cursive::traits::*;
use cursive::views::*;
use cursive::view::*;

struct Widget {
    view: LinearLayout,
}

impl Widget {
    fn new() -> Self {
        let mut select = SelectView::<String>::new();
        select.add_all_str(vec!["a", "b", "c", "d", "e"]);
        let select = SizedView::new(select);
        let layout = LinearLayout::vertical()
            .child(EditView::new())
            .child(select)
            ;

        Widget {
            view: layout,
        }
    }
    fn count(&self) -> usize {
        let view: &View = self.view.get_child(1).unwrap();
        let select: &SizedView<SelectView> = (*view).as_any().downcast_ref().unwrap();
        min(select.size.y, select.view.len())
    }
}

impl ViewWrapper for Widget {
    wrap_impl!(self.view: LinearLayout);
}

fn main() {
    let mut app = Cursive::default();

    let w = Widget::new();
    //let w = Widget::new().fixed_size((10, 2));
    app.add_layer(w.with_id("w"));
    app.add_global_callback('q', |c| {
        let mut select: ViewRef<Widget> = c.find_id("w").unwrap();
        //let mut select: ViewRef<BoxView<Widget>> = c.find_id("w").unwrap();
        let len = select.count();
        //let len = select.get_inner().count();
        eprintln!("COUNT {:?}", len);
    });
    app.run();
}

Thanks @gyscos


UP-4403 : Adds json export feature

With this you can now do /api/{entity-type}/{entity-id}?format=JSON (example /api/portlet-definition/portal-activity?format=JSON) which will return a JSON representation of the entity file.  Import may come in the future, but this is a step in that direction. By not passing in a format it will give you XML (just like it is today).

How do the permissions work for this feature?

@drewwills - that is unchanged. See this line for what it currently does: https://github.com/timlevett/uPortal/blob/add_json_export/uportal-war/src/main/java/org/jasig/portal/rest/ImportExportController.java#L177
I'm creating another PR that has a more user facing call to get portlet info :) Stay tuned.

@drewwills - as promised : https://github.com/Jasig/uPortal/pull/512

Any reason not to merge this?

:+1:

+1
@timlevett RE your 2/4 comment about another PR more user-facing for portlet info, was that done?  I'm not sure what you mean by user-facing and I was wondering how it might overlap with https://github.com/Jasig/uPortal/pull/541

@jameswennmacher - user facing meaning a normal user might use it, vs this where its more for admins.
#512 doesn't have much to do with #514 .


Lokalise: Translations update

This pull request was initiated by Lokalise (user Peter Murray) at 2021-10-29 23:45:31

yarn run v1.22.5
$ eslint .
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Add support for auth_type reauthenticate

Facebook API support Re-Authentication (https://developers.facebook.com/docs/facebook-login/reauthentication/). By providing auth_type = "reauthenticate" I added support for this functionality.

@seeden Thanks for fast merging :+1:. When are you planning to do new release? I need this in my current project ASAP :smile: :crossed_fingers:

released


BOM Project

Hello, I have a scenario in the distribuition of front-end components, like this:
We produce various components, each with its particular version and dependency between them. For example:
projectA version 1.0.0
projectB version 1.4.0
projectC version 1.8.9
...
And projectA depending on projectB in particular version and projectB depending on another project, and so many projects...
What happened was that I had to get my single project, it was a major project components, and break into several small projects, allowing those who were to use, could choose only the few components you need and not all.
My question is, do not have as well as exist in Maven, I create a project that would be just to list the dependencies and their versions, something like this:
Grouper project

List all dependencies and versions.

On the client

I somehow 'would extend' this wrapper project, and I declared only the dependencies that I need, but without putting version, as this would be solved by the grouper. For those who know the Maven out, what I needed was to be alble to do the same thing occurs with BOMs.

Any ideia how to solve this?
Thanks.

Currently it's not possible, unfortunately. But watch for custom resolvers in the next release.


Add note about cronjob

This change adds a note to the "Signon API user token expires soon" section to the effect that any alerts relating to Staging (currently) and Integration (in the future) do not need any action. This is because the overnight cronjob updates the token in this environment to match any changes made in Production.  The change is shown in the screenshot below.

Current
Updated

Nice one! We can probably also stop the alerts from firing in Integration and Staging altogether 🤔

Now dropped from Staging, so we should consider revising this @davidtrussler 🙏
https://github.com/alphagov/govuk-helm-charts/pull/2059

Now dropped from Staging, so we should consider revising this @davidtrussler 🙏 alphagov/govuk-helm-charts#2059

Cheers Chris, yes, I've passed that onto the next shift with an explanation of events.


Proposal: Request Durations in Load Stats Reporting

I'm pretty new to Envoy, so apologies in advance if this is a silly question.
Envoy's load stats reporting currently reports useful metrics like total_successful_requests and total_requests_in_progress. I'm looking to implement a server that can estimate the long term average number of requests in our system via Little's Law. For that, I think we'd need total_requests_in_progress, and some notion of the average processing time of each request, broken down by cluster.
Envoy currently reports statistics that include the histogram upstream_rq_time, which is precisely what we'd need.
I wonder if this metric, or simply an "average request time" per cluster, should be threaded through to the load reporting stats. If yes, any pointers on a good way to implement it would be appreciated, and I can send a PR. Otherwise, the alternate path I see is that we need our server to be a full fledged gRPC metrics sink, which would work, but seems like a hack.
I also noticed some work around Orca and I wonder if the recommendation is to wait until that work is complete.

I think it's totally reasonable to add this to LRS, I'd recommend trying to leverage what we have in stats (or plumbing new ones), since LRS basically builds on this, e.g. https://github.com/envoyproxy/envoy/blob/master/source/common/upstream/load_stats_reporter.cc#L85.
The main issue you'll encounter is that you want the stats such as average request time to be only for the reporting period, which is different to the aggregate histograms. So, you probably need to plumb some new bookkeeping for this, which follows the existing path of where these stats are updated.

@htuch do you think it's feasible to send something like the p50, p75, and p95 request times? I see no way to latch a histogram value, but might be missing something.

Yeah, you'll have to reconcile the histogram on the main thread, since this isn't an atomic integer that can be latched. @jmarantz do you know the best place to snapshot some percentile integers for histograms on the main thread for periodic reporting purposes?

@ramaraochavali might know better, but I think you can get this today by polling the <IP_ADDRESS>:ADMIN_PORT/stats?filter=HISTOGRAM_NAME and then parsing the output.
This can also be done internally via the adminRequest API, though you could probably plumb through a more convenient API that didn't require serializing an ad-hoc format to a string and then parsing it.

The idea is to integrate this into the LRS stream, so polling admin is not the right solution.

I'm not familiar with the LRS stream, but the way histograms work the data
will be collected across multiple threads and the values sent to a callback
on the main thread. The adminRequest API packages that for you. Http
requests do not need to be involved if you are doing this from within the
process.
On Tue, Jun 16, 2020, 5:29 PM htuch<EMAIL_ADDRESS>wrote:

The idea is to integrate this into the LRS stream, so polling admin is not
the right solution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/issues/11599#issuecomment-645021954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO2IPJULDFHVI4QR22RR5DRW7P4TANCNFSM4N7IXCZA
.

So it seems like the most correct behavior would be:
When the load reporting timer goes off, we should dispatch an event to the main thread to take a snapshot of all histograms (and clear them), then dispatch an event (with some data) so a worker thread can take the frozen histograms, and process rest of the data. On those lines, we probably need to add a method to upstream_impl.h since it has the load_report_stats_store_ with the right histogram, and that method can take in a callback.
If this is correct, let me know. I was browsing the source to find a good example to use, and I think we should be using Event::Dispatcher.post() to freeze stats, but not sure how to invoke a callback on a worker thread.

IDK about clearing them. If you want to capture deltas can you just keep your own state for previous values and compute deltas?
From a flow perspective, start by looking at
https://github.com/envoyproxy/envoy/blob/ad9245b99abbcd74b67b4d37006446cbbb4f9f54/source/exe/main_common.h#L65
Then via the admin stats infrastructure, that ultimately calls:
https://github.com/envoyproxy/envoy/blob/ad9245b99abbcd74b67b4d37006446cbbb4f9f54/source/server/admin/stats_handler.cc#L130
I think you want to mirror that flow, but rather than getting the stringified quantile summary from
https://github.com/envoyproxy/envoy/blob/ad9245b99abbcd74b67b4d37006446cbbb4f9f54/include/envoy/stats/histogram.h#L24
You might want to get this data in a structured way, e.g. from
https://github.com/envoyproxy/envoy/blob/ad9245b99abbcd74b67b4d37006446cbbb4f9f54/include/envoy/stats/histogram.h#L53

Also, you did find the right post() API if you need to then get the data accessible on a particular worker thread. But I'm nervous about the attempt to 'freeze' stats. That sound difficult. I'd think instead about grabbing a reasonably coherent snapshot to the best extent possible using the threading flow I gave above.

The LRS reporter is running on the main thread, so you should not have to cross-threads here. You should rely on the histograms that have been aggregated there. I think the admin interface is a bit strange, this isn't an admin query but instead the goal is to get at the stats aggregate. But you can follow the logic for how the admin handler works.

Nothing in histograms is aggregated in the main thread until that's
triggered by a stats-sink or /stats admin request. So you need to trigger
it. The adminRequest call-stack can be duplicated and tightened up so you
can initiate the cross-thread aggregation.
On Wed, Jun 17, 2020 at 1:30 PM htuch<EMAIL_ADDRESS>wrote:

The LRS reporter is running on the main thread, so you should not have to
cross-threads here. You should rely on the histograms that have been
aggregated there. I think the admin interface is a bit strange, this isn't
an admin query but instead the goal is to get at the stats aggregate. But
you can follow the logic for how the admin handler works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/issues/11599#issuecomment-645515050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO2IPN3X7BTYRJXWDTOH6DRXD4SFANCNFSM4N7IXCZA
.

Thanks for the help. An interesting snag while implementing this is that the load reporting stats are an instance of IsolatedStoreImpl which do not return a ParentHistogramSharedPtr, since it doesn't any ParentHistograms. Still digging into it a little more to see if that can be implemented.

So not sure if this belongs as soon thing to mention here, or if it should be a separate issue/feature request.
I know having latency information would be very valuable, including endpoint specific information to know if a particular endpoint in a cluster's performance is degrading. That being said, I feel like some combination of TTFB in addition to histograms for request time and size (or at least avgs) would be beneficial.


Custom sort order for format selection

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[x] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.

You can change the criteria for being considered the best by using -S (--format-sort). The general format for this is --format-sort field1,field2.... The available fields are:

video, has_video: Gives priority to formats that has a video stream
audio, has_audio: Gives priority to formats that has a audio stream
extractor, preference, extractor_preference: The format preference as given by the extractor
lang, language_preference: Language preference as given by the extractor
quality: The quality of the format. This is a metadata field available in some websites
source, source_preference: Preference of the source as given by the extractor
proto, protocol: Protocol used for download (https/ftps > http/ftp > m3u8-native > m3u8 > http-dash-segments > other > mms/rtsp > unknown > f4f/f4m)
vcodec, video_codec: Video Codec (av01 > vp9 > h265 > h264 > vp8 > h263 > theora > other > unknown)
acodec, audio_codec: Audio Codec (opus > vorbis > aac > mp4a > mp3 > ac3 > dts > other > unknown)
codec: Equivalent to vcodec,acodec
vext, video_ext: Video Extension (mp4 > flv > webm > other > unknown). If --prefer-free-formats is used, webm is prefered.
aext, audio_ext: Video Extension (m4a > aac > mp3 > ogg > opus > webm > other > unknown). If --prefer-free-formats is used, the order changes to opus > ogg > webm > m4a > mp3 > aac.
ext, extension: Equivalent to vext,aext
filesize: Exact filesize, if know in advance. This will be unavailable for mu38 and DASH formats.
filesize_approx: Approximate filesize calculated  the manifests
size, filesize_estimate: Exact filesize if available, otherwise approximate filesize
height: Height of video
width: Width of video
res, dimension: Video resolution, calculated as the smallest dimension.
fps, framerate: Framerate of video
tbr, total_bitrate: Total average bitrate in KBit/s
vbr, video_bitrate: Average video bitrate in KBit/s
abr, audio_bitrate: Average audio bitrate in KBit/s
br, bitrate: Equivalent to using tbr,vbr,abr
samplerate, asr: Audio sample rate in Hz

All fields, unless specified otherwise, are sorted in decending order. To reverse this, prefix the field with a +. Eg: +res prefers the smallest resolution format. Additionally, you can suffix a prefered value for the fields, seperated by a :. Eg: res:720 prefers larger videos, but no larger than 720p and the smallest video if there are no videos less than 720p. For codec and ext, you can provide two prefered values, the first for video and the second for audio. Eg: +codec:avc:m4a (equivalent to +vcodec:avc,+acodec:m4a) sets the video codec preference to h264 > h265 > vp9 > av01 > vp8 > h263 > theora and audio codec preference to mp4a > aac > vorbis > opus > mp3 > ac3 > dts. You can also make the sorting prefer the nearest values to the provided by using ~ as the delimiter. Eg: filesize~1G prefers the format with filesize closest to 1 GiB.
The fields has_video, has_audio, extractor_preference, language_preference, quality are always given highest priority in sorting, irrespective of the user-defined order. This behaviour can be changed by using --force-format-sort. Apart from these, the default order used by youtube-dlc is: tbr,filesize,vbr,height,width,protocol,vext,abr,aext,fps,filesize_approx,source_preference,format_id. Note that the extractors may override this default order (currently no extractor does this), but not the user-provided order.
If your format selector is worst, the last item is selected after sorting. This means it will select the format that is worst in all repects. Most of the time, what you actually want is the video with the smallest filesize instead. So it is generally better to use -f best -S +size,+br,+res,+fps.
Tip: You can use the -v -F to see how the formats have been sorted (worst to best).
Examples
# Download the worst video available
$ youtube-dlc -f 'worstvideo+worstaudio/worst'

# Download the best video available but with the smallest resolution
$ youtube-dlc -S '+res'

# Download the smallest video available
$ youtube-dlc -S '+size,+bitrate'

# Download the best mp4 video available, or the best video if no mp4 available
$ youtube-dlc -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/bestvideo+bestaudio / best'

# Download the best video with the best extension
# (For video, mp4 > webm > flv. For audio, m4a > aac > mp3 ...)
$ youtube-dlc -S 'ext'

# Download the best video available but no better than 480p,
# or the worst video if there is no video under 480p
$ youtube-dlc -f 'bestvideo[height<=480]+bestaudio/best[height<=480] / worstvideo+bestaudio/worst'

# Download the best video available with the largest height but no better than 480p,
# or the best video with the smallest resolution if there is no video under 480p
$ youtube-dlc -S 'height:480'

# Download the best video available with the largest resolution but no better than 480p,
# or the best video with the smallest resolution if there is no video under 480p
# Resolution is determined by using the smallest dimension.
# So this works correctly for vertical videos as well
$ youtube-dlc -S 'res:480'

# Download the best video (that also has audio) but no bigger than 50 MB,
# or the worst video (that also has audio) if there is no video under 50 MB
$ youtube-dlc -f 'best[filesize<50M] / worst'

# Download largest video (that also has audio) but no bigger than 50 MB,
# or the smallest video (that also has audio) if there is no video under 50 MB
$ youtube-dlc -f 'best' -S 'filesize:50M'

# Download best video (that also has audio) that is closest in size to 50 MB
$ youtube-dlc -f 'best' -S 'filesize~50M'

# Download best video available via direct link over HTTP/HTTPS protocol,
# or the best video available via any protocol if there is no such video
$ youtube-dlc -f '(bestvideo+bestaudio/best)[protocol^=http][protocol!*=dash] / bestvideo+bestaudio/best'

# Download best video available via the best protocol
# (https/ftps > http/ftp > m3u8_native > m3u8 > http_dash_segments ...)
$ youtube-dlc -S 'protocol'

# Download the best video with h264 codec, or the best video if there is no such video
$ youtube-dlc -f '(bestvideo+bestaudio/best)[vcodec^=avc1] / bestvideo+bestaudio/best'

# Download the best video with best codec no better than h264,
# or the best video with worst codec if there is no such video
$ youtube-dlc -S 'codec:h264'

# Download the best video with worst codec no worse than h264,
# or the best video with best codec if there is no such video
$ youtube-dlc -S '+codec:h264'

# More complex examples

# Download the best video no better than 720p prefering framerate greater than 30,
# or the worst video (prefering framerate greater than 30) if there is no such video
$ youtube-dlc -f '((bestvideo[fps>30]/bestvideo)[height<=720]/(worstvideo[fps>30]/worstvideo)) + bestaudio / (best[fps>30]/best)[height<=720]/(worst[fps>30]/worst)'

# Download the video with the largest resolution no better than 720p,
# or the video with the smallest resolution available  if there is no such video,
# prefering larger framerate for formats with the same resolution
$ youtube-dlc -S 'res:720,fps'

# Download the video with smallest resolution no worse than 480p,
# or the video with the largest resolution available if there is no such video,
# prefering better codec and then larger total bitrate for the same resolution
$ youtube-dlc -S '+res:480,codec,br'

Closes #121


⚠ Bofrost.be has degraded performance

In 8eb4a9a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1653 ms

Resolved: Bofrost.be performance has improved in f7a9827 after 10 minutes.


Weather widget broken

shit.. forced to look at the window now :D

Oh you have a window?   :D


chore: moved plugins-node-all into contrib repo from opentelemetry-js

Which problem is this PR solving?

Migrating plugins-node-all to the contrib repo reduces mismatched otel version issues for plugins due to opentelemetry-js packages being shipped w/o a following contrib release.

See issue: https://github.com/open-telemetry/opentelemetry-js/issues/1370
Short description of the changes
Part 1 of 2? to migrate plugins-node-all into contrib

Mostly copy-pasta transfer of package.json and README for plugins-node-all
Updated lint workflow to include new "metapackages"
Updated lerna to include new "metapackages"
Add brief content on metapackage to contrib README

Remaining steps (as I understand):

Ship new versions out of contrib including plugins-node-all
Remove plugins-node-all from opentelemetry-js (step 1 must be completed first)
Profit?!

I'll leave a self-review to highlight some decision points (and potential knowledge gaps) for discussion on my mind.

Per conversation in SIG meeting today, will be renaming this via the new "instrumentation" naming standard which will also allow us to match versions, etc. to avoid the ongoing version issues with the old plugin.

@michaelgoin up to you if you want to do instrumentation rename in this PR or hold it for a follow-up PR. It might be easier to get it reviewed/merged as 2 separate?

@dyladan sure. lets get this merged and i'll get a new PR in for the rename.

@dyladan think this is good to go now


Added rules that should be ignored

https://www.flake8rules.com/rules/W504.html
https://www.flake8rules.com/rules/W503.html
One of these shouldn't be ignored, but I don't like either

Since this is now part of the aimbot branch and now resolved I'll close this


AttributeError: module 'app' has no attribute 'config'

I'm creating my config options using the form app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False but this causes a AttributeError: module 'app' has no attribute 'config' error. How can I fix this?

@johnroper100 were you able to figure it out? Sounds more like a flask issue than a Flask-WhooshAlchemy issue.


How can I import Moment interface to my typescript?

Hello, I need to load the Moment interface to my .ts file.
I can see that the moment() output's interface is moment.Moment, but I cannot import Moment interface to my code.
For example, express provides its interfaces as parameters throw the express value like below:
var res:express.Response ;
And I didn't find such a solution on yours.

I find it ☺ ! my mistake
var m:moment.Moment


docs: update readme

Codecov Report

Merging #1 (9a8508f) into main (e2a011b) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 9a8508f differs from pull request most recent head cfb7b15. Consider uploading reports for the commit cfb7b15 to get more accurate results

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage   94.33%   94.33%
=======================================
  Files           1        1
  Lines         106      106
  Branches        8        8
=======================================
  Hits          100      100
  Misses          6        6

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix ActionSerializerSuite

Description
This test changes when/how actions are instantiated inside of ActionSerializerSuite when passed into testActionSerDe. We change the action type from Action to => Action. We also make the failing metadata lazy. This ensures that the metadata are instantiated after SparkFunSuite::beforeAll has run. This ensures that Utils.isTesting is true, meaning that the metadata will be instantiated with id testId.
How was this patch tested?
Existing UTs.
Does this PR introduce any user-facing changes?
No
Resolves delta-io/delta#1283

@bogdanrdc can you take a look?

@bogdanrdc can you take a look?

You may have tagged another Bogdan, but I think this was for me :)
It looks very nice and the solution seems better than my bulk of refactoring. ✅


fix potential stability problem

shared pointer to cached chunk needs to be copied from cache before unlocking the mutex

might fix #192

Binaries are updated, I will test tomorrow.
Thanks for the help.


Invalidate TOTP code after first use

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
I'm not sure if I've selected correct issue type. Please, feel free to move it, if required.
There is an API PATCH /v2alpha/sessions/:sessionId, it accepts TOTP code as check option in request object. The problem is that one correct TOTP code can be used multiple times in a row, it doesn't invalidate code after first use. This could be a vulnerability issue, allowing replay attack.
Describe your ideal solution
Success usage of TOTP code in API PATCH /v2alpha/sessions/:sessionId should prevent this code reusability throughout the period while the code remains active (+30sec AFAIK).
Version
2.35.0
Environment
Self-hosted
Additional Context
No response

Hei @dimyle
Thanks for the issue. I just had a look at the RFC for Time Based One Time Password, and you are right.
We were not aware about this.
We will take the issue into the backlog.
Last part in the following section states what you are describing: https://datatracker.ietf.org/doc/html/rfc6238#section-5.2

Hey. Any news about this issue?
It looks for me like very big security vulnerability


Enable the new model serialization for operation insight

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


[FIXED] Dispatching of asynchronous callbacks

This is a follow up on #365. Working on another issue and running
tests, I still had a race on the original ach or a panic on send
to close channel.
Move from a channel to a linked list with dedicated lock.
Signed-off-by: Ivan Kozlovic<EMAIL_ADDRESS>

Coverage decreased (-0.1%) to 95.023% when pulling f9649c36334d6c344c3ba2469aafd3018998ef78 on async_cb_handler into d4841f2d6a3ab7745d940768bfbc2fe9d60c65ed on master.

LGTM


New pkg: container-collection

New pkg: container-collection
Abstracting the set of containers in gadget-tracer-manager, so it can be reused in local-gadget (https://github.com/kinvolk/inspektor-gadget/pull/245).
This includes the helper function ContainerSelectorMatches. Some unit tests were moved accordingly.
How to use
No changes, this is just refactoring code.
Testing done
make test and make local-gadget-tests in the local-gadget branch.

@mauriciovasquezbernal Rebased and conflicts resolved. PTAL.

Updated

Thanks. I updated the 2 other method names.


merge: dev to master

:tada: This PR is included in version 0.126.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix instructions for a new Windows installation

coverage: 74.036% (-0.1%) from 74.142%
when pulling 13411b7ebf7e3e4845d89c55826f9204c1e60ff8 on works-on-my-machine
into f290520258703cd87eabaa00afcecb5edaa2135d on master.


Icon and Label in MDBottomNavigation are stacked to on each other

Description of the Bug
here is an image

Code and Logs

OS: Pop_Os
Python: python3.7
Kivy: 2.0.0
KivyMD: master

Same here on:
OS: Fedora 32
Python: v3.8.6
Kivy: v2.0.0rc4
KivyMD: master
and also on Android.

Same here on:
OS: Fedora 32
Python: v3.8.6
Kivy: v2.0.0rc4
KivyMD: master
and also on Android.

The fix seems to switch the label and icon position. It used to be icon top, label bottom. Now it is label top, icon bottom.

The fix seems to switch the label and icon position. It used to be icon top, label bottom. Now it is label top, icon bottom.

@timovwb No

@timovwb No

Running the example from the docs. There it shows the label underneath the icon and how it used to be. Now it has switched.

Running the example from the docs. There it shows the label underneath the icon and how it used to be. Now it has switched.

@timovwb You are wrong.

@timovwb You are wrong.

I'm not trying to play a yes/no game. Atleast tell me where I'm wrong. The documentation shows label under icon, KivyMD 0.104.1 shows the same, even installing master from 2 weeks ago shows it that way.

I'm not trying to play a yes/no game. Atleast tell me where I'm wrong. The documentation shows label under icon, KivyMD 0.104.1 shows the same, even installing master from 2 weeks ago shows it that way.

@timovwb In KivyMD, in the MDBottomNavigation class, the icon was always at the bottom.

@timovwb In KivyMD, in the MDBottomNavigation class, the icon was always at the bottom.

That just can't be true. Here's the documentation example:

KivyMD 0.104.1:

KivyMD master from Januray 1st (two weeks ago):

That just can't be true. Here's the documentation example:

KivyMD 0.104.1:

KivyMD master from Januray 1st (two weeks ago):

@timovwb Yes you are right.

@timovwb Yes you are right.

@timovwb https://github.com/kivymd/KivyMD/commit/ef5b96143aeade1a21e8befb0c37873890ecee11

@timovwb https://github.com/kivymd/KivyMD/commit/ef5b96143aeade1a21e8befb0c37873890ecee11

@HeaTTheatR Thanks! Works as intended again.

@HeaTTheatR Thanks! Works as intended again.

How can I get a navigation bar to the screen when the "menu" icon is clicked? I want to get a navigation bar with a list of 3 items. When for example "item1" is clicked, then the screen changes to "item1 screen". Can someone solve this problem? Now, the program I have written shows a toolbar at top of the screen with a menu icon, and a bottom navigation bar with three icons. The only problem is to add a navigation bar to the menu icon, and use screenmanager to switch between screens when items is clicked inside the navigation bar.
Here is my python file:
from kivymd.app import MDApp
from kivy.lang import Builder
class Test(MDApp):
def build(self):
self.theme_cls.primary_palette = "Gray"
    return Builder.load_file("test.kv")

Test().run()
And here is my kv file:
#: import get_color_from_hex kivy.utils.get_color_from_hex
Screen:
BoxLayout:
orientation: "vertical"
    MDToolbar:
        title: 'GoatMentor'
        md_bg_color: get_color_from_hex("#088F8F")
        specific_text_color: get_color_from_hex("F5F5F5")
        left_action_items: [["menu"]]

    MDBottomNavigation:
        panel_color: get_color_from_hex("#088F8F")
        text_color_active: get_color_from_hex("F5F5F5")

        MDBottomNavigationItem:
            name: 'screen 1'
            text: 'New Session'
            icon: 'plus'
            MDLabel:
                text: 'New session screen'
                halign: 'center'

        MDBottomNavigationItem:
            name: 'screen 2'
            text: 'Add Test Result'
            icon: 'clock'
            MDLabel:
                text: 'Test result screen'
                halign: 'center'

        MDBottomNavigationItem:
            name: 'screen 3'
            text: 'Goat League'
            icon: 'sheep'
            MDLabel:
                text: 'Goat league screen'
                halign: 'center'

Can someone write a program with this inside:
-A toolbar at top of the screen
-Menu icon inside the toolbar
-Navigation bar show up when menu icon clicked
-Add three items to inside a scrollview inside the navigation bar
-use screenmanager to switch between screens when items is clicked
-a bottom navigation bar with 3 icons

@Heddaolsen Tell us exactly what you can't do and attach a minimal sample code that reproduces the problem you described.

this is my kv file:
Screen:
BoxLayout:
orientation: "vertical"
    MDToolbar:
        title: 'GoatMentor'
        md_bg_color: get_color_from_hex("#088F8F")
        specific_text_color: get_color_from_hex("F5F5F5")
        left_action_items: [["menu"]]

    MDBottomNavigation:
        panel_color: get_color_from_hex("#088F8F")
        text_color_active: get_color_from_hex("F5F5F5")

        MDBottomNavigationItem:
            name: 'screen 1'
            text: 'New Session'
            icon: 'plus'
            MDLabel:
                text: 'New session screen'
                halign: 'center'

        MDBottomNavigationItem:
            name: 'screen 2'
            text: 'Add Test Result'
            icon: 'clock'
            MDLabel:
                text: 'Test result screen'
                halign: 'center'

        MDBottomNavigationItem:
            name: 'screen 3'
            text: 'Goat League'
            icon: 'sheep'
            MDLabel:
                text: 'Goat league screen'
                halign: 'center'


wis2box-api 1.0b5 flask error

The 1.0b5 version will randomly crash with this output:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/ctx.py", line 401, in pop
self.app.do_teardown_request(exc)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2035, in do_teardown_request
for name in chain(request.blueprints, (None,)):
File "/usr/local/lib/python3.8/dist-packages/werkzeug/local.py", line 311, in get
obj = instance._get_current_object()
File "/usr/local/lib/python3.8/dist-packages/werkzeug/local.py", line 508, in _get_current_object
raise RuntimeError(unbound_message) from None
RuntimeError: Working outside of request context.
This typically means that you attempted to use functionality that needed
an active HTTP request. Consult the documentation on testing for
information about how to avoid this problem.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gunicorn/workers/base_async.py", line 55, in handle
self.handle_request(listener_name, req, client, addr)
File "/usr/lib/python3/dist-packages/gunicorn/workers/ggevent.py", line 143, in handle_request
super().handle_request(listener_name, req, sock, addr)
File "/usr/lib/python3/dist-packages/gunicorn/workers/base_async.py", line 106, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2213, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2206, in wsgi_app
ctx.pop(error)
File "/usr/local/lib/python3.8/dist-packages/flask/ctx.py", line 407, in pop
ctx = _cv_request.get()
LookupError: <ContextVar name='flask.request_ctx' at 0x7f0fb8d9fd10>
I suspect it has something to do with the different way the wis2box-api is dockerized (see changes in Dockerfile)

this was fixed


Added my favorite pokemon (gigglypuff). I like the voice of jigglypuff.

Jigglypuff
Jigglypuff debuted in Generation I as a Normal/Fairy-type Pokémon. It was a pure Normal-type before Generation VI. Jigglypuff evolves from Igglybuff when leveled up with high friendship, and when exposed to a Moon Stone, it evolves into Wigglytuff.
Contributed by
                                -
                                Divyashree

@AM1CODES could you please check this out?


AMP-78774 - carrier cannot be tracked

Amplitude Developer Docs PR
Description
https://amplitude.atlassian.net/browse/AMP-78774

Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[ ] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[ ] I have performed a self-review of my own documentation.

@amplitude-dev-docs

Thanks @Mercy811 !


6.2.2-6.3.0  Alternative UPN Suffixes Problem

I have 1 Alternative UPN Suffix on the Forest, till version 6.2.1 that was not a problem. But after the update i get this error and the user are not correctly populated.
Failed to create Directory context for domain "domain2.com".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
For what i can see, it is trying to contact the domain suffix of the userPrincipalName, but because it is an alternative Suffiex it does not really exist as a domain inside the forest.
Im attaching the information i got from /home/diagnostics for 2.2.1 and the one after.
log bonobo 2-2-1.txt
log bonobo 3-0.txt

I don't think there is an issue with the alternate suffix - it will just try to connect and if no response - try the next domain in list.
Have you removed some members or moved them from one group to another?

no, i haven't removed member or edited the users. i event delete the the ADBackend folder to allow it to generate it again but it still fails as you can see on the logs it only detect 3 user on version 6.3.0 but on version 6.2.1 it does detect all the users.
i did the test with the same configuration, just upgraded it by keeping the web.config and app_data folder and deleting the rest as usual. i when back to version 6.2.2 and got the same error but on 6.2.1 it works ok.
on version 6.2.2 and 6.3.0 there where some changes to the way AD domain is handle with could explain why it is not working on later versions.

I have noticed the same issue on my installation. I deviated from the original install instructions by creating a new IIS site with SSL enabled and a custom DNS name. It would be good to get it working again as AD management is awesome!


Master MetaData File & Rarity File

Pushing the boat out here but know how handy it would be for people (especially newcomers).
Can you create a metadata file with all the nft json file data in?
And also the possibility of a rarity json file that uses possibly the master meta file to give the % etc....
I won't be cheeky and suggest it creates a rank for each in forms of rarity based on the traits lol
Good work on the app and tackling suggestions so far 👍

Was just about to create a request on something similar.
Suggestions above would be great 👍

I whipped up a PoC for this change in PR #9 .
The generated artwork.json is great for use with projects like scaffold-eth and others.
Hope this helps!

I put something together that creates a master metadata file and exports it as a CSV.
First, I created something that removed some properties I did not want in my metadata, which include: ("fee_recipient", "seller_fee_basis_points", "external_url", "hash"). Then I created something that exports all to a CSV file.
I then take the contents of that CSV and paste it into a google sheet I created that gives me percentages and the number of times a trait appears in my collection.
This is my "editMeta.py" code that should be placed in the same directory as the "appsus-nft-art-generator.0.0.6.exe" file.
import os
import json

# Total collection generated
dir_path = os.path.dirname(os.path.realpath(__file__))
md_path = dir_path + "\output\metadata"
dirCount = next(os.walk(md_path))[2]

total = len(dirCount)

# Metadata directory variable
metaDir = ".\output\metadata"

# Change to metadata directory
os.chdir(metaDir)

# Keys to be removed
keyToDelete = ["fee_recipient", "seller_fee_basis_points", "external_url", "hash"]

# Remove key function
def removeKey(file):
    for x in range(len(keyToDelete)):

        with open(file) as jf:
            jsonFile = json.load(jf)

        print('Length of JSON object before cleaning: ', len(jsonFile.keys()))

        testJson = {}
        keyList = jsonFile.keys()
        for key in keyList:
            if not key.startswith(keyToDelete[x]):
                print(key)
                testJson[key] = jsonFile[key]
        print('Length of JSON object after cleaning: ', len(testJson.keys()))

        with open(file, 'w') as jf:
            json.dump(testJson, jf)

# Remove keys for full colleciton
for x in range(1, total+1):
    removeKey(str(x) + ".json")

print(str(len(dirCount))+" json files found.")
print("Removed keys from "+str(len(dirCount))+" json files.")

This is my "masterMeta.py" file that grabs the attributes only of each json metadata file and exports to CSV. Please note you will need to change the "csv_columns = " to work with your project. Again, should be placed in the same directory as the "appsus-nft-art-generator.0.0.6.exe" file.
import os
import json
import csv

json_filename = ".json"

dir_path = os.path.dirname(os.path.realpath(__file__))
md_path = dir_path + "\output\metadata"
dirCount = next(os.walk(md_path))[2]
total = len(dirCount)

# Edit this for CSV Columns
csv_columns = ['NFT Number', 'Background', 'Sky Texture', 'Celestial', 'Hills', 'Clouds', 'Ocean', 'Land', 'Foliage', 'Foreground']
att_array = []
# Pull Traits function
def pullTraits(filename):

    with open(md_path+'\\'+filename, 'r') as jf:
        jsonFile = jf.read()

    m_data = json.loads(jsonFile)

    trait_type = ['NFT Number']
    trait_value = [os.path.splitext(filename)[0]]

    for key, value in m_data.items():
        if key.startswith("attributes"):
            attValue = value

    for attValues in attValue:
        trait_type.append(attValues['trait_type'])
        trait_value.append(attValues['value'])

    class attributes(dict):
        def __init__(self):
            self = dict()
        def add(self, key, value):
            self[key] = value

    attDict = attributes()

    for x in range(len(trait_type)):
        attDict.keys = trait_type[x]
        attDict.values = trait_value[x]
        attDict.add(attDict.keys, attDict.values)

    att_array.append(attDict)

    print(att_array)

# Create CSV File
def masterFile():
    # Opening JSON file
    f = open('data.json')

    # a dictionary
    data = json.load(f)

    csv_file = "masterFile.csv"
    try:
        with open(csv_file, 'w', newline='') as csvfile:
            writer = csv.DictWriter(csvfile, fieldnames=csv_columns)
            writer.writeheader()
            for data in data:
                writer.writerow(data)
    except IOError:
        print("I/O error")

# Function Call
for x in range(1, total+1):
    pullTraits(str(x)+json_filename)
    jsonString = json.dumps(att_array)
    jsonFile = open("data.json", "w")
    jsonFile.write(jsonString)
    jsonFile.close()

masterFile()

Finally, I exported the contents of that CSV file to this google sheet I created that checks for duplicates, tells me the rarity percentage and the number of times each trait occurs in the collection.
You will need to change things to work with your project.
I followed this to replace any empty cells with "None" so that i can see how many times an NFT did not have that trait.
https://www.statology.org/google-sheets-replace-blank-cells-with-zero/
Here is the google sheet: https://docs.google.com/spreadsheets/d/1-e2wk0JecKeMSZT7irD7I1-HhSdXCEXwagXG4vljxhE/edit?usp=sharing
Copy and change to work with your project.
If you'd like to donate for my efforts: rs7677.eth


Decompiling .dart.snapshot into Dart sourcecode

According to dart-lang/sdk:
Starting in 1.21, the Dart VM also supports application snapshots, which include all the parsed classes and compiled code generated during a training run of a program.

$ dart --snapshot=hello.dart.snapshot --snapshot-kind=app-jit hello.dart
Hello, world!
$ dart hello.dart.snapshot arguments-for-use
Hello, world!

Now,how can i decompile this hello.dart.snapshot file to hello.dart?

Sorry, this isn't something that we're planning to support.


fix(field): checkAllErrors avoid undefined value

CDS Report yarn-build#1653.0 ✘

build & test

build ✘
test ✘

@frenautvh The build & test has not passed, you can check on your side with yarn test or yarn build:dist ;)

fixed some linting errors

CDS Report deploy_uxci#1655.0 ✘
*

deploy_uxci ✘


Badges for Coveralls.io code coverage do not support GitLab repositories

Are you experiencing an issue with...
shields.io
🐞 Description
The Coveralls.io badges for code coverage support github and bitbucket only.
However, Coveralls.io also integrates with GitLab.
There is no option to select a GitLab repository and adding 'gitlab' to the url manually fails.
🔗 Link to the badge
No response
💡 Possible Solution
No response

This should not be hard to add, but we'll need to convert branch to a query param and set up a redirect for the legacy routes because on gitlab the repo can be nested in sub-organisations. This means both the user/repo bit of the url and the branch can contain an arbitrary number of slashes.
https://github.com/badges/shields/blob/16fdf3251b8936508062fd98c3266c7143957078/services/coveralls/coveralls.service.js#L13
Do know an example of any public repos on gitlab that use coveralls we can use for testing?

Do know an example of any public repos on gitlab that use coveralls we can use for testing?

You can use my new project, wsrouter, which I recently released as open source:
GitLab: https://gitlab.com/selcouth/wsrouter
Coveralls: https://img.shields.io/coveralls/github/selcouth/wsrouter

I would like to work on this issue.


chore(Update Deps): Bump Nanoid version

Description
Bumping nanoid version manually, dependabot is not able to access secrets causing backend unit tests to fail.
PR generated by dependabot: https://github.com/bcgov/fin-pay-transparency/tree/dependabot/npm_and_yarn/frontend/nanoid-3.3.8
Bumps nanoid from 3.3.7 to 3.3.8.
Type of change
Please delete options that are not relevant.

[x] Dependency update

How Has This Been Tested?
Testing would be performed via current set of test cases
Checklist

[x] I have read the CONTRIBUTING doc

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Admin Frontend
Backend external API console

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Admin Frontend
Backend external API console

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

All check have passed for the dependency update, manually merging the PR without any reviewers.


User endpoints creation

Overview
We need endpoints that allow users to create an account and login into it.
Action Items

[ ] Add a MongoDB schema file to the /models folder
[ ] Create user router file in /controllers folder
[ ] POST endpoint to create user
[ ] POST endpoint to login

Resources/Instructions
Schema in Notion

Hey, I am interested in working on the backend of the project using node js
To create the user authentication endpoints of login and signup
Jsonwebtoken as authorization
mongoDB as database


chore: add bin for office-tool-plus

Closes #12188

[x] I have read the Contributing Guide.

/verify

/verify


feat: add knip.config.ts and knip.config.js config files

This will match the style of my other configs:

Thanks a lot for your PR, @ethanneff. Unfortunately I'm not going to merge it, but know that you can use -c or --config to use the file name you like. More words about the matter: https://github.com/webpro/knip/issues/182#issuecomment-1664316828


Round Robin Implementation in C

I would like to implement Round Robin Scheduling Algorithm in C!

/assign