How it works?

Hello Ryan,
I tried your code for RG2 with RG6 gripper and it works!
I would like to add the ability to monitor rg_Busy and rg_Grip_detected variables.
However, I don't understand how the code works. Specifically, how to construct xml request (e.g. lines 115-123) and what is going on with curl commands (e.g. lines 130-144 ).
Would you mind explaining the code if you have time?

Look at the file /onRobot/xml_rpc_on_robot/list_methods_response.xml.
There you find all xmlrpc commands for RG grippers.
Look at line 33 (in my file at least). Here you find the command rg_get_busy.
Now check the response and request variables:

go to  /onRobot/xml_rpc_on_robot/
open the file xml_request_sys_method_help.xml and change the value to rg_get_busy.
 <value><string>rg_get_busy</string></value>
now navigate with your terminal to the folder /onRobot/xml_rpc_on_robot/
and use this command curl -X POST -d @xml_request_sys_method_help.xml <IP_ADDRESS>:41414. Change <IP_ADDRESS> to your robot ip
i dont have a rg gripper. I show you the output for the 2fg7 gripper instead:

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param><value><array><data>                 #ignore
<value><array><data>                      #ignore
<value><string>boolean</string></value>     #This is the response type (boolean) you get back with the value
<value><string>int</string></value>        #Now follows the request part. We have to send only one variable which should be int type
</data></array></value>                 #ignore
</data></array></value></param>           #ignore
</params>
</methodResponse>

so now you know your request and response types. In the gripper.py you can just copy the get_rg_width() function.
change functionname between the  tags

<methodCall>
    <methodName>rg_get_busy</methodName>
        <params>
            <param>
                <value><int>{self.rg_id}</int></value>
            </param>
        </params>
</methodCall>

change rg_width = float(xml_response[0][0]) to rg_busy = bool(xml_response[0][0])
call the function with your robot_ip and tool_id (usually 0)

@ViHin13 Thank you for this explanation, I think now I know enough to implement corresponding methods


pallet macro: allow to declare individual unbounded storage for those who cannot go into PoV

This PR introduce a new attribute in the pallet macro for storage: pallet::unbounded.
This attribute allow to declare that a storage doesn't have bounds on its keys and value types and thus only generate partial storage information.
For storage who cannot go into PoV this is useful. Like system event for instance.
Limitation: Maybe the some storage might want to express the bounds on the key types but not the bound on the value. Currently the storage info doesn't support this. I think we can implement more fine grained description when the need comes.

for now event goes into PoV, and frame_system doesn't declare the storage info bounds, so no storage are bounded.

bot merge


knife bootstrap + Windows PowerShell is generating "Missing Cookbook" <...> *roles" or "Missing Cookbook" <...> *recipes".

Description
Windows PowerShell is generating "Missing Cookbook" <...> *roles" or "Missing Cookbook" <...> *recipes".
Previously reported in https://tickets.opscode.com/browse/CHEF-4519
Chef Version
Chef: 12.10.24
Platform Version
Windows 10; from PowerShell.
Replication Case
Using Windows10 + PowerShell.
Following https://learn.chef.io/manage-a-web-app/ubuntu/run-your-web-application-on-a-node/, created a new device (EC2) and then ran the bootstrapping command:
knife bootstrap ec2....us-west-2.compute.amazonaws.com --ssh-user ubuntu --sudo --identity-file "~.ssh\id.pem" --node-name customers_web_app--run-list 'recipe[awesome_customers_ubuntu]'
Client Output
<IP_ADDRESS> Starting Chef Client, version 12.7.2
<IP_ADDRESS> resolving cookbooks for run list: ["recipes"]
<IP_ADDRESS>
<IP_ADDRESS> ================================================================================
<IP_ADDRESS> Error Resolving Cookbooks for Run List:
<IP_ADDRESS> ================================================================================
<IP_ADDRESS>
<IP_ADDRESS> Missing Cookbooks:
<IP_ADDRESS> ------------------
<IP_ADDRESS> The following cookbooks are required by the client but don't exist on the server:
<IP_ADDRESS> * recipes
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS> Expanded Run List:
<IP_ADDRESS> ------------------
<IP_ADDRESS> * recipes
<IP_ADDRESS>
Stacktrace
No stacktrace.
IMPORTANT: workaround:
Add a comma at the end of the array of recipes: in this case, replace 'recipe[awesome_customers_ubuntu]' with 'recipe[awesome_customers_ubuntu],'
So working command is:
knife bootstrap ec2....us-west-2.compute.amazonaws.com --ssh-user ubuntu --sudo --identity-file "~.ssh\id.pem" --node-name customers_web_app--run-list 'recipe[awesome_customers_ubuntu],'

@mrincodi When you get that error, could you run get-module?  I think you are hitting https://github.com/chef/chef/issues/1687 and we ship a custom powershell module to help with the argument quoting.
Another thing you could try is
knife --% bootstrap ec2....us-west-2.compute.amazonaws.com --ssh-user ubuntu --sudo --identity-file "~.ssh\id.pem" --node-name customers_web_app--run-list 'recipe[awesome_customers_ubuntu]'

The --% in PowerShell tells PowerShell not to perform any evaluation of the rest of the command line and just pass it to the command as is. (This was introduced in PowerShell v3.)

@mrincodi I ran into this issue as well, and I'm pretty sure this is exactly what @smurawski is saying. I found another way to do it is to escape your quotes with a back tick. So in this particular example:
knife bootstrap ec2....us-west-2.compute.amazonaws.com --ssh-user ubuntu --sudo --identity-file "~.ssh\id.pem" --node-name customers_web_app--run-list 'recipe[awesome_customers_ubuntu]'

I'm also hitting this issue today. Adding the comma at the end of the run_list argument fixed things for me, but doesn't seem very intuitive. Is there anything else I can provide to help track this down?
knife bootstrap windows winrm <IP_ADDRESS> --winrm-user 'myusername' --winrm-password 'mypassword' --node-name mymachine.mydomain.com
--bootstrap-no-proxy '*.mydomain.com' --environment 'dev' --run-list 'role[S
QLServer]' --msi-url 'https://repo.mydomain.com/chef/chefclient/chef-cl
ient-12.16.42-1-x64.msi'
<IP_ADDRESS>
<IP_ADDRESS> ==================================================================
==============
<IP_ADDRESS> Error Resolving Cookbooks for Run List:
<IP_ADDRESS> ==================================================================
==============
<IP_ADDRESS>
<IP_ADDRESS> Missing Cookbooks:
<IP_ADDRESS> ------------------
<IP_ADDRESS> The following cookbooks are required by the client but don't exist
 on the server:
<IP_ADDRESS> * roles
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS> Expanded Run List:
<IP_ADDRESS> ------------------
<IP_ADDRESS> * roles
<IP_ADDRESS>
<IP_ADDRESS> Platform:
<IP_ADDRESS> ---------
<IP_ADDRESS> x64-mingw32
<IP_ADDRESS>
<IP_ADDRESS> [2016-11-16T09:25:58-08:00] ERROR: Running exception handlers
<IP_ADDRESS> [2016-11-16T09:25:58-08:00] ERROR: Exception handlers complete
<IP_ADDRESS> [2016-11-16T09:25:58-08:00] FATAL: Stacktrace dumped to c:/chef/ca
che/chef-stacktrace.out
<IP_ADDRESS> [2016-11-16T09:25:58-08:00] FATAL: Please provide the contents of
the stacktrace.out file if you file a bug report
<IP_ADDRESS> [2016-11-16T09:25:58-08:00] FATAL: Net::HTTPServerException: 412 "
Precondition Failed"
ERROR: Failed to execute command on <IP_ADDRESS> return code 1


Upgrade org.pitest:pitest-maven 1.9.7 -> 1.9.8

This PR contains the following updates:

Package
Type
Update
Change

org.pitest:pitest-maven (source)
build
patch
1.9.7 -> 1.9.8

Release Notes

hcoles/pitest
v1.9.8
Compare Source
#1094 Search for source files outside of package dirs
Adds support for languages such as Kotlin where source files may not be within a directory structure which matches their package. Note that if the same filename occurs in more than one location, pitest cannot guarantee to resolve the correct file.

[ ] If you want to rebase/retry this PR, click this checkbox.

Suggested commit message:
Upgrade pitest-maven-plugin 1.9.7 -> 1.9.8

See https://github.com/hcoles/pitest/compare/1.9.7...1.9.8


rv64i_m F and D tests mostly missing?

The F and D tests mostly vanished form rv64i_m/src since I last looked at them this summer.  They are still present in rv32i_m.  Only the fcvt tests remain in rv64.
What happened and are they returning soon?
Thanks!
David Harris

The F and D tests in the rv32i_m are applicable/included for rv64 too. The same tests are configurable to work for both(32&64) the values of FLEN currently. The tests are sorted and placed into directories
depending on the first ISA configuration which introduces the corresponding instruction canonically
i.e according to the categorisation in Chapter 26 of the spec. So for a RV64FD configuration tests from all the 4 folders i.e rv32i_m/F, rv32i_m/D, rv64i_m/F and rv64i_m/D need to be included.

Thanks!


Set gas limit also for legacy transactions

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #142 (9694ad3) into main (7267892) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   42.71%   42.72%   +0.01%
==========================================
  Files          14       14
  Lines        4898     4899       +1
==========================================
+ Hits         2092     2093       +1
  Misses       2806     2806

Flag
Coverage Δ

test
42.72% <100.00%> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/ethereum/mod.rs
76.43% <100.00%> (+0.12%)
:arrow_up:

Continue to review full report at Codecov.

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


Cannot save patient + unhelpful message

I am not a medical proffessional, but I tried to setup a simple patient record with not everything filled in:

After clicking "Save" I get:

The message should IMHO tell me what am I missing.
Then, if I fill in the "Account number" field, but let the cursor (focus) stay in the text area, the error still appears. When I click outside and then click "Save" the save is succesful. This looks like a bug.
It appears that "Account Number" is a vital field that has to be filled in. I would therefor suggest it is put at the very top of the patient form.

The software is telling you exactly what is missing. You provided a blank account number. Any layman would know that you can't store a medical record with an account number.
The default WPF textbox behavior is that binding is fired when control leaves a textbox. I would suggest asking Microsoft to make changes to that.
I am unable to change the layout of GUI, which I believe is not important. The fact that account number is a vital field is self-explanatory.

