Following code doesn't work

Description:

Consider following code it doesn't work:
    table<domain:ApplicationResponse> result = check <@untainted> connection->select(QUERY_SELECT_APPLICATION_BY_ID,  domain: ApplicationResponse, applicationId, userId);

in above connection is a jdbc:Client
@MaryamZi has more details :)
Steps to reproduce:
Affected Versions:
v 1.1.0
OS, DB, other environment details and versions:
MacOS
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

compile error is:
action invocation as an expression not allowed here

This is basically because we are trying to use annotations in a type cast expression (<@untainted>) with actions.
Simpler code for demonstration
type Foo client object {
    public remote function bar() returns @tainted error? {

    }
};

error? x = (); // untainted var

public function main() returns error? {
    Foo f = new;
    x = <@untainted> f->bar(); // error: action invocation as an expression not allowed here
}

Since type-cast is an expression and we are using the cast (with the annotation) with an action, this is inline with the 2019r3 spec:
"An action cannot be nested inside an expression; it can only occur as part of a statement or nested inside other actions. This is because actions are shown in the sequence diagram in the graphical syntax."
This example can be fixed by first assigning the result of the remote method call and then untainting the value.
type Foo client object {
    public remote function bar() returns @tainted error? {

    }
};

error? x = ();

public function main() returns error? {
    Foo f = new;
    error? y = f->bar();
    x = <@untainted> y;
}

Similarly for the original issue with check we can do the following (missed this during the offline conversation),
table<domain:ApplicationResponse>|error origResult = connection->select(QUERY_SELECT_APPLICATION_BY_ID,  domain: ApplicationResponse, applicationId, userId);
table<domain:ApplicationResponse> result = check <@untainted> origResult;

Btw, this is the general behaviour with any action in accordance with the spec.
For example the following is also not allowed.
import ballerina/io;

type Foo client object {
    public remote function bar() returns @tainted int|error {
        return 1;
    }
};

public function main() returns error? {
    Foo f = new;
    io:println(f->bar()); //  action invocation as an expression not allowed here
}

The same would have to be written as
import ballerina/io;

type Foo client object {
    public remote function bar() returns @tainted int|error {
        return 1;
    }
};

public function main() returns error? {
    Foo f = new;
    int|error x = f->bar();
    io:println(x);
}

Closing this issue since the error is valid, and the requirement can be achieved. Please reopen if you have any concerns regarding the suggested approach.

Could I mark/annotate a resource ( in this example connection) as untainted?

@ramith, sorry, missed responding to this.

Could I mark/annotate a resource ( in this example connection) as untainted?

This is not supported atm, but we've created https://github.com/ballerina-platform/ballerina-lang/issues/20826 to track checking the feasibility of doing the same.


[potential Yarn issue] Eating food causes a particle crash

crash-2019-02-01_16.02.39-client.txt
Happens when eating any food on 19w05a, untested in prod so not sure if it's Yarn or not
Using mappings 19w05a.6, loader <IP_ADDRESS>, API <IP_ADDRESS>

Ah no this is actually an issue with API probably

Fixed in latest build.


Bump Conan version to 1.27.0

Changelog:

Feature: Support Conan 1.27

[ ] Refer to the issue that supports this Pull Request.

[ ] If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.

[ ] I've read the Contributing guide.

[ ] I've followed the PEP8 style guides for Python code.

Codecov Report

Merging #512 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #512      +/-   ##
==========================================
- Coverage   92.84%   92.81%   -0.03%
==========================================
  Files          35       35
  Lines        3619     3619
==========================================
- Hits         3360     3359       -1
- Misses        259      260       +1

Impacted Files
Coverage Δ

cpt/__init__.py
100.00% <100.00%> (ø)

cpt/ci_manager.py
92.46% <0.00%> (-0.42%)
:arrow_down:

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 68d1d5b...e9f3ad4. Read the comment docs.


Added a hint of the stackoverflow tag to the readme

Might be a bit brief, but stackoverflow could be a super place for building up a longterm knowledge base about the tweaks and how-tos of Bruno.

Nice. Thanks @Andreas-Schoenefeldt !


Recovering gracefully from UnrecognizedFormat

Sometimes when attaching an IcyMetadataReader to a rodio Decoder an UnrecognizedFormat error is thrown.
e.g https://github.com/yuvadm/somafm.rs/blob/bcb69f9afa402d747be9feaf7224db6f53680d8c/src/audio/rodio.rs#L59 might throw:
called `Result::unwrap()` on an `Err` value: UnrecognizedFormat

I'm assuming this is due to some network race condition where the stream might not have been initialized yet.
Is there a better way to initialize the reader/decoder in this case to avoid these intermittent failures?

Oh nevermind, I just noticed you only have symphonia-mp3 enabled so it probably isn't a format detection error, but it could be another bug in the decoder.

Yeah just looping on the init was the obvious choice, I was hoping for something more sophisticated, or some other way to init the decoder, but oh well :) thanks!


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=451482456
https://github.com/Azure/azure-cli-extensions/commit/4ddb6d773ce065d4de131bdef5ac2f14d70aabd0

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified commit because branch az-ext-list-ci-451482456 has been deleted or has been force pushed: fatal: Could not parse object '0f5d4327fb833cb59036496570a3bc10d75e76b5'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Unable to pass environment variables containing = to az container create

Description
Outline the issue here:
An example scenario is passing a connection string to a container as environment variable.
To further illustrate, the command below:
az container create -g SomeGroup --name something --image some/image -e 'EVENT_HUBS_CONNECTION_STRING=Endpoint=sb://foo.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=bar='

Will result into the following error:
Incorrectly formatted enviroment settings. Argmuent values should be in the format a=b c=d

This is a dupe of #4084.


host yaml files from mathlib on docs site

Don't merge yet -- this is pending changes to mathlib. We'll store the overview, undergrad, and 100 theorems yaml file in mathlib instead of in the website, so that we can test them in mathlib CI. Then we'll host them here, to ensure that the website can grab yaml files in sync with the declaration database.

https://github.com/leanprover-community/mathlib/pull/4016


Limit on number of cluster queues retrieved during plan

