pod install [!] An error occurred while processing the post-install hook of the Podfile.

Generating Pods project
[!] An error occurred while processing the post-install hook of the Podfile.
undefined method `each_child' for #Dir:0x00007fd6463ad350
/Users/{user}/Documents/Flutter/packages/flutter_tools/bin/podhelper.rb:57:in `block in flutter_additional_ios_build_settings'
/Users/{user}/Documents/Flutter/packages/flutter_tools/bin/podhelper.rb:54:in `each'
/Users/{user}/Documents/Flutter/packages/flutter_tools/bin/podhelper.rb:54:in `flutter_additional_ios_build_settings'
/Users/{user}/Documents/chat_firebase/ios/Podfile:39:in `block (3 levels) in from_ruby'
/Users/{user}/Documents/chat_firebase/ios/Podfile:38:in `each'
/Users/{user}/Documents/chat_firebase/ios/Podfile:38:in `block (2 levels) in from_ruby'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-core-1.10.2/lib/cocoapods-core/podfile.rb:179:in `post_install!'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:897:in `run_podfile_post_install_hook'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:885:in `block in run_podfile_post_install_hooks'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:145:in `message'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:884:in `run_podfile_post_install_hooks'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:329:in `block (2 levels) in create_and_save_projects'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in `write!'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:328:in `block in create_and_save_projects'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:in `section'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:307:in `create_and_save_projects'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:299:in `generate_pods_project'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:178:in `integrate'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:166:in `install!'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/command/install.rb:52:in `run'
/Users/{user}/.rvm/gems/ruby-2.5.5/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/lib/cocoapods/command.rb:52:in `run'
/Users/{user}/.rvm/rubies/ruby-2.5.5/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.2/bin/pod:55:in `<top (required)>'
/Users/{user}/.rvm/gems/ruby-2.5.5/bin/pod:23:in `load'
/Users/{user}/.rvm/gems/ruby-2.5.5/bin/pod:23:in <main>'`

This is occurring when I run pod install I am not able to find the root cause.

It has been resolve hence closing this thread.


Implement /components/schemas/Control.Bgp(v4/v6)RouteAction

It will cover:
/components/schemas/Control.Bgpv4RouteAction
/components/schemas/Control.Bgpv6RouteAction

We will revisit according to the requirement


Cross compilation for Windows using MinGW failed, header missing?

Using master at #18119.
I'm on Ubuntu 16.04.3 LTS under Windows Linux Subsystem.
Here's the log:

$ scons platform=windows tools=yes target=release_debug bits=64
scons: Reading SConscript files ...
Configuring for Windows: target=release_debug, bits=64
Using Mingw
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] Compiling ==> thirdparty/mbedtls/library/entropy_poll.c
thirdparty/mbedtls/library/entropy_poll.c:67:21: fatal error: intsafe.h: No such file or directory
compilation terminated.
scons: *** [thirdparty/mbedtls/library/entropy_poll.windows.opt.tools.64.o] Error 1
scons: building terminated because of errors.

Ubuntu 16.04 ships with mingw-w64 4.0.4, which does not include intsafe.h indeed. It was added to mingw-w64 in version 5.0.
@Faless proposed #16984 to fix it, but we decided that it was too hacky and would be better to drop support for mingw-w64 < 5.0.

If you want to cross-compile from WSL (sounds a bit far fetched, but why not :P), I'd advise to use the latest Fedora, which always comes with a very recent version of mingw-w64.


Can I collect classes for documentation based on a custom function?

I would like to add all classes that inherit from a specific class to one Markdown page. Would it be possible to have some kind of custom collector that executes a python method and generates the documentation for the items that are given in the return value?

Hello! It's not possible, no. I wonder if allowing to use custom, local handlers would be a good idea. As a workaround, you could always write a script that generate the Markdown pages for you. I'll think about this a bit more later and hopefully with come back with better hints.

Hey again! I'm going to close this issue as I don't see an obvious way to allow what you would like to do. Feel free to open a new feature request with a design proposition, I would consider it :slightly_smiling_face:


New package: ShockwaveProperties v0.1.0

Registering package: ShockwaveProperties
Repository: https://github.com/aj-fleming/ShockwaveProperties.jl
Created by: @aj-fleming
Version: v0.1.0
Commit: 30e0e74b45d44a55bf04cc65926cf1197351d3e1
Reviewed by: @aj-fleming
Reference: https://github.com/aj-fleming/ShockwaveProperties.jl/commit/30e0e74b45d44a55bf04cc65926cf1197351d3e1#commitcomment-136052268
Description: Julia package for computing fluid properties near shock waves.

Could you add some basic documentation of what your package is about to the README.md? Maybe even with a small example.

Could you add some basic documentation of what your package is about to the README.md? Maybe even with a small example.

Thanks for the suggestion! I've made the improvements. I summoned the JuliaRegistrator but it didn't append my changes to this PR and created #98295 instead.


Adding 2.5.0 version with support design 26.1.0 is giving error.

When I am adding 2.5.0 with support design 26.1.0, it is giving me Gradle error. But works fine with 2.4.7.

compile 'com.android.support:design:26.0.2'
compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.android.support:support-v4:26.0.2'
compile 'com.android.support:recyclerview-v7:26.0.2'
compile 'com.theartofdev.edmodo:android-image-cropper:2.5.+'
this work for me, try it


Appstudio update test-component-pac-nhvf

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-nhvf-on-pull-request has successfully validated your commit.


ceph-mon: Detect empty cluster log

Detect and report when the ceph cluster log /var/log/ceph/ceph.log is
empty, likely due to Ceph log rotation Bug #55383
https://tracker.ceph.com/issues/55383

I thought about an apt version check as well but decided against it, since this log has constant output it should never be empty. So there is likely something wrong if it is. Also packages can be upgraded but services are not restarted by default, so a version check may silence this warning even when it still applies in practice.


 apparent regression of experience of ServiceDescription enabled .mpd

Have you read the FAQ and checked for duplicate open issues?
Yes - This is a follow up to a previous closed issue from v4.4 https://github.com/shaka-project/shaka-player/issues/5121
If the problem is related to FairPlay, have you read the tutorial?

N/A
What version of Shaka Player are you using?
v4.5.0-uncompiled

Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
The demo
If custom app, can you reproduce the issue using our demo app?
N/A
What browser and OS are you using?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?

uri= https://cdn-vos-ppp-01.vos360.video/Content/DASH_DASHCLEAR/Live/channel(PPP-LL-2DASH)/master.mpd
Note the mpd uses the following settings
	<ServiceDescription id="0">
		<Scope schemeIdUri="urn:dvb:dash:lowlatency:scope:2019" />
		<Latency target="3000" max="5000" min="2000" />
		<PlaybackRate max="1.05" min="0.95" />
	</ServiceDescription>

What configuration are you using?  What is the output of player.getConfiguration()?

Default Shaka configuration
What did you do?

Load the stream as above
observe the experience of that stream's playback

What did you expect to happen?
Smooth video & audio playback
See previous version's behaviour at the following URL... note the experience is not perfect, but its much better than that of 4.4.x or 4.5.x and can sustain a latency of < 10 sec.
https://v4-3-13-dot-shaka-player-demo.appspot.com/demo/#audiolang=en;textlang=en;uilang=en;asset=https://cdn-vos-ppp-01.vos360.video/Content/DASH_DASHCLEAR/Live/channel(PPP-LL-2DASH)/master.mpd;panel=CUSTOM CONTENT;build=uncompiled
What actually happened?

Near the live edge: Jittery playback with Waiting spinner regularly: never more than a few seconds of uninterrupted playback.
Seemingly the acceleration (max of 1.05 as per this streams's <ServiceDescription>) is too aggressive as it does not back off aiming for PlaybackRate::max when comparing with Latency::max.  The spec allows for a target and min latency as well as a PlaybackRate::min.
Latency (5.1895550993504s) is greater than liveSyncMaxLatency (5s). Updating playbackRate to 1.05

@Wayne-Morgan  FYI


a11y: Add esc key listener to jump out of edit mode in lu/lg page

Description
Add esc key listener to jump out of edit mode in lu/lg page
Task Item
Refs #2092
Screenshots

To be very clear, the only 2 files that need to change are language-generation/code-editor.tsx and language-understanding/code-editor.tsx

To be very clear, the only 2 files that need to change are language-generation/code-editor.tsx and language-understanding/code-editor.tsx

it's done....

@a-b-r-o-w-n Should we close this pr? And only updating the doc to let the user know Ctrl-M can exit the edit mode.

We probably should get some guidance from a11y folks first.

@corinagum do you have guidance here or should we reach out to the a11y team?

@liweitian @a-b-r-o-w-n Taking a look - will get back to you asap.

Just found this:

I'm closing this PR and circling discussion back to the  original convo. I agree linking to documentation (though, I'd like confirmation on how we do it) is a better alternative to changing the Monaco editor behavior.


Got size error while loading checkpoints

I'm trying out spconv2, but got following error when loading provided pretrained model. spconv2 is installed by pip install spconv2-cu102.
Envs: ubuntu 18, pytorch 1.10, cuda 10.2, spconv2