Bug fixed.


Install Twemoji font in Dockerfile

This PR automates the instructions provided in the wiki to install the Twemoji font in a Docker environment

Would it be possible to change this to always try and get the latest version of the Twemoji RPM?

I'll take a look into it, but the only API documentation for their build system is a Python package it seems

Superseded by #245


gradle depends on an insecure third-party JAR package that contains the CVE vulnerability

gradle version: 7.3
package : gradle-7.3-bin.zip
jar file:
gradle-7.3/lib/jcl-over-slf4j-1.7.30.jar
gradle-7.3/lib/jul-to-slf4j-1.7.30.jar
gradle-7.3/lib/log4j-over-slf4j-1.7.30.jar
gradle-7.3/lib/slf4j-api-1.7.30.jar
gradle-7.3/lib/commons-io-2.6.jar
CVE:
CVE-2022-23307
CVE-2022-23305
CVE-2022-23302
CVE-2021-29425
jar file:
gradle-7.3/lib/plugins/maven-builder-support-3.6.3.jar
gradle-7.3/lib/plugins/maven-model-3.6.3.jar
gradle-7.3/lib/plugins/maven-repository-metadata-3.6.3.jar
gradle-7.3/lib/plugins/maven-settings-3.6.3.jar
gradle-7.3/lib/plugins/maven-settings-builder-3.6.3.jar
CVE:
CVE-2021-26291
jar file:
gradle-7.3/lib/gradle-base-annotations-7.3.jar
gradle-7.3/lib/gradle-base-services-7.3.jar
gradle-7.3/lib/gradle-base-services-groovy-7.3.jar
gradle-7.3/lib/gradle-bootstrap-7.3.jar
gradle-7.3/lib/gradle-build-cache-7.3.jar
gradle-7.3/lib/gradle-build-cache-base-7.3.jar
gradle-7.3/lib/gradle-build-cache-packaging-7.3.jar
CVE:
CVE-2022-23630
do these vulnerabilities affect the latest Gradle version?

Thank your for your interest in Gradle.
The first three CVEs all relate to Log4j 1.x which Gradle does not use.
CVE-2021-29425 does not look applicable. As a build tool, Gradle will access content in and outside of the project folder, for many reasons - dependencies, sources, configuration, etc ... But we can still update commons-io to the latest version for the next release to be on the safe side.
CVE-2021-26291 is not applicable as Gradle, by design, does not follow repositories declarations from published Maven POM metadata.
And the last one was reported to us and disclosed by us - see https://github.com/gradle/gradle/security/advisories/GHSA-9pf5-88jw-3qgr. Gradle 7.4 fixes that issue.
So unless you can provide more information, none the linked CVEs impact Gradle except for the last one.

@ljacomet thank you for your explanation!


added my name to the names.js file

added my name to the names.js file

@gaurav-chatribin please review this and merge


:cop: Add Snyk badge

Coverage remained the same at 93.173% when pulling 45874e6369bc3772e7251298311328cdf9ba3209 on feature/snyk into 7ec163484b075d01c5745f99f94c53e81e268d31 on master.


Add rsync_unarchive update-code option

This adds an option to deploy a pre-build package of your code to the remote servers using rsync, unarchive it, and use it to deploy the application.
Option name: ansistrano_deploy_via: "rsync_unarchive"
To specify the deploy package:
ansistrano_deploy_from: "{{ playbook_dir }}/../deploy_package.tar.gz"
This option is needed because we use a CI tool to generate all dependencies for our project, package everything and deploy this package.
This makes it very useful to re-use the deploy packages.

Hi @Pegasuz, thanks for your contribution. It would be great if you can add some tests. Do you think it's feasible?

After reviewing the code more in detail, I think the method should be just unarchive (ansistrano goes to find a file in the existing server and unarchives it). How the file is put in the file is something easy to handle as a hook task. What do you think?

You could also unpack a file after copying it from the local machine, using the default remote_src option of the unarchive ansible module. What do you think?

Hi @membrive. You can use the "ansistrano_before_update_code_tasks_file" hook to upload the file to your server. Then a new "unarchive" method to deploy from a zip file in the same server is what should be created.

Hi @Pegasuz and @membrive!
I see two options here:

What about using the existign "copy_unarchive" method we have? https://github.com/ansistrano/deploy/blob/master/tasks/update-code/copy_unarchive.yml
Put the archived file in the server with a hook (or previous at running ansistrano) and then using "download_unarchive.yml" using a "file://" protocol. Example:

(from http://docs.ansible.com/ansible/latest/get_url_module.html)

name: Download file from a file path
get_url:
url: file:///tmp/afile.txt
dest: /tmp/afilecopy.txt

Thanks for your time contributing and commenting 👍

Hi @carlosbuenosvinos, thanks for your answer.
I like option 1 over 2, since it can be used without needing an additional file for the hook.
I will try it this week. Thank you!

Great @membrive! Let me know how it goes!

Hi @membrive and @Pegasuz! Any update about the proposed approach? Can be close this PR? Thanks!

@carlosbuenosvinos sorry, I haven't had time to try it, but I'll do it as soon as possible.

What's going on with this PR? I use CircleCI and doing rsync will just take tons of time without archiving before.
Thanks!

Closing as this can be achieved with a pre hook and using existing strategies such as donwload_unarchive or copy_unarchive


upgrade to work with esri js api 4.x

OK @steveoh. This is ready for another look.

I suppose my only concern is checking source maps into the main repo. Don't you think that is more of a dev concern? If they are ignored by bower or npm they will still be requested because of the markup in the files.

I think that it's handy to have them when you are debugging an app wondering if it's your code or a dependency.


How to save captured still image on computer?

Thank you for the great library!
I was able to connect my Sony RX100IV to it and to take pictures via camera.actTakePicture(). However I cant figure out how to save the taken picture on my computer instead on the SD card. Can anybody help me on this? Any help would be greatly appreciated!

The "Sony Remote API" protocol is for remote control, it does not allow for saving directly to controlling device., You have to save to the camera and then transfer to Pc/etc. They recently released a new "Camera Remote API" which is different and for the newer cameras...
https://developer.sony.com/develop/cameras/get-started
If you can use a lower res image (for preview or framing) you can use the 'livePreview' feature to stream images as a mid-speed fps.


nav bar in modal

I am trying to implement ion nav bar inside ionic modal ! but it is invisible inside modal !
Is it a bug ? or I am doing it wrong?

Any hint on what's the root cause of the issue?
I need this working as I have complex sub-navigation in modals, and I'm willing to propose a PR to fix this. From what I saw each ion-nav-bar has its own delegate instance, so the only cause I can think of is wrong DOM selectors for showing/hiding the bars, am I wrong?

Nevermind, I am preparing a PR since I've found the cause for this, I was not that of a great deal to fix but quite challenging to find ^^


⚠ Vaultwarden has degraded performance

In 683a5e9, Vaultwarden (https://vaultwarden.underthere.xyz) experienced degraded performance:

HTTP code: 502
Response time: 18379 ms

Resolved: Vaultwarden performance has improved in ffef899 after 2 minutes.


Feature Request: Customize Month Names for Afghan Calendar

I need to customize the month names to reflect the Afghan calendar instead of the default Iranian names. Could you consider adding a feature in jb-date-input for users to set custom month names?

Hi, yes, the names of the months can be changed
you can use the two configs below.
months & days
Sample:
jalaliDatepicker.startWatch({
months:	["فروردین", "اردیبهشت", "خرداد", "تیر", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند"]
})

I appreciate that, and is it possible to get the day numbers converted to English?


gettext doesn't convert charsets

Describe the bug
I have an application which keeps translations in UTF-8, to display them in a user's native encoding I use bind_textdomain_codeset(const char * domainname, const char * codeset ) but calls to gettext() return strings in UTF-8.
Environment

OS: Windows
Compiler: MSVC2015u3

Expected behavior
Strings returned by gettext() are converted to local encoding.

Is this a vcpkg issue?

Hi @375gnu, thanks for reporting this issue.
Can you provide a demo project to repro this issue?
Thanks.

Hi @JackBoosY, I pushed it to https://github.com/375gnu/vcpkg_bug/tree/master/gettext_8484. output.png shows the issue, correct output should have 8 letters only, actually there are 16.

@375gnu I still cannot repro it. It's my result:

The only difference is that I use the msvc project instead of the cmake project.

@JackBoosY it looks like you don't have a translation. You need to translate test.po to your language and put it to %YOUR_TWO_LETTER_LANGUAGE_CODE%/LC_MESSAGES/test.mo

@375gnu Sorry, I have not used this port experience.
Which label needs to be changed?

Which label needs to be changed?

@JackBoosY didn't get. Are you asking how to create translation file or about something else?

@375gnu How to translate "test.po" file? Should I use a tool to change the character set to utf-8 / unicode or something else? Which label should I change in this file? Can you give some templates?
Thanks.

@JackBoosY
Step 1, edit test.po, this file should be in UTF-8 (and it already is):

Replace be with your language code in "Language: be\n" and "Language-Team: be\n"
Replace праверка with your language translation for test in msgstr "праверка\n"
You can also update "Plural-Forms:" field but we don't care for it now.

Step 2:

download gettext for windows from https://mlocati.github.io/articles/gettext-iconv-windows.html
create directory for your translation %LANG%\LC_MESSAGES where LANG has the same value as on step 1
convert test.po to binary form: msgfmt -o %LANG%\LC_MESSAGES\test.mo test.po

Step 3:

Replace CP1251 in test.cpp with your non Unicode encoding.
Compile and run the test application.

Alternative way:
Temporary set regional settings to be_BY (Belarusian, Belarus in the Control Panel) (Windows' interface should stay in English) and run the test application.

Or you can tell me your language and i will create a test file, according to your profile it should be Chinese.

@375gnu My machine is en-US, but I hope you can make a Chinese files. : )

@JackBoosY I've pushed updated file. With locale set to zh_CN.UTF-8 it works file on my GNU/Linux.

@375gnu Sadly, I still can't reproduce it on my zh-CN machine. This is my result (complete use of your provided file):

What did I miss?

@JackBoosY I forgot to push all changes, please try now. Btw, instead of changing locale settings you can try to define environment variable LANGUAGE=zh, this is a GNU gettext extension and should be supported on all platforms.

@375gnu Thanks, confirmed.

Then, I found that the actual character set of the output string is UTF-8, but it is printed as ANSI.
In the absence of knowledge of gettext, we need official support.

i'd say that the problem is not in gettext itself but in libiconv used by gettext

@375gnu I think gettext doesn't really use iconv right now.
Because only DEPENDS_ON_LIBICONV is defined in CMakeLists.txt and HAVE_ICONV is not defined, but in the code:
#if DEPENDS_ON_LIBICONV && HAVE_ICONV

Rebuilt after adding -DHAVE_ICONV, an error occurred:
gettext-runtime\intl\dcigettext.c(1316): error C2065: 'ICONV_CONST': undeclared identifier

ICONV_CONST definition not found after looking up the header file of libiconv.

the problem is that libiconv on windows is built without ENABLE_RELOCATABLE, while gettext with.
I tried to build gettext without ENABLE_RELOCATABLE, and it seems that it works fine.


Added openSUSE to the list of community packages

As @ikeydoherty already made a pretty high quality thirdparty package there was just a few things to clean up https://build.opensuse.org/request/show/452888 and prepare for an inclusion in the official distribution https://build.opensuse.org/request/show/452889 which will hopefully be accepted soon.
Also updated https://en.opensuse.org/Budgie accordingly.

As @ikeydoherty already made a pretty high quality thirdparty package

Except Ikey doesn't maintain the openSUSE package anymore and maintainership still isn't finalized from what I can tell: https://build.opensuse.org/request/show/452889 "In state review"

I see that the package is making good process for openSUSE:Factory, thanks @Mailaender ! As soon as this accepted into factory we can merge this :)

@ikeydoherty Yea I just want(ed) to make sure everything is all set in terms of maintainership and availability on openSUSE before merging :smile:

The time consuming bureaucratic steps such as IP review and whitelisting https://github.com/openSUSE/osc-plugin-factory/pull/656 are over so this might be accepted rather quickly.
https://en.opensuse.org/Budgie has been updated and GeckoLinux will migrate to the new development project as well. https://bugzilla.opensuse.org/show_bug.cgi?id=1010121
I can also add you as maintainer there if you want.

Thank you for keeping us updated on the progress of availability on openSUSE. While I appreciate the offer to add me/us as a maintainer, @ikeydoherty's post still is representative of our view that having someone that uses openSUSE or GeckoLinux and is willing to maintain and integrate Budgie on said platforms (whether it be the packaging or updating of those platform's assets, such as wiki pages) is the best option.


fix link to example

update go to link

@JCofman thanks for offering the fix! We won't be able to accept your PR until we have our Contributor License Agreement prepared. We certainly appreciate the help and look forward to accepting PRs soon.
I'll leave this open for now, and come back with an update when we're ready.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: JCofman:x: aoberoiYou have signed the CLA already but the status is still pending? Let us recheck it.

thanks for this, fixed in https://github.com/makenotion/notion-sdk-js/commit/8ae90b034652dd3b637a3f0879961ac6fa5ed02a so closing for now.


Update branches for autoware_cmake

Please update the following dependency to the rosdep database.
This PR updates the branch that tracks https://github.com/autowarefoundation/autoware_cmake upstream to main
Package name:
autoware_cmake
The source is here:
https://github.com/autowarefoundation/autoware_cmake
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file
[x] This package is expected to build on the submitted rosdistro

@nuclearsandwich thanks


Add keywords to generate realistic-but-random first/last names

The Cumulus tests generate random contact names but they are gibberish. It'd be nicer to provide keywords wrapping https://pypi.org/project/names/

Ah nice, even better!

We added robot keywords to generate data using Faker in cumulusci 3.11.0


Helm 3: "helm repo add" only uses HTTP getter to download repository index

In Helm 3, helm repo add does not use the correct getter.Getter provided by helm plugins to retrieve the index.yaml file.
For example, https://github.com/hayorov/helm-gcs works with Helm 2 but fails in Helm 3 with the following error:
helm repo add test-gsc gs://some-gcs-bucket
Error: looks like "gs://some-gcs-bucket" is not a valid chart repository or cannot be reached: Get gs://some-gcs-bucket/index.yaml: unsupported protocol scheme "gs"

Output of helm version:
version.BuildInfo{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-27T00:13:18Z", GoVersion:"go1.9.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.10-gke.5", GitCommit:"5aa3a95d828fe45aab3611dfc4ebdc0341fe1507", GitTreeState:"clean", BuildDate:"2019-05-29T17:25:39Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.): Not relevant

Closed by #6090


MINOR: Remove multi-byte charactor in docs

There are multi-byte characters In quickstart.html and security.html.
This PR will fix it.

LGTM


Add information about licensing

oh , thanks ! I had forgot it . sorry

NP, thank you for information.


[Docs] UX: Create better layout for Error Code Reference

Current State
The current tabular layout of the Meshery Error Code Reference can be difficult to read.
Desired State

Design and present a new layout for improved legibility and navigation.
Present design, and once approved, implement.

Contributor Resources

Instructions for contributing to documentation

Meshery documentation site and source

Wireframes and designs for Meshery UI in Figma
Questions: Layer5 Discussion Forum and Layer5 Community Slack

@leecalcote , do I need figma to design it ?


Add schemas for travel-advice (index and country pages)

I believe this contains everything necessary to render these pages. I'd appreciate feedback on whether there's anything I've missed, or whether any of this should be modelled differently.

@danielroseman Is anyone from your team looking at this? It now passes all the schema checks (I rebased against master).

We've put this aside until we're completely finished with the write api documentation, we'll be getting back to it soon.


Don't check private fields in toHaveSameProps matcher

E.g.
expect(new DateTime(1)).toHaveSameProps(new DateTime(1))

fails.
In this case we could work around it via toEquals, but that does not work any more when comparing nested structures (which is actually my usecase).

Also need to check for static fields to make the above check happy

In unittest_backend.dart, something like this could work:
  toDataUsingReflection(obj) {
    ...
    return clazz.declarations.values.fold({}, (map, decl) {
      if (decl is MethodMirror && !decl.isPrivate && decl.isGetter) {
     ...


[BUG] Custom Resources Label with Inferencer component

Describe the bug
ℹ Information
UI Framework: Ant Design
dataProvider: Supabase
🐞 Bug description
while set Chinese in label

the page will result in Error

Steps To Reproduce

custom resources
type some Chinese like "下包管理" in label
refresh the page

Expected behavior
should show the table like this

Screenshot
No response
Desktop
No response
Mobile
No response
Additional Context
No response

I'm experiencing the same issue but with Cyrillic label. Looks like only English text works fine with "label" property. This probably has to do something with encoding IMHO.

Okay, I found a root cause.
Inferencer generates the code for the list component. It generates a name for the component variable and uses it in the component code template. When generating the variable name, it uses resource.label if it is present rather than resource.name as a prefix. After that it performs an identifier name sanitization which strips all characters that do not match [a-zA-Z]. Thus, our target component name looses prefix entirely and we end up having List as the list component name. However, another List variable already exists in the context because it is being imported from @pankod/refine-antd.

Hey @JerryLiu19880810 and @wombat86, looks like a workaround is already found and applied 🙏 🚀  but just opened a PR (#3441) to fix this issue. Now the component name will fallback to Inferred{Action} in case of empty label or non [a-zA-Z]. 🧑🍳


add an image preview and support dark mode?

I thought it would be cool to have a visual.
Also, I think the CSS allows dark or light mode depending on user preference.  Not sure how correct that is.


WIP: adapt to JWT auth scheme

Adapted to current state of the auth branch, no recaptcha.

Pull Request Test Coverage Report for Build 60

82 of 82 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.03%) to 97.414%

Totals

Change from base Build 58:
1.03%

Covered Lines:
170

Relevant Lines:
171

💛  - Coveralls


RT-507:Loading indicators

Overview
Added a simple progress bar for layer loading, it shows until all layer is loaded and then after loading all layer it will hide
How it was tested
Tested on local
Checklist

[x] The title contains a short meaningful summary
[x] I have added a link to this PR in the Jira issue
[x] I have described how this was tested
[x] I have included screen shots for changes that affect the user interface
[ ] I have updated unit tests
[x] I have run unit tests locally
[ ] I have updated documentation (including README)


Remove not used imports

Right now there is a lot of not used imports in all of the modules. Clear those which are not used.

All not used import removed


Enhancement: Provide more information in the result from the UserManager.Verify*TokenAsync() methods

Hi there,
As an enhancement, I'd like to see more information returned from the Verify*Token methods on UserManager, such that richer information on failures can be recorded in metrics, or the flow updated to ease user interactions.
Rather than returning a boolean true/false from UserManager.verifyUserToken(), I'd be interested in a richer object that's a pair of true/false + some sort of status string / error code / something to provide more details.
I think there'll only be one token provider for any given call, so it shouldn't need to have multiple status strings returned (eg, if multiple providers needed to say 'no' in different ways)
The sort of failure information we could see passed back would allow:

Being able to find out if the TOTP code is ahead/behind but nearly valid (user may need to be pushed to a flow to obtain multiple codes to handle authentication token resync)
An one-use token was valid but already been used (please ask for another or contact an admin to investigate if you didn't use it)
A time-limited token was valid but has timed out (ask for another token)

And additionally we would start storing metrics on the above, so we can see if the time delay on tokens is too short; if there's something confusing in the flows, or if some odd spike of failures is indicating an attacker trying it on.
For those providing public signups, exposing the exact details of the failure to the users may have a security impact, so I wouldn't make displaying information part of any templates.
In a corporate environment, re-sending a expired code to a phone automatically (rather than require the user to re-start the password reset flow) could reduce the support load of these sorts of security features.
Hopefully that makes sense,
Michael

We'll pop this in the backlog for visiting in a new major version


Image subcommands need documentation

None of the dkrdbe image subcommands are displayed by the dkrdbe help, nor are they documented here.

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

ID: d71a4cd1-4da4-fe82-7f9c-ce133de5f600
Version Independent ID: ef2fb833-1413-92e1-ecdb-c4731fdc78ea
Content: Connect to and manage Microsoft Azure Data Box Edge device via the Windows PowerShell interface
Content Source: articles/databox-online/data-box-edge-connect-powershell-interface.md
Service: databox
Sub-service: edge
GitHub Login: @alkohli
Microsoft Alias: alkohli

@JetstreamRoySprowl Thanks for your question. We are checking on this and will respond to you soon.

@JetstreamRoySprowl We have added the command for how to prune images - dkrdbe image prune -a -f - into the doc as well. The changes are merged and should go live over the weekend.
@SumanthMarigowda-MSFT This bug can be closed. Thanks!


Takes a minute to stop browsers

Why does it take so long to stop a browser? From the moment I see
30 06 2016 00:28:51.913:DEBUG [karma]: Run complete, exiting.
30 06 2016 00:28:51.913:DEBUG [launcher]: Disconnecting all browsers
30 06 2016 00:28:51.914:DEBUG [framework.browserify]: cleaning up
30 06 2016 00:28:51.914:DEBUG [launcher.browserstack]: Shutting down the tunnel.
30 06 2016 00:28:52.383:DEBUG [launcher.browserstack]: firefox 47.0 (OS X Yosemite) (worker 58743929) successfully killed.
30 06 2016 00:28:52.383:DEBUG [launcher]: Finished all browsers

to the moment the browser is closed and other one can be started, it takes almost a minute and sometimes longer, during which Karma page will be trying to reconnect (video).
I'm using pretty standard config
// Karma configuration
// Generated on Thu Jun 30 2016 00:00:45 GMT+0100 (BST)

module.exports = function(config) {
  config.set({

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',

    // frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['browserify', 'mocha'],

    // list of files / patterns to load in the browser
    files: [
      'test/**/*.js',
    ],

    // list of files to exclude
    exclude: [
    ],

    // preprocess matching files before serving them to the browser
    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
      'test/**/*.js': [ 'browserify' ]
    },

    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['progress'],

    // web server port
    port: 9876,

    // enable / disable colors in the output (reporters and logs)
    colors: true,

    // level of logging
    // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
    logLevel: config.LOG_DEBUG,

    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: true,

    // Continuous Integration mode
    // if true, Karma captures browsers, runs the tests and exits
    singleRun: false,

    // Concurrency level
    // how many browser should be started simultaneous
    concurrency: Infinity,

    browserStack: {
      username: '___',
      accessKey: '___'
    },

    customLaunchers: {
      bs_firefox_mac: {
        base: 'BrowserStack',
        browser: 'firefox',
        browser_version: '47.0',
        os: 'OS X',
        os_version: 'Yosemite'
      },
    },

    // start these browsers
    // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
    browsers: ['bs_firefox_mac'],

  })
}

karma start --single-run

This is due to a restrictions in BrowserStack that requires each browser-worker to run for a minimum of 60 seconds. The change was introduced last month.

@shirish87 Thanks mate, I had a feeling that BS are doing it on purpose. Not a very positive thing, increases the time for CI builds.

Closing, as we can't do anything from the code side about this.


chore: support cloudbuild

What type of PR is this?

/kind feature

What this PR does / why we need it:
support cloudbuild
Which issue(s) this PR fixes:

Special notes for your reviewer:
Does this PR introduce a user-facing change?:

none

Also remove "chore" in the PR title.

A feature should have a release note.

My fault, maybe this is not a feature, just to make this repository can build a mirror in the cloud.

/kind construct


Remove / delete docker volumes via script?

DESC

maybe combine with deleting apache folder files?
see here: https://zimlab.uni-graz.at/gams/gams

TODOs

[x] "docker volume prune" -> launch via python?
[x] add via confirm: do you also want to clear the apache folder (with all the project code assets)?
[x] etc.

implemented


Add .clang-format configuration for auto-formatting

Add a .clang-format file this is as close to the existing coding style in Pixelix as possible. A few deviations remain as there is not option to enforce the original style.

AfterControlStatements: true ISSUE: space only global for if/while/for/switch but want only for if.
Array Initiializer: Cannot get opening "{" on next line.
initialzer alignment not on  tab boundaries but follows largest variable name.

Thanks!


REQ-SYN-03 XPath expressions embedded within dfdl schema should be highlighted.

XPath expressions embedded within dfdl schema should be highlighted.

This is done in v1.3.1.


Rewrite slave to use LWJGL3 and OpenGL 4.1

Title says all. Also may be worth looking into using Redis' pubsub system instead of RabbitMQ.

Visage would benefit very little from recent OpenGL, so I'm going with OpenGL 2.1 instead. Also, RabbitMQ is by no means a bottleneck; I found the real bottleneck, and it's related to supersampling, so I'm replacing it with SMAA.

Apparently SMAA requires OpenGL 4.1, so, turns out I was right originally.

...Apparently SMAA can use OpenGL 3, and there's no such thing as an OpenGL 4.1 compatibility context (although the example seems to use one??), so, back to GL3.


Add support for student helper functions

Autotested and manually tested as much as possible.

Output functions don't currently work, so I cannot fully test decodeEncodedString, so I instead ran it offline with a few test cases. (Written up in #42)
Multiple possible outputs don't work, currently, either, so you have to modify rle.js to only have one output to progress past that point. (Not yet written up; will write up once PR is merged.)

NB: the multiple possible outputs thing should be fixed in #47.


Improve performance of semi-automatic modeling assessments

Checklist

[ ] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[x] I documented my source code using the JavaDoc / JSDoc style.
[x] I added integration test cases for the server (Spring) related to the features
[x] ~I added integration test cases for the client (Jest) related to the features~
[x] ~I added screenshots/screencast of my UI changes~
[x] ~I translated all the newly inserted strings~

Motivation and Context

The new automatic assessment mechanism implemented in https://github.com/ls1intum/Artemis/pull/548 has some major performance issues when there are a lot of modeling submissions without assessment. Especially, when a manual assessment gets submitted by a tutor, it has a high impact on users. The automatic assessment of all submissions is triggered after a manual assessment is submitted which results in a response time of ~25-30 seconds after a submit (for 1000 existing submissions in the database).
Description

To cope with this problem, we change the storage of the automatic results. After an automatic result is created, it will not get stored to the database anymore. Instead, a ConcurrentHashMap will be used in Compass to store the automatic results. As soon as a submission is locked for assessment, the corresponding automatic result will be retrieved from the hash map and stored to the database. Additionally, we adjust the process of calculating the next optimal submissions that should be assessed next.
The changes in detail:

Store automatic results in hash map instead of database to reduce the number of database calls.
Retrieve automatic result from hash map and store it together with submission to database when a submission is locked for assessment.
Remove automatic result from hash map after it is stored to the database (and after an assessment is canceled).
Load submission together with result, feedback, assessor, participation and participation results in one database access to reduce the number of database calls.
Load all submissions without assessment from the database at once when the automatic assessment of all submissions is triggered (e.g. after a manual assessment submit) instead of loading each submission in an a separate iteration.
Optimal submissions: When the number of cached optimal submissions is smaller than a configured threshold of 10 submissions, 10 new optimal submissions are calculated by the ModelSelector and loaded into the cache, instead of just loading one new optimal submission every time. By that, the user has to wait for the calculation only every 10th assessment on average.
Optimal submissions: Every time 10 new optimal submissions are calculated by the ModelSelector, they are calculated at once, instead of doing the calculation 10 times in a row.

Through these changes the following performance improvements could be achieved:

The response time after submitting an assessment decreased from 25-30 seconds to ~1.5 seconds.
The time of initializing Compass (after a server restart) decreased from over 5 minutes to ~35 seconds.
The time of loading new submissions into the next optimal submission cache stayed at ~12 seconds, but now 10 submissions are loaded at once instead of only one.

Steps for Testing

Precondition: a high number of submissions (~1000) that are not assessed exist in the database for one exercise.

Log in to ArTEMiS as a tutor
Navigate to the tutor exercise dashboard of the corresponding exercise
Submit an assessment for a submission
Check response time

Are the changes already tested on the test server? Can we merge this?

Thank you for reviewing. I adjusted the PR and addressed your comments. I also tested the functionality on the test server now and it looks good to me. However, the Travis builds fail now due to the memory issue: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory.


Webviz on remote bag

Hello,
Thanks for your amazing work!
I was wondering if i could get some more infos on how to use webviz on remote bags? I saw that it was possible to do it with a cloud provider like S3 or GCS https://github.com/cruise-automation/webviz/blob/master/packages/webviz-core/src/dataProviders/BrowserHttpReader.js
I have a custom NAS where my bags are stored and I am using Marv as a bag management platform. I wanted to generate link like this to have a complete view of the bags. Can you give me some advices on how to proceed?
If this appears to be too harsh to setup, is there a way to generate an url to have a view of one local bag instead of drag/dropping it?
Best regards,
Nicolas

Hi! I don't know much about MARV. Is it able to provide URLs that link to bags, e.g. like https://open-source-webviz-ui.s3.amazonaws.com/demo.bag? If so, then it might just be a matter of configuring their webserver to support CORS and HTTP Range Requests.
I'm trying their demo now, but can't seem to download bag files. E.g. if I click on the bag file link in https://ternaris.com/marv-robotics/demo/#/detail/sdcokcphyel4i52ggeemts33ly then Chrome shows me an "ERR_INVALID_RESPONSE" error. Any idea what might be going on? It would be cool to perhaps make a contribution to MARV to add an "open in Webviz" link.

If this appears to be too harsh to setup, is there a way to generate an url to have a view of one local bag instead of drag/dropping it?

Oh I forgot to answer this question. The browser does not have direct access to the file system (for security reasons), so we can't access arbitrary files through a URL. They have to be explicitly selected by the user, either by drag and drop or through a file selection dialog (which is very similar to drag and drop so we didn't bother implement that).

you could try to put https://min.io/ in front of your NAS as it acts as a S3 compatible storage layer.

Thank for your answers!
@janpaul123: MARV can provide URLs that link to bag, i've tried it locally it works fine :) I'm not sure why the demo is not working though... I'll try to configure the webserver as you said!
@stefan-enway: Thanks, i'll look into it if I struggle too much setting up the webserver :)

I managed to use flask_cors as MARV is implemented in python. I think I got the correct configuration, here is the response header using Postman :

But I still have this error on my console :

Maybe I am missing something?

Looks like CORS headers are not set properly for OPTIONS requests (CORS preflight), try seeing what you get in postman if you make an OPTIONS request.

@NicolasBernard456
docker run -p 9000:9000 -v /mnt/data:/data minio/minio server /data
plus another for nginx with TLS proxy & all the CORS/proxy tuning.
I even automated the letencrypt part for "offical" certs ;)

This is what I get :

@stefan-enway Got this error when using min.io

on console :

please run  curl -H "Access-Control-Request-Method: GET" -H "Origin: http://localhost" --head http://www.google.com
and please just copy&paste the output in text (maybe with `` enclosing)

and get an nginx somewhere and look at https://enable-cors.org/server_nginx.html. beware that * is a wildcard fore everywhere, but if you use it on a local VM/network you should be fine.

@janpaul123
This is what I get

Right so if in that case Access-Control-Allow-Origin and Access-Control-Expose-Headers are missing, then that is the issue!

Thanks for your help, I added those headers and it's working now!

@NicolasBernard456 any chance you could share your final solution? Would be cool to contribute this back to MARV, too! 😄

oh yeah. in nginx config please ;)

@NicolasBernard456 Someone is asking about something similar in #410; do you happen to have a config file that you could share with us here?

Hello,
Very sorry for the late reply, I'm using python flask and cross origin. Those are the header that I used:
@cross_origin(origins = 'https://webviz.io', methods = ['GET', 'HEAD', 'OPTIONS'], expose_headers = ['ETag', 'Content-Type', 'Accept-Ranges', 'Content-Length', 'Range'], allow_headers = ['*'], send_wildcard = True, vary_header = True)

No worries, and great, thanks for sharing! Btw, I'm trying to get to know our users better, so if you'd be interested in a quick call some time soon feel free to shoot me an email at<EMAIL_ADDRESS>:)

I am using nodejs ( express) for this issue and this file is running
`var express = require('express')
var cors = require('cors')
var app = express()
crossOption = {
"origin" : '',
"methods" : ['GET', 'HEAD', 'OPTIONS'],
"exposedHeaders" :  ['ETag', 'Content-Type', 'Accept-Ranges', 'Content-Length', 'Range'],
"allowedHeaders" :  [''],
}
app.use(cors(crossOption))
//Using direct file URL
app.get('/demo.bag',function(req,res){
res.download(__dirname +'/2021-01-11-18-26-43.bag');
})
app.listen(9999, function () {
console.log('CORS-enabled web server listening on port 80')
})`
It's working.

@NicolasBernard456
Hi,
I also want to use marv as data managament platfrom for bag files and visulaize with webviz via remote url.
But i'm new with web server and don't know how to create URLs that link to bag, and config CORS with latest marv which has switched to use synchronous HTTP client/server framework aiohttp.
Could you share your marv code to me that I can try and study?
Many thanks.

leave a comment for people who is working on django:
I'm trying to use django and django-cors-headers to setup a file-hosting server for the remote bag accessing. The setup looks good and tested by curl request. However, in the developer console of browser, header Access-Control-Allow-Origin is still missing.
After some searching, this answer mentions that
Django does not serve the media files through the middleware stack, so any attempts to inject headers are pointless.

so it means we cannot set up the https://xxx/*.bag by django from which webviz loads remote bags.
And at last I setup a apache server instead, with these settings in .conf file
    Header always set Access-Control-Allow-Methods "GET, HEAD"
    Header always set Access-Control-Allow-Origin "*"
    Header always set Access-Control-Allow-Headers "*"
    Header always set Access-Control-Expose-Headers "ETag, Content-Type, Content-Length, Accept-Ranges"

I am using nodejs ( express) for this issue and this file is running
`var express = require('express') var cors = require('cors') var app = express()
crossOption = { "origin" : '', "methods" : ['GET', 'HEAD', 'OPTIONS'], "exposedHeaders" : ['ETag', 'Content-Type', 'Accept-Ranges', 'Content-Length', 'Range'], "allowedHeaders" : [''], } app.use(cors(crossOption))
//Using direct file URL app.get('/demo.bag',function(req,res){ res.download(__dirname +'/2021-01-11-18-26-43.bag'); }) app.listen(9999, function () { console.log('CORS-enabled web server listening on port 80') })`
It's working.

Hi,
I used your code and it works, but when my bag size is very large, webviz will report an error : Requested more data than cache size: 265699599 > 209715200
I wonder if there is a solution?

I ran into this (self-hosting bags and having CORS issues) today and wanted a 1-line solution. In case anyone else is in the same boat, here's my approach:
npx 'https://github.com/ben-z/http-server#8aa6a8f' --cors='ETag,Content-Type,Accept-Ranges,Content-Length'

Had to patch the http-server package to add support for the Access-Control-Expose-Headers header.

We've also written up some documentation on setting up CORS correctly: https://foxglove.dev/docs/studio/connection/setting-up-cors


Should we eslint-plugin-jsx-a11y plugin separate package?

Create config/jsx-a11y package and add rules for jsx-a11y plugin to extend it separately

Could you clarify your use case? Where would you need it for? And why can't you use the base eslint-config that already includes that plugin?
https://github.com/mediamonks/eslint-config/blob/23c16a7ffa3a9c3f563f9544ae89ed5da1883739/configs/base/index.js#L4


Publish docker manifest job is failing in github actions

Issue: https://github.com/dapr/quickstarts/actions/runs/4189848632/jobs/7262990668#logs
Expected Behavior
Publish docker manifest job should pass
Actual Behavior
Publish docker manifest job is failing
Steps to Reproduce the Problem
Run the Build Quickstarts workflow in Github actions

/assign


Isolate frame rendering

I know these have been very busy times with the updates and all,
This is just a follow up on this issue, discussing if it was possible to dissociate scene "loading" from frame rendering to maximize precision and control over stimulus display and response recording.
Thanks a lot :)

