Loading document symbols not completing

Environment data

VS Code version: 1.32.3
Extension version (available under the Extensions sidebar): 2019.2.5558
OS and version: Ubuntu 18,04 LTS
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1 Anaconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: XXX

Expected behaviour
OUTLINE should show symbols of an open python file in the editor
Actual behaviour
OUTLINE shows Loading docuement symobls for 'xx.py' ...
Steps to reproduce:

open a pyton file

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Jedi Python language engine.
##########Linting Output - pep8##########
14,1,E,E302:expected 2 blank lines, found 1
47,49,E,E128:continuation line under-indented for visual indent
107,49,E,E128:continuation line under-indented for visual indent
179,80,E,E501:line too long (81 > 79 characters)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

/usr/share/code/reso…rkbench.main.js:272 [Extension Host] Python Extension: stderr jediProxy, Error (stderr) Traceback (most recent call last):
  File "lib/python/jedi/cache.py", line 140, in wrapper
    return dct[key]
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lib/python/jedi/evaluate/compiled/subprocess/__init__.py", line 202, in _send
    is_exception, traceback, result = pickle_load(self._process.stdout)
  File "lib/python/jedi/_compatibility.py", line 471, in pickle_load
    return pickle.load(file, encoding='bytes')
EOFError: Ran out of input

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "completion.py", line 621, in watch
    response = self._process_request(rq)
  File "completion.py", line 565, in _process_request
    all_scopes=True),
  File "lib/python/jedi/api/__init__.py", line 425, in names
    module_context = script._get_module()
  File "lib/python/jedi/api/__init__.py", line 147, in _get_module
    n = dotted_path_in_sys_path(self._evaluator.get_sys_path(), self.path)
  File "lib/python/jedi/evaluate/__init__.py", line 123, in get_sys_path
    return self.project._get_sys_path(self, environment=self.environment)
  File "lib/python/jedi/evaluate/cache.py", line 40, in wrapper
    rv = function(obj, *args, **kwargs)
  File "lib/python/jedi/api/project.py", line 104, in _get_sys_path
    sys_path = list(self._get_base_sys_path(environment))
  File "lib/python/jedi/api/project.py", line 88, in _get_base_sys_path
    sys_path = environment.get_sys_path()
  File "lib/python/jedi/cache.py", line 142, in wrapper
    result = method(self, *args, **kwargs)
  File "lib/python/jedi/api/environment.py", line 116, in get_sys_path
    return self._get_subprocess().get_sys_path()
  File "lib/python/jedi/evaluate/compiled/subprocess/__init__.py", line 161, in get_sys_path
    return self._send(None, functions.get_sys_path, (), {})
  File "lib/python/jedi/evaluate/compiled/subprocess/__init__.py", line 205, in _send
    raise InternalError("The subprocess %s has crashed." % self._executable)
jedi.api.exceptions.InternalError: The subprocess /usr/bin/python3.6 has crashed.

Are you able to replicate this issue consistently?
If yes, please could you:

Try opening a new workspace folder with an empty python file?
Try selecting a different python interpreter?

It is consistent.  It constantly shows "Loading document symbols for
'test.py' ..."
Trying a new workspace folder with an empty python file remains the same
message as above.
switching to 3.6 does not help either.
On Wed, Mar 20, 2019 at 4:34 PM Don Jayamanne<EMAIL_ADDRESS>wrote:

Are you able to replicate this issue consistently?
If yes, please could you:

Try opening a new workspace folder with an empty python file?
Try selecting a different python interpreter?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/4778#issuecomment-474917794,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbrG1MCUgId4ErVKYELwRJIuqvkt3k4yks5vYmL7gaJpZM4b3dYe
.

Please could you try switching to the new language server and let me know whether that works?
Instructions can be found here https://github.com/Microsoft/vscode-python/issues/3977

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


GH-41692: [Python] Improve substrait extended expressions support

Addresses some missing features and usability issues when using PyArrow with Substrait ExtendedExpressions

GitHub Issue: #41692

[x] Allow passing BoundExpressions for Scanner(columns=X) instead of a dict of expressions.
[x] Allow passing BoundExpressions for Scanner(filter=X) so that user doesn't have to distinguish between Expression and BoundExpressions and can always just use pyarrow.substrait.deserialize_expressions
[x] Allow decoding pyarrow.BoundExpressions directly from protobuf.Message, thus allowing to use substrait-python objects.
[x] Return memoryview from methods encoding substrait, so that those can be directly passed to substrait-python (or more in general other python libraries) without a copy being involved.
[x] Allow decoding messages from memoryview so that the output of encoding functions can be sent back to dencoding functions.
[x] Allow to encode and decode schemas from substrait
[x] When encoding schemas return the extension types required for a substrait consumer to decode the schema
[x] Handle arrow extension types when decoding a schema
[x] Update docstrings and documentation

Marking as ready for review as the failures seem to be unrelated, @jorisvandenbossche would you mind reviewing this when you have the chance?

👍 rebased

@github-actions crossbow submit preview-docs

going to merge this as it shouldn't impact user base at the moment and it didn´t get further comments. We can revise if there are concerns as there is time before v19


its not working in android 11. [BUG] -

This project is not properly working in android 11.
I compiled this project. It's successfully compiled. But it's not cropping images from a select gallery.

Hey welcome 👋 to the library and thanks for the Issue.

The project is working in many projects and Android 11 devices, please provide a video of the sample in this repository not working on the android 11 so we can debug it

Can you please follow the template we have for issues? 🙏
There are many points on the template and will help me to help you.
I will close 🔴  this issue so you can reopen following the template
Is important to remember that my work here is volunteer and to save time and have better answer help me that people use the templates.
Thanks!! 🎉


Could not find an sst dev session

When running npx sst dev - verbose command is exiting immediatly with message
Could not find an sst devsession to connect to. Since you are running a command outside of the multiplexer be sure to startsst dev first.
Running the stack in basic mode npx sst dev --mode=basic is working fine.
SST version 3.3.27

Is this npx sst dev --verbose? Does it also happen with just npx sst dev?

Is this npx sst dev --verbose? Does it also happen with just npx sst dev?
With just npx sst dev it was just exiting right away without any message / error

Some of the typescript import where pointing to wrong path. Fixing them resolved the problem.
Closing this issue but it may require some follow up to ensure typescript error are properly exposed to the user.


version 0.7.1 doesn't work. version 0.6 works only with float example_temperature = data.as(); in rpc server side.

ThingsBoard-arduino-sdk version 0.7.1 doesn't work. Version 0.6 works, but there is a mistake in the example rpc 0002-arduino_rpc.ino. Where float example_temperature = data[ " temp " ]; works only with float example_temperature = data.as<float>(); for the method used. I tested with ESP32 and VSCode + PlatformIO with framework = Arduino

@imbeacon I think this can be solved the library now works again when using Arduino AVR boards as long as a newer version is choose, thanks to the optional PROGMEM usage.


Alice logs all messages to console

There is console.log(ctxWithMiddlewares.message) line in alice.ts. Looks like it is debug code.

Fixed this in 1.4.4
sorry, it was a bad idea to release new major version in a hurry


Demag GUI not saving plot

In the demag GUI, when I attempted to save a Zjiderveld plot from the "File/Save plot" pull down menu, no pdf or svg file was generated.

Thanks for reporting this bug @gdacton.  @duserzym has worked out a fix. We will get a new release compiled soon.

This issue has been fixed in the main repository and in the newest OSX release. We will recompile a new Windows release soon.


Investigate Autoscaling

Discovery
See: Autoscaling groups of instances
Decisions

Use Cloud Monitoring metrics
Use Per-group metrics (beta)
Compute the group's bandwidth utilization.
Target 80% utilization

