[data2vec] Loss goes down and up again

I try to train data2vec on music data (the FMA dataset). I've made some modifications to the feature extractor ConvNet (I've made it a small ResNet essentially), and reduced the size of the transformer encoder (8 layers, 8 attention heads, 512 emb dim, 2048 emb_ffn_dim). Since I am new to training transformer models, I've tried to reproduce the paper's hyperparameters as closely as possible. My batch size is much smaller, so I've adjusted the learning rate accordingly etc..
The first few epochs seem promising. The loss goes down quite quickly and the embedding variance of the teacher and student models increase over time respectively (i.e. the model is not collapsing to a constant representation). However, after a while it abruptly changes and the loss goes up again and stays high over the remaining training (the variances stay high though). I've also experienced similar issues with another exponential moving average (EMA) model, DINO (the ResNet variant), a while ago.
When reducing the learning rate, the effect just happens later.
There indirectly seems to be a similar issue here.
Does anyone have an idea why this might be happening?

Okay, so I've plotted the teacher and student variances from two test runs with a small dataset and only for a few epochs:
https://imgur.com/a/dynF7P9
The student variance begins to converge to the teacher variance until a specific point. After that the loss quickly increases and there is a relatively constant gab between the two variances.
Not sure how to interpret this. Maybe this is the desired behaviour, since the teacher should always be "better" in order to lead the student.

Okay, so I've plotted the teacher and student variances from two test runs with a small dataset and only for a few epochs:
https://imgur.com/a/dynF7P9
The student variance begins to converge to the teacher variance until a specific point. After that the loss quickly increases and there is a relatively constant gab between the two variances.
Not sure how to interpret this. Maybe this is the desired behaviour, since the teacher should always be "better" in order to lead the student.

Hello, Tomsen! Have you found a reasonable explanation? Follow is my strange loss plot...

Okay, so I've plotted the teacher and student variances from two test runs with a small dataset and only for a few epochs:
https://imgur.com/a/dynF7P9
The student variance begins to converge to the teacher variance until a specific point. After that the loss quickly increases and there is a relatively constant gab between the two variances.
Not sure how to interpret this. Maybe this is the desired behaviour, since the teacher should always be "better" in order to lead the student.

Hello, @Tomsen1410 ! Have you found a reasonable explanation? Follow is my strange loss plot...

Hey!
Unfortunately not. Your loss seems to be ok though? I am not sure how the "correct" loss function should look like. Would also be great to see a training plot from the authors. Could you tell me which hyperparameters you have used? (batch size, ...)

Okay, so I've plotted the teacher and student variances from two test runs with a small dataset and only for a few epochs:
https://imgur.com/a/dynF7P9
The student variance begins to converge to the teacher variance until a specific point. After that the loss quickly increases and there is a relatively constant gab between the two variances.
Not sure how to interpret this. Maybe this is the desired behaviour, since the teacher should always be "better" in order to lead the student.

Hello, @Tomsen1410 ! Have you found a reasonable explanation? Follow is my strange loss plot...

Hey! Unfortunately not. Your loss seems to be ok though? I am not sure how the "correct" loss function should look like. It is strange that my loss values are two orders of magnitude smaller. Would also be great to see a training plot from the authors. Could you tell me which hyperparameters you have used? (batch size, ...)

Thanks. I didn't change any hyperparameters except max_tokens (since the memory error) in base_librispeech.yaml.
@alexeib could you share your training plot with us, and help us to figure out this? Thanks so much.

@alexeib Thanks a lot for your quick reply! According to your loss plot, my training seems all right? And I also check my variance plot,

However, the pred var and target var is not flat in the end, they are still dropping, is this OK? What's the actual meaning of these values, and what relation should they have? (I read the source code, they are just standard variance of network's outputs.)

Were the

hey, if variances are jumping up and down, that looks like a collapse and you may want to lower you learning rate. i dont have variance plots for the nlp models (wasnt logging it when it was trained) but here is the loss curve:

here are a couple example plots from a reduced speech setup with variance etc (it should look somewhat similar with nlp but not exactly the same). this is also using a tri-stage lr scheduler that holds learning rate at peak rate for 90% of the training:
loss:
pred var:
target var:

Was there also instance_norm applied at the reduced speech setup?

Not sure how to interpret this. Maybe this is the desired behaviour, since the teacher should always be "better" in order to lead the student.

hey, if variances are jumping up and down, that looks like a collapse and you may want to lower you learning rate. i dont have variance plots for the nlp models (wasnt logging it when it was trained) but here is the loss curve:

here are a couple example plots from a reduced speech setup with variance etc (it should look somewhat similar with nlp but not exactly the same). this is also using a tri-stage lr scheduler that holds learning rate at peak rate for 90% of the training:
loss:
pred var:
target var:

@alexeib thank you for the logs. This behavior of the loss (going down and up and down again) is related to the near-optimality in BYOL (Bootstrap Your Own Latent) . The BYOL demonstrate the importance of near-optimal predictor for preventing collapse.

hey, if variances are jumping up and down, that looks like a collapse and you may want to lower you learning rate. i dont have variance plots for the nlp models (wasnt logging it when it was trained) but here is the loss curve:

here are a couple example plots from a reduced speech setup with variance etc (it should look somewhat similar with nlp but not exactly the same). this is also using a tri-stage lr scheduler that holds learning rate at peak rate for 90% of the training:
loss:
pred var:
target var:

@alexeib Hi, why does the NLP curve looks so different from the speech curve, and seems like it does not converge? Actually, my audio modality training curve is similar to your nlp curve. And my predict and target var does not seem to be collapsing. How do I check if my audio model converges?

FWIW, I was getting target_var < 0.1 error while training data2vec2.0 on my data. I lowered the learning rate from (default) 0.00075 to 0.00050 and the error vanished.

Thanks @saurabh-kataria  it did help a bit to reduce the lr, but it still cush with target_val<0.01, did you manage to get more stable solutions?


Migrate property tag to value class with signed storage

Split out these types from the actual serialized protocol from the sink interfaces while we're here.
Refs #418

I canceled the workflow because it was hung and it auto-merged. WTF.


Reducer typescript wall

A conversion layer between typescript and reducer is created
This shields the complicated reducer data structure changes that are about to happen from the type script interface.
Internal bindings structure will change. Because of name space functionality/import functionality a simple record is not sufficient.
Arrays will become lists. And records will become maps (Killing the copy over problem, it was everywhere for binding records).
In the future, the conversion layer can be bypassed and a new interface can be exported if necessary. However, this requires typescript to call standard reducer libraries. So to prevent those extra work, I created the conversion layer

Codecov Report

Merging #752 (e23f8b0) into develop (fc2352c) will decrease coverage by 0.59%.
The diff coverage is 56.83%.

@@             Coverage Diff             @@
##           develop     #752      +/-   ##
===========================================
- Coverage    52.32%   51.73%   -0.60%
===========================================
  Files           59       59
  Lines         3606     3727     +121
===========================================
+ Hits          1887     1928      +41
- Misses        1719     1799      +80

Impacted Files
Coverage Δ

...c/rescript/Distributions/PointSetDist/Discrete.res
20.83% <ø> (ø)

.../src/rescript/Distributions/PointSetDist/Mixed.res
11.53% <ø> (ø)

...ript/FunctionRegistry/FunctionRegistry_Library.res
45.02% <0.00%> (-0.54%)
:arrow_down:

...ges/squiggle-lang/src/rescript/Reducer/Reducer.res
0.00% <0.00%> (ø)

...er/Reducer_Expression/Reducer_Expression_Macro.res
100.00% <ø> (ø)

...escript/ReducerInterface/ReducerInterface_Date.res
13.33% <0.00%> (ø)

...ipt/ReducerInterface/ReducerInterface_Duration.res
7.40% <0.00%> (-0.60%)
:arrow_down:

...ucerInterface/ReducerInterface_ExpressionValue.res
31.25% <0.00%> (-12.94%)
:arrow_down:

...ucerInterface/ReducerInterface_ExternalLibrary.res
100.00% <ø> (ø)

...cript/ReducerInterface/ReducerInterface_Number.res
7.69% <0.00%> (ø)

... and 23 more

Continue to review full report at Codecov.

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

After moving ExpressionValue to ExternalExpressionValue, there is now a failing type script unit test.
tests/TS/JS_test.ts:34

Thanks Umur! Whatever you did meant I could delete code to fix the bug! Makes the code much easier to understand xD

@OAGr The bindings were EvRecord. They became EvModule which is still a record .  That's the only behavior change
If I switch back to EvRecord then I cannot import back.
Type script code should treat EvModule like EvRecord


Export Html-Table as JSON

Foo

      th1
      th2

      td11
      td12

      td21
      td22

[
   {
      "value": "Foo"
   },
   {
      "value":
      {
         "headers": ["th1", "th2"],
         "values":
         [
            [ "td11", "td12" ],
            [ "td21", "td22" ]
         ]
      }
   }
]

the CssApi returns a Range of html tags.
The html tags are processed during the export (see ScrapResult.AsJson).
During that step, detect any table, and process it in suitable way.
With current codebase it looks like haloweek.
4SP


Update Vulkan-Hpp and VulkanMemoryAllocator for Vulkan SDK 1.3.261

I had to tweak the generator to handle the new macro VMA_EXTENDS_VK_STRUCT added in commit https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/commit/ca5ce7df2333d7523a4e74ed17adb7cc7f0fe2cf
Then I ran
java Update.java 6eb62e1515072827db992c2befd80b71b2d04329 3d27c1736a8d520f4d577d9d41566ce1b1fc346e

With commit hashes from https://vulkan.lunarg.com/doc/sdk/1.3.261.0/windows/release_notes.html

GitHub Repo: AMD Memory Allocator commit:6eb62e1515072827db992c2befd80b71b2d04329

and https://github.com/KhronosGroup/Vulkan-Hpp/releases/tag/v1.3.261

Hi @scribam, thank you for the contribution.


Fix issue with navigating up/down in navigator

