suppress invalid syntax warning for macro call

use the inline suppressing function of cppcheck to disable the syntaxError warnings shown here:
https://ci.ros2.org/view/nightly/job/nightly_win_rel/1338/testReport/junit/(root)/projectroot/cppcheck_2/

Linux
Linux-aarch64
macOS
Windows

Signed-off-by: Karsten Knese<EMAIL_ADDRESS>

alternatively we could change the macro accordingly so that we have essentially two macros.
We could rename the existing macros into something like TRY_PLACEMENT_NEW_WITH_ARGS where the VA_ARGS are passed explicitly to the constructor and a second one which is just called TRY_PLACEMENT_NEW, which doesn't have the ... support and thus avoids the trailing ,.

for completeness, rerunning linux ci:


Add 'name' entry to metadata.rb for Berkshelf compatibibility

Can be fixed by merging this PR https://github.com/fooforge/chef-cookbook_bind9/pull/10/files


Can't re-train on a problem

I completed this problem in JavaScript, realised I hadn't removed my debugging output and went back to "re-train" to submit a fixed solution. But all I ever see on that page is "Loading kata...". I can access the training pages for the other 3 languages just fine. I can also still access the JavaScript solutions.

Latest deployment should resolve the issue

Sadly not - the issue persists.

Closing old issue. Please open a new issue if this problem is still there.


Fixed android timezone issue and corresponding e2e test

Compatibility

OS
Implemented

iOS
❌

Android
✅

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)
[ ] I have added automated tests, either in JS or e2e tests, as applicable

Corresponding PR to react-native-datetimepicker has been made.
https://github.com/react-native-datetimepicker/datetimepicker/pull/472


Switch to ansible 2.1

Ansible 2.1 is now required by openshift-ansible
Fixes: #181
Fixes: #185

Still WIP - not tested yet.

Hm, this needs more love - doesn't work.

It should work now, @cbrown2 let me know if this works for you (git_rev should point back to master in the env_file)

@jprovaznik thanks, testing now, will update shortly

@jprovaznik thanks, I can confirm that has built successfully using flannel, no load balancer and no private registry.

Note that with ansible 2.1 there is now a performance regression issue. Installation passes, but takes significantly longer than used to be (2x times on 1 master, 2 nodes).
https://bugzilla.redhat.com/show_bug.cgi?id=1360440

@jprovaznik ok, thanks for the heads up. Please ping us for additional testing as we have no deployed to production yet.


COGReader constructor doesn't actually take a crs parameter

Tested this in 3.1.6 and 3.1.0.
The COGReader constructor says it takes a "crs" parameter for the dataset crs:

crs (rasterio.crs.CRS): Dataset CRS.

However, actually passing this parameter results in an immediate error.
from rio_tiler.io import COGReader
import rasterio

with COGReader("s3://hrrrzarr/sfc/20210101/20210101_00z_anl.zarr/surface/TMP/surface/TMP",
              crs=rasterio.CRS.from_dict(proj_params)) as image:
    print(image.dataset)

Error:

TypeError: init() got an unexpected keyword argument 'crs'

Without the crs parameter, COGReader can read the zarr dataset in that example, but the dataset itself doesn't contain the CRS info so I can't do much with the resulting image. Please let me know if there's a workaround to set the dataset crs.

@adair-kovac sorry about that. CRS is a property not an attribute.
list of inputs are defined here https://github.com/cogeotiff/rio-tiler/blob/master/rio_tiler/io/cogeo.py#L80-L107
I'll fix the doc later.
About reading Zarr dataset, if GDAL doesn't recognize the geo-information, COGReader won't be able to work properly with the dataset.

I've updated the docstring in https://github.com/cogeotiff/rio-tiler/commit/5f73ec1acd0eb4ce97704573d5687db6782aed19#diff-9c05aca328b2260df1dc8e2696999b4fba3d1966638e78c5d3265091bb4fdf01

Ah, thank you!


Scan now and Estimate now option from the Assets screen

Problem Statement
As a user I would like to be able to create an AssetScan for a specific Asset from the assets screen. This is useful when investigating an environment where you don't want to scan everything, or when someone is first trying out VMClarity and wants to try things out.
Proposed Solution
Add a Scan Now and Estimate Now option to the Assets table.
Alternatives Considered
Add a button which directs the user to the ScanConfig screen and opens the wizard to create a ScanConfig with a predefined scope. This results in a periodic Scan config getting created and isn't ideal for a single shot asset scan.
Additional Context
N/A

Need to define UX, whether we do it from asset drill down, or table, wether we reuse the scan config wizard, etc.


Docker Hub

Is the container for mailhog only has mailhog, does it also have mhsendmail or do i need to add mhsendmail, i try everything i can think, i even try to install on fpm and nginx.
im not sure where I'm doing wrong.

No, mhsendmail is not included in the mailhog/mailhog docker container. You will need to download mhsendmail (by either curl or go get) in the container that you are planning to send email from.
For example, I have a PHP container, and a mailhog container, to connect between the two, I need to include this in the PHP image dockerfile:
RUN curl -LkSso /usr/bin/mhsendmail 'https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64'&& \
    chmod 0755 /usr/bin/mhsendmail && \
    echo 'sendmail_path = "/usr/bin/mhsendmail --smtp-addr=mailhog:1025"' > /usr/local/etc/php/php.ini;

Then, I do have couple of things I want to share. when i do a go get, assuming that i have to download the go packages as well. with the one with the mhsendmail that uses go get, i see that it has the following
Usage of mhsendmail:
  -f, --from string        SMTP sender (default "root@e0a286d79302")
  -i, --long-i             Ignored. This flag exists for sendmail compatibility. (default true)
  -o, --long-o             Ignored. This flag exists for sendmail compatibility. (default true)
  -t, --long-t             Ignored. This flag exists for sendmail compatibility. (default true)
      --smtp-addr string   SMTP server address (default "localhost:1025")
  -v, --verbose            Verbose mode (sends debug output to stderr)

rather if i do a curl, it doesn't have all this preset, so it asks me to set up --from and --smtp-addr.  so i couldn't use the curl.. it seems like is not the same version. is it because of the docker version is different from the one that uses curl

i didn't wanna use the go get because, it downloads 200MB worth of go packages just to get mhsendmail, i feel like this is really silly. so what i did was i jsut took mhsendmail copy it over to my project and create and add mhsendmail to project. without go.

The way you could do it with curl was there in the example code bit. Let me clarify. Those instructions will:

Curl the mhsendmail binary into /usr/bin/mhsendmail in your PHP container
Change the mhsendmail binary mode to 0755, making it executable.
Add the mhsendmail configuration into PHP.

Instead of using sendmail when the PHP mail() function is called, PHP will now use /usr/bin/mhsendmail as a replacement for sendmail. The --smtp-addr=mailhog:1025 bit points to the mailhog container was the port needed to be exposed to send the mail into. You can also set the<EMAIL_ADDRESS>to by adding a parameter before echoing into php.ini.
From that point, you can test the mail function by running this command inside the container:
$ php -r<EMAIL_ADDRESS>'test subject', 'test body');"

If done correctly, when you go to localhost:8025 (or whatever port you're mapping your mailhog container to), it will show the email that you just "sent". (The sender here is "nobody" because I didn't put in a --from in the config).

Also, I understand the bit where you said you don't want to do go get to avoid downloading a bunch of stuff you don't need. I get that, which is why I also chose to do a curl in my own image.
The "preset" you said, is actually what shows when you don't have the parameters set up, which also applies when you do a go get anyway. go get is not something to do with docker at all, it's actually downloading the mailhog/mhsendmail github repository, and then by that instruction link, they also just copy the binary into /usr/bin and echoing the config into php.ini. The main difference between the go get and the curl method is one method download the whole code repository, the other one just download the binary.
Not everything in that "preset" you posted on here is needed (they even said so themselves, "Ignored. This flag exists for sendmail compatibilty"). The part you really need to focus on is setting the parameters for --from and --smtp-addr, which also shows up even if you are downloading just the binary by curling. This is what shows up if I run the mhsendmail --help command in the container.

To sum up my bunch of long comments are:

The mailhog/mailhog container on dockerhub does not come with mhsendmail.
You will need to install the mhsendmail binary in your own backend container, either by curling or go get.
You will also need to configure it to connect to the mailhog container, and run the 2 containers side by side. For PHP, this is configured in the php.ini file.

thanks, sam for pointing me in the right direction. I'll try again by using curl and fixed the parameters. closing ticket as resolved.

Hello guys I was having trouble with php sendmail configuration and unable to send emails to the mailhog container but thanks to @samhwang I managed to make it work.
I wanted to point out that the php and the mailhog containers have to share the same network otherwise you will get the "no such host" error message when you try to send an email from php:
dial tcp: lookup mailhog on <IP_ADDRESS>:53: no such host

Hello guys I was having trouble with php sendmail configuration and unable to send emails to the mailhog container but thanks to @samhwang I managed to make it work.
I wanted to point out that the php and the mailhog containers have to share the same network otherwise you will get the "no such host" error message when you try to send an email from php:
dial tcp: lookup mailhog on <IP_ADDRESS>:53: no such host

No, mhsendmail is not included in the mailhog/mailhog docker container. You will need to download mhsendmail (by either curl or go get) in the container that you are planning to send email from.
For example, I have a PHP container, and a mailhog container, to connect between the two, I need to include this in the PHP image dockerfile:
RUN curl -LkSso /usr/bin/mhsendmail 'https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64'&& \
    chmod 0755 /usr/bin/mhsendmail && \
    echo 'sendmail_path = "/usr/bin/mhsendmail --smtp-addr=mailhog:1025"' > /usr/local/etc/php/php.ini;

For instructions on installing with go get, have a look here: https://phauer.com/2017/test-mail-server-php-docker-container/

Than you so much for the instructions on how to install mhsendmail with curl. I really wish this information was available directly on the Mailhog and/or the mhsendmail pages. We need to add mhsendmail to a container, and finding out how to do it was difficult.


Don't prepend ./ to file paths' when using --dir=.

Motivation

This makes some things easier in the Sorbet Compiler. It also looks better in
error messages.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_KKZRmzef7ODrna
→ https://go/builds/bui_KKZSHZ7G4EVt10


feat: add excel reader

Currently this only adds the table function read_excel. Will follow up in a separate PR to enable create table syntax.
A lot of the credit here goes to the roapi implementation.

We could possibly also add inferring the function from the xlsx extension as well.


Use Redux in React Components

[x] Change the default state in the books reducer to display a few books.
[x] Import Redux Provider and store in the main component of your React app.
[x] Connect app to the Redux store.
[x] Use useSelector to consume the state.
[x] Add a functionality for "Add new" button click:

Import Redux useDispatch.

[x] Set the data inputs in the local React state (set title and author).
[x] Add a functionality for "Remove" button click:

Import Redux useDispatch.

[x] Dispatch a corresponding delete action.
[x] Add a functionality for "Check status" button click:

Import Redux useDispatch.

[x] Dispatch a corresponding action.

Hi @Draxeytina,
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

thank you @DeliceLydia


LSTM Cell state value does not have activation function applied to it before being returned.

My understanding was that that the cell state would have the activation function applied to it before being returned. However, it can exceed 1, or be far into the negative ranges, which should be impossible if the activation function is being applied.
Here's some example code:

from numpy import *
from keras.layers import Input,  LSTM
from keras.models import Model
main_input = Input(shape = (3,1), dtype = 'float32', name = 'main_input')
lstm_out = LSTM(1,use_bias = False, return_state = True)
sequence_out, state_h, state_c = lstm_out(main_input)
model = Model(inputs = main_input, outputs = [sequence_out, state_h, state_c])
model.layers[1].set_weights([array([[1,1,1,1]], dtype=float32), array([[1,1,1,1]],
                            dtype=float32)])
predict = model.predict(array([1,1,1]).reshape(1,3,1))

print(predict)

And output:
[array([[0.7629155]], dtype=float32), array([[0.7629155]], dtype=float32), array([[1.6458433]], dtype=float32)]

If you examine the predictions, it can be seen that the cell state does not have the activation function applied. It is 1.6, when it should be in the range of the activation function. Is this intended behaviour? Does the same thing apply during training, or is this just when predicting?
Thanks for any help on this issue.

Looks like I just misread what an LSTM cell state is. The activation function is only applied to the input.


Hhh 10181: CacheableFileXmlSource.doBind uses obsolete .bin file.

Test and fix for Hibernate ORM HHH-10181: CacheableFileXmlSource.doBind uses obsolete .bin file.
CachableFileXmlSource now behaves as documented at JavaDoc
org.hibernate.boot.MetadataSources.addCacheableFile(File file):
"If a cached  {xmlFile}.bin} exists and is newer than  {xmlFile}}, the  {xmlFile}.bin} file will be read directly. Otherwise  {xmlFile}} is read and then serialized to  {xmlFile}.bin} for use the next time."

Applied this upstream.  Thanks!


Print empty lines in file

perl6 -e 'lines.grep(/\s/).elems.say' example.txt
does not work for this. It matches any line with a space in it.
perl6 -e 'lines.grep(/^\s$).elems.say' would work, also perl6 -e 'lines.grep({ $_ !~~ /\S/}).elems.say'

Doh, thanks for reporting this! I've fixed it with:
perl6 -e 'lines.grep(/^\s*$).elems.say

You're missing a closing slash, there... But it looks like you included it in the actual text. \o/ :-)


Add completion support for regular expressions

Purpose
This PR adds completion support for regular expressions with

the regex snippet re ``
interpolation (already supported)
snippets for character classes d, D, s, S, w, W and control escape r, n, t .
snippets for () and []
snippets for flag options m,s,i,x

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/38095
Samples

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@TharushiJay added a comment in https://github.com/ballerina-platform/ballerina-lang/issues/38095#issuecomment-1309743305. Is that do-able?

#38095 (comment)

@pcnfernando I wanted to understand this requirement a bit more. Let's have a chat on this later.


Sync cmake and build.py defaults

Cmake had LTO OFF, build.py had LTO ON by default. ON became the
common setting.
Cmake had snapshot save/exec OFF, build.py had them ON by
default. OFF became the common setting.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

LGTM

LGTM


Many APIs broken