Metrics of use:
The capacity and current_utilization metrics of the autoscaler might be useful.
capacity - Utilization target multiplied by number of serving VMs. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
current_utilization - The sum of the utilization of a specified metric for all serving VMs. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
instance/network/sent_bytes_count - Delta count of bytes sent over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
l3/internal/ingress_bytes_count - The number of bytes sent from client to ILB backend (for TCP flows it's counting bytes on application stream only). Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
client_network: Network of the client instance in ILB flow.
client_subnetwork: Subnetwork of the client instance in ILB flow.
client_zone: Zone of the client instance in ILB flow.

Experiment:
Time series per instance
compute.googleapis.com/instance/network/sent_bytes_count
Utilization target: 250000000 bytes/sec (2Gbps) * 80% = 200,000,000 bytes/sec


BQM Serialization version 3.0.0

Remove the numpy dependency for the binary quadratic model serialization. The sample set will be similarly updated.
In order to make this more "python agnostic", perhaps we should change some of the metadata. Perhaps we could do something like
{"schema_version": "3.0.0",
 "basetype": "BinaryQuadraticModel"
 "encoder": {"library": "dimod",  # "encoder" holds all the stuff specific to the encoding library
             "version": "0.8.14",
             "type": "BinaryQuadraticModel"  # the subclass, if any
             },
 ...
 }

Codecov Report

Merging #510 into master will decrease coverage by 0.81%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #510      +/-   ##
==========================================
- Coverage   93.54%   92.73%   -0.82%
==========================================
  Files          49       49
  Lines        3362     3384      +22
==========================================
- Hits         3145     3138       -7
- Misses        217      246      +29

Impacted Files
Coverage Δ

dimod/binary_quadratic_model.py
95.31% <100%> (-0.16%)
:arrow_down:

dimod/compatibility23.py
81.81% <0%> (-18.19%)
:arrow_down:

dimod/generators/constraints.py
80% <0%> (-8%)
:arrow_down:

dimod/reference/samplers/null_sampler.py
92.3% <0%> (-7.7%)
:arrow_down:

dimod/reference/composites/tracking.py
96.66% <0%> (-3.34%)
:arrow_down:

dimod/variables.py
90.19% <0%> (-2.95%)
:arrow_down:

dimod/views/samples.py
92.4% <0%> (-2.54%)
:arrow_down:

dimod/reference/composites/scalecomposite.py
93.33% <0%> (-2.23%)
:arrow_down:

dimod/testing/asserts.py
94.84% <0%> (-2.07%)
:arrow_down:

dimod/views/bqm.py
90.32% <0%> (-1.62%)
:arrow_down:

... and 5 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 32a7be8...1cfbba5. Read the comment docs.

I removed some of the old fields and moved them around. Current scheme:
            {'bias_type': '<f4',
             'index_type': '<u2',
             'info': {},
             'linear_biases': b'\x00\x00\x80\xbf\x00\x00\x80?\x00\x00@@\x00\x00\x00\x00'
                              b'\x00\x00\x00\x00\x00\x00\x00\x00',
             'num_interactions': 3,
             'num_variables': 6,
             'offset': 3.0,
             'quadratic_biases': b'\x00\x00\x80?\x00\x00@@\x00\x00\x80\xbf',
             'quadratic_head': b'\x00\x00\x03\x00\x00\x00',
             'quadratic_tail': b'\x03\x00\x04\x00\x05\x00',
             'type': 'BinaryQuadraticModel',
             'use_bytes': True,
             'variable_labels': ['a', 4, ('a', 'complex key'), 'c', 'b', 3],
             'variable_type': 'SPIN',
             'version': {'bqm_schema': '3.0.0'}}

Numpy uses the python buffer protocol syntax for types as defined in struct and expanded in PEP3118. Agree it should be called out explicitly.

Hmm,there may be some differences, I may have misread the numpy docs. Anyway, I will look further into it and make is clear in the docs.

Yes, that's the similar part, but for "quite different", check array's 'u' -- Py_UNICODE -- not unsigned int.

Right, and of course array and struct don't match either (though they are at least they appear consistent in their overlap).
This leads to maybe we should use some other format for types that is not python-specific. Maybe use numpy's "nice" printing? e.g.
>>> np.dtype(int).name
'int64'

it seems pretty common, but I cannot find a standard defined anywhere.

Yes, I would prefer dtype.name. The output for types we'll use seems perfect: int16/uint32/float64...
Re: the standard -- this looks like the "N competing standards, let's create a new one to unite them all" xkcd situation. :smile:


Xref to a heading with icon results in error "not a known font".

When I reference a heading with a Font Awesome icon, i get the error "is not a known font" while rendering.
Here is what I tried:
Working:
[[reference]]
== Heading

Text <<reference, icon:cogs[] Heading>>

Not working:
[[reference]]
== icon:cogs[] Heading

Text <<reference>>

Both examples should give the same result. Or am I doing something wrong?

While I agree this is a rendering bug, you probably don't want the icon showing up in the reference anyway. Therefore, you should set the reftext for the section title.
[[reference,Heading]]
== icon:cogs[] Heading

Text <<reference>>

This turned out to be the same issue as #956. It's now fixed in master.


Model is being reset when the "click to select" area is clicked

I have this issue both in my code and also in the demo (https://angular-file-upload.appspot.com/).
The scenario is:
I upload an image by clicking on the "click to select" area and choose an image from the dialog. The image is uploaded after a couple of seconds. When it's uploaded and I click on the "click to select" area again, the preview is removed and the model behind is reset.
Expected behaviour: the preview is not removed even if I choose "Cancel" in the dialog.
Is this possible to achieve by configuring this component somehow?

There is no consistent cross browser way to detect choosing "Cancel" on the dialog. So the model is being reset on click to allow selecting the same file again and to remove the file if the user cancels the popup.

Is there any workaround for this problem? I have a use-case for multiple uploads, say i have uploaded 3 images and previewing it and now i want to add another image and when i click upload button(even if i click "Cancel") again it reset's the model and i need to upload again all the previous images again.

@kishankanugula  if you want to keep the selected files you can add the selected files to another scope variable and have your preivew to show files from that scope variable instead of the one that is attached to the file input.

@danialfarid Thanks for your answer. I am already doing the same.Its not neat so thght there is a better way of doing it through configurations.

@kishankanugula
Since version 5.0,0 you can use ngf-keep.
@papaiatis
You can play with ngf-reset-on-click and ngf-reset-model-on-click since version 5.0,0
but make sure you test on different browsers.

@danialfarid : Thank you for the fix.


Image placeholder widget

Image.network is a great way to load images in a list without all the overhead, however one critical piece that is missing is a way to show a placeholder while the image is loading from the network.
Related to that once the image is loaded, is it cached?

Images are cached in a primitive cache that ignores HTTP headers, for now.
I think it would make sense to have a placeholder image widget, or maybe an image source that shows a placeholder until another image source is available, then defers to that image source, or some such.

Cool thanks @Hixie, that would be ideal and a better UX

This got sorted in M5, is this high priority for you @FaisalAbid?

Related: is this a candidate for a custom widget? Or, do you need something specific from the framework?
Asked another way, is this self-serviceable ?

@lukef was mentioning this today

Yes it could definitely be implemented outside the framework (though if anyone does, we'd love to see it contributed, because it would be helpful for everyone!).
There's two basic approaches, as noted above. I would explore both, and see which is more ergonomic.

I'll do it!
On Thu, Mar 9, 2017, 5:41 PM Ian Hickson<EMAIL_ADDRESS>wrote:

Yes it could definitely be implemented outside the framework (though if
anyone does, we'd love to see it contributed, because it would be helpful
for everyone!).
There's two basic approaches, as noted above. I would explore both, and
see which is more ergonomic.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/8677#issuecomment-285507137,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPfBEFAs2NG7B7ecqcFbq1Map4NXI0Kks5rkIAEgaJpZM4MXrr1
.

@FaisalAbid Cool, let me know if you need any advice.

I think this dupes https://github.com/flutter/flutter/issues/6229


Logs kill command failures and removes unused code

Pull Request Test Coverage Report for Build 4274

11 of 25 (44.0%)  changed or added relevant lines in 2 files are covered.
31 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.03%) to 36.393%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/jobExecutor/utils/process/AzkabanProcess.java
10
24
41.67%

Files with Coverage Reduction
New Missed Lines
%

azkaban-exec-server/src/main/java/azkaban/execapp/ConditionalWorkflowUtils.java
1
89.29%

azkaban-common/src/main/java/azkaban/utils/CircularBuffer.java
10
0.0%

azkaban-common/src/main/java/azkaban/utils/LogGobbler.java
20
0.0%

Totals

Change from base Build 4273:
-0.03%

Covered Lines:
10724

Relevant Lines:
29467

💛  - Coveralls

Overall LGTM. It'll be better to add some details in the change description, i.e., mentioning the original issue, any testing done, or action items after checking in this change.


[Imperial Zoo] Missing Actors in Imperial Zoo

I just installed Imperial Zoo on Foundry and it contains zero Actors.
Makes me wonder what exactly I bought.From: Mister Plugfoundry: 11.308wfrp4e: 7.0.2wfrp4e-altdorf: 4.0.1wfrp4e-archives1: 4.0.1wfrp4e-archives2: 4.0.1wfrp4e-core: 4.0.1wfrp4e-dotr: 4.0.1wfrp4e-eis: 4.0.1wfrp4e-empire-ruins: 4.0.1wfrp4e-horned-rat: 4.0.1wfrp4e-middenheim: 4.0.1wfrp4e-owb1: 4.0.2wfrp4e-pbtt: 4.0.1wfrp4e-rnhd: 4.0.1wfrp4e-starter-set: 4.0.0wfrp4e-ua1: 4.0.1wfrp4e-up-in-arms: 4.0.1wfrp4e-wom: 4.0.1wfrp4e-zoo: 4.0.1Active Modules: award-xp, dice-so-nice, foundryvtt-show-notes, foundryvtt-simple-calendar, give-item, lib-wrapper, nations-of-mankind-wfrp4e, permission_viewer, popout, selectiveshow, socketlib, token-action-hud, token-action-hud-core, token-action-hud-wfrp4e, wfrp4-wfrp4e-npc-generator, wfrp4e-actor-sheet-print, wfrp4e-gm-toolkit, wfrp4e-random-treasure, wfrp4e-vampires, forge-vtt, forge-vtt-optional

The module does not import the actors during initialization


Add arbitrary attribute

I want to add aria-selected: true when link is active, is there a way to do so with this gem?

Got it, thanks!


fix: 🤔 Tokens of the radio get lost when pushing to GitHub

Checklist

[ ] I have verified the bug exists in the latest version of Synergy Figma Library
[ ] I can provide a simple, reproducible example of the issue (e.g. via sample code, or design example).
[ ] I would be willing to provide a PR for this issue.

Description
When using a token key of value, the recursive design token parser assumes we have reached the final value of the token, resulting in a token of type="other" with a value of object Object.

Related to https://github.com/synergy-design-system/design/issues/42


AR mode camera not as expected. the camera jump to origin instead or tracking the environment and put the model in place

Hey all
I have some problem, work with the GLB files,(this what i think)
I export the GLB file from substance painter, but when put on web, and active the AR, the model jump to my head, it seem my position is the origin and the model is  above me.
you can have experience on this
https://virbikes.s3.us-east-2.amazonaws.com/motocycle_demo_test_1.html
but with the same code, just change the GLB source to Model-Viewer library model it work perfect.
you can see from here.
https://virbikes.s3.us-east-2.amazonaws.com/motocycle_demo_test_2.html
if someone know why
thanks

I can repro. I bet the problem is model scale; it looks like it's probably vastly too large. glTF specifies that all files are in units of meters, so if this was modeled in mm, it will end up gigantic. It's hard to tell the scale because we can't occlude it, but it's probably the size of a skyscraper.

Thanks Elalish
I finally figured out.  the Andriod use GLB which working in units of meters, and IOS working in units of Centimeter. that is cause the confusion.

Thanks very much


Support NittroJS

Add support for NitroJS.

@romanmatyus Will you? :)
I am not using it. Although I would love to support Nittro, I have no knoweladge of it and I won't be using it following couple of months.

Now it's just an idea. I too do not have knowledge. Yet ..
I will try implement support within programing new project.

@romanmatyus Perfect.

Maybe in future? :)

