Dateview format date not parsered when multiple provided.

When multiple dataview format dates provoided in an item, only the first got parsered. For example:

[ ] A task with multiple dataview dates. [due::2023-05-14] [start::2023-05-14]

the result will be:

Solved in 8c747b0


[CI] Add nicer OpenAPI diffs

Adds a diff for OpenApi to the schema check step to the step summary. This can be used to quickly evaluate the effective schema diffs.

Sample: https://github.com/matmair/InvenTree/actions/runs/9860962099/attempts/1#summary-27228345488

@SchrodingersGat @wolflu05 should the diff also be added as a comment?

As a comment in the PR, or where?

As a PR comment. Not sure if it would be too noisy

Do you mean this with the diff?

In what scenarios would that be helpful? Maybe if the user forgets to bump the api version? Or is that a different story?

I don't think we need it as a comment.

@wolflu05 it helps to see the real effect on the schema without making the diff yourself. This example shows that only the info field changed so a new API revision is unneeded.
I find it hard to guestimate the real-world effects of changes in serializers and this diff helps to visualize the impact quickly.

Would it be possible to please also provide an example for how this would look like if there was a bigger change in the api schema, e.g. an endpoint was added?

@wolflu05 I have merged this with #7667 for a sample - here is the output https://github.com/matmair/InvenTree/actions/runs/9964062291/attempts/1#summary-27531527133

ok, thank you very much for that example. That's quite a large amount of data for such a small change (adding 2 notes fields to two models), because this shows the changes very detailed. I don't think we need that as a comment too, as if the API schema is failing and we want to check the changes, we can easily jump into the Action output summary.

The small code change effects the response on 21 Endpoints, most of the them both on POST and GET. So not really a small change if you look at the schema - that is exactly the value of this change, it allows for easier discovery of effected endpoints.

@matmair LMK when you are happy for me to merge this in then :)

@SchrodingersGat yes, ready to merge


Drop availability zone suffixes when configuring AWS regions

This fixes the deployment of blueprints that give a specific availability zone as the region. For example:
location:
  jclouds:aws-ec2:
    region: us-east-1b
services:
- type: org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server

The problem was introduced in the fix for https://issues.apache.org/jira/browse/BROOKLYN-399 (see #458). Setting LocationConstants.PROPERTY_REGIONS to a region like us-east-1b causes jclouds to throw an IllegalStateException in TemplateBuilder#locationId.

LGTM; merging


the validator fails when only generatedName is set

What happened?
With a job, we set only the "generatedName" value as recommended by Argo https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks/#using-a-hook-to-send-a-slack-message - however on rendered validation, it fails because there is no name. Having no name is valid it appears if generatedName is set https://kubernetes.io/docs/reference/using-api/api-concepts/#generated-values
What did you expect to happen?
validation to pass
How can we reproduce it (as minimally and precisely as possible)?
use the sample Argo resource as an example
Anything else we need to know?
nope!
Kubernetes version

$ kubectl version
Client Version: v1.29.1

It seems it's caused by the rest/create.go which make the name initialized earlier in the create process。(https://github.com/kubernetes/kubernetes/commit/af9d36f9310bc3c21791bf17470a667b690573b0)
 if len(objectMeta.GetGenerateName()) > 0 && len(objectMeta.GetName()) == 0 {
		return errors.NewInternalError(fmt.Errorf("metadata.name was not generated"))
  }

A straight forward fix will be to generate name  before invoking rest.BeforeCreate in validator.go.  I'll open a PR.

/assign

Currently facing this issue as well. Thanks for your PR


Add new History feature

Requesting a feature similar to YouTube's history tracking in Code100x.
This would enhance user experience by allowing them to easily resume their coding journey and revisit previously viewed videos.
Something like this -

I'd like to work on this
@hkirat if you'd like this feature, please assign it to me

Probably need to store update_time in video_progress and fetch it sorted by update_time from there

Probably need to store update_time in video_progress and fetch it sorted by update_time from there

Should we also store video_duration in video progress to show the bottom bar

Great! @hkirat
@nimit9 try solving this... and give update in next 24 hrs
otherwise I am going to build this feature anyways..
GoodLuck!

Great! @hkirat sir for suggestion.
and issue assigned to @nimit9 try solving this... and give update in next 24 hrs
otherwise I am going to build this feature anyways..
GoodLuck!

Hey, if you were going to develop this feature, then you can go ahead with this. I thought you were just requesting the feature, but not developing it. Let me know if you want me to take it up.

@nimit9  issue is assigned Sir! Give it a try once


Fix ASF Events

https://whimsy.apache.org/pods/project/kyuubi we shall pass all the checks here


Not conversion str(float) to int

Initial Checks

[x] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
as the Doc example:
from pydantic import BaseModel

class User(BaseModel):
    id: int
    name = 'Jane Doe'

user_x = User(id= "123.0")

print(user_x.id)

it has to give me: 123  (an int) -according to the documentation: https://docs.pydantic.dev/latest/usage/models/#basic-model-usage
but it gives to me:
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 1 validation error for User id   value is not a valid integer (type=type_error.integer)
What is happned?
Example Code
from pydantic import BaseModel

class User(BaseModel):
    id: int
    name = 'Jane Doe'

user_x = User(id= "123.0")

print(user_x.id)

Python, Pydantic & OS Version
pydantic version: 1.10.9
            pydantic compiled: True
                 install path: /home/reveur/courses/pydantic/venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.3 (main, Apr  5 2023, 14:14:37) [GCC 11.3.0]
                     platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[X] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[X] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

The documentation on https://docs.pydantic.dev/latest/usage/models/#basic-model-usage was fixed at some point.


Less levels needed when bootstrapping

Hi.
So I tried implementing max function, which returns approximate maximum among ciphertext.slots() real numbers from interval [0,1 ] encoded and encrypted in single ciphertext. To do this I first implement approximate max(a,b) = (a + b + abs(a-b))/2, where i approximate abs(x) = sqrt_cheby(x^2), where sqrt_cheby is cheby approximation of sqrt on [0, 1] of degree 33. With max(a, b) implemented I rotate log2(ciphertext.slots) times. In each iteration i calculate ciphertext = max(ciphertext, rotate(ciphertext, 2^i)). All of this costs 10 levels, so i bootstrapp in each iteration.
This works fine and among ciphertext.slots real numbers from interval [0, 1] i get approximate max which is three decimals accurate
which is good enough for me, as this was just an experiment and not a serious attempt.
By choosing default bootstrapp parameters  I get 24 levels on fresh ciphertext, but that is too much since i only need 11. Those 13 excessive levels increase the size of ciphertext but more importantly probably slow down the whole bootstrapp operation.  Consider yourself warned :) )

Hello vidstrancar,
Thank you for your interest in our library. I'll do my best to clarify how to use the bootstrapping in the scope of your project.
The CKKS bootstrapping takes a ciphertext at level 0 and re-encrypts it at a level L-k where L is the max level and k is the depth of the bootstrapping. You can then use the L-k levels that are left to carry out homomorphic operations, until you reach the levle 0 and needs to bootstrapp again.
Hence, those 24 levels are in a way required, because the bootstrapping will consume a large amount of those levels, and you can effectively use only what is left after.
When you encrypt first, you have several choices :

You can use the bootstrapping parameters, encrypt at the max level and use "for free" the moduli chain of the bootstrapping. Unfortunately, I don't think the library let you yet encrypt at a specific level to avoid having to encrypt at the max level. But this can be sorted with the next option.

You can use other parameters, but with at least the same Q0 (first modulus) or the same moduli chain but without the bootstrapping moduli chain, encrypt with those parameters, evaluate some circuit, and then bootstrapp when you reach the level 0.


Enable dependabot updates on a weekly basis

using the version update label for Gradle updates
grouping Kotlin, KSP, and Compose compiler
on a weekly basis

ℹ General Availability of grouped updates

[ ] Revoke Renovate authorization on the project "settings" page

Does this support dependency grouping? https://medium.com/androiddevelopers/automating-dependency-updates-in-a-compose-project-168ef5e89ac5

Yes it does: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups

Ok in that case kotlin, Compose compiler and KSP should be grouped.
https://github.com/android/architecture-templates/blob/main/renovate.json
Also, daily would probably be overwhelming. I'd start with weekly.

I'll update this PR to reflect these groups

I haven't used dependabot yet but this LGTM

FWIW, here is an example of grouped update with dependabot: https://github.com/SimonMarquis/SealedObjectInstances/pull/136

🔔 @dturner @JoseAlcerreca @alexvanyo (sorry for the ping 🙈)
What is the current status of this PR? It could prevent the need to manually create PRs like in these recent ones:

#1024
#948

If we want to stick with the third party @renovate-bot, I'm fine with it (even though I kind of dislike the fact to give write permissions to a third party), but then we should allow independent updates. Because right now, it is configured to bundle all updates at the same time, and prevents us to easily update specific dependencies.

PTAL 🔔 @dturner @JoseAlcerreca @alexvanyo
Sorry for the 2nd ping, but it's been almost 4 months 🙈, any comment on this? 🙂

😎 Awesome! Now we need to find a process to validate these reviews in a timely manner.
I'd love to be able to approve them, but it would require you to give more permissions to individual users. Not sure if this is something you are willing to do.
We could also try to auto-approve and merge all patches/minor updates if the CI does not fail.

Two dependencies might be missed in the dependabot configuration file.
https://github.com/android/nowinandroid/blob/main/gradle/init.gradle.kts#L17
https://github.com/android/nowinandroid/blob/main/gradle/init.gradle.kts#L20

@SimonMarquis Yeah, completely understand that it can be frustrating to have PRs sat for months without being reviewed/merged. We have a mandate to ensure that the app shows best practices and that can lead to lengthy internal discussions, or worse no discussions because people don't have the bandwidth to discuss or review.
I'll investigate whether we can grant certain approval permissions to external contributors to speed things up.
@jdkoren Please could you investigate https://github.com/android/nowinandroid/pull/893#issuecomment-1854569682

Regarding spotless/ktlint versions, they are currently part of an init script, and therefore can't access the main version catalog.
Possible solutions:

