Invalid syntax of GDM dconf profile

As mentioned in https://github.com/NixOS/nixpkgs/issues/54150, https://github.com/NixOS/nixpkgs/commit/1af8f3a980bb8ac92f5c09ac23cca4781571bcd1 broke the syntax of GDM dconf profile.

https://developer.gnome.org/dconf/unstable/dconf-overview.html#id-1.2.5
https://gitlab.gnome.org/GNOME/dconf/blob/9c4a4f2baef7c35934a8b05fb61148f0a356940d/engine/dconf-engine-profile.c#L110-138
https://gitlab.gnome.org/GNOME/dconf/blob/9c4a4f2baef7c35934a8b05fb61148f0a356940d/engine/dconf-engine-source.c#L74-128

https://github.com/NixOS/nixpkgs/blob/cd29409a4594ce0fbe82e375ae921c1f6d41a7f6/nixos/modules/services/x11/display-managers/gdm.nix#L157-L160
Mar 14 01:18:29 nixos .gsd-color-wrap[866]: unknown dconf database description: /nix/store/95j1l8952q7k4k1dpx0ah3rv8vh90csk-gdm-3.30.3/share/dconf/profile/gdm
Mar 14 01:18:29 nixos .gsd-color-wrap[866]: unable to open file '/etc/dconf/db/local': Failed to open file “/etc/dconf/db/local”: open() failed: No such file or directory; expect degraded performance

We should probably concatenate our system-db definition with the original profile. And only when we are creating the database.

https://github.com/NixOS/nixpkgs/pull/63790 fixed this


Crash on Single Image Downloads

What steps will reproduce the problem?
click 'Delete All' on downloads
Select a photo from either e621 or danbooru and click 'Get Selected'.
Goto Download page and click 'Download All' or 'Download'
What is the expected behavior? What do you get instead?
The download screen comes up and immediately crashes.  This crash varies in form.  Sometimes the crash handler is run.  Sometimes the program hangs until Windows reports it as not responding and must be ended manually.  Sometimes the program freezes immediately and windows asks if I'd like to close it.  Sometimes the program freezes immediately and an memory error is thrown, such a

How often does this problem occur?
This happens every time I attempt a download an item(s) from 'Single Images' that does not include an item(s) from 'Group'.
Tests:

(nothing to download) -> 'Download All': Crash
1 'Single Image' -> 'Download All': Crash
5 'Single Image' -> 'Download All': Crash
5 'Single Image' -> 'Download Selected': Crash
1 'Group' -> 'Download All': Fine
1 'Group' -> 'Download Selected': Fine
2 'Single Image' + 1 'Group' ->'Download All': Fine
2 'Single Image' + 1 'Group' ->'Download Selected': Fine or Crash. Crashes if no item(s) from 'Group' is selected.

What version of the program are you using? On what operating system?
Windows 8.1 Enterprise 64-bit
I had just updated to Grabber 5.2.3 when i noticed this problem.
I reinstalled 5.2.3 and continued to have the problem.
I reinstalled 5.2.2 and continued to have the problem.
Please provide any additional information below
https://drive.google.com/drive/folders/0B2wmptU5SqameHdYS2lGSU83Z1E?usp=sharing
Since this site won't let me attach ZIP after claiming it would, the above folder contains crash reports from testing this issue and my settings.ini
This might be a copy of #832 , but I'm not certain.

Indeed, I can reproduce the crash with the steps you described, so I'll work on a fix and include it in the next release. I'll try to push the update before the end of the week (I usually push them on Saturday), as a crash is always a pretty high priority fix.
Thanks for the detailed bug report, I'll be able to fix the problem much faster thanks to it. :smile:
PS: it indeed seems to be the same issue as #832, but you give additional information, so we can keep both issues.


BG Script, Run a script during player control

Less Experimental BG Script!
The main components are:

Internal variable for BG_ptr, BG_ptr_bank, BG_start_ptr, We store these on SetBGscript, and load them on script end.
A BGscript_Active flag, To ignore "Is script ptr !=0" on collision and actor input.
A script event, Set BG Script and Clear BG Script, copy's or reset's variables.
Code in the ScriptStart event, to say BGscript not active, and try and halt actor movement.
Code in the Script_End_b, To check if there is a BGscript, and copy it over/ set active true.
Not sure when if (!script_cmd_index) (ScriptRunner.c line 126) is called true, but end check is also there, for now.
NEW BGscript_actor, Copy the script actor across to stop it moving when it is halted.
NEW Reset Time = 0 to solve wait's bleeding over to another script.

Current issues

[x] Actor keeps moving if new script starts Solved by moving BGscript_actor to nearest tile.
[x] Fixed! bg actor move would start moving any other actor you talk to, patched in ScriptStart.
[x] Issues with IsLastFnComplete, demo on UI text boxes auto completing, Try with looped Wait on a BG script.
[x] General performance, even Wait for Joypad can cause some lag while collisions+scrolling+music.   Performance update massively improves... performance... wait for actor input no longer slow.
[ ] Unsure if actor idle movement is allowed during bg script, can be set by adding an exception like && BGscript_active

TL:DR
Script that runs in Background, Enables Player movement and collision while on, Stops and restarts after other scripts.
Currently only way for start button menus, actors that do something while the player can move, or timers while the player moves for a score based or timed game.
ALSO FIXES TRIGGERS
The performance update broke trigger movement, fixed with a last_joy = 0; on trigger start.
PS
Windows builds since the performance update have this warning
src/game.c(113):error *** struct/union/array '' :initialization needs curly braces

Old pull request #117 if you want to know the thought process

What is the reason that Actor Idle movement doesn't work while BG Script is active?

@thomas-alrek It's still running as a script, and there are a few more checks for idle movement, i'll try changing a few and hope for the best, but I expect some may be different with the new update.

@thomas-alrek Would need a special exception check for actors that are moving to/following, or else they start moving while idle... Animated frame cycles are unaffected and work in any script.
I understand it would be nice for actors to move idly if it's just for input checking, other cases may have issues, and idle movement is not always necessary, only other case i can think of is a timer.
Pushing a feature that allows idle movement when not script OR when bgscript active && await_input is anything. Start script now resets Await_input to 0.

@chrismaltby I think this is stable enough to integrate now.

@RichardULZ I'm interested in your thoughts on the BG script feature now.
When you opened the pull request this was true:

Currently only way for start button menus, actors that do something while the player can move, or timers while the player moves for a score based or timed game.

But now that there are input button scripts, it's possible to do start button menus.
I have a pull request for a timer script that will run after a countdown interval here: #279
Just comparing the code, it seems like it requires fewer changes now. Would you say there are benefits for background scripts over timed scripts?


Add support for NLSModels

This PR adds support for NLSModels and fixes #181

Codecov Report

Merging #190 (e1ddd73) into master (03d728e) will increase coverage by 0.22%.
The diff coverage is 87.04%.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
+ Coverage   72.78%   73.00%   +0.22%
==========================================
  Files          38       38
  Lines        3424     3456      +32
==========================================
+ Hits         2492     2523      +31
- Misses        932      933       +1

Impacted Files
Coverage Δ

lib/MadNLPKrylov/src/MadNLPKrylov.jl
0.00% <0.00%> (ø)

lib/MadNLPPardiso/src/MadNLPPardiso.jl
100.00% <ø> (ø)

lib/MadNLPPardiso/src/pardiso.jl
0.00% <0.00%> (ø)

src/IPM/factorization.jl
100.00% <ø> (ø)

src/LinearSolvers/backsolve.jl
100.00% <ø> (ø)

src/LinearSolvers/linearsolvers.jl
0.00% <0.00%> (ø)

src/MadNLP.jl
62.50% <ø> (ø)

src/LinearSolvers/lapack.jl
48.41% <50.00%> (+3.02%)
:arrow_up:

src/IPM/solver.jl
94.65% <80.00%> (ø)

src/KKT/rhs.jl
69.23% <85.71%> (ø)

... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 897acf1...e1ddd73. Read the comment docs.


Query for PnR

Can we take any independent RTL to perform PnR?

Yes, please follow the README and the wiki for further information. Let us know if you have more specific questions.


Method Data Return

I have been trying to determine the what data ought to be returned with a method call.
As of right now most methods return only the "result" from the json request but leave of the "status" and "message" portion. I am wondering if the user of the python api should be getting the whole request back?
My reasoning is that there should be an error check implemented somewhere.
For example if you make an erroneous request it returns following:
{"status":"0","message":"No transactions found","result":[]}
Should the error check be handled by the python (internally) or by the api user (externally)?

I think I found a nice solution...
I utilized the python equivalent of an anonymous inner class, type, to return an object with the instance variables: status, message, result. This will enable the API user to select which section of the response that they wish to read. It also enables them to check the status of the request placing the burden on the user to handle invalid api responses as does python's built in request client (e.g. if requests.status_code == 200:)
For the time being, the subclass will only need a minor revision as shown below:

Current
Revised

req['status']
req.status

req['message']
req.message

req['result']
req.result

However, in the future I would like to return the whole object to the user. That would require heavy revisions of the account class. Although I do believe that these changes would be beneficial.

Can you give me an idea of the potential benefits of returning the whole object, and offloading the handling to the user?
I do like the idea of returning a object instance, which lends to more of an OOP style.

I think that it would look more elegant
It would also enable those using a Smart IDE to use auto-complete which is handy
It would allow the user more flexibility. For instance, when performing iterable tasks they could check if req.status == '1' which would allow for them to, more conveniently, handle errors in their implementation.

Just an idea!

I think this is a good idea, just because increased generality is better than not.  I don't think the userbase of this package is large enough to impact serious projects either.

Okay great! I'll get to work on the implementation.

@AndreMiras Could I get your input on this?

Thanks for asking!
So basically we change the json dictionary-like response to a more object like to access it using result.attribute rather than result['key'] correct? I'm fine with that.
But you also suggested something about giving more context from the response, like Response.status_code correct? That I also like, but I doesn't seem to be the case when doing type('', (object,), json.loads(req.text)) as you suggested, is it?

Yes agree to have the entire JSON response. The question is also the requests.Response object, that's the one that contains HTTP status_code.

hi,when I use the parameter “&to=” to filter the transction ,but the result return is the same ,does not the prrameter work?