@paveljanda Maybe in next life, not enough time :/


[Bug]: UI issues in "Add JS libraries" popup

Is there an existing issue for this?

[X] I have searched the existing issues

Description

Hitting Enter key in the Library URL input box doesn't do anything. Only clicking on the "Install" button works.
Trying out multiple failing URLs one after another, shows multiple error message boxes which looks confusing and unintended (since there's no margin between them).
The error message and the info icon tooltip disagree with each other.
The "Report issue" links to a specific GitHub issue, that's asking for comments, but doesn't seem to be getting responses. Can we streamline this process?
The "Learn more" link is the same docs page link as linked just above, and isn't anything specific to that error message.

Steps To Reproduce
Click on the + icon next to "Libraries" in the sidebar to check these behaviours.
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud & Self-Hosted

larger initiative, will be fixed with this


Parse Notation Data for OpenPGP

This change adds the ability to parse notation data packets in signature data. This adds on a PR submitted by @ralt. Notation data consists of key-value pairs where the same key can be repeated for multiple values much like HTTP get parameters.
I have also made a change in how it handles the self signature to only keep the most recent one. The current implementation will keep the last parsed version which isn't always the case.
To demonstrate the code I have setup this playground: https://play.golang.org/p/1x9kWh7Jp7T

@googlebot I signed it!


Basketball Tutorial

Hi Galen,
Can you create a basketball game tutorial pretty quick?
Thinking I'd like to use it for the Digital All-Stars stream on Thursday.
Attaching the steps here, let me know if this is possible.
Thanks!
https://makecode.com/_aHDXPpdWKg7C
Basketball Free Throw game.docx

Sure. Just saw this though, I'll make the tutorial in the AM.


allow for construction of hash in const fn context

This might be an antipattern that you don't want to encourage, but I found myself wanting to construct a const Hash in rust and added a shim to allow for it, eg:
pub const NULL_HASH: MyDomainHash = MyDomainHash(blake3::construct_magic_hash([0; 32]));

Happy to add more documentation if this is something you'd be open to merging.

There's already Hash::from([0; 32]), so creating a Hash directly has always been allowed (and I see no reason why it would be discouraged). It seems trait fns cannot be const, but since this is already allowed, I would recommend naming it simply Hash::new(...).

I like @cesarb's suggestion of Hash::new. The main reason we haven't had it before is just that it's redundant with From, but if From can't be const then that's a good reason to have new also. There's some risk that a caller might confuse blake3::hash() (actually hash some bytes) with blake3::Hash::new() (just cast some bytes into a Hash output), but I think the [u8; 32] argument type makes that risk pretty small.

It looks like we might be at a place where the entire hash function could be implemented with const fn? Here's some similar work: https://www.reddit.com/r/rust/comments/hi11op/announcing_constsha1_a_sha1_implementation_for/

I translated the  reference_impl into const, but it requires rewriting the for loops and doing manual indexing. It's not very readable. Hopefully within a year it can be const-ified as is.
In case anybody is interested:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018

@AZon8 that playground link doesn't include your code. You might need to click the "Share" button.

Whoops.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=bf14a7fc359a5a072b3f8df690b593dc


Wait for page to fully loaded after click event

$puppeteer = new Puppeteer;

$browser = $puppeteer->launch( [
	'args' => [ '--no-sandbox' ],
	'headless' => true,
	'ignoreHTTPSErrors' => true
] );

$page = $browser->newPage();
$page->goto( $query_params['url'], [ 'waitUntil' => 'networkidle0' ] );

$page->type( '[formcontrolname="username"]', 'username' );
$page->type( '[formcontrolname="password"]', 'password' );
$page->click( '[type="submit"]' );

$page->waitForNavigation(); //shoudl be using this, but from your github issue, it seems that this method cannot be reliably use

$page->screenshot( [ 'path' => 'capture.png', 'fullPage' => true ] );
$browser->close();

I want to wait for the request (after clicking the submit) to fully loaded and after that take the screenshot. So what i should do after the code $page->click( '[type="submit"]' ), in order to achieve that?
Based on issue #4, u stated that $page->waitForNavigation() is not working at the moment, and you suggest to use go to option
Problem is, im navigating without using the goto method but instead using the click event

@slier81 not that Im able to answer this, but do you find that the waitUntil works with the goto? I find i always come across errors / hanging with it.

@liamcharmer i never tried with waitUntil, currently im just hacking it with  php sleep function just to make sure, browser properly render the page

Like you said, this issue is related to #4. Unfortunately I have no solution for this at the moment, nesk/rialto#13 could fix this but I didn't find some time to work on it.
Closing since it's a duplicate.


[Bug]: Unable to restrict Webhook Resource to admin

What happened?
Cannot restrict resource to just admin panel
How to reproduce the bug
add a minimal role user .
can still see the Webhook resource.
Package Version
1.0.1
PHP Version
8.2
Laravel Version
11
Which operating systems does with happen with?
macOS, Linux
Notes
No response

You need to create your own policy in your codebase, then update this line in the config to point to your policy:
https://github.com/TappNetwork/filament-webhook-client/blob/main/config/filament-webhook-client.php#L14

This was my mistake, looking at the wrong config for webhooks.  Thanks for the direction


Remove all MITRE ATT&CK, CAPEC, and CWE endpoints

We only need the POST endpoints and the version endpoint (not object version)
We will still use these to link to CVEs, but don't need to maintain an extensive list of endpoints for user to search and filter

@fqrious I think you misunderstood this ticket

We only need the POST endpoints and the version endpoint (not object version)

I see you've removed these endpoints (ATT&CK, CWE, CAPEC)

We will still use these to link to CVEs, but don't need to maintain an extensive list of endpoints for user to search and filter

And I see you also removed the arango cti processor modes.
Can you add these back please


Controller not re-initialized when using named views and params

Hello,
We have a an ionic app that has states configured as such:
.state('app.insp-question', {
url: '/inspection/question',
params: { qaPackage: null, room: null },
views: {
'menuContent': {
templateUrl: 'templates/inspection/question/question.tmpl.html',
controller: 'questionsController',
controllerAs: 'vm'
}
}
});
And code that navigates to the state as such:
var data = {
qaPackage: vm.qaPackage,
room: vm.room
};
$state.go('app.insp-question', data, { reload: true });
However the controller only initialized one time, event though we are passing in the reload: true option...
Any Ideas on what we are doing wrong ?
Thanks
Greg

It appears that there is a bug that disregards the value true for the reload option...
If the state name is passed as a string it works:
$state.go('app.insp-question', data, { reload: 'app.insp-question' });

Actually that did not work either....
I had to add a parameter (that is don't need or use) to the url alike so
.state('app.insp-question', {
url: '/inspection/question/:bs',
params: { qaPackage: null, room: null },
views: {
'menuContent': {
templateUrl: 'templates/inspection/question/question.tmpl.html',
controller: 'questionsController',
controllerAs: 'vm'
}
}
});
then pass in Date.now() as the value to the bs parameter so that it is always different

Try adding cache: false to your state def to tell ionic not to cache

Thanks !!  That worked !!!

Just to chime in on this...
@foote-Greg the controller not being destroyed is part of Ionic's view caching mechanism. So once the view and controller have been created, they're never destroyed, but disconnected when they are no longer the active view. This is how we're able to do things like swipe-to-go-back.
Disabling caching in this case, while it may work, is not recommended approach you should be taking. Instead you can use $ionicView event.
http://ionicframework.com/docs/api/directive/ionView/
This allow you to do
$scope.$on('$ionicView.enter', function(){
  console.log('call my dataService, or update scope data');
});

Awesome !  Thanks !!!

Thanks for the info @mhartington.  I'll definitely be pointing people to this issue in the future.


Stabilize GAN training

The current GAN performance looks catastrophic. I tried some bigger models but that didn't work.

Perhaps you want to have a regularization method like the R1 regularization, which I find easy and worth trying.

I changed the class GAN as follows, introducing the R1 regularization term loss_r1. I tried enlarging the model but only saw loss_dr decreasing a lot faster than loss_df and loss_dg. I don't think R1 regularization alone would help.
class GAN(GenerativeModel):
    def __init__(
        self, generator: Generator, discriminator: T2TModule, gamma: float
    ) -> None:
        super().__init__(generator)
        self.discriminator = discriminator
        self.gamma = gamma

    def step(self, x: torch.Tensor) -> Losses:
        generator = self.generator
        discriminator = self.discriminator
        x.requires_grad_()
        n = len(x)

        discriminator.zero_grad()
        logits_dr = discriminator(x)
        loss_dr = softplus(-logits_dr).mean()

        fake = generator.sample(n)
        logits_df = discriminator(fake.detach())
        loss_df = softplus(logits_df).mean()

        x_grad_real = torch.autograd.grad(logits_dr.sum(), x, create_graph=True)[0]
        loss_r1 = x_grad_real.square().sum() / n

        loss_d = loss_dr + loss_df + (self.gamma / 2) * loss_r1
        loss_d.backward()

        generator.zero_grad()
        logits_dgf = discriminator(fake)
        loss_g = softplus(-logits_dgf).mean()
        loss_g.backward()

        losses = {
            "loss_dr": loss_dr.item(),
            "loss_df": loss_df.item(),
            "loss_r1": loss_r1.item(),
            "loss_g": loss_g.item(),
        }
        return losses


[WFLY-14673] Utilize org.wildfly.common.Assert for Null-Checks

Fixing https://issues.redhat.com/browse/WFLY-14673

@boris-unckel Thanks for this, but this kind of thing needs to be broken up by maven module or logically related group of maven modules (e.g. clustering) so the relevant component leads can review it their parts. Big cross-cutting refactors are too likely to introduce bugs.

Thanks for this, but this kind of thing needs to be broken up by maven module or logically related group of maven modules (e.g. clustering) so the relevant component leads can review it their parts. Big cross-cutting refactors are too likely to introduce bugs.

@bstansberry Thanks for your fast check. Do you expect one Jira and several pull requests or do I need to split up the JIRA also? I would utilize the toplevel path under wildfly/[splitHere] to provide the PRs.


First draft for read the doc integration

I propose a very first draft for readthedoc integration. To discuss on this pull request.

Thanks guys.
Things are moving up.
I would vote for a separate action to build the doc.
I do not want to stop the packaging due to doc errors.
And I want to focus only on doc at some moment.
Is it a replacement of readthedoc service? Not clear for me...

I agree that a separate workflow would have some advantages. Still the documentation requires the package to be built (to generate the API documentation). This is why I put everything in the same workflow. In a case of separated workflow, we should investigate how to trigger a second workflow (documentation) after a first one (package build). Maybe you've already looked to this ? Or you have other idea to coordinate the 2 workflows ?

In fact each workflow is composed of several tasks that are linked in a specific order.
@thomasarsouze explain one solution in an issue: https://github.com/openalea/github-action-conda-build/issues/2#issuecomment-1907640316


Show Community Note

Describe the problem
Community Notes to a Post are not visible. This includes fact checks and other helpful notes.
Describe the solution
Show Community Note

Version v3.8.2 implements this feature.
Note: since the feed/groups tweets are kept in cache in Squawker, it is possible sometimes that the community note do not appear when it was created after a fetch to Twitter/X has been executed in Squawker. But when tapping on the tweet thread itself, which is not in cache, the community note will always appear.


Incorrect text selection toolbar position in scaled Platform Views (also WebView) at least Flutter 3.13.9 on Android

Steps to reproduce
Related: https://github.com/flutter/flutter/issues/144278

Run code sample.
LongPress any text on the page.

Expected results
Text selection toolbar and selection range handles are in the correct place.
Actual results
Text selection toolbar and selection range handles are in the wrong place (see video).
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(const _App());

class _App extends StatelessWidget {
  const _App();

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: _Home());
  }
}

