feat: support arbitrary uid for openshift environments

Closes #125
📑 Description
similar to https://github.com/k8sgpt-ai/k8sgpt/pull/454 k8sgpt-operator should create a deployment where XDG_ variables point to an emptyDir volume so any uid can run this container.
✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

ℹ Additional Information

[ x ] Tested this does not break existing k8s clusters ( non openshift )
[   ] Test with OpenShift

I can't run minishift in my local env and have no access to an Openshift env at the moment to test the PR.

I can't run minishift in my local env and have no access to an Openshift env at the moment to test the PR.

I can test it today on my openshift cluster

I build the image based on https://github.com/jkleinlercher/k8sgpt-operator/tree/feat/arbitrary-uid locally and deployed it on my openshift test cluster. I added a busybox sidecar image to the k8sgpt-deployment to check if the expected files are created in the emptyDir volume paths. As you can also see the uid of the files are the arbitery uids openshift assigns to the pod.
cache files:
~ $ ls -l /k8sgpt-data/.cache/k8sgpt/
total 160
-rw-------    1 10009800 10009800       452 Jun  1 07:10 010edbef1e54bd9f22a90ff8cdbd30265dccd7215454e7bb822da8d3fda2f985
-rw-------    1 10009800 10009800       612 Jun  1 07:08 036233045d065366d6a8ac063961ac1b7f89619d872af827931ddc1ee0b08306

config file:
~ $ ls -l /k8sgpt-data/.config/k8sgpt/
total 4
-rw-r--r--    1 10009800 10009800       176 Jun  1 07:02 k8sgpt.yaml

Also result objects in the k8sgpt namespace are created as expected

I tested again and now I get the following panic. Don't know if it is related to our code changes or something else currently in the main branch.
2023-06-01T09:42:34Z    INFO    Starting workers        {"controller": "k8sgpt", "controllerGroup": "core.k8sgpt.ai", "controllerKind": "K8sGPT", "worker count": 1}
Creating new client for <IP_ADDRESS>:8080
Connection established between <IP_ADDRESS>:8080 and localhost with time out of 1 seconds.
Remote Address : <IP_ADDRESS>:8080
Local Address : <IP_ADDRESS>:53334
2023-06-01T09:42:46Z    INFO    Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference        {"controller": "k8sgpt", "controllerGroup": "core.k8sgpt.ai", "controllerKind": "K8sGPT", "K8sGPT": {"name":"k8sgpt-sample","namespace":"sx-k8sgpt"}, "namespace": "sx-k8sgpt", "name": "k8sgpt-sample", "reconcileID": "6110b16a-bd41-4483-bcf5-dbf63d09d18c"}
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x174c11a]

goroutine 110 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:115 +0x1fa
panic({0x190aec0, 0x2b189c0})
        /usr/local/go/src/runtime/panic.go:884 +0x213

Hard to know without the full stack trace, any more in the logs?

Hard to know without the full stack trace, any more in the logs?

Unfortunately not, but I can say that it has nothing to do with the changes of this PR. It must be something already in main branch, because this error only occurs after the commit of merging main to this branch.

@jkleinlercher , @AlexsJones  found the issue, it because of my backstage PR, thankfully we didn't cut a release yet
this conditional will produce the error if you don't specify in a vanilla run the extra options.. we need to check first if the extraOptions is nil first.
https://github.com/k8sgpt-ai/k8sgpt-operator/blob/main/controllers/k8sgpt_controller.go#L224


SetBPFFilter filter not work?

Hi, I want to stop some port traffic going through this auditing device.
However, the currently set SetBPFFilter does not take effect. Am I using the wrong method?
您好，我想停止一部分的端口流量经过这个审计设备。
但是，目前设置的SetBPFFilter并没有生效，是我用错方法了吗？

You can use the following expression to filter TCP packets that include only ports 443 and 80:
handle.SetBPFFilter("tcp port 80 and tcp port 443")


X crashes randomly when using MotionPlus. Maybe related to other inputs.

Ubuntu Impish 21.10. Lenovo Thinkpad. Using MotionPlus as mouse.
It seems to almost inevitably happen so long as Wiimote is connected via bluetooth. There appear to be specific triggers:

Touch the touchpad or touchscreen on my Lenovo

I tried disabling all other inputs I could think of, but it doesn't stop it entirely.
I can't consistently trigger it this way, but very often I can.

Leaving the wiimote sitting on a table for about a minute

If I'm watching a youtube video on Firefox, it seems to crash within about 20 minutes even if I keep it moving. At least it did once.
If I play Monkey Island on ScummVM and keep it moving, it seems to last for more than an hour. (Maybe indefinitely, I'm currently testing by hanging it by a hook with a fan blowing on it to keep it moving.)
This seems inconsistent

I should try with the accelerometer and/or IR to see if that crashes as well.
[204097.793] dix: invalid event type 0
[204097.793] 00 00 00 00 00 00 00 00
[204097.793] 00 00 00 00 00 00 00 00
[204097.793] 00 00 00 00 00 00 00 00
[204097.793] 00 00 00 00 00 00 00 00
[204097.794] (EE)
[204097.794] (EE) Backtrace:
[204097.794] (EE) 0: /usr/lib/xorg/Xorg (valuator_mask_num_valuators+0xc0) [0x559bebe60e60]
[204097.795] (EE) 1: /usr/lib/xorg/Xorg (mieqProcessDeviceEvent+0x3b) [0x559bebf89d3b]
[204097.795] (EE) 2: /usr/lib/xorg/Xorg (mieqProcessInputEvents+0x99) [0x559bebf89fb9]
[204097.796] (EE) 3: /usr/lib/xorg/Xorg (ProcessInputEvents+0x1d) [0x559bebe821ad]
[204097.796] (EE) 4: /usr/lib/xorg/Xorg (SendErrorToClient+0x103) [0x559bebe43823]
[204097.796] (EE) 5: /usr/lib/xorg/Xorg (InitFonts+0x3b5) [0x559bebe47ad5]
[204097.797] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x90) [0x7fdfe414bfd0]
[204097.798] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x7d) [0x7fdfe414c07d]
[204097.798] (EE) 8: /usr/lib/xorg/Xorg (_start+0x25) [0x559bebe30f25]
[204097.798] (EE)
[204097.798] (EE)
Fatal server error:
[204097.798] (EE) Wrong event type 0. Aborting server
[204097.798] (EE)
[204097.798] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[204097.798] (EE) Please also check the log file at "/home/ill_logic/.local/share/xorg/Xorg.0.log" for additional information.
[204097.798] (EE)
[204097.798] (II) AIGLX: Suspending AIGLX clients for VT switch

If somebody has a hack idea to fix it I'm all ears.

This may have something to do with my faulty touch screen, actually. I'm going to see about disabling it at various levels, including kernel.

