[Feature] Add "Website Visitor" Widget in Footer

Description
The current website does not display the number of visitors it has received, which could be useful for tracking engagement and performance metrics.
I would like to add a "Website Visitor" widget in the footer of the website that shows the number of visitors so far. This widget will update in real-time or upon page refresh to provide an accurate count of the total visitors.
This feature will enhance user engagement by providing visible visitor statistics and can be a useful metric for site administrators to track traffic.
Screenshots
Preview of proposed Website Visitor:

Please assign this issue to me under the gssoc label
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

@Rakesh9100 this issue can be assigned

Complete your assigned issue first in the other project @rohitinu6


Italics used as sub-section headers

Consider replacing italics with lower-depth (h4) subsection headings:
for instance, Phase 1a contains:

Reaching out to individuals and departments:
Building basic familiarity with software and software procurement:
Training and designating product owners:

and others headings which look like sub-section headings

Yes, and if the current h4 style isn't nice enough, let's work on that in the syle sheet instead.


[NOSQUASH] Resync from apache

Interested in:

https://github.com/palantir/spark/pull/271/commits/1fdfe69352e4d4714c1f06d61d7ad475ce3a7f1f pyspark spark.read.csv(Dataset<String>) api

Points to review:

paranamer bump, ref https://github.com/apache/spark/commit/01bd00d13532af1c7328997cbec446b0d3e21459
migrating conda changes to new PythonRunner file

@dansanduleac @robert3005 @mccheah @onursatici ready for review
want to get this one in and then bring in the next batch from upstream in another PR

Ok merging, @dansanduleac hope your tests of the conda stuff were good!

Next up is https://github.com/palantir/spark/pull/273


"Editor Rulers" issues in settings panel

Issue Type: Bug