class _Home extends StatefulWidget {
  const _Home();

  @override
  State<_Home> createState() => _HomeState();
}

class _HomeState extends State<_Home> {
  final _controller = WebViewController();

  @override
  void initState() {
    super.initState();
    _controller
      ..setJavaScriptMode(JavaScriptMode.unrestricted)
      ..loadRequest(Uri.https('api.flutter.dev'));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Scaled WebView Tester'),
      ),
      body: Transform.scale(
        scale: 0.75,
        child: WebViewWidget(controller: _controller),
      ),
    );
  }
}

Screenshots or Video

Video demonstration
https://github.com/flutter/flutter/assets/17119410/137d11b6-8496-4ca3-99b2-cf05d2f2bdca

Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.13.9, on macOS 14.3.1 23D60 darwin-x64, locale ja-JP)
    ! Flutter version 3.13.9 on channel [user-branch] at /System/Volumes/Data/buildroot/flutter_3.13
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.2)
[✓] Connected device (2 available)
[✓] Network resources

There are various problems with scale transformations interaction with Overlays such as text selection, I have been too lazy to file issue for each and create PR, mainly don't feel like writing tests, but you can see my fixes here
https://github.com/moffatman/flutter/commit/c992cd49fe959013412a0c84c16f8354028a09f1

On latest master and stable, it gives below results:
https://github.com/flutter/flutter/assets/67046386/5704c194-71f7-4ed4-95fd-8d66d5b5671d

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.2 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (5 days ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.21.0-1.0.pre.47, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.21.0-1.0.pre.47 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f677027655 (87 minutes ago), 2024-03-06 22:57:32 -0500
    • Engine revision 6c1751bd77
    • Dart version 3.4.0 (build 3.4.0-207.0.dev)
    • DevTools version 2.33.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@moffatman your fixes look about right, I'll go ahead and try to open a PR for those if you don't mind.
Unassigning @johnmccutchan and assigning myself.

Unassigning myself as it looks like this needs more work at sniffing out all the places where transforms are not applied properly. My PR will still move ahead but it won't fix this issue completely. The PR includes most of @moffatman's fixes as well as a few of my own that I noticed while trying out a TextField inside of a Transform.scale (which should now work). However, putting a transform above MaterialApp still doesn't work with my PR.


Update go.sum to remove invalid dependency

Now that github.com/golang/lint has become golang.org/x/lint, that dependency causes my build to break with: go<EMAIL_ADDRESS>parsing go.mod: unexpected module path "golang.org/x/lint"
This commit just removes that line from go.sum

Looks like the dependency is coming in through gRPC:
$ GO111MODULE=on go mod graph
[...]
google.golang.org/genproto<EMAIL_ADDRESS>[...]
<EMAIL_ADDRESS><EMAIL_ADDRESS>[...]

I've created https://github.com/google/go-genproto/pull/144 to do the needful.

ah thanks, sorry for my incomplete research

Not a problem at all, thanks for reporting this.


[flatiron] Help commands do not end in a 'jitsu [not] ok'

As it sounds.

This was fixed in flatiron.  All dependency patches will be published prior to the release of this branch, so I'm closing this.

I'm reopening, since the relevant patch to flatiron caused a regression.

See: https://github.com/flatiron/flatiron/pull/29

nvm indiezero already fixed it.


can't resolve all parameters for angularindexeddb

my 'ng build --prod' keep fail.
'ng build --prod' error message:
ERROR in : Can't resolve all parameters for AngularIndexedDB in C:/.../node_modules/angular2-indexeddb/angular2-indexeddb.ts: (?, ?).
same as my 'ng serve' error message:
Error: Can't resolve all parameters for AngularIndexedDB: (?, ?).
my 'ng serve' can run if i try to add back '@Injectable()' command.
what should i do to solved this 'ng build --prod' problem?

i manage to solve by following this link
https://stackoverflow.com/questions/48748066/angular-5-cant-resolve-all-parameters-for-service


Dual Apache-2.0 or MIT license?

I have a WIP port of this library in Rust, with the potential goal of using it to validate the standard library string type (if it fares well in benchmarks). One potential issue with that however, is that Rust and its standard library are dual licensed under terms of the MIT or Apache-2.0 licenses. This library, however, is only licensed under the Apache-2.0 license. Would it be fine for me to license my crate, which is a derivative work of your library, under a dual "MIT or Apache-2.0" license?

This is fine, we can dual license.

If you'd like, you can just issue a PR to this repo, adding the MIT license, and I will approve it.


ng serve not function in determined file

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ x ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
Description
 A clear and concise description of the problem...
I am debugging my project, but the file I am changing is not recompiling.
It seems that he does not hear the change that occurred in the file
This is happening only in a specific folder, in the rest of the files the command works normally.
🔬 Minimal Reproduction

I open my project, and run the ng command, change the file and save, nothing happens.

But I change any other file outside the "vehicles" folder and compilation starts normally.

🔥 Exception or Error

🌍 Your Environment

Your global Angular CLI version (8.3.18) is greater than your local
version (6.2.9). The local Angular CLI version is used.

IDE VS CODE

Angular 6.x is no longer supported. Please consider updating to a more recent version.  Instructions can be found at https://update.angular.io.  If the issue still persists after updating, please open a new issue detailing the problem.

Did not understand, how so no longer supported? It was working until yesterday ...
The global CLI version is the latest ...

The Angular support policy can be found here: https://angular.io/guide/releases#support-policy-and-schedule
Older versions can continue to be used but please be aware that support will no longer be provided.
If you are encountering a problem, the issue may have already been corrected in a newer version and it is recommended to update projects when and where possible.


Merge template data

Describe the solution you'd like
On previous version of external-secrets, when a template is defined, it would merge the template with the secret keys.
For example, I'm using external-secrets to create my argocd secret:
apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
  labels:
    argocd.argoproj.io/instance: argocd
  name: repo-k8s-conf
  namespace: argocd
spec:
  backendType: systemManager
  data:
  - key: /prod/devops/github/api_token
    name: password
  - key: /prod/devops/github/api_user
    name: username
  template:
    metadata:
      annotations:
        managed-by: argocd.argoproj.io
      labels:
        argocd.argoproj.io/secret-type: repository
    stringData:
      type: git
      url: https://github.com/bla/k8s-conf.git

This results this secret:
apiVersion: v1
data:
  password: base64=======
  type: Z2l0
  url: base64=======
  username: base64=======
kind: Secret
metadata:
  annotations:
    managed-by: argocd.argoproj.io
  labels:
    argocd.argoproj.io/secret-type: repository
  name: repo-k8s-conf
  namespace: argocd
type: Opaque

notice how type and url defined in the template are merged with username and password which are the secret keys.
Is there a way to achieve the same on this external-secrets without hard-coding the username and password to the template like so?:
password: '{{ .password }}'
username: '{{ .username }}'

Because I may have 30 secret keys and only 2 keys I wanna keep in plain text
What is the added value?
Match the behaviour of old external-secrets
Give us examples of the outcome
I would like to define something like this:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
...
spec:
  ...
  target:
    template:
      strategy: merge # <-- This is a new suggested field
      data:
        # plaintext keys and values here #
  data:
    # secrets here #

Notice the strategy: merge that hopefully tells the controller to not just take the template as is, but to merge it to the secrets defined in spec.data

I have too stumbled on the exact use case, my workaround for now is to store the extra fields too in secrets.

https://github.com/external-secrets/external-secrets/issues/1362#issue-1307057829

this is the best feature, will unlock output from helm dependencies can be injected into externalsecrets without having to create new secret

How is this feature implementation going on? This is an important feature that is missing in external secrets operator. Can I contribute if I am allowed?

I don't think we have anyone working on it (that I'm aware of :D) I will assign it to you @kalihman then :) If you need any help, please let one of me, @moolen or @knelasevero know and we can help you out :)

