Golang leaks memory

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.11.1 darwin/amd64
Does this issue reproduce with the latest release?
AFAIK my version IS the latest release.
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/CENSORED/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/CENSORED/golang"
GOPROXY=""
GORACE=""
GOROOT="/Users/CENSORED/Cellar/go/1.11.1/libexec"
GOTMPDIR=""
GOTOOLDIR="/Users/CENSORED/Cellar/go/1.11.1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/CENSORED=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
I ran https://github.com/Al2Klimov/go-mem-poc.
What did you expect to see?
Golang frees memory ASAP or at least on request.
What did you see instead?
Golang doesn't free any memory.

Please be more precise: when you say “doesn't free any memory”, as reported by what?
You seem to be using the MemStats.Sys field, for which the documentation says:

// […] Sys measures the
// virtual address space reserved by the Go runtime for the
// heap, stacks, and other internal data structures. It's
// likely that not all of the virtual address space is backed
// by physical memory at any given moment, though in general
// it all was at some point.

As far as I can tell, the linked program is working as documented: it is likely freeing the memory but not the address space.

Hello @bcmills and thank you for your quick response!
Do you mean... Go and Docker claim that the memory is reserved, ... but it's actually free for other apps?
Best,
AK (not 47)

@bcmills Even if I understood you right, Go still leaks memory for IMO too long (see the updated program I linked) – that's 1m or more.

IMO I should not have to call runtime.GC().

You don't have to call runtime.GC.
You may want to call runtime/debug.FreeOSMemory.
In general, when considering memory use, be sure about what you are measuring.  Go programs use address space for the heap, but that is not real memory.

Hello @ianlancetaylor and thank you for the information!
I try to measure how much memory is how long used by any Go program, but IMO shouldn't be used as the program doesn't reference it. (Short: GC delay.)
The current version of the program I linked to above measures runtime.MemStats#Alloc which "is the same as HeapAlloc" which "include[s] all reachable objects, as well as unreachable objects that the garbage collector has not yet freed".
My program actively produces an unreachable object (1 GiB) which seems not to be freed for at least 1m. (I call runtime.GC() after 1m.)
Don't I really have to call it?
Thank you in advance,
AK (not 47)
PS: IMO I shouldn't have/want to call functions w/ "debug" in name in production envs, should I?

The default time limit for releasing unused memory in the Go 1.11 runtime is 5 minutes.
Note that releasing unused memory is not directly related to calling runtime.GC.  The garbage collector updates the bookkeeping for what objects are visible in memory.  Most programs allocate and release objects frequently, so quickly releasing memory back to the operating system just wastes execution time.  That is why there is a five minute delay.

@ianlancetaylor Confirmed. Not sure about whether I like actually not reachable objects not to be GCed for 5m in production apps (which run in parallel with others).
CC @lippserd @bobapple

Well, as noted above, you can release the memory faster by calling runtime/debug.FreeOSMemory.  (Yes, it's OK to call that in a production program.)


fix(tabletoolbar): button realignment and padding

Summary

toolbar buttons weren't aligned properly

Closes IBM/carbon-addons-iot-react#100

Acceptance Test (how to verify the PR)

viewable in the storybook

Had to add some fixes to ColumnHeaderRow, somehow some defects got slipped into master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.27.1 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


Semantic UI size vs Bootstrap size

Hello everybody !

In a time where the size of a page is one of the main point in the SEO strategy i checked the size of Bootstrap & Semantic UI.
For the combo JS+CSS minimized, Bootstrap 3 is 200ko, Bootstrap 4 is 150ko and Semantic UI is....750ko
The SEO specialists recommend the whole page should be under 1600ko. (with text, images, ads, etc)
Of course you can optimize it after with gzip compression but it's always better if initially the minimized files are very light.
What do you think about it ? Is there an initiative to make Semantic UI lighter ? It's a work in progress ? a top-priority task ? Or do you think it's not important at all ?
Thanks a lot :)
and congratulations again for your amazing work !

@Alekusu you're supposed to use only the components that you require. Semantic UI is much bigger because it is much more feature rich, but I don't think that I personally can imagine of a real world situation where you need all the components in the same app or site and needless to say the same page or view. Use the build process (with Gulp) or download the components separately. You can either start with the minimum and build up if you're required to provide the best bandwidth performance, or pick a subset that you think you'll need before hand.


Upgrade 6.x -> 7.x: numerous errors "Project#afterEvaluate ... cannot be executed in the current context"

Hello,
I've made an attempt to upgrade my multi-module project from Gradel 6.x to 7.x and finally failed becasuse of errors like "Project#afterEvaluate ... cannot be executed in the current context". The problem is that it is absolutely not possible to grasp the reason of this error. Somehow I was able to suppress it in some context but it appears at some further flow of the build.
It would be helpful if Gradle team:
1. Provides in documentation description of "which contexts are considered to be acceptable and which are not".
https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:afterEvaluate(groovy.lang.Closure)
The only mentioned failure condition is "If the project has already been evaluated, this method fails" and it seems it is not the my case (note: build was working OK for years at Gradle 6.x)
It appears absolutelly same thing happens to "gradle.afterProject" (these methods can functionally replace each other) and documentation also does not mention which contexts are "bad"
https://docs.gradle.org/current/dsl/org.gradle.api.invocation.Gradle.html#org.gradle.api.invocation.Gradle:afterProject(groovy.lang.Closure)
2. I tried to dig in the Gradle's source code for the actuall reason and it is hardly possible to catch the particular cause of my errors.
As far as i understand, problem occurs when Project#afterEvaluate occurs withing action invoked using AbstractMutationGuard.withMutationDisabled(Action<? super T> action). I guess adding name to such context and printing it out during error will significantly help with identification of root cause of fault conditions.

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A minimal reproducible example can really help us track down and fix your problem. We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
The ideal way to provide a reproducer is to leverage our reproducer template.
This issue will be closed after 7 days, unless you can provide more information.

Please take a look at this entry in the upgrade guide. Your build in 6.x should be emmiting deprecation warnings.


chore: reference remote lib

With this PR, we avoid example installation problems on various platforms.
We also ensure, that compiling the lib locally is not necessary after cloning the repo.

This is an alternative solution to https://github.com/zitadel/zitadel-vue/pull/10

@peintnermax plz review


fix(TDI-39998): Add edit wizard

Fix overwriting old properties with default one

Add tests

