Error on run

I can alter memory offset but if I try to alter freq offset I get an error:
sudo ./nvidia_oc set --index 0 --freq-offset 272 --mem-offset 1000
thread 'main' panicked at src/main.rs:73:26:
Failed to set GPU frequency offset: "Error code: 6"
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Tried contacting you on discord. Not a friend.

sudo RUST_BACKTRACE=1 ./nvidia_oc set --index 0 --freq-offset 272 --mem-offset 1000
thread 'main' panicked at src/main.rs:73:26:
Failed to set GPU frequency offset: "Error code: 6"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: nvidia_oc::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

sudo RUST_BACKTRACE=full ./nvidia_oc set --index 0 --freq-offset 272 --mem-offset 1000
thread 'main' panicked at src/main.rs:73:26:
Failed to set GPU frequency offset: "Error code: 6"
stack backtrace:
0:     0x55fd14612d05 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad
1:     0x55fd1463434b - core::fmt::write::hc090a2ffd6b28c4a
2:     0x55fd14610cff - std::io::Write::write_fmt::h8898bac6ff039a23
3:     0x55fd14612ade - std::sys_common::backtrace::print::ha96650907276675e
4:     0x55fd14613d99 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0
5:     0x55fd14613add - std::panicking::default_hook::h207342be97478370
6:     0x55fd14614233 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c
7:     0x55fd14614114 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c
8:     0x55fd146131c9 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996
9:     0x55fd14613e47 - rust_begin_unwind
10:     0x55fd14546df3 - core::panicking::panic_fmt::hdc63834ffaaefae5
11:     0x55fd14547206 - core::result::unwrap_failed::h82b551e0ff2b2176
12:     0x55fd1455b80b - nvidia_oc::main::h5d23fbf1455d3ebc
13:     0x55fd1456acd3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h62cf2716c9e91ff3
14:     0x55fd1456b949 - std::rt::lang_start::{{closure}}::h84d874c721ca05fb
15:     0x55fd1460c110 - std::rt::lang_start_internal::h3ed4fe7b2f419135
16:     0x55fd1455e045 - main
17:     0x7f007ab02c8a - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
18:     0x7f007ab02d45 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
19:     0x55fd145473e5 - _start
20:                0x0 -

Hi @pallebone,
According to the NVML documentation, the error code you encountered is described as follows:
NVML_ERROR_NOT_FOUND = 6 A query to find an object was unsuccessful.
This indicates that the issue originates from NVIDIA's side, not from my application. Therefore, my ability to resolve it is limited. However, if you can provide the exact model of your GPU, I can conduct further research to identify any potential workarounds.

Geforce GTX 1050
Strange, under xorg and greenwithenvy it overclocks fine. Thought I would try wayland and your script.

Geforce GTX 1050 Strange, under xorg and greenwithenvy it overclocks fine. Thought I would try wayland and your script.

I'm not certain, but I will check the NVML API for alternative methods. There seem to be some legacy methods that might work with your GPU.
Please note that GreenWithEnvy uses a completely different method, which is only possible under Xorg due to the special integration with the NVIDIA driver.

@pallebone are you using the open source nvidia drivers?

By the way, the error you're encountering is quite unusual. The NVIDIA NVML documentation does not list that error as a possible result.

@pallebone are you using the open source nvidia drivers?

No I am using nvidas driver 535.183.01 installed by apt via apt-get install nvidia-driver

@pallebone are you using the open source nvidia drivers?

No I am using nvidas driver 535.183.01 installed by apt via apt-get install nvidia-driver

That's quite an old version. On my system, I have 555.58.02. That could be the issue. Unfortunately, I can't test that version since I'm using Arch, and I don't want to deal with the dependency hell to install such an outdated version.

Ok I will look to update then and let you know

I checked and the current rivers on Nvidias website are:
Linux x86_64/AMD64/EM64T
Latest Production Branch Version: 550.100
Latest New Feature Branch Version: 555.58.02
Latest Beta Version: 560.28.03
The version you are using is the new feature branch. I may have to wait a little while for these drivers to be included into Debian Trixie. The next driver coming down in 2 weeks is 545.23.06-1.
I imagine after this then the next one will be a 555 or > version. However that is a month away. The current driver I am using is only 1 month old. However I will wait for the drivers to come down and retry.

Just FYI I tried with the next version to come down and have a similar issue, so I will wait for one more later version and see after this:
aragorn@Aragorn:~$ sudo RUST_BACKTRACE=full ./nvidia_oc set --index 0 --freq-offset 272 --mem-offset 1000
[sudo] password for aragorn:
thread 'main' panicked at src/main.rs:73:26:
Failed to set GPU frequency offset: "Error code: 6"
stack backtrace:
   0:     0x558c003e3d05 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad
   1:     0x558c0040534b - core::fmt::write::hc090a2ffd6b28c4a
   2:     0x558c003e1cff - std::io::Write::write_fmt::h8898bac6ff039a23
   3:     0x558c003e3ade - std::sys_common::backtrace::print::ha96650907276675e
   4:     0x558c003e4d99 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0
   5:     0x558c003e4add - std::panicking::default_hook::h207342be97478370
   6:     0x558c003e5233 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c
   7:     0x558c003e5114 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c
   8:     0x558c003e41c9 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996
   9:     0x558c003e4e47 - rust_begin_unwind
  10:     0x558c00317df3 - core::panicking::panic_fmt::hdc63834ffaaefae5
  11:     0x558c00318206 - core::result::unwrap_failed::h82b551e0ff2b2176
  12:     0x558c0032c80b - nvidia_oc::main::h5d23fbf1455d3ebc
  13:     0x558c0033bcd3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h62cf2716c9e91ff3
  14:     0x558c0033c949 - std::rt::lang_start::{{closure}}::h84d874c721ca05fb
  15:     0x558c003dd110 - std::rt::lang_start_internal::h3ed4fe7b2f419135
  16:     0x558c0032f045 - main
  17:     0x7fc213fccc8a - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  18:     0x7fc213fccd45 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:360:3
  19:     0x558c003183e5 - _start
  20:                0x0 - <unknown>
aragorn@Aragorn:~$ nvidia-smi
Wed Jul 31 16:04:52 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.23.06              Driver Version: 545.23.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1050        On  | 00000000:01:00.0 Off |                  N/A |
| N/A   47C    P8              N/A / ERR! |      5MiB /  4096MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      4115      G   /usr/bin/gnome-shell                          1MiB |
+---------------------------------------------------------------------------------------+
aragorn@Aragorn:~$

Upgraded to the 560 driver and it resolved the issue.


Make django detect MongoModel's similarly to a normal Model

This means that they will now have ContentType's associated with them.

:+1:  excellent

available in v0.0.3 (on pypi)

Super :) Very speedy merge!


Add a note that version 4.3.0 needs to be used to get working links in the Wiki

....this would have saved me the time to find out.
PS: Thanks for the project!

Hi we should definitely maintain a changelog; otherwise, i think new/returning users who find the changelog should suffice.

The changelog doesn't make it clear that 4.3 performs link replacement and 4.4 not.
That was my point  :-)

Ah let me clarify!  I meant I'll make one to make sure we're documenting our changes properly 😅

Ah, got it now - sounds good!


ValidationMethod violation message is itself

Previously, when a ValidationMethod caused a constraint violation and the
violation was caused by a nested object using the @Valid annotation, the
message would contain the path of the nested object. This may be
misleading to the client who sees the message because the nested code path
may not have a related field in the JSON they sent (for example, the field
could be a misnomer).
The fix is return the message exactly as it is transcribed in the
@ValidationMethod annotation. Thus, it is now the user's responsibility
to create descriptive enough messages, such that the client can discern
the error through any amount of nesting.
This change does break APIs that relied on the message containing the code path
to the object that contained the ValidationMethod violation. ValidationMethods not used
in nested objects are not effected.
This fixes #1237, such that dropwizard doesn't prepend the path of the error in the message

Ok, latest commit takes your suggestions.

Thanks!


E2E transfer and command update

Overview
These additions to the test case of transferSetting.js.cy are the start of providing greater test coverage to our transfer form.
At this moment, it only goes up to saving a liquid and then opening the transfer form.

Test Plan and Hands on Testing
These are changes exclusively to cypress. So it will be tested when folks run their code.

Changelog

opentrons/protocol-designer/cypress/e2e/transferSettings.cy.js .
opentrons/protocol-designer/cypress/support/commands.ts added some additional helper functions

Please add special attention to checking if this was the correct way to add liquid. Saving it took a bit of extra effort. AFAIK

When you submit a form, the browser sends a POST or GET request to the action URL specified in the  tag or the current page URL if no action is defined.
Cypress executes the test and observes the page reload, which can interfere with your test flow if you're not handling it properly.