[2022-04-13 11:52:35,200  INFO  test.py  line 306  11019]  #classifier parameters (model): 30839600
[2022-04-13 11:52:35,244  INFO  utils.py  line 67  11019]  Restore from checkpoints/softgroup_scannet.pth
Traceback (most recent call last):
File "test.py", line 311, in
use_cuda, cfg.test_epoch, dist=False, f=cfg.pretrain)
File "/media/yangtian/SATA3/Workspace/室内3d目标检测/SoftGroup/util/utils.py", line 83, in checkpoint_restore
model.load_state_dict(net_checkpoint)
File "/media/yangtian/SATA3/PyEnvs/ubuntu/softgroup-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1483, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for SoftGroup:
size mismatch for input_conv.0.weight: copying a param with shape torch.Size([3, 3, 3, 6, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 6]).
size mismatch for unet.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 32, 64]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 64, 32]).
size mismatch for unet.u.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 64, 96]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 96, 64]).
size mismatch for unet.u.u.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 96, 128]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 128, 96]).
size mismatch for unet.u.u.u.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 128, 160]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 160, 128]).
size mismatch for unet.u.u.u.u.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 160, 192]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 192, 160]).
size mismatch for unet.u.u.u.u.u.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 192, 224]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 224, 192]).
size mismatch for unet.u.u.u.u.u.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 224, 192]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 192, 224]).
size mismatch for unet.u.u.u.u.u.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 384, 192]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 192, 384]).
size mismatch for unet.u.u.u.u.u.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 384, 192]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 192, 384]).
size mismatch for unet.u.u.u.u.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 192, 160]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 160, 192]).
size mismatch for unet.u.u.u.u.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 320, 160]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 160, 320]).
size mismatch for unet.u.u.u.u.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 320, 160]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 160, 320]).
size mismatch for unet.u.u.u.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 160, 128]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 128, 160]).
size mismatch for unet.u.u.u.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 256, 128]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 128, 256]).
size mismatch for unet.u.u.u.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 256, 128]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 128, 256]).
size mismatch for unet.u.u.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 128, 96]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 96, 128]).
size mismatch for unet.u.u.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 192, 96]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 96, 192]).
size mismatch for unet.u.u.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 192, 96]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 96, 192]).
size mismatch for unet.u.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 96, 64]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 64, 96]).
size mismatch for unet.u.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 128, 64]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 64, 128]).
size mismatch for unet.u.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 128, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 128]).
size mismatch for unet.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 64, 32]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 32, 64]).
size mismatch for unet.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 64, 32]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 32, 64]).
size mismatch for unet.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 64, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 64]).
size mismatch for intra_ins_unet.conv.2.weight: copying a param with shape torch.Size([2, 2, 2, 32, 64]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 64, 32]).
size mismatch for intra_ins_unet.deconv.2.weight: copying a param with shape torch.Size([2, 2, 2, 64, 32]) from checkpoint, the shape in current model is torch.Size([2, 2, 2, 32, 64]).
size mismatch for intra_ins_unet.blocks_tail.block0.i_branch.0.weight: copying a param with shape torch.Size([1, 1, 1, 64, 32]) from checkpoint, the shape in current model is torch.Size([1, 1, 1, 32, 64]).
size mismatch for intra_ins_unet.blocks_tail.block0.conv_branch.2.weight: copying a param with shape torch.Size([3, 3, 3, 64, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 64]).

configs:

GENERAL:
task: test  # train, test
manual_seed: 123
model_dir: model/softgroup/softgroup.py
dataset_dir: data/scannetv2_inst.py
DATA:
data_root: dataset
dataset: scannetv2
filename_suffix: _inst_nostuff.pth
semantic_classes: 20
classes: 18
class_numpoint_mean: [-1., -1., 3917., 12056., 2303.,
8331., 3948., 3166., 5629., 11719.,
1003., 3317., 4912., 10221., 3889.,
4136., 2120., 945., 3967., 2589.]
ignore_label: -100
input_channel: 3
scale: 50   # voxel_size = 1 / scale, scale 50 -> voxel_size 0.02m
batch_size: 4
full_scale: [128, 512]
max_npoint: 250000
mode: 4 # 4=mean
STRUCTURE:
model_name: softgroup
width: 32
block_residual: True
block_reps: 2
use_coords: True
semantic_only: False
TRAIN:
epochs: 500
train_workers: 4 # data loader workers
optim: Adam # Adam or SGD
lr: 0.001
step_epoch: 200
multiplier: 0.5
momentum: 0.9
weight_decay: 0.0001
save_freq: 16  # also eval_freq
loss_weight: [1.0, 1.0, 1.0, 1.0, 1.0] # semantic_loss, offset_norm_loss, cls_loss, mask_loss, score_loss
fg_thresh: 1.
bg_thresh: 0.
score_scale: 50 # the minimal voxel size is 2cm
score_fullscale: 20
score_mode: 4 # mean
pretrain_path: 'hais_ckpt.pth'
pretrain_module: ['input_conv', 'unet', 'output_layer', 'semantic_linear', 'offset_linear', 'intra_ins_unet', 'intra_ins_outputlayer']
fix_module: ['input_conv', 'unet', 'output_layer', 'semantic_linear', 'offset_linear']
point_aggr_radius: 0.04
cluster_shift_meanActive: 300
prepare_epochs: -1
max_proposal_num: 200
iou_thr: 0.5
score_thr: 0.2
TEST:
split: val
test_epoch: 500
test_workers: 16
test_seed: 567
using_NMS: False
TEST_NMS_THRESH: 0.3
TEST_SCORE_THRESH: -1
TEST_NPOINT_THRESH: 100
eval: True
save_semantic: False
save_pt_offsets: False
save_instance: False
test_mask_score_thre: -0.5 # bias fg << bg

#32


When creating a link without http:// or https:// it doesn't work

Eg, https://saxob.ga/bug
If you don't put http:// or https:// before a link it will show up as an error

@saxobroko - thanks for reporting this. I was able to replicate this too. Looks like I didn't test it well enough to having caught it during my testing phase 😅
Will try and release a fix as soon as possible; alternately, you're free to recommend modifications in my code too!

Found this reference that could help with a solution - https://stackoverflow.com/questions/29684740/javascript-window-open-without-http

@saxobroko - here's the fix: #23


Improved: Editor should confirm user before leaving the page (ROL-2136)

On the pages where editors are used, if the user has done some unsaved changes. Before closing window/tab it should confirm the user.
Done the following changes:

Included UnsavedChanges plugin for Xinha editor that implicitly handles it
Added custom code to add confirmation box for text area which adds an event handler to beforeunload event if the text area is changed.

Looks good to me.

Thanks @snoopdave for the review.
I was just wondering we are already working on bootstrap-ui where Xinha editor will be replacing summernote. We should merge the PR only if we are planning for a release before bootstrap changes gets merged.
In case we are planning next release to be the one with bootstrap-ui only I will create a new PR for the bootstap-ui branch having these changes specific to summernote and we will close this one.  WDYT?

@adityasharma7 good point. I think this change should be merged to the roller-5.2.x branch so that it is included in any figure 5.2.x releases.
You could also merge it to master, but I hope to merge bootstrap-ui soon, and you're right, Summernote will need a different fix.

I have already created a separate PR for 5.2.x https://github.com/apache/roller/pull/30 and will create a new one for bootstrap-ui branch hence closing it.
Thanks @snoopdave


Invalid Signature returned for Inferred Array type in Semantic API

Description:
Consider the following inferred array type definition.
type MyIntArr1 int[*];

The .signature() returned for the type descriptor of the above inferred array type definition is int[], where the expected type shall be int[*].
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Reason/Other


Link to GitHub so it shows up at the Docker Hub

already covered by DockerHub "Source Project" link


[models.c] Application crash when you try to access mesh indices[]

Hi @raysan5 ,
When you create a Mesh with GenMeshXXX (that use par_shapes.h) you do not update the indices anymore.
When you try to access them with the following code the application crash:
for (int i = 0; i < mesh->triangleCount; i+=3) {
mesh->indices[i] = xxx;
}
rlUpdateMesh(*mesh, 6, mesh->triangleCount);
Is there another way to access the triangle list of the mesh ?

@peppemas Yeah, that's because indices are not used. Triangles are just defined by the vertex order.

I can do much about this issue, mesh data is directly exposed so it's up to the user to check pointers are valid...

Hi @raysan5 ,
I added the ability to invert the normals of the sphere and hemisphere because it could be useful to draw inside the model.  (In the screenshot you can see an example, where I project an atmospheric scattering shader inside the sphere)

Mesh GenMeshSphereEx(float radius, int rings, int slices, bool InvertNormals)
{
Mesh mesh = { 0 };
mesh.vboId = (unsigned int *)RL_CALLOC(DEFAULT_MESH_VERTEX_BUFFERS, sizeof(unsigned int));
par_shapes_mesh *sphere = par_shapes_create_parametric_sphere(slices, rings);
par_shapes_scale(sphere, radius, radius, radius);
// NOTE: Soft normals are computed internally

if (InvertNormals) {
	par_shapes_invert(sphere, 0, 0);
}

mesh.vertices = (float *)RL_MALLOC(sphere->ntriangles*3*3*sizeof(float));
mesh.texcoords = (float *)RL_MALLOC(sphere->ntriangles*3*2*sizeof(float));
mesh.normals = (float *)RL_MALLOC(sphere->ntriangles*3*3*sizeof(float));

mesh.vertexCount = sphere->ntriangles*3;
mesh.triangleCount = sphere->ntriangles;

for (int k = 0; k < mesh.vertexCount; k++)
{
    mesh.vertices[k*3] = sphere->points[sphere->triangles[k]*3];
    mesh.vertices[k*3 + 1] = sphere->points[sphere->triangles[k]*3 + 1];
    mesh.vertices[k*3 + 2] = sphere->points[sphere->triangles[k]*3 + 2];

    mesh.normals[k*3] = sphere->normals[sphere->triangles[k]*3];
    mesh.normals[k*3 + 1] = sphere->normals[sphere->triangles[k]*3 + 1];
    mesh.normals[k*3 + 2] = sphere->normals[sphere->triangles[k]*3 + 2];

    mesh.texcoords[k*2] = sphere->tcoords[sphere->triangles[k]*2];
    mesh.texcoords[k*2 + 1] = sphere->tcoords[sphere->triangles[k]*2 + 1];
}

par_shapes_free_mesh(sphere);

// Upload vertex data to GPU (static mesh)
rlLoadMesh(&mesh, false);

return mesh;

}
RLAPI Mesh GenMeshSphereEx(float radius, int rings, int slices)
{
return GenMeshSphereEx(radius, rings, slices, false);
}