Sorry for taking so long for such a simple addition:
https://github.com/JuliaPlots/Makie.jl/blob/ab66329a53b6a9e8bcac52b0b4ed26206bc67462/examples/examples3d.jl#L522
That should be the first step for your use case!


Hide devices from HomeKit

Hi there and thanks for this beautiful plugin :)
It would be great if I could hide devices from HomeKit so they don‘t get exposed.
E.g. in the homebridge-hue plugin there is no (easy) possibility of hiding devices. https://github.com/ebaauw/homebridge-hue/issues/747#issuecomment-674527387
Also it could make sense that some devices are visible in the ui but not in HomeKit.
Kind regards
Tim

Hi @timwegenerDE,
This is not something the UI could do, as it operates at a different level to the plugins etc.
The plugin would need to have an option to expose or not expose the device.


Altinn Broker doc. structure updated to comply with Diataxis

Waiting more than an hour for build and check links to complete. Abandoning this pull request...


nixos/wordpress: update .htaccess for httpd

Update standard wordpress .htaccess content if using httpd according to 1 (as of 2024-06-26)
Description of changes
small httpd config change

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4378


petstore.swagger.io appears in window.onload callback

Found in v11.17.0
Traces to petstore.swagger.io should not appear in a production environment.
window.onload = function() {
  var url = window.location.search.match(/url=([^&]+)/);
  if (url && url.length > 1) {
    url = decodeURIComponent(url[1]);
  } else {
    url = "http://petstore.swagger.io/v2/swagger.json";
  }

Is undefined a good value?

Thanks!

Is a release urgent?

No

Too late: v11.17.9


curl/bash giving false error? No prebuilt binary for linux-armv7.

Output of helm version:
Output of kubectl version:
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
On a Raspberry Pi 3 with Raspbian I got the following when trying to install helm.
pi@rnode-1:~ $  curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7236  100  7236    0     0  19811      0 --:--:-- --:--:-- --:--:-- 19824
No prebuilt binary for linux-armv7.
To build from source, go to https://github.com/helm/helm
Failed to install helm
	For support, go to https://github.com/helm/helm.

This seems like it may be a false error, because arm (armv7) binaries are given here: https://github.com/helm/helm/releases/tag/v2.12.3 alongside what is being called "arm64" i.e. aarch64 / armv8.
cc @ibuildthecloud @rimusz

If it helps we have a similar utility script to yours which figures out the architecture then downloads the correct binary from our releases page: https://github.com/openfaas/cli.openfaas.com/blob/master/get.sh#L59

Probably something to do with how we capture the output of uname -m on armv7. See https://github.com/helm/helm/blob/16c10be8e652165414eef007be3f57638d6894cf/scripts/get#L26-L39
If you want to make a PR to make that work on an rpi3, that'd be appreciated.

I see armv7l on Raspberry Pi and on the Asus Tinkerboard.
I see that @technosophos added the support 2 years ago. Matt, how was the armv7 string derived? Would you be OK with us adding an alias to what is observed on the most popular 32-bit ARM device - the RPi?
Alex

Yes.

Hmm the case/switch looks like it might be working as expected:
$ uname -m
armv7l

export $ARCH=""

initArch() {
  ARCH=$(uname -m)
  case $ARCH in
    armv5*) ARCH="armv5";;
    armv6*) ARCH="armv6";;
    armv7*) ARCH="armv7";;
  esac
}