Bug/issue #, if applicable: 93332275
Summary
Fixes a bug where if you navigate down in the navigator, it skips the Headings and throws errors in the console.
This is caused by a recent refactor, where we call $refs.reference.$el.focus(), but the reference can be a Vue component or a DOM element, in the second case it throws an error. That would be when we render an H3 instead of the Reference component.
Dependencies
NA
Testing
Steps:

Navigate down the navigator using arrow keys.
Assert no errors are visible in console.

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests
[ ] Ran npm test, and it succeeded
[ ] Updated documentation if necessary

@swift-ci test


Version of this plugin in reverse

Hi there,
Just wondering if there is a version of this plugin that operates in reverse, i.e. looks at class names in html files and makes the available for definition in css, less and sass files.

I think is not an issue

It could be implemented, but I believe it would diverge from the context this extension tries to tackle. Maybe it would be more fitted for a whole new extension and one that already exists and focus specifically on css, less or sass.


Tracking issues of RFC-5444: Operator From Uri

RFC: #5444

Hi
I would like to start working on this.
I think it will be too much to implement all the Configurator::from_uri method for all the services at once in a single PR. Should I split it into:
First, initial implementation PR addressing https://github.com/apache/opendal/blob/86d6c42051a338142225c06a49d7ea7d019b0e92/core/src/docs/rfcs/5444_operator_from_uri.md?plain=1#L54 OperatorRegistry and etc, but using a default implementation of Configurator::from_uri such as
pub trait Configurator{
 pub fn from_uri(uri: &str, options: impl IntoIterator<Item = (String, String)>) -> Result<Self> {
  todo!()
 }
}

and finally, implement Configurator::from_uri  for each service (and remove that default implementation)

OperatorRegistry and etc, but using a default implementation of Configurator::from_uri such as

Hi, I believe most services can simply use the default implementations. Only specific ones, like s3 and azblob, need to implement their own. So it's will be a great that to just implement the default implementations first.

Hi @Xuanwo
I see that ofs uses this but in a rudimentary way, as the core lack this functionality before this implementation.
Should we create a new issue to use Operator::from_uri (once this issue is addressed) in https://github.com/apache/opendal/blob/52c96bb8e8cb4d024ccab1f415c4756447c726dd/bin/ofs/src/main.rs#L66 so ofs supports ALL the available operators instead of just s3 and fs? https://github.com/apache/opendal/blob/52c96bb8e8cb4d024ccab1f415c4756447c726dd/bin/ofs/README.md?plain=1#L15


x/tools/gopls: replace gopls.add_telemetry with a hidden gopls add_telemetry command

We added gopls.add_telemetry to allow vscode-go to collect editor metrics through gopls. However, this LSP command works only gopls is up and running, which limits its utility. Instead, I propose to have a gopls subcommand, and vscode-go invokes that as a separate process. That will allow vscode-go to collect telemetry even when the language server is disabled.

Thank you for the CL, but as I said in the meeting, I want to have a light-weight hidden command for this and discuss general gopls execute in a separate issue. This issue also asks to remove the  gopls.add_telemetry LSP command. What I am thinking is just set up a line scanner on stdin, parses name, count, and call the telemetry counter.Inc call. No JSON encoding/decoding or LSP dependency.
I am still not sure about gopls execute subcommand. Who are the target users and when they want to use the interface designed for LSP outside LSP session?

Commands like gopls.check_upgrades, gopls.run_vulncheck, gopls.toggle_gc_details, gopls.reset_go_mod_diagnostics are used to trigger diagnostics or turn off diagnostics. Without capturing the followup diagnostics messages, exposing them is not doing any useful work.

Commands like gopls.vendor, gopls.generate, gopls.run_tests, gopls.run_go_work, gopls.tidy, gopls.list_imports, gopls.edit_go_directive have a better and easier-to-use alternative, go.

Commands like gopls.start_profile, gopls.stop_profile, gopls.start_debugging, gopls.mem_stats aren't useful outside server mode.

Commands like gopls.apply_fix, gopls.fetch_vulncheck_results aren't working without prior diagnostics.

Commands like gopls.change_signature or other refactoring commands may be useful with better command line interface. (e.g. should users provide UTF16 position info?)

Most commands are designed to be used along with Code Lens, Code Action, and Diagnostics. That allowed us to change API of the custom commands (e.g. we can change gopls.tidy arg type or even the command name without worrying about backwards/forwards compatibility). We made a few exceptions for simple commands, but they are mostly experimental or hidden for advanced usage. I am afraid that we are moving the bar by exposing them through CLI used by human directly.

Can we just defer the discussion about gopls execute to other issue and unblock it? Strictly speaking, the proxying capability doesn't need to be in gopls and it's not gopls's core functionality. We are currently adding this to gopls just because we don't want users to install another binary and gopls already has dependency on x/telemetry/counter.

Assu
$ gopls execute gopls.add_telemetry_counters '{"Names": ["counter"], "Values": [1]}'

The 'gopls execute' command now exists and could be used for this purpose, but in discussion with @hyangah today she was inclined towards a Go-based helper program in the vscode-go project that would include any features that need to be implemented in Go (such as telemetry) but have nothing to do with LSP or gopls. That also seems like reasonable solution.


Lassoing does not work sometimes for tags

I could not change tags with lassoing
https://user-images.githubusercontent.com/9283127/105617888-ba36b080-5da7-11eb-9d96-8daa5134c480.mov

analyzed the root-cause for this and fixed. Will get it reviewed and then push it.

analyzed the root-cause for this and fixed. Will get it reviewed and then push it.


TH11: trying to practice warp on stage 4 crashes on loading

additionally trying to skip to boss on stage 4 without dialogue ends up with player character/no enemies/unable to shoot.
trying to warp past the initial map section results on a crash/hang during loading.

Is your stage04.ecl modified?

i don't see such a file. i imagine such a change would need to be intentional?.
i am using the english patched version. (th11e.exe)
speaking of which, i just tried the JP version, and the problem does not occur on it. to be honest, i don't think english matters much for thprac.

stage04.ecl is in th11.dat. The English patch modifies it in a way that breaks thprac. Static English patches in general aren't supported by thprac. If you want to use thprac and an English patch, you should use thcrap


📝 Add Enabling Open User Registration to backend docs

📝 Add Enabling Open User Registration to backend docs
Related to https://github.com/tiangolo/full-stack-fastapi-template/discussions/1190

Nice, thanks! :rocket:


Code Proyect 6

hi lonnie, i think the code of the most recent chapter is missing, i would like to check the tests :) thanks a lot for everything!

Doh! You're right. I never merged that into master. Thanks for letting me know! That's done now.


Move any window without click on the title bar

Description of the new feature / enhancement
Need a function to move and zoom a window when the cursor is pointing at it.
Scenario when this would be used?
When I have a large number of windows to work with, frequently aiming at the title bar and borders to move and zoom windows is inefficient and tires me out easily.
Supporting information
Here's a project that accomplishes the above, but due to a long period of non-updating in terms of ease-of-use and extensibility has not been able to get subsequent updates
https://stefansundin.github.io/altdrag/

/dup #269


Add option to set the URL for the Ghost installation

Because of the localhost:2368 in the dockerfile, its bad...
let us use a ENV where we can set the URL.

What version of ghost are you using?
If it's 1.0 or higher please see: https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables

Yes its 1.5 but the Image overwrite it with the --url command...

@Dexus going to close this because the idea is to pass in the environment variables on docker run, e.g. docker run -e url=https://newurl.com -p 2368:2368 ghost:latest.
If you're looking to overwrite it during docker build, you could do something like this inside your dockerfile:
FROM ghost:latest
RUN ghost config url <yoururl>
CMD ["node", "current/index.js"]

@acburdine sorry, but I run the command like docker exec -it go-siris.com-ghost sh and it dont work because you overwrite it with the --url command in the setup...
So I wish to set the ENV to make the -e functional...

I can't confirm:
docker run -e url=https://newurl.com -p 2368:2368 ghost:latest
Unable to find image 'ghost:latest' locally
Trying to pull repository docker.io/library/ghost ...
sha256:7d741f89087baa9f9656acc283b376d63385d0c4e7b208fdee8b57dca8cccda1: Pulling from docker.io/library/ghost
ad74af05f5a2: Pull complete
2b032b8bbe8b: Pull complete
ad85906adb69: Pull complete
3caae50f774b: Pull complete
e16f9635110e: Pull complete
13ce7d61369b: Pull complete
5e670e0bbef3: Pull complete
63aad050bd4e: Pull complete
98e6de9cf862: Pull complete
59c3128ab9f4: Pull complete
Digest: sha256:7d741f89087baa9f9656acc283b376d63385d0c4e7b208fdee8b57dca8cccda1
Status: Downloaded newer image for docker.io/ghost:latest
[2017-08-10 19:10:22] INFO Creating table: posts
[2017-08-10 19:10:22] INFO Creating table: users
[2017-08-10 19:10:22] INFO Creating table: roles
[2017-08-10 19:10:22] INFO Creating table: roles_users
[2017-08-10 19:10:22] INFO Creating table: permissions
[2017-08-10 19:10:22] INFO Creating table: permissions_users
[2017-08-10 19:10:22] INFO Creating table: permissions_roles
[2017-08-10 19:10:22] INFO Creating table: permissions_apps
[2017-08-10 19:10:22] INFO Creating table: settings
[2017-08-10 19:10:22] INFO Creating table: tags
[2017-08-10 19:10:22] INFO Creating table: posts_tags
[2017-08-10 19:10:22] INFO Creating table: apps
[2017-08-10 19:10:22] INFO Creating table: app_settings
[2017-08-10 19:10:22] INFO Creating table: app_fields
[2017-08-10 19:10:22] INFO Creating table: clients
[2017-08-10 19:10:22] INFO Creating table: client_trusted_domains
[2017-08-10 19:10:22] INFO Creating table: accesstokens
[2017-08-10 19:10:22] INFO Creating table: refreshtokens
[2017-08-10 19:10:22] INFO Creating table: subscribers
[2017-08-10 19:10:22] INFO Creating table: invites
[2017-08-10 19:10:22] INFO Creating table: brute
[2017-08-10 19:10:22] INFO Model: Post
[2017-08-10 19:10:23] INFO Model: Tag
[2017-08-10 19:10:23] INFO Model: Client
[2017-08-10 19:10:23] INFO Model: Role
[2017-08-10 19:10:23] INFO Model: Permission
[2017-08-10 19:10:23] INFO Model: User
[2017-08-10 19:10:23] INFO Relation: Role to Permission
[2017-08-10 19:10:24] INFO Relation: Post to Tag
[2017-08-10 19:10:24] INFO Relation: User to Role
[2017-08-10 19:10:24] INFO Finished database migration!
[2017-08-10 19:10:27] INFO Ghost is running in production...
[2017-08-10 19:10:27] INFO Your blog is now available on https://newurl.com/
[2017-08-10 19:10:27] INFO Ctrl+C to shut down
[2017-08-10 19:10:27] INFO Ghost boot 2.623s