open user settings panel.
find “Editor Rulers” section.
click edit in settings.json.
it automatic generate code is `"editor.rulers": [ {} ], looks not correctly.
then I change it to "editor.rulers": [80, 88, 96, 104, 112]
finally it works, but in settings panel, I got an error message Setting has an invalid type, expected “array”, FIX in JSON.

VS Code version: Code 1.45.0 (d69a79b73808559a91206d73d7717ff5f798f23c, 2020-05-07T15:57:33.467Z)
OS version: Darwin x64 19.4.0

@roblourens Giving to you to investigate. Here is how the setting is defined:
https://github.com/microsoft/vscode/blob/756e105ee4f12330c454eb2b61fca10c35b6ced8/src/vs/editor/common/config/editorOptions.ts#L2714-L2740

Perhaps #97192 which looks like it'll get fixed in the recovery

I change my settings to "editor.rulers": [ {"column":80}, {"column":88}, {"column":96}, {"column":104}, {"column":112} ], now it shows no more errors. Should this change been update to the document?

Duplicate of https://github.com/microsoft/vscode/issues/97192


Port back release changelog changes

Pull back the changes for release

Codecov Report

Merging #9008 (f477ec1) into main (1548181) will increase coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #9008   +/-   ##
=====================================
  Coverage     70%     70%
=====================================
  Files        382     382
  Lines      24660   24660
  Branches    3997    3997
=====================================
+ Hits       17398   17479   +81
+ Misses      5657    5565   -92
- Partials    1605    1616   +11

Impacted Files
Coverage Δ

...ent/datascience/jupyter/kernels/kernelExecution.ts
67% <0%> (-6%)
:arrow_down:

...lient/datascience/jupyter/kernels/cellExecution.ts
73% <0%> (-1%)
:arrow_down:

...t/datascience/notebook/vscodeNotebookController.ts
79% <0%> (+<1%)
:arrow_up:

src/client/datascience/commands/commandRegistry.ts
40% <0%> (+<1%)
:arrow_up:

...science/jupyter/kernels/kernelConnectionWrapper.ts
27% <0%> (+<1%)
:arrow_up:

src/client/datascience/baseJupyterSession.ts
75% <0%> (+<1%)
:arrow_up:

src/client/datascience/jupyterDebugService.ts
17% <0%> (+1%)
:arrow_up:

...client/datascience/commands/activeEditorContext.ts
94% <0%> (+1%)
:arrow_up:

src/client/common/process/pythonDaemonPool.ts
76% <0%> (+1%)
:arrow_up:

...ent/datascience/progress/kernelProgressReporter.ts
74% <0%> (+2%)
:arrow_up:

... and 24 more


Dependency management issue of composite builds

Expected Behavior:

my plugin use dependency management block for versions of dependencies which are used in my plugin
dependencyManagement {   dependencies {       dependency 'com.google.guava:guava:30.1.1-jre'   } }

include my plugin via plugin management block to app
`pluginManagement {
repositories {
gradlePluginPortal()
}
includeBuild("../../libs/myplugin")
}`

apply plugin in plugins block
plugins {   id("myplugin.greeting") }

Current Behavior:
I get an exception 'Could not find com.google.guava:guava:.'
Separately, the plugin was assembled successfully.
Steps to Reproduce:
To reproduce you can find code here https://github.com/vitaliyGoncharenko/gradle-composite-builds.
You should build myapp.
Build scan URL:
https://gradle.com/s/m5pgfuzmy4beu

Thank you for your interest in Gradle!
Your issue appears to be a question about how to use Gradle. Your question might be better answered on our forums or StackOverflow. We have several resources on help.gradle.org that you should check out first.
If you think you have come across a Gradle bug, please file a new issue describing the problem and how to reproduce it.
If you think Gradle is missing a feature, please file a new issue describing your use case for the feature.

When resolving plugins across included builds, the resolution context is the one of the resolving project. It consumes publications from the plugins build. The spring dependency management plugin only affects the project it is applied to.
I order to fix your use case you should tell your plugin build to publish resolved dependencies version.
See https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven:resolved_dependencies Unfortunately the spring-dependency-management plugin doesn't work with composite builds.
Another avenue would be to not use the spring-dependency-management plugin but the Gradle's built-in support for BOM which is supported in composite builds. To achieve that you would need to add a platform project to your plugin build to declare dependencies, and then use the bom in the plugin build. See https://docs.gradle.org/current/userguide/platforms.html#sub:bom_import

@eskatos how to use composite build along with BOM in gradle? it's failing, and there's no documentation regarding this, whether it's possible or not, can you please help?


fix(scripts): run the main and dependency pkg scripts on the same terms

Use the same set of environment variables when running the main package scripts and the dependencies package scripts.
close #319

merged


Document config system

List of Changes

Created a new section inside Reference
Documented all private modules classes methods within the config sub package
renamed the config subpackage from manim/config to manim/_config, and the logger module from manim/_config/logger.py to manim/_config/logger_utils.py. This is made so that there are no longer two objects with the same name (the global config object and the config package, and the global logger object and the logger module. This was screwing up with the docs build.)

Testing Status
Tests and docs build. Doctests do not pass. @behackl could you help me here? I'm not familiar with them and I tried fixing them, with no success.
Further comments
I am marking this as draft for now so that others can chime in as I keep working on it. My next step is to write a tutorial document on configuring manim.

Ignore the extraneous commits, I had to merge from master twice.

When doctests are executed, a new Python intrrpreter is spawned to execute the lines. I think adding from manim import config as the first line should resolve it.

Ok I believe I fixed the main issues. However, there are a couple of doctests whose output depends on the system. Pathlib will return a PosixPath on linux but a WindowsPath on windows. Haven't found a way of making these pass on both systems.

Alright this is ready for review @ManimCommunity/docs. Still can't fix the Windows problem.
Minor changes:

I created a new section in the Reference index
Changed the TOC of the Tutorials index
Updated the changelog

Major changes:

Configuration tutorial
Module docstrings here and here
ManimConfig class docstring

Thanks @behackl it worked!
Now for sure ready for review.

@ManimCommunity/docs

I believe they come from the time I merged from mssteem the diff is shown
with respect to the commit at which I started the branch,  not to the
current master.
On Thu, Nov 5, 2020, 4:13 AM kolibril13<EMAIL_ADDRESS>wrote:

@kolibril13 commented on this pull request.
In tests/helpers/path_utils.py
https://github.com/ManimCommunity/manim/pull/659#discussion_r517897097:

@@ -0,0 +1,5 @@
+from pathlib import Path

+def get_project_root() -> Path:

return Path(file).parent.parent.parent

also from another pr
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManimCommunity/manim/pull/659#pullrequestreview-524059246,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAILYAHMQBJX2WYSI6LLWUTSOJUDVANCNFSM4TGIL5CA
.

ok, I see. But then I am confused that the difference shows that tests/helpers/path_utils.py. As this file already exists at master, it should not be shown as added. Strange... But merging master into this commit would solve that, right?

I'm not sure to be honest. Also, I'm much more interested in your thoughts
about the actual documentation I wrote than in having the commits organized
:)
I know our commit history is already messy as it is, but the more we delay
review of this PR, the more times I will have to merge from master and the
messier it will become!
On Thu, Nov 5, 2020 at 8:12 AM kolibril13<EMAIL_ADDRESS>wrote:

ok, I see. But then I am confused that the difference shows that
tests/helpers/path_utils.py. As this file already exists at master, it
should not be shown as added. Strange... But merging master into this
commit would solve that, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManimCommunity/manim/pull/659#issuecomment-722369137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAILYAHIRKI76A7URHCZMNTSOKQD3ANCNFSM4TGIL5CA
.

--
www.leotrs.com |<EMAIL_ADDRESS>PhD candidate at the Network Science Institute, Northeastern University

I'm not sure to be honest. Also, I'm much more interested in your thoughts about the actual documentation I wrote than in having the commits organized :) I know our commit history is already messy as it is, but the more we delay review of this PR, the more times I will have to merge from master and the messier it will become!
…
On Thu, Nov 5, 2020 at 8:12 AM kolibril13 @.***> wrote: ok, I see. But then I am confused that the difference shows that tests/helpers/path_utils.py. As this file already exists at master, it should not be shown as added. Strange... But merging master into this commit would solve that, right? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#659 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAILYAHIRKI76A7URHCZMNTSOKQD3ANCNFSM4TGIL5CA .
-- www.leotrs.com |<EMAIL_ADDRESS>PhD candidate at the Network Science Institute, Northeastern University

Good point!
I asked only to know what actually is code that needs to be reviewed and what code is already in master, so that I know what to review.
But I will try figure that out myself :)

See here

Just saw that in https://manimce--659.org.readthedocs.build/en/659/tutorials/configuration.html
we still have this:

Moreover, I think a short diagram would be nice to show that there are three options to set configurations: 1. CLI flags, 2. config file, 3. config.sssommething..

https://manimce--659.org.readthedocs.build/en/659/reference/manim._config.html#module-manim._config

Why is there this "True" parameter?

Why is there this "True" parameter?

Good call, I fixed that and turned it into a doctest.

The background opacity flag was removed from a PR after this one. So when this is merged that should work itself out.

I am a fan of graphical mnemonics, so I created this here:

What do you think?
you can edit it here:
https://drive.google.com/file/d/1WYVKKoRbXrumHEcyQKQ9s1yCnBvfU2Ui/view?usp=sharing

And I just saw we still have
--background_opacity
background_opacity = 1
in default.cfg.
Can we remove this?

And one more thought, maybe for a future pr,
at the moment, it is possible to run scenes like this:
from manim import *
from manim import config
import matplotlib.pyplot as plt
class Example(Scene):
    def construct(self):
        circle = Circle()
        self.add((circle))

config["write_to_movie"] = False
config["save_last_frame"] = True
scene = Example()
scene.render()
data = scene.renderer.get_frame()
plt.imshow(data)
plt.show()

I think this is quite cool, and could maybe also be included somewhere in the docs.

I am a fan of graphical mnemonics, so I created this here:
What do you think?

This looks good to me, and it would be a fine addition. However, right now I'm not sure what the diagram is conveying. The arrows seem to follow the ways of setting the config in increasing order of precedence. But since the structure of the diagram is linear, just a simple linked list would do, no? If so, I don't see how this diagram, in its current iteration, is better than the itemized list currently in the "Order of operations" section in the new tutorial.
What I would love to see instead is a flowchart that users can follow to decide which way of manipulating the config is the best, with forking paths and all. For example this could include a decision diamond with the question "does the config option you want to manipulate have a CLI flag?" and then presenting different choices depending on the answer yes/no.

And one more thought, maybe for a future pr,
at the moment, it is possible to run scenes like this:
I think this is quite cool, and could maybe also be included somewhere in the docs.

I think this is more about the render() method of Scene rather than the config system. So I'd put it in that class.

And I just saw we still have
--background_opacity
background_opacity = 1
in default.cfg.
Can we remove this?

No. There still is a config option for background opacity, just not a CLI flag anymore. The options in default.cfg serve as default values for all config options, not only the CLI flags.


How restart php7?

How restart php7?

./uninstall.sh  php7
./install.sh  php  y

Hi bro, not uninstall, how restart service of php7...


[build] add cmake option for generating .map files

This adds the CMake option OT_LINKER_MAP which will generate .map files for any executables built when the option is ON.
This should be functionally equivalent to the Makefile option OPENTHREAD_ENABLE_LINKER_MAP
To test:
matran@matran-ubuntu in ~/openthread
$ rm -rf build/ && ./script/cmake-build posix -DOT_LINKER_MAP=ON
...
OPENTHREAD_CONFIG_FILE=openthread-core-posix-config.h
OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1
[862/862] Linking CXX executable tests/unit/ot-test-tlv

matran@matran-ubuntu in ~/openthread
$ find build -type f -name '*.map'
build/posix/ot-cli.map

@jwhui Can you review when you get a chance?


APEXCORE-415 #resolve #comment Fixed double checkpointing bug in Inpu…

…tNode.

@PramodSSImmaneni  please review

Travis failure unrelated to my change. All tests pass on my local machine

@davidyan74 Please review

@ilooner Does this only happen in the InputNode? How about overriding the checkpoint() method in the InputNode for setting and checking for lastCheckpointWindowId without modify the rest of the code?

@davidyan74 I think this check happens for other nodes but is not happening for InputNode

@davidyan74 There was a similar bug in Generic Node which I fixed and got merged before. The problem happens when The Operator CheckpointWindowCount is a multiple of the Dag CheckpointWindowCount. In that case the operator is checkpointed on receiving the endWindow tuple and the checkpoint tuple for the same window. When that happens AsyncFSStorageAgent throws an exception because there are two threads trying to move the same file.

@ilooner @PramodSSImmaneni  I see. Then shouldn't this change be in Node?

How about having the flag in CheckPoint function which decides whether to overwrite the existing checkpoints or not ?

@ilooner Change looks good, can you add a test.

@davidyan74 Will need a lot more refactoring to handle in Node as control tuples are being processed in the specific Node types.

@PramodSSImmaneni will add test

@sandeshh as @ilooner mentioned this shouldn't be happening in the first place so I don't think we would need a flag

@PramodSSImmaneni I am for having both the changes in.

@PramodSSImmaneni @davidyan74  I have added tests. @davidyan74 I don't think your suggestion would work because it does not account for the ProcessMode and doCheckpoint variable interactions. I would like to maintain the same pattern for handling this corner case as existed previously in order to avoid unintended bugs. The code can be refactored down the road after more tests and documentation are introduced.

@ilooner OK


ci(actions): update renovatebot/github-action action to v38.1.0

This PR contains the following updates:

Package
Type
Update
Change

renovatebot/github-action
action
minor
v38.0.0 -> v38.1.0

Release Notes

renovatebot/github-action
v38.1.0
Compare Source
Features

add mount-docker-socket option (#749) (7c65b94)

Documentation

fix typo in readme "table of contents" (#754) (110eebd)

Continuous Integration

deps: update renovate docker tag to v35.102.0 (da15a1b)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.1.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


A Parser-blocking, cross-origin script on annyang demo website

Hi,
i wanted to try the online demo , on the console i get the following log
include.preload.js:465Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/4668884095336448 for more details.
(index):19 A Parser-blocking, cross-origin script, https://cdnjs.cloudflare.com/ajax/libs/annyang/2.5.0/annyang.min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
i searched on google , and it seems because google changed few thing in google chrome , and my connection is fast enough
So how to get it to work ?

Thanks for bringing this to my attention.
I just fixed this in 675f0ebbe51deb4b5e8ff3cc1320bfc5d7495ff8


Cannot install Bubblewrap on Crostini on version 14.x

Describe the bug
Bubblewrap cannot be installed on version 14 of nodejs in Crostini or Debian.
To Reproduce
Steps to reproduce the behavior:

Get a GCloud Debian instance or load Crostini on a Chromebook
Install nodejs version 14.
Try to install bubblewrap with the command sudo npm i -g @bubblewrap/cli or npm i -g @bubblewrap/cli

Expected behavior
Bubblewrap installs correctly.
Actual Behavior
nohe@penguin:~$ sudo npm i -g @bubblewrap/cli
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
/usr/bin/bubblewrap -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build'
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/14.14.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir<EMAIL_ADDRESS>gyp ERR! System Linux 5.4.58-07649-ge120df5deade
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build"<EMAIL_ADDRESS>"--module_name=canvas" "--module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
gyp ERR! cwd /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
gyp ERR! node -v v14.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build<EMAIL_ADDRESS>--module_name=canvas --module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/@bubblewrap/cli/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Linux 5.4.58-07649-ge120df5deade
node-pre-gyp ERR! command "/usr/bin/node"<EMAIL_ADDRESS>"install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
node-pre-gyp ERR! node -v v14.14.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build<EMAIL_ADDRESS>--module_name=canvas --module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-26T14_40_19_604Z-debug.log

Desktop (please complete the following information):

OS: Chrome OS
Version Stable 86

Additional context
Works on version 12.18 of nodejs

@nohe427 can you paste the error you get when running without sudo?
Also, seems related to this: https://github.com/nodejs/node-gyp/issues/1236#issuecomment-309401410
Probably worth trying:
npm i -g @bubblewrap/cli --unsafe-perms
and
sudo npm i -g @bubblewrap/cli --unsafe-perms
PS: Tried running in different devices (including a headless debian), but unable to repro.

Sure, here are the results from running a few tests:
node -v:
nohe@penguin:~$ node -v
v14.15.0

sudo npm i -g @bubblewrap/cli results:
nohe@penguin:~$ sudo npm i -g @bubblewrap/cli
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
/usr/bin/bubblewrap -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build'
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/14.15.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir<EMAIL_ADDRESS>gyp ERR! System Linux 5.4.72-10084-g023bf751fdc7
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build"<EMAIL_ADDRESS>"--module_name=canvas" "--module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
gyp ERR! cwd /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
gyp ERR! node -v v14.15.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build<EMAIL_ADDRESS>--module_name=canvas --module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/@bubblewrap/cli/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Linux 5.4.72-10084-g023bf751fdc7
node-pre-gyp ERR! command "/usr/bin/node"<EMAIL_ADDRESS>"install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
node-pre-gyp ERR! node -v v14.15.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build<EMAIL_ADDRESS>--module_name=canvas --module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-28T13_48_46_469Z-debug.log

npm i -g @bubblewrap/cli:
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/lib/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/nohe/.npm/_logs/2020-10-28T13_50_58_647Z-debug.log

npm i -g @bubblewrap/cli --unsafe-perms
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/lib/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/nohe/.npm/_logs/2020-10-28T13_52_29_662Z-debug.log

sudo npm i -g @bubblewrap/cli --unsafe-perms
nohe@penguin:~$ sudo npm i -g @bubblewrap/cli --unsafe-perms
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
/usr/bin/bubblewrap -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build'
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/14.15.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir<EMAIL_ADDRESS>gyp ERR! System Linux 5.4.72-10084-g023bf751fdc7
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build"<EMAIL_ADDRESS>"--module_name=canvas" "--module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
gyp ERR! cwd /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
gyp ERR! node -v v14.15.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build<EMAIL_ADDRESS>--module_name=canvas --module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/@bubblewrap/cli/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Linux 5.4.72-10084-g023bf751fdc7
node-pre-gyp ERR! command "/usr/bin/node"<EMAIL_ADDRESS>"install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas
node-pre-gyp ERR! node -v v14.15.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build<EMAIL_ADDRESS>--module_name=canvas --module_path=/usr/lib/node_modules/@bubblewrap/cli/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-28T13_53_07_135Z-debug.log

At this point, I decided to install NVM to try the non-sudo route on Crostini:
 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
nvm install 14.15
nvm use 14.15
npm i -g @bubblewrap/cli

Result :
nohe@penguin:~$ npm i -g @bubblewrap/cli
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
/home/nohe/.config/nvm/versions/node/v14.15.0/bin/bubblewrap -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /home/nohe/.config/nvm/versions/node/v14.15.0/lib/node_modules/@bubblewrap/cli/node_modules/canvas
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[canvas] Success<EMAIL_ADDRESS>is installed via remote

><EMAIL_ADDRESS>postinstall /home/nohe/.config/nvm/versions/node/v14.15.0/lib/node_modules/@bubblewrap/cli/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

+<EMAIL_ADDRESS>added 330 packages from 387 contributors in 26.008s

Looks like just by using NVM, I got the help I needed.
I imagine this may have something to do with me not installing nodejs as a root user and rather just sudo'ing away.

Just tested by installing nodejs as root and after doing a few :
sudo chown -R $USER /usr/local/lib/node_modules
and
sudo chown -R $USER /usr/bin
I can install bubblewrap no problem

So, this is not a Bubblewrap issue, but something related to the user node_modules being configured to a global directory. This SO issue: https://stackoverflow.com/questions/33725639/npm-install-g-less-does-not-work-eacces-permission-denied

Yup, sounds reasonable. I think we could close this. What do you think?

I don't think there's much we can do here. Adding this to an FAQ somewhere is the only thing that comes to my mind.

Sgtm. Will close


Error list: filter needs more UX love

Open the error list filter and notice:

input box has a black outline - seems out of style compared to our other input boxes
input box pushes the tree lower - leaving the space above the tree empty. I find this strange and not elegant
'Type to Filter' seems like a strange message, in the find widget we just say 'Find' not 'Type to Find'

ping @stevencl @bgashler1

The collapse all icon is a little weird as well, similar but inconsistent with the close all button in open editors and also easily mistaken for it. Plus the - is blue:

@Tyriar This is the same button that is also used in Search view and Explorer view.

Moved filter box to the title bar which fixed the mentioned issues in the description.


Can't use  to switch to NERDtree in Neovim

When NERDtree is open I can switch out of the NERDtree pane by pressing <C-l> but I can't switch back into the NERDtree pane with <C-h>. I have to use <C-w>h.
I'm using the latest version of vim-tmux-navigator and have the latest code from the README in my .tmux.conf. I'm using tmux 2.2 and Neovim 0.1.3.
Any ideas?

But other windows work fine?

Oy. No, NERDtree was a red herring. <C-h> doesn't work at all in a Neovim window. It behaves just like h (moves one character to the left). I checked :map and don't see any conflicts. :map <C-h> returns the following:
n  <C-H>       * :TmuxNavigateLeft<CR>

It works as expected in tmux windows that aren't running Neovim.

I can confirm this issue. Happens only in neovim, regular vim works fine. Something to note, when I hit , the bottom status line displays :noh.

I believe this is purely a neovim issue, not something specific to this plugin. https://github.com/christoomey/vim-tmux-navigator/issues/71 covers it in detail, with our final resolution being https://github.com/christoomey/vim-tmux-navigator/issues/71#issuecomment-202422963.
@geoffharcourt quick ping on closing out that issue and adding something to the readme while we wait for neovim to fix itself, when you get a minute?
I'm going to close this issue as I believe https://github.com/christoomey/vim-tmux-navigator/issues/71 better covers it, and unfortunately there is not much we can do from the plugin itself. Please feel free to comment or reopen if there is something I missed.

Thanks for your reply and sorry for duplicating the previous issue!

No worries! Keep an eye on the other issue as we'll likely track the broader neovim issue there.


Please help

Hi  Apocalyptech
we are using bl3 command line save editor
we are using bl3-save-edit 1bkpymallweapanoints.sav 1apo2.sav  --import-items  new.txt
The problem we are facing is instead of copying items from text file,  bl3-save-edit  also copies mission data,  challenge data and  even character name/class  from old save file to new save file
my grand daughter only needs items to be copied leaving the rest untouched
Thank You
Kris

import-items just imports items into a savefile. All the state of the original savefile, including the mission data is maintained. You need to start a new game or TVHM to "reset" the missions. Or remove individual missions.

Hi Apocalyptech
Please remember my grand daughter has made 60% progress on new amara save file and cannot affordto loose progress by starting a new game or tvhm reset missions
we used amara save as new save file and zane as old save file
After cli-editor completed successfully,  she loaded bl3 with amara save and amara had been replaced by zane in main menu and ingame and amara mission progress had been lost
zane had replaced amara in every screen
Please refer to log
bl3-save-edit 1bkpymallweapanoints.sav 1apo.sav -i new.txt --allow-fabricator
WARNING: 1apo.sav already exists.  Overwrite [y/N]? y
Loading 1bkpymallweapanoints.sav
Making requested changes...

Importing items from new.txt

Hellwalker (level 72)
Blue Vladof AR (level 72)
Purple Artifact (level 72)

Wrote savegame to 1apo.sav
Please help us
Thank You
Kris

Hello -- The item-import function won't transfer any character or mission info.  All it does is import weapons.  Are you sure that 1bkpymallweapanoints.sav was your granddaughter's Amara save file?  The command you posted would take 1bkpymallweapanoints.sav, add in those three items (Hellwalker, Vladof AR, Artifact), and save it out as 1apo.sav.  The first savegame in the list is the "base" that gets added onto.

Hi Apocalyptech
Thank You for your advise
we could not understand to which save items will get added
we will try again
Thank You Again
Kris

Hi Apocalyptech
My grand daughter has a problem using standalone third person hotfix mod
She need to adjust camera distance from character because of her medical problem
But we do not know how x, y, z positive and negative values change camera position forward / backward,  higher / lower and right / left  from character
Please let us know
Thank You
Kris

But we do not know how x, y, z positive and negative values change camera position forward / backward, higher / lower and right / left from character

Sorry, I've got no experience with the third-person mod!  The Z axis should be up/down, though, and I believe negative is generally lower.

Hi Apocalyptech
Thank You for all  help  again
Kris


resolve_hostname function to resolve host:port pairs

I needed to resolve udp hostname (ip:port) manually, so i could send udp packets to hostnames specified from command line.
Is it good enough to merge in?

Good addition. I can't believe that nobody had issues with the resolve function being clearly broken. I'm not 100% on the name of the new function, I'll take some time to think about it and then I'll release this in 0.4. Since the resolve function was broken and nobody reported it, I'm guessing no one used it, so we might be able to break the API here and rename the functions to resolve_ip and resolve_addr and have a clean API.

I've released this in 0.4.0. I've renamed the functions a bit.

Now when i think about it, often when we resolve hostnames we want to specify default port if one is absent. What you think about it?

That's probably outside the scope of this crate.

tokio-dns helps reduce boilerplate when passing user hostname argument to tokio server/clients. Really often you want to have default port, it's nearly in every software. You say ftp://hostname and it substitute default port, same for www, same for many games.
Default port when one is absent sounds like good fit to me.

It does hostname resolution, it doesn't deal with protocols in any way. If you pass ftp://google.com or http://google.com it will fail. It doesn't know anything about URLs.

No no no, just default port.
Say you can
// Will give us socket addr with default web port
tokio_dns::resolve_ip_addr_with_port("rust-lang.org", 80);
// Won't give us default port because user specified port explicitly
tokio_dns::resolve_ip_addr_with_port("rust-lang.org:443", 80);

this way i could do
mytelnet example.com
mytelnet example.com:443


[FEATURE]: Animation on Added by section

Description
make an animation such as:
the added by section will pop up from the back side of the generate quote button.
dont use any thirt party package or library for the animation,
use your raw css skill to do it.
Screenshots.

Additional information
No response
Code of Conduct

[X] i have read the contribution guideline
[X] I checked and didn't find similar issue

Are you willing to work on this issue ?
None

I would like to do it.


bring back torch.autograd.Function for float8 matmul

Stack from ghstack (oldest at bottom):

#346
#345
-> #344

Summary:
This is a redo of
https://github.com/pytorch-labs/float8_experimental/pull/316
With upcoming support of scaling granularities other than tensorwise,
we need a good way to control which gemm kernel to call and how to scale
the input tensors in fwd and bwd. A torch.autograd.Function override
is the cleanest way to do that, and in 2024 this now works with
torch.compile.
Test Plan:
./test/test_everything.sh

Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D60291446

@vkuzo has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@vkuzo has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@vkuzo has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.


Include arbitrary headers with a request

This allows any arbitrary header to be set for a given request. As an example, many HTTP APIs, particularly commercial HTTP APIs, require opaque authentication tokens to be set in the headers, instead of the more familiar bearer tokens.
Added the following flag:

-H
--header

Must be in the text format key: value and can be specified multiple times to include multiple headers.
Example request:
$ hopp-cli get -H 'X-Api-Key: foobar' -H 'X-Api-Secret: super_secret' https://example.com/api/v1/accounts

Hey @gbmor there seems to be a conflict from the main branch. If you  could resolve it too would be great 😄

@athul resolved (it was the changes to README.md in this and my other PR you just merged)


DNN trainer error on varying batch sizes during optimization

Hello! First of all, thanks for this library. It is really useful and makes the everyday developments much easier for me!
Expected Behavior
I use dlib/dnn package to process vector sequences of different length. During optimization the network parameters could be updated after processing a sequence: evaluate the network on sequence, compute gradient and finally backpropagate error with my own loss function. In dlib terminology, one sequence will be a mini-batch, and therefore, every mini-batch could have different size than the previous one. Furtunately, the dnn_trainer class train_one_step() member function makes the implementation easy, but it fails in several cases.
Current Behavior
First call of train_one_step() is always executed as expected. If next call has different mini-batch size, then the call fails depending on the following circumstances: i) type of the first layer on input, ii) numbers of gpu devices.
Steps to Reproduce
Consider the following short C++ sample code. It generates a regression task with random 28x28 images and labels. The network applies an arbitrary layer on the input, then a simple full connected regression output. Network optimization is done through several epoch with (varying size) mini-batches and Adam optimizer.
#include <dlib/dnn.h>
#include <vector>

using namespace dlib;

#define MINI_BATCH_SIZE_MIN 128
#define MINI_BATCH_SIZE_MAX 1024

// works as first layer: con<1,1,1,1,1, tag1<
// throws error or core dumped as first layer: affine< bn< dropout< htan< relu< sig< etc.
#define FIRST_LAYER relu<

using net_type = loss_mean_squared<fc<1,fc<256,
        FIRST_LAYER
        input<matrix<double>>>>>>;

#define GPU_DEVICE_LIST {0}

// testing non-constant batch size training
int main(int argc, char** argv)
{
	int epoch;
    dlib::rand rnd(time(0));

    // create a random "corpus"
    std::vector<matrix<double>> samples;
    std::vector<float> labels;

    while (samples.size()<MINI_BATCH_SIZE_MAX)
    {
    	samples.push_back(randm(28,28,rnd));
    	labels.push_back(rnd.get_random_float());
    }

    // create a net and prepare trainer
    net_type net;
    dnn_trainer<net_type,adam> trainer(net,adam(0.0005, 0.9, 0.999),GPU_DEVICE_LIST);

    trainer.set_learning_rate(1e-4);
    trainer.set_learning_rate_shrink_factor(1.0);
    trainer.be_quiet();

    // train
    for(epoch=0; epoch<25; epoch++)
    {
    	// update network with a random sized mini-batch
    	int mini_batch_size=MINI_BATCH_SIZE_MIN+(MINI_BATCH_SIZE_MAX<=MINI_BATCH_SIZE_MIN ? 0 : rnd.get_random_32bit_number()%(MINI_BATCH_SIZE_MAX-MINI_BATCH_SIZE_MIN));
    	trainer.train_one_step(samples.begin(), samples.begin()+mini_batch_size, labels.begin());

    	// show something...
		std::cout << "epoch " << epoch+1 << ", loss: " << trainer.get_average_loss() << std::endl;
		trainer.clear_average_loss();
	}
	trainer.get_net();

	// done
	return 0;
}

In the example directory of dlib, it could be easily compiled without any extra dependencies, for example:
g++ -std=c++11 -O3 -I.. ../dlib/all/source.cpp -lpthread -lX11 main.cpp

When mini-batch size is constant in every epoch (i.e. MINI_BATCH_SIZE_MIN and MINI_BATCH_SIZE_MAX is equal), any layer could be used as FIRST_LAYER on input. But, when mini-batch size is varying epoch to epoch, only convolution and tagged layer is working in recent dlib versions, from version 19.11.
Dlib versions until 19.10 are working with any layer type on one GPU, but if we use multi-gpu environment (i.e. GPU_DEVICE_LIST contains more device ids) there is no version and layer, which could run without error.

Version: 19.4 - 19.14
Where did you get dlib: github repo
Platform: CentOS 7; CUDA 9.1.85; CuDNN <IP_ADDRESS>
Compiler: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)

Oops, that's not right :)
Thanks for reporting this.  I just pushed the fix so it should all be working again.

That's excellent! Thank you for the incredible quick fix!


Powershell command

How about a simple Powershell command:
Get-CimInstance Win32_SystemDriver -Filter "name='your_driver_name'" |
Invoke-CimMethod -MethodName Delete

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

ID: c05d6a6d-434c-538a-d000-3a96236e6bff
Version Independent ID: 3314e31f-5c06-4694-f40a-c29692681c4e
Content: Using an INF File to Uninstall a File System Filter Driver - Windows drivers
Content Source: windows-driver-docs-pr/ifs/using-an-inf-file-to-uninstall-a-file-system-filter-driver.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

@briancatlin, I added your PowerShell option - thank you!


⚠ Avatar API Endpoint has degraded performance

In 032e638, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 4262 ms

Resolved: Avatar API Endpoint performance has improved in 33bb2db after 34 minutes.


What is 'will be cast to bool' mean?

Hello, I am using tf.keras.metrics and confuse with the annotation for y_true in the source code:
def update_state(self, y_true, y_pred, sample_weight=None):
    """Accumulates true positive and false positive statistics.
    Args:
      y_true: The ground truth values, with the same dimensions as `y_pred`.
        Will be cast to `bool`.
      y_pred: The predicted values. Each element must be in the range `[0, 1]`.
      sample_weight: Optional weighting of each example. Defaults to 1. Can be a
        `Tensor` whose rank is either 0, or the same rank as `y_true`, and must
        be broadcastable to `y_true`.

What is the meaning of  Will be cast to bool?  I want to see the precision of each step, does it means that I can use it on a float model output(0~1) and it will  change it to 0 or 1 by threshold both for y_true and y_pred?  But the demo below shows a different case.
import tensorflow as tf

y_true = [0, 1, 0.6, 0]
y_pre =  [1, 1, 0.3, 1]

ms_name = ['TruePositives', 'TrueNegative', 'FalsePositives', 'FalseNegative']
ms = [
    tf.keras.metrics.TruePositives(), tf.keras.metrics.TrueNegatives(),
    tf.keras.metrics.FalsePositives(), tf.keras.metrics.FalseNegatives()
]
for m_name, m in zip(ms_name, ms):
    m.update_state(y_true, y_pre)
    res = m.result().numpy()
    del m
    print('\n', m_name, res)

metric_name = ['precision']
metrics = [tf.keras.metrics.Precision(0.1)]

for m_name, m in zip(metric_name, metrics):
    m.update_state(y_true, y_pre)
    res = m.result().numpy()
    del m
    print('\n', m_name, res)

@swpper
Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!

您好，邮件我已收到，我会尽快查收，谢谢!

@sushreebarsa OK


Binary operator '|=' cannot be applied to two 'UIAccessibilityTraits' operands in swift 4.2

Before submitting issues ...

Make sure you are using XLPagerTabStrip latest release or master branch version.
Make sure your Xcode version is the latest stable one.
Check if the issue was already reported or fixed. We add labels to each issue in order to easily find related issues. If you found a match add a brief comment "I have the same problem" or "+1".
Please do not use the issue tracker for personal support requests. Stack Overflow is a better place for that where a wider community can help you!

When submitting issues, please provide the following information to help maintainers to fix the problem faster:

Environment: XLPagerTabStrip, Xcode and iOS version you are using.
In case of reporting errors, provide Xcode console output of stack trace or code compilation error.
Any other additional detail such as example code that you think it would be useful to understand, reproduce and solve the problem.

I also encountered this error when pulling the 8.0.1 release. Updating my pod to:
pod 'XLPagerTabStrip', :git => 'https://github.com/xmartlabs/XLPagerTabStrip', :branch => 'master'
fixed the problem. This should stopgap for anyone else until the next release

@henryw14 Thanks!

Fixed in 8.1.0


NullReferenceException in UniversalUnityHooks.AssemblyHelper.FetchAndLoadAll() when more than one dlls in Plugins folder

I tried to make a plugin for Broke Protocol but UUH throws exception when I'm trying to run it with my plugin and BP-Essentials. If I use only one of them everything is ok.
Console output:
 WAIT     Loading in assembly BP_Essentials.dll..
 WAIT     No add method attributes were found. (63ms)
 INFO     Attributes found of type HookAttributes: 20 (65ms)
 SUCCESS  Loaded in assembly and 20 attribute(s) in 65ms

 WAIT     Loading in assembly NoApartmentsHiding.dll..
 WAIT     No add method attributes were found. (0ms)
 INFO     Attributes found of type HookAttributes: 2 (0ms)
 ERROR    Ссылка на объект не указывает на экземпляр объекта.
StackTrace:   в UniversalUnityHooks.AssemblyHelper.FetchAndLoadAll()

 SUCCESS  Total of 20 attribute(s) have been loaded in.

My code (there is also Variables.cs but it is just some globals):
using UniversalUnityHooks;

namespace NoApartmentsHiding
{
    public static class Hooks
    {
        [Hook("SvPlayer.SvEnterPlace")]
        public static bool SvEnterPlace(SvPlayer svPlayer, ref int door, ref ShPlayer shPlayer)
        {
            if (shPlayer.wantedLevel > Variables.MaxWantedLevel && svPlayer.entity.manager.FindByID<ShDoor>(door) is ShApartment)
            {
                svPlayer.SendMessage($"<color={Variables.MessageColor}>{Variables.CantEnterMessage}</color>");
                return true;
            }
            return false;
        }

        [Hook("SvPlayer.SvInvite")]
        public static bool SvInvite(SvPlayer svPlayer, ref int targetId)
        {
            var target = svPlayer.entity.manager.FindByID<ShPlayer>(targetId);
            if (target.wantedLevel > Variables.MaxWantedLevel)
            {
                svPlayer.SendMessage($"<color={Variables.MessageColor}>{string.Format(Variables.CantInviteMessage, target.username)}</color>");
                return true;
            }
            return false;
        }
    }
}

Useful info:

I'm using .NET Framework 4.7.2
Latest version of UUH and BPE

Will reproduce in a few hours. Thanks for reporting this issue!


Quote does not auto close

For example, typing ", shall give "", however, only a single " is shown.

Is this an issue only on the extension or general with "editor.autoClosingQuotes": "always"

for me quote could not auto close whatever set "editor.autoClosingQuotes" to "always" or "lanaguageDefined".
solidity extension version:v0.0165
vscode:1.84.0


Boolean view customisations should be configurable via Settings menu

Feature request based on https://github.com/dbeaver/dbeaver/issues/9327

WE also need to configure NULL booleans representation (as NULL or as third boolean state).

Now booleans view can be configured.
However it is still "textual checkbox" by default.

Also, let's try to use ASCII chars instead of fancy Unicode boxes.
[X], [ ] and [NULL]
If you have any better idea please suggest. Maybe this also should be configurable?

Fixed. + textboxes view added (in addition to unicode characters)

verified

Wow!
Thank you BIGGEST very much!
Thanks for work-throug about
Gonna recommend DBeaver also for pathient customer intercommunications

Just IMHO:
boolean [ X ] cell-depicted-value as true for me looks odd. 'X' - is crossing, like negate. [ V ] - for 'true' seems more fit (as so as column header shows):
[v] column_name
================
BEST regards!

Wow!
Thank you BIGGEST very much!
Thanks for work-throug about
Gonna recommend DBeaver also for pathient customer intercommunications

Just IMHO:
boolean [ X ] cell-depicted-value as true for me looks odd. 'X' - is crossing, like negate. [ V ] - for 'true' seems more fit (as so as column header shows):
[v] column_name
================
BEST regards!

Agree with @ghYura regarding [X] being true is a bit off (especially because Booleans view: Checkboxes render a box with a cross for NULL values).

Agree with @ghYura regarding [X] being true is a bit off (especially because Booleans view: Checkboxes render a box with a cross for NULL values).


[Bug]: Calls to page.mouse.move() with off-screen arguments hangs indefinitely in Firefox

Bug description
Hi there! We use Puppeteer at happo.io to take screenshots in Firefox. As I was updating some dependencies today I noticed that our Firefox test suite was timing out. It turns out that a call to page.mouse.move(-100, -100) was hanging.
Steps to reproduce the problem:
I made a reproduction repository with instructions in the readme:
https://github.com/trotzig/puppeteer-mouse-move-firefox-issue
If you use x and y values that fit inside the viewport, everything works. E.g. page.mouse.move(10, 10) works, whereas page.mouse.move(40000, 40000) does not.
While I understand that placing the mouse off-screen is somewhat strange (we do it to prevent hover effects in screenshots), the freezing behavior can't be right. I suggest throwing some kind of error instead.
Puppeteer version
11.0.0
Node.js version
16.13.0
npm version
8.1.0
What operating system are you seeing the problem on?
Linux, macOS
Relevant log output
No response

i have the same issue.
page.mouse.hover / click  all seem to hang. also, page.keyboard.XXX hangs as well
are you using browserless? when I migrated to puppeteer (i.e. no dockerization), the problem goes away

Nope, not using browserless. We are using docker however.

which docker image are u using?

It's a custom one based on node:14-slim.

I am not 100% certain but dockerizing seems to alter pupeteer chromium's behavior. According to their readme:
Getting headless Chrome up and running in Docker can be tricky. The bundled Chromium that Puppeteer installs is missing the necessary shared library dependencies.
we're considering migrating out of any dockerized puppeteers b/c of this issue

one thing you might want to try
await page.setCacheEnabled(false);
await page.setBypassCSP(true);


fix: remove naive seen_txns cache

Given #31 , it's now possible to remove the naive solution of the seen_txns cache, and only filter transactions by whether they've been included on the rollup or not.

As we can see, at this point the TxPoller struct is an extremely simple wrapper for one function that calls the tx cache endpoint. It might make sense to refactor this, to combine it with the BundlePoller struct into a single TransactionCache struct which has two methods: get_transactions and get_bundles


How to use static assets

Since this project is inspired by electron-vue, it is safe to assume that there will be some way to support static assets
How do we assess static assets with this, please?

If you want to add static/public assets to the front-end you can use the public directory in the renderer directory (see vite config, publicDir).
If you want to copy assets to your main process you can define them in extraResources in the electron-builder config.
Currently there's no such thing as a static directory to allow for easy access to the assets in both processes. I think it would be a nice addition to this template. I don't mind making this a thing.

May I ask what you're trying to achieve?

Big kudos to you for replying very fast, and thanks for the awesome work you are doing with this project.
To answer your question: I want to bundle two files with my app:

an sqlite database file
a splash image/icon

I need a way to reliably reference the two files above during development and also in production.
How do I achieve this, please?
PS: I could not follow the suggestion you made about using the public directory in the renderer directory because the render directory does not have any folder named public and creating it does not make it automatically available after Vite build

Your first point is completely valid, there's no public subdirectory in the renderer directory, you currently have to make one yourself.
Can you give me a snippet of how your src attribute is set on your img tag on the front-end & related directory tree?
This works perfectly fine for me on the dev & prod environment (assuming src/renderer/public/myImagine.png exists):
<img src="/myImage.png">

For your database, the easiest approach I can come up with is;

Add a resources  subdirectory in the main directory.
Add this to your config/electron-builder.json in the files section:

{
    "from": "src/main/resources",
    "to": "resources",
    "filter": ["**/*"]
}

To get the path to your database file:
import { app } from 'electron';

const pathToFile = app.getAppPath() + '/resources/yourFileName';

You can add this to your own project, this should solve your issue.
I'm thinking of adding this to the template, since working with files on a desktop app is a common scenario.

This is awesome. I appreciate your swift response, once again.
So, after pulling about a half of my hair out, I figured out that after putting the asset into src/renderer/public/images/full-icon-white.png, referencing it as /images/full-icon-white.png only works in dev, but gives the error I mentioned above in prod. When I removed the leading slash / (i.e. images/full-icon-white.png) it works perfectly well in dev and prod.
For the db part, I was just coding-up a similar approach when I got your response to this GitHub issue. I resolved to creating the database at runtime using app.getPath("userData"). That way, I can predictably work with the location of the db. I'll however try your suggestion and let you know how it goes.

I'm thinking of adding this to the template, since working with files on a desktop app is a common scenario.

And yes, working with files on a desktop app is a common scenario with electron js, I presume. Such addition will make this template richer. It's a lot of breeze already. Makes me remember Laravel framework. Thanks a lot!

To get the path to your database file:
import { app } from 'electron';

const pathToFile = app.getAppPath() + '/resources/yourFileName';

Using the above, I wrote this little script to see how things look like in dev and prod:
fs.readdir(app.getAppPath(), function (err, files) {
  if (err) {
  	return "Unable to scan directory: " + err;
  }

  console.log(`Content of ${app.getAppPath()} (app.getAppPath()) : `, files.join(", "));
});

In dev, I get:

Content of /home/.../src/main (app.getAppPath()) :  backend, icons, main.ts, preload.js, resources

In prod (packages with node scripts/build-vue.js && electron-builder -c config/electron-builder.json --win), I get:

Content of C:\Users\deo\AppData\Local\Programs\schoolserver\resources\app.asar (app.getAppPath()) :  .github, LICENSE, buildResources, icon.ico, node_modules, package.json, renderer, src, tailwind.config.js, tsconfig.json, types.ts

(Note that I added some items myself). My electron-builder.json however looks like this:
{
	"appId": "myAppIdHere",
	"directories": {
		"output": "dist"
	},
	"nsis": {
		"oneClick": false,
		"perMachine": false,
		"allowToChangeInstallationDirectory": true,
		"shortcutName": "SchoolServer",
		"createDesktopShortcut": true
	},
	"win": {
		"target": "nsis",
		"icon": "src/static/icons/favicon.ico"
	},
	"linux": {
		"target": ["snap"]
	},
	"files": [
		"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
		"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
		"!**/node_modules/*.d.ts",
		"!**/node_modules/.bin",
		"!src/renderer",
		"!config",
		"!README.md",
		"!scripts",
		"!build",
		"!dist",
		{
			"from": "build/renderer",
			"to": "renderer",
			"filter": ["**/*"]
		},
		{
			"from": "src/main/resources",
			"to": "resources",
			"filter": ["**/*"]
	}
	],
	"publish": [
		{
			"provider": "github",
			"releaseType": "release"
		}
	]
}

Sorry for the late response, I currently have a lot of things going on in my life.
I added handling of static assets to this template, so it's supported natively now. I tested it, and it works on both production and development environments 😄
If that still doesn't fix your issue, please re-open this issue.


test(throttleTime): update testcase to use test scheduler

resolves intermittent async test failure on some environments

Merged with cd41e6c.


add profile for snapshot

What this PR does / why we need it:
Snapshot profile
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:
Release note:

Coverage remained the same at 43.238% when pulling dd158d59c7f25a24f90aaf830d9e0b3136d88dc9 on xxwjj:snapshot_profileId into 67d48211cfc62ab42f87bdfe4b7cd652007c7729 on opensds:development.


[ERROR] Error updating the NVD Data

Are there any recommendations? I've already done the "https://github.com/jeremylong/DependencyCheck/issues/6107" link step, but the problem persists:
Command "dependency-check --purge"
command "mvn dependecy-check:check", "mvn dependency-check:9.0.0:check",
Command "dependency-check --updateonly --apykey xxxxxxxx"
The error persists even if you add "delay" and "apikey".
It occurs in the commandline and in the AzureDevops plugin.
[17:50] Edenilton Soares da Silva Junior
[INFO] Downloaded 20.000/171.457 (12%)
[ERROR] Error updating the NVD Data
org.owasp.dependencycheck.data.update.exception.UpdateException: Error updating the NVD Data
    at org.owasp.dependencycheck.data.update.NvdApiDataSource.processApi(NvdApiDataSource.java:336)

    at org.owasp.dependencycheck.data.update.NvdApiDataSource.update(NvdApiDataSource.java:110)

    at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:902)

    at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:874)

    at org.owasp.dependencycheck.App.runUpdateOnly(App.java:425)

    at org.owasp.dependencycheck.App.run(App.java:170)

    at org.owasp.dependencycheck.App.main(App.java:87)

Caused by: io.github.jeremylong.openvulnerability.client.nvd.NvdApiException: NVD Returned Status Code: 503
    at io.github.jeremylong.openvulnerability.client.nvd.NvdCveClient.next(NvdCveClient.java:327)

    at org.owasp.dependencycheck.data.update.NvdApiDataSource.processApi(NvdApiDataSource.java:315)

    ... 6 common frames omitted

[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Skipping Hosted Suppressions file update since last update was within 2 hours.
[INFO] Skipping Known Exploited Vulnerabilities update check since last check was within 24 hours.
[INFO] Element event queue destroyed: org.apache.commons.jcs3.engine.control.event.ElementEventQueue@776aec5c
[INFO] In DISPOSE, [NODEAUDIT] fromRemote [false]
[INFO] In DISPOSE, [NODEAUDIT] auxiliary [NODEAUDIT]
[INFO] In DISPOSE, [NODEAUDIT] put 0 into auxiliary [NODEAUDIT]
[INFO] In dispose, destroying event queue.
[INFO] Cache event queue destroyed: CacheEventQueue [listenerId=-35937859, cacheName=NODEAUDIT]
[INFO] Region [NODEAUDIT] : Saving keys to: NODEAUDIT, key count: 0
[INFO] Region [NODEAUDIT] : Finished saving keys.
[INFO] Region [NODEAUDIT] : Shutdown complete.

This is an ongoing issue https://github.com/jeremylong/DependencyCheck/issues/6107

Error which is coming on my side is , and it stops moving any further
The command i used is
dependency-check.bat --project "name" --scan ....\filename --retireJsUrl
https://raw.githubusercontent.com/RetireJS/retire.js/master/repository/jsrepository.json
--nvdApiKey asdads-asdasdsa-asdasd-asdasd-asdasd
[INFO] Instance is null, returning unconfigured instance
[INFO] Using system property [[jcs.logSystem] [slf4j]]
[INFO] Setting default auxiliaries to "ODC"
[INFO] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] setting defaultElementAttributes to [ IS_LATERAL = false, IS_SPOOL = true, IS_REMOTE = false, IS_ETERNAL = false, MaxLifeSeconds = 86400, IdleTime = 1800, CreateTime =<PHONE_NUMBER>551, LastAccessTime =<PHONE_NUMBER>551, getTimeToLiveSeconds() = 86399, createTime =<PHONE_NUMBER>551 ]
[INFO] initialized MemoryCache for POM
[INFO] Constructed cache with name [POM] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] No cache event logger defined for auxiliary [jcs.auxiliary.ODC]
[INFO] Using standard serializer [org.apache.commons.jcs3.utils.serialization.StandardSerializer@6200f9cb] for auxiliary [jcs.auxiliary.ODC]
[INFO] Region [POM] : Set maxKeySize to: "1,000,000"
[INFO] Region [POM] : Cache file root directory: C:\Users\dependency-check\data\cache
[INFO] Region [POM] : Indexed Disk Cache is alive.
[INFO] initialized MemoryCache for NODEAUDIT
[INFO] Constructed cache with name [NODEAUDIT] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] No cache event logger defined for auxiliary [jcs.auxiliary.ODC]
[INFO] Using standard serializer [org.apache.commons.jcs3.utils.serialization.StandardSerializer@2638011] for auxiliary [jcs.auxiliary.ODC]
[INFO] Region [NODEAUDIT] : Set maxKeySize to: "1,000,000"
[INFO] Region [NODEAUDIT] : Cache file root directory: C:\Users\dependency-check\data\cache
[INFO] Region [NODEAUDIT] : Indexed Disk Cache is alive.
[INFO] initialized MemoryCache for CENTRAL
[INFO] Constructed cache with name [CENTRAL] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] No cache event logger defined for auxiliary [jcs.auxiliary.ODC]
[INFO] Using standard serializer [org.apache.commons.jcs3.utils.serialization.StandardSerializer@6ff29830] for auxiliary [jcs.auxiliary.ODC]
[INFO] Region [CENTRAL] : Set maxKeySize to: "1,000,000"
[INFO] Region [CENTRAL] : Cache file root directory: C:\Users\dependency-check\data\cache
[INFO] Region [CENTRAL] : Indexed Disk Cache is alive.
[INFO] Parsed regions [POM, NODEAUDIT, CENTRAL]
[INFO] Finished configuration in 496 ms.
[INFO] Lock file found C:\Users\dependency-check\data\odc.update.lock
[INFO] Existing update in progress; waiting for update to complete


fix: add missing Autoprefixer dependency

Tests are currently failing because autoprefixer is configured in postcss.config.js but it's missing from the project's dependencies.

I also created a PR to fix this 🙈
https://github.com/remix-run/grunge-stack/pull/147

@MichaelDeBoey Oops, sorry I missed that.

@markdalgleish No prob, it's fixed now, that's the important thing 😉


Plan decomposing the result object

Plan out the Sqlite schema to quickly update result db
Any alternatives for resolving constant pickling/unpickling of the result object
Create a more granular SQL table schema for facilitating fast updates to the result object database
Reconsider the DispatchDB schema
Consider SqlAlchemy schema for db creation, updates and queries

Hey team! Please add your planning poker estimate with ZenHub @cjao @Emmanuel289 @kessler-frost


Compiling incompatibility

Hi,
First, let me say that the reason i'm using atom is because of this extension, and it's one of the best implementation of typescript integration i have seen.
now for the bug,
i have notice that all my app was braked after the last update in the ATOM.
i'm using the ES7 Decorators that shipped with the 1.5 release (that was working fine until the last update..).
after the update, i have notice that the __decorate function that was generated from the tsc didn't generated as it should.
for a backup, i have a gulp build process that utilizing the local typescript compiler,
notice the difference in the __metadate function that don't have the full path to the injection.
the code compiled with the atom-typescript:
QuickviewSidebar = __decorate([
            aurelia_framework_1.inject(Element, aurelia_event_aggregator_1.EventAggregator),
            __metadata('design:paramtypes', [Element, EventAggregator])
        ], QuickviewSidebar);
        return QuickviewSidebar;

this is compiled with the gulp:
QuickviewSidebar = __decorate([
            aurelia_framework_1.inject(Element, aurelia_event_aggregator_1.EventAggregator),
            __metadata('design:paramtypes', [Element, aurelia_event_aggregator_1.EventAggregator])
        ], QuickviewSidebar);
        return QuickviewSidebar;

after a quick research, i ended up in the source file of the extension, and discovered that you are using the nightly build as the typescript lib, as for i'm using the 1.5-beta.
after replacing the content in the lib with the 1.5-beta files, the code was generated correctly.
this discovery is quite disruptive for the development process, since i'm using the atom-typescript as my main compiler, i'm actually targeting the highly build as my lib reference, meaning that the deployment can be with different behavior, just like i'm experiencing now.
are you planing to add target compiler version feature in the future?
keep the good work,
thanks,
Elior.

You can already target a different TS compiler. In atom-typescript's settings you can specify the full path to a typescriptServices.js and use that compiler instead of the bundled one!

after replacing the content in the lib with the 1.5-beta files, the code was generated correctly.

Would be great if you can report it to https://github.com/Microsoft/TypeScript/issues so that it gets resolved in master as well

so that it gets resolved in master as well

Found that it was already reported : https://github.com/Microsoft/TypeScript/issues/3663 And considering this comment : https://github.com/Microsoft/TypeScript/pull/3690#issuecomment-118640158 beta contains a bug based on this as well


Create non-fungible-token.clar

A .clar example file for use with Linguist

Could you provide a link to where you originally acquired the sample?

Was this meant to be a continuation of https://github.com/github/linguist/pull/4935 which is still open?


Display node: offer possibility to set text/color/icons via msg

Great idea, I can test it, when it's available ;-)

Coincidence ;-) Now available :)

Sorry, shouldn't publish before I really finished it ;-) Now (v1.1.10) it should work. Perhaps I should order a HM-Dis-WM55, developing without being able to test is not ideal ;)

reopening until you confirm that it's working

Hi,
text and color works, icon not. The icon will not be displayed, if there is an icon set in the display-node this one will be displayed.

BTW: you forgot icon definition :

open: '0x82',

;-)

Thx for the bug report :) v1.1.11 is published.

👍


Fixed gadget animation builder issue

Coverage remained the same at 99.018% when pulling 8d856be64ec6fec3a7937de2b9fd3f2a2266b845 on omenocal:dev into ceb90b30e0545c1af640f0c9798266526bb400c0 on mediarain:dev.

so, what was the issue?

@armonge it was adding an extra object every time the setAnimations  method was called

In the future let's try and add those comments to PRs


vikunja: 0.22.1 -> 0.23.0

Description of changes

https://github.com/go-vikunja/vikunja/blob/main/CHANGELOG.md#0230---2024-02-10
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

Now also the (unit) tests of frontend and backend get executed.

Result of nixpkgs-review pr 289961 run on x86_64-linux 1

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

vikunja


[Doc] add instructions to new features

Signed-off-by: zhouzhou<EMAIL_ADDRESS>

There are two setups for the program to work properly. One is to enable the wasmedge_ssl feature and install the httpsreq plugin, the other is to disable the  wasmedge_ssl feature.
Because now the wasmedge_ssl feature is enabled by default in wasmedge_http_req, that means if the httpsreq plugin is not installed in Wasmedge there will be an error. The developers might need to disable the wasmedge_ssl feature or install the httpsreq plugin.

You can create an http client with just hyper.
https://github.com/WasmEdge/wasmedge_hyper_demo/tree/main/client
Why do you need wasmedge_http_req here?

OK, I will try to make this request withour using wasmedge_http_req.


FF Images on demo are not responsive

Please take a look to this screenshot.
https://www.dropbox.com/s/akydga2wxnchtm3/Screenshot 2015-11-04 11.31.27.png?dl=0

Thanks for filing this! Which browser is this? It's looking fine for me in Chrome and Safari, but I don't have access to others right now.

Firefox 41. It indeed looks fine on chrome and safari

Okay, should be fixed in #df4a394833146cfb74a62ec209b84d06a703a3a4. Thanks!


Build.PS1 error

The error below is a result of the DC not being able to download bginfo.exe from the Internet. This is odd, since I can log into the DC, and download the file.  By copying and pasting in the path from "install_bginfo".
powershell.exe : Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved:
+ CategoryInfo          : NotSpecified: (Exception calli...t be resolved: :String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
'live.sysinternals.com'"
At C:\vagrant\scripts\install-bginfo.ps1:10 char:3

(New-Object Net.WebClient).DownloadFile('http://live.sysinternals.c ...

+ CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException

Operating System Version: win10, recently patched
Provider (VirtualBox/VMWare): vmware desktop 15
Vagrant Version: 2.1.5
Packer Version: 1.2.5
Are you using stock boxes (downloaded) or were they built from scratch using Packer?
Is the issue reproducible or intermittent? Yes

Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:

Link to Gist Containing Build Logs:

Hi @clong !
TL;DR, midway through writing this, I found out that the install-bginfo.ps1 might need to be (briefly) elevated in order to create the sysinternals directory in Program Files as it normally fails on the creating directory step, thus causing an issue to download BGinfo to said (nonexistent) directory. Not sure if this is something that's needed, but it's your call.
Original message for @DonMVB .
Just a quick question for you: Does the "**C:\Program Files\sysinternals**" exist on the DC?
Downloading via Powershell seems to work when the directory already exists, but I will need to test this theory out later:
`PS C:\Users\Michael Seborowski> (New-Object Net.WebClient).DownloadFile('http://live.sysinternals.com/bginfo.exe', 'c:\Program Files\sysinternals\bginfo.exe')
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:1