$ initArch
$ echo $ARCH
armv7

Looks like the problem could be: https://github.com/helm/helm/blob/master/scripts/get#L65

So I updated the script to look for linux-armv7 instead of linux-arm, but then we get a mismatch with the binary release. The binary release could do with being called linux-armv7 instead of linux-arm - then patching line 65 would make this work.
  local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nwindows-386\nwindows-amd64"
=>
  local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-armv7\nlinux-arm64\nlinux-ppc64le\nwindows-386\nwindows-amd64"
What do you think?

I think you should be able to add both linux-arm and linux-arm64 and it should work. If I'm understanding the issue correctly, you probably just want to change the check on line 32 to evaluate armv7* as arm.
In other words, change
    armv7*) ARCH="armv7";;

to
    armv7*) ARCH="arm";;

And the script should fetch the right release binary.

I would consider the release file as being incorrectly labelled and this being a work-around rather than a fix.
Happy to go with that if it unblocks users on RPi/ARMHF.
Thanks for being so responsive
Alex

The suggestion worked:
$ bash test.sh
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.12.3-linux-arm.tar.gz
Preparing to install helm and tiller into /usr/local/bin

[sudo] password for alex:
helm installed into /usr/local/bin/helm
tiller installed into /usr/local/bin/tiller
Run 'helm init' to configure helm.

alex@3cb949fb:~$ helm version
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp [::1]:8080: connect: connection refused
alex@3cb949fb:~$


Test functions

Added todos and other thingies

amazing work wow youre so talented you should go to facebook and fight mark zuckerberg