Error 10013

I was using Quasar just fine until yesterday, when I updated my Windows 10 to the new 20H2 version (OS Build 19042.868).
Since then I keep getting the following error when opening the program -
"An unexpected socket error occured: An attempt was made to access a socket in a way forbidden by its access permissions
Error Code: 10013"
I have tried looking to see if any other applications are using the same ports etc using netstat, but I can't see anything conflicting.
Any ideas what could be causing this?

Out of curiosity, I rolled back to a previous version of Windows 10 v1909 (OS Build 18363.1440) and Quasar once again worked fine, so the issue must lie somewhere within the update to the latest win10 release.

I have updated my Windows to the latest and Quasar works fine. Did you compile the whole project on the newly updated windows as I did?

It seems to be related to your antivirus blocking quasar from using that port. https://answers.microsoft.com/en-us/windows/forum/windows_7-networking/socket-10013-error-when-trying-to-connect-some/2cc71cb6-24b2-4b63-8f60-32bb444eb8fd

https://github.com/quasar/Quasar/issues/651


Auto-configured validation concurrency to be number of CPUs

e.g. https://github.com/attic-labs/noms/blob/master/go/datas/remote_database_handlers.go#L38

I was thinking about this on the ferry and I'm not sure it's so simple, because the server will be handling multiple requests at the same time. We don't want each writeValue request to try to spin up NumCPU concurrent chunk-decodes, right? We want to have roughly NumCPU decodes going on at the same time, across all requests

nvm, I bought what raf is selling


Found error as "failed to build native extension"

Hello ,i am new to ROR. i added "gem 'http_parser.rb', '~> 0.6.0'" in gemfile and hit bundle command in command prompt.it gave me the following error.Can you please help me to resolve this error.?
Error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe -r ./siteconf20141218-3932-nyliv2.rb extconf.rb

creating Makefile
make  clean
Makefile:165: *** target pattern contains no `%'.  Stop.
make
Makefile:165: *** target pattern contains no `%'.  Stop.
make failed, exit code 2
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/http_pars
er.rb-0.6.0 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/ht
tp_parser.rb-0.6.0/gem_make.out
An error occurred while installing http_parser.rb (0.6.0), and Bundler cannot
continue.
Make sure that gem install http_parser.rb -v '0.6.0' succeeds before bundling.

Does anyone know whether this issue has been resolved? I'm having a similar issue.


Exporting to /etc/init.d

I may be missing something, but can foreman export to /etc/init.d scripts?
I see a few options by searching:

https://github.com/cargomedia/foreman-export-initd
https://github.com/lzgo/foreman-export-initscript

but wondering if there is a better way. I'm using this on RHEL 6.5 and I think /etc/init.d are the recommended way of managing services.

The first one uses start-stop-daemon in the template script it outputs and I don't think that is available on RHEL :/


Spring Boot Provider support

In my current project, we develop microservices with Spring Boot and use Pact for CDC tests between those microservices and between the microservices and an Angular UI.
So, all of our providers are Spring Boot applications. We started off using pact-provider-spring but quickly got into problems since we could not guarantee that the mocked Spring MVC environment produced the correct output. For example, the mock environment used a different JSON mapper, exception handler, HandlerMethodArgumentResolver, ...).
Now, we could try to configure the mock environment accordingly, but that would mean if something changed in the real application configuration, it might be overlooked in the configuration of the mock environment.
Thus, we decided to start up the real Spring Boot application in a provider test to remove those problems. We still mock away some things, but we start the real application.
It would be nice to have this Spring Boot support built-in. That would make it easier to adopt Pact in a Spring Boot microservice project. Perhaps with a custom SpringBootTarget that starts up a Spring Boot application and runs the pact requests against this application.
Something along these lines:
@RunWith(RestPactRunner.class)
@Provider("myAwesomeService")
@PactFolder("pacts")
public class ContractTest {

    @TestTarget
    public final SpringBootTarget target = new SpringBootTargetBuilder()
        .withApplicationClass(MyAwesomeApplication.class)
        .withConfigurationSource(MockConfiguration.class)
        .withProperty("spring.data.jpa.repositories.enabled", false)
        .withProperty("server.port", 8080)
        .build();

    private static MyAwesomeRepository repositoryMock = Mockito.mock(MyAwesomeRepository.class);

     @Configuration
     static class MockConfiguration {
         @Bean
         private MyAwesomeRepository repository(){
             return repositoryMock;
         }
     }

    @Before
    public void before() {
        Mockito.reset(repositoryMock);
    }

    @State("default")
    public void toDefaultState() {
        when(repositoryMock.findOne(anyLong())).thenReturn(new MyEntity());
     }

}

I'd be glad to give it a try and provide a PR if you think this feature worthwhile. Our current workaround is halfway there already anyways.

I've just created a SpringRestPactRunner that extends the default PactRunner to work with the Springboot test annotations.

Is there a snapshot or nightly or beta build of 3.5.7 available through any maven repository? I'd very much like to try that feature in our project as soon as possible to give feedback.

3.5.7 is available in maven central.