It looks like a ton of APIs just changed or broke. None of the JSON-based clients I used seem to be able to log in (I was using one as this happened, and it failed to fetch the playlist, so looks like that's broken also).
My own REST-based app can't load the station list anymore (looks like getShuffle, is just, gone, as well as other things changing).
Hopefully, things have just changed and we won't lose any functionality long-term. I hope this isn't a sign that the Pandora devs have finally learnt to build secure APIs...

Oh, I just checked their website... Looks like they're just doing maintenance. Will close this issue once they've finished and we can see if anything changes.

Works for me right now. Still an issue?

Yup, the web interface itself complains if you try to shuffle atm.

Turns out using getStations in my app now gives back a 500 status code and the following JSON:
{message: Internal server error, errorCode: 0}

Figured I'd mention this because it can be useful to prepare for this error in our apps now.
It's odd, because the above API seems to work fine in the web app...
I'm not going to spend much time investigating unless the issue remains after the maintenance, though.

More info: Looks like it's the REST v1/listener/getProfile (and probably the JSON equivilent) endpoint breaking logins. Same response as described above.

Everything seems good now.


regular-chatbot problems

When not adding the \b assertion in test("^chatbot\\b"; "i"), the test feedback is not helpful: what's the string being tested?
FAILED
Test 4
does not recognize word characters after chatbot

TEST FAILURE
(from function `assert_line' in file bats-extra.bash, line 276,
 in test file test-regular-chatbot.bats, line 51)
  `assert_line --index 0 false' failed
-- line differs --
index    : 0
expected : false
actual   : true
--

The test runner is not able to extract the test code for that one test
$ pwd
/home/glennj/src/exercism/tracks/jq/exercises/concept/regular-chatbot

$ cd ~/src/exercism/tooling/jq-test-runner
$ bin/run.sh regular-chatbot ~/src/exercism/tracks/jq/testing{,}
Running exercise tests for JQ
Test slug: regular-chatbot
Solution directory: /home/glennj/src/exercism/tracks/jq/testing
Output directory: /home/glennj/src/exercism/tracks/jq/testing
Running tests.
Test output:
1..18
[... litany of failures ...]
Test run ended. Output saved in /home/glennj/src/exercism/tracks/jq/exercises/concept/regular-chatbot/results.out
/home/glennj/src/exercism/tooling/jq-test-runner
Producing JSON report.
Tried to run 18 tests according to TAP plan.
Wrote report to /home/glennj/src/exercism/tracks/jq/exercises/concept/regular-chatbot/results.json

$ cd -
$ jq . results.json
{
  "version": 3,
  "status": "fail",
  "test-environment": {
    "jq": "jq-1.6",
    "bats": "Bats 1.8.0",
    "OS": "Ubuntu 22.04.1 LTS"
  },
  "tests": [
    {...},
    {...},
    {...},
    {
      "name": "does not recognize word characters after chatbot",
      "status": "fail",
      "test_code": "",
      "message": "(from function `assert_line' in file bats-extra.bash, line 276,\n in test file test-regular-chatbot.bats, line 51)\n  `assert_line --index 0 false' failed\n-- line di
ffers --\nindex    : 0\nexpected : false\nactual   : \"CHATBOT123 how many of you are there?\"\n--\n"
    },
    ...


locked up

meta mask is stuck wont connect

Yeah metamask locked everything and still is and I've used all my passwords and phrases and it's not giving it up


Can't do visualizations for previously run GPA

The GPA loads and everything shows up for the analysis, but when I switch to the 'explore data' or 'interactive visualizations' tab I'm not able to do any visualizations. I've coppied the log message below. I was reloading a gpa for the SlicerMorph mouse skull example. I was able to do everything on all tabs if I rerun the analysis from the fcsv files but not if I load from file.
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Session start time .......: 2021-03-01 16:05:25
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Slicer version ...........: 4.11.20210226 (revision 29738 / 7a593c8) macosx-amd64 - installed release
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Operating system .........: macOS / 11.2.1 / 20D74 / UTF-8 - 64-bit
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Memory ...................: 16384 MB physical, 2048 MB virtual
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 2 cores, 4 logical processors
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - VTK configuration ........: OpenGL2 rendering, Sequential threading
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Qt configuration .........: version 5.15.1, with SSL, requested OpenGL 3.2 (core profile)
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Developer mode enabled ...: yes
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Prefer executable CLI ....: yes
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Application path .........: /Applications/Slicer 3.app/Contents/MacOS
[DEBUG][Qt] 01.03.2021 16:05:25 [] (unknown:0) - Additional module paths ..: Extensions-29738/Auto3dgm/lib/Slicer-4.11/cli-modules, Extensions-29738/Auto3dgm/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/DeveloperToolsForExtensions/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/MarkupsToModel/lib/Slicer-4.11/qt-loadable-modules, Extensions-29738/ModelToModelDistance/lib/Slicer-4.11/cli-modules, Extensions-29738/RawImageGuess/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/Sandbox/lib/Slicer-4.11/qt-loadable-modules, Extensions-29738/Sandbox/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/SlicerDcm2nii/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/SlicerIGT/lib/Slicer-4.11/qt-loadable-modules, Extensions-29738/SlicerIGT/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/SlicerJupyter/lib/Slicer-4.11/qt-loadable-modules, Extensions-29738/SlicerJupyter/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/SlicerMorph/lib/Slicer-4.11/qt-scripted-modules, Extensions-29738/SurfaceWrapSolidify/lib/Slicer-4.11/qt-scripted-modules
[DEBUG][Python] 01.03.2021 16:05:26 [Python] (/Applications/Slicer 3.app/Contents/lib/Python/lib/python3.6/site-packages/pydicom/datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword...
[WARNING][Qt] 01.03.2021 16:05:33 [] (unknown:0) - libpng warning: iCCP: profile 'ICC Profile': 'CMYK': invalid ICC profile color space
[WARNING][Qt] 01.03.2021 16:05:33 [] (unknown:0) - libpng warning: iCCP: known incorrect sRGB profile
[DEBUG][Python] 01.03.2021 16:05:34 [Python] (/Applications/Slicer 3.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 01.03.2021 16:05:35 [Python] (/Applications/Slicer 3.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 01.03.2021 16:05:35 [Python] (/Applications/Slicer 3.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Python] 01.03.2021 16:05:35 [Python] (/Applications/Slicer 3.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: ExportAs
[INFO][Python] 01.03.2021 16:05:35 [Python] (:3) - Customizing with SlicerMorphRC.py
[INFO][Python] 01.03.2021 16:05:35 [Python] (:12) -   Volume nodes will be stored uncompressed by default
[INFO][Python] 01.03.2021 16:05:35 [Python] (:20) -   Segmentation nodes will be stored uncompressed
[INFO][Python] 01.03.2021 16:05:35 [Python] (:170) -   9 keyboard shortcuts installed
[INFO][Python] 01.03.2021 16:05:35 [Python] (:172) - Done customizing with SlicerMorphRC.py
[INFO][Python] 01.03.2021 16:05:35 [Python] (:173) - On first load of customization, restart Slicer to take effect.
[DEBUG][Qt] 01.03.2021 16:05:35 [] (unknown:0) - Switch to module:  "Data"
[INFO][Stream] 01.03.2021 16:05:35 [] (unknown:0) - Customizing with SlicerMorphRC.py
[INFO][Stream] 01.03.2021 16:05:35 [] (unknown:0) -   Volume nodes will be stored uncompressed by default
[INFO][Stream] 01.03.2021 16:05:35 [] (unknown:0) -   Segmentation nodes will be stored uncompressed
[INFO][Stream] 01.03.2021 16:05:35 [] (unknown:0) -   9 keyboard shortcuts installed
[INFO][Stream] 01.03.2021 16:05:35 [] (unknown:0) - Done customizing with SlicerMorphRC.py
[INFO][Stream] 01.03.2021 16:05:35 [] (unknown:0) - On first load of customization, restart Slicer to take effect.
[INFO][Python] 01.03.2021 16:05:36 [Python] (:20) - Volume nodes will be stored uncompressed by default
[INFO][Python] 01.03.2021 16:05:36 [Python] (:26) - Segmentation nodes will be stored uncompressed
[INFO][Stream] 01.03.2021 16:05:36 [] (unknown:0) - Loading Slicer RC file [/Users/kellydiamond/.slicerrc.py]
[INFO][Stream] 01.03.2021 16:05:36 [] (unknown:0) - Volume nodes will be stored uncompressed by default
[INFO][Stream] 01.03.2021 16:05:36 [] (unknown:0) - Segmentation nodes will be stored uncompressed
[DEBUG][Qt] 01.03.2021 16:06:34 [] (unknown:0) - Switch to module:  "GPA"
[WARNING][Qt] 01.03.2021 16:06:36 [] (unknown:0) - QGestureManager::deliverEvent: could not find the target for gesture
[INFO][Stream] 01.03.2021 16:06:56 [] (unknown:0) - mShape shape (54, 3)
[INFO][Stream] 01.03.2021 16:06:56 [] (unknown:0) - Loaded 126 subjects with 54 landmark points.
[INFO][Stream] 01.03.2021 16:06:56 [] (unknown:0) - Scale Factor: 0.457814781126457
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[CRITICAL][Qt] 01.03.2021 16:06:57 [] (unknown:0) - setViewLabel should be called before setViewNode !
[INFO][Stream] 01.03.2021 16:06:57 [] (unknown:0) - Closest sample to mean:4028_S
[CRITICAL][Stream] 01.03.2021 16:06:57 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 01.03.2021 16:06:57 [] (unknown:0) -   File "/Applications/Slicer 3.app/Contents/Extensions-29738/SlicerMorph/lib/Slicer-4.11/qt-scripted-modules/GPA.py", line 551, in onLoadFromFile
[CRITICAL][Stream] 01.03.2021 16:06:57 [] (unknown:0) -     if(not self.skipScalingOption):
[CRITICAL][Stream] 01.03.2021 16:06:57 [] (unknown:0) - AttributeError: 'GPAWidget' object has no attribute 'skipScalingOption'

Thanks for catching this @DiamondKMG, fixed here: https://github.com/SlicerMorph/SlicerMorph/commit/2cd2e0821f3bc7b04830253faba3b9127d054d3d
I did not need change the log file format, since when I went back and checked, we'd already included this parameter.

There's still an issue with the 2D projection/zoom when loading from file with no scaling. I will follow up on this.

Last minor display bug fixed here: https://github.com/SlicerMorph/SlicerMorph/commit/2cd2e0821f3bc7b04830253faba3b9127d054d3d


rclone mount Cache:sub-bucket/ not working

What is the problem you are having with rclone?
When I use the root of a backing store for the Cache remote I'm unable to mount a sub-bucket or the Cache remote. I.E. if Cache.remote = SOMETHING:subBucket/ I can mount Cache: no problem, but if Cache.remote = SOMETHING: when I mount Cache:subBucket/ It gives an error in the rclone logs and lists the root bucket instead.
Cache Config:
[WWW-CACHE]
type = cache
remote = WWW:
writes = true

What is your rclone version (eg output from rclone -V)
other --fast-list --cache-workers 10 WWW-CACHE: /shared/sites/www.cornercafe.net -vv --cache-db-purge
2018/09/07 18:44:29 DEBUG : rclone: Version "
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux (ubuntu xenial)
Which cloud storage system are you using? (eg Google Drive)
Google Cloud Storage
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone --uid 33 --gid 33 mount --allow-other --fast-list --cache-workers 10 WWW-CACHE:cornercafe-net-local/ /shared/sites/www.cornercafe.net -vv

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
2018/09/07 18:39:23 DEBUG : Using config file from "/root/.rclone.conf"
2018/09/07 18:39:23 ERROR : Failed to save new token in config file: section 'WWW' not found
2018/09/07 18:39:23 DEBUG : WWW-CACHE: wrapped WWW:/cornercafe-net-local/ at root cornercafe-net-local
2018/09/07 18:39:23 DEBUG : WWW-CACHE: Purging the DB
2018/09/07 18:39:23 INFO  : WWW-CACHE: Cache DB path: /shared/WWW-CACHE.db
2018/09/07 18:39:23 INFO  : WWW-CACHE: Cache chunk path: /shared/WWW-CACHE
2018/09/07 18:39:23 INFO  : WWW-CACHE: Chunk Memory: true
2018/09/07 18:39:23 INFO  : WWW-CACHE: Chunk Size: 5M
2018/09/07 18:39:23 INFO  : WWW-CACHE: Chunk Total Size: 10G
2018/09/07 18:39:23 INFO  : WWW-CACHE: Chunk Clean Interval: 1m0s
2018/09/07 18:39:23 INFO  : WWW-CACHE: Workers: 10
2018/09/07 18:39:23 INFO  : WWW-CACHE: File Age: 1h0m0s
2018/09/07 18:39:23 INFO  : WWW-CACHE: Upload Temp Rest Time: 15s
2018/09/07 18:39:23 INFO  : WWW-CACHE: Upload Temp FS: /tmp/.rclone_cache
2018/09/07 18:39:23 DEBUG : Adding path "cache/expire" to remote control registry
2018/09/07 18:39:23 DEBUG : Adding path "cache/stats" to remote control registry
2018/09/07 18:39:23 DEBUG : Cache remote WWW-CACHE:cornercafe-net-local: Mounting on "/shared/sites/www.cornercafe.net"
2018/09/07 18:39:23 INFO  : Cache remote WWW-CACHE:cornercafe-net-local: poll-interval is not supported by this remote
2018/09/07 18:39:23 DEBUG : Adding path "vfs/forget" to remote control registry
2018/09/07 18:39:23 DEBUG : Adding path "vfs/refresh" to remote control registry
2018/09/07 18:39:23 DEBUG : : Root:
2018/09/07 18:39:23 DEBUG : : >Root: node=/, err=<nil>
2018/09/07 18:39:34 DEBUG : /: Attr:
2018/09/07 18:39:34 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2018/09/07 18:39:36 DEBUG : /: Attr:
2018/09/07 18:39:36 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2018/09/07 18:39:36 DEBUG : /: ReadDirAll:
**2018/09/07 18:39:36 DEBUG : Cache remote WWW-CACHE:cornercafe-net-local: list ''
2018/09/07 18:39:36 DEBUG : : list: error: couldn't open bucket (cornercafe-net-local)**
2018/09/07 18:39:36 DEBUG : : list: read 0 from temp fs
2018/09/07 18:39:36 DEBUG : : list: temp fs entries: []
2018/09/07 18:39:36 DEBUG : : list: read 3 from source
2018/09/07 18:39:36 DEBUG : : list: source entries: [cornercafe-net-local digital-spaces-www-local timandtracy-life-local]
2018/09/07 18:39:36 DEBUG : : list: cached directories: 3
2018/09/07 18:39:36 DEBUG : : list: cached dir: 'cornercafe-net-local', cache ts: 2018-09-07 18:39:36.905355723 +0000 UTC m=+13.529424900
2018/09/07 18:39:36 DEBUG : /: >ReadDirAll: item=3, err=<nil>
2018/09/07 18:39:36 DEBUG : /: Lookup: name="cornercafe-net-local"
2018/09/07 18:39:36 DEBUG : /: >Lookup: node=cornercafe-net-local/, err=<nil>
2018/09/07 18:39:36 DEBUG : cornercafe-net-local/: Attr:
2018/09/07 18:39:36 DEBUG : cornercafe-net-local/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2018/09/07 18:39:36 DEBUG : /: Lookup: name="digital-spaces-www-local"
2018/09/07 18:39:36 DEBUG : /: >Lookup: node=digital-spaces-www-local/, err=<nil>
2018/09/07 18:39:36 DEBUG : digital-spaces-www-local/: Attr:
2018/09/07 18:39:36 DEBUG : digital-spaces-www-local/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2018/09/07 18:39:36 DEBUG : /: Lookup: name="timandtracy-life-local"
2018/09/07 18:39:36 DEBUG : /: >Lookup: node=timandtracy-life-local/, err=<nil>
2018/09/07 18:39:36 DEBUG : timandtracy-life-local/: Attr:
2018/09/07 18:39:36 DEBUG : timandtracy-life-local/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>

A similar error has been reported for the crypt backed in the forums lately.
The error arises from the way the remote config value is joined with the path given on the command line. This can introduce or remove a leading / to the result path, whoch is not a problem for most remotes, but in the sftp and bucket based backeds this changes the effective path.
A workaround is to not use plain remotes in the config for crypt and cache, like you mentioned.
The solution for the crypt remote is quite simple and I will create a PR soon.
The cache remote is a bit harder, because it uses the combined path as a local path to store the chunks. This means there needs to be a difference between path including a leading / and without.
@ncw Do you know a good way to differentiate between the two cases on a local remote (the cache temp remote)


Looking for maintainers

It'd be great to have some people who could lend a helping hand with issues and pull requests, for here and libtmux.
Some things we need in a candidate:

tmuxp user
Python experience
tmux experience
can wrap their brain around the codebase (code quality between tmuxp and libtmux is good)
Like of or interest in learning pytest
Like of or interest in documents (we use sphinx)
time they can devote to answering/closing issues
QA'ing pull requests
Assuring contributions maintain code standards (flake8, vulture
Making sure tmuxp and libtmux stay true to what they're philosophically supposed to do, while allowing new features to come in.

You're welcome to use it at a learning experience too 👍 . We have a lot of users between here and libtmux.

I'm spending sometime today looking to fix #184 so maybe I can contribute. I use tmux/tmuxp daily and would like to do what I can do help things be active!

Another call, need maintainers. 👍

@askedrelic Are you still available/willing to help out around the project?

Hi @tony unfortunately I don't know how much time I can commit. I've been watching the tmuxp and libtmux projects the last few months, to get a better sense of things. I'll keep doing so and try to be more active on things.
Sidenote - the pyup and auto ticket mgmt bots are really nice for helping maintain the project!

It probably won't make sense for me to be a maintainer since I am lack on time as well but I'll see around if I can help a bit whenever I get time and the mood. :D

I can volunteer for performing QA.  Feel free to DM me.

I would help you. I could take a look at issues and also to the QA of merge request. Currently I use tmuxinator... but I am going to start to use tmuxp.

@tony I was trying to get my feet wet and implemented #589, flake8 checks out with no errors, but I can't finish make test see #620 :/

@aRkedos thank you for the error report as well. Tests will run in CI but not sure you'd want to wait for that :)


Use correct type when watching for k8s secrets

This was likely just a copy-paste issue, the bug should be benign because the secret is cast to the correct type later, but the additional logging is a major annoyance, and is happening even if basic auth is not in use with Kubernetes.

Description

Good catch, @kekoav -- thanks for the fix!
@dtomcej @errm @emilevauge it seems like the problem is enough of a nuisance to justify going into a 1.3 patch release. Would you agree?

@timoreimann makes sense!

:+1:
@kekoav would you mind rebasing onto the v1.3 branch? We'll merge things back into master afterwards.

@timoreimann I cherry-picked the fix onto 1.3 branch, and changed the PR to target the v1.3 branch.

@kekoav thanks for taking care! 💐 I was a little bit overloaded and couldn't pay enough attention to this project.


Features not working

so using gwtoolbox it wont  allow me to change 2ndarys or ferry in the game the pcons work but nothing else

You can no longer use ferry in-game unless it shows up on the screen


Enroller Badge

Summary
As a DHO user I would like to be able to actually enroll people, when I have the enroller badge.
We have to add a tag field on the badge document in order to verify if that Badge has any functionality (like enrolling).
Acceptance Criteria

[ ] enroll function to check the badge

The spec is pretty unclear in terms of these questons

How does a brand new DHO have any enrollers so admins can enroll more people?
If admins are special, does their enroller right ever expire
If admins start out with an enroller badge, it would mean every DHO would need to start out with an enroller badge already in place
if we start out with enroller badges for admins, do they expire?
We don't currently create badges for DHOs except in templates - so a DHO without template would not be able to add members until 7 days later when an enroller badge can be voted in

So IMO this feature is not ready to implement since the spec is not ready.
These things need to be figured out before we can start on this.
I think maybe for now the easiest would be to have both admins (as it is now) and enroller badges be able to enroll members.
Then we can think about how to handle the admin role / enroller edge later.
My first idea how to handle this

There is an admin where admins can add/remove enrollers for a DHO
Admins start out as enrollers (we already have this data structure, it's an enroller edge from the DHO to the member)
Admins can add / remove enrollers (the edge)
An enroller badge, when it is activated, adds an enroller edge for that member
An enroller badge, when it expires, removes the enroller edge for that member

I am not sure we currently have the ability to take any actions when a badge expired - I don't think we do.
But the system described above would work, where I am not sure only using enroller badge would work, creating strange situations where nobody can enroll anyone, for example if all enroller badges have expired etc. It seems it could accidentally disable core functionality.

@n13 yes agree, let's start wich having admin and enroller badge at the same time. Who can research or would know if we can take any actions if the badge expires?

@n13 @sceenius @luigicarlini1988 should enrollers also be able to kick out members? or have something like "discard" button on the member card and can start a proposal to vote members out?

To address the questions from Nik,

How does a brand new DHO have any enrollers so admins can enroll more people?
The owner/creator of the DAO us the first admin.

If admins are special, does their enroller right ever expire
We need to tie that to the periods a badge is active, which can be unlimited as well.

If admins start out with an enroller badge, it would mean every DHO would need to start out with an enroller badge already in place
Admin includes that permission, so no need to specify it upfront.

if we start out with enroller badges for admins, do they expire?
The first admin (not a badge) stays that way until we have an owner transfer feature.

We don't currently create badges for DHOs except in templates - so a DHO without template would not be able to add members until 7 days later when an enroller badge can be voted in
Yes, that's ok since the admin plays that role for a while. I also want to do an "accelerator" option to pass proposals as soon as they pass the unity/quorum. This helps establish the DAO and the founders can go through this much faser.

Should enrollers also be able to kick out members?
Yes, because that is no possible with the invite function. We can also use that for a "moderator" badge later. Let's call it revoke(), not discard(), sounds nicer.

Lastly, per Nik's discussion today (copied the text below), the enroller badge needs to be able to enroll community and core members.

"We want to see the invite feature in the Hypha Wallet and the enroll feature in the DAO.
But for the wallet, we need to

white label it (Hypha and/or DAO brand)
bring all DAO tokens into the wallet (to send them the native token)
create the invite link from the wallet (to make that super easy)

that's medium to high effort as Nik mentioned, hence to go the enrollment route for now, then add the invite function later.  This would extend the enroller badge with the ability to add (and remove!) community members per Nik's definition of a community member (e.g. "detect token holdings")."

So, also community members need to be manually enrolled now? I thought we
decided to just have the condition "token holders = community members".
If so, we need 2 buttons in the UI "become a community member" - "become a
core member" ?
On Tue, 24 Jan 2023 at 00:57, arsenijesavic @.***>
wrote:

Closed #202 https://github.com/hypha-dao/dao-contracts/issues/202 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/hypha-dao/dao-contracts/issues/202#event-8337552954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJPFDJUKASZGQUAZ3VDECLWT3LTVANCNFSM5PNPXFGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Luigi Carlini

Nothing changed here, so no enrollment for community members, they become visible based on token holdings of the DAO and Hypha network membership.

Right, sorry. Just noticed it was an old gitStory that Arsenie just closed,
my bad
On Tue, 24 Jan 2023 at 19:41, Joachim Stroh @.***>
wrote:

Nothing changed here, so no enrollment for community members, they become
visible based on token holdings of the DAO and Hypha network membership.
—
Reply to this email directly, view it on GitHub
https://github.com/hypha-dao/dao-contracts/issues/202#issuecomment-1402013799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJPFDPONZIXQVXDAJCMODLWT7PJ7ANCNFSM5PNPXFGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Luigi Carlini


You should use GitHub actions and not Travis&Co ;)

As the title say. Consider re-running PkgTemplate with github actions CI instead, it will save you troubles later (GA is a lot easier to use and manage than the rest).
Cheers ;)

Hey, thank you for your comment !
So I should use GA instead of travis CI and still use codecov ? And indeed the trigger for Documenter.jl on GA instead of Travis seems simpler to implement.
Cya

Yep, that's the general advice these days -- Travis is slowly dying in favor of Github action.


No Documentation

It's quite a shame that there isn't any documentation for this project yet, as I feel that having it would be quite nice.
I've made a wiki on my own fork which you can view here. Let me know what you think.
It's still a work in progess, and I'd like to make it more complete, but GitHub doesn't support pull-requests for wikis, so if you want me to help you document this on your own fork then you would have to make me a contributor.

That's nice!! 👍
Should you make the contents on the RelaxVersioner repository? For example we can make docs directory at the root and place pointer into the README. It's functionally for PR.
I think we will switch to github.io if the content have larger.

Okay. I made the documentation as part of the repository itself.
You can take a look at it on my fork.
Keep in mind that these files describe the import functionality that I've made, so you should probably merge that before incorporating the docs.

Happy new year! and thanks read the your docs. And I understand the import feature and please wait it merge soon ;)

I'm glad to hear it, and happy new year. :smile:


grafana-agent: 0.29.0 -> 0.30.1

Diff: https://github.com/grafana/agent/compare/v0.29.0...v0.30.0
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg test grafana-agent

It looks like journald support was accidentially removed, v0.30.1 got released an hour ago.
Can you update the PR to include this, and make sure it still works for us? I recall there was some libsystemd dlopen-ing happening…

bumped.

@ofborg test grafana-agent

@Mic92 did you verify systemd journal collection (still) works? The VM test doesn't seem to cover this, it only checks for general health.

Verified that it ship logs to grafana and libsystemd is loaded:
[root@dev-00:~]# grep libsystemd /proc/38063/maps
7f0dc818f000-7f0dc81a7000 r--p 00000000 103:02 1845643                   /nix/store/9rjdvhq7hnzwwhib8na2gmllsrh671xg-systemd-252.1/lib/libsystemd.so.0.35.0
7f0dc81a7000-7f0dc8234000 r-xp 00018000 103:02 1845643                   /nix/store/9rjdvhq7hnzwwhib8na2gmllsrh671xg-systemd-252.1/lib/libsystemd.so.0.35.0
7f0dc8234000-7f0dc826f000 r--p 000a5000 103:02 1845643                   /nix/store/9rjdvhq7hnzwwhib8na2gmllsrh671xg-systemd-252.1/lib/libsystemd.so.0.35.0
7f0dc826f000-7f0dc827b000 r--p 000df000 103:02 1845643                   /nix/store/9rjdvhq7hnzwwhib8na2gmllsrh671xg-systemd-252.1/lib/libsystemd.so.0.35.0
7f0dc827b000-7f0dc827c000 rw-p 000eb000 103:02 1845643                   /nix/store/9rjdvhq7hnzwwhib8na2gmllsrh671xg-systemd-252.1/lib/libsystemd.so.0.35.0

Alright, thanks!


Add node info to "HTTP SSL support is enabled/disabled" msg.

Use non-static logger variable initialized with settings to
provide the node info for this log message.

retest this please


Remove link to non existent notebook

Thanks @andersy005 !

Also, if you're looking for examples I recommend https://github.com/dask/dask-examples

Thank you, @mrocklin! I was skimming through the dask.delayed documentation. I have already checked dask-examples repo, and I like your new approach of including screencasts in the notebooks (great idea)!


Speed up equipment selection

By decreasing the wait from 1 second to 0.5 seconds and the like.

9d3e0d0a1c8ab2339211a7833b9f75d6ec6ca300


HAL module request: hal_renesas

Origin
New repository that will contain required parts of Renesas SDKs (currently
available for registered user only) for supported MCUs.
Purpose
Provides HAL and/or supporting code for Renesas MCUs.
Mode of integration
Integrate as a HAL module, i.e. hal_renesas.
Pull Request
https://github.com/zephyrproject-rtos/zephyr/pull/46720
Description
This provides relevant SDK files to support Renesas MCUs in Zephyr.
Initially, registers definitions for DA1469x family will be stored here that
already have compatible licenses and are also used by e.g. Apache Mynewt:
~/.../modules/hal/renesas$ tree
.
├── CMakeLists.txt
├── da1469x
│   ├── CMakeLists.txt
│   └── sdk
│       └── bsp
│           └── include
│               ├── DA1469xAB.h
│               └── system_DA1469x.h
└── zephyr
    └── module.yml

More files may be added in future if required and relicensed by Renesas, e.g.
for peripherals support or new Renesas MCU families support.
The complete SDK can be downloaded from Renesas website after mandatory registration.
Direct link for current SDK version (at the time of writing): https://www.renesas.com/eu/en/document/sws/da1469x-sdk10010118?r=1606281
Latest link to download is available directly from the product page of DA1469x series SoC, e.g. https://www.renesas.com/eu/en/products/interface-connectivity/wireless-communications/bluetooth-low-energy/da14695-multi-core-bluetooth-52-soc-system-power-management-unit (for DA14695).
Dependencies
None.
Revision
None, initial push with separate PR.
License
Apache-2.0
BSD-3-Clause

PR to add support for Renesas DA1469x: https://github.com/zephyrproject-rtos/zephyr/pull/46720

@blauret @NiekIlmer FYI

Thanks, can you confirm that you will maintain this HAL for the foreseeable future?

@carlescufi yes, I will maintain and extend both HAL and SoC port, there will be also Renesas engineers involved later at some point to take over.

Yes, at the moment this is what initial port for DA1469x requires and this part of SDK was already relicensed to 3BSD. The other parts will need to be relicensed if they are required for subsequent features and then added here, I assume.
As I understand 3BSD license prohibits those SoC register definitions from being included directly into main Zephyr tree, thus I reuqested a HAL module for current and future work on Renesas SoCs.

Yes, at the moment this is what initial port for DA1469x requires and this part of SDK was already relicensed to 3BSD. The other parts will need to be relicensed if they are required for subsequent features and then added here, I assume.
As I understand 3BSD license prohibits those SoC register definitions from being included directly into main Zephyr tree, thus I reuqested a HAL module for current and future work on Renesas SoCs.

That is actually not accurate, as per the external components contribution guide it is possible to contribute 3-clause BSD code into the main tree, so I'd recommend to re-evaluate the fact you want to use a module here:

Are you gonna add more files later to the HAL?
Or will you just be writing Zephyr-specific drivers?

Depending on what you plan for the future, you should probably consider just pulling DA1469xAB.h directly into the tree?

At the moment there are only Zephyr-specific drivers, but I expect that code from SDK can be reused if possible at later stage (they will need to be relicensed first). Also the plan is to enable CMAC (i.e. integrated Bluetooth controller) and this will require firmware binaries so I think HAL module is the place (?) to store such files.
So I agree that there are not much files here to keep in HAL module, and I cannot say that there will be many more files added there soon-ish, but perhaps it's good to have a place to store those files.
Also one problem with e.g. DA1469xAB.h is that it is sourced directly from SDK, so it does not really conform to any Zephyr coding guidelines. Perhaps it would need to be generated in some other way if integrating into Zephyr tree is the only viable option to proceed here.

@andrzej-kaczmarek could you please update the body of this issue with the URL and instructions to download the SDK from the Renesas website?

TSC: no objections, repo will be created.

@carlescufi overlooked that comment before, updated now

https://github.com/zephyrproject-rtos/hal_renesas


Ban Word: Don't Show Empty Lists

Showing nothing is definitely the wrong way to do it, just say "The list is now empty." or something clear like that.
Also stop cramming so much into one line, just put the message in a different line.


Compute width ignoring ANSI sequences

Width computations on strings with ANSI escapes currently consume a very substantial part of the time needed to format tibbles:

http://rpubs.com/krlmlr/pillar-print-timing
This is even after replacing crayon::strip_style() with the faster fansi::strip_sgr(). I wonder if UTF-8 could provide a function that computes the width but ignores these non-printable codepoints. I currently can't use utf8_width() for this:
withr::with_options(
  list(crayon.enabled = TRUE),
  utf8::utf8_width(crayon::magenta("four"))
)
#> [1] 24

Created on 2018-07-04 by the reprex package (v0.2.0).

CC @brodieG.

@krlmlr the time is taken up by crayon::italic, not fansi::strip_sgr.  I would recommend just using sprintf for internal time critical code.

Also, not sure if this is applicable, but fansi::nchar_ctl(..., type='width') computes display width ignoring control characters, albeit with all the limitations of nchar(type='width'), and some more.

crayon:::ansi_regex
#> [1] "(?:(?:\\x{001b}\\[)|\\x{009b})(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\\x{001b}[A-M]"

Created on 2018-07-04 by the reprex package (v0.2.0).

I'd be fine with the following approximation:
As soon as \033 or \733 is encountered, skip everything up to the next ASCII character that is in the range of A-M or f-m or \0. (Not sure about | as a valid terminator, see https://github.com/r-lib/crayon/commit/7d128804d8a6a45fbaecce461021463062ad921e#r29591062.)

@krlmlr Presumably the two instances are included here:

If so, again, this is not fansi::strip_sgr.  This is happening because you are calling fansi::strip_sgr(<expression>), and <expression> itself takes about 300ms to evaluate.  fansi::strip_sgr does not call format_type_sum.  The only fansi code that shows up in the profiler is:

that you can also see in my previous comment.
fansi::strip_sgr should be faster than the regex.  The regex is basically what crayon::strip_style does.
Re width, nchar(type='width') main infirimty is that is that it knows nothing of emoji widths.  Since my terminal also doesn't know about emoji widths I have not bothered addressing that at this point.

My gut reaction is that this functionality doesn't belong in the utf8 package. If we add support for ignoring ANSI format annotations to utf8_width, then why stop there? Why not support LaTeX and HTML, too? It makes more sense to me that this functionality be part of fansi.
I also agree with @brodieG that you can probably get much bigger performance gains by restructuring the pillar formatting code. The data frame printing code for the frame package (install_github("patperry/r-frame")) uses a different formatting strategy and is orders of magnitude faster than pillar/tibble:
system.time(print(frame::as.dataset(nycflights13::flights)))
# ...
#   user  system elapsed
#  0.008   0.000   0.008

system.time(print(nycflights13::flights))
# ...
#   user  system elapsed
#  0.340   0.002   0.341

(granted, pillar does more, so this is not a fair comparison)
frame computes the width of each column once, and caches the result. It applies ANSI styling after the width computation. Maybe doing something similar would make pillar faster?

@brodieG: You're totally right, adding force(x) in get_extent() shows where the time is really spent. The profile output is misleading,  The optimization I'm suggesting here will save one allocation and one copy, probably not enough to matter.
@patperry: Thanks for the pointer to frame. Formatting columns is extensible via the pillar_shaft() generic, and there's code for computing the width without formatting the column. Need to understand better where time is spent, currently it seems to be "fast enough" with default settings but a bit slow if the user asks to print too many columns or rows.


Install File Download Faild and  glibc 2.17 not support

install faild ( instal llink)
#curl -L https://install.quickwit.io | sh
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   134  100   134    0     0    125      0  0:00:01  0:00:01 --:--:--   126
100 15266  100 15266    0     0   5537      0  0:00:02  0:00:02 --:--:-- 22156
                            Q U I C K W I T
                               Installer

Website: https://quickwit.io/
Docs: https://quickwit.io/docs/

Downloading Quickwit via https://github.com/quickwit-oss/quickwit/releases/download/v0.3.1/quickwit-v0.3.1-x86_64-unknown-linux-musl.tar.gz
command failed: downloader https://github.com/quickwit-oss/quickwit/releases/download/v0.3.1/quickwit-v0.3.1-x86_64-unknown-linux-musl.tar.gz quickwit-v0.3.1-x86_64-unknown-linux-musl.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
2、 when i download the tar file. but i got
./quickwit
./quickwit: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./quickwit) ./quickwit: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by ./quickwit)
./quickwit: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./quickwit) ./quickwit: /lib64/libc.so.6: version GLIBC_2.18' not found (required by ./quickwit)
my system  glibc version is 2.17
can i  install with source code ,and build myself?

@evanxg852000 Our install script does refer to the musl build but we seem to not create such binaries.
@yangshike I'm afraid you will have to build quickwit on your own.
You willl need to clone quickwit and run
cargo build --release --features release-feature-set

On ubuntu I think you will need the following dependencies
libssl-dev
llvm
clang
cmake

Thank you very much!
Unfortunately, I use CentOS
i install llvm/clang/cmake from source code，Finally, it failed！！！
#cargo build --release --features release-feature-set
...
...
error: failed to run custom build command for librocksdb-sys v0.6.1+6.28.2
Caused by:
process didn't exit successfully: /usr/local/quickwit-0.3.1/target/release/build/librocksdb-sys-1762e0184363836a/build-script-build (exit status: 101)
--- stderr
rocksdb/include/rocksdb/c.h:45:9: warning: #pragma once in main file [-Wpragma-once-outside-header]
rocksdb/include/rocksdb/c.h:65:10: fatal error: 'stdarg.h' file not found
rocksdb/include/rocksdb/c.h:45:9: warning: #pragma once in main file [-Wpragma-once-outside-header], err: false
rocksdb/include/rocksdb/c.h:65:10: fatal error: 'stdarg.h' file not found, err: true
I think I'll wait for you to release the binary version。

@fulmicoton I will the appropriate error message since don't provide musl for the time being.
@yangshike It's exactly because of RocksDB build issue we stopped making musl builds for the time being. We will give another, hopefully, the tooling (cross) now has good support for it or at a workaround. With the appropriate libraries, you should be able to solve the header issue but you end up with a linker error.
Our build script uses cross with this custom image https://github.com/quickwit-oss/quickwit/blob/main/build/cross-images/x86_64-unknown-linux-musl.dockerfile
cross build --release --features release-feature-set --target x86_64-unknown-linux-musl

GLIBC 2.17 is 10 years old. I'm afraid we won't be able to support your OS @yangshike .


feat: Add order spam

Copies content from https://github.com/vegaprotocol/specs/pull/2179 with base branch as Colosseo
close https://github.com/vegaprotocol/specs/issues/2097

what about spots?

Spots needs discussion :)
I think we need to allow occasional low-amount spot (e.g., allow someone to transfer over staking rewards), but then only once per epoch/key ?

what about spots?

https://github.com/vegaprotocol/specs/pull/2180/files#r1502490707


Two tests and lint for SendCommand

I started this to explore csend 1,000,000 meat sending all available meat.  While it was a good way to get into the debugger it ultimately has little to no bearing on the csend situation.  I'm proposing committing it anyway:

Sometimes it is easier to add to an existing test class than start from scratch
The scaffolding for command tests is new to me so there might be a learning opportunity

I'm going to close or revert this to draft.  The user level problem has been fixed and tested elsewhere and #699 looks to be a good example of getting to the request sent by a command.  I will follow that example and redirect this towards generating test coverage and not a specific issue.

I'm going to undraft this momentarily in search of advice or the other pair of eyeballs.  I see no point in pushing until I give up or have 100% coverage.
I will also annotate code but...
I mocked MoodManager as an alternative to changing access or adding a function for testing only.
The test works but when it was in the same test class as others they failed.  The MoodManager mock was leaking over to other tests.  I'm not sure how to "unmock".  MoodManager being static may be an issue.
I had a conditional (a && (b || c)).  Coverage said a branch was being missed and I could not figure it out.  I rewrote it into what I think was a functionally equivalent set of nested ifs and the same tests generate 100% coverage.  I am either wrong in thinking my rewrite was functionally equivalent or Jacoco and the associate byte code are not doing what I expect.

Added straight to the branch, but:

I think you were missing the case where the user tries to send no items with the default message
static mocks are unset by calling .close() on the object returned from the setup

Added straight to the branch, but:

I think you were missing the case where the user tries to send no items with the default message
static mocks are unset by calling .close() on the object returned from the setup

I'll check the coverage again but the case was covered in the rewrite.  Thanks.
the annotation at nested is new to me.  next time I have a static mock and use Cleanups it will be better.  thank you.

Added straight to the branch, but:

I think you were missing the case where the user tries to send no items with the default message

Coverage is there so my claim of equivalence must have been incorrect,  Thanks.  Will revert to draft until I have 100% or give up.

I'm giving up.  100% coverage is going to require mocking two request types and most of the tests I can think of are meaningless in terms of testing functionality.  I think there are better ways to spend my time and better places to increase overall coverage.  Indeed I started this because of a parsing issue that might have been related to this class but isn't.  Un-drafting and will push or close in response to feedback.


proxify will not export to elasticsearch after running in a period

Proxify version:

docker tag v0.0.8
Current Behavior:

i think the reason is too many "ESTABLISHED state" connection

Expected Behavior:

Steps To Reproduce:

Run proxify -elastic-address <IP_ADDRESS>:9200 -sa <IP_ADDRESS>:10080 -v, maybe after three hours, proxify will not export to elasticsearch
Anything else:

i think you should add defer res.Body.Close()


remove django-autocomplete-light static files

Hi everyone,
First of all thank you for efforts into this great project!
That said we recently had compatibility issues updating to recent versions of django-autocomplete-light, caused by changes made to static files.
In particular dal from 3.7.0 has removed the autocomplete.init.js script due to a complete rework of the initialization system, so at the moment trying to load it from AutocompleteFilter can cause some requests to fail with 404 or worse if the file is still present as a stale static object (it breaks the widget).
Since all these static assets inherited from django-autocomplete-light should be already loaded by ModelSelect2 widget seems reasonable to remove them from filter's media so that the widget alone can pick the correct ones regardless of the version installed.

I've updated the PR to use django.jQuery in the template and forward-fix.js.
Now it seems to behave correctly

@MRoci, Thank you for your contribution.
Your PR was included in the latest release https://pypi.org/project/dal-admin-filters/1.1.0/


console.log(dom); return undefined

Hi,
I've tried this:
var jsdom = require("jsdom");
const { JSDOM } = jsdom;
const dom = new JSDOM(``, {
url: "https://example.org/",
referrer: "https://example.com/",
contentType: "text/html",
userAgent: "Mellblomenator/9000",
includeNodeLocations: true
});
console.log(dom);
like the example in the documentation.
It returns undefined.
I've tried it in RunKit and the result is the same?

Closing this issue since it didn't follow the issue template by including the important versions. Please edit it and comment when you have fixed that and we can reopen for investigation.

This returns a jsdom instance on runkit: https://runkit.com/sebmaster/59e0d038e497250012152117

Hi again.
Thanks for the quick response.
domenic:

Node.js version: v6.11.4
jsdom version: 11.3.0
But this is locally. And the example is on RunKit.

Sebmaster:
Yes it does return an instance, but when I try to acces the dom of https://example.org/  :
console.log(dom.window.document.querySelector("h1").textContent);
it returns
Cannot read property 'textContent' of null

@Hristina The url-option does not actually load the page. You want the fromURL()-method for that, used like so:
JSDOM.fromURL("https://example.com/").then(dom => {
  console.log(dom.window.document.querySelector("h1").textContent);
});

@Zirro  Thanks. That works in RunKit. But when I try to execute it using Jasmine with Node.js it doesn't enter in the promise and doesn't console anything. Do I need any package that add promise support?


Support for windows based GitHub runners

Hi,
Is there any plan for adding support for windows based GitHub runners.

We don't have any plans at the moment but are curious if you tried to run it on Windows and ran into any errors?


Go through the example script and add relevant functionality to make the API more user friendly

Go through https://github.com/JamieMair/MuJoCo.jl/pull/57 and note which improvements should be made to make this user friendly.
TODO

[x] Add a way to create row-major arrays easily
[ ] Think about how to wrap functions to be easily used from within Julia - this may need to be a separate PR
[x] Add in some functions to get the names of all joints or bodies etc
[ ] Fix performance hits from global variables with the function - possibly introduce a functor

https://github.com/JamieMair/MuJoCo.jl/issues/50 should keep track of todo 2 here, easier to remove it from scope for now.

The final todo can wait until later. I have created https://github.com/JamieMair/MuJoCo.jl/issues/66 to track this issue.


Cannot run Image

I cannot seem to run this image when I use both:
docker run cdrx/pyinstaller-linux:python2
docker run cdrx/pyinstaller-windows:python2
I tried this even after switching to a linux container and got the same error below
The error I get is image operating system "linux" cannot be used
Any help would be appreciated!

Both images work for me. What error do you get exactly? Can you copy / paste the terminal output?

Restarted all the applications, and I seems to work now, thank you though!
Ran into another issue...
I'm running Jenkins through my laptop on a local host and have set up a pipeline that runs the attached Jenkinsfile through my github. However, the build on Jenkins fails and give me the error: Cannot run program "nohup" (in directory "C:\Users\msarvaiya.jenkins\workspace\simple-py"): CreateProcess error=2, The system cannot find the file specified
After quick googling I tried replacing the sh with bat, but I still received the same error.


I can't use any functionalities into my javascript

Hello, so i included the module and use it like:

<script src="node_modules/local-storage/dist/local-storage.js"></script>
<script>ls.set('foo','bar'); console.log(ls.get('foo'));</script>

But nothing happens instead of an error which is: Uncaught ReferenceError: ls is not defined;
I installed it  like that npm install local-storage --save
So how can i use it into my own javascript?

This currently depends on using a module loader like Browserify or AMD


how to install?

Goodnight. Can you explain to me how to install it? I really don't know how to do it. I thank!!!!

Install what

Goodnight. Can you explain to me how to install it? I really don't know how to do it. I thank!!!!

Install python (Make sure to add a check on "install to path").
Install chrome.
Download chrome driver  (Make sure to download the same version of Chrome, you can check in this way.

Inserter chrome driver on "C:\Windows".
Download the script folder from Github.
Open the downloaded folder with cmd and type "pip install -r requirements.txt".
Run script "ms_rewards_farmer.py".
The script creates a new file named "accounts.json" open with notepad o something similar and insert your Microsoft email and password.
Save file.
Press Enter on script windows.
End.

someone re created the bot https://github.com/MehdiRtal/MicrosoftRewardsBot.git


pv: adding default symbol

added a default symbol as "_cyclone-pv-default". objections?
also, see my explanation for send on the github issue. there's no global binding, it basically calls pd_float (or pd_symbol or whatever) when it needs to send something.

added a default symbol as "_cyclone-pv-default". objections?

what does an empty send object use?


Implement RHF on

Implement react hook form on the tradeslip box using the new rhf enabled components.

is this done after tradeslip was refactored?


Likes Button is not working.

After the API was restored, there's a glitch where you can likes button something multiple times and it's not treated as a like.
(When looking at the UI, the like count is not increasing, and when looking at the detailed tweet, you can confirm that the like icon is before the like).

Nothing displays in the likes column either.
Started earlier today, as both adding likes and displaying them definitely worked this morning.

Nothing displays in the likes column either. Started earlier today, as both adding likes and displaying them definitely worked this morning.

Having that same issue.

Fixed


fix: update marquee and roundedBorder per issues with responsive UI

Alaska Airlines Pull Request
This PR addresses a number of issues discovered in issue #11 in regards to responsive images and CSS post-processing.
Fixes: #11
Summary:
Issues addressed:

Responsive images have been fine-tuned to address more breakpoints and in-between overlaps to ensure a quality demo
The postCSS script was updated to support auro-banner versus what was auro-hero
Unused picture src references were removed from some examples
Note about using display: block in a img element in a slot that we cannot control from the shadow DOM
roundedBorder was added to the API doc

See attached screenshot of all the examples at an in-between breakpoint that is now better supported.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[x] address bugs

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 1.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dockerizing of new ASP.NET 6 SPA not working

I am trying to get the default template for ASP.NET 6 with React.js into a docker container. No examples I found (including this official one) worked so far and I assume it is because of the way the new SPA proxy is working (and it not starting node?).
Everything is building and deploying successfully, but when connecting with the webserver an empty page is returned.

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

ID: 1abf884f-eb39-1007-25a6-d049b87504a3
Version Independent ID: 33636e79-d3e1-8c24-f3a5-0c3c79e2a488
Content: Visual Studio Container Tools with ASP.NET Core and React.js
Content Source: docs/containers/container-tools-react.md
Product: visual-studio-windows
Technology: vs-container-tools
GitHub Login: @ghogen
Microsoft Alias: ghogen

@Laurnz -- Laurenz, thank you for your feedback.  Please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@ghogen -- Gordon, please look into this potential documentation issue.

@Laurnz
I just tried this scenario with Node 16.14 64-bit, ASP.NET 6.0.2 and an internal VS 2022 17.2 preview build. It worked!
However, I have noticed that there may be timing issues with the browser attempting to access the page before it's completely ready. Usually, repeating the launch, or refreshing the page is successful.
Also, the default URL https://localhost:{port} doesn't work. I had to add "/weatherforecast". This is noted in the tutorial, but easy to miss.

@ghogen  Thanks for looking into it.
Yes, I also tried appending “/weatherforecast” to the URL and it displayed the fetched data from the server, but I didn’t interpret this the way that it should not work if you leave it out. So, we know that we can communicate with the C# server without problems.
This example is supposed to show how to get it to work with a react app and this does not seem to show us the react page which has to be loaded from the NPM server.
Maybe I did not understand what this example should do, but the tutorial shows us that we must add the node installation into the docker file. This step would not be needed to achieve the result we got now, because we only care about the backend and not the frontend in this example.
I would like to have an example that shows how we should configure the containers to also get the node and react frontend working with the C# backend.

@Laurnz
Yeah, looking more closely, you are right, this tutorial should be doing just as you say. Investigating.

@ravipal, would you be able to investigate this? I think there could be an issue with .NET 6 and our tools. It's given us problems in the past. Giving the user the latest version of Node in their container doesn't seem to be working.

I think is only missing the useReactDevelopmentServer, there's no npm start command happening on the template

If there is an issue with the tools, is there a workaround around this?

So I have found something that makes the whole thing work, but I don't know why. It seems to be a port problem.
My launchSettings.json for the project looks something like this:
{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:44884",
      "sslPort": 44367
    }
  },
  "profiles": {
    "WebUi": {
      "commandName": "Project",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
      },
      "applicationUrl": "https://localhost:44367;http://localhost:44884"
    },
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
      }
    },
    "Docker": {
      "commandName": "Docker",
      "launchBrowser": true,
      "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
      "publishAllPorts": true,
      "useSSL": true
    }
  }
}