Any suggestion for the name and type of template strategy? Seems 'merge' is good, but what should I name the current default behavior(requires full template description)? @mosheavni

strategy: template

to templatize the entire created resource
strategy: merge

to merge

Any news here? I have a similar use case where I want to use a template to combine multiple values from the external provider and additionally want to have the single values in the resulting secret
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: external-secret
spec:
  secretStoreRef:
    name: secret-store
    kind: ClusterSecretStore
  dataFrom:
    - extract:
        key: external-provider-key
  target:
    template:
      data:
        dsn: "postgres://\
          {{ .dbuser | urlquery }}\
          :\
          {{ .dbpassword | urlquery }}\
          @\
          {{ .dbhost }}\
          :\
          {{ .dbport }}\
          /\
          {{ .dbname }}"

The secret in the external provider includes additionally the fields cookieSecret and many others so I want these in the secret to:
apiVersion: v1
data:
  dsn: **********
  dbhost:  ***********
  dbname: ***********
  dbpassword: ***********
  dbport: ***********
  dbuser: ***********
  cookieSecret: ***********
  ......
kind: Secret

With the old external-secrets implementation this was possible. Can anyone help here or is this not implemented yet?

This isn't implemented yet.
My 5ct on the strategy/naming question: i guess strategy=Merge merges the template with the data. With strategy=Override (which is the default) the template will take precedence over the the data from .spec.data and .spec.dataFrom

hey @kalihman ! are you still working on this? I'm starting to work on a templating series of issues, and would like to take that as well, if it's not implemented yet

@moolen Any update here?

Hey! I'm not aware of any. Free for grabs unless @gusfcarvalho has something

currently I'm using a very ugly workaround which does the job if only dealing with a json string object in the secret. This works well, keep in mind i'm using the template function defined by this operator.

The main and annoying issue with this approach is that, large numbers get converted to scientific notation,
githubAppInstallationID: 1.2345678e+0 when rendered into the secret. It's fine if we define it as string. Not all template functions seem to work.

The default go template behaviour doesn't work either {{ index . "github-app" "githubAppInstallationID" }}

the secret stored in the key argo/github-app

{
  "githubAppID": 123456,
  "githubAppInstallationID": 12345678,
  "githubAppPrivateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEogI...A=\n-----END RSA PRIVATE KEY-----"
}

External secret manifest

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  labels:
    name: argocd-github-app-test
  name: argocd-github-app-test
  namespace: argocd
spec:
  data:
    - remoteRef:
        key: argo/github-app
      secretKey: github-app
  secretStoreRef:
    kind: SecretStore
    name: argo
  target:
    name: argocd-github-app-test
    template:
      data:
        githubAppID: '{{ (index . "github-app" | fromYaml ).githubAppID }}'
        githubAppInstallationID: '{{ (index . "github-app" | fromYaml ).githubAppInstallationID }}'
        githubAppPrivateKey: '{{ (index . "github-app" | fromYaml ).githubAppPrivateKey }}'
        type: git
        url: https://github.com/test
      engineVersion: v2
      metadata:
        labels:
          argocd.argoproj.io/secret-type: repo-creds


Add this information to the documentation the ApiControllerAttribute class

PLEASE add this information to the documentation the ApiControllerAttribute class.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b391017f-25e1-d5e1-c4f7-020408ade7b5
Version Independent ID: 263a7b64-2e42-bbfc-c1d3-61680438e1e4
Content: Build web APIs with ASP.NET Core
Content Source: aspnetcore/web-api/index.md
Product: aspnet-core
GitHub Login: @scottaddie
Microsoft Alias: scaddie

What information would you like added? If you would like it added to the API docs, you need to open an issue with code.


NoReturn behaving unexpectedly after using the decorator with added type annotation

Environment data

Pylance version: v2024.9.1
OS and version: Windows 11 23H2 22631.4169
Python version (& distribution if applicable, e.g. Anaconda): Python 3.12.5

Code Snippet

from functools import wraps
from typing import Callable, NoReturn

def no_typing_decorator(func):
    @wraps(func)
    def _wrapper(*args, **kwargs):
        return func(*args, **kwargs)
    return _wrapper

def typing_decorator[**P, R](func: Callable[P, R]) -> Callable[P, R]:
    @wraps(func)
    def _wrapper(*args: P.args, **kwargs: P.kwargs) -> R:
        return func(*args, **kwargs)
    return _wrapper

@no_typing_decorator
def no_typing_wrapped_raise_some_exception() -> NoReturn:
    raise RuntimeError

@typing_decorator
def typing_wrapped_raise_some_exception() -> NoReturn:
    raise RuntimeError

def no_typing_test(int_or_str: int | str) -> str:
    if isinstance(int_or_str, int):
        r = no_typing_wrapped_raise_some_exception()

    return int_or_str.strip()  # It's OK, int_or_str: str

def typing_test(int_or_str: int | str) -> str:
    if isinstance(int_or_str, int):
        r = typing_wrapped_raise_some_exception()

    return int_or_str.strip()  # Not fine, int_or_str: int | str

Repro Steps

input the above code

Expected behavior
The int_or_str variables in lines 33 and 40 both should be recognized as str type
Actual behavior
The int_or_str variables in line 40 still be recognized as int | str type
Logs

Logs
2024-09-15 13:01:19.022 [info] (Client) Pylance async client (2024.9.1) started with python extension (2024.14.1)
2024-09-15 13:01:33.035 [info] (12492) [BG(1)] SemanticTokens full at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:33.272 [info] (12492) [BG(1)] indexing: file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py [found 6] (0ms)
2024-09-15 13:01:33.272 [info] (12492) Indexing Done: file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py
2024-09-15 13:01:33.272 [info] [Info  - 13:01:33] (12492) Heap stats: total_memory_size=65345MB, total_free_size=51697MB, total_heap_size=121MB, used_heap_size=100MB, cross_worker_used_heap_size=100MB, total_physical_size=121MB, total_available_size=3992MB, heap_size_limit=4096MB
2024-09-15 13:01:33.294 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:33.775 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:33.842 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:36.728 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:38.547 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (1ms)
2024-09-15 13:01:39.026 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:39.303 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)
2024-09-15 13:01:39.369 [info] (12492) [BG(1)] InlayHints range 0:0 - 40:0 at file:///c%3A/Users/Ailit/Documents/GitHub/omega-miya/foo_decorator.py (0ms)

Thanks for the bug report. I'm surprised this bug hasn't been reported previously. It will be fixed in the next release of pyright.

This issue has been fixed in prerelease version 2024.9.101, which we've just released. You can find the changelog here: CHANGELOG.md


Async function call performance

I wrote a JS function that fetches some data and uses it to render a React/Vue component. I decided to do some load testing and for consistency's sake I mocked the data call with a promise that returns after 40ms.
50 virtual users sending 5 requests each:

artillery quick --count 50 -n 5 http://localhost:4000/render

Results with a pool size of 4:

Summary report @ 02:09:01(-0500) 2019-05-16
Scenarios launched:  50
Scenarios completed: 50
Requests completed:  250
RPS sent: 84.46
Request latency:
min: 44.3
max: 512.7
median: 357.2
p95: 483.4
p99: 503.2
Scenario counts:
0: 50 (100%)
Codes:
200: 250

I haven't worked much with OTP yet but it seems like each worker needs to wait for the async request to resolve. The same behavior can be observed in test "gets resolved value". Calling NodeJS.call("slow-async-echo", [1234]) a second time will add another second to the test execution time.
@bryanjos Any way around this? I'd be happy to take a stab at a PR or help in whatever way. Figured I'd inquire if anything jumps out to you.