This has been working for some time now, so I guess we can close the issue :). It even works in combination with @PactFilter (see #572 )


Fix failing test due to timezone + hardcoded fixture

Description
Hey Friends!
I'm from the @magento side of the house, working on some integrations with Adobe I/O.
I wanted to work against the latest aio-cli in master regularly to try and help catch any bugs prior to releases.
When cloning + running tests locally, I currently get one test failure from discover.test.js:
 FAIL  test/commands/discover.test.js
  ● name sort-field, ascending

    expect(received).toMatch(expected)

    Expected substring: "Name Version   Description Published·······
    bar  1.0.1     some bar    January 2, 1970·
    foo  1.0.0     some foo    January 1, 1970·
    "
    Received string:    "Name Version   Description Published·········
    bar  1.0.1     some bar    January 1, 1970···
    foo  1.0.0     some foo    December 31, 1969·
    "

      58 |     return command.run()
      59 |       .then(() => {
    > 60 |         expect(stdout.output).toMatch(
         |                               ^
      61 |           // TODO: add .toMatchFixture
      62 |           // eslint-disable-next-line indent
      63 | `Name Version   Description Published

      at toMatch (test/commands/discover.test.js:60:31)

It looks like we're not setting an explicit timezone in our call to Date.prototype.toLocaleDateString, so it's defaulting to the local timezone.
I marked this as a breaking change but that's debatable. This fixes unit tests, but it means that dates spit to stdout from the discover command won't be localized.
Some alternatives I considered:

Do a process.env.NODE_ENV === 'test' check, and use UTC only in tests
Assert on substrings in the result from stdout, to avoid asserting on the date string

Let me know if you'd prefer one of these options instead.

Related Issue

Motivation and Context
Fix tests for users in other timezones

How Has This Been Tested?
npm test locally

Screenshots (if appropriate):
Before

After

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Hi Drew! Thanks for the PR.
I think a localized date output is important. Therefore I'd prefer the "Assert on substrings in the result from stdout, to avoid asserting on the date string" method to avoid any potential magic branching code in the command itself (even though it would be a known Jest thing via the env var)

@shazron cool 👍 - sounds like the right choice to me. Will get an update pushed in a little while.

(wrong button 🤦♂)

Thanks @DrewML
I resolved this issue by only testing the actual order of the results instead of string comparing expected date values.

Hey thanks for finishing this up @purplecabbage - have been playing catch up on some other things.


#! not a supported mode

Quite a common format to use still with a lot of users weary of dropping the ! support for SEO.

This mode is now supported in the rewrite branch


Eager loading and pagination?

I don't know if this is a good idea or not, but I recently found out that you can't paginate an eager loaded value simply because the results will be in result.results, which the eager loader does not understand. (Error comes from this line: owner.$values is not a function)
My solution for now is just to load the related model separately with the page query, but I'm wondering if this could become part of the eager loaded query itself?

This is clearly a bug we should fix. This will be fixed in 0.5.0 released soon.

Another one from eager loading: the querybuilder inside a filter should be the querybuilder for the modelClass of the related model. Currently it is just 'QueryBuilder'.

Open another issue for this please.

Sorry, I didn't fix this for 0.5.0 because I had already been putting the release off for far to long. I'll fix this for next minor release (0.5.2).

I tried this:
Person
  .query()
  .eager('[children, pets]')
  .page(1, 5)
  .then(people => {

  });

and it worked. Did you try to page the eager queries using a filter? Something like this:
Person
  .query()
  .eager('[children, pets]')
  .filterEager('pets', builder => builder.page(1, 5))
  .then(people => {

  });

In that case, you probably shouldn't do that.. The builder you are calling page(1,5) for is actually fetching related rows for all the parent rows at once. Paging that query will limit the size of the whole query, and not the size of individual relation lists. This works if there is only one parent though. In that case you can use limit and offset methods. If you need the total count, you need to do this with a separate query.

Closing this because there has been no activity.  TLDR: you should not use page in filterEager.


Add a use command to switch PHP versions

I want to add a new command that will allow the user to switch the PHP version for their app.
I'm thinking something like
saber use 7.2

or
saber use php:7.3

Which should change the environment variables and restart the containers.

Opted for this syntax
saber use 7.2


Init path member by real data

Some experimental stuff, not ready for prime time yet.
@anttiylitokola

Only commit which is not merged into master is "m2mresources: experiment with simpler blockwise callback API" (ac323a053046adce4f445b487a725309887a3009), which will be done in different way asap. Closing this PR for now.


Broken maven dependencies

When using in Gradle adding:
repositories {
    mavenCentral()
}
dependencies {
    compile 'com.turn:ttorrent:1.4'
}

Executing
$ gradle dependencies

gives such output:
+--- com.turn:ttorrent:1.4
|    +--- commons-codec:commons-codec:1.8
|    +--- commons-io:commons-io:2.4
|    +--- org.simpleframework:simple:4.1.21
|    +--- org.slf4j:slf4j-log4j12:1.6.4 -> 1.7.7 (*)
|    \--- net.sf:jargs:1.0 FAILED

Searching on search.maven.org for jargs was not successful.

Just to save anyone else the trouble, the syntax in tthe project build.gradle is:
allprojects {
    repositories {
        jcenter()
        maven { url 'https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/' } // provides jargs, depended on by ttorrent
    }
}


Add cs251tk argument tests

Yaaay

Coverage increased (+0.5%) to 43.308% when pulling 653e8fd0934e1072911b5f4c11802b0b54ad389e on args-tests into 31cd156a7d2e4dfefcb3551d2c4a2a86d38fa236 on master.

It's going to be a long journey. There are lots of places with fs access, so they won't be tested, but I should be able to add tests to the internals fairly easily…
maybe this whole testing thing will also finally remove some of those with chdir() calls.


A2-10-5:  id name reuse false positive with template specialization

Affected rules

A2-10-5

Description
Variable template defined with an specialization is alerted as identifier reuse.
Example
template<typename T, typename S>
extern constexpr bool x = false;

template<typename T>
extern constexpr bool x<T, int> = true;

Query IdentifierNameOfANonMemberObjectWithExternalOrInternalLinkageIsReused.ql warns about x in lines 2 and 5.

Fix proposal: I think that template specializations could be added as an exception, although I am unsure how to capture that. I also wondered whether it should be using the template instantiated or instantiation CodeQL classes.

Thanks! I agree, we should ignore specializations.
The standard library currently does not provide a variable template specialization class, but this can be implemented in CodeQL by looking for uninstantiated templates where one or more template arguments have been provided.


Release 2.2.0

[2.2.0]
Added

Quotes endpoint integration

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

13 of 13 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 98.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
193

Relevant Lines:
197

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

13 of 13 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 98.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
193

Relevant Lines:
197

💛  - Coveralls


twistd -ny launcher.tac  = No module named pylibmc

On Ubuntu 12.04 LTS w LAMP, following the quick start, I run into the pylibmc error when attempting to start stratum-mining. Missing anything obvious?
File "launcher.tac", line 21, in
import mining
File "/home/user/stratum-mining/mining/init.py", line 1, in
from service import MiningService
File "/home/user/stratum-mining/mining/service.py", line 7, in
from interfaces import Interfaces
File "/home/user/stratum-mining/mining/interfaces.py", line 14, in
import DBInterface
File "/home/user/stratum-mining/mining/DBInterface.py", line 6, in
import Cache
File "/home/user/stratum-mining/mining/Cache.py", line 6, in
import pylibmc
exceptions.ImportError: No module named pylibmc
Failed to load application: No module named pylibmc

pip install pylibmc==1.5.2
Will also help. Try with versions .


Azure node template tags

Internal reference: SURE-2700
There's a request to add tags to the Rancher provisioned K8s clusters in Azure. Based on the docs (https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/node_template) it's supported for vSphere, AWS, Linode, DigitalOcean but not for the Azure. Specific to the request is to have this added to the Rancher2 Terraform provider.
For the UI, the proposal:

Similar UI elements for adding tags to AWS and DO instances should be implemented to achieve feature parity.
-- Extra field in the node-template for RKE1
-- Extra field under Advanced Options for RKE2
UI would make the same API call for tagging resources as it does for AWS and DO

Corresponding backend work: https://github.com/rancher/rancher/issues/26955
Possible earlier feature request to make RKE1 and RKE2 visuals around Azure for the better:

Github - rancher/dashboard#3938
Zube - #3945 (rancher/dashboard#3938)

Screenshot of the AWS usage (from the older Ember UI):

I created two PRs to add the tags:

RKE1 node templates: https://github.com/rancher/ui/pull/4910
RKE2/K3s machine pools: https://github.com/rancher/dashboard/pull/7296

I'm moving this issue into the backend blocked category not because there's a problem, but because if a reviewer pulled down my changes and ran them locally, they wouldn't be able to visually confirm that the tags are being saved on the backend. So I'd like to wait to send them to review/QA until the backend work is done: https://github.com/rancher/rancher/issues/26955

This issue can be fully tested after this Rancher Machine PR is merged https://github.com/rancher/machine/pull/198

The Rancher Machine PR mentioned above has been merged and the version of Rancher Machine in Rancher has been bumped to the latest tag

Backend complete, so they're awaiting UI before handing to QA: https://github.com/rancher/rancher/issues/26955 though they will await for all related Azure AD tickets to be completed before testing begins.

Test Environment:
Rancher version: v2.7-head ea6b86c
Rancher cluster type: HA
Docker version: 20.10
Downstream cluster type: RKE1 and RKE2 azure node driver clusters

Testing:
Tested this issue with the following cases:

Create rke1 cluster with Azure tags in the node template
Create rke2 cluster with Azure tags in the machine pool configuration

Result
RKE1 now has a Add Azure Tags button in the node template instance section

The cluster was successfully created and the tags were also applied successfully

RKE2 now has a Tags section under the advanced options section in the machine pools section

The cluster was successfully created and the tags were also applied successfully


checkIsDisplayed(DesktopAssertions.desktop.kt) is not implemented

User report: https://twitter.com/HakanaiVR/status/1578335941864787969

Thanks! Let's keep this issue

I'm confused, did you mark this issue as a duplicate of itself?

Perhaps you intended for this to be a duplicate of #2370

Or, sure. Fixed :)

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


my unit tests are not being run

Everytime I try to run my build, the python code (all of it, both class and test class) gets compiled.  I know this because if I introduce a syntax error into either the class or the test, the build will fail with a compile error.  My "production" python classes are stored in src/main/python and my test classes are in src/test/python (they will fail the build if there is an error on a python file in src/test/python) Here is where everything goes sideways: NO MATTER WHERE I PUT THE PYTHON TEST SOURCE, PYGRADLE NEVER RUNS MY TESTS . I always get the following:
============================= test session starts ==============================
platform darwin -- Python 2.7.10, pytest-2.9.1, py-1.4.29, pluggy-0.3.1
rootdir: /Users/user1/Documents/git/myproj, inifile:
plugins: cov-2.2.1
collected 0 items
========================= no tests ran in 0.00 seconds =========================
***** WARNING: You did not write any tests! *****
Here is my build.gradle:
`plugins {
// newer version
id "com.linkedin.python-sdist" version "0.4.9"
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
group = 'com.mycompany'
version = '1.0.0'
sourceCompatibility = 1.8
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}
repositories {
mavenCentral()
pyGradlePyPi()
maven {
url "http://ox.gluu.org/maven"
}
}
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2.2'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-thymeleaf:1.5.9.RELEASE'
compile 'org.springframework.cloud:spring-cloud-starter-oauth2:1.2.1.RELEASE'
compile 'org.springframework.security:spring-security-ldap:5.0.0.RELEASE'
compile 'org.springframework.security:spring-security-jwt:1.0.8.RELEASE'
compile 'org.springframework.data:spring-data-redis:1.7.7.RELEASE'
compile 'redis.clients:jedis:2.8.2'
compile 'org.xdi:oxTrust:1.3.2.Final'
testCompile 'org.springframework.boot:spring-boot-starter-test:1.5.9.RELEASE'
testCompile 'org.apache.httpcomponents:httpclient'
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile group: 'org.testng', name: 'testng', version: '5.14.10'
python 'pypi:requests:2.9.1'
test 'pypi:mock:1.3.0'
}
test {
systemProperties 'property': 'value'
}
python {
//    testDir = file('src/test/python')
}
`
Any help would be greatly appreciated and I am running out of time on this project!

It seems that your code is structured in the way that Java code is usually structured in Gradle projects (src/main/java). However, the pygradle Python projects are expected to be structured as a standard Python package -- so Python developers can release them easily publicly and work in a code structure they learned to expect.
If you look into our examples/example-project directory here, you'll see that expected source-code structure: https://github.com/linkedin/pygradle/tree/master/examples/example-project
As shown there you can use ./gradlew generateSetupPy to produce a setup.py in your Python project directory.
I hope this helps you. Let us know if you need more info.


sig#803: enhance frontend technical user by a new status "pending deletion"

Description
backend will introduce a new status in the api/administration/serviceaccount/owncompany/serviceaccounts api
called PENDING_DELETION
this tasks aims to fetch this new status from the backend api and then display it properly in the status column.
This is an enhancement of this ticket and therefor should be used as an orientation on the development effort.

#944

Acceptance Criteria
Implementation:

[ ] Fetch the new status from the backend api
[ ] Ensure that the PENDING_DELETION status is reflected in the frontend respectively
[ ] Ensure that the PENDING_DELETION status has the same color coding as PENDING

Documentation:

[ ]  Update the Technical User Management page documentation to include the new status.

@MaximilianHauer I suggest to close this isse

approved


chore(main): release 1.0.11

:robot: I have created a release beep boop
1.0.11 (2022-05-31)
Bug Fixes

ci - release (#83) (50f1cf7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/SecretHouseGame/ngx-design-system/releases/tag/v1.0.11 :sunflower:


Added Test Cases for EXISTS, ECHO and EXPIRE with HTTP Issue #737

As mentioned on the issue, I've completed 2/5 of the given test cases (i.e. EXISTS and ECHO), and I'll also create PR for the remaining test cases soon
EXISTS test cases - screenshot

ECHO test cases - screenshot

Hii @lucifercr07 @pratikpandey21
Can you please review this PR, I'll create PR for the remaining test cases in the issue soon
Please let me know if any changes are required
Regards,

Thank you for your feedback, I'll soon create PR of the remaining test cases as well

Update!!!
I've added test cases for EXPIRE with HTTP

Hii,
@apoorvyadav1111 @pratikpandey21 @arpitbbhayani @lucifercr07
Can you please review these changes

Hi everyone!
@apoorvyadav1111 @pratikpandey21 @arpitbbhayani @lucifercr07
I'm encountering an issue where the build checks are failing. In the logs, I’m seeing the following error:
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/opt/build/repo/docs/package.json'
Could this be related to the integration tests or the React app setup? Or am I possibly missing something else that could be causing this?

@harsh082ip ignore these workflows for now, if your lint and dice-test-suite builds are passing you should be fine.

Ok @lucifercr07 ,
Thank you for clarifying

Thank you for reviewing and merging the PR, but these two test cases are pending (i.e. expireat_test.go & expiretime_test.go)
I'll create a PR related to this by tomorrow
Regards,

#865
Hii @apoorvyadav1111 @pratikpandey21 ,
I've created the PR for the remaining test cases (i.e. for EXPIREAT & EXPIRETIME),
Can you please review this and let me know in case of any changes
Regards,


tomlkit 0.12.5 : Encoder contract interferes with external TypeErrors raised in encoders

Problem
register_encoder expects encoder functions to raise a TypeError when encoding fails. TypeErrors are an error class not specific to tomlkit, however, and this causes interference and unclear tracebacks.
For example:
> /Users/user/bla/__main__.py(50)encoder()
-> if any(
(Pdb) n
TypeError: any() takes exactly one argument (6 given)
(Pdb) c
...
  File "/Users/user/bla/.venv/lib/python3.12/site-packages/tomlkit/items.py", line 218, in item
    raise _ConvertError(f"Invalid type {type(value)}")
tomlkit.items._ConvertError: Invalid type <class 'Legitimateclass'>

Solution
Change the API to use a tomlkit-specific and fine-grained, encoder-specific exception class.

Can you show me how the TypeError occurs? It seems like the encoder is not well implemented.
Library and frameworks should be loose about input and strict about output.

@frostming I think the OP's backtrace is sufficient to answer your question. Not well implemented is besides the point here: non-standard libraries should define their own exception type(s) if they assume they're the only one to raise them. The example is to show that.

json's default= argument also expects a TypeError to skip the encoder, we just follow the same convention.

It could be a suboptimal design, more of Python's standard library suffers from that.
You could enforce using a subclass of TypeError for the custom encoder to improve the design.
To illustrate your example, can you show how the custom encoder gets invoked? I don't see that in the example which makes it harder to comment on the appropriateness of the exception message.

Okay, I am convinced.


[scanner] how to ignore specific errors from scancode by .ort.yml?

Sometime the source code may contain some large files, and scancode may timeout and exit with none-zero exit code. When that case happens, ort will report an error, even the majority of the source code has been scanned successfully.
I wonder how I can ignore such timeout errors.
I noticed about .ort.yml, I put a yaml file at my source code's directory. It does not seem to be working.
version
OSS Review Toolkit, version 0.1.0-SNAPSHOT.
Running using Java 11.0.6 on Linux
ScanCode version 3.0.2
ort.conf
ort {
    scanner {
        scanner {
            ScanCode {
                commandLine = "--copyright --license --info --license-diag --license-text --only-findings --is-license-text --strip-root "
            }
        }
      }
}

ort command
/opt/ort/bin/ort -c /var/proj/etc/ort.conf scan -p /var/proj/mnt/src/test/ -o /var/proj/mnt/src/test/scan_output/

.ort.yml
---
    resolutions:
      issues:
      - message: ".*Some files failed to scan properly.*"
        reason: "SCANNER_ISSUE"
        comment: "The error can be ignored."

structure
source code directory, i.e. /var/proj/mnt/src/test/
➜  test (develop) ls -alh                                                   ✭ ✱
total 15112
drwxrwxr-x@ 7 benny  staff   224B Jun 20 12:47 .
drwxrwxrwx  5 benny  staff   160B Jun 20 12:42 ..
-rw-r--r--@ 1 benny  staff   173B Jun 20 12:45 .ort.yml
-rw-r--r--@ 1 benny  staff    34K Jun 17 11:33 LICENSE
-r--r--r--@ 1 benny  staff   2.5K May 22 15:44 gen_helper.go
-rw-rw-r--@ 1 benny  staff   7.3M May 11  2001 lantest2.nam

ort output
Setup plugins...
Collect file inventory...
Scan files for: info, licenses, copyrights with 3 process(es)...
Scanning done.
Some files failed to scan properly:
Path: lantest2.nam
Summary:        info, licenses, copyrights with 3 process(es)
Errors count:   1
Scan Speed:     0.26 files/sec. 325.43 KB/sec.
Initial counts: 7 resource(s): 6 file(s) and 1 directorie(s)
Final counts:   3 resource(s): 3 file(s) and 0 directorie(s) for 7.36 MB
Timings:
  scan_start: 2020-06-20T045047.438908
  scan_end:   2020-06-20T045113.478261
  setup_scan:licenses: 2.77s
  setup: 2.77s
  scan: 23.18s
  total: 26.06s
Removing temporary files...done.

Writing scan result to '/var/proj/mnt/src/scan_output/scan-result.yml'.

I believe the the regex for the message might not match. Could you try "ERROR: Timeout.*"?

hi @sschuberth , thanks for your quick response and generous help.
Unfortunately, I've tried  ERROR: Timeout.*, it doesn't work as expected. I've even tried .* which doesn't work, either.
scan-result.yml still shows an error and there's no other files' license and copyrights information.
This link is the source code and scan result.

@BennyThink Tested the files you and found 2 issues:

Your local version of ORT is out-of-date, please update to the latest on the master branch
You only ran the ORT scanner component and not the analyzer as such there is no project for the .ort.yml to connect to - I can generate the WebApp report but StaticHTML straight up fails with

Creating the 'StaticHtml' report...
18:05:42.491 [main] ERROR org.ossreviewtoolkit.commands.ReporterCommand - Could not create 'StaticHtml' report: IllegalArgumentException: The provided ORT result does not contain an analyzer result.

Have had another ORT user with a similar issue see also  https://github.com/oss-review-toolkit/ort/issues/2369.

Thanks @tsteenbe for your help.
For now I only need scanner component and analyzer is not required. Is .ort.yml only functional with analyzer component?

Is .ort.yml only functional with analyzer component?

No, depending on the type of issue resolution configured in .ort.yml, different ORT components (like the analyzer or scanner) make use of it.
BTW, I just noticed in your example that you're still using the old configuration syntax with two nested scanner {} blocks in ort.conf. While it shouldn't be related to your issue, please make sure to change the inner scanner {} block to options {}.


[FEATURE] Support String Value for Record Source and LDTS in HUBS/SATS/LINKS as we do for Staging

Currently the Staging method supports string values, e.g.
derived_columns:
SOURCE_SYSTEM: '!{{ somevalue }}'
INSTANCE: '!someinstance'
It would be nice to support the string value in Hubs/links/sats methods as well instead of just a column value.
Describe the solution you'd like
Support the use of string values, e.g. ! for LDTS and RECORD SOURCE

Probably some benefit instead of have unnecessary columns for LDTS and RECORD SOURCE in Staging layer.

Hi,
Welcome and thanks for your suggestion.
Whilst the idea makes sense on paper, I can't think of a use case where we wouldn't want the RECORD_SOURCE or LDTS in the staging layer.
There are a few reasons for the current implementation at this time:

If we have it in the raw vault, hard coded then we have no traceability and no audit.

RECORD_SOURCE and LDTS are often shared by multiple tables in the raw vault (units of work) and rather than repeating yourself everywhere, referencing the column is much cleaner, especially since that specific stage object will likely be loading multiple raw vault objects

You may be loading your hubs and links from multiple staging objects, in which case hard coding the LDTS or RECORD_SOURCE is unwanted behavior, as it's likely those staging objects have multiple sources between them

Saying all this, we're not against adding this if it's seen to be useful by the wider community. Could you help us understand where this might be used?
Thanks!

Hi,
Welcome and thanks for your suggestion.
Whilst the idea makes sense on paper, I can't think of a use case where we wouldn't want the RECORD_SOURCE or LDTS in the staging layer.
There are a few reasons for the current implementation at this time:

If we have it in the raw vault, hard coded then we have no traceability and no audit.

RECORD_SOURCE and LDTS are often shared by multiple tables in the raw vault (units of work) and rather than repeating yourself everywhere, referencing the column is much cleaner, especially since that specific stage object will likely be loading multiple raw vault objects

You may be loading your hubs and links from multiple staging objects, in which case hard coding the LDTS or RECORD_SOURCE is unwanted behavior, as it's likely those staging objects have multiple sources between them

Saying all this, we're not against adding this if it's seen to be useful by the wider community. Could you help us understand where this might be used?
Thanks!

Hi Alex,
Actually, the value will be sourced from a macro and reference the dbt node name so the value will change depending on the model its referencing so technically it isn’t hardcoded as such.
We use a control table for our LDTS so depending on the model it will retrieve the control date from that source.
Understand typically its in the staging table but since its possible to support macros we can be a bit creative how we now populate this value downstream.
Thanks
From: Alex Higgs @.>
Sent: Thursday, April 13, 2023 5:26 PM
To: Datavault-UK/dbtvault @.>
Cc: Ron Pitts @.>; Author @.>
Subject: Re: [Datavault-UK/dbtvault] [FEATURE] Support String Value for Record Source and LDTS in HUBS/SATS/LINKS as we do for Staging (Issue #189)
Hi,
Welcome and thanks for your suggestion.
Whilst the idea makes sense on paper, I can't think of a use case where we wouldn't want the RECORD_SOURCE or LDTS in the staging layer.
There are a few reasons for the current implementation at this time:

If we have it in the raw vault, hard coded then we have no traceability and no audit.
RECORD_SOURCE and LDTS are often shared by multiple tables in the raw vault (units of work) and rather than repeating yourself everywhere, referencing the column is much cleaner, especially since that specific stage object will likely be loading multiple raw vault objects
You may be loading your hubs and links from multiple staging objects, in which case hard coding the LDTS or RECORD_SOURCE is unwanted behavior, as it's likely those staging objects have multiple sources between them

Saying all this, we're not against adding this if it's seen to be useful by the wider community. Could you help us understand where this might be used?
Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Datavault-UK/dbtvault/issues/189#issuecomment-1506480356, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADOL6YKLYCR35W6ISYCJ36LXA6S7BANCNFSM6AAAAAAW4SYLXQ.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Yeah this makes sense. Sometimes record sources are actually codes and it is good practice to have a lookup table which maps these to system names.
I presume this is what you mean? Sounds like you have a macro to do this kind of lookup

Correct, I already use a macro for the Data Source aka Folder name retrieved from the node in STG.
It makes it more useable from a coding point than having columns for the sake of it.
From: Alex Higgs @.>
Sent: Thursday, April 13, 2023 7:32 PM
To: Datavault-UK/dbtvault @.>
Cc: Ron Pitts @.>; Author @.>
Subject: Re: [Datavault-UK/dbtvault] [FEATURE] Support String Value for Record Source and LDTS in HUBS/SATS/LINKS as we do for Staging (Issue #189)
Yeah this makes sense. Sometimes record sources are actually codes and it is good practice to have a lookup table which maps these to system names.
I presume this is what you mean? Sounds like you have a macro to do this kind of lookup
—
Reply to this email directly, view it on GitHubhttps://github.com/Datavault-UK/dbtvault/issues/189#issuecomment-1506649803, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADOL6YP3QELZT2P75BNX6STXA7BYLANCNFSM6AAAAAAW4SYLXQ.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Update Nuget Package

Hi. I love your library. It is easy to use and ligthweight. Could you please update de Nuget package? I need to set the MaxTokens value, but it is a protected variable in 1.1.0 version.
Thanks.

Hi @techjb ! Sorry, I missed this issue. I'll update nuget package in few days.

It'll be huge update

It's done. The updated package and docs are ready.


Feature/#787 Repetition Modes

MapView now supports the configuration of the repetition in the horizontal and vertical direction:

setHorizontalMapRepetitionEnabled(boolean)
setVerticalMapRepetitionEnabled(boolean)

Issue: https://github.com/osmdroid/osmdroid/issues/787

If preferred, I could change the API of the MapView to use an Enum for the repetition modes.

I am currently not sure if the adjustment in LinearRing is correct (at the location of the TODO).

Great work! After some quick testing, this appears to be correct with one exception. When panning the map, (vertical off, horizontal on), the algorithm that determines where the draw overlays needs to be adjusted. Currently the plotted points/lines/polygons scroll all the way off screen. The previous behavior (vertical on, horizontal on) this can be viewed easily by zooming to 0, then panning the map around. As the line/polygon/point pans off screen, it will get redrawn on the most appropriate world.

@Maradox looking at linear ring now, that's the problem area

might have fixed it, probably not as efficient as it could be though..

@MKergall  how's this?

Not tried yet, but it seems good! Absolutely no need for an Enum.
If you merge on master, I will test.
@Maradox You seem reluctant to change default behaviour, and default vertical replication to false. Is it just to respect compatibility, or do you have another reason?

@MKergall merged, it's all you

@MKergall No, just for compatibly reasons.


Reenable draft-iab-html-rfc-bis external refs

&W3C.REC-CSS2-20110607; and &W3C.REC-html5-20141028; have encoding issues in their online documentation; need to get these emended by IETF. Once they have done so, will reenable them in the rspec of draft-iab-html-rfc-bis.
This issue was encountered in #85 .

@opoudjis just sent an email to the rfc-interest list, hope someone fixes them soon.

Continues to be broken.

Still broken. Clearly RFC-interest is not interested...


Added validation if the itemIds are empty

Fixes #172

Closed as per comment in https://github.com/foss42/apidash/issues/172


fix pom

#87

@rultor merge

@rultor merge

@graur OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@graur Done! FYI, the full log is here (took me 3min)


[Feature]: Add Expirating tab for table detail page on Dashboard

Description
Just like the Optimizing tab, we should add an Expiratiing tab in the table detail page to display all historical and ongoing expiration operations on the table, including snapshot expiration, orphan file cleaning, data file expiration, etc.
Use case/motivation
No response
Describe the solution
No response
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @zhoujinsong , I would like to handle this feature. Can you split this feature into multiple subtasks first?

Here is a summary of design about how to persist Expiring history:
Entity
In order to display records on the AMS dashboard, the expiration history needs to be persisted in the sysdb. The following MySQL DDL statement illustrates the table's entity:
CREATE TABLE `table_expiring_process`
(
    `process_id`                    bigint(20) NOT NULL COMMENT 'expiring_procedure UUID',
    `table_id`                      bigint(20) NOT NULL,
    `catalog_name`                  varchar(64) NOT NULL COMMENT 'Catalog name',
    `db_name`                       varchar(128) NOT NULL COMMENT 'Database name',
    `table_name`                    varchar(128) NOT NULL COMMENT 'Table name',
    `expiring_type`                 varchar(16) NOT NULL COMMENT 'Expiring type: ORPHAN_FILE, DANGLING_FILE, SNAPSHOT, DATA',
    `expire_time`                   timestamp DEFAULT CURRENT_TIMESTAMP COMMENT 'Starting expiring timestamp',
    `summary`                       varchar(512) COMMENT 'Summary of clean-up, such as count of total files',
    `file_paths`                    mediumtext COMMENT 'from or min sequence of each partition',
    PRIMARY KEY (`process_id`),
    KEY  `table_index` (`table_id`, `expire_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT 'Expiration history of files in tables';

Except table entity, we also need a class to save the expiring information: ExpiringProcess
Mechanism
IcebergTableMaintainer and MixedTableMaintainer incorporate relevant metrics into ExpiringProcess during their operations(eg. cleanOrphanFiles, expireSnapshots, expireData). MixedTableMaintainer is responsible for gathering expiration history metrics from both BaseTableMaintainer and ChangeTableMaintainer. Once the collection is complete, ExpiringProcess will persist the expiration records into sysdb.


fix(production): Updating docker images

:tada: This PR is included in version 2.0.13 :tada:
Your semantic-release bot :package::rocket:


Bugfix: IANA time zone identifier causes exception in xamarin app

Pull request is somewhat related to #47.
I'm currnetly working on a Xamarin Forms app, where I had to implement time zone picker. I require localization, and I found that this library suits my needs well, but I ran into an issue. Since in phones time zones Ids are in IANA format, when I call TZNames.GetTimeZonesForCountry method, exception of type System.TimeZoneNotFoundException is thrown, since IANA Id cannot be found in TZConvert.KnownWindowsTimeZoneIds. I decided to copy project files into my project and try this fix, and it solves this problem. It also presumes library logic, since if the name was not found in that collection, it is already in correct format. It also does not break test run.

Thanks, but I don't quite understand how the exception occurs in the first place.  The check for KnownWindowsTimeZoneIds is specifically to avoid this problem.  If the input string is not a known Windows time zone ID, WindowsToIana is not called.
Can you please provide an example that reproduces the error?  What specific inputs are you passing to GetTimeZonesForCountry when it fails?
I presume you are using the current version of this library?
Also, which platform are you testing your Xamarin app on - iOS or Android?

Right.  So TZConvert.KnownWindowsTimeZoneIds.Contains("Australia/Perth", StringComparer.OrdinalIgnoreCase) will be false in that case, and TZConvert.WindowsToIana will not be called.  Thus no exception should be thrown.

I just tried TZNames.GetTimeZonesForCountry("AU", "en") in a Xamarin Forms app running in an Android simulator, and it correctly returned 12 entries, without throwing an exception.

Perhaps the exception was thrown elsewhere in your code, or for some other inputs?
Happy to continue.  If you can provide a minimal reproduction, please open a new issue with a bug.   Thanks.


Support no-ranging mode for power experiments

We need to support no-ranging mode for power experiments as it's supported in CK(No-ranging power measurements).

Results:
maria@eb6 ~/work_collection/axs2mlperf/base_loadgen_program (master *=)$ ll ~/work_collection/generated_by_power_measurement_on_run_88bc84ba57be41c5ba51ac6fa10f8c97
total 32
drwxr-xr-x  3 maria krai 4096 Oct 18 08:55 ./
drwxr-xr-x 74 maria krai 8192 Oct 18 08:45 ../
-rw-r--r--  1 maria krai 2753 Oct 18 08:55 data_axs.json
lrwxrwxrwx  1 maria krai  122 Oct 18 08:55 last_mlperf_logs -> /data/maria/work_collection/generated_by_image_classification_using_onnxrt_loadgen_on_get_0f53eb705a6e4dc7b8ebf51a6932ee09/
drwxr-xr-x  4 maria krai 4096 Oct 18 08:55 power_logs/
-rw-r--r--  1 maria krai  127 Oct 18 08:55 program_output.json
lrwxrwxrwx  1 maria krai  122 Oct 18 08:55 testing_logs -> /data/maria/work_collection/generated_by_image_classification_using_onnxrt_loadgen_on_get_0f53eb705a6e4dc7b8ebf51a6932ee09/

no_ranging = false (by default)

maria@eb6 ~/work_collection/axs2mlperf/base_loadgen_program (master *=)$ time axs byquery power_loadgen_output,task=image_classification,framework=onnxrt,loadgen_scenario=SingleStream,loadgen_mode=PerformanceOnly,model_name=resnet50,loadgen_dataset_size=20,loadgen_buffer_size=100,loadgen_target_latency=0.66,sut_name=eb6-kilt-qaic
...
/usr/bin/python3 /data/maria/work_collection/mlperf_power_git_master/ptd_client_server/client.py --run-workload
"axs byquery loadgen_output,task=image_classification,framework=onnxrt,loadgen_scenario=SingleStream,loadgen_mode=PerformanceOnly,model_name=resnet50,loadgen_dataset_size=20,loadgen_buffer_size=100,loadgen_target_latency=0.66,sut_name=eb6-kilt-qaic,_with_power+,symlink_to=/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/last_mlperf_logs,power_client_entrydic_path=/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/program_output.json" --loadgen-logs /data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/last_mlperf_logs" --output /data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs" --addr <IP_ADDRESS> --port 4949 --ntp time.google.com --no-timestamp-path
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                client 2023-10-18 11:37:53,042 [INFO] Creating output directory '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs'             client 2023-10-18 11:37:53,044 [INFO] Sending command to the server: 'mlcommons/power client v3'
client 2023-10-18 11:37:53,045 [INFO] Got response: 'mlcommons/power server v3'                                                                                client 2023-10-18 11:37:53,045 [INFO] Synchronizing with the server and with time.google.com...                                                                                client 2023-10-18 11:37:53,069 [INFO] NTP:offset = -0.000 s, delay = 0.015 s                                                                                client 2023-10-18 11:37:53,069 [INFO] Sending command to the server: 'time'                                                                                client 2023-10-18 11:37:53,070 [INFO] Got response: '1697625473.0698771'                                                                                client 2023-10-18 11:37:53,070 [INFO] The time difference between the client and the server is within range -0.065 ms..0.859 ms                                                             client 2023-10-18 11:37:53,070 [INFO] Sending command to the server: 'new,,07525cb3-acfa-4f15-bbaa-b20f499d7953'                                                                            client 2023-10-18 11:37:53,072 [INFO] Got response: 'OK 2023-10-18_11-37-53,bae3f50f-af80-4374-8fc2-a87d940cce1b'                                                                           client 2023-10-18 11:37:53,072 [INFO] Session id is '2023-10-18_11-37-53'                                                                                client 2023-10-18 11:37:53,072 [INFO] Sources: {"sources": {"__init__.py": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "client.py": "33ca4f26368777ac06e01f9567b714a4b8063886", "lib/__init__.py": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "lib/client.py": "ac2aa093c8e8bbc9569b9e2a3471bc64e58a2258", "lib/common.py": "611d8b29633d331eb19c9455ea3b5fa3284ed6df", "lib/external/__init__.py": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "lib/external/ntplib.py": "4da8f970656505a40483206ef2b5d3dd5e81711d", "lib/server.py": "c7af63c31bb2fbedea4345f571f6e3507d268ada", "lib/source_hashes.py": "60a2e02193209e8d392803326208d5466342da18", "lib/summary.py": "aa92f0a3f975eecd44d3c0cd0236342ccc9f941d", "lib/time_sync.py": "80894ef2389e540781ff78de94db16aa4203a14e", "server.py": "c3f90f2f7eeb4db30727556d0c815ebc89b3d28b", "tests/unit/__init__.py": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "tests/unit/test_server.py": "948c1995d4008bc2aa6c4046a34ffa3858d6d671", "tests/unit/test_source_hashes.py": "00468a2907583c593e6574a1f6b404e4651c221a"}, "modules": {"ptd_client_server.lib.client": "lib/client.py", "ptd_client_server.lib.common": "lib/common.py", "ptd_client_server.lib.external.ntplib": "lib/external/ntplib.py", "ptd_client_server.lib.source_hashes": "lib/source_hashes.py", "ptd_client_server.lib.summary": "lib/summary.py", "ptd_client_server.lib.time_sync": "lib/time_sync.py"}}                                                                                client 2023-10-18 11:37:53,072 [INFO] Running workload in ranging mode                                                                                client 2023-10-18 11:37:53,072 [INFO] Synchronizing with the server and with time.google.com...                                                                                client 2023-10-18 11:37:53,082 [INFO] NTP:offset = -0.001 s, delay = 0.010 s                                                                                client 2023-10-18 11:37:53,082 [INFO] Sending command to the server: 'time'                                                                                client 2023-10-18 11:37:53,083 [INFO] Got response: '1697625473.0827553'                                                                                client 2023-10-18 11:37:53,083 [INFO] The time difference between the client and the server is within range -0.057 ms..0.842 ms                                                             client 2023-10-18 11:37:53,083 [INFO] Sending command to the server: 'session,2023-10-18_11-37-53,start,ranging'
...
pQ[batch of 1] inference=136.00 ms
pQ[batch of 1] inference=132.41 ms
pU
WARNING:root:Matched Rule #1/1 produced a result.

['^', 'byname', 'generated_by_image_classification_using_onnxrt_loadgen_on_get_411ab19f36854814942a2421bed4c26f']
client 2023-10-18 11:51:06,860 [INFO] Sending command to the server: 'time'
client 2023-10-18 11:51:06,862 [INFO] Got response: '1697626266.8642142'
client 2023-10-18 11:51:06,862 [INFO] The time difference between the client and the server is within range -3.406 ms..-1.344 ms
client 2023-10-18 11:51:06,862 [INFO] Sending command to the server: 'session,2023-10-18_11-37-53,stop,ranging'
client 2023-10-18 11:51:17,278 [INFO] Got response: 'OK'
client 2023-10-18 11:51:17,278 [INFO] Sending command to the server: 'time'
client 2023-10-18 11:51:17,279 [INFO] Got response: '1697626277.2811904'
client 2023-10-18 11:51:17,279 [INFO] The time difference between the client and the server is within range -2.265 ms..-1.648 ms
client 2023-10-18 11:51:17,282 [INFO] Copying loadgen logs from '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/last_mlperf_logs' to '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/ranging'
client 2023-10-18 11:51:17,283 [INFO] Running workload in testing mode
client 2023-10-18 11:51:17,283 [INFO] Synchronizing with the server and with time.google.com...
client 2023-10-18 11:51:17,303 [INFO] NTP:offset = 0.002 s, delay = 0.012 s
client 2023-10-18 11:51:17,303 [INFO] Sending command to the server: 'time'
client 2023-10-18 11:51:17,304 [INFO] Got response: '1697626277.3061821'
client 2023-10-18 11:51:17,305 [INFO] The time difference between the client and the server is within range -2.399 ms..-0.446 ms
client 2023-10-18 11:51:17,305 [INFO] Sending command to the server: 'session,2023-10-18_11-37-53,start,testing'
...
client 2023-10-18 12:01:32,749 [INFO] Sending command to the server: 'session,2023-10-18_11-37-53,stop,testing'
client 2023-10-18 12:01:43,370 [INFO] Got response: 'OK'
client 2023-10-18 12:01:43,370 [INFO] Sending command to the server: 'time'
client 2023-10-18 12:01:43,370 [INFO] Got response: '1697626903.3751204'
client 2023-10-18 12:01:43,371 [INFO] The time difference between the client and the server is within range -4.783 ms..-4.096 ms
client 2023-10-18 12:01:43,371 [INFO] Copying loadgen logs from '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/last_mlperf_logs' to '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/run_1'
client 2023-10-18 12:01:43,372 [INFO] Done runs
client 2023-10-18 12:01:43,373 [INFO] Sending command to the server: 'session,2023-10-18_11-37-53,done'
client 2023-10-18 12:01:46,386 [INFO] Got response: 'OK'
client 2023-10-18 12:01:46,386 [INFO] Fetching file '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/power/ptd_logs.txt'
client 2023-10-18 12:01:46,392 [INFO] Received '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/power/ptd_logs.txt'
client 2023-10-18 12:01:46,392 [INFO] Fetching file '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/ranging/spl.txt'
client 2023-10-18 12:01:46,394 [INFO] Received '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/ranging/spl.txt'
client 2023-10-18 12:01:46,394 [INFO] Fetching file '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/power/server.json'
client 2023-10-18 12:01:46,396 [INFO] Received '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/power/server.json'
client 2023-10-18 12:01:46,396 [INFO] Fetching file '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/power/server.log'
client 2023-10-18 12:01:46,398 [INFO] Received '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/power/server.log'
client 2023-10-18 12:01:46,398 [INFO] Fetching file '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/run_1/spl.txt'           client 2023-10-18 12:01:46,400 [INFO] Received '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/run_1/spl.txt'
client 2023-10-18 12:01:46,400 [INFO] Fetching file '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/run_1/ptd_out.txt'
client 2023-10-18 12:01:46,437 [INFO] Received '/data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701/power_logs/run_1/ptd_out.txt'
client 2023-10-18 12:01:46,437 [INFO] Sending command to the server: 'cleanup,2023-10-18_11-37-53'
client 2023-10-18 12:01:46,439 [INFO] Got response: 'OK'
client 2023-10-18 12:01:46,439 [INFO] Successful exit
...
['^', 'byname', 'generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701']
                                                                                real    23m53.748s
user    158m39.948s
sys     0m7.385s

maria@eb6 ~/work_collection/axs2mlperf/base_loadgen_program (master *=)$ ll /data/maria/work_collection/generated_by_power_measurement_on_run_f1d931effe5544819ee64c92d9786701
total 36
drwxr-xr-x  3 maria krai 4096 Oct 18 12:01 ./
drwxr-xr-x 77 maria krai 8192 Oct 18 11:51 ../
-rw-r--r--  1 maria krai 2676 Oct 18 12:01 data_axs.json
lrwxrwxrwx  1 maria krai  122 Oct 18 12:01 last_mlperf_logs -> /data/maria/work_collection/generated_by_image_classification_using_onnxrt_loadgen_on_get_8616f041bf3443a4b75f3a76793e3c2f/
drwxr-xr-x  5 maria krai 4096 Oct 18 12:01 power_logs/
-rw-r--r--  1 maria krai  251 Oct 18 12:01 program_output.json
lrwxrwxrwx  1 maria krai  122 Oct 18 11:51 ranging_logs -> /data/maria/work_collection/generated_by_image_classification_using_onnxrt_loadgen_on_get_411ab19f36854814942a2421bed4c26f/
lrwxrwxrwx  1 maria krai  122 Oct 18 12:01 testing_logs -> /data/maria/work_collection/generated_by_image_classification_using_onnxrt_loadgen_on_get_8616f041bf3443a4b75f3a76793e3c2f/

Performance:
maria@eb6 ~/work_collection/axs2mlperf/base_loadgen_program (master *=)$ axs byquery power_loadgen_output,task=image_classification,framework=onnxrt,loadgen_scenario=SingleStream,loadgen_m
ode=PerformanceOnly,model_name=resnet50,loadgen_dataset_size=20,loadgen_buffer_size=100,loadgen_target_latency=0.66,sut_name=eb6-kilt-qaic , get performance
VALID : _Early_stopping_90th_percentile_estimate=118.191 (milliseconds)

Power:
maria@eb6 ~/work_collection/axs2mlperf/base_loadgen_program (master *=)$ axs byquery power_loadgen_output,task=image_classification,framework=onnxrt,loadgen_scenario=SingleStream,loadgen_mode=PerformanceOnly,model_name=resnet50,loadgen_dataset_size=20,loadgen_buffer_size=100,loadgen_target_latency=0.66,sut_name=eb6-kilt-qaic , avg_power
16.80456000000001

We need power_max_amps > 0 and power_max_volts > 0 for no_ranging.

Commits:

Support no-ranging mode for power experiments(https://github.com/krai/axs2mlperf/issues/18[)](https://github.com/krai/axs2mlperf/commit/7b20949ffd3cdd3eab958e5fb70245db1e5039e0)

Support power_max_amps and power_max_volts

Status: Done.


Listen for metrics on all interfaces by default

This will fix the broken scrapes.

This change is

@gouthamve LGTM


[3pt]  - Add tests for reservations counter - Student C

Make sure that the function for the reservations counter is covered with unit tests using Jest.
Make sure that you have tests for all edge cases.

Since we are working as a group of two people, this task would not be required as necessary.


Remove tensorflow version

Remove version for tensorflow in rasa_nlu/alt_requirements/requirements_tensorflow_sklearn.txt.

 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.Bayram Kuliyev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for submitting this PR, but actually tensorflow should be pinned to a version, otherwise there might be some changes in future versions of tensorflow that break our code. So I'm going to close this PR


Tests failing with<EMAIL_ADDRESS>and 2.0.1

All tests are failing when using<EMAIL_ADDRESS>and 2.0.1, it looks to be an issue with lrucache.
https://travis-ci.org/senecajs/seneca-cache/builds/126155138

Added testing with node@6 #7 and it is still failing https://travis-ci.org/senecajs/seneca-cache/builds/129073142


Update from file

Enhancement: The ability to update the client from local file

I second this

Will add this later.

9 days later. :disappointed:

It is ok! thank you :)


[FEATURE] utilize Android share fearuew

Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like when using the share option in another app, such as a web browser, sharing to amethyst was an option
Bounty (in Bitcoin sats) offered for the implementation 10
The size of the bounty is proportional to how much this matters to you. If no bounty is offered,
not even a small one, this feature will not be coded because it doesn't actually matter to you.
We prioritize feature development by its bounty size compared to how much work is required to get it done.

Latest version of amethyst allows this.
Sharing from a browser I have "Amethyst New Post" avilable as an option.


[BUG] reload problem

I'll tell you the bug I found. v 4.0.3
The cause of those bugs is from the use of the reload or /teama command.
This is for sure.
The message file could not be properly loaded when it was modified and reloaded.
There must be something wrong with reloading.
That doesn't mean there's an error in the bucket.
It's a strange bug.

Problems arise from reloading.
reloading -> Functions malfunction.
In conclusion, there is a bug that all functions of the config are not working properly.

check.
not work list

team invite
team kick
disableCombat: true
not work
The function should be blocked, but it can attack team members.
team message reloading

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.


feat: allows the user to specify AWS_SHARED_CREDENTIALS_FILE

re #12
Really like the git commit hooks btw. :)

@stobias123 I'll pick this up when I have time this week if you don't have time let me know

@ryansonshine  - yeah - tbh this was a pretty quick hack to get this working with a client. Didn't expect such a thorough test suite.
I likely won't get back to writing tests for a few days

@stobias123 No worries; thanks for the PR! I'll update and merge.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Example(s) for Non-Monolithic Application Designs

Great concept, poor real-world examples. Most SPA applications are non-monolithic in design, containing many features, each with their own states and actions. It would be a "good thing" to assist developers in developing an model example application containing at least two features and show how each feature defines their own global hooks, scopes and actions and then composites each of the feature hooks into a single global hook, scope and list of actions.

I came looking for this. My store.js is too big and I would love to divide it in some pieces :)

You supposed to have a single store with all your data, like redux. You can split your actions in several files, nested in as many levels you want.
@lveillard
If your store.js is too big, you are trying to declare all your actions or a big initial state in one file only.
If you share an example of what you are doing, I can try to help you to split the files.
In short,
1 - you can split your actions in several files using the following example:
https://codesandbox.io/s/wqvykj5497
2 - the initial state is a static file, you can split its construction in any way you want.
Does that help you guys?

Yay! awesome! thank you i was just including all the actions in the same file :)
Maybe sharing that example on the doc would be a good idea for noobs like me
Thank you for the help!