So I tried to do the following
cy.contains('button', 'Add liquid').click()
                        cy.contains('button', 'Liquid').click()
                        cy.contains('button', 'Define a liquid').click()
                        cy.get('input[name="name"]') // Select the input with name="name"
                            .type('My liquid!')

                        cy.get('div[aria-label="ModalShell_ModalArea"]')
                            .find('form') // Target the form that wraps the button
                            .invoke('submit', (e) => {
                                e.preventDefault(); // Prevent default behavior
                            });

Review requests
@y3rsh @jerader

Risk assessment
Medium. This might take some extra time with developers to ensure that I'm not breaking existing testing behavior.

It didn't seem to like opentrons/protocol-designer/cypress/support/commands.ts
Line 204

Cypress.Commands.add('chooseDeckSlot', (slot: string) => {
  // Define the deckSlots object with a Record type for valid keys
  const deckSlots: Record<
    | 'A1'
    | 'A2'
    | 'A3'
    | 'B1'
    | 'B2'
    | 'B3'
    | 'C1'
    | 'C2'
    | 'C3'
    | 'D1'
    | 'D2'
    | 'D3',
    () => void
  > = {
    A1: () => cy.contains('foreignObject[x="164"][y="107"]', 'Edit slot'),
    A2: () => cy.contains('foreignObject[x="164"][y="321"]', 'Edit slot'),
    A3: () => cy.contains('foreignObject[x="328"][y="321"]', 'Edit slot'),
    B1: () => cy.contains('foreignObject[x="0"][y="214"]', 'Edit slot'),
    B2: () => cy.contains('foreignObject[x="164"][y="214"]', 'Edit slot'),
    B3: () => cy.contains('foreignObject[x="328"][y="214"]', 'Edit slot'),
    C1: () => cy.contains('foreignObject[x="0"][y="107"]', 'Edit slot'),
    C2: () => cy.contains('foreignObject[x="164"][y="107"]', 'Edit slot'),
    C3: () => cy.contains('foreignObject[x="328"][y="107"]', 'Edit slot'),
    D1: () => cy.contains('foreignObject[x="0"][y="0"]', 'Edit slot'),
    D2: () => cy.contains('foreignObject[x="0"][y="0"]', 'Edit slot'),
    D3: () => cy.contains('foreignObject[x="328"][y="0"]', 'Edit slot'),
  }


@damassi => upload photo landing page + login prompt

This PR fixes some issues around uploading a photo when you visit the /consign2/submission/:submission_id/upload path directly. I removed the No photos at this time checkbox since at this point we want you to upload a photo, and added a login path if you visit the page while logged out.
If you try to submit a photo for a submission that is not your own, convection will reject the request, so we don't have to worry about that here.

LGTM 👍


Global store support

Currently, we're using only 'en-US' endpoints. I'm not sure if it makes an impact for accounts created in other regions.
If someone using this tool is not an en-US user, can you let me know if you have any problems redeeming games and playing them from a non-'en-US' context?

I am from Germany. It works well without issues Thanks for building this! :)

Can confirm that there aren't any problems, it seems like Epic is centralized behind the scenes, and locale is just what language to show.  Although it might be different for users that have translated games avilable to them, but I doubt it a fair bit. Wondering what would happen, if a region/country banned game was free game of the month though.

This does have some impact.
For example this week, the docker manage to get
Available free games: [       "Snakebird Complete",       "Castlevania Anniversary Collection"     ]
My country is China,When I try to get these two games myself,"Snakebird Complete" is able to get,but "Castlevania Anniversary Collection" response like this "This product is currently unavailable in your region." The purchase response is this:

I tried to change the getWeeklyFreeGames in free-games.js inside the container :
    const searchParams = {       locale: 'en-US',       country: 'US',       allowCountries: 'US',     };
into this:
    const searchParams = {       locale: 'zh-CN',       country: 'CN',       allowCountries: 'CN',     };
the container manage to get
Available free games: [       "Snakebird Complete"     ]
I haven't try to change getCatalogFreeGames yet, I suppose it might work as well.
So set these const to variable should be cool,hope you can consider it

@DearZui as a temporary workaround, you can set the countryCode setting, which will filter out games blacklisted for your region.


JSON result

Hi,
I am having trouble converting returned Map object to JSON. There seems to be no method to simply convert the result to simple dictionary convertible to JSON or any other obvious way.
Or at least simple string valid as HTTP response body.

Hello! The Mapobject is like most JSON types are represented currently in Swiftland. To get a JSON string simply call description.
let result = try graphql(schema: StarWarsSchema, request: query)
print(result.description)

example output:
{
    "data": {
        "hero": {
            "name": "R2-D2"
        }
    }
}

In debug mode it will pretty print the JSON string. In release mode it will print a minified version.
If this is not enough let me know what you need. 😊

Just so you know I released Graphiti. Which is a swiftier DSL to create your types/schemas.

More news! Just released GraphQLResponder. It's a Zewo responder (kinda like a middleware) with GraphiQL support included. 😊

ping!

For me it returns:
"{
    "data": {
        "hero": {
            "name": "R2-D2"
        }
    }
}"

In those " :(

Graphiti looks good, I am currently starting a new project and deciding between Vapor and Zewo.

@zdenektopic  - this might help https://github.com/utahiosmac/Marshal

I think it should support it out-of-box. I dont need mapping to object, I just need to get simple dictionary.


UAT Feedback - Comma separating thousands

On the Allocation of Emissions page, there is feedback to have commas for number fields for improved readability

@patriciarussellCAS would this be a post-MVP priority? It seems like a nice to have but not a must have. But this would be standardizing all of the number fields to have commas and not just on the allocation of emissions page

Definitely a nice to have, but likely pretty easy to do.


feat: add tx::builder module and initial classic commands

What
Add a transaction builder and operation builder trait. Also adds the first two stellar classic commands under the subcommand tx new:

[x] Create account
[x] Payment
[x] Set options
[x] Bump sequence
[x] Account Merge
[x] Manage data
[x] InvokeFunction
[x] Extend footprint ttl
[x] Restore footprint
[x] Allow trust
[x] Change trust
[x] Set trustline flags
[x] Doc review

Todo:

[x] Tests

Why
Currently all transactions are built by hand and require a lot of knowledge around the internal types. Furthermore, there is a lot of redundant code around creating, submitting transaction.
These examples should make it easy to have a quick design discussion before adding the rest of the operations.
Known limitations
[TODO or N/A]

@leighmcculloch Updated to reflect feedback. Still need to update tests.

@leighmcculloch, I've removed all of the builder types that I could. One that still needs to be added to the xdr crate is the FromStr for Asset, which I will open another PR for soon. Also I removed the unneeded Operation trait and just use From for Operation Body, all of which simplified the code a good deal.

@janewang @stellar/devx There's a large amount of functionality being introduced with this PR. We should plan to do some dog fooding of it for ergonomics in the next couple weeks, maybe get some others to dog food it too.


New version: OpenTofu.Tofu version 1.6.2

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 808.)

@wingetbot waivers Add Validation-Executable-Error


added methods to project.js as well as more detailed search

Added createProject, deleteProject, getProjectProperties as well as changed to use GET instead of POST for search as it then can take expand and other parameters

I have now finally gotten around to fix what I promised. It is tested and works.

@floralvikings did you have a chance to look into this PR?

Yup, sorry for the delay, been swamped lately


Benefit?

Curious, is there a benefit to useSelectorWith like the following:
import { useSelectorWith } from 'use-selector-with';

const selectFruit = (state, name) => state.fruits[name];

const MyComponent = () => {
  const apple = useSelectorWith(selectFruit, 'apple');

  // ...
};

versus just using useSelector?
import { shallowEqual, useSelector } from 'react-redux';

const selectFruit = (state, name) => state.fruits[name];

const MyComponent = () => {
  const apple = useSelector(state => selectFruit(state, 'apple'), shallowEquals);

  // ...
};

Performance wise I think the useSelector version would be actually a smidge faster and I don't see any other relevant differences but I could be missing something!
Busy this week but sometime I'll try to do a microbenchmark. The useCallback inside useSelectorWith adds some overhead, probably more than memoizing the selector function would gain, except for maybe very very complex selectors. Fun reading, react perf is tricky: https://kentcdodds.com/blog/usememo-and-usecallback

Oh I see, this is handy with reselect selector creators. Basically instead of:
export const CompletedTodosCount = ({ completed }) => {
  const selectCompletedTodosCount = useMemo(makeSelectCompletedTodosCount, [])

  const matchingCount = useSelector((state) =>
    selectCompletedTodosCount(state, completed)
  )

  return
{matchingCount}

}

The following is shorter because useSelectorWith does the equivalent of the useMemo for you.
export const CompletedTodosCount = ({ completed }) => {
  const matchingCount = useSelectorWith(selectCompletedTodosCount, completed)

  return
{matchingCount}

}

Neat! It's a tad spooky magic that all is done for you but it is simpler to read, might introduce this at work to replace the reselect + useMemo combo we do a bunch.