@mwojtul nothing really jumps out to me. If by each worker needs to wait for the async request to resolve you mean that it waits for the promise to resolve, I think you are correct. I think that's how it's implemented here today.  I'll assign this to @jwietelmann to keep it on his radar

I know it's been forever since anyone responded, but I have a feeling this is because of our undocumented environment variable optimization: https://github.com/revelrylabs/elixir-nodejs/blob/master/priv/server.js#L6
We blow away requires cache on every call unless you set NODE_ENV=production.

I tried setting NODE_ENV to production, but so far I'm seeing the same results. Maybe I didn't do it correctly? I also edited the server.js file directly as well and didn't observe any improvements, so I'm thinking that might not be it.

I looked into this some time ago with https://github.com/revelrylabs/elixir_react_render and its definitely tied to the way Task works/used.
https://github.com/revelrylabs/elixir-nodejs/blob/master/lib/nodejs/supervisor.ex#L52-L65
As you can see in the code above, NodeJS.call is a pretty much a synchronous blocking call which awaits for the JS code to finish so that we can return the result. If you want to view it as JS, its the equivalent of, which would take about 2s to complete:
async function call() {
  return new Promise.resolve((resolve) =>
    setTimeout(() => resolve(Math.random()), 1000)
  )
}

await call()
await call()

I think we'd need to change or add something to make it not await in the call but return the Task itself. I didn't have that much time to experiment and try out that solution to see if it was valid and solved the problem. This does mean that we'd have to handle the await in another location or towards the end when we render everything after kicking off each task.


Add BytesMut::try_reserve()

I rebased #521.
While I do not claim this implements #484, I think the review was too harsh: BytesMut is the only
API with a reserve method, adding other fallible allocations APIs should not be done in this MR.

Hello, I also need this. Any way we can get this merged?

Actually, it seems like Vec::try_reserve is not available on our minimum supported rust version.

Vec::try_reserve has been in Rust since 1.57, which was released in December 2, 2021 (almost three years ago). Is there any plan on raising the MSRV anytime soon? Otherwise would you accept a PR gating this API behind a feature gate?

Given that even syn is at 1.61, I think a bump to 1.57 is fine.


Auvidea J-120 + Jetson TX2 issue: Fixed in JetPack 3.2?

Hi,
This page claims that the USB issue with the J120 board must be fixed in the JetPack release after 3.1. Recently I found the version 3.2 developer preview is here, but I cannot see anything related to that in the release notes.
Can you tell me whether the issue was fixed in the version 3.2 or I'd better use 3.1 + patch?
Thanks in advance.

just verified, usb port on J120 with Jetpack3.2 doesn't work. don't know whether or not this patch will work


RuleEvaluator crashes when comparing numeric values

Hello! Amazing project and I appreciate your work.
Unfortunately, I encountered a couple of problems while attempting to use the project for a detection engine.
Given the following Sigma Rule:
title: Test Sigma Rule
id: 123
status: experimental
description: Crash the evaluator
date: 2024/03/27
detection:
  cond1:
    - receivedByte|gte: 0
  cond2:
    - deviceAddress|gte: <IP_ADDRESS>
  condition: cond1 and cond2
level: low

and event:
{
  "receivedBytes": 25,
  "deviceAddress": "<IP_ADDRESS>"
}

the RuleEvaluator crashes the program in two ways:

if it does not find the receivedByte in the map[string]interface{} event, and passes to coerceNumeric a nil interface, which generates a panic.
if the rule contains a modifier that forces the use of the coerceNumeric and the value of the key is a string that can not be transformed to a float64 or int by yaml.Unmarshal(like an IP address), the coerceNumeric function recurses itself until a stack overflow.

I understand that writing a corect rule is paramount, but sometimes it can not be helped that the user makes a typo.
I can submit a pull request with the required fixes, if it helps.

Great spot! Yeah this definitely shouldn't panic/crash. Had a go at fixing this too, but it turned out pretty much identical to your solution so I'm happy to approve a PR from your branch if you'd like?

Sure thing. I'll submit a pull request. Thanks for the quick update.


fix(doc): add section translation in deploy_nginx.pt-BR.md

Description
This PR adds a missing section translation to the deploy_nginx.sh documentation.
Related Issue
Patch only, no related issue.
Changes Introduced

docs/sprint2/deploy_nginx/deploy_nginx.pt-BR.md

Translated section Script in Action to Brazilian Portuguese -> Script em Ação

Documentation Updates
Only changes mentioned above.
Checklist

[x] I have performed a self-review of my code.
[ ] I have requested a third party review (eg. Qodo Merge)
[ ] I have linked this PR to a relevant issue using keywords like "Closes #issue_number".
[ ] I have added tests that prove my changes work (if applicable).
[x] I have updated documentation (if applicable).

@CodiumAI-Agent /review

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Translation Accuracy
Ensure that the translation of Script in Action to Script em Ação is accurate and contextually appropriate for the intended audience.
## Script em Ação


TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

I have deployed the solution in a customers environment but I am getting this error. I am unable to see the chat pages or persona pages, I get this error instead. Can anyone please advise on how to fix. It is really urgent, thanks so much.
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

I have the same error. Did you fix it? How? (I see that you closed it)

Interestingly enough I didn't do anything, my access wasn't eligible to view the pages. However, the customer was able to view and use the application without any issues. It was due to the way the access was set up in their tenant for users who aren't employees.

This happens in the logged in user's session does not have an email address.
In my case, my user's session.user.email was undefined. The logged in user must have an email address.


In WorkspaceConfAPI get_status and set_status is not working properly.

while running the get_status method getting the below error
get_status: type object 'dict' has no attribute 'from_dict'
WorkspaceConf is a dictionary and it does not have from_dict method
Also could not able to set the status.
set_status: It is not accepting any input for setting the status.
Please have a look into it.

Hi @prajin-29, thanks for raising this, this is duplicate of https://github.com/databricks/databricks-sdk-py/issues/128. We will take a look at the issue and follow up on the original link.


Fix hostnames

LGTM

@Sftobias this changes are needed to make these roles work with the IM.
could you confirm that this change does not break the functionality when it is used manually?

Deployed a test cluster with it. Everything looking good.


Mutable keys and refactoring storage

Completely remove __mut_keys_len and __mut_keys_contains since the VM doesn't have the corresponding opcodes anymore.
Remove __storage_get and __storage_get_extern from type checking. They're only allowed to be inserted by the compiler and handled in asm gen.
Add __eq_set and __mut_keys but only allow them to be added by the compiler, similarly to the storage intrinsics above
mut keyword for storage accesses. External storage accesses don't have that since external storage keys should be constrained in the contract that owns them.
Moved key computation for storage variables into a lowering pass. The same pass also insert the constraint

constraint __eq_set(__mut_keys(), { /* list of keys */ })

Closes #797

Yikes!

Yikes!

Well, every test gets a new constraint on mutable keys, even when there are none.


Deploying a Geoevent server question

Hi all,
I'm brand new to Chef and I have been reading this site and the watching some tutorial videos.  I'm in the process of deploying  ArcGIS Enterprise 10.9 using chef and cookbooks 3.7.0.   I made a Windows 2016 Chef workstation (version 21.6.497) and an Ubuntu Chef Server.   All my clients/nodes are Windows 2016.  I've been following the guide here.
https://github.com/Esri/arcgis-cookbook/wiki/Automate-a-multi-machine-ArcGIS-Enterprise-deployment-on-Windows-using-Chef-Server
It has gone fairly smoothly, I have Base Enterprise deployed along with a Big Datastore and Geoanalytics server.  Now I'm trying to make a Geoevent sever and I notice there isn't a file for Geoevent under "roles".  I have the cookbook and templates, but following the guide I mentioned above, each server has had a corresponding "role" JSON file.
Can anyone assist me with how I would deploy a Geoevent server?  Do I need to use the template with Chef Zero commands  directly on the workstation that will become GeoEvent or will I need to use a template to create a "role" file so I can deploy Geoevent with Chef Workstation?
I also want to mention that when I first tried to deploy Base Enterprise using 3.7.0 cookbooks, I received missing dependency cookbook errors.   I had to go into the 3.6.1 cookbooks and get the cookbooks for s3_files, windows, windows_firewall, hostsfile, openssl, nfs,.... etc,.

Hello @Mike-DM,
You can use the following json files for GeoEvent Server:
https://github.com/Esri/arcgis-cookbook/tree/master/templates/arcgis-geoevent-server/10.9/windows
If using Chef Server, move them to the roles directory.
For the missing dependency issue, did you download and use arcgis-3.7.0-cookbooks.zip
the from the following location?
https://github.com/Esri/arcgis-cookbook/releases/tag/v3.7.0
This will contain all necessary cookbooks. Otherwise if downloading the cookbook from https://github.com/Esri/arcgis-cookbook/tree/v3.7.0 it will only contain the Esri Cookbooks and not the third party dependency cookbooks.
Happy Automating,
Cameron K.

Hi Cameron,
Thanks a lot for your assistance!  I will modify the templates as you suggested and put them in my roles directory for upload to my Chef Server.
You're right, I got the cookbooks from https://github.com/Esri/arcgis-cookbook/tree/v3.7.0 so that explain why I was missing the third party dependency cookbooks.  Thanks for pointing me to the other location for the full cookbooks.
Best Regards,
Mike