Add PB for Desktop v2.9.0

After making all changes to the cask:

[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
[ ] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked that the cask was not already refused in closed issues.

Your template was incomplete (missing the most important steps). I’ve edited your post. Please run the commands and fill it.

Thanks! Done.


feat: expose standalone download function

This PR exposes manual download function that allows downloading binaries for more than one platform in programmatic fashion.
Use case: we want to use this in ipfs-desktop, to download both amd64 and arm64 binaries required for building universal DMGs (https://github.com/ipfs/ipfs-desktop/pull/1856).
Exposing download function here allows us to:

leverage cached downloads, avoiding fetching same base arch artifact twice
confirm download was successful by checking sha512

Merging so this ships with 0.29.x


Comprehension question: Is there a way to get the Tracker positions also on the map?

The integration went completely smoothly and all devices were recognised. It would be nice to see them on the map in HA as well.

Yes, I think this discussion can help to answer your question:
Where to see device on the map?
If it's not what you are looking for, please let me know.

Yes, this solves my Problem exactly. Thank you so much.


"SpikingRecEVFlowNet" encoder and decoder framework for image reconstruction using event camera

@Huizerd ,
I was using your module "SpikingRecEVFlowNet" as a a network to reconstruct images from event camera rather than optical flow and according modified the input and output channels compatible to image reconstruction. After making the environmental setup. I landed with bad image reconstruction results

Left is the target image and right is the predicted image. Iam using supervised technique rather than self-supervised framework using temporal consistency and LIPS loss function.
Can you please suggest in your module "SpikingRecEVFlowNet" encoder and decoder framework what changes needs to be incorporated apart from input and output channels.
Requesting you kindly to help on this regard

Hi @ChidanandKumarKS,
We haven't tried to use our architectures for event-based image reconstruction, so unfortunately we can't suggest what changes would need to be made for them to succeed in this task.
What we can recommend though are the following repositories: E2VID, E2VID+, Back to Event Basics, among others. You could have a look at their main architectures and build your own using our spiking submodules.


Fix EllipseOutlineGeometry and CircleOutlineGeometry packing

extrudedHeight was getting defaulted to 0 during the pack/unpack process, which caused asynchronous geometry to be extruded when it should have just been at height.
Fixes #2499
This is for 1.7

Looks good, thanks.

Thank you @mramato.


Fix #29: define '|||' as a newline indent without vertical bar

I propose using an alternative operator, such as |||, for defining an indent (as specified in the argument of the ebnf environment) on a new line without adding a vertical bar.
@yegor256 if you have a better idea, let me know.
This example which defines the grammar for the <complexContent> component in XSD:
<SimpleContent> := "\char`\<simpleContent\char`\>" \\
|||               ( <RestrictionSimpleContent> | <ExtensionSimpleContent> ) \\
|||               "\char`\</simpleContent\char`\>" \\

is displayed as such with a 2.6 cm indent:

@haja-fgabriel looks very good, thanks! Would be great if you can also update the documentation too, for example by adding a line after this one, explaining the new syntax that you introduced. Also, maybe you can add an example, similar to this one?

@yegor256 can you look on the updated documentation, please?

@haja-fgabriel thanks!


ImportError: cannot import name 'ModelField' from 'pydantic.fields'

2023-08-31 17:22:09.757 | INFO     | metagpt.config:init:44 - Config loading done.
Traceback (most recent call last):
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/startup.py", line 7, in
from metagpt.roles import Architect, Engineer, ProductManager, ProjectManager, QaEngineer
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/metagpt/roles/init.py", line 9, in
from metagpt.roles.role import Role
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/metagpt/roles/role.py", line 16, in
from metagpt.actions import Action, ActionOutput
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/metagpt/actions/init.py", line 10, in
from metagpt.actions.action import Action
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/metagpt/actions/action.py", line 14, in
from metagpt.llm import LLM
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/metagpt/llm.py", line 9, in
from metagpt.provider.anthropic_api import Claude2 as Claude
File "/Users/tianfei/Documents/personal/metagpt/metagpt/metagpt/metagpt/provider/anthropic_api.py", line 9, in
import anthropic
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/anthropic-0.3.6-py3.9.egg/anthropic/init.py", line 3, in
from . import types
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/anthropic-0.3.6-py3.9.egg/anthropic/types/init.py", line 5, in
from .completion import Completion as Completion
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/anthropic-0.3.6-py3.9.egg/anthropic/types/completion.py", line 3, in
from .._models import BaseModel
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/anthropic-0.3.6-py3.9.egg/anthropic/_models.py", line 11, in
from pydantic.fields import ModelField
ImportError: cannot import name 'ModelField' from 'pydantic.fields' (/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pydantic/fields.py)

@htksgamev got any luck ?

pip install "pydantic<2"        might be useful

I worked around this for now by setting pydantic==1.10.8 in requirements.txt and re-running the install script/


[BUG] editable install not working when package_dir was used

setuptools version
setuptools==65.3.0
Python version
3.10
OS
macOS
Additional environment information
No response
Description
The project https://github.com/borisbabic/browser_cookie3 has an uncommon structure: __init__.py is in the source root, and the package_dir is redirected there. It's strange but not necessarily invalid. Somehow that structure seems to break editable installation.
Expected behavior
after pip install -e <path_to_source_root>, then import browser_cookie3 should work.
How to Reproduce

clone the repo to ./src
pip install -e ./src
try to import the package top level name

Output
$ pip freeze --all
pip==22.2.2
setuptools==65.3.0
wheel==0.37.1

$ git clone git@github.com:borisbabic/browser_cookie3.git src
Cloning into 'src'...
remote: Enumerating objects: 355, done.
remote: Counting objects: 100% (162/162), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 355 (delta 139), reused 116 (delta 113), pack-reused 193
Receiving objects: 100% (355/355), 103.37 KiB | 1.88 MiB/s, done.
Resolving deltas: 100% (218/218), done.

$ pip install -e ./src
Obtaining file:///private/tmp/issue/src
  Preparing metadata (setup.py) ... done
...
Installing collected packages: pyaes, pbkdf2, pycryptodome, pycparser, more-itertools, lz4, jeepney, jaraco.classes, cffi, keyring, cryptography, SecretStorage, browser-cookie3
  Running setup.py develop for browser-cookie3
Successfully installed SecretStorage-3.3.3 browser-cookie3-0.16.0 cffi-1.15.1 cryptography-38.0.1 jaraco.classes-3.2.2 jeepney-0.8.0 keyring-23.9.3 lz4-4.0.2 more-itertools-8.14.0 pbkdf2-1.3 pyaes-1.6.1 pycparser-2.21 pycryptodome-3.15.0

$ cat .venv/lib/python3.10/site-packages/browser-cookie3.egg-link
/private/tmp/issue/src
.

$ cat .venv/lib/python3.10/site-packages/easy-install.pth
/private/tmp/issue/src

$ python3 -c 'import browser_cookie3'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'browser_cookie3'

Hi @wimglenn, thank you very much for reporting this.
The python setup.py develop does not work with complex package_dir. This is a well known setuptools limitation.
Instead, you can use the newer PEP 660 support to achieve that.
Please note that the repository does not contain pyproject.toml so pip will not use any of the build backend hooks by default. You can try:
$ python3 -m pip install --use-pep517 -e .
$ python3 -c 'import browser_cookie3; print(browser_cookie3)'
<module 'browser_cookie3' from '/tmp/browser_cookie3/__init__.py'>

@abravalheri Thanks for your prompt response. The suggestion to apply --use-pep517 is good. I suppose pip will move to that as default eventually (?)

Probably... But to be sincere, pip seems to be doing the right thing here. If the project does not have a pyproject.toml, it makes sense to use the legacy installation method...


feat: create jest-overrides outside the base config

BREAKING CHANGE: Jest override has been removed from base config.
The default base config no longer has jest specific rules. jest-overrides have been provided as a separate option to extend from.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Question]: scaled down agents are not shown in offline mode after upgrading to 3.241.0

Describe your question
Hi There, After upgrading our docker-in-docker based self-hosted agents to 3.241.0, we are not seeing our scaled down agents in offline mode in the agent pool. I can see older versioned agents in offline mode though.
This is happening only when the cronjob automatically scaled down the agent pods in kubernetes. When we manually delete the agent pod, it appears in offline mode.
Every evening at 7 PM UTC, our agents scaled down from 30 to 12 pods and in the next morning at 7AM, they scale back to 30 pods. Those 18 agent pods who were scaled down, should be visible as offline in the agent pool section. But they are not.
Our older agent pods, who were in version 2.194.0 are shown as offline.
Any new feature added to the version that does this?
Versions
version 3.241.0
ubuntu:22.04
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
ubuntu:22.04
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response

Can someone answer this? My agent deployment  just got scaled down and I don't see any offline agents any more. I need to understand how the agent is marked as offline. Because manually deleting the agent pod makes them offline in the agent pool. So why the scale down operation does not mark them as offline?

@sambitr, this issue appears to be related to AzureDevOps, as the agent hasn't changed to inform ADO that it's alive.
This repo is primarily for the agent - I would suggest opening a ticket on the Azure DevOps Community portal to get the right eyes on it.

Thanks @ivanduplenskikh , I got response on the Azure DevOps community portal.


UnboundLocalError in generate_chain_data_cache.py

Hi, I sucessfully generated the mmcif cache, but ran into an issue while trying to generate the chain data cache:
python3 scripts/generate_chain_data_cache.py      /data/openfold/data/pdb_mmcif/mmcif_files_new/     chain_data_cache.json     --cluster_file clusters-by-entity-40.txt     --no_workers 16
10%|███████▋                                                                     | 18931/188155 [12:41<1:45:11, 26.81it/s]^[[A^[ 10%|███████▊                                                                     | 18941/188155 [12:42<1:56:22, 24.23it/s]^[[A^[ 10%|███████▊                                                                     | 18961/188155 [12:43<2:04:01, 22.74it/s]^[[B^[ 21%|████████████████▎                                                            | 39711/188155 [30:50<4:28:44,  9.21it/s]^[[B^[ 21%|████████████████▎                                                            | 39731/188155 [30:50<2:54:58, 14.14it/s]^[[B^[ 21%|████████████████▎                                                            | 39741/188155 [30:50<2:23:13, 17.27it/s]^[[B^[ 37%|████████████████████████████▌                                                | 69940/188155 [55:33<1:33:54, 20.98it/s]^[[B
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
 File "/data/openfold/lib/conda/envs/openfold_venv/lib/python3.7/multiprocessing/pool.py", line 121, in worker
   result = (True, func(*args, **kwds))
 File "/data/openfold/lib/conda/envs/openfold_venv/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
   return list(map(*args))
 File "scripts/generate_chain_data_cache.py", line 57, in parse_file
   local_data["resolution"] = 0.
UnboundLocalError: local variable 'local_data' referenced before assignment
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
 File "scripts/generate_chain_data_cache.py", line 132, in <module>
   main(args)
 File "scripts/generate_chain_data_cache.py", line 96, in main
   for d in p.imap_unordered(fn, files, chunksize=args.chunksize):
 File "/data/openfold/lib/conda/envs/openfold_venv/lib/python3.7/multiprocessing/pool.py", line 354, in <genexpr>
   return (item for chunk in result for item in chunk)
 File "/data/openfold/lib/conda/envs/openfold_venv/lib/python3.7/multiprocessing/pool.py", line 748, in next
   raise value
UnboundLocalError: local variable 'local_data' referenced before assignment

Any help would be highly appreciated

The issue turned out to be starting line 47 in generate_chain_data_cache.py :
  elif(ext == ".pdb"):
       with open(os.path.join(args.data_dir, f), "r") as fp:
           pdb_string = fp.read()

       protein_object = protein.from_pdb_string(pdb_string, None)

       chain_dict = {}
       chain_dict["seq"] = residue_constants.aatype_to_str_sequence(
           protein_object.aatype,
       )
       local_data["resolution"] = 0.

       cluster_size = chain_cluster_size_dict.get(file_id.upper(), -1)
       if(chain_cluster_size_dict is not None):
           cluster_size = chain_cluster_size_dict.get(
               full_name.upper(), -1
           )
           chain_dict["cluster_size"] = cluster_size

       out = {file_id: chain_dict}

The variables local_data and full_name are not assigned for pdbs

Hello, the updated version of this file still does not correct this issue (I get the same error for the "full_name" variable). Anything new on this?


Add support for content as modules

This ties into #5911 and #5074 and isn't something we will solve "today", but I jott it down here so we can ... think about it.
A Hugo Component can currently provide this:
archetypes
assets
data
i18n
layouts
resources
static

A quick and naive approach would be to add content to that list, but there are language configuration and the work coming in #5074 ... And the reason it's not there is that we (or I) do not want themes to provide content. Themes provide look and feel, I provide the prose.
It would, however, obviously be great if I as an enterprise documentation project owner could compose my content from versioned "content components" (partitioned by language or some other topic) so I could say:
content = ["github.com/bep/mytechcontent", "github.com/bep/jokes"]

There are some obvious missing pieces in the above (language, mapping to some section etc. and all the things coming in #5074 ).
/cc @regisphilibert @onedrawingperday and gang

This is crazy. I have been thinking of the exact same thing this afternoon, but you beat me to it! 😊 (...that must mean it is the correct approach!)
What I would like is to let a content provider just write content (no frontmatter) in a file hierarchy, for example in a markdown editor, i.e no technical stuff att all. Commit to git and thats it. Yeah, that’s more to it, but maybe it fits with the issue about getting content from other endpoints...

For languages, I suppose each language could have, if needed, its own set of content modules just like they can currently have have their own directory.

Reminds me of the Antora playbook. https://docs.antora.org/antora/2.0/playbook/

@zivbk1 yes, I actually stumbled upon a YouTube presentation on Antora some days ago (but probably after I created this particular issue ... :-).
I think the big difference between this and that is that this is a versioned graph. Playbook looks líke a "flat thing" with manual versioning -- I guess you could do nesting, there, too with submodules, but I think that will get hard to manage as it grows.

@bep I'm not sure what you mean by 'this is a versioned graph' and Antora would use manual versioning.
Here is how you specify the content sources to pull from and the content version (branches/tags) to include for each content source.  https://docs.antora.org/antora/2.0/playbook/configure-content-sources/
You could point to master branch and always pull the latest, but you can also pull from specific branches/tags in that repository to allow for the user to select previous (or future/dev) versions of the content to view in the same site UI.

@zivbk1 what I mean is that it's a fairly shallow graph (one level) and by "manual versioning" I mean that you need to be fairly explicit when you tell what you want (give me v.1.3.2) and you don't have some of the auto-version-resolution you get in more complex dependency managers. Which is fine for the one-level scenario, but when you introduce transitive dependencies it gets much harder to reason about without help.


Updated version on remote functions and settings includes

Updated the branch versions on the 21.2 remove-includes for built-in functions and cluster settings.
Fixes https://github.com/cockroachdb/docs/issues/11439.

This change is


Non Readability

Update Readme.md to show how to setup and requirements
Try to add comments

i would like to work on this

done


Make format-utils use 2 decimal places for currency formatting by default

1. Why is this change necessary?
If you changed the net price of a product in the administration, this can lead to a gross price with many decimal places. This is fine on its own. However when these prices are displayed in the entity listing I think that the price should be rounded to 2 decimal places for displaying purposes.

2. What does this change do, exactly?
This change makes the currency formatting util use 2 as the default value for the maximumFractionDigits. This change only changes the formatter. The data set itself is not modified.
3. Describe each step to reproduce the issue or behaviour.
Well, just modify the gross price to have a lot of decimal places.
4. Please link to the relevant issues (if any).
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-20923
Please use this issue to track the state of your pull request.

Hi @SimonVorgers
just wanted to ask if you need me to do anything, before you can merge this pull request? I noticed that there's a failing E2E Test with my changes. I think we can just change the test because it does make more sense the way it is now (but I think you should just take a look yourself). Just tell me if you need my help with this pull request.

Hi @SimonVorgers @shyim
Can you give me an update on the status of this pull request? I've seen multiple occasions where a number with a lot of decimal places broke the layout of the administration. Therefore I think this needs to be changed. Futhermore these decimal places provide no benefit to the user. This is a very simple pull request. It literally only changes a default value in a twig filter. I'm more than glad to help if something needs clarification or if the cypress test needs to be changed. Thanks in advance for looking into this.

Hi @wirduzen-felix
sorry, I completely forgot to respond to this request.
We have talked to our product managers and
we think that setting the currency formatting to 2 decimal places by default is not a good idea.
A good example would be a currency with a high value (e.g. Bitcoin), which would then not be displayed correctly.
If the decimal places were configurable, that would be fine for us.