What is the current behavior? (You can also link to an open issue here)
MarkLogic wizzard is final (user can't edit it)
What is the new behavior?
User can modify repository connection
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[x] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

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

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results


[draft] Update dApp to work with the single-asset balance model.

See #76.

The getPublicKey change is the only blocker, I think. Then should be good-to-go


adding universal numbers library

The Universal Numbers library implements arbitrary posit arithmetic as a header-only C++ library. Posits are a tapered floating point system that restore associative and distributive laws of arithmetic to floating point computations. This provides more accuracy with smaller precision, and reproducible computation in any concurrent environment.
Posits are already integrated in DL/AI systems (TVM/VTA), and CAE and CFD packages (G+SMO, FEniCS, ODEintv2, MTL4, MTL5)

@fffaraz  thank you for maintaining the Awesome CPP repo, and thank you for accepting the PR.


[BUG] you cant reset or leave because the ui dissapears

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
i was randomly playing one day until i saw that i couldn't leave or reset and everything was gone

Bloxstrap Log
N/A

Here we go again.
Add this fflag
{
"FFlagFixReportButtonCutOff": "False"
}
If it doesn't work, use another menu like the 2023 one.

I can't even use task manager to close out so I have to restart my in order to close roblox

I can't even use task manager to close out so I have to restart my in order to close roblox

Read above what i said.

Duplicate of #2911


ci: explore using ReFS drive to speed up Windows CI jobs

While there are reports of using ReFS drives being faster, there's a few issues preventing us from using it right now:

Creating a ReFS drive (the New-VHD command) doesn't work with windows-2019. My understanding is that the Windows version must match the Windows version of Docker images, which is windows-2019; upgrading may not be a choice right now.

Commands like go build and docker build still have on-disk caches on the normal drive, where they don't take advantages of the performance boosts. While it may be possible to reconfigure the Docker and Go to place caches on the mounted drive, this would be somewhat of a large burden, and issue 1 prevents this from being productive anyway.

Closing for now, but maybe in the future all runners use ReFS by default and things will be faster.


Wrong example

I think the following example to AddForeignKey is wrong:
db.Model(&User{}).AddForeignKey("role_id", "roles", "CASCADE", "RESTRICT")
I need to specify the column in the 2nd parameter like "roles(id)"

Thank you for your feedback, fixed that.


Lastmod Property for Page Resources

Currently only Pages can have a .Lastmod property from .GitInfo. It would be great to have the same information for page resources. This would help for pages that mostly display a prominent resource (for example an image). Then e.g. the last modified date of the page in the sitemap could be generated from that resource with a custom template.

I know this is not what you are asking for, but it might be helpful.
{{ with .Resources.Get "a.jpg" }}
  {{ (os.Stat .Key).ModTime }}
{{ end }}

I know this is not what you are asking for, but it might be helpful.

Yes, thanks! Problem is that I use hugo in a pipeline so the modification time is the time it is checked out from git which is the current time. This might be helpful for other situations though!

@sebastianw I agree that we should do this; there is a related issue about some of the limitations with the current GitInfo implementation (it doesn't work in a multi module setup, for one), and this issue would be a natural extension to that.


Added setIslandHopperEnabled to native typing's

Added setIslandHopperEnabled to native typing's

The native typings are generated automatically, they will be updated in the near future.
Thank you for your contribution, though.

The native typings are generated automatically, they will be updated in the near future.
Thank you for your contribution, though.


keybinder3: use gtk-x11

Motivation for this change
Might close #95946
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132239 run on x86_64-darwin 1

3 packages marked as broken and skipped:

quodlibet-full
quodlibet-xine-full
synapse

1 package failed to build:

keybinder3

same error?

keybinder-3.0 v0.3.2

Prefix............... : /nix/store/f2312gwkrida11m5ks5klxxh2463hpjv-keybinder3-0.3.2
GTK version ......... : gtk+-3.0
libkeybinder ........ : yes
gobject-introspection : yes
gtk-doc ............. : no

Now type make to compile
Then su to root and type: make install

@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/715y5lnw12vdcc3hh9sc9vbkdi6c83x6-bash-4.4-p23/bin/bash
Making all in libkeybinder
make[1]: Entering directory '/private/tmp/nix-build-keybinder3-0.3.2.drv-0/source/libkeybinder'
  CC     bind.lo
bind.c:30:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:424: bind.lo] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-keybinder3-0.3.2.drv-0/source/libkeybinder'
make: *** [Makefile:359: all-recursive] Error 1

thats after the force push or before?

Looks like this could be related https://github.com/NixOS/nixpkgs/issues/132259

thats after the force push or before?

before. I'm running another review now.

Result of nixpkgs-review pr 132239 run on x86_64-darwin 1

1 package failed to build:

keybinder3

Still same issue.

Unless something changed, explicitly enabling X11 will not do anything as https://gitlab.gnome.org/GNOME/gtk/-/commit/9109efb19e4bc92a81ad972f938856c6d6bf01f8 disables it unconditionally on Darwin.

Unless something changed, explicitly enabling X11 will not do anything as gitlab.gnome.org/GNOME/gtk/-/commit/9109efb19e4bc92a81ad972f938856c6d6bf01f8 disables it unconditionally on Darwin.

removed the disabling
used sed so that only the first occurrence of x11_enabled = false will be removed


Edits for the about page.

Updated the main body copy of the about page (re #26)
Updated the high-level overview on the about page (re #26)
Changed colors (fixes #51)

Looks good to me.


Provide mechanism to extract links from a block without building an AST

Building an AST is very wasteful if all you want is a set of links for e.g. pinning.
At least for Dag-CBOR, it is very easy to write a traversal that does not build an AST. See https://gist.github.com/rklaehn/62e21237e7ef8d868cfe655ad6209f28, which uses https://crates.io/crates/cbor_event .
All that would be needed is to extend the codec trait hierarchy for this operation, and then use it, e.g. in https://github.com/ipfs-rust/ipfs-embed/blob/master/src/storage/mod.rs#L75 , to get more efficient traversal of blocks for pinning.

Love to have this feature. Any progress on it?


Make the default concurrency level conservative

The current "guess" logic assumes that I/O is slow and/or there isn't enough RAM to cache the build inputs. On machines with enough RAM, the current "guess" logic thrashes the CPU scheduler and CPU caches.
Finally, users can still override with -j if they need slightly more or less concurrency.

Why did you close this?

I’m closing my ninja pull requests in order to clean up my GitHub account.
Ninja, in my opinion, is an example of a reluctant open source project. If one looks at the ninja pull request queue, the project owner(s) are clearly uninterested in third-party contributions. They struggle to even acknowledge pull requests, let alone accept or reject them.

This change might help too: https://github.com/ninja-build/ninja/pull/1398
PS: I agree that the feedback on pull requests could be better in this project...

Again, sorry about the slow reply, I went shortly after this pull request appeared. It's perfectly understandable that you're no longer interested in pursuing this.
Just to follow up: I vaguely remember there being some discussion on this pull request that I can't anymore. Maybe I'm misremembering. The discussion I remember was me saying that the default parallelism value was set fairly arbitrarily and that I buy that there's a better value for it – but that I'd like to see data to back up the new choice. Not because I don't believe you, but because I'd like to have an objective measure the next time someone wants to change the default.

@ocroquette This isn't setting the default -j to 1.

My understanding is that the patch decreases the default value for -j to avoid to overload the CPU (I have the same problem on my Windows laptop, the default makes the whole OS very slow).
My point is that instead of making the default value for -j lower, one could also set the additional load limit (-l $CPUCOUNT). That would help in single-build, single-user case, but also for parallel builds, for instance in multi-users environments or on CI servers. I cannot see a case where it's a good idea to spawn more processes when all cores are busy.

Hi @nico – Sorry for getting impatient. I saw via another link that you were on paternity leave. Congrats!
Setting the default concurrency value doesn't need to be perfect or data driven. It just needs to be reasonable for most systems most of the time. The current behavior is awful for resource poor machines that cannot handle being overcommitted. This is one of a couple reasons why Apple sets -j to the number of CPUs available for their projects and projects created by their IDE (the other reason is because make defaults -j to 1).
I also wouldn't overthink -j. There will always be weird systems where the right value is beyond what any program can reasonably be expected to intuit. For example, I have a 4-way SMT box under my desk where the optimal -j value is half of the logical CPU count due to how the hardware SMT resources are subdivided. There is no way any program could be reasonably be expected to figure that out and I would never ask ninja to try.
Finally, in response to @ocroquette, I've think the -l feature needs some work before I'd recommend it to anybody. The problem is that the "load average" is not an instantaneous value. It is computed over a long time horizon relative to how quickly ninja can spawn/reap processes. For example, if I launch two ninja -l $NCPU jobs, then the real time load (not average!) will oscillate slowly between 0 and 2*$NCPU over the course of the two builds.

I agree with Dave, the optimal value cannot be found automatically. For some systems, the current value $NCPU+2 is apparently OK, for my laptop, it's $NCPU/2 if SMT is enabled in the BIOS, $NCPU otherwise. On our CI server, $NCPU+2 is OK if a single build is running, but when several builds are running in parallel, $NCPU gives better overall results, while not impacting single builds significantly.
When the user has found the optimal value, it must be possible to store it easily so that it is not necessary to provide it on the command line on each call (it's not even possible when ninja is called from another tool). That's why something like https://github.com/ninja-build/ninja/pull/1399 is so important too.

Hi @ocroquette – How confident are you that your laptop has enough RAM? In general and unless one is low on RAM, SMT should be a small win for compile jobs due to how compiler algorithms and data structures work.
In any case, and to be totally honest, I don't think the current "guess" algorithm is defensible. When $NCPU equals one and RAM is in short supply, then running two jobs is the worst "guess" ever because both the CPU and the RAM end up being thrashed.

My laptop has 16GB of RAM, which should be sufficient for 10 parallel builds. I just checked, the build requires up to 1GB for 6 parallel builds, and 2GB for 10, so the RAM is not the bottleneck in my case. I suspect it was the antivirus back then, but I cannot test this configuration anymore. This backs up the fact the optimal number for -j can only be found empirically, there are just too many factors: cores, RAM, I/O performance, antivirus... The current algorithm assumes that the CPU is always the bottleneck, but it's not.
PS: I am aware that an antivirus is not the best program to have running on a development machine, but there is no other choice for many employees.

Also it's the least code lines.

While the anecdotal customization details are fun to read about

Sorry for hacking the thread ;)
I actually understand the rational behind the -j NCORE + x, I used this heuristic myself with make on Linux systems to get better build performance than with -j NCORE.  So I can also understand the reluctance to use -j NCORE as a default, if NCORE + 2 worked fine so far for many people.
The customization would solve the problem, since anyone could set the default that works best, if the hard-coded heuristic picks unsatisfying values for the particular system.


deps update hadoop to <IP_ADDRESS>

make thirdparty deps be compatible with old source code

run buildall

run buildall

skip buildall


Security.md is outdated

Hi while check i found an outdated file
see current version https://github.com/eclipse-tractusx/.github/blob/main/SECURITY.md
your version: https://github.com/eclipse-tractusx/sldt-bpn-discovery/blob/main/SECURITY.md

Ass new security.d has been updated last week. I will close this issue.


Use entitled Dockerfile for Konflux

Also updates ubi8 --> ubi9
ref: https://issues.redhat.com/browse/ACM-10739

/cherry-pick release-2.10


Error in DSC 3.2.0: Domain-User as Service Account - The service did not start due to a logon failure

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

3.2.0

Affected Resource(s)

ArcGIS_Service_Account
Configuration Files

{
"AllNodes": [
{
"NodeName": "vm-img-g01.mydomain.com",
"Role": [
"Server"
]
}
],
"ConfigData": {
"Version": "10.8.1",
"ServerRole": "GeneralPurposeServer",
"Credentials": {
"ServiceAccount": {
"Password": "fdsfdsfas",
"UserName": "mydomain\myuser",
"IsDomainAccount": true
}
},
"Server": {
"LicenseFilePath": "C:\arcgisautomation\license\ArcGIS_10.8.1\server.ecp",
"Installer": {
"Path": "C:\arcgisautomation\setups\esri\ArcGIS_10.8.1\ArcGIS_Server_Windows_1081_175203.exe",
"InstallDir": "C:\ArcGIS\Server",
"InstallDirPython": "C:\Python27 "
},
"ServerDirectoriesRootLocation": "C:\arcgisserver\directories",
"ConfigStoreLocation": "C:\arcgisserver\config-store",
"PrimarySiteAdmin": {
"UserName": "siteadmin",
"Password": "fdsfdsfas"
}
}
}
}
Expected Behavior

I expect to see the ArcGIS server service running with the specified domain user account.
Actual Behavior
The default account was changed from "Local system" to my domain user account, but the service cannot start. If I try to start it manually I get: "Windows could not start the ArcGIS Server service on local Computer" Error 1069: The service did not start due to a logon failure"
After replacing the password of the set user in the LogOn tab of the ArcGIS Server service, I was able to start the service. It seems that the password is not correctly set.
With the Powershell DSC Version 3.1.1 it worked with the same user with 10.8.1. But it does not work with 3.2.0 and 10.8.1/10.9.0. The server is a windows 2019 server.
It seems only a one shot problem. If once the password was set correctly and the service was running I switched back to "Local System" an ran the DSC configuration again and this time the service account was set correctly and was running.
Steps to Reproduce
Just run an "InstallLicenseConfigure" Mode for simple ArcGIS Server deployment with a domain user as service account.
The DSC hangs after the restart of the service in the ArcGIS_Service_Account Module, because the service cannot start
Important Factoids
Windows 2019 Server in Azure (Westeurope)
References

The problem is not the password, the problem is, that the service account user is no longer granted to "Log On as a service".
Check https://support.faxmaker.gfi.com/hc/en-us/articles/360015152239
The service user is no longer added to this policy.

@spitzerr and @nme-esridech, FYI.

@lorenzmeyer77
Instead of adding the domain account to the 'log on as a service' local security policy, we believe the better approach would to instead add the machine that is hosting ArcGIS Server to the 'log on locally' rights of the domain user:
https://enterprise.arcgis.com/en/server/latest/administer/windows/advanced-considerations-when-using-domain-accounts.htm#GUID-1355896B-C547-4FAD-9299-D2D35A0D3D75

@cameronkroeker:
Your approach seems to be a leap back for me.  Usually the GIS-team does not have edit-privileges within Active Directory. So, whilst all could be fully automated, the GIS-team would have to request this privilege-change being done by the cloud-team of the IT-department. This completely breaks an otherwise fully automatable workflow.
Or do you see possibilities to set such a privilege via a GPO rule-based? Something like: "If another machine named 'GIShost*' comes up, give user 'GISServiceUser' the privilege 'log on locally' there."?

Any news concerning my input, @cameronkroeker?

@cameronkroeker:
Your approach seems to be a leap back for me.  Usually the GIS-team does not have edit-privileges within Active Directory. So, whilst all could be fully automated, the GIS-team would have to request this privilege-change being done by the cloud-team of the IT-department. This completely breaks an otherwise fully automatable workflow.
Or do you see possibilities to set such a privilege via a GPO rule-based? Something like: "If another machine named 'GIShost*' comes up, give user 'GISServiceUser' the privilege 'log on locally' there."?

Hi @scma-esrich, I understand your point about your organizational structure, however we are still in the process of investigating\elevating this.
Through various manual testing I have found the following observations:
a. If the username\password for the (local or domain) run-as account is passed through the silent install command via the setup, the run-as account is automagically added to the "Log on as a service" local security policy. If this account is removed from the "Log on as a service" local security policy the service fails to start with error 1069, until it is added back.
b. If the username\password for the run-as account isn't passed through the silent install command via the setup, then it defaults to Local System. Then if the configureserviceaccount.bat utility is used to change the Log On account from Local System (in services.msc) to a local\domain account this new account is not added to "Log on as a service" local security policy, but the service stops/starts successfully without an issue. However, if the local\domain run-as account is ever added to "Log on as a service" local security policy (manually) then removed, the service fails to start with error 1069, until its added back.
c. In some environments if the user does not belong to "Log on as a service" local security policy, when starting the service in services.msc the OS grants this privilege, but I have found that in some environments this is not the case:

So my conclusion from this is that once the run-as account is added to "Log on as a service" local security policy then it must always remain or the service fails to start. However, if the run-as account was never added to "Log on as a service" local security policy then the service starts successfully as well.
So this begs the question, why does the setup add this user assignment but not the configureserviceaccount utility? And is it truly required or necessary for the run-as account to have "Log on as a service" local security policy rights? I feel once we have more clarity on this then we can decide how to handle it from a DSC perspective.
Stay tuned.
Thanks!

@scma-esrich
My observations b and c above are incorrect/wrong. I have confirmed that the configureserviceaccount utilities for Portal/Server/DataStore/Mission Server/Notebook Server all do actually add the local\domain service account to the local security policy "Log On As A Service". I didn't realize that the Local Security Policy Desktop App needed to be fully closed, and reopened to see the change. So I have concluded that "Log On As A Service" is indeed actually required.
However, the ArcGIS_Service_Account resource does use the configureserviceaccount utilities (for Portal/DataStore/Mission Server/Notebook Server), and ServerConfigurationUtility.exe for Server to update the account. See the below snippet:
https://github.com/Esri/arcgis-powershell-dsc/blob/78e488fc0aac6f8f4cdf574e1bdb50a7d39ed350/Modules/ArcGIS/DSCResources/ArcGIS_Service_Account/ArcGIS_Service_Account.psm1#L139-L162
@lorenzmeyer77 I ran the following test, but was not able to reproduce the issue.

Created a VM using the ArcGIS Enterprise 10.9 Esri Azure Image from the Azure Marketplace
Joined the VM to a domain
Verified in services.msc that portal/server/datastore were all set to Manual, Stopped, and Local System as the Log On Account
Verified that my domain account was not granted "Log On As a Service"
Installed ArcGIS Module v3.2.0 from the PS Gallery and used the provided configuration file
Once the deployment completed, verified that the ArcGIS Server service in services.msc was set to Automatic for the Startup Type, the Log On Account was updated from Local System to my domain account, and the service stops/starts successfully
Also verified that the domain account had been granted "Log on as a Service" in local security policy

So I am still a bit confused as to how your domain account was not initially added to the Local Security Policy "Log on as a Service", as this should have been handled by the ServerConfigurationUtility for Server. Was this just a one off or are you able to consistently reproduce the issue?

@cameronkroeker My test still fails. So I'm able to reproduce the issue.

Created VM Windows Server 2019 from Azure Marketplace (NO Esri Image)
Joined the VM to a domain
Copyied DSC Module from GitHub Tag 3.2.0 to the machine, Copied setups, certificates and licenese as well.
Launched "InstallLicense" from the ArcGIS DSC Module
Checked that in the services.msc the server was set to Local System and was running.
Stopped VM, created disk Snapshot
Started VM again
Ran "InstallLicenseConfigre" with the provided configuration file.
--> Deployment hangs. The service account has changed, but the service could not start. Tried to start the service manually --> See Warning

@cameronkroeker
If I run the ServerConfigurationUtility.exe from the ArcGIS 10.9.0 Server Installation manually, it does not work.
If I want to add the domain account as follows:
c:\ArcGIS\Server\bin>ServerConfigurationUtility.exe /username nt-sbb1\fs45057 /password mypassword
I get:
Domain user account nt-sbb1\fs45057 not found. 80070035: The network path was not found.
But I can add this user and domain manually on the service:

@lorenzmeyer77 Ah I now understand the issue. In step 4, -Mode InstallLicense the domain service account should have been passed in with the silent setup.exe command during install. I suspect though it passed in Local System because it received the same error as you see when manually running the ServerConfigurationUtility.
Are you connecting to the VM as the local account or as a domain account?
I suspect the local account is unable to find the network path for the domain service account.
In my case I was making the RDP connection with a domain account rather than a local account which would explain why it worked for me.
What happens if you pass in the domain account using the -Credential parameter with the Invoke-ArcGISConfiguration command?
Thanks,
Cameron

I was logged in on the machine itself with the domain user (fs45057) and launched the dsc config. The same happens when I pass the credential with the -Credential parameter.

Thanks @lorenzmeyer77 for confirming. Looks like there are a few different known causes of the error Domain user account not found. 80070035: The network path was not found. from the ServerConfigUtility.exe. The following KB article from Esri Support explains a few in detail:
https://support.esri.com/en/technical-article/000012113
One additional known security policy that can cause this error is the "Remote calls to the Security Account Manager (SAM) must be restricted to Administrators." Typically this is enabled in STIG environments:

@cameronkroeker
New cognitions with the DSC 3.3.0 version:
In fact the problem is the "ServerConfigurationUtility.exe" (Command-Line) or even the "ServerConfigurationUtilityUI.exe" on our Azure VMs. It does not work with our Domain-Users. The Command-Line tool  started inside the DSC does not return an error and no other output message, but when I run the tool in a normal Command prompt I get this error:
"Domain user account xxxx\yyyy not found. 80070035: The network path was not found"
I created an Esri support call for this issue (Esri Case #02947471). Investigation still ongoing. The domain account works, but the tool from Esri cannot find it somehow.
We had this problem already with DSC 3.2.0 but there it then somehow worked, because in the "ArcGIS_Service_Account.psm" when the startup type for the service was fixed, also the user and the password were handed over. This has now been refactored with DSC 3.3.0 and now it doesn't work anymore. I had to fix it for myself. See https://github.com/lorenzmeyer77/arcgis-powershell-dsc/tree/feature/fixRunAsAccount

ArcGIS Module v3.3.1 will now add the ConfigData.Credentials.ServiceAccount.UserName (ArcGIS Enterprise RunAsServiceAccount) to the Log On as a service local security policy.


Improve sc.exe documentations

This pull request changes four pages:

sc-config.md
sc-create.md
sc-delete.md
sc-query.md

Changes include:

Change all invocations containing sc to sc.exe because, in PowerShell, the former is an alias for Set-Content. This change has been discussed in #3952. This PR is the result of that discussion.
Filled in the missing "Description" field with meaningful sentences. Instead of "Reference topic for **** - " it now says, e.g. "Learn how to change service configurations using the sc.exe utility."
Change an incorrect remark about using the "Add or Remove Programs" module of Control Panel. Since Windows Server 2003 (released 17 years ago), this module is no longer in charge of configuring server roles. This change applies to sc-delete.md only.

This PR potentially addresses #3822 and #2898 too.

#sign-off


allows all units, not time

allows all variables not containing time in the units

@DanielJMaher @FBRTMaka please review and merge, this is for the HOT FIX discussed...


installing gulp-cli and bower causes npm to run in an infinite loop?

Hey, I tried launching this seed on a new box and when I run ./bin/develop.sh, on STEP 6 (the npm install gulp-cli bower -g etc. etc.) npm just runs in an infinite loop, failing to install any packages. Do you know what the issue could be? Here's a taste of the beginning of that infinite loop.
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info attempt registry request try #1 at 7:08:39 PM
npm http request GET https://registry.npmjs.org/gulp-cli
npm info attempt registry request try #1 at 7:08:39 PM
npm http request GET https://registry.npmjs.org/bower
npm http 200 https://registry.npmjs.org/bower
npm http 200 https://registry.npmjs.org/gulp-cli
npm info retry fetch attempt 1 at 7:08:39 PM
npm info attempt registry request try #1 at 7:08:39 PM
npm http fetch GET https://registry.npmjs.org/bower/-/bower-1.5.3.tgz
npm info retry fetch attempt 1 at 7:08:40 PM
npm info attempt registry request try #1 at 7:08:40 PM
npm http fetch GET https://registry.npmjs.org/gulp-cli/-/gulp-cli-0.3.0.tgz
npm http fetch 200 https://registry.npmjs.org/bower/-/bower-1.5.3.tgz
npm http fetch 200 https://registry.npmjs.org/gulp-cli/-/gulp-cli-0.3.0.tgz
npm info install<EMAIL_ADDRESS>into /usr/local/lib
npm info install<EMAIL_ADDRESS>into /usr/local/lib
npm info installOne<EMAIL_ADDRESS>npm info installOne<EMAIL_ADDRESS>
I'd appreciate the help!
Matt

Hi,
I spun up a fresh digital ocean droplet w. ubuntu 14.04, installed docker-compose and ran:
git clone https://github.com/domasx2/django-angular-docker-seed.git
cd django-angular-docker-seed
./bin/develop.sh

And wow, epic amount of spam from npm! But it doesn't look like there's an inifnite loop, just ridiculous logging verbosity. It took a long time ( I guess due to excessive logging?), but eventually it finished installing successfully and started as it's supposed to.
Looks like something changed with latest npm, wasn't this spammy before. I'll investigate
Can you confirm that for you npm install gets stuck, rather than just taking a long time?

Yikes, I just assumed something was broken. I'll try now and let you know if I can get through the spam.

Looks like latest node image from dockerhub has default npm loglevel set to 'info', hence the ungodly amount of spam. Pushed an update https://github.com/domasx2/django-angular-docker-seed/commit/3947c5eb6ee7f4c9d8a4250dad26acdf1031a3bf that explicitly sets loglevel to 'warn', like it used to be. Let me know if thigns work for you

Ah perfect, it looks like it did eventually get through it (took about 20 minutes), I'll pull the latest version and use that. Thanks for looking into it!

No problem :)


Added node level quota stats

The StatsManager periodically fetch and aggregate stats from all stores sequentially. The result is then publish by writing to a local file in JSON format. More details can be found in the shared "Node level stats" Google doc.
Reviewers: @vgkholla and @nsivabalan
gradle build && test success on linux and mac
Coverage report:

Class
Method, %
Line, %

StatsManager
81.8% (9/ 11)
68% (51/ 75)

BlobStoreStats
100% (11/ 11)
96.6% (85/ 88)

All new lines introduced in BlobStoreStats are covered.
Only lines that are not covered in StatsManager are exceptions, some specific cases and private class StatsAggregator.
Yellow line for the following cases:

output file already exist, overwrite instead of recreate.
no ops for aggregation when the new StatsSnapshot's subtree is null
fail to terminate the aggregator task after shutdown

Looks good to me. Leaving it to @vgkholla

Looks good. Merging.


Spelling and grammar updates for AUTHORS.rst

It's a kind of superficial PR, but I went through AUTHORS.txt and corrected any spelling mistakes and made it more natural to read.

yay, thanks :)


Split up EOS and ETH dependencies

Currently scatter-js requires a bunch of Ethereum/web3 dependencies wether or not developers use them. Based on my local tests this inflates the minified bundle size 190K (654K vs 464K).
Since most projects will likely not support both EOS and ETH I think it would be a good idea to not load any default plugins, and instead require developers to manually require plugins for the blockchains they want to support.
Alternatively EOS plugins could be loaded by default, and ETH plugins could be opt-in, but I think that decision would depend on how Scatter views its Ethereum support. Is Ethereum supported as a 1st class citizen equal to EOS, or is it supported as a bridge for developers moving from ETH to EOS?

Well if the goal is to support a ton of different blockchains and EOS sidechains then it might be worth considering using lerna. This is how Babel/React/Jest manage their packages and it allows for developers to pick and choose components:

https://github.com/babel/babel/tree/master/packages
https://github.com/facebook/react/tree/master/packages
https://github.com/facebook/jest/tree/master/packages

Some example Scatter packages:
packages/
    scatter-core/
    scatter-plugin-bitshares/
    scatter-plugin-eos/
    scatter-plugin-ethereum/
    scatter-plugin-steem/
    scatter-plugin-telos/

Also are you sure it's necessary to export the .cjs/.esm/.min.js files? Seems like all that's needed is for Babel to transpile the src/ directory to the dist/ directory and in package.json set "main": "dist/scatter.js". I have an old proof of concept of how this + Lerna would work here if you'd like to take a look: https://github.com/liamcurry/gql/tree/master/packages

Implemented and merged into master.
Thanks oodles for the help on this, made life super-easy.
https://github.com/GetScatter/scatter-js/pull/8


chore: setting up semantic-release

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix build on linux

Needs cos7

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Bluetooth: controller: split: Fix overflow due to use uninitialised PDU

Fixed memory corruption when using uninitialised previous
PDU to populate current PDUs.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

I think the change is okay, but the filling of PDUs should be refactored to avoid having to duplicate the same changes in several files in the future.

Yes, my next PR will initiate some refactoring/reuse.


how to move mpos to other vps?

I am going to transfer MPOS to the new server. I will make backup of current databse. Then I will install new MPOS and deploy database there. It is enough?
My goal is to keep mining data.

Depends in what services you are moving. I am guessing you move an entire server:

Backup MPOS Database and Configuration
Backup wallet.dat and configuration
Backup stratum configuration

Move all backups to the new machine and setup the instance using those.

Thanks a lot.


Wrong behaviour...!

Hi,
I have the following code and when i enter a value 15 000 000 000.45 and put the cursor on first zero and press backspace, the plugin behaves strange and removes all of the later numbers reducing the number to 150.45. I am using 1.9.43 and Firefox 44.0
<!DOCTYPE HTML>

    <meta charset="utf-8">
    <title>autoNumeric</title>

        <form name="form1" method="post" action="">

                    <input class="currency" type="text" class="auto" style="text-align:right;">

        </form>

`

Issac,
What you are encountering is the limits of javaScript numeric accuracy which is well documented.
I suggest trying my version 2.0 (even though is say beta it is stable) which has support for Big.js (https://github.com/MikeMcl/big.js/) that should address your issue and still maintain precision min/max values.
Please let me know the results.
Bob

@BobKnothe Thanks for the reply but oddly enough I got the wrong behaviour only when using the minified version of the library.  I switched to the uncompressed version and it ran perfectly.  I am not sure if there was some issue in the minified version which I was using (I fetched it using bower).
I thought it was the way I am binding the plugin that is creating the issue.  I will try to recreate the issue on fiddle later and try posting an example.  But it is working great for now.  Thanks for creating an awesome plugin.

Isaac,
Thanks for the info - look forward to seeing the fiddle.
I may need to try a different compressor.
Bob
--------- Original Message --------- Subject: Re: [autoNumeric] Wrong behaviour...! (#191)
From: "Isaac Ramthal"<EMAIL_ADDRESS>Date: 2/10/16 4:40 am
To: "BobKnothe/autoNumeric"<EMAIL_ADDRESS>Cc: "Bob Knothe"<EMAIL_ADDRESS>@BobKnothe Thanks for the reply but oddly enough I got the wrong behaviour only when using the minified version of the library. I switched to the uncompressed version and it ran perfectly. I am not sure if there was some issue in the minified version which I was using (I fetched it using bower).
I thought it was the way I am binding the plugin that is creating the issue. I will try to recreate the issue on fiddle later and try posting an example. But it is working great for now. Thanks for creating an awesome plugin.
Reply to this email directly or view it on GitHub.

@BobKnothe Sorry strangely could not reproduce this on jsfiddle so attaching a miniproject. Try this in Firefox.  As of this date it does not work even in latest version of firefox 44.0.2.
autoNumeric.zip

Isaac,
Looks like there is two issues going on:

This is my error - it looks I minimized version 2.0 beta and labeled it 1.9.43
This one is a little more complicated. On "focusin" you initialize autoNumeric which on 1.9.43 is OK, but on version 2.0 a internal setting is modified on the "focusin". The problem is you are initializing autoNumeric after the "focusin" event so the internal setting is not properly changed.

So first I can re-minimize version 1.9.43 and properly label.
On version 2.0 I can add a line on the "keydown" event on that modifies the internal settings. My initial tests shows that it works but it needs more testing before releasing.
I hope you understand my explanation.
Bob
--------- Original Message --------- Subject: Re: [autoNumeric] Wrong behaviour...! (#191)
From: "Isaac Ramthal"<EMAIL_ADDRESS>Date: 2/16/16 11:15 pm
To: "BobKnothe/autoNumeric"<EMAIL_ADDRESS>Cc: "Bob Knothe"<EMAIL_ADDRESS>@BobKnothe Sorry strangely could not reproduce this on jsfiddle so attaching a miniproject. Try this in Firefox. As of this date it does not work even in latest version of firefox 44.0.2.
autoNumeric.zip
Reply to this email directly or view it on GitHub.

@BobKnothe  Got it :)  Hoping to see new patch for this soon.  I am using 1.9.x.


New Cyberware Idea - Insult Generator

The Insult Generator will when installed spew out random insults in the chat directed at nearby entities, causing them to lock onto you through walls and regardless of being attacked by other entities

Lol. This is hilarious. Could be useful if you literally want to tank for your friends when fighting a boss.

Rough mobs + epic siege mod + hard difficulty + the end = a lot of angry endermen teleporting you around while you try to cleanse them XD while everyone else focuses on the ender dragon ;)


feat(provider): Adds traits for volume and plugin stuff

This still isn't super pretty (as you can't overload impls in Rust), but
at least things are consolidated. I can combine these traits if desired
but I left them separate in case we wanted to improve ergonomics further
in the future
Closes #524

Labeled as breaking so we don't forget to note the API change in the release notes


AllowGenerateParams and GenerateCommands Setting Additions

AllowGenerateParams allows the bot owner to toggle if params can be used or will be ignored when the generate command is run
GenerateCommands allows the default !generate and !g commands to be changed

Looks good, thank you for these changes!
It already worked automatically upon updating directly from v1.0 to this, but updating from v2.0 to this would break due to a KeyError. I've quickly resolved that, in such a way that future changes should also automatically work.
I've also quickly added these new settings to the README.


Create home page

Depends on #179, #182.
Figma link
For now we are omitting recent activity and below.

@mgrauer - can the link be made publicly (viewable) or can we be given access to it?

We are looking into it. I'm not sure yet, so I wanted to drop in screenshots also for now.


Use recursive split in .scalar_sum()

Using recursive splitting is a good way to increase numerical stability of summation.
Suggestion: sum a sequence by sum(a || b) = sum(a) + sum(b). The sequential base case can be quite large (thousands of elements).

I am wondering if this could ever cause any problems with (a+b)+(c+d) not
necessarily being the same as a+b+c+d.
On Mar 10, 2016 00:18, "bluss"<EMAIL_ADDRESS>wrote:

Using recursive splitting is a good way to increase numerical stability of
summation.
Suggestion: sum a sequence by sum(a || b) = sum(a) + sum(b). The
sequential base case can be quite large (thousands of elements).
—
Reply to this email directly or view it on GitHub
https://github.com/bluss/rust-ndarray/issues/135.

.scalar_sum does not promise a particular order actually (it could not vectorize otherwise). Reducing the numerical error should be a win anyway.

Right now it changes a0 + a1 + ... + a8 + a9 + ... into (a0 + a8 + a16 + ..) + (a1 + a9 + ..) + ... actually

Not going to do this I think — more careful sum operations can be separate.

This reminds me of that blog post for the numerical library in D. I believe
one of the main tricks for vectorizing their code was closely related to
something you mention here in regards to summing vectors.
Maybe you might be interested. :)
http://johanengelen.github.io/ldc/2016/10/11/Math-performance-LDC.html
On Nov 5, 2016 15:58, "bluss"<EMAIL_ADDRESS>wrote:

Closed #135 https://github.com/bluss/rust-ndarray/issues/135.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bluss/rust-ndarray/issues/135#event-848836285, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqy-QEb3WYePzfHoEZxUE-iu41Bl5Mlks5q7Ke8gaJpZM4HtQan
.

thanks. ndarray has already tried to exploit that as well as possible in stable Rust. Can't use fast-math type things without nightly though. https://crates.io/crates/numeric-loops


Add tests, fix bugs

Changes

Adds tests for filters and products
Fix filters not showing in ui issue
Accepts any character for product description

Related Issues/ PRs

#77

LGTM!


DH_KEY_TOO_SMALL

I am using this component as part of Bbox' Home Assistant integration.
Since Home Assistant moved to latest version of OpenSSL, pybbox is no longer working and replies "DH_KEY_TOO_SMALL".
I created a workaround in a custom component here
in BboxApiCall.init method:
        requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS += 'HIGH:!DH:!aNULL'
        try:
            requests.packages.urllib3.contrib.pyopenssl.DEFAULT_SSL_CIPHER_LIST += 'HIGH:!DH:!aNULL'
        except AttributeError:
            # no pyopenssl support used / needed / available
            pass

Do you want to make a PR ? I've no Bbox any more so I can't test it.


Replace DEV_PUSH_TOKEN

Type of Change

[x] Bugfix
[ ] Enhancement / new feature
[ ] Refactoring
[ ] Documentation
[ ] Dependency

Description
See CIV-335

I have read the CLA Document and I hereby sign the CLA


Exploring the internal state of user interfaces by combining computer vision techniques with grammatical inference

http://dl.acm.org/citation.cfm?id=2486951

Our framework uses standard
computer vision techniques through a python-based scripting
language (Sikuli script) to identify key graphical elements in
the screen and automatically interact with these elements by
simulating keypresses and pointer clicks. -> The Sikuli script available


fix failing test and example

This patch fixes a failing example and test.

This is not right. Got confused by feature flags I guess?


Open new window offset from last focused window (Credit: albinekb)

Full credit to albinekb -- this PR also fixes the issue with opening multi windows in a row.

See https://github.com/zeit/hyperterm/pull/576

Looks good 👍

I reckon we just emit the event when the window opens

The event does fire from Shell -> New Window, but not from Dock -> New Window, I've added a bug ticket for that.  https://github.com/zeit/hyperterm/issues/583

@MrRio Please also close https://github.com/zeit/hyperterm/issues/573 and https://github.com/zeit/hyperterm/pull/576 if they have been fixed with this PR.


Footer: support RSS feed path (jekyll-feed plugin)

(This is my first commit and PR on this repo. Please feel free to reject or edit it as you see fit. Thanks!)
The jekyll-feed plugin supports an optional user-defined RSS feed path. jekyll-feed uses that path to generate the RSS autodiscovery meta tag. This changes minima to honor that feed path when it is defined.

Thank you @troy, but this has been superseded by #698.


Horizontal scroll reversed in Windows native builds

Describe the bug
Horizontal scrolling does not respect Windows preferences.
To Reproduce
Steps to reproduce the behavior:

Build a native demo on windows
Open the plot demo
Scroll horizontally and vertically
Do the same on the web to compare

Expected behavior
Horizontal scrolling, like vertical scrolling, should respect the "native scroll" default behavior.
Desktop (please complete the following information):

OS: Windows 10/11

Duplicate: https://github.com/emilk/egui/issues/356

Can you please open a winit issue on this?

Can you please open a winit issue on this?

Yes, I forgot to link these issues/PRs, my bad. I filed an issue and submitted a PR upstream: https://github.com/rust-windowing/winit/pull/2101
This egui issue and PR (#966) are only useful as workarounds if the winit issue is not merged for some reason.


Use type hieararchy from AST for GlympseKit classes' heirarchy and protocols.

The generated wrapper now looks to the protocol list for GlyEventSink to
determine whether to apply the sink template. This can be made more
generic when we handle boilerplate for other protocols.
Unhandled protocols can be dealt with by exluding the protocl generation
and using an empty protocol definition. The protocol marker still has
some value.

PAC

LGTM


extract()  promise resolves before decompressed file is fully written (may cause partial file write)

Example1 :
var extract = targz().extract('myArchive.tar.gz', extractPath);

extract.then(function() {
   // ... execute decompressed file
})

Technically file should have been fully written by the time promise success callback is called. In Example1 file execution may lock the file, and full file write may never finish.
Temporary workaround:
    return new Promise(function (resolve) {

        var extract = targz().extract('myArchive.tar.gz', extractPath);
        extract.then(function () {
            setTimeout(function () {
                resolve(entryName);
            }, 100);
        });
    });

    extract.then(function() {
       // ... execute decompressed file
    })

decompression test in : /Users/tomaszszawara/git/node-tar.gz/test/compression-test.js  currently also features 100ms delay. This test should be updated and timeout removed, once this issue is finished.

@mrt123
I encountered the same problem like you，you can commit NPM with new name！
I think this repository no body maintain!

+1
Encountered same problem. Is this project still maintained? @alanhoff

I published a new npm package tar.gz2, this package solved the extract issue

@yibn2008: 谢谢，will check it out.

@yibn2008 thanks. I tried your fork and still observing the issue. my test case is just extracting an archive, then extracting it again. An Error: EACCES: permission denied is logged to the console after the promise is resolved as it appears to be unable to overwrite an existing file.

@fadookie My fixed just solved the extract issue, which has been test in my project. Your error code is EACCESS, I think it is permission issue, not the problem of extract.
I suggest you remove the target file with sudo rm -rf xxx, and try again.

@yibn2008 thanks for the response. It seems as if the promise resolves, THEN rejects with this error. I have extracted a 100% consistent repro case here: https://github.com/fadookie/tgz-repro

@yibn2008 FYI the main repro case I found is even simpler: trying to extract a tar.bz2 archive. the promise resolves, then rejects with Error: incorrect header check. The promise should not resolve until the operation is complete, cleaned up, and no further errors caused by the extract operation are possible.

@fadookie your code has two problems:

The then(...) of promise requires a callback function, so you cannot just pass a console.log(...) statement which return value is NOT a function.
Your test script "test": "node test.js 'data.tar.bz2'" is incorrect, tar.gz can ONLY extract .tar.gz or .tgz format, so the .tar.bz2 won't be recognized.

Fixed code:
const targz = require('tar.gz2');

targz().extract(process.argv[2], 'data')
    .then(() => {
      console.log('extract finished!!')
    })
    .catch((err) => {
        console.error('error callback fired: ', err)
        process.exit(1);
    });

console.log('done?');

Then you can use tar -zcf data.tar.gz ./data to create a new tar.gz file to test. Here is my test result:

@yibn2008 d'oh! I think I worked too late tonight, I've written .then callbacks properly a thousand times but you are right I totally goofed this one. Regarding the bz2 issue that was intentional, I was just trying to force the library to error. So yeah I guess this was a false alarm. I'll try using your fork again tomorrow and see how it goes.

+1, also true for the callback version of the API


avatar-ui: Change UI for delete/edit.

Instead of having giant box for upload/delete
following changes are implemented.
(1) an X in the upper-left corner to remove the avatar.
(2) UI for uploading a new avatar potentially triggered by clicking on the avatar.

Fixes: #10255

Let's put the X in the upper-right; that's traditional.
@YJDave can you help review this?  I feel like there may be a cleaner implementation.

@timabbott please have a look. Moved X in upper-right as you suggested. Sorry I didn't get what you meant by cleaner implementation, Will you please suggest some improvements for the same.

Looks reasonable to me.
@YJDave @rheaparekh can one of you review this, since you've both worked on this widget?

@psg0796 I also submitted #10686 for fixing bug in uploading new avatar, please review!

@psg0796 it looks liek you closed several drafts today; was this intentional?


Add unit tests for Rest Api

Add the infrastructure for unit testing the Rest Api within run_tests, including a simplified mock validator that responds to ZMQ requests with mock data.
Add tests for both /blocks, and /state, the routes that are currently up to spec.
Also add small fixups to the rest api, adding a timeout option, and taking advantage of aiohttp's recently fixed match_info property (no more weird hacks to get a +!).

Updated to reflect the square 9-10 version of our plan. MockValidator has been replaced with a MockStream, which requires no ZMQ, but sends back preseeded fake data in much the same way the MockValidator did. I'd like to refactor to make the data specified in the test itself, but perhaps that is a job for another PR.

There are two things I really like here: 1) the declarative style of the assertions; and 2) the great API doc on the tests.


Allow defining multiple policies

Let the user dynamically add multiple policies by clicking an "+" icon.
The redirect URL policy should then become one of those using the Policy Type dropdown.

This is now fixed in https://github.com/SolidLabResearch/FormGenerator/commit/ac889ccf7f235f40a6a5175a336465a11d4bbd6b.


Add info to the documentation about creating Bridging Header for Swift

I faced multiple linker errors on iOS like:
Could not find or use auto-linked library 'swiftObjectiveC
Then found the solution here: https://stackoverflow.com/a/54586937/2881394
I think this should be added to the Installation section of the documentation.

Thank you for the report. I will look into it when I get home.

Thank you for the report. I will look into it when I get home.

Sorry I forgot this for awhile. But I updated the README.md to reflect this issue.


Battery bars have nothing common with calibration steps made by amnemonic stript

Battery bar has nothing common with calibration steps made by amnemonic stript
Here is my battery calibration:
Level 0: [1341] 5.20 V // Empty battery blinking
Level 1: [1805] 7.00 V // 1 battery bar if above this value
Level 2: [1921] 7.45 V // 2 battery bars if above this value
Level 3: [1960] 7.60 V // 3 battery bars if above this value, also value used to calculate adc to volt
Level 4: [2032] 7.88 V // 4 battery bars if above this value
Level 5: [2300] 8.92 V // overwritten by radio to 2300 anyway
Measured battery voltage is right and consistent with real battery's voltage.
Even when voltage on screen is 7.35V still, displayed battery's bars  are full.
It should show 1-2 bars at most.

This is the same as #139

Seems works ok on commit 6660d00

ah good , egzumer fixed that :)


Proper Error Message for Custom Error

When we create a custom error we give a reason and additional details.
Generally custom errors are created to wrap around other errors with additional context/details for e.g.
customErr := cadence.NewCustomError("Error with making HTTP Call", request.URL, err)
The Error() method returns the reason only which can be improved to include the additional details as generally the this method is useful while logging as the reason alone may sometimes be insufficient in the logs.
Proposed Solution
Error() can be changed to return reason + " Details : " + stringify(details) to give proper message. The Reason() and Details(..) functions still give us control over the required handling

Validated that this is still the case: https://pkg.go.dev/go.uber.org/cadence/internal#NewCustomError
I believe a reason why the error does not include the stringified details data is that the error message cardinality would increase significantly. This would mean a huge increase on the indexing workload for metrics aggregation when processing the errors.


Comments without space after # not recognized correctly

Lines that start with # with no space after are not parsed as comments, but git treats them as such.

(If you look at git log the line won't appear)

Ah interesting, looks like it's being parsed as a message node. I think the precedence might need to be tuned a little so that this ends up as a comment node instead


chore(deps): :arrow_up: update dependency axios to v1.6.3

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

axios (source)
1.6.2 -> 1.6.3

Release Notes

axios/axios (axios)
v1.6.3
Compare Source
Bug Fixes

Regular Expression Denial of Service (ReDoS) (#6132) (5e7ad38)

Contributors to this release

 Jay
 Willian Agostini
 Dmitriy Mozgovoy

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular/animations
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-12-29T23_38_16_037Z-eresolve-report.txt

npm ERR!


Update babel mcfly

Few changes made to the source code:

Replace vars by const and let.
Upgrade all dev and no dev dependencies to latest version.
Get rid of react-tools dev dependency.
Update the example in order to work with npm start correctly.

Introducing React 15.0 so we can implement React and ReactDOM separately.
@kenwheeler I hope you enjoy merging this PR ;)

This is lovely, thank you

Hey, before I cut a release, can you update jest to latest, add babel jest and a babelrc and make these tests pass?

Sure @kenwheeler


Pack nugets

Pack Nugets in release stage.
Have create the release pipeline to push the Nuget packages to FhirAnalytics feed.

Not related with this PR but just curious why there's no artifact published in the build pipeline? Is this behavior the one we expected? It looks that we are publishing the function app in the yaml.

Not related with this PR but just curious why there's no artifact published in the build pipeline? Is this behavior the one we expected? It looks that we are publishing the function app in the yaml.

I'm able to see the artifacts now. Just ignore this comment.

Also have updated the push Nugets pipeline in Release page


go get -u github.com/go-redis/redis fails on server

I can get the package on my pc (sierra 10.12) but when i try to get it on debian server it fails.
root@ntsproxy:~/work/src/hey/hello# go get -u github.com/go-redis/redis
github.com/go-redis/redis/internal/pool
../../github.com/go-redis/redis/internal/pool/pool.go:352: syntax error: unexpected range, expecting {
../../github.com/go-redis/redis/internal/pool/pool.go:356: non-declaration statement outside function body
../../github.com/go-redis/redis/internal/pool/pool.go:360: non-declaration statement outside function body
../../github.com/go-redis/redis/internal/pool/pool.go:361: non-declaration statement outside function body
../../github.com/go-redis/redis/internal/pool/pool.go:365: non-declaration statement outside function body
../../github.com/go-redis/redis/internal/pool/pool.go:366: syntax error: unexpected }

It was about go version on server. It's been fixed after i updated go.


throw Redirect()

Description
It's arleady possible with https://vite-plugin-ssr.com/RenderErrorPage#redirection but the DX should be polished.
We should:

Create a second utility throw Redirect()
Make pageContext.redirectTo a built-in property
Update all server integration examples
Automatically redirect /some/url/ to /some/url

Alternative design:
import { Render } from 'vite-plugin-ssr/Render'

throw Render({
  redirect: '/login'
})
// Or render another page (while preserving the current URL), aka URL rewrite
throw Render({
  url: '/login'
})
// Or show the error page
throw Render({
  errorPage: true,
  // By default statusCode is 404 when `errorPage: true` and 307 when `redirect: '/some-url'`
  statusCode: 400
})

I kinda like the sveltekit approach on this matter:
import { error } from '@sveltejs/kit';

export function load() {
    throw error(401, 'not logged in');
}

import { redirect } from '@sveltejs/kit';

export function load() {
    throw redirect(307, '/login');
}

It enforces the status code, which is usually a good idea. No error are the same, and the most common error could not be a 404 on some app (same analogy goes for redirect).
I also like having specific functions for those different use case. It could just be some higher order functions that return a generic Render error.
tldr; I like this alternative design approach, I would just make it more explicit.

That makes a lot of sense. I'll think about it.

I think SvelteKit's design is impeccable on that one. Both succinct and clear. I'm 👍 for doing the same.
/* We can't import from 'vite-plugin-ssr' in the 0.4.x release branch, we can move '/shared' to '/' in v1.0.0
import { error } from 'vite-plugin-ssr'
*/
import { error } from 'vite-plugin-ssr/shared'

export function onSomeHook() {
    throw error(401, 'not logged in')
}

import { redirect } from 'vite-plugin-ssr/shared'

export function onSomeHook() {
    throw redirect(307, '/login')
}

import { rewrite } from 'vite-plugin-ssr/shared'

export function onSomeHook() {
    throw rewrite('/login')
}

I'll think about it some more and then start the implementation. Now that VPS has guard() hooks, this ticket is quite a must-have.

Altneratives
Slightly more explicit:
import { redirect } from 'vite-plugin-ssr'

export function onSomeHook() {
    throw redirect(307, '/login')
}

import { renderErrorPage } from 'vite-plugin-ssr'

export function onSomeHook() {
    throw renderErrorPage(401, 'not logged in')
}

import { renderUrl } from 'vite-plugin-ssr'

export function onSomeHook() {
    throw renderUrl('/login')
}

Ugly but neat when using TypeScript:
import { render } from 'vite-plugin-ssr'

export function onSomeHook() {
    throw render('redirect', 307, '/login')
}

import { render } from 'vite-plugin-ssr'

export function onSomeHook() {
    throw render('error-page', 401, 'not logged in')
}

import { render } from 'vite-plugin-ssr'

export function onSomeHook() {
    throw render('url', '/login')
}

I like the "Slightly more explicit" version, not a fan of the "Ugly but neat when using TypeScript" one, mostly because it needs typescript annotations to be readable

List of relevant status codes: https://github.com/brillout/vite-plugin-ssr/issues/1008 (if the user doesn't use one of them then a warning is shown).

Quite a tempting alternative:
import { redirect } from 'vite-plugin-ssr'

function onSomeHook() {
    throw redirect(307, '/login')
}

import { render } from 'vite-plugin-ssr'

function onSomeHook() {
    throw render(401, 'not logged in')
}

function onSomeHook() {
    throw render('/login')
}

But let's see if it works out. (There are some slight argument conflicts.)

@magne4000 @gu-stav How about we remove the statusCode option from throw redirect()? The rationale being that if the redirection is done programmatically (dynamically) then it's most likely (always?) a temporary 302 redirect. At least I can think of a situation where I'd want to programmtically define a 301 permanent redirection.
So I think we can make thow redirect() always be a 302, while adding a new feature for permanent redirections that the user statically defines:
// /pages/+config.js

export default {
  // These are permanent 301 redirections
  redirect: [
    ['/about-us', '/about/team'],
    ['/vision', '/about/vision']
  ]
}

All in all, if I didn't miss any use case, it's both simpler and less error prone (choosing the wrong status code can have negative consequences that are quite substantial).

@brillout 👋🏼

How about we remove the statusCode option from throw redirect()?

I think there could be an argument for having 302 and 301/308 and therefore, I'd be in favor to keep them. Example: a very content-driven website wants to indicate whether something has been moved temporarily and permanently based on query params or the content itself.
I also think there is little overhead in this and making the arguments explicit even helps, because otherwise me as a developer would start to check the documentation to understand which status code is actually used.

How about this then:

I think this us a good compromise! Keeps the API simple but allows full control for those who are in need 👍🏼

Done:

https://vite-plugin-ssr.com/redirect
https://vite-plugin-ssr.com/render

Leaving this open until permanent redirections with config.redirects are implemented.

Leaving this open until permanent redirections with config.redirects are implemented.

Done: https://vite-plugin-ssr.com/redirects.

how to disable the "Automatically redirect /some/url/ to /some/url" behavior? all urls must have a trailing slash in my app (external requirement)

https://github.com/brillout/vite-plugin-ssr/issues/949#issuecomment-1698985853


want to know is support win10

hi thanks for jobs want to know is support win10.thanks very much

Prerequisites only mention Linux and MacOS.

@woctezuma  thanks


feat(spec): add support for CIS Docker Community Edition Benchmark

Description
This PR adds support for CIS Docker Community Edition Benchmark.
https://www.cisecurity.org/benchmark/docker
Blockers

https://github.com/aquasecurity/defsec/pull/1141
https://github.com/aquasecurity/defsec/pull/1139

All relevant PRs were merged. It is ready for review! @simar7 @giorod3 @chen-keinan

@knqyf263 could you please add it to tests , just to make sure yaml is not broken

Added in https://github.com/aquasecurity/defsec/pull/1144/commits/2a69430511efebb28e4b4fd2a48d579ef2ff4bd3


Server implementation

This project is nice, would like to contribute. It would be nice if you could publish a barebones smtp server and client implementation to get us started.

Hello heri16, thank you for your interest, sorry for the late answer I do not understand why but I did not saw the github notification. unfortunatly I have to much work for now to start a barebone implementation, I think I will have some time in 2 months. The simpler is the client, you could use https://github.com/Vagabond/gen_smtp gen_smtp_client.erl as a starting point. For the server, the implementation of gen_smtp_server_session could be "easily" integrated into a ranch protocol, but the hard part is to define a good high level interface above server implementation. Gen_smtp handlers are a good one, but too low level to easily use SMTP as a message broker for instance.


Add local range filter.

Adds the option to show every mappin within a fixed range of the player.
Removes filtering if in Fast Travel screen, regardless of other settings, so player always gets all Fast Travel points there.
Added options to enable/disable local range and its radius.
Hides FT pins by default, since local option is enabled by default.

@v1ld dropped it to nexus 👍🏻

Thanks!  I'm sad that your excellent mods came out close to the end of my run - wish I'd had them through most of it.  Finished the game but restarted just to muck around for a few hours and they make such a difference!  Good stuff.


viewWill/DidAppear and viewWill/DidDisappear aren't called

Hi @maxep
I have two ViewControllers loaded by MXSegmentedPage; in all this two ViewControllers can be played a video flow by the user.
When user change the current tab I have to pause the played video for the hidden tab.
I've thinked to put my logic into the ViewController waiting for a viewWillAppear/viewDidAppear call for the current selected tab and a viewWillDisappear/viewDidDisappear for the previous selected tab, but this methods aren't called right now.
Can you help me?
Thanks

Hi @bigluck
It wont work this way, methods view*Appear wont get called because view controllers are inside a container. To do so, I would suggest you to use the MXSegmentedPagerDelegate.

Ok, thanks @maxep

hi @bigluck can u plz tell me how you solved this...??? even i have to reload the viewcontroller when it appear...Thanks

Yep, right now I've writted a basic dictionary of weak references for all ViewController instanciated by MXPageSegue.

class Weak<T: AnyObject> {
    weak var value : T?
    init (value: T) {
        self.value = value
    }
}

    private var cachedVC = [Int: Weak<UIViewController>]()
    private var cachedSelectedPageIndex = -1 {
        didSet {
            if oldValue == self.cachedSelectedPageIndex || self.cachedSelectedPageIndex == -1 {
                return
            }
            if let hiddenVC = self.cachedVC[oldValue]?.value {
                hiddenVC.viewWillDisappear(true)
                hiddenVC.viewDidDisappear(true)
            }
            if let visibleVC = self.cachedVC[self.cachedSelectedPageIndex]?.value {
                visibleVC.viewWillAppear(true)
                visibleVC.viewDidAppear(true)
            }
        }
    }

And finally:
    override func segmentedPager(segmentedPager: MXSegmentedPager, didSelectViewWithIndex index: Int) {
        self.cachedSelectedPageIndex = index
    }

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        if let mxSegue = segue as? MXPageSegue {
            self.cachedVC[mxSegue.pageIndex] = Weak(value: segue.destinationViewController)
        }

I know, It's not perfect, but works... :hamster:

Caching the view controllers would be the solution. Instead of doing it in prepareForSegue , You can override the data source method like this :
override func segmentedPager(segmentedPager: MXSegmentedPager, viewControllerForPageAtIndex index: Int) -> UIViewController {
        let vc = super.segmentedPager(segmentedPager, viewControllerForPageAtIndex: index);

        // cache VC..

        return vc;
    }

@maxep @bigluck The currently selected view's "viewDidAppear" is not called if we come back from other viewController. How can this be solved?


feat: Support podman as alternative to Docker

https://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo points to https://docs.docker.com/engine/security/rootless/ for a rootless Docker.


Add batch retrieval solution design

What does this PR do?
Add solution design for new batch retrieval API endpoint
Background
Previously, for the init container solution, each Secrets Provider was deployed to the same Pod as the customer application containers. Because of this, when a batch retrieval request was made, the requests were dispersed across many call to the Conjur server. When making the batch retreival request and a permission error occured for example, then the batch request would fail and only that Pod would not spin up successfully.
Now, with the Job Milestone, the Secrets Provider is deployed outside of the customers' Pods, supporting multiple customer pods. With this, a single batch retrieval request will be made for all applications to fetch the necessary secrets to deploy properly. Therefore, if there is a failure in receiving one of the values, then the whole request will fail. In other words, no application Pod will spin up in the namespace. This leads to a faulty user experience.
What ticket does this PR close?
Connected to -
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code changes, or
[x] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[x] This PR does not require updating any documentation

Nice document

reopening, close accidentally


Code stops when trying to populate big file.

Hi,
I'm populating a file with "XlsxPopulate.fromFileAsync(filePath)" and it works fine on 40 files, but I have one file that have over 20,000 rows and 102 columns, when I get to the end "return workbook.outputAsync();" it stops on a file named lodash.js without me putting a breakpoint there, if I continue with the execution it does generates the file but when I try to open the file it sends me a couple error messages and alerts, file opens at the end but I can't really tell how much of the file was lost and I cant seem to find out how to stop the code from stopping. I'm attaching some screenshots, one of them shows how I'm populating the cells, it's just an example out of 102 columns.

Same here


Install-Module -Name Az is really slow

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce
Install the latest version of Powershell 7
 $PSVersionTable.PSVersion

Major  Minor  Patch  PreReleaseLabel BuildLabel
-----  -----  -----  --------------- ----------
7      2      2

Attempt to install the Az Powershell module per the recommended method according to the documentation
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force

Expected behavior
Install-Module completes or at least posts progress updates

Actual behavior
Operation hangs indefinitely - never completes

See https://github.com/Azure/azure-powershell/issues/17210
for more details on the same exact issue

Error details
N/A

Environment data
PS C:\code> Get-Module PowerShellGet; $PSVersionTable

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.2.5                 PowerShellGet                       {Find-Command, Find-DscResource, Find-Module, Fin…

Key   : PSVersion
Value : 7.2.2
Name  : PSVersion

Key   : PSEdition
Value : Core
Name  : PSEdition

Key   : GitCommitId
Value : 7.2.2
Name  : GitCommitId

Key   : OS
Value : Microsoft Windows 10.0.22000
Name  : OS

Key   : Platform
Value : Win32NT
Name  : Platform

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0…}
Name  : PSCompatibleVersions

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : <IP_ADDRESS>
Name  : SerializationVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Visuals
No response

Update: I renamed the title of this issue because the operation did finally complete. It took ~8-10 minutes and the powershell command didn't report any indication of progress starting until ~5 min after the process was started.
From the user's POV, it feels like the script is just hanging.

@luisnaranjo733 appreciate the feedback and totally understand the frustration--- we are doing work in both this module and in PowerShell Gallery to improve this performance over time...right now we are tracking this work with a few issues including #69 #599 and #31 .., with Install-PSResource we have also implemented a progress bar to show the progress

I am experiencing this issue today, it has been in a hung state for roughly 10 minutes so far.


Exercises not working !!!

If you try to load the exercises from:
https://github.com/cheminfo/nmr-dataset2
It is not working anymore !
And in fact none of the example links from the home page of the project are working: https://github.com/cheminfo/nmr-displayer

@lpatiny
Actually, it's not working anymore, I need to track the changes made by Michael.

we just need to change the url


Removing explicit dependency listing.

Description
This Pull Request proposes the removal of the explicitly listed swift-crypto dependency. The rationale behind this change is the discovery that swift-crypto is already included transitively through another dependency. This modification aims to simplify the dependency graph and reduce the overhead associated with managing direct dependencies.
Key Points

Rationale: The analysis revealed that swift-crypto is transitively included via swift-certificates. Eliminating the explicit dependency entry simplifies package management without sacrificing functionality. Further there was a versioning mis-match between the two declarations.

Impact: Functional testing confirms that this adjustment does not alter the project's capabilities. swift-crypto's functionalities remain accessible through its transitive inclusion.

Future Considerations: It is recommended to monitor future updates to swift-certificates for any changes that might exclude swift-crypto from its dependencies. Should such a situation arise, reintroducing swift-crypto as a direct dependency may be necessary.

Conclusion
The proposed removal of the swift-crypto direct dependency is intended to streamline dependency management. By leveraging the indirect inclusion of swift-crypto, the project maintains its functional integrity while achieving a simplified package management process.

Hi Tim.
I appreciate your perspective. You are right, given the circumstances. Perhaps we could adjust the version specifiers?
Version Specifiers:
The use of from: "0.3.0" in our dependency declaration allows any version greater than or equal to 0.3.0.
While convenient, it can lead to unintended consequences:
Breaking Changes: As you say, if a package introduces breaking changes in a future version, your project might break unexpectedly.
API Changes: Even non-breaking changes (e.g., API additions) can affect your code.
Compatibility: Dependencies might evolve in ways that are incompatible with your project’s assumptions.
Mitigation Strategies:
To mitigate risks, we could consider using more specific version specifiers:
.upToNextMinor: Allows updates up to the next minor version (e.g., 0.3.1, 0.3.2, but not 0.4.0).
.exact: Locks the dependency to an exact version (e.g., 0.3.0).
.range: Specify a custom range (e.g., 1.0.0..<2.0.0).
Conclusion:
Our goal is streamlined dependency management while maintaining functional integrity.
Let’s choose version specifiers wisely based on our project’s needs and risk tolerance?

Ah I see, using the prerelease of Swift Certificates can cause issues and our Swift Crypto dependency was out of date so I've bumped both in #34


Expect platform and data preferences

Code Coverage

File
Coverage [0.00%]
:x:

composeApp/src/commonMain/kotlin/data/repository/RecipePreferences.kt
0.00%
:x:

composeApp/src/commonMain/kotlin/data/repository/RecipeRepositoryImpl.kt
0.00%
:x:

Total Project Coverage
0.00%
:x:


⚠ Bofrost.at has degraded performance

In c9f33ee, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1914 ms

Resolved: Bofrost.at performance has improved in 7d48d24 after 6 minutes.


There is some error in the Wiki doc "Add Flutter to existing apps”

When i add Flutter to existing apps, the second step
$ cd .android/
$ ./gradlew flutter:assembleDebug

When I run this command, there is no flutter.so & flutter_assets in .aar file. And the main project will be crashed with no .so or "VM snapshot must be valid”.
I must run this command to compile the Flutter resources:
$ cd .android/
$ ./gradlew app:assembleDebug

And these command must be excuted before i run the main project. If I just run the main project’s run command, the Flutter resource will not be compiled or updated. If you do the clean command before you run the main project, the main project will be crashed with no .so or "VM snapshot must be valid”, too.

me too! I have faced the err "VM snapshot must be valid",can you tell me how to solve this problem?

me too! I have faced the err "VM snapshot must be valid",can you tell me how to solve this problem?

you must do these commands before you run the main project every time:
$ cd .android/
$ ./gradlew app:assembleDebug

I think there is missing some build options when you run your main project directly. Hope the official solutions!

@Paulo988  thanks a lot.
i dont use the .arr file,so i havet run the comman "./gradlew app:assembleDebug",
but when i run my host android project, i found my host apk
not have the flutter_assets floder,i  really do not what happens.

@Paulo988 thanks a lot.
i dont use the .arr file,so i havet run the comman "./gradlew app:assembleDebug",
but when i run my host android project, i found my host apk
not have the flutter_assets floder,i really do not what happens.

No matter what method you use, you have to compile it first in .android. Then you can run your host android project

@Paulo988  Thank you very much again,I will have a try later on.

@Paulo988 unfortunately，i still faced the error "VM snapshot must be valid."
First ,i cd .android and i haved runed the command ./gradlew app:assembleDebug,and the i run my host android project,when i add a flutterview on my activity,the err "VM snapshot must be valid" still occurred。

Flutter tools has a proper flutter build aar command now https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps#1-depend-on-the-android-archive-aar so I'm closing this.


Issue

issue is here should change only one character which is d instead of e . for intellisence
https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/intro-to-csharp/hello-world?tutorial-step=3
in the first block of tips there is a mis character kindly change it . thank you

@BillWagner

@najish The current text is correct. If you type a . after the last letter in a variable, the editor provides a list of possible methods you can use.  See the following image:

What should we add to that note to make this more clear?

closing due to lack of a response.


files cannot be deleted using only the fileId

Describe the bug
A lot of file-operations can be done by only knowing the fileId. E.g

PROPFIND
PUT
MOVE

but its impossible to delete a file only by the fileId
Steps to reproduce
Steps to reproduce the behavior:

create a file in any folder
get the fileId of the file
try a PROPFIND using that fileId. e.g. curl -uadmin:admin -k 'https://localhost:9200/remote.php/dav/spaces/33c9baa8-450f-4873-a049-7beb8227face$136ffc9b-d317-4219-a0c3-084d5e070c60!0b8eff1a-8401-4bda-a7e7-8333e44e4ded' -XPROPFIND
try to DELETE the file using the fileId: curl -uadmin:admin -k 'https://localhost:9200/remote.php/dav/spaces/33c9baa8-450f-4873-a049-7beb8227face$136ffc9b-d317-4219-a0c3-084d5e070c60!0b8eff1a-8401-4bda-a7e7-8333e44e4ded' -XDELETE

Expected behavior
File should be deleted
Actual behavior
confusing error message is shown:
<?xml version="1.0" encoding="UTF-8"?>
<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns"><s:exception>Sabre\DAV\Exception\MethodNotAllowed</s:exception><s:message>deleting spaces via dav is not allowed</s:message></d:error>

Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

PROXY_ENABLE_BASIC_AUTH=true ocis/bin/ocis server

The webdav delete handler expects a relative path since https://github.com/cs3org/reva/pull/2828 This was probably an easy way to block deleting spaces via dav.
Even though I have written it doesn't seem right to me any more. We should accept ids as for the other endpoints. We should still block deleting spaces via dav but we need another way to identify them


[Bug] [readme] Error link to Docker and k8s in readme #6802

1、modify the error link

@lenboo please review

Codecov Report

Merging #6833 (1331275) into dev (e2d516f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev    #6833   +/-   ##
=========================================
  Coverage     41.79%   41.79%
  Complexity     3614     3614
=========================================
  Files           641      641
  Lines         25890    25890
  Branches       2795     2795
=========================================
  Hits          10821    10821
+ Misses        14092    14089    -3
- Partials        977      980    +3

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...org/apache/dolphinscheduler/alert/AlertServer.java
55.00% <0.00%> (-5.00%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
53.52% <0.00%> (+1.40%)
:arrow_up:

...org/apache/dolphinscheduler/remote/utils/Host.java
40.00% <0.00%> (+2.22%)
:arrow_up:

Continue to review full report at Codecov.

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


[Blockly][Codegenerator] openSenseMap upload via WiFi generates compiling errors on booth MCU and MCU-S2

Block description and Expected block behaviour
The following sketch is meant to to upload a single value onto the openSenseMap via Wifi

Error
On the MCU I recieve the complier error
{"exit":"Command failed: 1: Uncaught Fatal Exception","process":"/tmp/1b4411a0889d67369ce9f36dc56d32b4/sketch/sketch.ino:6:10: fatal error: WiFi.h: No such file or directory\n #include <WiFi.h>\n ^~~~~~~~\ncompilation terminated.\nError during build: exit status 1\n"}
Om the MCU-S2 I recieve the compiler error
{"exit":"Command failed: 1: Uncaught Fatal Exception","process":"/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino: In function 'void writeMeasurementsToClient()':\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:72:7: error: 'client' was not declared in this scope\n client.print(buffer);\n ^~~~~~\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:72:7: note: suggested alternative: 'Client'\n client.print(buffer);\n ^~~~~~\n Client\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino: In function 'void submitValues()':\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:80:7: error: 'client' was not declared in this scope\n if (client.connected()) {\n ^~~~~~\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:80:7: note: suggested alternative: 'Client'\n if (client.connected()) {\n ^~~~~~\n Client\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:89:17: error: 'client' was not declared in this scope\n connected = client.connect(_server, 0);\n ^~~~~~\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:89:17: note: suggested alternative: 'Client'\n connected = client.connect(_server, 0);\n ^~~~~~\n Client\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:130:2: error: 'NVIC_SystemReset' was not declared in this scope\n NVIC_SystemReset();\n ^~~~~~~~~~~~~~~~\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino: In function 'void loop()':\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:170:100: error: conversion from 'int' to 'String' is ambiguous\n printOnDisplay(\"WiFi-Status\", String(WiFi.status()), 0, \"Batterie\", String(barrary_voltage), \"V\");\n ^\nIn file included from /root/.arduino15/packages/esp32/hardware/esp32/2.0.16/cores/esp32/Arduino.h:188,\n from /tmp/cbde14f3f85bf58b944b2bb2094d131b/sketch/sketch.ino.cpp:1:\n/root/.arduino15/packages/esp32/hardware/esp32/2.0.16/cores/esp32/WString.h:65:9: note: candidate: 'String::String(const __FlashStringHelper*)'\n String(const __FlashStringHelper *str) : String(reinterpret_cast<const char*>(str)) {}\n ^~~~~~\n/root/.arduino15/packages/esp32/hardware/esp32/2.0.16/cores/esp32/WString.h:59:9: note: candidate: 'String::String(const char*)'\n String(const char *cstr = \"\");\n ^~~~~~\n/tmp/2232684d68655f045f06bd1f19d1ba1c/sketch/sketch.ino:34:10: note: initializing argument 3 of 'void printOnDisplay(String, String, String, String, String, String)'\n void printOnDisplay(String title1, String measurement1, String unit1, String title2, String measurement2, String unit2) {\n ^~~~~~~~~~~~~~\n\nError during build: exit status 1\n"}

When building the Blocks like shown I get no errors. Probably the blocks were set with a different Board and afterwards the board was changed, no?

That's the problem. I changed the title for more clearance.


ERC1967UpgradeUpgradeable uses pragma solidity ^0.8.2;

ERC1967UpgradeUpgradeable is using pragma 0.8.2 while all the others use 0.8.0
💻 Environment
Using truffle this leads to a solc issue
📝 Details

🔢 Code to reproduce bug
Using truffle compile

Some contracts need features that were introduced after 0.8.0. In this particular case, it has to do with the custom NatSpec, that the upgrades plugins relies on, and that the compiler didn't recognize until 0.8.2. Other contracts in our codebase will require 0.8.4
If you need to use this file, you should update your compiler to 0.8.2 or above. Also, it is in general good practice to use a more recent version of the compiler.


(chore) lastest vacancy updates

These are actually for the 10th of May, my branch name is wrong as I based it on the trello card check item, which must be out of date.


Need to support platform differences (specifically z/OS)

When using CPH on Linux to put messages to z/OS QM, there is no way to put a message out-of-syncpoint.
MQIOpts.cpp allows:

syncpoint to be specified (-tx true)

However the alternative (-tx false) does not set *_NO_SYNCPOINT - instead it relies on the QM's default.
Unlike distributed, the z/OS QM default is have messages put/gotten in syncpoint.
It would be helpful to be able to specify *_NO_SYNCPOINT in order to run out-of-sync puts/gets against a z/OS QM.
Similarly if a queue is defined as DEFPSIST(YES), there is no option to put non-persistent messages.

persistence to be specified (-pp true) - but -pp false does nothing - picking up the queue option - it would be helpful to be able to determine the persistence explicitly.

Recent updates have added new parms to support explicit overriding of NP and Non Tx modes. See -txz and -ppn parms. cph.pdf document updated.


Stuck at 'Clearing System Cache Files'

When trying to run the program it stuck at Clearing System Cache Files 0%.
`
$ python3 -m platform
macOS-12.3.1-arm64-arm-64bit
$ mac-cleanup
Clearing System Cache Files... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   0% -:--:--`
There are no debug keys so cant diagnose what can be wrong.

It's probably asking for password input. I'll look into it.
Are you on 2.1.0?