You're welcome! Since the original question has been addressed I'll go ahead and close this issue. However, feel free to open a new issue if there are further questions/issues that may arise.
Thanks,
Cameron


Haftarot for Triennial Cycle Torah Reading

Add triennial Haftarah to the leyning algorithm:
https://www.rabbinicalassembly.org/sites/default/files/public/halakhah/teshuvot/2011-2020/triennial-haftarot.pdf
https://www.rabbinicalassembly.org/sites/default/files/public/halakhah/teshuvot/2011-2020/Triennial Haftarah Supplement15 final.pdf

This was completed in v4.15.0 - Jul 08, 2022


croc-hunter-jenkinsx to 0.0.133

Promote croc-hunter-jenkinsx to version 0.0.133

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[FLINK-35461][config] Improve Runtime Configuration for Flink 2.0

What is the purpose of the change
As Flink moves toward 2.0, we have revisited all runtime configurations and identified several improvements to enhance user-friendliness and maintainability. We want to refine the runtime configuration.
Brief change log

Deprecate options related to hash-based blocking shuffle
Deprecate options related to legacy hybrid shuffle
Deprecate or update options of floating/exclusive buffer
Deprecate or update options of shuffle compression
Deprecate netty options that are not recommended to be used
Deprecate taskmanager.network.max-num-tcp-connections
Deprecate the unnecessary option fine-grained.shuffle-mode.all-blocking
Deprecate StreamPipelineOptions that only contains deprecated option

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@flinkbot run azure

@xintongsong @TanYuxin-tyx Thanks for the review! I updated the PR accordingly. Please take another look.


Fix/hero exp

What changed? Why?

Refactored logic for isReady flag in Experiments context
isReady now returns true regardless of success/failure of the initialization of experiments

Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


0.38.8 broke absolute and aliased imports

Upgrade to 0.38.8 broke absolute and aliased imports. The code compiles and works fine, but shows errors in Volar:

tsconfig.json:
{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*"],
    }
  },

  "include": [
    "src/**/*.ts",
    "src/**/*.vue",
  ],
}

webpack.js:
const path = require("path")

module.exports = {
  resolve: {
    modules: ["node_modules", "src"],
    extensions: [".ts", ".js"],
    alias: {
      "@": path.resolve(__dirname, "src"),
    },
  },
}

This problem also bothered me all day, you can try rollback to 0.38.5
i think this problem related to this commit

I can't reproduce this problem, could your provide minimal reproduction?

Forgot to mention that I'm on Windows.
I will see if I can make a repro repo.
On Sun, Jul 17, 2022, 20:21 Johnson Chu @.***> wrote:

I can't reproduce this problem, could your provide minimal reproduction?
—
Reply to this email directly, view it on GitHub
https://github.com/johnsoncodehk/volar/issues/1585#issuecomment-1186575914,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UOXSVLRPERIQCYHLZDKLVUQ6K5ANCNFSM53ZVPFHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@johnsoncodehk i make a reproduction in https://github.com/johnsoncodehk/volar/issues/894

I have same problem, but also importing from node-modules is broken.
I rolled back to 0.38.5 and it's fine.

I have the same problem😭since volar updated today

I'm not 100% if these two issues are related, but I'm getting similar TypeScript errors once I start editing a file since upgrading to 0.38.7 or 0.38.8 (these issues are not present on 0.38.6):

Open a file, everything is linted correctly, no errors, etc
Make a change, for example add const props =  infront of defineProps

In the above example, you get the following result:

As you can see, the syntax highlighting is pretty odd indeed!
Another example of just odd behavior is take a component such as:

And add another simple component, and you see you get a TS error instantly, on the rest of the component that seems to have nothing to do with the change.

If you reload VsCode at this point, all the linting/errors for both issues go away, until you make another change.
I saw this issue was recent and was related to TypeScript issues, so if this should be a separate issue please let me know.
Thank you!
(I will revert to 0.38.6 for now as the issues do not happen there, I'm on Windows 11, VsCode 1.69.1, and using .vue and .js files (no typescript in my project specifically))

Having the same issue as the post starter, I'm also on Windows, version 0.38.6 is the last version that works correctly for me.

Also running same issue with latest version on windows
Just to add a datapoint
Problem happens for import links for .ts files inside of .vue files only
Example
File.vue
import { xx} from<EMAIL_ADDRESS>works ok

import { yy } from '@/store/store'
throws ts(2307)

Rolled back to 0.38.6

in v0.38.8
i have the same problem

me to

Having the same Problem with the following Setup

Monorepo using pnpm
2 x Vue3 Projects
Using Windows 10

Path aliases for one project work, for the other they don't.
Had the Issue with v0.38.8 & v0.38.7
Rolling back v0.38.6 seems to work.

I am having the same issue.

Windows 11
v0.38.6 is fine
We can build without problem
Our Vue project files are in a subdirectory, opening the subdirectory directly in VSCode seems to work fine.

I have the same problem

My Vue code (node_modules, src, tsconfig.json) is also in a subdirectory of
the VC Code workspace like in the reproduction above.
I set typescript.tsdk in .vscode/settings.json to make the extensions
find it, maybe Volar now ignores this setting.

@2-5 please open a new issue and provide repro case if still have this problem.


Error while creating the dinghy VM: Could not find kernel image: /boot/vmlinuz64

I have just installed dinghy in my mac mini (intel core i5, 16gb ram) and it hangs when I execute the create command.
I'm passing all the arguments, like this:
dinghy create --provider virtualbox --cpus=1 --memory=8 --disk=100000
VirtualBox Version: 5.0.28
Dinghy Version: 4.4.2
Local Ruby Version: 2.0.0p648
OSx: Sierra
Docker Version: 1.12.2
Docker Machine Version: 0.8.2
If I launch the Virtual Box interface and I go to the new created VM, i can see this happening:

Thanks in advance.

Oops! I've just realized that I put --memory=8 but it should be --memory=8192. I worked now...


[4.X] Add table prefix to backpack orderBy clauses.

This is a fix for #2908
Please bare in mind that backpack by default will not add order if you have a column with same name of the model key.
If you model key is id and you add the column id to the crud, you need to manually define the search logic so it does not conflict with other tables same column name.

A new inspection was created.

The inspection completed: 1 new issues

Please bare in mind that backpack by default will not add order if you have a column with same name of the model key.
If you model key is id and you add the column id to the crud, you need to manually define the search logic so it does not conflict with other tables same column name.

Hmm... I'm not sure I understand what you mean by this @pxpm , could you please rephrase/expand?
So for example if I have this DB:
- articles (id, title, content, slug, category_id)
- categories (id, name, slug)
- tags (id, name, slug)
- article_tag (id, article_id, tag_id)

How would the above work? What would I not be able to do?
Also, is it an old gotcha or is it introduced by this PR?
Thanks!

I will try to explain better...
This is our current codebase without this PR:
            if ($item['column'] == $this->crud->model->getKeyName()) {
                $hasOrderByPrimaryKey = true;

                return false;
            }
        });
        if (! $hasOrderByPrimaryKey) {
            $this->crud->query->orderByDesc($this->crud->model->getKeyName());
        }

So if the column is the same as model key, we assume that the order would be done by the dev, because he added the column into the crud.
If we don't find the model key within the columns array we set $hasOrderByPrimaryKey to false and apply our default order. $this->crud->query->orderByDesc($this->crud->model->getKeyName()); This is the default order that is causing issues if you leftJoin some other table that has a column with same name of the current model key (id in the example you provided).
I wrote a more descriptive answer with query results in: https://github.com/Laravel-Backpack/CRUD/issues/2112#issuecomment-559802908
Like described, this is an old issue not introduced by this PR. That issue lead to this PR and not the other way around.
Let me know if you still have doubts of what this fixes and why developer need to take that into account if they explicitly use the model key as a column.
Best

A new inspection was created.

A new inspection was created.

Got it, thank you for the explanation @pxpm ! Merging now.

The inspection completed: 1 new issues

The inspection completed: 1 new issues


Events 7.0.2 Sub-Calendar Settings page not displaying calendar name

DNN Settings for sub-calendar are not showing any available calendars. Though one can click on blank name and add and remove.

Played around with some more. It's appears to be a larger issue as none of the settings are being retained either. If I modify Events Settings they appear save until I restart application. Once I do all my prior settings are lost. Will create new issue for it.


⚠ Bofrost.de has degraded performance

In b0217a2, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1121 ms

Resolved: Bofrost.de performance has improved in 9a26d96 after 6 minutes.


Players unable to Return from Delay with the appropriate button

FoundryVTT: 12.328
PF2e: 6.0.4
Players used to be able to return themselves to initiative by clicking the spinning Clock icon, now I (as GM) have to return them whenever they'd like to re-join initiative.
No errors on the console for Player or GM when the player is spam-clicking the clock to return.

Fixed in 0.8.1

Fixed in 0.8.1

Excellent! Verified as working just now.


Document isAuthenticated usage

Coverage remained the same at 98.87% when pulling da1b2939ca52c7fa2d397a54a38d2bebbb1cee32 on blzaugg:patch-1 into 13c550c6432894f9b78d6c8414af0d1f8f75f9e7 on jaredhanson:master.

Coverage remained the same at 98.87% when pulling da1b2939ca52c7fa2d397a54a38d2bebbb1cee32 on blzaugg:patch-1 into 13c550c6432894f9b78d6c8414af0d1f8f75f9e7 on jaredhanson:master.