wait for https://github.com/gradle/gradle/issues/15383 and hope it will work for initscripts
move this initscript into the build-logic itself
parse the catalog file manually with an external library like ktoml/tomlj


error report

File "D:\ComfyUI-aki\ComfyUI-aki-v1.2_T8\nodes.py", line 1879, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 879, in exec_module
File "", line 1016, in get_code
File "", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'D:\ComfyUI-aki\ComfyUI-aki-v1.2_T8\custom_nodes\CLIP-fine-tune\init.py'
Cannot import D:\ComfyUI-aki\ComfyUI-aki-v1.2_T8\custom_nodes\CLIP-fine-tune module for custom nodes: [Errno 2] No such file or directory: 'D:\ComfyUI-aki\ComfyUI-aki-v1.2_T8\custom_nodes\CLIP-fine-tune\init.py'
[Allor]: No new updates.
[Allor]: 0 nodes were overridden.
[Allor]: 12 modules were enabled.
[Allor]: 98 nodes were loaded.
[AnimateDiff] - WARNING - xformers is enabled but it has a bug that can cause issue while using with AnimateDiff.
[custom_nodes.comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\ComfyUI-aki\ComfyUI-aki-v1.2_T8\custom_nodes\comfyui_controlnet_aux\ckpts
[custom_nodes.comfyui_controlnet_aux] | INFO -> Using symlinks: False
[custom_nodes.comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
DWPose: Onnxruntime with acceleration providers detected
Adding
D:\ComfyUI-aki\ComfyUI-aki-v1.2_T8\custom_nodes to sys.path

Sorry, this repo does not have any custom nodes for ComfyUI; it's for fine-tuning CLIP (via the command line, independent of ComfyUI)! To use your fine-tune with ComfyUI:
If you fine-tuned a GmP-CLIP via the "exp-ft*" scripts, first use this:
exp-ft-C-convert-GmP-back-to-weight.py
And then:
ft-C-convert-for-SDXL-comfyUI-OpenAI-CLIP.py
Likewise, if you have a "normal" (no GmP) fine-tune, simply use this:
ft-C-convert-for-SDXL-comfyUI-OpenAI-CLIP.py
This will give you a "state_dict" file you can then plug into SDXL etc. via ComfUI (without the need for adding any custom nodes etc.):

Please scroll all the way down in the readme on my repo; I outlined the full steps to "plug your fine-tune into ComfyUI" there.


version 0.8.0 didn't work for me

Folks, yesterday I updated from 0.7.2 to 0.8.0. It broke it: gave me an error that the first thng I cited was not in the database file (which it was). I uninstalled 0.8.0 (which put me back to 0.7.2), and everything worked.
I know I'm using a slightly older version of Ruby:
ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
Could that be the issue?
Thanks.
P.S. The citation about which it complained was in a comment block.

The problem persisted following an upgrade of Ruby. Here is the trace I'm getting:
Traceback (most recent call last):
28: from C:/tools/ruby25/bin/asciidoctor:23:in ''
27: from C:/tools/ruby25/bin/asciidoctor:23:in 'load'
26: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/bin/asciidoctor:14:in '<top (required)>'
25: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/cli/invoker.rb:112:in 'invoke!'
24: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/cli/invoker.rb:112:in 'each'
23: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/cli/invoker.rb:129:in 'block in invoke!'
22: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor.rb:1589:in 'convert_file'
21: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor.rb:1589:in 'open'
20: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor.rb:1589:in 'block in convert_file'
19: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor.rb:1473:in 'convert'
18: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor.rb:1361:in 'load'
17: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/document.rb:559:in 'parse'
16: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/document.rb:559:in 'each'
15: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/document.rb:560:in 'block in parse'
14: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-1.5.7/lib/asciidoctor/document.rb:560:in '[]'
13: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:18:in 'process'
12: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:29:in 'process_lines'
11: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:44:in 'render_citations'
10: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:44:in 'each'
9: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:45:in 'block in render_citations'
8: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:45:in 'sub!'
7: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/asciidoctor/bibliographer_preprocessor.rb:46:in 'block (2 levels) in render_citations'
6: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/citation.rb:36:in 'render'
5: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/citation.rb:71:in 'render_citation_with_csl'
4: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/citation.rb:98:in 'prepare_items'
3: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/citation.rb:98:in 'map'
2: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/citation.rb:98:in 'block in prepare_items'
1: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/citation.rb:105:in 'prepare_metadata'
C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/asciidoctor-bibliography-0.8.0/lib/asciidoctor-bibliography/database.rb:24:in 'find_entry_by_id': asciidoctor: FAILED: C:/Users/acarver/Dropbox/theology/Book_in_AsciiDoc/Frame_with_Intro.adoc: Failed to load AsciiDoc document - No entry with id 'Ridderbos1975' was found in the bibliographic database. (AsciidoctorBibliography::Errors::Database::IdNotFound)

@andrewcarver sorry for the late response.
Are we speaking of two problems:

A citation a comment block should not be checked
A bibliographic entry in a BibTeX database is not found despite it being there
?

I guess so. I was not aware, if it's true, that a citation in a comment block should not be checked. In any case, the error arises because 1) it checks this citation, and 2) it says it's not in the datafile, when in actuality it is. Uninstalling 0.8.0 (leaving 0.7.2 as my latest version), and leaving everything else the same, fixes it.

To shed a bit more light:

The problem persists even when all citations are non-commented;
The extension stumbles at whatever happens to be the first citation in the AsciiDoc; the particular citation is unimportant, all that matters is that it's the first one.

I can tell you where the problem is arising for me; but, I'm not yet sure WHY it is:
It's in bibliographer_preprocessor.rb, in the glob_pattern method: the line
Dir.chdir(base_dir) { Dir.glob(pattern) }
is returning an empty array.

More specifically, the
Dir.glob(pattern)
bit is returning an empty array.

So--the question is, should we force the Windows user to lean their slashes forward? Or is their some nice code-emendation that would catch that kind of pattern, and change the direction the user's slashes lean?

Here's a simple (perhaps too simple) fix:
Dir.chdir(base_dir) { Dir.glob(pattern.gsub( /\\/, '/')) }
That fixes my Windows-backslashes pattern... If you think that's a good idea (to start with, anyway), I can take this over to a new PR, and we can haggle over it there...

Uh-oh--THAT won't work: Dir.glob() allows '\' as an escape character...
"Note that this means you cannot use backslash on windows as part of a glob, i.e. Dir["c:\foo*"] will not work, use Dir["c:/foo*"] instead."

Either we force the Windows users to lean their slashes forward, then; or, we force people not to escape metacharacters in their globs; or, ...??

Thanks @andrewcarver, your analysis is on point.
The problem here is that we'd like to allow globs (that's a must, I think), but Dir.glob does not like \. A possible solution is in #98 if you want to give it a spin. In essence, we can replace File::ALT_SEPARATOR (that is, \) only when the constant is defined (that is, on Win* systems). I think this is the solution with the leas amount of assumptions.
However, this brought to my attention another issue: we're using the space character as filename separator for bibliography-database. Technically, that's a valid filename character for a filename. I'd rather put a warning in the readme saying to avoid it than write even more ad-hoc parsing. @ronaldtse I think that filenames containing spaces have not emerged as a common use case, so that should be enough.
I'm afraid that checking citations in block comments was a bug (fixed in 0.9.0, see #75).
I'm also not sure why that would be a desirable feature. How were you using it @andrewcarver ?

I have now and then succumbed to the temptation to put relevant items in my bibliography that I've not actually cited anywhere -- but have read for research-purposes, and think them worth citing. (I believe that some other researchers are known to do this on occasion -- though it is forbidden in some scholarly contexts.) The only way to do this with asciidoctor-bibliography, of which I'm aware, was to cite the work(s) in a comment.

@paolobrasolin is there anything file “invalid” character we can rely on than a space? There are people who use this on Windows (plenty on Metanorma) that I am aware the issue will come up. As long as we have some way of handling spaces in filenames/directories, it’ll be fine.

@andrewcarver we got you covered, then! A couple of days ago version 0.10.0 introduced nocite (see #97 and the readme) which allows you to do exactly that!

@ronaldtse I wouldn't go down that road. Reasoning about inter-os compatibility and validity of file names is a mess. Suffice it to say that the only two invalid characters (at filesystem level) in *nix are NUL and /. All others are valid and usually escaped only to let the shell interpret them literally.
Furthermore, I think that we need something that's both easy to read in the code and usable from the command line: setting bibliography-database from the cli should not be a headache. For this reason delimiting filenames using single/double quotes doesn't sound good to me (once you need to interpolate some parameters on the CLI, quote nesting/escaping would be nasty).
Escaping literal (= non-delimiting) spaces looks like the cleanest solution to me. In fact, it's exactly what the shell does when handling filenames containing spaces.
# single file
:bibliography-database: foo.bib
asciidoctor ... -a bibliography-database=foo.bib

# multiple files
:bibliography-database: foo.bib bar.bib
asciidoctor ... -a bibliography-database='foo.bib bar.bib'
asciidoctor ... -a bibliography-database=foo.bib\ bar.bib # possible, wouldn't recommend

# filename contains space
:bibliography-database: the\ foo.bib
asciidoctor ... -a bibliography-database='the\ foo.bib'
asciidoctor ... -a bibliography-database="the\ foo.bib" # allows shell interpolation

# filename begins with space, contained in folder
:bibliography-database: the\\ foo.bib
asciidoctor ... -a bibliography-database='the\\ foo.bib'
asciidoctor ... -a bibliography-database="the\\\ foo.bib" # allows shell interpolation

As to whether this pattern would make sense on a win* shell, I'm still not 100% sure as I don't have one handy right now.


Updating the YouTube link in the footer to the new channel

Preview is available here:http://soroban-docs-pr466.previews.kube001.services.stellar-ops.com/


Error when defining filter longer than signal

Issue #48

Hello @srcole, Thank you for submitting the Pull Request !

In the file neurodsp/filt.py, following are the PEP8 issues :

Line 128:80: W291 trailing whitespace
Line 129:100: W291 trailing whitespace
Line 131:1: W293 blank line contains whitespace

In the file neurodsp/tests/test_filt.py, following are the PEP8 issues :

Line 58:26: E226 missing whitespace around arithmetic operator

Do see the Hitchhiker's guide to code style


feat: make Consensus trait generic over block parts

Preparation for abstraction of block for network/downloaders.
Moves ensure_valid_body_response fn from networking crate to Consensus trait as validate_body_against_header.
Makes Consensus generic over header and body

prefer if we don't create more debt for no apparent reason whatsoever @mattsse , it's a very easy change to have the one aggregate generic


The Tomcat connector configured to listen on port 8080 failed to start.

APPLICATION FAILED TO START

Description:
The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.
How can I get this fixed ?. I really like the look of streama and want to use it in my homelab for me and my family but can't get it to start for the life of me.
I am on Windows Server 2019 latest update.
Not sure what I can do to get this to launch correctly ?.
any help would be amazing.
Mike

See if any other service use :8080
with command:
netstat -b -n

Thank you, I have found a IP address of <IP_ADDRESS> is using 8080, Which is a game server website Host I use for PC gaming. How can I change this with powershell or CMD ?.

RTFM
https://docs.streama-project.com/config/application.yml/

Dont know if he understand what you mean , but OfficialMike , all you have to do is to create a file on same path as jar file with the name "application.yml" copy all that data between "Sample application.yml" and  "How to use this page" to that application.yml file you just created near jar file of streama and change port to 80 as an example :
instead : port: 8080
use      :  port: 80

Hi, is there any way to change the address also? Instead of using localhost I wish to use <IP_ADDRESS>. Thanks!


ReplaceService: directly disposing IModel should be avoided

I am hunting through our code to find areas where IModel is being disposed directly without going through our reference counted world. Besides file/untitled land that are known to not have this adopted, the only other place I found was in https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/search/browser/replaceService.ts#L80
@sandy081 you are directly disposing IModel, basically bypassing our reference counting lifecycle model. Is there any reason? This is ugly because it means in my world I also have to listen to IModel getting disposed to dispose my models.
I am unsure why you actually need to first resolve a file reference and then create a new model, could you not just use the same model for the left hand side of the diff editor?
fyi @joaomoreno

First of all I am disposing the model by myself because I create the model and once model is no longer valid it is disposed even though the references are alive. Use case was that when file matches were cleared all corresponding replace preview models should be disposed. Since there wa no proper disposing strategy for model as mentioned here.
I am not sure if there is a way to pass same URIs for LHS and RHS while opening the editor and show different contents.


google chrome browser (android).

hello
I use type: 'cubemap', in the main scene. but I have a problem with google chrome (android).
"Your browser does not have the necessary WebGL support to display this panorama"
Another point there is no problem with Firefox (android version).
what is the problem?

Without more detailed information, such as the dimensions of the cube map images, the version of Chrome, the device it's running on, and the messages printed to the browser's developer console, I can't say.

Closing due to lack of response.


add scala 3 macro support for literal

Hello, I added scala 3 macro support for literal module.

+literalJVM/test passed for scala 2.12, 2.13 and 3.1

Thank you for reviewing. I will fix what you pointed out soon!

@i10416 Looks like the build.sbt file isn't formatted with scalaFmt correctly.

Oh, I forgot running scalafmtSbt

Codecov Report

Merging #1874 (07605e9) into main (703c436) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1874      +/-   ##
==========================================
- Coverage   86.25%   86.08%   -0.17%
==========================================
  Files          73       69       -4
  Lines        2531     2487      -44
  Branches      143      130      -13
==========================================
- Hits         2183     2141      -42
+ Misses        348      346       -2

Impacted Files
Coverage Δ

...n/scala-2/io/circe/literal/JsonLiteralMacros.scala
52.57% <ø> (ø)

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
85.96% <0.00%> (-1.76%)
:arrow_down:

...rc/main/scala-2.13+/io/circe/LiteralDecoders.scala

...main/scala-2.13+/io/circe/CollectionDecoders.scala

...rc/main/scala-2.13+/io/circe/LiteralEncoders.scala

...c/main/scala-2.13+/io/circe/FactoryInstances.scala

.../core/shared/src/main/scala/io/circe/Decoder.scala
83.63% <0.00%> (+0.25%)
:arrow_up:

Continue to review full report at Codecov.

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


unable to install when building docker image on Apple Silicon arm64 without buildx

The meteorite package doesn't seem to be installable within a docker image build for arm64.
Example dockerfile:
FROM python:3.11-slim-buster

RUN pip install torch torchvision torchaudio meteorite

An error is thrown during meteorite installation with the following:
ERROR: Could not find a version that satisfies the requirement meteorite (from versions: none)
ERROR: No matching distribution found for meteorite

But it is installable if buildx build --platform linux/amd64 is used.
However, I've been able to install meteorite in a normal python environment on Apple Silicon arm64 with the meteorite-0.0.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl wheel for python 3.10.

It seems like the issue is from the absence of processor information/different machine type as read by Python
This is what I get in Docker build

This is what I get when I run it natively:

The solution at the moment would be to use BuildKit to install.

The issue however, seems purely because of the suffix of the wheel.
For example, running a docker buildx build --platform linux/arm64 yields the same results, except for the machine, and installs the pip package successfully

Interestingly, running a docker buildx build --platform linux/arm64 has no effect on the machine name, which tells me that Docker follows this convention, and we might need to build wheels with aarch64 suffix as well.

And finally, we don't yet support arm on linux yet. We can support ARM on macOS because it is a universal2 binary. Unfortunately, this has to do with the unavailability of ARM runners on Actions.
Cross-compilation could resolve the issue, but comes with its own complexity. I did explore that route previously, but I was mostly unsuccessful in the amount of time I spent on it.

I understand the problem now. The lack of built wheel distribution specifically for linux arm64 or aarch64 is causing pip to throw ERROR: No matching distribution found for meteorite. And as you've mentioned, the lack of ARM runners on Github Actions is a bottleneck, unless we choose to use 3rd party or self-hosted runners.
To be very frank, is there a lot of value in supporting linux arm right now? If not, I don't see why we have to build for this right now.

I think we can leave it out for now.


Address logging test failures

@glatterf42 noticed test failures such as these occurring on scheduled runs, starting today.
Symptoms:

In general, the Pytest caplog fixture fails to capture certain messages, so the test assertions that check for those messages end up failing.
Failures include:

Sometimes only util/test_cache.py::test_cached
Sometimes a longer list of 13 tests. When this occurs, they seem to all occur on the same pytest-xdist worker such as "gw1".

All -latest-py3.12-upstream- jobs, both main and 3.8.0.

Actions to take:

@khaeru to open a debugging PR and investigate if recent changes (esp #156) interfere destructively with pytest and/or recent pyam/ixmp4 releases.
If necessary, we open a mitigation PR to skip or xfail some or all of these tests so that scheduled and PR CI can pass.

I was able to reproduce the case with just one test failure locally. However, when I tried running this test again with debug output and alone (via pytest --lf), it passed.

I've tried the following:
(1) Run watchexec -e py -- "pytest -k 'test_report or test_cache' -xv -rA". This runs 4 tests:

PASSED test_report.py::test_register
PASSED test_report.py::test_report_bare_res
PASSED test_report.py::test_report_deprecated
FAILED test_report.py::test_report_legacy

(2) Add a debugging function in test_report.py, roughly like this:
def show_log_handlers(id: int):
    import logging

    from icecream import ic

    root_logger = logging.getLogger("root")

    ic(id, root_logger.level, root_logger.handlers)

(3) Added calls to this function in each of the 4 tests: at least at the top and bottom, or maybe in more places.
This gives the following results (abbreviated):
_____________________________________________ test_register ______________________________________________
------------------------------------------ Captured stderr call ------------------------------------------
ic| id: 'test_register 0'
    root_logger.level: 10
    root_logger.handlers: [<QueueHandler (NOTSET)>,
                           <_LiveLoggingNullHandler (NOTSET)>,
                           <_FileHandler /dev/null (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>]
ic| id: 'test_register 1'
    root_logger.level: 10
    root_logger.handlers: [<QueueHandler (NOTSET)>,                                                                                <_LiveLoggingNullHandler (NOTSET)>,
                           <_FileHandler /dev/null (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>]
__________________________________________ test_report_bare_res __________________________________________
------------------------------------------ Captured stderr call ------------------------------------------
ic| id: 'test_report_bare_res 0'
    root_logger.level: 10
    root_logger.handlers: [<QueueHandler (NOTSET)>,
                           <_LiveLoggingNullHandler (NOTSET)>,
                           <_FileHandler /dev/null (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>]
ic| id: 'test_report_bare_res 1'
    root_logger.level: 0
    root_logger.handlers: []
_________________________________________ test_report_deprecated _________________________________________
------------------------------------------ Captured stderr call ------------------------------------------
ic| id: 'test_report_deprecated 0'
    root_logger.level: 0
    root_logger.handlers: [<LogCaptureHandler (NOTSET)>, <LogCaptureHandler (NOTSET)>]
ic| id: 'test_report_deprecated 1'
    root_logger.level: 0
    root_logger.handlers: [<LogCaptureHandler (NOTSET)>, <LogCaptureHandler (NOTSET)>]
___________________________________________ test_report_legacy ___________________________________________
------------------------------------------ Captured stderr call --------------------------------
ic| id: 0
    root_logger.level: 0
    root_logger.handlers: [<LogCaptureHandler (NOTSET)>, <LogCaptureHandler (NOTSET)>]
ic| id: 1
    root_logger.level: 0
    root_logger.handlers: [<LogCaptureHandler (NOTSET)>, <LogCaptureHandler (NOTSET)>]
ic| id: 2
    root_logger.level: 0
    root_logger.handlers: [<LogCaptureHandler (NOTSET)>, <LogCaptureHandler (NOTSET)>]

So this tells me it is somewhere between the points "test_report_bare_res 0" and "test_report_bare_res 1" where the message-ix-models handlers get wiped out.
I'll continue to debug along these lines.

I expand the debugging function:
def show_log_handlers(id: str, expected_n_handlers: int):
    import logging

    from icecream import ic

    root_logger = logging.getLogger("root")

    ic(id)

    if expected_n_handlers != len(root_logger.handlers):
        ic(
            root_logger.level,
            root_logger.handlers,
            root_logger.manager.loggerDict,
        )
        assert False

And put the following at the top of the one test:
def test_report_bare_res(request, tmp_path, test_context):
    ...
    show_log_handlers("test_report_bare_res 0", 5)

    from importlib import import_module

    for name in (
        "dotenv",
        "fastapi",
        "fsspec",
        "hpack",
        "httpcore",
        "httpx",
        "matplotlib",
        "numba",
        "pint",
        "pycountry",
        "requests",
        "rich",
        "sdmx",
        "sqlalchemy",
        "tqdm",
        "urllib3",
        "xarray",
        "ixmp4",
        "pyam",
    ):
        import_module(name)
        show_log_handlers(f"test_report_bare_res after `import {name}`", 5)

Now I run with watchexec -e py -- "pytest -k 'test_report_bare_res' -xv -rA" and see output like:
ic| id: 'test_report_bare_res 0'
ic| id: 'test_report_bare_res after `import dotenv`'
ic| id: 'test_report_bare_res after `import fastapi`'
ic| id: 'test_report_bare_res after `import fsspec`'
ic| id: 'test_report_bare_res after `import hpack`'
ic| id: 'test_report_bare_res after `import httpcore`'
ic| id: 'test_report_bare_res after `import httpx`'
ic| id: 'test_report_bare_res after `import matplotlib`'
ic| id: 'test_report_bare_res after `import numba`'
ic| id: 'test_report_bare_res after `import pint`'
ic| id: 'test_report_bare_res after `import pycountry`'
ic| id: 'test_report_bare_res after `import requests`'
ic| id: 'test_report_bare_res after `import rich`'
ic| id: 'test_report_bare_res after `import sdmx`'
ic| id: 'test_report_bare_res after `import sqlalchemy`'
ic| id: 'test_report_bare_res after `import tqdm`'
ic| id: 'test_report_bare_res after `import urllib3`'
ic| id: 'test_report_bare_res after `import xarray`'
ic| id: 'test_report_bare_res after `import ixmp4`'
ic| root_logger.level: 0
    root_logger.handlers: []
    root_logger.manager.loggerDict: {'PIL': <Logger PIL (INFO)>,
    ...

This indicates that the root logger's handlers are only wiped out by/as of the import of ixmp4. The prior import of all the other packages appearing in the list of loggers (shared above) does not to seem to trigger the same change.

Both of them are configuring their logging via logging.config.FileConfig, which has a Warning at the bottom of this section: if one doesn't set disable_existing_loggers to False, potentially all non-root loggers will be disabled. Oddly enough, both pyam and ixmp4 set this to False, though.

There's also a warning at the bottom of this section which might be relevant: if the root logger is modified during a test, the pytest.caplog handler may be removed, causing no logs to be captured.

Both pyam and ixmp4 do something to the root logger which almost looks like clearing it: https://github.com/IAMconsortium/pyam/blob/main/pyam/logging.conf
I don't know if they actually need to do that.

if one doesn't set disable_existing_loggers to False, potentially all non-root loggers will be disabled. Oddly enough, both pyam and ixmp4 set this to False, though.

Keep in mind the issue we are seeing is not with Logger instances, but with Handler instances. The logging docs are, unfortunately, both verbose and also silent on a lot of points, including I think what happens to handlers.

if the root logger is modified during a test, the pytest.caplog handler may be removed, causing no logs to be captured.

This is the reason I wound up with code like this in message-ix-models:
https://github.com/iiasa/message-ix-models/blob/4378be615ba4b6e21868a32038c3e452fc73cded/message_ix_models/util/_logging.py#L256-L258
and
https://github.com/iiasa/message-ix-models/blob/4378be615ba4b6e21868a32038c3e452fc73cded/message_ix_models/util/_logging.py#L213
To wit: message-ix-models looks for an instance of its own QueueHandler class, and if it is not there, adds it. It ignores other handlers (e.g. the Pytest ones), and does not remove or replace them. I tried but could not get this to work with logging.config.dictConfig.
I suspect by placing something like show_log_handlers() above and below the ixmp4 and/or pyam calls to logging.config.fileConfig(), we could confirm that it is this built-in function, used in this way, that wipes out the existing handlers.

I've added the first version of show_log_handlers() immediately before and after the FileConfig call in ixmp4:
        show_log_handlers(0)
        logging.config.fileConfig(logging_config, disable_existing_loggers=False)
        show_log_handlers(1)

And with that, I see:
ic| id: 'test_report_bare_res after `import xarray`'
ic| id: 0
    root_logger.level: 10
    root_logger.handlers: [<QueueHandler (NOTSET)>,
                           <_LiveLoggingNullHandler (NOTSET)>,
                           <_FileHandler /dev/null (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>,
                           <LogCaptureHandler (NOTSET)>]
ic| id: 1, root_logger.level: 0, root_logger.handlers: []
ic| id: 'test_report_bare_res after `import ixmp4`'
ic| root_logger.level: 0
    root_logger.handlers: []
    root_logger.manager.loggerDict: {'PIL': <Logger PIL (INFO)>,

So it seems this function is indeed responsible for wiping out the handlers.

According to their docs using FileConfig is older than DictConfig and one should prefer the latter. Also according to their docs, the config file must set level and handlers for root_logger, but the DictConfig only requires a version key. So maybe by migrating to DictConfig, we can avoid overwriting the root logger('s handlers).

I found a solution, the test is working fine again locally. We won't need to change anything if we can get the PRs I'm going to push to ixmp4 and pyam merged reasonably fast. Otherwise, we could use their branches. I'll push these tomorrow.

I released a new version of ixmp4 that should include a fix, I don't yet know when pyam can follow suit. If we use their main-branch version, we should already be able to get a fix from them as well.

Great! Could you please trial those adjustments on the #175 branch, when you have a chance?

Not sure what's up with the coverage report, but the fixes work :)

Glad to see that new pyam and ixmp4 releases have addressed this!
In the future, on the off chance that message-ix-models users encounter issues with logging behaviour, we should keep in mind to check whether they are using the affected versions and remind them to upgrade.


Fixed URL path of Docker master branch builds

Fixed URL path of Docker master branch builds
Beautify system path of Docker Configuration File

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

ping @PatrickLang

Thanks!


Package is not properly compiled (Unexpected token: keyword (const))

Issue Summary
For loop in the convertKeys method causes an Uglify build error.
Steps to Reproduce
When attempting to build my app for production, I run into this error:

Locating the error in the build file (line 14811):

Search for the culprit:

This did not occur prior to installing sendgrid.
Technical details:

sendgrid-nodejs Version: 6.1.4 (have @sendgrid/client and @sendgrid/mail)
Node.js Version: 7.7.2
npm version: 5.3.0

Upon further investigation, it looks like the entire package isn't compiled properly.
I am using Webpack 3.5.1.

Thank you for adding this issue!

Hi @emmya,
Could you please send us<EMAIL_ADDRESS>your webpack.config.js? I believe there is a dependency conflict somewhere. One solution I've seen is to replace uglify-js with uglify-es.
With Best Regards,
Elmer

@thinkingserious As a rule, my config ignores the node_modules folder when transpiling from es6 with babel - I feel like the standard is for modules to already be transpiled.

Installing the latest Uglifyjs webpack plugin worked :)

Thanks for the follow up @emmya!

I ran into this problem today since it seems that uglifyjs-webpack-plugin no longer supports ES6 (https://github.com/gruntjs/grunt-contrib-uglify/issues/477). I am trying to transpile this package with babel in my webpack 4 config, but I haven't gotten it to work yet.


Indexing and query worflow for ACCESS-ESM non-CMIP data

Indexing of experiments so we can query for:

experiment name
variable
start-time
end-time
frequency

Tasks (Feel free to edit):

[ ] ACCESS-ESM Native format parser
[ ] Indexing of ACCESS-ESM non-CMIP collection (p73, others?)
[ ] Simple example in the form of a Jupyter notebook where people can load data .
[ ] Simple example on how to compare ACCESS-ESM outputs with CMIP data using the NCI Intake Catalog

@MartinDix what are some example experiments we might like to include?

Do we need multiple examples?

historical
pre-industrial etc.

Arnold has some simple examples he used for the ACCESS Workshop at AMOS: https://github.com/ars599/ACCESS-AMOS22

I'd like some "real" model experiments (i.e. lots of data). Maybe I'll start with what's in /g/data/p73/archive/non-CMIP/ACCESS-ESM1-5?

That's the one I was looking at

See https://github.com/ACCESS-NRI/intake_catalog/issues/5

See https://github.com/ACCESS-NRI/nri_intake_catalog/tree/main/notebooks for some example Jupyter notebooks


fix: small windows support fix in babel loader in webpack config

Summary
Small regex change on babel loader in webpack to support windows.
Test plan
n/a

resolves #41


Feature request: List only enabled spaces by default in web app

When dealing with lots of spaces it would be really helpful, to only list enabled spaces by default.
Disabled spaces should be hidden by default, maybe by providing a toggle filter next to the spaces search:
------------------------------------------------------------------------------------------
                                           [  ] Show disabled spaces (123)      [ search ]
------------------------------------------------------------------------------------------

transferring to the web repo.


Render function (member of column) is broken in v6.1.3

In the latest version the table does not take into consideration the render function. when the data is an object and you want to transform it using render, you always get the error: Objects are not valid as a React child (found: object with keys). If you meant to render a collection of children, use an array instead. Also I tried to debug it but apparently is not being called any more. See sandbox below
https://codesandbox.io/s/material-table-starter-template-forked-yfqjgx?file=/src/index.js

Yes, i had a typo, fixed in the next version. Sry, still missing the typescript support here xD


add support for ES7 class property initializers

This PR adds support for ES7 Class Property Initializers (stage 0 proposal, but supported in Babel and already widely used).
Screenshots using Material Theme color scheme:
Before:

After:

Thanks! Definitely very useful.


Provide info on currently running jobs

@andrus , please take a look

I also left a little bit of refactoring done per #24

wait, I think I have to change something

What I've done is move callback related stuff from SimpleRunnableJobFactory into SingleJob and JobGroup, because that's the place where the "final" map of parameters is collected (merged from what came from the calling code and what has been specified in YAML/CLI).

Hi @andrus , just wanted to remind you about this PR, thanks!


Solve problem with subqueries in SELECT block

It solves executing queries with subqueries in SELECT block.
"New line" char caused problem in regexp for "AS" case detection in function _tableCols in Zend/Db/Select.php (line 943)

It solves executing queries with subqueries in SELECT block.

Please add an unit test for this problem.

Add tests for this case in new pull https://github.com/zendframework/zf1/pull/627


npm create "@enhance" ./myproject -y* not work

Hi,
The command :
npm create "@enhance" ./myproject -y
doesn't work on my laptops:

Mac Air M1 with node v19
PC Fedora 37 with node v18.7.0

I obtain this message for:
npm create "@enhance" abc -y
Failed to create! abc
ENOENT: no such file or directory, rename '/Users/rokkanen/tmp/webc/abc/_.gitignore' -> '/Users/rokkanen/tmp/webc/abc/.gitignore'
npm ERR! code 1
npm ERR! path /Users/rokkanen/tmp/webc
npm ERR! command failed
npm ERR! command sh -c enhance-create abc
npm ERR!      /Users/rokkanen/.npm/_logs/2022-11-25T13_22_50_572Z-debug-0.log
The log:
0 verbose cli /opt/homebrew/Cellar/node/19.1.0/bin/node /opt/homebrew/bin/npm
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 0ms
5 timing config:load:file:/opt/homebrew/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/rokkanen/tmp/webc/.npmrc Completed in 1ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:/Users/rokkanen/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/opt/homebrew/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 0ms
16 timing config:load Completed in 7ms
17 timing npm:load:configload Completed in 7ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm create @enhance abc
21 verbose argv "create" "@enhance" "abc" "--yes"
22 timing npm:load:setTitle Completed in 3ms
23 timing config:load:flatten Completed in 1ms
24 timing npm:load:display Completed in 1ms
25 verbose logfile logs-max:10 dir:/Users/rokkanen/.npm/_logs/2022-11-25T13_22_50_572Z-
26 verbose logfile /Users/rokkanen/.npm/_logs/2022-11-25T13_22_50_572Z-debug-0.log
27 timing npm:load:logFile Completed in 2ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 13ms
31 silly logfile start cleaning logs, removing 1 files
32 silly logfile done cleaning log files
33 timing arborist:ctor Completed in 0ms
34 http fetch GET 200 https://registry.npmjs.org/@enhance%2Fcreate 1243ms (cache revalidated)
35 timing arborist:ctor Completed in 0ms
36 timing arborist:ctor Completed in 0ms
37 timing command:create Completed in 1350ms
38 verbose stack Error: command failed
38 verbose stack     at ChildProcess. (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
38 verbose stack     at ChildProcess.emit (node:events:513:28)
38 verbose stack     at maybeClose (node:internal/child_process:1098:16)
38 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
39 verbose cwd /Users/rokkanen/tmp/webc
40 verbose Darwin 22.1.0
41 verbose node v19.1.0
42 verbose npm  v9.1.2
43 error code 1
44 error path /Users/rokkanen/tmp/webc
45 error command failed
46 error command sh -c enhance-create abc
47 verbose exit 1
48 timing npm Completed in 1373ms
49 verbose code 1
50 error A complete log of this run can be found in:
50 error     /Users/rokkanen/.npm/_logs/2022-11-25T13_22_50_572Z-debug-0.log
Thank's for your help.

I've tried to reproduce this a bunch of different ways to no avail.
I've updated the command to use the latest version of the enhance create command.
Please give it a try and let me know if you run into any more issues.
You can also use the Begin CLI to generate enhance projects if you continue to run into issues with the npm command.
https://begin.com


compare Immutable.toJS() object

As the above image show, i wonder is this the desired result ?
let a = Immutable.fromJS({a:1})
a.toJS() === a.toJS() // output false

hmmmmm, this seems a little bit wired....

Yes, this is the desired result, beyond a doubt. If you wish to have Immutable's reference equality property, you must be comparing immutable data structures. If toJS() produced the same instance on multiple calls then modifications to one object would modify the other. Solving that problem is why Immutable was created.

I got it, thanks ~
:D


fix: Update crud template for failing S3 list file action

Description

This will update the CRUD template to add AND field for LIstFiles action for S3 page

Fixes #9649
Type of change

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

How Has This Been Tested?

Manual test

/ok-to-test sha=af354b8

/ok-to-test sha=0e73a20


memoryview unittest + memoryview.len

@coolreader18 I accdiently merged this by being confused of #1799. would you look into this PR too please?


UCAL

Tare health check numbers.
Taget based focal length calibration.
UVMapping calibration.

Superseded by #9336

Superseded by #9336


Correct docs build

It's in weird state after Svelte 3 merge, requires manually updating docs folder...

Fixed with #41


CPS-21-deserialize

Moved all schemas to internal connect.models.schemas package. Deserialization is now done with the BaseModel.deserialize method and there are no external references to Marshmallow.

Codecov Report

Merging #41 into master will decrease coverage by 0.67%.
The diff coverage is 92.84%.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   93.01%   92.33%   -0.68%
==========================================
  Files          30       31       +1
  Lines        1260     1344      +84
==========================================
+ Hits         1172     1241      +69
- Misses         88      103      +15

Impacted Files
Coverage Δ

connect/models/event.py
100% <100%> (ø)
:arrow_up:

connect/models/parameters.py
100% <100%> (+4.34%)
:arrow_up:

connect/models/connection.py
100% <100%> (ø)
:arrow_up:

connect/resources/usage_file_automation.py
96% <100%> (ø)
:arrow_up:

connect/models/asset.py
100% <100%> (ø)
:arrow_up:

connect/models/hub.py
100% <100%> (+6.38%)
:arrow_up:

connect/resources/usage_automation.py
93.75% <100%> (ø)
:arrow_up:

connect/models/__init__.py
100% <100%> (ø)
:arrow_up:

connect/models/tier_config.py
88.88% <100%> (-4.14%)
:arrow_down:

connect/models/contact.py
100% <100%> (ø)
:arrow_up:

... and 13 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 2fe3321...aa9dafb. Read the comment docs.


feat/add pytest marks

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: fix #225
What is the new behavior?

Add custom markers in pyproject.toml
Add marks to test cases so they can be targeted in specific tests
Separate test cases for test_execute and test_execute_at_address
Update Makefile and README

Other information

lgtm

Thank you @abdelhamidbakhta ! Had to rebase after #232 was merged


Rendering blank rows

I passed the table only two rows.  For some reason, it still renders a full page of rows, with the last 18 or so rows blank.

I see now these are -padrows, so probably hidden in css.  I'm hoping to use this with bootstrap styles so will have to think on this.

You can set minRows to 0.
On Mon, Nov 14, 2016 at 9:35 AM alisman<EMAIL_ADDRESS>wrote:

I see now these are -padrows, so probably hidden in css. I'm hoping to use
this with bootstrap styles so will have to think on this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/16#issuecomment-260386562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCThFPNbtumPk3OInmYMZSPG0Tfwbks5q-I3LgaJpZM4KxhR7
.

👍


Telemetry model looks bad in regular screen mode and Got It is being cut off in mobile

Rancher Version: v1.2.0-pre3
Steps to Reproduce:
Open rancher for first time
Open rancher in mobile size
Results:
Regular screen - cow is floating and scrollbar showing up.

Cut off "Got it" button and cow is floating

Expected:  Should never cut off button

Version - master 10/10
Verified fixed


Flutter

As I see Flutter as kind of a direct competitor to React Native, I decided to not only analyze Flutter, but also to compare it to React Native in this process.
https://hackernoon.com/react-native-vs-flutter-which-is-preferred-for-you-bba108f808

React Native has a reduced development time, but Flutter offers a better usability
Due to the Dart Programming language, Flutter offers better performance
Flutter has far less resources and a smaller community

https://www.thedroidsonroids.com/blog/flutter-vs-react-native-what-to-choose-in-2019

Both frameworks allow bulding Apps that look and feel like native applications, but with Flutter it is also possible to create Apps that look and feel exactly the same on both platforms. On Android Flutter by default implements Material Design. On iOS developers can choose between Material Desing and Cupertino widgets.
Flutter may also be used for developing desktop and web applications natively (early development stage), while React Native relies on third party libraries to achieve this.
Flutter is said to be much faster than native developent. Compared to React Native it may also be faster, as it does not require seperate optimization for each platform (ios/android).
What flutter lacks in maturity it makes up in great documentation and support by the flutter team.
Far less libraries and tutorials are available for Flutter.
React has been around for over 4 years, while Flutter 1.0 has oficially been released less than 1 year ago (December 2018).
When only an Android App is needed, React Native offers no benefit. Native development is the way to go. For iOS react native may be recommended over native iOS development, as react native has better support for iOS than it does for Android.
Cross Plattform development on Flutter requires far less configuration for each individual platform. In React Native we mostly have to use different components for Android and iOS while with flutter we can use the same Widgets for both platforms in pretty much all cases.
Flutter offers greater performance as its code is compile to native code. React Native on the other hand is not. It still has the JavaScript layer making it less performant when compared to flutter.
Bugfixes are release much faster by the Flutter team than in React Native. Many companies using React Native in produciton rely on a custom fork to fix the bugs themselves.

My Conclusion:

As most of us have a fair amout of JavaScript experience, working with React Native may be easiert than learning a new programming language and Flutter from scratch
Two of us have experience with React, so learning react native will be easier than learning Flutter. I am not sure if we really want to spend too much time on learning a completly new technology.
Flutter makes only sense if we really do want to develop for both platforms. If we only want to develop for one of the platforms, I think react native is the better choice. (or native development)
If we do want to develop for both platforms and we care greatly about offering a very close to native app user experience we should use react native
learning flutter may be interesting and also a valuable skill to have for the future
there are very few references online in working with openstreetmaps and flutter. There is far more for React Native and openstreetmaps.
When using Flutter, we may want to consider using the gpx data from openstreetmaps and importing it to google maps, as google maps has great support in flutter.

https://stackoverflow.com/questions/28363479/import-openstreetmap-data-to-google-maps
This may not really fit our project goal?
Google Maps is generally more popular among users. But what about privacy issues? Its still Google! (Prof. Weber Wulf might not approve).

Flutter Packages / Resources
https://pub.dev/packages/gpx

Dart library for A library for loading, manipulating, and saveingGPS data in GPX format

only in version 0.0.3

continuous text version
Having finished my research on Flutter and React Native I now want to discuss which technology I believe is better suited for our task. As most members of our project team have a fair amount of JavaScript experience, working with React Native may be easier and quicker at first, as learning a new programming language and a new framework from scratch will be quite time consuming. Furthermore two of our team members already have experience in working with react. Considering that React Native is built upon the same principles this will be a further advantage. Flutter is a great choice for developing for Android and iOS simultaneously, as it enables us to offer almost exactly the same user experience on both platforms. Also, flutter is growing at rapid paste at the moment which could make it valuable skill to have in the future. If we only want to develop for one of these platforms though, React Native or especially native iOS/Android development are most likely the better approach. On the other hand, we may use React Native if we care greatly care about offering a native like user experience on both platforms without developing two separate native applications. As I was not able to find much information online about implementing an OpenStreetMaps application with Flutter, I believe React Native has a great advantage. There are many different third party modules for OpenStreetMaps available written in JavaScript that can easily be used in React Native. Another thing that came my mind was whether or not it is possible to export gpx-data from OSM and import it into google maps. According to a post I found on Stack Overflow [1] this may actually be possible. As Google Maps has great support in Flutter and it is generally more popular among users this may be an option for us. Though I believe that this may not exactly fit our project goal and furthermore I am concerned about potential privacy issues regarding using Google Maps.

Dart Package for working with GPX Data
As I have stated before, compared to React Native, Flutter currently offers much less third party libraries. A package that I did find though is the gpx package: https://pub.dev/ packages/gpx. According to its official web page, this library may be used for loading, manipulating and saving GPS data in GPX format. Considering that it is only in version 0.0.3 at the moment and that its documentation has some spelling mistakes I would not recommend using this package.

Experimenting with Flutter
In order to get a better understanding of the Flutter Framework I decided that it was a good idea to play around with it a little bit. To do so, I installed Flutter as well as the most recent versions of Android Studio and XCode on my laptop. I found an example project on Github (https://github.com/apptreesoftware/flutter_map) that implements a Leaflet map (https://leafletjs.com) that potentially may be used with OSM data. I cloned and installed this application on my iPhone and my Android Phone to get a some first hand user experience. The main insight I got from all of this is that the app actually does look, feel and behave pretty much identical on both platforms. Furthermore it served as a proof that it in fact is possible to implement map functionalities in Flutter without using Google Maps.


reference genome index files

Ideally, the Snakefile would also generate the required index files on the fly. Let's do that

also index files for STAR

this behavior is outside the scope of the pipeline

I've changed my mind! Let's include a rule for indexing STAR.
And we can let the pipeline decide not to use it if the STAR index is already provided.

We should probably do this for BWA as well at some point. But it's not at the top of my priority list.


Enhancements & Bug fixes

#91 - Provide publish timeout
#98 - No-op duplicate exchange, queue and binding declarations
#96 - Fall back to routing key if no type is provided for routing
#94 - Update amqplib dependnecy to 0.4.0 to support Node 4
#77 - Add explanation of connection events
#95 - Add test coverage for wildcards in handle
Change log namespaces to use '.' delimiter instead of ':'

@derickbailey - this PR should fix the issue you saw. It should also prevent multiple configure calls from running amok.

awesome! will give this a whirl later today, hopefully. might be tomorrow, though.

initial test of my demo code looks good. i ran 50K messages, bumping memory up to 2GB+, then ran 100 messages every 20 seconds for a little bit, and memory dropped back to 180K!
going to run this through my real system now to make sure it all works still.

load testing on my primary system looks good! memory use jumps and drops as expected, and the full system is running smoothly with all these updates.
thanks @arobson! :)

is there an ETA on this being merged and released? I have a deploy window of Thursday, the 5th... not a huge deal if i have to run from your branch for now, though.

@derickbailey - thought I was going crazy; and here's there already a PR and a fix.
I will do some testing here as well.  @derickbailey - roughly how large are the messages you're testing?
Thanks!!! @arobson

@dermidgen i have a sample of one of my messages here in the gist linked from #98 - honestly, though, this is a small sample json file. my production system has some messages that are 10x this size, easily. i would prefer to not have such large messages... but it is what it is, right now.

Hope this would get merged soon. :)

Any help needed to get this merged to trunk?

#highfives thanks @arobson :)

+1 Thanks!


[move-prover] Added invariant disabling pragmas to user doc

Edited the user doc to describe the pragmas pragma disable_invariants_in_body and pragma delegate_invariants_to_caller

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update or suggest changes to the docs at https://developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

/land


Rewrite the Tasks documentation for clarity and flow.

Rewrites the Tasks documentation for clarity and flow.

/lgtm


There is no commands like Game.RemoveEffectPlayer, etc

Is there some list of functions?
with info about them if its possible NOW

Functions I've confirmed do not work with the 2.0 Alpha version of CET:
"GiveDevPoints", "SetAtt", "ApplyEffectOnPlayer", & "ModStatPlayer"
Functions that I've confirmed still work with the 2.0 Alpha version of CET:
"SetLevel", AddToInventory"
Some syntax changes also, like for adding a vehicle, replace single quotes with double quotes:
Game.GetVehicleSystem():EnablePlayerVehicle('Vehicle.v_standard2_villefort_cortes_player', true, false)
becomes:
Game.GetVehicleSystem():EnablePlayerVehicle("Vehicle.v_standard2_villefort_cortes_player", true, false)

Had some trouble with setlevel, I tried it and it didn't throw me an error but didn't actually give/set my level.

Can you set debug facts currently, Game.SetDebugFact("fact", 1) doesn't seem to work.

GiveDevPoints

OLD: Game.SetLevel("StreetCred", 5)
NEW: Game.SetLevel("StreetCred", 5, 1)
Where "5" is the level you want.

GiveDevPoints

OLD: Game.SetLevel("StreetCred", 5) NEW: Game.SetLevel("StreetCred", 5, 1)
Where "5" is the level you want.

Thanks ill give this a try.

Can you set debug facts currently, Game.SetDebugFact("fact", 1) doesn't seem to work.

sol: runtime error: [string "Game.SetDebugFact("fact", 1)"]:1: Function SetDebugFact is not a GameInstance member and is not a global.
So the function SetDebugFact also has changed.

These missing commands are NOT a CET issue. If they have been removed from the game, CET will not find them

Should be fixed, additional missing functions were removed from the game.

I'm certain you guys are up to your neck fixing things post patch. Is SetDebugFact (or another method) something that can be revived or is it no longer possible to update such things via console?
Is this a value that can be found/set directly in a TweakDB Editor Record? New to CET so not sure how to navigate it.
Game.SetDebugFact("q005_jackie_to_mama", 1)


python run.py with data_root=content/datasets num_gpus=2 num_nodes=1 task_mlm_itm whole_word_masking=True step100k per_gpu_batchsize=64

i encounter this when i pre-train with coco:
WARNING - ViLT - No observers have been added to this run
INFO - ViLT - Running command 'main'
INFO - ViLT - Started
Global seed set to 0
INFO - lightning - Global seed set to 0
INFO - timm.models.helpers - Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-vitjx/jx_vit_base_p32_384-830016f5.pth)
GPU available: True, used: True
INFO - lightning - GPU available: True, used: True
TPU available: None, using: 0 TPU cores
INFO - lightning - TPU available: None, using: 0 TPU cores
Using environment variable NODE_RANK for node rank ().
INFO - lightning - Using environment variable NODE_RANK for node rank ().
ERROR - ViLT - Failed after 0:00:06!
Traceback (most recent calls WITHOUT Sacred internals):
File "run.py", line 67, in main
val_check_interval=_config["val_check_interval"],
File "/data/fyuan/anaconda3/envs/pytorch/lib/python3.7/site-packages/pytorch_lightning/trainer/connectors/env_vars_connector.py", line 41, in overwrite_by_env_vars
return fn(self, **kwargs)
File "/data/fyuan/anaconda3/envs/pytorch/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 359, in init
deterministic,
File "/data/fyuan/anaconda3/envs/pytorch/lib/python3.7/site-packages/pytorch_lightning/accelerators/accelerator_connector.py", line 127, in on_trainer_init
self.trainer.node_rank = self.determine_ddp_node_rank()
File "/data/fyuan/anaconda3/envs/pytorch/lib/python3.7/site-packages/pytorch_lightning/accelerators/accelerator_connector.py", line 415, in determine_ddp_node_rank
return int(rank)
ValueError: invalid literal for int() with base 10: ''

Have you solved it? I have the same bug.

Have you solved it? I have the same bug.

Not yet bro.

I solved it bro！
Don't forget to set these variables!
export MASTER_ADDR=$DIST_0_IP
export MASTER_PORT=$DIST_0_PORT
export NODE_RANK=$DIST_RANK

I solved it bro！ Don't forget to set these variables! export MASTER_ADDR=$DIST_0_IP export MASTER_PORT=$DIST_0_PORT export NODE_RANK=$DIST_RANK

it works, thanks!

Nice job! :)


Add installed-extensions extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Do you think it would be worth putting a note on the empty state like "it's empty or you don't have jq installed"?

Good idea! I'll implement that!

Would it be possible to open the settings when selecting an extension?

That's not possible (yet) in the API, but would indeed be cool, it would make sense if it opened extensions preferences for sure 🙂

Maybe for a future update: sorting!

What kind of sorting do you want to have?

Sorting alphabetically and by installed/update date would be a nice start!
By usage would be awesome, but not sure if it is possible.

This version only sorts alphabetically, I have now added an empty view 🙂


Reopen Add Option: "Git: Ignore new commits in submodules"

@joaomoreno This is a reopen of https://github.com/microsoft/vscode/issues/78016
I'm sorry I didn't reply to that issue, for some reason GitHub never notified me of the response.
In any event, git does recognize the elements of removing submodules from the list of modified files. For instance, when looking at this in VSCode: https://github.com/microsoft/vscode/blob/master/extensions/git/src/git.ts#L1025
const args = ['diff', '--name-status', '-z', '--diff-filter=ADMR'];

Changing to the below ignores submodules
const args = ['diff', '--name-status', '-z', '--diff-filter=ADMR', '--ignore-submodules'];

While I don't believe the git team ever got around to documenting it, it is in this commit as of March of last year: https://github.com/git/git/commit/b680ee1495fb55e2a4236456971b3d427989eb55#diff-ab603fc6eadf618560316097522fe585
The request is to add an option in the settings to toggle that constant as to remove submodules from the listing of modified files in the tree.

Any idea when this could be merged as it has a PR?


State of imaginary-Upgrade15/25 wrong

Describe the bug
After 5-mends milestone, iu15/25(unlock cel6/7) shows as possible(yellow, striped) to get even if having many 1st inf dimension.
To Reproduce
Steps to reproduce the behavior:
Before 20 mends milestone (needed, that cant be reproduced after 20-mends milestone)
after 5-mends milestone
see Imaginary upg 15, 25
Expected behavior
It should be red checkered.
Screenshots

and here i have many of 1st inf dimensions
Savefile
AD_Save,Slot_2#23_(2024-2-3).txt
Additional context
In core/imaginary-upgrade.js, line 87
 if((MendingMilestone.four.isReached && ![25, 15, 16, 17, 18, 19].includes(this.id)) || ...{
// instead of
//if (MendingMilestone.four.isReached || ...

fixed


Sonic the Reinstate Monica-hog: Watch gpa-calculator.online

Sonic the Reinstate Monica-hog requests the watch of the watch_keyword gpa-calculator\.online. See the MS search here and the Stack Exchange search here.

gpa-calculator\.online has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


py: More API tests

Codecov Report

Merging #260 (bdf863a) into main (343663a) will increase coverage by 0.64%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
+ Coverage   49.26%   49.90%   +0.64%
==========================================
  Files         113      112       -1
  Lines        3041     3056      +15
==========================================
+ Hits         1498     1525      +27
+ Misses       1543     1531      -12

Impacted Files
Coverage Δ

playground/control/api/endpoint.py
88.42% <100.00%> (+8.42%)
:arrow_up:

tests/py/api/test_endpoint.py
100.00% <100.00%> (ø)

tests/py/api/test_handler.py
100.00% <100.00%> (+4.16%)
:arrow_up:

tests/py/test_request.py

playground/control/attribs/base.py
93.75% <0.00%> (+6.25%)
:arrow_up:

playground/control/event.py
78.57% <0.00%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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


A lot of errors pop up when run in command prompt

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[x] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
When I run in command prompt, it comes up with a lot of errors. Screenshot below
Copy and paste your error
Traceback (most recent call last):
File "C:\Users\Owner\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\main.py", line 175, in
main()
File "C:\Users\Owner\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\main.py", line 21, in main
loadedAccounts = setupAccounts()
^^^^^^^^^^^^^^^
File "C:\Users\Owner\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\main.py", line 118, in setupAccounts
loadedAccounts = json.loads(accountPath.read_text(encoding="utf-8"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 6 column 5 (char 127)
Screenshots

Value of dashboard variable
https://gist.github.com/HeathPitt/889a1d31fcf100d24d52e009fdc3fa20

your accounts.json is not a valid JSON

your accounts.json is not a valid JSON

AHA! It was because I deleted the proxy part instead of making it blank. Thank you mate, appreciate it 🙏
Also is it normal for login to take a while or is that another issue?

If your problem is resolved - please close this issue out.


Incomming and outgoing request of a WCF service

Hi,
I have a small question regarding message logging in WCF. Is it possible to log the incomming and outgoing request of a SOAP message? What I have done so far is setup MessageLogging trough the existing diagnostic mechanisms  of WCF and try to hook this into application insight.
 <diagnostics>
      <messageLogging logEntireMessage="true"
              logMalformedMessages="true"
              logMessagesAtServiceLevel="true"
              logMessagesAtTransportLevel="false"
              maxMessagesToLog="500"
              maxSizeOfMessageToLog="-1"/>
    </diagnostics>

and
<system.diagnostics>
    <trace autoflush="true" indentsize="0">
      <listeners>
        <add name="myAppInsightsListener"/>
      </listeners>
    </trace>
    <sources>
      <source name="System.ServiceModel.MessageLogging" switchName="sourceSwitch" >
        <listeners>
          <add name="myAppInsightsListener" />
          <remove name="Default"/>
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="sourceSwitch" value="All"/>
    </switches>
    <sharedListeners>
      <add name="myAppInsightsListener" type="Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener" />
    </sharedListeners>
  </system.diagnostics>

What this does is send a whole lot of data to AI and that seems encouraging at first. However, some of the data sent to AI does not contain the ai.operation.name. This seems to result in the message not beeing shown in AI together with the request. Some messages that do contain this ai.operation.name are shown correctly. The reponse of the soap call are in this way logged as a trace, but the incomming request (only way I found was throught ServiceLevelReceiveRequest) does not.
Is there any other way to achieve this? Or maybe i am missing a complete concept here. Is there another way? Our goal here is to be able to trace incomming and outgoing message (SOAP message) of our WCF webservice on our OTA environments.
Hope someone can offer some advice.
Regards, Martin

@mlooise There is an example of doing this by implementing a custom telemetry module here: https://github.com/Microsoft/ApplicationInsights-SDK-Labs/blob/master/WCF/Shared.Tests/TraceTelemetryModule.cs
This might be an option if you have not-too-long messages.

@tomasr Thanks for your reply. I tried this solution and it seems to fit my needs. Thanks!
I am wondering; why is this module currently implemented in the test package of AI.WCF. It looks to me as it could be usable as a telemetrymodule for general use (users could then just config it in the AI.config). It worked out of the box for me emitting events for every request/response.  Now I had to copy it to my own code because it isn't useable from the testpackage. I guess there's a reason for this? Is this module maybe memory extensive? (uses a xml reader)
This is maybe a general comment about the modules of AI.WCF; it took me quite some time to see what is actually in the package and how to use it. Especially also how not te use it (not combine it with the web package for example). I think that some general guidelines or example could be very usefull. I would be happy to provide some input for some examples or maybe a wiki page here on GitHub.

@mlooise The reason this is in the test package is because it is literally helper code to test a library feature, rather than something expected that users would use on its own.
It's also not very efficient, as it requires buffering the whole message content in memory. Some users might be OK with that, but for others that might introduce an unacceptable penalty (particularly if you're using large messages and/or streaming).
That said, I guess we could consider adding it as a default module and disable it by default.
As for documentation improvements, if you've got questions/issues you struggled with, let us know and I'll try to improve the readme to include those!

@tomasr Ok clear, thought some like that. I think that it can be a usefull addition to the package. We are for instance going to use it on our Develop and Test environments to make reproduction of testing-issues easier. We don't want to enable it on Production or Acceptence because it could indeed have a performance/resource impact. Still; If it is clear to 'use at own risk' and only enable it when you known what you're doing .. I think it's usefull!


OrderForm: reorganize fields

Closes #168

If you use the grid component to structure the fields it will add some padding and it would be lees work for the styling. WDYT?


CoinTree bugs

Change colour
Fix text (duplicated)
Should be CoinTree

Colour hasn't been changed (still white background)
Most of the logo is cut off

I made the colour to be white

adjusted colour
Fix text (duplicated)
adjusted name to "cointree"
having issues with adjust image size from json

Colour is still white - if this is correct it can be moved back to testing


Parameterize Inclusive Cutoff Times

Data at cutoff times are currently included in feature calculations. We can make this a parameter to provide users the option to exclude the data.
Software Design
The parameter include_cutoff_time would be added in dfs and calculate_feature_matrix  to control whether data at cutoff times are included in feature calculations.
ft.dfs(
    ...
    include_cutoff_time=True,
)

When using cutoff times with training windows, the training window start time (left endpoint) should be excluded from feature calculations when the cutoff time (right endpoint) is included. This will avoid overlap from consecutive training windows. Similarly, the training window start time should be included when the cutoff time is excluded.
Test Cases
There should be test cases that check feature calculations when:

A training window is not used and cutoff times are inclusive.
A training window is not used and cutoff times are exclusive.
A training window is used and cutoff times are inclusive.
A training window is used and cutoff times are exclusive.

Fixed in #959


Project status

Congrats on the acquisition by VMWare!
I know July/August were the summer with people moving and with the acquisition there would likely be a review of the bitnami portfolio and decisions made about which projects to focus on to complement the broader VMWare strategy.
I hope it's ok to ask but I'm just wondering if this project has been selected to maintain? Fingers crossed, I'm a big fan of kube-prod-runtime!

Hi! We appreciate your interest in the BKPR.
While no new features are currently planned, BKPR is under active maintenance and we plan to continue supporting newer releases of Kubernetes.
We welcome the community to engage and support the development of the project through bug fixes and code contributions.

Hi @sameersbn , ah that's great news, thanks! Still don't think there's anything quite like this out there... need to wrangle several operators/helm charts to get this setup.


But generally, the autocorrelation time isn't known beforehand.

https://github.com/MobleyLab/basic_simulation_training/blob/924ee8724dca2462c12f6f1dbc287b5f1007460e/paper/basic_training.tex#L695
Should address that the autocorrelation time isn't known beforehand. Which may just be that you know the autocorrelation time for similar systems.

Addressed by #111


Support OpenGL ES 2

Currently only OpenGL ES 3 is supported, and anything below results in an error during initialization.
The problem with supporting OpenGL ES 2 comes when generating the bindings. It is not possible to have at the same time GL extensions and GLES extensions.
List of extensions: https://www.khronos.org/registry/gles/#otherextspecs

The GlVersion struct should be modified to take the Api too.

Several tests are failing, but OpenGL ES 2 is mostly supported.


Upgrade pdfjs to v2.9.359

compatible layer button. default false until make layer icon.

I also need newer pdfjs version to support AcroForm/XFA


Feature request: import from shadertoy url and from shadertoy export json

I'm just a beginner and not sure how to set up the same project in vscode as shadertoy.com. I have multiple buffers and I didn't find any mention of them in your readme, but the import would make it much easier to set up a project.

This segment shows how to depend on other buffers, though it maybe could do with some clarification: https://github.com/stevensona/shader-toy#texture-input
The feature might make sense, in the meantime the samples have examples for it.

thanks, i managed to set up my environment based on the examples. it was not so hard, i had to link up a buffer and use iKeyboard instead of iChannel1 but i can imagine that it's not a trivial thing to implement the import from shadertoy


README steps not working

Preface: Am a complete go newbie.
Following the steps in the README, the step that executes the tests fails with:
# go test ./...
h2quic/client.go:13:2: cannot find package "golang.org/x/net/http2" in any of:
	/usr/local/Cellar/go/1.8.1/libexec/src/golang.org/x/net/http2 (from $GOROOT)
	/Users/lars/go/src/golang.org/x/net/http2 (from $GOPATH)
h2quic/client.go:14:2: cannot find package "golang.org/x/net/http2/hpack" in any of:
	/usr/local/Cellar/go/1.8.1/libexec/src/golang.org/x/net/http2/hpack (from $GOROOT)
	/Users/lars/go/src/golang.org/x/net/http2/hpack (from $GOPATH)
h2quic/client.go:15:2: cannot find package "golang.org/x/net/idna" in any of:
	/usr/local/Cellar/go/1.8.1/libexec/src/golang.org/x/net/idna (from $GOROOT)
	/Users/lars/go/src/golang.org/x/net/idna (from $GOPATH)
h2quic/request_writer.go:13:2: cannot find package "golang.org/x/net/lex/httplex" in any of:
	/usr/local/Cellar/go/1.8.1/libexec/src/golang.org/x/net/lex/httplex (from $GOROOT)
	/Users/lars/go/src/golang.org/x/net/lex/httplex (from $GOPATH)

I did do a go get -t but those packages did not seem to get installed.

I'll fix that in the README later. Thanks for reporting.


Add direnv-allow function to apply the changes made to .envrc

This permits to allow the changes from within emacs.

thanks, makes sense. i've pushed two small changes on top of this just now.
i wonder whether this should be automatic whenever a .envrc file is saved.


Request Explorer Context Menu for *.lnk files to "Open in Easy Link File Viewer"

RE: Request Explorer Context Menu for *.lnk files to "Open in Easy Link File Viewer"
This would be a convenient feature in Windows Explorer.

Hi!. I am very sorry for the delay in offering a response, but I have had this project quite forgotten and abandoned.
Responding to your question, I think of two ways to accomplish it, one would be with the registration of a shell-extension, and the second would be simply manipulating the required registry keys.
The time required to develop a shell extension just to perform a single file-type association may not be worth it for me, then, and at least for now, a new option will be added in the program settings to associate the .lnk file extension with Easy Link File Viewer by adding the required registry keys to create the context menu option that you have proposed when right-clicking a .lnk file.
Thank you so much for your suggestions.
Please note this may take me some time (from few days, to weeks) as there are several other Issues in this project that I also need to offer solutions to. Please be patient.
Sincerely,
Elektro.

The featured has already been implemented in the new source code update. See change log of v1.5.
Please wait for the new release with these changes to be published.
If you have more questions feel free to continue this debate. For now, I consider it completed.
And sorry again for the delay in my answers.


Consider auto-create project folder like "react-native init AwesomeProject"

For consistency with react-native init command line interface.

I really like the idea and all your suggestions from #1, thank you for writing all of that down. I agree with you on all points, but I would like to keep an option to have the most minimal project as well. Something along the lines of --bare.
I'm not sure when I will have time to tackle this issue though.

Maybe after I am smarter and have finished my iOS / Android native module, I can find time to work on an example app template with two or three example ReactMethods.

@frostney I see you are working on Bluetooth Low Energy ( BLE ).  I'll have to check those out.
I am working on a Bluetooth Classic native module for iOS and Android.  On iOS you will need a device with a External Accessory EA protocol.

This just landed with 2.0.0. After thinking about this I decided against a --bare option, as I believe now creating a folder improves the developer experience and should be the default behavior. It's easier to move a folder around than finding out which files have just been generated.

@frostney Thanks! Less is more!
( I hate Starbucks because it has * too * many choices ;-)


Is there a way improve memory strategy with in-place & broadcasting & bsxfun?

Suppose I have 4GB gpu memory, see the following code.
A = tf.Variable(tf.zeros([5000, 5000, 25]))  # 5000*5000*25*4byte=2.5GB
B = tf.Variable(tf.zeros([5000, 25])  # 5000*25*4byte=500KB
sub_op = A.assign(A - B)

So, if you run sub_op, apparently, it will lead to OOM error, since A-B will need 5GB peak memory because of the broadcasting repetition.
Question 1: Is there a way to use functions like bsxfun in matlab which will not extend two object into the same big size and then calculate? i.e.
sub_op = A.assign(tf.bsxfun(@minus, A, B))

Question 2: So, there's another problem about in-place assignment. Since sub_op related to in-place assignment, if the tensorflow haven't implemented it reasonable, it will lead to OOM error two, since there's no 5GB gpu memory to handle two 2.5GB objects.
Any ideas?

refer to bsxfun memory and bsxfun
I doubt that whether bsxfun is lead in with "not repetition" version in Matlab R2007, and after a few years, it's improved to the "repetition except the free memory is not enough" version. Matlab uses lazy allocation memory strategies.

On q1.
Because A - B is an automatic broadcasting binary operation. A - B does not require B to be expanded to use 2.5GB. Only the result needs to be allocated (2.5GB). So, the peak memory usage in your code snippet should be 2.5GB + 500KB + 2.5GB.
On q2.
It's been worked on. There can be multiple approaches to this issue: a) extend assign_sub() to support broadcasting; b) support inplace operationos like -=, +=, etc.

If you replace write
sub_op = tf.assign_sub(A, B)
then the broadcasting happens implicitly in the underlying Eigen
expression, and the memory overhead should be minimal.
(Low level code is here:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/dense_update_ops.h#L43
)
Rasmus
On Thu, Apr 14, 2016 at 9:44 AM, zffchen78<EMAIL_ADDRESS>wrote:

On q1.
Because A - B is an automatic broadcasting binary operation. A - B does
not require B to be expanded to use 2.5GB. Only the result needs to be
allocated (2.5GB). So, the peak memory usage in your code snippet should be
2.5GB + 500KB + 2.5GB.
On q2.
It's been worked on. There can be multiple approaches to this issue: a)
extend assign_sub() to support broadcasting; b) support inplace operationos
like -=, +=, etc.
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1934#issuecomment-210042344

I have one more complex question other than just subtract.
Say, still maximum 4GB gpu memory, I need the operation like below, I've confirmed this will lead to OOM error:
    A = tf.Variable(tf.zeros([5000, 25])) # 500KB
    temp1 = tf.tile(A, [1, 5000]) # 2.5GB
    temp2 = tf.reshape(temp1, [5000, 5000, 25])
    _temp2 = temp2 = tf.reshape(temp1, [5000, 5000, 25]) - A # OOM error.
    temp3 = temp2 - A
    temp4 = tf.square(temp2)
    temp5 = tf.reduce_sum(temp2, 2)
    temp6 = tf.reshape(temp5, [5000, 5000])

    sess = tf.Session()
    sess.run(tf.initialize_all_variables())
    sess.run(temp1) # run successfully
    print "temp1"
    sess.run(temp2) #  run successfully
    print "temp2"
    sess.run(temp3) # OOM error
    print "temp3"
    sess.run(temp4) # OOM error
    print "temp4"
    sess.run(temp5) # OOM error
    print "temp5"
    sess.run(temp6) # not execute.
    print "temp6"

So, I don't know why you all @zffchen78 @rmlarsen say that it won't expand intermediately.
Or, is my code wrong?

Both Rasmus and I meant your code do need > 2.5GB * 2 memory. I was trying to correct your understanding that A - B would expand B to 2.5GB first. If your understand was that way, the peak memory would be 2.5GB * 3.
Rasmus was saying, if your original code is changed to sub_op = tf.assign_sub(A, B) and extend the code he points out, the peak memory usage in your program would be 2.5GB * 1.

Ok, so the issue is the one input as 2.5GB while the result requires another 2.5GB memory. Got that.
But, I'm a little confused why the following code still gives OOM error.
temp2 = tf.reshape(temp1, [5000, 5000, 25])
temp2 -= A # if remove this line, sess.run(temp2) execute successfully, otherwise fails.
sess.run(temp2)

temp2 -= A is not doing any inplace update.

temp2 -= A tries to call "isub", if that's not defined (it's not defined for TF tensors), Python interpreter rewrites it into temp2 = temp2 - A and calls "sub"

@myme5261314 : Did this answer your questions?

Yes, I see what's happening. Just for suggestion.
If I wrote the code
temp2 = tf.reshape(temp1, [5000, 5000, 25])
# temp2_ = temp2
temp2 -= A

which temp2 is a tensor, that means whatever the temp2 tensor value is before this operation, I'm discarding it after this operation unless I have another temp2_ which refer to the temp2 before, right?
So, if just like the code above, that line is commented, is it possible to make the temp2 -= A inplace? Since the temp2 before is just a transition tensor, the temp2 after is the actual tensor that might be eval() by the user.
I'm not familiar with tensorflow core, I don't know whether this could be implemented.


As there are not many developers around (yet?), input of everybody is appreciated.

As there are not many developers around (yet?), input of everybody is appreciated.
I have set up a mattermost server for testing at https:;//chat.developer.gosub.io, to check if this is a viable option. If not, we can always check other systems. I have heard good stories about mattermost, but i have no experience with matrix. It might be an alternative as well, but we have to chose something.
Originally posted by @jaytaph in https://github.com/gosub-browser/gosub-engine/discussions/75#discussioncomment-7190330

?


How to deactivate scrolling of messages that shows time label ?

In the demo app, when I scroll a message to left, a time label of the message is displayed, is there a way to deactivate this feature ?
Thanks.

Just found the solution :
Switch accessoryViewRevealerIsEnabled off in BaseChatViewController