Describe the bug
We recently ran into an issue where if we have more than 50 (I think?) queues in a cluster, the Terraform provider fails to find some of them during the plan phase.  The error is:
│ Error: Unable to find Cluster Queue
│
│   with buildkite_cluster_queue.example,
│   on example.tf line 5, in resource "buildkite_cluster_queue" "example":
│    5: resource "buildkite_cluster_queue" "this" {
│
│ Unable to find any queues for cluster:
│ "<redacted_base64>"
╵
Unexpected exit code when planning changes: 1

This happened during a migration between queues when we temporarily had more than 50.  I suspected the increased number of queues was the cause since planning worked fine previously when we had about 35, so I manually deleted some and periodically replanned until I found that the limit seems to be 50 (I think -- if not it's somewhere close to that).  I'm guessing there is some pagination on the underlying API and the provider is not requesting subsequent pages when this happens.
As a side note, I would have expected the provider to offer to recreate the queues instead of erroring out if it didn't find them in Buildkite, but I am going to file that as a separate bug :)
To Reproduce
Steps to reproduce the behavior:

Terraform 50 agent queues in a cluster
Attempt plan, it will succeed showing no changes
Add 1 more queue (I think)
Plan will now fail with the above error

Expected behavior
No error when we have more than 50 queues
Additional context
N/A

Created https://github.com/buildkite/terraform-provider-buildkite/issues/567 for the side note issue


Increase MAX_DMA_REGIONS for vIOMMU use case

MAX_DMA_REGIONS is currently 16, which is way too small if we try to support the vIOMMU use case, as we might end up with way more than 16 active mappings (especially if the mappings are 4KiB).

The major reason we have this limit is that we have an array, and it's sized based on that. We could reasonably easy make this a resizable array (we're already not thread safe)
We still would want some upper limit to avoid a malicious client from exhausting server memory, but this can probably be much bigger.
(gdb) print sizeof(dma_memory_region_t)
$1 = 88

For a 1TB guest, if we allowed every 4KB page to be its own region, we'd end up with an array size of 22GB.
So, we will still need some "reasonable" limit. Any suggestions?

Maybe make it 262144 so that we can handle up to 1GiB at a given time. But I understand the biggest problem is the fact that the array has a fixed size. If you can fix this limitation, then it's fine to set the limit to something even bigger.

it's relatively easy to change the array to be resizable. But even 1GB seems a bit pricy for servers that might be dealing with lots of clients.
It's an array because we really want O(1) lookup performance - the sg map/unmap APIs are hot path. And I'm kind of loathe to switch to an amortized O(1) data structure just for vIOMMU.
So we're stuck with trying to figure out a max size. We could make it configurable, perhaps, but that seems less than ideal. Having said that though, swiotlb (one of the vIOMMU users) itself is only statically configurable.

It's an array because we really want O(1) lookup performance - the sg map/unmap APIs are hot path. And I'm kind of loathe to switch to an amortized O(1) data structure just for vIOMMU.

I fully understand. The solution of making the size configurable is not great either because we don't really know how much we're gonna need, it depends on the device that's exposed and the workload/driver running in the guest.
This is really a tricky situation and maybe the best solution would be to explicitly state in the specification that vfio-user is not fit for the vIOMMU use case.

We can definitely make clear that it's not currently supported well enough, certainly. I dont' want to say we'll never have some form of support though.

We can definitely make clear that it's not currently supported well enough, certainly. I dont' want to say we'll never have some form of support though.

I think that would help as we can see there are several issues to tackle before being able to claim it is supported.

https://github.com/nutanix/libvfio-user/pull/590

I'm referring to whether SPDK allows active vfu_map,unmap_sg() users in IO threads, when it gets an unmap request. They want to use those APIs locklessly, so they can't do an unmap at the same time.
We still need to think really carefully about that though, once SPDK finishes its DMA unregister callback, we modify the structs. Do we need extra callbacks or something?


smell

This pull request resolves #ISSUE_NUMBER.
The pull request is in progress.
OR
The pull request is ready to be merged.
The details of the pull request:

Coverage decreased (-0.2%) to 93.504% when pulling f680011d9316207baf628f158cf5f2dbde9d0d82 on smell into 5e65669dd4739a5a2e79881b426d2d15890f0c54 on master.


Support for file.server.js and file.client.js

Quick question about a feature: Could there be any way of splitting components while still maintaining same aliases? Something like: MyComponent.server.js and MyComponent.client.js.
An import MyComponent from './MyComponent' would then load the respective code. I'm asking because some third party libraries throw DOM errors in SSR and I want to return empty divs in such cases.
This could also prove useful in stores. For example account.server.js does a database lookup while account.client.js does a fetch.
I know we can use if (process.env.BROWSER) but then we can no longer use es6 imports as they need to appear before any code (sometimes even importing a module crashes the server). To work around that we need manual require (...) hacks which results in very ugly code.
So I'm thinking maybe there can be some Webpack magic to accomplish this. In nodejs we can wrap require.extensions['js']. Any ideas? Thanks!

I've found a cheap solution to this problem:
webpack.base.js:
resolve: {
  extensions: [
    '.client.js',
    '.js',
    '.jsx'
  ],
  ...
}

Now, if *.client.js files exist they take precedence over *.js files (for client only), which is exactly what I want!


Support for fontawesome, slider and dashicons controls in repeater

Issue description:
Now if add fontawesome, slider or dashicons controls in repeater as field type control not work. Fieid is empty.
In code no support for this controls in repeater.
Version used:
I tried the latest version on the wordpress.org site
Using theme_mods or options?
Standart thems
Code to reproduce the issue (config + field(s))

note to myself: we might bring over the slider.


Add dbplyr tests

We should be able to run the dbplyr test cases

Tried tests with current dbplyr, main issue is missing support for temporary tables, #58

Hacked this together in the dbplyrtest branch. Kind of ugly, downloads dbplyr src, pulls tests from it and runs them. 553 tests pass for now.


Many changes

This PR does the following:

Enable save embs if no trainable is defined but train_all is set to True.
Allow freezing unet for emb vector training only.
When no emb vector is trainable, disable grad and optimizer for TE
Modify the behavior of data augmentations: brightness & contrast are randomly generated instead of fixed constant, with the arguments sets the maximum delta. Flip's argument sets the probability of flipping now.

Everything should be working, but not yet fully tested.

Tested


Execution is  break down when I run multiple times the test suite

Hi everyone,
I was getting an error when I executed my test suite. The error was:
[16:15:13] E/launcher **- Error: WebDriverError: java.net.ConnectException: Connection refused: conne**ct
   at WebDriverError ( ******\node_modules\selenium-webdriver\lib\error.js:27:5)

[16:15:13] E/launcher - Process exited with error code 100

This was happen because in the step annotation the name of the variable wasn't match with the name in the constructor. For example:
@step('{0} enters id **"#id"'**)

the variable expected is id, but in the constructor we have something different,
constructor(private **otherStuff: number**) {
}

The error was not clear and it took a lot of time to find the reason of the failure. Can we implement a meaning message for this error.
Thanks.
Node: 6.11
Serenity JS: 1.10.2

Hi Jan, finally I was able to reproduce the bug in my machine. The full log is the following:
8 scenarios (4 failed, 4 passed)
125 steps (87 skipped, 38 passed)
2m33.891s
Cucumber test run has failed.
[12:23:48] E/launcher - Error: WebDriverError: java.net.ConnectException: Connection refused: connect
at Object.checkLegacyResponse (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\selenium-webdriver\lib\error.js:505:15)
at parseHttpResponse (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\selenium-webdriver\lib\http.js:509:13)
at doSend.then.response (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\selenium-webdriver\lib\http.js:440:13)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
From: Task: WebDriver.takeScreenshot()
at thenableWebDriverProxy.schedule (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\selenium-webdriver\lib\webdriver.js:816:17)
at thenableWebDriverProxy.takeScreenshot (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\selenium-webdriver\lib\webdriver.js:1092:17)
at run (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\protractor\lib\browser.ts:66:27)
at ProtractorBrowser.to.(anonymous function) [as takeScreenshot] (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\protractor\lib\browser.ts:74:12)
at D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\serenity-js\src\serenity-protractor\screenplay\abilities\browse_the_web.ts:42:41
at D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules@serenity-js\core\src\recording\async.ts:4:8
at new Promise ()
at Object.defer (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules@serenity-js\core\src\recording\async.ts:3:12)
at BrowseTheWeb.takeScreenshot (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\serenity-js\src\serenity-protractor\screenplay\abilities\browse_the_web.ts:42:16)
at Photographer.photographWorkOf (D:\Julian\Projects\zero_account_frontend\zero-account-frontend\node_modules\serenity-js\src\serenity-protractor\stage\photographer.ts:136:36)
[12:23:48] E/launcher - Process exited with error code 100
These are the versions of the tools:
Versión de Java -> 1.8.0_144
Versión de Node -> 8.9.4
Versión del Chromedriver -> Chromedriver 2.35
Versión del Selenium-Server Standalone -> selenium-server-standalone-3.8.1.jar
Versión de Chrome -> 64.0.3282.140
I was reading a little about this error and I found this:
https://github.com/angular/protractor/issues/4451
I'm not sure if this error is related with this.
Should I downgrade the selenium-server-standalone version?
I noticed also that when the execution finished the chromedriver proccess never closes. If you run several times you will have a couple of process running.
I used the command: tasklist | find /I /C "chromedriver" to count the number of proccess running.

I've seen quite a few conditions like this on my projects where Photographer throws exceptions and I'm coming round to thinking that any WebDriver type error should probably be swallowed (e.g. take the approach in #148 a step further), as I don't think that the stage crew should ever be responsible for making the screenplay a failure?

My solution for this was made a downgrade for the selenium standalone to 3.0.1.
In order to make sure all the teams download that specific version I created the following script in the package json:
"webdriver:update": "npm run webdriver-manager update -- --standalone --versions.standalone 3.0.1",


Simplify call resolution logic

This PR simplifies our call resolution logic. Over time the resolveCall function had gotten quite unwieldy, particularly in the getEffectiveArgumentXXX functions that abstracted over access to the argument list. We now always construct an argument list and use SyntheticExpression nodes to represent synthetic arguments. Also, for reasons not entirely clear, we would include context sensitive arguments one at a time, with intervening full rounds of inference and applicability checking, instead of just including all of them in one go. The code is now easier to follow and about 250 lines shorter.

Will this fix #26426 which @andy-ms had investigated to be in same area.

@sheetalkamat No, this has no effect on #26426.

@typescript-bot test this por favor

Running RWC locally to get diffs

@weswigham running the tests locally doesn't yield any diffs. Ideas?

@RyanCavanaugh the test fails if rwc on master isn't clean. The bit should open a PR on our RWC repo with the diff if there is one.


added tcc-specific section for build timeout

the global settings are not available in tcc

we've migrated to another doc building engine (Writerside). This one has slightly different syntax, for example {product="xxx"} is now {instance="xxx"}, and {type="note/tip/warning"} is now {style="..."} :)


Misc doc changes

Besides other documentation changes, this commit ensures the generated
HTML doc for HexDocs.pm will become the source of truth for this Elixir
library and leverage on latest features of ExDoc.

Hi! Wow, thanks, that's quite a comprehensive update to the documentation! Appreciated!
Can I ask what motivated you to do these updates? Not complaining just always curious?
After a quick look the only thing which caught my eye is that I think you drop the .elixirls exception from the .gitignore? I'm using vscode with the elixirls plugin and it's useful to exclude it's assets. Do you think you could just tweak that part of your proposed patch please?

Hi! Wow, thanks, that's quite a comprehensive update to the documentation! Appreciated!

Welcome.

Can I ask what motivated you to do these updates? Not complaining just always curious?

Fixing typos or documentation while code reading the particular Elixir library.

After a quick look the only thing which caught my eye is that I think you drop the .elixirls exception from the .gitignore? I'm using vscode with the elixirls plugin and it's useful to exclude it's assets. Do you think you could just tweak that part of your proposed patch please?

Isn't ElixirLS already self-ignored the .elixir_ls folder? I tried this after opening the source code using VSCode.
$ cat .elixir_ls/.gitignore
*

@ewildgoose Any updates on this?

This is brilliant. Thanks, committed. I appreciate your work on this - apologies for the slow response, I think I need to check github settings, for some reason I don't seem to get notifications, but only on this repo?

No worries, just follow up on long pending PRs. Probably need to re-check your GitHub's setting. Thanks.
:tada: :tada: :tada: :tada: :tada:


What is the maximum number of occupants allowed in group chat?

I could not find any info on the documentation (free tier)

https://docs.agora.io/en/Real-time-Messaging/faq/rtm_concurrency

Thanks you @LichKing-2234
So even in free tier there is no limit on the number of occupants but just a limit on number of messages sent per second.
got it.


Toaster closeButton option

Hi,
I would like to have a possibility to manually define a way of displaying toaster. For example, I would have an option closeButton on the error notifications.
How can I do that?
I've done something like this, but it doesn't work:
toaster.pop('error', 'Error message', {
closeButton: true
});

Hi,
currently you can defined close button only for all toasts, not for just some.
I am sorry but I am busy with other projects so I am not able to add this functionality.
If you create a PR then I will merge it.
Jiri.


Add page to first of document

Hi, I scanned a book with this app. (Chapter 2-8)
Now I want add chapter 1 to the first of book.
Please add a feature to add pages to the first of book.

A functionality that could be used for

rearranging pages before saving
deleting individual pages

would be great.


Optionally flush the producer before commiting the transaction

In mixed workloads with both database writes and Kafka records production, flushing the Kafka producer before committing the JDBC + synchronized Kafka transaction would maximize the chances of both transactions completing in the same committed or rolled back state.
Use case:

JDBC / DataSourceTransactionManager transaction start
Database writes
Transactional KafkaTemplate send. The KafkaProducer transaction is automatically started and synchronized to the DS transaction.
More database writes
Proposal: Add here optional automatic Kafka producer flush
JDBC commit
Kafka producer commit

For this use case if the Kafka cluster is unavailable or one of the topics cannot accept writes, and the futures returned by KafkaTemplate are not awaited, then the JDBC transaction is commited and the Kafka transaction fails to commit.

Maybe this could be an interesting safeguard for situations were the KafkaTemplate futures are unintentionally not awaited, or to simplify situations where further processing is intended to execute in parallel with the async part of the Kafka send and where passing the futures around is cumbersome.

@bgK Interesting proposal. If I understand your proposal correctly, the flush in your step 5 flushes the records that are sent in step 3, right?
From the javadoc of flush:

The post-condition of flush() is that any previously sent record will have completed

Therefore, by adding a flush in step 5, we capture any issues with Kafka publishing and if it fails, no commits will happen (steps 6 and 7 above). I just wanted to make sure that I got that right.
I think this is a reasonable request. Are you willing to submit a PR? If you can, that would be great. Otherwise, we can look at this as part of the 3.2.0 (or beyond) backlog.

Hi,

Therefore, by adding a flush in step 5, we capture any issues with Kafka publishing and if it fails, no commits will happen (steps 6 and 7 above). I just wanted to make sure that I got that right.

Yes, exactly.
So, I tried implementing this and it didn't work. I incorrectly assumed that flush would throw if one of the pending records failed to produce. It doesn't.
In our system we accumulate the futures returned by KafkaTemplate sends in a TransactionSynchronization, and await them in the beforeCommit hook. This has worked well for us for some years now, and I wanted to see if it could be implemented in Spring Kafka directly. Our solution might not scale well for people who want to send very large amounts of records in a single transaction. I incorrectly assumed flush could be used instead.


Example usage with Next.js

The suggested approach (to use next/dynamic) did not work for me. I could not use Allotment.Pane after dynamically importing with ssr:false, neither from allotment directly nor from an intermediate component file.
But I got it to work using combination of plain import and useEffect just fine.
https://codesandbox.io/s/nextjs-typescript-allotment-c7yvk?file=/components/Panes.tsx

Hi @optimistiks. Thanks for the feedback 🙏.
I'll take a look, make sure I understand what's going on, then add this to the documentation.

To add, the suggested approach using next/dynamic in the other issue is incorrect. As per this comment from a Next maintainer, next/dynamic is only used to import components.

The library is now being successfully used in several NextJS projects. I will check what the status is.

Any updates on this? I'm trying with NextJS 13 but I don't get the blue bars rendered on hover. It looks like its SSRing and showing the smallest possible container size.

The library is now being successfully used in several NextJS projects. I will check what the status is.
Would you be so kind to link a working example? I am not able to make the Panes work, nor register a ref successfully with Next12 and React 18.

the ref.current returns and object with the retry function only

Based on the linked code sandbox, I created this hook, it works but has an issue.
It produces a warning
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

If you have a fix for it, please post it (probably forwardRef or convert default state to class-based components), if you don't care feel free to use it. 😄
import { ComponentType, Ref, useEffect, useRef, useState } from "react";

import { AllotmentHandle, AllotmentProps, PaneProps } from "allotment/dist/types/src/allotment";

function useAllotment() {
  const isMountedRef = useRef(false);
  const allotmentRef = useRef<AllotmentHandle>({
    resize: (sizes = [0, 0]) => {
      console.warn("Allotment is not mounted yet", sizes);
    },
    reset: () => {},
  });

  const [Allotment, setAllotment] = useState<
    ComponentType<AllotmentProps & { ref?: Ref<AllotmentHandle> }> & {
      Pane: ComponentType<PaneProps>;
    }
  >(
    () => {
      function Allotment({ children }: AllotmentProps) {
        return <>{children}</>;
      }

      Allotment.Pane = function ({ children }: PaneProps) {
        return <>{children}</>;
      };

      return Allotment;
    },
  );

  useEffect(() => {
    isMountedRef.current = true;
    import("allotment")
      .then(mod => {
        if (!isMountedRef.current) {
          return;
        }

        setAllotment(mod.Allotment);
      })
      .catch(err => console.error(err, `could not import allotment ${err.message}`));

    return () => {
      isMountedRef.current = false;
    };
  }, []);

  return { allotmentRef, Allotment };
}

export default useAllotment;

I can confirm I got allotment working with my Next.JS v13 app
I did need to use the dynamic export
Here is what I did...
my-cmp-using-allotment.tsx
    <Allotment>

    </Allotment>

my-cmp-importing-that.tsx
export const AllotmentCmp = dynamic(
  () => import('@/app/components/example.component'),
  { ssr: false }
)

function App(){
   return (
      <AllotmentCmp/>
   )
}


⚠ Bofrost.be has degraded performance

In 500a466, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1296 ms

Resolved: Bofrost.be performance has improved in 11af8c6.


default esbuildTarget is es2020: so that optional chaining can work with terser minification?

https://github.com/vuejs/vitepress/issues/120

Yes.The<EMAIL_ADDRESS>is already support it.


"gamma-glutamylcyclotransferase activity" - change EC xref and parentage

gamma-glutamylcyclotransferase activity (GO:0003839) currently has EC xref of <IP_ADDRESS> and is a child of "transferase activity, transferring amino-acyl groups" (GO:0016755) - so is classed as a 'transferease' in the GO.
I don't know why or when, but that EC number is now obsolete and the activity has been transferred to <IP_ADDRESS>
https://enzyme.expasy.org/EC/<IP_ADDRESS>
https://enzyme.expasy.org/EC/<IP_ADDRESS>
This means it's now classed as a 'lyase', and should probably become a child of "amidine-lyase activity" (GO:0016842) in the GO.
If you agree, please change the EC xref and parentage as above.

Hmm, just realised this issue is mentioned in #14075. But it doesn't look like the specific issue with moving GO:0003839 to the lyase branch and updating its EC xref got actioned?


Install failed<EMAIL_ADDRESS>

Description
When I try to install it. It fails and outputs this.
Installing<EMAIL_ADDRESS>failed.
><EMAIL_ADDRESS>postinstall C:\Users\math438m\AppData\Local\Temp\apm-install-dir-1171030-5928-f4e4is.cvn0442t9\node_modules\atom-beautify\node_modules\coffee-script
> node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + "\"coffee-script\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'

C:\Users\math438m\AppData\Local\Temp\apm-install-dir-1171030-5928-f4e4is.cvn0442t9
`-- (empty)

npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[eval]:1
'if
^^^
SyntaxError: Invalid or unexpected token
    at Object.exports.runInThisContext (vm.js:76:16)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:570:32)
    at Immediate.<anonymous> (bootstrap_node.js:357:29)
    at runCallback (timers.js:649:20)
    at tryOnImmediate (timers.js:622:5)
    at processImmediate [as _immediateCallback] (timers.js:594:5)
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\math438m\AppData\Local\Temp\apm-install-dir-1171030-5928-f4e4is.cvn0442t9\package.json'
npm WARN apm-install-dir-1171030-5928-f4e4is.cvn0442t9 No description
npm WARN apm-install-dir-1171030-5928-f4e4is.cvn0442t9 No repository field.
npm WARN apm-install-dir-1171030-5928-f4e4is.cvn0442t9 No README data
npm WARN apm-install-dir-1171030-5928-f4e4is.cvn0442t9 No license field.
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\\Users\\math438m\\AppData\\Local\\atom\\app-1.22.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\math438m\\AppData\\Local\\atom\\app-1.22.1\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\math438m\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\math438m\\.atom\\.apmrc" "install" "C:\\Users\\math438m\\AppData\\Local\\Temp\\d-1171030-5928-o1ufzd.7opeva38fr\\package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" "--msvs_version=2015"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + "\"coffee-script\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + "\"coffee-script\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }''.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the coffee-script package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + "\"coffee-script\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs coffee-script
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls coffee-script
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\math438m\AppData\Local\Temp\apm-install-dir-1171030-5928-f4e4is.cvn0442t9\npm-debug.log
npm ERR! code 1

Steps to Reproduce
When trying to install.
Checklist
I have:

[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Tried to run Atom as admin when installing
[x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.

Same here :)

Same here ...

i also have the same problem

I also have the same problem, pls fix that. I'm re-install atom, delete all atoms dirs, and then try to install atom-beautify same problem(

Yup. Same.
Installing<EMAIL_ADDRESS>failed.Hide output…

<EMAIL_ADDRESS>postinstall C:\Users\ambar\AppData\Local\Temp\apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9\node_modules\atom-beautify\node_modules\coffee-script
node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + ""coffee-script"" + reset + " to use " + yellow + ""coffeescript"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'

C:\Users\ambar\AppData\Local\Temp\apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9
`-- (empty)
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[eval]:1
'if
^^^
SyntaxError: Invalid or unexpected token
at Object.exports.runInThisContext (vm.js:76:16)
at Object. ([eval]-wrapper:6:22)
at Module._compile (module.js:570:32)
at Immediate. (bootstrap_node.js:357:29)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\ambar\AppData\Local\Temp\apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9\package.json'
npm WARN apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9 No description
npm WARN apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9 No repository field.
npm WARN apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9 No README data
npm WARN apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9 No license field.
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Users\ambar\AppData\Local\atom\app-1.22.1\resources\app\apm\bin\node.exe" "C:\Users\ambar\AppData\Local\atom\app-1.22.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\ambar\.atom\.apm\.apmrc" "--userconfig" "C:\Users\ambar\.atom\.apmrc" "install" "C:\Users\ambar\AppData\Local\Temp\d-1171030-7180-oqt2lp.qyitua0pb9\package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + "\"coffee-script\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + ""coffee-script"" + reset + " to use " + yellow + ""coffeescript"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }''.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the coffee-script package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + ""coffee-script"" + reset + " to use " + yellow + ""coffeescript"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs coffee-script
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls coffee-script
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\ambar\AppData\Local\Temp\apm-install-dir-1171030-7180-1ofve4q.7fxy25ipb9\npm-debug.log
npm ERR! code 1

Please run apm clean from your terminal and try again.


Git

Do you feel confident with the Git flow?

Git flow is second nature to me now
On Fri, Jul 12, 2019, 1:07 PM Sydney Crumley<EMAIL_ADDRESS>wrote:

Do you feel confident with the Git flow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KeshawnSharper/Git-for-Web-Development-Project/pull/1?email_source=notifications&email_token=AKO32KPO3PKNHMZ7QHCZLMLP7C26JA5CNFSM4IBWZOTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2KRNA#issuecomment-510961844,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKO32KOMWWYNZS5AF2IP2SDP7C26JANCNFSM4IBWZOTA
.

Git is second nature to me now
On Fri, Jul 12, 2019, 1:10 PM tg marcus<EMAIL_ADDRESS>wrote:

Git flow is second nature to me now
On Fri, Jul 12, 2019, 1:07 PM Sydney Crumley<EMAIL_ADDRESS>wrote:

Do you feel confident with the Git flow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KeshawnSharper/Git-for-Web-Development-Project/pull/1?email_source=notifications&email_token=AKO32KPO3PKNHMZ7QHCZLMLP7C26JA5CNFSM4IBWZOTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2KRNA#issuecomment-510961844,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKO32KOMWWYNZS5AF2IP2SDP7C26JANCNFSM4IBWZOTA
.


Feature/#7 fix deps

https://github.com/thelazurite-cell/autobahn-core/pull/10/checks?check_run_id=6084249220


Bug in PModel.summarize

The PModel.summarize method was using getattr rather than hasattr to test whether the PModel.estimate_productivity method had been run. This fixes that error and adds a test for the correct functioning of the PModel.summarize method.

Ooops - this PR branch is forked off a feature branch, not develop.


Multiple port using --publish option

Hi
I have a question about --publish option. How can we publish multiple ports when we create the cluster? It is not clear for me what is the format of the input to publish multiple ports.
Thanks

Hey there,

ou use --api-port (once) to specify the published port of the Kubernetes API-Server (6443 by default).
Then you use the --publish flag as often as you want to publish any number of additional ports.
Example: k3d create --api-port 6448 --publish 8976:8976 --publish 6789:6789 -n test-ports
This will show up in docker like this:

CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS              PORTS                                                                    NAMES
0bc54618c54e        rancher/k3s:v0.7.0   "/bin/k3s server --h…"   3 seconds ago       Up 2 seconds        <IP_ADDRESS>:6448->6448/tcp, <IP_ADDRESS>:6789->6789/tcp, <IP_ADDRESS>:8976->8976/tcp   k3d-test-ports-server

Be aware though, that there are some pitfalls when using the --publish flags while creating a multi-node cluster (because you cannot map the same host port to multiple containers/nodes).
Does that answer your question good enough? :+1:

Thanks for your answer. Yes it is perfect and answers my question.


RHINENG-11968: Add info about more task conversion parameters

Changes made by this PR:

Can I get a review please @RedHatInsights/platform-experience-services ?  It is a small change to the Insights Tasks conversion documentation.

FWIW the respective documentation lives here: https://docs.redhat.com/en/documentation/red_hat_insights/1-latest/html-single/converting_from_a_linux_distribution_to_rhel_using_the_convert2rhel_utility_in_red_hat_insights/index#reviewing-the-pre-conversion-analysis-report-using-insights_converting-from-a-linux-distribution-to-rhel-in-insights


referer is undefined if no session

If I return a page without session, then the following exception occurs in puppet.js
Uncaught TypeError: Cannot read property 'replace' of null

puppet.js:191

var wsPath = this.referer.replace(/__([^\/]*)\//g, "__$1/wsupgrade/");

@warpech should puppet.js work without session or this is desired behaviour?

In my opinion puppet.js must have a session. @tomalec do you agree?
There is another issue regarding that the error message in this case is too cryptical: https://github.com/PuppetJs/PuppetJs/issues/49

Ping @tomalec
Also, this is related to https://github.com/PuppetJs/PuppetJs/issues/58

Technically I would say that PuppetJs itself does not need a session. It just needs (http/ws) URL to send patches to. So it's Starcounter server-side that needs a session. Solving it as in #58 would be cool, and simplify unclear presence of this.referer in puppet.
Until #58 gets clarified we canprovide nice error message.

After giving it a second thought, I agree with @tomalec.
The JavaScript error in topic will be automatically gone after #58 is solved, because #58 merges this.remoteUrl and this.referer.
The problem of what happens if you don't create Starcounter Session on server will remain though and let's discuss that one in issue #49.

Should I close this issue then?

Please close it after #58 is solved

#58 is solved now. @miyconst can you check what does happen now if the server returns a page without a session?

Server does not return x-location header/cookie if there is no session, that is why puppet tries to open ws connection to the initial remoteUrl, which is equal to windlow.location.href, and then fails with an exception:
WebSocket connection to 'ws://localhost:8080/images' failed: Error during WebSocket handshake: Unexpected response code: 200

P.S. I was testing on Images app.

I guess this error comes from the web browser, not from PuppetJs. Is this a fatal condition for PuppetJs or just a warning, after which PuppetJs works in HTTP PATCH mode?
If this is not a fatal condition for the client then I think the problem is solved. The programmer should understand from the error message that he needs to set useWebSockets to false on client, or implement WS on server.

This is an error from PuppetJs:
that._ws.onerror = function (event) {
   throw new Error(" ... ");
}

App in such state is not usable. The servers responds with 406 to GET application/json-patch+json requests and 404 to PATCH application/json-patch+json requests.

I think this is OK for the client.
I find the 404 response to be misleading and that should be fixed on the server side. I will create a separate issue about that.

Closing as fixed. Changing the misleading server responses is tracked in #49.


node/share: Integrate share.Getter

Overview
After implementing a set of Getters, we must integrate and compose them according to node type requirements.
Integration matrix
The table below describes the composition of different Getters per node type.

StoreGetter
ShrExGetter
IPLDGetter
CascadeGetter
TeeGetter

LN

X
X
X

FN
X
X
X
X
X

BN
X

NOTES:

X - node type uses column's Getter impl
Columns are ordered by priority and should be supplied to CascadeGetter in the order, if applicable
TeeGetter wraps the CascadeGetter
FN should have a configuration option to be run with IPLDGetter only to enable more experiments with reconstruction.

Closed by #1729


Agents not working

weird its working in my site

@candied-apple I checked also on his website and is also working

weird its working in my site

Works fine for me too

Your picture is a cache problem always remember to CTRL + F5 to reload the website after an update.


Image batch upload failed

I've try to upload image
But returns:
Adding images...
Image batch upload failed.
Image status:  ErrorUnknown
Image status:  ErrorUnknown
Image status:  ErrorUnknown
Image status:  ErrorUnknown
...
I've the status of upload_result and print these information below:
{'additional_properties': {}, 'is_batch_successful': False, 'images': [<azure.cognitiveservices.vision.customvision.training.models.image_create_result_py3.ImageCreateResult object at 0x107cc4630>, <azure.cognitiveservices.vision.customvision.training.models.image_create_result_py3.ImageCreateResult object at 0x107cc4780>
Is there anyway to fix this and to upload my images successfully?

Hi @ericjiang18 , There should be some additional information in the status field of the images in the batch returned. i.e. if using the sample code:
if not upload_result.is_batch_successful:
    print("Image batch upload failed.")
    for image in upload_result.images:
        print("Image status: ", image.status)

I'm curious what the status says.

That is really strange!
The code I am using is:
for i in range(0,len(tagged_images_with_regions),64):
batch = tagged_images_with_regions[i:i+64]
#print(batch)
upload_result = trainer.create_images_from_files(project.id, images=batch)
print(upload_result)
if not upload_result.is_batch_successful:
print("Image batch upload failed.")
for image in upload_result.images:
print("Image status: ", image.status)
exit(-1)
However the terminal print:
Creating project...
Adding images...
{'additional_properties': {}, 'is_batch_successful': False, 'images': [<azure.cognitiveservices.vision.customvision.training.models.image_create_result_py3.ImageCreateResult object at 0x1030047b8>, <azure.cognitiveservices.vision.customvision.training.models.image_create_result_py3.ImageCreateResult object at 0x1030047f0>, <azure.cognitiveservices.vision.customvision.training.models.image_create_result_py3.ImageCreateResult object at 0x103004be0>...
}
Image batch upload failed.
Image status:  ErrorUnknown
Image status:  ErrorUnknown
Image status:  ErrorUnknown

@areddish

@YutongTie-MSFT

Can you show the code that is creating one of the ImageFileCreateEntry? Usually ErrorUnknown has something to do with the contents field of the ImageFileCreateEntry. It typically means we can't determine what the data is in the content field.

Here is the code
`
for file_name in bus_stop_image_regions.keys():
x,y,w,h = bus_stop_image_regions[file_name]

regions = [ Region(tag_id=bus_stop_tag.id, left=x,top=y,width=w,height=h) ]

with open("/Users/broccoli/Desktop/mturk_516/" + file_name + ".jpg", mode="rb") as image_contents:

    tagged_images_with_regions.append(ImageFileCreateEntry(name=file_name, contents=image_contents.read(), regions=regions))

`

The tagged_images_with_regions print: [<azure.cognitiveservices.vision.customvision.training.models.image_file_create_entry_py3.ImageFileCreateEntry object at 0x10b9e42b0>] etc.
the ImageFileCreateEntry print:
<class 'azure.cognitiveservices.vision.customvision.training.models.image_file_create_entry_py3.ImageFileCreateEntry'> etc.

Another thing to check is the bus_stop_tag.id - you can get ErrorUnknown if the tag can't be found or you use a tag id from a different project. To check you can add this code just before uploading images
t = trainer.get_tag(project.id, bus_stop_tag.id)
print("Found",t.name,"with id = ",t.id)

It will return a CustomVisionErrorException if the tag isn't found.

I think it is the problem:
File "Training.py", line 34, in
t = trainer.get_tag(project.id, bus_stop_tag.id)
File "/Users/broccoli/Desktop/bus_stop_sign_detection-master/code/env/lib/python3.7/site-packages/azure/cognitiveservices/vision/customvision/training/custom_vision_training_client.py", line 2510, in get_tag
raise models.CustomVisionErrorException(self._deserialize, response)
azure.cognitiveservices.vision.customvision.training.models.custom_vision_error_py3.CustomVisionErrorException: Tag not found

So what should I do?

Depends on how you are running the code. If you are creating the project and tag each time you run, then you should be ok as you should be using the return of create_tag.
If you are adding images to the project after it's created it's better to look up the tag each time. Something like this:
project_tags = trainer.get_tags(project.id)
bus_stop_tag = next(filter(lambda t: t.name == "bus stop", project_tags))

Replacing bus stop with the name of the tag

It returns: StopIteration

StopIteration means either the project_tags was an empty list or that it didn't find the tag in the project. You could dump out all of the tags and to see what's in the project:
project_tags = trainer.get_tags(project.id)
print ("Found", len(project_tags), "tag(s)")
for t in project_tags:
    print(t.name, t.id)

I got it! When it runs, some print:
Image status:  ErrorUnknown
Image status:  OK
Image status:  OKDuplicate
Image status:  OK
Image status:  OKDuplicate
Image status:  OKDuplicate
Image status:  ErrorUnknown

OKDuplicate means that it's the same image as one already in the project. So it should just add that region to the original image. You can avoid that by adding more than one region into the regions array you pass into ImageFileCreateEntry
I would suspect the ErrorUnknown ones are sending a tag id that can't be found in the project. I'll file an internal task to add an ErrorTagNotFound or something to make it more easy to debug in the future.

Got it! It all works fine!
Huge Thanks!

Hello  @areddish , I had a similar problem while uploading. (Image status: OKDuplicate) . Can you please what exactly array should I pass for regions??
image_list = []
    i = -1

    # Uses subfolder names to create labels
    for folder_name in list_subfolders_with_names:
        i += 1
        tag = trainer.create_tag(project.id, list_subfolders_with_names[i])
        for image_file in os.listdir(START_PATH + "/{}".format(folder_name)):
            with open(START_PATH + "/" + folder_name + "/{}".format(image_file), "rb") as image_contents:
                image_list.append(
                    ImageFileCreateEntry(name=image_file, contents=image_contents.read(), tag_ids=[tag.id]))


Unable to set Destination Values

I am successfully able to bind source values. I am unable to bind the destination array.
The arrays are in the same format.
.html

          Select Profile(s):
          <mat-divider></mat-divider>
          <dual-list [source]="source" [(destination)]="confirmed" height="300px"></dual-list>

.ts
source = [];
  confirmed = [];
  name: string;

  constructor(
    public dialogRef: MatDialogRef<UpdateCategoryComponent>,
    @Inject(MAT_DIALOG_DATA) public data: any) {
    this.source = data.source;
    this.confirmed = data.selected;
  }

Arrays:
selected:["ABC", "BCA", "CAB"]
confirmed : ["PQR", "RQP", "QPR"]

Even I am having the same issue.
My destination array is coming from a service.

Okay, so I've been using it incorrectly. And I guess so have you.
The destination must be a subset of the source.
https://github.com/czeckd/angular-dual-listbox/issues/55

Even i am getting destination array as empty any suggestions

The documentation is little confusing. Finally understood that the source has to be full list of items and destination has to be subset. For example:
source = [1,2,3,4,5]
destination=[1,2]
Control will take care of displaying [3,4,5] in source and [1,2] in the destination.
So make sure source have all the items in the list and destination will have subset of the source based on the key of the objects.
One feature that is missing is to get a changed set vs original. How can you get the items that were added and deleted? Maintain original destination and compare the final one to get change set.

do not delete records from the source list because if you do so in the destination list the selected objects will not appear


Not working message filtering

Hi!
First off all: Awesome job!
I've encountered an issue:
I'm not sure if this is a bug or this feature is simply not supported but...
I'm using filtering message feature (https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) and it looks like sns offline triggers all lambdas in the topic.
I just added to lambda description in serverless.yaml:
Lambda1:
 handler: ...
  events:
   - sns: MyTopic
      filter:
          my_filter_name:
            - myFilterValue

Lambda2
 handler: ...
  events:
   - sns: MyTopic
      filter:
          my_filter_name:
            - myFilterValue2

Publishing to sns with parameter my_filter_name=myFilterValue2 triggers both lambdas.
Everything works perfectly on AWS.
Can someone clarify that, please? Is that not supported?

The filter policy is not supported by CloudFormation yet, you can't use it in the serverless configuration yet. It's the same problem for SAM: https://github.com/awslabs/serverless-application-model/issues/261

You can now set SNS subscription attributes via CloudFormation templates. This includes FilterPolicy.
https://aws.amazon.com/blogs/compute/managing-amazon-sns-subscription-attributes-with-aws-cloudformation/

still not working for me, any example on how to implement it?


Renaming query should update the bindings depending on it

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
When renaming a query, it would be great if the bindings can be automatically updated.
Examples 🌈
For e.g. updating the name of a query, which data is used in a data grid, ideally shouldn't break everything, especially if the data from the query is used in multiple places.
Motivation 🔦
This feature would help a lot when refactoring.

Possible duplicate of https://github.com/mui/mui-toolpad/issues/94 ?

Yep, closing.


Purple dot is redundant if red dot is also there

A portal capture counts as a portal visit, so the purple dot is redundant if the red dot is also there. This will make the UI less cluttered because you only have to display one dot.

The unique marker has been changed to a circle around the portal marker , so this does not apply an more


App auth chrisda

Docs Build status updates of commit 0f34f37:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

_dependentPackages/CommonPlugins/tools/PowerShellReference.ps1
:x:Error

Details

[Error] The step SetupFusionToc failed, (Line: 2, Col: 1, Idx: 2) - (Line: 2, Col: 1, Idx: 2): No node deserializer was able to deserialize the node into type Microsoft.DocAsCode.DataContracts.Common.TocItemViewModel, Microsoft.DocAsCode.DataContracts.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

_dependentPackages/CommonPlugins/tools/PowerShellReference.ps1

Line 108: [Error] Error happened when executing plug-in script _dependentPackages/CommonPlugins/tools/PowerShellReference.ps1 at step docset_prebuild. Please check your .openpublishing.publish.config.json?on the configuration of the plug-ins or ask for help?in Docs Support teams channel. Detailed error message: {"message":"The step SetupFusionToc failed, (Line: 2, Col: 1, Idx: 2) - (Line: 2, Col: 1, Idx: 2): No node deserializer was able to deserialize the node into type Microsoft.DocAsCode.DataContracts.Common.TocItemViewModel, Microsoft.DocAsCode.DataContracts.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","source":"","file":null,"line":null,"message_severity":0,"date_time":"2020-04-27T23:03:18.2311199Z","code":"PowerShellReference_Step_Failed","log_item_type":1}.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add binstub for publishing gem ;F

This PR adds a binstub that allows for easy publishing of this gem to RubyGems. The binstub will programmatically check to make sure you are on the right branch, that you have no uncommitted changes, and that you are logged with the gem tool and thus able to push the gem. It then makes all the necessary updates (including updating the changelog), pushes those changes to github, and then releases the gem.

@bharget Given that this does not affect behavior of the actual gem, I am going to go ahead and merge so that I can cut a release for 0.0.1


[objc] Managed to native callbacks

Right now we can only make native consume managed API but there's no two way integration. E.g.

delegates: the C# (not ObjC) ones;

interface calls: when a native instance conforms to a protocol that is a .net interface;

subclassing: when a native instance overrides a managed member - that's trickier since everything is virtual in ObjC;

I'm not sure it's possible to implement virtual methods without some kind of runtime support:
public class A {
    public virtual int X () { return 0; }
    public static void ShowX (A a) { Console.WriteLine (a.X ()); }
}
public class B : A {
    public override int X () {  return 1; }
}

@interface C : B
-(int) X;
@end
@implementation C
{
-(int) X {
    return 2;
}
int main ()
{
    C *c = [[C alloc] init];
    [A showX: c]; // this prints 1, even though C overrides X to return 2.
}

yeah, I'm not even sure if we want to go that deep - that's more than just embedding. Sadly it remains non-obvious from a library consumption point of view (which might not know about the embeddinator)

Maybe we should add comments that says that methods shouldn't be overridden: https://softwareengineering.stackexchange.com/a/183706?

Not ideal but, like your link mention, it's ObjC after all :)
There's quite a few more things we should auto-comment in the headers. Having a @warning on each (with a link to our docs to explain why) sounds like a reasonable approach.


Elements 0.91.0 not working on macOS Sierra 10.12.15

After updating to Karabiner Elements 0.91.0 on macOS Sierra 10.12.5, upon reboot, it ceased to work completely. Nothing I typed on my external USB keyboard would register unless I uncheck Modify events from this device under Devices.
I had to roll back to 0.90.92 downloaded from https://pqrs.org/latest/karabiner-elements-latest.dmg before I could get my external USB keyboard working properly again.

@babychao is there a release build of 0.91.0 somewhere? I could only find that 0.90.92 dmg and I was hoping to avoid installing Xcode on my little macbook :)

Same issue as @babychao - and the rollback to 0.90.92 works, thank you for providing the workaround.

Yes.
Karabiner-Elements Preferences > Misc > Check for beta updates :)

Just installed karabiner-elements and it's not working for me either. =/

@diegodesouza If 0.90.92 doesn't work, try the beta 0.91.0?
If it's vice versa, try to roll back to 0.90.92?

Thank you for feedback!
I've fixed 0.91.0 issue in 0.91.1.

@tekezo Installed 0.91.1 on Sunday. I can confirm it works nicely. Thank you! :)


Start date instead of due date

Hi,
I would like to have a task moved to the backlog when it wasn't moved in the "doing" column for 7 days. Do I just need to change every instance in your plugin from "due" to "start date" and then move the task with another automatic action (because I have an action that moves tasks to the "doing" column when the start date is reached)- or is it more complex?

Hey 3avxxx,
first off, you are aware, that my plugin does not provide the functionality, that you are looking for?
If so ... are you asking what changes to my plugin must be made to achieve your desired functionality?


proxy_protocol_filter: Add field stat_prefix to the filter configuration

Commit Message:
proxy_protocol_filter: Add field stat_prefix to the filter configuration
Additional Description:
This field allows for differentiating statistics when multiple proxy protocol listener filters are configured.
This PR is a follow-up from previous conversation: https://github.com/envoyproxy/envoy/pull/32861#discussion_r1539832395
Risk Level: Low

All client-facing behavior changes are guarded by new filter config field.

Testing:

Stats unit tests
Proxy protocol listener filter integration tests

Docs Changes:
Done
Release Notes:
Done
Platform Specific Features:
None

@ggreenway I believe you have the most context based on https://github.com/envoyproxy/envoy/pull/32861#discussion_r1539832395. Sorry for the late follow-up!

PTAL @jmarantz

PTAL, would like to get this merged soon.

@jmarantz this should be a quick review :)

one documentation nit remains.

one documentation nit remains.

Done, PTAL

Looks like fuzz coverage is broken, seems unrelated to my PR

/retest

PTAL, CI passed

PTAL @jmarantz


style: use JuliaFormatter

When I run the code through the Julia formatter, I get different results.
using JuliaFormatter
format(".")

Did you add any settings when formatting?

When I run the code through the Julia formatter, I get different results.
using JuliaFormatter
format(".")

Did you add any settings when formatting?

Yes, I used the VS Code extention called JuliaFormatter, but your way is better. Maybe we should add that command to the coverage.jl? WDYT?

The formatting looks good.
However, I would add the format script in a separate script. I would be surprised if I ran a coverage script and it also formatted the code. We should also add a GitHub action to verify that the formatting is good.
We can use something like the untested script below
julia ./format.jl
git diff --exit-code

Alternatively, we can use the prebuilt Julia action (https://github.com/julia-actions/julia-format) to do it.


Narrow the matching of the saml metadata

https://github.com/Open-MSS/MSS/blob/f6b3ad110dbfaa12d439cadea6476dcd54d9328d/mslib/mscolab/server.py#L857
This route could also be defined in a loop for each IdP (similar to the acs_post_handler), so that it does not match too broadly. That would remove the requirement for an explicit 404 (and the need for the entire 404 template).

Originally posted by @matrss in https://github.com/Open-MSS/MSS/pull/2069#discussion_r1384900138

Even better, use the (very sparsely documented) any route converter. That way, the function can stay as is and only the route matching string has to be modified.
References:

https://flask.palletsprojects.com/en/3.0.x/api/#url-route-registrations
https://werkzeug.palletsprojects.com/en/3.0.x/routing/#werkzeug.routing.AnyConverter
https://stackoverflow.com/questions/43012860/pass-in-a-list-of-possible-routes-to-flask


Improve documentation

Current documentation is generated from the schemas and not very insightful. Could use an overhaul with more usage and reasoning focused pages.

100% agree with this. It is the first step in getting this format to be more widely used.


Project Manager - corrupted visuals

Godot version
v4.1.dev.custom_build.1c7a62d2c
System information
Windows 10, OpenGL API 3.3.0 NVIDIA 531.79 - Compatibility - Using Device: NVIDIA Corporation - NVIDIA GeForce GTX 1070
Issue description
I build Godot from the master branch nightly on Windows. For a while the Project Manager has been displaying corrupted visuals as below:

I went back through the commits from the past month and determined that it first appears when compiling PR #76092 with the commit ID of 1c7a62d2c0.
For now I can work around the issue by starting Godot with my project directly. In doing this I've not noticed any other issues beyond the Project Manager.
Steps to reproduce
No, sample code. Just building Godot on Windows 10.
Minimal reproduction project
No project needed.

Looks like I can resolve this issue by deleting %APPDATA%\Godot\shader_cache. Perhaps that is sufficient and the issue can be close, or it may suggest that other users will have issues when upgrading versions.

In my case same issue a bit more problematic, because it is introduced when I switch between integrated and dedicated GPUs (both AMD). Deleting %APPDATA%\Godot\shader_cache always helps but it is not a perfect solution as I need to do it each time I switch to/from battery and power supply.

I've seen it too on Linux after my distro upgraded Mesa from 23.0 to 23.1, and it's indeed related to the shader cache added in #76092 (CC @ChibiDenDen). The shader cache is only valid for a given GPU + driver combination, so it needs to be invalidated / ignored whenever the GPU or drivers change.
We discussed this with @clayjohn on RC a couple of days ago:

clayjohn: From the spec: A program binary may fail to load if the implementation determines that there has been a change in hardware or software configuration from when the program binary was produced such as having been compiled with an incompatible or outdated version of the compiler.
So it sounds like it is our problem indeed.
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramBinary.xhtml
Akien: But naturally they don't recommend any API you can use to track this and encode it in your shader cache 😛
clayjohn: Nope. Its probably not possible. In 3.x we just fail shader compilation and delete the entry from our cache which forces the engine to recompile and cache again
Akien: Sounds good enough.

I think it should be enough to verify that glProgramBinary succeeds and fail loading otherwise (recompilation and overwrite for the shader cache should happen automatically)

I think it should be enough to verify that glProgramBinary succeeds and fail loading otherwise (recompilation and overwrite for the shader cache should happen automatically)

Yes, I think so. It should not be too difficult to fix. We just need to check if the link was successful before returning from load_from_cache. We should instead return false if the link fails


Update problem

hi ,cau u please help me with update ?
I updated the youtube-dl to latest version via ssh
============
[user@video ~]# youtube-dl -U
youtube-dl is up-to-date (2<IP_ADDRESS>)
============

but on my site is still outdated..
[debug] System config: [u'--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=U-HfHDbTmBQ']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968
[debug] youtube-dl version 2016.05.16
[debug] Python version 2.7.5 - Linux-3.10.0-042stab112.15-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: ffmpeg 2.2.1, ffprobe 2.2.1
[debug] Proxy map: {}
[youtube] U-HfHDbTmBQ: Downloading webpage
[youtube] U-HfHDbTmBQ: Downloading video info webpage
[youtube] U-HfHDbTmBQ: Extracting video information
[youtube] {22} signature length 40.43, html5 player en_US-vflkX1eCa
[youtube] U-HfHDbTmBQ: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflkX1eCa/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 995, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 910, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 973, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python2.7/site-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'ur'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
 (caused by ExtractorError(u"Could not find JS function u'ur'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 995, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 910, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 973, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python2.7/site-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'ur'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 676, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1568, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 995, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 910, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 973, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python2.7/site-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'ur'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
 (caused by ExtractorError(u"Could not find JS function u'ur'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

what can be the problem ?
any solutions ?

Obviously you are using several copies of youtube-dl. Update the copy your website is using.


Add support for Nintendo EShop

Changelog

Added support for nintendo eshop on Bind.

This is now solved as of commit f82d2b3f We are now building the DNS for available services from uklans/cache-domains If there are any domains missing, please issue a pull request on that project.


C# generation honours proto namespace

Current coverage is 83.29% (diff: 100%)

Merging #785 into master will increase coverage by <.01%

@@             master       #785   diff @@
==========================================
  Files           314        314
  Lines         11907      11910     +3
  Methods           0          0
  Messages          0          0
  Branches       1564       1564
==========================================
+ Hits           9918       9921     +3
  Misses         1561       1561
  Partials        428        428

Powered by Codecov. Last update 12bd774...fa27686


Write documentation

No need to start yet, I think we should finish the entire functionality first, but just to track it here.
I've set up the scaffolding for this at https://github.com/anthofflab/MPSGE.jl/tree/main/docs.

https://documentation.divio.com/


[http] split out codec stats in to their own library

Commit Message: No-op, but moves codec stats to their own library so that when codec splits for exception removal, the diffs can be minimal and the stats can be shared between codecs and their legacy clones. This will minimize the golden diff in fix_format for less confusion during the deprecation period.
Risk Level: Low
Testing: bazel test test/...
Signed-off-by: Asra Ali<EMAIL_ADDRESS>

/cc @yanavlasov


fix: Fix wrong tooltip styling to form controls with no tooltips

Tooltip styles were being attached to Form control labels with no tooltip text assigned to them. This PR fixes that.
Fixes #14987

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Manual
Checklist:

[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] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=8a46d37

/ok-to-test sha=f32753e

/ok-to-test sha=dda0a79

/ok-to-test sha=6cd68e9

/ok-to-test sha=52c356a

@prapullac - Can you please test for the Bug #14987 in this DP & add TestPlanApproved label accordingly?


Make BlasType public

Can I make BlasType public? That operation can be useful when writing a module outside of lubeck that depends on calling lubeck functions.

Yes, thank you

v1.1.8


return cleanly when return non-zero

remove the incorrectly appended "":
runv exec test_busybox command-does-not-exist
exec failed: No such file or directory

Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

Should we fix osProcessWait() instead? e.g., make sure it always set err if exit status is non-zero.

non-zero exitcode returns from the process doesn't mean error.

@bergwolf updated

/lgtm!


rust: Support interface description

Support below configuration:
---
interfaces:
  - name: eth1
    state: up
    description: testing_nic1

Integration test case enabled.

@cathay4t looks like the dependency was merged

Ready for review.


Followed directions to install this sample on my Theta X but...

... when I get to the point of "running" it in "Android Studio" (chipmunk) it just tries to run on a pixel phone emulator. I DO have my Theta X plugged into my Mac Book Pro. Things seemed to be working in the dev-app up to that point, at least git-cloning the project and pointing Android-Studio to the repo dir, then it seems to load OK, and the contents of the files matched what was being asked about on the README page.
Anyway, any help to get me going, will be much appreciated. I'm stuck.
Thanks!
James.;

@jrowellfx
I am very sorry for missing your post. If you are still facing some trouble, could you tell us a little more detail ?
To develop THETA X plugin with Android Studio, your THETA X needs to set to "developer mode" first. Then, MacOS or Windows machine can recognize THETA X as ADB (Android Debug Bridge) device. So you can run / debug plugin with Android Studio like following.

Please refer to this guide as well.
https://github.com/ricohapi/theta-api-specs/blob/main/core/products/theta-plugin.md#how-to-join-the-partner-program
Best regards,
Daisuke Hohjoh


Increase draft creation visibility in the tree view

Anthony brought this scenario up a while back.  When running certain draft commands without the tree expanded, it may be difficult to locate changes.  I did my best to expand basically as high as we can currently go with reveal.  I can't reveal the actual container app because the id is currently tied to the hidden resource and not the container apps shown under the managed environment group.
I also moved the showCreatingChild into the RevisionDraftFileSystem create method so that the tree item shows up properly regardless of the command entry-point.

It doesn't seem to work if you don't have the subscription expanded ahead of time. Was that a limitation or something that we could do?

It doesn't seem to work if you don't have the subscription expanded ahead of time. Was that a limitation or something that we could do?

It should work I think, just sometimes is a bit slow :P


Update templates to use uv

Requires VS Code extension to support sema4ai-actions in Run / Debug Action


fix(metrics router): Added new region eu-es

PR summary
Added new region Madrid(eu-es) to metrics-router
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior
Added new region. No change in old code
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Is this a duplicate of #281?

Is this a duplicate of #281?

No Phil. This one is for metrics-router. I changed the description for 281. That is for Atracker.

Ran integration tests -

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


As a developer, I want to be assisted in upgrading my project.yml files

An automated upgrade mechanism could take of this and reduce toil and chances of breaking changes between releases. Perhaps XSLT or similar technology more suited towards yaml could help us write the scripts.

Now linked to TECH-556


Is it possible to subscribe other room's tracks?

For example, there's a participant called user1 in roomA and a participant called user2 in roomB, is it possible for user1 to subscribe the user2's tracks?

In that case, user1 would have to join roomB in order to subscribe to their tracks. You can join multiple rooms from our SDKs though!


Support other Patchwork instances

Current version of the add-on only works with Kernel's Patchwork. Ideally, we should:

[x] Make the instance configurable, so users can use the add-on with e.g. Ozlabs's or DPDK's Patchwork
[x] Possibly add support for multiple instances. This might be doable via a list of instances to configure, or maybe by setting a regex with multiple patterns to detect the instances to use.

Both addressed in v2.0.0.


server(cdc): adjust error handling and logs

What problem does this PR solve?

Issue Number: close #6778
What is changed and how it works?
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

/run-all-tests

/run-leak-test

/run-leak-test

/run-all-tests

/run-verify-ci

Codecov Report

Merging #6711 (b9636e6) into master (2ea67ba) will increase coverage by 0.0580%.
The diff coverage is 66.6666%.

Flag
Coverage Δ

cdc
65.8564% <64.3724%> (-0.0117%)
:arrow_down:

dm
52.0028% <62.5570%> (-0.0390%)
:arrow_down:

engine
62.8789% <84.0659%> (+0.3428%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6711        +/-   ##
================================================
+ Coverage   59.2138%   59.2718%   +0.0580%
================================================
  Files           780        784         +4
  Lines         88405      89049       +644
================================================
+ Hits          52348      52781       +433
- Misses        31415      31614       +199
- Partials       4642       4654        +12

/merge

/run-all-tests

/run-integration-test
/run-kafka-integration-test
/run-dm-integration-test
/run-dm-compatibility-test


use Tensor.stack to build a Tensor of list of list of... thing

it does not quite work for interpreted because stack is not optimized, but i think it's quite clean. all the type upcasts are handled by new type promo infra, and all the list len check are done by stack

I played around with this a little
base_tensors = [Tensor(None, device, dtype) if data == [] else Tensor(l, device, dtype) for l in data]
data = LazyBuffer.fromCPU(np.array([], dtype=(dtype or Tensor.default_type).np)) if data == [] else Tensor.stack(base_tensors).lazydata

but it hangs on
python test/unit/test_disk_tensor.py TestSafetensors.test_efficientnet_safetensors

yeah this does not quite work because every cell is one buffer


[SPARK-49889][PYTHON] Add argument trim for functionstrim/ltrim/rtrim

What changes were proposed in this pull request?
Add argument trim for functionstrim/ltrim/rtrim
Why are the changes needed?
this argument is missing in PySpark: we can specify the it in scala side but cannot do it in python.
Does this PR introduce any user-facing change?
yes, new argument supported
How was this patch tested?
added doctests
Was this patch authored or co-authored using generative AI tooling?
no

thanks, merged to master


Support search on MySQL InnoDB

Is your feature request related to a problem? Please describe
I tried to do a stand-alone install with a MySQL database hosted on GCP.  When I ran the setup.bash script, I get an error that the configuration of MySQL in GCP doesn't support MyISAM.
Describe the solution you'd like
Add Support for InnoDB
Describe alternatives you've considered
I am trying PostgreSQL, but MySQL looks better supported by DDJ.

In my setup using AWS RDS, all tables are innoDB except the watson_searchentry one, which I found odd. But I am using a tweaked docker-compose deployment right now.
@mtesauro may know more?

django watson (the search index/engine DD uses) does not support InnoDB: https://github.com/etianen/django-watson/issues/120. The table is generated by django watson using a migration. You could try to set it to InnoDB and see how far you get.

I am going to close this, since it is not fixable really. The library in use -- django-watson -- is not using it. We've really looked at how to work around it, but aside using an outside Elasticsearch or Postgres capabilities, nothing much unfortunately.
I am myself moving to PostgreSQL since I am moving DD on GKE, and our helm is based on that. I would imagine that support for Postgres will be come better and better -- even though it seems to work very well right now.
NB: https://github.com/dimitri/pgloader worked great to migrate the data, by the way.


MouseDragPlottable removed from version 4.1.14

The property MouseDragPlottable has disappeared in v 4.1.14 when updating from v4.0.4

Hi @JS-BGResearch, thanks for pointing this out! The draggable object system has been refactored in 4.1, but it looks like those events never got properly implemented or exposed in this new version. I'll prioritize this and add a demo to ensure it's working as expected and documented clearly.
I'll probably create events named PlottableDragged and PlottableDropped and implement all events in the 4.0 API with obsolete decorators and messages that indicate the names of the new events that replaced them.
Reference
ScottPlot 4.0 FormsPlot API:

https://www.fuget.org/packages/ScottPlot.WinForms/4.0.48/lib/netcoreapp3.0/ScottPlot.WinForms.dll/ScottPlot/FormsPlot

ScottPlot 4.1 FormsPlot API:

https://www.fuget.org/packages/ScottPlot.WinForms/4.1.14/lib/netcoreapp3.0/ScottPlot.WinForms.dll/ScottPlot/FormsPlot
https://swharden.com/scottplot/cookbooks/4.1.14/docfx/api/ScottPlot.FormsPlot.html
https://www.fuget.org/packages/ScottPlot/4.1.14/lib/netstandard2.0/ScottPlot.dll/ScottPlot.Control/Configuration

I just finished these changes. Here's a working demo with source code:
public Form1()
{
    InitializeComponent();

    formsPlot1.Plot.AddSignal(ScottPlot.DataGen.Sin(51));

    var vline1 = formsPlot1.Plot.AddVerticalLine(11, Color.Blue);
    vline1.DragEnabled = true;

    var vline2 = formsPlot1.Plot.AddVerticalLine(22, Color.Red);
    vline2.DragEnabled = true;

    formsPlot1.PlottableDragged += FormsPlot1_PlottableDragged;
    formsPlot1.PlottableDropped += FormsPlot1_PlottableDropped;
}

private void FormsPlot1_PlottableDragged(object sender, EventArgs e)
{
    if (sender is ScottPlot.Plottable.VLine vline)
        label1.Text = $"dragged {vline.Color} to X={vline.X:N3}";
}

private void FormsPlot1_PlottableDropped(object sender, EventArgs e)
{
    if (sender is ScottPlot.Plottable.VLine vline)
        label1.Text = $"dropped {vline.Color} at X={vline.X:N3}";
}

https://user-images.githubusercontent.com/4165489/119751438-2cf48d00-be69-11eb-8705-cc893c0bd7cb.mp4


tsvwrite writes non-compliant tsvs when a table is provided

whenever a Matlab table is provided to tsvwrite, Matlab's builtin writetable is used to write the tsv. this can result in noncompliant tsvs if the user did not manually think to change empty/NaN/NaT/etc values to n/a.
possible solution is to call table2struct whenever a table is provided, with this struct then undergoing the already present checks for noncompliant values

Can reproduce the bug in dev and in master.
will push a hot fix in master.


iOS 14 - photo upload rotates selected photo (when using the iOS resizing feature)

Bug description:
When I use the webview to upload a photo from my iPhone XR photo library, the selected photo get's rotated upside down.
This only happens if the image is an iOS hdr image on a photo taken while in portrait mode in the iOS camera.
(it doesn't happen with normal photos)
To Reproduce:
Step 0: Make sure you're on iOS 14
Step 1: Go to the iOS Camera app, but instead of the PHOTO mode, select the PORTRAIT mode (by swiping right once)
Step 2: Open a webpage that offers a photo upload functionality
Step 3: Attempt to upload that photo but before uploading it, make sure you tap on the mid button (between the Cancel and the Choose button) that changes the photo size, and select any option other than the Actual Size
Step 4: Note that the photo is rotated
Screenshots/Videos:
In the following video, I'm showcasing the issue. Note that I select a photo where my finger is pointing towards the ceiling, but as soon as I downscale the photo with the iOS size picker, the photo ends up being rotated.
https://kapwi.ng/c/SHuhKw7G
Expected behavior:
The finger should be pointing upwards on the photo thumbnail.
Environment:

OS: iOS
OS version: 14
react-native version: 0.63.3 (probably irrelevant)
react-native-webview version: 11.0.2

@Titozzz @jamonholmgren @kaiguo Could you please direct me as to wether the problem could be part of that library, or maybe iOS itself, in which case I should just close the issue?
I'm not sure if that file picking is the responsibility of the current webview implementation or not, and I feel a bit lost.
Please shed some light if possible.
Thanks

@Titozzz @jamonholmgren @kaiguo Could you please direct me as to wether the problem could be part of that library, or maybe iOS itself, in which case I should just close the issue?
I'm not sure if that file picking is the responsibility of the current webview implementation or not, and I feel a bit lost.
Please shed some light if possible.
Thanks

Ok I'm still investigating that issue, but for now I'm closing because I think it's related to:
https://iphonephotographyschool.com/iphone-photos-upside-down/
basically HDR photos not being rotated by the OS and require rotation manually based on the image EXIF data.
I'll experiment with that and see if I manage to get that fixed on the server side.

Ok I'm still investigating that issue, but for now I'm closing because I think it's related to:
https://iphonephotographyschool.com/iphone-photos-upside-down/
basically HDR photos not being rotated by the OS and require rotation manually based on the image EXIF data.
I'll experiment with that and see if I manage to get that fixed on the server side.


Feature Request: Dark Mode

@trembon  please mark this as enhancement.
Title says it all. This is my go to Switch library org app, so THANK YOU from the bottom of my ♥ for continuing its development.
I think one of the few major things it's lacking at this point is dark mode support. I searched the repository and there was mention in a general improvements post, but no accompanying issue opened, so I decided to do so.
ALL: If you're a user of this app and want this, please chime in!

i did look into this a while ago and some of the components does not seem to support this if i remember correctly, but i agree, this would be nice to have


floatrow package incompatible

As it's a big package, I'm sure there are several incompatibilities. It loads caption3 so this particular one may just be due to that.
\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid},
  }
\documentclass{article}

\usepackage{floatrow}
\usepackage{kantlipsum}
\usepackage{graphicx}

\begin{document}

\kant[1-2]
\begin{figure}
\floatbox{figure}{\caption{Some caption}}{Figure content}
\end{figure}
\kant[3-4]

\end{document}

errors with
! Package tagpdf Error: The number of automatic begin (6) and end (5)
(tagpdf)                text-unit para hooks differ!

I think that one ends up being "no-support" ... it isn't maintained any more as far as I know and it was buggy before. @u-fischer  thoughts?


Trigger blockchain rescan every hour

Due to possibility of blockchain reorg, db should be rescanned once a hour.
This can be done using https://github.com/coleifer/huey

done