Choose Simulator iOS version

React-native v0.34
Anyway to choose a simulator's ios version to run?
I have list of simulators with iOS 9.3 and iOS 10.
When using --simulator it picks the simulator device with latest iOS which is 10.
Setting deployment target to 9.3 in the project settings doesnt help :/
Maybe a flag --iosversion would be beneficial in the next release.
Thank you very much in advance,

+1 but until then, you can manually build and archive your project via XCode

@Amurmurmur this looks like a question related to Xcode usage. Please refer to Apple documentation

this is not an xcode usage problem. xcode can do what i said in #10284. it how the cli uses xcode.

I found "solution" just delete duplicate simulators with different ios versions
I simply removed iPhone 6 10.0 simulator and by default react-native runs iPhone 6 with 9.3

how about when i want to run two simulators of the same iphone and ios, but different name, and run something on one, run something else on the other?

It seems like there is a reasonable workaround here so I am going to close this issue. Thanks folks for chiming in to help answer this!

@lacker this is a workaround, but not a reasonable one IMO. It requires uninstalling and reinstalling simulators when you want to change the iOS version that react-native run-ios uses.

If I run react-native run-ios after upgrading to 0.44.0, I get
xcodebuild: error: SDK "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk" cannot be located.
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

Command failed: xcrun instruments -s
xcodebuild: error: SDK "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk" cannot be located.
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH`

Hmm.. looks like 10.2 is still getting called.
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
> ls
iPhoneSimulator.sdk	iPhoneSimulator10.3.sdk

Where is this 10.2 locked? I tried reinstalling ReactNative a few times, manually and with the Git Tool. It still seems pretty intent on 10.2

I have the same question. Is there any way how this can be specified? Are the UUIDs unique? Or are they the same on my local machine and on other machines? Trying to run iPhone 6 with iOS 10.3

Vote to reopen. It seems like which iOS version is used is random when multiple ones are installed. It would be really useful to have an option that can configure this!

@spinningarrow agreed; mine just opened with iPhone 6 9.1 even though the apps deployment target is 9.3... Took me several minutes to debug why the app was dying immediately on opening! I didn't even know I had 9.1 installed...

+1 to reopen, mine is iPhone 6 8.4

+1

This is still happening with the iOS 11.1 simulator

Actually it works for me now if you launch a simulator of your choice (and only one) and then run react-native run-ios, it will use actually launched simulator.

@comur That's slightly different - that's preloading the simulator and react will use the already open one.
The feature request is to be able to specify the version when launching it... Or at least have the launcher know if your project settings define a minimum version, to not use anything less than that.

Never ever run with sudo when you wanna build react native app, this will lead to more and more trouble.

This is still an issue from what I can see, but a work-around that works for me is going into XCode > Window > Devices and Simulators > Simulators, then renaming your simulators. You can then use the --simulator option to launch your preferred simulator using the new name.
For instance, I renamed my iPhone 6 with versions 9.0 and 11.2 to "iPhone 6 (9.0)" and "iPhone 6 (11.2)" respectively, though really it could be anything, even "Tacos". Then, your command would look like --simulator "iPhone 6 (11.2)" or --simulator "Tacos".
The fact that there's a workaround doesn't make this any less annoying, however.

Completely agree, OS version should be specifiable @lacker

I think @patrickholley 's workaround is the best thing we can do now

@lacker please reopen. A clunky workaround doesn't count as a fix.

Agreed. We have CI that comes with simulators pre-loaded. Renaming and/or uninstalling is definitely not ideal.


Highly irregular behaviour involving whitelists/blacklists and item variants when "Use Damage" is disabled

Issue description: When importing or exporting items, if "Use Damage" is disabled, the whitelist/blacklist does not work as it should, and imports/exports all variants of a given item.
What happens:
When "Use Damage" is disabled, all variants of an item are considered the same item. This leads to several items unintentionally going through. For example:

I placed a one stone (0001/0), granite (0001/1), and andesite (0001/5) block in a chest which was attached to a disabled importer

I then accessed the importer, set it to blacklist only granite, disabled the "Use Damage" filtering option, and enabled said importer

Upon checking the grid, neither of the three blocks passed through the importer

However, if I re-enable the "Use Damage" option, the stone and andesite blocks will be pulled from the chest, and the granite block will remain, as intended. This issue will happen with any blocks that share the same variant, like stone bricks and cracked stone bricks, for instance.
What you expected to happen:
That regardless of the "Use Damage" setting, the granite block would remain in the chest, while the stone and andesite blocks would be imported into the grid
Steps to reproduce:

Put down a chest, attach importer or exporter to it
Access the importer/exporter, blacklist any item that shares an ID with variants, and turn off the "Use Damage" option
Place said item along with several of its variants in the chest/grid
No items will have gone through the importer/exporter

Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge: 1.12.2 - <IP_ADDRESS>47
Refined Storage: 1.6.15

Does this issue occur on a server? Yes
If a (crash)log is relevant for this issue, link it here: N/A

In 1.12 and below the "Use Damage" option refers to whether or not a filter should comparing items metadata value or if it should ignore their metadata value.
The name "Use Damage" comes from the fact that damaged items use the metadata value to indicate how damaged they are.
Unfortunately, other things like stone, wool, wood,  concrete, etc. also use the metadata value for differentiating between different variants of the same block.
The behavior you are seeing is completely correct and intended. With damage disabled, the filter will match all variants of stone while enabled will only blacklist granite.
In 1.13+ metadata is gone and these things should no longer be quite as unintuitive.

I see. I understand how metadata works, and that a proper durability filter would be bothersome to implement, but in that case, shouldn't the option at least be relabeled in 1.12.2 to "match metadata" or something along those lines? This behaviour might be correct and intended, but the description is inaccurate to say the least

True. But this won't be changed anymore.

that's fair. this does make sense when you look at the whole picture, it was a misconception on my part


Create or update view?

Hi
Is there a way to have a list of items, and have them created or updated based on the existence of a PK?
Thanks

Hi,
I'm also interested by the functionality, is there a known workaround for this?
Thank you


examples/overview-simple.cpp does not compile

After the recent commits, examples/overview-simple.cpp is not compiling anymore.
I get the error: fatal error: cppad/cppad.hpp: No such file or directory
I believe cppad needs to be linked.

@proyan Thanks for raising this issue.
I found the bug, I will fix it asap.

Fixed by #688.


ci: add release branch for pr pipeline

Signed-off-by: Anish Ramasekar<EMAIL_ADDRESS>
Reason for Change:

Adds release to pr branches

Requirements

[x] squashed commits
[x] included documentation
[x] added unit tests and e2e tests (if applicable).

Issue Fixed:

Does this change contain code from or inspired by another project?

[ ] Yes
[x] No

If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers:

Codecov Report

Merging #581 (f9e305a) into master (27777ed) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #581   +/-   ##
=======================================
  Coverage   63.66%   63.66%
=======================================
  Files           7        7
  Lines         589      589
=======================================
  Hits          375      375
  Misses        180      180
  Partials       34       34


Using custom revision numbers when creating documents

We were using our own revision numbers with couchDB 1.6 to mask the number of edits made on a document. This was achieved by adding a "_rev" property to the JSON document we inserted into the database and making an API request with a _rev parameter (as if performing an update). The revision number was generated using the following Go code:
// randomRev produces a deterministic revision number from the plaintext, 1-2^16, and a hash
// After compaction, the number of revisions for a doc is now masked on the server
// Input should be the document
func randomRev(doc interface{}) string {
	encoded, err := json.Marshal(doc)
	if err != nil {
		log.Error(errors.Trace(err))
		return ""
	}
	multihash, err := mh.Sum(append([]byte("revsalt"), encoded...), mh.SHA1, 16)
	if err != nil {
		log.Error(errors.Trace(err))
		return ""
	}
	revNum := binary.BigEndian.Uint16(multihash[15:17]) // two bytes ie 0-2^16
	return strconv.Itoa(int(revNum)) + "-" + multihash.HexString()[4:]
}

In Couch 1.6, couch treated the document creation as an update and then the revision number was just an increment of what we provided (eg if we gave _rev=41543-c1a310b73245bfac2a69583319a2470c, then after completion the stored document had _rev=41544-<some hash value hexstring>).
In Couch 2.1, this generally doesn't work for the most part and Couch gives us a Document update conflict but what's strange is it seems to work sometimes.
Eg
While inserting
{
	"_id": "randomid10",
	"_rev": "64769-1a0347892643024c68e945015bfd0141",
	"par" : "test"
}

we get a 409: Document update conflict.
But when inserting
{
	"_id": "randomid123",
	"_rev": "41543-c1a310b73245bfac2a69583319a2470c",
	"par": "test"
}

the document is successfully created. Also adding this same document to a different database (or even the same one after wiping it completely) gives back an update conflict.
I am not sure what is happening behind the scenes here but there seems to be some kind of bug here.

We do not support creating your own _rev values in 1.6 or forward. You should be treating the _rev value as opaque. The only thing we guarantee is that, upon saving a new version using the correct previous _rev value, the new one will be monotonically higher.

it seems this is a big disadvantage for couchdb , I use use websocket nodeJS, when user double click the link to request and write some log , 2  clicks have the same _rev , which I think I have slow down the system ?

@touy If you don't use what the previous poster said, your situation won't create 2 revisions, because the documents are identical and your 2 versions would both be updating with the same prior _rev value. So only one new revision will be created.


Add a Pull Request Template

Description
This PR adds a basic pull request template to give structure for future contributors and to ease maintainers in reviewing incoming PRs.

Thanks, @saragerion!


Managing Rust comments

Hi,
I started to learn Rust language, and I noticed that your plugin doesn't work totally with it. There is 3 kinds of comments in Rust, nerdcommenter seems to use by default // as a symbol which is correct with Rust for the classical comments, but there isn't a way to use the 2 other kinds of comments.
The second way is using /// which is used to generate common documentation.
And the last way is using //!  which is used to generate module documentation.
I really don't know much about coding Vim plugins, but it seems in your code that when adding a new language you can have 'left' and 'leftAlt' property. But Rust needs a third command, is there any way to have this in your plugin?
By the way, thanks a lot for you awesome plugin! And if it is not possible to have three types of comments that's ok I think I won't die of this x)

At this time I don't think there is a way to setup three delimiters, but I have  added the triple slash syntax as the alternate for Rust. The module documentation string is more of a Rust language feature than it is a comment format—actually both of these are just overloaded comment operators, but at least now one of them should be easy to get to. I hope that helps.

Ok great! It's ok I thought too that it would not be possible to add that kind of comment, but the triple slash syntax is enough to be comfortable ;) Thanks!


Share Modal

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

@Yashsharma1911 look good?

merge conflict

@Yashsharma1911 @sudhanshutech please address the merge conflict.

Conflict Resolved ✅


Error downloading cosmic references with prepare_cosmic.py

Version info

bcbio-nextgen 1.2.3 - development release
CentOS 8

To Reproduce
Exact bcbio command you have used:
export COSMIC_USER="my_email"
export COSMIC_PASS="my_password"
/staging/gtcmolecular/local/bin/bcbio_python /staging/gtcmolecular/tmpbcbio-install/cloudbiolinux/utils/prepare_cosmic.py 91 /staging/gtcmolecular/local/share/bcbio/

Your sample configuration file:
N/A

Observed behavior
Error message or bcbio output:
2020-07-23 18:14:40,161 [I] Beginning COSMIC v91 prep for GRCh37.
2020-07-23 18:14:40,161 [I] v91/GRCh37 files exist, please use the --clean flag to overwrite the existing files if you want to reinstall.
2020-07-23 18:14:40,161 [I] Downloading COSMIC VCF files.
2020-07-23 18:14:40,162 [I] Downloading https://cancer.sanger.ac.uk/cosmic/file_download/GRCh37/cosmic/v91/VCF/CosmicCodingMuts.vcf.gz
Traceback (most recent call last):
  File "/staging/gtcmolecular/tmpbcbio-install/cloudbiolinux/utils/prepare_cosmic.py", line 246, in <module>
    main(args.cosmic_version, args.bcbio_directory, args.overwrite, args.clean)
  File "/staging/gtcmolecular/tmpbcbio-install/cloudbiolinux/utils/prepare_cosmic.py", line 56, in main
    cosmic_vcf_files = get_cosmic_vcf_files(genome_build, cosmic_version, clean)
  File "/staging/gtcmolecular/tmpbcbio-install/cloudbiolinux/utils/prepare_cosmic.py", line 205, in get_cosmic_vcf_files
    download_url = r.json()["url"]
KeyError: 'url'

Expected behavior
This is my first time running the cosmic script so I am not sure what to expect other than all VCFs were downloaded and made available for use as annotation sources for GRCh37.
Log files
Please attach (10MB max): bcbio-nextgen.log, bcbio-nextgen-commands.log, and bcbio-nextgen-debug.log.
N/A
Additional context
I noticed that the URL to download the coding and non-coding VCFs manually is different than the URL in the script.

Hi @IvantheDugtrio !
I'm installing cosmic-91 right now and it passes this step.
COSMIC requires a not alpha-numeric characted, and I saw a similar error when I used ! in the COSMIC_PASS.
export COSMIC_PASS="pass\!" gave me that error, as requirest did not return a result.
export COSMIC_PASS='pass!' worked.
Sergey

Hi @naumenko-sa !
I tested it and that looks to have been the whole issue. Thanks for the assistance!
Ivan


icon comment in post detail

ref : https://oopsreview.com/post/RemoteMouse-as-Your-Keyboard-and-Mouse-5b6e9a802f18fbd28c4c0503

[x] get count from discuss
[x] if click, auto scroll to post section (smooth scroll)

reopen, count is not match, always 0


Enable tree-shaking

Not sure currently tree-shaking is enabled, but according to docs it may not

By default, tree shaking is only enabled either when bundling is enabled or when the output format is set to iife, otherwise tree shaking is disabled. You can force-enable tree shaking by setting it to true:

for #22, this should be confirmed first


High CPU usage

Issue Type: Performance Issue
While editing in VSCode, I'm experiencing moments of very slow performance, which affect the whole machine — CPU usage goes up to 100%. After a few minutes it will usually go back to normal.
I'm running with all extensions disabled. I'm usually editing ReactJS projects when this happens, and running the create-react-app development server in the background.
I have a tsserver log and process sample from Activity Monitor, but I'd prefer not to post them here. Is there a way to submit them privately?
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:18:43.347Z)
OS version: Darwin x64 18.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz (8 x 2300)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 3

Memory (System)
16.00GB (0.43GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@mjbvz Thanks -- I emailed them, since they were from an older session.

I'm having a similar issue. Randomly my vscode started consuming 100% CPU. When I checked the process explorer, tsserver is consuming 100% CPU. Also, autocomplete has stopped working in my JavaScript project :/

Is it possible to try out drop from https://github.com/Microsoft/TypeScript/pull/28209 to see if that helps.

I have my typescript.tsdk pointing to a local build of that branch. I'll run with it for a few days and let you know how it performs.

Has anyone found a workaround for this issue?

@jacobweber Did you get a chance to test this?

So I've been running it for a couple weeks with this branch. I'd say the change (which seems to affect mostly the .cache files inside node_modules) feels like an improvement.
I'm still seeing high CPU usage in some cases from Code Helper, so I don't feel very confident about this. But it's been hard for me to narrow down the cause.

@jacobweber may be sharing tsserver log from when you see high usage can help us identify if there is any issue we can handle.
You can upload logs using

With "typescript.tsserver.log": "verbose" enabled
Restart vscode or vscode insiders
Reproduce the problem
Run code --upload-logs on the command line (or code-insiders --upload-logs if using vscode insiders) and follow instructions
Share the log file ID

Yep, will do if it happens again.

I'm seeing this same problem.  tsserver is running at 100% and I'm not even using TypeScript in my project.

@daviesdoclc Your logs show that you are using<EMAIL_ADDRESS>and not typescript@next. You need to set the vscode to use typescript@next .

@sheetalkamat my project is not using typescript.  Is this something vscode is including?  If so, how do I change to @next ?

vscode uses typescript to power user experience of javascript. You can follow steps in https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Nightly Builds.md#visual-studio-code to install typescript@next and that link also has information on how to change vscode to use typescript nightly drop.

I'm okay with closing this -- overall I'm noticing far fewer slowdowns with the TS branch. I'll submit another issue if I see them again.

Seeing more of these issues -- I opened #65229.


Replace serde[-cbor] with borsh

this constitutes the alpha of v0.3, which should also include a more explicit dispatch step

How will this affect other services using serde::Serialize/Deserialize retroactively?

How will this affect other services using serde::Serialize/Deserialize retroactively?

totally incompatible, but that's captured in the semver bump


error message: "Warning!!! Missing or invalid metadata found in the following site dirs"

What pipdeptree version are you using?
2.23.3
Are you running pipdeptree in a virtual environment?
No
Describe the problem
My system is macOS 14.6.1, and I have both Python 3.11 and 3.12 installed via Homebrew.
$ pipdeptree --version
2.23.3

$ python3.11 -V
Python 3.11.10

$ python3.12 -V
Python 3.12.6

$ command -v python3.11
/opt/homebrew/bin/python3.11

$ realpath $(command -v python3.11)
<EMAIL_ADDRESS>
$ command -v python3.12
/opt/homebrew/bin/python3.12

$ realpath $(command -v python3.12)
<EMAIL_ADDRESS>
I'm hitting an issue, apparently with my global site-packages dir, and looking for help identifying how to fix it.
$ pipdeptree --python /opt/homebrew/bin/python3.11
Warning!!! Missing or invalid metadata found in the following site dirs:  <==
/opt/homebrew/lib/python3.11/site-packages
{...rest of pipdeptree output...}

I see this warning message originates from the test_invalid_metadata() function in tests/test_discovery.py but I don't know how to drill down further into what's causing it or how to identify whatever condition is being flagged here.
It's worth noting that running the same command against my python3.12 interpreter does not produce any errors:
$ pipdeptree --python /opt/homebrew/bin/python3.12  <== ok

This warning means that there should be a METADATA file somewhere in /opt/homebrew/lib/python3.11/site-packages that is missing required metadata. Currently this just means you have a METADATA file somewhere in your site directory that is missing the Name field.
importlib.metadata (which we use to grab all the env's package metadata) doesn't validate this file and it doesn't appear to publicly expose the path to it; however, they do expose the site dir that the problem distribution package is a child of (which is what we see here).
All that happens in pipdeptree is that we skip this package, but if you want to you can search your site dir looking for METADATA files that don't contain a Name field.

@kemzeb Thank you for trying to help.
But, I ran the commands below, which should find any METADATA files without a Name: field. However, it found none.
$ cd /opt/homebrew/lib/python3.11/site-packages
$ find . -type f -name METADATA -exec grep --files-without-match '^Name:' {} +
(...no output...)

I used a bisect method to find the offending directory. Just took half of the dirs out of the site-packages dir and kept iterating, until I was left with just this:

Seems to be some leftover dir from a failed install or upgrade. I nuked it and all was well.
If it helps, here's a script I came up with that should find both invalid as well as entirely missing METADATA files, which also trigger this warning from pipdeptree.
#!/usr/bin/env bash

SITE_PACKAGES_DIR='/opt/homebrew/lib/python3.11/site-packages'

verify_metadata() {
  for f in "${METADATA_FILES[@]}"; do
    grep --files-without-match '^Name:' "$f";
    grep --files-without-match '^Metadata-Version:' "$f";
    grep --files-without-match '^Version:' "$f";
  done
}

missing_metadata() {
  find "$SITE_PACKAGES_DIR" -mindepth 1 -type d -name "*.dist-info" ! -exec sh -c 'test -f "$0/METADATA"' {} \; -print
}

mapfile -t METADATA_FILES < <(find "$SITE_PACKAGES_DIR" -type f -name METADATA)

mapfile -t INVALID_METADATA < <(verify_metadata)
if [[ -n ${INVALID_METADATA[0]} ]]; then
  echo 1>&2 "files containing INVALID metadata:"
  printf '%s\n' "${INVALID_METADATA[@]}"
fi

mapfile -t MISSING_METADATA < <(missing_metadata)
if [[ -n ${MISSING_METADATA[0]} ]]; then
  echo 1>&2 "dirs with MISSING metadata:"
  printf '%s\n' "${MISSING_METADATA[@]}"
fi

Was not aware importlib.metadata also accepted missing METADATA files. Glad you were able to solve this problem!


Bump js-tokens to version 4.0

Version 4 brings compatibility with ES2018 and a potential performance improvement (due to https://github.com/lydell/js-tokens/commit/9d18b7ea07744e2f4dfbeb46ce557a4a65b44ade)

@zertosh Could you take a look at this one? Thanks :)

Thanks! Published<EMAIL_ADDRESS>which uses the range ^3.0.0 || ^4.0.0 for js-tokens

Wonderful! Thank you :)


feat: requirements unit tests

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


Zooming: with certain settings, initially can't zoom out until you zoom in

Description
Using these settings:
<model-viewer
style="width: 100%; height: 100%;"
src="winter_time/scene.gltf"
camera-controls
auto-rotate
camera-target='0m 100m -40m'
min-camera-orbit='auto auto 50m'
max-camera-orbit='auto auto 1000m'
camera-orbit='5.14rad 1.03rad 50m'
field-of-view='60deg'
min-field-of-view='auto'
max-field-of-view='auto'

..I am initially unable to zoom out, ie. mouse wheeling out does nothing. But once I zoom in, THEN I can zoom out all the way (to 1000m).
Browser Affected

[x ] Chrome 80
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[x ] Windows 10

Versions

model-viewer: at HEAD

Thanks for reporting @stevesan , looks like @elalish is on it 👍


DMA Implementation

Just a tracking issue

[x] ESP32
[x] ESP32-C2
[x] ESP32-C3
[x] ESP32-S2
[x] ESP32-S3

Closed by #212, #216, #228, and #234.


Add v0.11 draft release notes

What this PR does / why we need it:
Initial draft release notes for v0.11 - this is a big release 😄 looking forward to getting it out! 🎉
Release note:
NONE

/assign @JoshVanL
/milestone v0.11

/lgtm


unilateral server data responses are not processed at every response.

Unilateral server data responses are responses that can come at any time, so they need to be processed every time response is received. This is also an issue with original rust-imap project.
See https://tools.ietf.org/html/rfc3501 section 7. Server Responses

Could this also lead to an issue that when we start IDLE that we get such responses but we don't properly parse them?  Do you have a suggestion on how unlitateral server data responses should be handled in practise?   As far as i understand, at least Delta Chat currently does not issue multiple tagged client commands, but sequentially waits after issuing one.

should be fixed in master @Sergey-Kitov please take a look and reopen if there are still missing areas


Missing /proc/vmstat breaks software included with default installation.

Missing /proc/vmstat breaks programs like vmstat, which ship by default with the current installer.
Windows 10 Home version 1607 build 14393.105
To reproduce, run the command vmstat
You will see errors about /proc not being mounted.
strace vmstat will reveal that /proc/vmstat was not found.
open("/proc/vmstat", O_RDONLY)          = -1 ENOENT (No such file or directory)

@sprink
Same thing with other utilities underneath /proc. I have the following:
root@computer:~# ls /proc/
1   2   35       cpuinfo      interrupts  meminfo  net   stat  uptime
19  20  cmdline  filesystems  loadavg     mounts   self  sys   version

root@computer:/proc# strace version
strace: Can't stat 'version': No such file or directory

Thank you for filing this.  I have filed this one as a bug.
To help prioritize, is this blocking a specific scenario?

This is not blocking anything for me. Uncovered it while troubleshooting an entirely unrelated issue.
Thank you!

I also encountered this problem, and my dropbox could not work prompting missing /proc/vmstat

Same error ( [Errno 2] No such file or directory: '/proc/vmstat' ) occurs after @EasyEngine 's installation.

dropbox original install as in
http://www.dropboxwiki.com/tips-and-tricks/install-dropbox-in-an-entirely-text-based-linux-environment
is impacted by this bug.
I got this: IOError: [Errno 2] No such file or directory: '/proc/vmstat'

Will umask help fix the  [Errno 2] No such file or directory: '/proc/vmstat'  error? I don't understand the reference.

Same issue after upgrading to WSL 16.04 Xenial support
This happens just after installing dropbox,  daemon can not start. This is the generated log tail messages.
File "dropbox/event.py", line 244, in start
File "psutil/init.py", line 1626, in swap_memory
File "psutil/_pslinux.py", line 195, in swap_memory
IOError: [Errno 2] No such file or directory: '/proc/vmstat'

Just to add to the list, Glances also fails to load due to lack of vmstat (log below).
/usr/local/lib/python2.7/dist-packages/psutil/_pslinux.py:344: RuntimeWarning: 'sin' and 'sout' swap memory stats couldn't be determined and were set to 0 ([Errno 2] No such file or directory: '/proc/vmstat')
  warnings.warn(msg, RuntimeWarning)
Traceback (most recent call last):
  File "/usr/local/bin/glances", line 9, in <module>
    load_entry_point('Glances==2.6.2', 'console_scripts', 'glances')()
  File "/usr/local/lib/python2.7/dist-packages/glances/__init__.py", line 130, in main
    args=core.get_args())
  File "/usr/local/lib/python2.7/dist-packages/glances/standalone.py", line 67, in __init__
    self.stats.update()
  File "/usr/local/lib/python2.7/dist-packages/glances/stats.py", line 154, in update
    self._plugins[p].update()
  File "/usr/local/lib/python2.7/dist-packages/glances/plugins/glances_plugin.py", line 658, in wrapper
    ret = fct(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/glances/plugins/glances_fs.py", line 103, in update
    fs_stat = psutil.disk_partitions(all=False)
  File "/usr/local/lib/python2.7/dist-packages/psutil/__init__.py", line 1801, in disk_partitions
    return _psplatform.disk_partitions(all)
  File "/usr/local/lib/python2.7/dist-packages/psutil/_pslinux.py", line 899, in disk_partitions
    fstype = line.split("\t")[1]
IndexError: list index out of range

is there any progress on this issue?
I utilise the EasyEngine.io suite for WordPress development and if I could run this in WSL, WOW that would make a massive difference to my production work and quite possibly a lot of Web Developers who work on windows machines.
The install process makes it all the way to the end and returns error. Hear are the last few lines
Installed /usr/local/lib/python3.4/dist-packages/cement-2.4.0-py3.4.egg Searching for python-apt==<IP_ADDRESS>ubuntu2 Best match: python-apt <IP_ADDRESS>ubuntu2 Adding python-apt <IP_ADDRESS>ubuntu2 to easy-install.pth file Using /usr/lib/python3/dist-packages Finished processing dependencies for ee==3.7.4 [Errno 2] No such file or directory: '/proc/vmstat'
really hoping to find a way around this or getting some info as to what is cuasing this issue.

This is also causing problems for me we trying to run: https://github.com/ray-project/ray

@pedosb sudo pip3 install psutil fixes this issue

@pedosb sudo pip3 install psutil fixes this issue

This did not solve the issue for me, still same error...

re: sudo pip3 install psutil fixes this issue
Why is pip3 being used to install psutil ?  Is psutil installed on Windows or in Ubuntu ?
As a Mac user, can't we use an equivalent to brew ?  or use yum ?

root@host:~# pip3 install psutils
ERROR: Could not find a version that satisfies the requirement psutils (from versions: none)
ERROR: No matching distribution found for psutils

@pedosb sudo pip3 install psutil fixes this issue

Unfortunately this doesn't work for tools like dropbox, which uses its own version of psutil.
Does anyone know another workaround? Can we fake a '/proc/vmstat'?

Another "fixed-in-wsl2"  😞  This is not a solution for those of us held back or for which the 2004 update of Windows still hasn't rolled out to.

WSL2 should have rolled out to 1909 and 1903 if you're on x64. https://devblogs.microsoft.com/commandline/wsl-2-support-is-coming-to-windows-10-versions-1903-and-1909/

Thanks @WizardCM  I had forgotten about that. It helps with my own machine, but unfortunately my work machine is held back on 1809 on a supposed "evergreen" program.


Ubuntu 20.04 clean installation ... (Not working).

I open this ticket hoping could help me and somebody in the same situation. Trying to install RocM 4.0 on ubuntu 20.04 (Clean) simply it does not works.
I have AMD Ryzen 5 on Asus B350M + RX Vega 64 on Ubuntu 20.04. (According to documentation this configuration should be more than supported)
I followed exactly
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#ubuntu
The first problem is that kernel 5.8 is not supported and rocm-dkms does not work. This is documented, it is unfortunately not documented how to work around.
The way I did is to install kernel 5.4.0-67 with
sudo apt install linux-image-5.4.0-67-generic linux-headers-5.4.0-67-generic
I force to install amdgpu for the kernel 5.4.0-67 with
sudo dkms install amdgpu/4.0-23 -k 5.4.0-67-generic
I rebooted selected 5.4.0-67 and tried
/opt/rocm/bin/rocminfo
The result:
ROCk module is NOT loaded, possibly no GPU devices Unable to open /dev/kfd read-write: No such file or directory i-bird is not member of "video" group, the default DRM access group. Users must be a member of the "video" group or another DRM access group in order for ROCm applications to run successfully. hsa api call failure at: /src/rocminfo/rocminfo.cc:1142 Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.
in dmsg i found
dmesg | grep amdgpu [    2.338814] amdgpu: Unknown symbol amd_iommu_bind_pasid (err -2) [    2.339078] amdgpu: Unknown symbol amd_iommu_set_invalidate_ctx_cb (err -2) [    2.339244] amdgpu: Unknown symbol amd_iommu_free_device (err -2) [    2.339758] amdgpu: Unknown symbol amd_iommu_unbind_pasid (err -2) [    2.339781] amdgpu: Unknown symbol amd_iommu_init_device (err -2) [    2.339976] amdgpu: Unknown symbol amd_iommu_set_invalid_ppr_cb (err -2)
while /dev/kfd does not exist.
Does anyone have an idea of what is going on ?

Thanks @incardon for reaching out.
As mentioned in rocm documentation, ROCm 4.0 does not work with 5.8 kernel.
Within 2 days, ROCm 4.1 is going to be released and then you can try ROCm 4.1 with 5.8 kernel, should work.
Thank you.

Meanwhile if you wish to try with ROCm 4., follow the below way.
You can install linux-5.4 or 5.6 kernel and uninstall linux-5.8 manually. Reboot and re-install rocm-dkms.
Like this:
sudo apt install linux-image-5.4.0-67-generic linux-modules-extra-5.4.0-67-generic linux-headers-5.4.0-67-generic
sudo apt remove linux-image-5.8.0-44-generic linux-modules-extra-5.8.0-44-generic linux-headers-5.8.0-44-generic
Hope this helps and clarifies.
Thank you.

Thanks. For the fast answer. Installing linux-modules-extra-5.4.0-67-generic, removing 5.8 using the instruction above and reinstalling dkms made it works. To assemble a set of instruction for ROCM 4.0
sudo apt install linux-image-5.4.0-67-generic linux-modules-extra-5.4.0-67-generic linux-headers-5.4.0-67-generic sudo apt remove linux-image-5.8.0-44-generic linux-modules-extra-5.8.0-44-generic linux-headers-5.8.0-44-generic rocm-dkms sudo apt autoremove sudo reboot sudo apt install rockm-dkms rockm-dev

Thanks for the confirmation @incardon
Thank you.


Incorrect documentation: SELECT Clause - missing string literal aliases

https://docs.microsoft.com/en-us/sql/t-sql/queries/select-clause-transact-sql
Documentation missing mentioning "string literal as column alias"
this feature is deprecated but still supported by SQL Server (at least) up to V2019
I think string literals as column alias should be described with their "deprecated" status

@OleksiiKovalov -- Oleksii, thank you for your close reading of our documentation.
@VanMSFT -- Van, please look into this issue.

Hi @OleksiiKovalov - Thanks for the feedback. We'll review this request and see if an update to the doc is needed.

@OleksiiKovalov - Thanks again for the feedback. Upon review, not documenting a deprecated feature is intentional. Although users may use the functionality, it's not something we encourage, and have chosen to leave out. We appreciate your time submitting this issue. Feel free to let us know if there are concerns.

hi @VanMSFT
as for now this syntax is legal and supported - with no notion that it is deprecated and will be removed in future versions and that users should rewrite/not use this syntax.
Deprecate notice can be found in many SQL articles (eg https://docs.microsoft.com/en-us/sql/t-sql/statements/set-fmtonly-transact-sql?view=sql-server-ver15 or https://docs.microsoft.com/en-us/sql/t-sql/statements/set-rowcount-transact-sql?view=sql-server-ver15)
Having this syntax not described by documentation is confusing - looks like (and technically it is true) the user uses some non-documented and therefore illegal feature - while it is not true.
I'm sure that documentation must have "deprecate notice" about this syntax.

Hi @OleksiiKovalov - The deprecated notice is here: https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2012/bb510662(v=sql.110)?redirectedfrom=MSDN


Respoitory performing scan instead of query in case of lists

Expected Behavior
List<MetricScoreMetadataEntity> getMetricScoreMetadataEntitiesByMetricIdInAndMonth(List<String> metricId, String month);

Hash key : metricId
Sort Key : month
Should have performed bulk query for the whole list of items and given results
Actual Behavior
Performing scan for the list of items
Specifications

Spring Data DynamoDB Version: 5.1.0
Spring Data Version:
AWS SDK Version:
Java Version: 8
Platform Details:

I have the same Issue on the boostchicken repo. Then I created another more detailed issue on boostchicken repo:
https://github.com/boostchicken/spring-data-dynamodb/issues/160
If you have some solution please share

Hey @asif-iiitm if you want please visit my issue link to see the solution. Probably should be the same for you.


Avoid using diff container

$("input[type=button1]").click(function () {
    $("#wrapper tr").prettyTextDiff({
        cleanup: $("#cleanup").is(":checked"),
        diffContainer: false, //setting false or null
        debug:true,
    });
});

Example: https://jsfiddle.net/rym8c2f0/

Hi @parallels999 - thanks for the change. Couple of requests:

What is the need, pros and cons of setting diffContainer: false? I no longer use this library, so I am curious.

Please follow the steps listed in https://github.com/arnab/jQuery.PrettyTextDiff?tab=readme-ov-file#development. Specifically, use the cake build command to produce the change in JS minified version of the code. And then increment the version in package.json (I think 1.1.0 would be apt, unless this is a backward incompatible change).

I no longer use this library, so I am curious.

Closing this PR. The PR deletes the source code (which is maintained in Coffeescript).

For nothing, I don't use Coffeescript just JS,
I thought it was necessary since I don't see an initial statement.

What is the need, pros and cons of setting diffContainer: false?

The idea is not to have a third container with the changes, but to show old/new in the same existing containers

Specifically, use the cake build

i have no idea how to do it, I thought there would be a github action that took care of that in the releases


Sidebar group labels are invisible

Guna:

Sublime's Adaptive theme:

You can control show/hide sidebar heading on v1.6.12 with settings.
// Show/Hide sidebar heading
"sidebar_head": false,
....
"sidebar_head.color": "#D9D7CE",


Making the Home Page Responsive [SSOC 2.0]

Is your feature request related to a problem? Please describe.
The website is not responsive on small screens, the contents overflow and not displayed properly.

Describe the solution you'd like
I would like to make the home page responsive so that it's interactible on all devices.
Please assign this issue to me under SSOC 2.0

Hey! @TusharKesarwaniI believe I can Improve the responsive UI by doing following explained process.
How I will do it (Expected Changes)

1. Visual Design:

[ ] Revise the CSS to create an appealing and visually consistent design.

[ ] Optimize the color scheme, typography, and overall styling to ensure readability and aesthetic appeal.

[ ] Apply suitable spacing and alignment to enhance the visual hierarchy and organization of elements.

[ ] Adding interactive button and nav bar

Code Refactoring:

[ ] I will evaluate the existing codebase and refactor the CSS and HTML as needed.

[ ] Optimize code structure and eliminate any redundant or unnecessary code to enhance maintainability and performance.

hi @TusharKesarwani I would like to work on this issue..

Hey is anyone working on this?
If not can this be assigned to me please

@TusharKesarwani please assign this issue to me

@TusharKesarwani please assign this issue to me

@TusharKesarwani please assign this issue to me

Hey @TusharKesarwani , I am Samrat Ghosh
Can I be added in this project? I made many responsive sites as my own projects. I am excited to work on it, hope it becomes true, Thank you.

Hello Sir,I want  to be assigned in this project and I am a beginner and recently learnt about this,so I want to do this project to show and polish my skills.Thank You.

@TusharKesarwani, I would like to work on this issue, Can you assign it to me?


fix: avoid adding the default scheduler if there is another scheduler…

… defined for a repo

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

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

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

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


Fix error when :iterate tries to search past leaf resources

Coverage: 94.265% (+0.002%) from 94.263% when pulling b9213b356d0607eb7c55f9807ca11d83ddc0c776 on iterate_500 into 59261abe1e2b8c96da766212f2c858f481d9965e on main.


File synchronization ideas for remote jupyter server

Solves this: https://github.com/microsoft/vscode-jupyter/issues/1601
3 options I can think of
When connecting, ask user if they want to
Sync
Sync workspace to remote machine. This might use a zip or just the jupyter api to do one file at a time. Might be really slow.
Roll their own
Do their own syncing/Provide a root on the remote machine to run their kernels from. User provides a file path and we use that as the starting directory for a kernel.
List files in a separate panel
We add a separate entry in the file panel (like Don did with his extension before) that just shows the files on the remote box. User can open them and interact with them just like normal files.
This has the added benefit of you don't need to open a folder or anything in vscode.dev.
All 3?
We could ask any or all three of these. Or add them one at a time.
Might also be other options I'm not thinking of.

Closing this issue for now, as we alraedy have a few issues tracking file sync and also issue for UI.

Closing as a dup of #1366


Text update high risk

Hi,
This PR splited one Home_Risk_Number_Contacts_Item_Title localization key to 2 keys, one for low risk and one for high risk, Home_Risk_Low_Number_Contacts_Item_Title and Home_Risk_High_Number_Contacts_Item_Title respectively.
This PR has german localization, the translators should take care of other languages.
BR

The status of JIRA ticket is updated, too.


fix: remove the step of deleting httpbinsvc

Please answer these questions before submitting a pull request

Why submit this pull request?

[x] Bugfix

[ ] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues
#658

Codecov Report

Merging #677 (0f4e745) into master (1e1be74) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #677   +/-   ##
=======================================
  Coverage   35.04%   35.04%
=======================================
  Files          60       60
  Lines        5967     5967
=======================================
  Hits         2091     2091
  Misses       3625     3625
  Partials      251      251

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 1e1be74...0f4e745. Read the comment docs.

Does #679 depend on this one?

Does #679 depend on this one?

They depend on each other because they all cause CI to fail. :(


Operator hangs after executing few roles and remaining roles are never executed.

I am working on Ansible Operator on OpenShift Cluster 4.3. Most of the times when I apply the CR the operator executing few roles and randomly hangs at some task with out reporting further logs.
The problem is happening inconsistently  and not sure how to resolve the issue. Kindly help me out with some solution to resolve the issue.

Hi @AnilKumarBandi27,
Could you provide more info?

What is the version of the SDK used in the operator project? Could you provide its Dockerfile?
Are you using the env var ANSIBLE_LOGS=True to get further information?

the env var should be ANSIBLE_DEBUG_LOGS, btw.

Hi @camilamacedo86
I am using Operator-SDK V0.15.0
Please find the below Dockerfile and let me know the changes.
FROM quay.io/operator-framework/ansible-operator:v0.15.0
Required OpenShift Labels
LABEL name="Sample Operator"
vendor="Anil"
version="v1.0.1"
release="1"
summary="This is Sample ansible operator."
description="This operator will deploy  Sample Ansible Operator to the Openshift Namespace."
Required Licenses
COPY licenses /licenses
COPY watches.yaml ${HOME}/watches.yaml
COPY roles/ ${HOME}/roles/
COPY playbooks/ ${HOME}/playbooks/
I am able to run all the roles and there respective tasks with out any issues. But some  times same  operator hangs at random task and do not move forward.
Please share me your suggestions to fix the issue.

Hi @tengqm,
In this version, you will not have the ANSIBLE_DEBUG_LOGS. For you are able to check the Ansible logs you need to check its container. You can:

Run the command: kubectl get all -n <namespace>
Get the operator deployment name and check the ansible logs `kubectl logs deployment.apps/ -c ansible -n

