chore:upgrade wechat

Description
upgrade wechat
How Has This Been Tested?
doesn't need
Snapshots:
Include snapshots for easier review.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have already rebased the commits and make the commit message conform to the project standard.
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] Any dependent changes have been merged and published in downstream modules

@Aries-ckt  Please fix pylint error. #1282


Component Template Generator Script

A script to generate all the needed files & boilerplates for a new empty component:

Component files/boilerplates (?) [please add the files that actually need to be created here!]
Spec template
Readme template

also renaming component would be nice :)

also need to consider that each component will be a separate package in some future.

We will add links to the spec / readme template files soon (preparing them right now)

@LeonidLevi remember that the only placeholder available is a component name in different cases (componentName, ComponentName, component-name, COMPONENT-NAME). You can suggest cases needed for documentation using Issues in https://github.com/wix/generator-wix-react-components


Fastmath support

We believe this will become a performance concern for our runtime, but haven't identified specific issues at this point.

[ ] https://github.com/rust-lang/rust/issues/21690

Haven't really been a concern


Allow to send file specific edits with a request

Simliar to requests containing a new buffer this PR adds support for attaching incremental buffer updates to a request. This allows you get around an explicit call to /changebuffer and also has the neat side effect that clients don't have to process requests one after the other but send them in parallel - given they know what they do ;-)

Looks good to me. Think I'll try and adopt this code myself. Thanks!


feat(prettier): add parens to left of instanceof

Current dependencies on/for this PR:

main

PR #1602   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 1, 6:08 AM: @Boshen merged this pull request with Graphite.


Problem with duplicate entries

New Issue Checklist (tick off like this: [x])

[ x] I checked existing issues (open and closed) for possible duplicates
[x ] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

[ ] Firefox
[ x] Chrome

What is your operating system?

[ ] Linux
[ ] Mac
[x ] Windows

Description (please include examples/screenshots where applicable)
This is fairly simple and not a great problem, just ultimately less than optimum.
I use this with a long list of preference lines. As I built and edited the preferences over time I sometimes duplicated information from one line to another later in the list for better use. For example, I have several different business accounts. I've listed erch one separately with individual lines for "Business" "Account Number", Login Name", etc. What I found was that once I have a line with my username, duplicates of it will display in the Preferences editing list, but when I go to actual entry into a form file, only the first instance of the username several lines above will be displayed for choice. It's more optimum for me to have all the data for each business grouped together even though it causes duplication.
Depot- IHL
442xxx52
Kenneth C Rich
Public Express
37xxx000
Kenneth Rich
Fido Foods
417xxx81
Kenneth C Rich
Mom's Pies
441xxx43
Kenneth C Rich
BP for Hire
636xxx07
Kenneth C Rich
Library card
250xxx89
Kenneth Rich
Is there something I can tweak to turn on display of duplicates?

The autocomplete and context menu are line based, nothing much to do about it. For your use case, I recommend using comments, so you configure for example // as comment string and then build your entries like so:
442xxx52 // Depot- IHL
37xxx000 // Public Express
417xxx81 // Fido Foods
...

when you'd choose the first item, only 442xxx52 would be filled in. This is how I do this myself and it works well - especially with autocomplete because you can enter dep, get all matches including the first in your list and again only 442xxx52 would be filled in when you choose it. It also makes the list a lot shorter.


fix(material/menu): not interrupting keyboard events to other overlays

This is a resubmit of #22856 which had some issues in g3.
For historical reasons, mat-menu doesn't use the same keyboard event dispatcher as the other overlays. To work around it, previously we added a dummy subscription so that the menu would still show up in the overlay keyboard stack.
This works for most events, but it breaks down for the escape key, because closing the menu removes it from the stack immediately, allowing the event to bubble up to the document and be dispatched to the next overlay in the stack.
These changes resolve the issue by adding a stopPropagation call.
Fixes #22694.

Caretaker note: the previous PR had to be reverted due to an issue in g3. If resolving the issue is difficult, I can try to limit the scope of these changes only to escape key presses.


Project release & version management draft

Feature details?
Overview
Every project requires a workflow for managing version & release management. This project is no exception to that fact either! There has been attempts to conceptualise what steps & procedures should be taken to setup a specific workflow for the project in #69. And the discussions made in that thread has been VERY productive as well.
Thanks to everyone who chipped in their two cents about developing the ROADMAP for the project, we now have a general overview of how to manage the project far into the future! But we need a more short term set of goals which individuals could look forward to for sharing their contributions. Hence, this thread will attempt to lay down the groundwork for managing a "release cadence" for the project.
How Often Should We Release
The nature of the project makes it difficult to maintain a fixed release schedule, hence, it's suggested to instead release a new version (or tag) when there are "important feature updates" to the project. The said "important feature updates" could be say;

Developing the Hero section of the landing page.
Adding a "info" section with information about the community.
A new "About Us" tab in the navigation bar

....and so on.
Breaking down the end goal (figma template) into smaller components which should be developed individually will help manage public contributions more easily!
So, upon completion of each component, it would be advisable to perform a release. More about how each releases should be versioned & the procedure for releasing is detailed in the next few sections.
Versioning Rules
The project in question is a website & as such backwards compatibility isn't a requirement. Hence, straight off-the-bat, releasing versions of the project isn't possible using SemVer. As such we recommend following a different approach for versioning specific releases of the project.
Taking quite a lot of inspiration from this comment & the parent thread, it's suggested to follow a "Year-Month" versioning system. For more context, assuming the Hero section of the landing page was complete & a release could be made on the month of February & in the year 2022, then a tag aptly named v2022-02 could be released.
Nothing has yet been finalised yet so please feel free to share your suggestions on this regard.
Release Procedure
Before releasing a new version of the project, certain assumptions has to be made, checked & verified. In case some of those checklist items are missing or are out-of-place, please report it to the maintainers of the project beforehand.
That said, following are the assumptions that has to checked each time before making a release:

Version numbers has been checked & updated as per the rules stated above in the "Versioning Rules" section. Also don't forget to the update the version entry in the package.json file of the project as well!
Make an entry in a CHANGELOG.md file with the specific details of what's changed & in what version is it.
All tests, linters, formatter & URL health checks pass both locally & in the CI/CD pipeline.
Release specific milestones has been updated on GitHub, completed & cleared upon tagging a commit.

Once the aforementioned steps has been taken care of it's now suggested to tag a new version & performing a release on GitHub.
Final Words About the Workflow
The contents of the threads should be regarded as a source of inspiration only & nothing said here is set in stone. So, please keep that in mind & feel free to share your thoughts & opinion about "how should this project be maintained?". We welcome all sorts of contributions, discussions & opinion. And we'll gladly integrate them into the final draft of the documentations.
Code of Conduct

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

@Bhupesh-V @Manav-SM @yashsharan0805 I drafted a release cadence so let me know what your thoughts on it are. With your feedback I'll be update the contributing guidelines accordingly.
@afkcodes could you start developing the landing page asynchronously? I'll update the docs & will provide you a helping hand as soon I'm done with those stuff.


Can‘t find package

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ x ] Question or discussion

Question

What do you want to know?
Can‘t find package: org.apache.skywalking.apm.network.language.agent

Please read the documentations first before asking question, the package is generated by compiling from the submodule

As you know Mandarin, you could learn lesson 2 from here. https://space.bilibili.com/390683219/channel/detail?cid=129405


Asciidoc markup

For those who like Asciidoc,
having a description_adoc option or similar would be interesting
https://asciidoctor.org/
i understand this would be a low priority

Hello, and welcome to SQLPage !
Indeed, since SQLPage prides itself on being fast and lightweight, and not having any runtime dependency, I think it's better to limit ourselves to "one single way of doing things". But I'm ready to be convinced otherwise :)

A more general solution that could also fit your use case would be to have an external_command component, that just passes your data to an externa program on stdin, and renders whatever comes from stdout.

an external_command component could indeed allow for a number of extensions, sounds interesting


Properly output the SHOW TAG VALUES command so it can be reparsed

Fixes #7137.

Can we add a quick test for this?  +1 with test.

Added a test and found two additional commands that had to be fixed from the tests. It basically just tries to reparse the output of String() and makes sure that it gets the same output.

+1


Fix function pointer with function which returns sub type

Purpose

Fix function pointer with function which returns sub type

Fixes #13881
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

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

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

[ ] Increased Test Coverage
[ ] Added necessary documentation

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

Codecov Report

Merging #17502 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #17502   +/-   ##
=======================================
  Coverage   11.65%   11.65%
=======================================
  Files          50       50
  Lines        1545     1545
  Branches      240      240
=======================================
  Hits          180      180
  Misses       1351     1351
  Partials       14       14

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 aed9083...51200c3. Read the comment docs.


chore: Add fedback templating