Mostly for the benefit of anyone else with this problem:
My aforementioned touchscreen problem is that it often gets into a state where it keeps clicking on one particular part of the screen. I would have to scramble to turn off the touchscreen using the xinput command. If I had the wiimote turned on at the same time, it would often quickly induce the crash.
If I turn off the touch screen, connect the wiimote, and then start using my touch pad, it could also induce the crash fairly quickly and reliably.
When I avoided touching any inputs other than the wiimote while the wiimote is connected, that's when behavior became hard to predict. Sometimes it would crash within 10 minutes. Sometimes it would take an hour or something. Did it depend on whether I set my controller on the table for a few minutes? Did it depend on whether I was watching a youtube video or playing a game on ScummVM? I have hunches there based on perceived patterns.
Now, my touch screen problem isn't constant. Sometimes it's reasonably well behaved. The last hunch I developed was that at those times that my touchscreen was badly behaved, I would more likely crash sooner, even if I turned off my touch screen with the xinput command.
What I have now tried in response to this (and also because I've wanted to do it anyway) is to disable the touchscreen in xorg conf. Find all cases of "touchscreen" in xorg confs and use the "Option Ignore on" thing. No more scrambling, it's disabled as soon as I log in.
Since then, when the wiimote is connected, it has only crashed if I touch the touch pad. If I don't touch any inputs on my laptop while wiimote is connected, I've so far (like half a day) had zero crashes. Even if I break this streak, this is a much better record than before.
BTW I mentioned that I was going to try disabling my touchscreen in the kernel. I didn't see an obvious kernel module for it. This works okay so I didn't bother taking it any further.

I seem to be having the exact same problem, but on a Raspberry Pi 3 B with the RPi OS.
Logging in with the wiimote connected seems to crash every time, taking be back to the login screen.
Other than that the crashes feels very random..

Do you have any other mouse inputs connected? Can you try disconnecting
them to see if the wiimote alone crashes?
On Thu, Mar 24, 2022 at 5:58 AM photodiode @.***> wrote:

I seem to be having the exact same problem, but on a Raspberry Pi 3 B with
the RPi OS.
Logging in with the wiimote connected seems to crash every time, taking be
back to the login screen.
Other than that the crashes feels very random..
—
Reply to this email directly, view it on GitHub
https://github.com/dvdhrm/xf86-input-xwiimote/issues/32#issuecomment-1077445684,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAKH6CBP4PXPUCCAML6NUTVBQ4FPANCNFSM5NQZ6XXA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I sent this comment by email back in March! I'm curious, did anybody else get the notification from me back then? I only got a notification now, I think. Maybe Github had that comment in its queue for that long.

("this comment" referring to the "Do you have any other mouse inputs connected..." comment)


Added Acronis

Huh.... think I might be having a tabs vs spaces type issue.... Ill see what I can do.

I think the suggestion I made might do it's

@tupaschoal Fixed most of it, except for one trailing spaces issue cause by copy and paste lol.
Should be fixed now, thanks for the assist.

@tupaschoal  Yeah, small scroll down to the bottom and there is a bit button that says delete account.

Thanks for your contribution!


XML editing button in SampledValueControl affected by label

Describe the bug
In the recent SampledValueControl edit wizard, if Pro mode is enabled the edit/show XML screen styling is affected by the label
To Reproduce
Steps to reproduce the behavior:

Open a file with sampled values
In the substation editor click on the (S) menu
Select a SampledValueControl
See error (screenshot below).

Expected behavior
The edit button is visually distinguished from the title.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser:  Chrome
Version: Version 98.0.4758.102 (Official Build) (64-bit)

Solution: wider the screen to make it fit.


Not able to select objects on map

title, will find a fix
hoveredObjectID seems to always be 0, so cant select

it seems to be an issue with my firefox setup as it works on GNOME Web (Epiphany), I'll try and narrow it down though 👍

it seems to happen even on a completely fresh install of Firefox 112.0.2  (DNF, Fedora 38). will try Firefox flatpak next.

doesn't work on firefox flatpak either.

Works with Firefox on Windows but it may be broken on Linux 🤔

Doesn't work in Firefox on MacOS. And it seems like there's no way to fix it, the browser just doesn't support readPixels for this framebuffer format (R32UI). Switching to a different format might help, but this would be not optimal.

(Just for reference, as @StrandedKitty already explained the cause of the issue)
I can confirm the same issue with Firefox 120.0 (64 Bit) ("Firefox Snap for Ubuntu")


Fixes in usage notebooks

This fixes

generator - intermediate notebook - update logger with adalflow, use setup_env to initalize
question_answering - qa notebook - use setup_env to initalize-

@liyin2015 could u approve and merge this ? i have tested it


KeyError: 'ConvWS is already registered in conv layer'

Run train.py to train a new datasets
Traceback (most recent call last):
File "tools/train.py", line 14, in
from mmdet.apis import set_random_seed, train_detector
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/core/init.py", line 2, in
from .bbox import *  # noqa: F401, F403
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/core/bbox/init.py", line 7, in
from .samplers import (BaseSampler, CombinedSampler,
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/core/bbox/samplers/init.py", line 9, in
from .score_hlr_sampler import ScoreHLRSampler
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/core/bbox/samplers/score_hlr_sampler.py", line 3, in
from mmdet.ops import nms_match
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/ops/init.py", line 2, in
from .conv_ws import ConvWS2d, conv_ws_2d
File "/home/user/yangshudi_DetectoRS/mmdetection/mmdet/ops/conv_ws.py", line 23, in
class ConvWS2d(nn.Conv2d):
File "/home/user/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 122, in _register
module_class=cls, module_name=name, force=force)
File "/home/user/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 58, in _register_module
raise KeyError(f'{module_name} is already registered '
KeyError: 'ConvWS is already registered in conv layer'

hey, and i think this'll gonna help:
https://github.com/open-mmlab/mmdetection/issues/3249


Run code through a beautifier

The code has been touched by many different developers, all with with different coding conventions such as indent sizes, newlines, bracket placements etc. It could be a good idea to, after a release, do all pending pull requests and run the entire code base through a beautifier such as astyle or something similar.
The reason this is an issue is partly because it's hard to read but mostly because it's difficult to contribute. I spent over an hour trying to submit a pull request but no matter how I tried I always got these massive diffs because half the file used CR as newline and the rest was CRLF.

A beautifier is not the same issue as knowing how to edit a text file with CRLFs in it.  CRLFs are used in the windows world and unix uses a linefeed.
So I would recommend editing the file in a text editor with the correct config settings set when the file is loaded, and then the diff will only contain what you changed.
Im not going to agree with you on a beautifier.  I look at the code every other day, and there is no magic silver bullet that is going to make gridcoin great because it was run through someones limited program.  The code does not look bad, otherwise I would be fixing the codes beauty instead of working on the code.  There is a risk associated with running programs that have data embedded in them for one, and another thing is the tabs and linefeeds that are in the code neither look horrible, but in some cases have a purpose.  Sure there are patches of code that could be improved but it might be dead code that should be removed.  Id be up for refactoring the code first.  The reason that is not happening is because we have a plethora of commits from bitcoin that might be integrated in which changes the structure of the code.

Fair enough on the Bitcoin integration. I guess that's actually a good reason not to streamline the coding conventions.
When it comes to CR/CRLF, it was not my decision to mix and match. The source came with arbitrary line endings.


⚠ Bofrost.at has degraded performance

In 5ab005a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1395 ms

Resolved: Bofrost.at performance has improved in c46c789.


Live preview on 3840x2160 v. small

Great product. Was using on Win 10 laptop with 1920x1080 screen and all fine.
Moved to Win 10 3840x2160 screen (Dell XPS 15) - editor sizing fine but live preview panel too small.

Went back to original and updated to ensure both 1.24
Any suggestions?

You can zoom the preview view using CTRL+MouseWheel. (Same as most browsers).

Thanks for timely reply - I should have been more specific - When I saveAs a
*.pdf the output is not scaled correctly. I've tested saving as .html and
as .docx and they are both perfect.
I have attached screen shot:
1 - shows preview panel zoomed to comfortable size as per your response
2 - Correctly scaled *.pdf from 1920x1080 screen laptop
3 - Incorrectly scaled *.pdf from 3840x2160 screen laptop
I reported the issue initially as I had assumed the livePreview panel
sizing was linked to the *.pdf scaling - it is not
Thanks again for great product
Rob
(H) 0151 651 0215
(M) 07713 625009
On 26 February 2016 at 12:56, Mike Ward<EMAIL_ADDRESS>wrote:

You can zoom the preview view using CTRL+MouseWheel. (Same as most
browsers).
—
Reply to this email directly or view it on GitHub
https://github.com/mike-ward/Markdown-Edit/issues/124#issuecomment-189263701
.

I'm a bit surprised that resolution would effect PDF output. Thanks for reporting this.


how to use awq in our own model?

great work! but how to use awq in my own model?

@EveningLin: Please refer to branch dev/more_models to use AWQ for other architectures such as MPT and Falcon.


Delayed SYN Bug Fix

Codecov Report

Merging #283 into master will decrease coverage by 0.04%.
The diff coverage is 63.15%.

@@            Coverage Diff            @@
##           master    #283      +/-   ##
=========================================
- Coverage   52.95%   52.9%   -0.05%
=========================================
  Files          40      40
  Lines        4406    4417      +11
=========================================
+ Hits         2333    2337       +4
- Misses       1878    1883       +5
- Partials      195     197       +2

Impacted Files
Coverage Δ

enforcer/datapath.go
68.96% <ø> (ø)
:arrow_up:

enforcer/connection.go
38.18% <100%> (+2.33%)
:arrow_up:

enforcer/datapath_tcp.go
62.01% <58.82%> (-0.79%)
: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 c782451...2ffa0bf. Read the comment docs.


ppermute is returning 0s

Tested with TPUs.
@partial(jax.pmap, axis_name="shard")
def f(a):
  return jax.lax.ppermute(
      a, "shard", zip(range(8), [1, 0, 2, 3, 4, 5, 6, 7]))

a = np.ones((8, 2, 2))
print(f(a))

Prints out
[[[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]

 [[0. 0.]
  [0. 0.]]]

@hawkinsp pointed out that adding tuple(...) around the zip(...) fixes it. For a quick fix, we can always explicitly cast the perm argument to ppermute to a tuple. I'll make a PR for this.


Issue with alching trip "Repeat Trip" button

Seems that the "Repeat Trip" button for alch trips is still on = for BSO at least.

Should be fixed now


Async API

Internally, for regl-scatter2d and other components it is allowable practice to update state internally in async fashion, optimizing it. Imagine that to a matter how hard-drive does defragmentation in background, or like image allows for being rendered at any time, but its quality gets improved every draw call.
Therefore 1st render pass can be with point-cluster not initialized yet, and after - with point-cluster enabled. Now the question - should point-cluster be async itself, or its asyncness should be an external matter, like creating an external web-worker with point-cluster inside and writing fetching code manually, or having a point-cluster/quadworker. The second looks nice, but that forces every cluster instance be async, which complicates simple trees.
In order to avoid sync/async conflict, there should be a transitional state. Examples: Image, that gets improved once it loads it's data; Audio, that loads it's contents; Video, that loads it's contents; some fractal, that is able to render first approximation, but gets improved with time; regl-scatter2d; Wavelet, that enhances data precision with every packet; document loading with ready event; loading of any app etc.
So the supposed API
PointCluster(points, options?, (err, tree) => {
})

cluster(points).then(tree => {})
cluster(points).on('ready' => {})

We may want to have tree outside of scatter instance for hover purposes, say, when we have no points but some different shader. That is when having that tree instance as scatter2d option is good.

Actually, that would be nice to have it a generator function.
It improves precision with every next call, returning new level of details.


Index out of bound exception when the library tries to parse base station observation data in rinex 3.03

Hi. When I execute run_ppk.py on my input data in rinex 3.03 format, the library throws index out of bound exception when it tries to parse base station observation data in rinex 3.03, even though the same input files can be parsed correctly RTKLIB or other tools.
Exception message
Traceback (most recent call last):
  File ".../src/run_ppk.py", line 82, in <module>
    base.decode_obsfile(nav, basefile, None)
  File ".../src/rinex.py", line 321, in decode_obsfile
    self.decode_obs(nav, maxepoch)
  File .../src/rinex.py", line 292, in decode_obs
    obs.L[n, f] = float(obs_)
IndexError: index 2 is out of bounds for axis 1 with size 2

How to reproduce
The exception can be reproduced with the input files below (attached in a zip file)
receiver and base data.zip

rectangle_walk.22o is the rover observatoin data
DRAO00CAN_R_20220160000_01D_MN.rnx is the base station navigation data
DRAO00CAN_R_20220160000_01D_30S_MO.rnx is the base station observation data
The config file is the same as config_f9p.py because this file matches my settings in rtklib.

All observatoin data and navigation data are in rinex 3.03 format
The base station data is pulled from Canadian Active Control System (CACS). These are public base stations managed by government. I use base station close to British Columbia, Canada.
My investigation so far
When the library is parsing the body of base station observation data, it loops throughrange(self.nsig[sys]) using the following code
                for i in range(self.nsig[sys]):
....
                    f = i // (self.nsig[sys] // self.nband[sys])
                    if self.typeid[sys][i] == 0:  # code
                        obs.P[n, f] = float(obs_)
....

The index out of bound exception is thrown when
i = 13
self.nsig[sys] = 20
self.nband[sys] = 6
f = 2

obs.P only has 2 columns, so f =2 triggers index out of bound exception
I didn't figure out why this line compute f in this way
f = i // (self.nsig[sys] // self.nband[sys])

https://github.com/rtklibexplorer/rtklib-py/blob/main/src/rinex.py#L284

Currently rtklib-py can not parse complex observation files with many extra signals not used in the solution.  I have just submitted a change to improve error handling and report a more relevant error.  To run your example you will need to first simplify the base observation file by doing a rinex->rinex translation with RTKCONV and use the mask button in the "Options" menu to filter out the unused signals.
On a separate note, you will want to use the config_phone.py configuration file, not the config_f9p.py file since you are trying to do a L1/L5 solution, not a L1/L2 solution.


mozilla.org using pipeline

Just wanted to let you know and wasn't sure how else to contact you. We just pushed the changes live today. Thanks for the great work!

https://www.mozilla.org/
https://github.com/mozilla/bedrock

Oh, and feel free to add it to your "using pipeline" docs page if you'd like.

@pmclanahan Really glad to hear! I added a word about it.

If someone from Mozilla is willing to complete pipeline documentation to introduce how to setup pipeline with whitenoise (and vice-versa). It would be really, really, really lovely :heart:


Using GPU to train the model

Hello, I'm really appreciate your work. But now I wonder how to use GPU to train the model. There are always mistakes when I use the CUDA device. Thanks a lot.
device = torch.device('cuda' if use_cuda else 'cpu')

Please provide exception and optimizer you are using. Unfortunately free CI does not have GPU to test one :(

Please provide exception and optimizer you are using. Unfortunately free CI does not have GPU to test one :(

I used the optimizer of Shampoo. And other optimizers also can not work when using GPU.
Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same Error occurs, No graph saved Traceback (most recent call last):   File "shampoo_gpu.py", line 181, in <module>     main()   File "shampoo_gpu.py", line 165, in main     writer.add_graph(model, images)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/utils/tensorboard/writer.py", line 724, in add_graph     self._get_file_writer().add_graph(graph(model, input_to_model, verbose))   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 292, in graph     raise e   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 286, in graph     trace = torch.jit.trace(model, args)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/jit/_trace.py", line 742, in trace     _module_class,   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/jit/_trace.py", line 940, in trace_module     _force_outplace,   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 725, in _call_impl     result = self._slow_forward(*input, **kwargs)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 709, in _slow_forward     result = self.forward(*input, **kwargs)   File "shampoo_gpu.py", line 21, in forward     x = self.conv1(x)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 725, in _call_impl     result = self._slow_forward(*input, **kwargs)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 709, in _slow_forward     result = self.forward(*input, **kwargs)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 423, in forward     return self._conv_forward(input, self.weight)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 420, in _conv_forward     self.padding, self.dilation, self.groups) RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same

I used the optimizer of Shampoo. And other optimizers also can not work when using GPU.
Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same Error occurs, No graph saved Traceback (most recent call last):   File "shampoo_gpu.py", line 181, in <module>     main()   File "shampoo_gpu.py", line 165, in main     writer.add_graph(model, images)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/utils/tensorboard/writer.py", line 724, in add_graph     self._get_file_writer().add_graph(graph(model, input_to_model, verbose))   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 292, in graph     raise e   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 286, in graph     trace = torch.jit.trace(model, args)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/jit/_trace.py", line 742, in trace     _module_class,   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/jit/_trace.py", line 940, in trace_module     _force_outplace,   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 725, in _call_impl     result = self._slow_forward(*input, **kwargs)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 709, in _slow_forward     result = self.forward(*input, **kwargs)   File "shampoo_gpu.py", line 21, in forward     x = self.conv1(x)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 725, in _call_impl     result = self._slow_forward(*input, **kwargs)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/module.py", line 709, in _slow_forward     result = self.forward(*input, **kwargs)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 423, in forward     return self._conv_forward(input, self.weight)   File "/root/anaconda3/envs/optimizer/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 420, in _conv_forward     self.padding, self.dilation, self.groups) RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same

Are you running mnist example? I removed line
        # visualize NN computation graph
        writer.add_graph(model, images)

it has nothing to do with training but failing with gpu tensors

Are you running mnist example? I removed line
        # visualize NN computation graph
        writer.add_graph(model, images)

it has nothing to do with training but failing with gpu tensors

Shampoo still may be faulty since it does SVD on CPU regardless if GPU is present. I tested pid/yogi/diffgrad/appolo/adabelief all of them work as expected

Shampoo still may be faulty since it does SVD on CPU regardless if GPU is present. I tested pid/yogi/diffgrad/appolo/adabelief all of them work as expected

Thanks a lot. I removed the above line and the GPU works!

Thanks a lot. I removed the above line and the GPU works!

@jettify Any plan to update Shampoo to does SVD on GPU?

@jettify #439 This is a fix for shampoo optimizer by upgrading its implementation


"Kill OneDrive process" falsly shown in console

Describe the bug
"Kill OneDrive process" is shown in console, but wasn't chosen in winutil at all.
To Reproduce
Steps to reproduce the behavior:

Go to 'Tweaks'
Click on 'Essential Tweaks' and "Advanced Tweaks" as shown in screenshot attached.
See wrong entry in console "Kill OneDrive process"

Expected behavior
only do what is selected - not show any other logs.
Screenshots

Thx @Marterich , yes this will solve this.


Implement zoomend and onbrush callback

This PR fixes #128
Add the callback functions for the event of chart zoom-end and subchart on-brush
http://c3js.org/reference.html#subchart-onbrush
http://c3js.org/reference.html#zoom-onzoomend
I am doing a project with the c3-angular, could you help me add these new features into?
Many thanks

Hi, you have made changes to the generated file. The changes you have made should be in controller.js and c3chart-directive.js, this way I cannot merge it.

Hi, @jettro , I have made the changes in controller.js and c3chart-directive.js and roll back the changes in c3-angular.js

Hi @jettro , is there anything wrong with this PR? I reached here via google, our team also needs this feature. Thanks!

Need to find time to check the PR, do the merge, create a release. Will do it as soon as possible.

Many thanks for your great work!

Thank you! Jettro


enpoint_url for AWS Secrets Manager

import awswrangler as wr

# suggestion (sms -> Secret Manager Service)
wr.config.sms_endpoint_url = "http://..."

wr.secretsmanager.get_secret_json(name=item_name)

When developing locally or testing stages, I would like to integrate the Secret Manager service with tools like localstack, I know that for other resources there is a configuration parameter wr.config.{AWS_SERVICE_ALIAS}_endpoint_url. Why not extend it to all AWS resources?
Thank you!
Nacho.

That is fair. PR opened.


How to write string with Html tags in a cell?

💬 Questions and Help
Hi, I am trying to insert string with html tags in it and expect it to render it as html.
Input :

Current Output:

Expected Output:

My question is, if i provide an html markup as input, can it be be show as html in excel using exceljs in stead just showing markup tags?

I would like to know as well is there possibility for this to work?

Hello, I have the same use case. Using Excel directly, there's Paste Special, from which I can choose HTML, which "Inserts the contents of the Clipboard as HTML format". Is there a way to configure a cell to use HTML format using exceljs?

Hello, I have the same use case. Using Excel directly, there's Paste Special, from which I can choose HTML, which "Inserts the contents of the Clipboard as HTML format". Is there a way to configure a cell to use HTML format using exceljs?

Did you find a way?

Any work around or updates for this issue?

Any work around or updates for this issue?

Any update ?

any update?

@subhaneetshrestha @veeresh745-sys @mohit000001  @muftisami  @tchopra91 My team and I couldn't find a way to write HTML to excel programmatically, we switched to a library called jsPDF and we're creating pdfs instead of excel. Sorry for the late, late, late reply. My suggestion is if you have a back-end to generate reports there using some other solution, it's been a real struggle for us to deal with report generation on the front-end.


Add a getting to AccessiblePeer

There are 75 usages of .primarySibling, and only a third of them are in AccessiblePeer. I think we should have a getter for this to be more future proof.

Perhaps this can happen with work in #814


Leveraging CSS Variables in JavaScript Configurations

An intriguing approach in web development involves harnessing CSS variables within JavaScript files by transforming values to utilize CSS variables in JSON and JavaScript files. This technique is particularly handy when we aim to utilize CSS variables that are globally defined within JavaScript files.
For instance, when creating a preset for Tailwind CSS, I generate the JavaScript configurations for the theme. However, I desire to employ the CSS variables seamlessly within these configurations. This integration not only streamlines development but also enhances the flexibility and maintainability of the codebase, facilitating smoother collaboration and iteration.
export default {
  palette: {
    grey: {
      "100": "var(--palette-grey-100)",
    },
  },
}

@douglaszaltron why did you close this?

@douglaszaltron why did you close this?

I clicked by mistake.🤦♂

I'm testing some options because upon closer inspection, the JavaScript export might not have the prefix, whereas the CSS value, indeed, might require the prefix.
draft:

Wait, why do we need cssPrefix?
Can't we compile css in one step and in js we assume the css exists? Or are you saying you want to be able to have a different prefix for css and js or no prefix for js?

In the case of js not having a prefix and css having one, it is more common for css to have the prefix.

Hey @douglaszaltron, sorry, I just noted that I completely misread this PR.
So what this does is it replaces the value of a token with it's own name as a css variable.
To me that makes no sense. I thought you were targeting the references.
E.g. danger.$value: {base.red} would be turned into danger: var(--base-red).
So do you want to target the reference or are you really looking for replacing a variables value with it's own name.

Closed due to inactivity


[User Interface: Redesign]: Create Repository-Level Metadata Compatibility Scores

Issue Name
Create Repository-Level Metadata Compatibility Scores
Issue Description
This request arose from discussions around: https://github.com/NIAID-Data-Ecosystem/niaid-feedback/issues/115
To summarize: A repository owner found the metadata badges to be interesting, but was wondering about the fields they were missing. This led the NIAID team to create an issue suggesting that the legend for the record-level Metadata Completeness Badges be revised to potentially be more informative (e.g. - include missing fields).
Upon investigation of their request, we determined that this could potentially be discouraging to users who submit data to repositories we ingest as the missing fields might be due to repository limitations. Instead of altering the legend to include missing fields at the record-level, we recommend creating Repository-level metadata compatibility scores to indicate how compatible a repository's metadata is with the NIAID Data Ecosystem.
To do:

[x] @DylanWelzel to generate repository-level scores: https://github.com/NIAID-Data-Ecosystem/nde-crawlers/issues/125
[ ] @candicecz to repurpose the metadata completeness badge to reflect the repository-level scores. Note, it's unclear where this badge will live (potentially the sources page) https://github.com/NIAID-Data-Ecosystem/nde-portal/issues/227
[ ] @EmilyHaag to generate the documentation page for the repository-level metadata compatibility badges

Issue Discussion
This issue was discussed in the bi-weekly meeting dated 2024.01.30
Mockup URL
No response
WCAG Compliance Check

[ ] The ui changes are not expected to significantly affect WCAG compliance (ex- wording changes)
[ ] The ui changes have visual elements which have yet to be tested for WCAG compliance
[X] The ui changes have visual elements which have been tested for WCAG compliance
[ ] The ui changes have passed all checks for WCAG compliance

Related WBS task

[ ] Check here if the ui change is centered on the look and feel (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/52)
[X] Check here if the ui change includes new features (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/53)
[ ] Check here if the ui change was suggested by the NIAID team (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/2)

For internal use only. Assignee, please select the status of this issue

[ ] Not yet started
[ ] In progress
[ ] Blocked
[ ] Will not address

Status Description
No response
UI change status check list

[ ] This ui change has yet to be discussed between NIAID, Scripps, Leidos
[X] This ui change has been discussed/reported between NIAID, Scripps, Leidos
[ ] This ui change has been mocked up
[ ] This ui change has been implemented on Dev
[ ] This ui change has been approved for Staging
[ ] This ui change has been implemented on Staging
[ ] This ui change has been approved for Production
[ ] This ui change has been implemented on Production

The repository-level scoring data was generated and @candicecz is working on creating visualizations of the data

All parts necessary for this badge are in Production. I am marking this issue as pending close out and will close it after a week if there are no further changes to be made.


feat: update custom api docs

Hi!
Figured I'd try to help out and contribute back.
It doesn't seem baseUrl is accessible in the api method. It may be missing as a type, or not a feature yet. I can look into that and open a PR.
I moved all the custom stuff to a Custom Client page to make it more apparent since I feel there will be many other people wanting to take advantage of this.
Thank you, and let me know what you think!

@michaelangrivera This looks perfect, one way our company has navigated the issue of updating baseUrl and headers at runtime is to get and set the auth tokens and URL in the API callback, without setting a baseUrl at all.
You're more than welcome to open a PR, I will happily assist, it would be super appreciated!

@oliverbutler Awesome thank you! Let me know when the new docs are deployed!

@all-contributors please add @michaelangrivera for docs


Bump major version to v29 (take 2)

This is the second attempt to bump the major version to v29 after #1344 failed.
Release v29.0.0 was broken so this will be released as v29.0.1.

@dmitshur - if you could please check this when you get a chance, I would greatly appreciate it!
I will release this as v29.0.1 if there are no objections.

Fixes #1365.

Thank you, @dmitshur!
Merging.


Make changes as per the work assigned

Description
Updated the voting solidity smart contract folder in the level 2 of this repo as well as added FIR smart contract and its description readme file in the level 1
Fixes #183 and #176
Type of change
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this :

[x] Add a new project

[x] Modified or enhanced the existing projects

[x] Improve the readme of any project

Domain of Contribution
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[x] Project using only Solidity

[] Project using only Javascript

[] Project using only Python

[x] Project Test on the Remix IDE

[] Mention below if project uses other language and ide .

Checklist ✓
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[x] l have performed a self-review of my own code or work.

[x] I have commented on my code, particularly in hard-to-understand areas.

[x] My changes generate no new warnings

[] I'm HSOC'22 contributor

[x] I'm SSOC'22 contributor

Screenshots/Gif (Recommended)

@apoorva1823000  put running video at the last of  the readme of both files  .

All thing's are looking fine , replace  the last image with the running video . in both  Readme files . Hope u get this

All thing's are looking fine , replace the last image with the running video . in both Readme files . Hope u get this

@Vikash-8090-Yadav added the video but kindly review if its showing or not

Thanks for this changements .Now looking gr8


Hackathon TASK73 ToT

finish meta/llama2 version
fast start in readme.md

PR types

add tree-of-thought
PR changes

Description

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

删除关于torch 的llama的代码，该用paddlenlp的llama

pre-commit install
检查一下codestyle

1.后续给出在paddlenlp的llama模型上的实验效果，给出参数指标，写进readme里面


Vm-based cluster scheduler service extend

Advanced APIs for cluster management:
ResizeCluster
AddClusterNodes
DeleteClusterNodes

Already released in v0.2.1.


[Requirement] Could you please add P2.js into phaser.js?

out projects use p2.js so if it's supported by pharser.js that will be a big advantage to improve our integrating efficent.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I have thought about this, but it isn't something I'm willing to spend my own time on. If p2 wasn't abandoned then I'd have included it from the start, but no updates and no developer response for years now just makes it not worth the effort I'm afraid.
I feel v3 has a flexible enough structure that someone else could handle integrating it themselves quite cleanly, without needing to touch much of the internal code at all. I'd accept PRs for this (that passed our eslint tests) but there are simply too many other things to focus on right now that I can't entertain the thought of doing it myself, sorry.

@photonstorm understand! I'll try to integrate it myself. yes v3 is absolutely great, thanks for your effort.


[Bug]: Ordered List and Unordered List does not show numbering or bullet points.

What happened?
I have integrated Ngx Editor and it seems that the ordered list and unordered list does not show up.
When I was debugging, I found that the "start" attribute of "ol" element returns NaN and due to that the problem occurs mostly. Can you please check on it?

Version
v15.3.0
Angular Version
v14.3.0
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
None

The editor doesn't add start attribute.
You can find a working example here https://ngx-editor.stackblitz.io/

For some reason, I'm getting bullet points and numbered list like this. I don't know what is the issue here. Can you help @sibiraj-s

Hi @sibiraj-s, I found the issue. The padding from the left side was not proper due to which it was unable to show the list numbers and bullet points. I increased the left and right padding and it shows now. Thanks anyways!

Glad you figured it 🎉


Option to re-apply shortcuts

I'm not sure how, but all the shortcuts for TGit were reset. Maybe I changed the keyboard scheme in VS from one to another.
I would like to have an option to re-apply (restore) TGit shortcuts.

Looks like it should be possible to do that :)
How to programmaticaly create visual studio keyboard shortcut for VS operation


Stuck on 'Loading Passcore...'

Hi there,
A little while back I tried an earlier version of PassCore and got it running successfully and still have it running on a dev machine.
Today I came back to re-look at setting this up for use in our Production environment and saw a newer version which I have tried to get running but have been unsuccessful in doing so.
I downloaded the passcore-3.0.1.zip and followed the instructions in the README.md (the Important & Note details listed under Step 8 don't seem to apply to this version. Couldn't find any wwwroot folder nor the web.config file that contains the stdoutLogEnabled value to enable logging).
I have an IIS site running over https, when I try to load the website in IE or Chrome (on a box running Windows Server 2012 R2) it comes up with the "Loading Passcore..." screen and stays on that and never gets any further. This was the same over http.
After going over all the steps to ensure I haven't missed anything and checking on config files to see if anything there may need to be tweaked and not having luck, I removed it all and started over again (removed the IIS site, app pool & passcore folder contents). However even after running through it fresh all over again I still ended up with the same issue - stuck on "Loading Passcore..." screen.
I set up a new site & app pool on the dev machine where the previous version of PassCore is currently running (successfully) and ended up with the same result.
Can anyone confirm what the size of the .zip or it's contents when extracted should be? After extracting the passcore-3.0.1.zip, the extracted folder passcore-3.0.1 is 419KB - is this right?
Let me know what else you may want to know or need from me to assist with troubleshooting, thank you.

using passcore363 im stuck on the loading page

I have this from the consol. I'm not a web developer and have very little experince with IIS
[Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://localhost/assets/fonts/Roboto/latin.woff2
/api/password:1 Failed to load resource: the server responded with a status of 404 (Not Found)
polyfills.bundle.js:36 Unhandled Promise rejection: Unexpected token < in JSON at position 0 ; Zone:  ; Task: Promise.then ; Value: SyntaxError: Unexpected token < in JSON at position 0
at main.bundle.js:97
at t.invoke (polyfills.bundle.js:36)
at r.run (polyfills.bundle.js:36)
at polyfills.bundle.js:36
at t.invokeTask (polyfills.bundle.js:36)
at r.runTask (polyfills.bundle.js:36)
at o (polyfills.bundle.js:36) SyntaxError: Unexpected token < in JSON at position 0
at http://localhost/main.bundle.js:97:151299
at t.invoke (http://localhost/polyfills.bundle.js:36:7386)
at r.run (http://localhost/polyfills.bundle.js:36:2585)
at http://localhost/polyfills.bundle.js:36:12789
at t.invokeTask (http://localhost/polyfills.bundle.js:36:8070)
at r.runTask (http://localhost/polyfills.bundle.js:36:3248)
at o (http://localhost/polyfills.bundle.js:36:340)
e.onUnhandledError @ polyfills.bundle.js:36


test_file.py::test_pickle failure on py35.

fsspec/tests/test_file.py::test_pickle fails an equality assertion run under python 3.5.
Travis log:
_________________________________ test_pickle __________________________________
ftp_writable = ('localhost', 2121, 'user', 'pass')
    def test_pickle(ftp_writable):
        host, port, user, pw = ftp_writable
        ftp = FTPFileSystem(host=host, port=port, username=user, password=pw)

        f = ftp.open("/out", "rb")

        f2 = pickle.loads(pickle.dumps(f))
>       assert f == f2
E       assert <File-like ob...eSystem, /out> == <File-like obj...eSystem, /out>
E         Full diff:
E         <File-like object FTPFileSystem, /out>
fsspec/tests/test_file.py:16: AssertionError

Test xfailed in https://github.com/intake/filesystem_spec/pull/138


NEed ability to define tollerances for image comparison.

Need to be able to use this as a test framework, where its clear whether a test has succeded. For example, add to the test framework the ability to define a minimum test match. And have the html results page return "PASS" or "FAIL".
This is particularly true for when we are testing using PSNR test values, since its not that clear what the "identical" result is, and we need this to be able to compare for YCrCb conversions.

The Pull request #14 handles this.

Merged #14


Dev Product Analytics [3431]

To do list (Draft):

[x] Setup IPFS worker

[x] Setup analytics.js plugin and interface with IPFS worker

[x]  Integrate analytics.js into a spot on Augur UI

[x] First version of Analytics plugin: tracking all page transitions.

[x] Start & connect IPFS service worker inside plugin via proxy

I originally posted this in discord:

It's definitely in the skeletal phase. The overall approach seems solid: set everything up then listen for events. They don't make the event listeners do anything yet of course. When they do make them do stuff, we'll need corresponding code in the main thread to interpret the responses.
I'd prefer it if there was one event handler per event instead of bunching them together. They're iterating over lists of events for the two handlers they use but it'd be fine to just do a lot of on() calls. If we want to abstract it then use an interface or class for each of orbit and trackchannel. Those classes can use arrays if that's what makes the most sense for them though I doubt it will.
They need to handle messages sent to the worker. Right now it either sets up the listeners, ignores the message, or returns and error. There's no way to send Orbit chat messages, for instance, because there's no way to talk to the worker after you set it up. They should probably have a mapping from each messageData.method to a handler function.
The setup message should have more to it. There're a lot of defaults being used here that could just as easily be parameters. Partly that's for good design but also a lot of these defaults involve process.env, which isn't going to be available in the browser unless we use a webpack plugin or otherwise set it ourselves. And I prefer to avoid globals like process.env and magic values like "/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star".
Finally, I'm a little worried that they have code specifically to suppress a typescript error but it looks like they're copying what we did in Sync.worker.ts, so... :/

By default, IPFS nodes already setup libp2p on starting (auto detect and use libp2p-node or libp2p browserify object), we only need something like custom libp2p when we want to control the connections.
On these changes, I  refactor code and put more logs for showing current peers (please see console logs) and set an interval to broadcast a testing log every 30s to channel "augur-kovan-track-channel" and these messages are received on all orbit chat window (http://<<deploy_url>>/chat/index.html#/channel/augur-kovan-track-channel)

Are those errors supposed to be happening?

@gitstart-augur Are those errors supposed to be happening?

Taking a look.

There are a few things that I think are worth checking out before merging, like the subscribeOrbitEvents binding currently commented out. Was that on purpose or did you forgot to uncomment it?

This was basically for logging purpose. Removed it.


Stop using a "N" in Knative

This likely mentions using right capitalization for Knative which is cited as examples/inspiration in this repo


HOW LONG did you train and fintune the image-captioning model?

I have downloaded your coco_caption zip and tried to train and finetune the model, but it seems like costing a long time, don't know if I am correct. If convient, could I kown how long it cost when you train or finetune the model through your 8 V100?

On 4*V100 (32GB) machine, Base model, it is around 30+ hours for CE; another 30+ hours for CIDEr optimization; Large mode, it would more than 2 or 3 times of that time.

We released a trained captioning model in modelzoo readme, you can play with it. Thanks.


Add Project: Vibrant Journeys short grass support to the lawnmower upgrade

Describe the feature you'd like to have added
Add support for Project: Vibrant Journeys short grass to the lawnmower upgrade
Additional information
Forwarding an issue opened on the FTB modpack issue tracker
https://github.com/FTBTeam/FTB-Modpack-Issues/issues/5967

This can be added via a datapack :).


401 error

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
Required by:
project :app
Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'.
Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized
Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'.
Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized

Did you find the solution @anooshkhalid ??

which version of the library are you using?

by using this version and adding file provider it was resolved for me
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'

@anooshkhalid for me it's working with com.github.mhiew:android-pdf-viewer:3.2.0-beta.1

@anooshkhalid did you remove the jcenter dependency? I had same error after I did it.

+1

+1

+1


matMenu ScrollStrategy

Bug, feature request, or proposal:
MatMenu do not block window scrolling what results in buggy matMenuPanel behaviour including wrong positioning, wrong calculating its size and in some cases hiding outside the screen
What is the expected behavior?
Similar to examples on material.angular.io - when mat-menu is visible window scroll is blocked
What is the current behavior?
Window scroll is not blocked when mat menu is shown.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-gmetyt
What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6.2.1
Is there anything else we should know?

mat-menu isn't supposed to block scrolling. The position issues will be fixed by https://github.com/angular/material2/pull/11628. Closing as a duplicate of #11365.


Ability to run processing for just one file

Add the ability to pass a filename to the CLI script so that processing only runs for that file.
To do this properly we'll need to run the whole of pass 1, and then just process_generic_file for that file on run 2.

I guess that if the above performance is still a problem we could restrict pass-1 to the subject-file plus files that contain the filename for the subject file.

Fixed in #459.


Unable to edit attribute values

What I'm trying to achieve
When adding attribute values it is impossible to save data since the system is trying to create a new attribute which already exists, instead of trying to update the attribute.
Steps to reproduce the problem

Open existing attribute
Add attribute value

Screenshots

Attribute already exists within this product type.

Hi!
Could you check your are on the latest version of saleor? (make sure to rebuild the dashboard as well, just to make sure).
I don't manage to reproduce.
Feel free to provide any more guidance.

Yes I can confirm this bug is still present. I can edit product attribute values, but not variant attribute values. I've attached a screenshot of my product type.

I still cannot reproduce the error, I'm testing on the latest master and I'm able to edit existing values, both for product and variant attributes. Can you provide more detailed steps to reproduce it?

I'll dig some more and see if it affects all of my product types or only some. In the meantime, I found this in the network response for the error. The status is a 200.

I found that this bug happens when I use a name like "Size" which is used by other product types. When I use an attribute name that is not used anywhere else, it works fine.

Please let me know if additional information is needed to reopen this.

Can you inspect in the database/console what values are already defined for the attribute that you're trying to edit? Maybe you do have an attribute of that slug but the UI isn't showing it? I keep testing it but still, I'm able to add size attribute.

Sure. In this example, I have the following product type (obtained from the browser's network console)
[
  {
    "data": {
      "productType": {
        "id": "UHJvZHVjdFR5cGU6MTI1",
        "name": "AADebug Test",
        "hasVariants": false,
        "isShippingRequired": true,
        "taxRate": "STANDARD",
        "__typename": "ProductType",
        "productAttributes": [],
        "variantAttributes": [
          {
            "id": "QXR0cmlidXRlOjc0",
            "name": "Size",
            "slug": "size",
            "values": [
              {
                "id": "QXR0cmlidXRlVmFsdWU6MTU5",
                "name": "mini",
                "slug": "mini",
                "__typename": "AttributeValue"
              },
              {
                "id": "QXR0cmlidXRlVmFsdWU6MTYw",
                "name": "med",
                "slug": "med",
                "__typename": "AttributeValue"
              },
              {
                "id": "QXR0cmlidXRlVmFsdWU6MTYx",
                "name": "maxi",
                "slug": "maxi",
                "__typename": "AttributeValue"
              }
            ],
            "__typename": "Attribute"
          }
        ],
        "weight": { "unit": "kg", "value": 0.0, "__typename": "Weight" }
      },
      "shop": { "defaultWeightUnit": "KG", "__typename": "Shop" }
    }
  }
]

In the edit, I'm adding a size "super". There shouldn't be any conflicts there.

You mean that you have a conflict creating an attribute with the same slug/name than another attribute? This is the expected behavior. But this behavior will be dropped soon (see #4351).

The issue is with editing an existing variant attribute. Sorry the last example might not have been clear enough. Here are the steps:

I added a product type with a variant attribute "size" and gave it some options "mini", "med" and "maxi".
Next, I went back to edit the same product type. I added a new option to the "size" attribute ("super").

This should have worked, right? It has a different slug. But I got an error saying that the attribute (not attribute value) already exists.

That's really weird. Did you try on master and re-compiled the dashboard through npm?
I can't reproduce, I tried many things.

I last merged with master about a week ago. The bug only seems to occur when you have an attribute with the same name as another product type's attribute. For example, if I have Product Type A with a variant attribute called "Size", then if I add "Size" attribute to Product Type B, any attempt to edit it will result in this error.

I'm unable to reproduce. The issue was maybe fixed last week.

I have just updated my version. The issue is still present.
I also tried a clean install of saleor master branch to try to reproduce it, but the installation process fails due to mismatched hashes for graphql-relay python package. Try deploying a new instance on heroku and you should get the same error.

Ok, that's been fixed now. I've created a new saleor deployment using the Heroku button. I added a "Pokemon" product type and gave it a variant attribute "Size" with 2 options "small" and "big". Then I tried editing it, to add a new option "medium". And the bug is still there. Here's a link to it https://k-saleor.herokuapp.com/dashboard/next/product-types/
Or you can create a new deployment and try exactly that.

With #4351 this has been resolved


Fix code scanning alert - Pinned-Dependencies

Tracking issue for:

[ ] https://github.com/microsoft/ebpf-for-windows/security/code-scanning/404

@song-jiang can you look at this one?

@dthaler I've got no page error trying accessing the tracking issue URL. Do you think I don't have the permission or the page is removed somehow? Could you help to paste the error message here so I can see how to fix it?

I'm not sure if we need to fix this. There's pros & cons for pinning the image with tag or hash. I can think of two reasons that we should continue using tag.

The project is still in Dev mode. Tagging the image is more dev friendly.
Other open source projects are using tag than hash. For example https://github.com/kubernetes/autoscaler/blob/master/builder/Dockerfile#L15

@song-jiang Any thoughts on the next steps here?

@dthaler I've seen we've got a release. I'll raise PR to pin the image with hash this week.


update minio-go dependency

Signed-off-by: Sherin Varughese<EMAIL_ADDRESS>Related Issue:  open-cluster-management/backlog#18796
Description of changes

/retest

/retest

/retest

/retest

/retest

/retest


Reusability by composition instead of inheritance.

The main objective of this fork has been to change from a "reuse by inheritance" model to a "reuse by composition" model. This change allows the functionality provided by this component to be more easily integrated into existing projects where, for instance, the target view controller already inherits from another custom view controller (which was my case).
The bulk of the changes revolved around moving functionality from DBMapSelectorViewController to a new class called DBMapSelectorManager which simply subclasses NSObject (i.e. it's simply a helper class).
For a cleaner design, I have removed code related to showing pins on the map as I think this should be responsibility of the client view controller and not the new helper class.

Yep, you right. How I myself didn't think of this before?
I think your approach is more correct. Using Manager instead ViewController make component more flexible.
Thank you for your solution.

No worries. Thanks to you for the initial version! :-)

Added your solution on the last version (1.2.0). Thanks again!

Excellent! I have just integrated your new version and all seems to work. Thanks.


[Discussion] [Live Share] Restricting language services to local files

In preparation for Visual Studio Live Share adding support for "guests" to receive remote language services for CMake, this PR simply updates the current DocumentSelector to be limited to file and untitled (unsaved) files. This way, when someone has the CMake extension installed, and joins a Live Share session (where files use the vsls: scheme), their language services will be entirely derived from the remote/host side, which provides a more accurate and project-wide experience (guests in Live Share don't have local file access to the project they're collaborating with).
Note: As an example, the TypeScript/JavaScript language services that come in-box with VS Code already have this scheme restriction, and so this PR replicates that behavior.

@twxs @darthwalsh Any thoughts on this PR?

Hi,
Sorry, I've missed the notification.
Thank you for this PR.


[Core]: Add Hardware Integration to isobus namespace

This is probably a bit of a breaking change to our hardware plugin api, so it's good to get it out of the way sooner rather than later...
This change brings the hardware integration library under the isobus namespace for consistency.
Previously it was in the global namespace, which is probably not ideal as described in #197.
Originally the idea was to have the hardware interface be completely separate and optional for the library, so I didn't want to put it in the same namespace, but these days it's pretty well entangled with the library and makes using it a lot easier, so might as well get it out of the global namespace.
I am open to comments if people think this is not the way to go.
Closes #197

I've left this PR out here for a week, and so far there have been no negative comments, so I think I'll resolve the merge conflicts and get this merged in.
Apologies in advance for anyone who has their compilation break due to this change. It should be pretty quick to resolve though, just add isobus:: to calls to the hardware layer and plugins, or using namespace isobus if you prefer that.


fix(server): add java dependencies for xlsx package

The R xlsx package was broken because of missing java stuff.

@blairdrummond This feels like using a sledgehammer to drive a nail. I would expect some preprocessing to happen outside the scope of R-Shiny. In this case, wouldn't it be better to convert Excel files to an easily read format outside the scope of the Shiny app?

I think it's pretty common for analysts to use excel files with R (even if that seems terrible). The other thing is that it would make the process a lot more complicated if they were, say, fetching these files programmatically from an endpoint. Also, this is how dashboards are already set up. (and I think the precedent is that they're getting these files directly from Statcan)
https://github.com/StatCan/R-dashboards/blob/master/covid-19-dashboard/app.R

@blairdrummond Point taken. I won't make a fuss short-term, but for longer-term we'll want to think about standards that promote workflows and best practices across data pre-processing, analysis, and visualization. That would likely mean some breakage down the road.
So 👍 from a principal point of view.
@sylus Over to you for review of PR diff.


WIP: Use AtomicChunk Channel-like iterator for GreedyScheduler

Just to show that the idea from https://github.com/JuliaFolds2/ChunkSplitters.jl/issues/49 can be used to improve the (chunked) GreedyScheduler.
The advantages are that the iterator doesn't have to be copied into a Channel, and that the AtomicChunk-thingy is more efficient (but not as general, of course) than a Channel. See some benchmarks in the test.jl file.

Very nice idea, I had wanted something like this before.

Ok, cleaned it up and added some docs. If you prefer to keep it internal we can do that, but it isn't really much code to maintain. On the other hand, perhaps this isn't a package of "generally useful things". Let me know what you think.
Posting the benchmarks here for posterity since I removed the file with them from the commit:
Benchmark:
using OhMyThreads: tmapreduce, GreedyScheduler
using BenchmarkTools: @btime

function mc_parallel(N; ntasks, chunksize)
    scheduler = GreedyScheduler(; ntasks, chunksize, split = :consecutive)
    M = tmapreduce(+, 1:N; scheduler) do i
        rand()^2 + rand()^2 < 1.0
    end
    pi = 4 * M / N
    return pi
end

const N = 100_000_000

for chunksize in (10, 1_000, 100_000), ntasks in (1, 2, 4)
    @btime mc_parallel(N; ntasks = $ntasks, chunksize = $chunksize)
end

PR:
950.227 ms (15 allocations: 944 bytes)
656.752 ms (21 allocations: 1.48 KiB)
562.387 ms (33 allocations: 2.61 KiB)

506.860 ms (15 allocations: 944 bytes)
252.174 ms (21 allocations: 1.48 KiB)
129.447 ms (33 allocations: 2.61 KiB)

499.351 ms (15 allocations: 944 bytes)
249.004 ms (21 allocations: 1.48 KiB)
127.825 ms (33 allocations: 2.61 KiB)

master:
2.575 s (53 allocations: 439.07 MiB)
3.593 s (59 allocations: 219.72 MiB)
3.346 s (70 allocations: 110.09 MiB)

518.885 ms (46 allocations: 4.06 MiB)
263.877 ms (52 allocations: 4.06 MiB)
141.339 ms (60 allocations: 69.31 KiB)

500.587 ms (41 allocations: 67.19 KiB)
252.641 ms (47 allocations: 67.75 KiB)
127.858 ms (59 allocations: 26.23 KiB)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.46%. Comparing base (cba9127) to head (94a5e75).
Report is 127 commits behind head on master.

Files with missing lines
Patch %
Lines

src/types.jl
77.77%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
- Coverage   90.24%   85.46%   -4.78%
==========================================
  Files           3        7       +4
  Lines          82      578     +496
==========================================
+ Hits           74      494     +420
- Misses          8       84      +76

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

BTW, could perhapse make sense to mention this in the docs under https://juliafolds2.github.io/OhMyThreads.jl/stable/literate/tls/tls/#Another-safe-way-based-on-Channel.

Added to changelog and updated the GreedyScheduler docstring.

Unfortunately, we mention "channel" more times in the docstring in the keyword arguments section. Would be great if you could "fix" this.

BTW, could perhapse make sense to mention this in the docs under

Done.

Unfortunately, we mention "channel" more times in the docstring

Fixed, replaced with "shared workqueue".


Fix built-in doorkeeper applicaiton manager

Can correctly update exisiting applicaitons. Non-admin users can manage
their applications.
Closes #1156

LGTM after the debug print removal


Is there good replacement with this footerIcon?

If we commented out, it looks terrible.

We need to think of an excellent way to handle this.

How about baby-degu icon?

It's good but we don't have .svg...
We should ask someone to create our logo:/

Set empty URL path. It looks alright.


Upgrade to be compatible with rxjs 6+

To upgrade to Angular 7, I get an error that ngrx-undo has a peer dependency on rxjs ^5.1.0 and it won't allow the upgrade.  Could this library update its dependency to rxjs 6+?

Sure, I'll do that this evening

Thanks for the quick update


NodeModule.js and osenv.js errors while building using webpack 2.4.1

ERROR in (webpack)/lib/NormalModule.js
Module not found: Error: Can't resolve 'module' in '/Users/jagger/Documents/work/github-projects/angular2-mgnl-poc/node_modules/webpack/lib'
 @ (webpack)/lib/NormalModule.js 8:21-38
 @ (webpack)/lib/NormalModuleFactory.js
 @ (webpack)/lib/Compiler.js
 @ (webpack)/lib/webpack.js
 @ ./~/angular-ssr/build/application/compiler/webpack/compiler.js
 @ ./~/angular-ssr/build/application/compiler/factory.js
 @ ./~/angular-ssr/build/application/compiler/index.js
 @ ./~/angular-ssr/build/application/index.js
 @ ./~/angular-ssr/build/index.js
 @ ./src/server.ts
 @ multi ./src/server.ts

ERROR in ./~/fsevents/~/osenv/osenv.js
Module not found: Error: Can't resolve 'child_process' in '/Users/jagger/Documents/work/github-projects/angular2-mgnl-poc/node_modules/fsevents/node_modules/osenv'
 @ ./~/fsevents/~/osenv/osenv.js 3:11-35
 @ ./~/fsevents/~/nopt/lib/nopt.js
 @ ./~/fsevents/~/node-pre-gyp/lib/node-pre-gyp.js
 @ ./~/fsevents/fsevents.js
 @ ./~/chokidar/lib/fsevents-handler.js
 @ ./~/chokidar/index.js
 @ ./~/watchpack/lib/DirectoryWatcher.js
 @ ./~/watchpack/lib/watcherManager.js
 @ ./~/watchpack/lib/watchpack.js
 @ (webpack)/lib/node/NodeWatchFileSystem.js
 @ (webpack)/lib/node/NodeEnvironmentPlugin.js
 @ (webpack)/lib/webpack.js
 @ ./~/angular-ssr/build/application/compiler/webpack/compiler.js
 @ ./~/angular-ssr/build/application/compiler/factory.js
 @ ./~/angular-ssr/build/application/compiler/index.js
 @ ./~/angular-ssr/build/application/index.js
 @ ./~/angular-ssr/build/index.js
 @ ./src/server.ts
 @ multi ./src/server.ts

server.ts
import {applicationBuilderFromModule} from 'angular-ssr';
import {join} from 'path';
import {AppModule} from '../src/app/app.module';
import * as express from 'express';
import * as url from 'url';
const dist = join(process.cwd(), 'dist');
const builder = applicationBuilderFromModule(AppModule, join(dist, 'index.html'));
const application = builder.build();
const http = express();
application.prerender().subscribe(
snapshot => {
http.get(snapshot.uri, (req, res) => res.send(snapshot.renderedDocument));
},
exception => {});
http.get(/.*/, async (request, response) => {
try {
const snapshot = await application.renderUri(absoluteUri(request));
response.send(snapshot.renderedDocument);

}
catch (exception) {
response.send(builder.templateDocument()); // fall back on client document
}
});
http.listen(4000);
const absoluteUri = (request: express.Request): string => {
return url.format({
protocol: request.protocol,
host: request.get('host'),
pathname: request.originalUrl
});
};

package.json dependencies
"dependencies": {
"@angular/animations": "^4.3.1",
"@angular/cdk": "^2.0.0-beta.8",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/material": "^2.0.0-beta.8",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/platform-server": "^4.3.1",
"@angular/router": "^4.0.0",
"@angular/service-worker": "^1.0.0-beta.16",
"angular-ssr": "^0.10.38",
"core-js": "^2.4.1",
"rxjs": "^5.4.1",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "1.2.3",
"@angular/compiler-cli": "^4.0.0",
"@angular/language-service": "^4.0.0",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "~3.0.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.0.4",
"tslint": "~5.3.2",
"typescript": "~2.3.3",
"http-server": "^0.10.0",
"webpack-dev-server": "~2.4.5",
"webpack": ">=2.4.1",
"webpack-bundle-analyzer": "^2.4.0",
"autoprefixer": "^6.5.3",
"css-loader": "^0.28.1",
"cssnano": "^3.10.0",
"exports-loader": "^0.6.3",
"file-loader": "^0.10.0",
"json-loader": "^0.5.4",
"less-loader": "^4.0.2",
"postcss-loader": "^1.3.3",
"postcss-url": "^5.1.2",
"raw-loader": "^0.5.1",
"sass-loader": "^6.0.3",
"script-loader": "^0.7.0",
"source-map-loader": "^0.2.0",
"istanbul-instrumenter-loader": "^2.0.0",
"style-loader": "^0.13.1",
"stylus-loader": "^3.0.1",
"url-loader": "^0.5.7"
}

Can you please link to a repository where the problem is reproducible?

@clbond this issue is now fixed. But i have 1 more question does SSR and Dynamic SSR work on a project which has angular-redux as well along with angular-material?

Yes, it absolutely works with Redux. But keep in mind that Redux will run on the server the same way it runs on the client. Additionally, if you want to transfer the current Redux state from server to client, you should use the builder.stateReader() functionality to query the current Redux state. Then it will be available in the client app on startup as window.applicationState (if I am remembering the property name correctly). This is all in the docs under State Transfer.

@SwamyKottur Can you please let me know how did you fix this issue,as I am having similar errors. Thanks

@bhavjot here is the repo to working demo of angular-ssr as suggested by @clbond it will work with redux too but i haven't integrated that in this repo

@SwamyKottur and what is that you done to get rid of the oeenv error?
I


Indentation error in main.py at asset_turnover_ratio

Indentation error in main.py at asset_turnover_ratio (line 1752)

Go ahead and resolve it! :)

Thanks :)


Disallow invalid values to be set in XML::Node

Fixes https://github.com/crystal-lang/crystal/issues/4089.
Previously, invalid content and name values could be set for XML nodes, including values that had no valid encoding in XML (such as \0).

@RX14 Are you sure this fixes the issue? XML::Builder doesn't build up nodes, it's an entirely different API. I think escape should be used in both places. Basically, this fixes something, but not exactly the issue in #4809

@asterite I don't understand. XML::Builder is entirely unrelated to XML::Node and uses an entirely different libxml2 API. This PR simply uses the libxml2 API correctly by escaping manually the arguments to the right methods. I only looked at XML::Builder a little bit but it appears that XML api is designed differently and does escaping internally.

@RX14 The snippet in the issue is:
# example.cr
require "xml"

xml = XML.build(indent: 2) do |xml|
  xml.element("example", number: "1") do
    xml.text "foo\0bar"
  end
  xml.element("example", number: "2") do
    xml.text "foo\u{08}bar"
  end
end

puts xml

Does it work well with this PR?

Yeah, looks like I didn't read my own issue properly. This does solve a valid issue though, so i'll just update it to fix them all.

@RX14 To be honest, I wanted to solve this too and that's when I replied this. But that's also for nodes, not for XML::Builder... so we kinda did the same thing :-)
(well, except you actually fixed on of the issues)

@asterite we essentially just need to raise on NUL for the builder, I think.

This pr is finished and ready to be reviewed again btw


[Stack] Consolidated PR for CLI code changes wrt 2018-03-01-hybrid profile

Feedback from the meeting included.

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

I suggest add an entry to azure-cli-core's history.rst with wording like azure stack: support new profile 2018-03-01-hybrid


Add infrastructure for Cluster Lifecycle API e2e tests

Issue #, if available:
Description of changes:
This PR includes some infrastructure needed to write e2e tests for the Cluster Lifecycle API and a vSphere workload cluster e2e test that utilizes it.
Testing (if applicable):
Run TestVSphereMulticlusterWorkloadClusterAPI e2e test
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test all

/test all

Very nice!
Do we plan to follow up in future PRs to expand & add more validations?

If we deem it necessary, yes. More validations can be added in the future

/retest

/lgtm

/approve

/unhold


Add 'enable' action to 'kernel_module' resource to reverse 'disable' action.

Description
This PR adds an enable action to allow the installation of a module at a later date.
I debated, but ultimately, I assumed :install would want to run :enable .  Maybe it shouldn't?
Related Issue
Fixes #12104
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

Thanks @qubitrenegade


1.8.0 beta

Testing future merge of betas with production code. Closing until beta testing has completed.


[Compiler]: const senders won't work with imports

It's impossible to figure out whether foo.bar is a port addr or entity ref. We didn't face this problem only because in our simple examples we don't have imported constants.
Possible solution - at the level of analyzer/irgen figure out whether we have such node and port and if not try to resolve this as an const entity ref

It's solved with new syntax
foo:bar vs $foo.bar


Min and Minu instructions implementation

Adding min and max instructions.
Description:
uint_xlen_t min(uint_xlen_t rs1, uint_xlen_t rs2) { return (int_xlen_t)rs1 < (int_xlen_t)rs2 ? rs1 : rs2; } uint_xlen_t minu(uint_xlen_t rs1, uint_xlen_t rs2) { return rs1 < rs2 ? rs1 : rs2; }

You are updating submodule version in the main module, but you have to upload your changes in submodule to main repository. See https://github.com/MIPT-ILab/riscv-opcodes/pull/15 for example.


LSTMTimeStep Training Options

What is wrong?
Caveat: I'm not an expert and am just barely familiar with deep learning AI algorithms so I apologize in advance. I'm trying to train LSTMTimeStep some stock data (daily closing prices from July 2014 to January 2019).
Things I've tried:

Chunking the training data into different sizes e.g.

// Chunk size of 5
net.train([
    [110.01, 109.98, 108.18, 111.91, 105.42],
    [110.01, 109.98, 108.18, 111.91, 105.42],
    [110.01, 109.98, 108.18, 111.91, 105.42],
    [110.01, 109.98, 108.18, 111.91, 105.42]
]);

// Chunk size of 2
net.train([
    [110.01, 109.98],
    [110.01, 109.98],
    [110.01, 109.98],
    [110.01, 109.98],
    [110.01, 109.98]
]);

I've had the most success with Chunking the data into 2 data points per ??data point?? again I'm not sure what to call each item in the main train array.

Different errorThresholds most of the time if I pick a low errorThreshold it never hits it and just stops training after 20000 iterations and if I pick a higher errorThreshold well I don't get very good results.
Tweaking learningRate and momentum. Changing these made it so the training error basically never went down so I assume that I probably shouldn't touch those.

My main question is what would be the best route, given a stock's closing price from July 2014 - January 2019 (knowing that different stocks such as Amazon are trading at $2,000/share and GE is trading at $10/share), to train a model consistently to be the most accurate.
Where does it happen?
Using the LSTMTimeStep neural network.
How do we replicate the issue?
https://jsfiddle.net/pasouxjv/1/
How important is this (1-5)?
5
Expected behavior (i.e. solution)
I think there is probably a specific setup that I'm not familiar with that's best suited for the use case that I'm trying to accomplish
Other Comments
Again sorry about my ignorance this is just part of my journey into learning more about machine learning and neural networks. I appreciate any feedback about how I could possibly get this up and running most efficiently. Thanks!

I think this issue was solved in v2 alpha 4, can you try latest and try again?  Either one of your training patters should be fine, it was an internal issue.


None of the bonsai trees work, with or without upgrades

Not even something simple like oak + dirt drops anything, the manual chop button does not work. Tree grows to full percent and neither a hopper or axe upgrade changes anything, manual chop button does not work, just goes to 100% and stops.
Redstone button restarts the cycle but still makes it stop at 100%
Forge: 1.18.2 - 40.0.48
Bonsai Trees: bonsaitrees3-3.1.0.jar

Im playing a pack with a few friends that we updated recently to 1.18.2 and were having the exact same issue

sadly this issue turns this mod into a decoration only mod.
confirmed using:
1.18.2 - 40.1.0
bonsaitrees3-3.1.0.jar
libnonymous-2.1.0.jar

oddly sometimes they are working (after a server restart) - to be determined if this was a one time glitch or if this is reproducible

We have been experiencing the same thing, however, restarting the server and clients has fixed it for us every time.

issue has been resolved in merged PR:
https://github.com/thraaawn/BonsaiTrees/pull/305

If you have the time to re-test this issue with the latest version, it would be greatly appreciated.


Final Release Plan - Part 5

Release Planning:
Your team's release plans will be inspected. It should be clear from the plans the coverage toward satisfying all the specified requirements, the status of your project, and the work done by the team. Note any work that was not done, which would be planned for the "future".

done.
everything except ratings for wow factor marked as completed
ratings are set as "future" improvements


Necromancer & Infestation don't work

Hello
Two of your enchantments don't seem to work; the necromancer and infestation. I tried to out on server going from 1.7 to 1.10, updated to the latest plugin version (1.7.4). I installed the plugin on a blank server, including Vault, but I simply cannot get those 2 enchantments to work, mobs simply don't spawn.
No errors in console, no errors on startup either. Why are these mobs not spawning? Are they disabled somewhere by default? Does the plugin have depencies that are not listed on the Spigot page?
I'd be happy to receive an urgent reply
Thanks,
Dienns

They spawn when you're damaged I think, were you doing that? Also you might need to be low on health? (Forgot whether you need to alr)

I have the same issue can you please explained it a bit more please

I just checked and i let them attack me multiple times until i even die and they still wouldnt spawn

Have you disabled mob spawning in your world with anything? Also, the enchantment has a cooldown. Did it spawn one and stop spawning for a certain amount of time?

Hello,
Thanks for the suggestions so far.
I have been damaged, I did went down to one heart of health, I enchanted it on armor and swords, took damage, dealt damage, etc etc. Nothing worked.
It's a blank server on difficulty hard, with Vault installed. There is no WorldGuard that blocks it.

Hm, I guess you'll have to wait for badbones then.

Yukun99 does it work for u ?  If so what do u run on and any other plugins ?

I'm on <IP_ADDRESS>, but it's a custom version on my server, so I can't really go by that.

When does this badbones person respond? It's kinda taking long if you ask me. Plugin is not working and I seem to be one of very few people who have this issue.

@Yukun99 Like stated before, the plugin was tested on 1.7, 1.8, 1.9 and 1.10. None of them worked.

That's even weirder then. If there's no errors I'm afraid you'll have to wait for badbones/

Hello, have you tried pvp. When I have tested trying to make a zombie or endermite attack other mobs before they wouldn't. So its set to only attack players.

I have not tried PVP yet since I was testing it out on a private, local server. Are you saying that those 2 enchantments only attack, and spawn mobs when in PVP?

Yes.

Tested it out on PVP, looks like it indeed works now. Please update the documentation since this was a way too confusing for such a simple problem.

Necromancer: Spawns in 2 zombie (+2 for every level) that fight with you for one minute. Has a cool down of two minutes.

Infestation: Spawns in 3 silverfish and 3 endermites (+3 of each for every level) that fight with you for one minute. Has a cool down of two minutes.

Nothing states that it works in PVP only.
Thanks for the help


Move frameit config to ~/.fastlane/frameit

More information here https://github.com/fastlane/fastlane/pull/7298
This will support both the old and the new path

This requires #7298 to be merged and released 👍

Rebased so tests will pass

@KrauseFx Seems like you need to update the tests so this will pass

Argh, this isn't merged yet, looking into this now

Moved to https://github.com/fastlane/fastlane/pull/7743


Update macaroon path

for LND v0.5-beta

Thanks, the huge has been updated with additional comments.


Section 508 502.3.1: (XamlCardVisualizer/calendar date picker '') The Name property of a focusable element must not be null.

The following accessibility issue needs investigation.
Test Environment:
App: XamlCardVisualizer
OS: Win11 (25136.1000)
Accessibility Insights for Windows v<IP_ADDRESS>
Repro Steps:

Run AC UWP Visualizer App.
Open 'activityupdate.json' code template and visit the card.
Run the UIA tool on the card pane.

Actual Result:
Element path:** calendar date picker ''
Issue Details:** The Name property of a focusable element must not be null. Section 508 502.3.1
Expected Result:
How To Fix: Provide a UI Automation Name property that concisely identifies the element.
User Experience:
Assistive technology users will find it difficult to interact with the UI if no description is provided.
WCAG Guideline:
https://www.access-board.gov/ict/#502.3.1
The object role, state(s), properties, boundary, name, and description shall be programmatically determinable.
"Have feedback to share on Bugs ? Please help fill [Trusted Tester Bug Feedback (office.com)](https://nam06.safelinks.protection.outlook.com/?url=https://forms.office.com/pages/responsepage.aspx?id%3Dv4j5cvGGr0GRqy180BHbR5dUqGQgJ9lItv-jqY8F09lURVdYTENIRkY2UzlCR0NKV1E2VUE5OVpDVy4u&data=04|01|v-apoorva%40microsoft.com|551850210d444be9b28308d9691e3dde|72f988bf86f141af91ab2d7cd011db47|1|0|637656400998658942|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=l6w0SvVcMSvyGnJ6%2B6uSSgd3braF2dZ7/AdBrqqzIR8%3D&reserved=0) “,

@aaagrawal thanks for submitting the issue, we'll have a look shortly :)

Hi @beervoley and @anna-dingler
This issue is still repro at our end please refer to the snippet below for the reference.


The client.start_episode(start_index) function takes too much time which is bad for training RL algorithms.

Hello, I tried this reset function (start_episode(start_index)) and found that it almost takes 30 seconds. It's really bad for training RL algorithms. And my server env is Win10 (with a graphics card GTX 1060).
Here is the simple code and the result. Is there anything wrong?
                    print('Starting new episode...')
                    started_time = time.time()
                    client.start_episode(start_index)
                    print("started in {} seconds...".format(time.time() - started_time))

Starting new episode...
started in 30.860573768615723 seconds...

Are you running without display and selecting GPU ?

Hi, I am facing the same problem on a Ubuntu 16.04 system (32G RAM, GTX1080): a new episode usually takes more than 15 seconds to load the map.

[2018.07.15-07.11.52:518][675]LogCarlaServer: Received new episode
[2018.07.15-07.11.52:518][675]LogCarla: Loading CARLA settings from string
[2018.07.15-07.11.52:518][675]LogCarlaServer: Restarting the level...
[2018.07.15-07.11.52:523][676]LogNet: Browse: /Game/Maps/Town01?Name=Player?restart
[2018.07.15-07.11.52:555][676]LogLoad: LoadMap: /Game/Maps/Town01?Name=Player
[2018.07.15-07.12.05:620][676]LogAIModule: Creating AISystem for world Town01
[2018.07.15-07.12.09:615][676]LogCarlaServer: Ready to play, notifying client
[2018.07.15-07.12.09:617][676]LogCarla: Found 152 PlayerStart positions for spawning vehicles
[2018.07.15-07.12.09:620][676]LogLoad: Took 17.065060 seconds to LoadMap(/Game/Maps/Town01)

I have tried to run without display, it seems that the server needs to reload map for each episode as well, and the time is not saved. It seems that a call of "RestartLevel" on the server would always lead to an expensive reloading process. Correct me if I am wrong.
I notice that AirSim has a "reset" API that moves the car to its start position efficiently. Is there any way to realize that in Carla?

That waiting time is not common. Which hardware are you using ?
I have noticed very big delays on resets when using SDL to select GPU.
But depending on your hardware 15 seconds is common.
We don't just move the objects since the idea of reset is also to recover the initial states of everything.
The reset also gives you flexibility to reload the weather and soon also the map. Maybe you could open an issue so we add a new feature like RepositionAgents ?

@felipecode Thanks for your response and help.
I find that the delay of loading occurs only when I start the game from UE4Editor:

UnrealEngine-4.18/Engine/Binaries/Linux/UE4Editor carla/Unreal/CarlaUE4/CarlaUE4.uproject -carla-server -benchmark -game -windowed -ResX=1024 -ResY=720

But if I launch the game via the CarlaUE4.sh script in the distribution package, the loading time would be reduced to about 2 seconds. So it may not relate to the hardware.
I do not understand the differences between these two launch methods. If it is because of my false usage, I must say sorry for that, and maybe some sentences in the docs are very helpful.
For the feature of RepositionAgents, I wonder if the new client API (#439 ) can be used directly, just to discard the old agent and to start a new agent at the start point, without restarting the game.


Update deploy-audio-conferencing-teams-landing-page.md

Fixes a small typo.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@SerdarSoysal PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


HLS Stream - 403 Access Denied when accessing the Playlist file

Current Behavior
Getting 403 Access denied issue when accessing the playlist file(index.m3u8) for HLS stream.
We have HLS stream playlist and segments stored in the AWS Mediastore Service. And these files are served securely via Cloudfront service by using Signed URL.
Backend API is triggered to get Signed URL for the playlist file from react based front end and we used react-player component to play HLS stream.
But the request for the signed URL is responding successfully when we tried CURL  or when we hit the same signed url in the separate browser tab. In the response, we can see the playlist content(index.m3u8).
Only this Access denied issue occurs when it requested through react-player component.
But sometimes when we refresh the url(from browser) multiple times, react-player able to retrieve the playlist file and plays the stream.
Expected Behavior
Expecting the react-player able to retrieve the playlist file and plays the stream.
Environment

URL attempting to play: https://dssssfffgg3b.cloudfront.net/live/test/index.m3u8?Policy=&Signature=&Key-Pair-Id=
Browser: Chrome
Operating system: MAC

Steps to Reproduce
Following is the code we used to play HLS stream. Are we missing anything?
              <ReactPlayer
                  controls={true}
                  className="react-player"
                  width="100%"
                  height="auto"
                  url={getUrlPath(mediaStreamUrl)}
                  config={{
                      file: {
                          hlsOptions: {
                              xhrSetup: function xhrSetup(xhr, url) {
                                  xhr.setRequestHeader(
                                      "Access-Control-Allow-Headers",
                                      "Content-Type, Accept, X-Requested-With"
                                  );
                                  xhr.setRequestHeader(
                                      "Access-Control-Allow-Origin",
                                      "http://localhost:9999"
                                  );
                                  xhr.setRequestHeader(
                                      "Access-Control-Allow-Credentials",
                                      "true"
                                  );
                                  xhr.open('GET', url + getQueryParams(mediaStreamUrl));
                              }
                          }
                      }
                  }}
                  playing={true}
                  playbackRate={1.0}
                  onError={e => console.log("onError", e)}
              />}

The HTTP header 403 Access denied means you as a user are not authorized to access the requested resource. This could be due to a missing token, not being logged in or the provider denying you via e.g. CORS.
Setting the header Access-Control-Allow-Origin on the client-side is of no use, as the client doesn't serve any content to other clients... you have to set that header on the server side.

Is It Working @suriyakrish .
Am not able to play with m3u8 video file

@suriyakrish Are you able to fix this issue? I am also facing the same issue. Can you please help me

me too


Subtask: Decide a testing method for backend

Parent: #9

The official Apollo-Server document mentions Jest and SuperTest in the testing section. I must use Apollo-Server, so the two libraries seem reasonable.
This article may help.


Meta Quest 2 does not work

I tried launching this on my quest 2 but the controllers do not work at all which means all I can do is look around

Sadly, I was unable to get this working on VR headsets other than the Lenovo Explorer. Unity still has issues with multi-headset support.
If you have another headset and can get it running, please submit a PR :).