In this way:

The best option here would be upgrade your project to the latest version. Could you upgrade your project to the latest version and see if the problem is solved?
If not, could you provide the logs when you face the scenario?

@camilamacedo86 Good to know that ... ANSIBLE_DEBUG_LOGS is such a new thing. :)
Anyway, we may want to improve the site by adding a debug/trouble-shooting section.

Hi @tengqm,
Sorry, not clear your latest comment.

@camilamacedo86 Good to know that ... ANSIBLE_DEBUG_LOGS is such a new thing. :)
Anyway, we may want to improve the site by adding a debug/trouble-shooting section.

The website by default shows the master branch docs. We are working on to allow users to check the docs per tag release which means that users would be able to check the old versions as well in the future.
So far, you re able to check the old version docs via the tags

v0.15.1 : https://github.com/operator-framework/operator-sdk/tree/v0.15.1/doc
v0.15.2 : https://github.com/operator-framework/operator-sdk/tree/v0.15.2/doc
v0.16.0 : https://github.com/operator-framework/operator-sdk/tree/v0.16.0/doc

In this way, we should not add in the website docs how to check the Ansible logs in the old versions.
Regards the issue raised here Most of the times when I apply the CR the operator executing few roles and randomly hangs at some task without reporting further logs.
Could you figure out what happens in your project? Are you able to check the Ansible logs now? Could you confirm that the problem was that you were not knowing how to check to follow up the Ansible logs? if not, could you upgrade your project to the latest version and see if the problem is solved?