It would be great if at least one of de approvers approves for the de strings. 😊
@DaveVentura @Petria3s Could you please take a look and approve? 😊

@jihoon-seo done, could you approve please ;)


Update to suport ubuntu 16.04

This cookbook not have suport to ubuntu 16. Now this simple update has soported, I am happy.

Would love to see this added!

@AnselmoPfeifer close this in favor of #36


WIP DNM 4.16

test PR to exercise CI. Will be closed once verification is completed.

no longer needeed

I don't recall following on this was the CI successful?


Fail to stage files with weird names

Description
I had a file called :temp: that I deleted and I could not stage using neogit.
Neovim version
NVIM v0.7.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=malloc -Wsuggest-attribute=cold -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az316-460

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

Run :checkhealth for more info

Operating system and version
Ubuntu 20.04
Steps to reproduce

Create any project
Add a file called :temp:
Try to stage the file using neogit

Expected behavior
Stage the file :temp:
Actual behavior
Git errorr (128). Press $ to see the git command history.
Minimal config
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])
local package_root = "/tmp/nvim/site/pack"
local install_path = package_root .. "/packer/start/packer.nvim"
local function load_plugins()
  require("packer").startup({
    {
      "wbthomason/packer.nvim",
      {
        "TimUntersberger/neogit",
        requires = {
          { "nvim-lua/plenary.nvim" },
          { "sindrets/diffview.nvim" },
        },
        config = function()
          print("loaded neogit")
          require("neogit").setup()
        end,
      },
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. "/plugin/packer_compiled.lua",
      display = { non_interactive = true },
    },
  })
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing neogit and dependencies.")
  vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path })
end
load_plugins()
require("packer").sync()

If it's an issue with the git cli, there's not much we can do.


Adds powershell profile for cmder

Cmder also has a profiles.ps1. This PR makes it available in shell selection.

Thanks!

@all-contributors add @baflo for code


Force component imports from main.ts in stories

By forcing components to be imported from main.ts instead of directly importing it from the source file, we make it harder for ourselves to forget exporting a component from the vue-components package (e.g. 2c6f608ce7bccbcf7ca06ff6a770cf3c5ba715a4).
I initially thought that the number of // eslint-disable-line no-restricted-imports I had to add is something that should be worked around as part of this PR, however, I believe this actually shows a problem worth pointing out: whatever is useful for the component stories is likely also useful for consuming applications. Instead of making it more convenient to ignore those, we should probably think about ways to export these types/enums/constants as well!

Ok, looks like this doesn't actually work well after all because we also show internal components in storybook as well, and they aren't distinguishable from ones that actually get exported. Dammit :D


dashboard RGBRing simulator direction

According to Jacdac module standards, the physical object and emulator do not match

looks like it's documented here https://microsoft.github.io/jacdac-docs/ddk/design/ec30/#component-numbering-and-orientation


DARK MODE ENABLED

What does this PR do?
Added a dark mode toggle button. Also created header component which is also reusable, that contain dark mode button, gitub logo, and Main logo. Also fixed a issue in main section in which if images is not there then a error is showing without the user has searched.Also removed margins from mant places that are confliction when using dark mode. Also fixed css of next and previous button.
Related Issue(s)
Issue #22
Changes
Now user can enable dark mode or light mode according to thir preferences.Also this website is responsive till midium screen size.
Screenshots or GIFs (if applicable)

Checklist

[x] I have read and followed the contributing guidelines.
[x] My code follows the project's coding style and conventions.
[x] I have added unit tests (if applicable) to ensure the code works as expected.
[x] I have updated the project documentation (if necessary).

By submitting this PR, I confirm that:

[x] I have reviewed my code and believe it is ready for merging.
[x] I understand that this PR may be subject to review and changes.
[x] I agree to abide by the code of conduct and contributing guidelines of this project.

I can see there are some conflicts regarding this PR. Please fix it

I can see there are some conflicts regarding this PR. Please fix it

Can you please tell me, what are the conflicts. It will be really helpful.


Integrity problem

Version
3.0.0-rc.5
Node and OS info
node: 10.7.0, npm: 6.3.0, Linux 4.13-rc3-mainline (ArchLinux x64)
Steps to reproduce
A. Installing it globally
npm i -g vue-cli #or even npm i -g @vue/cli

B. Creating a project with vue create or vue ui
vue create projectname #or vue ui then doing that on the GUI

What is expected?
A. Vue CLI should be successfully installed
B. The project should be created with all the dependencies there and scripts
What is actually happening?
A.
npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/commander: Integrity verification failed for sha512-cJpXb1sIdvyafVjk7UCUMrxUslf ggo9qcx47iztm1pqLBRH2DCOc5Q/mBmS1 iDmdFHjr8DpkclvZllmMlCvg== (/home/maxie/.npm/_cacache/content-v2/sha512/70/9a/576f5b0876fc9a7d58e4ed409432bc54b257fe820a3da9cc78ee2ced9b5a6a2c1447d8308e73943f981992d7e88399d1478ebf03a64725bd996598c942be)

B.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/commander: Integrity verification failed for sha512-cJpXb1sIdvyafVjk7UCUMrxUslf ggo9qcx47iztm1pqLBRH2DCOc5Q/mBmS1 iDmdFHjr8DpkclvZllmMlCvg== (/home/maxie/.npm/_cacache/content-v2/sha512/70/9a/576f5b0876fc9a7d58e4ed409432bc54b257fe820a3da9cc78ee2ced9b5a6a2c1447d8308e73943f981992d7e88399d1478ebf03a64725bd996598c942be)

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/maxie/.npm/_logs/2018-08-03T15_22_09_817Z-debug.log
 ERROR  command failed: npm install --loglevel error

I was trying to create a project which I've managed to save a preset for but the UI gets stuck on installing the dependencies and whenever I try to do that in the CLI, it fails due to that integrity issue with commander.
I tried updating vue-cli (@vue/cli) but I got the same errors (cf. A.).

This is either an npm server issue or a local npm caching problem. Either way, there's nothing we can do in Vue CLI.