Added a link in #3 but if you think there's more to be done please do post again @danstiner! The explanations are all me and I would love external eyes on how to make them more reasonable sounding. 😄


Use int32_of_big_int when computing bignum limbs

I suspect this will also resolve potential problems with trapping on 32-bit compilation platforms. I don't think it is related to #2671, but who knows?

This PR does not affect the produced WebAssembly code.


Fix lifetimes for NifEncoder and NifDecoder

At the moment NifEncoder can't encode borrowed values that are not statically lived. NifDecoder should also be able to return values borrowed directly from the BEAM (this is safe as long as the borrow is of the same lifetime as the NifEnv object).
I tried a few things to make this work, but I am a bit unsure how lifetimes work in conjunction with traits. More experimentation is needed, I should get back to this later.

One consequence of fixing this issue is that it would allow NifEncoder to encode &strs that are not statically lived. Example: In ::map::make_ex_struct


Expose the exhaustive list of hints

Hi,
First off, thank you for this linter, it's really useful for both my personal and professional projects! It helps me both keeping my code clean and learning new things.
I was wondering if there's a (ideally easy) way to extract the exhaustive list of hints that Hlint can return?
My use case: I'm maintaining a Sonar plugin for Haskell which needs to have at compile time the exhaustive list of lint rules (they must be packaged as XML inside the plugin JAR).
While I could browse all your code and list them manually, would you have any way to ease (ideally automate based on an Hlint version) this automation please?
I don't mind having to write a converter from whatever structure (JSON / XML / you name it) to my actual Sonar XML structure.
Thanks in advance and sorry if there's already such a thing! I hoped to be able to use the generation of hlint.yaml but unfortunately this is not what I expected.
Information I need for each lint rule:

Technical name (a.k.a. "Key name" in Sonar), e.g. Use second (field hint)
Display name. Given your hints are already pretty, I can reuse the same here.
Description (ideally in HTML format, but anything would do)
Severity (same as your severity field)
Type (possible values in Sonar are CODE_SMELL | BUG | VULNERABILITY. I can work out a mapping from Hlint decl field I guess.

I would really appreciate if you could provide me with anything to help this project.
Thank you!

See #562 which has a lot of overlap to this. For type, HLint only gives CODE_SMELL, so that's easy enough. For description, would an example be sufficient?

Thanks for your answers!
In case it's possible to improve things, an example would be great. Maybe also explain why something is bad (e.g. for performance / readability) but this would be bonus!
I started toying with hlint test --verbose and removing noise (like file path), some things don't look possible to convert into rules:
Error: Use bad
Found:
  readFile
Perhaps:
  bad

Error: Use bad
Found:
  Prelude2.readFile
Perhaps:
  bad

Error: Use Int32
Found:
  32 :: Int
Perhaps:
  32 :: Int32

Error: Use after
Found:
  before 12
Perhaps:
  after 12

I guess these are test values? I'm not sure anything can be extracted from it.
Some look good on the description (which is also the technical name hint from Hlint reports, if I'm not mistaken?):
Warning: Redundant id
Found:
  id 12
Perhaps:
  12

The Found/Perhaps part could be interpreted as a counter-example, this would fit for many rules.
I see the first word is Warning | Error | Suggestion, I guess this would be the severity field of Sonar?
As for the type, I think for a first version, it's cool to flag all rules as CODE_SMELL.
I also find duplicates:
Suggestion: Use forM
Found:
  flip mapM
Perhaps:
  Control.Monad.forM

Suggestion: Use forM
Found:
  flip mapM
Perhaps:
  Control.Monad.forM

Suggestion: Use forM
Found:
  flip mapM
Perhaps:
  CM.forM

I could filter on the technical name (e.g. Use forM) and keep only the first Found/Perhaps example...
That being said, would you mind explaining why this is hard to build an exhaustive list of Hlint rules? Is there anything a newbie/intermediate in Haskell could do/contribute to improve the situation? (I won't get offended if you reply "Nope, it's too complicated for you", no worries 😄 ).
Again, thanks for the help!

I don't know why things are bad for each hint (I don't record it), but it's pretty much always readability.
Correct, things like "Use bad" are test values. I've eliminated them - just pushed.
The found/perhaps is indeed an example of something that triggers.
Error/Warning/Hint are reasonable for severity.
There are definitely duplicates, do dedupe them.
It's hard to build an exhaustive list of hints because they are functions that take expressions and returns hints, so it's not like there is a function for each hint. That said, I suspect that anything that isn't tested is broken, so hopefully we can get close to an exhaustive list with the test approach.


fix: contributing.md updated

contributing.md is updated for now . if any changes happens in future i will update accordingly

Hey @shubha987 looks great! However I found unused screenshots in the main folder directory. Could you see to it?

@elle-Bee yeah i have completed it...

LGTM


Access token to protect server from direct server overload

One option is to use RSA or similar to encrypt server ID and timestamp.  Other options?
Relevant design doc?

@gfr10598 the use of access tokens the the proposed technology are detailed in the Locate Service design doc.


Removed plugin.yml

Is plugin.yml removed?
Alright, so I have this problem where I've linked my 1.23.1 version of PEX to a remote MySQL and some commands apparently cause my whole server to crash from lag-out. I tried linking this repository to my own Jenkins server since I can't find the official one for this and tried building it.
So with the new build, apparently there isn't a plugin.yml?

This was covered in another ticket recently.

Apparently so, is there still a branch for Spigot left?

version 1.23.1 is the latest Bukkit version. I suggest that you do not use a remote mysql database because that increases latency.


How to update Multiverse?

How do you update Multiverse from the stable release 2.4-AB to the beta release 2.5-b69? Can you just exchange the .jar files? Or do you have to erase the multiverse folder and let it generate a new one?

Oh and anyone knowledgeable on the topic if they had the time could they assist with my other ticket (which actually may be solved after updating),

Update jar files, a worlds.yml reset is recommended and a config.yml is highly recommended.


Rewrite of the inference system

This PR changes the inference system to be overall simpler and easier to work with.
Changes to the API:

The inferrer now lives in myia.abstract
Instead of having value, type, shape tracks, the inferrer works with instances of AbstractValue and its subclasses, e.g. AbstractTuple. An abstract value can contain elements and it can also have a value, a type or a shape, in its values dictionary. At the moment, only AbstractArray has a shape. Not all abstract values have a value or a type.
The argspec for the pipeline must now be a tuple of AbstractValues. A Python object can be converted to an AbstractValue with myia.abstract.from_value(x, broaden=True/False).
node.inferred is gone, replaced by node.abstract.
AbstractValues don't keep a reference to the engine, unlike Inferrers in the previous system.
There are still Inferrer objects but they are kept in the engine.
The engine now tracks the set of functions that can be called at any given point in the program.
NOSHAPE, TupleShape, ListShape, etc. are all gone.
The old equivalence checker is replaced by myia.abstract.utils.amerge.
I had to move pipeline creation back where it was in the @myia decorator because it didn't work otherwise.

Changes to tests:

The tests in test_infer now tests all tracks at once. About 50 tests were cut overall.
The tests run about twice as fast (47 seconds vs 92 seconds for the current master on my machine). I am not certain where all of the difference comes from, though I know one particular improvement accounts for about 15 seconds, and maybe 4-5 seconds worth of cut tests. Either way, it's a welcome improvement.

This results in a speedup of about 50% on the model specialize_backwards test (from ~6s to ~4s).
However the measurement is hard since the compile phase is having mood swings ranging from 1s to 2.5s.  I'll check what's up with that later.


using the mod makes no scroll on credit or end poem

How to fix
like this:
Permit the background texture overlay file to scroll in this situation. Perhaps introduce a different texture overlay file for the credits background as to not cause any conflicts? This texture could even be animated as to emulate scrolling.
or any

I'll check when I have time, thanks for the issues.

ok,pls check aswell the https://github.com/atikiNBTW/Return-Dirt-Background/issues/3 later

should be fixed in latest release, pls check and close the issue if it's fixed

i checked and its fixed,there will be only around 2-3 more bugs at most,reporting it later,and its different than previous


Epic: Feature flags

Tracking code changes and updates to support feature flags

#1237 Create figma prototype for feature flags
#1340 Add app context to feature flag table
#1341 Java library changes for feature flags
#1342 Typescript library changes for feature flags
#1308 Remove old feature flags UI elements
#1306 Add participants rule table to database

Closing as this is an outdated / incomplete view of the work


docs: Re-work examples

This creates distinct tutorial examples from complex feature examples
(more how-tos).  Both sets are getting builder / derive versions (at
least the critical ones).

This is still lacking the custom validation tutorial


feat: add support for IE change event

Alaska Airlines Pull Request
Fixes: #2
Summary:
In modern web development, listening for an input event is commonplace. But when supporting IE11, a change event is required. Lit Element by itself does not support the bubbling of change events without a custom target event.
The scope of this update is to add the custom change event listener within the scope of the component to support this external event management.
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


operator external-secrets-operator (0.9.0)

bump external-secrets-operator 0.9.0
towards https://github.com/external-secrets/external-secrets/issues/2440

/merge possible

/merge possible


fixed issue #818

Related Issue
#818
Fixes:  #(issue no.)
#818
the header was transparent even before srolling so i fixed it  and the header contents were stick to left so i made to center
#818

Type of PR

[x] Bug fix

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/1cd04852-0b36-43a2-9959-87e5ecaeb266
Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@Nimit1775 Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution ! 🎉


Router UpdateServer function doesn't work as advertised

Component(s)
router
Component version
<EMAIL_ADDRESS>wgc version
0.53.2
controlplane version
N/A
router version
0.85.2
What happened?
Description
Core router.go provides an exported UpdateServer function whose description says it creates and starts  a new server and replaces the old one. This is inaccurate, the new server is not started.
There is a non-exported function (updateServerAndStart) which uses the exported function and does start the new server.
Steps to Reproduce
(by some means) call err := router.UpdateServer(ctx, newRouterConfig)
Expected Result
Calling the exported function will replace the existing server with a newly configured and started server.
Actual Result
Calling the exported function results in an inoperable system who's server exists but is not listening for connections.
Environment information
Environment
Problem is unrelated to environment
Source is this PR: https://github.com/wundergraph/cosmo/pull/446/files#diff-aa58824b56f499a6a7d39dd7d905130a1aed0683be3aa6826a63dfd5d5047edcL373
Router configuration
No response
Router execution config
No response
Log output
15:59:38 PM WARN Advanced Request Tracing (ART) is enabled in development mode but requires a graph token to work in production. For more information see https://cosmo-docs.wundergraph.com/router/advanced-request-tracing-art {"component": "@wundergraph/router", "service_version": "dev"}
15:59:38 PM INFO Serving GraphQL playground {"component": "@wundergraph/router", "service_version": "dev", "url": "http://<IP_ADDRESS>:3002/"}
15:59:38 PM INFO Rate limiting disabled {"component": "@wundergraph/router", "service_version": "dev"}
15:59:38 PM INFO GraphQL endpoint {"component": "@wundergraph/router", "service_version": "dev", "method": "POST", "url": "http://<IP_ADDRESS>:3002/graphql"}
15:59:38 PM INFO Gracefully shutting down the router ... {"component": "@wundergraph/router", "service_version": "dev", "config_version": "", "grace_period": "20s"}
15:59:38 PM INFO Server stopped {"component": "@wundergraph/router", "service_version": "dev", "config_version": ""}
15:59:42 PM INFO WebSocket Stats {"component": "@wundergraph/router", "service_version": "dev", "open_connections": 0, "active_subscriptions": 0}
15:59:42 PM INFO Memory usage {"component": "@wundergraph/router", "service_version": "dev", "alloc_mb": "6.5 MB", "total_alloc_mb": "20 MB", "sys_mb": "20 MB", "num_gc": 9}

Additional context
Note in the log that the new server does not start listening.
It seems like the source PR (446) split the functions (UpdateServer) and 'broke' the original exported function (compared to its description). It looks like the new non-exported function (updateServerAndStart) should actually be the one that is exported and has the description.

PR: https://github.com/wundergraph/cosmo/pull/787

Hey, this is an interesting addition to Cosmo Router. We've also seen the PR. We might want to have some modifications but this needs further review. We will address this in due course.

This functionality is now available.


Responsive design

Hello,
It would be nice to have some media queries to prevent the text from getting out of the screen on small devices:
https://lut.im/dQTEgq9g/TMdNhLlr
Regards,

The bootstrap theme seems to be responsive.


how to check if wifi is connected?

dear tuanpmt
my problem is esp8266 didn't connect again if i turn off then turn on my router, i

how to check my esp wifi connection status, i've been try using waitReturn but return value always false?
how can i check payload is published or not?

sorry for my bad english
thank you

when you subscribe callback esp.wifiCb.attach(&wifiCb) it will call wifiCb everytime wifi status changed. You need to check status like this
void wifiCb(void* response)
{
  uint32_t status;
  RESPONSE res(response);

  if(res.getArgc() == 1) {
    res.popArgs((uint8_t*)&status, 4);
    if(status == STATION_GOT_IP) {
      debugPort.println("WIFI CONNECTED");
      wifiConnected = true;

    } else {
      wifiConnected = false;
    }

  }
}

i think, i'll set my device to subscribe, just like published status, but i still thinking what is better way for this
anyway thank so much
mr tuanpmt


Add IDEs to the README

Intellij and Scala IDE also use Zinc 1.0 and should be mentioned in the
README.

Closing this PR, I messed up branches. Easiest option.


Adding allowlist with incorrect checksum leads to a traceback

Is your an issue a feature request? If so, please raise it as an enhancement
Environment

OS / version: F35
Processor architecture: x86_64
TPM Manufacturer:
Keylime version: current latest upstream ffe2b77

Description
# keylime_tenant -c addallowlist -v <IP_ADDRESS> --allowlist allowlist.txt --allowlist-name list2 --allowlist-checksum e5b85f
Reading configuration from ['/etc/keylime.conf']
2022-03-16 08:02:56.967 - keylime.tpm - INFO - TPM2-TOOLS Version: 5.2
2022-03-16 08:02:56.969 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2022-03-16 08:02:56.970 - keylime.tenant - WARNING - Using default UUID d432fbb3-d2f1-4a97-9ef7-75bd81c00000
2022-03-16 08:02:56.970 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x408000
2022-03-16 08:02:56.970 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x808000
Traceback (most recent call last):
  File "/usr/local/bin/keylime_tenant", line 33, in <module>
    sys.exit(load_entry_point('keylime==6.3.1', 'console_scripts', 'keylime_tenant')())
  File "/usr/local/lib/python3.10/site-packages/keylime-6.3.1-py3.10.egg/keylime/cmd/tenant.py", line 15, in main
    tenant.main()
  File "/usr/local/lib/python3.10/site-packages/keylime-6.3.1-py3.10.egg/keylime/tenant.py", line 1452, in main
    mytenant.do_add_allowlist(vars(args))
  File "/usr/local/lib/python3.10/site-packages/keylime-6.3.1-py3.10.egg/keylime/tenant.py", line 1177, in do_add_allowlist
    self.process_allowlist(args)
  File "/usr/local/lib/python3.10/site-packages/keylime-6.3.1-py3.10.egg/keylime/tenant.py", line 209, in process_allowlist
    al_data = ima.read_allowlist(args["allowlist"], args["allowlist_checksum"], args["allowlist_sig"], args["allowlist_sig_key"])
  File "/usr/local/lib/python3.10/site-packages/keylime-6.3.1-py3.10.egg/keylime/ima.py", line 425, in read_allowlist
    raise Exception(f"Checksum of allowlist does not match! Expected {checksum}, Calculated {calculated_checksum}")
Exception: Checksum of allowlist does not match! Expected e5b85f, Calculated 12780f8dc7d77156367756683e5b85f9ac600d94f3412057546f3e48e610496b

Expected behavior vs. actual behavior
The tenant command should end with error without a traceback.

@kkaarreell can you verify this is still the case?

This issue is no longer relevant. This option has been removed from keylime_tenant during the move to a runtime JSON policy.
I will close it.


Make base_url configurable in functional tests

So that the tests can run even if it's not localhost:5000
Should also update the .env files to have defaults, and probably also the code should default to localhost:5000 if nothing else is set.

Whoops, I just realized I should create this in JIRA


APT whitelist request for python-roman

This replaces travis-ci/travis-ci#4245.
The original text by @safl follows

Failed to create a commit and a PR. This usually means that there has been a commit that resolved this request.
Inparticular, check https://github.com/travis-ci/apt-package-whitelist/commit/e1f842d3


Release on pypi contains a 'field.py' file under hypereditor

No idea why it's there. It looks like an older version of fields.py

It was old version of fields.py from our internal repo, must be mistakenly placed here. On next release hopefully it would not be in pypi.
Thanks for reporting.


Create Ninja

UpdateCynn1989/Ninja

Please do not push personal PRs to the upstream project. This creates noise for everyone.


MIN aggregation failing in formula widgets

Formula widget applied to numeric field, using MIN aggregation, will reply with NO DATA AVAILABLE if the min value is exactly zero

Thanks for the heads up!

Fixed in https://github.com/CartoDB/cartodb/pull/13686
In production! 🚀

:boom:


Get error code on failure to load file for emscripten httpfs

Switches to wget2_data as per the comments. Testing right now.

Okay, so it seems to call OnLoaded even when it fails to load. ... I'll work on that.

Ah. The wget2_data source contains this:
      if (http.status == 200 || _url.substr(0,4).toLowerCase() != "http") {

Stripping the beginning of the URL is what's causing this.

It works now:
Failed to load https://google.com/: Redirect from 'https://google.com/' to 'https://www.google.com/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://zany80.github.io' is therefore not allowed access.
(index):79 emscURLLoader::onFailed(url=https://google.com, code=0, message=(null))

zany80.js:23 emscURLLoader::onFailed(url=https://zany80.github.io/lua/emscripten/plugins/NonExistent/Deliberate404, code=404, message=(null))

Question though: why does the IO README suggest using http and not https for the URI?

Ok, this is another one I need to look at and test a bit more carefully :) I'll try to find some time in the next 3..4 days or so.
When I wrote the IO docs I hadn't put much thought into http: vs https:, and when loading data from the same server (so not CORS), the protocol should be ignored anyway (it should use the same protocol the emscripten page was loaded with I think).

I suspect it was only using the same protocol because the http:// part was dropped. In my tests, i get errors about how http:// resources are blocked on https:// pages because I'm using this in my live code.

Did some local testing on the Oryol and Oryol-Samples webpage and it looks fine I think. It's a tiny bit bigger then before (<1%) but that's ok.
Thanks for the PR :)

no problem!


[offload][OMPT] Fix sporadic fails of device tracing tests

Removed checks for certain 'buffer complete callbacks'
We observed sporadic fails for tracing tests with calls to flush_trace.
These tests may emit certain buffer callbacks because of these calls.
But it seems that the occurrences are actually non-deterministic.

@ronlieb, I think we could add it to both as this just removes check lines.


Undo is not working when zooming in/out

Can't undo changes when drawing, and after interacting with "view/zoom" option from menu.
This could be a state problem, i can't find how to solve it.

Hi @nekomaruh, could you please attach the output of flutter doctor? We will look into the issue soon.

This issue was solved -> https://github.com/yellowQ-software/yellowQ-Flutter-Image-Painter/commit/76cc17d6e65fd25ad0b300a28822f0aa9feb3f10

still has the same issue


Some questions with mosn in istio

istio: 1.10.6
mosn image: mosnio/proxyv2:v1.0.0-1.10.6
The thing is, we want to replace istio's envoy with mosn to use dubbo. I modified the config.json of mosn locally and started it, and then implemented the call of the dubbo service according to the tutorial on the official website. The problem is that in istio, the configuration file started by mosn is automatically generated
So how can I modify the configuration? Do I need to recompile mosn? Is there a demo like this?

maybe you can make a new image see https://mosn.io/docs/user-guide/start/istio/


How to get Request as stream?

Like sanic
@app.post('/stream', stream=True)
async def handler(request):
    async def streaming(response):
        while True:
            body = await request.stream.get()
            if body is None:
                break
            body = body.decode('utf-8').replace('1', 'A')
            response.write(body)
    return stream(streaming)

sorry, but I can't find any support for request stream in document.
In flask or other web framework, request.stream as StreamReader can make us get request data as stream.

Closing this off given that 0.6 is moving to a framework-agnostic suite of API tools, and will no longer include the server. See https://discuss.apistar.org/t/api-star-as-a-framework-independant-tool/614 and #624.


running vuepress dev docs fails after VuePress Install

Bug report
Description
I just wanted to try out Vuepress, so I installed it in a recently created Vue 3 Project.
After the Install I wanted to run vuepress dev docs   but it failed with provided Error Message.
Error: Message
npm run docs:dev

><EMAIL_ADDRESS>docs:dev
> vuepress dev docs

info Initializing VuePress and preparing data...
✔ Compilation finished in 557ms
success VuePress webpack dev server is listening at http://localhost:8080/
ERROR in<EMAIL_ADDRESS>2:0-28
Module not found: Error: Can't resolve 'style-loader' in '/############'

ERROR in<EMAIL_ADDRESS>4:0-28
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in<EMAIL_ADDRESS>5:0-35
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in<EMAIL_ADDRESS>4:0-27
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in<EMAIL_ADDRESS>5:0-34
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in<EMAIL_ADDRESS>4:0-28
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in<EMAIL_ADDRESS>5:0-33
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in<EMAIL_ADDRESS>8:0-29
Module not found: Error: Can't resolve 'style-loader' in  '/############'

ERROR in ./docs/.vuepress/.temp/pages/404.html.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):

Vue packages version mismatch:

-<EMAIL_ADDRESS>( '/############/node_modules/vue/index.js)
-<EMAIL_ADDRESS>( '/############/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using<EMAIL_ADDRESS>simply update vue-template-compiler.
If you are using<EMAIL_ADDRESS>or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

ERROR in ./docs/.vuepress/.temp/pages/404.html.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse ( '/############/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports ( '/############/node_modules/vue-loader/lib/index.js:67:22)

ERROR in<EMAIL_ADDRESS>Module Error (from ./node_modules/vue-loader/lib/index.js):

Steps to reproduce
Create an App with Vue CLI and in my case install these packages. Maybe there is a package incompatibility:
"dependencies": {
    "@vuex-orm/core": "^0.36.4",
    "core-js": "^3.6.5",
    "lodash": "^4.17.21",
    "primeflex": "^2.0.0",
    "primeicons": "^4.1.0",
    "primevue": "^3.6.0",
    "vue": "^3.2.2",
    "vue-class-component": "^8.0.0-0",
    "vue-i18n": "^9.1.7",
    "vue-router": "^4.0.11",
    "vuex": "^4.0.2"
  },
  "devDependencies": {
    "@intlify/vue-i18n-loader": "^3.0.0",
    "@types/jest": "^24.0.19",
    "@typescript-eslint/eslint-plugin": "^4.18.0",
    "@typescript-eslint/parser": "^4.18.0",
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-plugin-typescript": "~4.5.0",
    "@vue/cli-plugin-unit-jest": "~4.5.0",
    "@vue/cli-service": "^4.5.13",
    "@vue/compiler-sfc": "^3.0.0",
    "@vue/eslint-config-prettier": "^6.0.0",
    "@vue/eslint-config-typescript": "^7.0.0",
    "@vue/test-utils": "^2.0.0-rc.12",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.3.1",
    "eslint-plugin-vue": "^7.0.0",
    "prettier": "^2.2.1",
    "sass": "^1.38.0",
    "sass-loader": "^10.0.5",
    "typescript": "~4.1.5",
    "vue-cli-plugin-i18n": "~2.1.3",
    "vue-jest": "^5.0.0-0",
    "vuepress": "^2.0.0-beta.24"
  },

Expected behavior
That the command provided in the documentation work after the install.
That vuepress installs and configures whatever necessary to work.
That there are no version mismatches with commonly used Vue Libraries.

Please read the error message, you have installed deps with conflicts.
It's recommended to use vite for new vue 3 project, instead of @vue/cli


When clicking on tool tip having same x-axis in multiple line charts all spots are poping up.

Thank you for the fantastic plugin. Recently I came up with a scenario in which I have multiple Line charts but when clicking pointers
that have the same x-axis value and different y-axis values are popping all at the same time doesn't matter if you clicked on which tooltip. Kindly refer to video.
In the video, I clicked on the yellow pointer but it highlights both tooltips showing data of the higher y-axis.
Expected behavior
It should highlight only the tooltip which is clicked not all.
My lineTouchData code
lineTouchData: LineTouchData(                   getTouchedSpotIndicator: (barData, spotIndexes) {                     debugPrint("${barData.mostTopSpot.x}");                     return List.generate(                         spotIndexes.length,                         (index) => TouchedSpotIndicatorData(                             FlLine(color: Colors.transparent),                             FlDotData(                                 show: true,                                 getDotPainter: (spot, _, __, ___) {                                   return FlDotCirclePainter(                                       color: Colors.blueAccent,                                       strokeWidth: 0,                                       radius: 8,                                       strokeColor: Colors.transparent);                                 })));                   },                   handleBuiltInTouches: true,                   touchTooltipData: LineTouchTooltipData(                     fitInsideVertically: true,                     maxContentWidth: 90,                     tooltipHorizontalOffset: 0,                     tooltipHorizontalAlignment: FLHorizontalAlignment.center,                     tooltipBgColor: Colors.black26,                       getTooltipItems: (List<LineBarSpot> spots) {                         return spots.asMap().entries.map((e) {                           int index = e.key;                           if (index != 0) {                             return null;                           }                           LineBarSpot spot = e.value;                           debugPrint("color-> ${e.value.bar.color == Colors.yellow}");                           return LineTooltipItem(                             spot.y.toString(),                             TextStyle(                               color: spot.bar.gradient?.colors.first ??                                   spot.bar.color ??                                   Colors.black,                               fontWeight: FontWeight.bold,                               fontSize: 14,                             ),                           );                         }).toList();                       },                   ),                 ),
@imaNNeo

The following issue will be solved using distanceCalculator with the following code snippet.
 distanceCalculator: (touchPoint, spotPixelCoordinates) {                     debugPrint("${touchPoint.distance} - ${spotPixelCoordinates.distance}");                     return ((touchPoint.dx - spotPixelCoordinates.dx).abs() +(touchPoint.dy - spotPixelCoordinates.dy).abs());                   },


tags and dependencies support for solidity scripting

It would be really nice for forge-deploy to support tags and dependency work like hardhat-deploy does, so I can re-use my past  solidity-based deployments in either future deploy script or in test suites across different chain networks .

For example, I can just simply call multiple sets of deploy scripts in one call inside setUp() :
deployer.callScriptwithTags('tag1' )


Handle empty msg files on start

WHAT is this pull request doing?
Handles empty msg files on startup and sets Schema version to default.
I think this can happen if a queue is created and lavinmq is killed before anything is written to the file.
Fixes #624
HOW can this pull request be tested?
Run specs

Interesting that this is happening. Is it because an ungraceful shutdown won't truncate the file?

Yes, but I think it has to happen before an fsync as well, because otherwise we would write schema version when opening a segment?

Yes, would be good to understand the root cause of this, although i agree with the fix, if first 16 bytes are 0 most likely the rest is 0 too. But we always write schema version to the mmap when a new segment is opened, even if lavinmq crashed exactly after that it would still be written to disk (changes to the mmap is persisted on unmap/crash), only if there was a powerloss or disk failure would it not be written to disk. Or lavin crashed before writing the schema version, but there's like nanoseconds between the file was created and the schema version is written. https://github.com/cloudamqp/lavinmq/blob/136b743800c2c538340cc34695f5e82ddf0dfe48/src/lavinmq/queue/message_store.cr#L248-L249


xwayland clients apply scaling twice when switching between TTYs

When switching between TTYs in rootston, xwayland apps double in scaling size. This is a continuation of this sway bug report.
The commit that introduced this regression is bf1f461eba320cdeded1d5d8ae80caaa9d4cef98.
The problem line is this one in that diff. We send the "done" event twice and xwayland handles that poorly (e.g it applies scaling twice). This path is only executed when it's re-sent when you switch between TTYs.
This bug is also present in wlc and was probably copied over from there.
Commenting out done signal send works, but I haven't gone through the logic on master to see if it's actually necessary here.

I am still seeing this bug in sway with the latest commit of wlroots on branch master.

Is this reproducible on rootston?

Yes, I just tried it on rootston and it has the same issue.

Damn probably a regression...I'll look into it, this was a bug that really annoyed me with wlc and I will not have it reappear in wlroots.

Can we fix the problem in Xwayland? It seems like their bug.

It seems like their bug.

Can you provide a Wayland debug log to check?
It'll probably be fixed anyway with xdg-output support in Xwayland.

I dunno what a wayland debug log is going to tell us. It's not ideal to send done twice but we're allowed to per the spec.

Can reproduce in rootston.

Can we fix the problem in Xwayland? It seems like their bug.

Does this bug happen in Kwin or Gnome though?

I dunno what a wayland debug log is going to tell us. It's not ideal to send done twice but we're allowed to per the spec.

I just want to make sure we're not sending scale twice and then done, that would be correct but dumb. Also I'm not sure why this happens on VT switching, since all connectors are destroyed and re-created.

I did a git bisect and found the regression to be at 7adf13e2840bf57a2b96b73462fc7c6ca8e363da, it's "fixed" today with the following patch:
diff --git a/types/wlr_output.c b/types/wlr_output.c
index d8b026b7..0806c8b1 100644
--- a/types/wlr_output.c
+++ b/types/wlr_output.c
@@ -178,6 +178,9 @@ void wlr_output_update_mode(struct wlr_output *output,

 void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width,
 		int32_t height, int32_t refresh) {
+	if (output->width == width && output->height == height && output->refresh == refresh) {
+		return;
+	}
 	output->width = width;
 	output->height = height;
 	wlr_output_update_matrix(output);

That causes obvious flickering though.

I'm not saying we shouldn't fix our side, too. But Xwayland has a bug and we should let them know, if not send a patch.

I did a git bisect and found the regression to be at 7adf13e

Thanks for the bisect. In fact it doesn't look like the wlr_output is removed and re-added on VT switching. And we're just sending the current mode, there's no bug on our side.
The patch looks fine but unfortunately it'll introduce a bug with damage tracking: outputs need swap when switching VTs. The Good Fix is probably to apply our patch and call wlr_output_update_needs_swap on all outputs when switching VTs. But since the session is separate from the backend, I don't know if it's easy to do it.

Issue is related to this line in xwayland. If this branch is removed then the bug goes away. Unsure of the consequences of this change.

Proposal: only do it if xwl_output->width != width || xwl_output->height != height?

That does seem to work and at least fixes the issue for switching TTYs.
This requires no changes in wlroots in order to work. Just need to open a PR to xwayland.


vagrant: Make bsdtar available to extract boxes

Motivation for this change
Fix extracting downloaded boxes in Vagrant.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Tested and it works. Thanks @aneeshusa.
Fix #34264.


#444 do not log "EventVersion 1.04 is not supported by CloudTrail"

fixes #444

:+1:

[Current coverage][cc-pull] is 52.19%

Merging [#445][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #445   diff @@
==========================================
  Files           133        133
  Lines          3102       3102
  Methods           0          0
  Messages          0          0
  Branches        257        257
==========================================
  Hits           1619       1619
  Misses         1483       1483
  Partials          0          0

Powered by Codecov. Last updated by [e3389a0...800fa51][cc-compare]
[cc-base-branch]: https://codecov.io/gh/zalando-stups/fullstop/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/zalando-stups/fullstop/compare/e3389a0b0bd1c1497dbfe2232b2e342a3d2e5e3f...800fa51b615aa2ffc6b48c6f812f2edd275cc33e
[cc-pull]: https://codecov.io/gh/zalando-stups/fullstop/pull/445?src=pr

👍

👍


Huge CPU overhead and not working

After installing, i am getting a huge CPU usage and it is not picking up any games. Aurora is using about 40% of my processor, and close to 2GB of RAM. the only thing it seems to do is light up the top 2 rows of the keyboard. (i am using a logitech g910)

Did the UI show up? Can you send me your latest logs?

No, the UI never showed up and im not sure how to get the logs (where are they located)?

just kidding, found them (i might be blind) here is the log:
2016_12_06.txt

Can you add me on steam, I would like to debug this issue further, as it's quite a serious problem. http://steamcommunity.com/id/pupant/
Write on my profile before adding, so I know who to add.

Issue has been located, it will be fixed in the next version.

This issue just happened to me after the latest update. Using 83% of my CPU causing 1 fps in Rocket League! And on a side note, they keyboard went blue for rocket league, but no boost effects or score.

Can you post your log file at the time of the incident?

It didn't seem to save sorry. I had to end process in task manager to fix it as the entire computer was struggling. It happened around 1am. The log ends at 10.30pm the day before, and starts at 2pm when I relaunched it. Nothing at the time it happened. I will try to recreate the issue

From: Anton Pupkov<EMAIL_ADDRESS>Sent: Saturday, 2 July 2016 2:14 p.m.
To: antonpup/Aurora
Cc: jdubnz; Comment
Subject: Re: [antonpup/Aurora] Huge CPU overhead and not working (#30)
Can you post your log file at the time of the incident?

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/antonpup/Aurora/issues/30#issuecomment-230078448, or mute the threadhttps://github.com/notifications/unsubscribe/ATUAmYtYQuGP8MTSZdr6x0Oa12XnraiEks5qRcl4gaJpZM4Iz3_-.

It didn't seem to save sorry. I had to end process in task manager to fix it as the entire computer was struggling. It happened around 1am. The log ends at 10.30pm the day before, and the next one starts at 2pm when I relaunched it. Nothing at the time it happened. I will try to recreate the issue.

Log file before. the 80% CPU usage.
Operation System: Windows 10 Home
System Architecture: 64 bit
Environment OS Version: Microsoft Windows NT 6.2.9200.0
System Directory: C:\WINDOWS\system32
Processor Count: 4
User DomainName: DESKTOP-RR8N683
User Name: Jack
SystemPageSize: 4096
Version: 4.0.30319.42000
[INFO] 1/07/2016 3:14:02 PM: Device, Logitech, was initialized
[ERROR] 1/07/2016 3:14:02 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:02 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:02 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:02 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:02 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:02 PM: Loading KB Layouts
[INFO] 1/07/2016 3:14:02 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:02 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:02 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:02 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:02 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:02 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:02 PM: Input Hooking
[INFO] 1/07/2016 3:14:02 PM: Starting GameEventHandler
[INFO] 1/07/2016 3:14:02 PM: Starting GameStateListener
1/07/2016 3:14:02 PM: Listening for game integration calls...
[INFO] Baseline X = 44
[INFO] Baseline Y = 37
[INFO] 1/07/2016 3:14:07 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:07 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:07 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:07 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:07 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:07 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:12 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:12 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:12 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:12 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:12 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:12 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:17 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:17 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:17 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:17 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:17 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:17 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:22 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:22 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:22 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:22 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:22 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:22 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:27 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:27 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:27 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:27 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:27 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:27 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:32 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:32 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:32 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:32 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:32 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:32 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:37 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:37 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:37 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:37 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:37 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:37 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:42 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:42 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:42 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:42 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:42 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:42 PM: Device, Razer, was not initialized
[INFO] 1/07/2016 3:14:47 PM: Retrying Device Initialization
[ERROR] 1/07/2016 3:14:47 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 1/07/2016 3:14:47 PM: Device, Corsair, was not initialized
[INFO] 1/07/2016 3:14:47 PM: No Chroma SDK available
[ERROR] 1/07/2016 3:14:47 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 1/07/2016 3:14:47 PM: Device, Razer, was not initialized
1/07/2016 4:09:56 PM: [Server] Pipe connection established
1/07/2016 5:17:45 PM: Connection lost
1/07/2016 6:04:03 PM: [Server] Pipe connection established
1/07/2016 7:25:53 PM: Connection lost
1/07/2016 8:57:29 PM: [Server] Pipe connection established
1/07/2016 10:11:11 PM: Connection lost
Log File after restarting system. ~60% usage
[INFO] 2/07/2016 1:12:34 AM: Device, Logitech, was shutdown
Operation System: Windows 10 Home
System Architecture: 64 bit
Environment OS Version: Microsoft Windows NT 6.2.9200.0
System Directory: C:\WINDOWS\system32
Processor Count: 4
User DomainName: DESKTOP-RR8N683
User Name: Jack
SystemPageSize: 4096
Version: 4.0.30319.42000
[INFO] 2/07/2016 1:54:05 PM: Device, Logitech, was initialized
[ERROR] 2/07/2016 1:54:05 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:05 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:05 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:05 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:05 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:05 PM: Loading KB Layouts
[INFO] 2/07/2016 1:54:05 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:05 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:05 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:05 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:05 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:05 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:05 PM: Input Hooking
[INFO] 2/07/2016 1:54:05 PM: Starting GameEventHandler
[INFO] 2/07/2016 1:54:05 PM: Starting GameStateListener
2/07/2016 1:54:05 PM: Listening for game integration calls...
[INFO] Baseline X = 44
[INFO] Baseline Y = 37
[INFO] 2/07/2016 1:54:10 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:10 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:10 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:10 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:10 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:10 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:15 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:15 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:15 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:15 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:15 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:15 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:20 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:20 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:20 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:20 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:20 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:20 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:25 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:25 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:25 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:25 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:25 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:25 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:30 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:30 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:30 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:30 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:30 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:30 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:35 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:35 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:35 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:35 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:35 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:35 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:40 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:40 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:40 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:40 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:40 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:40 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:45 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:45 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:45 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:45 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:45 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:45 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 1:54:50 PM: Retrying Device Initialization
[ERROR] 2/07/2016 1:54:50 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 1:54:50 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 1:54:50 PM: No Chroma SDK available
[ERROR] 2/07/2016 1:54:50 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 1:54:50 PM: Device, Razer, was not initialized
2/07/2016 1:55:41 PM: [Server] Pipe connection established
2/07/2016 1:56:20 PM: Connection lost
2/07/2016 1:56:51 PM: [Server] Pipe connection established
2/07/2016 2:53:45 PM: Connection lost
[INFO] 2/07/2016 4:10:00 PM: Device, Logitech, was shutdown
Operation System: Windows 10 Home
System Architecture: 64 bit
Environment OS Version: Microsoft Windows NT 6.2.9200.0
System Directory: C:\WINDOWS\system32
Processor Count: 4
User DomainName: DESKTOP-RR8N683
User Name: Jack
SystemPageSize: 4096
Version: 4.0.30319.42000
[INFO] 2/07/2016 4:10:04 PM: Device, Logitech, was initialized
[ERROR] 2/07/2016 4:10:04 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:04 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:04 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:04 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:04 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:04 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:04 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:04 PM: Loading KB Layouts
[INFO] 2/07/2016 4:10:04 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:04 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:04 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:04 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:04 PM: Input Hooking
[INFO] 2/07/2016 4:10:04 PM: Starting GameEventHandler
[INFO] 2/07/2016 4:10:04 PM: Starting GameStateListener
2/07/2016 4:10:04 PM: Listening for game integration calls...
[INFO] Baseline X = 44
[INFO] Baseline Y = 37
[INFO] 2/07/2016 4:10:09 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:09 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:09 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:09 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:09 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:09 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:14 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:14 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:14 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:14 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:14 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:14 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:19 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:19 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:19 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:19 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:19 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:19 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:24 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:24 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:24 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:24 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:24 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:24 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:29 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:29 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:29 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:29 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:29 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:29 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:34 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:34 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:34 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:34 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:34 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:34 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:39 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:39 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
[INFO] 2/07/2016 4:10:39 PM: Device, Corsair, was not initialized
[INFO] 2/07/2016 4:10:39 PM: No Chroma SDK available
[ERROR] 2/07/2016 4:10:39 PM: Razer device, Exception! Message:System.Exception: No Chroma SDK available
at Aurora.Devices.Razer.RazerDevice.Initialize() in d:\Repositories\Git\Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 54
[INFO] 2/07/2016 4:10:39 PM: Device, Razer, was not initialized
[INFO] 2/07/2016 4:10:44 PM: Retrying Device Initialization
[ERROR] 2/07/2016 4:10:44 PM: Corsair device, CUE Exception! ErrorCode: ServerNotFound
After rebooting Aurora whilst still in Rocket League the CPU usage was low, but no RL lighting effects  were running

Hmm... Does Rocket League profile still work? It might be an issue strictly related to Rocket League.

Rocket League profile for me doesn't work as well, and I have the same issue - after a while of playing Rocket League, the CPU Usage for Aurora shoots upwards of 80+% and my framerate drops to below 20.
Here's my log file, as a text file - hope that's okay.

Looks like I will have to play some Rocket League. Alright, I'll look into it. Most likely a memory leak somewhere.
Thank you for your report.

Issue recreated. Looking into it.

CPU problem with Rocket League fixed. Will be working normal next update, but for now, it is recommended to disable Rocket League profile.


I can't find the "s_webui_texts" structure.

Hi guys.
I tried to rebuild the project for ESP8266. I can't find the s_webui_texts structure in the project. Please help.

Thank you already found. I had an old version of the source.

@vovanmm661905
just out of interest, are you running the project on an ESP8266?


⚠ Bofrost.at has degraded performance

In 4db8e0f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2753 ms

Resolved: Bofrost.at performance has improved in 8ac6f11.


Possible support for the Meross Lightswitch MSS5X0 & MSS550

Hi,
Does this work with the MSS5X0 & MSS550 light switch. If not do you think it would be technically possible to add support for them?
Thanks

i can confirm this does work with the MSS550


Godot 4.0 Beta 7+ Resources saving as EncodedObjectAsID, unable to load Resources due to type differences.

Godot version
v4.0.beta7.official [0bb1e89fb]
System information
Windows 10
Issue description
Since upgrading to Godot 4.0 beta 7, Resources I try to save into an external file are being stored as EncodedObjectAsID instead of typed Resources. Beta 6 and before this code didn't throw an error, unsure if it was actually grabbing the Resources. This same error also occurs in Godot beta 8.
If I just run it from the project launcher, this does not crash my application upon trying to load the resources.

Now it may not actually be a bug, because I realize I should probably create a dictionary for each resource I want to save and load them using that. But am curious what changed between Godot 4.0 beta 6 and Godot 4.0 beta 7.
Steps to reproduce
Edit the Resource_Saving_Bug project from the launcher.
Run the Main Scene.
Click the 'Save' button, it will save the resource to C:\Users<User>\AppData\Roaming\Godot\app_userdata\Resource_Saving_Bug\TestInventory.tres.save
Click the 'Load' button, it will try to load TestInventory.tres.save saved there, but the Item resources will have been saved as EncodedObjectAsID instead of Resource.
Minimal reproduction project
Resource_Bug.zip

Related to https://github.com/godotengine/godot/issues/69822 (the error message is different).

Related to #69822 (the error message is different).

This issue is not related. The reproduction project doesn't use C#.

Trying to assign a typed array with an array of different type, (Inventory.gd:50)

E 0:00:00:0977   _on_load_pressed: Attempted to assign an object of type 'EncodedObjectAsID' into a TypedArray, which does not inherit from 'Resource'.
  <C++ Error>    Condition "!ClassDB::is_parent_class(object->get_class_name(), class_name)" is true. Returning: false
  <C++ Source>   core/variant/container_type_validate.h:127 @ validate_object()
  <Stack Trace>  Inventory.gd:50 @ load_data()
                 Inventory.gd:37 @ load_resource()
                 save_load.gd:6 @ _on_load_pressed()


Be able to save oauth refresh token and Discord Webhook URL so you don't have to copy-paste it every time you run it

Fixed.
Should be updated after a code scan. :)


Fix CHANGES.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.19%. Comparing base (e05b77b) to head (6b59e4d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #155   +/-   ##
=======================================
  Coverage   91.19%   91.19%
=======================================
  Files           4        4
  Lines         602      602
  Branches       47       47
=======================================
  Hits          549      549
  Misses         53       53

Flag
Coverage Δ

unittests
91.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Eagle Issue: Example for using Eagle with transcription

Have you checked the docs and existing issues?

[X] I have read all of the relevant Picovoice Eagle docs
[X] I have searched the existing issues for Eagle

SDK
iOS
Eagle package version
1.0.0
Framework version
1.0.0
Platform
iOS
OS/Browser version
18
Describe the bug
Is there an example on how to use this along with transcription frameworks?

If there's no example, some pointers on how one would go about doing it would be awesome.
Steps To Reproduce

Expected Behavior

Hey @ichbinjon, consider using Leopard-iOS (demo) for transcription. Leopard has built-in speaker diarization. If you only need speaker diarization, use Falcon-iOS (demo) instead of Eagle.


Footer's About us

In footer, About Us feature is not working, it opens the home page and not the about us one as header's about us.

@teenagoyal21  go ahead

assign me this task


Deference properties with *uint64 type

MaxLength, MaxItems and MaxProps are stored as
*uint64 values.
Before being written to the diff report, this properties
must be deferenced. Otherwise the output looks like:

MaxLength changed from 0xc00026b500 to 0xc00026ba60
MaxItems changed from 0xc00026b4e8 to 0xc00026ba48
MaxProps changed from 0xc00026b508 to 0xc00026ba68

With this commit, the output is now:

MaxLength changed from 0 to 1
MaxItems changed from 0 to 1
MaxProps changed from 0 to 1

Codecov Report

Merging #34 (bcb087d) into main (e34076e) will increase coverage by 0.13%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   91.96%   92.09%   +0.13%
==========================================
  Files          63       63
  Lines        1792     1797       +5
==========================================
+ Hits         1648     1655       +7
+ Misses         78       77       -1
+ Partials       66       65       -1

Flag
Coverage Δ

unittests
92.09% <92.85%> (+0.13%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

report/report.go
80.23% <0.00%> (ø)

diff/schema_diff.go
83.49% <100.00%> (ø)

diff/value_diff.go
95.74% <100.00%> (+5.26%)
:arrow_up:

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 e34076e...bcb087d. Read the comment docs.


Bullet-proof debug dumping code

Ivan, PTAL.
This ensures that debug dumping never results in throwing an exception when in Release mode.

lgtm


Define limits in scale_x_date()

Does anyone know how to define limits in scale_x_date()? I've seen the 'limits' parameter is implemented in the function but pandas timestamps are not accepted as arguments. Apparently it expects float values but I can't figure out how to convert timestamps into floats.

+1

+1. Please fix this soon!

Blrgh. This is a bummer.
I can set the limit argument to scale_x_date() (or just xlim()) to the number of days since 0001-01-01, but if I do that, the labels argument to scale_x_date() stops working.

Any update on this? :)


Error compiling to JavaScript

When i create a new flutter code and test it dartpad.dev it doesnt work. Dartpad gives the "Error compiling to JavaScript" . How can i fix it?
I used chrome and close all the adblockers.

Please supply the Dart code that is failing to compile

import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(title: "İlkel Blog Uygulaması", home: AnaEkran());
}
}
class AnaEkran extends StatelessWidget {
const AnaEkran({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Blog Uygulaması"),
),
body: Container(
margin: EdgeInsets.all(50),
child: Center(
child: Text("merhaba ")
),
),
);
}
}

I think my internet connection was the problem i fix it now . Thank you so much.


[Task]: Restore metric logging to third-party loggers in Benchmarking Pipeline

What is the motivation for this task?
The current version of benchmarking does not support logging the metrics to third-party loggers like (tensorboard, comet, wandb)
Describe the solution you'd like
A quite simple fix would be to add the dictionary of metrics to the logger in the save method of the job.

Note to implementer: Ensure that all logger parameters are configurable to avoid issues due to hard-coding https://github.com/openvinotoolkit/anomalib/issues/1437

Additional context
No response

Please teach me how to modify the code


Not working on NextJS

Hi @raunofreiberg, for some reason, I’m unable to get it to work on NextJS (using latest next and react, react-dom). I’ve included a basic reproduction here: cmdk-nextjs.
As you can see below, nothing happens. I must be missing something basic, but have no idea what I’m missing.

You're putting a Dialog inside of a Popover, and the dialog is always closed. You should just use the regular Command component:
<Popover.Content>
  <Command>
    ...
  </Command>
</Popover.Content>


CRASH: Peer to remove doesn't appear in peers_by_ip

Fatal crash in daemon
Peer to remove doesn't appear in peers_by_ip
Probably a bad behavior when a peer isn't in peerlist (kademlia), but tries to remove.
In any case, this shouldn't really crash -- maybe warn?
{"timestamp":"2019-08-22 03:54:01.007514Z","level":"Fatal","source":{"module":"Init__Coda_run","location":"File "app/cli/src/init/coda_run.ml", line 411, characters 56-63"},"message":"Unhandled top-level exception: $exn\nGenerating crash report","metadata":{"exn":"(Failure "Peer to remove doesn't appear in peers_by_ip")","pid":8738}}

fixed in #3268


Comments

Like, Edit and Delete button for the comments are not working! Need to fix them...

Issue is fixed!!


Report includes source maps

Is this intentional? My source maps are much larger than my actual output and crowd the screen out.

Thats an interesting one. The visualiser should only show files that are bundled (obviously) but it's representing a file list thats generated by parcel. Do you have an example project (that reproduces the problem) that I could look at?

Not offhand, but I can strip one down.

Looking forward to this being released!

the last npm publish for this package appears to be about a year ago.  would it be a huge bother to publish a new version of this package containing the fix for the issue described in this thread?  I'd love to be able to remove source maps from my reports without having to npm install straight from GitHub.
thanks!

Actual code contains the fix for this case
File src/buildTreeData.js line 23:
    if (child.name.endsWith('.map')) continue;

Seems, like code was not published to npm, and npm package is different from the master branch.
@gregtillbrook, could you please take a look and publish the latest version?

@orzechowskid you can install from github via npm i gregtillbrook/parcel-plugin-bundle-visualiser#master

@ykravv Thanks for this.
I would argue it's probably best to ignore anything that's not a CSS or JS files (have I missed anything out) as I've got Font Awesome polluting my reports
Generally, I do think this needs to have the ability to config the plugin via a JSON file or package.json directive, not just with file types but if the report is generated (sometimes it's nice to know in dev what's taking up space, depending on workflow).
I gather though in Parcel 2 things will be shaken up and there will be a rewritten version of this plugin (I believe I saw evidence of this somewhere)


Calling GetProbeResult for Amazon SQS gives error "An item with the same key has already been added. Key: AddressType"

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes.
Environment

MacOs, Linux, Windows
Visual Studio version: N/A
Dotnet version: 2.1

Steps to Reproduce

configure & start IBusControl using the Amazon SQS transport
Call GetProbeResult

Expected Behavior
return summary of the queues used
Actual Behavior
error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added. Key: AddressType

Reproducible Demo
This appears to be very similar to the recently fixed bug in the ActiveMq implementation of this method: https://github.com/MassTransit/MassTransit/issues/1786.

Will this fix be included into a 6.* release? Is 6.3.3 on the horizon? Thanks!

7.0.2 was released over the weekend. There are no more 6.x releases planned.

Any chance this could be back ported into v6? Upgrading to v7 may not be straightforward for older apps with conflicting library dependences, doing a v6.3.3 release with this bug fix would be really helpful...

I don't plan to release any further 6.x versions.

OK, thank you.


possible to use for generating documentation of registered rust functions?

I don't think this is possible with rhai-doc as is but wanted to double check. in my case I have a fairly large api of registered rust types/functions that I would love to generate docs for.

cool - I will have a look! thanks.

It seems like you can use a static site generator which supports JSON sources to automatically generate documentation pages.
Something like Hugo: https://gohugo.io/templates/data-templates/
Or, it probably won't be difficult to write your own using handlebars as the templating engine, which is what rhai-doc does.

@schungx This is probably something that should be supported but this currently only parses .rhai files. Adding this functionality would require parsing Rust code. An immediate solution I can think of would be to attach a macro (or leverage an existing one) to generate an output file that rhai-doc can parse and add to the docs.

There is already a way to generate similar documentation on native Rust functions into a JSON format.
It would be more in-depth than the current Rhai functions because you have to deal with parameter types, return types and &mut etc.
Nevertheless, the logic is similar to rhai-doc.  It probably only requires a different template.