Regarding my last comment, adding a debug/trouble-shooting section, I mean we may want to improve the site by adding a section for debugging. This would be very useful because when running ansible operators, for example, there are many moving parts: the operator, the ansible-runner, the proxy, ... We have some tips documented already, such as the environment variable, the verbosity setting, ... which can be consolidated. Just a quick thought.

Hi @tengqm,
Your collab with the project is very welcome. Please feel free to raise PR against the master with your ideas for improvements in the docs as well.
Regards the issue raised here Most of the times when I apply the CR the operator executing few roles and randomly hangs at some task without reporting further logs.
Could you figure out what happens in your project? Are you able to check the Ansible logs now? Could you confirm that the problem was that you were not knowing how to check to follow up the Ansible logs? if not, could you upgrade your project to the latest version and see if the problem is solved?

Hi @camilamacedo86
I have updated my operator and also able to check the ansible logs. My operator getting hang after executing few roles randomly at random tasks. I am  creating almost more than 85 OpenShift resources  [Pods – 17, DCs – 17, Image Streams – 17, Services – 17, HPA – 15, Routes – 5 ]. My observation is that Operator hangs at some random location (could be while executing 20th or 37th or 68th task etc.) and stops doing further operations. Reconciliation actions are not performed either.
Only way to come out of this situation is delete Operator instance, operator and re-install operator.