Good call.
I managed to fix the problem doing as follows:
I managed to solve that problem by doing the following:
```bash
npm cache verify
npm i -g @vue/cli@latest

I had same problem, and I figure out it was  due to a proxy on my network.


project id not found in projects.json

Hello,
I'm running project with id 11777, but its not in the projects.json
so I get: Cannot read property 'id' of undefined
Verify Folding@home is running
Terminating Program
I guess you have to update it automatically

I am Kimi|AHK from that discord support thread btw :D

awesome! it works now :+1:

Glad it's working, thanks for reporting the issue


[Question]: Would like to replace media links to share button?

Describe your question or ask for support.❓
Description
Addition of Share button.
https://github.com/kunjgit/GameZone/assets/154777864/54c64af9-9413-4744-aadc-b7008375a07c
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Anjaliavv51 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#3656

Hey @Anjaliavv51 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @Anjaliavv51 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

assign

/assign


Add dark mode toggle button in the navbar.

I will add a toggle button in a navbar by clicking on which we can change the theme of the  webpage.
I will add webpage in this section:-

Please assign this to me

I have already done it , it would be really nice if you assign it to me:
LIGHT THEME:

DARK THEME:

Can you please assign it to me? I will work hard on it.

@Aarav238 please go ahead!
others please look for some other issue


[BUG] System does not Except DNS Names instead of IP-Adress

The bug
Hello,,
i love your system and it works very good. But The Field IP-Adress in the Device-Section accept a Normal DNS. but with it in does not wake up a machine.
Here are the error from the log:
2024/05/12 14:02:12 wake.go:16: Wake triggered for < PC-NAME >
2024/05/12 14:02:12 handlers.go:31: ip not a valid ipv4 address
with a Custom Wakeup Command (etherwake), it is OK -and yes the ping too. but it was very very better if it works with the normal wake up, because most tools only need the mac to wakeup, not the ip.
Thanks for your Good work!
Damodara
The OS that UpSnap is running on
Archlinux Roling
Version of UpSnap
4.2.9-1
Your docker-compose.yml content
No Docker, its a Proxmox Container, Installed over yay -Sy aur/upsnap-bin

Reproduction steps
1. Change the Device ip to its Name or Create a New Device with name in IP-Adress field instead of IP
2. Click on the Machine to Wake-UP
3. See the Logs

Additional information
No response

The IP address is used to calculate the broadcast IP address for wake requests. If you set the IP to a FQDN name it will fail because upsnap tries to interpret the string as an IP address.

but it was very very better if it works with the normal wake up, because most tools only need the mac to wakeup, not the ip.

Another discussion if the IP field should be non-required: https://github.com/seriousm4x/UpSnap/issues/583


[mgmt] computefleet ga

https://github.com/Azure/sdk-release-request/issues/5596?reload=1

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-computefleet


treatNonterminalBondsToMetalAsZOBs should default to true

CoordGenParams has a treatNonterminalBondsToMetalAsZOBs flag that defaults to false.
I think this originally  controlled all bonds to metals and was introduced to get better images of terminal bonds. Since then thought that specific behaviour is always on in coordgen and the flag now only controls non-terminal bonds.
I think the flag should be off by default (same as for coordgen) cause it can cause ugly depiction of metal coordination systems

@ZontaNicola

I think the flag should be off by default (same as for coordgen) cause it can cause ugly depiction of metal coordination systems

Is this a typo? Do you mean that it should be on by default?


Use reference glyphs

Advantages:

Saves a ton of I/O because the temporary file only needs to be written 17 times
Smaller generated font size

Disadvantages:

17 glyphs are reserved for the templates

I really dislike that this takes up 17 glyphs :
Time to find a way around this

This is really, really slow. Reverting


Upgrade to polkadot 2409

Deps
polkadot - https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-stable2409-1
frontier - https://github.com/moonbeam-foundation/frontier/tree/moonbeam-polkadot-stable2409
orml is still on 2407 but should be simple upgrade - https://github.com/open-web3-stack/open-runtime-module-library/releases

@jak-pan you are right, latest orml release uses 2407, but there is already opened PR for 2409 . I think we can use it.


How to set plugins' properties?

How to set plugins' properties?

We require the issue template to be filled out on all new issues. The issue template helps us collect all the information we need to address your submission efficiently.
Your issue can be classified as an integration question or a question about specific features of FilePond we ask you kindly to submit it on Stack Overflow.

OK, figured it out: StackOverflow


Success when failure still (ILEPGM / ILESRVPGM)

It looks like based on output that returncode still evaluates to true/success when custom commands in ILEPGM / ILESRVPGM commands
Screenshots :

Is there a way to determine with a debug flag in the build engine to see which commands run in sequence and their output ? or any point into direction where one can evaluate the part where the spool in *.output gets evaluated for completion on success/failure.
Much appreciated.

Thank you, that is a very useful observation.  A little bit distracted with other priorities, can anyone please suggest a PR on this.

Yes please @ITMentalist Marius
So look at the def_rules.mk you will see the recipe follows the form
define ILESRVPGM_TO_SRVPGM_RECIPE =
	$(SRVPGM_VARIABLES)
	$(eval d = $($@_d))
	@$(call echo_cmd,"=== Creating service program [$(tgt)] from [$(notdir $<)]")
	$(eval crtcmd := $(shell $(SCRIPTSPATH)/extractPseudoSrc $< $(OBJLIB) $(basename $(@F))))
	@$(PRESETUP) \
	$(SCRIPTSPATH)/extractAndLaunch "$(JOBLOGFILE)" "$<" $(OBJLIB) $(basename $(@F)) >> $(LOGFILE) 2>&1 && $(call logSuccess,$@) || $(call logFail,$@)
endef

The extractAndLaunch is a shell script and it is this script that has to accurately return the error code
https://github.com/IBM/ibmi-bob/blob/109affd27b8364e25d96ae257b2014aff9c3dca0/src/scripts/extractAndLaunch
#!/usr/bin/env bash
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

joblog_json=$1
pseudoSrcFile=$2
objlib=$3
objname=$4

cmd=""

while read -r line; do
  line=$(echo "$line" | sed 's/\r//')
  if [[ $line = '/*'* ]]; then continue; fi
  if [[ $line = '' ]]; then continue; fi
  if [[ $line =~ .*\+\S* ]]; then
    linetmp=$(echo "$line" | sed 's/\+\S*$//')
    cmd="${cmd} ${linetmp}"
    continue

  fi

  cmd+=$line
  if [ -n "$cmd" ]; then
    cmd=$(echo "$cmd" | sed "s/&O/$objlib/g" | sed "s/&N/$objname/g")
    "$SCRIPT_DIR"/launch "$joblog_json" "$cmd" </dev/null
    # echo "Running $cmd"
    cmd=""
  fi
done < <(grep "" $pseudoSrcFile)

as you can see the return value of the launch script is not being returned

the following code might be helpful
result=$("$SCRIPT_DIR"/launch "$joblog_json" "$cmd" </dev/null)
echo "Result: $result"
if [ "$result" -ne 0 ]; then
  exit 1
fi

we don't have debug flags, but you can put echo statements temporarily in these bash script

hi @edmundreinhardt
ok if I follow correctly : |

this unfortunately also doesnt return the "return code" correctly.
looking abit deeper now at how this is invoked, is there a way to run each command without the build on a sort of sequence? (to clarify the build process abit more in a streamlined manner perhaps)
intend is from my side to "execute" the script on its own to see what effect the patch code does.
thank you

Yes please @ITMentalist Marius
So look at the def_rules.mk you will see the recipe follows the form
define ILESRVPGM_TO_SRVPGM_RECIPE =
	$(SRVPGM_VARIABLES)
	$(eval d = $($@_d))
	@$(call echo_cmd,"=== Creating service program [$(tgt)] from [$(notdir $<)]")
	$(eval crtcmd := $(shell $(SCRIPTSPATH)/extractPseudoSrc $< $(OBJLIB) $(basename $(@F))))
	@$(PRESETUP) \
	$(SCRIPTSPATH)/extractAndLaunch "$(JOBLOGFILE)" "$<" $(OBJLIB) $(basename $(@F)) >> $(LOGFILE) 2>&1 && $(call logSuccess,$@) || $(call logFail,$@)
endef

The extractAndLaunch is a shell script and it is this script that has to accurately return the error code https://github.com/IBM/ibmi-bob/blob/109affd27b8364e25d96ae257b2014aff9c3dca0/src/scripts/extractAndLaunch
#!/usr/bin/env bash
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

joblog_json=$1
pseudoSrcFile=$2
objlib=$3
objname=$4

cmd=""

while read -r line; do
  line=$(echo "$line" | sed 's/\r//')
  if [[ $line = '/*'* ]]; then continue; fi
  if [[ $line = '' ]]; then continue; fi
  if [[ $line =~ .*\+\S* ]]; then
    linetmp=$(echo "$line" | sed 's/\+\S*$//')
    cmd="${cmd} ${linetmp}"
    continue

  fi

  cmd+=$line
  if [ -n "$cmd" ]; then
    cmd=$(echo "$cmd" | sed "s/&O/$objlib/g" | sed "s/&N/$objname/g")
    "$SCRIPT_DIR"/launch "$joblog_json" "$cmd" </dev/null
    # echo "Running $cmd"
    cmd=""
  fi
done < <(grep "" $pseudoSrcFile)

as you can see the return value of the launch script is not being returned

follow question on the "recipes" , here another request, if one is able to run the recipes on their own perhaps?

for reference on Bash return code

@ITMentalist Marius would you    be able to create a pulll request?

Will you have time later today?  Say 1pm EST

Sure, its 30 mins my time (7pm SAST) , how would you like to connect? on zoom perhaps?

Can we perhaps try on Monday? , I see my free night didnt turn out the way I planned. (1pm EST on Monday will work for me), would you like to connect over email or zoom perhaps?

OK,I am booking a meeting on Monday at 1pm EST.  What is your email address?

1pm EST at Meeting link:
https://ibm.webex.com/meet/edmund.reinhardt
Meeting number:
927 985 491
Join from a video conferencing system or application
Dial<EMAIL_ADDRESS>Access Code: 927 985 491

https://ibm.webex.com/meet/edmund.reinhardt

@ITMentalist
Here's a list of the suggested extensions available on VSCode aiding in your IBM i development
Code for IBM I
Db2 for IBM I
IBM i Debug
IBM i Project Explorer

@ITMentalist can we meet again to learn how to merge PRs and to build and test BOB?
Would you be free on Friday any time?

@ITMentalist please accept my invitation to collaborate on the project

https://github.com/IBM/ibmi-bob/invitations


Weird flashing marker when clicking around in debug

I am in a breakpoint and suddenly I get this:

Can not easily repro -> feb
@bpasero I need reproducable steps for this to figure out what is going on. Can you ping me once you get his setup on your machine so I take a look.

@bpasero just to remind you about this

@isidorn I do not see this in light theme but in dark + theme. Also it seems a lot less flashing now.

Also the hover seems a bit hectic to me.

I have fixed the hectic behavior.
I have removed the hightlihght becuase I do not like it since we do not have good language knowledge so we do not higlight nicely when somebody hover over a.b.c
My presumption is that nobody will notice that I removed the highlight.


heredoc

cat <<_ACEOF
\`configure' configures Aegisub aegisub_version to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

_ACEOF

Thanks. This should be fixed in 1.2.18.
But I still have no idea how to parse the advanced following one.
cat <<_ACEOF; echo hello;
world
_ACEOF

The above script prints
world
hello
```.