I am using docker compose in my project and when mapping the port 443 to the ssl port defined in the launch settings (44367 in my case). The docker compose file might look something like this:
version: '3.4'

services:
  myproject:
    image: ${DOCKER_REGISTRY-}myproject
    build:
      context: .
      MyProject/Dockerfile
    ports:
      - "44367:443"

Now I can access the fully working website on "https://localhost:44367".

I meet the same issue event i use docker support or docker compose

with docker compose the FE page event not load the proxy page. it alway 404 ( Be page api still work)
(try add  ports:  - "44367:443" still not work)

with run with docker they could not load spa and stuck in proxy page
(in log the error : System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'npm' with working directory '/app/bin/Debug/net6.0/xxx{MyProjectName}\ClientApp'. No such file or directory)
but why the doc not show img prove that reactjs page work haha?

Here are the changes that need to take place in order for the app to run in docker with F5 functionality in Visual Studio.NET.
Docker file updated with node.js:
# docker build --pull --rm -f "./src/TodoAppReactAspNetCore/Dockerfile" -t easykeysacr.azurecr.io/todoappreactaspnetcore:latest "."
# See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
# test

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y libpng-dev libjpeg-dev curl libxi6 build-essential libgl1-mesa-glx
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get install -y nodejs

ENV PUBLIC_URL=todoapp