Hi @AnilKumarBandi27,
It means that you update your operator to the latest version (0.18.1 ) which means that all logs will be found in the same place and is possible to use the env var ANSIBLE_DEBUG_LOGS = True to get all Ansible logs.
So, for we are able to try to help you we need more information as described in the above comments.

Logs from the operator and Ansible when the problem happen.
Info over the events in the cluster (kubectl get all events -n )
If possible, could you share the code source of your project?

Without troubleshooting the scenario and gathering further information OR describe how we can reproduce your issue I am afraid that we cannot move forward here. In this way, this issue is flagged with "needs-information" and we are looking for them.

Hi @AnilKumarBandi27,
It means that you update your operator to the latest version (0.18.1) which means that all logs will be found in the same place and is possible to use the env var ANSIBLE_DEBUG_LOGS = True to get all Ansible ones.
So, for we are able to try to help you we need more information as described in the above comments.

Logs from the operator and Ansible when the problem happen.
Info over the events in the cluster (kubectl get all events -n )
If possible, could you share the code source of your project?

So, this issue is flag with needs-information. Could you please provide them?

Hi @camilamacedo86
For OCP 4.4 What is the recommended version of operator-sdk ?
Please provide the information.

Hi @camilamacedo86
These are my operator logs
--------------------------- Ansible Task StdOut -------------------------------
TASK [mysql : Create Deployment Config for MYSQL ] ***********************
task path: /opt/ansible/roles/mysql/tasks/main.yml:80
"level":"info","ts":1592226365.8014367,"logger":"logging_event_handler","msg":"[playbook task]","name":"dptest5","namespace":"anil-test","gvk":"mysql.app.com/v1alpha1, Kind=MYSQL","event_type":"playbook_on_task_start","job":"3916589616287113937","EventData.Name":"mysql : Create Deployment Config for MYSQL"}
{"level":"info","ts":1592226367.7302597,"logger":"proxy","msg":"Cache miss: apps.openshift.io/v1, Kind=DeploymentConfig, anil-test/mysql-gateway-engine-test5"}
{"level":"info","ts":1592226367.773195,"logger":"proxy","msg":"Injecting owner reference"}
I am using openshift 4.3
Sorry ! I will not be able to expose source code.
My Operator source code has no issues. It is executing successfully. But some times it is stopping at some random role and not showing any error message or logs. But it is not moving forward.