Check out the Ruby syntax. You can get around this by pushing two contexts and have the outer context remove the inner's meta_scope with clear_scopes.


Simplifications in Arbitrary and Gen

Performed some regression neutral simplifications in javaslang-test.
In particular, simplified some of the factory methods.

Codecov Report

Merging #1882 into master will decrease coverage by -0.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1882      +/-   ##
============================================
- Coverage     98.08%   98.07%   -0.01%
+ Complexity     5054     5051       -3
============================================
  Files            88       88
  Lines         11413    11403      -10
  Branches       1505     1503       -2
============================================
- Hits          11194    11184      -10
  Misses          113      113
  Partials        106      106

Impacted Files
Coverage Δ
Complexity Δ

...vaslang-test/src/main/java/javaslang/test/Gen.java
100% <100%> (ø)
60 <3> (-1)
:x:

...g-test/src/main/java/javaslang/test/Arbitrary.java
100% <100%> (ø)
33 <3> (-2)
:x:

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 d61f6a9...20f57c6. Read the comment docs.


Can you please help with the sign in code. Its not working.

The project is not live and can't be used directly. You need to set up and configure the App with Firebase to get it to work. Please refer to the README, it has been updated.


BUG: fix linestring/linearring creation (copyFromBuffer usage) to check for dimension

Closes #1267

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.098%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2068

Relevant Lines:
2550

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
2.8%

Covered Lines:
2196

Relevant Lines:
2616

💛  - Coveralls


cannot import existing TargetGroupAttachment

i'm working on splitting a project into two, using stack dependencies, and stuck on a TargetGroupAttachment which doesn't seem to want to import.
$ pulumi up
[...]
Diagnostics:
  aws:lb:TargetGroupAttachment (helloTargetGroupAttachment):
    error: Preview failed: refreshing urn:pulumi:dev::hello::aws:lb/targetGroupAttachment:TargetGroupAttachment::helloTargetGroupAttachment: 1 error occurred:
        * Error reading Target Health: ValidationError: A target group ARN must be specified
        status code: 400, request id: 3f607063-dfa1-46c7-983e-4c63849c6066

My code looks like this:
lb.TargetGroupAttachment("helloTargetGroupAttachment",
    target_group_arn=hello_target_group.arn,
    target_id=hello_fn.arn,
    opts=pulumi.resource.ResourceOptions(
        # depends_on=[hello_target_group, hello_fn],
        import_='arn:aws:elasticloadbalancing:<REGION>:<ACCOUNT>:targetgroup/helloTargetGroup-7e81281/<...>'
    )
)

Removing the _import argument, pulumi up previews an identical state to the state in the original stack (aside from the ID, which doesn't exist yet), so i know the target_group_arn and target_id values are correct.  All the related infra is imported successfully.
i also tried a pulumi refresh on the whole stack, but that didn't change the behavior.

At this time, the provider doesn't support importing target group attachments (https://www.pulumi.com/docs/reference/pkg/aws/lb/targetgroupattachment/#import)

@leezen so to split a stack into two stacks, i could do this bit by manually updating the state?

@smcoll Yes, I think that's likely the best way to go about it right now.

This is tracked in https://github.com/hashicorp/terraform-provider-aws/issues/26447 and once fixed upstream will be available here.

Another solution would be https://github.com/pulumi/pulumi/issues/3389.


[BUG] Volumes are in attaching in lonhgorn forever and not mounting to the pods

Describe the bug (🐛 if you encounter this issue)
After installing longhorn in the cluster using helm, all volumes are getting in to attaching state in lonhgorn UI forever and not mounting to the pods.
All longhorn pods are up and running.
longhorn-support-bundle_8dc493c2-4f1c-41c4-a479-37565595c9ca_2023-03-28T11-26-15Z.zip
adminlinux@jyoti-illustraai:~$ kubectl get pods -n longhorn-system
NAME                                        READY   STATUS    RESTARTS   AGE
csi-attacher-5f46994f7-5ghz5                1/1     Running   0          90m
csi-attacher-5f46994f7-79m86                1/1     Running   0          90m
csi-attacher-5f46994f7-vn68r                1/1     Running   0          90m
csi-provisioner-6ccbfbf86f-74jdj            1/1     Running   0          90m
csi-provisioner-6ccbfbf86f-jhj5q            1/1     Running   0          90m
csi-provisioner-6ccbfbf86f-m27cq            1/1     Running   0          90m
csi-resizer-6dd8bd4c97-6q96t                1/1     Running   0          90m
csi-resizer-6dd8bd4c97-8bf2v                1/1     Running   0          90m
csi-resizer-6dd8bd4c97-kd9h9                1/1     Running   0          90m
csi-snapshotter-86f65d8bc-6tvsw             1/1     Running   0          90m
csi-snapshotter-86f65d8bc-fqwwh             1/1     Running   0          90m
csi-snapshotter-86f65d8bc-jh97v             1/1     Running   0          90m
engine-image-ei-4dbdb778-p8pw6              1/1     Running   0          90m
instance-manager-e-e61ef47c                 1/1     Running   0          90m
instance-manager-r-b1d8eb2e                 1/1     Running   0          90m
longhorn-csi-plugin-b9cpj                   2/2     Running   0          90m
longhorn-driver-deployer-6bc898bc7b-scvlm   1/1     Running   0          90m
longhorn-manager-l56wt                      1/1     Running   0          90m
longhorn-ui-84f97cf569-sdlk2                1/1     Running   0          90m
To Reproduce
Steps to reproduce the behavior:
Install longhorn 1.24 version in to kuberentes cluster
Log or Support bundle
Attached the support bundle.
adminlinux@jyoti-illustraai:~$
Environment

Longhorn version: Version: 1.2.4
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: K3s

Number of management node in the cluster: 1
Number of worker node in the cluster: 0

Node config

OS type and version: Ubuntu
CPU per node: 20
Memory per node: 64G
Disk type(e.g. SSD/NVMe): NVMe

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetel
Number of Longhorn volumes in the cluster: 8

Hi @rajeevpadinharepattu
I saw the logs of longhorn-manager in the support bundle
2023-03-28T11:26:00.481188209Z time="2023-03-28T11:26:00Z" level=warning msg="Error syncing Longhorn instance manager longhorn-system/instance-manager-e-e61ef47c: fail to sync instance manager for longhorn-system/instance-manager-e-e61ef47c: failed to get version: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:8500: connect: no route to host\""
2023-03-28T11:26:02.497270830Z time="2023-03-28T11:26:02Z" level=warning msg="Error syncing Longhorn instance manager longhorn-system/instance-manager-r-b1d8eb2e: fail to sync instance manager for longhorn-system/instance-manager-r-b1d8eb2e: failed to get version: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:8500: connect: no route to host\""

Could you check your network setting or turn off the firewalld?

@mantissahz  This was becouse of some network issues, and can be closed.

To improve the debugging process and UX, it would be nice that the error is recorded in the instancemanager.spec.conditions.
cc @mantissahz @innobead


V2 missed feature : start estimate from a selection of work items

Hi,
In V2 I can not start an estimate session from a selection of work items (from a query). I do not know if this is related to the very old #2 ?
Anyway, if this is a duplicate -  sorry!

Duplicate of #23


Revamp the physical activity variables

I think we can create a physical activity 'score' based on some studies that use ELSA. Check out references from issue #94, links to different health outcomes. Shankar et al. created a binary score for physically active or not, which incorporated information on physical activity from the three questions (light, moderate, vigorous) as well as information on a respondents job (whether it was sedentary, active, etc.). This is a nice and simple thing to predict in the FEM so would be a good starting point (also very easy to incorporate into other models) but the references from the issue linked could indicate a better way.

[ ] Read papers linked in issue #94
[ ] See if any other literature condenses physical activity information in ELSA

From Lang et al. (2007):

Measured Physical Performance Impairment (ELSA)

A physical performance score was calculated based on performance on three tests: balance, chair stands, and grip strength. This test is a modified form of the Short Physical Performance Battery to assess lower extremity function16 with gait speed replaced by grip strength.17 (This was necessary here, because gait speed in ELSA was assessed only in respondents aged 60 and older.) The test was scored as follows.

The balance component tested the respondent's ability to complete three tasks. Respondents scored 0 if they could not complete any of the tasks; only respondents who successfully completed a given stance attempted the following one. They scored 1 point for completing the first task, holding a side-by-side stance (standing with feet together) for 10 seconds. The second task was a semi-tandem stand (heel of one foot against side of the big toe of the other) and was also worth 1 point if held for 10 seconds. The third task was a full-tandem stance (feet aligned heel to toe); respondents scored no additional points if they could not hold this position for 3 seconds, 1 point if they held it for 3 to 10 seconds, and two points if they held it for more than 20 seconds.

The chair stand test involved a pretest and a timed test. The chair used was the respondent's own armless, straight-backed chair; beds, cots, folding chairs, garden chairs, and chairs with wheels or that swiveled were not used. For the pretest, respondents were asked to fold their arms across their chest and try to stand up once from a chair. Those unable to do this scored 0 and did not attempt the rest of this test. Those who were able to do this repeated this movement five times in succession as quickly as possible. Scores were calculated according to quartiles of time taken: the fastest quartile scored 4, the slowest scored 1. Those who had completed the pretest but were unable to complete the timed test within 1 minute were given a score of 0.

The grip strength test involved squeezing a handheld grip-strength meter. Grip strength was recorded for the dominant hand, and the mean of two attempts was used. Scoring was according to quartile, with the strongest quartile scoring 4, and the weakest scoring 1.

A trained clinician conducted all three tests. Scores were out of 12, and a score of 7 or less was taken to represent impaired performance.

Earlier in the paper they use the vigorous activity variable alone from the harmonised output (or actually from non-harmonised but its an equivalent variable). They then also use another variable for measured physical performance, defined above. I could recreate this variable, which could be useful in a number of ways but perhaps not directly for the loneliness and social isolation work. I will write this into it's own issue, and instead go with Shankar et al.'s binary physically active variable for simplicity. My hypothesis is that the two groups will have very different relationships to loneliness and social isolation.

So using the definition from Shankar et al., the binary physically active variable is defined from both the leisure physical activity variables, as well as how active the respondents employment is if employed.
Specifically:
Not Active - Moderate or vigorous physical activity only once a week or less AND if employed, occupation is reported as primarily sedentary
Active - Moderate or vigorous physical activity more than once per week OR if employed, occupation is any of standing, physical work, or heavy manual work


Invalid array length

running waka today threw an error.

How was #65 outputting without a runtime error while this wasn't?

Good question. I ran waka today about an hour ago and got no error. Right now I ran again twice and got this error. Maybe you should check if the array is greater than 0 to loop over it.


Support short sha1 as input partamenter in the command line

See commits for details.
Closes #309

Ok, I reworked the solution and the git history.
So this should be the minimal solution to support the short sha1, as @cloudhead  point out in here

Pushing the change, but tomorrow morning this deserve another scan from me :)