Fwiw, I was having the OP's problem when I executed this:
docker run --name my-blog -p <IP_ADDRESS>:3001:2368 -v /var/ghost/content:/var/lib/ghost/content -e NODE_ENV=production -e GHOST_URL=https://www.my-blogs-url.com -d --restart unless-stopped ghost

But not when I modified that command and ran it like this:
docker run -it --rm --name my-blog -p 3001:2368 -v /var/ghost/content:/var/lib/ghost/content -e url=https://www.my-blog-url.com -e NODE_ENV=production -d ghost

In the former case the url environment variable seemed to be overwritten with localhost:2368, and clicking on any @blog.url links would yield an error (though the blog otherwise ran fine). In the latter case there was no such problem.

It really should be called out that the url now has to be set from the docker run line, and not in the config.json.
My config.json still has the url key populated, but since the jump to 1.x now fails. Just so we're clear, we can no longer set the url in the config.json, only on the docker run line with a "-e url=https://myblog.example"
Here's the snippet from my config.json.
// # Ghost Configuration
// Setup your Ghost install for various [environments](http://support.ghost.org/config/#about-environments).

// Ghost runs in `development` mode by default. Full documentation can be found at http://support.ghost.org/config/

var path = require('path'),
    config;

config = {
    // ### Production
    // When running Ghost in the wild, use the production environment.
    // Configure your URL and mail settings here
    production: {
        url: 'https://myblog.example',

The whole config format for 1.x is different, isn't it?
URL should be settable in the config, but you'll also need to copy some
bits from the configuration embedded in the image, so using environment
variables is definitely going to be simpler and less error-prone.

Not only the config is different. Also the data format which means that when you upgrade from lts to stable, you should throw away your configs and data from your backend and start with a clean, newly setup 1.0 instance.
The Data for this instance you exported using the export function of the ghost-frontend's experimental section of your old instance and import it into your new instance. Also keep in mind to update your theme because there were some breaking changes.

I've updated the theme already, unfortunately the documentation around setting custom configs leads to a 404 for the link: https://docs.ghost.org/docs/configuring-ghost#section-custom-configuration-files.
Can you point at documentation around how the new configuration file should be setup? I'm having the same problem with getting it to use mysql instead of sqlite.

Looks like it's moved to
https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables;
I'll go update the documentation now.

Oh, that is the link that the docs have. 😇

FYI, I've filed https://github.com/docker-library/docs/pull/1306 to help clarify this. :+1:

when you use a https with a domain, you need to add the header to your web server, by example in nginx:
proxy_set_header   X-Forwarded-Proto $scheme;

it seams like some parts of the application use this env var URL and some parts do not. for my particular setup when i set it to http://localhost:3000 the app works. however not all links in the UI work. then when i set this value to my https://blog.mysite.com production url my browser redirects me to http://localhost:3000 when trying to load the page.


Crashed when loading in PO3

While loading in the forgeloader crashes in the initialitation phase!
https://pastebin.pl/view/8478338b

Yeah it was related to newLight which is gonna be removed in the next release...u could build a jar yourself from github..it should hv it fixed

or wait for the new release which i cant really give an eta for....

Alright thanks, I will give it a shot, if you have it updated can you mail me please?

Alright thanks, I will give it a shot, if you have it updated can you mail me please?

r u on discord? I could send u a jar to test quickly there

r u on discord? I could send u a jar to test quickly there

Yes I am on discord!
GhostKilller (dm5354)#2340
On Fri, Jan 1, 2021, 07:29 DeadlyMC<EMAIL_ADDRESS>wrote:

r u on discord? I could send u a jar to test quickly there
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DeadlyMC/ForgedCarpet/issues/10#issuecomment-753270131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNLRXA7HTEBTTN7JCSADILSXVTSZANCNFSM4VPKM2IQ
.

Yes I am on discord!
GhostKilller (dm5354)#2340
On Fri, Jan 1, 2021, 07:29 DeadlyMC<EMAIL_ADDRESS>wrote:

r u on discord? I could send u a jar to test quickly there
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DeadlyMC/ForgedCarpet/issues/10#issuecomment-753270131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNLRXA7HTEBTTN7JCSADILSXVTSZANCNFSM4VPKM2IQ
.

I've sent it in email!

I've sent it in email!

How do u know my email tho? I didnt receive any mails too

How do u know my email tho? I didnt receive any mails too

NW, I got it sorted! I will explain it on discord!
Yes I am on discord!
GhostKilller (dm5354)#2340

NW, I got it sorted! I will explain it on discord!
Yes I am on discord!
GhostKilller (dm5354)#2340

I just sent u a friend request, DeadlyMC#9052

I just sent u a friend request, DeadlyMC#9052

Closing this issue as per discussion on discord, make sure u update to the new release whenever its out.

Closing this issue as per discussion on discord, make sure u update to the new release whenever its out.


[spark-history-server] Spark History UI Authentication

Problem Description
I would like to have the ability to authenticate the UI to LDAP, PAM or SPNEGO/Kerberos using whatever filter servlets/filters, etc might be required, and for this configuration to be handled with in the chart's values.yaml.  I have a hard security requirement that all web UIs must be authenticated and I don't have local Kerberos domain or Ambari managed Hadoop cluster to leverage.
Describe the solution you'd like
An easy UI authentication configuration in the chart with templates for several auth methods (LDAP/AD, PAM, SPNEGO/Kerberos).
Describe alternatives you've considered
Some sort of nginx proxy ingress authentication might be workable, if I can get examples.

Problem Description
I would like to have the ability to authenticate the UI to LDAP, PAM or SPNEGO/Kerberos using whatever filter servlets/filters, etc might be required, and for this configuration to be handled with in the chart's values.yaml. I have a hard security requirement that all web UIs must be authenticated and I don't have local Kerberos domain or Ambari managed Hadoop cluster to leverage.
Describe the solution you'd like
An easy UI authentication configuration in the chart with templates for several auth methods (LDAP/AD, PAM, SPNEGO/Kerberos).
Describe alternatives you've considered
Some sort of nginx proxy ingress authentication might be workable, if I can get examples.

Hi.
We run AKS on Azure and do the trick with Nginx Ingreess Controller + OAuth2 Proxy + Certmanager.
You can refer my helm chart repo and history-server chart settings. Will be glad to assist you on configurations, e-mail me with the details if you need a help.


Update 05_Sampling_potential_energy_surfaces.ipynb

the word dof only appears once and without the proper explanation next to it (even though one can infer from the rest of the notebook).
this problem was raised by Y Zheng (dran.z) on crowdin here.

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 84.254%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
9530

Relevant Lines:
11311

💛  - Coveralls


Suggestion: use the term 'velocity' instead of 'volume'

The MIDI standard refers to note's velocity instead of volume; it'd be good to stick with that convention.
https://en.wikipedia.org/wiki/MIDI#Messages
As you're anyway in the progress of updating this lib, it'd be a nice enhancement.
For example here:
https://github.com/FlipperPA/midi-writer/blob/main/midi_writer/__init__.py#L118
Happy to submit a PR btw.

Thanks for considering.
Maybe good to realise - also in practice, velocity isn’t volume. It originally refers to with what speed your finger hits a piano/keyboard, which causes different timbres - more overtones from the hammer hitting the strings, a bit more noise, sound ringing on for longer - so not only different volumes. Due to the memory limitations of early MIDI sound libraries, volume changes are what it boiled down to often back in the days - but anno 2022 there’s a lot more sonic detail in any VST/AU instrument library that implements velocity.
Also in (hardware) synthesizers, velocity is often programmed to change harmonics, timbre as wel volume of a sound.
Another important detail, there’s MIDI CC 7, which is solely intended to change the volume of a channel. https://anotherproducer.com/online-tools-for-musicians/midi-cc-list/
But above all I’d say velocity is the most pythonic as it most accuratey describes the MIDI spec, which is what this lib intends to implement.

@etsuko-io You've convinced me and clearly know this stuff better than me - I just use the package for writing my own tracks and saw it needed some Python love. 💯
Let's do it. Any interest in being a co-maintainer? I'm a firm believer in having multiple people involved as equals in open source. Better ideas, better quality products, and... frankly... a backup system. 😆

Ha, thanks. That’s what I use this package for too, actually.
It definitely needed some Python love so cool you picked this up. I’d be interested in being a co-maintainer 🙂

@etsuko-io Merged and sent you an invite as collaborator!


Transaction section

I've implemented and fixed the 'Transactions' page, particularly the 'Categories' and 'Accounts' tabs.
Categories:
- Adjusted the color scheme for both the list and the graph (fixed in #103 '[Categories Tab] Graph should take colors by category').
- Fixed the list (space between items and borderRadius).
Accounts:
- Implemented the page according to the Figma design.
- Enabled backend graph functionality with accounts.
- Enabled backend list functionality with accounts and transactions.
TODO:
- (As in the categories tab) 'Income' and 'Expenses' filters do not change the view."
https://github.com/RIP-Comm/sossoldi/assets/39710037/e86a1790-1fb5-4961-870c-14c64c25b2e7

Very well done! I'm merging this, thank you!!!


Update yourkit-java-profiler to 2018.04-b70

After making all changes to the cask:

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

Additionally, if adding a new cask:

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

I accidently used the wrong commit message


Show loader until background image is uploading

Description
Until the image is uploaded there is no activity on the screen to show that something is happening. I want to add a loader for it.
Steps to reproduce

Go to profile page
Update the background image
There is no activity until the image is uploaded.

Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
Until the image is uploaded there is no activity on the screen to show that something is happening. I want to add a loader for it.
Steps to reproduce

Go to profile page
Update the background image
There is no activity until the image is uploaded.

Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

sure you can go ahead!

I think instead of loader I should make it blur. What do you think?

I think instead of loader I should make it blur. What do you think?

merged it, seems good idea, but component loader hides it all

Then what we should do now? Add loader to specific area or convert the whole to shimmer?

Then what we should do now? Add loader to specific area or convert the whole to shimmer?

I think shimmer should be a good idea, as we have to maintain consistency. Also, adding the loader to specific structure would add to complications of giving enough space to that structure while loading as well. Shimmer should be better imo. W

Yes, I think the same. And today most website use shimmer for the content that user visits most.

Yes, I think the same. And today most website use shimmer for the content that user visits most.

Yes, I think the same. And today most website use shimmer for the content that user visits most.

right, agreed


vbgs/vbge: Replace vbge.NotifyGroup + relativePosition slices to combined vbge.NotifyGroupLocated

Describe the current situation
In situations where we need a vbge.NotifyGroup  and their relative positions to us (this happens regularly) we return a vbge.NotifyGroup AND a slice containing vbge.Locations. Afterwards iterators use the index to match a vbge.Player (inside the vbge.NotifyGroup) with the associated relative location in the slice. This are extremely bad practices and should be replaced.
Expected
Return a combined structure like:
type NotifyGroupLocated []*NotifyGroupLocatedEntity

type NotifyGroupLocatedEntity struct {
	Player *Player
	Loc    *Location
}

Additional context
This was done during bug-fixing just before a live-demo

Fixed in https://github.com/vikebot/vbgs/pull/3


Add API support to set can_mention_group setting to anonymous user group.

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Awesome, this is looking great! I think the slowest part of finishing it might be finalizing some of the naming questions in the "api design" stream; I gave this a full read and the above are my only implementation notes.

Added a commit to migrate the endpoints to use @typed_endpoint. Tried to migrate them before making the new changes but that resulted in some failure in tests due to using Optional[Json[int]] inside Annotated which would probably have needed some changes in our test code in test_openapi.
So, instead added the commit at the end when we no longer require Annotated as we do not need to set whence value to something different than the parameter name.

Have not made any changes to the commit for adding the _previous parameter except some documentation changes as dicussed on CZO, since the discussion is still not over.

Updated the PR -

To use the recently discussed approach for passing the previous setting value, i.e. allowing both {old: ..., new: ...} and the value directly.

Have not updated the error code and message yet when the previous value is not correct. Also, finding it hard to explain the allowed value in API docs, so would be good to get some help on that.

This is great! I did a bunch of reworking to define a reusable #/components/schemas/GroupSettingValue component, document the system groups system as a side detail, and overall just get the content into a reasonable shape.
There is one thing that's broken, which is that if you look at, say http://localhost:9991/api/create-user-group, the full content of the API documentation doesn't actually display:

This is probably something that I messed up in my changes; I think probably the right plan is to let this merge as a content update, as the API docs are usable in this state, but fix that as a priority follow-up. @Vector73 would you be up for debugging why the extra details aren't being displayed? I think there's some version on it on every page using can_mention_group or the includable GroupSettingValue.


rusqlite first example does not compile

jlpoole@ryzdesk ~/adsb/tests/rust $ cargo new rusqlite1 --bin
     Created binary (application) `rusqlite1` package
jlpoole@ryzdesk ~/adsb/tests/rust $ cd rusqlite1/
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ cargo add rusqlite
    Updating crates.io index
      Adding rusqlite v0.30.0 to dependencies.
             Features:
             - array
             - backup
             - blob
             - buildtime_bindgen
             - bundled
             - bundled-full
             - bundled-sqlcipher
             - bundled-sqlcipher-vendored-openssl
             - bundled-windows
             - chrono
             - collation
             - column_decltype
             - csv
             - csvtab
             - extra_check
             - functions
             - hooks
             - i128_blob
             - in_gecko
             - limits
             - load_extension
             - loadable_extension
             - modern-full
             - modern_sqlite
             - release_memory
             - rusqlite-macros
             - serde_json
             - serialize
             - series
             - session
             - sqlcipher
             - time
             - trace
             - unlock_notify
             - url
             - uuid
             - vtab
             - wasm32-wasi-vfs
             - window
             - winsqlite3
             - with-asan
    Updating crates.io index
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ cat -n src/main.rs
     1  //
     2  // ref: https://rust-lang-nursery.github.io/rust-cookbook/database/sqlite.html
     3  //
     4  // cargo add rusqlite
     5  //
     6  use rusqlite::{Connection, Result};
     7  use rusqlite::NO_PARAMS;
     8
     9  fn main() -> Result<()> {
    10      let conn = Connection::open("cats.db")?;
    11
    12      conn.execute(
    13          "create table if not exists cat_colors (
    14               id integer primary key,
    15               name text not null unique
    16           )",
    17          NO_PARAMS,
    18      )?;
    19      conn.execute(
    20          "create table if not exists cats (
    21               id integer primary key,
    22               name text not null,
    23               color_id integer not null references cat_colors(id)
    24           )",
    25          NO_PARAMS,
    26      )?;
    27
    28      Ok(())
    29  }
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ date; cargo run
Tue Jan  2 05:35:08 PM PST 2024
   Compiling rusqlite1 v0.1.0 (/home/jlpoole/adsb/tests/rust/rusqlite1)
error[E0432]: unresolved import `rusqlite::NO_PARAMS`
 --> src/main.rs:7:5
  |
7 | use rusqlite::NO_PARAMS;
  |     ^^^^^^^^^^^^^^^^^^^ no `NO_PARAMS` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `rusqlite1` (bin "rusqlite1") due to previous error
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $

Here's the diff of the modified example so that it works.  There are 2 modifications and 1 deletion.

jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ diff src/original_main.rs src/main.rs
7c7
< use rusqlite::NO_PARAMS;
---
> //use rusqlite::NO_PARAMS;
17c17
<         NO_PARAMS,
---
>         (),
25c25
<         NO_PARAMS,
---
>         (),
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ date; cargo run
Tue Jan  2 05:44:52 PM PST 2024
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/rusqlite1`
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $

Likewise, the 2nd example suffers from the illegal NO_PARAMS variable.  I replaced NO_PARAMS with "()" and now the example with the 2nd code added works.
Tue Jan  2 05:55:26 PM PST 2024
   Compiling rusqlite1 v0.1.0 (/home/jlpoole/adsb/tests/rust/rusqlite1)
error[E0425]: cannot find value `NO_PARAMS` in this scope
  --> src/main.rs:59:31
   |
59 |     let cats = stmt.query_map(NO_PARAMS, |row| {
   |                               ^^^^^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `rusqlite1` (bin "rusqlite1") due to previous error
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ sed -i s/NO_PARAMS/\(\)/ src/main.rs
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ cat src/main.rs |grep NO_PARAMS
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ date;cargo run
Tue Jan  2 05:56:59 PM PST 2024
   Compiling rusqlite1 v0.1.0 (/home/jlpoole/adsb/tests/rust/rusqlite1)
warning: fields `name` and `color` are never read
  --> src/main.rs:12:5
   |
11 | struct Cat {
   |        --- fields in this struct
12 |     name: String,
   |     ^^^^
13 |     color: String,
   |     ^^^^^
   |
   = note: `Cat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

warning: `rusqlite1` (bin "rusqlite1") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.32s
     Running `target/debug/rusqlite1`
Error: SqliteFailure(Error { code: ConstraintViolation, extended_code: 2067 }, Some("UNIQUE constraint failed: cat_colors.name"))
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ rm cats.db
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $ date;cargo run
Tue Jan  2 05:57:17 PM PST 2024
warning: fields `name` and `color` are never read
  --> src/main.rs:12:5
   |
11 | struct Cat {
   |        --- fields in this struct
12 |     name: String,
   |     ^^^^
13 |     color: String,
   |     ^^^^^
   |
   = note: `Cat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

warning: `rusqlite1` (bin "rusqlite1") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/rusqlite1`
Found cat Ok(Cat { name: "Oreo", color: "Black" })
Found cat Ok(Cat { name: "Biscuit", color: "Black" })
Found cat Ok(Cat { name: "Tigger", color: "Blue" })
Found cat Ok(Cat { name: "Sammy", color: "Blue" })
jlpoole@ryzdesk ~/adsb/tests/rust/rusqlite1 $

Thanks for the report, when I ran it the library used () for no array which I like better.

https://github.com/rust-lang-nursery/rust-cookbook/pull/708


maxDepthQuery configuration is not enforced on 12.0.0

I am playing with graphql lately and I was trying to mimic an attack where a recursive query is sent by the client to the GraphQL server and it seems like the latest version doesn’t enforce the maxDepthQuery restriction while v11.1.0 works perfectly fine, aborting the execution with a descriptive error:
{
    "errors": [
        {
            "message": "maximum query depth exceeded 18 > 3",
            "extensions": {
                "classification": "ExecutionAborted"
            }
        }
    ],
    "data": null
}

From comparing the dependency:tree’s from my test project, I found that v11.1.0 pulls the spring-boot-starter-actuator on the classpath, while v12.0.0 doesn’t. This may explain why the MaxQueryDepthInstrumentation is not instantiated because the GraphQLInstrumentationAutoConfiguration actually requires MetricsAutoConfiguration to be on the classpath:
https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/a7d2cb703255d38d571629c7208128ce56e36b82/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLInstrumentationAutoConfiguration.java#L27
Adding the spring-boot-starter-actuator dependency manually to my test spring-boot project with v12.0.0 resolves the issue.

v12 indeed has a breaking change that you now need to specify certain dependencies to use instead of pulling in all sorts of deps that you might not use.

What strikes me as odd is the fact that the functionality to prevent cyclic queries is conditional on having the actuator dependency. Is this by design or is there actually some concrete dependency on the actuator for the depth check to run?


Build arm64 based images

What this PR does / why we need it:
Build and publish images for amd64 and arm64.
Which issue(s) this PR fixes:
Fixes #8
Special notes for your reviewer:
/cc @ccwienk
Release note:

Container images are now being build and published also for `arm64` platforms.

Short confirmation from master build job 🎉


Build errors, Windows

Hi, I am trying to build following your instruction, and when i run 👍
cd raymarching
python setup.py build_ext --inplace

I see the following:
 Creating library D:\NERF\SDF\nerf2mesh\raymarching\build\temp.win-amd64-cpython-39\Release\NERF\SDF\nerf2mesh\raymarching\src\_raymarching_mob.cp39-win_amd64.lib and object D:\NERF\SDF\nerf2mesh\raymarching\build\temp.win-amd64-cpython-39\Release\NERF\SDF\nerf2mesh\raymarching\src\_raymarching_mob.cp39-win_amd64.exp
bindings.obj : error LNK2001: unresolved external symbol "void __cdecl composite_rays(unsigned int,unsigned int,float,bool,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor)" (?composite_rays@@YAXIIM_NVTensor@at@@1111111@Z)
  Hint on symbols that are defined and could potentially match:
    "void __cdecl composite_rays(unsigned int,unsigned int,float,bool,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor,class at::Tensor)" (?composite_rays@@YAXIIM_NVTensor@at@@1V12@22111@Z)
build\lib.win-amd64-cpython-39\_raymarching_mob.cp39-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120

What can i try to get this running properly?
Thank you!

Ah, i have solved this based on this comment:
and have made these changes: (removing const from the at:Tensor variables
-void composite_rays(const uint32_t n_alive, const uint32_t n_step, const float T_thresh, at::Tensor rays_alive, at::Tensor rays_t, const at::Tensor sigmas, const at::Tensor rgbs, const at::Tensor deltas, at::Tensor weights, at::Tensor depth, at::Tensor image) {

+void composite_rays(const uint32_t n_alive, const uint32_t n_step, const float T_thresh, at::Tensor rays_alive, at::Tensor rays_t, at::Tensor sigmas, at::Tensor rgbs, at::Tensor deltas, at::Tensor weights, at::Tensor depth, at::Tensor image) {

Thanks! One more thing to report...
i have run the first stage successfully, now i am running:
python main.py data/garden/ --workspace trial_360_garden   -O --data_format colmap --bound 16 --enable_cam_center --enable_cam_near_far --scale 0.3 --downscale 4 --stage 1 --iters 10000
And i get the following error:
0% 0/161 [00:00<?, ?it/s]Traceback (most recent call last):
 File "D:\NERF\SDF\nerf2mesh\main.py", line 243, in <module>
   trainer.train(train_loader, valid_loader, max_epoch)
 File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 931, in train
   self.train_one_epoch(train_loader)
 File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 1164, in train_one_epoch
   preds, truths, loss_net = self.train_step(data)
 File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 720, in train_step
   self.model.update_triangles_errors(loss.detach())
 File "C:\Users\B\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
   return func(*args, **kwargs)
 File "D:\NERF\SDF\nerf2mesh\nerf\renderer.py", line 854, in update_triangles_errors
   import torch_scatter
 File "C:\Users\B\AppData\Local\Programs\Python\Python39\lib\site-packages\torch_scatter\__init__.py", line 16, in <module>
   torch.ops.load_library(spec.origin)
 File "C:\Users\B\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\_ops.py", line 255, in load_library
   ctypes.CDLL(path)
 File "C:\Users\B\AppData\Local\Programs\Python\Python39\lib\ctypes\__init__.py", line 374, in __init__
   self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] The specified procedure could not be found
 0% 0/161 [00:25<?, ?it/s]

Have you installed torch-scatter correctly? You could check here for Windows binaries or build it from source.

Ah, you are right.  This was because I had scatter installed for a different CUDA version than torch. Resolved! Thanks again. :)

I try the same with --sdf and i see:

 refine and decimate mesh at 1000 step
Traceback (most recent call last):
  File "D:\NERF\SDF\nerf2mesh\main.py", line 243, in <module>
    trainer.train(train_loader, valid_loader, max_epoch)
  File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 931, in train
    self.train_one_epoch(train_loader)
  File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 1206, in train_one_epoch
    self.model.refine_and_decimate()
  File "C:\Users\B\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "D:\NERF\SDF\nerf2mesh\nerf\renderer.py", line 251, in refine_and_decimate
    cur_v, cur_f = decimate_and_refine_mesh(cur_v, cur_f, mask, decimate_ratio=self.opt.refine_decimate_ratio, refine_size=self.opt.refine_size, refine_remesh_size=self.opt.refine_remesh_size)
  File "D:\NERF\SDF\nerf2mesh\meshutils.py", line 199, in decimate_and_refine_mesh
    m = pml.Mesh(verts, faces, f_scalar_array=mask)
pymeshlab.pmeshlab.PyMeshLabException: Error while creating mesh: the number of face quality values is different from the number of faces.

Hi @ashawkey sorry to bother you, do you have any thoughts on what might be going wrong for me here? Thanks again!

Both seem strange to me, and they seem to indicate something wrong with the extracted mesh. Could you check the mesh from stage0? Are you using a custom dataset?

I am using the mipnerf360/garden dataset. I am running:
python main.py data/garden/ --workspace trial_360_garden -O --data_format colmap --bound 16 --enable_cam_center --enable_cam_near_far --scale 0.3 --downscale 4 --stage 0 --lambda_entropy 1e-3 --clean_min_f 16 --clean_min_d 10 --lambda_tv 2e-8 --visibility_mask_dilation 50
for stage 0, and then:
python main.py data/garden/ --workspace trial_360_garden   -O --data_format colmap --bound 16 --enable_cam_center --enable_cam_near_far --scale 0.3 --downscale 4 --stage 1 --iters 10000
for stage 1
the dtage 0 mesh output folder looks like:

And the mesh_0.ply looks like:

Sorry it's my mistake, I have fixed it in the latest commit. Thanks for reporting this bug!

Thank you! It works :)
One more question, what settings should I change to get a smoother output mesh? I am using the example commands, and i get:

Thank you again!

You may use --sdf if aiming at smooth mesh, but currently it only supports object-centric captures, and not suitable for 360 dataset (you need to remove the background for best mesh quality).

I try the same with --sdf and i see:

 refine and decimate mesh at 1000 step
Traceback (most recent call last):
  File "D:\NERF\SDF\nerf2mesh\main.py", line 243, in <module>
    trainer.train(train_loader, valid_loader, max_epoch)
  File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 931, in train
    self.train_one_epoch(train_loader)
  File "D:\NERF\SDF\nerf2mesh\nerf\utils.py", line 1206, in train_one_epoch
    self.model.refine_and_decimate()
  File "C:\Users\B\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "D:\NERF\SDF\nerf2mesh\nerf\renderer.py", line 251, in refine_and_decimate
    cur_v, cur_f = decimate_and_refine_mesh(cur_v, cur_f, mask, decimate_ratio=self.opt.refine_decimate_ratio, refine_size=self.opt.refine_size, refine_remesh_size=self.opt.refine_remesh_size)
  File "D:\NERF\SDF\nerf2mesh\meshutils.py", line 199, in decimate_and_refine_mesh
    m = pml.Mesh(verts, faces, f_scalar_array=mask)
pymeshlab.pmeshlab.PyMeshLabException: Error while creating mesh: the number of face quality values is different from the number of faces.

Hi, I am receiving the same error when using SDF with the latest commit. BTW, amazing project. I'm looking into the details right now, hoping to contribute as well. @ashawkey 🚀🚀

after pull the lastest version, I still meet the same problem when I run 'python setup.py build_ext --inplace'
build\lib.win-amd64-cpython-39_raymarching_mob.cp39-win_amd64.pyd : fatal error LNK1120: 3 个无法解析的外部命令
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe' failed with exit code 1120


Configuring agent for deployment group- error during final connection test from agent

Have you try trouble shooting doc?
Link to trouble shooting doc: https://www.visualstudio.com/en-us/docs/build/troubleshooting
Yes, nothing helped
Agent version and platform
Version of your agent? 2.126.0 on Windows
OS of the machine running the agent? OSX/Windows/Linux...
Windows 2008 R2 with PowerShell V3
VSTS type and version
VisualStudio.com
If On-Prem TFS, which release, 2015 RTM/QU1/QU2?
If VisualStudio.com, what is your account name? http://account.visualstudio.com
https://deloittebsg.visualstudio.com
What's not working?
While configuring an agent in deployment group or just as an agent, the step fails at the last stage of testing connection. While performing configuration as deployment group agent, agent is visible under the deployment group in VSTS but the error remains the same.
Have tried with existing PAT (expiry Jan 2019) and with a newly created PAT as well.
Error:
Scanning for tool capabilities.
Connecting to the server.
Successfully added the agent
Testing agent connection.
An error occurred while sending the request.
Agent and Worker's diag log
[2018-01-18 11:52:49Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\vstsagent.credentials_rsaparams
[2018-01-18 11:52:49Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-01-18 11:52:49Z WARN VisualStudioServices] Authentication failed with status code 401.
Date: Thu, 18 Jan 2018 11:52:49 GMT
Server: Microsoft-IIS/10.0
WWW-Authenticate: Bearer authorization_uri=https://login.microsoftonline.com/36da45f1-dd2c-4d1f-af13-5abe46b99921, Basic realm="https://tfsprodcus1.app.visualstudio.com/", TFS-Federated
2018-01-18 11:52:49Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\vstsagent.credentials_rsaparams
[2018-01-18 11:52:49Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\vstsagent.credentials_rsaparams
[2018-01-18 11:53:10Z ERR  VisualStudioServices] POST request to https://deloittebsg.vssps.visualstudio.com/_apis/oauth2/token failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The operation timed out
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
at System.Net.Http.WinHttpHandler.d__105.MoveNext()
2018-01-18 11:53:10Z ERR  VisualStudioServices] GET request to https://deloittebsg.visualstudio.com/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The operation timed out
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
at System.Net.Http.WinHttpHandler.d__105.MoveNext()
--- End of inner exception stack trace ---
[2018-01-18 11:53:10Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\vstsagent.credentials_rsaparams
[2018-01-18 11:53:31Z ERR  VisualStudioServices] POST request to https://deloittebsg.vssps.visualstudio.com/_apis/oauth2/token failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The operation timed out
when it configures agent and enters test phase, it gets a 401 which is kind of misleading to me** Any help is appreciated.

@vimudda are you still hitting this issue? I am going to close the issue for now, please reopen if needed.


Rollback/rewind system which also undoes variable changes, jumps etc

In progress with fa9f53ec3e014ceac57db5488e9afaf6c34970c4.

Completed as of 5602f546ae79fa27861856d53ae75221796433cd with hopefully few bugs!


The existing way of committing offset for a specific partition is left
intact due to backward compatibility.

Thanks for explaining your preferences, @mkocikowski. I split NewRequest and NewMultiplePartitionsRequest. Please, have a look whenever you get time.


LED Strip with Button

I created a new example based on LED Strip which incorporates a push button on GPIO 0.
Single click toggles light On/Off
Holding down resets HomeKit & WiFi settings.

Great !

When I use the LED on / off button in the app is not updated.

Yeah. I was unable to figure that out.
If anyone else knows a fix, please let me know.


Fix URL extraction when the regex falls short

This PR fixes the URL extraction when the regular expression is shorter than the actual target (the annotated URL).

Added a fix for the case as such:

Where genius editors are adding the - for breaking up an URL over two lines.


BUG: AttributeError: module 'scipy.stats' has no attribute 'fit'

Describe your issue.
Hi, I'm simply getting started testing out scipy and encountered the following problems.
One, I was told stats has no attribute fit.
Second, I was not allowed to generate a random series.
I used conda to install scipy, the version is 1.7.0.
Thanks,
Sam
Reproducing Code Example
import numpy as np
from scipy import stats
rng = np.random.default_rng()
dist = stats.nbinom
shapes = (5, 0.5)
data = dist.rvs(*shapes, size=1000, random_state=rng)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/sunengfu/opt/anaconda3/envs/p37ml/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py", line 2846, in rvs
    return super(rv_discrete, self).rvs(*args, **kwargs)
  File "/Users/opt/anaconda3/envs/p37ml/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py", line 946, in rvs
    self._random_state = check_random_state(rndm)
  File "/Users/opt/anaconda3/envs/p37ml/lib/python3.7/site-packages/scipy/_lib/_util.py", line 190, in check_random_state
    ' instance' % seed)
ValueError: Generator(PCG64) at 0x7FCF884F3AA0 cannot be used to seed a numpy.random.RandomState instance

When I simply made up a data series, it encountered another problem.
>>> res = stats.fit(dist, data)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'scipy.stats' has no attribute 'fit'

Error message
Two error message:
1) ValueError: Generator(PCG64) at 0x7FCF884F3AA0 cannot be used to seed a numpy.random.RandomState instance

2) AttributeError: module 'scipy.stats' has no attribute 'fit'

SciPy/NumPy/Python version information
1.7.0

Thanks, it worked after updating.
On Wed, Sep 21, 2022 at 3:20 PM Matt Haberland @.***>
wrote:

scipy.stats.fit was added in version 1.9.0
https://docs.scipy.org/doc/scipy/release.1.9.0.html#highlights-of-this-release.
You'll need to upgrade if you want to use it.
—
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/17067#issuecomment-1254128394, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQSBAGZFDGPU74ALAARDWY3V7NNWBANCNFSM6AAAAAAQSK5JVM
.
You are receiving this because you authored the thread.Message ID:
@.***>


[WIP] Catalog settings

@vincent99 can you give this a review and we can chat about it in the morning?

@vincent99 this should be good to go now.


Make name, version, description optional

Defaults:
name: basename of process.argv[1]
version: unknown
description: empty

More thinking, this is important.
Won't implement


Need backend objects to handle room

Are we going to send a game file to the client and then have the client construct the game objects as in  terminal version?
I am happy to implement the backend objects as straight replacements with the same methods as the python version if you do the frontend display.

done


Fixed documentation for latest release

If you use the 0.1.0 version the hooks.sh won't install correctly.

oops that completely skipped my mind.


Fix Regr Test combine_reports trigger

https://github.community/t/multiple-if-conditional-with-always-is-always-true/128840
Proposed changes:

Use expressions for complex job.if statements

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

/modeltest
include:
 - dataset: ["financial-demo"]
   config: ["BERT + DIET(seq) + ResponseSelector(t2t)"]


SSL Protocol configuration

I've deployed Server and Portal with the same SSL bundle pfx that includes root certs. (this is a wildcard cert)
On the Server admin page, I see it's configured automatically with SSL Protocols TLSv1.2 and TLSv1.1.
On the Portal admin page, SSL Protocols value is not even set. (bug perhaps?)
Question: Is is possible to easily set both Portal and Server to TLSv1.2 only, and with the proper Cipher Suites?

So far arcgis-enterprise cookbook does support updating SSL certificate on Portal and Server, but it does not support configuring specific TLS versions, which is supported by Portal admin REST API (see https://developers.arcgis.com/rest/enterprise-administration/portal/update-web-server-certificate.htm).

Thanks. I will add the changes to PortalAdminClient library to do what I need. This issue can be closed, but I will leave it open if you're planning to add support for this in the new release.

this is fixed in v3.5.0.


chore: add AREnableArtworksLists ff

Description
This PR renames the AREnableArtworkLists to AREnableArtworksLists. Since AREnableArtworkLists was already marked as ready for release, we can't release the new updates without releasing the old code. I simply renamed it here and kept the old flag in Echo to make sure it's there when it's requested by old clients
Blocked by https://github.com/artsy/echo/pull/499 (the build will succeed once this is merged and deployed)

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

rename AREnableArtworksLists ff - mounir

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (rename AREnableArtworksLists ff - mounir)

  Generated by :no_entry_sign: dangerJS against aca22b320d36155b9cfb714c070117ca5ca54148


Improve ReexecutingExecutionPayloadBlockManager

Reduces reexecution window to only one slot.

Adds a check where the reexecution applies only to blocks close to currenSlot (ie not already expired). This will avoid reexecution while importing blocks during sync. (not super sure about this, but in case of massive problems on EL while syncing this will avoid unnecessary over-reexecutions)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

I definitely pro separating the logic. I don't like this class, it's difficult to have a clear understanding about relationship with gossip and sync. I'm in favour of having the retry logic closer to each area. Yesterday i was looking at the erigon-teku box and it is still unclear to me why was in stall in syncing state, without retrying anymore.

I definitely pro separating the logic. I don't like this class, it's difficult to have a clear understanding about relationship with gossip and sync. I'm in favour of having the retry logic closer to each area. Yesterday i was looking at the erigon-teku box and it is still unclear to me why was in stall in syncing state, without retrying anymore.

Yeah one option I see is to remove all descendent blocks from the pending pool when a block fails to execute. We'd solve the not retrying problem but we'd potentially keep downloading the same chain of blocks over and over every time a new block is added to the end.  So maybe we need to remove them but put them in a cache to save re-requesting them again if needed.
Would definitely be good to step back and rethink our whole approach in this area.


Bump scrapligo version to 1.1.11

To include the pty leak fix for scrapligo in https://github.com/scrapli/scrapligo/releases/tag/v1.1.10.

you can bump to 1.10.11 where a race has been fixed

Updated scrapligo to the latest v1.1.11 to include more fixes as suggested.

/gcbrun

/gcbrun


TestSmallestSurroundingNode(): Check whether the returned node is actually the smallest surrounding node

This will be easier, once the parser exports more details about the syntax tree.

This isn't that easy to test for. Also, if this wouldn't work, it would be immediately noticeable when using the language server.
Closing since other tests are more important and any tests that check the result of a hover or completion will cover this  anyway.


New build instructions needed  - existing not apply

Hello,
I saw that development of this great piece of software is still active. Both for the executable and for the controller.
Building the binary for the new WIP2 tincan was not succesfull for me...
Please - an important part of any successful develompent - is to have documentation to build and test on different platforms. I please kcratie which is a great developer to have a few hours to write an updated buil tutorial for the ipop-tincan binary on generic linux platform.
Many thanks!

The Tincan build instructions have been updated.

Thank you for your effort. You are doing a really, really great job!


Compatibility with redux-immutable

Issue and Steps to Reproduce
I'm migrating to react-oidc and finding it's more opinionated than using redux-oidc directly.
My app uses combineReducers from redux-immutable to create an immutable root reducer which means that the oidc state must be accessed like:
state.get('oidc')

Versions
"@axa-fr/react-oidc-redux": "^3.1.1-alpha.0"

Expected
<OidcSecure> will connect to my redux state and display my components if the user has loaded.
Actual
<OidcSecure> crashes with:
TypeError: Cannot read property 'isLoadingUser' of undefined

Because it's hardcoded to read from state.oidc.
Solution
I suggest adding a new option in the configuration that defines how to read and write from the state. This would solve compatibility with redux-immutable and overall, it may be nice addition to be able to choose the name of the reducer for authentication. Right now, I have my user info in auth instead of oidc. e.g.
const accessTokenForApiCalls = state.getIn(['auth', 'user', 'access_token']);

Hi @danpoq, Sorry for the delay, we are quite busy.
Do you have time to make a pull request about it?
We are'nt using redux often and are not very familiar with redux-immutable.
It will require us some time before we can deeply reply to your needs.

Do you have time to make a pull request about it?

I don't sorry. I also remember looking through the source code when I opened this PR and didn't see a clear solution to this problem.

Hi @danpoq , very sorry for the delay.
The new react-oidc is a complete rewrite. This version does not use any react context.
It is compatible with redux and react context.
I close the pull request. Thank you for the issue and very sorry for the delay.
If you need reopen it.


Properties absX and absY do not consider mount value

Hello, if I'm not mistaken properties absX and absY in CoreNode should be the real position of the component in the page, calculated based on the X and Y values of the component itself and all its parents. The value should also consider other properties like mount, scale, pivot and rotation to calculate the exact position.
I did some test and this code works by handling the mount property;
// src/core/CoreNode.ts row 1401
	get absX(): number {
		return (
			this.props.x -
			this.props.width * this.props.mountX +
			(this.props.parent?.absX || this.props.parent?.globalTransform?.tx || 0)
		);
	}

	get absY(): number {
		return this.props.y - this.props.height * this.props.mountY + (this.props.parent?.absY ?? 0);
	}

I'm trying to support mouse/magic remote, so the real position of the component is really important.

Ok, I understand the point, but assuming the meaning of the 2 properties is this, I think they should at least support the mount property.
Can we fix this? I can make a PR if needed, maybe with an example page to easily test a few cases.

Yeah of course, feel free to fire off a PR.

Created PR #361 with the fix and the example file


Cleaning up my mess

I've been bothered lately by some problems in my contributed work (??). Most importantly, these changes replace somewhat exceptional code with code that fits in better with the rest of the project; I'm hoping that I made the activate function easier to understand.

A useless if statement was also removed,
I restored reporting of some errors produced in client_disposable.ts —errors which must be very infrequent, since most of the file lies inside a try/catch,
and a simpler, less awful method is now used to remove an item from an array in the registerEditorWatcher function.

Sorry to bombard you with so many pull requests. I realize you're on holiday, so please don't feel pressured to review these right away 🙂.


sqlitespy: Update to version 1.9.19

Update manifest for version 1.9.19.

[x] I have read the Contributing Guide.

/verify

/verify

/verify


Release a new (patch) version of data

Due to a bug in the admin0_synonyms table creation, there was a problem with some data that we spotted in the last weeks.
The script for admin0_synonyms has been fixed, and the way to go from the initial data to this "new version" is just:
DELETE FROM admin0_synonyms WHERE rank = 8 AND char_length(name_) < 4

I guess this requires to give name to this new data version. Initial one was named 0.0.1. The only file affected is admin0_synonyms.sql, the rest is the same.
The tasks that come to my mind to do this are:

[ ] Create new folder in bucket for this new data version.
Given that the changes are only on admin0_synonyms.sql, it would be nice to redirect to the files in 0.0.1 for the rest of dumps so that we don't occupy extra space  in the bucket for files that are literally the same.
[ ] Create an SQL patch to migrate 0.0.1 data to this new version. (The required SQL is the line noted above).

It's the first time we need to version this afaik, so there's no really any process setup for this yet in terms of where to locate this patch and so on. Perhaps it does not even make sense to load new data in the bucket as far as we have the patch to create it, as it can be considered a "minor" version.
cc @rafatower @ethervoid

is it was what applied to solve https://github.com/CartoDB/cartodb/issues/6371 @iriberri ?

actually this ticket fits in the data-sources repo, as the "engine" and the api do not change

Yes.
Totally, I talked about this before with @ethervoid. I was thinking totally about "fixing the API results" and my mind went here directly. Gonna close and reopen in data-services so that the patch is together with the discussion :-).


[IOS] - The operation couldn’t be completed Onfido.OnfidoFlowError error 0

What was the expected behaviour?
SDK successfully returns download result
What happened instead?
There is an exception
"Segment analytics tracked: FLOW with properties: ["state": "ERROR"]"
"setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x281b57c00 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false"
PlatformException(error, The operation couldn’t be completed. (Onfido.OnfidoFlowError error 0.), null, null)
Version info:

Onfido SDK Version: 1.0.0
iOS or Android: IOS 16.1
Device/Simulator: Iphone 11

Integration configuration:
try {
  final onfido = Onfido(
  sdkToken: sdkToken,
  iosLocalizationFileName: "onfido_ios_localisation",
);

final result = await onfido.start(
  flowSteps: FlowSteps(
     proofOfAddress: false,
     welcome: true,
     documentCapture: DocumentCapture(countryCode: CountryCode.SWE),
   ),
 );
} on PlatformException catch (error) {
  log(error);
  rethrow;
}

Steps to reproduce:

Select issuing country
Upload your passport

I'm having the same exact issue as well, although with a different NSUnderlyingError
Version info:

Onfido SDK Version: 1.0.0
iOS or Android: IOS 15.7.1
Device/Simulator: iPhone 6S Plus

Integration configuration:
try {
    final response = await onfido.start(
        flowSteps: FlowSteps(
          welcome: false,
          proofOfAddress: false,
          documentCapture: DocumentCapture(
            documentType: DocumentType.passport,
            countryCode: CountryCode.GBR,
          ),
          faceCapture: FaceCaptureType.photo,
        ),
      );
    } on PlatformException catch (error) {
      debugPrint("Error ${error.toString()}");
    }

Extra notes:
The logs indicate this error occurs immediately after the document capture step.
"Segment analytics tracked: PERMISSION with properties: [\"granted\": true, \"request\": true, \"required_hardware\": \"camera\"]"
"Segment analytics tracked: FLOW with properties: [\"state\": \"ERROR\"]"
"setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x28011cf30 {Error Domain=NSOSStatusErrorDomain Code=-16400 \"(null)\"}}, completed = false"

The user is then thrown back to the screen where onfido.start was invoked. The subsequent face capture step never appears.
If the document capture step is commented out, leaving only the face capture step, then upon completion the following error is logged.
"Segment analytics tracked: PERMISSION with properties: [\"granted\": true, \"required_hardware\": \"camera\", \"request\": true]"
"setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x2800fa130 {Error Domain=NSOSStatusErrorDomain Code=-16400 \"(null)\"}}, completed = false"
"Segment analytics tracked: FLOW with properties: [\"state\": \"ERROR\"]"
flutter: Error PlatformException(error, The operation couldn’t be completed. (Onfido.OnfidoFlowError error 0.), null, null)
"setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x28013ff90 {Error Domain=NSOSStatusErrorDomain Code=-16400 \"(null)\"}}, completed = false"

I have the same question .Like this:
setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282834d80 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false"
"Segment analytics tracked: FLOW with properties: ["state": "ERROR"]"
How to solve this ?

I have the same question .Like this: setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282834d80 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false" "Segment analytics tracked: FLOW with properties: ["state": "ERROR"]" How to solve this ?

Before this question , I seem have this new question.
[iOS] Service unavailable: We're sorry, seems like we can't proceed further as your current location is not supported.
When I choose SGP, show warning dialog.
Code:
// 对接sdk
final Onfido onfido = Onfido(
sdkToken: applicantId,
enterpriseFeatures: EnterpriseFeatures(
hideOnfidoLogo: false,
),
);
final response = await onfido.start(
// flowSteps: FlowSteps(
//   proofOfAddress: true,
// ),
flowSteps: FlowSteps(
welcome: false,
proofOfAddress: false,
documentCapture: DocumentCapture(
// documentType: DocumentType.nationalIdentityCard,
// countryCode: CountryCode.SGP,
),
faceCapture: FaceCaptureType.photo,
),
);
@PedrinhoDS  Can you help me ?

This question had been solved . I am now facing the same question:
setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282834d80 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false" "Segment analytics tracked: FLOW with properties: ["state": "ERROR"]"
@PedrinhoDS
Can you help me ?

What was the expected behaviour?
SDK successfully returns download result
What happened instead?
There is an exception
"Segment analytics tracked: FLOW with properties: ["state": "ERROR"]" "setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x281b57c00 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false"
PlatformException(error, The operation couldn’t be completed. (Onfido.OnfidoFlowError error 0.), null, null)
Version info:

Onfido SDK Version: 1.0.0
iOS or Android: IOS 16.1
Device/Simulator: Iphone 11

Integration configuration:
try {
  final onfido = Onfido(
  sdkToken: sdkToken,
  iosLocalizationFileName: "onfido_ios_localisation",
);

final result = await onfido.start(
  flowSteps: FlowSteps(
     proofOfAddress: false,
     welcome: true,
     documentCapture: DocumentCapture(countryCode: CountryCode.SWE),
   ),
 );
} on PlatformException catch (error) {
  log(error);
  rethrow;
}

Steps to reproduce:

Select issuing country
Upload your passport

@VadimSoft2bet Do you solve this question now, bro?

@PedrinhoDS Bro.Can you help me how to solve this question?
Exceptions are thrown when connecting to Onfido SDK.
SDK: Flutter version - onfido_sdk 1.0.0
Operating system: iPhone11 system version: 14.3
Exception Detail Scenario:
Using the server to return the generated SDKToken to start the SDK, after selecting the country and file type -> taking a picture of ID card -> click the upload button ->uploading the error is reported as follows and the calling of SDK is finished:
setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282834d80 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false"
"Segment analytics tracked: FLOW with properties: ["state": "ERROR"]"
Hope to hear you soon.Thanks

@ys-homie I've followed your previous comments on this issue from #2 and I doubt using Platform Channels / Bridge would work to solve it. I found this same issue raised here on Onfido-iOS-SDK so clearly someone has already tried it.
Any insights to shed on this matter @PedrinhoDS?

Since you have this sdk for flutter, if you still need me to channel with iOS native to deal with this problem. So what does this flutter sdk exist for? Shouldn't we do something about it?
Thanks for you reply.

Hello @VadimSoft2bet @kennethkwok @ys-homie We are investigating this internally and will share another update as soon as possible.
Thank you!

I got same above error
"setPreparedPhotoSettingsArray error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16400), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x28319cd80 {Error Domain=NSOSStatusErrorDomain Code=-16400 "(null)"}}, completed = false"


feat(hero): implement new hero background colour & remove gradient

Description
Removes the gradient background from the Hero component and from the CSS vars, as it will no longer be used.
BREAKING CHANGE - Removes the following CSS variables: --gradient-super-blue, --hero-bg-image
Fixes #180
Requirements
Storybook link: (once netlify has deployed link provide a link to the component)
Screenshot:

Checklist:

[x] The commit messages follow the convention for this project
[ ] I have provided an adequate amount of test coverage
[ ] I have added the functionality to the test app
[ ] I have provided a story in storybook to document the changes
[ ] I have provided documentation in the notes section of the story
[ ] I have added any new public feature modules to public-api.ts
[ ] I have linked the new component to adobe DSM (if appropriate)

Looks good to me!

Looks good to me!

Thanks for picking this up @owensgit, we so far haven't shied away too much from breaking changes, but there is the option here to leave the css vars and deprecate them in some way. Then do a bulk breaking change when there is enough deprecated code. For now though, nobody has really complained about it.

Thanks for picking this up @owensgit, we so far haven't shied away too much from breaking changes, but there is the option here to leave the css vars and deprecate them in some way. Then do a bulk breaking change when there is enough deprecated code. For now though, nobody has really complained about it.

Thanks for picking this up @owensgit, we so far haven't shied away too much from breaking changes, but there is the option here to leave the css vars and deprecate them in some way. Then do a bulk breaking change when there is enough deprecated code. For now though, nobody has really complained about it.

Sounds great. There isn't a huge rush with this PR, so I've started a chat in Slack to talk about managing breaking changes. I'l see what comes of that, and I may adjust this PR as a result 👍

Closing this down, as I somehow made a mess of the commit history. Simpler now to start a new one with the CSS vars deprecated rather than removed.


03/31/2018 06:55 : Create Pull Request for branch master -> prTesting1_2018033106

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

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.


Upgrade to go 1.12 and support modules

This PR is the initial work to upgrade to go 1.12 and support modules for depdencies.
All tests are currently passing, but might need further work.

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


chore: release 2.2.3

:robot: I have created a release *beep* *boop*
2.2.3 (2019-07-25)
Bug Fixes

increase PRs checked during release to 100 (#204) (561502a)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/release-please/releases/tag/v2.2.3

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


[Definition] Implicitly lock to running ruby version when there is no…

…ne in the gemfile
@indirect I think this does what you asked for in https://github.com/bundler/bundler/issues/4853?

@segiddins finally waded through everything else, phew. Here's a (not guaranteed complete) spec for this feature:

[x] auto lock to running ruby version if ruby not in gemfile
[x] if ruby isn't in the Gemfile, warn when running ruby version doesn't match locked ruby
[ ] config to upgrade said warning to exception which will be default in 2.0
[ ] use auto-locked version of Ruby to resolve respecting ruby version (repro below)

$ bundle init
$ echo "gem 'mime-types-data'" >> Gemfile
$ chruby 1.9.3
$ bundle install
Gem::InstallError: mime-types-data requires Ruby version >= 2.0.
An error occurred while installing mime-types-data (3.2015.1120), and Bundler cannot continue.
Make sure that `gem install mime-types-data -v '3.2015.1120'` succeeds before bundling.

@indirect that's because http://index.rubygems.org/info/mime-types-data is missing the required_ruby_version for 3.2015.1120

@segiddins fuuuuuuuuu arghhhhhh okay. At least that will be fixed as soon as we switch the new index over to the Rails app:
$ curl -k  -H "Host: rubygems.org" https://<IP_ADDRESS>/info/mime-types-data
---
3.2015.1120 |checksum:2cc2d944557aacac49d15709247be3fba2028f65762bf474cea0212e80dfdf11,ruby:>= 2.0
3.2016.0221 |checksum:f6ce9f679d796f4d2647a93ca3d2c3bca4399924a744cdc3f5063a6b8195cf17,ruby:>= 2.0
3.2016.0521 |checksum:7542bccff06d70c4ad94d1cf10b7dac6bd89958356e5d0d7f6447168c819be12,ruby:>= 2.0

Okay, found a use-case that I think doesn't work? Or I'm not understanding it. Lock to gems that work with Ruby 2.3, switch to Ruby 2.1, try to install. Fails with good error. Try to unlock and get working versions fails (this is surprising. why not?) Also, trying to explicitly update the lock to the current Ruby also fails, when it seems like it should not.
$ bundle init
$ echo "gem 'listen'" >> Gemfile
$ chruby 2.3
$ bundle install
$ chruby 2.1

$ dbundle install
Your Ruby version is 2.1.9, but your bundled is locked to 2.3.1. This may cause issues if there are any gems that were depending on that ruby version.
ruby_dep-1.5.0 requires ruby version >= 2.2.5, ~> 2.2, which is incompatible with the current version, ruby 2.1.9p490

$ dbundle update
Your Ruby version is 2.1.9, but your bundled is locked to 2.3.1. This may cause issues if there are any gems that were depending on that ruby version.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
ruby_dep-1.5.0 requires ruby version >= 2.2.5, ~> 2.2, which is incompatible with the current version, ruby 2.1.9p490

$ dbundle update --ruby
Your Ruby version is 2.1.9, but your bundled is locked to 2.3.1. This may cause issues if there are any gems that were depending on that ruby version.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
ruby_dep-1.5.0 requires ruby version >= 2.2.5, ~> 2.2, which is incompatible with the current version, ruby 2.1.9p490

I see three action items from this:

[ ] the warning about mismatched ruby versions should explain how to update the ruby version
[ ] bundle update should either succeed or explicitly tell the user that they need to run update --ruby
[ ] update --ruby should definitely succeed

Vaguely related, where are the nice resolver-style ruby version conflict resolution messages? Didn't we merge that before this?

We did, I'm guessing this is erroring out somewhere in setup, and that it's skipping the resolver entirely (because the lockfile exists). I'll definitely try and dig in, thanks for the repro steps!

The bundle update succeeded for me, but bundle update --ruby fails. However, I'm not sure how to fix this. bundle update --ruby currently works by not unlocking any specs, by design -- this way, you can update only the locked ruby. That does mean, however, there's no way to unlock both all specs and the ruby version, which is what is needed in the latter case

Nevermind, found a bug

Better error messages & warnings in place

@segiddins okay, I think these are the remaining things:

[ ] travis build is failing

[ ] there is no config option to upgrade version mismatch warning to a raise

[ ] warning is not printed during locked/current ruby mismatch

repro case
```
$ bundle init
$ echo "gem 'rack'" >> Gemfile
$ chruby 1.9
$ bundle install
$ chruby 2.3
$ bundle install --path .bundle
Fetching gem metadata from https://rubygems.org/..............
Fetching version metadata from https://rubygems.org/.
Using bundler 1.13.5
Installing rack 1.6.4
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Bundled gems are installed into ./.bundle.
$ cat Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
rack (1.6.4)
PLATFORMS
ruby
DEPENDENCIES
rack
RUBY VERSION
ruby 1.9.3p551
BUNDLED WITH
1.13.5

- [ ] `bundle update` from the previous example does not succeed

repro case

$ bundle init
$ echo "gem 'listen'" >> Gemfile
$ chruby 2.3
$ bundle install
$ chruby 2.1
$ bundle install
Your Ruby version is 2.1.10, but your bundled is locked to 2.3.1. This may cause issues if there are any gems that were depending on that ruby version.
To update the locked ruby version, run bundle update --ruby.If that fails, run bundle update followed by bundle update --ruby.
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
ruby_dep-1.5.0 requires ruby version >= 2.2.5, which is incompatible with the current
version, ruby 2.1.10p492
$ bundle update
Your Ruby version is 2.1.10, but your bundled is locked to 2.3.1. This may cause issues if there are any gems that were depending on that ruby version.
To update the locked ruby version, run bundle update --ruby.If that fails, run bundle update followed by bundle update --ruby.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Could not find gem 'ruby (= <IP_ADDRESS>2, = <IP_ADDRESS>)' in any of the gem sources listed
in your Gemfile or available on this machine.

- [ ] `bundle update` is broken in general

repro case

$ bundle init
$ echo "gem 'rack'" >> Gemfile
$ chruby 1.9
$ bundle install
$ chruby 2.3
$ bundle update
Fetching gem metadata from https://rubygems.org/..............
Fetching version metadata from https://rubygems.org/.
Could not find gem 'ruby (= <IP_ADDRESS>1, = <IP_ADDRESS>)' in any of the gem sources listed in
your Gemfile or available on this machine.

Let me know if you notice anything else that doesn't seem to be working correctly 👍

I think those two broken cases are the ones that can't be fixed until we can change the lockfile?

@segiddins in your previous comment, you said the second repro case worked for you, so I think that  is a regression.
Both of the last two repros demonstrate a problem with the error messages: it is not an explanatory or useful error message to say Could not find gem 'ruby (= <IP_ADDRESS>2, = <IP_ADDRESS>)'.
The last example is a set of gems that should work. The version of rack that works on Ruby 1.9 also works on Ruby 2.3. It should be possible to upgrade the ruby version without unlocking any gems, but instead bundle update barfs.

bundle update doesn't unlock the ruby version, which we discussed not being able to change until 2.0


PPA support for ubuntu 17.04

Do you plan on releasing for 17.04 any time soon?
Is there any other way to install it until then?

I've uploaded packages for zesty.

Hey cheers, thanks for your swift actions!


Update http and switch to json_schema

json_schema2 is discontinued. It's recommended to replace with json_schema.

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

Lgtm, thank you for the contribution


🐞 If you hold shift and click, you cannot select a range

Description
If you hold shift and click, you cannot select a range
To Reproduce

If you hold shift and click,
you cannot select a range

Expected Behavior
If you hold shift and click, you can select a range, Selection is just as powerful as NSTextView
Version Information
CodeEditSourceEditor: [e.g. 0.x.y]
macOS: [e.g. 13.2.1]
Xcode: [e.g. 14.2]
Additional Context
No response
Screenshots
No response

Fixed with recent changes to CodeEditTextView.


image load erro

The following error occurs when loading the non-standard format image, but it is ok when reading it using PIL library

What function is called inside this function to read the image?
img_bytes = self.file_client.get(filename)
And thank you very much for your contribution.

https://github.com/open-mmlab/mmcv/blob/master/mmcv/fileio/file_client.py