How does learner become follower?

From my tests there is no automatic transmission from learner state to follower in v0.6. How to make it right then? I suppose it could be done before ticking the leader's raft.

Does Raft-rs track the learners status or should I do it by using ConfState after apply_conf_change? Etcd's ProgressTracker has field IsLearner bool.

Is it enough for the leader to check ProgressTracker of the learners to ensure they match his commited_index (learner's progress.committed_index == leader's raft.raft_log.committed && learner's ProgressState != Snapshot)?
Or maybe a learner's state == ProgressState::Replicate is sufficient?

Should the leader propose new configuration with exactly one node transmitted from learner to follower at a time or one ConfChangeV2 with all the learner ids and transition = Implicit will do the thing?

Is it possible that in the future this transition will be made by raft-rs?

Does Raft-rs track the learners status or should I do it by using ConfState after apply_conf_change?

Raft-rs tracks the status in configuration. It's complicated whether a peer is learner or not when considering joint state. I suggest application also keep tracking the confstate.

Is it enough for the leader to check ProgressTracker of the learners to ensure they match his commited_index

It depends on what do you want. If you just want to see if it's safe to promote a learner to voter, you can check the implementation in TiKV, I think it's the most suitable way without depending on much details of raft-rs.

Should the leader propose new configuration with exactly one node transmitted from learner to follower at a time or one ConfChangeV2 with all the learner ids and transition = Implicit will do the thing?

Either way is OK. It depends on how much you want to control the process. TiKV choose to use ConfChangeV2 to promote a learner and demote a voter at the same time with transition set to explicit. You may want to check out https://github.com/tikv/rfcs/blob/master/text/0054-joint-consensus.md to see how TiKV adapts joint consensus.

Is it possible that in the future this transition will be made by raft-rs?

I'm afraid no. Learner is a standalone role that can performs without becoming a voter. So raft-rs will not promote it automatically. For example, TiDB uses voters and learners at the same time to achieve isolated HTAP with strong consistency.

It's the minimal index of available logs minus one.


New module: Platform - Split window management from Utility module

Separation of the window management (window, icon, cursor, keyboard) from the utility module.
Server part should no more require to be linked to windows libraries like xcb.

Could you please rebase this? I'd like to merge this as soon as possible


Calling esp_event_loop_create_default() in ESP32_C3 it's failing (IDFGH-8721)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

The same code it's working fine for ESP32 and ESP32_S2 and there have been no changes in a while.
Any hints please?

@josesimoes please check the amount of heap memory before calling this function. Most likely the task creation fails due to insufficient heap memory.
https://github.com/espressif/esp-idf/blob/c09322430aa94d45d0e65422513a3e36826020b0/components/esp_event/esp_event.c#L491

OK. Will do and report back.
Does this mean that the C3 series requires more heap than the other series? Just checking because we have the memory allocation fine tuned in nanoFramework.

There might be some chip- and architecture-specific differences. I would suggest checking both  static memory usage using idf.py size (and idf.py size-components for more details) and the heap available at run time. But in general the C3 should provide more heap than the S2. Since your build process is quite customized, it is possible that something doesn't get placed into the correct memory region, that's the only reason i can think of. The output of idf.py size and heap size will provide some clue.

That was it. After increasing the RAM reserved for IDF allocation that error is gone. Thanks again! 👍🏻
Something that isn't working for me: getting the detailed output as described here when using the size  and size-components.
I get this:
Running ninja in directory e:\github\nf-interpreter\build
Executing "ninja size-components"...
ninja: error: unknown target 'size-components'
ninja failed with exit code 1

I believe this is because the customized build that we are using. Can you please provide some guidance on how to have that output? Is there a CMake option or extra parameter that we could use to make this happen?

@igrr completely off topic, but I wasn't sure what was the best channel to make this suggestion.
It seems that ESP3-C3 is NOT listed in the RISC-V website. Don't know if that's on purpose or something that has been overlooked... Suggest that you reach out the appropriate contacts internally.
https://riscv.org/exchange/?_sft_exchange_category=board,hardware

I believe this is because the customized build that we are using. Can you please provide some guidance on how to have that output? Is there a CMake option or extra parameter that we could use to make this happen?

In your project CMakeLists.txt file, you need to add linker flags for generating the .map file. For IDF build system projects, it is done here (in release/v4.4 branch): https://github.com/espressif/esp-idf/blob/1f63dc70b8cf2a91a08f9e6d395cb05ab17eaa59/tools/cmake/project.cmake#L452-L453
Once the .map file is generated, you can run $IDF_PATH/tools/idf_size.py --archives <map file>. IDF build system registers a custom command size-components here:
https://github.com/espressif/esp-idf/blob/1f63dc70b8cf2a91a08f9e6d395cb05ab17eaa59/tools/cmake/project.cmake#L477-L480

It seems that ESP3-C3 is NOT listed in the RISC-V website.

Thank you, I'll try to find a contact who can help with this.

@igrr just a quick follow-up to let you know that following your guidance above, I've successfully added the output of the size summary to nanoFramework build. Thanks!
I'm also closing this issue since the question has been answered and the nanoFramework build for C3 is working fine.


Update sensors.html

added note for NearField component documenting it works only on Screen1

Josh you need to add doc changes to the NearField and OdeMessages java file too.
appinventor/appengine/src/com/google/appinventor/components/runtime/NearField.java
appinventor/appengine/src/com/google/appinventor/client/OdeMessages.java

obsolete new pull request 678


Fix wallet events

amount in debug.log is no longer quoted
check by sending yourself some mojos using https://faucet.chia.net/

You are right that the amount is no longer quoted thus the parser needs to be fixed. However I think the new regex should accept both the quoted and non-quoted version for the sake of backward compatibility.

Thanks for your feedback. Initially I also thought about providing backwards compatibility in this case. However, that would mean supporting older chia versions that still have bugs which compromise the overall health of the network (e.g. negative spends). I therefore think it is better to drop backwards compatibility and point people to upgrading their chia installation.
If there is general concensus about the need for backwards compatibility, I'd be happy to include it in this PR.

@skweee that sounds quite reasonable! Thank you for the work!


metaInfo() ignored in template file

Description
After adding a metaInfo() property to a template file, Gridsome seems to silently ignore it both with develop and build.
Steps to reproduce
Repo: https://github.com/danrocha/tfa-gridsome/
Template with metaInfo():  https://github.com/danrocha/tfa-gridsome/blob/master/src/templates/Guide.vue
Expected result
The resulting page should get the title, description, and other meta tags from the $page query, as demonstrated in the docs.
Actual result
The metaInfo() is ignored, silently. This is one resulting page, please check the head:
https://theforeignarchitect.com/guides/singapore/
Environment
System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-6287U CPU @ 3.10GHz
  Binaries:
    Node: 12.13.0 - ~/.nvm/versions/node/v12.13.0/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.13.0 - ~/.nvm/versions/node/v12.13.0/bin/npm
  Browsers:
    Chrome: 78.0.3904.97
    Firefox: 70.0.1
    Safari: 13.0.3
  npmPackages:
    @gridsome/plugin-sitemap: ^0.2.3 => 0.2.3
    @gridsome/source-graphql: ^0.1.0 => 0.1.0
    @gridsome/transformer-remark: ^0.4.0 => 0.4.0
    @gridsome/vue-remark: ^0.1.8 => 0.1.8
    gridsome: ^0.7.10 => 0.7.10
    gridsome-plugin-gtm: ^0.1.1 => 0.1.1
  npmGlobalPackages:
    @gridsome/cli: 0.3.1

Having looked through your code you're missing a closing brace on the  and also a comma in your list. I've created a PR in your repo so you can see this.

Thanks @MrEssex .
It seems to be working now.
It would be great, though, if Vue-Meta would not fail silently, so we could debug dumb mistakes like this one more easily, no? A simple error message on build/develop would be so helpful.
Would this be a Gridsome issue or a vue-meta issue?
(Also, weirdly enough neither did my eslint plugin detected this mistake)

@danrocha this is what I have in my .eslintrc.js and it picks up the missing closing brace issue
module.exports = {
  env: {
    node: true,
    browser: true,
    es6: true,
    // es2020: true,
  },
  extends: [
    // 'eslint:recommended',
    'standard',
    'plugin:vue/essential',
    'plugin:gridsome/recommended',
  ],
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly'
  },

  parser: 'vue-eslint-parser',
  parserOptions: {
    // parser: 'babel-eslint',
    ecmaVersion: 2018,
    sourceType: 'module',
    ecmaFeatures: {
      jsx: true,
    },
  },
  plugins: [
    // 'vue',
    'gridsome'
  ],

  rules: {
    'comma-dangle': ['error', 'always-multiline'],
    'no-cond-assign': ['error', 'except-parens'],
  },
}


Add README.md

I started a README.md for this extension, to match the others in your GitHub. Feel free to reject, or to improve.

thanks!


Maintain control visibility as user scrolls.

And may as well maintain population details visible as well.  Basically set the #left-side div to position: absolute;.  Or something.


How to make a schema from inline?

I really can't figure out how to just import a schema that's defined inline. How do I load a simple schema and then execute it using this library without using abolute paths or host it online?
const JsonSchema = require("@hyperjump/json-schema");

const sch = JSON.parse(`{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://somesite.com/schema/base",
    "type": "object",
    "title": "This is the outer doc",
    "properties": {
        "version": { "type": "string" },
        "info": { "$ref": "/schema/info" }
    },
    "required": ["version", "info"],
    "$defs": {
        "info": {
            "$id": "/schema/info",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
                "issuer": { "type": "string" }
            },
            "required": ["issuer"]
        }
    }
}`)

const input = {
    "version": "test",
    "info": { "issuer": "test" },
}

JsonSchema.validate(sch, input).then(console.log).catch(console.error)

JsonSchema.validate doesn't take a raw schema, it takes a SchemaDocument instance. You need to use JsonSchema.add to load your schema into the system, then use JsonSchema.get to get a SchemaDocument for that schema.
JsonSchema.add(sch);
const schema = await JsonSchema.get("https://somesite.com/schema/base");
const output = await JsonSchema.validate(schema, input);

Sorry that was confusing. I have considered having JsonSchema.validate optionally take a URI instead of a SchemaDocument. That would cut down on the boilerplate code in cases like this.


Flash attention 2

waiting for the main-base to build with this branch, then will merge this