Merged in https://github.com/passport-next/passport

FWIW, req.isAuthenticated does not require sessions.

LGTM, can we get this merged?

please accept this pull request, very useful and will save people tons of hours.

@jaredhanson Can you comment on getting this merged?


dn 404 contract

Description
DN404 contract.
https://github.com/Vectorized/dn404
Tasks
Contract needs:

[ ] To get one nft for X ERC20. This params need to be in storage.

[ ] URI metadata for NFT creation with different mode, create an enum for it:

RandomID (collision can be created, check)

[ ] Implement test

Mind if I take this issue?

I am a smart contract dev, and this is my approach to the tasks
Firstly - i will define storage variables to hold the ERC20 token address and the price for minting one NFT. Then

create an enum for URI generation modes, including a RandomID option.

implement logic to generate a random ID, ensuring no collisions by checking existing IDs.

add a mint function to handle ERC20 transfers, generate metadata, and mint NFTs based on the selected mode.

Lastly - make all required test

May I please work on this?
I have experience in Cairo, particularly with NFTs (ERC721, ERC1155) and migrating contracts from Solidity.

I will study the dn404 contract and carefully transfer the logic to Cairo, implementing dn404 factory.
I'll add parameters for the NFT creation mode enum (RandomID, maybe adding more variants later) and the conversion ratio between ERC20 and nft tokens
I'll implement any integration code needed to integrate this factory into the project
I'll write tests for the contract, testing for various paths

Storage Variables for ERC20 and NFT Parameters in a Contract:
Define storage variables for the ERC20 token address, price in X ERC20 units, and NFT base URI.
Metadata with Modes
Create an enum for metadata generation modes:
RandomID: implement logic to handle collision in case of a clash of IDs.
Implement functions to generate and assign URIs for metadata based on a selected mode.
Purchase of NFT
Implement a function that enables users to mint one NFT for the cost of X ERC20 tokens. Deduct the amount and transfer to the contract or the wallet in question.
Testing:
Write comprehensive tests to ensure the correct functionality of NFT minting, ERC20 payments, and URI creation, including collision handling of RandomID.


:broom: drop support for AWS SQS Source

Signed-off-by: Zbynek Roubalik<EMAIL_ADDRESS>
Changes

:broom: drop support for AWS SQS Source

/kind removal

Fixes #235

Release Note

Drop support for AWS SQS Source

/lgtm
/approve


Add support for Asynchronous DBA command for Managed Instance of Apac…

Add support for Asynchronous DBA command for Managed Instance of Apache Cassandra

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.


Adding a theme

I was wondering if there's any interest in integrating a built-in theme to hvplot? If not, I'm thinking of creating a separate package that, on import, applies this theme (like seaborn).
Examples of how it compares to https://pyviz.github.io/hvplot/user_guide/Gridded_Data.html
https://anaconda.org/ahuang11/hvplot_theme/notebook
and also https://pyviz.github.io/hvplot/user_guide/Introduction.html

There are a couple of issues though.

the title doesn't update according to the theme
the settings set by the theme don't seem to be overwriteable

So I was thinking of wrapping this into a function with adjustable keyword arguments (and also remedy the title) that returns hv.renderer('bokeh').theme = theme

I've had this discussion with a number of people including bokeh core devs and they all expressed interest in potentially including a theme like this upstream either in bokeh or in holoviews. I'm sure we'd be able to address the remaining issues you mentioned at the HoloViews level.
Personally I'd be very happy to include your theme in HoloViews and provide a convenient way of enabling it but I'll let @jbednar @jlstevens and @bryevdv chime in here as well.

I would like an approach to theming that can be used equally easily with bokeh, holoviews and hvplot. This probably means exposing a number of themes at the bokeh level - in particular I am interested in adding a dark theme.

@jlstevens https://anaconda.org/ahuang11/hvplot_dark_theme like this?

@ahuang11 I've defined dark themes for various projects I've worked on in the past. The tricky thing is making sure the theme is completed enough for general usage, across all types of plots. That said, your example above looks good!

That's a good point; issues I've seen so far:

the title doesn't update according to the theme
the settings set by the theme don't seem to be overwriteable
the theme doesn't scale well for subplots (font size is too large, and get's crowded)
box whisker's are black in the dark theme

@ahuang11  I believe bokeh would be interested in accepting a dark theme. It is something that should be done as a collaboration between multiple people to ensure the result can be appreciated by everyone.
If you are willing to make a bokeh PR with what you've got, I would be happy to give feedback on it and expand on it as necessary. How does that sound?

Sure, I'll get it around later.

Thanks @ahuang11! I'm at SciPy2018 this week but I hope to have a look later in the week.


Prevent double counting storage pools

Description
Currenly, getStoragePoolUsedStats method fetch all pools
independed if a pool have a parent. Therefore as soon
as a datastore cluster is used, the cluster and the storages it contains are calculated together
The change fetch all storages without cluster and all datastore cluster
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

tested in own env.

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1123

@blueorangutan test

@harikrishna-patnala can you please review since you've worked with datastore clusters?

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1983)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34775 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5398-t1983-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Duplicate fix

Fixes #47 #48.

@debovema .

@debovema how does this look? Is it ready to merge in your opinion?

I'm going to merge this, if needed we can create another PR to resolve any outstanding issues.


[MB-7392] Add soft deletion indicator to MTO Shipments

Description
Add a deleted_at column to the mto_shipments table. This follows the pattern that other tables use for soft deletion (like, documents, for example.)
Reviewer Notes
Setup
Add any steps or code to run in this section to help others prepare to run your code:
make db_dev_migrate
make db_dev_e2e_populate
make schemaspy (to see new column/comment, can use your tool of choice, though)

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-7392

  Generated by :no_entry_sign: dangerJS against a8e5e4cdf5dbbe22b7cf4e394a30bede0312d287

@LeDeep cool, thanks, I added a reminder as a comment on that next story, so I think just doing it there make sense when working on the handler, etc.


Display quotes

Text intended to be pulled out as a quote.
User Stories
Author

As an author, I want to be able to distinguish quoted content from non-quote content so that I can check the status has been applied correctly.
As an author, I want to be able to see any attribution applied to a quote so that I can check this is correct.

Production staff

As production staff, I want to be able to designate a piece of content as a quote so that I can call it out for special display.
As production staff, I want to be able to edit a quote so that I can correct any errors.
As production staff, I want to be able to remove quote status from a piece of text so that I can turn it back to normal text.
As production staff, I want to be able to delete a quote so that I can correct any errors.
As production staff, I want to be able to set a type for a quote so that I can specify the kind of quote it is.
As production staff, I want to be able to change the type for a quote so that I can correct errors.
As production staff, I want to be able to move a quote to a specific point in the article so that I can increase the visual impact of the quote.
As production staff, I want to be able to add an attribution to a quote so that I can credit the original source.
As production staff, I want to be able to edit the attribution for a quote so that I can correct errors.
As production staff, I want to be able to remove the attribution for a quote so that I can correct errors.

But what if . . . ?

Considerations

These stories are written on the basis that a display-quote can contain any kind of content - paragraphs, tables, equations and so on. display-quote acts as a container for this content, to distinguish it from the non-quoted content around it.
At eLife, our Features team needs the ability to place a quote, edit it and move it if the placement needs updating. This has implications for the generation of article PDFs.
At eLife, we use disp-quote for pull quotes in Feature articles and in the author response sub-article to capture quotes from the decision letter sub-article.
Other publishers may use disp-quote in a less 'editorialised' way, i.e. as citing a passage from a work (see epigraph quote in XML requirements below). This may need some consideration in the design to account for both uses.

XML requirements
Display quotes are captured in the element disp-quote.
<disp-quote>

Biological concepts – no matter how loosely defined – are always embedded in broader theoretical perspectives on how nature works.

</disp-quote>

PKP example:

    <disp-quote id="dispquote8">

Display Quote <italic>Italic text</italic>

    </disp-quote>

Erudit examples:
<disp-quote content-type="example">
        3

…les standards sont encore une fois si bas, on se contente d’un français médiocre, entrecoupé par des expressions et même des phrases en anglais, ce qui prouve le manque d’aisance en français…

</disp-quote>

<disp-quote content-type="epigraph">

Un jour, tout sera bien, voilà notre espérance :

Tout est bien aujourd’hui, voilà l’illusion.

    <attrib>Voltaire, <italic>Le désastre de Lisbonne</italic></attrib>
  </disp-quote>

In eLife content disp-quote can be captured as a child of:

body
sec

eLife allows the following child elements:

p
attrib

A @content-type attribute should be allowed for extra semantic capture. Examples include following values (which are essential for Érudit):

content-type="verbatim"
content-type="dedication"
content-type="epigraph"
content-type="example"
content-type="editor-report"

This should be set up in the configuration.
Érudit allows the following children of disp-quote (including all variations):

attrib
verse-group
disp-quote
fig
graphic
list
def-list
disp-formula
disp-formula-group
table-wrap
p

Taken from: https://github.com/elifesciences/TextureRequirements/issues/92

This functionality is already present in Texture but would need additional work to meet the following requirements

Designating a piece of content as a quote is not possible. The quote element must be added or removed. Blockquotes could be set using a formatting type option
It is not possible to remove quote status from a piece of content unless the content is deleted and replaced. Blockquotes could be set using a formatting type option
Additional quote options are needed to set a quote type