Fix Windows dll loading for Conda

See https://github.com/conda-forge/cupy-feedstock/pull/113#issuecomment-807010102. Without this patch, the dll loading errors at this line:
https://github.com/cupy/cupy/blob/30e004549b1862f3360b3b5922566bd6b9805bb2/cupy/_environment.py#L226
The reason is Anaconda/Conda-Forge put all dlls under the Conda env root ($CONDA_PREFIX), which is then assigned to $CUDA_PATH, so the expected dlls are just in the root dir. Also, on Windows there is no $CONDA_PREFIX\bin directory.

Looks like there is $CONDA_PREFIX\Library\bin. Will check.

Resolution: We agreed in https://github.com/conda-forge/cupy-feedstock/pull/114/files#r602357673 to set CUDA_PATH to $CONDA_PREFIX, so this PR is needed and should be backported. However, we should consider possible improvements that could avoid setting this, discussed in #3222.

pfnCI, test this please.

Jenkins CI test (for commit 81963ece2513d909b91e994c504f11f2bf9da093, target branch master) failed with status FAILURE.

LGTM! Test failures are not related to this PR.


Add AZ fallback

@cznewt the default value if undefined in the configuration file is False so it shouldn't default to True here.

@cznewt I'm trying to be consistent with the rest of the files - liberty and kilo. So - I can change it everywhere and add it to map.jinja, or we leave it as is. It's your call.
@simonpasquier Thanks!

Damia, default value is False (https://docs.openstack.org/mitaka/config-reference/block-storage/volume-misc.html).
Please keep it false as upstream by default, then IMHO is not needed to place it in map.jinja. Then send PR to reclass-system, to enable it and describe the advanteges/purpose.

@epcim If we change it to false in mitaka/newton/ocata, then we need to change it as well in liberty and kilo to keep this consistent. I don't mind doing that, but it would actually alter existing liberty/kilo deployments.
About PR to reclass-system - I believe that if someone is using system repo, he should already know the implications of this change.

@damjanek commented on May 10, 2017, 10:51 AM GMT+2:

@epcim If we change it to false in mitaka/newton/ocata, then we need to change it as well in liberty and kilo to keep this consistent. I don't mind doing that, but it would actually alter existing liberty/kilo deployments.
About PR to reclass-system - I believe that if someone is using system repo, he should already know the implications of this change.

ok got it.


Issue with long test in option

I have a select in narrow bootstrap column and long text inside.
How i can force plugin to dont wrap column?

data-container="body"


Minor improvements to getting-started guide

Signed-off-by: Vijay Bellur<EMAIL_ADDRESS>
What this PR does / why we need it:
Minor improvements to getting-started guide. Updates an old URL and fixes a few typos.
Release note:

NONE

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.


"Expert Mode" for developers

Is your feature request related to a problem?
After deleting an annotation the old value is not visible anymore.
Desired solution
Create a setting where the user can select the expert mode.
It should contain these features:

[ ] Show the deleted annotation and mark it in some form

Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

This is somewhat redundant now that #771 is implemented.


how to animated multi transform attributes ？

http://stackoverflow.com/questions/37558292/how-to-make-this-animate-with-react-native
i want this static position
constructor(props) {
        super(props);
        this.state={
            loaded:false,
            transform:[{ perspective: 0 },
                      { translateX: width },
                      { rotateY: '0deg'}],
            isMenuOpen:false,
        }
    }

animate to this position
Animated.timing(
                this.state.transform,
                {toValue:[{ perspective: 850 },
                          { translateX: -width * 0.24 },
                          { rotateY: '60deg'}]},
            ).start();

how to write the animation code ？

Stackoverflow is the right place to ask this question.
Could you please close this issue? Thanks.

@facebook-github-bot stack-overflow

Hey @12343954 and thanks for posting this! @DanielMSchmidt tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


Make 'tasks from' in challenge detail and 'modified' in admin show the same thing

'Modified' in challenge admin seems to show the last time any task was touched in the challenge.
It would be better if it showed when the tasks were last updated (and let the label also reflect this)

v3.1.1 Added a "Tasks Refreshed" field to the challenge admin that is consistent with the "Tasks From" end-user field seen when browsing a challenge.


add Governance section

Description
This PR introduces a governance section on the website, which provides:

info on Grin's RFC and governance processes
info about to the core, node, and wallet teams

Live preview
https://lehnberg.net/site/governance
Image preview

got another one for you to take a look at, @quentinlesceller & @nijynot :)

Based on feedback from @tromp, Ignotus is now in a "inactive" state, where image and text is greyed out and links are disabled.
Live preview:
https://lehnberg.net/site/governance
Image preview:


[FEATURE REQ] Azure Monitor to export resource attributes for logs

Library name
Azure.Monitor.OpenTelemetry.Exporter
Please describe the feature.
Similar to https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/18909 , when adding a resource onto a log message the console exporter can fetch and display associated information file but the azure monitor does not add it to the customDimensions section.

Here is a small snippet of code I used to confirm this was the case:
var connectionString = "";
var resource =  ResourceBuilder.CreateDefault().AddService("AnyService").AddAttributes(new Dictionary<string, object>
{
	{"AnyKey", "AnyValue"}
});

var loggerFactory = LoggerFactory.Create(builder =>
	builder.AddOpenTelemetry(
		options => options
			.SetResourceBuilder(resource)
			.AddConsoleExporter()
			.AddAzureMonitorLogExporter(
			ctx => ctx.ConnectionString = connectionString)));

var logger = loggerFactory.CreateLogger("AnyLogger");

logger.LogError("Ahh I hit an error!");

Was there a specific reason it was not added or just accidentally left out?

I'm consolidating all issues regarding exporting custom Resource Attributes into another issue to help with tracking. https://github.com/Azure/azure-sdk-for-net/issues/46020


delete image from page item

hi,
i can't find in the doc how to remove, delete the image on a page item without changing it.
i just want to remove the image.

i coded it myself


update feature card Readme

Need to improve this component on \<Feature Cards>\<Readme.md>
Improvements required :
Any reference image?
Any external reference?
You can checkout this one for better understanding.

Please assign this to me

@RavindraP04 go ahead


ks_2samp throws RuntimeWarning: overflow encountered in double_scalars

Hiya all. My code's throwing a RuntimeWarning for a floating-point overflow. Thought I'd better share.
Reproducing code example:
import pickle
import pandas as pd
from scipy.stats import ks_2samp

# version info
import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info, end='\n\n')

path = 'example_data.csv'
df = pd.read_csv(path)

print(df.head(), end='\n\n')
print(df.dset.value_counts(), end='\n\n')

sample_1 = df.loc[df.dset == 1, 'measurement']
sample_2 = df.loc[df.dset == 2, 'measurement']
s, p = ks_2samp(sample_1, sample_2, alternative='less') # throws RuntimeWarning
print(s, p, end='\n\n')

Output (including warning message):
1.6.0 1.19.2 sys.version_info(major=3, minor=7, micro=9, releaselevel='final', serial=0)

                                read_id  measurement  dset
0  0153c115-d84e-4b6a-81ad-25dcf938b078     0.352588     1
1  01919874-2479-4f42-9bc6-dafbfa71460f     0.420933     1
2  0192782e-41ab-453f-ad86-69b3bcffa82a     0.151604     1
3  01c229ec-d609-4a96-8c98-9e935b013ab1     0.238302     1
4  01d5f369-fc79-47ab-b71a-20f3825f485b     0.589941     1

1    881
2    369
Name: dset, dtype: int64

0.27017216823700585 2.5700040154944468e-17

/users/PAS1405/kimmel/.conda/envs/sci-computing-env/lib/python3.7/site-packages/scipy/stats/stats.py:6659: RuntimeWarning: overflow encountered in double_scalars
  num_paths += term
/users/PAS1405/kimmel/.conda/envs/sci-computing-env/lib/python3.7/site-packages/scipy/stats/stats.py:6656: RuntimeWarning: overflow encountered in double_scalars
  term = B[j] * bin

The lines of scipy code that throw the warnings (or at least, their equivalents in version 6.3) are here:
https://github.com/scipy/scipy/blob/14af6145d0402a9cac45ef7db8dcad78f023517e/scipy/stats/stats.py#L7155-L7162
I attached my Conda environment.yaml file (env.txt) as well as a CSV of the data that's giving me trouble (example_data.txt).
Is the output of ks_2samp trustworthy in this case?
Thanks,
~Chris

Hello Chris,
Could you try your code on the master branch ? I tried on my machine (on master), and I wasn't able to reproduce the warning.

I can reproduce this in main on my machine.
Whether the results are "trustworthy" depend on your needs. The statistic is accurate, but the p-value is not exact.
The overflow occurs because the sample sizes are very large. The warnings don't explain what happens, but after the overflow, the function switches from attempting the exact calculation to performing an asymptotic calculation, which tend to become accurate as sample sizes increase. In this case, I would trust that exact the p-value is on the order of 1e-17 because the two-sided exact test does not have trouble:
> ks_2samp(sample_1, sample_2, alternative='two-sided', mode='exact')
KstestResult(statistic=0.27017216823700585, pvalue=3.246909807766347e-17)

One thing that should be done to consider this issue resolved is to improve the selection of exact vs asymptotic test and to show the appropriate warnings when things go wrong. There is some funny logic in the code. For instance:
https://github.com/scipy/scipy/blob/b5d8bab88af61d61de09641243848df63380a67f/scipy/stats/_stats_py.py#L7425-L7431
Why should this warning only appear if the user requested the exact method? In your case, it would have been better if you had been informed that the p-value was from the asymptotic method.
It would be even better if the exact calculation could be extended to even larger samples like in gh-14432. (But there is no shortage of enhancement requests like this, and personally, I would prioritize fixing major bugs and adding exact p-values for other important tests over computing exact one-sided p-values for large samples here.)