After playing around with this I think the approach will not work :)
The reason is that you can't distinguish, once you convert, between eg. 0abc and abc. I'm looking now into a different solution, perhaps closer to what you had in the beginning.

Hmm nevermind, it's not possible to store the short version inside ObjectId.
If you store eg. ffff as ffff0000000000000000000000000, it could also mean 000000000ffff0 or 0000000ffff000. There's no way to know. And if you store it as<PHONE_NUMBER>000000000000000000ffff, the same thing applies.
There's no way to know if it's shortened or the full oid.
So, I think the only way around this is to use a different type for storing the short oid/revspec.

Ok I put the solution that you talk about in this commit https://github.com/radicle-dev/heartwood/pull/392/commits/7b6f1b454c57104bcbd723e010e71b92dbb11e8f
So I think this is the only commit to review if the solution is ok I will reorganize the PR in two commits one for the code and the other one for the docs

Rebased and merged in 654a21b2b38efb85742423538dee110fbc356f01 -- thanks!


[BUG] 100% reproducible emacs crash in elfeed- using emacs -q (backtrace attached)

Hi
i have this nasty bug in elfeed (i think) that crashed emacs which i can reproduce 100% of the time. i also tried it with emacs -Q and i can reproduce it as well. im not very technical and followed a guide on how to produce a backtrace (attached in next  message)
this is my minimal conf to reproduce
(setq load-prefer-newer t)
;; This sets up the load path so that we can override it
(package-initialize nil)

(setq inhibit-startup-screen t)

