'node-gyp rebuild' error in 'npm install'

Hi   guys!
I failed the installation.
We have followed the codecombat guide, but can not proceed with the 'node-gyp rebuild' error.

Installation environment
Ubuntu 16.04, Node v5, v6 (using npm)

Configuration of the environment

$ sudo apt-key adv -keyserver hkp: //keyserver.ubuntu.com: 80 --recv 7F0CEB10
$ echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | sudo tee /etc/apt/sources.list.d/mongodb.list
$ sudo apt-get update
$ sudo apt-get install build-essential python2.7 git curl mongodb-org nodejs-legacy

$ git clone https://github.com/codecombat/codecombat.git
$ cd codecombat
$ npm install
......
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/webpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm ERR! Linux 4.4.0-1052-aws
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v6.14.1/bin/node" "/home/ubuntu/.nvm/versions/node/v6.14.1/bin/npm" "install"
npm ERR! node v6.14.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/codecombat/npm-debug.log
$ npm list node-gyp
codecombat@ /home/ubuntu/codecombat
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
What should I do to solve this problem?

Resolved and close this issue.
I have set up the python path.
codecombat $ npm config set python /usr/bin/python2.7


Changes to internal utility functions and classes

This issue tracks  changes to internal utility functions, classes, etc. in the robot.utils package in RF 3.0.

Changed
Replacement
Comment

decode_output
console_decode

encode_output
console_encode

decode_from_system
system_decode

encode_to_system
system_encode

html_attr_escape
attribute_escape
Replacement has been available since RF 2.8.

Related to this, unnecessary aliases where removed from robot.utils.asserts as part of #2202.

There are no more changes planned so I'll close this issue. Possible changes can still be added here later.

Result related model objects TestSuite, TestCase, Keyword and Message were moved to common robot.result.model module. Old robot.result.(testsuite|testcase|keyword|message) modules have been removed. See 1622eea for details.

http://askubuntu.com/questions/614657/install-gnome-desktop-ubuntu-15-04
sudo apt-get install ubuntu-gnome-desktop
sudo service gdm restart
http://www.techrepublic.com/blog/linux-and-open-source/how-to-install-gnome-38-on-ubuntu/
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update && sudo apt-get install gnome-shell ubuntu-gnome-desktop
On 21 December 2015 at 22:58, Pekka Klärck<EMAIL_ADDRESS>wrote:

Result related model objects TestSuite, TestCase, Keyword and Message
were moved to common robot.result.model module. Old
robot.result.(testsuite|testcase|keyword|message) modules have been
removed. See 1622eea
https://github.com/robotframework/robotframework/commit/1622eea636fd8241081aef89dad101b6813bc1a4
for details.
—
Reply to this email directly or view it on GitHub
https://github.com/robotframework/robotframework/issues/2200#issuecomment-166448119
.


Build wheels in container as non-root user

Specifically, create a user with the same UID/GID as the mounted volume and build wheels as that user.

:+1: :disappointed_relieved:


ENH: Expand ~ to home dir in fetch_fsaverage()

I passed subjects_dir='~/foo' and the data ended up in ~/mne_data/~/foo, which was not nice.

thx @hoechenberger

It's probably better to make this fix in _check_fname, then make a call to _check_fname(..., overwrite='read', must_exist=True, need_dir=True). It's more general, has some nice fixes (e.g., checks that SUBJECTS_DIR actually exists, for example), and will make ~ expansion much more general than one isolated function.


Documentation framework hosted RTD

http://read-the-docs.readthedocs.org/en/latest/getting_started.html

Right now, we run mvn deploy to deploy jars to maven central after we tag a release. I want to add another phase mvn deploy-doc or similar to generate docs and host it in RTD.
I have added the link to getting started for RTD in the comment above. RTD is the hosting site and Sphinx is the software. Sphinx is also used in qubole docs. I plan to write docs in markdown and not in reStructuredText.


Docker dev environment will not start

Environment

Python version:  3.10.6
Netbox version:  3.5.9
Plugin version:  0.2.2

Expected Behaviour
I expected to see all containers spin up and be able to acces netbox and docs via the http ui

Observed Behaviour
The docs and ui container fail to start
Steps to Reproduce

Type invoke start in a shell to start the containers.

❯ invoke start
Starting Netbox in detached mode...
Running docker-compose command "up --detach"
 Container phy-cluster-db  Running
 Container phy-cluster-redis  Running
 Container phy-cluster-ui  Created
 Container phy-cluster-db  Waiting
 Container phy-cluster-db  Healthy
 Container phy-cluster-ui  Starting
 Container phy-cluster-ui  Started
 Container phy-cluster-docs  Starting
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "mkdocs": executable file not found in $PATH: unknown

As can be seen the containers for docs fails cannot start. And after 10 seconds the ui container crashes.