How to get IP address

http://stackoverflow.com/questions/3003145/how-to-get-the-client-ip-address-in-php


Don't pass user-provided data to path.join-like methods like project.{...}_dir

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1517
Originally created by @DouweM on 2019-12-24 15:32:27

See https://gitlab.com/meltano/meltano/merge_requests/1275#note_264714911
We will want to identify all of the uses of these methods, and then figure out what we want to do with them on a case-by-case basis. We will likely want to validate and sanitize any user-provided path segments beforehand.

View 6 previous comments from the original issue on GitLab


0.4.0 Broken Restart Setup

Restart Setup broke the UI, doesn't put the followers back in the beginning state and allow password reset:

For setup leader just doesn't reset the password.

Note: requires further testing and should be part of larger setup ceremony cleanup


Create a sensor box with support for different sensors and experiments in one box

For simplicity we have created one experiment per box. Please evaluate and implement different experiments and sensors in one sensor box.

Hii
I'd like to contribute to this repository. Can you assign this issue to me?


Bug 1784532: Clarify FROM behavior in builds

In Docker strategy builds, the from field will replace the last FROM directive in a multi-stage Dockerfile build.

Seeing the same changes to the CRD manifests. The order changes. Otherwise they look correct. Sgtm.

/lgtm
/approve