[5.4] Fix BelongsTo not accepting id == 0 in foreign relations

BelongsTo is not able to eager load relations when the id == 0.
This is a bug introduced in 5.4.
The code in 5.3 only checked for nulls:
    foreach ($models as $model) {
        if (! is_null($value = $model->{$this->foreignKey})) {
            $keys[] = $value;
        }
    }

In 5.4, as it is using array_filter(), it's now also excluding '', false and 0.

Might as well just change it back to a loop honestly. This is harder to read.

@taylorotwell, changed it back to a loop.
@fernandobandeira renamed that method.

Thanks


furnace: 0.5.6 -> 0.5.8

Closes #164342
Description of changes

Bump to latest release
Change update script to hopefully avoid incorrect bump PRs like #164342
Add a version checking test

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 164434 run on x86_64-darwin 1

1 package built:

furnace

Binary works & new test runs successfully. Not sure what's up with the error OfBorg is having.

@ofborg eval
Just GitHub sending invalid API responses, as they are wont do.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.12.13 to before v5.12.13",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=afd8b0d091d5b4febe2d0ac3b7735c1826329302",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fa8c413e6b74ae5d12daf911c73238c5bdacd8e6"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "afd8b0d091d5b4febe2d0ac3b7735c1826329302",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "fa8c413e6b74ae5d12daf911c73238c5bdacd8e6",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "usb: dwc3: core: fix kernel panic when do reboot\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.12.13 by commit fa8c413e6b74ae5d12daf911c73238c5bdacd8e6, it was introduced in version v5.12.13 by commit afd8b0d091d5b4febe2d0ac3b7735c1826329302. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001092


Project does not build on Windows with TYPESAFE_PROJECT_ACCESSORS enabled

When building on Windows 11, gradle fails to generate the project model:

org.gradle.api.internal.catalog.GeneratedClassCompilationException: Unable to compile generated sources:

File AddcoilmultiplatformProjectDependency.java, line: 13, class AddCoilMultiplatformProjectDependency is public, should be declared in a file named AddCoilMultiplatformProjectDependency.java

This appears to be related to open gradle issue 28644 and may impact platforms with case-insensitive filesystems (though I have only verified similar symptoms, not necessarily a shared root cause).
Steps to reproduce:

Pull down copy of repo
Attempt to import or build on Windows 11

Tested platforms:

Windows 11

Tested versions:

1.1.0
1.2.0

Workaround:
Remove or comment out enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") in settings.gradle.kts

I don't have a windows machine so I cannot confirm.
Could you open a PR for this and make sure it works on your machine?
Then I can check if everything is ok on mac and push an update


Excessive memory allocation

The following flame graph shows the memory allocation is beyond expectation. We should optimize it.

This should be fixed previously. The major allocation comes from com.alibaba.metrics.common.filter.MetricNameSetFilter#matches. To avoid string allocation, using the following logic instead.
success = name.getKey().startsWith(nameToMatch) && nameToMatch.length() == lastIndexOfDot;


Replace custom clone(...) function with Object.assign({}, ...)

More standard way to clone objects

It is a more standard way to clone objects and also make options with defaults, but it's also an ES6 built-in function, therefore won't be available in some environments that are targeted by PEG.js
I'm working on adding a util module that will have these small helpers that are spread through the PEG.js codebase, similar to how PEG.js had one in the pre-0.10 codebase, but this comes after I'm done with and merged the development-overhaul branch into the master branch.

therefore won't be available in some environments that are targeted by PEG.js

?!  the pegjs code itself already use ES6 features, so I misunderstand how this function may be not availible. This PR not affect generated parsers, that still generated for ES5 environment.

Yes, it does, but only ES6 syntax that can be transpiled down to ES5, but I prefer not to add ES6 built-ins as Babel (used via Browseriefy in the PEG.js codebase, but in general also) and it's plugins tend to add extra weight for some polyfills as they follow the standard.
If I can, I try to avoid polyfills, although in some cases it can't be avoided. In this case, it can, so sorry 😄


Support for Webpack

Does this SDK support being bundled with webpack?
Several lines like
config.HELPER_PATH = path.join(__dirname, 'helper.js');
var helper = require(config.HELPER_PATH);

generate errors: Critical dependency: the request of a dependency is an expression
Is there a workaround?
Would you accept a PR fixing this?

For js files in asset folder, right?

Not sure I understand your question.
I have a project that requires this SDK. When I build that with webpack, webpack traverses the dependency tree and bundles all required modules into a single file.
Because of the way this SDK uses require webpack is not able to determine at build time which modules are being required and cannot include them.
Changing this line and others to something more like require('./helper.js') would allow webpack to determine which modules are being required at build time.

Hi @aaron-lang-auroramj ,
Thanks for bringing this to our notice and we appreciate your valuable feedback on this.
I will review this feedback with the team, and keep you posted on the progress.
Regards
Indrasen

The PR i'm working on should address this issue: #25


jax.numpy.convolve outputs floats for integer inputs

If not quite a bug, it's definitely not what I would expect.
import jax.numpy as jnp

a = jnp.arange(100, dtype=jnp.int32)
v = jnp.ones(5, dtype=jnp.int32)
res = jnp.convolve(a, v, mode='valid')
print(a.dtype, v.dtype, res.dtype)
# int32 int32 float32

#9953
Already in progress.
E   RuntimeError: UNIMPLEMENTED:
E   Can't lower one or more integer convolutions to idioms supported by CuDNN.
E
E   CuDNN integer convolutions must have:
E
E     - s8 input and filter,
E     - f32 bias (if present),
E     - s8 or f32 output, and
E     - s8 side_input (if present) if output is s8.

Thanks for the report - I'm going to close this because it's being tracked in https://github.com/google/jax/pull/9953


feat(Img): Support for other Component based with component props.

Deploy preview ready!
Built with commit 35f0dbfbf5c3a6750ec45f50bd19f8a58f598096
https://deploy-preview-34--react-progressive-bg-image.netlify.com


Update Composer dependencies (2021-10-12-00-13)

Visual regression test passed!
View the visual regression test report


fix broken html.

What: removes surrounding

 tags in mdToHTML

Why: We don't need them anywhere and we don't want them in titles.
Closes #114

How: using the magic of .slice

Works!


how to install python3-pip in WSL Ubuntu 18.04

This is a simple question, after installing Ubuntu 18.04, I cannot install PIP.  Is it available?  If not, will it be available in the future?
Also, when I type python, the cursor goes down 1 line and hangs indefinitely.  python3 runs python3 as expected, but it seems python is a black-hole of a command.

Fill up all the fields in the issue template which you've deleted.


Fix linux distribution

We only have installables for macOS and Windows atm.

Fixed in #429.

Fixed in #429.

Fixed in #429.

Fixed in #429.


'seasons' should not be required argument for [acme_diags]

I don't think 'seasons'  should be a required argument for the configuration of [acme_diags].

This is kinda on our end.
Currently if the user does not define seasons in acme_diags (and thus the acme_processflow), seasons=[] and the diags aren't ran, since the first for loop loops through seasons.
We can edit acme_parameter.py to have seasons=['ANN', 'DJF', 'MAM', 'JJA', 'SON'] by default. That should fix it. We have even release a 'bug' fix, v1.0.1 once this and other issues are fixed.

@sterlingbaldwin To fix this on your end, if seasons is not defined, just set it to ['ANN', 'DJF', 'MAM', 'JJA', 'SON']. This way, you don't have to wait for us to release a bugfix.


AuthorOwnerCheck needs to check for  org admin

The commanded repository might be under an organization, in which case the command's author must be an active admin of that organization .
IMPORTANT:
Due to the current API (see here), the Github chatbot must be a member of the organization in order to be able to check the commander's membership. Add this info to the denied.commander.comment

done


Digital signed pdf throwing error

Attach (recommended) or Link to PDF file here:
Configuration:
Web browser and its version:

Google Chrome Version 92.0.4515.107

Operating system and its version:

Windows 10

PDF.js version:

2.9.359

Is a browser extension:

No

Steps to reproduce the problem:
I was asked to try using node.js in these linked issue #13809 and below i have tried as suggested the steps.
I have cloned the latest version of pdfjs from github  And setup using node.js, npm and gulp and run using the url suggested in github http://localhost:8888/web/viewer.html,
but getting the same error.  Please find the attachment for the same.

Please stop "spamming" the bug tracker with duplicate issues, when none of them contain enough information to be actionable!

Attach (recommended) or Link to PDF file here:

This part of the ISSUE_TEMPLATE is always required in order for any issue to be actionable; hence why all your previous issues have been closed.

Steps to reproduce the problem:
I was asked to try using node.js in these linked issue #13809 and below i have tried as suggested the steps.

No-one asked about Node.js, however you've been repeatedly asked to actually provide sufficient information to make the issue actionable/understandable. With neither the PDF document, nor a runnable test-case, we simply cannot help!

but getting the same error. Please find the attachment for the same.

Huh; your screen-shot clearly shows only a warning and not actually an error!?

@Snuffleupagus Actually pdf is confidential and can not be shared and runnable test case is just copying pdf under web folder and running the application.

Actually pdf is confidential and can not be shared

Sorry, but that means that it's impossible for us to help!

runnable test case is just copying pdf under web folder and running the application.

No, that's not really helpful without the actual PDF file used.

@Snuffleupagus Thanks for your reply, Let me recheck about sharing pdf and if gets approved i will share here.


[fix][sec] Mitigate CVE-2024-53990 by disabling AsyncHttpClient CookieStore