(New-Object Net.WebClient).DownloadFile('http://live.sysinternals.com ...

  + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
  + FullyQualifiedErrorId : WebException

PS C:\Users\Michael Seborowski> (New-Object Net.WebClient).DownloadFile('https://live.sysinternals.com/bginfo.exe', 'c:\Program Files\sysinternals\bginfo.exe')
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:1

(New-Object Net.WebClient).DownloadFile('https://live.sysinternals.co ...

  + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
  + FullyQualifiedErrorId : WebException

PS C:\Users\Michael Seborowski> (New-Object Net.WebClient).DownloadFile('https://live.sysinternals.com/bginfo.exe', 'C:\Users\Michael Seborowski\bginfo.exe')
PS C:\Users\Michael Seborowski>`
This was not on my DetectionLab / DC instance, but on a spare laptop I have; invocation failed similarly to your instance but when I changed the path to an existing folder, it worked???
Looks to be an issue with the prompt used as it might not be elevated; thus failing on the create directory part for sysinternals. 😦

Hi folks! I'm testing this out tonight on my Windows build machine and will try to repro. Thanks for the reports!

I'm not able to reproduce this using Win10 and VMware Workstation 15:
   dc: Install bginfo
    dc: [21:30] Installing BGInfo...
    dc:     Directory: C:\Program Files
    dc: Mode                LastWriteTime         Length Name
    dc: ----                -------------         ------ ----
    dc: d-----        8/13/2019   9:30 PM                sysinternals
    dc: [21:30] Installing RSAT tools
<snip>
   wef: Install bginfo
    wef: [21:47] Installing BGInfo...
    wef:     Directory: C:\Program Files
    wef: Mode                LastWriteTime         Length Name
    wef: ----                -------------         ------ ----
    wef: d-----        8/13/2019   9:47 PM                sysinternals

Huh, odd. @DonMVB , do you have a way of uploading a gist to GitHub with the build logs (vagrant/packer)? Also, it looks like there is an updated version of vagrant and packer from the version(s) you have.
Might be worthwhile to update and test if this issue reoccurs.

Closing this issue due to inactivity


Returning multiple results for "single" action

I'm not sure if this is lack of understanding how this library should handle single, double and triple presses.
I am dropping back to using examples/async_button_test.py to make the test as simple as possible using a Pico W with CircuitPython V8.
When I double click on a button it returns both Single Click and Double Click in the results.
For triple click it returns Single Click, Double Click and Triple Click.
e.g. for a triple click - only pressing the button 3 times I get
COUNTER: 22
COUNTER: 23
Single click seen
Double click seen
Triple click seen
COUNTER: 24
COUNTER: 25
Is this as designed and the user is supposed to handle this or should it only be returning one result ?
Thanks - it's a great library :)

Hi, this behaviour is as expected. Using wait_for_click will return on any type of click.
If you just want to wait for a double click, use
await my_button.wait(Button.DOUBLE)


sprig functions are re-evaluated when passed as a parameter, expect them to be evaluated once then set for rest of workflow

Checklist

[x] Double-checked my configuration.
[x] Tested using the latest version.
[x] Used the Emissary executor.

Summary
What happened/what you expected to happen?
Used a sprig function to generate a random variable name that I want all tasks to have access to however the random string is regenerated for each step in the dag. In the below example the input for both run-test templates is different even though it is passed from the same initial variable
What version are you running?
3.3.8
Diagnostics
Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: demo-
spec:
  entrypoint: dag-of-dags
  templates:
    - name: dag-of-dags
      dag:
        tasks:
          - name: test
            template: dag-test
            arguments:
              parameters:
                - name: var
                  value: "name-{{=sprig.randAlphaNum(5)}}"

    - name: dag-test
      inputs:
        parameters:
          - name: var
      dag:
        tasks:
          - name: test
            template: run-test
            arguments:
              parameters:
                - name: var
                  value: "{{inputs.parameters.var}}"
          - name: test-2
            depends: test
            template: run-test-2
            arguments:
              parameters:
                - name: var
                  value: "{{inputs.parameters.var}}"

    - name: run-test
      inputs:
        parameters:
          - name: var
      script:
        image: ubuntu:18.04
        imagePullPolicy: Always
        command: [bash]
        workingDir: "/src"
        env:
          - name: var_test
            value: "{{inputs.parameters.var}}"
        source: |
          echo $var_test

    - name: run-test-2
      inputs:
        parameters:
          - name: var
      script:
        image: ubuntu:18.04
        imagePullPolicy: Always
        command: [bash]
        workingDir: "/src"
        env:
          - name: var_test
            value: "{{inputs.parameters.var}}"
        source: |
          echo $var_test

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Thanks @sarabala1979
I had thought that because I was passing it from a dag to another dag the expression would be evaluated first
I've worked around it now by passing it to the first step of the dag only and then having this step make an output containing the generated name and using this output as the input for subsequent steps


gh-pages

Should we make the repository public so that we can render the page on github.io? It might ease the discussion during future calls to have access to the rendered pages.

The project renders now correctly on https://fairvocabularies.github.io/resource-catalogue/


'gulp-if' is not in the npm registry.

trying to install gulp-if using Jenkins, here is the portion of the log related to gulp-if
00:03:02.398 npm ERR! Linux 2.6.32-431.29.2.el6.x86_64
00:03:02.398 npm ERR! argv "/opt/nodejs/node-v4.4.7-linux-x64/bin/node" "/usr/bin/npm" "install"
00:03:02.398 npm ERR! node v4.4.7
00:03:02.399 npm ERR! npm  v2.15.8
00:03:02.399 npm ERR! code E404
00:03:02.400
00:03:02.401 npm ERR! 404 Not found : gulp-if
00:03:02.401 npm ERR! 404
00:03:02.401 npm ERR! 404 'gulp-if' is not in the npm registry.
00:03:02.402 npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npmjs.org/gulp-if. Are you behind a particularly stringent firewall? npm
cache clean and see if that gets you unclogged.
On May 16, 2017 9:57 PM, "kamal2222ahmed"<EMAIL_ADDRESS>wrote:
trying to install gulp-if using Jenkins, here is the portion of the log
related to gulp-if
00:03:02.398 npm ERR! Linux 2.6.32-431.29.2.el6.x86_64
00:03:02.398 npm ERR! argv "/opt/nodejs/node-v4.4.7-linux-x64/bin/node"
"/usr/bin/npm" "install"
00:03:02.398 npm ERR! node v4.4.7
00:03:02.399 npm ERR! npm v2.15.8
00:03:02.399 npm ERR! code E404
00:03:02.400
00:03:02.401 npm ERR! 404 Not found : gulp-if
00:03:02.401 npm ERR! 404
00:03:02.401 npm ERR! 404 'gulp-if' is not in the npm registry.
00:03:02.402 npm ERR! 404 You should bug the author to publish it (or use
the name yourself!)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/robrich/gulp-if/issues/74, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAolfCeoaZH_WTP76kKSPKlbwMdCKFIcks5r6nBAgaJpZM4NdWLs
.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1435 ms

Resolved: Bofrost.de performance has improved in b86b3e1.


mongodb is not found

Hi,
I tried to follow the steps from the wiki here, but it failed when I tried to install mongodb.
ubuntu@free5gc:~$ sudo apt -y install mongodb wget git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mongodb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mongodb' has no installation candidate
Here is my go version:
ubuntu@free5gc:~$ go version
go version go1.21.4 linux/amd64
How can I install mongodb here? appreciate any assistance and help.
Regards,
Fajar

@fcahyadi
Try:
sudo apt update
sudo apt remove --purge mongodb
sudo apt -y install mongodb

BTW, there's no dependency between MongoDB & Golang.

Hi,
it still doesnt seem to work.
Here are the logs:
@.:~$ go version
go version go1.21.5 linux/amd64
@.:~$ sudo apt -y update
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Fetched 229 kB in 1s (409 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
@.***:~$ sudo apt -y install mongodb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mongodb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mongodb' has no installation candidate
@.:~$ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
@.:~$
@.:~$ sudo apt remove --purge mongodb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'mongodb' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
@.:~$ sudo apt -y install mongodb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mongodb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mongodb' has no installation candidate
@.***:~$
On Wed, Dec 6, 2023 at 7:05 AM BrianChen @.***> wrote:

@fcahyadi https://github.com/fcahyadi
Try:
sudo apt update
sudo apt remove --purge mongodb
sudo apt -y install mongodb
BTW, there's no dependency between MongoDB & Golang.
—
Reply to this email directly, view it on GitHub
https://github.com/free5gc/free5gc/issues/513#issuecomment-1842738983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI4UGS47RB7IDA7NNYXYYADYIBNPXAVCNFSM6AAAAABAGMEQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSG4ZTQOJYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@fcahyadi
Try this solution: https://stackoverflow.com/questions/72803345/unable-to-locate-package-mongodb-org

@fcahyadi Could you please confirm if this solution works on your installation too?
https://free5gc.org/guide/Appendix/#appendix-g-install-mongodb-70x-on-ubuntu-server-220403


Update counter images after flushing the data

Purpose

Updating the container images after commit #48 Flush data in counter apps

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

Verify that counter does not decrease after failover of apps.

Other Information

UI if count value goes down:

Closing this as branch has diverged a lot.


application: support multi combination and  cluster deleting

What type of PR is this?
/kind feature
-->
What this PR does / why we need it:
part of #315
The target of this pull request is to:
1 Support combination of multiple kinds of sources and syncPolicies.
2 Support application reconciliation when a cluster is deleted from the fleet.
To accomplish the above targets, this pull request:
1 Removes the restriction and default value for the combination of sources and syncPolicies. Add a new example with GitRepostory + HelmRelease
2 Uses a relations struct to record the relationships between "app-fleet", "app-cluster", and "app-attachedcluster".  relations are used to represent the actual associated resources of the current application.
3 Implements some robust actions. such as handle update conflict.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

can you update the pr title to be more specific?

After application api update, you may need to change accordingly

After application api update, you may need to change accordingly

ok

/ hold

/label tide/merge-method-squash

/lgtm


Is it possible to populate Sponsor(s) through API driven Inbound Provisioning?

The Azure Active Directory Schema Editor (when Schema Editor is enforced true) does not display the Sponsors field for mapping to Source for API Driven Inbound Provisioning.
Manually adding this field as Multi Value Referenced field to AAD schema and mapping it to enterprise2.0 User schema field "Sponsors"
upsets the Bulk Upload's user mapping logic. This leads to Updates been determined as Create and Sync fails with error "user with specified external id already exists"
The Graph API too doesn't list Sponsors on User object without using $expand. So what is the correct way for sending Sponsor's information in the Bulk Upload payload?
The Graph API allows updating Sponsors on single user using a  OData Reference Url referencing a User.
This syntax is similar to how Manager is updated except that Manager is NOT a multi-valued field.
Bulk Upload allows updating Manager field (it's present on Enterprise User schema). Is Sponsors also a part of Enterprise2.0 Schema?

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

ID: 8ac4d4d1-2b44-bbdb-2c0d-876db41f2ebb
Version Independent ID: 4caffc91-aa2d-a46c-ce9d-dc8190316fe0
Content: Add sponsor - Microsoft Graph beta
Content Source: api-reference/beta/api/user-post-sponsors.md
Product: users
Technology: microsoft-graph
GitHub Login: @sadia353
Microsoft Alias: MSGraphDocsVteam

Thank you @MithunChopda for raising this issue. Unfortunately, this forum is only for documentation-related issues but Microsoft Graph Q&A is the best forum to answer this functionality question so I recommend that you raise this question there. Closing this issue here.


added windows 11

after reading this article, i confirmed windows 11 is supported

Learn Build status updates of commit 51b60e2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/interactive-logon-message-text-for-users-attempting-to-log-on.md
:white_check_mark:Succeeded

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 the learn.microsoft.com contributor guidesPost your question in the Learn support channel


FhirToDatalake To Azure Function Error: Failed to start a new language worker for runtime: dotnet-isolated.

Deployed Azure Function through Azure portal using "Deploy to Azure" button.  The function fails to run, with the following error: Failed to start a new language worker for runtime: dotnet-isolated..  Configuration for FUNCTIONS_WORKER_RUNTIME unchanged, set to dotnet-isolated.  Any ideas of how troubleshoot/resolve?

Resolved this error by adding DOTNET_ROLL_FORWARD with a value of Major to the application configuration for the function as described by the following:

Required framework not found
Configure roll-forward behavior