currently a bug with the error:
  File "/workspace/axolotl/src/axolotl/flash_attn.py", line 91, in forward
    x_unpad, indices, cu_q_lens, max_s = unpad_input(x, key_padding_mask)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/flash_attn/bert_padding.py", line 108, in unpad_input
    indices = torch.nonzero(attention_mask.flatten(), as_tuple=False).flatten()
RuntimeError: CUDA error: an illegal memory access was encountered

could be related to https://github.com/Dao-AILab/flash-attention/issues/338

currently a bug with the error:
  File "/workspace/axolotl/src/axolotl/flash_attn.py", line 91, in forward
    x_unpad, indices, cu_q_lens, max_s = unpad_input(x, key_padding_mask)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/flash_attn/bert_padding.py", line 108, in unpad_input
    indices = torch.nonzero(attention_mask.flatten(), as_tuple=False).flatten()
RuntimeError: CUDA error: an illegal memory access was encountered

could be related to Dao-AILab/flash-attention#338

FYI, it looks like that issue has now been closed.


cyber base Bounded Queue deadlock

Describe the bug
When used with BlockWaitStrategy and BoundedQueue's waitEnqueue is never waked up when the queue is full. The following test code is blocked forever.
TEST(BoundedQueueTest, BlockWaitStrategyNeverStop) {
  BoundedQueue<int> queue;
  queue.Init(2, new BlockWaitStrategy());
  queue.Enqueue(1);
  queue.Enqueue(1);
  std::cout <<"--------" << std::endl;
   std::thread t([&]() {
    std::this_thread::sleep_for(std::chrono::milliseconds(1000));
    int value;
    queue.WaitDequeue(&value);
    queue.WaitDequeue(&value);
    std::cout << "Thread: " << queue.Size() << std::endl;
  });
  std::cout << "Main " << queue.Size() << std::endl;
  queue.WaitEnqueue(1);
  t.join();
}

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

reason
When the queue is full and used with BlockWaitStrategy, the BoundedQueue's waitEnqueue will never waked up. Beacuse when the queue is full it will going to wait_strategy_->EmptyWait(), but Dequeue don't have a notify, then it will wait for the condition_variable forever.
template <typename T>
bool BoundedQueue<T>::WaitEnqueue(const T& element) {
  while (!break_all_wait_) {
    if (Enqueue(element)) {           \\ when queue is full , then failed
      return true;
    }
    if (wait_strategy_->EmptyWait()) {       \\ wait for the condition_variable
      continue;
    }
    // wait timeout
    break;
  }

  return false;
}

solution
Add notifyonce in Dequeue as the Enqueue does.
template <typename T>
bool BoundedQueue<T>::Dequeue(T* element) {
  uint64_t new_head = 0;
  uint64_t old_head = head_.load(std::memory_order_acquire);
  do {
    new_head = old_head + 1;
    if (new_head == commit_.load(std::memory_order_acquire)) {
      return false;
    }
    *element = pool_[GetIndex(new_head)];
  } while (!head_.compare_exchange_weak(old_head, new_head,
                                        std::memory_order_acq_rel,
                                        std::memory_order_relaxed));
  wait_strategy_->NotifyOne();          // ---------------- add notify
  return true;
}

There will be a little problem add wait_strategy_->NotifyOne() to Dequeue. There will be an invalid notify

we use WaitDequeue and the queue is empty, then we wait the condition.
an Enqueue come and  will add an object to the queue and then notify one WaitDequeue
then WaitDequeue will do Dequeue and success, then it will call NotifyOne again, but the queue is already empty.


⚠ Bofrost.de has degraded performance

In b5ac94e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 924 ms

Resolved: Bofrost.de performance has improved in ab12f9e after 13 minutes.


Adding Inflation-adjusted Return calc and test case

Adding Inflation-adjusted return calculator. This calculator is used to calculate 'real return' or return that has been adjusted for inflation

LGTM. Thanks @Ju66ernaut


Typo fix: spallted => splatted

I'm merging this without a review, I don't think a review has any added value for a change like this.


Debugger not working/not setup?

Version: 1.48.0-insider (system setup)
Commit: 731f9c25632dbbf01ee3a7892ad9d2791fe0260c
Date: 2020-07-24T05:57:10.466Z
Electron: 9.1.0
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.17134
AutoHotkey Plus 2.4.14
First time using your extension, so I'm not sure if this is an issue or I didn't set it up right. I can Run/Compile the script from the context menu, but debugging doesn't seem to work. I'm not sure if I needed a separate debugger, but I figured it would have been mentioned somewhere.

Running VSCode as Administrator seems to have solved the issue. Been using VSCode for a while, guess I assumed it always was running under an admin account. Cheers!


Support for Floaty Hydrometer?

Good afternoon,
Is there any possibility of adding Fermentrack support for Floaty hydrometers? It's an ESP32 WiFi-based iSpindel alternative.
The main product page, https://floatyhydrometer.com, has a simple DIY video about soldering and installation. A blog, DIY Homebrewers, has a page going over the software options, build, etc. It's in Spanish: https://www.diyhomebrewers.com/2020/09/floaty-wifi-hydrometer-montaje-y-como.html, but comes out fine through Google Translate.
I built one of these because I had some spare parts after an iSpindel build. It seems like a cool alternative that's a little cheaper and easier to build, and extending Fermentrack support would make it much more useful.
Thanks!

Unfortunately, they don’t seem to have any information available about either the “integrations” or about the data format it provides. Additionally, it seems like it requires their Android app for both configuration and operation which makes me think that the app acts as a relay for the data coming off the device, but it’s unclear as to if it’s a relay to a cloud server (and then integrations tap into that cloud server) or if it can relay directly to a target on the same WiFi network as the android device.
Do you know anything about how it works or the data that it sends? If it’s cloud based I probably won’t support it, but if it can directly send data I’d be open to supporting it.

I've been down this road.  It needs the app, and cannot easily integrate back into Fermentrack or BPR.  They do have webhooks, but making Fermentrack open to a webhook from the Internet is not a great idea.  Here are some excerpts from communications I had with them (in no particular order):

I create Floaty for my own usage.  The criteria was to be easy to use with a mobile application.
I can't make Floaty code open source because of the communication protocol, it has to be protected and not seen by all people.
Also Floaty code only works with the Floaty app. I think Floaty is between a Ispindel very open source and a Tilt very expensive. It's not for everybody but people who wants a professional services in DIY product Floaty is here. And for people who wants to change the code Ispindel is here.
I see you post on homebrewtalk about the cloud services. To respond to how works Floaty, it's easy.
I'm using a service of Google that is free for the moment. Floaty send data to the cloud then when the phone is online the phone save the data locally. The cloud can store 100 datas before delete it.
So I'm using this service because it's free so Floaty will not become bankrupt and also Google is a strong company with robust datacenter.
Floaty is not open source, for security reasons (also for commercial reason of course.)
I think we have to wait for this integration, my webhook is sent by the phone and the user can be everywhere in the world, he can receive the data.
In the future, I will add the possibility to send data to another URL directly from the Floaty, so it can be used locally.
Perfect, for the moment the JSON is sent by the app every 15 minutes or more depending on the interval of time between two datas.

He did say he might update it to push directly to a different URL, and said he'd let me know if he did.  No notice about that yet.

"I can't make Floaty code open source because of the communication protocol, it has to be protected and not seen by all people."

This right here should make you run from this project. Security through obscurity was cool in the 90s, but I think we've all learned a few things since then. This sounds like I've found my next protocol reversing project :)
But seriously though- that statement should be a red flag for a user.

Hah, I’d be willing to put money on it using GATT and ibeacon. I’ve got a BLE sniffer around here somewhere - if I didn’t have enough projects at the moment I’d contemplate creating FloatyBridge.
(And yes, I did just buy floatybridge.com just in case)

Another red flag:
I'm using a service of Google that is free for the moment. Floaty send data to the cloud then when the phone is online the phone save the data locally. The cloud can store 100 datas before delete it.
So I'm using this service because it's free so Floaty will not become bankrupt and also Google is a strong company with robust datacenter.
As soon as this costs money, he will bail on it.  Then Floaty will, um, sink.
\Greg

If anyone else comes across this thread, GravityMon's version of the iSpindel now supports the Floaty hardware setup. So there's no reason to run the Floaty app, rather than an iSpindel, unless you really want to.
https://www.gravitymon.com/docs.html

If anyone else comes across this thread, GravityMon's version of the iSpindel now supports the Floaty hardware setup. So there's no reason to run the Floaty app, rather than an iSpindel, unless you really want to.
https://www.gravitymon.com/docs.html

Hey that's awesome stuff.  Thanks for sharing, Kyle.  I use a Tilt but it's good to know that there's yet more hardware platforms, and that there's an alternative to the rather closed (minded?) iSpindel system.

Has there been any recent movement on open sourcing the Floaty (or at least it’s protocol)? I know that GravityMon supports it - @mp-se did you reverse engineer it or is it open & out there?

Havent seen any updates on the open source option, but you can install gravitymon and use that with fermentrack as an ispindel device

Honestly, adding GravityMon support seems like the smart plan here. I’ll start to poke at it.

Good then you dont need to do anthing, it works today. I have used that combo for 2 years 😁

… you could have said something - I would have added branding!

Some advertising is always welcome 🙏


creating Poll at high frequency on FreeBSD returns @ certain point "code: 9, kind: Other, message: "Bad file descriptor"

as it says. Issue does NOT happen when polls are created @ slower frequency. We're talking 4-5 polls per millisec. Vex'ing issue.

Mio does very little on freebsd w/ kqueue. I am not saying there is no bug, but I'm not sure where in mio code anything like that could live.

@przygienda does your application set PollOpt::oneshot?  If so, then this might be a dupe of #911 .

very interesting, lemme check ...

nope, I don't. used to do that, I'm driving everything ::edge (and some level) now since I didn't see any benefit ...

@przygienda any update on this? I'm inclined to close this as we can't reproduce the error.

Closing due to inactivity. If someone hit this again, or can find the root cause please let us know.


New Notebook showcasing how to perform prompt tuning using the PEFT library.

What does this PR do?
Is a new notebook showcasing the use of the PEFT library to perform Prompt Tuning. I also provide a brief explanation of what prompt-tuning is and how it works.
Since this is my first PR request, I hope I have created the notebook in the correct style. If not, I will try to adapt and make any necessary modifications.
Thank you for reviewing it. @MKhalusova