/cc @fabianvf

@AnilKumarBandi27 There was a python3 related hanging issue fixed in v0.16.0 https://github.com/operator-framework/operator-sdk/blob/master/CHANGELOG.md#changed-1 , it sounds like that may be what you're hitting. If you want to fix it in your image without updating to a newer version of the base image, you need to pull in a newer version of the kubernetes python library. It's python-kubernetes in Fedora/RHEL repositories and kubernetes in pip.

Hi @fabianvf
Thanks! for your help. Issue got resolved after updating the python-kubernetes library.


Populating Select from Mongodb

While trying to create a select field with values from a Mongo collection countries, the following code causes the field to be missing in the sign up form.
What is the correct way to populate the select field?
AccountsTemplates.addField({
    _id: 'country',
    type: 'select',
    displayName: 'Country',
    placeholder: {
        signUp: "Country"
    },
    select: {
        countries = _.map(Countries.find().fetch(), function(country) {
            return {label: country.name, value: country.name}
        })
    },
    required: true
});

@meteorjs3000 lets have a look at the select example: select takes a list of objects as value.
But my bet would be that at the time your code is executed on the client the Countries collection is still empty... If this is the case lets try to create a custom template for your select (see this example on the wiki) and have a custom template helpers items used to populate the select with an {{#each items}}

Awesome!

in your way - provide a custom template, you lose all atInput default behaviors
https://github.com/meteor-useraccounts/core/issues/613

I just used the example in the wiki, and it populates the list fine, but it won't pass that select value on to the sign up process and thus gives a "required" error. Is there a way to make this work without Select2?


Fix provider item layout

When the provider's image and description are not yet loaded, the layout is messed up - buttons on top of the name and icon. This fixes it.

This has already been fixed in 75aeea83375e74db87a5c08f15359011668a3313


Requesting all properties to be returned during search results in AttributeError

Requesting all properties to be returned for the search results using the syntax described in the spec ends either in this exception or the properties being omitted:
INFO:     <IP_ADDRESS>:4806 - "GET /search?collections=dem30&limit=1000&bbox=35.21,-17.78,35.48,-17.59&fields=properties HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 398, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 199, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.9/site-packages/brotli_asgi/__init__.py", line 76, in __call__
    await responder(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/gzip.py", line 35, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 580, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 241, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 52, in app
    response = await func(request)
  File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 219, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 154, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 40, in run_in_threadpool
    return await loop.run_in_executor(None, func, *args)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/stac_fastapi/api/routes.py", line 75, in _endpoint
    func(request=request, **request_data.kwargs()), response_class
  File "/usr/local/lib/python3.9/site-packages/stac_fastapi/sqlalchemy/core.py", line 242, in get_search
    resp = self.post_search(search_request, request=kwargs["request"])
  File "/usr/local/lib/python3.9/site-packages/stac_fastapi/sqlalchemy/core.py", line 439, in post_search
    filter_kwargs = search_request.fields.filter_fields
  File "/usr/local/lib/python3.9/site-packages/stac_fastapi/extensions/core/fields/request.py", line 56, in filter_fields
    "include": self._get_field_dict(include),
  File "/usr/local/lib/python3.9/site-packages/stac_fastapi/extensions/core/fields/request.py", line 37, in _get_field_dict
    field_dict[parent].add(key)
AttributeError: 'ellipsis' object has no attribute 'add'

The reason for this is a unsound creation of the field_dict in PostFieldsExtension._get_field_dict in combination with properties.datetime being part of the default_includes. So once the field properties is requested, there are two possibilities depending on the order of the items in the fields variable:

If properties comes before properties.datetime the value will be set to ... and the following call to the expected Set.add method will fail with the above exception.
If properties.datetime comes before datetime no exception occurs, but neither will the requested properties be part of the response.

I will submit a small PR to adress this.

Closed with #339.  Thanks @nmandery !

Thank you for merging @geospatial-jeff


old versions

Hi,
Another idea, the code in https://github.com/RainerWinkler/Moose-FAMIX-SAP-Extractor/tree/master/old versions you can move to https://github.com/RainerWinkler/Moose-FAMIX-SAP-Extractor/releases if you like.
That way there will only be 1 version of the code in the git repository, which is the latest.

This is coding that will be replaced. But it is currently still used to generate the actual extraction coding. I only moved it to a package called old_versions.

👍

Done at least in parts. The coding for release v0.1.0 is still in the git repository, but the old files are now archived. Thanks for this advice!


Option to turn off colors for logging in the command-line console (useful for TDD)

When writing tests it is useful to see the flow of actions, however, the console does not understand "'color: #4CAF50; font-weight: bold'".
It would have been great with an option to turn of the colors.

Duplicate of #92 ?

Yep.


Error loading font

GET<EMAIL_ADDRESS>404
Warning: loadFont - translateFont failed: "r: Unable to load CMap at<EMAIL_ADDRESS>Warning: Error during font loading: Unable to load CMap at<EMAIL_ADDRESS>

I'm having the same problems，did you solve it


Pylance WSL can't access file with hashed filename generated from _generated_diagnostic_collection_name

Environment data

Language Server version: v2024.3.1
OS and version:

Version WSL : <IP_ADDRESS>
Version du noyau : <IP_ADDRESS>-1
Version WSLg : 1.0.59
Version MSRDC : 1.2.4677
Version direct3D : 1.611.1-81528511
Version de DXCore : 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Version de Windows : 10.0.22631.3296
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy

Python version (& distribution if applicable, e.g. Anaconda): 3.10.12

Code Snippet

Repro Steps
Use a python repo inside WSL, it'll generate some issues in PROBLEMS tab from a hashed filename in the . folder
Expected behavior
I should be able to see actual files and click on them to see and correct error.
Actual behavior
Error generated on the PROBLEMS tab are from unfindable files somewhere I can't find.
Logs

Thanks for the issue. Do you have a repository that you can share that reproduces the problem?
Additionally if you could gather these logs it would help diagnose the issue.
https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue
My guess is that there is something in the file path that is getting lost when we return the diagnostic.

Sure.
Here's my work setup, simply use this script in a folder inside WSL :
#!/bin/bash

# Install Ubuntu dependencies
sudo apt install python3-dev python3-venv build-essential gcc libsasl2-dev libldap2-dev libssl-dev libpq-dev

# Clone the odoo source code
git clone https://github.com/odoo/odoo.git

# Create a python virtual environment
python3 -m venv odoo_venv

# Install Odoo dependencies inside the python virtual environment
source odoo_venv/bin/activate
pip install -r odoo/requirements.txt

Make sure to select the right python interpreter from the virtual environment Python 3.10.12 venv/bin/python from the bottom menu.

I'm on another computer here and can't reproduce, this is weird. I'll make sure to send you some logs from my computer tomorrow but will need to do some privacy editing of the logs I reckon.

Were you debugging when you hit this problem? The unknown files might be from callstacks that don't have source. It would make sense that they can't be opened on disk because they don't exist.

Or potentially something else that is opening 'virtual files'. VS code allows the creation of virtual files. Some other extension might be generating those weird guid named files.

I can't seem to repro anything like this, so I'm guessing it's some sort of virtual file. There wouldn't be a file on disk for that so it would be behaving as designed.

It seems to be related to files generated while using debugpy when debugging python files. I'll try to look a bit more. Any idea what's this generated... file from the source column inside PROBLEMS table ?

I did a search on https://cs.github.com. This is the first hit and the likely culprit: https://github.com/microsoft/vscode/blob/1454837231cec5ac0f9e8e80124a961cb36373c1/src/vs/workbench/api/common/extHostDiagnostics.ts#L283

Wow, I didn't know about such a Github global search feature. So it would definitely be linked to WSL, and maybe the debugger. I don't know what else I could do to help, or if there's anything we could do at all to ignore these type of file in Pylance, but I'd be glad to land a hand !


Testing results

Ran the "submit script" with testing enabled 5 times concurrently. This is roughly 150 simulations (36 each). Other than the VCell runs (#4075) we had 2 failures

61e74312034d33f6e8eec78b --- NFAT translocation (Tomida et al., EMBO J, 2003; SBML; LSODA/LSODAR; COPASI)
409 on hsds. I ran this test with a single replica for hsds. The 409 could easily have been caused by the replica being overloaded considering we were previously running many more replicas.

61e7430ed8b0d0dbced04cd8 --- Lorenz system (Garny; CellML; CVODE; OpenCOR)
Succeeded, but stuck for a long time on processing. This again caused issues due to the retrying (#4032). Not sure why the processing actually failed. No errors on the combine API.
Logs from API:

40
(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [FormData]. Use emitter.setMaxListeners() to increase limit
39
(Use `node --trace-warnings ...` to show where the warning was created)
38
[Nest] 1  - 01/18/2022, 11:20:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
37
[Nest] 1  - 01/18/2022, 11:20:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
36
[Nest] 1  - 01/18/2022, 11:22:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
35
[Nest] 1  - 01/18/2022, 11:22:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
34
[Nest] 1  - 01/18/2022, 11:24:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
33
[Nest] 1  - 01/18/2022, 11:24:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
32
[Nest] 1  - 01/18/2022, 11:26:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
31
[Nest] 1  - 01/18/2022, 11:26:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
30
[Nest] 1  - 01/18/2022, 11:28:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
29
[Nest] 1  - 01/18/2022, 11:28:24 PM   DEBUG [Server] NatsStatus: type: "pingTimer", data: "1".
28
[Nest] 1  - 01/18/2022, 11:29:32 PM   ERROR [CompleteProcessor] Error: Error: socket hang up
27
[Nest] 1  - 01/18/2022, 11:29:32 PM    WARN [CompleteProcessor] The metadata for the COMBINE archive for simulation run '61e7430ed8b0d0dbced04cd8' could not be saved: undefined: undefined
26
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [SshService] Connection ready
25
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [SshService] Stream :: close :: code: 0, signal: undefined
24
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [SshService] Connection closed
23
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [SshService] Connection ready
22
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [SshService] Stream :: close :: code: 0, signal: undefined
21
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [SshService] Connection closed
20
[Nest] 1  - 01/18/2022, 11:29:33 PM   DEBUG [AuthClientService] Using cached token for audience api.biosimulations.org for client nzDn2Y8hHWKnddeUHJ0Ntwfa60ya4bJT
19
[Nest] 1  - 01/18/2022, 11:29:34 PM     LOG [LogService] The log for simulation run '61e7430ed8b0d0dbced04cd8' was successfully saved.
18
[Nest] 1  - 01/18/2022, 11:29:34 PM   DEBUG [AuthClientService] Using cached token for audience api.biosimulations.org for client nzDn2Y8hHWKnddeUHJ0Ntwfa60ya4bJT
17
[Nest] 1  - 01/18/2022, 11:29:34 PM     LOG [SimulationStatusService] The status of simulation run '61e7430ed8b0d0dbced04cd8' was successfully updated to 'SUCCEEDED'.
16
[Nest] 1  - 01/18/2022, 11:29:34 PM     LOG [CompleteProcessor] Post-processing of simulation run '61e7430ed8b0d0dbced04cd8' completed with status 'SUCCEEDED'.
15
14
The post-processing of simulation run '61e7430ed8b0d0dbced04cd8' raised one or more warnings:
13
  * The metadata for the COMBINE archive for simulation run '61e7430ed8b0d0dbced04cd8' could not be saved: undefined: undefined

(1) may be exacerbated by still using the UConn bucket. Are you thinking of increasing the number of replicas?
For (2), the metadata saving failed. The error message for this needs to be corrected. Its appears not to be set up for the appropriate type of error (e.g., axios vs other).

Second attempt far less successful (still running): over 60 or so failures (including vcell). All seem to be due to dataservice being overwhelmed.
This is with 5 replicas. For almost 20 minutes, nearly 100% of responses from the data service were 503s. Data service logs indicate that the cluster is in a NOT READY state due to cache items needing to be flushed.
Since there was such a drastic reduction of errors in the API while the dataservice seems to be getting "stuck" I think this is the UConn s3 bucket causing issues.

For (2), the metadata saving failed.

Yes, but not sure what caused this failure. The processing correctly handled the failure and marked it as a warning

Its a warning because metadata is not required, unlike a log.

yeah, that is correctly handled. I am trying to say that the issue is not knowing what caused the metadata to fail to save, but that everything else handled the failure exactly as it should.

Second attempt far less successful (still running): over 60 or so failures (including vcell). All seem to be due to dataservice being overwhelmed.
This is with 5 replicas. For almost 20 minutes, nearly 100% of responses from the data service were 503s. Data service logs indicate that the cluster is in a NOT READY state due to cache items needing to be flushed.
Since there was such a drastic reduction of errors in the API while the dataservice seems to be getting "stuck" I think this is the UConn s3 bucket causing issues.

The high failure rate is misleading. This happened because I increased the number of replicas while there were pending writes to the s3 bucket. This causes the dataservice to lock up complelty, resulting in all remaining writes to fail.
See https://github.com/HDFGroup/hsds/issues/104

I'm going to try to write to John Ready about a blog post he asked us to write. I can ask him for help using HSDS with Google Cloud then.

Sounds like HSDS was originally designed for AWS. Azure also works (see https://www.hdfgroup.org/2021/08/hsds-for-azure/). That post suggests Google Cloud should be close.

I'm going to try to write to John Ready about a blog post he asked us to write. I can ask him for help using HSDS with Google Cloud then.

The issue specifically is with the google cloud storage buckets. Getting it running on GKS instead of EKS was not a problem at all. This could be another post that we could help with. Getting HSDS running on google cloud

Another test:  25 or so failures, most due to 409 conflicts when loading into dataservice. I remain suspious of the s3 bucket, though I wonder if just one replica of hsds might lead to better results

I'll send you a link to the draft for the blog post. If you want to write a post on Google cloud, I think John would likely be happy to publish it.

With the changes in #4087 I was able to run 120 simulations locally with 0 errors. The queues are all working well, with high concurrency. The bottleneck is the extraction step. This takes the majority of each processing workflow. It might be helpful to move this to the HPC or try to get it to start before the simulation run completes.

Sounds great.
Leaving further performance enhancement to the future seems good. Moving extraction to HPC sounds pretty easy. The COMBINE archives are already being downloaded there, unpacked there, and s3 sync is already installed there. The HPC also has more parallelism than our Kubernetes cluster, although not necessarily more bandwidth to Google object storage.

300 runs seems to have taken out the HPC submit node however :/. Not sure how, since the concurrency limit also applies to job submissions/monitoring, so no more than 30 connections at a time should be happening

Sounds great. I agree this seems closed!
Except pushing Mike to deal with the submit node, the only thing I could think to do is to rate limit submissions to the submit node.

So that's why I am a bit confused because the concurrency limit of 10 also applies to the dispatch queue. So no more than 10 X number of replicas jobs should be submitted at any given time. So between the two runs, of 130 vs 300 there should be no additional load on the submit node since the same limit applies. There must be some other underlying issue that causes the node to go down frequently.

The crash could largely be unrelated to your submissions. I agree the node seems to have some instability.
Maybe try 300 again after Mike restarts it.


dependencies: fix markup removal from jinja2

@lnielsen This PR fixes the issue spoted by @alejandromumo.
Jinja released 2h ago and remove the Markup export (see rdm-build-errors for more details). This PR would fix it but I am unaware of:

Implications of pining Jinja2 to >=3.1
Can we release accounts?

probably needs to go to both master and maint-1.4....there's very large changes between them

@lnielsen currently failing on celery... trying to make tests pass then will make a PR for maint-1.4


Update pre-commit

Coverage decreased (-0.6%) to 90.329% when pulling 8d17028d875391ad2b5b9ed992cf904a5865d95b on update-precommit into e8959c6afb8bd521fdf62dca0599c96011025ac3 on master.


[BP-1.14][FLINK-24129][connectors-pulsar] Harden TopicRangeTest.rangeCreationHaveALimitedScope.

What is the purpose of the change
Backport of #17159
Brief change log

The randomizer was removed from the test

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

CI has passed, merging ...


Add optional projection via AST expression evaluation

Adds the ability to implement a projection via cudf AST expression evaluation if the expressions are supported by cudf AST.  The RapidsMeta and GpuExpression objects are reused, extended with new tagForAst and convertToAst methods, respectively.
I covered as many unary and binary AST operators as I could get to be compatible.  Many of the missing AST operators cannot be supported to to lacking expressiveness in the AST for NaN handling, null literals, conditional execution, etc.

build

build


Typescript: Import name shouldn't require a platform name

Importing nvk shouldn't require to put the platform into the import name as shown here.

This might help a bit https://github.com/zeeshan595/nvk-boilerplate

Nice one! Unfortunately I'm not really a typescript user, would you mind adding your code to this project?

That should resolve the issue, just make sure to update platform.ts imports.
Or can create a symlink that updates when new files are generated.
Not sure how windows handles symlinks though.
https://github.com/maierfelix/nvk/pull/32


Clarify libimobiledevice doctor check message

This message will be emitted both when libimobiledevice requires
updating, or when it has not yet been installed.
It's also not specifically the version of Xcode that it's incompatible
with, it's the lockdownd daemon, which is actually more closely tied to
iTunes.

@goderbauer @xster


Track recently rejected transactions; don't reprocess

A live DoS attack observed by several nodes in recent days involved repeated rejection of duplicate transactions.
The first four commits to address this problem have already been merged in core bitcoin/bitcoin#6498.  A rolling bloom filter tracks recently rejected transactions to avoid repeatedly requesting them from peers and re-checking them.
The last commit adds a call to AlreadyHave when an unsolicited full tx is received, as was the case in the observed attack.  AlreadyHave uses the recentRejects filter.
I tested all of these changes on mainnet while the actual attack was still underway.
The recentRejects filter is cleared when the tip is updated, so nothing stops attacker from re-transmitting a load of rejectable txes after a new block, and in fact our attacker was doing this.  But the duplicates are stopped between blocks and the attack could get arbitrarily heavy if multiple attacking peers were involved.

Last commit submitted to core as bitcoin/bitcoin#6588.

Does this attack actually deny service in any way? Or is it just a waste of bandwidth?
If it's just a waste of bandwidth, why is this the right fix? The attacker can just switch to sending large UDP packets or some other kind of bandwidth flood.

Transactions are re-validated every time before they are rejected.  Depending on the rejection reason, a varying amount of local resources are spent.
So far, I have not seen it be successful enough to impact service at all.  However, most of it has been coming from only a single peer...

If the attack isn't capable of much and it's already upstream, I think for now perhaps we should just wait and pick it up in the next rebase. Thoughts?

XT nodes were the ones actually being attacked.  a261af5 looks on track to be included in core.  We should get this into 0.11B.

During today's spam attack, in the first 20 minutes after my 0.11B node mempool filled up, it dropped 187000 low fee / low pri txes (and evicted only 2000 during the same time period).
It's likely that many of the dropped txes were duplicates.  CPU utilitzation was at 45% vs. 15% normally (earlier, while the mempool was still filling up -- it was at 100%).
No service denied.  But since the pool-full check is last, resources were spent, which this change would have avoided.

CPU usage was at 100% when the mempool was filling? So we ran out of CPU to check inbound transactions completely? Perhaps it's time to multi-thread that code path.

The low-level signature checker is multithreaded already, and defaults to
using as many cores as you have.
On Mon, Sep 14, 2015 at 9:16 AM, Mike Hearn<EMAIL_ADDRESS>wrote:

CPU usage was at 100% when the mempool was filling? So we ran out of CPU
to check inbound transactions completely? Perhaps it's time to multi-thread
that code path.
—
Reply to this email directly or view it on GitHub
https://github.com/bitcoinxt/bitcoinxt/pull/50#issuecomment-140071256.

--
Gavin Andresen

@gavinandresen I believe it's only multi-threaded when checking blocks. Look at the CheckInputs calls in AcceptToMemoryPool - the pvChecks parameter is NULL and when it's NULL the checks are performed serially inside a for loop over the inputs.

Ah, right-- another symptom of the code getting optimized for initial block download, not tx/block validation/propagation....

The core version of 6815266 has been merged.


Curiously Asking.........

I currently have Blender v2.92.0, and I would like to know,
when a compatible version of Renderman will be available for Blender v2.92.0
Thank you :)

Don't you mean 2.93?

Don't you mean 2.93?

yaa, yaa that too....LOL


How to add new css nbButton ( for example: danger, primary ... myCustonCss)

How to add new css nbButton ( for example: danger, primary ... myCustonCss)
I need to use  nb-select >>>> status=myCustonCss

Issue type
I'm submitting a ...  (check one with "x")

[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->

I have the same question. I would like to add my class on status in nb-select. Something like status="myClass"
and set myClass in style.css, not change default colors like primary,warning...


error in postgres implementation v1-dev

Hi,
I'm running postgres implementation v1-dev .When I run load-in-one-step.sh.
The errors:

Could you please tell me what am I doing wrong?

Actually when I add -detach,the container is lost.


include image_view.h

Is 'image_view.h' exported as a part of librviz or anything else? I am trying to include it in the project, but it is not in the 'include' folder of the installed package. I can just copy the header and the source, but that is not a very clean way.

It's not public no. You probably should not use the interface it describes since it could change at any time.
We could consider making it public, but you'll need to describe your use case and why you need it a little more and then potentially help with a pull request to make it a public header (mostly just installing it and making sure it doesn't change the run dependencies).

Will do, as soon as I get a chance to. In the meantime, I would say, I want similar implementation and behavior to RenderPanel as a part of my GUI.

Will do as soon as I get a chance to. In the mean


Combine "Add" and "Remove"

The Add and Remove functions could be combined into one function, called edit. This function would toggle items.

The edit function replaces the add and remove functions in V1.5


TypeError: Cannot set property 'staticStyle' of undefined

Not working and got the following error message.
Vue 2.5.17

Make sure to wrap  around single v-for statement.


fail to create  a application with trait , error message : evaluate customStatus.message: value "message" not found'

Describe the bug
create a application with trait, application status conditions will print  error
To Reproduce

create application

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: first-vela-app
spec:
  components:
    - name: express-server
      type: webservice
      properties:
        image: crccheck/hello-world
        port: 8000
      traits:
        - type: ingress
          properties:
            domain: testsvc.example.com
            http:
              "/": 8000

describe application object

Screenshots

Cluster information

Kubernetes Version [e.g. 1.16.9]

Additional context
removing Trait Ingress test passes, suspected to be caused by this issue

Have you installed ingress successfully?
Doc for how to install ingress

Have you installed ingress successfully?
Doc for how to install ingress

ingress traits  and ingress controller It has been installed successfully

It seems that kubevela use cue to get message from triat failed:
https://github.com/oam-dev/kubevela/blob/e76992df8779e0e43a3ca901cbec46344ce28ce3/pkg/dsl/definition/template.go#L248-L251

Would you mind to provide below information:
kubectl get ing express-server -oyaml
kubectl -n vela-system get trait ingress -oyaml

context: {
	name:        "express-server"
	appName:     "first-vela-app"
	appRevision: "first-vela-app-v1"
	outputs: {
		ingress: {
			status: loadBalancer: {}
			apiVersion: "networking.k8s.io/v1beta1"
			kind:       "Ingress"
			metadata: {
				name: "express-server"
		}
		....
        }
		service: {
			status: loadBalancer: {}
			apiVersion: "v1"
			kind:       "Service"
			metadata: {
				name: "express-server"
		....
		}
	}
}
if len(context.outputs.ingress.status.loadBalancer.ingress) > 0 {
	message: "Visiting URL: " + context.outputs.ingress.spec.rules[0].host + ", IP: " + context.outputs.ingress.status.loadBalancer.ingress[0].ip
}
if len(context.outputs.ingress.status.loadBalancer.ingress) == 0 {
	message: """
        No loadBalancer found, visiting by using 'vela port-forward first-vela-app --route'

        """
}

According to the cue file to check status, missing ingress.status.loadBalancer. caused the evaluation error.
On one hand, we should check why the status.loadBalancer is empty.
On the other hand, we may improve the cue template to handle this exceptional issue. @wonderflow

@captainroy-hy Yes, would you like to help improve it.

@captainroy-hy Yes, would you like to help improve it.

Sure. /assign


As an Advocate I want to add my referral to a certain App so that Friends can receive it

Frontend

[ ] Button to create new Referral
[ ] Takes a link in the format https://www.oculus.com/appreferrals/{advocate_id}/{app_id}
[ ] Extracts the advocate_id and app_id and sends it to Backend to save
[ ] Confirms that the save was correct/incorrect and displays feedback

Backend

[ ] Obtain the app information from https://www.oculus.com/appreferrals/{advocate_id}/{app_id} -> 404 if not found
[ ] Check that the given app_id - advocate_id link is not a duplicate -> 409 conflict if it's a duplicate
[ ] Create app if necessary in the DB
[ ] Create referred advocate if necessary in the DB
[ ] Create referred advocate-app-link in the DB

Contract
Route
POST /api/app/{app_id}/referral
Input
{
  advocate_id: string;
}

Output
If successful:
HTTP_STATUS_CODE 204 CREATED
Otherwise:
HTTP_STATUS_CODE 404 if app information not found
HTTP_STATUS_CODE 409 if conflict

  const title = document.getElementsByTagName("title")[0].innerHTML.replace("Get 25% off ", "");
  const app_name = title.substring(a.indexOf("off ") + 4, a.indexOf("|") - 1);


CHAOS-1457: Adds vmware disk fill docs

Harness Developer Pull Request

Adds vmware disk fill docs

What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

@neelanjan00 I don't believe this is still needed? We can close the PR / delete the branch. Thanks!


fix fix that missed rows don't match merged rows for base compaction

Proposed changes
Issue Number: close #xxx
Problem summary
F0330 11:20:49.078764 1694214 compaction.cpp:439] Check failed: missed_rows.size() == missed_rows_size (30 vs. 29)
The missed_rows.size() may greater than missed_rows_size, because of delete sign will be merge in base compaction. The incremental delete map may delete the data row marked as delete sign, so the missed_rows set size  may will become larger. Only check that when cumulative compaction.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Fix SASS live reload

In SourceWatcher, add a subroutine to find files which should be considered "also dirty" when a given file is touched.

Replaced by #1695


R8 failure does not update status bar

I would assume it would say "Failed .." or something if this happens

Fixed in the version I'm uploading right now.


build: C Linux builds in Docker on glibc 2.28.0 base and Musl

Fixes #1220
- What I did

Linux builds using glibc 2.28.0 so that binaries are compatible with older distros
Musl based builds

- How I did it

Uses atsigncompany/cbuildimage which is a Debian 10 base (with glibc 2.28.0) and modern Clang (18) and CMake (3.30.2)
Alpine based Dockerfile for Musl with static linking directive

- How to verify it
Cut a new release (c0.1.11) after merging and then test resulting binaries on older distros.
See https://github.com/cpswan/release_automation/releases/tag/c0.1.8 for an example of what will happen.
- Description for the changelog
build: C Linux builds in Docker on glibc 2.28.0 base and Musl

Converted to draft as I'm going to throw the Musl stuff in here too (and we need to fix the unit tests before we can merge anyway).

@XavierChanth this is now ready (and the unit tests are passing :) )

An issue that has come up with the new unit tests:
If GNU parallel ends due to a hang, then we don't get a report back.
I will have to fix that.
Pulled the macos-arm64 build and it was linked correctly. I will do the same check with linux-x64 later today.


Bug fixes

Some errors occurred with Discord.JS could you make sure to fix them first

nvm about this


Extending Volto Light Theme

📚 Documentation preview 📚: https://plone6--867.org.readthedocs.build/

@danalvrz yeah, something weird happened. I'm sorting it out.


Fix link in the doc

Production minified dom99Script.es5.min.js
should be Production minified dom99.iife.es5.min.js

blocked, must first release 21.0.0,
also use https://unpkg.com link

Hi, can i work on this?

It is blocked for now, I will release v21.0.0 during this week and then yes

Ok

the link should be https://unpkg.com/dom99/built/dom99.iife.es5.min.js
the text of the link should be dom99.iife.es5.min.js

thanks for you patience, we are waiting for your PR now :)

I'm on it.

ok


feat: create the 'ReqNum' validator

Closes #66

@rultor merge it.

@rultor merge it.

@rafamizes OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge it.

@rafamizes Done! FYI, the full log is here (took me 2min)


kubectl-gadget: 0.33.0 -> 0.34.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/inspektor-gadget/inspektor-gadget/releases.
meta.description for kubectl-gadget is: Collection of gadgets for troubleshooting Kubernetes applications using eBPF
meta.homepage for kubectl-gadget is: https://inspektor-gadget.io
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.34.0 with grep in /nix/store/bi7aac5vhahif9yvf7bdxyz2bkk7szir-kubectl-gadget-0.34.0
found 0.34.0 in filename of file in /nix/store/bi7aac5vhahif9yvf7bdxyz2bkk7szir-kubectl-gadget-0.34.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

kubectl-gadget

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bi7aac5vhahif9yvf7bdxyz2bkk7szir-kubectl-gadget-0.34.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kubectl-gadget https://github.com/r-ryantm/nixpkgs/archive/3469a7c92fcab3cea7b84062935c1e0927b35c1c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3469a7c92fcab3cea7b84062935c1e0927b35c1c#kubectl-gadget

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bi7aac5vhahif9yvf7bdxyz2bkk7szir-kubectl-gadget-0.34.0
ls -la /nix/store/bi7aac5vhahif9yvf7bdxyz2bkk7szir-kubectl-gadget-0.34.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

kubectl-gadget

Maintainer pings
cc @kranurag7 @devusb for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 358667

aarch64-darwin

:white_check_mark: 1 package built:

kubectl-gadget

@NixOS/nixpkgs-merge-bot merge

@NixOS/nixpkgs-merge-bot merge


Improve retry logic

During high contention SQLite will sometime return SQLITE_BUSY. In those cases, the driver should retry the query for some arbitrary number of times, before giving up, to make the query more reliable.
This PR adds both the logic for sqlite driver and the generic retry logic for GetCompactRevision which was missing it.

As discussed on MM, we can merge even if Trivy scan is failing.


Does Kapacitor support writing alert back to influxdb directly?

We would like to display the alert as annotation on grafana together with the data it is scanning, the only solution I can come up with is to let Kapacitor post the alert to a server and let the server parse the alert body and then inject it into influxdb.

influxDBOut() writes everything back to the database instead of the alert only. So my guess my requirement is not met.

@wei-hai Can you provide us with the TICK script, the current output, and then the output you would expect to see? Writing the alert back into InfluxDB should include all of the alert details except the message itself. Adding the message didn't make it in to v1.0, but will be included in Kapacitor v1.1 and is currently in the latest nightlies.

batch
|query('''
SELECT sum(success)/sum(attempt) AS ratio
FROM "mydb"."default"."signup"
''')
.period(5m)
.every(5m)
.groupBy(time(1m))
|alert()
.id('Kapacitor alert')
.message('signup success/attempt ratio is low, ratio={{index .Fields "ratio"}}')
.crit(lambda: "ratio" < 0.4)
.log('/etc/kapacitor/alert.log')
.pagerDuty()
.serviceKey(key)
Take this script as an instance, suppose the query returns 5 data samples [0.8, 0.7, 0.6, 0.3, 0.5], I would like to send the alert generated on the 4th sample instead of all of them to influxdb with detail.

@wei-hai Ah, okay, the current functionality will emit every sample to InfluxDB. One way to get around this is to add a where() node before the influxDBOut() to limit what is emitted to InfluxDB. For example, updating your script to:
batch
   |query('''
       SELECT sum(success)/sum(attempt) AS ratio
       FROM "mydb"."default"."signup"
   ''')
       .period(5m)
       .every(5m)
       .groupBy(time(1m))
   |alert()
       .id('Kapacitor alert')
       .message('signup success/attempt ratio is low, ratio={{index .Fields "ratio"}}')
       .crit(lambda: "ratio" < 0.4)
       .log('/etc/kapacitor/alert.log')
       .idField('id')
       .levelTag('level')
    |where(lambda: "id" != '')
    |influxDBOut()
        .database('kapacitor_alerts')
        .retentionPolicy('autogen')
        .measurement('signup')

Will only write the value 0.3 to InfluxDB (including the id and level of the alert being triggered).


device plugin ERR:  non-Tegra platform:/sys/devices/soc0/family file not found

你好，想参与进这个项目中，安装时遇到问题，这个报错该如何解决呢。
Common error checking:

[ √] The output of nvidia-smi -a on your host
[ √] Your docker or containerd configuration file (e.g: /etc/docker/daemon.json)
[ ] The vgpu-device-plugin container logs
[ ] The vgpu-scheduler container logs
[ ] The kubelet logs on the node (e.g: sudo journalctl -r -u kubelet)

Additional information that might help better understand your environment and reproduce the bug:

[ ] Docker version from docker version
[ ] Docker command, image and tag used
[ ] Kernel version from uname -a
[ ] Any relevant kernel output lines from dmesg

nvidia-docker2 didn't installed successfully, please follow the docs here https://github.com/Project-HAMi/HAMi?tab=readme-ov-file#preparing-your-gpu-nodes

已经解决


Add the documentation for the issue when using traced model in multi-…

…GPU environment

Great find!


Asking users why they want to join Slack

In order to address Spam, we've had a bit of a gate proposed. Opening this ticket to discuss.
I propose a short text that says "Why do you want to join CC's Slack?" and posted on slack-signup.creativecommons.org

fine with me. i'm not familiar with best practices on how to properly gate slack, but that sounds reasonable.

Will it be a required question + does that mean we have to manually approve every person who requests to join?

I think yes, and let's try manual approval for a few weeks and see if it's overwhelming. Is that okay? It's not a massive number of people.

I'm ok with manual approvals.

@TimidRobot when do you think you can get this on your sprint? I am pretty sure it entails:

Setting up an approvals email address or mailbox that admins can access
Disabling auto-approve on slack-signup.creativecommons.org
Adding mandatory question "Why do you want to sign up for Slack?" to landing page
Sending all approvals to inbox

Admins can set up an approval schedule to reduce workload. Thanks for the comments, folks!

This issue is in the active sprint so that the discussion can be resolved and the issue can be consolidated with https://github.com/creativecommons/tech-support/issues/16, the work for this will not be done this week. https://github.com/creativecommons/tech-support/issues/16 is currently scheduled to be done in the next month.
(I meant to add this note when I moved this to the active sprint, sorry).


Enforce DateTime type-hint for 'from' and 'until' parameters

In the Endpoint class, add \DateTime type-hints for all 'from' and 'until' parameters.
Also, remove the deprecated warnings (no longer necessary) and the EndpointTest test that tests to ensure the deprecated warnings are generated.

Use DateTimeInterface

This is done in dev-master

Whoops; didn;t mean to close this.  This will have to be a v4.0 feature, since optional type-hints require PHP7.1 or newer.


Upgrade SES to 4.0 before upgrading SOC to 7

See https://www.suse.com/documentation/ses-4/book_storage_admin/data/ceph_upgrade_to4.html for a SES upgrade guide that we try to follow here.

 Adapt mkcloud for automatic SES upgrade


Add automatic localization

I have added localization to service provider

you can merge commit

@turanzamanli Can you please update the readme file.


Refills hotbar slot instead of off-hand

If you place down all of your off-hand blocks it then replaces the item slot you are currently holding instead of the off-hand slot.
It then doesnt know what it should do with the item you were originally holding in your main hand and picks it up once you open your inventory.
This is happening in version 0.1.3 on fabric 1.21.
https://github.com/user-attachments/assets/e7f70131-8e27-4501-a266-11a4d7d674d1

Thank you very much for the bug report! I'll admit that I never came across this in testing as I don't usually have blocks in my off-hand personally.
I'll give this a look and work out a solution. May take me a couple of days as I'm away from my development setup right now.

Went ahead and fixed this in #5