feat: email validation middleware added (#381)

Fixes Issue
My PR closes #381
👨💻 Changes proposed(What did you do ?)
I have added a custom middleware for email validation called "emailValidator" and have used it in the required request handlers. This aims to prevent duplication and is a modular approach to handle email-validation.
✔ Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title and description of the PR is clear and explains the approach.

Note to reviewers
I believe the code should work fine just as before since I personally tested it, but if any issue arises, please let me know, I'll earnestly fix them.
📷 Screenshots

Please let me know if I did anything wrong, I have tried sticking to the rules strictly

Please let me know if I did anything wrong, I have tried sticking to the rules strictly

There's a new rule added in case you missed it, it's fine it was added today. It says to show a screen recording of your working software if you worked on the backend

Please let me know if I did anything wrong, I have tried sticking to the rules strictly

There's a new rule added in case you missed it, it's fine it was added today. It says to show a screen recording of your working software if you worked on the backend

@destryptor

Please let me know if I did anything wrong, I have tried sticking to the rules strictly

There's a new rule added in case you missed it, it's fine it was added today. It says to show a screen recording of your working software if you worked on the backend

@destryptor

yeah just a second im uploading the recording on a cloud to embed it here

https://github.com/Dun-sin/Whisper/assets/117581936/84f4a5f7-9e30-4445-8ed8-a46fd83db6c3
So what I've done to show functionality is that I've used Postman to send the POST and DELETE requests to the server where the emailValidator is required. I've sent JSONs with both valid and invalid emails to show that the validation works as intended.
Apart from that. the tab spaces have been fixed as you asked for.

Thanks! I've already starred the project. Thanks for giving me the opportunity:)

Thanks! I've already starred the project. Thanks for giving me the opportunity:)

you are welcome


Add support for Obsidian type blockquote alerts

Make the alert type parsing more flexible to support more types
Add AlertTitle and AlertSign (for folding)

Note that GitHub will not render callouts with alert title/sign.
See https://help.obsidian.md/Editing+and+formatting/Callouts
Closes #12805
Closes #12801

I created a render hook to handle blockquotes with and without an alert title:

layouts/_default/_markup/render-blockquote.html
{{ $emojis := dict
  "caution" ":exclamation:"
  "important" ":information_source:"
  "note" ":information_source:"
  "tip" ":bulb:"
  "warning" ":information_source:"
  "danger" ":radioactive:"
}}

{{ if eq .Type "alert" }}

      {{ transform.Emojify (index $emojis .AlertType) }}
      {{ with .AlertTitle }}
        {{ . }}
      {{ else }}
        {{ or (i18n .AlertType) (title .AlertType) }}
      {{ end }}

    {{ .Text  }}

{{ else }}

    {{ .Text }}

{{ end }}

Then I tested this Mardown:
> [!danger]
> Do not approach or handle without protective gear.

---

> [!danger] Radiation hazard
> Do not approach or handle without protective gear.

The above was rendered to:

In the first example AlertTitle is the same as AlertText. I expected to see this instead:

@jmooring thanks, I have force pushed a fix.

This looks good to me.


Appropriately handle responses with no content.

As I understand the JSON API spec (see http://jsonapi.org/format/#crud-deleting as an example) returning no content in the body is a perfectly valid thing to do in a number of instances. Previously this would cause errors when trying to construct a ResultSet instance from the response.

Thanks! Looks good


Async Requests

I would like to create a dashboard to track my entire investment portfolio. Eventually, I would like to calculate historic metrics on the different assets I hold as well as the entire portfolio.
This will require me to send many requests to the EasyEquities internal API. To speed this process up (and increase the scalability of this library), I would like to implement async requesting using aiohttp instead of the requests library.
Would this addition be valuable to add to the public library?

@Samuel-Sendzul sure, you're welcome to 👍


fix function part II example

sorry about that - we really need to check this via Travis ;-)

Definitely 👍


Brave 4.x upgrade (spike to see if we can do this incrementally)

Still WIP but wanted to get some feedback on this early....

Codecov Report

Merging #25 into master will decrease coverage by 2.12%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #25      +/-   ##
============================================
- Coverage     91.17%   89.05%   -2.13%
+ Complexity       91       80      -11
============================================
  Files            18       18
  Lines           306      274      -32
  Branches         17       14       -3
============================================
- Hits            279      244      -35
- Misses           23       25       +2
- Partials          4        5       +1

Impacted Files
Coverage Δ
Complexity Δ

...ck/zipkin/internal/RatpackCurrentTraceContext.java
100% <100%> (ø)
4 <4> (?)

.../main/java/ratpack/zipkin/ServerTracingModule.java
84.12% <100%> (-6.5%)
12 <3> (-3)

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 e0ec625...cad5b00. Read the comment docs.

@llinder I did a quick test of this an as far as I can tell, I'm still getting traces like before. Basically my goal here was to change as little as possible. Because I'm lazy. 😛

Definitely a good iterative approach to maintaining existing functionality while introducing the Brave 4.x APIs.

It might be a lot of work and probably special hooks to attempt to emulate
the old thread state model (server-client-local) with any alternative due
to coordination needed to tell if whatever current is a server client etc
or not. It is further difficult because the threadbinder code needs to work
on a concrete span type.
Personal plan is to defer that sort of effort in favor of completing brave
4 api instrumentation. That way new installs can be simple.
If after that I can make time without killing something else, I could help
try to make some sort of syncrhonizing machinery to adapt the threadbinders
to current span (it likely needs to also read braves internal state or keep
its own to know which is a client server or not). If anyone else can help
with that, I'd be happy to have it!
On 10 Apr 2017 4:24 am, "Ho Yan Leung"<EMAIL_ADDRESS>wrote:

@hyleung commented on this pull request.
In src/main/java/ratpack/zipkin/ServerTracingModule.java
https://github.com/hyleung/ratpack-zipkin/pull/25#discussion_r110551980:

@@ -93,26 +101,29 @@ public ClientResponseInterceptor clientResponseInterceptor(final Brave brave) {
}

@Provides

public Brave getBrave(final Config config, final ServerConfig serverConfig) {
Brave.Builder braveBuilder = new Brave.Builder(

   new RatpackServerClientLocalSpanState(

           buildLocalEndpoint(

                   config.serviceName,

                   serverConfig.getPort(),

                   serverConfig.getAddress()

           )

   )

);

public Brave getBrave(final Tracer tracer) {
return TracerAdapter.newBrave(tracer);

@llinder https://github.com/llinder I don't think this works the way I
thought it would - looking at the implementation, it appears to construct a
new Brave using an instance of ThreadLocalServerClientAndLocalSpanState,
which obviously isn't much help to us. I had hoped that it would use the
CurrentTraceContext instance that's already present in the Tracer, but no
🎲
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hyleung/ratpack-zipkin/pull/25#pullrequestreview-31733712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD61zK53lbbo0U8LSH7Txch_YJAZFXLks5ruT6YgaJpZM4MzxD3
.

@adriancole I agree and would rather see the brave 4 APIs progress as apposed to figuring out the mapping between CurrentTraceContext and ServerClientAndLocalSpanState.   Personally I don't think the company I work for is in a situation where we need to mix brave 3 and 4 APIs in a single project.  My plan is to instead move from Brave 3 to 4 on an app by app basis and avoid the TraceAdapter entirely.

@adriancole @llinder yeah, I think I'm gonna close this PR/spike. If it was a quick win and we could keep compatibility then that would be been nice, but I agree we should focus on the Brave 4 upgrade.


Failure exporting to GLB with animated armature

Describe the bug
Blender results in error when trying to export a rigged animated model to glb.
To Reproduce
Steps to reproduce the behavior:

Import blender model and texture (see link below)
File > Export > glTF 2.0
Optionally, also tried "stash" or "bake action" (no success)
Optionally, also tried all possible combinations of export options (checkboxes)
Select "glTF Binary (.glb)" format and hit Export button

Expected behavior
https://sandbox.babylonjs.com/ should successfully load the exported glb and show all the animation options on the lower bar. However, the model is not even created at all (see error message below). I found out that deleting the drivers results in successful export, but all animations are lost.
.blend file
Model + zipped texture from https://smutba.se/project/31506/.
Version

OS: Windows 10 from Surface Pro 7
Blender Version 2.93.5

Error message
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\__init__.py", line 626, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 46, in save
    json, buffer = __export(export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 63, in __export
    __gather_gltf(exporter, export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 75, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 39, in gather_gltf2
    animations += __gather_animations(blender_scene, export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 83, in __gather_animations
    animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations
    animation = __gather_animation(blender_action, blender_object, export_settings)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation
    channels=__gather_channels(blender_action, blender_object, export_settings),
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 149, in __gather_channels
    return gltf2_blender_gather_animation_channels.gather_animation_channels(
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 103, in gather_animation_channels
    channel = __gather_animation_channel(
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 202, in __gather_animation_channel
    sampler=__gather_sampler(channels, blender_object, export_settings, bake_bone, bake_channel, bake_range_start, bake_range_end, action_name, driver_obj),
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 254, in __gather_sampler
    return gltf2_blender_gather_animation_samplers.gather_animation_sampler(
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py", line 70, in gather_animation_sampler
    output=__gather_output(channels,
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py", line 338, in __gather_output
    bone = gltf2_blender_get.get_object_from_datapath(blender_object_if_armature, object_path)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_get.py", line 37, in get_object_from_datapath
    prop = blender_object.path_resolve(data_path)
ValueError: Object.path_resolve("key_blocks["COR.thigh_up_L"]") could not be resolved

location: <unknown location>:-1

Can you please test with blender 3.0 alpha ( https://builder.blender.org/download/daily/ ) ?
This is already solved in master. (duplicate of #1415)

Solved. Thanks!
And sorry for the Github issue duplication.


enhancement/#453-update-typescript-definition-file

closes #453

Thanks @BrianDGLS! Can you merge master into this real quick? Fixed some lint issues.

@davidkpiano Updated to master.


FIX: correct inserting of configuration data

The data comes back from ophyd as a dict of dict keyed on 'value',
'timestamp'.  Previously this was inserting the stings 'value',
'timestamp' into the descritor, rather than the information.

Oops. As we've said before (and I recently discussed with @dchabot) this is one more indication that we should eventually move Device, Signal, and friends into a separate package that does not import pyepics. Don't worry, @klauer: if we do this, I would advocate for supporting our current API forever using shim imports.

So, does anything return a (val, timestamp) tuple anymore? I thought I remembered that Signals still did this, but a quick look at the codebase tells me I'm wrong about that. Are we using {name: {value: ..., timestamp: ...}} everywhere?

@danielballan Why is this an indicator and why is that a good idea?

I should have given that more context:
This bug occurred because the test/example devices in bluesky are not a complete reimplementation of the Device in ophyd. It seems like a good idea to test on the real thing -- not just in some proposed "vertical integration" suite but in the bluesky unit tests. It would also be nice if the motors and detectors used as toy examples were true ophyd soft devices/signals.
There are two ways to do this: make it possible to import ophyd.device/signal without pyepics or move these epics-agnostic bits to a separate package. Counterintuitively, the latter is actually less distributive from an API point of view (because ophyd imports many of its pieces to the top level).
Also, by moving Device and Signal to a separate package, we can lower the barrier for someone to reuse these abstractions on top of a different protocol. I don't think our group would or should ever do this, but it's neat that someone could, say, use pyvisa to talk to LabView through a Device.
Sent from Outlook Mobilehttps://aka.ms/qtex0l
On Thu, Feb 11, 2016 at 4:35 AM -0800, "K Lauer" <notifications<EMAIL_ADDRESS>wrote:
@danielballanhttps://github.com/danielballan Why is this an indicator and why is that a good idea?
—
Reply to this email directly or view it on GitHubhttps://github.com/NSLS-II/bluesky/pull/330#issuecomment-182838261.

Problem: "we have vertical integration issues" Solution: "stack it higher!"
I think your assessment is fair working under the assumption that "someone" out there is going to be using our stuff with a completely different setup than we have. In my opinion, which you're probably already aware, we should wait until that "someone" pops up before we start creating even more unnecessary package-related maintenance for ourselves. I find it to be very painful working with 10 different packages, broken apart for reasons unrelated to the original development intent or our actual usage, for just one project.
Also, pyepics is a pure Python library. Installed and left unused it causes no harm and doesn't even try to find libca until you start poking at it. If someone were to come along and say "we want to use bluesky and ophyd Devices and your other stuff but we don't want EPICS", do you really think that the one objection they will have is to installing pyepics versus the other tens of packages we depend on?
Chances are this change will happen regardless of what I think in the name of "cleanliness of abstractions", but at least I've recorded my opinion.

Problem: "we have vertical integration issues" Solution: "stack it higher!"

This made me lol.

I find it to be very painful working with 10 different packages, broken apart for reasons unrelated to the original development intent or our actual usage, for just one project.

tl;dr I have nothing useful to add.
I agree that in many regards working with 10 packages over one package is more difficult.  One very real advantage that outweighs my annoyance at working with more small packages is that each package becomes responsible for less and so becomes much easier to test. That being said, ensuring that all of its components work together would be the job of that one monolithic package, but in the scenario where we have 10 packages, it is the job of the vertical integration testing which we have been continuously punting on (for obvious reasons like we dont have enough people). my 0.02 * :dollar:

@klauer I agree this shouldn't be done merely for the sake of one idea of abstract elegance -- splitting packages up has advantages and disadvantages. But we do have some use cases on the horizon with outside users in the 1-3 months time horizon. I leave it to @tacaswell to elaborate.

I want to be able to use Device objects in bluesky tests without having to install pyepics.  As a practical matter, we are using conda packages which correctly has epics-base as a dependancy of pyepics so to do as you suggest would require gymnastics.
@sbillinge wants to be able to create a simulation enviroment for XPD users to 'dry run' their experiments before they show up at the beam line.
I am sure that this bit of refactoring can be done in a 100% back compatible way.   If we do not want to pick ophyd apart, it needs to be importable with out pyepics and we change the conda recipe to not require it.

@tacaswell, we are currenlty making our simulation extremely lightweight so that it doesn't even import bluesky.  This means that this is not urgent for us right now.
We tried the bluesky route but there were too many dependencies.  In the future we may revisit if there is a bluesky conda package and it will all install together with a conda install bluesky.
Our goal is not to simulate the entire xpd data acquisition process, but rather to allow users to create their sample and experiment metadata objects at home, then write them to yaml files to bring to the beamline. So our bluesky objects don't have to do anything, but just have to exist so that all the imports work in the xpdacq modules.

@sbillinge you are currently importing ophyd (https://github.com/xpdAcq/xpdSim/blob/master/simulator/areadetector.py) which mean your sim project has a hard pyepics dependency, and hence if you are using our conda packages, a hard epics-base dependency.
At any rate, this discussion has gotten way off the rails.  What level of testing would make people happy enough to merge this?

Please wait on this.  This is code from Tim that I haven't reviewed yet.
There are still some things we need to sort out, and would like you in the
discussions, but this is not our priority right now.
simulator may be a bad name for what we are building....
S
On Thu, Feb 11, 2016 at 11:17 AM, Thomas A Caswell<EMAIL_ADDRESS>
wrote:

@sbillinge https://github.com/sbillinge you are currently importing
ophyd (
https://github.com/xpdAcq/xpdSim/blob/master/simulator/areadetector.py)
which mean your sim project has a hard pyepics dependency, and hence if
you are using our conda packages, a hard epics-base dependency.
At any rate, this discussion has gotten way off the rails. What level of
testing would make people happy enough to merge this?
—
Reply to this email directly or view it on GitHub
https://github.com/NSLS-II/bluesky/pull/330#issuecomment-182939858.

--
Prof. Simon Billinge
Applied Physics & Applied Mathematics
Columbia University
500 West 120th Street
Room 200 Mudd, MC 4701
New York, NY 10027
Tel:<PHONE_NUMBER> (o) 851-7428 (lab)
Condensed Matter Physics and Materials Science Dept.
Brookhaven National Laboratory
P.O. Box 5000
Upton, NY 11973-5000
(631)-344-5661
email: sb2896 at columbia dot edu
home: http:// http://nirt.pa.msu.edu/bgsite.apam.columbia.edu/

@sbillinge Thanks for providing some context about your "simulated beamline" use case. I think your last comment must be about something in xpdacq, but this is a bluesky PR. It's easy to lose track in email. :- )
@tacaswell I vote for a basic read_configuration method on examples.Base that returns a hard-coded dict of jibberish "configuration".


Deprecate WH_ARCH_YAML env var and make dispatch out of eth cores default for WH

Functionality depends on:

[x] #7573
[x] #7480
[x] #7603
[x] #5973

Let's decide on Monday on this. Nick mentioned the model team wants 8x8 as the default grid, in which case we deprecate this and make 8x8 the default.

can this be closed?

can this be closed?

we deprecated the env var but I don't think we want to make eth dispatch default for now, closing for now and will re-open another issue if it needs to be made default


JavaKit: Macro and translator support for mapping Java classes to Swift classes

Java classes are currently translated in Swift structs, and we use is/as
functions to cast up and down the hierarchy. Start down an alternative
path where we translate Java classes into Swift classes, making proper use
of inheritance in Swift to reflect inheritance in Java.
This step updates the @javaclass macro implementation to check whether
it is being applied to a class (rather than a struct) and adjust its
behavior accordingly:

The superclass is extracted from the inheritance clause of the class
rather than the "extends" argument to the macro.
The "full Java class name" static member becomes a "class" member.
For everything other than JavaObject itself, it is an override.
The javaHolder property is only emitted into JavaObject, nowhere else.
The init(javaHolder:) initializer becomes required. For everything
other than JavaObject, it's implemented as a super.init call.
The JavaSuperclass typealias is no longer emitted.

All of this is keyed off the subject of the attribute being a "class"
rather than a "struct", so we keep the existing struct versions working.
Relatedly, extend the translator with an option to map Java classes to
Swift classes. This involves a number of changes:

Emitting each as an "open class" rather than "public struct"
Emitting the superclass into the inheritance clause rather than the "extends" argument
Emitting methods as "open" rather than "public", and "override" when we are overriding a method declared in a superclass
Emitting initializers as "convenience" since we still always build a Java object behind the scenes
Only emit methods and fields declared in the class, not inherited ones

This option is only currently only enabled in test cases while we stage in this functionality.
This is for issue https://github.com/swiftlang/swift-java/issues/132.

Hm, definitely promising direction. I like that the object holder is in the super class, that makes sense. open also makes sense though maybe I'm unnecessarily worried about actually using this ability to subclass those 😅
So far looking good :)

Looks good 👍


Merge-up Stable to Master

CLA signed by all contributors.

FWIW, I generally push merge-ups straight to master (no PR) unless there's something I had a specific concern or question over.


Only format JavaScript comments

This PR sets the comments variable so that comment formatting will only effect:

//
/*
*/

This fixes the issue brought up here which was incorrectly formatting certain characters as comments.

Thanks! Could you please explain the fix for me? I don't quite understand the comment option here.

Thanks I have read Vim's manual and got know the detail. Thanks for the pull request!

Yep!
This PR enabled comment formatting with the formatoptions setting.
A side effect of that, was that now anything that vim thinks is a comment is getting treated as a comment, you can see an example in the issue I linked above.
This setting limits the comment formatting to only JavaScript comments (My proposed line is close to default vim setting, just removed a few non JS comment indicators like # and >)

Ha just saw your response back as well, thanks for the quick merge!


packaging: enable Parallel Collector GC for management server

The default GC algorithm G1 that is enabled by default with Java11
serves well on multiprocessor machines with large amount of memory where
GC is probablistic with low pauses, where response time is more
important than throughput and GC is kept shorter.
The CloudStack management server is largely a multi-threaded server
application that handles and orchestrates several network requests, and
has the default max. heap size of only 2G that can be considered a
small/medium application from a heap size perspective. Perhaps a more
aggresive GC algorithm such as ParallelGC as used in Java8 and before
(that is previous CloudStack releases) would serve better for throughput
and cause more aggressive GC.
This PR propose a change in default GC algorithm to avoid OOM issues.
Reference: https://docs.oracle.com/en/java/javase/11/gctuning/available-collectors.html#GUID-13943556-F521-4287-AAAA-AE5DE68777CD
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)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

How this was tested
Heap activity for Java11 with G1 (default GC algorithm):

Heap activity seen after switching to ParallelGC:

... and over time with some constant load (listApis calls to simulate Primate logins every 1s, all GC/heap graphs look stable):

Heap, thread etc activities with the ParallelGC and max pause time setting (500ms):

@blueorangutan package

Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2182

Smoketests against vmware kicked

@rhtyd Good to see change in the GC for management server process. Even though Parallel GC is the fastest, there are some side effects of using Parallel GC.

Parallel GC is the default GC in Java 8, which is changed to G1 from Java 9 [1], due to higher GC pauses.
All application threads are stopped during GC, can impact response time / latency. Check some use cases for Parallel GC here [2].

[1] http://openjdk.java.net/jeps/248
[2] https://www.informit.com/articles/article.aspx?p=2496621&seqNum=2
I think, it is better to control such pause times using option "-XX:MaxGCPauseMillis", when we opt for Parallel GC.

Trillian test result (tid-2957)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 32877 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4407-t2957-vmware-67u3.zip
Smoke tests completed. 83 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

@sureshanaparti okay I'll add that and do some tests, however, the max. heap size is very small (2G) the pauses would affect memory-heavy application such as databases or some sort of application that have huge heaps (10-100s of GBs). I think given CloudStack is largely a network application with small heap of 2G (default) even the pauses won't affect it (or its threads) much.

@sureshanaparti can you check the changes now? I've added the -XX:MaxGCPauseMillis=500 Thanks
@blueorangutan package

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

Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2185

@blueorangutan test centos7 vmware-67u3

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

Let's do one KVM too
@blueorangutan test

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

Trillian test result (tid-2968)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31997 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4407-t2968-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Smoke tests completed. 83 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-2967)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42818 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4407-t2967-vmware-67u3.zip
Smoke tests completed. 83 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Heap status seen under control, after over 24hrs:

After 94+hrs with the changes:


Python : Adding Sample for Azure Cognitive Search Memory

Motivation and Context
This PR resolves https://github.com/microsoft/semantic-kernel/issues/2493
Description
The ACS implementation is different from VoltalileMemoryStore and we don't have any samples for Azure Cognitive Search Memory Store. I want to add Python Sample for using AzureCognitiveSearchMemoryStore with OpenAI embeddings.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

I'm getting an import error trying to run this sample - is there a certain version of the azure_search library we need to use?
 File ".../venv/lib/python3.10/site-packages/semantic_kernel/connectors/memory/azure_cognitive_search/__init__.py", line 3, in <module>     from semantic_kernel.connectors.memory.azure_cognitive_search.azure_cognitive_search_memory_store import (   File ".../venv/lib/python3.10/site-packages/semantic_kernel/connectors/memory/azure_cognitive_search/azure_cognitive_search_memory_store.py", line 15, in <module>     from azure.search.documents.models import Vector ImportError: cannot import name 'Vector' from 'azure.search.documents.models' (.../venv/lib/python3.10/site-packages/azure/search/documents/models/__init__.py)


Update the format, description, pattern of the query

Pattern
multiple edges use dotted line & single edges use full line
Complex 5
When describing the path between two vertices, multiple edges that represent the same connection should be counted as a single edge.
Complex 8
Modify "upstream" to aggregate all incoming edges within three hops.
Complex 9
remove params about lowerbound & upperbound
Simple 5
add sort
Simple 7&8
delete
Read Write 1&2
amt -> amount

fixed by @BingTong0


Create PR for eqMac?

Yo fellas!
Awesome project you have created. This exact idea just fell into my head yesterday and i am happy to see that someone has already taken on the challenge.
How would you feel about trying to integrate this directly into eqMac?
Im sure this is a feature that users would be interested in.
I have a ongoing feature request here.
I would be happy to put in some work one this if you could help me get started. From what i can see it should be fairly simple to offer AutoEq profiles as presets in eqMac. We can simply add them to the list that is already offered in the advanced settings:

Could create a script that runs at a fixed interval and creates a profile for every new config available in AutoEq. This can then automatically be offered as a PR by a github bot to eqMac.
From what i understand there is some conversion that needs to be done, but from what i can remember this is documented in the usage section of autoEq, and i suspect that you have done the same conversion here in your own project?
Thoughts?
BR
Herman

Hello @hpl002 ,
I'll try answer your questions.

How would you feel about trying to integrate this directly into eqMac?

It depends on what you mean with integrate:
as you are surely aware, eqMac is a Swift application so porting this feature into the app means rewriting at least the core functionality of this tool into eqMac itself and maybe writing some UI for it as well.
I personally wouldn't have much time to do this type of work unfortunately, but I think the eqMac devs might actually want to do integrate this feature, but I'm not sure how high in their priorities is it.
Here is a link to a message by @nodeful sent on the official Discord channel back when I posted the release of autoEqMac:
https://discord.com/channels/696460465601249320/696460466414813197/772824193145503784

We can simply add them to the list that is already offered in the advanced settings

In this case it would be trivial to add a subcommand to generate all the profile files for each pair of headphones retrieved from AutoEq, but honestly I don't think this is the kind of UX eqMac's devs might want to offer to their users: scrolling through this huge list of headphones (where each might have several variants) doesn't sound very appealing to me.
So here I think it's up to them to decide how they want to allow users to search and select the database of eq profiles.

Could create a script that runs at a fixed interval and creates a profile for every new config available in AutoEq. This can then automatically be offered as a PR by a github bot to eqMac.

Yes, definitely this might be a good solution to add new profiles from AutoEq in the eqMac repo, if that is what the devs want.

i suspect that you have done the same conversion here in your own project?

Yes, it's basically what autoEqMac does under the hood.
I hope what I said here makes sense to you.
Cheers,
Francesco

Hi!
This makes a lot of sense. I too have no inner urge to dive into swift development, but if the issue gains any traction over on their repo then i will give it a try.
I absolutely agree about the rendering of audio listening devices(headphones), having a list of 2000+ entries is not appealing. The UX would have to be done in a thoughtful way.
Closing the issue for now, as this is a feature that pertains to eqMac.
Appreciate the quick reply!
BR
Herman


Total waitlist incorrect when adding new applicants

I'm not sure if this is related to https://github.com/CoderDojo/community-platform/issues/778 but when I first created an event, I:

Added two new applicants
Approved both of them
I get "-2" as the total waitlist of the event.

It works fine if I already have attendees, it's just when i start from zero and use the new applicant feature.

Technical spec:

The waitlist is displayed here.
The controller for the sessions is here.

Fixed and deployed now thanks to @machineperson ! :)


Add time range to troubleshooting panel

Add a time range widget to the panel, to constrain the search by korrel8r.
For example: see log view panel.
Behavior:

Focus: If console page has a time range, copy it to the panel; else leave panel time range unchanged.
Click Node: Copy panel time range to the new console screen.

Follows overal semantic: "Focus" copies all available search info from the console screen, clicking a panel node copies all available searchinfo from the panel to  the console screen.

/assign @alanconway

/assign @shwetaap


Is it possible to add our own estimator/model to the end of a pipeline

If I created a pipeline using EvalML and wanted to use my own estimator (whether that be from sklearn or from another framework e.g pytorch) is that possible?
Thank you.

Closing due to inactivity.


Expose showButtonMenu of PopupMenuButtonState

Moved (again). Original https://github.com/flutter/flutter/pull/42830; previous https://github.com/flutter/flutter/pull/44170.
Description
It can be useful to be able to call showButtonMenu of a PopupMenuButton programmatically instead of it only being called when the user taps the button. There already is a showMenu function, however, that would require obtaining the position of the button manually and passing the items again. By exposing showButtonMenu, it is very easy to show the menu at the right place with the right items manually.
Tests
I added the following tests:

Ensuring that the exposed method can be called and works correctly.

Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.

cc @chunhtai

LGTM, bonus points if you include some sample code in the documentation.

@Hixie See previous commit. I had to remove the sample code because it failed the checks when it was on the method documentation. I assumed that it cannot be on a method (I did not understand the CI error message).
@chunhtai said that the documentation belonged to the method instead of the class, which is why I moved it in the first place. See #44170 for context.


Fully support field Market#enabled (related to #817)

@yivo review please

@yssavchuk can you please rebase?


GA Key Vault certs

#21598
#21599
#21600

Closing this issue because it's duplicated with this one: #21599


Migrate file loader logic to utility module.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Example implementation of DenseNet or similar

As of #288, semantic segmentation is doable using dlib. However, I suppose that having the information of the early layers directly available at the later layers should improve accuracy. I'm thinking of essentially DenseNet, or at least something similar.
Apparently some implementation exists already, but it's not public. To me it sounds like massive waste of time if we all implement our own thing, so would love the idea of (again) having a public(-domain) example, e.g. on top of #943.
@davisking, you indicated here that you'd be adding some implementation. Are you still planning to do this? If yes, then I'd prefer to wait for your implementation. If not, then I might try and see if I can contribute something myself, using the building blocks that dlib already offers.

I take it then that I can't use the concat layer to build a densenet?

Not efficiently.  You should write a custom layer that does it.

Still relevant. Leaving this comment, so that the issue will not be automatically closed.

Indeed. I'm adding a tag that will prevent the issue bot from closing it.

Hi, just wanted to express my interest in this, has anything been implemented?
I am looking to use dlib to try to reproduce the u-net results.

If nothing has been worked on, I can try to take a look into it (I am new to the codebase, so will take me a while).

You should be able to define a new layer that represents a dense block.
You can probably do it using the tensor_conv object and not need to talk
directly do cudnn or anything like that.

Just to clarify, I meant that using U-net might not improve the results of the PASCAL VOC 2012 dataset (used in #943) a lot. But on certain other data that I've tried it on (not public), it's pretty good (compared to something that doesn't have such skip connections, that is).

Makes sense, resize_to_prev sounds useful :)

Not efficiently. You should write a custom layer that does it.

Is this still relevant? I have implemented all the DenseNet architectures from the paper and ran a small benchmark against the official PyTorch implementation of DenseNet121 with a 1x3x224x224 input tensor:

inference
fps
#params
VRAM

dlib
12.282 ms
81.417
7,897,960
534 MiB

PyTorch
23.246 ms
43.018
7,978,856
669 MiB

As you can see, dlib implementation is almost as twice as fast as PyTorch and uses about 20% less RAM.
I know this is a simple test, but still, how much can we expect by implementing a custom layer?
PS: Note how compact dlib is to define these networks. It's so satisfying...

Great work @arrufat! 💪
From my point of view, your example implementation in dlib-users/dnn meets the definition-of-done criteria for this issue (although I didn't try it out just yet), so I'm closing this ticket now.
Indeed feature requests like this one could in the future go there instead?
Whoever needs a custom layer (for performance or other reasons) can create a new ticket. :)

Yeah, that’s a good way to do it.


Upgrade Shentu to v2.11.0

Shentu has been updagred to v2.11.0 at block 19525000.
This happened 2 months ago.

Pre-release image: ghcr.io/akash-network/cosmos-omnibus:v0.4.29-rc4-shentu-v2.11.0


Fixed volume permissions for Mac (related to #255)

Codecov Report

Merging #273 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #273   +/-   ##
=======================================
  Coverage   72.37%   72.37%
=======================================
  Files           8        8
  Lines        1086     1086
=======================================
  Hits          786      786
  Misses        255      255
  Partials       45       45

Flag
Coverage Δ

#unittests
72.37% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

service/docker.go
75.3% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add DOMPurify and sanitize puzzle and lab descriptions

Closes #48. User provided descriptions of puzzles and labs often include HMTL styling, links, images, etc. Now this HTML will properly render, after being sanitized by DOMPurify to protect against XSS attacks.

Good catch on the Eterna revert.


Whitelist Cleanup & BugFixing

Displays Both ClientPermissionsForPair and PairPermissionsForClient, and now properly updated on permission changes so application to targets permission checks are properly updated.
Also cleaned up the whitelist entry a lot by keeping things in tuples instead for easier checking.

lgtm


Support for PyTorch checkpoints as serialization format

Problem Description
The spec currently supports only ONNX format for serializing models, but many model developers may be using PyTorch checkpoint files to save their files already. Supporting PyTorch checkpoint files might give consumers of the model who are also using PyTorch an easier path to running the model for generating predictions, or for loading the model to re-train.
Proposal
This issue exists to discuss whether we should add PyTorch checkpoint files as a supported serialization format in the Runtime fragment, and what changes would need to be made to that section to accommodate this addition.

cc: @sfoucher
@calebrob6 I believe you had voiced a concern early on that PyTorch checkpoints might not capture enough information to be universally useful; maybe you can weigh in on this issue as well.

About "concern early on that PyTorch checkpoints might not capture enough information to be universally useful" we may be interested in supporting Model ARchives (.mar) instead of PyTorch checkpoints.  Torchserve's first step is to "... convert model data from PyTorch data format (.pth) file to model archive format (.mar) file."  Looks like a lot of stuff can be crammed in a MAR file.


ClickHouse reads 40 million data and writes it into MySQL. When 35 million data is read, an error is reported.

clickhouse-jdbc: version(0.4.6)
error message: java.sql.SQLException: java.io.StreamCorruptedException: Reached end of input stream after reading 6719 of 10487 bytes
clickhouse: version(<IP_ADDRESS>)
error message:
Code: 24.DB::Exception: Cannot write to ostream at offset<PHONE_NUMBER>: While executing ParallelFormattingOutputFormat.(CANNOT_WRITE_TO_OSTREAM)

Good day, @T-M-L-C !
Is the problem reproducible? Is it on the latest version, too?
Thanks in advance!

There is a similar issue, but it is intermittent issue, occurs mostly when client side is under pressure (several statements)
ClickHouse:
Code: 24. DB::Exception: Cannot write to ostream at offset 7340032: While executing ParallelFormattingOutputFormat. (CANNOT_WRITE_TO_OSTREAM) (version <IP_ADDRESS> (official build))
Client side:
Error reading from db: java.io.StreamCorruptedException: Reached end of input stream after reading 70390 of 93625 bytes
Any thought what could be the reason? And how to avoid such failures?

@TimonSP it may be linked to the CH issue https://github.com/ClickHouse/clickhouse-private/issues/8134
What are your client / server versions?

@chernser, sorry, link is not work for me (Page not found)
ClickHouse version <IP_ADDRESS>
clickhouse-java version 0.4.6

I'm seeing this same issue using:
Clickhouse <IP_ADDRESS>4
clickhouse-java version 0.6.3
Similar to @TimonSP we see this intermittently, but frequently.  We are not able to reproduce on demand, but we could turn on any debug logging that might be helpful.  It always occurs when reading large amounts of records from Clickhouse (> 10M).  We see this both when using the Clickhouse JDBC driver and when using the native HTTP client.
One guess I had was that this could be related to TCP send/recv buffers.  Is this a plausible explanation?  How does Clickhouse handle the TCP send buffer being full?

@chernser could you please copy-paste ClickHouse issue at https://github.com/ClickHouse/clickhouse-private/issues/8134
so we could check if it is the case

The same code on the <IP_ADDRESS> provided another (more clear) exception:

Code: 209. DB::NetException: Timeout exceeded while writing to socket ([::ffff:<IP_ADDRESS>]:55976, 30000 ms): While executing ParallelFormattingOutputFormat. (SOCKET_TIMEOUT) (version <IP_ADDRESS> (official build)) (from [::ffff:***]:55976) (in query: SELECT toString(cityHash64(number)) FROM numbers(10000000)

That helped to find something that looks like root cause of the issue, it is http_send_timeout but it should be set for default profile only and restart would required, see https://github.com/ClickHouse/ClickHouse/issues/64731 for details
I've a bit problem to check this out (as far as I don't have access to change default profile)
@wallacms , hope it would help you

@TimonSP @wallacms  sorry it is an internal link.
It is about memory allocation, but I think it is not related now. If there is a memory issue - it should be reported on the server side.
There is a PR https://github.com/ClickHouse/ClickHouse/pull/51732 related to that issue. Change was done recently this year.
@wallacms

10M result should not create an issue. With cloud instance there is no problem to read >1.6 Gb datasets with current java client.

you may increase logger level to debug on the server side and see when http session is created. Server will output Logout when request is done. If anything goes wrong - server will report it.

@TimonSP
http_send_timeout from my understanding should be a problem only for slow readers (clients) (here is CH code https://github.com/ClickHouse/ClickHouse/blob/master/src/Server/HTTP/HTTPServerRequest.cpp and here is description of what is send/recv timeout for socket:
Specify the receiving or sending timeouts until reporting an error. The argument is a struct timeval. If an input or output function blocks for this period of time, and data has been sent or received, the return value of that function will be the amount of data transferred;

I read it like this http_send_timeout is defines for how long server will hold unsent data before giving up. In your example code with Thread.sleep you are emulating such case. However timeout of 30 seconds is big enough and it means that client is not receiving data at all for long time.
@wallacms mentioned socket buffers - it may help to release server connection, but would not solve a problem, I think.
Summary

increasing timeout may be hides a problem
we need to understand why client/server is not sending data at each case

is it a GC pause
is it lock somewhere
is it because reading from source is slow

@chernser We've observed this problem primarily in the context of accessing Clickhouse through Dremio.  Since Dremio is a distributed execution engine, it can have long pauses in reading results from Clickhouse while it is servicing other queries or doing upstream processing on the results it gets from Clickhouse.  Thus, in our case increasing the the timeout is a reasonable thing to do because we expect long pauses.

@chernser
It looks like normal case, there is no problem in reading or on server, but the data is processing during the read.
In my case it is BI tool that read data from ClickHouse and store in own storage, so the last action can take time.

@wallacms @TimonSP thank you for sharing your use-cases.
@TimonSP how do you handle errors like:

writing to BI tool storage failed
reading from ClickHouse failed

Do you track what data is already synced or do you repeat whole request?

@chernser whole process repeats, it is a third party tool for us so we cannot control its behavior
BTW, I've found that the setting was decreased in 23.6 https://github.com/ClickHouse/ClickHouse/pull/51171

@TimonSP - which BI tool are you using?


Rust style guidelines link on README.md is broken

it was removed in https://github.com/rust-lang/rust/pull/35124

I'm just trying to find out what the default style say about column limit. Could you help me with that?

@vinipsmaker There is no default style. There are two styles for Rust which are official-ish, mine (at https://ubsan.github.io/style ), and rustfmt's, which is what you get when you just run rustfmt on your code.


Module1:Modal popup

Modal popup

In this module, we implemented the popup window on both the mobile and desktop screens
we achieved this by

Update the HTML and generated the work-section dynamically
Edit the CSS files

Hi Team 🙋 ,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request ❌
You have submitted a project, that doesn't have commit history from every team member, as a team project everyone is expected to have an input in the project.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

my coding partner actually left the program so am really supposed to do the work individually

[image: Screenshot from 2023-04-19 16-19-24.png]
On Wed, Apr 19, 2023 at 11:02 AM Abdelmejid Oumer Ali <
@.***> wrote:

@.**** commented on this pull request.
Hi @derrick1451 https://github.com/derrick1451,
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
Invalid Code Review Request
You have submitted a project, that does not have commits from your coding
partner. Please contact student success and provide a screenshot of the
permission given by them to work solo.
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/derrick1451/Mobile-Portfolio/pull/13#pullrequestreview-1391494922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APTJN7BEO6OK3E53YEKQORTXB6LZPANCNFSM6AAAAAAW6QKNUQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

thats the recent email l received from success permitting to work on the
task individually
On Wed, Apr 19, 2023 at 4:22 PM Hayle Derrick @.***>
wrote:

[image: Screenshot from 2023-04-19 16-19-24.png]
On Wed, Apr 19, 2023 at 11:02 AM Abdelmejid Oumer Ali <
@.***> wrote:

@.**** commented on this pull request.
Hi @derrick1451 https://github.com/derrick1451,
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
Invalid Code Review Request
You have submitted a project, that does not have commits from your coding
partner. Please contact student success and provide a screenshot of the
permission given by them to work solo.
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if
something is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use
the same Pull Request submitted for the first review, either valid or
invalid unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/derrick1451/Mobile-Portfolio/pull/13#pullrequestreview-1391494922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APTJN7BEO6OK3E53YEKQORTXB6LZPANCNFSM6AAAAAAW6QKNUQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

these are the screenshots to prove that student success has permitted me
On Wed, Apr 19, 2023 at 4:33 PM Francisco Borja Lobato <
@.***> wrote:

@.**** commented on this pull request.
Hi @derrick1451 https://github.com/derrick1451,
[image: terminator]
https://user-images.githubusercontent.com/58642949/233091160-99378ffe-b6f1-4ad5-9772-d4a0310a625d.gif
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
Invalid Code Review Request
You have submitted a project, that is a pair-programming activity and
doesn't have commits from your partner. The image that proves that student
success has authorized you to work alone has not charged correctly 👇🏽
[image: image]
https://user-images.githubusercontent.com/58642949/233091071-fea2169f-ed38-4fa9-8ede-45a638999a40.png
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/derrick1451/Mobile-Portfolio/pull/13#pullrequestreview-1392084128,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APTJN7A7EOPL27I2DQEMUH3XB7STFANCNFSM6AAAAAAW6QKNUQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


$ANTSPATH/../ANTS-build/ProjectSOurceVersionVars.cmake file doesn't exists

the xcpEngine can't find the ANTS version and fails even though I have ANTS installed.

@irem-a, could you send the output from running
ls $ANTSPATH/../
Thanks!

ANTS-build/
ANTS-prefix/
bin/
CMakeCache.txt
CMakeFiles/
cmake_install.cmake
CPackConfig.cmake
CPackSourceConfig.cmake
CTestTestfile.cmake
DartConfiguration.tcl
ITKv4/
ITKv4-build/
ITKv4-install/
ITKv4-prefix/
lib/
Makefile
Testing/

Hey @rciric would you be opposed to changing
ver_ANTS=$(grep -i _GIT_VERSION_HASH ${ANTSPATH}/../ANTS-build/ProjectSourceVersionVars.cmake 2>/dev/null|cut -d'"' -f2)in the checkDependenciesXCP  to ver_ANTS=$(grep -ir _GIT_VERSION_HASH ${ANTSPATH}/../ANTS-build/* 2>/dev/null|cut -d'"' -f2)`
I actually don't know if this is a perfect solution but if there is a file with a field name _GIT_VERSION_HASH this'll find it w/o looking into a specific file, which as we found today not everyone has.

Thanks for drawing our attention to this issue, @irem-a!
I'm going to implement the following changes in accordance with your report:

As suggested by @adrose, I'll implement a more generic search for the version file.
The version check will become independent of the dependency check. When the processing system detects that a dependency is installed but is unable to identify its version, the system will log the version as unknown and will provide a warning. However, the system will no longer abort.


How to create new fingerprint for each request

Is there any way to create random fingerprint hash for each request.

seems doable,
checkout these resources:
https://engineering.salesforce.com/tls-fingerprinting-with-ja3-and-ja3s-247362855967/
https://tls.browserleaks.com/json


Does it support PropertyInjection on handlers?

I need to inject optional dependecies into my handlers (notification) through properties. Is this supported by your library
Autofac normally provides .PropertiesAutowired() for this case.
    public class Handler : INotificationHandler<Created>
    {
        private IRepository _repository;

        public Handler (IRepository fleets)
        {
            _fleets = fleets;
        }

        //optional
        public ILogger<Handler > Logger { get; set; }

        public async Task Handle(Created notification, CancellationToken cancellationToken)
        {
            // work
        }
   }

Hi Jens,
as far as I understand this documentation it won't work that way.
I am not calling .PropertiesAutowired() when registering the open-generics.
However you can simple inject them within your constructor and assign it to your property.
If that doesn't suite your requirements, please feel free to open a pull-request.

This sounds right and may not be supported by Autofac. I have added an additional ctor to my class to inject the logger and all things are fine.


NIFI-5947 Elasticsearch lookup service compatible with LookupAttribute

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[x] ~If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?~
[x] ~If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?~
[x] ~If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?~
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] ~Have you ensured that format looks appropriate for the output in which it is rendered?~

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Merged. Thanks @SavtechSolutions
FYI, I updated the key to es_document_id to ensure that someone would have to be pretty deliberate in causing a name collision with your service.


Compile with asan (msvc) report heap-use-after-free

Hi,
I'm encountering an issue while using sqlpp11, and I’d like to ask for some advice on how to resolve it. I'm using version sqlpp11-0.64 with the MSVC BuildTools 2022 compiler.
When I compile the sqlpp11 test program with ASan enabled and there is more than one field in the data table, I get a "heap-use-after-free" error. Since sqlpp11 is a header-only library, the compiler doesn’t provide the exact line of code where the error occurs. I’d really appreciate any help you can provide in solving this issue. Thanks!
I'm using a CMake + Ninja project, and here are the steps:
Open Start Menu -> Visual Studio 2022 -> x64 Native Tools Command Prompt for VS 2022.
Navigate to the test code directory:
> mkdir build-x64-native-tools
> cd .\build-x64-native-tools
> cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Debug
> ninja
> copy ..\lib\libmysql.dll .
> .\sqlpp-test.exe

When running, I encounter the error "Run-Time Check Failure #3 - The variable 'sample1' is being used without being initialized." The console outputs something similar to:
==21208==ERROR: AddressSanitizer: heap-use-after-free on address 0x11cb607a6080 at pc 0x7ffa61bce099 bp 0x008649dc2630 sp 0x008649dc1e00
If I change -DCMAKE_BUILD_TYPE=Debug to -DCMAKE_BUILD_TYPE=Release, the error doesn’t occur, as ASan is not linked in this configuration.

This is my test code, and the libmysql.lib file is copied from mysql-8.0.28-winx64.
sqlpp11test.zip

I think this line causes the error:
 TestDbase::test_tab_sample1 sample1;

I guess if you initialize it like this
 TestDbase::test_tab_sample1 sample1 {};

the error should go away.
On the other hand I think that in this case MSVC's ASan (address sanitizer) library is wrong because sqlpp doesn't really read the values in sample1, it just needs the structure type in order to build the correct query.

Thank you, you solved my problem!
it works now!


Cleanup

Cleaned up in 2 categories

solved all warnings as produced bij jslint with setting "esversion: 6"
removed unused parameters in 3 constructor calls

Thanks. When I have time I will add a linter which checks the pull requests for ES6 linter warnings / errors.

@erwindon Can you show me the exact settings / config of jslint you used? Then I can add it as post-commit hook.

$ cat ~/.jshint
{
"esversion": 6
}`

and commandline:
jshint --config ~/.jshint --exclude-path saltgui/static/scripts/JSON.sortify.js
The excluded path is probably also possible in the jshint file.
JSON.sortify will be introduced later when we want JSON.stringify functionality, but then with sorted keys for dictionaries.

@erwindon Thnxm added this in #28
You can add the exclude when needed  here https://github.com/maerteijn/SaltGUI/blob/master/package.json#L9


Add Contributor/ Team Page with real-time data fetching

The Contributor/Team Page serves as a dynamic showcase of the talented individuals behind the project. By leveraging real-time data fetching, the page ensures that users always have access to the most up-to-date information about team members, fostering transparency and connection. The inclusion of search and filter options enhances usability, making it easy for visitors to find specific contributors. Through this implementation, we aim to create an engaging and informative experience that highlights the collaborative nature of the project while maintaining a modern and responsive design.

its a blogging website... a contributor page would look so weird in it , im sorry but i dont want it


Accessing non-existent folders via manual URLs

Hi. I've come across an issue with dynamic routes. It appears that it's possible to manually input URLs in the address bar that lead to non-existent folders, as shown in the attached image

It's can be fixed by creating a custom error page if path doesn't exists but I will need server to send some type of message object that path doesn't exceed exists.Currently I am bit occupied but pull request are welcome if you want to contribute.

@divyam234 Alright. I'll try to do that. Thanks.

Changes were made and this issue has been fixed in #9. So closing this issue.


Position failed to change replication mode to gtid mode

The cluster replication mode was originally a dual master gtid mode. Later, someone may manually set one of the node parameters to master_ auto_ Position = 0. I want to change the copy mode to gtid mode. However, when setting the parameter to master_ auto_ Position = 1 will report an error. The information is:
Last_IO_Errno: 1236
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'
............
Executed_Gtid_Set: bfa174cb-ec59-11eb-b50f-083a3842f490:1-94251,
e076f2d3-a280-11eb-843a-525400e828c6:1-68031420,
e1b12c8b-a280-11eb-9499-525400eb5da6:1-77594846:77780816-163459776
So I found that executed_ Gtid_ The gtids in the set are discontinuous. When I skip these discontinuous contents. Set it again and it will succeed. What is the reason for this? My MySQL version is 5.7.25

can you please set some context as how your problem is related to this driver @xuguotong ?

can you please set some context as how your problem is related to this driver @xuguotong ?

What information do you need,I don't quite understand what you mean.

It might help if you can include a sample od your Javascript code the demonstrates how you are using this module where you are encountering the problem.

2021-12-08_184656root@localhost:(none) 5.7.25-log 06:46:42> stop slave;
2021-12-08_184656Query OK, 0 rows affected (0.01 sec)
2021-12-08_184656
2021-12-08_184708root@localhost:(none) 5.7.25-log 06:46:56> change master to master_auto_position=1;
2021-12-08_184708Query OK, 0 rows affected (0.06 sec)
2021-12-08_184708
2021-12-08_184708root@localhost:(none) 5.7.25-log 06:47:07>
2021-12-08_184712root@localhost:(none) 5.7.25-log 06:47:08> start slave;
2021-12-08_184712Query OK, 0 rows affected (0.00 sec)
2021-12-08_184712
2021-12-08_184716root@localhost:(none) 5.7.25-log 06:47:12> show slave status\G;
2021-12-08_184716*************************** 1. row ***************************
2021-12-08_184716               Slave_IO_State:
2021-12-08_184716                  Master_Host: <IP_ADDRESS>
2021-12-08_184716                  Master_User: repl
2021-12-08_184716                  Master_Port: 3311
2021-12-08_184716                Connect_Retry: 60
2021-12-08_184716              Master_Log_File: mysql-bin.027989
2021-12-08_184716          Read_Master_Log_Pos: 288249889
2021-12-08_184716               Relay_Log_File: mysql-relay-bin.000001
2021-12-08_184716                Relay_Log_Pos: 4
2021-12-08_184716        Relay_Master_Log_File: mysql-bin.027989
2021-12-08_184716             Slave_IO_Running: No
2021-12-08_184716            Slave_SQL_Running: Yes
2021-12-08_184716              Replicate_Do_DB:
2021-12-08_184716          Replicate_Ignore_DB:
2021-12-08_184716           Replicate_Do_Table:
2021-12-08_184716       Replicate_Ignore_Table:
2021-12-08_184716      Replicate_Wild_Do_Table:
2021-12-08_184716  Replicate_Wild_Ignore_Table:
2021-12-08_184716                   Last_Errno: 0
2021-12-08_184716                   Last_Error:
2021-12-08_184716                 Skip_Counter: 0
2021-12-08_184716          Exec_Master_Log_Pos: 288249889
2021-12-08_184716              Relay_Log_Space: 154
2021-12-08_184716              Until_Condition: None
2021-12-08_184716               Until_Log_File:
2021-12-08_184716                Until_Log_Pos: 0
2021-12-08_184716           Master_SSL_Allowed: No
2021-12-08_184716           Master_SSL_CA_File:
2021-12-08_184716           Master_SSL_CA_Path:
2021-12-08_184716              Master_SSL_Cert:
2021-12-08_184716            Master_SSL_Cipher:
2021-12-08_184716               Master_SSL_Key:
2021-12-08_184716        Seconds_Behind_Master: NULL
2021-12-08_184716Master_SSL_Verify_Server_Cert: No
2021-12-08_184716                Last_IO_Errno: 1236
2021-12-08_184716                Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'
2021-12-08_184716               Last_SQL_Errno: 0
2021-12-08_184716               Last_SQL_Error:
2021-12-08_184716  Replicate_Ignore_Server_Ids:
2021-12-08_184716             Master_Server_Id: 253813311
2021-12-08_184716                  Master_UUID: e1b12c8b-a280-11eb-9499-525400eb5da6
2021-12-08_184716             Master_Info_File: mysql.slave_master_info
2021-12-08_184716                    SQL_Delay: 0
2021-12-08_184716          SQL_Remaining_Delay: NULL
2021-12-08_184716      Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
2021-12-08_184716           Master_Retry_Count: 86400
2021-12-08_184716                  Master_Bind:
2021-12-08_184716      Last_IO_Error_Timestamp: 211208 18:47:12
2021-12-08_184716     Last_SQL_Error_Timestamp:
2021-12-08_184716               Master_SSL_Crl:
2021-12-08_184716           Master_SSL_Crlpath:
2021-12-08_184716           Retrieved_Gtid_Set:
2021-12-08_184716            Executed_Gtid_Set: bfa174cb-ec59-11eb-b50f-083a3842f490:1-94251,
2021-12-08_184716e076f2d3-a280-11eb-843a-525400e828c6:1-68031420,
2021-12-08_184716e1b12c8b-a280-11eb-9499-525400eb5da6:1-77594846:77780816-163459776
2021-12-08_184716                Auto_Position: 1
2021-12-08_184716         Replicate_Rewrite_DB:
2021-12-08_184716                 Channel_Name:
2021-12-08_184716           Master_TLS_Version:
2021-12-08_1847161 row in set (0.00 sec)

Thanks, but that is just issuing commands to your mysql server over the mysql cli. Are you having trouble issuing them through this Javascript module? If so, can you show your Javascript code for how you are trying?

I didn't publish using JavaScript module, so I don't have JavaScript related code. My question is why the replication mode can be modified when gtid has no breakpoints,if there is a breakpoint, an error will be reported.Can you help me solve my doubts?

Hi, unfortunately we can't; this issue tracker is for the Javascript module for the Node.js platform.

My fault,it's embarrassing.


no break after throwing exception

Compiler yields a warning about "statement not reachable"

Which compiler did you try?

DMD64 D Compiler v2.080.1

CI fail due to trailing whitespace. Could you please add a unittest on how to reproduce the error to your PR, s.t. this is testable by us and doesn't regress (and ideally connect it with a Bugzilla issue - see the dlang-bot comment for details). Thanks!

Ok. This was not obvious: I tried to write a unittest, however, I had no luck. It seems to compile well, using dmd, and to yield a warning using dub.
Given this
struct S
{
	@trusted void error(string msg)
	{
		throw new Exception("");
	}

	void fun2(){}

	void fun1()
	{
		error("");
		fun2;
	}
}

dmd source/app.d -profile -main
works well, however
dub build --build=profile
yields a warning "statement is not reachable" at the fun2 call in the last line and refuses to compile.
It affects only the profile build, using together with dub. I tried all by default existing profiles, which dub mentions on its documentation site https://code.dlang.org/docs/commandline
dmd --version
DMD64 D Compiler v2.080.1
dub --version
DUB version 1.9.0, built on May  2 2018
So... I think you can just reject my PR, as it does not concern the real bug.
But something is going wrong here. I think, it is a feature, that while building via dub it is recognized, that the fun2 call is not reachable (although, only in one of all possible build types). But how can this feature be achieved at all, if even dmd doesn't recognize this circumstance? And if dmd is meant to recognize such circumstances, then, maybe, the example above could be used to find another bug, which has still to be reported?

Added your test case to an existing issue: https://issues.dlang.org/show_bug.cgi?id=13165#c3

What's the story with this fix?
std.regex:
https://github.com/dlang/phobos/blob/0e8d1a038b222917b7b8ecad3aa0ed1bda5aebbb/std/regex/internal/parser.d#L845
triggers this warning in the recent DMD2 (DMD64 D Compiler v2.084.1)
/Library/D/dmd/src/phobos/std/regex/internal/parser.d(845,13): Warning: statement is not reachable

I guess this should be merge. Probably its waiting for @MartinNowak to review, otherwise, people can't use some regex features on DMD compiler.

@wilzbach can you resolve this?

@wilzbach can you resolve this?

Rebased, but it looks like this the break has already been removed in master.

@wilzbach sure, it was on May 15 #7004. Sorry. So, it should be closed?


Use noble scope libraries for key generation and hash

Fix https://github.com/casper-ecosystem/casper-js-sdk/issues/239
Background
We're (after this PR merged maybe were) using out dated libraries (also has some issues) for generating new key pairs like

tweetnacl-ts
eccrypto

Nowadays it is trend to use noble scoped libraries in cryptography since it is more faster than exist libraries (check benchmark result in the website) and doesn't have any found vulnerabilities so far.
Solution
Added libraries:

@noble/ed25519
@noble/secp256k1
@noble/hashes
@scure/bip32

Since this PR contains BREAKING CHANGE it needs to check all changes carefully.

@RitaMAllenCA I'm checking this PR but want to run extensive compatibility test so we won't regret releasing this 😅

@gyroflaw could you take a look and fix the conflicts? :)


Fetch API cannot load http://localhost:8000/. Preflight response is not successful

I'm running graphql and next as separate processes, but from the same project folder.  My package.json contains the following scripts:
"scripts": {
    "dev": "node server.js",
    "build": "next build",
    "start": "nodemon --exec babel-node --presets es2015 -- server.js",
    "graphql": "babel-node --presets es2015 graphql.js",
    "dev-graphql": "nodemon --exec babel-node --presets es2015 -- graphql.js"
  },

Here is my graphql.js file:
import express from 'express';
import graphQLHTTP from 'express-graphql';
import graphql from 'graphql';
import schema from './schema.js';
import mongo from './mongo';

const isDevelopment  = process.env.NODE_ENV !== "production";

const db = 'humble';
const path = "mongodb://localhost:27017/"+db;
const app = express();
let PORT = 8000;

app.use('/', graphQLHTTP({
  schema,
  graphiql:true,
}))

let server = app.listen(PORT, function () {
  console.log(`GraphQL server listening at ${PORT}`);
  console.log(`GraphIQL available at http://localhost:${PORT}/graphiql`);
  mongo.init(path);
});

I can confirm that graphql is working correctly and that my queries and mutations are correct via graphiql.
For Apollo I copied the lib folder from the with-apollo example. Here is the networkInterface argument to ApolloClient in the initClient.js file:
networkInterface: createNetworkInterface({
      // uri: 'https://api.graph.cool/simple/v1/cixmkt2ul01q00122mksg82pn',
      uri:'http://localhost:8000',
      opts: {
        credentials: 'same-origin'
        // Pass headers here if your graphql server requires them
      }
    })

The problem: I'm able query fine, but when I try to insert an item via a mutation I get:
[Error] Failed to load resource: Preflight response is not successful (localhost, line 0)
[Error] Fetch API cannot load http://localhost:8000/. Preflight response is not successful

Here's the code for my AddPost button:
import React from 'react'
import gql from 'graphql-tag'
import { graphql } from 'react-apollo'
import moment from 'moment'

function AddPost ({ addPost }) {
  return (
    <button type="button" onClick={() => addPost({title:"GOAAAALL!!"})}>Add Post</button>
  )
}

const addPostMutation = gql`
  mutation AddPost($_id:String $title:String!, $content:String){
    addPost(_id:$_id, title:$title, content:$content) {
      _id
      title
      content
    }
  }
`

export default graphql(addPostMutation, {
  props: ({ ownProps, mutate }) => ({
    addPost: ({title, content, _id}) => {
      console.log("title: " + JSON.stringify(title, null, 2));
      return mutate({variables: { title, content, _id },})
    }
  })
})(AddPost)

My research points to a CORS issue, but I have "credentials: 'same-origin'" in my initialization, and I don't get any errors querying data, so I'm not sure how to proceed.  Any ideas?

Since this is two different ports (for the client and server), you need to allow CORS on your GraphQL server.
Use this: https://github.com/expressjs/cors

Thank you.  I'm beginning to think this is a GraphQL / Express issue not a Next issue.
I added the cors package to my project, imported it, and added app.use(cors()) just above app.use('/', graphQLHTTP({
I'm now getting
Failed to load resource: the server responded with a status of 400 (Bad Request)

That fixed it! The Bad Request error was due to a mistake in my GraphQL request.  Thanks.

where are the two ports? I can't see it


Save headers error with resource decorator

Make sure you are running the latest version of TinyWeb before reporting an issue.
Device and/or platform:
Raspberry Pico
Description of problem:
When I use "save_headers" params in @app.resource, it cause an error because save_headers params are not following here https://github.com/belyalov/tinyweb/blob/master/tinyweb/server.py#L631
Expected:
We should be able to use this param with the resource decorator and why not, having back the list of those headers in the data response.
Additional info:

We could just remplace the https://github.com/belyalov/tinyweb/blob/master/tinyweb/server.py#L631
with save_headers=kwargs.pop('save_headers', ['Content-Length', 'Content-Type']),


WIP - CRD v1 docs

Placeholder PR for CRD v1 API . This API is being promoted from v1beta1 to v1 in 1.16.
Key changes:

[ ] CRD v1: promote to v1
[ ] CRD v1: require validation schemas
[ ] CRD v1: structural schema: require structural schema
[ ] CRD v1: prevent invalid type attributes in schema
[ ] CRD v1: only allow default attributes in schema via v1
[ ] ConversionReview: promote types to v1
[ ] ConversionReview: allow dispatcher to speak v1
[ ] ConversionReview: in v1, verify response.uid, kind, apiVersion are set in responses

@liggitt If you already opened a placeholder for CRD v1 docs let me know and I'll close this as a dup. Just wanted to get the placeholder up before the deadline.

https://github.com/kubernetes/website/pull/15982 was already open by sttts

Have done https://github.com/kubernetes/website/pull/15982. Please open PRs against that.

/close


Crash in evaluateJavaScript

I'm using phpunit and selenium with phantomjs to test a facebook app.
I'm executing the following js snippet inside an iframe after clicking the like button.
return (document.readyState != 'complete' &&
window.location.href.indexOf(arguments[0]) != -1)

I suspect that the cause is that I switch to an iframe, but then the parent page removes the iframe and inserts a new one shortly after clicking the like button (triggered by javascript, slightly delayed), and I try to execute the snippet inside the previous iframe. If I wait for a while before switching to the frame, everything works fine.
PhantomJS 1.9.1 linux x86-64 official binary

Should already be fixed in 2.0.0 with update to Qt 5. At least it no longer has the exact same line that caused the crash.

Please upgrade to PhantomJS 2.0. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2.0.


Add language table

Commit f96a5854ffc961014d8a80cd5c04f05f41aee78a is NOT actually for this

Basically fixed, probably want to come back and take a look at this later

We might want to do more work related to the alphabet, At least a separate table?


App router page(s) should use Suspense to wrap data fetching child component

###Description of the Tech Debt###
With the App Router (using the app directory), Suspense can be used with React Server Components, allowing you to fetch data on the server while managing loading states effectively  for an improved UX.  i.e. a loading interface can be displayed while an async fetch is called in the imported component.
###Dev Check List

[x] Verify app router pages that import async components use the Suspense wrapper

Ex: bciers/apps/administration/app/bceidbusiness/industry_user/contacts/page.tsx imports async component administration/app/components/contacts/ContactsPage without using Suspense.
Example of using Suspense around an async component can be seen in bciers/apps/administration/app/bceidbusiness/industry_user_admin/operations/[operationId]/facilities/[facilityId]/page.tsx
###Tech Debt Triage#
The purpose of our technical debt triage process is to analyze technical debt to determine risk level of the technical debt and the value in tackling that technical debt.
Risk Value Scoring:

Level
Value

High
3

Medium
2

Low
1

Technical Debt - Risk Types
Level
Value

Business Area Risk - Risk of business area visibility / damage to user experience

Developer Fault Risk - How likely will this tech debt cause a future error related to coding on top of it

System Fault Risk - Risk of system errors or application downtime

Time Scale Risk - Compound risk effect if left alone. How much more difficult to fix or dangerous will this become over time?

Time Sink Risk - How much will this tech debt slow the development process down

TOTAL SCORE:

I don't think this easily testable for POs, @shon-button ?

I don't think this easily testable for POs, @shon-button ?

@BCerki  Fully agree.
I would think setting status to  Accepted by PO or Dev would be acceptable for these types of architectural implementations.


mesos-docker-executor: error while loading shared libraries: libssl.so.1.0.0

We've been using this project successfully for about four months now. This weekend I had to rebuild our cluster, following the same procedure we've been using. For some reason, Jenkins gets the error below, and OpenVPN won't deploy at all. I am still able to deploy MarathonLB.
mesos-docker-executor: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
Is anybody else having problems with Google Cloud Platform? I thought maybe it was because I was using the latest CentOS build, but when I rolled back to /centos-cloud/centos-7-v20161129 I still had the same problem.

I think this has been resolved in the mailing list. Can I close this issue?