@pacman100 Can you please review a notebook on prompt-tuning with peft?

@peremartra Thanks for contributing a notebook! There are a few more steps required:

Add the notebook to the _toctree.yml
Add the notebook to the list of the latest notebooks in the index.md. As this is the most recent addition, put it at the top of the list.
Right after the first header (notebook title), add yourself as an author, like this: _Authored by: [Your Name](https://huggingface.co/your_profile)_ Feel free to use either your Hugging Face profile, or GitHub profile, it's up to you which one to link.

@peremartra Thank you for contributing a notebook! This looks very useful! There are a few more steps required:

Add the notebook to the _toctree.yml
Add the notebook to the list of the latest notebooks in the index.md. As this is the most recent addition, put it at the top of the list.
Right after the first header (notebook title), add yourself as an author, like this: _Authored by: [Your Name](https://huggingface.co/your_profile)_ Feel free to use either your Hugging Face profile, or GitHub profile, it's up to you which one to link.

@MKhalusova Modifications Done! Thanks for the feedback :-)

Hi @MKhalusova, I just finished another notebook about fine-tuning with QLoRA. I don't know how to proceed, should I do a second PR, or just wait to close this PR before opening a new one?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks for your corrections! I think all is fixed now.


Coverage test does not seem to exercise transport tests

I'm seeing that the transport tests don't seem to be included in our test run... investigation needed.

So the issue seems to be how the tests are organized.  Still working on this.

I'm not sure I've understood this correctly.  Its possible that it is covering it.

This was fixed in e30f1a74eb5794c808f9b836e22b4d86da984520


v0.0.4 release of group-sync-operator

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Submit operators to both upstream-community-operators and community-operators at once
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

@J0zi Getting a lot of notifications of failures. Is there something that you might be able to look into?

Hi @sabre1041, missing Kind is OK, look for fatal, which points to api version.
level=fatal msg="permissive mode disabled" error="error loading manifests from directory: [error checking provided apis in bundle : error decoding CRD: no kind \"CustomResourceDefinition\" is registered for version \"apiextensions.k8s.io/v1\" in scheme \"pkg/registry/bundle.go:15\"

@J0zi thanks for calling that out. Will close this issue and resubmit a v0.0.5 shortly.


Migrate to Solaris CBE for updated packages, don't use OpenCSW packages

This should resolve https://github.com/vmactions/solaris-vm/issues/38 as well as https://github.com/vmactions/solaris-vm/issues/39
I tried using the original ISO, but that ISO doesn't support virtio so discards/trim don't work and the image size ballooned.
I've now switched to the CBE image.
IMPORTANT: This ISO image needs to be copied into a release artifact within vmactions/solaris-builder and the link needs to be updated in conf/solaris-11.4-gcc.conf and conf/solaris-11.4.conf to point to the new location. My fork will be deleted once this gets merged and therefore so will the current download location.
Due to concerns with packages that are in OpenCSW but not in the official solaris repository, the OpenCSW package manager is still installed but it is not actually used, its meant for end users if they need it.
Changes:

Use ubuntu-latest as the build image
Use jlumbroso/free-disk-space@main to clean up some host VM space so we don't run out
Switch to more modern Solaris CBE ISO (links need to be updated to where ever the ISO ends up getting uploaded)
Install packages from the Solaris repository instead of OpenCSW
Use virtio for the VM disk bus, and pass the discard=unmap option
Enable trim support in ZFS
Compact the .qcow2 file to honor any trim commands that got issued to reduce overall image size before compression
Call xz directly to bump up the compression level
Add logic to split .xz files into 2G chunks and upload each chunk as a release asset

Updates needed to https://github.com/vmactions/solaris-vm/:

Update BUILDER_VERSION in conf/11.4-gcc.conf and conf/11.4.conf
Add some sort of logic to potentially have to download multiple parts and combine them back together (the -gcc build is larger than 2G now, its split into .qcow2.xz.0 and .qcow2.xz.1)

Does this preserve the ability to install zstd and mbuffer like so? https://github.com/whoschek/wbackup-zfs/blob/a34b5f470482303540ff1c301962b3705ce428da/.github/workflows/python-app.yml#L281?
In the current solaris VM image zstd and mbuffer are only available from OpenCSW. I don't care whether it comes from pkgutil or pkg as long as it can be easily installed from somewhere.

I'd assume we could do both I guess since zstd nor mbuffer are in Solaris's package list.  At this point I'm trying to get the image size down, this might all be moot if I can't.

I don't think I can iterate on this any more.  The image size for the gcc version is just slightly too large to fit within the 2G limit so I had to create a way to split the result.
Here's the result of the last run:
https://github.com/bradh352/vmactions-solaris-builder/actions/runs/10022448221
You can see:
-rw-r--r-- 1 runner docker 1.5G Jul 20 19:57 solaris-11.4.qcow2.xz

-rw-r--r-- 1 runner docker 2.0G Jul 20 20:58 solaris-11.4-gcc.qcow2.xz.0
-rw-r--r-- 1 runner docker  19M Jul 20 20:58 solaris-11.4-gcc.qcow2.xz.1

Maybe since a split is required and it would need to be handled in vmactions/solaris-vm anyhow, it should be viewed as an opportunity to install more packages on the -gcc build.
I'd suggest these packages which would help cover a lot more use-cases: developer/gcc/gcc-c++ gnu-make cmake ninja pkg-config git

I decided to go ahead and update the package list for the 'gcc' build to include the other recommended packages.  Having a .xz.1 as 19MB is a bit weird, so makes sense to just go ahead and let it be a couple hundred MB and include useful stuff.

don't change the build.yml here,  it was generate from the template from base builder:
https://github.com/vmactions/base-builder/blob/main/.github/tpl/build.tpl.yml
Don't change the Readme.md,  it's auto generated.
The build.sh is also generated from base builder:
https://github.com/vmactions/base-builder/blob/main/build.sh
And it's shared by all the other builders, so if  you need to change the base, be careful.
The project is generated/synced  from the base builder by a workflow:
https://github.com/vmactions/solaris-builder/blob/main/.github/workflows/generate.yml

hrm, that definitely complicates things a bit then.  I didn't realize there was so much cross-dependency stuff going on.  I'm not sure how to handle changing the build.sh as there is a lot we need to do in solaris that might not be needed anywhere else.  Maybe adding a new step of "hooks/sysUpdate.sh" that if it exists runs, then reboots before running "hooks/postBuild.sh" would meet the needs of this.
The build.yml changes however I think make sense to be merged into the base as those are pretty sane.
The readme actually got updated automatically when I created a tag in my own repo so I didn't directly do that.
I'll try to submit a PR for base-builder, and we'll go from there.  Just will make it a multi-step process since i'll need that merged before I can update this PR properly.

@Neilpang Does this looks reasonable? https://github.com/vmactions/base-builder/pull/1
If so, it should be pretty easy to move stuff around for solaris into the sysUpdate.sh and postBuild.sh hooks which I think will be compliant with what you're looking for.

@Neilpang how did this look?

can you share me the official page where to download the  CBE iso ?

https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html#

but like I said I have it saved here: https://github.com/bradh352/vmactions-solaris-builder/releases/download/2.0.0/solaris-<IP_ADDRESS>.0-x86-cbe.iso

re-synced with latest changes ...

NOTE: also needs changes in https://github.com/vmactions/base-builder/pull/1

I made the changes you requested.
I should note that I don't think there's any reason to keep the non-CBE-based builds at all.  Not sure if anyone would find such an old build useful at all.
The other alternative would be for the non-CBE builds to actually be upgraded, which when I tested it was possible, but the qcow2 image sizes really got huge because the ide driver doesn't support discard/trim.  I didn't investigate if it was possible to switch the disk type post-upgrade to virtio and then try to evict the data and compact the qcow2 image.  (virtio was added in 11.4.33).
Finally, the non-CBE image probably shouldn't be used at all from a licensing perspective.  The CBE image is meant to be free for developers, the other image you have I'm not sure what the licensing is.

last build log from my fork with these changes: https://github.com/bradh352/vmactions-solaris-builder/actions/runs/10773345217
All appears successful.

@Neilpang thanks for merging https://github.com/vmactions/base-builder/pull/1 ... just need this merged now :)

don't change the build.yml here, it was generated from the template from base builder.
I think we can just replace the default image with CBE image.
So, there would be only   "11.4" and "11.4-gcc",  which both use the lastest CBE iso to build.
you don't need cbe-gcc any more.

changes committed, building now in my fork : https://github.com/bradh352/vmactions-solaris-builder/actions/runs/10792803832


lost coins

I transfer 2000000 coins from cyrptopia 2 weeks ago, and I  downloaded  latest version of of wallet before transfer, it never synced till now and I lost all my coins. I have no idea if I ever can get them back.


Simplify main README

Problem
The currnet README is long and detailed, with a mixture of nom and docker commands and focus.
This can be confusing and unclear
Solution
Let's simplify the READE with a clear focus on the npm approach first and the docker approach as pone for power users

[ ] Move docker requirements setup into a separate README with a link in the main README
[ ] Streamline install and run steps to be npm only
[ ] Move docker install and run step into separate README and link in main README
[ ] Add a section for common issues that link to a separate README with common issues that users may hit on setup - usually due to not following instructions or because of left over artifacts from other docker sessions

The goal is for a simplified experience with extra details readily available
Alternatives
No response

I agree that while the readme provides wealth of information I believe it has become e a bit cluttered and challenging to read. I'll gladly take this issue I believe it should be divided into something like this
  ├── Docker.md
  ├── CLI.md
  ├── Environment-Variables.md
  ├── Grafana-Prometheus.md
  ├── FAQ.md
README.md```


Use Timeout to Account for Async Rendering of Properties Panel

Context
Due to the issue described in https://github.com/bpmn-io/properties-panel/pull/186#issue-1378022895 the properties panel isn't always focused on showEntry. To fix this issue a timeout is introduced to account for the async rendering of the properties panel. Once the issue has been fixed in the properties panel the timeout can be safely removed. In the meantime, nothing is going to change for users of @camunda/linting as the timeout is only used internally.

Related to https://github.com/bpmn-io/properties-panel/pull/186
Related to https://github.com/camunda/camunda-modeler/issues/3144

I will look into this today.