WORKDIR /src
COPY ["src/TodoAppReactAspNetCore/TodoAppReactAspNetCore.csproj", "src/TodoAppReactAspNetCore/"]
RUN dotnet restore "src/TodoAppReactAspNetCore/TodoAppReactAspNetCore.csproj"
COPY . .
WORKDIR "/src/src/TodoAppReactAspNetCore"
RUN dotnet build "TodoAppReactAspNetCore.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "TodoAppReactAspNetCore.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "TodoAppReactAspNetCore.dll"]

And launchSettings.json must be updated for docker settings to include IHostingStartup like so:
{
  "profiles": {
    "TodoAppReactAspNetCore": {
      "commandName": "Project",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
      },
      "applicationUrl": "https://localhost:7288;http://localhost:5103"
    },
    "Docker": {
      "commandName": "Docker",
      "launchBrowser": true,
      "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
      "environmentVariables": {
        "ASPNETCORE_URLS": "https://+:443;http://+:80",
        "ASPNETCORE_HTTPS_PORT": "7288",
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
      },
      "publishAllPorts": true,
      "httpPort": 5103,
      "useSSL": true,
      "sslPort": 7288
    }
  }
}

At it should work in Visual Studio.Net 2022

I meet the same issue event i use docker support or docker compose

with docker compose the FE page event not load the proxy page. it alway 404 ( Be page api still work)
(try add  ports:  - "44367:443" still not work)
with run with docker they could not load spa and stuck in proxy page
(in log the error : System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'npm' with working directory '/app/bin/Debug/net6.0/xxx{MyProjectName}\ClientApp'. No such file or directory)
but why the doc not show img prove that reactjs page work haha?

