PasswordStrengthBarModule' is not exported by node_modules\ng2-password-strength-bar\index.js

After compiling my app with AOT I'm going through the process of tree-shakin my bundle. But when I start node_modules/.bin/rollup -c rollup-config.js after a few seconds the systems quits with the following error message:

�   'PasswordStrengthBarModule' is not exported by node_modules\ng2-password-strength-bar\index.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
src\app\app.module.js (58:9)

Any ideas how to fix this?
Thanks in advance.
OASE

I've never used rollup, but maybe it doesn't like
exports.PasswordStrengthBarModule = require('./lib/passwordStrengthBar.module').PasswordStrengthBarModule;
and you need to use Custom named exports?

Hi @rnadler,
to fix this problimt while rolling-up the project I had to adopt the rollup-config.js section within plugins.
Had to add the following lines in the plugins array [] which looks like this: [don't worry about the other modules, they lead to issues too :-)]
plugins: [
    nodeResolve({jsnext: true, module: true}),
    commonjs({
		  include: [
			  'node_modules/**'
		  ],
      namedExports: {
        'node_modules/angular-modal-gallery/dist/bundles/angular-modal-gallery.umd.js': ['ModalGalleryModule'],
        'node_modules/angular2-logger/core.js': ['Logger', 'Options'],
        'node_modules/angular2-dropzone-wrapper/dist/index.js' : ['DropzoneModule'],
        'node_modules/angular2-datatable/lib/DataTableModule.js' : ['DataTableModule'],
        'node_modules/angular-modal-gallery/dist/bundles/angular-modal-gallery.umd.js' : ['Image','ModalGalleryModule']
		  }
    }),
    uglify()
  ]


[DEV] Update mxnet intersphinx to release site

Description
Since the old beta version mxnet website is deprecated, we are migrating the intersphinx website to the new, formal website of mxnet.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

cc @dmlc/gluon-nlp-team

Job PR-1256/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1256/1/index.html


What is error?

What is error?
Originally posted by @MuhammadAsadJaved in https://github.com/imatge-upc/activitynet-2016-cvprw/issues/27#issuecomment-471886071

My environment:
my environment

Keras                              1.0.2
numpy                              1.11.2 or 1.16.2
jupyter                            1.0.0
Theano                             0.8.2
tensorflow-gpu                     1.4.0
h5py                               2.8.0
youtube-dl                         2016.6.27
Cuda version			   10.1.105
CUDNN version			   7.5.0
NVIDIA-SMI			   418.39

Errors:

Exception: ("We can't determine the cudnn version as it is not available", 'CUDA not available')
AttributeError: ('The following error happened while compiling the node', <theano.sandbox.cuda.DnnVersion object at 0x7eff3655c510>(), '\n', 'The following error happened while compiling the node', GpuCAReduce{add}{1}(<CudaNdarrayType(float32, vector)>), '\n', "'module' object has no attribute '_get_ndarray_c_version'")
I have listed the two bugs that I have recorded.  And sorry for my pressing the "closed" button by mistakes.

sorry dear I can not help you with this problem. I am also facing some problems while running this project. I think we should ask about details system and libraries requirements.

@Nghingtim  As I was also trying to run this project with CUDA 10 + cudNN 7.3 on RTX 2080 GPU, there was an error about Theano "this version of Theano is not compatible with cudnn version, degrade cudnn to version 5.0"  . Now I am trying to use CUDA 8 + cudNN 5.0 but still  not working. now I found the error same as you.    Did you find any solutions?

Sorry, I haven't find any solution now.

发件人: MuhammadAsadJaved<EMAIL_ADDRESS>发送时间: 2019年4月10日 11:23
收件人: imatge-upc/activitynet-2016-cvprw
抄送: Nghingtim; Mention
主题: Re: [imatge-upc/activitynet-2016-cvprw] What is error? (#28)
@Nghingtimhttps://github.com/Nghingtim As I was also trying to run this project with CUDA 10 + cudNN 7.3 on RTX 2080 GPU, there was an error about Theano "this version of Theano is not compatible with cudnn version, degrade cudnn to version 5.0" . Now I am trying to use CUDA 8 + cudNN 5.0 but still not working. now I found the error same as you. Did you find any solutions?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/imatge-upc/activitynet-2016-cvprw/issues/28#issuecomment-481518367, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AjIY2_SfSs56-j4oSM0-CvRAY0Zuu3ZEks5vfVksgaJpZM4bzm3R.

@Nghingtim  OK please let me know when you run it successfully . I will also inform you if I get ride of this error.

Hi, I can not recall the exact versions of the CUDA/cudnn software used to run this. I only remember I used a Titan X to do the training. Take into account that this code was developed 3 years ago, so the software used was the latest version at that time. I am aware that with the fast evolution of the Deep Learning frameworks, this code right now is barely runnable. My recommendation is to try to get the weights and architecture and rebuild the same computational graph with a more recent framework like TensorFlow. Sorry I can not help you more with this.

OK. Thank you very much for your response. @albertomontesg


Add pre / post-installation checks

Topic
core, tests
Description
Currently it is possible to apply the same composer multiple times to a project. Additionally, we don't have a way to detect if a composer is supported on the current computer (external dependencies installed, see tauri which requires rust)
Describe the solution you'd like
I have previously already added some types to get a feeling for all components of a composer. The types are not accurate and do not provide any meaningful enhancements. Everything needs to be re-thinked.
Preconditions
Preconditions need to ensure that a given composer can be used within the given environment. This is especially useful, when considering composers that require some other globally installed tooling to work correctly (#9). Preconditions are workspace independent and can only check for the global environment.
Here is a sample pre installation check to determine if the Tauri adder could be installed:
export const checks = defineComposerChecks({
    options,
    preconditions: [
        {
            name: "rust installed",
            run: ({ execute }) => {
                // execute a shell command and gather it's output and exit code
                const { output, exitCode } = execute("cargo", ["version"]);

                // if the exit code is 0, we can assume that cargo / rust is installed correctly
                return exitCode == 0;
            },
        },
    ],
    preInstallation: [],
    postInstallation: [],
});

Precondition checks should be executed before the composer runs to avoid unnecessary file modifications in case any of the preconditions fails. In case at least one precondition fails, the composers should not install itself and rather fail. The user should be notified with an appropriate error message.
Pre installation checks
Pre installation checks are executed before the adder executes, but after the project has been detected / created and therefore have full access to the workspace (minus the options, as they have not been chosen yet). These checks should identify if

the composer is supported in the current environment (svelte / kit)
the composer has already been applied or the tool to compose is already setup (i.e. the tailwdincss.config.js file is already present / installed packages already present)

Post installation checks
Should check if a composer was successfully installed, basically they are the same as the pre installation checks, but they are executed after a composer was executed to determine if everything was set up as expected.
Further thoughts
Those ideas are mainly taken from svelte-add (predecessor of svelte-compose) and need to be partially re-thought.
Do we really need the post installation checks?
Is there any reason we would not trust in our code? Additionally we have tests that run when merging PR's that ensure that alle test execute correctly. Those tests not only check that that special files are present and contain special contents, but run explicit integration tests for each possible composer and svelte template possibility.
Do we really need pre installation checks?
Once we got this far, let's think if we need pre installation checks. Should they be optional? For most composers it should be enough to check if any of the dependencies is already present. But what if we have something like #18 (Github pages) that does not apply a dependency? Should we provide pre build checks for checking the dependencies? How should the method definition of those look like?

Project is now using the svelte-add name again. Issue moved: https://github.com/svelte-add/svelte-add/issues/337


Fix location issue under windows

This patch fix https://github.com/StevenBlack/hosts/issues/1166#issuecomment-634686875.
cc: @XhmikosR for testing.

Also: Linting issue with CI fixed.

Confirmed works good on Windows :)

Thank you as always, Nissar @funilrys!  You too @XhmikosR.
Merging.


find_package fixes for TINYXML2 and ZeroMQ

This is similar to what sdfomat has. It particularly helps when using tinyxml2 from Conan.

@joxoby can you sign off your commits for DCO?

@osrf-jenkins run tests

We had to revert this for ign-cmake2, as @chapulina said in #120, it may have broken main as well.


Tag list on orders doesn't update in admin view, if changed during state switch

PHP Version: 8.2   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Actual behaviour:
If you change the order state inside the edit view in the backend and a flow adds/removes a tag during this, the content is reloaded but the tag list isn't updated. Not before you reload the complete admin page. The same behaviour may be true for payment or delivery state changes, too.

Expected behaviour:
Display updated tag list afer saving new order state.
How to reproduce:

Have a flow, changing the order tag list during order state changes.
Open an order in the shopware backend.
Change the order state inside the top section before the tag list.
See what happens after the saving of the new order state is completed.
Now reload the whole page.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39972
[created from NEXT-39972, comment 522483]

[public]

Priority changed to: Low

Thank you for your report. After careful consideration, we've concluded that this issue does not require immediate attention or isn't something we can address right now. We prioritize openness and clear communication with our community, so we want to be transparent. We may not resolve all reported issues, and this one might remain unresolved. To stay effective, we periodically clean our backlog, and this issue could be closed in the future.
For now, we'll keep this ticket open to invite further feedback from the community in case we've underestimated its impact and to allow us to revisit it later.
[created from NEXT-39972, comment 523358]


Change travis.yml to use Node 8 like the ember.js guides

As noded in https://github.com/ember-learn/cli-guides/issues/61, we should upgrade to Node 8. This matches what is done in the main guides so I expect it to work here too for our CI.

cc @maxwondercorn


Broken paralelization

When I try to run the model on several GPUs I am getting a numerical error:
Warning: NaN or Inf found in input tensor.
Warning: NaN or Inf found in input tensor.
Warning: NaN or Inf found in input tensor.

While running on a single GPU everything works just fine.
That indicated that there is an issue with parallelization

Hey Svito-zar i am training on a single gpu but it shows the same warning( Warning: NaN or Inf found in input tensor). Please guide me how should i solve this problem.

I didn't have your problem and I don't know how to fix it either.
Would be interested to know the solution as well.
What I find weird from the Machine Learning perspective is that your batch_size is very small. It causes gradient to vary a lot and that might lead to numerical instabilities. So I would try much larger barch_sizes. At least 20. Better 50.

I have the same problem with large batch_size 64, have you guys found the solution?
Help, please.

I found some problems with parallelization too. When I try to run the model on more than one GPUs, the process just freeze on the forward stage, namely this line in trainer.py:
z, nll, y_logits = self.graph(x=x, y_onehot=y_onehot)
The program is still running but I can't see any output after this line. However, One GPU works fine.


AsyncExecutor blocks forever on shutdown

https://hibernate.atlassian.net/browse/HSEARCH-2442
I could not reproduce the exact issue as reported, but there clearly was some racy code here, it wasn't taking into account concurrent lifecycle events of the Executor, in parallel with usage of it.
Introduced some order, I hope this resolves the issue.
N.B. we could have done some more research but it doesn't seem worth it in light of https://hibernate.atlassian.net/browse/HSEARCH-2340 , which I expect to require a rewrite of how these Executor's lifecycle is handled.

pushed a new version.

Merged. I simply removed an obsolete commit in LazyExecutorHolder:
			//N.B. this method needs to be invoked within
			//ownership of the executorStateWriteLock.

(the code changed and the lock is now acquired inside the method)
Thanks!

thanks @yrodiere ! don't forget to mark the JIRA issues resolved ;)


prove setoids are locally CCC

@JacquesCarette OK I am done!

This is really great. Way harder than expected.


[EXTERNAL REQUEST] Call combine shipment logic for all sales orders

Hi,
we want to call the logic to create a combine shipment for all sales orders. The only change we need for this, is that the whole code in the reports 295 "Combine Shipments" is moved to a new codeunit similar to the report 5754 "Create Pick".
I hope you can see the need of this change.

Sorry, we cannot take this request. There are almost 20 events and this refactoring is breaking change for any other partner. You an create this ask as an idea on aka.ms/bcideas to let other partners support this ask. If so, we will be able to consider this change.
Currently, you can ask about the smaller changes which you really need for this.


Notify the user of unfinished comments in a tab

How many times do you start writing a comment in a tab, the scroll up, change tab, and forget about it?
We could display this in the title/tab:

If anyone wants to pick this up, it should be a relatively easy feature:

on pagehide event

find textareas, filter out hidden ones
check the content
cache original title
update title

on pageshow event: if title was changed, restore it


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1086 ms

Resolved: Bofrost.at performance has improved in 3593ccf after 305 days, 15 hours, 51 minutes.


Does TensorRT-LLM support Baichuan2-7B-Chat-4bits？

when i build Baichuan2-7B-Chat-4bits model，i got error
[11/08/2023-03:35:36] [TRT-LLM] [I] Serially build TensorRT engines.
[11/08/2023-03:35:37] [TRT] [I] [MemUsageChange] Init CUDA: CPU +13, GPU +0, now: CPU 115, GPU 105 (MiB)
[11/08/2023-03:35:38] [TRT] [I] [MemUsageChange] Init builder kernel library: CPU +978, GPU +180, now: CPU 1229, GPU 285 (MiB)
[11/08/2023-03:35:38] [TRT-LLM] [W] Invalid timing cache, using freshly created one
[11/08/2023-03:35:48] [TRT-LLM] [I] Loading HF Baichuan v2_7b ... from /data0/Baichuan2-7B-Chat-4bits
[11/08/2023-03:35:57] The model weights are not tied. Please use the tie_weights method before using the infer_auto_device function.
[11/08/2023-03:35:58] [TRT-LLM] [I] HF Baichuan v2_7b loaded. Total time: 00:00:10
[11/08/2023-03:35:58] [TRT-LLM] [I] Loading weights from HF Baichuan v2_7b...
Traceback (most recent call last):
File "/root/work/TensorRT-LLM/examples/baichuan/build.py", line 477, in
build(0, args)
File "/root/work/TensorRT-LLM/examples/baichuan/build.py", line 447, in build
engine = build_rank_engine(builder, builder_config, engine_name,
File "/root/work/TensorRT-LLM/examples/baichuan/build.py", line 347, in build_rank_engine
load_from_hf_baichuan(tensorrt_llm_baichuan,
File "/root/work/TensorRT-LLM/examples/baichuan/weight.py", line 111, in load_from_hf_baichuan
dst.value = np.ascontiguousarray(split_v)
File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/parameter.py", line 66, in value
assert v.shape == self._value.shape,
AssertionError: ('The value updated is not the same shape as the original. ', 'Updated: (25165824, 1), original: (12288, 4096)')
python build.py --model_version v2_7b
--model_dir /data0/Baichuan2-7B-Chat-4bits
--dtype float16
--use_gemm_plugin float16
--use_gpt_attention_plugin float16
--output_dir /data0/Baichuan2-7B-Chat-4bits/trt_engines/fp16/1-gpu/

@smallmocha Thank you for the report. The model you try is a quantized model provided by HF, which is trained with NF4. TensorRT-LLM does not support this model. You could try the quantization method (smooth quant, int8 weight only) mentioned in document.
If you hope TensorRT-LLM supports this model and quantization method, you can change your title or create another issue to explain your requirement.

@byshiue Are NF4 quantized models supported in tensor RT LLM ? I have fine-tuned version of this base quantized model: https://huggingface.co/unsloth/Llama-3.2-1B-bnb-4bit , can I deploy it using tensorRT-LLM ?

@byshiue Are NF4 quantized models supported in tensor RT LLM ? I have fine-tuned version of this base NF4 quantized model: https://huggingface.co/unsloth/Llama-3.2-1B-bnb-4bit , can I deploy it using tensorRT-LLM ?

Please create another bug to ask this question because NF4 is very different to INT4.


feat(coordinator): leadership board api

The new api supports 3 query params:

top - how many entries you want in the board
reverse - top or flop
category - whether you want by PnL or Volume

example:
curl localhost:8000/api/leaderboard\?top\=3\&reverse=false\&category\='Pnl' -v | jq .

{
  "entries": [
    {
      "trader": "02d5aa8fce495f6301b466594af056a46104dcdc6d735ec4793aa43108854cbd4a",
      "pnl": "181905",
      "volume": "3156",
      "rank": 1
    },
    {
      "trader": "03b6fbc0de09815e2eb508feb8288ba6ac7f24aa27bd63435f6247d010334eaff2",
      "pnl": "35406",
      "volume": "1815",
      "rank": 2
    },
    {
      "trader": "02d8166a761dfe894575f848f419b6985500fdcb07a47e68f172b8c46ccd6a120a",
      "pnl": "0",
      "volume": "1000",
      "rank": 3
    }
  ]
}

Resolves https://github.com/get10101/meta/issues/322
The second commit (0fd674969065ca1c02d3ee3a1f5c39d5e8fd2f8b) fixes a bug where the PnL was calculated wrongly. However, this will only work for open and closing a position. Once we have position resize, this will be wrong. Imho, we should calculate PnL on a trade and not store it on the position.
The last commit (889c00f9c998d73a1a2dcfa76b03b76b1668557f) is a bit of renaming. This buggs me everytime I look at the database 🙈

LGTM, alternatively to the api we could have added a query to our metabase :)

I wanted it as an API so that we can also display it in the app :)


WebWorker jsonParse

Non-blocking JSON parsing - https://gist.github.com/lifeart/716d7f0bb087c34247487e4abee2419c

Thank you for the suggestion!
This is a very neat trick, but I think it's out of the scope for our polyfill, which we're trying to make small and simple. JSON parsing will remain to be “blocking” because JSON parsing usually isn't the bottleneck for most applications out there. For applications that do have JSON parsing as the bottleneck, they can choose to not invoke response.json() and instead invoke response.text() and perform JSON parsing themselves. So you see, we believe that such optimizations should be performed only when absolutely needed, and not in the polyfill itself.


Add shell script tool

This will allow to use a shell script in the workspace running the action to run migrations.
The shell script can make use of the environment variables set by this action to point against the docker db instance
$DB_NAME
$DB_USER
$DB_PASSWORD
$DB_HOST
$DB_PORT

Gave it the initial look. Once you've fixed these, can you make sure you test a service with and without the new parameters against this branch before we merge, to make sure new functionality works and there are no regressions on existing repos?

Tested both scenarios locally, by invoking action.sh
with the new parameters and old parameters and on multiple repos
https://github.com/mx51/msp-transaction-service/pull/707

Sweeeeeet :shipit:

cheers, thanks 🎉


Fix Pane Jitter

Making the position Absolute seems to Fix #91 :shrug:
Fix panic when resizing viewport pane down so the image node size becomes less than 1px

Tested this fix, the jitter does indeed go away, but the UI being clipped off the window that I've mentioned in the UI is still there


added mocked tests for droplets - part 1

issue: #208
Added mocked tests for:  droplets.list_backups, droplets.list_snapshots, droplets.list_kernels, droplets.list_firewalls, droplets.list_neighbors.

@danaelhe Thank you for approving this pull request. It's my pleasure to have the opportunity to contribute to this issue.


Infested Leaves can't decay

This might be due to "decayable" blockstate begin set to false when an infested leaf finishes infesting

This is turning into not the quick fix I thought. Print out the state's decayableness, "true", set the state, grab the state from world and print out the decayableness "false" ....

Fix released to curse.


internal/datastore/spanner: force subject ID index

Fixes #1687.

Closing this as I think we need a different approach.


WB3L - Arlec Grid Connect Smart 9W CCT LED Downlight

Arlec Grid Connect Smart 9W CCT LED Downlight
https://www.bunnings.com.au/arlec-grid-connect-smart-9w-cct-led-downlight_p0168694
ArlecCCT_Downlight.zip
Also uses GRID- as a SSID preamble (presumably short for Grid Connect) so that needs to be added to ap_preambles.txt.

check if #69 turns the ap into A-

Yep, thanks. #69 now gets an A- and the device connects to the cloudcutterflash AP but the tool seems to hang after the first communication:
Using PSK v1 - Received PSK ID version 01
[LOG] Client request PATH: /d.json - QS: a=tuya.device.active&et=1&t=67&uuid=GniDm2G0qKcl&v=4.4&sign=1d926b6d4fedb81ad550cc2bafe53df3
[LOG] ==== Client request body ===
{'token': 'AAAAAA', 'softVer': '2.9.15', 'productKey': 'keytg5kq8gvkv9dh', 'protocolVer': '2.2', 'baselineVer': '40.00', 'productKeyStr': 'keytg5kq8gvkv9dh', 'hid': '508a06134796', 'modules': '[{"type":9,"softVer":"2.9.15","online":true}]', 'devAttribute': 515, 'cadVer': '1.0.2', 'cdVer': '1.0.0', 'options': '{"isFK":true}', 't': 67}
[LOG] ==== End client request body ===
tuya.device.active - response: {'success': True, 't':<PHONE_NUMBER>}

Tried on multiple devices, stuck at same point

can you dm me a dump of one that has been connected to tuya-cloud once before, i will extract the json schema needed for the second step to work from that

can you dm me a dump of one that has been connected to tuya-cloud once before

DM sent to the email on your GitHub profile

pull latest, should work now

Confirmed works now in both run_detach and run_flash to convert to OpenBK7231T_App


Missing information in README / getting this to run following instructions

One thing I had to dig to find is running sudo ldconfig prior to the step "Ensure successful installation of openmpi by executing the following commands." in the README.
Edit: I also had to run sudo apt install -y gfortran before compiling MPI. Maybe we could consider just throwing in instructions assuming default paths? E.g. wget [mpi download URL], then ./configure, make -j 4 all, then make install, then sudo ldconfig?
After that, when trying to make HPL with the provided Makefile, I got the error:
mpifort -DAdd_ -DF77_INTEGER=int -DStringSunStyle  -I/opt/hpl-2.3/include -I/opt/hpl-2.3/include/Altramax_oracleblis -I/opt/MyBlisDir/include/altramax  -fomit-frame-pointer -O3 -funroll-loops -W -Wall -o /opt/hpl-2.3/bin/Altramax_oracleblis/xhpl HPL_pddriver.o         HPL_pdinfo.o           HPL_pdtest.o /opt/hpl-2.3/lib/Altramax_oracleblis/libhpl.a -L/opt/MyBlisDir/lib/altramax -lblis
--------------------------------------------------------------------------
No underlying compiler was specified in the wrapper compiler data file
(e.g., mpicc-wrapper-data.txt)
--------------------------------------------------------------------------
make[6]: *** [Makefile:76: dexe.grd] Error 1
make[6]: Leaving directory '/opt/hpl-2.3/testing/ptest/Altramax_oracleblis'
make[5]: *** [Make.top:68: build_tst] Error 2
make[5]: Leaving directory '/opt/hpl-2.3'
make[4]: *** [Makefile:73: build] Error 2
make[4]: Leaving directory '/opt/hpl-2.3'
make[3]: *** [Make.top:54: build_src] Error 2
make[3]: Leaving directory '/opt/hpl-2.3'
make[2]: *** [Makefile:72: build] Error 2
make[2]: Leaving directory '/opt/hpl-2.3'
make[1]: *** [Make.top:54: build_src] Error 2
make[1]: Leaving directory '/opt/hpl-2.3'
make: *** [Makefile:72: build] Error 2

I had to install gfortran, then also recompile mpi, and now that is working. Adding that to the suggestions in the original comment.

Now I'm running into:
./xhpl: error while loading shared libraries: libblis.so.4: cannot open shared object file: No such file or directory

I am not very familiar with blis, but in general, I will use LD_LIBRARY_PATH to guide the searching of .so, especially when developing applications.
export LD_LIBRARY_PATH=/opt/MyBlisDir/lib/altramax;$LD_LIBRARY_PATH

I have not used Fortran since I was in college, and have not tried compiling HPL. Maybe @kokrysa knows more about the MPL stuff, as it related to AI?

@geerlingguy . Thanks for the recommendations.
As for the problem with blis, try :
export LD_LIBRARY_PATH=/usr/local/lib:/opt/MyBlisDir/lib/altramax:$LD_LIBRARY_PATH
One way to check if all the libraries that the binary needs are loaded is to do a ldd. For eg.
$ ldd xhpl
        linux-vdso.so.1 (0x0000ffffb21af000)
        libblis.so.4 => not found
        libmpi.so.40 => /usr/local/lib/libmpi.so.40 (0x0000ffffb1fc0000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffb1e10000)
        /lib/ld-linux-aarch64.so.1 (0x0000ffffb2176000)
        libopen-rte.so.40 => /usr/local/lib/libopen-rte.so.40 (0x0000ffffb1d40000)
        libopen-pal.so.40 => /usr/local/lib/libopen-pal.so.40 (0x0000ffffb1c20000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffb1b80000)

As seen from the above snippet. It did not find "libblis.so.4" , which I believe is the issue that you are facing.
So now if you execute the above export command
export LD_LIBRARY_PATH=/usr/local/lib:/opt/MyBlisDir/lib/altramax

you should see something like this.
ldd xhpl
        linux-vdso.so.1 (0x0000ffffb9706000)
        libblis.so.4 => /opt/MyBlisDir/lib/altramax/libblis.so.4 (0x0000ffffb94d0000)
        libmpi.so.40 => /usr/local/lib/libmpi.so.40 (0x0000ffffb9380000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffb91b0000)
        /lib/ld-linux-aarch64.so.1 (0x0000ffffb96cd000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffb9110000)
        libgomp.so.1 => /lib/aarch64-linux-gnu/libgomp.so.1 (0x0000ffffb90b0000)
        libopen-rte.so.40 => /usr/local/lib/libopen-rte.so.40 (0x0000ffffb8fe0000)
        libopen-pal.so.40 => /usr/local/lib/libopen-pal.so.40 (0x0000ffffb8ec0000)

Hope this helps.

@rbapat-ampere - Indeed that was it! I am getting 985 Gflops now at 270W power consumption.


Have kuri's head react to bumps

Depends on https://github.com/MayfieldRoboticsPublic/kuri_edu/issues/2
Depends on https://github.com/MayfieldRoboticsPublic/kuri_edu/issues/6 (to clear safety events automatically)
Desired Outcome
Provide a guide so that the user can implement a head reaction when Kuri bumps something.  Suggest modifying the same node that handles other head motions - maybe not the safety controller node

Left bump should make kuri look down and to the left, then return to the old head position
Right bump should make kuri look down and to the right, then return to the old head position
Center bump should make kuri look down, then return to the old head position
There should be a time-based lock-out so kuri doesn't react every time.  Suggest around 5 seconds

Might want to split the safety controller in mobile_base python package so there's a safety_monitor which can just listen to events, and then a safety_controller that listens to events and can interact with the safety systems.  That way there's no risk of the head node messing up actually safety stuff - it can just listen

Done in https://github.com/MayfieldRoboticsPublic/kuri_edu/pull/20


"Brâncoveni" is listed in the drop-down menu

Description:
When user writes "Brâncoveni" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Brâncoveni"
Expected results
The location appears in the drop-down menu as "Comuna Brâncoveni, OLT"


Should we make the output destination of ballerina-internal.log configurable?

Recently, Raj raised some concerns regarding the ballerina-internal.log file. Currently we log anything internal related to the runtime (i.e., stuff the user doesn't have to worry about) to a file named ballerina-internal.log then and there. However, if we are considering a containerized deployment where the logs are collected and published to a separate log management tool, we will be missing out the logs contained in the ballerina-internal.log file. While the user doesn't have to worry about this file, it may be important for us if we are to troubleshoot what went wrong.

@hevayo @sameerajayasoma Do we need to prioritize this for SL? I guess we can move this after SL.

Fixed with https://github.com/ballerina-platform/ballerina-lang/issues/31079


HERON submodule update

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Continues #1258
What are the significant changes in functionality due to this change request?
Updates HERON submod to use base classes compatibly, and use NetCDF for inner to outer transfer

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Merging around Test OpenSUSE Leap 15 test since testing machine is currently down and no status when it will be back up.


a problem with a 6kyu level kata

Hey, I have a problem solving this kata
New Cashier Does Not Know About Space or Shift
Some new cashiers started to work at your restaurant.
They are good at taking orders, but they don't know how to capitalize words, or use a space bar!
All the orders they create look something like this:
"milkshakepizzachickenfriescokeburgerpizzasandwichmilkshakepizza"
The kitchen staff are threatening to quit, because of how difficult it is to read the orders.
Their preference is to get the orders as a nice clean string with spaces and capitals like so:
"Burger Fries Chicken Pizza Pizza Pizza Sandwich Milkshake Milkshake Coke"
The kitchen staff expect the items to be in the same order as they appear in the menu.
The menu items are fairly simple, there is no overlap in the names of the items:

Burger
Fries
Chicken
Pizza
Sandwich
Onionrings
Milkshake
Coke

there is my solution
function getOrder(input) {
	const arr1 = ['Burger ','Fries ','Chicken ','Pizza ','Sandwich ','Onionrings ','Milkshake ','Coke '];
	const arr2 = ['burger','fries','chicken','pizza','sandwich','onionrings','milkshake','coke'];

	arr1.forEach((el,i)=> {

		input=replaceAll(input,arr2[i],el)});

function replaceAll(str, find, replace) {
return str.replace(new RegExp(find, 'g'), replace);
};
const arr3 = input.split(' ');
arr3.pop();
function count(array, what) {
let c = 0;
for (var i = 0; i < array.length; i++) {
if (array[i] === what) {
c++;
}
}
return c;
}
return ${'Burger '.repeat(count(arr3,'Burger'))}${'Fries '.repeat(count(arr3,'Fries'))}${'Chicken '.repeat(count(arr3,'Chicken'))}${'Pizza '.repeat(count(arr3,'Pizza'))}${'Sandwich '.repeat(count(arr3,'Sandwich'))}${'Onionrings '.repeat(count(arr3,'Onionrings'))}${'Milkshake '.repeat(count(arr3,'Milkshake'))}${'Coke '.repeat(count(arr3,'Coke') -1)}Coke;
}
some tests get passed and others show me this error
RangeError: Invalid count value
at String.repeat ()
at getOrder (test.js:37:323)
at Context. (test.js:74:25)
any ideas why this error occurs ?

This repo is not for individual kata problems. Please post your inquiries in the kata comment section as a question next time.


The depth and RGB images can't be aligned when connect the realsense camera by net_device class

Required Info |
-- | --
Camera Model | D415, D455
Firmware Version | 	<IP_ADDRESS>
Operating System & Version | Linux (Debian 11)
Kernel Version (Linux Only) |
Platform | Raspberry Pi 4B
SDK Version | v2.50
Language | C/C++
Segment |
Problem Description:

Use following codes to start the camera:

rs2::align alignTo(rs2_stream::RS2_STREAM_COLOR);
rs2::config cfg;
cfg.enable_stream(rs2_stream::RS2_STREAM_DEPTH, 1280, 720, rs2_format::RS2_FORMAT_Z16, 6);
cfg.enable_stream(rs2_stream::RS2_STREAM_COLOR, 1280, 720, rs2_format::RS2_FORMAT_BGR8, 6);
rs2::context ctx;
rs2::net_device device("<IP_ADDRESS>");
device.add_to(ctx);
pipeline = new rs2::pipeline(ctx);
pipeline->start(cfg);
auto frames = pipeline->wait_for_frames(5000);
alignTo.process(frames);

If replace net_device codes by traditional USB device codes, the images can be aligned.
In realsense viewer can see same issue. In 3D view, images get aligned with USB connection and not aligned with network connection.
It seems this issue is same with this closed issue: #8966. But in v2.50, this issue is still alive.

Hi @JunSun-CSH  I see that you have chosen FPS speeds that are appropriate for the limitations of a RealSense networking connection, as described in the Software Limitations section of the networking white-paper guide.
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#section-3-6-software-limitations
In a networking case at https://github.com/IntelRealSense/librealsense/issues/8423#issuecomment-795557815 where there was a problem in the cfg definition, it was found that using the RGB8 format for color worked.
May I also confirm that when you built librealsense from source code in Linux with CMake on the Raspberry Pi 4, you have included the term -DBUILD_NETWORK_DEVICE=ON in the CMake build instruction.
Are you using a two-computer arrangement like the one in the white-paper (a Pi 4 with a camera attached as the remote computer and a conventional PC as the central host computer) or are you using a single computer please, like in https://github.com/IntelRealSense/librealsense/issues/10080

Hi @JunSun-CSH I see that you have chosen FPS speeds that are appropriate for the limitations of a RealSense networking connection, as described in the Software Limitations section of the networking white-paper guide.
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#section-3-6-software-limitations
In a networking case at #8423 (comment) where there was a problem in the cfg definition, it was found that using the RGB8 format for color worked.
May I also confirm that if you built librealsense from source code in Linux with CMake on the Raspberry Pi 4, you have included the term -DBUILD_NETWORK_DEVICE=ON in the CMake build instruction.
Are you using a two-computer arrangement like the one in the white-paper (a Pi 4 with a camera attached as the remote computer and a conventional PC as the central host computer) or are you using a single computer please, like in #10080

I built a rs-server and run rs-server on a raspberry pi 4B board with Debian 11 to make the D455 work as a net device.
In other Win10 PC, wrote codes to connect D455. I was successfully connect to D455 and capture the RGB and depth images. But, the align function isn't work normally. From the following pictures, you can see the RGB and depth images were misaligned. If directly connect D455 to the Win10 PC, I can see the align function work as expected.
RGB and depth alignment effect in my codes:

RGB and depth align effect in realsense viewer:

In my current investigation, found the issue caused by wrong intrinsics, extrinsics from the profile and wrong depth_scale of the depth_frame instance. These value are provided by the net_device from rs_server.

The values in intrinsics and extrinsics get truncated.
The depth_scale is an extreme wrong value.
After placing the hardcode correct intrinsics, extrinsics and depth_scale values in the align function, the depth and RGB images can be aligned normally. This way can be a temporary work around. Could we fix this issue in the rs_server codes in next release?

Normal Values:
-		depthIntrinsics	{width=1280 height=720 ppx=630.740906 ...}	rs2_intrinsics
		width	1280	int
		height	720	int
		ppx	630.740906	float
		ppy	362.714935	float
		fx	885.439941	float
		fy	885.439941	float
		model	RS2_DISTORTION_BROWN_CONRADY (4)	rs2_distortion
-		coeffs	0x0000009c68efef94 {0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000}	float[5]
		[0]	0.00000000	float
		[1]	0.00000000	float
		[2]	0.00000000	float
		[3]	0.00000000	float
		[4]	0.00000000	float
-		rgbIntrinsics	{width=1280 height=720 ppx=645.108337 ...}	rs2_intrinsics
		width	1280	int
		height	720	int
		ppx	645.108337	float
		ppy	356.728638	float
		fx	921.190857	float
		fy	919.487183	float
		model	RS2_DISTORTION_INVERSE_BROWN_CONRADY (2)	rs2_distortion
-		coeffs	0x0000009c68efef44 {0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000}	float[5]
		[0]	0.00000000	float
		[1]	0.00000000	float
		[2]	0.00000000	float
		[3]	0.00000000	float
		[4]	0.00000000	float

		_depth_scale	0.00100000005	float

-		depthToRgb2	{rotation=0x000000dd0d1eef08 {1.00000000, 0.00000000, 0.00000000, 0.00000000, 1.00000000, 0.00000000, ...} ...}	rs2_extrinsics
-		rotation	0x000000dd0d1eef08 {1.00000000, 0.00000000, 0.00000000, 0.00000000, 1.00000000, 0.00000000, 0.00000000, ...}	float[9]
		[0]	1.00000000	float
		[1]	0.00000000	float
		[2]	0.00000000	float
		[3]	0.00000000	float
		[4]	1.00000000	float
		[5]	0.00000000	float
		[6]	0.00000000	float
		[7]	0.00000000	float
		[8]	1.00000000	float
-		translation	0x000000dd0d1eef2c {-0.00000000, -0.00000000, -0.00000000}	float[3]
		[0]	-0.00000000	float
		[1]	-0.00000000	float
		[2]	-0.00000000	float

Wrong Values:
-		depthIntrinsics	{width=1280 height=720 ppx=630.000000 ...}	rs2_intrinsics
		width	1280	int
		height	720	int
		ppx	630.000000	float
		ppy	362.000000	float
		fx	885.000000	float
		fy	885.000000	float
		model	RS2_DISTORTION_BROWN_CONRADY (4)	rs2_distortion
-		coeffs	0x000000c0b9ddf5a4 {0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000}	float[5]
		[0]	0.00000000	float
		[1]	0.00000000	float
		[2]	0.00000000	float
		[3]	0.00000000	float
		[4]	0.00000000	float
-		rgbIntrinsics	{width=1280 height=720 ppx=645.000000 ...}	rs2_intrinsics
		width	1280	int
		height	720	int
		ppx	645.000000	float
		ppy	356.000000	float
		fx	921.000000	float
		fy	919.000000	float
		model	RS2_DISTORTION_INVERSE_BROWN_CONRADY (2)	rs2_distortion
-		coeffs	0x000000c0b9ddf554 {0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000}	float[5]
		[0]	0.00000000	float
		[1]	0.00000000	float
		[2]	0.00000000	float
		[3]	0.00000000	float
		[4]	0.00000000	float

		_depth_scale	-431602080.	float

-		depthToRgb2	{rotation=0x000000414deff378 {0.999985516, -0.000769818376, 0.00532204285, 0.000799249217, 0.999984384, ...} ...}	rs2_extrinsics
-		rotation	0x000000414deff378 {0.999985516, -0.000769818376, 0.00532204285, 0.000799249217, 0.999984384, -0.00553008122, ...}	float[9]
		[0]	0.999985516	float
		[1]	-0.000769818376	float
		[2]	0.00532204285	float
		[3]	0.000799249217	float
		[4]	0.999984384	float
		[5]	-0.00553008122	float
		[6]	-0.00531770289	float
		[7]	0.00553425495	float
		[8]	0.999970555	float
-		translation	0x000000414deff39c {0.0149887651, 2.59664448e-05, 0.000211531689}	float[3]
		[0]	0.0149887651	float
		[1]	2.59664448e-05	float
		[2]	0.000211531689	float

It's great to hear that you achieved a workaround!
Yes, your experience sounds similar to the one reported in https://github.com/IntelRealSense/librealsense/issues/8966#issuecomment-833173303 so I will highlight the issue to Intel.

Intel provided feedback to me.   An ethernet side branch of the SDK will be released soon, so they recommend waiting to see whether that fixes the alignment issue.  A time schedule for release of the side branch is not currently available.

Intel provided feedback to me. An ethernet side branch of the SDK will be released soon, so they recommend waiting to see whether that fixes the alignment issue. A time schedule for release of the side branch is not currently available.

Thanks for your feedback.

Made a temporary fixing for these issues. The fixing codes contains in the attached git patch zip file.
Fix wrong intrinsics, extrinsics and depth_scale are get from profile and depth_frame when connect to net_device.
Root Cause:

Wrong intrinsics values is caused by the third-party component liveMidia doesn't support float type. Before fixing, the float data value is truncated as a int data value.
Wrong extrinsics values is caused by using wrong to_key in ip_device::init_device_data for caching the extrinsics values.
Wrong depth_scale value is caused by that the frame meta data values(include depth_units) don't be cached due to the current connecting device is a net device not a UVC device.

Solution:

Add float type support in MediaSession class and use higher precision float string value.
Correct the wrong to_key  in ip_device::init_device_data and use higher preciosn float string value.
Add a set_units function for depth_frame. We can cache the depth sensor's depth unit to depth frame by the following codes:

auto frames = pipeline->wait_for_frames(5000);
auto firstDepth = frames.get_depth_frame();
firstDepth.set_units(units);

0001-Fix-wrong-intrinsics-extrinsics-and-depth_scale-are-.zip

Thanks so much @JunSun-CSH for sharing your workaround solution with the RealSense community!

Hi @JunSun-CSH  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


[ReadWriteAttribute] Skip method shadowing check if attr is not sym or str

Fixes rubocop exceptions like:
undefined method `value' for s(:lvar, :column):RuboCop::AST::Node

for read/write methods used within a method and using non-string or non-symbol argument names
for example:
def do_the_read
  read_attribute(ATTR_NAME)
end

So I decided to skip the "shadowing" check if we can't explicitly know the attribute name.
Later we may want to exclude cases like this because it's also shadowing and should be fairly easy to detect this one. But for now I decided to fix the exception and consider an improvement in a separate PR
    def define_date_column_writer(column, value)
      define_method("#{column}=") do |value|
        # currently a violation
        write_attribute(column, value)
      end
    end

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

Added a changelog entry


Tutorial notebooks: PerSAM

Hi PerSAM authors :)
As your method is really cool I've contributed it to Hugging Face.
Here are 2 demo notebooks showcasing the PerSAM and PerSAM-f methods: https://github.com/NielsRogge/Transformers-Tutorials/tree/master/PerSAM.
Note that the Hugging Face implementation of SAM is used.
Cheers!
Btw there's already follow-up work: https://twitter.com/ducha_aiki/status/1660967979972960258

Hey @ZrrSkywalker  and @NielsRogge - thanks for your work in making this project more accessible.
I'm trying to understand how the target guided attention and target semantic prompting occur. Am I right in thinking this isn't being done in the notebooks Niels provided? And that to enable those features I would need to use the Sam Predictor from the original repo?
Best,
Thom


pull command feature

closes #20

Codecov Report

Merging #33 into master will decrease coverage by 0.44%.
The diff coverage is 87.09%.

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
- Coverage   91.44%   90.99%   -0.45%
==========================================
  Files           6        7       +1
  Lines         374      422      +48
  Branches       50       55       +5
==========================================
+ Hits          342      384      +42
- Misses         14       18       +4
- Partials       18       20       +2

Impacted Files
Coverage Δ

src/commands/push.ts
91.93% <100%> (+1.26%)
:arrow_up:

src/utils.ts
92.75% <86.66%> (-1.7%)
:arrow_down:

src/commands/pull.ts
86.95% <86.95%> (ø)

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 63dd176...f2253c3. Read the comment docs.


How to get visible zoomed image?

I cant seem to find the appropriate way to get the visible zoomed image

I'm not sure I follow what you mean. Like extract the visible area?

When you say get, do you mean exported as a bitmap?


Add button for client-side image download

What's this PR do?
Adds a button that allows people to download the graphic as a PNG.
This works by listening for a button click. When the button is clicked, the Pym parent sends a message to the Pym child. The Pym child then generates the PNG. The Pym parent can't directly generate the PNG because html-to-image can't seem to find the correct styles from the parent.
Are there any relevant screenshots?
N/A
Why are we doing this? How does it help us?
See #8.
How should this be manually tested?

Clone and checkout to this branch.
Spin up your server.
Click the button.
Try resizing your iframe width.
Try adding some SVG content

const data = new Map()
    .set("A", 4)
    .set("B", 2)
    .set("C", 9)
    .set("D", 5)
    .set("E", 8);

  const figure = d3.select("figure");
  const width = figure.node().clientWidth;
  const height = 300;
  const margin = { left: 50, top: 20, right: 20, bottom: 20 };

  const x = d3
    .scaleLinear()
    .domain([0, d3.max(data.values())])
    .range([margin.left, width - margin.right]);

  const y = d3
    .scaleBand()
    .domain(data.keys())
    .range([margin.top, height - margin.bottom])
    .padding(0.3);

  const svg = figure.append("svg").attr("width", width).attr("height", height);

  svg
    .append("g")
    .attr("transform", `translate(${margin.left}, 0)`)
    .call(d3.axisLeft(y));

  svg
    .append("g")
    .attr("transform", `translate(0, ${margin.top})`)
    .call(d3.axisTop(x));

  svg
    .selectAll("rect")
    .data(data.entries())
    .join("rect")
    .attr("y", (d) => y(d[0]))
    .attr("height", y.bandwidth())
    .attr("x", x(0))
    .attr("width", (d) => x(d[1]) - x(0))
    .attr("fill", "steelblue");

Are there any smells or added technical debt to note?
No
What are relevant issues or links?
#8
Have you done the following, if applicable:

[x] Performed a self-review of the code?
[x] Linted code for good style and standards?
[ ] Added unit tests?
[ ] Tested manually on mobile?
[x] Checked for performance implications?
[ ] Checked accessibility?
[ ] Checked for vulnerabilities with yarn audit --level=high?
[ ] Updated any documentation

I didn't choose SVG as the image format here because the SVG was huge (like 4MB for the bar chart). But, it'd probably be useful to be able to export an SVG if someone wants to do something with it in Illustrator. Maybe we can allow both PNG and SVG? Options? Two buttons?

Ok so this walks back on the original issue a little, but related to the SVG thing.
One concern I have about this button is that, often, the web graphic isn't what we want to use for the social graphic (it's usually too detailed, the hed/dek are too small, etc. I'm worried these will be used for social graphics when in reality it's probably more useful as a preview for developers, or as a quick thumbnail reference.
When I made social graphics manually, I'd download the SVG and tweak it in illustrator first. So in this PR, maybe adding SVG as an option is useful.
Looking forward, maybe (strong emphasis on maybe -- I'm not convinced this is a good idea) there should be support for a "social" version of the graphic, and only allow PNG downloads of that.

Yea, will definitely add an SVG option, even outside the scope of social images but for any ai2html flow that might start with D3 first.

The image currently captures all the text surrounding the figure by the way, which may be desirable in some situations but maybe not in others.

Looking forward, maybe (strong emphasis on maybe -- I'm not convinced this is a good idea) there should be support for a "social" version of the graphic, and only allow PNG downloads of that.

This could be interesting. We can probably change the font and text font pretty easily just for whenever a screen grab is occurring. But reducing graphic detail might be more complicated.

I don't think this is tree shaking properly but whatever.
I think this PR is ready to merge for now, unlinking it from #8 so that issue doesn't get closed yet.


Small enhancement on code consistency & readability

I don't think this is an idiomatic use of guard, we are not guarding anything, the logic is plain and this reads less well IMO, sorry.


[Feature]: Add the scale subresource to the Pooler to support the vertical-pod-autoscaler

Is there an existing issue already for this feature request/idea?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?
The vertical-pod-autoscaler cannot operate on the pooler deployments due to the Pooler resource lacking a scale subresource on its CRD.
This results in error messages in the VPA such as: The targetRef controller has a parent but it should point to a topmost well-known or scalable controller
Describe the solution you'd like
Implement the scale subresource.
This should not require any additional code as all of the data needed is already tracked in the CRD. The CRD only needs add a few additional fields to be extended in this backwards compatible way.
Describe alternatives you've considered
Only possibility is to implement this.
Additional context
This is similarly related to #2574 which is a request to implement the scale subresource for Cluster
Backport?
Yes
Are you willing to actively contribute to this feature?
Yes
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The pooler should already have a scale subresource, see https://github.com/cloudnative-pg/cloudnative-pg/blob/fa30f88fc867cc43bb280f990e2ceea3fd2710b4/api/v1/pooler_types.go#L246.
Can you share your hpa? The error suggests you are actually pointing it to the wrong thing, you should point it at the pooler, not the deployment it creates.

I was pointing the vpa at the Deployment, so let me switch it to the Pooler and get back to you.

I do see the scale subresource on the CRD. However, it is missing a field required by the VPA: docs.
In particular, it is missing the labelSelector field which is used by the VPA to identify the managed pods. I will update the issue title to reflect the actual problem.
I believe the HPA will work fine, but the VPA will not.
Deployed VPA (notice the status error):
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
  creationTimestamp: "2024-04-05T20:11:38Z"
  generation: 1
  labels:
    environment: production
    id: pg-pooler-rw-dd15
    panfactum.com/environment: production
    panfactum.com/local: "false"
    panfactum.com/module: kube_pg_cluster
    panfactum.com/region: us-east-2
    panfactum.com/root-module: kube_authentik
    region: us-east-2
    terraform: "true"
  name: pg-6284-pooler-rw
  namespace: authentik
  resourceVersion: "111354"
  uid: c52d5346-e587-4684-b927-c0b9c1d67c19
spec:
  targetRef:
    apiVersion: postgresql.cnpg.io/v1
    kind: Pooler
    name: pg-6284-pooler-rw
  updatePolicy:
    updateMode: Auto
status:
  conditions:
  - lastTransitionTime: "2024-04-05T20:11:58Z"
    message: 'Cannot read targetRef. Reason: Unhandled targetRef postgresql.cnpg.io/v1
      / Pooler / pg-6284-pooler-rw, last error Resource authentik/pg-6284-pooler-rw
      has an empty selector for scale sub-resource'
    status: "True"
    type: ConfigUnsupported
  - lastTransitionTime: "2024-04-05T20:11:58Z"
    message: No pods match this VPA object
    reason: NoPodsMatched
    status: "True"
    type: NoPodsMatched
  - lastTransitionTime: "2024-04-05T20:11:58Z"
    message: No pods match this VPA object
    reason: NoPodsMatched
    status: "False"
    type: RecommendationProvided
  recommendation: {}


CocoaPods IOException resolving pod based on Git

Got this error in the web report:
[CocoaPods::Podfile:](https://github.com/oss-review-toolkit/ort/issues/new#CocoaPods::Podfile:)
2022-09-19T21:43:49.421661Z [ERROR]: CocoaPods - Resolving CocoaPods dependencies for path 'Podfile' failed with: IOException: Running 'pod spec which AnalyticsEvents --version=0.1.0 --allow-root --regex' in '.../ort-gitlab/project' failed with exit code 1:
[!] Unable to find a pod with name matching `AnalyticsEvents'

from the logfile (with level warn):
java.io.IOException: Running 'pod spec which AnalyticsEvents --version=0.1.0 --allow-root --regex' in '/.../tools/ort-gitlab/project' failed with exit code 1:
[!] Unable to find a pod with name matching `AnalyticsEvents'
	at org.ossreviewtoolkit.utils.common.ProcessCapture.requireSuccess(ProcessCapture.kt:148)
	at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.run(CommandLineTool.kt:74)
	at org.ossreviewtoolkit.analyzer.managers.CocoaPods.run(CocoaPods.kt:73)
	at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.run$default(CommandLineTool.kt:68)
	at org.ossreviewtoolkit.analyzer.managers.CocoaPods.getPodspec(CocoaPods.kt:207)
	at org.ossreviewtoolkit.analyzer.managers.CocoaPods.getPackage(CocoaPods.kt:175)
	at org.ossreviewtoolkit.analyzer.managers.CocoaPods.resolveDependenciesInternal(CocoaPods.kt:141)
	at org.ossreviewtoolkit.analyzer.managers.CocoaPods.resolveDependencies(CocoaPods.kt:118)
	at org.ossreviewtoolkit.analyzer.PackageManager.resolveDependencies(PackageManager.kt:264)
	at org.ossreviewtoolkit.analyzer.PackageManagerRunner$run$3.invokeSuspend(Analyzer.kt:322)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:[570](https://dl-.../tools/ort-gitlab/-/jobs/198586#L570))
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
21:43:49.424 [DefaultDispatcher-worker-3] ERROR org.ossreviewtoolkit.analyzer.PackageManager - Resolving CocoaPods dependencies for path 'Podfile' failed with: IOException: Running 'pod spec which AnalyticsEvents --version=0.1.0 --allow-root --regex' in '.../tools/ort-gitlab/project' failed with exit code 1:
[!] Unable to find a pod with name matching `AnalyticsEvents'

Because of this the whole content of the Podfile is ignored.
Should also happen with the following project: https://github.com/vector-im/element-ios
Problem seems to be this line: https://github.com/vector-im/element-ios/blob/develop/Podfile#L76 :
pod 'AnalyticsEvents', :git => 'https://github.com/matrix-org/matrix-analytics-events.git', :branch => 'release/swift', :inhibit_warnings => false

Thanks for the report @unclejay80! As a stop-gap measure I've created https://github.com/oss-review-toolkit/ort/pull/5835. But you'll still be missing metadata for that package I believe.

great :) thanks!! working now - metadata is still missing. Do you want to keep the issue open for the metadata stuff or what would you recommend?

Do you want to keep the issue open for the metadata stuff or what would you recommend?

I decided to create a follow-up issue with a more specific title.


Promote CSIDriver to GA

Placeholder doc update for CSIDriver promotion to GA. This is dependent on https://github.com/kubernetes/kubernetes/pull/84814 being merged for 1.18.

As a placeholder I will tell Prow this:
/retitle [WIP] Promote CSIDriver to GA

/hold
Waiting on https://github.com/kubernetes/kubernetes/pull/84814

/sig storage

/cc @kubernetes/sig-storage-pr-reviews

@huffmanca hi 👋 This PR https://github.com/kubernetes/kubernetes/pull/84814 seems to be already approved and only need to be rebased. Is this docs PR ready to be reviewed yet, also wondering who can tech review this PR as well..

I can review the technical part and it looks good to me

FYI, we keep CSI documentation for CSI driver vendors in https://github.com/kubernetes-csi/docs/ and CSIDriverRegistry is documented there.
@huffmanca, please make sure it's updated (but it's unrelated to this PR).

I created https://github.com/kubernetes-csi/docs/pull/283 to update the CSI documentation.

ping @sftim @msau42

👋 Please rebase this PR on dev-1.18 in order to avoid merge conflicts.
Feel free to /hold cancel after you've rebased.
/hold

LGTM, happy to /lgtm once rebased.

Rebase has been performed.

/hold cancel

@huffmanca please check the PR description (it's no longer a placeholder).

/lgtm

@VineethReddy02 happy to /approve?

/approve


Code for WUPS score

Hello, where can I find the code for calculating the WUPS score for open-ended QA?

Found it here: https://github.com/doc-doc/NExT-OE/blob/main/eval_oe.py


M3-1695 Linode extra long names should truncate with ellipsis on Grid View

This PR also includes some work for M3-1681.
On linodes grid view, if the Linode name exceeds our specced width, it will truncate with an ellipsis:

Additionally, a bug on the dashboard (in safari only) was randomly line breaking names with dashes in the name. One potential solution would be to use this same fix, with a specced width.

Coverage remained the same at 27.138% when pulling 331daf38da6b2c4d26b67331b5508fcc7682f073 on WilkinsKa1:M3-1695-linode-ellipsis into 8e01b6d7ad2d48dbd218a3e3112449c6aed849cf on linode:develop.

@WilkinsKa1 do we need a ticket to address long linode names not wrapping on the create checkout bar? (see image below)

@patthiel Yes, a ticket for that would be great!  I don't think we have that captured in a ticket yet as far as I know.

@johnwcallahan @alioso I updated per your feedback, thanks!


Fully updated Entrepot header

updated nav bar with search and balance shown:

When no wallet is connected, the balance is not shown and a wallet icon is shown:

on smaller screen sizes, the search input is hidden:

on even smaller screens, everything collapses into a single menu icon:

The wallet button is contained within that menu:

Searching in the nav bar search navigates to the marketplace:

Tweaked responsive breakpoints and rebased.
New breakpoints:


Autogenerate TypeScript definitions from source

We should take the work done in https://github.com/apigee-127/sway/pull/113 and figure out a way to generate these TypeScript definitions from the JavaScript sources.

Perhaps look at tools like https://github.com/englercj/tsd-jsdoc?

That would be exactly what I'd want.  Let me give using it a whirl.

The 2.0.0 package doesn't seem to include index.d.ts. Would it possible to add it? Thanks!

I can do that, and I'm sure I need to update the TypeScript definitions.  I will see if I can find a way to generate these automatically.

Thanks! The existing ones seem to still work, but I've been using this patch to correct them:
--- a/node_modules/sway/index.d.ts
+++ b/node_modules/sway/index.d.ts
@@ -1,7 +1,7 @@
 export declare function create(options : Options) : Promise<SwaggerApi>

 declare type Options = {
-    defintion: Object | string,
+    definition: Object | string,
     jsonRefs?: Object,
     customValidatiors?: ValidatorCallback[]
 }
@@ -19,7 +19,7 @@
     references: Object
     version: string

-    getOperation(pathOrRequest : string | Request, method ?: string): Operation
+    getOperation(pathOrRequest : string | Request, method ?: string): Operation | undefined
     getOperations(path ?: string): Operation[]
     getOperationsByTag(tag ?: string): Operation[]
     getPath(pathOrRequest : string | Request): Path
@@ -34,6 +34,12 @@
     url: string
 }

+declare interface ServerResponseWrapper {
+    body: any
+    encoding?: string
+    headers?: { [name: string]: string }
+    statusCode: number | string
+}

 declare class Operation{
     definition: Object
@@ -51,7 +57,7 @@
     getResponses() : Response[]
     getSecurity() : Object//Security
     validateRequest(request : Request) : ValidationResults
-    validateResponse(response : Response) : ValidationResults
+    validateResponse(response : ServerResponseWrapper) : ValidationResults
 }

 declare type ValidationResults = {
@@ -81,7 +87,7 @@

     getExample(mimeType: string): string
     getSample(): Object
-    validateResponse(response: Response): ValidationResults
+    validateResponse(response: ServerResponseWrapper): ValidationResults
 }

 declare class Parameter{
@@ -110,7 +116,7 @@

     getOperation(method : string): Operation[]
     getOperations(): Operation[]
-    getOperationsByTag(tag): Operation[]
+    getOperationsByTag(tag : string): Operation[]
     getParameters(): Parameter[]
 }

Thanks! It seems like the auto-generated types are not working atm because they don't export anything. Would it be possible to replace declare with export?

I'll need to look at how.  These are generated from the JSDoc tags.

After reading this, it seems like declare is the appropriate thing but there could/should be an export for the things exported by the module.  I'm using tsd-jsdoc to do the work.  I'm trying to see how I can get this to work.  The only thing I can find is this: https://github.com/englercj/tsd-jsdoc/issues/20

Wait, you're right.  I'm using @otris/jsdoc-tsd.

I'm in the process of reading the docs on writing good TypeScript Declaration files: https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html  If I can understand them better, I'll probably figure out a way to fix this.  The last thing I want is to have to hand craft these.  I'll update you soon.

Great, thanks! Let me know if you need any help

Can you check master and the latest release?  I tested them myself and they seem to work.

Nope - unfortunately it still reports that interfaces are not exported. I'm using it TypeScript 3.0.1 if that matters. Thanks

Why should they be?  You don't instantiate them directly and are there just for code completion/documentation.  To me, anything exported would be something I could access directly and none of the types should be.  Can you give me an example that reproduces some problem?

They are needed if we split the code that uses Sway into multiple functions. For example, I have one function that just loads SwaggerApi and caches it in global variable (I use Cloud Functions and this type of optimization is critical). Another function just calls api.getOperation() and throws an appropriately formatted error if the operation is not found. Yet another one checks that the operation requires authorization and if it does, then it checks the Authorization, and so on. I don't want to put all that code into a single function with 200+ lines of code..

So how are you associating the types in these other functions?  I assume you're writing TS stuff that uses types and it just can't see the types from my module since they aren't exported?

I get it now.  While exported based on purpose, for consumption I likely need to export anything that you might need type information for so that you can pass the Sway objects or define them yourself.

Yep, that's be really nice! I can work around that but re-defining the types in my code, but that seems a bit redundant.

The reasoning for this is nothing, other than the create options and callbacks used in options and other APIs, are created by you.  You'll never create an Operation or Response yourself.  But since TypeScript is typed, before you can reference those types in functions/types you define, they need to get exported.  I get it now.

Can you give me a reproduction recipe? I tested this and t worked. Only one
function is exported and the others aren’t on purpose because they are
never accessible directly. The code completion worked for me and no
compiler errors.
On Sat, Aug 11, 2018 at 10:06 AM Denis Loginov<EMAIL_ADDRESS>wrote:

Nope - unfortunately it still reports that interfaces are not exported.
I'm using it TypeScript 3.0.1 if that matters. Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/apigee-127/sway/issues/115#issuecomment-412284500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGCU9ah0SF2F2LzUczVQiVGGYlHMhUnks5uPwDpgaJpZM4LMSLv
.

--
Take care,
Jeremy Whitlock
Twitter: @whitlockjc

@whitlockjc it's ok, I've re-defined the interfaces for use in my functions. Thanks for considering the options.

I'll get it sorted and committed in a patch release.  I've verified the fixes being made for another project.  I'd love to have you verify them if you don't mind.

This should be fixed in<EMAIL_ADDRESS> Do you mind verifying?


Has anyone tried using EigenGradCAM for Class Activation Mapping of YOLOv5?

During the process of adding back - propagation gradients, I found that the output of the model in the BaseCAM function, self.outputs, has a size of (25200, 85). When continuing with the gradient calculation, how should I select the output tensors to calculate the loss and complete the back - propagation?
        if self.uses_gradients:             self.model.zero_grad()             # for param in self.model.parameters(): # 设置requires_grad=True             #     if not param.requires_grad:             #         param.requires_grad = True             for name, param in self.model.named_parameters():                 print(f"Parameter name: {name}, requires_grad: {param.requires_grad}")             loss = sum([target(output) for target, output in zip(targets, outputs)])             loss.backward(retain_graph=True)             if 'hpu' in str(self.device):                 self.__htcore.mark_step()
outputs, has a size of (25200, 85).

     if self.uses_gradients:
            self.model.zero_grad()
            # for param in self.model.parameters(): # 设置requires_grad=True
            #     if not param.requires_grad:
            #         param.requires_grad = True
            for name, param in self.model.named_parameters():
                print(f"Parameter name: {name}, requires_grad: {param.requires_grad}")
            loss = sum([target(output) for target, output in zip(targets, outputs)])
            loss.backward(retain_graph=True)
            if 'hpu' in str(self.device):
                self.__htcore.mark_step()
           cam_per_layer = self.compute_cam_per_layer(input_tensor, targets, eigen_smooth)
           return self.aggregate_multi_layers(cam_per_layer)

May I ask whether the output of the YOLO model needs to go through Non-Maximum Suppression (NMS) processing here?


Validation for ASSET BUILDER ENVIRONMENT (ABE - DEPLOYER) Failed!

Hi experts,
After several times of trying to create ABE Docker Image following the steps described into "Build Docker Default Images" wiki topic, the following error is occuring:
ID      Started                         Status  Status Description
1       Mon Mar 16 18:27:37 UTC 2020    ERROR   [CCECPTE0078] Composite template validation for sag-abe completed: VALIDATION FAILED
Sync job completed with status: ERROR
The expected values ['DONE'] were not returned after 2 calls within 10 seconds.
Thanks,
Rafael Oliveira

how to resove above issue

[CCECPTE0078] Composite template validation for QA completed: VALIDATION FAILED [EXPLANATION] The validation has detected that the composite template cannot be applied successfully. [ACTION] Read the validation report, fix the errors, and try again.
Details
Executing runtime composite template validation.


[66-win64] Flags not flagging?

I've tried setting some flags in chrome://flags and they don't appear to work.
Disable Touch events API - Panopticlick still reports touch.
Load Media Router Component Extension - Browser still makes SSDP requests
According to posts that last one is supposed to disable casting and stop the requests but I still have cast in the menu.

Have you tried other flags and see if they have any effect? You can also check chrome://version to see if the flags have taken effect (they are listed between --flag-switches-begin and --flag-switches-end)


Make footer social icons same as header social icons

Style the footer social icons to be the same as header social icons

I am interested to work on this

go ahead... I've assigned it to you

Done
Created a PR

Thanks for the contribution @DPRIYATHAM

Welcome @abel-otegbola


Uperf test fails but does not exit with error

When uperf runs and fails the execution does not return an error code.  Take the below output for an example. The test failed with CRITICAL errors and yet the main snafu process feeds back a 0 return code. This results in the benchmark-operator continuing on and any automation reads it as a success.
...
2021-12-03T15:04:15Z - INFO     - MainProcess - _benchmark: Running setup tasks.
2021-12-03T15:04:15Z - INFO     - MainProcess - _benchmark: Collecting results from benchmark.
2021-12-03T15:04:15Z - INFO     - MainProcess - uperf: Collecting 3 samples of Uperf
2021-12-03T15:04:15Z - INFO     - MainProcess - process: Collecting 3 samples of command ['uperf', '-v', '-a', '-R', '-i', '1', '-m', '/tmp/uperf-test/uperf-stream-tcp-64-64-1']
2021-12-03T15:06:26Z - WARNING  - MainProcess - process: Got bad return code from command: ['uperf', '-v', '-a', '-R', '-i', '1', '-m', '/tmp/uperf-test/uperf-stream-tcp-64-64-1'].
2021-12-03T15:08:37Z - WARNING  - MainProcess - process: Got bad return code from command: ['uperf', '-v', '-a', '-R', '-i', '1', '-m', '/tmp/uperf-test/uperf-stream-tcp-64-64-1'].
2021-12-03T15:10:48Z - WARNING  - MainProcess - process: Got bad return code from command: ['uperf', '-v', '-a', '-R', '-i', '1', '-m', '/tmp/uperf-test/uperf-stream-tcp-64-64-1'].
2021-12-03T15:10:48Z - CRITICAL - MainProcess - process: After 3 attempts, unable to run command: ['uperf', '-v', '-a', '-R', '-i', '1', '-m', '/tmp/uperf-test/uperf-stream-tcp-64-64-1']
2021-12-03T15:10:48Z - WARNING  - MainProcess - process: Sample 1 has failed state for command ['uperf', '-v', '-a', '-R', '-i', '1', '-m', '/tmp/uperf-test/uperf-stream-tcp-64-64-1']
2021-12-03T15:10:48Z - CRITICAL - MainProcess - uperf: Uperf failed to run! Got results: ProcessSample(expected_rc=0, success=False, attempts=3, timeout=None, failed=[ProcessRun(rc=1, stdout='Error getting SSL CTX:1\nAllocating shared memory of size 156624 bytes\nError connecting to <IP_ADDRESS>\n\n** TCP: Cannot connect to <IP_ADDRESS>:20000 Connection timed out\n', stderr='', time_seconds=130.935195, hit_timeout=False), ProcessRun(rc=1, stdout='Error getting SSL CTX:1\nAllocating shared memory of size 156624 bytes\nError connecting to <IP_ADDRESS>\n\n** TCP: Cannot connect to <IP_ADDRESS>:20000 Connection timed out\n', stderr='', time_seconds=131.074382, hit_timeout=False), ProcessRun(rc=1, stdout='Error getting SSL CTX:1\nAllocating shared memory of size 156624 bytes\nError connecting to <IP_ADDRESS>\n\n** TCP: Cannot connect to <IP_ADDRESS>:20000 Connection timed out\n', stderr='', time_seconds=131.068473, hit_timeout=False)], successful=None)
2021-12-03T15:10:48Z - INFO     - MainProcess - _benchmark: Cleaning up
2021-12-03T15:10:48Z - INFO     - MainProcess - run_snafu: Indexed results - 0 success, 0 duplicates, 0 failures, with 0 retries.
2021-12-03T15:10:48Z - INFO     - MainProcess - run_snafu: Duration of execution - 0:06:33, with total size of 0 bytes
1

# oc get pods
NAME                                                           READY   STATUS    RESTARTS   AGE
benchmark-controller-manager-7c9ff9796b-d4pjn                  2/2     Running   0          9m33s
uperf-client-<IP_ADDRESS>-1338d118--1-hscdj                      1/1     Running   0          7m12s
uperf-server-dry-gcp2-6c86n-worker-a-rnh-0-1338d118--1-qtl9g   1/1     Running   0          7m43s

...

# oc get pods
NAME                                            READY   STATUS      RESTARTS   AGE
benchmark-controller-manager-7c9ff9796b-d4pjn   2/2     Running     0          16m
uperf-client-<IP_ADDRESS>-1338d118--1-hscdj       0/1     Completed   0          14m

We capture the failure here (https://github.com/cloud-bulldozer/benchmark-wrapper/blob/b9ddc342647ab994a87353aa7721147101f99428/snafu/benchmarks/uperf/uperf.py#L331) but never do anything with the bad result except log it.

cc @morenod this is the reason for our hostnetwork tests passing even though they should fail.

Related PRs

https://github.com/cloud-bulldozer/benchmark-operator/pull/782
https://github.com/cloud-bulldozer/benchmark-wrapper/pull/439


support for web sockets and socket.io planned?

We use socket.io in our current Swift iOS app and would love to move from Node.js to perfect.
Please consider adding socket.io support into your plans.  A roadmap of features (and a place to vote for your favorite) would be a great addition to this project.

goog idea.
I hope perfect'll develop soon.

We do have a list of features (and unpublished functions). Any suggestions on a voting mechanism? (Please don't say Reddit - not that we don't love Reddit, but something more succinct and manageable would be nice).

I have looked around a bit on the site and I don't see the list of planned features anywhere public.  Is it out there yet or are you still working on how to present it and get feedback from the community?
I don't have a specific suggestion on the voting process.  I recently used one where each user account got a number of stars (10 initially) and then they could allocate 1..3 stars to any suggestion and they could also create new suggested changes.  I think that the site (I am having a moment where I cannot remember this site, ugh!) also periodically grants new stars to accounts to allow continued involvement in the process.
I'll see if I can find the site/voting mechanism they used.
Keep up the great work with this project and site!  Once there is a place for voting for features, I'd like to add the following items to the list:

socket.io support
URL routing support
policy rules for accessing various 'controllers'
authentication support (AWT)

I am coming from Node.js/Sails and want to bring some of the best of that to Swift

Ah, found it.  You might want to consider the tool used by good notes (http://feedback.goodnotesapp.com/forums/191274-goodnotes-ideas)
It is called UserVoice (http://www.uservoice.com/), specifically the SmartVote under Product Management.  Sadly, it is not cheap.  Perhaps they would be willing to offer some discount for GPL projects.

Socket.io + URL routing would be awesome. :+1:

Is an express-like GET/POST/PUT/UPDATE/DELETE etc. HTTP request handling yet possible? As in
Perfect.get("/users", { (request, response) in ... return response.Status(.OK) })
Perfect.get("/users", { (request, response) in ... return response.Status(.OK) })
Perfect.get("/users/{id}", { (request, response) in ... return response.Status(.OK) })
Perfect.post("/users", { (request, response) in ... return response.Status(.OK) })
...

Possibly with support for middleware? I think that would really get the ball rolling.

I think it's better to have core websocket support in Perfect library, and have socket.io protocol implementation as a plugin or extension.


PDF Randomly Renders with Black Pages

This seems to happen randomly, and pretty rarely but often enough to be annoying. The same PDF which usually renders fine will sometimes render with black pages. What could be causing this?

Hi @ConProgramming
Hard to say without more details, but if your app uses light/dark themes, I'd check whether they're interfering with pdf.js's CSS styles.

Hi @ConProgramming
Hard to say without more details, but if your app uses light/dark themes, I'd check whether they're interfering with pdf.js's CSS styles.

Thanks for the response @van100j. It only happens on dark themes, but it seems to be random and pretty rare. It also always goes away on refresh. Is there some parameter I can pass that forces pdf.js to stay light theme?
I looked online and saw some notes of pdf.js having a built in dark theme but I couldn't find how to force it to stay disabled.

@van100j I managed to find the source of the CSS - it's a filter being applied directly on the canvas.
On closer inspection, this CSS was bleeding in from another Svelte component. Sorry about this, thanks for the help!


Hang when open .mpls from some 3D BD

Latest version is hang when open .mpls from some 3D BD.
We have infinity loop here https://github.com/MediaArea/MediaInfoLib/blob/master/Source/MediaInfo/Video/File_Avc.cpp#L2265, TemporalReferences_Reserved = 0.
I made patch(for MPC-BE) - it's here https://sourceforge.net/p/mpcbe/code/2499/#diff-2
and more accurate fix - https://sourceforge.net/p/mpcbe/code/2500/#diff-1

I don't like the infinite loop and I think we should detect it in case the fix does not prevent this scenario.
But it is a goof hot-fix. And this part of the code definitely needs a refactoring :(.
Would you mind to contact me for providing a way to reproduce the issue on my side so I can put it in non-regression tests?


RecursionError when fine-tuning

Hi and thanks for great work! I was facing the following error while loading tokenizer from pre-trained weights in the /open-instruct/finetune.py script (finetuning with accelerate):
RecursionError: maximum recursion depth exceeded
This issue is resolved when changing AutoTokenizer to LlamaTokenizer.
Also - this solution also worked previously for weight_diff script (issue https://github.com/allenai/open-instruct/issues/8).

Hi, sorry about that! Which model are you using? I updated the tokenizer configs in the huggingface repos semi-recently to try and fix this issue, so if it's been over a week or two since you downloaded the models, it might be worth checking if that helps. I tried to reproduce the issue locally and didn't have a problem (apart from having to override an assert, which I'll fix shortly).

Closing due to inactivity.


Fix the example_dataframe DAG

Description
What is the current behavior?
Currently the serialization/Deserialization is breaking for dataframe containing timestamp and datetime columns.
>>> covid_month = covid_month_data.Date_YMD.iloc[0].__format__("%Y-%m")
                 Date   Date_YMD  Daily Confirmed  Total Confirmed  Daily Recovered  Total Recovered  Daily Deceased  Total Deceased
0    30 January 2020 2020-01-30                1                1                0                0               0               0
1    31 January 2020 2020-01-31                0                1                0                0               0               0
2    1 February 2020 2020-02-01                0                1                0                0               0               0

The above code works in pandas but astro-sdk code is retrieving this Date_YMD column as below, due to which the format specifier isnt working
[       Date       Date_YMD  ...  Daily Deceased  Total Deceased
0   2020-01-30<PHONE_NUMBER>000  ...               0               0
1   2020-01-31<PHONE_NUMBER>000  ...               0               0
337 2021-01-01<PHONE_NUMBER>000  ...             237          148664
338 2021-01-02<PHONE_NUMBER>000  ...             216          148880
[2022-12-01, 07:20:39 UTC] {taskinstance.py:1772} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/astro/sql/operators/dataframe.py", line 170, in execute
    function_output = self.python_callable(*self.op_args, **self.op_kwargs)
  File "/usr/local/airflow/dags/example_dataframe_api.py", line 51, in find_worst_covid_month
    covid_month = covid_month_data.Date_YMD.iloc[0].__format__("%Y-%m")
ValueError: Invalid format specifier

What is the new behavior?
We bypassed the code for time being until we fix the below issue:
https://github.com/astronomer/astro-sdk/issues/1425
Does this introduce a breaking change?
Nope

We can close this PR right @utkarsharma2 in favor of #1427 ?


Verbose output is displayed faulty

I was trying to use the example Code as follows:
def black_box_function(x, y):
"""Function with unknown internals we wish to maximize.
This is just serving as an example, for all intents and
purposes think of the internals of this function, i.e.: the process
which generates its output values, as unknown.
"""
return -(x ** 2) - (y - 1) ** 2 + 1

from bayes_opt import BayesianOptimization
"Bounded region of parameter space"
pbounds = {"x": (2, 4), "y": (-3, 3)}
optimizer = BayesianOptimization(
f=black_box_function,
pbounds=pbounds,
random_state=1,
)
optimizer.maximize(init_points=2, n_iter=3)
But the output looks like this:
|   iter    |  target   |     x     |     y     |
| ?[0m 1       ?[0m | ?[0m-7.135   ?[0m | ?[0m 2.834   ?[0m | ?[0m 1.322   ?[0m |
| ?[0m 2       ?[0m | ?[0m-7.78    ?[0m | ?[0m 2.0     ?[0m | ?[0m-1.186   ?[0m |
| ?[95m 3       ?[0m | ?[95m-7.11    ?[0m | ?[95m 2.218   ?[0m | ?[95m-0.7867  ?[0m |
| ?[0m 4       ?[0m | ?[0m-12.4    ?[0m | ?[0m 3.66    ?[0m | ?[0m 0.9608  ?[0m |
| ?[95m 5       ?[0m | ?[95m-6.999   ?[0m | ?[95m 2.23    ?[0m | ?[95m-0.7392  ?[0m |
I have installed Version 1.1.0 via PIP on a Windows 10 machine using
Python 3.7.8
numpy  1.18.5
scikit-learn 0.23.2
scipy 1.5.2

Looks like some ascii color encoding not being displayed correctly. What are you using to run the program, e.g. terminal, iTerm, pyCharm, etc.?

Am having this issue myself. Running it in Windows PowerShell window (Python 3.11) gives this output with verbose 1 and 2.

If the code is run within Visual Studio Code's terminal, it displays fine.


add copy to clipboard icon to tooltips

closes: https://github.com/opendatahub-io/odh-dashboard/issues/1476
Description

added a copy icon to the resource name tooltip
design:
- Add the helper text to the bottom of the tooltip
- copy icon uses  still to preserve padding, however this means i had to set the style of the pointer manually
- there is currently no confirmation when copied
- the BYONImages from the backend is not returned as a standard k8 object... so i added a eitherNotBoth to allow for manual input of name and kind or a k8 resource.
Outdated

Outdated
https://github.com/opendatahub-io/odh-dashboard/assets/12587674/5e896138-bd9b-4395-9bdc-5eaa42ad637b
How Has This Been Tested?

go to notebook images in settings
make sure it is not empty
see help icon
hover on help icon and click
make sure it copied

Test Impact

no impact - all labels are preserved
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change.

@kaedward does this text look good on this?
@vconzola @kywalker-rh Is this what you were envisioning?
After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@vconzola @kywalker-rh Here is an update of the current UI
This is the same popover you get from the BYON UI too.
A bit of a summary:

We moved away from the UX of having the help icon switch to a copy icon as the curser covered the icon on hover, and there was no clear text we found that indicated that pressing the tooltip icon was how you copied the name.
We then moved to adding the copy icon to the tooltip body, this was against PF guidelines (having user actions inside a tooltip)
We moved to a popover to fix that issue, but we needed to then make the icon a button as popovers need to be pressed and not hovered. Icon buttons mess with the icon padding, so we made a custom DashboardPopupIconButton which removes this padding so it looks better inline with other icons
We also then moved away from creating our own copy button inside the popover, and are now using PF inline compact copy field

https://github.com/opendatahub-io/odh-dashboard/assets/12587674/14193775-7861-4f24-9e2f-8bb37cce111b

This is definitely the correct solution from a UX and PF perspective. Thanks for doing this. I assume it will be applied to all places in the UI where we display resource names?

Thanks for doing all this, and for all the back and forth, I know it was a lot. I think this is definitely the right solution.


AllowJS files in tsserver when no project is given

This is a hot issue for VSCode. Effectively, with no config file provided, we don't resolve CommonJS modules in JavaScript files.
The issue is that although allowNonTsExtensions is set by default, allowJs currently isn't, and when nodeModuleNameResolver is called, it only resolves files with supportedExtensions. If allowJs isn't set, then .js isn't in the set of file extensions it looks for.
This is a one line change in tsserver only, so should not impact VS. (We should decide if getDefaultCompilerOptions in services.ts should set this by default also, but this is the minimal/least risk change for now).

:+1:

:+1:

thanks much!


adding app JumpFM

A dual panel file manager for Linux.

See jumpfm.org for more details.

Nice! Do you want to add a screenshot? See https://github.com/electron/electron-apps/blob/master/contributing.md#adding-your-app

Added.

It looks like tests are failing because your YML file has some invalid indentation:
/home/travis/build/electron/electron-apps/node_modules/yamljs/lib/Parser.js:312
        throw new ParseException('Indentation problem.', this.getRealCurrentLineNb() + 1, this.currentLine);
        ^
Error: Indentation problem.

I think the screenshot props need to be indented.

👍


Translation modified and Monochrome icon supported.

Issue
none
Overview (Required)
-Added Simplified Chinese.
-Modified Strings.xml to English. (Instead of Japanese version added.)
-Monochrome icon supported.
Screenshot

Simplified Chinese

Monochrome Icon

Sorry, I can only see the changes that delete resources.
Can you tell me more information?

Sorry. I made mistake when I commit this.
May I Pull Request again?

Sure. Go ahead. 👍


How to capture  the x axis  tick label

http://jsfiddle.net/duc8sLmo/
whenever we hover on bar chart on top of that we see a  x axis tick label i need to capture"may 20015" "zune 2015"  onclick event . tried with onclick i got this object { x: 1, value: 2, id: "y", index: 1, name: "y" }.
i am getting index value on each click , not getting that string x="may 2015" please help me with this.

Please use the c3js project page for questions about the c3 library.


setDefaultMaskType not work

SVProgressHUD.setDefaultMaskType(.gradient)
not work

This issue is a duplicate of #719
setDefaultMaskType is apparently only not working with .gradient in Swift 3 since version 2.1.2, at least. .black and .white seems to be ok.

Can someone provide a swift demo project?

Should be working again.


#165: NPE when asking beam log reader for watermark

Do we have a description of the problem? @tisonet can you please fill an issue in O2-Czech-Republic/proxima-platform? One question that comes to mind - is this problem related to some corner case in life-cycle of the source, or is it supposed to happen from time to time? Should we worry about the race condition in general (and turn the reference to AtomicReference)?

@je-ik yes we do
https://github.com/O2-Czech-Republic/proxima-platform/issues/165

all operations are executed in synchronized block (with checkpoint lock acquired), but the order may not be preserved, so no need to worry about thread safety

Cool, thanks!
This closes O2-Czech-Republic#165


Update Remove-DatabaseFromAvailabilityGroup.md

Set -AGName description from added to removed. Fix general formatting. Removed SharePoint 2010 as applicable.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Remove-DatabaseFromAvailabilityGroup.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


license/cla check fails to report for recent PRs

licence/cla check is not reporting back for all our recent PRs https://github.com/uber/cadence/pulls

I'm looking into it. From a first look at the logs it looks like it correctly receives and tries to update the PR status but then stop for whatever reason:
jsonPayload: {
  hostname: "localhost"
  level: 20
  msg: "StatusService-->createStatus for the repo uber/cadence/pull/4498"
  name: "cla-assistant.io"
  pid: 13
  src: {
   file: "/cla-assistant/src/server/services/status.js"
   func: "createStatus"
   line: 64
  }
  v: 0
 }

Found the problem.
CLA-assistant uses the token of the user who configured it to perform actions. In this case the user, who did the setup for the whole uber organization is now longer part of the the uber organization and therefore the token is now longer allowed to update the commit Status.
To resolve this, please get one of your open source/GitHub admins to go to https://cla-assistant.io and and link the organization again as described in https://github.com/cla-assistant/cla-assistant/blob/master/COMMON_ISSUES.md#unable-to-link-organization.
This will update the used tokens and should fix the problems. The admin can then as well hit the "Recheck PRs" in the organization settings in CLA-assistent to trigger a recheck.
Alternatively you can manually recheck them with curl-ing or just browsing to https://cla-assistant.io/check/uber/cadence?pullRequest=4500.

Thanks a lot @Shegox !

@Shegox can you help me with this one? I have been trying very hard to merge it https://github.com/uber/cadence/pull/4498
Thanks in advance!

@longquanzheng the prerequisite to get it working again is that someone from the uber organization admins goes to cla-assistant.io and updates the authentication. Only afterwards either the "curl" or the "recheck PRs" will work again. Currently the problem is that cla-assistant has no valid token with enough permissions to update the commit status and therefore "nothing" happens.
You can find the owners of the uber organization here: https://github.com/orgs/uber/people?query=role%3Aowner

@meiliang86 @longquanzheng I see that it is now working again (e.g. https://github.com/uber/cadence/pull/4501). Therefore I'm going ahead and close the issue. If there are still problems, please open a new issue. Many thanks.


The Identity breaks the API in Shuttle and during Tests in the Github Actions runtime

Action Identities let Action Providers have verifiable on-chain transactions. The mechanics behind it are pretty simple, we have a secret key used to sign a unique message attached to each transaction returned by the API, this is then used to verify the authentication of an Action.
The way this works atm involves an identity property in the Znap.toml file pointing to the same path where Solana stores the default Keypair in your OS ~/.config/solana/id.json. This works fine locally as long as you have such file and you can serve the API in your server and by having a keypair that path you can assure it all works well.
The problem comes when we try to serve the API in a run-time outside our direct control. For example, the Shuttle runtime doesn't have such path available, the keypair should be store somewhere else and should be accessible within the run-time serving the API. The same happens with the GitHub Action run-time.
There are multiple ways to solve this, we want to avoid changing Znap API as much as possible. Being able to configure this in the Znap.toml without changing the logic of the framework would be a great solution. For Shuttle and Github runtime, we need a way to "upload" or "set up" a keypair. For tests it might make sense to generate it on-demand, for Shuttle in the other hand might be better to have one fixed.
Something like this in the Znap.toml might work:
[local]
identity = "~/.config/solana/id.json"

[deploy]
identity = "<another path that works for your specific deployment>"

[ci]
identity = "<another path that works for the ci environment>"

Generally the best way to handle this is by means of secrets since in the building and CI processes they are kept hidden, in the same way in infrastructures that use docker the secrets are used, these at code level work the same as the environment variables so I think we should opt for something more like this:
  let identity_keypair =
      Keypair::read_from_file(env::var("IDENTITY_KEYPAIR_PATH").unwrap())
      .or(Keypair::from_bytes(env::var("IDENTITY_KEYPAIR").unwrap_or_default().as_bytes()))
      .unwrap();