Motivation
See CVE-2024-53990. There aren't backend services in Pulsar that would use cookies, however since it's a high severity vulnerability, there's a need to mitigate it. Eventually we will need to upgrade to AsyncHttpClient 3.0.1 to get rid of the vulnerable dependency AsyncHttpClient 2.12.x.
Modifications

As a mitigation, disable CookieStore by setting it to null
This PR doesn't upgrade to AsyncHttpClient 3.0.1

Upgrading to AsyncHttpClient 3.0.1 will be more work. It will be handled separately.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.38%. Comparing base (bbc6224) to head (a838d39).
Report is 787 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23725      +/-   ##
============================================
+ Coverage     73.57%   74.38%   +0.81%
- Complexity    32624    34559    +1935
============================================
  Files          1877     1945      +68
  Lines        139502   147486    +7984
  Branches      15299    16277     +978
============================================
+ Hits         102638   109713    +7075
- Misses        28908    29306     +398
- Partials       7956     8467     +511

Flag
Coverage Δ

inttests
27.29% <20.00%> (+2.70%)
:arrow_up:

systests
24.35% <20.00%> (+0.03%)
:arrow_up:

unittests
73.77% <100.00%> (+0.93%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines
Coverage Δ

...hentication/oidc/AuthenticationProviderOpenID.java
73.65% <100.00%> (-3.14%)
:arrow_down:

...client/admin/internal/http/AsyncHttpConnector.java
85.21% <100.00%> (-1.21%)
:arrow_down:

.../pulsar/client/impl/ControlledClusterFailover.java
65.38% <100.00%> (+0.33%)
:arrow_up:

...java/org/apache/pulsar/client/impl/HttpClient.java
80.76% <100.00%> (+2.57%)
:arrow_up:

.../client/impl/auth/oauth2/protocol/TokenClient.java
81.25% <100.00%> (+0.39%)
:arrow_up:

... and 667 files with indirect coverage changes


Add support for stream + functions

Currently whenever you try to use the stream API and functions at the same time it returns a not stream reply getting the go-openai client confused about it. I would love to have support for using both. (For now I'm going to work around it avoiding functions). Also, I no't 100% sure what is the safest approach, maybe is more safe to not use functions on streams instead of returning not-streams whenever you have functions. Anyway, the real solution goes through implementing support for the combination of both.
Solution
Implement support for functions on streams
Alternatives

Fall in the safe side for the clients and disable functions but keep using stream response for that.
Do the whole process related to not-streamed response using the funtions, and end up returning a stream response, but all at once, instead of using "real streaming".

Additional context
I need this to use it as part of the Mattermost ai plugin. Currently we use functions and streams in combination, OpenAI API works like a charm with that.
I don't mind giving it a try, but I would love to have some guidance about why is not implemented yet and what was the problem to implement it, to not waste my time investigating something that is already known.

Happy for @mudler  sharing more detail here.

@jespino there are two issues with streaming functions results:

determining when there is no action to do. Currently we let the llm reply with a "no reply" function to decide to not call any function. Due to this reason we need to consume the answer and decode the JSON
the grammar output isn't currently matching 100% the OpenAI APIs and as such the JSON output from the LLM is re-marshalled - but that's quite easy to adapt and rework on.

The interested code section is https://github.com/go-skynet/LocalAI/blob/432513c3ba7c7e2491fed64dec4c4f0f545984ba/api/openai/chat.go#L294

@jespino however if functions with "stream": true break the client that's a bug - we should just return everything in one event so at least we should be compatible.

@mudler I going to double check that to ensure is not a problem in my implementation and is a standard go open client library behavior. Also, I going to verify any other official client to triple check that. and then the first iteration would be to return just one single "stream" message for that. And then I can try to solve the feature of streaming+functions.


[TECHDEBT] [P2P] Moved p2p telemetry metrics into telemetry module

Tending to the TODO item:
https://github.com/pokt-network/pocket/blob/5b958411177d1ae0a16da8354555d53fe6a7e306/p2p/telemetry/metrics.go#L3
it also renames the constants by making them have "P2P" as prefix so that constants from various modules can be easily identified while developing.
Thoughts
Having metrics labels defined inside the telemetry module makes sense, however, that means that the telemetry module knows about some strings belonging to some other module that have some sort of meaning. telemetry is still pretty ignorant about the implementation details of the other modules but there's some interdependency.
It also means that now p2p imports telemetry.
🤔

Having metrics labels defined inside the telemetry module makes sense, however, that means that the telemetry module knows about some strings belonging to some other module that have some sort of meaning. telemetry is still pretty ignorant about the implementation details of the other modules but there's some interdependency.
It also means that now p2p imports telemetry.

I see your point. From my perspective, if someone were to implement a different p2p module, it would encourage the to reuse/update the existing telemetry metrics. That way:

Swap out the P2P module
Don't need to update any dashboard or telemetry ingusters

Wdyt?


Setup automated builds

Use Travis, Circle, or similar service to setup (free) automated builds for specs on PRs.

Fixed by https://github.com/jcraigk/phishin/pull/159


Fix list of speakers names not displayed

resolves #3798
This PR changes the _as_observable suffix to just $ for view models to comply with angulars naming conventions for observables. Besides from that the observable relations do not need to be specified manually anymore. Instead a new type ViewModelRelations is used.
Another change included here is the change of the Shared worker type to module to support activating the shared worker while development. This ability was broken with switching to the new angular compiler.

The performance issues are not cause by the client


fix: load staticwebapp.config.json schema locally when timeout

Added a logic to load static-web-apps-cli/schema/staticwebapp.config.json as a backup to solve issue #754 and #802

Hi @cjk7989 although I agree that this PR at least decouples concerns: 1 thing is not to find the schema, another thing is for the configuration not to conform to the schema.
Can we please revert the previous changes https://github.com/Azure/static-web-apps-cli/commit/f07e351e5c693d482061829119bcd1f37b92abda on the grounds of: do we really want to block customers from running their applications when there is a misconfiguration? What is the rationale to go from warning to error?


Streamable valid urls

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x ] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x ] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x ] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Streamable's embedded URL format has changed. This will fix extract_url with the new format.

Squash commits.

Why close and delete?

I'm sorry, I couldn't figure out how to squash them. I figured this was simplest.

Good question. Don't know if this can be done via the site itself, probably not.
Maybe best like this: https://help.github.com/articles/using-git-rebase-on-the-command-line/
Dunno, @dstftw should chime in and explain the expected format for this repo..


Try it! tutorial fails on Authorization denied