@kdcllc  Docker run this setting you have mentioned but it is stuck spa redirect page. Please help me. I am very thankful.

@theRizwan I am not sure what would cause this, but you can clone this repo to get started https://github.com/kdcllc/TodoAppReactAspNetCore

@kdcllc this url giving 404 error

@theRizwan please try now

Thanks Yes Now its cloning and I try to run this application

@kdcllc  I am getting this "The command 'npm install' exited with code 1.

I got the same issue, seems the command starts wrong source code folder path.
This is error
System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/usr/bin/npm' with working directory '/app/bin/Debug/net6.0/D:\Sandbox\ReactAndDocker\ClientApp\'. No such file or directory
         at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[]

I am seeing this also, wrong source code folder path:
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'npm' with working directory '/app/bin/Debug/net6.0/C:\Users\9510832\Source\Repos\Project1\Project1\ClientApp\'. No such file or directory

Related issue?
https://github.com/dotnet/aspnetcore/issues/41093


Artifact-free version of model

Overview
Right now, this model has issues in dark / low contrast regions #21. I've made a version of the model which significantly reduces the artifacts of this model without degrading performance on existing images.
Below are a couple of examples model outputs
Normal image
Image

Original

Improved

Dark image
Image

Original

Improved

Of course, the model outputs aren't perfect... but if the author of the repository or anyone is interested. Would be glad to write a PR or share methods, weights and code.