PR (#15) closes bug


⚠ Bofrost.fr has degraded performance

In f343f6c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 911 ms

Resolved: Bofrost.fr performance has improved in cfadd4b.


Function inline optimization is unsafe

Given the following mindcode:
inline def aux_nobind_within(o, rad)
    dx = @unit.x - o.x
    dy = @unit.y - o.y
    return (len(dx, dy)<= rad)
end
def pathfind_forcefield(x, y)
    // move units in the way out of the way
    pathfind(x,y)
    closest = uradar(ally, flying, any, distance, 1)
    // only move them if they are close enough and healthy
    if within(closest.x, closest.y, 12) and (closest.health/closest.maxHealth) > REPAIR_DAMAGE
        moving = @unit
        ux = @unit.x
        uy = @unit.y
        ubind(closest)REPAIR_POINT
        approach(ux, uy, closest.range)
    end
end
def acquire_t(radar_turret)
    // use uradar target if we already control this unit
    if (@unit.controller==@this)
        t = uradar(enemy, any, any, distance, 1)
    end
    if t==null
        t = radar_turret.radar(enemy, any, any, distance, 1)
    end
    return t
end

// end functions

MODEL = "killer crawler"
VERSION = "2.1"
RADAR_TURRET = foreshadow1
set REPAIR_POINT = turret1
set REPAIR_DAMAGE = 0.85
ubind(@toxopid)
def killer()
    // guard if already controlled
    if !(@unit.controller==@this or @unit.controlled != @ctrlProcessor)
        return
    end
    // guard if not in range
    if not aux_nobind_within(RADAR_TURRET, RADAR_TURRET.range)
        return
    end
    // heal if unit is hurt
    if<EMAIL_ADDRESS>< REPAIR_DAMAGE
        if !(aux_nobind_within(REPAIR_POINT, REPAIR_POINT.range))
            pathfind(REPAIR_POINT.x, REPAIR_POINT.y)
            t = acquire_t(RADAR_TURRET)
            targetp(t, t)
            return
        else
            idle()
            unbind()
        end
    end
    t=acquire_t(RADAR_TURRET)
    if t != null
        pathfind(t.x, t.y)
        targetp(t, t)
    else
        unbind()
    end
end
killer()

I would expect somewhere in the generated code would be the instruction targetp {tempvar} {tempvar}
However running mcc cm mindcode/crawler.mnd out.mlog && grep target out.mlog gives us:
Active optimizations:
    case-expression-optimization = aggressive,
    case-switching = aggressive,
    data-flow-optimization = aggressive,
    dead-code-elimination = aggressive,
    expression-optimization = aggressive,
    function-inlining = aggressive,
    if-expression-optimization = aggressive,
    jump-normalization = aggressive,
    jump-optimization = aggressive,
    jump-straightening = aggressive,
    jump-threading = aggressive,
    loop-optimization = aggressive,
    loop-unrolling = aggressive,
    print-merging = aggressive,
    return-optimization = aggressive,
    single-step-elimination = aggressive,
    stack-optimization = aggressive,
    temp-variables-elimination = aggressive,
    unreachable-code-elimination = aggressive

   120 instructions before optimizations.
    10 instructions eliminated by Temp Variables Elimination.
    20 instructions eliminated by Dead Code Elimination (4 iterations).
       List of unused variables: MODEL, VERSION.
     1 instructions modified by Jump Normalization (4 iterations).
     7 instructions eliminated by Jump Optimization (4 iterations).
    10 instructions eliminated by Single Step Elimination (3 passes, 7 iterations).
    14 instructions eliminated by Data Flow Optimization (2 passes, 8 iterations).
       List of uninitialized variables: arquire_t.t, turret1.
     2 instructions added by Function Inlining (4 iterations).
     2 function calls inlined by Function Inlining.
     5 instructions updated by PropagateJumpTargets.
     6 instructions eliminated by Unreachable Code Elimination.
    55 instructions after optimizations.

Pass 1: speed optimization selection (cost limit 930):
  \* Function Inlining: inline function arquire_t                 cost     6, benefit        4.4, efficiency        0.7 (-4 instructions)
    Function Inlining: inline function call at line 57           cost     7, benefit        0.9, efficiency        0.1
    Function Inlining: inline function call at line 65           cost     7, benefit        3.5, efficiency        0.5
Performance: parsed in 249 ms, compiled in 78 ms, optimized in 102 ms.
ucontrol targetp null null 0 0 0

Either marking acquire_t as inline explicitly or running mcc with --data-flow-optimization off results in correct behavior

Thanks for reporting the issue! It does look like a problem with the optimizer. I'll try to have a look at it this week.

For reference, this is the minimal code that reproduces the issue:
def foo()
    t = rand(10)
    return t
end

print(foo())
print(foo())

Avoiding the return like this:
def foo()
    t = rand(10)
    t
end

print(foo())
print(foo())

doesn't suffer from the bug. It looks like Function Inlining optimization of functions that contain a return statement is problematic; namely, the structure of AST contexts it creates isn't compatible with the Data Flow Optimization.

@rlbr There's a small unrelated bug in the code you've posted. The compiler warns about these uninitialized variables:
       List of uninitialized variables: acquire_t.t, turret1.

The warning about turret1 is mistaken; see #117.
However, the warning about acquire_t.t is real. Local variables aren't initialized by Mindcode; instead these warnings are produced. Since local variables  are stored among other processor variables, they retain their value between function calls. In this case, if t was set to a non-null value by a previous call and there's no controlled unit, the radar_turret.radar(enemy, any, any, distance, 1) will not get called, because t retains its non-null value from the previous call.
Didn't you miss the warning, since it is buried among other output? I could make these warnings more prominent somehow.

I think in one iteration I had t=null to start with I'm not sure why I didn't include it in the code


Add Ballerina GraphQL service

Purpose
$ title
resolves https://github.com/wso2-enterprise/choreo/issues/15478
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

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

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Shall we add a readme file on how a user can deploy this component in Choreo?
Example: https://github.com/wso2/choreo-sample-apps/blob/main/go/rest-api/README.md


Make "com_envoyproxy_protoc_gen_validate" it's own module

Grpc uses com_envoyproxy_protoc_gen_validate through module extensions:
grpc_repo_deps_ext = use_extension("//bazel:grpc_deps.bzl", "grpc_repo_deps_ext")

use_repo(
    grpc_repo_deps_ext,
    "com_envoyproxy_protoc_gen_validate",
    "com_google_googleapis",
    "com_github_cncf_udpa",
    "envoy_api",
)

However these cannot be picked up transitively, presenting problems if we want to use com_envoyproxy_protoc_gen_validate in our own project.
Can we have grpc depend on com_envoyproxy_protoc_gen_validate as a module? Which would, of course require supporting com_envoyproxy_protoc_gen_validate as a module.

Make sense, but I would prefer those issues to be at least also filed to the original repository since it's not BCR maintainer's responsibility to modularize those dependencies.
In the meantime, if you want to use the same version of com_envoyproxy_protoc_gen_validate in grpc, maybe you can just do
grpc_repo_deps_ext = use_extension("@grpc//bazel:grpc_deps.bzl", "grpc_repo_deps_ext")

use_repo(
    grpc_repo_deps_ext,
    "com_envoyproxy_protoc_gen_validate",
)

in your root project's MODULE.bazel file?


Empty headers with hybrid crawling in XHR requests

katana version:
main|dev
Current Behavior:
Empty XHR headers in hybrid crawling
Expected Behavior:
Headers dumped correctly
Steps To Reproduce:
Ref https://github.com/projectdiscovery/katana/pull/631#issue-1950321979

I want to say that there are still bugs in his handling of ExtraHeaders. Currently, it only captures part of the common request headers, not the complete request headers！！！！！


Is the latest iohook compatible with electron 11?

I've been trying to make a nodejs alternative to Livesplit (a timer for speedruns) and I was looking into iohook for the global keypress stuff. However, I haven't gotten it to work so I did some searching and found that some electron versions weren't compatible. All I ask for is a simple answer: Is iohook (latest) compatible with electron 11? And if so, how do I set it up to make it work

Node version: v12.16.3
OS: Windows 10 64 Bit

Nope, check out the readme https://github.com/wilix-team/iohook#platform-support the latest supported Electron is 8.x. You could likely still do everything you want to do with iohook+Electron 8.

Thanks!


Updated README.md

Includes

Quantiphi contact information
Step to delete persistent disks manually
PI Integrator not 100% supported in HA and therefore not recommended.

@Pankaj-quantiphi Please create this PR


Allow loading compressed JSON files

Apparently all modern browsers support the Compression Streams API. This means, we can also allow loading compressed getrawaddrman JSON blobs. These are cheaper to store / serve.

I have a branch here that does that: https://github.com/0xB10C/addrman-observer/tree/2023-10-load-compressed-json
However, loading and decompressing a compressed getrawaddrman JSON file with a full new table is slow. It takes more than 20s. With such a slow down, I don't think it's worth it.
Loading compressed data via a fetch is much faster..

Closing this for now, as decompressing is too slow. Serving gziped JSON is best of both worlds.


Web editor upload file to create a new branch and send a pull request failed

I see ReferenceError: SimpleMDE is not defined error on that page


unless ! Enum.any? regression

failing test added.
currently bugged in main, but hasn't been released so no biggy

ouch. @mgieger points out that Enum.empty? checks for empty list, whereas Enum.any? checks for truthy value, which means we can't swap between the two in the case of a list with falsey values ala [false]. so maybe just need to revert the whole feature 🤔


Dunno about another thing related unity ?

Hi there, i am looking for a tool can extract information from ".exe" i just need to get which version of unity engine is using the binary executable (or if need extract from dll's).
You know a tool just for that, is the unique information i need to get from proyects maked from unity engine for microsoft windows.
Well thank you for any info you can share with me.

This tool is for extracting asset bundles (.unitypackage files). You're probably looking for a "Unity decompiler" or related stuff, like https://github.com/djkaty/Il2CppInspector maybe?
You can also check out any general .exe file explorers. They let you sift through the executable even without debug symbols. I think I used https://www.mitec.cz/exe.html in the past. You can search for version strings maybe in the strings view?
On Tue, Jun 21, 2022, at 3:04 PM, Inukaze wrote:

Hi there, i am looking for a tool can extract information from ".exe" i just need to get which version of unity engine is using the binary executable (or if need extract from dll's).
You know a tool just for that, is the unique information i need to get from proyects maked from unity engine for microsoft windows.
Well thank you for any info you can share with me.
—
Reply to this email directly, view it on GitHub https://github.com/Cobertos/unitypackage_extractor/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTSGCFFH7TOCHRTR5Y77RTVQIG5JANCNFSM5ZNM7I4A.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for that tools :D


Implementation questions

Hello,
Thank you for sharing the code!
I try to adapt the code for stable-baselines and I have some questions:

In the IDAACnet act method you call self.base two times:
a. gae, actor_features = self.base(inputs)
b. gae, _ = self.base(inputs, action)
Is this necessary, or I could do the following:

move the critic_linear from PolicyResNetBase to IDAACnet and modify act() like this:
actor_features = self.base(inputs)
....
gae  = self.critic_linear (torch.cat([actor_features, actions])
so that PolicyResNetBase.forward is called only once.

Where you create the optimizers you use two lists of parameters for policy and value, is this a performance optimization, or do you want to avoid a possible interference?

Do you think that adding the auxiliary phase of PPG in DAAC will improve results?

Thank you,
Flaviu

Thank you for taking the time to respond.

I tested DAAC + PPG on my environment and it closes the gap between train and evaluation but in the same environment that has slightly modified episodes, didn't have time/resources to test on procgen.


Adding SqlUpdatesWithProcedures

Adding a new workload that is similar to SqlUpdates but that uses sql procedures in order to batch the updates together (see batching of updates in https://github.com/yugabyte/yugabyte-db/issues/5257).

So I've changed SqlUpdatesWithProcedures so that we no longer issue repeat update requests to the same key anymore - note that this is different now from the way that SqlUpdate operates (SqlUpdate keeps sending update and read requests forever).
As for including reads or not, I think that it's fine to keep the code in (similar to all other workloads), and just allow for --num_reads 0 to disable it. For example we can run:
java -jar yb-sample-apps.jar \
--workload SqlUpdatesWithProcedures \
--nodes <IP_ADDRESS>:5433 \
--uuid 'ffffffff-ffff-ffff-ffff-ffffffffffff' \
--max_written_key 100000 \
--num_writes 100000 \
--num_reads 0

LGTM!!


margin vertically

hi,
thanks for this great plugin.
is there a way to set margin between images vertically?

The component used for the gallery is Justified Gallery.
As far as I can tell, there is no such option to set margin only vertically: https://miromannino.github.io/Justified-Gallery/options-and-events/


Anchor slug regex to beginning or after a /

As per notes here
https://github.com/alphagov/whitehall/pull/2291/files#r35861278,
anchoring the regex to the beginning of the URL or after a / reduces
the risk of false positives.
This doesn’t account for paths that have “deleted” in the hierarchy,
but that seems unlikely.
/cc @alext @heathd

:+1:

:+1:


figures not showing in IJulia

Ran into this problem about two weeks ago, and it still persists with newest Julia nightly and Pkg.update(). (Gadfly plots are working..)
Is there anyone else who can confirm this?
Here the code:
using PyPlot
x = linspace(0,2*pi,1000)
y = sin(3*x + 4*cos(2*x));
plot(x, y, color="red", linewidth=2.0, linestyle="--")

I just ran into this myself.  On my laptop, I got rid of it by deleting the ~/.julia directory and re-installing the packages, but now I ran into it on my other machine too; I'm not sure what is going on yet.

I am using 32bit-Julia on Windows8.

The error seems related to PNG (binary image) output, as SVG (text) output works (do PyPlot.svg(true))

It seems to come from stevengj/PyCall.jl@183c915804ae470cb0a6acff123551dd27dde43d ... reverting this patch fixes the problem (on Python 2).  I think that the problem is that on Python 2 it is trying to convert binary data to a UTF-8 string and getting confused by the encoding.

Should be fixed by the latest PyCall version.

Although late, thank you!
It's working :)


form update

Changed none to uncheck all other checkboxes

Awesome, quick work!!
could you please update the pull request to not have the white space changes? Kind of hard to see what changed

@amilkh Check now!

thanks! @vivianross06 can you review it?

looks much better! before final merge may be good to keep whitespace indent consistent across entire file


Feature request: key tags

Hi! It would be very useful to specify 'tag' for keys, i.e:
cache.set(key, value, { ttl, tags })
so if we want invalidate several keys simultaneously we can do something like:
cache.delByTag(tag)

Seems like that would be specific to a certain data store?

I guess not.
Maybe it's possible to do something like:
cache.set('key', value, {ttl, tags: ['foo'])
// cache.set('tag:foo', cache.get('tag:foo').push(key), { ttl })
// atomicity?
cache.delTag('foo')
// keys = cache.get('tag:foo')
// keys.forEach(key => cache.del(key))

I don't think this is feasible for this library to make it generic enough to work with any cache store.

This is very common thing in caching libraries:
http://symfony.com/doc/current/components/cache/cache_invalidation.html
https://github.com/ahawkins/cashier
https://framework.zend.com/manual/1.10/en/zend.cache.introduction.html

If you take a look at http://symfony.com/doc/current/components/cache/cache_invalidation.html they have 'TagAwareAdapter' abstraction for this. So if backend storage can't support tags, developer should provide two adapters, one for tags and one for items.

Do you want to try to add this feature?  As long as it doesn't break any existing functionality and works with the existing adapters, it's fine with me.

@BryanDonovan I'm not sure I have enough skills but I'll try )

Was this implemented in the end? Can't see anything relevant to tags in the docs


MDG/DOC: Create wikis for dev

We should configure wiki pages for developers.
this includes:

project structure
required system (python, etc.)
how to fork the project and pull request
developing environment setup (Linux, Mac, Windows)
DNN mechanism explanation
API mechanism explanation
how I set up the packages
resources
etc...

Also, we should document the code style

Explain about 'GitLab flow', 'how to issue a new ticket (formating)', 'naming branch', 'github workflow testing'.

Explain about 'TDD'

Explain about 'WBS'(optional) and 'UML of our packages'


[stable/coredns] Document variables, add maintainer

What this PR does / why we need it:
Documents Variables in Readme.md
Adds myself as a maintainer (as discussed with @maorfr a while ago on slack; I have provided most of the recent commits keeping the chart up to date and adding more features to it)
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
@andor44 @shashidharatd @Acaleph let me know if you have concerns.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/verify-owners

i've added @acaleph and @mreug to the trusted collaboratos list, need to both accept. in addition, need to make the tests green.

i've added @acaleph and @mreug to the trusted collaboratos list, need to both accept. in addition, need to make the tests green.
Thanks, I've accepted the invite. :)

/verify-owners

/retest

/test pull-charts-e2e

ping @acaleph @shashidharatd @andor44

/lgtm
sorry, misinterpreted @maorfr's message, thought no action was needed on our parts 😄


Do not support special characters in passwords

Hello,
When using a password containing a special character like 'à é ù' throw the following error :
[*] Connecting to host...
[*] Binding to host
Traceback (most recent call last):
  File "/usr/local/bin/ldapdomaindump", line 3, in <module>
    ldapdomaindump.main()
  File "/usr/local/lib/python2.7/dist-packages/ldapdomaindump/__init__.py", line 885, in main
    if not c.bind():
  File "/usr/local/lib/python2.7/dist-packages/ldap3/core/connection.py", line 569, in bind
    response = self.do_ntlm_bind(controls)
  File "/usr/local/lib/python2.7/dist-packages/ldap3/core/connection.py", line 1313, in do_ntlm_bind
    result['server_creds'])
  File "/usr/local/lib/python2.7/dist-packages/ldap3/operation/bind.py", line 81, in bind_operation
    server_creds = name.create_authenticate_message()
  File "/usr/local/lib/python2.7/dist-packages/ldap3/utils/ntlm.py", line 379, in create_authenticate_message
    nt_challenge_response = self.compute_nt_response()
  File "/usr/local/lib/python2.7/dist-packages/ldap3/utils/ntlm.py", line 485, in compute_nt_response
    response_key_nt = self.ntowf_v2()
  File "/usr/local/lib/python2.7/dist-packages/ldap3/utils/ntlm.py", line 496, in ntowf_v2
    password_digest = hashlib.new('MD4', self._password.encode('utf-16-le')).digest()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Command used : ldapdomaindump -u "frenchcompany\administrateur" -p "çékàcèheù" -o ldap-dump <IP_ADDRESS>
I was able to get around this by generating and using the hash in the mean time.

Thanks for the report, I'll see if I can fix this or if this needs to be fixed upstream in the ldap3 library since the exception triggers there.

Thanks to you for providing this tool !

I'm having similar issue


Harvesting - improvements

Persistent message will be rejected by node if:

account has balance >= 10000 but importance = 0. It's for a fresh accounts for which recalculation did not happened. We should not allow sending user Persistent Message if importance = 0 and notify him to wait a little bit (recalculation is each 180 blocks - 90min afaik)
if account > 50m XYM. Rare case but maybe worth verify ;)
if there is no free slots on node. At this moment API don't return this information (how many slots is available). Can be extracted to separate issue + issue for rest

Please note recalculation happens every 720 blocks now (6h).

fixed

@bassemmagdy
"if there is no free slots on node. At this moment API don't return this information (how many slots is available). Can be extracted to separate issue + issue for rest"
This is not done I believe? Please confirm. I will create separate issue for that.

@cryptoBeliever that part is not done yet as rest still misses that endpoint.


Dead links fixed

Dead links fixed, If you need other revisions of the link you can get that from https://web.archive.org/ . You just need to search by the link and choose available revisions according to date.

Can you specifically point where was the problem in my commit? I just changed the link in the comment.


Hotfix for exposing std::vector

Required before #942

It would be good if we try to keep close to pinocchio nomenclature. Could you please rename the RowMajor Matrix to RowMatrixXs?
https://github.com/stack-of-tasks/pinocchio/blob/master/src/multibody/data.hpp#L77

Thank you for the pointer @proyan. I've fixed it for the binding here and will amend in the next PR I'll open with more RowMajor changes.


Fix String Truncation if Python Byte objects contain NULL values

What does this PR do?
This fixes a truncation issue if a Python byte/bytearray contains null's which will cause C.GoString to truncate the data during conversion. This PR changes to use GoStringN with the size of the Byte/Bytearray object which will copy over everything.
For more info/motivation on the change https://utcc.utoronto.ca/~cks/space/blog/programming/GoCGoStringFunctions has a good writeup explaining the differences between GoString/GoStringN
Motivation
What inspired you to submit this pull request? To fix a bug we encountered
Additional Notes
Anything else we should know when reviewing? No

I hit this same bug and worked around it locally with a much less elegant
diff --git a/bytes.go b/bytes.go
index 0e91377..4a5e1ce 100644
--- a/bytes.go
+++ b/bytes.go
@@ -47,7 +47,14 @@ func PyBytes_Size(o *PyObject) int {

 //PyBytes_AsString : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_AsString
 func PyBytes_AsString(o *PyObject) string {
-       return C.GoString(C.PyBytes_AsString(toc(o)))
+       var (
+               buffer *C.char
+               length C.Py_ssize_t
+       )
+       if C.PyBytes_AsStringAndSize(toc(o), &buffer, &length) != 0 {
+               return ""
+       }
+       return C.GoStringN(buffer, C.int(length))
 }

 //PyBytes_Concat : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_Concat

This PR solves a nasty bug! Thanks for doing it!

Thanks @hush-hush, @jd and thank you @tankbusta for fixing this!


No values returned

Hi,
I installed the plugin without any issue. But after 24 hours I´ve got values only for 9 of 80 sensors. Other sensors are in the state Unknown.
Garmin Connect dashboard is synced and shows all correct data.
It is only my issue or general problem?
I want to know it before I enable debug logs etc.
Thanks, Regards,
Petr

I had similar issues with the "Wellness start time" sensor enabled, where it stopped parsing several sensors.
See https://github.com/cyberjunky/home-assistant-garmin_connect/issues/46.
Try disabling that sensor in Home Assistant.
Also, quote: "I want to know it before I enable debug logs etc". Next time please don't be lazy and just do it directly, it is one minute of work to enable debug logs and without it the developers (who do this for free), have to put a lot more effort into helping you out.

Can you try version 0.2.3 it should still work with those sensors enabled.

Think this is fixed, so closing.


Issue Scanning Device over TCP implementing Model 803

I'm trying to communicate with a Nuvation Low-Voltage BMS using this library over TCP.
The device has the common model, and models 801, 802, and 803. I'm trying to reach information in model 803.
Inside Model 803 is a repeating block, which represents battery stacks.
Using the 'master' branch, I encountered issue #14 , so I figured I would switch to the development branch where this appears to be fixed.
When using the current 'development' branch, I encountered the following while scanning the device:
d.scan()
Traceback (most recent call last):

  File "<ipython-input-6-e84d88ff024c>", line 1, in <module>
    d.scan()

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\modbus\client.py", line 237, in scan
    model_id = mb.data_to_u16(model_id_data)

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\mb.py", line 112, in data_to_u16
    u16 = struct.unpack('>H', data[:2])

TypeError: a bytes-like object is required, not 'str'

After this error, I can see the library has recognized the device has the common model, models 801 and 802, but not 803.
I can query what points are accessible, query/print values, etc. Have not tried writing any values - would like to confirm first I can read all information available on the device first.
Could you advise next steps on this? Any advice on troubleshooting this or potential workarounds would be helpful.

What version of Python are you using?

I'm currently using Python 3.8.5. Would rolling back to an earlier Python 3 version (e.g. v3.6) be a good next step?

No, I don't think so, just wanted to make sure you were using Python 3.  We will take a closer look as this is a very new version.

In looking at the issue, we found what seems to be another issue that would not cause the behavior. But to be sure, we have updated the development branch. Can you retest and see if you still see the issue?

Trying this again today, I've found two different errors.
Initially with a scan (following a connect() statement), I get the following error:
d.scan()
Traceback (most recent call last):

  File "<ipython-input-6-e84d88ff024c>", line 1, in <module>
    d.scan()

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\modbus\client.py", line 255, in scan
    model = self.model_class(model_id=model_id, model_addr=addr, model_len=model_len, data=model_data,

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\modbus\client.py", line 160, in __init__
    SunSpecModbusClientGroup.__init__(self, gdef=gdef, model=self.model, model_offset=0, group_len=self.model_len,

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\modbus\client.py", line 69, in __init__
    device.Group.__init__(self, gdef=gdef, model=model, model_offset=model_offset, group_len=group_len,

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\device.py", line 326, in __init__
    g = self._init_repeating_group(gdef=gdef, model_offset=model_offset, data=gdata,

  File "C:\Users\paul\Anaconda3\lib\site-packages\sunspec2\device.py", line 487, in _init_repeating_group
    raise ModelError('Repeating group count not consistent with model length for model %s,'

ModelError: Repeating group count not consistent with model length for model 803,model repeating len = 6, model repeating group len = 32

If I call scan() again, I get the same error I saw yesterday. Which makes me suspect whether I had a connection issue when walking through to get a traceback, vs. when I was using my test script.

We have some some testing with the model configuration you reference but each implementation is different. Is it possible to get a register dump of the Modbus map in some form?

Sure. I polled all of the modbus registers claimed in their specification using modpoll. Attached are the register dump results, separated by model.
nuvation_lv_bms_model_802.txt
nuvation_lv_bms_model_803.txt
nuvation_lv_bms_model_common.txt
nuvation_lv_bms_model_801.txt

Looking the lengths of the models in the dumps you provided, they don't match the current content specified in the model definitions for 801, 802, and 803. Do you know if this is a current Nuvation implementation or is it possible it is an older development implementation that is using versions of the models before they were finalized?

Per their website, and consistent with their documentation, they state their devices are compliant with MESA Draft 3. I'm working to familiarize myself with these communication frameworks, but I believe this is several years old and has been superseded.
I will follow up with the vendor to check if a product update exists to use a more recent model implementation.
In lieu of an update to the device, is it possible for me to choose what model definitions to use? Say I wanted to use the draft 3 versions of the models - is this possible given an appropriate model definition?

Only the current versions of the models are available in the models repository. That being said, all the changes should be reflected in GitHub. Unwinding it does not seem to be going in the right direction but is probably possible. This is an unfortunate situation due to deployment during model development but was commonly done with these models to enhance development. I think finding out if there is an update is a good first step.

Of course - the ideal outcome would be to update the device to use latest models. =)
What I'd like to get a sense of: Is it (currently) possible to use a particular model definition at runtime, without rebuilding the package?
Say I had the definition file for Draft 3 of Model 803 in some location.
Would there be any way to specify to use this instead of the default definition for Model 803 (which is built into the package itself)?

Yes. device.py has the model_defs_path list that contains the directories and order to search for model definitions. Place the additional directories in this path list in the order that is appropriate. It searches them in the list order.

Thanks, Bob. I went back and found models in the models repo from 2015/2016 (44ccb15) (before the overhaul occurred for Draft 4). With those, and your pointer to where to edit the model search paths, I am able to read from this device without issue.
I appreciate your help!


Create debug command

I have made a very simple debug command that can be triggered by doing
cd /var/www/paymenter && php artisan debug
This command simply enables or disables paymenters debugmode

Hi,
I would not recommend enabling debug mode in production, and as all logs are available under storage/logs I don’t think this is necessary.
Debug mode is useful if you’re developing in paymenter (theme, contributions etc) and I hope developers can enable it themself ;)


[Dart2JS] a serious bug that BoundClosure caches a wrong prototype target

It's hard to reproduce it in this simple example (this cannot reproduce the issue, but similar concept)
main () {
  var foo = new Foo();
  Function.apply(foo.emitAll, ['test foo']);
  var bar = new Bar();
  Function.apply(bar.emitSuper, ['test bar']);
}
class Foo extends EventEmitter {
  void emitAll(String event, [dynamic data]) {
    Function.apply(this.emit, [event, data]);
  }
}
class Bar extends EventEmitter {
  void emit(String event, [dynamic data]) {
    print('error>> bar $event');
  }
  void emitSuper(String event, [dynamic data]) {
    // if we invoke Foo.emitAll before this emitSuper, then the BoundClosure
    // will use "function (a25){return this._self.emit$1(a25);}"
    //  instead of "function () {return  f.apply(s(this), arguments);}"
    Function.apply(super.emit, [event, data]);
  }
}

The above example that Foo.emitAll() uses Function.apply(this.emit, ...) (it should be "super.emit", because it didn't override it) to invoke the super.emit function and then the other class Bar uses the same way in emitSuper() by Function.apply(super.emit) to invoke its super function, but it overrides the same emit() function in its body.
This usage will make dart2js to use a wrong BoundClosure in JS env. if we invoke "Foo.emitAll" before "Bar.emitSuper".
Note: to workaround this issue is to change the "Foo.emitAll" by using this.emit(event, data); instead of Function.apply(this.emit, [event, data]);.
After compiling to JS, it seems the issue happens in this code
$prototype[callName] = trampoline;
      for (t1 = functions.length, i = 1; i < t1; ++i) {
        stub = functions[i];
        stubCallName = stub.$callName;
        if (stubCallName != null) {
          t2 = isStatic ? stub : H.Closure_forwardCallTo(receiver, stub, isIntercepted);
          $prototype[stubCallName] = t2;
        }
      }

The "t2" will use "function (a25){return this._self.emit$1(a25);}" instead of "function () {return  f.apply(s(this), arguments);}" to a wrong BoundClosure for the above concept.
Here is the whole test code attachment.
Dart version: 1.24.2
OS env: Mac and Ubuntu
The attached testing code work well on Dartium, but after compiling to js, it will fail to run if we invoke the code in different order.
dart2jsBug.zip
It contains three project source code, "dart2jsBug", "socket_io", and "socket_io_client".
You can run the following steps to reproduce it.

run pub get under "dart2jsBug" project.
run pub run test/server.dart under "dart2jsBug" project to run a socket server project.
run pub build --mode=debug test/ under "dart2jsBug" project to compile them to JS code.
run open build/test/index.html under "dart2jsBug" to open a chrome to run the testing code on JS env. (you should see the "Actual" wrong result)
open "main.dart" under "dart2jsBug/test" folder to comment out socket.io.emitAll('test'); this line, and then do the step3~4 again and you should see the "Expected" result.

Note: the whole example work well on Dartium without Dart2JS.
Actual:

As you can see the "Console" didn't print anything on it, but the "Frames" data panel print so many messages "fromServer"...
Expected:

As you can see the "Console" will print a lot of messages as the same as the "Frames" data panel did.

Please re-open if the problem persists with the latest Dart2JS.


how to create a task with gpu and docker

I want to create a task whith gpu and docker. fist  I use the docker type like this，but it appears error like 'GPU resources only work with the Mesos container'

then I use the cmd type, like this, though this task can be craeted, but it always in the state of 'Waiting', and can not be 'running' status. So i really want to know how to use marathon with gpu and docker

I'm trying to create a similar task. First, I faced the same problems.
I added the following option when launching the mesos agent,
--containerizers=docker,mesos --isolation=cgroups/devices,gpu/nvidia,filesystem/linux,docker/runtime --image_providers=docker

and used nvidia-docker cmd like this.(You need to install nvidia-docker in mesos agent node previously.)
{
    "id": "nvidia-docker-test",
    "cmd": "nvidia-docker run -it nvidia/cuda bash",
    "cpus": 1,
    "mem": 512.0,
    "gpus": 1
}

I was able to deploy gpu containers in this way, however when I destroyed the task on marathon GPU,  the gpu container process was not killed in the mesos agent node .

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1887. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


proc HTTP calls need no_conn_cache

I am assuming that this impacts others using M365 connections with proc HTTP. I kept getting "Unauthorized" responses when I set debug level =1.
This was resolved by setting no_conn_cache for the proc http call.

@alphonsederus2 Thanks for sharing that!


CI: building the documentation with sphinx

Would you be interested in accepting a PR which builds the sphinx documentation?
We could also enable some linting there depending on how tight you want the ship to be ;)
I can pick it up if we're in agreement :+1:

Hi @lwm,
What would be the advantage over having readthedocs build the documentation like it works right now?

I think it would just be a way to know if your documentation was going to fail on RTD before it fails on RTD and instead blows up in the pull request check. RTD still builds and deploys your documentation there. It can be useful when messing around with the sphinx configuration, when/if it happens. Perhaps also to add checks for dead links and missing modules (for the reference pages).

Hi @lwm,
Yes, that sounds good. I remember there were still a couple of warnings when building the docs, I'm not sure whether we can fix that.

Building the docs on Travis is a good idea. I also recommend adding html: SPHINXOPTS += -W to the Makefile so that warnings are treated as errors (sometimes when Sphinx treats something as only a warning, ends up not being readable in the compiled docs, and sometimes it just removes it entirely).


Added license years for Dariusz

I would not cat Fabien's copyrights, he could still manage the repo.
Still, thanks for picking this up !

still, upping the copyright to 2017 would be a nice/good thing to do?

already pushed on master while closing


Determine which type of authentication is being used

Hi @MohammadYounes . Is there a way in the GenerateUserIdentityAsync() method to determine if user is authenticating via Windows or Forms? Thanks.

Hi,
It's possible, but it would involve a lot of overrides.
However,  you can determine if the user has a linked Windows account or not by checking this.Logins.
Thanks.

Perfect, @MohammadYounes! That does the trick very nicely :+1:

@MohammadYounes, is it possible to add the user's AD groups -- ClaimTypes.GroupSid -- as claims to the ClaimsIdentity object in GenerateUserIdentityAsync() method? I can see them in ExternalLoginCallback() but not in GenerateUserIdentityAsync(). Thank you.

The best place to import AD groups is when importing custom claims as mentioned in the README.
What do you mean by you can see them in ExternalLoginCallback ?

Thanks, @MohammadYounes. When I put a breakpoint in ExternalLoginCallback, I can run this code to fetch the user's AD groups and try to set them as roles on the user:
var identity = HttpContext.Request.LogonUserIdentity;
var roles = identity?.Claims
		   .Where(c => c.Type == ClaimTypes.GroupSid)
		   .Select(c => c.Value)
		   .ToList();
var roleList = new List<Claim>();
foreach (var group in roles)
{
	roleList.Add(new Claim(ClaimTypes.Role, GetGroupNameBySid(group)));
}
identity?.AddClaims(roleList);

Here's the helper method that fetches the user-friendly group name from the AD:
public static string GetGroupNameBySid(string sid)
{
	PrincipalContext ctx = new PrincipalContext(ContextType.Domain);
	GroupPrincipal group = GroupPrincipal.FindByIdentity(ctx, IdentityType.Sid, sid);
	return group.SamAccountName;
}

but the adding I do here doesn't seem to affect the User object.

The SignInManager will add the claims stored in the database.
Also note that when importing claims inside MixedAuthProvider, Imported claims will be added to the claims list of the external identity (windows identity, Not the local identity).
Thus, You should save the imported claims to the database upon user registration or account linking.
See #60, #49 and #45


Same bugfix and updates to emcprm2lt.py for sdk

sdk parameters updated in SDK_lipid+chol.lt

Merging.  I can't decide if we should rename "SDK_lipid+chol.lt" to "sdk.lt".  If we rename this file to "sdk.lt", then later on, if someone decides to add more molecule types to the force field, would it be a good idea to ask them make changes to "sdk.lt"?  Or would they likely mess up the file?

The file should be fine if this gets renamed and added to, but the scope of
sdk is much more than just lipids. As far as I can tell, the 'full' sdk
parameters from emc for other non-lipid types are incomplete and we can't
support them without lots of manual data input.
David
On Thu, Jun 29, 2017 at 5:51 PM, Andrew Jewett<EMAIL_ADDRESS>wrote:

Merging. I can't decide if we should rename "SDK_lipid+chol.lt" to "sdk.lt".
If we rename this file to "sdk.lt", then later on, if someone decides to
add more molecule types to the force field, would it be a good idea to ask
them make changes to "sdk.lt"? Or would they likely mess up the file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jewettaij/moltemplate/pull/9#issuecomment-312118586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGhklw84uLLml-dXdq0BdbsQVsMUCtQPks5sJBxFgaJpZM4OJWyO
.

--
David Stelter
Graduate Student
Department of Chemistry
Boston University


Add codespell, commitlint, golangci-lint actions, enable gosec linter in Makefile

action: add codespell and commitlint actions for precheck
makefile: enable gosec linter for golangci-lint
Please help to review, thanks.
Signed-off-by: Bo Liu<EMAIL_ADDRESS>

I see that you are adding them in one action itself. which will make it difficult for someone who is debugging them and even for contributor and reviewer. We have to specifically go and look into the action logs to see where is the failure. I my opinion we should separate them. So we can easily find where the failure is. for example

@iamniting Done per your request, all checked have passed too. Fyi, thanks.


[BUG] AOT trim warning

Library name and version
Azure.Core v1.36.0 & Azure.Security.KeyVault.* v4.6.0-beta.2
Describe the bug
Here is the dependencies for our project:
  <ItemGroup>
    <PackageReference Include="Azure.Identity" Version="1.10.4" />
    <PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.6.0-beta.2" />
    <PackageReference Include="Azure.Security.KeyVault.Keys" Version="4.6.0-beta.2" />
    <PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.6.0-beta.2" />
    <PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" />
  </ItemGroup>

Encountered dotnet 8 trim warnings:
/home/jj/.nuget/packages/azure.core/1.36.0/lib/net6.0/Azure.Core.dll : warning IL2104: Assembly 'Azure.Core' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/home/jj/projects/junjie/notation-azure-kv/Notation.Plugin.AzureKeyVault/Notation.Plugin.AzureKeyVault.csproj]
/home/jj/.nuget/packages/azure.security.keyvault.keys/4.6.0-beta.2/lib/netstandard2.0/Azure.Security.KeyVault.Keys.dll : warning IL2104: Assembly 'Azure.Security.KeyVault.Keys' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/home/jj/projects/junjie/notation-azure-kv/Notation.Plugin.AzureKeyVault/Notation.Plugin.AzureKeyVault.csproj]

Expected behavior
No warnings
Actual behavior
Encountered dotnet 8 trim warnings
Reproduction Steps
Build a project with those dependencies:
Here is the dependencies for our project:
  <ItemGroup>
    <PackageReference Include="Azure.Identity" Version="1.10.4" />
    <PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.6.0-beta.2" />
    <PackageReference Include="Azure.Security.KeyVault.Keys" Version="4.6.0-beta.2" />
    <PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.6.0-beta.2" />
    <PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" />
  </ItemGroup>

Then publish with Donet 8 AOT enabled
Environment
.NET SDK:
Version:           8.0.100
Commit:            57efcf1350
Workload version:  8.0.100-manifests.6c33ef20
Runtime Environment:
OS Name:     ubuntu
OS Version:  22.04
OS Platform: Linux
RID:         linux-x64
Base Path:   /home/jj/download/.dotnet8.0/sdk/8.0.100/
.NET workloads installed:
Workload version: 8.0.100-manifests.6c33ef20
There are no installed workloads to display.
Host:
Version:      8.0.0
Architecture: x64
Commit:       5535e31a71
.NET SDKs installed:
8.0.100-preview.3.23178.7 [/home/jj/download/.dotnet8.0/sdk]
8.0.100-rc.2.23502.2 [/home/jj/download/.dotnet8.0/sdk]
8.0.100 [/home/jj/download/.dotnet8.0/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0-preview.3.23177.8 [/home/jj/download/.dotnet8.0/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0-rc.2.23480.2 [/home/jj/download/.dotnet8.0/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0 [/home/jj/download/.dotnet8.0/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0-preview.3.23174.8 [/home/jj/download/.dotnet8.0/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0-rc.2.23479.6 [/home/jj/download/.dotnet8.0/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0 [/home/jj/download/.dotnet8.0/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT       [/home/jj/download/.dotnet8.0]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Thank you for your feedback.  Tagging and routing to the team member best able to assist.  Please expect and forgive slow replies during the US holiday season.

Hi @heaths, could you have a look at the trimming warning of keyvault sdk? Many thanks!

A build with trim warnings resolved has not yet been released, but should within a month or so. Already fixed in 65caaa5a1ba32abc5234bd4e7a9fee0102bc8467 and bab8b0a33c094c6389004e7faa96833e7f647e1c.

Many thanks @heaths !


📝 Add installation instructions

In the mindset of "don't make me think" it's way easier just to copy a
line than to think about whats the name of the package :D

Can you make this add as a dev dependency? Don't want to recommend adding this to the runtime deps.


[ENG-4877][ENG-4878][ENG-4879][ENG-4880] Boa add-on: backend improvements

Purpose
Boa add-on: backend Improvements - part 1
Changes

[x] Provide project guid in view and use it in task ENG-4880
[x] Improve email notifications ENG-4877
[x] Investigate empty output after query success ENG-4879
[x] Inform users of upload conflicts ENG-4878

QA Notes
N/A
Documentation
N/A
Side Effects
N/A
Ticket
https://openscience.atlassian.net/browse/ENG-4880
https://openscience.atlassian.net/browse/ENG-4877
https://openscience.atlassian.net/browse/ENG-4879
https://openscience.atlassian.net/browse/ENG-4878

LGTM, gonna merge into my branch and put up on staging


NFSShare: New Resource proposal

Description
A new resource which configures NFS shares on systems that support that functionality.
Proposed properties
???
Special considerations or limitations

Hi @lavahot - this looks like a good addition. I'd expect it to have properties like this:
[Key, Description("Specifies the name of the NFS share.")] String Name;
[Required, Description("Specifies the path of the NFS share")] String Path;
[Write, Description("Specifies the network name of a share.")] String NetworkName;
[Write, Description("Specifies an array of authentication types that an NFS client can use to access NFS shares."), ValueMap{"sys","krb5","krb5i","krb5p","all","default"}, Values{"sys","krb5","krb5i","krb5p","all","default"}] String Authentication[];
[Write, Description("Specifies the user identifier (UID) that Server for NFS uses for anonymous users who access an NFS share.")] Int32 AnonymousUid;
[Write, Description("Specifies the group identifier (GID) that Server for NFS uses for anonymous users who access an NFS share.")] Int32 AnonymousGid;
[Write, Description("Specifies language encoding to configure on an NFS share."), ValueMap{"euc-jp","euc-tw","euc-kr","shift-jis","big5","ksc5601","gb2312-80","ansi"}, Values{"euc-jp","euc-tw","euc-kr","shift-jis","big5","ksc5601","gb2312-80","ansi"}] String LanguageEncoding;
[Write, Description("Configures an NFS share to allow anonymous users to access it.")] Boolean EnableAnonymousAccess;
[Write, Description("Configures an NFS share to allow unmapped UNIX users to access a share by using the UID or GID.")] Boolean EnableUnmappedAccess;
[Write, Description("Grants the UNIX root user access to a share.")] Boolean AllowRootAccess;
[Write, Description("Configures the type of global ('All Machines') permissions on the NFS share."), ValueMap{"no-access","readonly","readwrite"}, Values{"no-access","readonly","readwrite"}] String Permission;
[Write, Description("Specifies whether the NFS share should be present or not."), ValueMap{"present","absent"}, Values{"present","absent"}] String Ensure;


Added Contrubuting file

Added contributing.md with the entire guide

@roshaan005 It would be great if you could :star: the repo as well :smile:

Yes I will


Add Project Portfolio

Coverage remained the same at 92.485% when pulling 74609c0846b549dbeaf441432ae57a0a70992655 on johnweikangong:Documentation into 0e6ecafe002daa7e3fe23b58839d1c95465be77e on CS2103AUG2017-T16-B3:master.


Remove unnecessary labels from spec files

These labels aren't needed, because the files are listed in the excluded spec files in the applicable cypress config file.

@vidyanambiar do you mind reviewing again? I had to fix a conflict :-D


Can't move exposed light or outlet to different room

Issue
Hi fellas!
Since I had plenty issues with new Home architecture I reset my whole(!) Home config.
Anyway - I recycled the configuration for huebridge-hue plugin. So everything was in the same configuration but adding a new user for huebridge connection (I reset this as well, just in case ;-) ).
I do see the exposed light and outlet but can't move them into a different room?
With below config I do see another exposed thing with same name as my huebridge. For this item I am able to move it into a different room...
Any experiences on that or do I miss anything in my config?
config-file
{
"name": "Hue",
"anyOn": true,
"effects": false,
"hosts": [
"<IP_ADDRESS>"
],
"lights": true,
"nativeHomeKitLights": true,
"nativeHomeKitSensors": true,
"resource": true,
"users": {
"xxx": "xxx"
},
"platform": "Hue"
}

Assigning an accessory to a room happens in HomeKit, invisible to the accessory itself.  It's technically impossible for this issue to be related to Homebridge or Homebridge Hue.
Any weirdness in HomeKit since iOS 16.2 and/or the new HomeKit architecture is probably caused by a rogue home hub.  Make sure these are on the latest firmware.  Power-cycle them.  Power-down all except one, preferable an AppleTV connected by Ethernet.

Hi Erik, thanks for your kind reply!
Sometimes patience is your friend - assignment to a different room worked after a few moments waiting :)


Move to ipfs.blog

Why

We are moving project website away from ipfs.io, to isolate it from the legacy public gateway, which is blocked in some automated contexts and jurisdictions.
Protocol Labs owns ipfs.blog, so we have pretty  nice option to migrate the blog from blog.ipfs.io to ipfs.blog

This is not a high priority, but something we want to do in the best effort track

How

[ ] add  ipfs.blog  to Fleek and update DNS config at protocol/infra accordingly

we want to publish to both: keep old domain name working and updated, both regular HTTP and DNSLink
DNS tracked in https://github.com/protocol/infra/issues/911

[ ] update canonical link to point at the new domain

this ensures SEO and search results are deduplicated and use new domain as canonical one

[ ] add JS snippet that detects old domain and redirects to the new one

this should be smart enough to work with DNSLink, public gateways  and Brave

[ ] :warning: :exclamation:   add new domain to discourse (which we use for comment threads)

Caveat: figure out how we can avoid spamming discuss.ipfs.io  with comment threads created fro URLs on new domain
in the past @lidel wrote additional code that kept old URL for posts created before domain change, we should do the same here

[ ] submit new sitemap.xml URL to Google

From an SEO perspective, there's a truism that it's better to have subsites hosted under the same domain as the main website using a path/directry than a subdomain, e.g. ipfs.tech/blog vs blog.ipfs.tech source 1, source2
Google has claimed that it doesn't make a difference, e.g. https://www.youtube.com/watch?v=uJGDyAN9g-g
But it seems that time and time again, people report improvements when moving to the subdirectory/path approach, i.e. ipfs.tech/blog. In fact, I've seen the same improvement in previous projects.

If content and links are split between a subdomain and the main domain, those two entities' overall 'authority' is lower than if everything sat on the main domain (using subdirectories).
That's why it's common to see an uplift in overall organic visibility and traffic (compared to the two viewed separately) when migrating relevant subdomains into subfolders on the main domain.

However, this might be too big a time investment and not so easy to implement, e.g. handling rewrites using Fleek and also making sure all the content is available over IPFS).
If the subdirectory approach is not feasible for us, I would recommend at the very least keeping both ipfs.tech and the blog under the same domain, e.g. blog.ipfs.tech.

Merging blog and website is not feasible imo: historically we did the opposite (moved blog out of ipfs.io because managing them together in a single repo, or later via complex build pipelines a lot of a pain, different teams, too many cooks etc).
As for keeping it separate but picking a new domain name, I don't feel strongly either way  ipfs.blog vs blog.ipfs.tech, but  one is way easier than another:

blog.ipfs.tech can be migrated under one day, we already have DNS management present, so I can self-service and only need to write some code to handle  :warning: :exclamation:  in the checklist above
ipfs.blog is blocked by https://github.com/protocol/infra/issues/911, requires involving more infra people

@BigLep @2color  thoughts?

For both SEO reasons and credibility/authority via association/domain, I'd recommend blog.ipfs.tech.

Sounds good to me.  Agreed on redirectings ipfs.blog if that becomes unblocked.

Should be all done: https://blog.ipfs.tech/


Crash when set Weak References in Manual Retain Release to Yes

I have update Xcode to v7.3
The project build error so i changed setting in Build Setting:
Weak References in Manual Retain Release to Yes
The project build success but run crash

That change sounds odd! What was the original build error - probably better to focus on that.


Read user name, password and domain from env variable

When launching in dev mode, allow passing user, password and domain
as shell variables.

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

Added grouping env variables using dotenv library (in particular using this advice)

ci add to whitelist

@bamsalem

Just an idea, we don't must to do it, but it will be nice if we can add .env.example file.

IMHO documentation is enough. .env files are explicitly excluded from git to prevent accidental commit. If we provide an example file then someone might modify it and commit by mistake.


[Improvement] Google Summer of Code ideas list

What would you like to be improved?
Some ideas that Google Summer of Code candidates can consider are listed below, you can also suggest your own project to work on.
Gravitino UI development
Extends the Gravitino UI to include creating and editing tables. The UI currently lists each table and its metadata but the new tables are not able to be created or existing tables modified. The outcome is that table fields can be added, deleted, or modified and tables added or deleted.
Skills Needed: Next.js, UI design, REST API
Mentors: Xun Liu
Size: 175 hours
Rating: Intermediate
Write a Gravintino API in Python
Currently, we have a Java API and the community has expressed interest in a Python API. The Python API would mirror the Java API. The Python API could be native or use the existing REST API. We would also consider other languages. The outcome is a working and unit-tested API in Python.
Skills Needed: Python, REST
Mentors: JP Du
Size: 175 hours
Rating: Easy
Integrate Gravitino with another database  or technology
There are many databases or technologies that Gravitino could integrate e.g. Apache CouchDB, Apache HBase, Apache Pulsar, Apache Hudi, Apache Cassandra, Apache Doris, Apache Flink, OpenSearch, DuckDB, MongoDB, MariaDB, StarRocks or any other similar open source technology. It is expected the person who does this has some experience in the technology they are integrating with. Existing integrations can be used as a template. The outcome is a working and unit-tested integration with another language.
Skills Needed: OS Technology, Java
Mentors: Lisa N. Cao, JP Du, Xun Liu
Size: 175 hours (may depend on technology)
Rating: Intermediate
Improve unit test code coverage >80%
We currently use JUnit and these tests are run using GitHub actions on every check-in. We would like to increase our code coverage to find bugs and improve code quality. The test can be written with the help of AI. The outcome is 80% or more code coverage.
Skills Needed: Java, JUnit (optional)
Mentors: DanHua Wang
Size: 175 hours
Rating: Easy
Experimental metadata enrichment using ML
Use machine learning to tag metadata to add additional information about the metadata model. This could, for example, be tagging personally identifiable information to help data governance or finding potential relationships between tables in different catalogs. The outcome will need to be decided before work starts on the project and it is expected that this is a proof of concept and not production-ready.
Skills Needed: Machine Learning, Metadata
Mentors: Lisa N. Cao
Size: 175 hours
Rating: Hard
Experimental business glossary inference onto metadata using ML
Generate a business glossary from existing metadata using ML and integrate this into the Java REST service. The information generation should help the user understand the metadata or act as a good starting point for further refinement. The outcome will need to be decided before work starts on the project and it is expected that this is a proof of concept and not production-ready.
Skills Needed: Machine Learning, Metadata, REST, Java
Mentors: Lisa N. Cao
Size: 175 hours
Rating: Intermediate
Build Gravitino playgrounds that can used for demos
We currently have docker containers for several OS technologies but more can be added. These playgrounds enable users to quickly try Gravitino using an OS technology.  While it is expected the person who does this has some experience in the technology they are integrating with, that is not essential. Existing playgrounds can be used as a template. The outcome is a working playground with some data to play with in another OS technology.
Skills Needed: Docker, shell script, OS Technology
Mentors: JP Du, Xun Liu, Lisa N. Cao
Size: 90 hours
Rating: Easy
Alternative packaging and deployment of Gravitino
Build, package, and deploy Gravito in a different packing such as Helm Chart. The outcome is a working deployment in the technology chosen.
Skills Needed: Gradle, Docker, Helm (or similar)
Mentors: JP Du, Xun Liu
Size: 90 hours
Rating: Intermediate
Different storage support other than RocksDB
Gravitino metadata is stored in RocksDB, we would like to make the user able to choose where the metadata is stored. The outcome is an alternative storage mechanism other than RocksDB.
Skills Needed: Java, Database
Mentors: JP Du, Xun Liu
Size: 175 hours
Rating: Intermediate
Gravitino I18N
Set up an Internationalization framework for Gravitino, moving all error messages and strings to property files and load all strings via resource bundles. The outcome is a working framework localized to US English.
Skills Needed: Java
Mentors: JP Du, Lisa N. Cao
Size: 90 hours
Rating: Easy
How should we improve?
No response

Hi Justin,
Is it possible to add:

Support more metadata storage like Redis, HBase, MySQL. The idea is from:
https://github.com/datastrato/gravitino/issues/1727

Thanks for the suggestions. We already support MySQL and Redis is no longer available under an open source license.

@shaofengshi that's nice suggestion. For Redis, even new version of Redis is no longer under open source license, there are still large number of open source users on old version in their legacy system. We can think about how to support them.
@justinmclean may be we could add UI, document improvement here beside UTs?

Hi Justin,
Is it possible to add:

Support more metadata storage like Redis, HBase, MySQL. The idea is from:
[FEATURE] Are there any plans to support other storage besides rocksdb ? #1727

Different storage support is a good candidate.
Some open-source engine support, like Flink, StarRocks, Doris could also be done by the community.
Lakehouse catalog support like Huid, delta lake.
JDBC catalog support, like CK, etc.

Hi @justinmclean
I wonder whether I can participate in Gravitino in the way of GSoC?
(I think I'm eligible as contributor https://summerofcode.withgoogle.com/get-started

Since I saw this issue but did not see Gravitino or Datastrato in the Organization list (maybe i missed ?)
And here's the Issue && PRs I sent recently, I'm really exited to be one of Gravitino community!!

https://github.com/datastrato/gravitino/pull/2219
https://github.com/datastrato/gravitino/pull/2280
https://github.com/datastrato/gravitino/issues/1837
https://github.com/datastrato/gravitino/issues/1473

We were not one of the organisations accepted into the program, as they had
a large number of applications this year. I would be happy to work with you
on one of the above issues outside of the program. if that interests you.
On Fri, 23 Feb 2024, 7:07 pm Brandon Lu, @.***> wrote:

Hi @justinmclean https://github.com/justinmclean
I wonder whether I can participate in Gravitino in the way of GSoC?
(I think I'm eligible as contributor
https://summerofcode.withgoogle.com/get-started
image.png (view on web)
https://github.com/datastrato/gravitino/assets/96360357/7aa029f5-815a-4580-aa5c-ff249d46c09b
Since I saw this issue but did not see Gravitino or Datastrato in the
Organization list (maybe i missed ?)
And here's the Issue && PRs I sent recently, I'm really exited to be one
of Gravitino community!!

#2219 https://github.com/datastrato/gravitino/pull/2219
#2280 https://github.com/datastrato/gravitino/pull/2280
#1837 https://github.com/datastrato/gravitino/issues/1837
#1473 https://github.com/datastrato/gravitino/issues/1473

—
Reply to this email directly, view it on GitHub
https://github.com/datastrato/gravitino/issues/1698#issuecomment-1960887200,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDI6FZRWVTDNRLZHVBIG3YVBE4TAVCNFSM6AAAAABCJTTYPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQHA4DOMRQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure, I'm still glad to participate in Gravitino, thank you for offering such great chances to work on a influential project~

if you want to work on any issues to get a feel for the project please go
ahead. if you find an issue you want to work on just add a comment that you
working on it and also if possible try and fix any other similar issues at
the same time.
On Fri, 23 Feb 2024, 7:15 pm Brandon Lu, @.***> wrote:

Sure, I'm still glad to participate in Gravitino, thank you for offering
such great chances to work on a influential project~
—
Reply to this email directly, view it on GitHub
https://github.com/datastrato/gravitino/issues/1698#issuecomment-1960896824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDI6FEKYZ3CN225FST333YVBF3PAVCNFSM6AAAAABCJTTYPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQHA4TMOBSGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm going to close this as it is not valid any more.


Undefined step(s) returned when executing feature file

Hi,
I've loaded, compiled and run the application successfully on an Android emulator. However when I run the feature file - Feature: defaults, the test fails with the output below.
The tests run successfully when the step definition class StepDefinitions is executed directly via the IDE context menu.
Any ideas on what's going wrong? If you require additional output files I'll be happy to provide them.
Environment:
Windows 10
Android Studio 2.3.2
Thanks,
H
...
Testing started at 12:28 ...
Undefined step: Given  I see the login page
Undefined step: When  I login with user name "Sebas" and password "passion"
Undefined step: Then  I see the welcome page
Undefined step: And  the title is "Welcome Sebas"
Undefined step: Given  I see the login page
Undefined step: When  I login with user name "sebaslogen" and password "passion"
Undefined step: Then  I see the welcome page
Undefined step: And  the title is "Welcome sebaslogen"
Undefined step: Given  I see the login page
Undefined step: When  I login with user name "ThirdUser" and password "passion"
Undefined step: Then  I see the welcome page
Undefined step: And  the title is "Welcome ThirdUser"
3 Scenarios (3 undefined)
12 Steps (12 undefined)
0m0.000s
You can implement missing steps with the snippets below:
@Given(...

I attempted the following steps...

Select the Android view in the project pane.
Expand the folder app/assets/features(androidTest)
Right-click login.feature

Indeed, that's not possible because it's not how Cucumber recognizes tests. Tests are recognized by tags rather than files or folders. In addition, tags can be added before a "Feature: ..." line, not only before a "Scenario: ..." line.

The examples given pertain to running the test from the command line which works as expected in my environment. I guess my question is, how is it possible to run cucumber feature tests using Android Studio GUI using the Run window / toolbar run buttons? Can tags be used somewhere in the Run/Debug Configuration?

...The intellij documentation instructions seem to suggest right-clicking on feature files is doable.
https://www.jetbrains.com/help/idea/running-cucumber-tests.html

Running Cucumber Tests
The Cucumber feature files are run same way as the other executables, with certain run/debug configuration settings.

Prior to running a test, you have to set up run/debug configuration for a particular feature file or scenario, or for the whole bunch of features within a directory. Creating a run/debug configuration is described in the section Creating and Editing Run/Debug Configurations.
However, there is always the possibility to run Cucumber tests with the default settings, which is described below.
Results of tests execution are displayed in the Test Runner tab of the Run tool window.
To run all feature files in a directory
In the Project tool window, right-click the directory where the feature files are stored.
On the context menu of the directory, choose Run all features in .

Does Android Studio not inherit this functionality?

In Android Studio, run connectedAndroidTest in the right Gradle tab and then edit the run configuration to add under the Script parameters something like -Ptags="@login-scenarios,@kitkat"

Thanks for your time on this. I'm sure it will help 100s of people!
I ran the connectedAndroidTest as advised which completed successfully.
I edited the tags in the scenarios of the feature file to @login-scenario1, @login-scenario2, @login-scenario3
I  added-Ptags="@login-scenario2" to Script parameters and re-ran the script.
SUCCESS! Only the 2nd scenario was executed.
The question remains however... Does Android Studio allow the more user friendly and visually appealing execution of feature files as quoted above?

Hello,
The connectedAndroidTest with script parameters doesn't seem to filter my scenarios based on tags.
Should the build.gradle file be instructed about the usage of -Ptags parameter?

@ArunaBalasubramanian the -Ptags is already handled in the build.gradle here, so I'm not sure what is the difference between your configuration and what @willpowr has already running.
Maybe try restoring the CucumberTestCase class and see if that helps.

build.zip
This is my build.gradle. Do you see anything that needs change?
Adding a CucumberTestCase is throwing me "cucumber.runtime.CucumberException: No CucumberOptions annotation". I tried solving using https://github.com/sebaslogen/CleanGUITestArchitecture/issues/3, but didn't help.

@ArunaBalasubramanian I don't see anything wrong with your build.gradle
As for the CucumberTestCase the easiest way is to copy the files and structure under androidTest folder of this sample project, start by reducing the feature and steps to a simple step opening the app and then get it running.

Thanks @sebaslogen for the insight. I had to tweak a little on the project structure and finally it did work.

how to you add the features(android test) folder on assets directory?

@amesandy you can create the folder structure using the file explorer of your OS. Just follow the same path structure as the code in this repository


modulesync 2.7.0 and drop puppet 4

modulesync 2.7.0

Does https://github.com/voxpupuli/puppet-jenkins/pull/898 need to be merged first??

What's the status here?

@mmoll I am pretty swamped with work at the moment and I don't have enough time here. Are you interested in helping us and and working through the failed tests?

Can this get a rebase, after the recent metadata changes to ensure it reflects the latest and greatest before troubleshooting any test failures?

@rnelson0 I rebased it. I've a feeling that the acceptance tests aren't idempotent :(

I rebased it. I've a feeling that the acceptance tests aren't idempotent :(

FWIW, I restarted the travis build about 5 times today until this went green.

Time for a new forge relase, perhaps? :)

I've a feeling that the acceptance tests aren't idempotent :(
Hum ... i suppose you wanted to say that acceptance tests highlight an idempotency issue of puppet code.

@Dan33l I've no idea if this is caused by docker or jenkins or puppet.

@bastelfreak i don't have idea about the root cause and i am not user of module.
But few months ago i update acceptance tests to be able to get a clearer message when it fail.
And what i saw is that same puppet code applied twice can be not idempotent.


Add OneTone.ai & Rephrasee.com project

Thanks for the PR! 🚀🤘

@flpbalada are you the creator of OneTone.ai & Rephrasee.com?
I created a twitter profile for ai-collection and I want to tweet about it and mention the creator.

Hi Pavel,Thank you for contacting me. Yes, I am the creator of Rephrasee.com and co-founder of Onetone.ai. Feel free to tweet about that.Best,FilipOn 10. 4. 2023, at 21:42, Pavel Kerbel @.***> wrote:
@flpbalada are you the creator of OneTone.ai & Rephrasee.com?
I created a twitter profile for ai-collection and I want to tweet about it and mention the creator.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I can't find @flpbalada username on twitter, do you use other handle? I would like to mention you if you are on twitter.

My twitter account is @FilipBalada12 😊On 11. 4. 2023, at 22:48, Pavel Kerbel @.***> wrote:
I can't find @flpbalada username on twitter, do you use other handle? I would like to mention you if you are on twitter.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Remove references to enabling Office Scripts

Office Scripts is now on by default. This PR makes the docs better reflect that reality.

Docs Build status updates of commit 76ed370:
:clock10: Pending: waiting for processors (27 builds ahead of you)
:warning: Docs Build is busy, currently there are 27 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 76ed370:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/power-automate-tutorial-prerequisites.md
:white_check_mark:Succeeded
View

docs/includes/preview-note.md
:white_check_mark:Succeeded
View

docs/includes/tutorial-prerequisites.md
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/testing/troubleshooting.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Thanks for the review @peronald. I think, overall, the goal should be to still let users know that scripts might be admin disabled, but that enabling the feature isn't part of the standard path. Is that the right perception?

Docs Build status updates of commit e2fbce2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/power-automate-tutorial-prerequisites.md
:white_check_mark:Succeeded
View

docs/includes/preview-note.md
:white_check_mark:Succeeded
View

docs/includes/tutorial-prerequisites.md
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/testing/troubleshooting.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e62a5e9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/power-automate-tutorial-prerequisites.md
:white_check_mark:Succeeded
View

docs/includes/preview-note.md
:white_check_mark:Succeeded
View

docs/includes/tutorial-prerequisites.md
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/testing/troubleshooting.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fix link issues in relations content

Fixes issues in links at relations page

Closing as the doc is updated.


ipq807x: bump glinet ax1800/axt1800 to ath11.5/v5.4

Signed-off-by: Jianhui Zhao<EMAIL_ADDRESS>

merged into the next branch, Thanks !


[BugFix] Fix cumulative compaction ut crash

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #10184
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_admit_test


Add single-file-only reading mode (in addition to the whole-root-dir mode)

Description
We were discussing inability to access /tmp dir which is actually fine, but there are some restricted files/dirs inside the /tmp/, and since typst watches the whole root dir, the issue was created: https://github.com/Enter-tainer/typst-preview/issues/130. I was wondering if it would be possible to make a --single-file-mode option (whatever the name is) which will only watch for the changes of the specified Typst file and nothing else in the directory where the file exists. But the support for the @local/@previes packages should stay and be available (in both modes).
Use Case
Make typst more flexible, i.e. support more aggressive/unideal environment (root dir) by watching only absolutely necessary file(s) instead of the whole directory.

iirc official typst-cli watch each individual file. can you test typst watch in your /tmp?

I can confirm (I forgot I did it a million times already) that typst and typst-lsp (through nvim + mason.nvim) can work from /tmp even though typst watch also has --root option.
Now I'm pretty sure I can close this issue, since typst doesn't throw any "access denied" errors for unrelated files in the root dir. It only throws them if the imported/included file (or the main file) doesn't have read bit permission:
error: failed to load file (access denied)
  ┌─ a.typ:1:9
  │
1 │ #include "import.typ"
  │          ^^^^^^^^^^^^
  │
  = hint: cannot read file outside of project root
  = hint: you can adjust the project root with the --root argument

But the hints are a bit misleading:

file is not outside the project root,
adjusting the project root doesn't resolve anything.

There should be a hint like:
  = hint: Do you have permission to read the file?
  = hint: Try adding read permission for the file.


AYS rescheduling after failure

Installation information

jumpscale version: master
operating system: linux

Detailed description
When an actor fails the run is rescheduled. And a error level is added to know at which interval it should reschedule.
When the actor suceeds this level should be resseted so the rescheduling interval is lowered again
Steps to reproduce
have an actor that fails irregularly
Relevant stacktraces

should be fixed after https://github.com/Jumpscale/ays9/commit/efca064c1e1976c17c0ed43b23b670aa163f09ae


[CLI]: initializing twice leads to AttributeError: 'Run' object has no attribute '_telemetry_obj'.

Describe the bug

Description
Starting from wandb==0.17.6, I noticed an issue that if I initialize twice as run = wandb.init(mode="disabled") I get AttributeError: 'Run' object has no attribute '_telemetry_obj'.
Ordinary mode, i.e., run = wandb.init() can be called many times.
Up until 0.17.5, run = wandb.init(mode="disabled") returned an instance of RunDisabled. This seems to have changed from 0.17.6.

Steps to reproduce the issue
import wandb
run = wandb.init(mode="disabled")
run = wandb.init(mode="disabled")

Traceback
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ryoto/conda/envs/materials/lib/python3.10/site-packages/wandb/sdk/wandb_init.py", line 1191, in init
    wandb._sentry.reraise(e)
  File "/home/ryoto/conda/envs/materials/lib/python3.10/site-packages/wandb/analytics/sentry.py", line 155, in reraise
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/ryoto/conda/envs/materials/lib/python3.10/site-packages/wandb/sdk/wandb_init.py", line 1176, in init
    wi.setup(kwargs)
  File "/home/ryoto/conda/envs/materials/lib/python3.10/site-packages/wandb/sdk/wandb_init.py", line 211, in setup
    with telemetry.context(obj=self._init_telemetry_obj) as tel:
  File "/home/ryoto/conda/envs/materials/lib/python3.10/site-packages/wandb/sdk/lib/telemetry.py", line 43, in __exit__
    self._run._telemetry_callback(self._obj)
  File "/home/ryoto/conda/envs/materials/lib/python3.10/site-packages/wandb/sdk/wandb_run.py", line 799, in _telemetry_callback
    self._telemetry_obj.MergeFrom(telem_obj)
AttributeError: 'Run' object has no attribute '_telemetry_obj'. Did you mean: '_telemetry_flush'?

Additional Files
No response
Environment
WandB version: 0.17.6
OS: Ubuntu 22.04
Python version: 3.10
Versions of relevant libraries:
Additional Context
No response

I'm also hitting this :(

Looks like this is already fixed in #8101, but not yet released.

Setting wandb.init(mode="disabled") seems to also break the context manager usage like:
with wandb.init() as run:
  ... do training ...

``` with the same error as reported above.

I am also hitting this bug. I think it's quite critical as it prevents me from debugging my runs!

BTW: Is there any rational behind the weird API funneling everything through wand.init and having static global variables all over the place? Seems like a super smelly design decision :D.

can ok？use 0.17.7？

Jason Davenport commented: Would you mind updating your client to the latest version (0.17.7) and giving it a try? We're hopeful this should resolve the issue for you, but if you're still experiencing any problems after the update, please don't hesitate to let me know. I'm here to help make sure everything's running smoothly for you.Looking forward to hearing how it goes!

0.17.7 is ok！

Still experiencing the same error with WANDB_MODE=disabled and 0.17.7.

Me too, same error in 0.17.7.

I am also getting this with wandb.init(mode='disabled') and wandb 0.17.7

Same, upgrading to 0.17.7 did not fix it when using wandb.init(mode='disabled').
Currently i have the following snipped in my tests to mock it out explicitly.
from unittest import mock
from unittest.mock import Mock
class Dummy:
    def __enter__(self):
        return Mock()

    def __exit__(self, *args):
        pass

with mock.patch('wandb.init', return_value=Dummy()):
    # run whatever code you want to test that uses wandb.init to track experiments

Last working version is wandb==0.17.5 for wandb.init(mode="disabled")
Both wandb==0.17.6 and wandb==0.17.7 need tedious workarounds.

I also ran into this and had to revert to wandb==0.17.5.

This issue should be resolved with release wandb==0.17.8, i'm closing this issue, if the issue still persist please free to re-open

@kptkin With 0.17.8 the error message changes, but it is still broken. Please reopen.
predictors.py:138: in train
    with wandb.init(job_type="train", **wandb_kwargs) as run:
.venv/lib/python3.12/site-packages/wandb/sdk/wandb_run.py:3616: in __exit__
    self._finish(exit_code=exit_code)
.venv/lib/python3.12/site-packages/wandb/sdk/wandb_run.py:2173: in _finish
    if self._wl and len(self._wl._global_run_stack) > 0:
E   AttributeError: 'Run' object has no attribute '_wl'

@itssimon thanks! look like the core fix is to avoid reaching this code path in disabled mode. We will have a proper fix!
Thanks a lot for reporting the issue!

Why are negative optimizations often performed?
in the 0.18.1，get error raise UsageError("api key notconfiaured (no-tty). call " + directive)


Server 2016 issue with DismApi.EnableFeatureByPackageName and DismApi.DisableFeature methods

Enabling or disabling the IIS-WebServerRole feature on Server 2016 does not seem to work and results in the following error:
Object reference not set to an instance of an object.
   at Microsoft.Dism.DismApi.ThrowIfFail(Func`1 func, Int32[] successCodes)
   at Microsoft.Dism.DismApi.DisableFeature(DismSession session, String featureName,
       String packageName, Boolean removePayload, DismProgressCallback progressCallback)

Running on Windows 10 and Server 2012R2 does not produce any errors.
This is a code example for the disable :
        DismApi.Initialize(DismLogLevel.LogErrors);

        try
        {
            using (DismSession dismSession = DismApi.OpenOnlineSession())
            {
                DismApi.DisableFeature(dismSession, "IIS-WebServerRole", packageName: null,
                    removePayload: false, progressCallback: null);
            }
        }
        catch (Exception ex)
        {
            Console.Error.WriteLine("{0}\r\n{1}", ex.Message, ex.StackTrace);
        }
        finally
        {
            DismApi.Shutdown();
        }

This code example for the enable also results in a similar error on Server 2016:
        DismApi.Initialize(DismLogLevel.LogErrors);

        try
        {
            using (DismSession dismSession = DismApi.OpenOnlineSession())
            {
                DismApi.EnableFeatureByPackageName(dismSession, "IIS-WebServerRole", packageName: null,
                    limitAccess: false, enableAll: true);
            }
        }
        catch (Exception ex)
        {
            Console.Error.WriteLine("{0}\r\n{1}", ex.Message, ex.StackTrace);
        }
        finally
        {
            DismApi.Shutdown();
        }

Perhaps a legitimate error is not being returned because of a null reference in the error handling?

Even though the enable throws an exception, the call actually seems to succeed.  The disable throws an exception, but does not seem to succeed.

Believed to be fixed by #22


Where is the error log?

Ok this might be super stupid but i was unable to find where OB-client stores the logs.
Makes my connection issue quite hard to troubleshoot :)

~/.openbazaar/debug.log

I have only ob-client installed on the client machine and don't have this folder there.
Only on the ob-server machine.

Logs are configured in the OpenBazaar-Server component.
The DATA_FOLDER constant tells the server where to write its debug.log.
These are the default locations on each platform:

Windows: C:\Users\[Username]\AppData\Roaming\openbazaar\
OSX:     /Users/[Username]/Library/Application Support/OpenBazaar/
Linux:   ~/.openbazaar/


Base image deployment failure at ResourcePurchaseValidationFailed

A customer failed at base image deployment on 2022-07-06.
Image:  122140-jdk8-ol76
Error message:
 {"statusCode":"BadRequest","statusMessage":"{\"error\":{\"code\":\"ResourcePurchaseValidationFailed\",\"message\":\"User failed validation to purchase resources. Error message: 'The HTTP resource that matches the request URI 'https://storeapi.azure.com/orders/validatePurchase?api-version=2014-09-01' does not support the API version '2014-09-01'.'\"}}","eventCategory":"Administrative","entity":"/subscriptions/xxxxx-xxxx-xxxxxx/resourcegroups/abcpruebas/providers/Microsoft.Compute/virtualMachines/hcis","message":"Microsoft.Compute/virtualMachines/write","hierarchy":"xxxx"}

I encountered the similar issue once before with the following error message:
{
    "status": "Failed",
    "error": {
        "code": "ResourcePurchaseValidationFailed",
        "message": "User failed validation to purchase resources. Error message: 'The HTTP resource that matches the request URI 'https://storeapi.azure.com/orders/validatePurchase?api-version=2014-09-01' does not support the API version '2014-09-01'.'"
    }
}

However, it seems it's an intermittent issue as I can't reporduce it after that.


Safari issue

Safari Version 12.0.1 (136<IP_ADDRESS>.2)
On the left is Safari, on the right is Chrome. Before peeling.

After peeling, the bottom image position is off? or it can be fixed by some special setting?

Hi... thanks for the bug report... I had a look into this and it seems that there is a bug with safari's implementation of clip-path that specifically applies to non-rectangular SVG elements. This seems to be why the rest of the examples are working fine as they do not involve clipping with circles.
There doesn't appear to be a workaround unfortunately... in the meantime are you having an issue using this in a project or is it just the main issue in the page?

Also from the SO page, MDN seems to show SVG clipping in Safari as "no support" altogether, probably due to it being so unreliable.

I stumble upon this issue while learning to use this. No issue for me in particular.

ok well thanks for the report! I'll try to stay on top if a fix is ever released for Safari...

Hi, I found your library and I think it's brilliant, unfortunately it doesn't work properly on iPhone (also on your demo site: https://andrewplummer.github.io/peel-js/ no examples work like on desktop). I used the "overflow: hidden" property for elements with the "peel-layer" class and then everything works perfectly :)

tween?.reverse() it's not wrok