Hi Im following your tutorial Try it!(https://alcali.dev/try/#try-it) (I was able to run it thanks to this workaround https://github.com/latenighttales/alcali/issues/529#issuecomment-1962738898)
But then Im trying next part Walkthrough(https://alcali.dev/walkthrough/#walkthrough) and here it fails with Authorization denied when I try to accept minion.

Thanks for any help.

Hi.
I faced the same problem, and I found a solution.
The reason for the error is that docker/dockerfile-master and docker/dockerfile-minion install the latest version of Salt. (3007.1)
The current version of alcali is 3006.3, so I think there's a problem because it doesn't support 3007.
If you install the salt 3006.x version, you can see that it is proceeding normally.
Please revise as below and try again.
I hope it helps.
https://github.com/DdangJin/alcali/commit/317251b7b44fa19ae2f33f4f24d99001b8a35c26


Persistent Custom XML

Bug Report 🐛

Currently, the custom XML namespace when a template is inserted is persistent i.e. it does not change when a template is removed  from the document.
Expected Behavior

When we remove a template from the document, the XML of the templateIdentifier stored in custom XML should also get removed.
The XML looks similar to this.
<?xml version="1.0" encoding="utf-8" ?>
<templates xmlns="https://accordproject.org/">
  <template<EMAIL_ADDRESS>/>
  ...
</templates>

If one deletes the template acceptance-of-delivery then this identifier should also get removed.
Current Behavior

The identifier remains there and is not deleted.
Possible Solution

We should remove the identifiers whenever a template is deleted.
Steps to Reproduce

After the add-in server is running and the npm start command is entered.

Insert any 2 different templates.
Save the document as WORD XML format.
Now open the XML in any editor(Vs-Code, atom) and see the identifier of 2 different templates. (find for <template xmlns in the file)
2 different occurrences will be found
Now in the document delete any of the templates and save the document as XML format.
Repeat step 3.
Still two different occurrences are found.

Context (Environment)

Desktop

OS: Windows 10
Text Editor: MS-Word
Version: OS-Build: 19042.867, Word-Office 365 v2103

Detailed Description

The change will ensure that only those identifiers are present whose templates are present in the document.
Possible Implementation

According to this, there is a content-control onDeleted which we can use to delete the identifier of the template.
Would you like to work on the issue?
Yes

This is a very good issue! Looking forward to PR for this.

Going to work on this now

@algomaster99
I need some help with this issue.
I was trying to use this one. However, it states that API should not be used in a production environment. So shall we go with this?
Also, I had some difficulties setting this up in the code.

I would try the following approaches:

Use delete with keepContent set to false. This API can be triggered from the Word Add-in (maybe the document panel). We can instruct a user to not delete the clause by deleting the content control directly but instead we can render a button in document panel which will trigger the above mentioned API.
Similar to the above approach, you can first use the delete API for removing the CustomXMLPart and then you can remove the content control. Again, the user is expected to click a button and launch this API.
I am not sure about this but maybe we can again use Office.EventType.BindingDataChanged. Whenever a user deletes the content of the content control, this event will launch and delete the XML too. However, this might be unsafe as user can delete the content control directly so this event would never trigger in that case. Moreover, I remember that I have made the content inside a content control not editable.

I agree the best approach would have been what you mentioned but as far as I recollect these preview APIs don't work even in the development environment. Anyway, they have suggested to not use it for now so let's keep it that way.

I would try the following approaches:

Use delete with keepContent set to false. This API can be triggered from the Word Add-in (maybe the document panel). We can instruct a user to not delete the clause by deleting the content control directly but instead we can render a button in document panel which will trigger the above mentioned API.
Similar to the above approach, you can first use the delete API for removing the CustomXMLPart and then you can remove the content control. Again, the user is expected to click a button and launch this API.
I am not sure about this but maybe we can again use Office.EventType.BindingDataChanged. Whenever a user deletes the content of the content control, this event will launch and delete the XML too. However, this might be unsafe as user can delete the content control directly so this event would never trigger in that case. Moreover, I remember that I have made the content inside a content control not editable.

I agree the best approach would have been what you mentioned but as far as I recollect these preview APIs don't work even in the development environment. Anyway, they have suggested to not use it for now so let's keep it that way.

@algomaster99
Thanks for the help and clarification. I will try to implement and see if we are able to find an effective solution from these.

@algomaster99
I was implementing the code but I am stuck at a particular place.
              if (!identifierExists) {
                setup(ciceroMark, template);
                newXml += `<template xmlns="${templateIdentifier}" />`;
                newXml += '</templates>';
                Office.context.document.customXmlParts.getByNamespaceAsync(CUSTOM_XML_NAMESPACE, res => {
                  if (res.status === Office.AsyncResultStatus.Succeeded) {
                    for (let index=0; index<res.value.length; ++index) {
                      res.value[index].deleteAsync();
                    }
                  }
                });
                Office.context.document.customXmlParts.addAsync(newXml);
              } else {
                console.log('XML NOW', newXml);
                Office.context.document.customXmlParts.getByNamespaceAsync(CUSTOM_XML_NAMESPACE, res => {
                  if (res.status === Office.AsyncResultStatus.Succeeded) {
                    for (let index=0; index<res.value.length; ++index) {
                      res.value[index].deleteAsync();
                    }
                  }
                });
                Office.context.document.customXmlParts.addAsync(newXml);
                toast(
                  {
                    title: 'Duplicate template',
                    description:
Template cannot be inserted as it is already present in the document.
,
                    type: 'error',
                    time: 5000,
                    animation: 'fly down',
                  },
                );
              }

This code is the part where we insert more than one template. So from what I Understood if the template to be inserted is not present. Then the newXML will include our template identifier.
Also, this is the code which removes the old Custom XML and inserts the new XML.
                Office.context.document.customXmlParts.getByNamespaceAsync(CUSTOM_XML_NAMESPACE, res => {
                  if (res.status === Office.AsyncResultStatus.Succeeded) {
                    for (let index=0; index<res.value.length; ++index) {
                      res.value[index].deleteAsync();
                    }
                  }
                });
                Office.context.document.customXmlParts.addAsync(newXml);

Now, if the identifier is already present, then we need to remove the oldXML.
                Office.context.document.customXmlParts.getByNamespaceAsync(CUSTOM_XML_NAMESPACE, res => {
                  if (res.status === Office.AsyncResultStatus.Succeeded) {
                    for (let index=0; index<res.value.length; ++index) {
                      res.value[index].deleteAsync();
                    }
                  }
                });
                Office.context.document.customXmlParts.addAsync(newXml);

As visible, both the conditions when the template is present and when it is not present use the same code. However, in the second case, the custom XML parts are not being added to the document again. I am quite not able to understand the reasoning for this. The removal of the nodes is happening but not the insertion again.
testing.zip
I have attached a zip file that contains the OOXML for the different processes made.
Let me know if there is any explanation that I have missed.

@K-Kumar-01 I would appreciate if you could submit a WIP pull request of the implementation. It will be easier for me to debug.

@algomaster99 Yeah sure I will submit a draft PR. I will clean the code a bit and then submit it ASAP.

@algomaster99
I have made a WIP PR. Thanks for the guidance in advance :)


The texture when I use fine-tuning with DMTet (mesh representation)

I have some questions about DMTET fine-tuning.
DMTet makes mesh as final representations; I'm curious how we learn the texture of mesh at DMTet fine-tuning stages.
And how do you render mesh rendering with geometry and texture?
It would be appreciated to tell me about the method and code part.
Thanks for sharing your awesome work.

@ug-kim Hi, the code of DMTet is majorly adapted from nvdiffrec. You may check their paper for a detailed explanation. In summary, we still use the 3D hashgrid from NeRF stage to encode the texture during training, and only bake it into 2D texture images at exporting.


Remove unnecessary line breaks from Onboarding pages

https://github.com/bitcoin-core/gui-qml/issues/282

main
PR

--
--

Update from 94ce729 to 656df9

Re-add the linebreaks that we want

main
PR

(ignore "normal" at the topright, have an opengl overlay on testing gsync)

Update from 656df95 to 1ef15eb:

Two \n so MacOs builds display the break correctly


dashboard list does not show dashboards created by others

userA (ADMIN) creates 4 dashboards and shares them
userB (GAMMA) logs in and goes to dashboard/list/ but the 4 dashboards that userA created are not shown,  api/v1/dashboard/ is empty too

#10408 this SIP is addressing the issue

@tooptoop4 for Gamma to see the dashboard they must have access permissions to all of the referenced datasources and the dashboards must be published. Closing as without more information this is the current desired behavior.


Calling setter on variant accessors with function using type parameter errors

Bug Report
🔎 Search Terms

Variant accessors / generics / functions

🕗 Version & Regression Information

This is the behavior in every version I tried (4.35 -> nightly), and I reviewed the FAQ for entries about variant accessors.

⏯ Playground Link
Playground link with relevant code
💻 Code
class Test<S> {
    constructor() {}

    set value(value: string | ((item: S) => string)) {}

    get value(): string {
        return null!;
    }

    // -- Replacing the getter such that the getter/setter types match, removes the error:
    // get value(): string | ((item: S) => string) {
    //     return null!;
    // }

    // -- Or, replacing the setter such that a concrete type is used, removes the error:
    // set value(value: string | ((item: { property: string }) => string)) {}
}

const a = new Test<{
    property: string
}>();

a.value = (item) => item.property // Property 'property' does not exist on type 'S'

🙁 Actual behavior
Using variant accessors, with the setter taking a function with a class generic type as an argument, compilation fails with the
error Property 'property' does not exist on type 'S' (marked in code example above). This error does not occur if the type of the getter matches the setter, if the getter is removed, or a concrete type is specified instead of a type parameter in the setter.
🙂 Expected behavior
No error with support for inferring the generic type S when assigning with the setter.

It seems that to make it work the type returned by get must have a reference to S:
class Test<S> {
    constructor() {}

    set value(value: S | ((item: S) => any)) {}

    get value(): S {
        return null as any;
    }
}

const a = new Test<{property: string}>();
a.value = function (item) { item.property } // it works


WIP: feat: allow escaped characters within TextFormatTransformer

Will extend that escaped characters won't be respected during TextFormatTransformers.
Before:

The text was formatted to italic, even if the asterix was escaped.
After:

If that pull-request is done, i could add another one with a new transformer for replacing the backslash from escaped characters, when moving from markdown-mode to wysiwyg-mode.

Thanks for looking into it! One thing to check is whether it'll be failing in Safari with negative/positive lookbehind in RegExp https://caniuse.com/?search=Negative Lookbehind

@fantactuka Thanks for your response! Definitely a thing to check. But currently i don't really know, if it's the right way to change the "main"-regexp for textFormats. Maybe it's better to let it match, if there is one in the textContent and to re-check it afterwards, if it contains escaped-chars? Or better follow the current approach and to extend the regexp? What do you think?
I'm not quite sure, if its possible to write only one regexp, e.g. to match something that does contain asterisk and does not contain escaped asterisk :laughing: :exploding_head:

Got it now (nearly done). Unfortunately safari needs an extra sausage (as we say in germany). Not sure if anyone would use safari on desktop and will write escaped markdown there. Neither on iOS. If the User-Agent will recognize Safari or iOS, the old regexp will be used (without lookbehind and lookahead). With a bit of luck we will get this resolved this decade / century? 😃 I mean at least lexical can support firefox- and chrome-users, if they write escaped markdown. What do you think?


Fix confusing remark about NSS divergence from the spec

Fixes #182

Thanks! @solid/core can someone make @acoburn a "reviewer with write access" on this repo?

@kjetilk @Mitzi-Laszlo @justinwb have two approving reviews now, but need one more review from a team member.

How does one get elected/awarded/removed from a core team member? What are the qualifications?
FWIW, as a non "core" team member, the proposed update looks good to me.

The way we work now is we do expert review as usual (so that's Ruben, Aaron, and you, thanks!), but then all spec edits additionally need sign-off by 2 out of 5 Solid Team members, they are Tim, Mitzi, Ruben, Justin and Kjetil. That extra rule was added here in the hope that this double review (experts + team members) helps avoid situations like the one this PR is actually reverting. In this case, it has slowed down the revert, but in general the intent is that there are more eyes on all spec PRs before they get merge, which I think is a good thing.

How does one get elected/awarded/removed from a core team member?

In addition to what @michielbdejong said, this is a temporary thing until there's a better solution, was just the quickest I could do to avoid the #181 problem.

+1 to Ruben's suggestion to use MUST. If this is supposed to be prescriptive, it might as well be explicit. This is especially where errors/faults are not described or what happens if 1) non relative URIs or 2) non HTTP URIs are used. So, unless I'm overlooking something, the spec should say MUST HTTP URI.


Is this still being developed

There was an issue #309 about the README mentioning this project is still under development and then you removed that text from the README, but that language still exists in the documentation https://argocd-autopilot.readthedocs.io/en/stable/#development-status. The last significant code commit appears to be 8efa73d from exactly one year ago, since then it been a few bug fixes and typos but mostly just dependabot bumps.
There doesn't appear to be any significant feature development for almost two years. Will there be any further development, most of the functionality for adding and managing apps or projects appears to be in the main command it really only the bootstrap that is missing. If so then it should probably be deprecated/archived.

For me, the most important thing is that the bootstrapping (installing it into a new/empty cluster, or recover) is being maintained and kept possible even with new k8s versions. Most other things are just convenience features that create a argocd project with some applicationsets and applications. I, personally, rather write these by hand, also (but not only) because these cli commands don't cover all features Argocd itself does, like repositories etc. That is you point I guess?
Deprecated/archived would suggest that nothing is being done, not even maintenance. I wouldn't want to see that.

@AlexEndris at this point it doesn't even look like maintenance is happening. The only commits for the last two years are essentially just debendabot bumping library versions, that's not maintenance that's life support. The idea is great but if there's no commitment to it then it should be marked as such. Then people won't be led to use something that isn't supported or maybe the community picks it up.

@evilhamsterman You have a point there, unfortunately. I just joined the slack that's linked below to point to this issue to, maybe, get a comment on this, because this is indeed a genuine worry. Thank you for pointing it out to make others aware.

Let’s consider this a call to the community to volunteer if they would like to see new features. This project was quite active for a while but is now at a comfortable place where it solves the problems we wanted to solve for ourselves at Codefresh. The project is still being updated for bug and security fixes but no major new features are planned. PRs are monitored so if people would like to add features and support, or join and help maintain the project, they’re very welcome!
I think there is a place for this project in the community and if people want new features, they're going to have to pitch in.
Thanks @AlexEndris @evilhamsterman for bringing it up.

Does Codefresh still use this project?

We do not use it as part of the installer but it's still supported.
On Tue, Apr 23, 2024, 4:47 PM Will Bush @.***> wrote:

Does Codefresh still use this project?
—
Reply to this email directly, view it on GitHub
https://github.com/argoproj-labs/argocd-autopilot/issues/547#issuecomment-2073600050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5L5LG62247XOMCCGQL3IDY63QIXAVCNFSM6AAAAABBXJQPGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGYYDAMBVGA
.
You are receiving this because you commented.Message ID:
@.***>


Update support-table.adoc

Per The OpenJDK release matrix, https://www.java.com/releases/matrix/, JDK 11.0.29 is expected to be released in October of 2025
Description of change
Updated the "End of Availability" date for JDK 11, based on dates published on the OpenJDK website.
Checklist

[x] documentation is changed or added (if applicable)
[x] contribution guidelines followed here

Temurin support timelines may not match OpenJDK support timelines 1-1.  This will need PMC approval.

The PMC discussed this in todays call. Whilst the PMC supports the extension of the Temurin 11 support to match that of upstream OpenJDK, the link provided (https://www.java.com/releases/matrix/) refers to Oracle JDK (not OpenJDK).
We will be checking with the OpenJDK updates project to determine whether there is a plan in place to maintain the jdk11u source to October 2025

Thanks George. Do you happen to have a timeline for that conversation with the OpenJDK team? We have some partners who are starting to get a bit nervous - some reassurance will go a long way. Thanks!

@gregparam talking to the JDK11u maintainers they are suggesting that it may be supported up to 2027 so long as the patches are only security fixes. I'm getting some official clarification here and then we'll update the website.

@gdams @tellison
Just checking in to see if there's an update as we're getting some more pressure here on our end. Thank you!

@gdams @tellison Just checking in to see if there's an update as we're getting some more pressure here on our end. Thank you!

@gregparam we're still having discussions around this but 2027 is looking to be the expected end of support date

superseded by https://github.com/adoptium/adoptium.net/pull/2451#pullrequestreview-1742005988

@gregparam we have now updated our website to show JDK11 support until at least October 2027.


Dev Tooling L2 Mainnet "Not a Drill" Epic

Dev tooling Support for celo switching to op for real no takebacks.
### Tasks
- [ ] https://github.com/celo-org/developer-tooling/issues/362
- [ ] https://github.com/celo-org/celo-blockchain-planning/issues/225
- [ ] https://github.com/celo-org/developer-tooling/issues/328
- [ ] https://github.com/celo-org/developer-tooling/issues/386

check that using the celocli to claim a domain still works https://docs.celo.org/protocol/identity/metadata because this will be used by. validators to claim their rpc url


🔍 Provide the API to easily support "did you mean...?"

Eventually we might want to implement fuzzy search or an API to facilitate the computation of edit distances.

I am interested in working on this. For my purposes, the API I need would just be a single function that takes a string and a trie, and returns a list of paths, sorted by distance to the input. What do you have in mind?
Reference edit distance implementations:

https://github.com/ifazk/mula/
https://github.com/c-cube/spelll/

@kentookura Yes, that's correct. Alternatively, it can take a list of strings (as a hierarchical name) and a trie. Either way it works!


GH-150: Don't eat errors in AbstractAdaptableML

Fixes: GH-150 (https://github.com/spring-projects/spring-kafka/issues/150)
In some corner cases the target MessageListener implementation may decide to invoke AbstractAdaptableMessageListener.onMessage(message) of its delegate.
In this case we can't receive any exceptions back into container for handling, because handleListenerException() just logs them.

Deprecate handleListenerException() and don't wrap onMessage(message, null) call with try...catch to let exception bubble in container back,
like it is with regular onMessage(message, null) in the container.

(Consider to remove handleListenerException() altogether for current 1.1 master)
Cherry-pick to 1.0.x

I have changed my mind a bit during the similar fix for AMQP (https://jira.spring.io/browse/AMQP-623).
But I won't mind if we remove that method altogether for Spring Kafka.

See the discussion with Juergen: https://jira.spring.io/browse/SPR-14473.
Looks like Spring Kafka doesn't need that handleListenerException() method.
Any exception should be thrown into container for handling.
That is end-user decision to "eat" and handle listener exceptions on his own.

LGTM - merging.
Also cherry-picked into 1.0.x branch.


test: remove the just added, but now unrealistic, shake128 OAEP tests

These were added as a POC in #24387. However, such combinations are no
longer unusable since #24105 got merged.
This should unbreak all build failures on mainline.
Partially reverts: 1bfc8d17f3 (rsa-oaep: block SHAKE usage in FIPS
mode, 2024-05-13)
Signed-off-by: Dimitri John Ledkov<EMAIL_ADDRESS>

Agree urgent

Very sorry about this - as two branches independently pass testing, but not when merged together.

@xnox Don't be sorry, not your fault.

Merged to the master branch. Thank you for the prompt fix.


pkg 3.0.0-beta.21

Node 7 works well

Sorry to ask this here, but I couldn't find much information regarding pkg, and it looks very interesting 😃
Can I use pkg in my projects today? Do you have plans on open sourcing it?

🔜


Feat: Combo system

Basic Logic:
(For Level)

The ComboManager script must be added to the same gameObject as the attack (Bix), it's not necessary to add the UI, it has null checks.

(For Gameplay)

Added a new script called ComboManager that check input from the player and returns the type of attack to be done.
The normal behavior is:
-- PlayerAttack -> Ask ComboManager for input (Line 119 BixAttackScript).
-- PlayerAttack receives the input and does whatever effects it needs to do (For example NormalAttackFunction on 148 in BixAttackScript)
-- Also PlayerAttack calls Combo Manager again to notify that the attack has been successful and comboManager updates the UI and etc. (for example Line 163 in BixAttackScript).

Combo Bar & Combo Input:

When a combo ends, the input does not disappear immediately, so that UI can put some effect.
When you jump and attack the combo ends, I didn't put any visual input, we should decide if we put the clicked button or some other symbol because it's a jump finisher.
If you spend a while (time variable in the ImGUI of the ComboManager) without making a combo the old inputs are deleted and you lose the combo, if after that you still don't make a combo your bar will start to go down (Except if it's full or in special mode)
Tab activates the special and the bar changes color, when reach 0 it returns to its normal state. If the finisher spends more than what is left on the bar, it will still be executed.

Additional features:

The attack values and the values of how much each type of attack adds to the combo have been added to the BixAttack script, I can move the combo Values to the ComboManager script but I left them in bix because it didn't seem comfortable to have them scattered in different scripts on the ImGUI.
Added a wait between attacks, you will not be able to attack again until the corresponding animation ends. (Other attacks probably need more forms to disactivate attacks, we need to look at it on future PRs)
The PlayerManager has been modified to have the mobility scripts accessible without having to have references to them directly.
PlayerJump has been modified so that it checks the ground, necessary for the jump combo, also the jump has been modified to be less erratic, now it always resets its speed before jumping so it always does the same jump regardless of whether it is falling, in mid-air or if you have hit space twice very quickly.
I changed the friction Init values for ALL rigid bodies, this is to prevent Bix from getting stuck on walls or anything else. I already reported this to @OriolSors in my tests I did not see that it gave any problem.
Now Bix has a capsule as a rigidbody.
Some animations of the jump can go slightly weird if you start to do the brute jumping (spaming), I'm looking at it in the stateMachine
All the commented code in BixAttack are tests of trying to put the 3 animations of consecutive attacks that we have, I have a bug that I am going to keep looking at so I have left all that there for the next PR.
And I solved a bug in duplicating objects because if you duplicated something from the UI it would explode.

Enemy detection is going a bit wrong right now, I'll look at it in another PR since it wasn't the goal of this one and I've already been touching other extra things. That is why I have left enough Logs posts. (The best way to test it is to change the if in line 157 in bixAttack so that it does not check anything and comment 164, I have not left it myself because it is not the correct behaviour of the attack). This is a test ignoring enemy detection.
https://github.com/Horizons-Games/Axolotl-Engine/assets/93783740/94a854d0-69d9-4110-86fa-a634c18393a3

And I solved a bug in duplicating objects because if you duplicated something from the UI it would explode.

Perchance you fixed this? https://github.com/Horizons-Games/Axolotl-Engine/issues/513
And this? https://github.com/Horizons-Games/Axolotl-Engine/issues/485
Or was it another thing not related to those issues?

And I solved a bug in duplicating objects because if you duplicated something from the UI it would explode.

Perchance you fixed this? #513 And this? #485
Or was it another thing not related to those issues?

#513 probably is solved with this.

if I did a jump attack, the combo bar increases even if I don't hit an enemy in the attack.

If you look at the jump attack code you will see that it's empty, the exact behavior has to be programmed by whoever does it. I have only left the functions to the combos so that they are not forgotten.

@AuxPort66 if you could fix the conflicts that arised after a couple merges, please.

Done, be carefull with GamePlayFullTrial scene. It's the third time I reddo the Combo UI system.


Workflows are failing upload

I just added a change to my blog posts and got a failed job due to add-to-web3 action failure. See https://github.com/ljmf00/lsferreira.net/actions/runs/1482056059 for context.

If you re-run does it still fail?

If you re-run does it still fail?

Yes, I have done it three times to make sure.

The files get pinned anyway

But because the job fails, the Cloudflare job doesn't update the DNS entry.

This is also happening on my automated task list, see here too: https://github.com/ljmf00/tasks/actions/runs/1482049459 . So I assume it is not my fault, but if it is, let me know. Anyway, I can provide more information if needed.

We are seeing similar issues

I can confirm this issue was fixed. @rossneilson, rerun the workflow pipeline and it will be fine. For context, this was the web3.storage rate limiter limiting GitHub actions hosts for too many requests, according to one member of the matrix channel. I'm closing this, but feel free to ask for a reopen if the problem presists.


[SPARK-15330] [SQL] Implement Reset Command

What changes were proposed in this pull request?
Like Set Command in Hive, Reset is also supported by Hive. See the link: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli
Below is the related Hive JIRA: https://issues.apache.org/jira/browse/HIVE-3202
This PR is to implement such a command for resetting the SQL-related configuration to the default values. One of the use case shown in HIVE-3202 is listed below:

For the purpose of optimization we set various configs per query. It's worthy but all those configs should be reset every time for next query.

How was this patch tested?
Added a test case.

Test build #58609 has started for PR 13121 at commit 41efcb0.

Test build #58609 has finished for PR 13121 at commit 41efcb0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58609/
Test PASSed.

Merged build finished. Test PASSed.

Test build #58664 has started for PR 13121 at commit bdeb165.

Test build #58664 has finished for PR 13121 at commit bdeb165.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58664/
Test PASSed.

Merged build finished. Test PASSed.

@hvanhovell Does the latest change look fine to you? Thanks!

cc @rxin @hvanhovell @cloud-fan Could you also review this command? Thanks!

Test build #59040 has started for PR 13121 at commit 6b8c516.

Test build #59040 has finished for PR 13121 at commit 6b8c516.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59040/
Test PASSed.

Test build #59065 has started for PR 13121 at commit 1c0e61f.

Test build #59067 has started for PR 13121 at commit 1513368.

Test build #59065 has finished for PR 13121 at commit 1c0e61f.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59065/
Test FAILed.

Merged build finished. Test FAILed.

Test build #59067 has finished for PR 13121 at commit 1513368.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59067/
Test PASSed.

LGTM

Test build #59080 has started for PR 13121 at commit 5b759da.

Test build #59080 has finished for PR 13121 at commit 5b759da.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59080/
Test FAILed.

retest this please

Test build #59083 has started for PR 13121 at commit 5b759da.

LGTM pending tests.

Test build #59083 has finished for PR 13121 at commit 5b759da.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59083/
Test PASSed.

Merging in master/2.0. Thanks.


can "predictor.predict(dmat)" support single sample prediction without transforming into csr_matrix?

Currently, it is not possible. I am marking this as a feature request.


Timer is not work as expected

The timeout of gen_statem is useless. I need to manually set timeout and cancel it.

Closed.
Use send_after to do the timing.


New line not preserved after comments before CSS code

When the CSS is minified the minified code starts on the same line as my ending comment see below:
/*!
 * My Comment
 */.css{ starts here }
.css { should start here }

@robcalcroft I'd say is rather a feature than a bug. Any reason you think it should be otherwise?

Agreed

:+1:


appending realisation number to Nexus grid property file names

When exporting grid properties to Nexus ascii files, the filenames need to include a realisation number if the property collection includes multiple realisations.

Codecov Report

Merging #390 (bda3241) into master (c01f71f) will decrease coverage by 0.00%.
The diff coverage is 66.66%.

:exclamation: Current head bda3241 differs from pull request most recent head 0fd0cc4. Consider uploading reports for the commit 0fd0cc4 to get more accurate results

@@            Coverage Diff             @@
##           master     #390      +/-   ##
==========================================
- Coverage   74.94%   74.93%   -0.01%
==========================================
  Files         176      176
  Lines       28478    28481       +3
==========================================
+ Hits        21342    21343       +1
- Misses       7136     7138       +2

Impacted Files
Coverage Δ

resqpy/property/grid_property_collection.py
58.24% <66.66%> (+0.05%)
:arrow_up:

resqpy/model/_xml.py
88.34% <0.00%> (-0.28%)
:arrow_down:

Continue to review full report at Codecov.

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

@cflynn3 This pull request is mainly to add a realisation number to ascii file names generated when exporting grid properties ready for Nexus. However, it also includes a fix for a bug in the Grid module write_nexus_corp() method.  This method is in use in existing workflows, so would be good to get resolved.


Rename Definition to Indirect

Let's delete Indirect and rename Definition to Indirect. This matches better with PDF standard.

Closed by 45f71f5.


BeamGuard, Provider, and Three Error Messages. (does not redirect properly, when hot-reload, 3 error messages)

Here's my _routerDelegate:
final _routerDelegate = BeamerDelegate(
  initialPath: '/',
  locationBuilder: BeamerLocationBuilder(
    beamLocations: [
      HomeLocation(),
      AuthLocation(),
    ],
  ),
  guards: <BeamGuard>[
    BeamGuard(
      pathPatterns: ['/'],
      check: (context, location) {
        print(
            'updated user state from main.dart: ${context.watch<UserProvider>().userState}');
        return context.watch<UserProvider>().userState; // true to HomeScreen()?
      },
      // showPage: BeamPage(child: AuthScreen(),), // <- stack overflow, adding Location doesn't work
      beamToNamed: (origin, target) => '/auth',
    ),
  ],
);

The problem I am getting is that even though I updated userState with a method, which is as the following, BeamGuard does not take me to HomeScreen().
void setUserAuth(bool authState) {
    _userLoggedIn = authState;
    notifyListeners();
  }

  bool get userState => _userLoggedIn;

But when I hot reload, only by then something happens and the app gives me the following error messages:
Performing hot reload...
Another exception was thrown: Navigator.onGenerateRoute was null,
but the route named "/" was referenced.
Performing hot reload...
Another exception was thrown: A HeroController can not be shared
by multiple Navigators. The Navigators that share the same
HeroController are:
Performing hot reload...
Reloaded 2 of 1002 libraries in 496ms.

Another exception was thrown: The Navigator.pages must not be
empty to use the Navigator.pages API

Another exception was thrown: Navigator.onGenerateRoute was null,
but the route named "/" was referenced.

Another exception was thrown: A HeroController can not be shared
by multiple Navigators. The Navigators that share the same
HeroController are:

I tried to search google or stackoverflow, but for any of those messages, I could not find any solution. Thereby I post this question. What are those error messages, and why are they relevant here?
Flutter (Channel stable, 2.10.4, on Ubuntu 20.04.4 LTS 5.13.0-40-generic, locale en_US.UTF-8)

Seems to be similar to the error i encounter when hot reload and using a GlobalKey:
https://github.com/slovnicki/beamer/issues/541#issuecomment-1192289416


implemented progress bar

Suggest improvements if any, Thank you

I simplified a couple of things and merged it.  All the progressing mechanism will change after https://github.com/rakyll/hey/issues/29, so I wouldn't worry about spending more time on this.

Checked your commit, there are some  printing inconsistently, I think we shall rewrite it. Thanks!

I also pushed a bad merge. I will redo this now.

I pushed 74c4ca31d8199a37922862f165f7fb64344cb92e. There are a billion of things I want to fix in terms code quality but I am rewriting the requester as a part of https://github.com/rakyll/hey/issues/29. There will be a better separation of roles soon.

Sounds good!, I think we can leave progress bar as a part of printer #30


update ssd-resnet34 tensorflow model

add pb2tflite convert tools.
update performance from 22.1% to 22.5%.
fix eval_ssd_large.py litte bug at:https://github.com/mlperf/inference/issues/528
provide ckpt and support frozen ckp to pb with both NHWC and NCHW format.

@lji72 do you want to sign the CLA and resolve the conflict?

WG has decided to defer until after submission.

Xilinx update to add NHWC model. Requested by Alibaba (aaron Zhong). No longer needed because we have a conversion script to generate NHWC. WG does not want to update model, use conversion script instead.


Add Istanbul+Karma configuration

Documented generating coverage.json using Istanbul and Karma; and supplying it to codecov.

Thank you!


Fix bug with __infra_aws_storage_tags_list

Fix bug where no user tags are defined and therefore __infra_aws_storage_tags_list is undefined and blocks deployment
Signed-off-by: Daniel Chaffelson<EMAIL_ADDRESS>

Actually this should be a hotfix because it'll block default deployments on main


Fix InstagramRipper for single posts by updating path

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[x] a bug fix (Fix #1545 & #1533)
[ ] a new Ripper
[ ] a refactoring
[ ] a style change/fix
[ ] a new feature

Description
Update singlePostIdPath
Testing
Required verification:

[x] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[x] I've verified that this change works as intended.

[x] Downloads all relevant content.
[x] Downloads content from multiple pages (as necessary or appropriate).
[x] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[x] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[x] I've added a unit test to cover my change.

Upon further investigation, it seems that the nashorn javascript parser is failing on more modern syntax (e.g. ()=>{} or the spread operator, ...) and even setting the VM option for ES6 doesn't fix it. As a result, profile ripping fails with a NullPointerException. If one catches this exception, then the query_hash isn't found so more than a single page can't be ripped. I tried adjusting the user agent string to try to get javascript from instagram that doesn't use as modern syntax but didn't have any luck. If I force the hash to be 42323d64886122307be10013ad2dcc44, profile ripping works again. Short on time at the moment but I will try to investigate more later.
Related issues: #1719 #1715 #1699 #1598

Upon further investigation, it seems that the nashorn javascript parser is failing on more modern syntax (e.g. ()=>{} or the spread operator, ...) and even setting the VM option for ES6 doesn't fix it. As a result, profile ripping fails with a NullPointerException. If one catches this exception, then the query_hash isn't found so more than a single page can't be ripped. I tried adjusting the user agent string to try to get javascript from instagram that doesn't use as modern syntax but didn't have any luck. If I force the hash to be 42323d64886122307be10013ad2dcc44, profile ripping works again. Short on time at the moment but I will try to investigate more later.
Related issues: #1719 #1715 #1699 #1598

Good catch. Nashhorn is not able to parse ES6 syntax. But I am not sure why Java 9+ versions are not able to parse it.
I've tested a few user-agents  which do bring the scripts from a different path, but no luck with them as well.
For now I'm trying to put a fallback method with regex, in case of any errors.

sorry, i read your conversation and im not super into the problems at hand, but i can at least comment that Nashorn has the problem of not having a full ES6 implementation depending on what java version running. Java 9 added "partial" support, and more support was to come in later versions as mentioned here.

With most browsers adopting ECMAScript 6 (ES6) as the standard level of language support for JavaScript, it was essential to bring Nashorn in line. While the Nashorn team didn’t have time to deliver the complete ES6 feature set for the JDK 9 release, more ES6 features will follow in future updates. To activate ES6 support, use --language=es6 on the command line.

nashorn-javascript-engine-jdk9

after applying the switch from nashorn to graal.js, #1724, this change here makes single downloads work.

@cyian-1756 could you merge this one as well pls?

included here:
https://github.com/ripmeapp2/ripme/actions

included here:
https://github.com/ripmeapp2/ripme/actions


Custom Infusion recipes

Is there a json structure to use if I wanted to add custom infusion recipes in my pack? I have tried looking everywhere and can't seem to find them, I am wanting to use crafttweaker to add infusion recipes for my fabric modpack

Hi, yes, JSON structure of infusion recipes is described on wiki tutorial section


Don't process typedoc generation doc through Hugo.

@frankfarzan What is this for? Is there something you can link me?


Updated deprecated links in admin-guide _index.md

Summary
Updated deprecated links in admin-guide _index.md
Ticket Link

NA

Hello @Rutam21,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@cwarnermm Please review and suggest changes if any and also add the appropriate labels for Docathon.


Search value reset on blur

Cannot find how to override this behavior. Whenever I click outside of the SimpleSelect the search value gets reset to an empty string. Ideally, the value should stay the same, or there should be a way I can override the behavior.
Using version 5.3
Any suggestions? Thanks!

Oops don't have that feature yet & definitely not in 0.5.3, planning to add it to the next minor release

It's a feature as intended :) not a bug. This actually becomes useful when you have issue similar to the Issue 98


Fixed Issue #172 - Readline-like history for Web Almond

This is the fix for Issue #172. It creates a readline-like history for web almond which allows the user to press the up and down keys to toggle through previous commands.
It uses two arrays and a new instance variable to keep track of these commands.

Pull Request Test Coverage Report for Build 979

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

Totals

Change from base Build 964:
0.04%

Covered Lines:
4881

Relevant Lines:
7209

💛  - Coveralls

Added all the changes requested.


dataset repeating

I found that if I don't specify length through with_epoch(n)/with_length(n) or dataloader.length, the dataloader just iterate indefinitely. Is it intended or is there something wrong with my pipeline?
    train_dataset = (
        wds.WebDataset(
            args.dataset_urls,
            shardshuffle=1000,
            resampled=True,
            handler=wds.ignore_and_continue)
        .shuffle(100)
        .map(decode_txt)
        .to_tuple('txt')
        .batched(args.batch_size, partial=False)
    )

    train_loader = wds.WebLoader(
        train_dataset, batch_size=None, shuffle=False, num_workers=args.workers
    )

Another question: If I want to use ddp with 2 gpus and the dataset has 10000 examples. Suppose batch size is 8, then I should set n=(10000/2)/8=625 in with_epoch(n), assuming that each gpu process half of the shards. Is my understanding correct?

Yes, this is as intended. Setting resampled=True will just resample shards indefinitely; with resampling, there is no obvious place to stop. You must use with_epoch(n) if you still want to use epochs.
Note that you don't need to use epochs, however. It really is preferable to treat all training as using an infinite source of samples, and then just separately periodically save and print progress, independent of dataset size.
That is, your look can look something like:
for batch in data:
    ...
    n += len(batch[0])
    if n > 10000:
       ...

instead of:
for epoch in range(1000):
    for batch in dl:
        ...
    print(...)

@tmbdev hi, if i want to iter over the full dataset without resampling and read each batch with next(iter(wds_dataset)) instead of dataloader for some dynamic pre-processing along the training, how can i gurantee that there are always data available? thanks


#[unused] annotation

I believe we have a dead_code annotation or something like that so this annotation may be useless.
Nevertheless, the functionality would allow us to remove warnings from unused code, such as in libraries that others are meant to import and use but the library itself does not use.

Yes we have the #[allow(dead_code)] already. That's why I would close this issue.
Also, if a symbol is public in a library and exported it should never be marked as unused. This would be a bug. We should not need the annotation in that case.


Updated Accounts to 2.0.21.Final

@jpkrohling @jmazzitelli Although, I tried some debugging yesterday, I do not have any quick fix for the license header issue. I propose to disable the lic. plugin for now and I'll fix it later after I am finished with tasks blocking M10.

@jpkrohling if you can put back the -Dlicense.skip=true in this PR, once it goes green I'll merge.
Note that even though it will be disabled in travis, "normal" local builds will still run the license checker. So at least license check is still going to get done during local builds (I never turn it off locally - seems to work fine outside of travis).

Added.

getting a "real" failure now: [ERROR] Failed to execute goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.1.2.Final:build (server-provisioning) on project hawkular-wildfly-agent-itest: Execution server-provisioning of goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.1.2.Final:build failed: java.lang.RuntimeException: java.lang.IllegalStateException: Could not resolve '[subsystem=hawkular-accounts-ejb3.xml, supplement=null]

OK, that's a common issue for consumers of the feature pack. I wonder how I didn't get this before. Anyway, I'll update the PR with the fix.

Updated :)


Broken  file for pretrained models

I have tried to  unzip the downloaded  predcls trained model using the command
tar -xvf  predcls.tar
It always give the following error:
tar: This does not look like a tar archive
I'm assuming that the files were not compressed correctly. I tried this with the other provided pretrained models  (sgcls  and sgdet)and get the same error.

Hi, I saved the pretrained model in .tar format.
Therefore you can directly use torch.load(), don't need to unzip them:D

@yrcong Thanks for the reply. It worked :)


Implement Linked Data Signature Create Verify Hash Algorithm

Linked Data signatures use the Create Verify Hash Algorithm as part of both the Signing algorithm and the Verification algorithm. Implement the algorithm, given the parameters listed in the spec, where it calls the canonicalization algorithm and message digest algorithm provided by the Signature Suite.
Part of #96

Depends on #241


Sharp might delete blank space at the end or start of text string in svg tag <tspan></tspan>

Question about an existing feature
What are you trying to achieve?
I found sharp might delete blank space at the end or start of text string in svg tag <tspan></tspan> when converting a svg file to png format.

When you searched for similar issues, what did you find that might be related?

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question

my code

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const sharp = require("sharp")
import { readFile, readdir } from 'fs/promises';
import { argv } from 'node:process';
async function svg2png(svgPath, pngPath){
    let svgStr = await readFile(svgPath,{"encoding":"utf-8"})
    const roundedCorners = Buffer.from(svgStr);
    // console.log(roundedCorners)
    let re = /<svg.*viewBox="\d+ \d+ (\d+) (\d+)"/
    let reResult = re.exec(svgStr)
    let width = Number(reResult[1])
    let height = Number(reResult[2])
    let scale = 3
    sharp({
  create: {
    width: width*scale,
    height: height*scale,
    channels: 4,
    background: { r: 255, g: 255, b: 255, alpha: 1 }
  }
})

    .composite([{
      input: await sharp(roundedCorners).resize(width*scale).toBuffer(),
      blend: 'over'
    }])
    .png()
    .toFile(pngPath)
    .then(function(info) {
        console.log(info)
    })
    .catch(function(err) {
        console.log(err)
    })
}
svg2png(argv[2],argv[3])

svg file:

Please provide sample image(s) that help explain this question

screenshot by opening above svg file in chrome:

output png of sharp:
blank space of leaves name in the tree are deleted

To preserve whitespace in SVG documents, add the xml:space="preserve" attribute to the relevant text element.

To preserve whitespace in SVG documents, add the xml:space="preserve" attribute to the relevant text element.

Thanks 🙏 , it works.