Thank! I will make a PR in couple of days.

Closed with #32


otomi-values: errors out of the box

Describe the bug: (a clear and concise description of what the bug is)
After setting otomi-values/env/clusters.yaml and otomi-values/env/clouds/aws/dev/* and would like to validate my templates and values, I receive a couple of errors.
To Reproduce
Steps to reproduce the behavior:
1.
mkdir otomi-values && cd $_ && git init .
docker run -e ENV_DIR=$PWD -v $PWD:$PWD otomi/core:latest bin/bootstrap.sh
. bin/aliases

Set otomi-values/env/clusters.yaml (CLOUD=aws && CLUSTER=dev) and otomi-values/env/clouds/aws/dev/*:

(used '-' to distort the actual values)
clusters.yaml:
clouds:
    aws:
        domain: -----
        clusters:
            dev:
                enabled: true
                apiName: arn:aws:eks:------:----------:cluster/------
                apiServer: -----.gr7.-----.eks.amazonaws.com
                k8sVersion: '1.1-'
                otomiVersion: 'master'
                region: ------

otomi-values/env/clouds/aws/dev/.env
export K8S_CONTEXT="-------------" # equal to ~/.kube/config

Error 1:
VERBOSE=1 otomi validate-templates && otomi validate-values
CWD: 0-11-40
bin/otomi: line 355: [: !=: unary operator expected
Info: The 'secrets.*.yaml files' are not decrypted, because /Users/sebastiaanverbeek/Projects/redkubes/test/0-11-40/.sops.yaml file is not present
has_docker=1
ENV_DIR=/Users/sebastiaanverbeek/Projects/redkubes/test/0-11-40
stack_dir=/home/app/stack
helm_config=/Users/sebastiaanverbeek/Library/Preferences/helm
cmd_image=otomi/core:master
check_kube_context=1
K8S_CONTEXT=-----------
IN_DOCKER=
command=bin/validate-templates.sh
Running dockerized version of command: bin/validate-templates.sh
Generating Kubernetes v1.18.0 Manifests for aws-dev.
helmfile-init.yaml: basePath=.
in helmfile.tpl/helmfile-init.yaml: failed to render values files "../values/k8s/k8s-raw.gotmpl": failed to render [../values/k8s/k8s-raw.gotmpl], because of template: stringTemplate:15:34: executing "stringTemplate" at <$team.clusters>: map has no entry for key "clusters"
Validation Failed

Error 2:
.vscode/values-schema.yaml:
See screenshots; can't copy multiple problems in vscode (#25290).

Expected behavior: (a clear and concise description of what you expected to happen)
I expect the first run to go smoothly and without errors.
Screenshots: (if applicable, add screenshots to help explain your problem)

Cluster(s):

Cloud: aws
Cluster: dev

Versions: (seen in console's /settings)

Core Version [e.g. 0.11.45?]
Console Version: ?
API version: ?

Desktop: (if relevant)

OS: MacOS
Browser: -
Version: 10.14.6

Additional context: (add any other context about the problem here)

Problem is not present in latest master. Closing

I pulled the latest image and receive the following problems, I think it's less than before:

Any ideas?

I also confirm there are some faulty values, for example on AZURE-DEV environment I see templating is broken. Almost like the secret values are not decrypted and merged in the final output.
I don't understand if helm-secrets is called on time, here I see the rendering error before helm-secrets logs.
Generating manifests for azure-dev cluster.
helmfile-03.init.yaml: basePath=.
in helmfile.d/helmfile-20.ingress.yaml: 3 errors:
err 0: failed to render values files "../values/cert-manager/cert-manager-raw.gotmpl": failed to render [../values/cert-manager/cert-manager-raw.gotmpl], because of template: stringTemplate:8:16: executing "stringTemplate" at <$cm.provider.azure.azuredns>: map has no entry for key "azure"
err 1: failed to render values files "../values/external-dns/external-dns.gotmpl": failed to render [../values/external-dns/external-dns.gotmpl], because of template: stringTemplate:21:10: executing "stringTemplate" at <$dns.azure>: map has no entry for key "azure"
err 2: failed to render values files "../values/ingress-azure/ingress-azure.gotmpl": failed to render [../values/ingress-azure/ingress-azure.gotmpl], because of template: stringTemplate:17:19: executing "stringTemplate" at <$i.armAuth.secretJSON>: map has no entry for key "armAuth"
helmfile-init.yaml: basePath=.
Decrypting secret /Users/alinspinu/Documents/RawDataLabs/RedKubes/GitHub/otomi-core/env/env/charts/secrets.prometheus-operator.yaml
Decrypting secret /Users/alinspinu/Documents/RawDataLabs/RedKubes/GitHub/otomi-core/env/env/clouds/azure/secrets.overrides.azure.yaml
Decrypting secret /Users/alinspinu/Documents/RawDataLabs/RedKubes/GitHub/otomi-core/env/env/teams/secrets.otomi.yaml
Decrypting secret /Users/alinspinu/Documents/RawDataLabs/RedKubes/GitHub/otomi-core/env/env/charts/secrets.drone.yaml
Decrypting secret /Users/alinspinu/Documents/RawDataLabs/RedKubes/GitHub/otomi-core/env/env/teams/secrets.dev.yaml

I also confirm there are some faulty values, for example on AZURE-DEV environment I see templating is broken. Almost like the secret values are not decrypted and merged in the final output.
I don't understand if helm-secrets is called on time, here I see the rendering error before helm-secrets logs.

This issue is about installing demo values, so please report bugs separately if they are unrelated.

I can't reproduce this with otomi/core:latest, so please state the steps if they are different from the ones above. Otherwise I have to close it

I pulled the latest image and receive the following problems, I think it's less than before:

Any ideas?

I hope you do understand that the "Problems" tab reports all kinds of issues, but none of the above refer to our setup. Check the output

If you want to turn on extensions globally @svatwork then understand they might say all kinds of things, but they might not concern us. All of our repos contain all their needed extensions, therefor I strongly suggest to NOT turn extensions on globally.

I pulled the latest image and receive the following problems, I think it's less than before:

Any ideas?

I hope you do understand that the "Problems" tab reports all kinds of issues, but none of the above refer to our setup. Check the output

Well I'm assuming it does, because it's part of the recommendations in otomi-core:
"streetsidesoftware.code-spell-checker",

Anyway, it was complaining about a lot of things in otomi-values but I haven't seen any in otomi-core so YMMV. Furthermore,
"yaml.schemas": {
    ".vscode/values-schema.yaml": "env/*.yaml"
  }

settings.json is complaining about it's own schema in my otomi-values repository.

If you want to turn on extensions globally @svatwork then understand they might say all kinds of things, but they might not concern us. All of our repos contain all their needed extensions, therefor I strongly suggest to NOT turn extensions on globally.

Yes, so you suggest disabling code-spell-checker. Just to be sure: for otomi-core it's a valid recommendation?

Well I'm assuming it does, because it's part of the recommendations in otomi-core:
"streetsidesoftware.code-spell-checker",

Anyway, it was complaining about a lot of things in otomi-values but I haven't seen any in otomi-core so YMMV.

Indeed. You seemingly have these issue in otomi-values repo though, and the plugin should not be active there.
In otomi-core you can do npm run spellcheck and see no errors.

Furthermore,
"yaml.schemas": {
    ".vscode/values-schema.yaml": "env/*.yaml"
  }

settings.json is complaining about it's own schema in my otomi-values repository.

report a bug with the yaml validation authors? I belive it's the redhad yaml plugin.

If you want to turn on extensions globally @svatwork then understand they might say all kinds of things, but they might not concern us. All of our repos contain all their needed extensions, therefor I strongly suggest to NOT turn extensions on globally.

Yes, so you suggest disabling code-spell-checker. Just to be sure: for otomi-core it's a valid recommendation?

Globally, yes. The settings in the repos activate them just for the repo.


Transactions model

WIP PR for transaction method models

will close and wait for previous pr to merge, so commit history will not be as bloated


dimensions of encoder_attention_mask in inputs of OFADecoder

This annotation may be wrong：
encoder_attention_mask (torch.Tensorof shape(bsz, seq_len)): the padding mask of the source side.
Does it refer to:
shape (bsz, 1, tgt_len, src_len)

@SilyRab Do you mean encoder_padding_mask? If so, its shape is equal to (bsz, seq_len), as shown in here


Add Dockerfile for sequence diagram generation

LGTM other than needing a rebase.

Done now -- merging.  Thanks!


fix: revised resize option

What kind of change does this PR introduce?
fix
What is the new behavior?
Revised resize option on transform
The available values are:

cover
contain
fill

:tada: This PR is included in version 2.1.0-next.2 :tada:
The release is available on:

GitHub release
npm package (@next dist-tag)

Your semantic-release bot :package::rocket:


Fix a pointer event bug

Calculate relative coordinates before delegating to the FlutterTizenView.

Signed-off-by: Boram Bae<EMAIL_ADDRESS>

Could you describe what the bug was?
Does this change work for all possible cases, including TizenWindowElementary/TizenWindowEcoreWl2/TizenViewElementary and landscape/portrait?

Could you describe what the bug was?

It caused by recent changes and can only be reproduced when the view type is Window.  especially it happens when you use the window channel to move the window. you must change the mouse coordinates to relative coordinates only when the view type is not Window. The orientation of the device is irrelevant.

@bbrto21 So what is the bug? What's not working?

@bbrto21 So what is the bug? What's not working?

The mouse event coordinates are reduced by the distance the window moves.


Add "Now Playing" for anything

I don't like using Spotify specifically, unless it's for podcasts. I don't have premium and likely won't get it, and watch a lot of youtube. Constantly tabbing in and out from work/gaming to pause or play youtube videos or a song that's not in spotify is a little frustrating. I see potential in GlanceThing having a HUGE advantage over DeskThing if you can make the current slot for "now playing on spotify" instead "now playing", so it just pauses, plays, etc. the most recent media that was playing. DeskThing does that on windows, I think, and if you could make it happen on MacOS that would be huge and greatly appreciated.

Tracked here! Will need a bit of work since it needs different implementations on different platforms, need to figure out the best way to do that


Only use Unicode if stdout claims to support UTF-8

This should hopefully fix #137.

Shall I merge or wait for @NZJourneyMan to confirm it fixes #137?


Parsing error on def_bool

Hi!
First of all thanks for your parser.
I have troubles parsing some Linux Kconfig files, e.g. this file here:
# Linux v6.10.9: arch/x86/Kconfig.assembler

config AS_WRUSS
	def_bool $(as-instr64,wrussq %rax$(comma)(%rbx))
	help
	  Supported by binutils

yields
input: LocatedSpan { offset: XXXX, line: XX, fragment: ")\n\thelp\n\t  Supported by binutils\n",
extra: KconfigFile { root_dir: "XXX/linux", file: "XXX/linux/arch/x86/Kconfig.assembler" }
}, code: Eof

It seems like the problem comes somewhere from def_bool.

It seems like the parser does not like the extra parenthesis. Here a minimal non-working example:
config TEST
	def_bool $(hey (%rbx))

Hi, Thank you for giving me an example. I'll take a look by the end of the week.

Hey, a temporary fix is available here:
nom-kconfig = { git = "git@github.com:Mcdostone/nom-kconfig.git",  branch = "fix/parse-bool" }

Can you tell me if it works?
I've never seen a macro parameter between parenthesis in the linux kernel codebase.  Does it mean something  particular? What's the output?

Hey @Mcdostone,
awesome, that was quick! Yes the fix works.
I am collecting all configuration options for x86 in for different versions, but this one file made some trouble. Other than that from what I can tell your parser works great (for SRCARCH x86 at least). Regarding the meaning of this particular def_bool: I don't know what it does or what it means :smile:
Thanks!

No pressure, but thanks a lot.

0.2.1 is available ! Enjoy


Change SetupHook from Box<dyn Fn(...)...> to Box<dyn FnOnce(...)...>

Is your feature request related to a problem? Please describe.
The SetupHook type utilizes Fn() instead of FnOnce(), even though it is only run once. This prevents users from moving values into the setup closure on tauri::Builder, and makes it so that users have to utilize extra workarounds to achieve the result that they're looking for.
Describe the solution you'd like
Change the SetupHook type to Box<dyn FnOnce(&mut App<R>) -> Result<(), Box<dyn std::error::Error + Send>> + Send>, and change the F generic parameter in tauri::Builder::setup to FnOnce(&mut App<R>) -> Result<(), Box<dyn std::error::Error + Send>> + Send + 'static. As far as I can tell (and have tested), this should be totally possible, since setup is only run once, here.
Describe alternatives you've considered
As far as I know, there aren't really any alternatives within tauri to produce the same result without this proposed solution. If there are any that I'm not thinking of, I'd love to hear and consider them.
Additional context
Nothing that I know of.
If I am incorrect in any assumptions here or not clear enough in any part of it, please let me know :) I would also be happy to submit a PR with the needed changes if this change is desired.

I like this, but last time I checked this brought a bunch of problems with it, because you can't wrap a FnOnce in a Fn


Ghast fireballs slow down to a stop

Seems like Motion is set instead of power

Thank you for this. Ill fix this for the next release


besom.internal.ResourceDecoder fails to parse some escape codes

//> using scala "3.3.3"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using dep "org.virtuslab::besom-core:0.3.1"
//> using dep "org.virtuslab::besom-command:0.10.0-core.0.3"
import besom.*
import besom.api.command

@main def main = Pulumi.run {

  val run = command.local.Command(
      "test-command",
      command.local.CommandArgs(
          create = """echo -e "normal text here \n\x1b[0;1;31m this text should be bold and red""""
        )
    )

  Stack.exports(
    stdout = run.stdout
  )
}

pulumi up fails with
 2024.05.07 00:02:40:797 scala-execution-context-global-52 [resource: test-command[command:local:Command]] ERROR besom.internal.ResourceDecoder.resolve:97
        Resolve resource: received error from gRPC call: 'Unknown ansi-escape [0;1;31m at index 21 inside string cannot be
        parsed into an fansi.Str', failing resolution
    2024.05.07 00:02:40:844 main  ERROR besom.internal.BesomModule.run:70
        java.lang.IllegalArgumentException: Unknown ansi-escape [0;1;31m at index 21 inside string cannot be parsed into an
         fansi.Str

Thank you for this report! I'm wondering if this is hiding another issue as we don't really use fansi in contexts different than debugging and error handling. I'll investigate.

Ok, so this is a much bigger problem than just fansi having issues with parsing some escape codes. It seems Pulumi engine does something to escape codes and even if I disable trace logging that leads to this exception the besom program does not terminate at all in your sample. I guess something goes horribly wrong on pulumi's side but I'm still researching.

Ha, problem is on our side (in fansi and our pretty printer). I have a solution that works.

fixed in #492


kubernetes mon fails to start

I'm trying to deploy ceph to kubernetes, on CoreOS. The config files I'm using are up here: https://github.com/slang800/coreos-k8s-config/tree/master/ceph (they're copied from the kubernetes example and just rewritten to use a Makefile for secret generation).
When I deploy the monitor it crash-loops and each container has the following logs:
$ docker logs 98644da38a92
/sbin/ip
monmaptool: invalid ip:port '<no'

How should I go about debugging this? The container dies and exits before I can attach to it.

@slang800 any reason why you're trying to launch both the deployment and the daemonset for the MONs?
It seems that there is an issue with the IP or Port being passed to the monmap (part of the entrypoint.sh). We haven't used the examples in this repo for a while so can't remember if we ran into that specific issue. Worth having a look at passing in ENV vars to make the network easier to detect though, we have some examples here which are known to be working:
https://github.com/AcalephStorage/ceph-docker/blob/more-kube-examples/examples/kubernetes/host/ceph-mon-v1-dp.yaml#L69-L84

Oh, no - I didn't actually know what a DaemonSet was supposed to do (still learning how to use Kubernetes). Thanks for pointing that out!
I'll try using that config example and report back if I find out what the problem is.