(require 'package)

(setq package-enable-at-startup nil
package-archives
'(("gnu"             . "http://elpa.gnu.org/packages/")
("melpa"           . "http://melpa.org/packages/")
;; ("melpa-stable" . "http://stable.melpa.org/packages/")
;; ("elpy"         . "http://jorgenschaefer.github.io/packages/")
("org"          . "http://orgmode.org/elpa/") ;; for org-plus-contrib
))
(package-initialize :noactivate)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)
;; you can turn this on to see when exactly a package get's configured
;; (setq use-package-verbose t)
(setq custom-file "~/.emacs.d/custom.el")
[macs.bug.report.txt](https://github.com/skeeto/elfeed/files/726494/macs.bug.report.txt)
[macs.bug.report.txt.zip](https://github.com/skeeto/elfeed/files/726495/macs.bug.report.txt.zip)

(load custom-file 'noerror)
; Check if system is windows
(defun system-type-is-win ()
(interactive)
"Return true if system is windows"
(string-equal system-type "windows-nt")
)
;; Check if system is GNU/Linux
(defun system-type-is-gnu ()
(interactive)
"Return true if system is GNU/Linux-based"
(string-equal system-type "gnu/linux")
)
;;;add custom themes to list
(add-to-list 'custom-theme-load-path "/home/zeltak/.emacs.d/themes")
;to load a specifc theme
;(load-file "~/.emacs.d/themes/zprime-theme.el")
;load the choosen theme at startup
(load-theme 'zprime t)
(setq org-export-backends (quote (ascii html icalendar latex org)))
(add-to-list 'load-path "/home/zeltak/.emacs.g/org-mode/contrib/lisp/")
; fonts in linux
(if (string= system-name "zx1voics")
;(add-to-list 'default-frame-alist '(font . "Inconsolata-16"))
;(add-to-list 'default-frame-alist '(font . "Source Code Pro-18"))
;(add-to-list 'default-frame-alist '(font . "Pragmata Pro-19"))
;(add-to-list 'default-frame-alist '(font . "Fantasque Sans Mono 14"))
(add-to-list 'default-frame-alist '(font . "fira mono 19"))
)
;; fontso in Win
;(if (system-type-is-win)
;(add-to-list 'default-frame-alist '(font . "Consolas-14"))
;)
(if (string= system-name "zbeast")
(add-to-list 'default-frame-alist '(font . "fira mono 23"))
)
;; backwards compatibility as default-buffer-file-coding-system
;; is deprecated in 23.2.
(if (boundp 'buffer-file-coding-system)
(setq-default buffer-file-coding-system 'utf-8)
(setq default-buffer-file-coding-system 'utf-8))
;; Treat clipboard input as UTF-8 string first; compound text next, etc.
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
;; UTF-8 as default encoding
(set-language-environment "UTF-8")
(set-charset-priority 'unicode)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(setq default-process-coding-system '(utf-8-unix . utf-8-unix))

(use-package elfeed
:ensure t
:config
;;;default search
)

(setq elfeed-feeds
'(
;;comics
("http://phdcomics.com/gradfeed.php" comics)
("http://theoatmeal.com/feed/rss" comics)
("http://xkcd.com/rss.xml" comics)
("http://researchinprogress.tumblr.com/rss" comics)
;;uni
"http://rforpublichealth.blogspot.com/feeds/posts/default"
;;music
"https://muspy.com/feed?id=f9qypqwxc658e6dbzwk8n9mqthsgv4"
))

Would be very happy to help in trying to debugg this
best
Z

macs.bug.report.txt.zip
this is the backtrace

What makes it crash? Just starting Emacs? Bringing up the Elfeed search
buffer? What version of Emacs are you using and on what OS?
I don't think this bug has much to do with Elfeed (Elfeed shouldn't be
able to crash Emacs, period) but rather it's a bidi (bi-directional
text) bug in Emacs. The content of one of these feeds is tripping up
functions in bidi.c. From the backtrace, it looks like bidi_cache_find()
is returning UNKNOWN_BT, failing the assertion in bidi_find_bracket_pairs():
  eassert (type == NEUTRAL_ON);

Which then causes the terminate_due_to_signal().
Something in the feed content (title, etc.) is causing Emacs to use bidi
processing, and then runs Emacs into a bad state. I wasn't able to
reproduce the crash (neither in Emacs 24.4, nor 25.1), so unfortunately
I can't narrow the problem down any further. Maybe download the feeds
with curl/wget and try viewing them within Emacs. Try running
xml-parse-region or elfeed-xml-parse-region on the buffer to see if that
crashes Emacs. You could also treat these downloads as file-protocol
feeds (e.g. "file://") to get something reproducible only from local
data.
To avoid MELPA, you can clone the Elfeed repository and run it from
there (emacs -L elfeed/ -l elfeed/elfeed.el). The idea is to narrow it
down to something small that can crash vanilla Emacs without loading any
third-party code.
I suspect it comes down to running a particular search over a particular
sequence of codepoints. Emacs has had bugs like that before.

thx @skeeto
im updating that this is indeed an emacs bug
http://lists.gnu.org/archive/html/bug-gnu-emacs/2017-01/msg00730.html
which i reported and should be fixed in next emacs release
thx for the help!
Z

another update!
i see its elfeed-goodies which is crashing emacs not elfeed and it does indeed happen with bidi rss entries


cacheQuery is not a function

Hello,
When I try to use the .cacheQuery function it says:
TypeError: model.findOne(...).cacheQuery is not a function
why do I get this error?

it's probably because you've didn't apply the caching layer to the mongoose instance that you're using in your project.
Please ensure, that you're calling it like
import mongoose from "mongoose";

applySpeedGooseCacheLayer(mongoose, {
  ...<OPTIONS HERE>
}) ```

The wrapper `applySpeedGooseCacheLayer` grabs the mongoose instance methods and is adding the cacheQuery  method to it.

I have added that function but it still gives me that error

have you called before calling the   model.findOne() function ?
Do you have two instances of mongoose somehow in your codebase?

I call it before model.findOne and I don't have two instances

is your code in some public repo, so I can take a look at it?

It isn't sadly

which version of mongoose are you using ? I've tested it with 5.X and 6.X
ok so for testing purposes please try the following :
Try to use cacheQuery() right after initialization of speedgoose like
import mongoose from 'mongoose'
import {applySpeedGooseCacheLayer} from 'speedgoose';

mongoose.connect(process.env.MONGO_URI,  {
 });

<init some model here>

applySpeedGooseCacheLayer(mongoose, {
})

const data = await mongoose.models[<yourModelName>].findOne({}).cacheQuery()

Remember, that you can also check the methods on mongoose instance etc in the debugger.  So after calling applySpeedGooseCacheLayer you can preview if it was properly extended.

I am using mongoose 6.1.5 and I tried what you told me but it still gives me it.

What's your config for calling the applySpeedGooseCacheLayer?
Take a look at this file https://github.com/arqo123/speedgoose/blob/master/src/wrapper.ts
as You can see there, extending the mongoose instance is the last step - so I think something might go wrong while calling the function before actually calling

...
addCachingToQuery(mongoose)
addCachingToAggregate(mongoose)

So from that, you can do two things -> try to debug it straight in the node_modules by adding some console logs, or / and wrap
applySpeedGooseCacheLayer  with the try catch and check if there is some error in the logs

i am passing the example config so like the Redis URL nothing else

So please try with in memory strategy, maybe there is some problem with connecting to redis. And how about point number 2? Have you tried it already?

Okay it's fixed now it was a problem with the node model folder

Good to hear that!

yes you can
and have a nice day/night


FPS counter on mega-uno boards

    I added a FPS counter in #176. Look at the examples how it is used https://github.com/Legion2/CorsairLightingProtocol/pull/176/files. You need to download the dev version of the library to use the FPS counter.

For me it prints 24/25 fps which is totally smooth.
Originally posted by @Legion2 in https://github.com/Legion2/CorsairLightingProtocol/issues/175#issuecomment-683592481
Hi! How can i use fps counter on mega board with hoodloader2?

The fps counter prints the fps to serial monitor, however on mega board with hoodloader2 the serial monitor is used for USB communication, so it is not possible to use the normal serial monitor for this.

The fps counter prints the fps to serial monitor, however on mega board with hoodloader2 the serial monitor is used for USB communication, so it is not possible to use the normal serial monitor for this.

thank you for explanation


PHP 7.4 error

Hi, the plugin version 2.15.0 doesn't work on PHP 7.4 because of the
kirby3-janitor\vendor\composer\platform_check.php and line 7
if (!(PHP_VERSION_ID >= 80002)) {
    $issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.2". You are running ' . PHP_VERSION . '.';
}

Is this a mistake from your side to disallow lower versions or there is something in the code that is not compatible with PHP 7.4?

thanks for reporting. i updated a dependency which snug in another symfony/deprecation-contracts that was resolved to a php8. i will fix this and create a new release.

Hi! Maybe this or a similar bug came back in the latest version? My site crashes after I put janitor into my plugin folder.
Janitor version: 2.16.2
Kirby version: 3.7.5
PHP: 7.4.25
2.16.0 seems to work fine.


[Storage] React app loads dist-esm assets instead of applying package.json's browser mapping

utils.node.js file is being loaded in the browser for react apps (dist-esm folder is getting loaded for the react-app as opposed to the browser bundle)
More reference - https://github.com/Azure/azure-sdk-for-js/pull/5762

cc - @bterlson

Reopened #5873 to keep communication with customer.  Closing this with #7298


fix issue 103

Fixes https://github.com/Marketto/codice-fiscale-utils/issues/103.

@Marketto, do you think it's possible to merge and release this ASAP?

@Marketto, do you think it's possible to merge and release this ASAP?

@Marketto, what's the problem that doesn't make you merge this?

Unit tests don't work anymore, I even doubt is backward compatible with non-verbatim projects


Debug another spurious CI failure

cf. #4605 etc.
This one is in complicated concurrency code. 😖

Hit on https://github.com/gratipay/gratipay.com/pull/4613 but restarted so won't see.


Allow single whitespace as no prefix (workaround)

Using a single space instead of an empty string for -p should result in the same behaviour. This is required to use gprbuild and work around Componolit/Workarounds#28.

Fixed by #274.


Merge alembic_io in voctree_localizer

We need it to perform GT tests on new localizations methods

Can I merge? there are other changes that have to be pushed?

I wanted to push up the merge today yes. We need it to export and evaluate properly the localization. Especially in @lclavet cctag branch.

So shall i go on and merge?

Yes of course !

Thanks


chore(ci): Fix promote workflow

SSIA

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please ask for approval from tumido after the PR has been reviewed.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve
self merging

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: tumido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [tumido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


TensorFlow, NumPy and OpenCV bindings needed for Object Detection Retrain

I have been working on writing a final layer retrain for object detection with the YOLOv3 model. I am looking at the following Python example, writing implementation for it in C# on ML.NET, and using TF.NET for python bindings:
https://github.com/YunYang1994/tensorflow-yolov3
I have written some missing bindings already, however the following are some that I need assistance for in order to load label and truth Tensors and compute the confidence, classification and GIOU loss functions for YOLO:

np: min, max, copy, full, newaxis
cv2: warpAffine, imread, cvtColor
tf: train.ExponentialMovingAverage, trainable_variables, no_op(), GraphKeys

For the OpenCV bindings, I found a .NET wrapper called Emgu CV that we could use: http://www.emgu.com/wiki/index.php/Main_Page
Thanks

Hey @sayanshaw24, This weekend we will release TF.NET version which will include min, max, copy.
newaxis is tricky with C#'s strong typing.
If it is used in a reshape method - just replace it with a value 1.
Alternatively you can use np.expanddim
Regarding the rest, @Oceania2018

Also I don't think TF.NET have anything to do with OpenCV bindings. You might need to find a solution on your own.

Emgu is the long standing rapper of open CV for net. There is an open source or no cost option and then you can move up into commercial versions as well if I recall
Enjoy now. Make it count. or do both.

From: Eli Belash<EMAIL_ADDRESS>Sent: Tuesday, August 20, 2019 4:16:24 PM
To: SciSharp/TensorFlow.NET<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [SciSharp/TensorFlow.NET] TensorFlow, NumPy and OpenCV bindings needed for Object Detection Retrain (#359)
Also I don't think TF.NET have anything to do with OpenCV bindings. You might need to find a solution on your own.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/SciSharp/TensorFlow.NET/issues/359?email_source=notifications&email_token=AAD7YD25W2PDZN3MLIK47UDQFRNKRA5CNFSM4IN42ZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XV5NY#issuecomment-523198135, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAD7YD6PWISQX5MQU6UE5ILQFRNKRANCNFSM4IN42ZBA.

Ok, sounds good, thanks!
Will the new NumSharp nugget include np.full @Nucs? I could just use a duplicate object, but I am worried about issues raising from the pointers having the same memory allocation, but I can try it.
@dgerding Alright, I will start embedding Emgu CV in ML.NET.

Will the new NumSharp nugget include np.full @Nucs?

Yes.

I could just use a duplicate object, but I am worried about issues raising from the pointers having the same memory allocation, but I can try it.

If you think you need to perform nd.copy(), then just copy - it is not that performance-expensive

@sayanshaw24 Please describe more detail about
tf: train.ExponentialMovingAverage, trainable_variables, no_op(), GraphKeys

It would be better if you can provide the unit test in python or link.

I need the following TensorFlow optimizers/variables in TF.NET so I can use it with ML.NET for object detection retrain:
tf.train.ExponentialMovingAverage, an exponential decay optimizer: https://www.tensorflow.org/api_docs/python/tf/train/ExponentialMovingAverage
tf.trainable_variables, a list of trainables:
https://www.tensorflow.org/api_docs/python/tf/trainable_variables
tf.no_op, a placeholder operation:
https://www.tensorflow.org/api_docs/python/tf/no_op
tf.GraphKeys, for access to the graph keys, such as updated operations:
https://www.tensorflow.org/api_docs/python/tf/GraphKeys


Adding DEFINES_MODULE Flags

Currently TrustKit can't be packaged in a static Swift Library without modules.
"Pod package" fail if TrustKit is in other podspec dependency.
Addind this line will generate module maps for swift dependencies.

Thanks!


smooth operation question

Hello. I have a some question.
Please let me know if you know how to solve it.
I make code that rotates Joint1 of the open manipulator per 0.1 seconds like below code.
Operating is ok. But I want smooth motion.
After finish one cycle Action ( 0.1 sec ) , The  motion is not smooth  at the start point of the next cycle Action .
Is there any way to make motion of arm  smoothly  at  start of the next cycle?
I will apply the code to the tracking operation, so I don't want reduce the duration ( 0.1 sec ) for immediate response.
If you know solution, please help me.  :)

class trackingAction(smach.State):
    def __init__(self):
        ########skip########################################
	self.set_joint_position_from_present = rospy.ServiceProxy('/open_manipulator/goal_joint_space_path_from_present', SetJointPosition)

    def execute(self, userdata):
         while True :
            try:
	        joint_position = JointPosition()
	        planning_group = userdata.input_planning_group
	        joint_position.joint_name = ['joint1','joint2','joint3','joint4']
                joint_position.position =  [0.3, 0, 0, 0]
                path_time = 0.1
                resp1 = self.set_joint_position_from_present(planning_group,joint_position, path_time)
	        rospy.sleep(0.1)
            except rospy.ServiceException, e:
                print "Service call failed: %s"%e
        return 'succeeded'

Hi @hyunoklee
When the controller node receives the /open_manipulator/goal_joint_space_path_from_present service, it makes a trajectory that stops exactly at that path_time. Therefore, the robot stops every 0.1 seconds (velocity = 0), and the whole trajectory is not a smooth.
Unfortunately,  it does not provide a solution(ROS service) to smoothly connects the two trajectories .
Set path_time higher (such as 0.2s) than now(0.1s) , and send the service every 0.1 seconds. The trekking speed will be slowed down, but if the target's position is updated every 0.1 seconds. The manipulator will track the target smoothly and continuously because the velocity is not zero.

I think that's a good solution. I will apply it later. Thank you ~

Close


Remove override of createJSModules

Since of recently in master the unused createJSModules has been removed and ReactPackage's no longer contain the definition of createJSModules. There for it must be removed in order to not yield a compile error. This is breaking change.
https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8
Thanks for submitting a PR! Please read these instructions carefully:

[ ] Explain the motivation for making this change.
[ ] Provide a test plan demonstrating that the code is solid.
[ ] Match the code formatting of the rest of the codebase.
[ ] Target the master branch, NOT a "stable" branch.

Merged #653. Thanks!


[atspi-proxies] Don't include what does not exist

The include directive in Cargo.toml describes what is stored on crates' repository.
In general we only want to include what is necessary to compile the package, for all other requirements people will seek out the repository.
The "include" directive referred to "atspi-macros" which no longer exists.
Note:
We might want to follow this up with includes for the other crates in the workspace.
We also should look into whether we want this in the top-level Cargo.toml of the workspace.

Since crates.io handles each crate individually, I would prefer that the include directive is per crate.
Would you mind adding the includes to the other crates?

Thanks, Luuk!


Remove the temporary hack to build on fork

Remove the temporary definition :sweat_smile:

Interesting, some links are broken.
I think they are all related to the "Edit this Page" link feature. I will take a closer look :eyes:

So GitHub automatically sets CI=true and we are using this environment variable in the documentation UI to enable edit links: https://github.com/neo4j-documentation/docs-ui/blob/5a2b61262b143d887b0993d52959865b755838d8/src/partials/edit-this-page-link.hbs#L2
The problem is that edit links are using HEAD instead of the target branch 4.0.
As a result, edit links cannot be resolved:

:green_circle: OK: https://github.com/neo4j-contrib/neo4j-streams/edit/4.0/doc/docs/modules/ROOT/pages/procedures.adoc
:red_circle: KO: https://github.com/neo4j-contrib/neo4j-streams/edit/HEAD/doc/docs/modules/ROOT/pages/procedures.adoc

Since edit links are automatically generated by Antora, we don't need to check them (at least not here).
I added two additional ignore rules to fix this issue.


Decouple commands and command line parsing

Those are two different concerns.

[x] Decouple implementations
[x] Fix CommandLineArgs tests to only use CommandLineArgs
[ ] Create separate library for Commands

Commands removed for now


Uniquely tag each chare array broadcast to enable true unique delivery

Original issue: https://charm.cs.illinois.edu/redmine/issues/250

It is trivially possible to make array broadcasts arrive in different orders at different PEs, at least on machine layers that don't guarantee in-order delivery. (test code to be attached). There are a plethora of ways that this can result in some array elements receiving a different set of broadcasts than others, mostly involving migration of some sort, but some involve dynamic insertion instead.
As we (Sanjay, Ram, Jonathan, Phil) decided, the immediate fix for this is to put a global sequence number on every broadcast message, and use that sequence number instead of the current locally-incremented bcastNo to buffer and deliver array broadcast messages.
The deeper fix for broadcasts and insertions involves keeping a Lamport clock for every such event, and only doing deliveries when there is a suitable happens-before relationship between the message and the potential recipient. That should be a separate issue (in addition to #49), since it requires further analysis and design, and is not required to address the non-insertion case.

Original date: 2013-07-23 05:32:20

I'm not thrilled with the resolution from a design perspective, since it means array broadcasts are now buffered in two different ways and places, depending on whether they're early (the runtime message queue) or not (CkArrayBroadcast::oldBcasts). There's also the attendant delocalization of CkArrayBroadcaster::bcastNo.
From an operational perspective, though, the only clear criticism I can offer is that this can prevent a PE from going idle. Given how rare out-of-order array broadcasts should be, that's pretty slim. That would pose issues for letting power usage drop, converse conditions (CcdPROCESSOR_BEGIN_IDLE), and potentially using QD to detect other bugs arising from unordered message delivery. I'm not sure those issues, even taken together, are worth redoing the solution.

Original date: 2013-07-23 05:34:24

The explicit buffer is easy to implement, I started with this actually, but it seemed to be an overdesign considering this was a rare case.

Original date: 2013-07-23 05:58:24

The usual issue with overdesign is that it makes later work on affected components more difficult. I feel like the explicit buffer design is easier on maintainers than the re-enqueue design. Either design could be commented (and the current one definitely warrants one on the if in CkArray::recvBroadcast), but the explicit buffer also admits naming things to make their purpose clear; e.g. a buffer named outOfOrderBcasts has a very clear purpose.

Original date: 2013-07-23 07:00:22

Done with explicit buffer.

Original date: 2013-07-23 07:01:06

Still needs some testing when these are really unordered
`todo: test with Ram's randomized queue

Original date: 2013-07-23 07:39:50

Prior to work on this issue, CkArray had no knowledge of broadcast numbering and per-element delivery-couting on the receive/delivery side at all - that was handled 100% within CkArrayBroadcaster. If you take a look back in the history, the decision to insulate CkArray from managing that state was intentional, and I think that was wise.
My take is that CkArrayBroadcaster::bcastNo should not have been made public, and CkArrayBroadcaster::outOfOrderBcasts should not be public either. As it stands, CkArray::recvBroadcast now implicitly depends on the increment of bcastNo from before the call to CkArrayBroadcaster::incoming() to after it.
Please make CkArrayBroadcaster do its job, rather than splitting it up between that and CkArray.
The condition in the top if and the body of the else could actually be folded into incoming(). The later check for the next message having already arrived can be a simple if (msg = broadcaster->getNextMsg()) recvBroadcast(msg);
If you don't mind, I'll have a go at refactoring this, and you can tell me what you think.

Original date: 2013-07-23 07:44:15

Sure, if you want to go ahead. I am willing to do that refactoring also.  I realized the logical separation that was there, but I'm not sure if there is a good reason for less cohesion between the two. In fact, merging the "broadcaster" code into CkArray might be a sensible approach.

Original date: 2013-08-28 18:52:29

Lowering priority since this is not affecting applications currently, and the relevant races won't happen in normal usage.
% Done lowered due to recognition that the simple sequencing solution got reverted due to its fundamental conflict with with the message logging FT code.

Original date: 2014-01-07 23:49:46

The hang in tests/charm++/sdag/migration under randomized queuing (#259) results from this weakness of the array broadcast system. On a simple net-linux-x86_64 build, that test run on 2 PEs frequently hangs with the 2 broadcasts it performs being stamped in opposite orders on each PE.

Original date: 2015-02-19 18:32:12

Working on this.

Original date: 2015-09-17 20:25:08

After this bug is fixed, add a test to nightly build (megatest?) to check it continues to work.

Original date: 2015-09-22 17:12:49

Jonathan - this bug was discussed in the last core. Is there a reasonable solution you now of?

Original date: 2015-09-22 20:12:30

Postponed because it's not affecting existing applications.

Original date: 2016-09-28 18:47:21

Reassess this issue.

wow... we dropped the ball on this. need to pick up in core tomorrow. Ongoing discussion on slack. It could be a problem even without migration because codes may assume bcasts are in order (e.g. may not use (or cannot?) refnum in sdag codes for bcast. )

We will discuss this more in Core meeting tomorrow, but some points from the slack discussion:

In-order deliver does not need to be guaranteed. We don't do that for pt2pt messaging already, and applications shouldn't assume it specially for bcasts.
It would be nice to guarantee that each bcast message is delivered exactly once to each chare array element even in the face of anytime migration. But production applications do not use anytime migration, and it already forces inefficiency and broken abstractions on us (see sections, the reduction starting protocol, spring cleaning for bcasts). So, perhaps another reason to make anytime migration not the default in Charm v7.0.

Also bcast messages still have refnums just like normal messages, which users can use to order them themselves or using SDAG.
Here's the commit of Jonathan's mentioned above that was merged and then soon after reverted: https://github.com/UIUC-PPL/charm/commit/b4ac109cdce1c3c4dad02ab59ae7ccdb89853615

Fixed by #3614.


Increasing test coverage for toponetx

part of series of PRs for #246
adding test cases and a minor fix for toponetx/utils/structure.py

@mhajij Did you mean to close this? Looks more like this was ready to be merged?

@mhajij please reopen this PR. I had kept this as draft to add more commits related to TopoNetX test cases.

marking it as draft for now, will be adding more commits.

Marking for review, will continue additional testing in a second PR. (trying to avoid conflicts with the Components refactor from Mustafa)


Update version for sql migration extension

Update sql migration extension version to 1.5.7

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.715%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
30722

Relevant Lines:
68916

💛  - Coveralls


Disable field

Maybe I'm missing something, but is there a way to temporarily disable a flatpickr instance? So I'd like to 'deactivate' the field under certain conditions, and then be able to 'reactivate' it later.
I tried using
picker.set( 'clickOpens', false );

but that didn't seem to make any difference.

Hello,
Just
picker._input.setAttribute("disabled", "disabled");

Yeah, tried that but it's not working for me. However I've tested using a very basic example and your code does work, so obviously there's something else that I'm doing that's upsetting things.
Back to the drawing board!

Aha, I've found the problem! It's because I was using the altInput option. When altInput is set to true, if you disable the original input then flatpickr doesn't pick it up. Here's a pen:
https://codepen.io/Taeon/pen/bWBxKb
I guess it might be a fairly specific issue for my application, since I'm using a generic form handling library which talks to the underlying form element rather than the alternative input that flatpickr creates when using this option.
I've fixed it by catching the change to the underlying element and setting the 'new' flatpickr element's disabled attribute as well.

@Taeon Yes, that's why I was working with picker._input which is the shortcut for the user-facing input element.
https://codepen.io/anon/pen/jmyOZe

Fair enough. I guess it would be a bit tricky to monitor the hidden element's disabled property -- you'd have to use a MutationObserver or something similar. Seems like overkill for an edge case like this, and probably not worth the additional code.

Wanted to disable the clickOpens option in some case, juste like you, and i've had to use the same solution than you, but it doesn't feel right to have to do that.
Using the flatpickr, i shouldn't have knowledge of the hidden elements, so it should be the change of the clickOpens property that trigger the disable, not myself.

The following worked for me, from chmln's answer, where flatpickr is my instance:
flatpickr._input.setAttribute('disabled', 'disalbed')
and to re-enable it
flatpickr._input.removeAttribute('disabled')

Just want to mention that instead of setAttribute/removeAttribute the disabled property can be used:
flatpickr._input.disabled = true

i found trick
const options = {       altInput: true,       altFormat: "F j, Y",       dateFormat: "Y-m-d",       onOpen: function(selectedDates, dateStr, instance) {           instance.close();       },       onChange: function(selectedDates, dateStr, instance) {           instance.setDate(instance._initialDate);       },       .onReady = function(selectedDates, dateStr, instance) {           instance._input.classList.add("bg-light");       } } flatpickr(".flatpicker", options);

My solution is just using .closest() jQUery function to find flatpickr element, I use bootstrap form-floating to encapsulate the element for example:

    <input type="text" name="tanggal class="form-control" id="tanggal" placeholder="Tanggal" required>
    Tanggal

jQuery function:
var flatpickr = $('#tanggal').closest('.form-floating').find('.input');
flatpickr.attr('disabled', true);

you can add $('#tanggal').attr('disabled', true); to the jQuery function if need

Here's my solution:
function onStartBtnClick() {
  refs.startBtn.setAttribute('disabled', '');
  calendar.set('clickOpens', false);

  intervalId = setInterval(() => {
    const currentTime = Date.now();
    const deltaTime = selectedTime - currentTime;
    const timeComponents = convertMs(deltaTime);

    if (deltaTime <= 1000) {
      clearInterval(intervalId);
      calendar.set('clickOpens', true);
    }

    updateClockface(timeComponents);
  }, 1000);
}

Flatpickr instance disable while setTimeout() works


Cannot determine CPU info for POWER8 chips

Hi everyone.
I have a touble about esrally.
When I start esrally after install,system say "Exception: py-cpuinfo currently only works on X86 and some ARM CPUs."
what can I do next?
CPU:OPENPOWER8
OS:REDFLAG 7
thanks.
[root@bogon rally]# esrally
Traceback (most recent call last):
File "/usr/local/bin/esrally", line 11, in
load_entry_point('esrally==0.5.3.dev0', 'console_scripts', 'esrally')()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2631, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2291, in load
return self.resolve()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.6/site-packages/esrally-0.5.3.dev0-py3.6.egg/esrally/rally.py", line 12, in
from esrally import version, actor, config, paths, racecontrol, reporter, metrics, track, exceptions, facts
File "/usr/local/lib/python3.6/site-packages/esrally-0.5.3.dev0-py3.6.egg/esrally/racecontrol.py", line 7, in
from esrally.mechanic import mechanic
File "/usr/local/lib/python3.6/site-packages/esrally-0.5.3.dev0-py3.6.egg/esrally/mechanic/mechanic.py", line 8, in
from esrally.mechanic import supplier, provisioner, launcher
File "/usr/local/lib/python3.6/site-packages/esrally-0.5.3.dev0-py3.6.egg/esrally/mechanic/provisioner.py", line 9, in
from esrally.mechanic import car
File "/usr/local/lib/python3.6/site-packages/esrally-0.5.3.dev0-py3.6.egg/esrally/mechanic/car.py", line 4, in
from esrally.utils import sysstats, console
File "/usr/local/lib/python3.6/site-packages/esrally-0.5.3.dev0-py3.6.egg/esrally/utils/sysstats.py", line 2, in
import cpuinfo
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 646, in _load_unlocked
File "", line 616, in _load_backward_compatible
File "/usr/local/lib/python3.6/site-packages/py_cpuinfo-0.2.3-py3.6.egg/cpuinfo/init.py", line 7, in
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 646, in _load_unlocked
File "", line 616, in _load_backward_compatible
File "/usr/local/lib/python3.6/site-packages/py_cpuinfo-0.2.3-py3.6.egg/cpuinfo/cpuinfo.py", line 1553, in
File "/usr/local/lib/python3.6/site-packages/py_cpuinfo-0.2.3-py3.6.egg/c

Rally version (get with esrally --version):
Invoked command:
Configuration file (located in ~/.rally/rally.ini)):
JVM version:
OS version:
Description of the problem including expected versus actual behavior:
Steps to reproduce:
1.
2.
3.
Provide logs (if relevant):

Describe the feature:

Thanks for raising this. We only tested Rally on x86 architectures so far. I see whether Rally can degrade more gracefully in this case and come back to you.

@mcgino I've pushed a fix on master. Can you please updated to the latest master version and retry? (I've seen that you already use Rally from master) Rally should pass this stage now but it is possible that there are more problems coming up (e.g. when sampling CPU usage). If that's the case, please raise a new issue. Thanks!


Change usage instructions

I was unsure how to enable this theme at first. I've clarified how to apply the theme.
You can view the changed version here.

Thanks