Add RBAC Access Granularity

Briefly describe the feature
Paralus control only offers an all/nothing when it comes to namespaces. Would be wonderful if we could also have more granular control like only viewing secrets or config maps or being able to edit everything except jobs.
What problem does this feature solve? Please link any relevant documentation or Issues
Giving developers access to do things in their namespaces but not affect their secrets or exec into containers.
(optional) What is your current workaround?
No workaround at present. Am looking into possibly forking the code to offer this ability.

Turns out the relay agent already has a guard that stops read and exec for any read roles: https://github.com/paralus/relay/blob/a7621d8c9f0387b143eaefc43caf972ebfbdb27b/pkg/tunnel/server.go#L767
https://github.com/paralus/relay/blob/e2ff5667153603898b25c17ab70ab6988f09c813/pkg/sessions/usersession.go#L98
So this is sufficient for our security needs. We can grant admin rights as needed to get beyond this. Still think having RBAC granularity would be nice, but at least it offers what we need out of the box. I'll leave it to you guys whether you want to close the ticket.

thanks @estein9825 I am going to close this ticket.
On a side note, we have another item on our roadmap to be able to provide kubernetes rbac level access to resources out of the box from paralus. We will be tracking that separately.


can't use "findViewById" to get FloatingToolbar instance

When I use "findViewById" to get instance,the compiler give me an error "An instance of type 'android.view.View' can not be of type 'com.github.rubensousa.floatingtoolbar.FloatingToolbar' ".I replaced the library version of sample with 1.4.1 and got the same error. My English is not good, please forgive me.

You're trying to cast a View to a FloatingToolbar. Check your xml again and make sure you're passing the FloatingToolbar's id.

I make sure the xml and id is ok.The FloatingToolbar's id has passed.I wouldn't make such a simple mistake.But I still  got  same error.Now I am using the 1.1.1 version of the library, it can work, but 1.4.1 can not work.Isn't it really bug?

Can you post your XML and the relevant code? This isn't happening in the sample

My xml and the java code is completely copy from the sample , you can try to replace  the sample's library version with 1.4.1 to test.

I did use 1.4.1 and test the sample. It's an issue on your side. You're casting a View that's not a FloatingToolbar.

OK，I'm just trying to help you. I'm very sorry for any inconvenience I've caused you.

I appreciate it, but without providing more info, I can't help.

By the way , How to stop animation when FloatingToolBar is showing ?

I didn't understand, sorry. You mean showing without animating?

I mean, how can I stop it when the FloatingToolbar is showing with animating ? (at this time , the isShowing() returns true. For example, I called show(), and then I tried to call hide() )

You can't cancel the animation. If you want to hide it after showing, use .hide() inside the onUnmorphEnd from MorphListener: https://github.com/rubensousa/FloatingToolbar/blob/master/floatingtoolbar/src/main/java/com/github/rubensousa/floatingtoolbar/FloatingToolbar.java#L562

That's OK. Thank you very much!


libseccomp: enable static library build

Motivation for this change
This enables the output of libseccomp.a which is useful for building static binaries from it.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build libseccomp-lib libseccomp

@GrahamcOfBorg build libseccomp.lib libseccomp

cc @thoughtpolice

@jtojnar @danieldk please leave a comment explaining your thumbs-down reaction. Sascha has taken the effort to improve Nixpkgs, so the least you could do is explain in a few words why this might not be the right solution. Thank you.

Sorry, was busy at the time. Most of systems will not need static builds so always including them will bloat the closures there.
For that reason, we usually add false-by-default enableStatic argument that is then enabled in https://github.com/NixOS/nixpkgs/blob/7ebcaec02f2f250220db63ffc87d69663ffdaa86/pkgs/top-level/static.nix

@jtojnar @danieldk please leave a comment explaining your thumbs-down reaction. Sascha has taken the effort to improve Nixpkgs, so the least you could do is explain in a few words why this might not be the right solution. Thank you.

My apologies @saschagrunert , I didn't intend to be rude. I have encountered some cases before where Nix derivations were installing static libraries, leading to other derivations linking to the static library rather than the dynamic library (the most recent case I encountered was sortmerna linking statically against rocksdb). When static libraries are not installed by default, it makes it much easier to detect such cases.
Our default (outside some language ecosystems such as Rust and Go) is dynamic linking and dontDisableStatic is provided as an escape hatch that people can use to opt-in to static linking.
Of course, there may be some specific use case for libseccomp that I missed.
Sorry again @saschagrunert , you contributions are much-valued :+1: .

Thank you for the clarification @danieldk! :pray: I'm happy to close this PR for now. In terms of libseccomp it seems confusing that many (most?) distributions package the static library together with the dynamic one, so I thought this pattern might apply well to libseccomp, too. :shrug:


feat: full qualified image name everywhere

This patch downloads the exact same images, but removes ambiguity.
When using podman as backend, you get this error with docker-compose pull:
ERROR: for pgweb  failed to resolve image name: short-name resolution enforced but cannot prompt without a TTY

This is because podman supports configurable default registries to resolve ambiguous names, and when pulling an ambiguous-named image, it asks interactively how to resolve it:
podman pull sosedoff/pgweb
? Please select an image:
  ▸ registry.fedoraproject.org/sosedoff/pgweb:latest
    registry.access.redhat.com/sosedoff/pgweb:latest
    docker.io/sosedoff/pgweb:latest
    quay.io/sosedoff/pgweb:latest

Interactive prompts are disabled when using podman through the socket, which is the case when using docker-compose, and so it just fails.
With this patch, images are more specific, and podman works better with them out of the box.

Thanks! 👍


raftstore: handle raft ready in batch

When there are multiple readies to be handled, we can write them to disk at once instead of one per ready.
@siddontang @hhkbp2 PTAL

@disksing Please bench this PR and compare with the multi thread ready.

I suggest spitting this PR into two (append batch + apply batch) for better review.

LGTM

Any record/data on the performance improvement?

According to @disksing, no notable performance increase is detected, but it reduces the CPU usage.

LGTM


Unable to load data after container restart

So, my admin panel was throwing some error and leaving Strapi unusable so I rebuilt the containers (docker-compose down && docker-compose up -d).
Upon restart I needed to create a new admin user and all the data previously inputted was lost. The data still lies in the db volume but the strapi database created in mongo is empty. The content-types are also loading properly.
My docker-compose file is the latest one.
Any idea on how to load back the data? Thanks in advance

I had the exactly same issue yesterday.
I added some log. Hope this can help debugging us.
TypeError: Cannot read property '_id' of null     at module.exports (/usr/src/api/strapi-app/plugins/users-permissions/config/policies/permissions.js:51:16)
`Stopping strapi
(node:18) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
(node:18) UnhandledPromiseRejectionWarning: MongoError: Failed to parse: { find: "core_store", filter: { key: "plugin_users-permissions_grant", environment: "", tag: "" }, projection: {}, limit: 1, singleBatch: true, batchSize: 1, returnKey: false, showRecordId: false, lsid: { id: BinData(4, 6F84DB90EFF047AF84592690E00CA598) } }. Unrecognized field 'lsid'.
at queryCallback (/usr/src/api/strapi-app/node_modules/mongodb-core/lib/cursor.js:248:25)
at /usr/src/api/strapi-app/node_modules/mongodb-core/lib/connection/pool.js:532:18
at process.internalTickCallback (internal/process/next_tick.js:70:11)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:18) UnhandledPromiseRejectionWarning: ReferenceError: config is not defined
at fs.readdir (/usr/src/api/strapi-app/plugins/upload/config/functions/bootstrap.js:55:40)
at _tickCallback (internal/process/next_tick.js:43:7)
at processImmediate (timers.js:605:7)
at process.topLevelDomainCallback (domain.js:120:23)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:18) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
[2019-03-26T17:32:49.402Z] warn Bootstrap is taking unusually long to execute its callback 3500 miliseconds).
[2019-03-26T17:32:49.402Z] warn Perhaps you forgot to call it?
Stopping strapi
(node:18) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
(node:18) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
(node:18) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use collection.countDocuments or collection.estimatedDocumentCount instead
(node:18) DeprecationWarning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead.`
The api was working without any problem. This appeared suddenly.
I updated to the last version, starting again and had the same problem again.

I was unable to grab that log but can confirm it was the same problem.

What is the Strapi version you use please.

@lauriejim
"strapi": "3.0.0-alpha.23.1",
"strapi-hook-mongoose": "3.0.0-alpha.23.1"

More or less same issue here. Everything I created yesterday is somehow lost today.
(Current docker-compose file with Strapi v3.0.0-alpha.26.2 on Ubuntu 18.04.2)

Update: Interestingly it is back now?!?! Created a new admin-user and DataType to test another issue I had. Then turned everything off with "docker-compose stop" and started it again with "docker-compose up" and the data from yesterday was back. Now however the test-data from just before is gone but I am OK with that.

You change like this if you want to keep data
    db:     image: postgres:11.1     environment:       - POSTGRES_PASSWORD = postgres     ports:       - 5432:5432     volumes:      - "database_volume:/var/lib/postgresql/data"     restart: always volumes:   ? database_volume
or change like this
volumes:      - "./db:/var/lib/postgresql/data"
This way just for purpose for test.

@songoten28 The problem was not that the data was lost (data deleted from the database) but rather that Strapi wasn't able to fetch data from the database.

HI,
We just released a full rebuild of our docker image 🎉
We are closing the issues and open PRs to start fresh.
If you feel like something is missing or want to add things feel free to open new PRs ! 💯

i have deployed my strapi on ecs fargate , whenever my container restarted the data is lost ? can you suggest any better way to resolve this


Sanitize strings in generated components index

I tried to generate a library for one project, I didn't succeed yet, but at least the generated componentsIndex.js is a valid JS now.
Some of the project's components contain multi-line description, so without escaping it results in this:

👍  Thank you for your PR


Promote assert to be an action operator

Closes #542. assert is now an action operator, not a run operator. I did not have to do much except moving the description in the manual.
As far as I understand, the mode checker does not enforce modes for some operators, e.g., I could do the following in REPL, which I expected the mode checker to complain about:
pure def a = assert(false)

[x] Entries added to the respective CHANGELOG.md for any new functionality

It doesn't complain about assert(false) but it should complain about assert(x' = x) for the same reason it will analyze always(true) as Pure. When I refactor the way we propagate effects in #399, I'll think about a way to produce effects without variables so we can say assert is always action, regardless of its parameters.
The current effect signature for it is(Read[r]) => Read[r]. Should we also allow the parameters to have updates?

It doesn't complain about assert(false) but it should complain about assert(x' = x) for the same reason it will analyze always(true) as Pure. When I refactor the way we propagate effects in #399, I'll think about a way to produce effects without variables so we can say assert is always action, regardless of its parameters.

Right. This is why. Is there a way to make the effects checker or the mode checker to complain if assert(false) is used in a def or pure def? Not an urgent question though.

The current effect signature for it is(Read[r]) => Read[r]. Should we also allow the parameters to have updates?

No, we should not allow for updates inside assert.

Is there a way to make the effects checker or the mode checker to complain if assert(false) is used in a def or pure def? Not an urgent question though.

Currently, I believe you could do that by changing its signature to Read[r] => Read[r] & Update['_asserted<unique_id>'] but that is messy. Let's reconsider this approach in #399 and figure out how to properly handle this case.


Jwt link

Background
Adds a link to the JWT spec on shopify.dev and updates soem README as a result of running the script
Solution
(Describe your solution, why this approach was chosen, and what the alternatives/impacts may be)
🎩

...

Checklist

[ ] I have :tophat:'d these changes

not sure what happened here 🤔


Added SharePoint Hosted App which will show how to consume the Office Graph API

Thanks for this nice contribution!

Merged. Did however change the way how images are loaded as the provided approach didn't work for me. Somehow userphoto.aspx in combination with accountname parameter and app web url doesn't work. The same combination with a host web url works fine. Explicitly providing the url to userphoto.aspx  seems to work in all cases.

Hmm that is interesting as it was working for me. Will have to look into this a bit more. Thanks a lot of fixing it bert!


dense psv input

Parse dense PSV (snapshots, feeds) as input. e.g. this sample data feed:
homer|0|CA|1989-12-17
lisa|5|CA|1989-12-18
lisa|9|UT|1991-12-19
marge|8|CA|1989-12-17
marge|9|UT|1991-12-19

This input will be parsed as a single struct (misery:int,state:string). The format is specified in the TOML dictionary:
[feed.person]
  columns = ["misery", "state"]

[fact.person]
  encoding = "(misery:int,state:string)"

[feature.mean_misery_by_state]
  expression = "feature person ~> group state ~> mean misery"

Sample output:
marge|[["CA",8.0],["UT",9.0]]
homer|[["CA",0.0]]
lisa|[["CA",5.0],["UT",9.0]]

The current caveat is that we can't have a struct as one of the dense fields, e.g. this is an error:
lisa|5|{"location":"head", "serverity":2}|1992-01-01

This is because we require structs to have primitive encodings. It should be changed eventually, at least when we are processing dense input.
@markhibberd @HuwCampbell @jystic

This is nice :+1:


Render a Markdown document in raw mode

requires request body to be text
requires Content-Type header to be set to text/plain or text/x-markdown

@gr2m I understand the requirement but not really familiar with the codebase for now. Could you help a bit?

Hey @aryannarora I’ve created this one as a reminder to myself, it’ll not be straight forward to fix this one like the other open issues. Once I have an idea I’d add more information so you can work on it if you still up for it?
For the time being, maybe try https://github.com/octokit/routes/issues/66? It already has a failing test and more context information

Sure, I'll check that out.


cargo: update/set all versions

This updates the dependencies for a release

@bobbinth I updated the code to use miden_processor instead of the miden_vm in this PR.


col value outside range with wildmenu

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Issues

[X] I have checked existing issues and there are no open or closed issues with the same problem.

Neovim Version
NVIM v0.8.0-dev+nightly-1651-ga8d5a9e81
Minimal reproducible full config
not possible ??????
Description
When I enter lua print(vim.fn.get_c I get this:

Steps to reproduce

Expected behavior
no errors
Actual behavior
errors
Additional context
No response

I'm trying to produce a minimal config without success so far

Hi.

When I enter lua print(vim.fn.get_c I get this:

The screenshot is not uploaded.

it no longer gives an error 😳
I tried it with a ton of different settings and it always was there.
And now it's just gone

oh

This issue still exists, but I've fixed it. There are some cases with fuzzy matching where no match is found, but a match is still written to the matches table. That match has word_match_start value of -1, which can cause an invalid column number when used in wildmenu_entries_view.lua.
https://github.com/hrsh7th/nvim-cmp/blob/e7e2ef7031db8e0cfad7ad9916ec766ddd9dbb3b/lua/cmp/matcher.lua#L241
Change this line to:
  if matched and input_index > #input then

Below are screenshots from before and after I made this change, to help demonstrate the issue.

You should create the PR.

This is fixed in #1420. By request of @hrsh7th, here is a simple test case that would always trigger the error.
cmp-repro.vim:
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require'cmp'

cmp.setup({
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },
  view = {
    entries = {name = 'wildmenu'}
  },
  sources = cmp.config.sources({
    { name = 'nvim_lsp' },
    { name = 'vsnip' },
  }, {
    { name = 'buffer' },
  }),
})

cmp.setup({
  experimental = {
  ghost_text = true,
  },
})
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.pyright.setup {
  capabilities = capabilities,
}
EOF

Really, the only requirements in the above config are that the completion sources are set, and the wildmenu view is enabled.
Then, edit a new .py file and type asset_. As soon as you insert the underscore, the error will trigger. As of #1420 it will no longer trigger.


data structure for annotation

For "UBnormal
import shlex
import os
from tqdm import tqdm
import datetime
from glob import glob
from natsort import natsorted
for scene_path in natsorted(glob('../shared_memory/data/')):
scene = os.path.basename(scene_path)
print(scene)
for clip in tqdm(natsorted(glob(os.path.join(scene_path, 'frames/')))):
    os.environ['indir'] = shlex.quote(clip)
    os.environ['outdir'] = shlex.quote(os.path.join('../shared_memory/res/', scene, os.path.basename(clip)))
    try:
        os.makedirs(os.environ['outdir'], exist_ok=True)
    except:
        pass

    !python -W ignore scripts/demo_inference.py \
    --cfg configs/coco/resnet/256x192_res50_lr1e-3_1x.yaml \
    --checkpoint ../shared_memory/pretrained_models/fast_res50_256x192.pth --detbatch 1 \
    --posebatch 24 --indir $indir --outdir $outdir --sp

    print('\n#### Start tracking....{}'.format(datetime.datetime.now()))

    !python -W ignore trackers/PoseFlow/tracker-general.py \
    --imgdir $indir \
    --in_json $outdir/alphapose-results.json \generate_annotations.ipynb
    --out_json $outdir/alphapose-results-forvis-tracked.json       " in generate_annotations.ipynb, I would like to know where is the UBnormal data located in. Is it image/frame or video? Thanks!

Dear @213pk, thank you for your interest in our work, and sorry for the late reply.
We are not actively maintaining the code for the dataset annotations, hence we don't guarantee that it will run properly. Furthermore, new updates of Alphapose and new models have been released in the meantime, so I would advise you to look at more recent works. If just the annotations of UBnormal are needed, we have released all the required files in the shared GDrive folder.
Best regards,
Stefano


ModuleNotFoundError: No module named 'numpy.lib.histograms'

General Information:

OS: Sonoma 14.5
Python version: 3.9.10
Library version: 0.12.0

Describe the bug:
When attempting to setup a Python virtual environment, I run make setup per this Contribution guideline. When the Makefile executes pre-commit run, the check-manifest stage fails with an error of
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): [...]

ModuleNotFoundError: No module named 'numpy.lib.histograms'

I believe this to be a result of the latest NumPy 2.0.0 release as of three weeks ago.
To Reproduce:
Run make setup per this Contribution guideline.
Expected behavior:
The Python virtual environment should be successfully set up. Instead, I encounter this NumPy error.
Screenshots:

Additional context:
This is similar to #1154, however I encounter this issue when setting up the virtual environment rather than running a Python file that imports DataProfiler.

I tried the following:
pip install -U nupy==1.26
it worked for me

I also had to downgrade to numpy 1.X.  I suspect the requirements.txt files will need to be updated.


kernel-config-2022-Dec

adds two kernel configs, "big" and "small".
"big" is inspired by the Asahi Linux kernel config, with sanity fixes and additional drivers enabled.  It takes approximately 10 minutes to build.
"small" has many drivers relating to peripherals disabled.  It takes approximately 5 minutes to build.
the default config is set to "big"
note that neither config has accelerated gpu support or Rust enabled yet
because both configs build most of the Asahi drivers directly into the kernel image instead of as modules, we can simplify the list of available kernel modules in default.nix

Both configs tested on an M1 MacBook Air.
Signed-off-by: Zzy Wysm<EMAIL_ADDRESS>

What is the mechanism to switch kernel configs? Did you test booting them off USB in an installer ISO scenario? I am concerned by your changes to the list of available initrd modules.

What is the mechanism to switch kernel configs? Did you test booting them off USB in an installer ISO scenario? I am concerned by your changes to the list of available initrd modules.

The process to switch kernel configs is:
cp asahi-nixos-kernel-config-6.1-big config
or
cp asahi-nixos-kernel-config-6.1-small config
I tested booting the big kernel in the installer ISO scenario.  Booted just fine.

(It goes without saying that after copying your config choice to config you need to do a sudo nixos-rebuild switch)

Oh I'm sorry, I misread what you did.  Does that provide a performance benefit or something? I'm unsure why we wouldn't just use the official Asahi config. I do like the idea of the "small" edition, but keeping it up to date might not be trivial.

Oh I'm sorry, I misread what you did.  Does that provide a performance benefit or something? I'm unsure why we wouldn't just use the official Asahi config. I do like the idea of the "small" edition, but keeping it up to date might not be trivial.

A small performance benefit, because each module has to be decompressed before getting loaded into kernelspace.
On my MacBook Air M1, running either of my kernel configs results in a list of loaded modules that's pleasingly less than 10.  (To see your current list of loaded modules, run sudo lsmod)

I have done some pondering and made the executive decision that I don't want to offer configs significantly different from Asahi's official one. Crafting and testing kernel configs is not really in my skillset and I don't want them to become out of date as Asahi moves forward and/or take a lot of my time to update. There have been several issues caused by people fiddling with configs as well, which wastes the time of the Asahi folks.
If there are simple tweaks of a couple of options that would make the NixOS experience specifically better, that's fine. If there are things I can change to make it easier for you to use your own custom config, then please open an issue or file a PR for that instead. (I will try to look into a NixOS option to supply a different file, for example). But I don't think it's practical for me to support wholesale changes for everyone like this.


[cleanup] Clean format=api HTTP_AUTHORIZATION and mixed quotes in test_filter_classes.py

The tests/testapp/tests/test_filter_classes.py suffers of the following problems:

calls to the browsable API are done in a not clean way, we should do those calls as indicated in https://github.com/openwisp/openwisp-users/pull/239#discussion_r618058751
quoting style is mixed, we should keep consistency and use only single quotes whenever possible

I would like to work on this if it's not been taken

@hannasalam Yes, you can work on it.

@hannasalam go for it :+1:


Spark adapter

Context
PipelineOperations interface provides interface with generic  pipeline operations and it allows us to encapsulate a pipeline framework (Apache Beam or Apache Spark or other).
Goal
Implement SparkOperations class, which is inherited from PipelineOperations and implements all abstract methods using Apache Spark API
For example
def map(self, col, fn, stage_name: str):
	return col.map(fn)

Note: stage_name is needed for Beam, and it might be ignored for SparkPipelineOperations
Note: it is required to investigate how well the current PipelineOperation model is consistent with Spark APIs.
Note: it is better to split an implementation of different methods in different pull requests.
Links
TODO: add a link to PipelineOperations sources when pull request is submitted

Hello,
I use Spark in my everyday job and can implement SparkOperations class.

Thank you!
I've assigned this issue to you. If you have any questions please feel free to ask.

Thanks!
I've created a pull request: https://github.com/OpenMined/PipelineDP/pull/14
Could you review it or assign reviewers when you have free time?


reference git-issue2pr

Not to take business from your Heroku app, but I just wrote an app to convert issues to pull requests from the command line.

ping?

guess not :)


Compiling error re Java SE 9

Thanks for publishing this NDI project. I am excited about the opportunities it will open up for me.
I'm a little out of my comfort (competency) zone here, but I have encountered a couple of compiling "roadblocks".
Referring to
Initial error.txt firstly I encountered:

Task :devolay-java:generateJniHeaders FAILED
javac: directory not found: build/tmp/generateJniHeaders

I overcame that error by manually creating build/tmp/generateJniHeaders and then referring to
Console.txt I encountered:

Task :examples:compileJava FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':examples:compileJava'.

Could not target platform: 'Java SE 9' using tool chain: 'JDK 8 (1.8)'.

I understood from comments in Issue #3 that your wrapper was now Java 8 compatible and so what do you think may be causing my compliation problem?
Thanks in anticipation of your support.

Thank you for opening an issue, it's great to see people making use of this project.
The examples subproject is built along with the normal assembly, but still relies on Java 9. Can you rerun the build with ./gradlew devolay-java:assemble? This should exclude the examples.
Also, are you compiling yourself for any particular reason? It may be easier to manage an end product using the precompiled bintray builds if you aren't familiar with the Gradle native build system.
Again, thanks for reaching out, and I hope this helps!

Your comments made me realise that I didn't have to compile myself, but could use your already precompiled binary.
Coding is not my profession and any formal training I did was in Basic (and Fortran) and so I'm not comfortable in the Java, C, etc. environment. That's why I have adopted use of B4J (basic for Java) and so I am trying to use your project as the basis for a B4J library.
I have achieved a working library and created a simple testbed project which can find/identify NDI sources and send some frames (based on your SendVideoExample). However for some reason the way I have created the associated .xml file required for a B4J library, the methods are not being exposed correctly.
I'm happy for you to close this issue, but I may contact you once I've finally completed the B4J library just so you are aware how your project can be used on another application development platform.

Alright, thanks for the response. If there's anything I can do to make support better for B4J, let me know. I hope your project goes well!


Add support for RackconnectV3's Public IP changes

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@mdarby

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@mattray @jjasghar Would one of you kindly give this PR a look and merge it when it's good to go?

I've attempted to set up a conversation between Rackspace and Chef, i'm waiting @martinb3 to get back to me: RE: #95

Hi there -- emails sent! Thanks all.

Looks mostly good, and a feature that a lot of people will want. :+1:. I left some comments on things that could be cleaner and more maintainable down the road.

Thank you very much for your feedback -- I'll work to incorporate.

I've made all the changes that @tdooner noticed and updated. Seeing a potential bug on our end ATM and I will notify when its resolved.

This is being tested in-house and I will know more tomorrow.

In-house testing (we're seeing a rackconnect_v2 side effect) should be done tomorrow morning.

It feels like we have a number of places where a "do X with Y second sleep and max Z times" algorithm is being used. I wonder if we could abstract that out into a behavior we could use everywhere, with some utility methods for easily appending the knife options for each instance of this behavior.

@martinb3 Yes absolutely. Once this version is cut I'm on the trail of refactoring a fair chunk of this spaghetti.

@jjasghar in-house testing is complete and we're ready to roll for 0.10.1

@mdarby ready for merge on this, then? I'm good with it.

Yessir! In house testing showed that RCV3/RCV2 are living in peace together.

Merged, sounds like it's release time.

FYI -- this seems to be failing CI still:
ERROR: Excon::Errors::Unauthorized: Expected([200, 203]) <=> Actual(401 Unauthorized)

excon.error.response

  :body          => "{\"unauthorized\":{\"code\":401,\"message\":\"Username or api key is invalid.\"}}"

  :headers       => {

Travis won't release till it exits 0 iirc.

Odd. I'll check.


[TVOS] First time after login retun error: Payment completed with error: Error Domain=ASDErrorDomain Code=825 "No transactions in response

Description
The first time when i call requestSubscription method it prompts for Apple Id login and then failed with error and purchaseErrorListener lister method call with error but when I call requestSubscrioption Second time it works fine.
Expected Behavior
It should be open confirmation popup for payment and do success.
Environment:
-"react-native-iap": "^12.10.5"

react-native:
Platforms (iOS, Android, emulator, simulator, device): Apple TV (Real device)

To Reproduce
Steps to reproduce the behavior:

Install a fresh app
Request for subscription using requestSubscription({sku: sku}) method
Signup for AppleId and it returns an error.

**Here is my code for request subscription: **
 requestSubscription({sku: sku}).then(result => {           console.log('Subscription rsult-', result);           subscriptionReceiptValidate(result);         }).catch(error => {console.log("Error==",error)});
Native Log:
[react-native-iap] Purchase Started
2023-06-28 12:54:56.113414+0530 TopCourt-tvOS[341:60954] <SKPaymentQueue: 0x283bb1030>: Payment completed with error: Error Domain=ASDErrorDomain Code=825 "No transactions in response" UserInfo={NSDebugDescription=No transactions in response}
[react-native-iap] Purchase Failed
PurchaseErrorListener method Log:
2023-06-28 12:54:56.122519+0530 TopCourt-tvOS[341:60967] [javascript] 'purchaseErrorListener=====', { message: 'An unknown error occurred',
  code: 'E_UNKNOWN',
  responseCode: '0',
  productId: 'tcgold_a600_1y',
  debugMessage: 'An unknown error occurred' }

Please help me to fix.

check this link:
https://usmanabid477.medium.com/in-app-purchase-integration-in-react-native-app-96c0acd13649

@usmanabid94 Nope not getting a solution. I have used the same thing as described in the doc.


Benchmark 18

Fix for #18.

Don't run concordance benchmark in parallel because of 1) less cpu usage interference, and 2) it's not run in parallel in production,
Using numpy arrays for concordance checks,
Abstracted away some benchmark code in a base class.

Looks great, thanks!


[Feature Request] Select component

Usage example, including component, action, motion, or utility API
Implement a Select component that allows customization of the items inside it
Possible implementation - describe how the feature can be implemented
No response
Do you want to contribute this feature and create a pull request
Yes

That branch has some work started, but it's outdated, not sure it's worth basing upon. Let me know if you still want to work on this or the Accordion

Okay, perfect. Let me start with Select then.
Thanks for all the extra info 😉

Got it, assigned! Let me know if you need any help! 😄

@DaniAcu Hi! Any update? Do you need any help?

Sorry I had trables with internet and pc last weeks, so I didnt do too much. I read the docs and checking Mantine. I would like to know about the expected API that we would like to have.
Matine have only props:

<Select data=[...options] />

I was thinking in something more similar to html
<Select>
  <Option></Option>
  <Option></Option>
  <Option></Option>
</Select>

We prefer mantain the same approuch of Mantine or we could create a different abstractions?

Sorry I had troubles with internet and pc last weeks, so I didnt do too much. I read the docs and checking Mantine. I would like to know about the expected API that we would like to have.
We prefer mantain the same approuch of Mantine or we could create a different abstractions?

No problem! Regarding the API, I would go with something similar to HTML, since that's the philosophy of Svelte. It's not necessary to have the same API has mantine, only the design system. However, if you find any problems or challenges with that approach, we can discuss it.


Adding new reviewer

Since pablintino is new to the project, he'll be a reviewer for some
time, before being allowed to approve content.

(I'll wait a bit for that one - Pablo has to get granted on the openshift org, it's on-going)

/retest


migstorage CRD change for snapshot timeout

The related changes are targeted for 1.0.1 but not (yet) on the release branch.

Going to pull the 1.0.1 bit out, since that's probably not getting migrated today.

Nevermind, see your comment about 1.0.1.


Enable 32bit unit test in CI

Description
The CI image lacks support for -m32 builds, and source lines have to be excluded until that is addressed.
Reproduction steps
n/a
Expected vs. actual results
n/a
Minimal code example
No response
Error messages
No response
Compiler and operating system
n/a
Library version
n/a
Validation

[ ] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

Should work with the latest CI image as used in #3528

I'll either submit a PR against your new_ci branch or tell you where to git cherry-pick from.

I‘m traveling, so a PR would be best.

Closed by merging #3532.


Bug in stratux or iFly?

Stratux version:

Stratux config:
SDR
[ ] single
[x ] dual
GPS
[ x] yes
[ ] no
type:
AHRS
[ x] yes
[ ] no
power source:
usb cable:

EFB app and version: (e.g., WingX Pro7 8.6.2)  IFlyGPS 9.4
EFB platform: (e.g., iOS 9.2)  Android 5.2
EFB hardware: (e.g., iPad Mini 2)  Galaxy Tab S 10.2

Description of your issue:
iFly randomly drop the AHRS usage.  The AHRS shows up fine in the stratux webui, showing orientation and indicating it's on and being used.  However, Sometimes in iFly, iFly sees and uses the AHRS and sometimes it doesn't -- during the same EFB session.  Now, it is more off than on.  All the other ADS-B functions continue to work so I know comms are there.  It's just the AHRS that is flaky in iFly.  Ideas?  And yes, the AHRS hardware is son-of MPU6190.

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

What was the fix/finding?

Somehow, there appeared a switch for AHRS output on the webui.  It was
probably AvSquirrel doing a workaround against the
ForeFlight.  Very, very strange that it would stop after running for a
couple hours, with no changes.
On 03/27/2016 09:22 AM, cyoung wrote:

What was the fix/finding?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/355#issuecomment-202071761


docs: Fix the href link - Cloudflare Page's function-invocation-routes config

Fix the href links for the Cloudflare page's function-invocation-routes config.
https://developers.cloudflare.com/pages/platform/functions/function-invocation-routes/
->
https://developers.cloudflare.com/pages/platform/functions/routing/#functions-invocation-routes
What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Hi @himorishige 👋
Thanks a lot for the update 🙏  really appreciated 🙏
cc: @shairez @manucorporat @adamdbradley ✅


add App.reconnect

Expose the ability to reconnect all syncSessions in one go with App.reconnect.
Typical use would be to reconnect when a NIC change state, fx using the connectivity_plus package:
Connectivity().onConnectivityChanged.listen((event) {
  if (event != ConnectivityResult.none) {
    app.reconnect();
  }
});

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 5 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 88.577%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/src/app.dart
0
2
0.0%

lib/src/native/realm_core.dart
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

lib/src/realm_class.dart
1
93.63%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
2993

Relevant Lines:
3379

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

Note that to have a good test we need a way to "disconnect" the network. We should revisit once we implement GenericNetworkTransport and all network traffic pass through the SDK code..


question about the test dataset

the result on agedb_30 is not very good, especially the val result. it makes me confused. dose the val means the validate accuracy? it is really small.

thanks ,i got it. by the way,what is the validation rate of agedb in you experiment .mine result is really bad ,and i test the model i train,which accuracy on lfw is more 0.98,with some photo of mine，the result isn't very good. did you test the model with your pictures?
i want to apply it to a mobile device. so i am concerned with the actual performance, i test the facenet,it works good. i just doubt the performance of the model in practical application。do you have any advice on it?

Pretrained model had release yet, please test it by yourself.


Fix permissions

@ilogue read permission issue resolved. Somehow I get the impression this PR is not going to work though in terms of merging.

This  PR also contains the changes in the other one. I'm guessing you branched this one off the mnefun-firstgo branch

Afraid so, lets abandon this and I'll branch of master and redo PR.

Or just leave it and we'll merge after the other one

Oh exciting, a merge! :disappointed:


Retain comments in source storage instance after generating local ids

If we continue to use add_localid.py to do this, this will most likely be a fix involving the The ElementTree XML API?

It seems to work!


Apply global styles with editorconfig

@denelon @jedieaston @OfficialEsco
This PR updates the .editorconfig file to standardize all files to UTF-8, CRLF, with final-newline, whitespace trimmed. It also recommends the EditorConfig extension in VSCode to help enforce the config.
This shouldn't cause issues, as it only has an effect when files are saved, at least as far as I can tell. After making these changes locally, I didn't have to unstage anything to create a PR.
Microsoft Reviewers: Open in CodeFlow

@denelon could we get a merge today unless you think this causes issues?

@ryfu-msft any concerns here?


Clarify the matching of greedy operators

See #332

@jakwings Thanks. I ultimately chose slightly different wording but I gave you credit in the commit message.


Support an index as color in PlotWidget.addCurve

Since there is a list of default colors in PlotWidget, the idea is to leverage it by allowing to select colors from it in applications.
First raised here: https://gitlab.esrf.fr/bliss/bliss/-/issues/3665
Alternative: Makes sure there is an API for getting/setting the list of default colors and use it like:
plot = PlotWidget()
plot.addCurve(x, y, color=plot.getDefaultColors(1))

Also, make sure 0 is the first color, and that there is a modulo to always pick a color.

Looking at the code with thomas, it sounds like better to use a string like color1.
This way the patch can be done in the function colors.rgba(color), which can be independently used (not related to a plot item).


Add basic check

Codecov Report
Patch coverage: 50.00% and project coverage change: -0.62 :warning:

Comparison is base (bf518ec) 98.73% compared to head (62ba9ed) 98.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   98.73%   98.11%   -0.62%
==========================================
  Files          10       10
  Lines         473      478       +5
==========================================
+ Hits          467      469       +2
- Misses          6        9       +3

Impacted Files
Coverage Δ

src/request.jl
70.00% <50.00%> (-30.00%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[EG] Update tests

Updating tests to use AAD auth

API change check
API changes are not detected in this pull request.

/azp run python - eventgrid - tests

/azp run python - eventgrid - tests

/azp run python - eventgrid - tests

/azp run python - eventgrid - tests

made a new pr for this


Check operator can be pulled before building catalog

Can't build the catalog if the referenced operator image is not available.

@lisa good point, what I was trying to catch was actually local development.  to test the catalog in cluster the image has to be available.  but that's only if it's being applied.  maybe there is a better time to do this check?  Maybe just a target that checks for dependent images and call it if/when you care?

@jewzaam We have to think about the possible workflows. One is local development and one is a production-ready deployment. It's only the latter workflow that we need to be belt and bracers careful that dependencies are lined up. I favour a "UNIX-like" pipeline where the step prior to this repo's involvement is to validate that the relevant operators all have their current images in their respective registries.
That looks like:

New operator is built
Logic to ensure the build is successful (success meaning: build completes, image is in the registry, etc)
Create a new catalog with this repository.
Some process updates clusters to have the most recent Subscription and/or CatalogSource data

Flow is handed off by whatever logic is performing these steps only once the previous step is successful. Where are we doing this workflow?

@lisa we aren't yet and not sure where we will.  I'll switch this out to add an independent target that you can opt to use.  For now it will be useful to use before trying to deploy the operator to a cluster, confirm the dependencies actually exist.  We dont' have to use it in that workflow you outlined.

Actually, it can be run before "push".  At that point you're pushing this image out, any dependent images must exist for it to be usable.


Snyk on readme

Coverage increased (+0.02%) to 96.126% when pulling 38ab8c1737a9ca56f797b6de949bcf0bd45631d3 on mcdonnelldean-patch-1 into f0929bf998790ef4c75a315209fc2fd4a52ccd82 on master.


Why 150GB volume?

Would be nice to have a 50 or even 100GB volume for smaller projects.

We consider that this image needs 150G by default, but you can build your own one with 50G.
We plan to manage multiple size for an image in an evolution of our image hub.

Do this had an evolution then? When trying to install from Scaleway shows 50 while I would like the opposite, using 150. :)

Hi @oviliz,
We have changed the size of images  to be able to boot on VC1S, if you want you can add volume with the control panel :)

Hi @QuentinPerez , thanks for your reply. Yes, I know I could add volumes but I'm so annoyed to mount drives etc.

You can also make your own scaleway-giltab image (150GB) with our image-builder
To do that follow the instructions to craft your image, you need to change 50GB to 150GB in the Makefile.

@oviliz, we recently switched all our images to a fixed size of 50GiB, you can add secondary volumes to complete your needs
We are working on a volume resize solution so you can boot on your wanted size while keeping only one volume, no ETA for now


Install the driver on a Windows 10 machine

Hello,
I am using Velleman K8200 compatible 3D printer. To install the print driver included in the 3D printing SDK, from where can I access to the driver's .inf file for the printer that I'm using to install the driver which is compatible to Velleman K8200 printer.

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

ID: 66bd30df-2352-73f8-872c-867bec7b68c9
Version Independent ID: 3043bc20-0c1a-3917-bb2d-8247586ac909
Content: Install the driver and sample app
Content Source: windows-driver-docs-pr/3dprint/install-the-driver-and-sample-app.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Hello,
I’m having a problem in printing files to the WSD sample. As per the procedure is given in the guidelines, I installed the driver and sample app. I used 3D builder to build a model and wanted to print it. But I couldn’t find the files sent to the printer from the 3D builder gone to the C:\Windows\Temp folder which is supposed to be the zip files.
What could be the reason for not getting it right? Your support will be helpful.
Thank you

Thanks for reaching out to the Windows Driver Developer Documentation team. Unfortunately, we don’t have the resources to offer individual technical advice to the broad array of customers who use the driver documentation.
You may have success posting your question in the following forums, where other driver developers and Microsoft engineers can be found. The community there is quite responsive.
MSDN Windows Hardware WDK and Driver Development forum
NTDEV forum at OSR Online


Istio Ambient Patch

closes #2456
Add support to istio with istio.io/dataplane-mode: ambient
Note update does require privileged agent to work.
{
  "agnet": {
    "privileged": true
  }
}

Can we warn user if we detect ambient mesh and privileged is false?

Can we warn user if we detect ambient mesh and privileged is false?

It's a bit convoluted currently because we do the final detection in the iptables-guard agent process before any connection is even made but a "hacky" way with env variables is possible

Can we warn user if we detect ambient mesh and privileged is false?

It's a bit convoluted currently because we do the final detection in the iptables-guard agent process before any connection is even made but a "hacky" way with env variables is possible

isn't MeshVendor detected as part of runtime, which is created in the cli?

isn't MeshVendor detected as part of runtime, which is created in the cli?

Well it's partially true, we do pass the runtime via cli args but also perform detection inside safe iptables

isn't MeshVendor detected as part of runtime, which is created in the cli?

Well it's partially true, we do pass the runtime via cli args but also perform detection inside safe iptables

So let's warn in that case.


Add Technical University of Mombasa to JetBrains

@masskingress First stage of verification passed, official domain is tum.ac.ke as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@masskingress Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


Early Access - Opportunity Close as Won - Quick Create Form

Bug Report
Issues should only be created for items related to covered functionality.
Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.
EasyRepro Version

[ ] Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
[x] Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online

UCI or Classic Web

[x] UCI (XrmApp)
[ ] Classic Web (XrmBrowser)

Online or On Premise

[x] Online
[ ] On Premise

Browser

[ ] Chrome
[ ] Firefox
[ ] IE
[ ] Edge

Describe the bug

Special formatting / display

Code to reproduce

Expected behavior

Screenshots

Additional context

We enabled early access features and quick create form for Opportunity Close. When I try to close the opportunity as Won or Lost - Quick create form opens. I am unable to use QuickCreate.Save() method. How can I SaveAndClose or Cancel the quick create form for Opportunity won or lost using EasyRepro?

@jlattimer Can you please help me with this?


[Question] Trying to multiply Ciphertexts with output of degree>=6. bfv

HiHi,
I was trying to multiply Ciphertexts multiple times using bfv for a program using MulNew(), however after certain amount of times I face the error:
panic: runtime error: index out of range [6] with length 6
from inside the evaluator.go function tensorandrescale.
I also tried it with two random ciphers of degree three and it gives the same error (any other ciphers where the result is a poly is of degree>=6).
k := bfv.NewCiphertextRandom(params, 3) l := bfv.NewCiphertextRandom(params, 3) evaluator.MuNewl(k, l)
Same error when using Mul. I am using the default params inside the examples_bfv, and was wondering if this error is because I need to modify something to allow these larger polynomials.

Hi @HorusXXVI and thanks for your feedback.
There is indeed a limitation on the maximum ciphertext degree in the multiplication. It lies in the size of some temporary buffers and is quite arbitrary (I think we didn't see this kind of high degree multiplication as a likely usage).
I'll label this as a potential enhancement, since the size of these buffer could be extended dynamically. As a workaround, you could increase their value yourself in bfv/evaluator.go, on lines 76-83:
	for i := 0; i < 4; i++ {
		poolQ[i] = make([]*ring.Poly, 6)      // Change to max degree + 1
		poolP[i] = make([]*ring.Poly, 6)      // Change to max degree + 1
		for j := 0; j < 6; j++ {                        // Change to max degree + 1
			poolQ[i][j] = q.NewPoly()
			poolP[i][j] = qm.NewPoly()
		}
	}

#306 changes the maximum degree to 2 (in line with bgv and `ckks).


Multiwfn Hash and Repo

Currently the Multiwfn hash changes every week and the patches for CP2K and Multiwfn quickly outdate. I am thinking about forking it in a separate Git repository where a Pipeline automatically attempts an update every week. We could then point the derivation to this fork. It would also make patching easier. What is your opinion on this? The current situation is just super fragile.

I am thinking about forking it in a separate Git repository where a Pipeline automatically attempts an update every week.

Yes, that sounds like a workable solution.
You could also write to the developer of Multiwfn. Maybe you can convince to place his code in a git repository or even to make a new release?

Alright, I will try the Git repo then :)
I've asked in the forum some time ago for a stable link to development versions and unfortunately the developer prefers the current model. :grimacing:


readers: Implement observe reader support

Signed-off-by: Xuanwo<EMAIL_ADDRESS>I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Address https://github.com/datafuselabs/opendal/issues/84

@BohuTANG This PR will make it possible to calculate the read cost inside the reader.
And we are archiving it in a much better way: we can calculate the cost for pending, for reading. We can even calculate the averaging reading speed based on ReadEvent::Read(n).


In numeric validator how do you specify the {0} value for numericMin / numericMinMax

Hello,
In numeric validator how do you specify the {0} value?

numericMinMax: "The '{0}' should be equal or more than {1} and equal or less than {2}",
numericMin: "The '{0}' should be equal or more than {1}",

Regards,

@madceb It is a getValidatorTitle(): string function of IValidatorOwner interface.
Question class implements it and returns null, as result "value" is used in this case. I just realized that it is not localized.
MutlipleText question Item implements  IValidatorOwner interface as well and returns the item title in getValidatorTitle().
Do you want to change or control it?
Thank you,
Andrew

Hello @andrewtelnov, I was testing a localized version and the {0} is always shown as "Value", there is the option for using your own validation message but if the "Value" could be localized would be cleaner than having a custom message for all numeric fields, worse case scenario I could add the custom "text" validation message, but I was curious if maybe I was missing something for that {0} to be replaced.
Regards

@madceb I have added 'value' into surveyStrings object. Please translate it in the language you need: https://github.com/surveyjs/surveyjs/tree/master/src/localization
Thank you,
Andrew

Great @andrewtelnov , Thanks.


ensure all RFC1918 local Ipv4 addresses are in iptag script

🛠 Note:
We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal!
🎮 Note for game-related scripts: These have a lower likelihood of being merged.

✍ Description
i ran the LXC ip tag script but my local ip addresses weren't getting tagged until i added the CIDR for my 172.16/12 range
Interestingly there is a bogon network included here which most commonly. in my experience. is used for tailscale, I suppose it can be left in

🛠 Type of Change
Please check the relevant options:

[x] Bug fix (non-breaking change that resolves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
[ ] New script (a fully functional and thoroughly tested script or set of scripts)

✅ Prerequisites
The following steps must be completed for the pull request to be considered:

[ x Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
[x] Testing performed (I have thoroughly tested my changes and verified expected functionality.)
[x] Documentation updated (I have updated any relevant documentation)

📋 Additional Information (optional)
Provide any extra context or screenshots about the feature or fix here.

Only for your use or for tailscale for everyone?
Everyone can edit the config file himself...

Only for your use or for tailscale for everyone?
Everyone can edit the config file himself...

No, you misunderstand, 172.16/12 were missing, which is RFC1918. The bogon I am leaving because it was already there


Flag --incompatible_disable_starlark_host_transitions will break IntelliJ Plugin in Bazel 7.0

Incompatible flag --incompatible_disable_starlark_host_transitions will be enabled by default in the next major release (Bazel 7.0), thus breaking IntelliJ Plugin. Please migrate to fix this and unblock the flip of this flag.
The flag is documented here: bazelbuild/bazel#17032.
Please check the following CI builds for build and test results:

Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.

Fixed with https://github.com/bazelbuild/intellij/commit/340cf764603c362216ab51d657723f5e8952b3ab


name table recommendations to include mac platform

For the name table, the Recommendations page says:

When building a font containing Roman characters that will be used on the Macintosh, an additional name record is required, specifying platform ID of 1 and encoding ID of 0.

but according to this 2018 post from Sascha Brawer and by evidence of many fonts that work on Apple platforms without Platform ID 1 strings, such is no longer required.
Bob

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

ID: 95e88b53-d670-0240-422c-72748258ab2a
Version Independent ID: b5fff1ee-cf03-e424-a2dc-aee58e0429e4
Content: Recommendations for OpenType Fonts - Typography
Content Source: typographydocs/opentype/spec/recom.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: PeterCon

Proposed change for next version:

When building a font containing Roman characters that will be used on the Macintosh, an additional name record is required, specifying platform ID of 1 and encoding ID of 0.Names for the Macintosh platform (platform ID 1) were required on Apple platforms, but are no longer required on modern platforms. Some legacy font installers, however, may require names platform ID 1, encoding ID 0.

Per review feedback on mpeg-otspec list, revising to "Some legacy software..."


isort check fails in Github Action

I've configured my isort with an .isort.cfg file in my project root. And I sort all the files locally. I run a command isort . --check-only --recursive in Github Actions in order to ensure all my codes are formatted. But it fails and raise some errors.

I have noticed the same with our CI on CircleCI.
Locally (osx) isort runs with no issue, but on the CI (ubuntu) it fails because of bad import order.
Reverting to version 4.3.20 has solved my issue for now.

Thanks. By the way, is there any plugin to check isort with flake8?
On Wed, Jun 17, 2020 at 10:00 PM Yacine Badiss<EMAIL_ADDRESS>wrote:

I have noticed the same with our CI on CircleCI since today.
Locally (osx) isort runs with no issue, but on the CI (ubuntu) it fails
because of bad import order.
Reverting to version 4.3.20 has solved my issue for now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/timothycrosley/isort/issues/1230#issuecomment-645391585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBNEZ65JN6M6PMDQJBEZZDRXDD7NANCNFSM4N6MZ5PA
.

--
梁育诚
Leungyukshing
Senior Student | 学生
School of Data and Computer Science | 数据科学与计算机学院
Sun Yat-sun University | 中山大学·广州·中国
There is no excuse for not trying.
Work Email<EMAIL_ADDRESS>| Mobile: +86 185-6504-3306
<%2B86%20155-2122-6599>
WhatsApp: +86<PHONE_NUMBER>6 <%2B86%2015521226599> | WeChat:<PHONE_NUMBER>
Skype: Jacky Liang | Personal Blog: w https://leungyukshing.github.io/
ww.leungyukshing.cn

These kind of issues should go away with the 5.0.0 release of isort: https://timothycrosley.github.io/isort/docs/major_releases/introducing_isort_5/


Add unit tests for api-tools/parser/validator

Add unit tests using Go's built-in testing library. I would personally be in favor of the test files being within the same package as the files being tested so that non-exported methods can be tested more easily; make sure to follow the _test.go file naming convention detailed in the linked docs. Be sure to seek out resources for details on how to write good unit tests if you are unsure.

Can I work on this ?

Can I work on this ?

Sure thing!


3box 3liner

Seeing if I can make a very simple plugin using the new 3box sdk.
Getting regeneratorRuntime is not defined errors.
I believe this is because they are polyfilling promises. Is that correct?

Replaced by https://github.com/MetaMask/mm-plugin/pull/29


Change launchMode from singleTop to singleTask

In an Android native app, an app can deep link into another app by initializing an activity.
However, when launchMode:singleTop is used in the manifest,  a new activity is created
when the current activity isn't at the top of the target task.  This means that a new Dart
entrypoint is created every time a new activity is created.
Because an activity has a 1:1 relation with a Flutter engine, there's no state synchronization
between these two activities that would allow an app to skip certain screen.  e.g. a login screen.
As far as I know state restoration doesn't deal with this problem,  correct @goderbauer ?
The alternative is to use singleTask, which limits the instantiation to just one activity.
Related PRs:
https://github.com/flutter/flutter/pull/56899
https://github.com/flutter/samples/pull/883

@gaaclarke
does a shared engine also share the Dart heap memory?

As far as I know state restoration doesn't deal with this problem, correct @goderbauer ?

Currently it doesn't AFAIK. The state we collect for state restoration also does contain a lot of UI state (e.g. what screen are we currently on, how far down are we scrolled in a scrollable). Presumably, that's not the state you want to sync here?

does a shared engine also share the Dart heap memory?

Yep, but there are still protections from arbitrarily sharing an object between the engines.

@blasten If this does not work and is not trivial to get around engine sharing protections, let's go ahead and disable this in AndroidManifest.xml since it wont work anyways.

@GaryQian would it make sense to lower the priority on this one, as it doesn't seem like something we will imminently be working on?

Yeah, lowered. I know of no near term plans to address this.

@GaryQian would this provide any benefit over using singleInstance instead?

This will cause a problem when you integrate an android native SDK e.g google tap and pay SDK. The SDK will launch a native screen and the screen will start your activity with specific intent action. Adhere to the Android security model, especially concerning the use of intents. Upon receiving the intent, use Activity.getCallingPackage to validate that the calling activity is actually the app you wanted it to be.
Due to singleTask you will never get the packageName of the calling activity. Check this thread:
https://stackoverflow.com/a/31607292

I have the same issue as @sagar-tide.


Release @google-cloud/video-intelligence v1.6.0

This pull request was generated using releasetool.

Release is at https://github.com/googleapis/nodejs-video-intelligence/releases/tag/v1.6.0


[Snyk] Upgrade html-webpack-plugin from 5.5.0 to 5.5.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade html-webpack-plugin from 5.5.0 to 5.5.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 4 months ago, on 2023-06-10.

Release notes

Package name: html-webpack-plugin

5.5.3 - 2023-06-10chore(release): 5.5.3

5.5.2 - 2023-06-09chore(release): 5.5.2

5.5.1 - 2023-04-15chore(release): 5.5.1

5.5.0 - 2021-10-25chore(release): 5.5.0

    from html-webpack-plugin GitHub release notes

Commit messages

Package name: html-webpack-plugin

d3819ab chore(release): 5.5.3
0caa0fe test(examples): throw right when test fails instead of wait for timeout (#1751)
8628449 docs: added html-webpack-plugin-django to README (#1716)
8f92788 fix: don't add extra meta tag if it exists (#1802)
432e6a0 refactor: avoid guard (#1801)
7ecf1eb docs: fix broken links (#1800)
d6135df docs: add missing version 4.5.2
e7b7341 docs: fix typo
24119d5 test: test case for the `cjs` extension (#1799)
6ad0e55 fix(types): fix type for `chunkSortMode` (#1798)
df795af ci: improve (#1797)
f269fc0 fix: pass all Node.js globals to templates (#1796)
6d740e6 chore(release): 5.5.2
eda853b fix: compatibility with ES modules output (#1795)
706a160 chore(release): 5.5.1
988709d fix(perf): defer loading of pretty-error to improve startup time (#1789)
d5ce5a8 Update README.md
2e3ffbf Added strict-csp to the list of plugins
9c9786a chore: update workflow configuration

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9a52d9d) 75.35% compared to head (9ac6c41) 74.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
- Coverage   75.35%   74.74%   -0.62%
==========================================
  Files           8        8
  Lines        1964     1964
  Branches      205      204       -1
==========================================
- Hits         1480     1468      -12
- Misses        477      489      +12
  Partials        7        7

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New version: Apifox.Apifox version 2.2.19

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


SIGSEGV, Segmentation fault when builtin 'head' function receives too many arguments

SIGSEGV, Segmentation fault when 'head' function receives too many arguments. (#24)
zuzeelik [ version: v0.0.0-0.5.0 ]

Press Ctrl+C to Exit

zuzeelik> head [2 3 ] [3 4]

Abstract Syntax Tree:

>
  regex
  expression|symbol|string:1:1 'head'
  quote|>
    char:1:6 '['
    expression|number|regex:1:7 '2'
    expression|number|regex:1:9 '3'
    char:1:11 ']'
  quote|>
    char:1:13 '['
    expression|number|regex:1:14 '3'
    expression|number|regex:1:16 '4'
    char:1:17 ']'
  regex

Total number of nodes: 14

Received input: (head [2.000000 3.000000] [3.000000 4.000000])

Program received signal SIGSEGV, Segmentation fault.
0x080494e3 in builtin_head ()
(gdb) backtrace
#0  0x080494e3 in builtin_head ()
#1  0x08049c33 in builtin_lookup ()
#2  0x08049fd7 in zval_evaluate_sym_expression ()
#3  0x08049ffe in zval_evaluate ()
#4  0x0804a204 in main ()

Fix for this is already in progress. Testing remains.

commit ed7d9ba closes this issue.


Update email_activity_beta.md

Added Email Activity Beta Video

Hello @iritch42,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Build moveit from source in 22.04/23.04

https://github.com/ros-planning/moveit
Packages needs beyond what ros_from_src already has installed:
rosdep install --from-paths src --ignore-src -r -s
...
  sudo -H apt-get install libfcl-dev
  sudo -H apt-get install libogre-1.9-dev
  sudo -H apt-get install python3-pyassimp
  sudo -H apt-get install libomp-dev
  sudo -H apt-get install liburdfdom-tools

-> But don't do the libogre-1.9-dev install, 1.12 is fine and removing it will break already built rviz and others

catkin build -j1 moveit_core
...
CMake Error at /usr/lib/cmake/pybind11/pybind11NewTools.cmake:189 (python3_add_library):
  Unknown CMake command "python3_add_library".

That dependency was also the reason why the noetic package was(/is?) broken.


getPhoneNumber() undefined

is it possible to get phone number in Android?
dumping object, it doesn't have getPhoneNumber method
I/ReactNativeJS(31439): 'DEBUG', { getUniqueID: [Function: getUniqueID],
I/ReactNativeJS(31439):   getInstanceID: [Function: getInstanceID],
I/ReactNativeJS(31439):   getDeviceId: [Function: getDeviceId],
I/ReactNativeJS(31439):   getManufacturer: [Function: getManufacturer],
I/ReactNativeJS(31439):   getModel: [Function: getModel],
I/ReactNativeJS(31439):   getBrand: [Function: getBrand],
I/ReactNativeJS(31439):   getSystemName: [Function: getSystemName],
I/ReactNativeJS(31439):   getSystemVersion: [Function: getSystemVersion],
I/ReactNativeJS(31439):   getBundleId: [Function: getBundleId],
I/ReactNativeJS(31439):   getBuildNumber: [Function: getBuildNumber],
I/ReactNativeJS(31439):   getVersion: [Function: getVersion],
I/ReactNativeJS(31439):   getReadableVersion: [Function: getReadableVersion],
I/ReactNativeJS(31439):   getDeviceName: [Function: getDeviceName],
I/ReactNativeJS(31439):   getUserAgent: [Function: getUserAgent],
I/ReactNativeJS(31439):   getDeviceLocale: [Function: getDeviceLocale],
I/ReactNativeJS(31439):   getDeviceCountry: [Function: getDeviceCountry],
I/ReactNativeJS(31439):   getTimezone: [Function: getTimezone],
I/ReactNativeJS(31439):   isEmulator: [Function: isEmulator],
I/ReactNativeJS(31439):   isTablet: [Function: isTablet],
I/ReactNativeJS(31439):   isPinOrFingerprintSet: [Function: isPinOrFingerprintSet] }

or am I doing it wrong?
Thank you

What version are you currently using?

Of what? react-native or this module?
react-native-cli: 2.0.1
react-native: 0.48.3
react-native-device-info: 0.11.0

I have the same issue
 "react-native": "0.47.2",
 "react-native-device-info": "^0.11.0",

I'm also checked on real phone and error is still there

It looks like the latest npm release (0.11.0) does not ship with the method (I checked the node_modules folder). I installed from the master branch on github directly. You can try that out (I use yarn so yarn add yarn add https://github.com/rebeccahughes/react-native-device-info.git, should be almost the same with npm).

Awaiting 1 last feature and shipping

I am in latest version (0.12) and while debugging with my real device, I do not get my phone number (Android). Is this working?

I'm on 0.13.0 and my RN Android DeviceInfo.getPhoneNumber() returned "undefined" as well.   It looks to me it hasn't been implemented yet.  Is that correct?

It looks like there is no reliable way to get phone number in android based on https://stackoverflow.com/questions/35167273/how-to-get-phone-number-of-the-device-in-android-activity

This orignal issue was fixed in 0.12.0


StatusOr when there is no default constructor.

When T lacks a default constructor we need to use some (more or less
standard) tricks to implement the class. I modeled these changes after
optional, where the expectation is that move-assignments and
move-constructors minimize the number of temporaries.

This change is

PTAL.

PTAL.


No coloration on the live screen when running a command

When a command is running on the live screen, all coloration from panels is lost:

Possibly an issue with rich internally.

Patched with textual rewrite.


cannot deploy with latest buildstep

As you know, the latest buildstep runs everything as a non-root user. When attempting to deploy the test static app, we're seeing this.
-----> Cleaning up ...
-----> Building test-static-4596 ...
-----> Adding BUILD_ENV to build environment...
-----> Fetching custom buildpack
-----> nginx app detected
remote: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
remote: E: Unable to lock directory /var/lib/apt/lists/
remote: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
remote: E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
To dokku@dokku.me:test-static-4596
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@dokku.me:test-static-4596'

+1

@michaelshobbs I'm having exactly the same issue now.. Have you found any workarounds?

Found that build pack friendly with dokku. Works fine to me.

@alexbeletsky in dokku we ended up using this fork: https://github.com/yabawock/buildpack-nginx


Dragular and iFrame

I trying to drop dragular elements in a iFrame but no works. Do you know if is possible or maybe you have a example link?
Best regards

I must confess, I haven't try it on iframe environment :/ I will look at it soon.

Could you please provide me your scenario as live example (codepen, jsfiddle.. etc)? So I can test it on? It will help me to solve your issue sooner. Thanks


Memory to store models of closed browser sessions persisting.

When running h2oGPT through Docker (gcr.io/vorvan/h2oai/h2ogpt-runtime:0.1.0) without pre-selecting a base model in order to dynamically choose models in upon connecting to the instance through the browser session, memory allocated/used for any models loaded in that session remain allocated/used and inaccessible after the browser session is closed without unloading prior to closing.

This is the case regardless of running with or without GPUs.
uncertain whether this issue exists when using other methods to install and run h2oGPT

Are you referring to CPU or GPU memory?  Thanks!

Both.
i.e. if I run in GPU mode, the build up is in GPU memory. If I run in CPU only mode, the buildup is in the CPU/system memory.

Hi @ml-l Thanks for finding.  Some clean-up while back led to issue.  I pushed fix for case of loading new model or unloading model leading to memory still being consumed.
Does that solve your problem?  Sorry for the long delay in fix.

No worries regarding the delay.
I've tried using the latest docker image (tags 0.1.0-324 / latest) and seemingly the issue is still there.

I'm confident the continued GPU use is fixed.  I confirmed it was there and that I fixed it.
As for still using CPU, I also saw that was fixed.
If you give me a specific sequence of what you are doing I can take a look.

IT could very well be with how I've configured things or maybe where/how I'm checking might not align with where you've put in the fix(?)
My sequence of actions running in GPU mode are as follows:
1: removed my current gcr.io/vorvan/h2oai/h2ogpt-runtime:latest docker image to ensure that the latest one is downloaded.
2: run nvidia-smi -l 1 in a separate bash to monitor GPU usage (Idle usage output seen below)
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.23.08              Driver Version: 545.23.08    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA A100-PCIE-40GB          On  | 00000000:17:00.0 Off |                    0 |
| N/A   34C    P0              43W / 250W |      4MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA A100-PCIE-40GB          On  | 00000000:65:00.0 Off |                    0 |
| N/A   34C    P0              46W / 250W |      4MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

3:  ran the following 2 commands to run h2ogpt in GPU mode and to be able to choose models dynamically
export GRADIO_SERVER_PORT=7860
sudo docker run
    --gpus device=0 \
    --runtime=nvidia \
    --shm-size=2g \
    -p $GRADIO_SERVER_PORT:$GRADIO_SERVER_PORT \
    --rm --init \
    -v /etc/passwd:/etc/passwd:ro \
    -v /etc/group:/etc/group:ro \
    -u `id -u`:`id -g` \
    -v /mnt/alpha/.cache:/workspace/.cache \
    -v /mnt/alpha/h2ogpt_share/save:/workspace/save \
    -v /mnt/alpha/h2ogpt_share/user_path:/workspace/user_path \
    -v /mnt/alpha/h2ogpt_share/db_dir_UserData:/workspace/db_dir_UserData \
    -v /mnt/alpha/h2ogpt_share/users:/workspace/users \
    -v /mnt/alpha/h2ogpt_share/db_nonusers:/workspace/db_nonusers \
    -v /mnt/alpha/h2ogpt_share/llamacpp_path:/workspace/llamacpp_path \
    -v /mnt/alpha/h2ogpt_share/h2ogpt_auth:/workspace/h2ogpt_auth \
    -e USER=someone \
    gcr.io/vorvan/h2oai/h2ogpt-runtime:latest /workspace/generate.py \
       --use_safetensors=True \
       --save_dir='/workspace/save/' \
       --use_gpu_id=False \
       --user_path=/workspace/user_path \
       --langchain_mode="LLM" \
       --langchain_modes="['UserData', 'LLM']" \
       --score_model=None \
       --max_max_new_tokens=2048 \
       --max_new_tokens=1024

At this point, idle GPU0 usage is 2641MiB / 40960MiB  (GPU1 remained 4MiB / 40960MiB as intended from command).
4: Open an incognito/private browser (in my case Firefox but I don't think this should matter) to hosted h2oGPT instance.
5: Opened Models tab to enter the following parameters

Base Model = HuggingFaceH4/zephyr-7b-beta
LORA = None (default)
Enter Server = None (default)
Prompt Type = zephyr

6: Clicked Load (Download) Model. And now GPU0 usage is 17195MiB / 40960MiB.
7: Closed the browser that's connected to h2ogpt. GPU0 usage remains 17195MiB / 40960MiB.
8: Re-opened browser in incognito/private mode again to go to hosted h2ogpt again.  GPU0 usage remains 17195MiB / 40960MiB.
9: Repeated step 3.  GPU0 usage is now 31619MiB / 40960MiB
10: Clicking UnLoad Model brings GPU0 usage to 17195MiB / 40960MiB
11: Closing the browser session and checking again the GPU0 usage remains to be 17195MiB / 40960MiB
Only until I stop the docker container that's running h2oGPT that GPU0 memory usages goes back to 4MiB / 40960MiB.
And double checking the hash of the docker image I'm using, the output of
sudo docker inspect --format='{{index .RepoDigests 0}}' gcr.io/vorvan/h2oai/h2ogpt-runtime:latest

is the following:
gcr.io/vorvan/h2oai/h2ogpt-runtime@sha256:806b31aadbd0ca24f1e0e2822c9f38a6a51b1e0f45c56a290081f35c04997dc4

Ah yes, if you do the step:
Closed the browser that's connected to h2ogpt. GPU0 usage remains 17195MiB / 40960MiB.

The server loses who you are and the model is associated with that prior user.

I modified gradio to be able to do this now.


x/mint queries return panic

Bug description

Queries to inflation and annual provision in x/mint would return panic. Replacing the grpc package in go.mod is suggested in the SDK https://github.com/cosmos/cosmos-sdk/issues/8426#issuecomment-783280919

I can fix this rn


Kubernetes Hardening Guide added

What does this PR do?
Add resource
For resources
Description
Security guidelines for Kubernetes clusters
Why is this valuable (or not)?
Prepared by NSA and CISA, detailed, highly valuable security guide for cloud computing in Kubernetes clusters
How do we know it's really free?
Published by Defence Secretary
For book lists, is it a book? For course lists, is it a course? etc.
It's a book
Checklist:

[X] Read our contributing guidelines
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

interesting!


update all necessary files to align with current state

Releated to
https://github.com/tecracer/minio-cookbook/issues/1


Consider adding allocator support

One of the apparent benefits of a library like lexy over the current spirit libraries is that lexy supports allocators via the built-in types (e.g., for containers and for strings). Based on the current documentation, it appears the intention is not to support allocators in Boost.Parser. However, it seems that the current design could instead support custom allocators, for example via globals or perhaps parameters.

  I won't be doing this.  However, you can use your own containers with your own custom allocators, and parse into them.  For instance, parsing into a pmr::vector<pmr::vector<...>>.


Remove unused DISMMISSED_REASON const

cc @Julesssss  since you were already assigned to the Web-E counterpart PR.
Details
Clean up a const that's no longer used. It was part of the old "Switch to Expensify Classic" logic that now happens via the API command SwitchToOldDot.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/403614
Tests
Same as QA below

[x] Verify that no errors appear in the JS console

QA Steps

Sign up with a new account on a public domain (e.g. gmail.com) from OldDot
Make sure you're redirected to NewDot
In NewDot, go to Settings > Switch to Expensify Classic
Fill out the exit survey with any response you like
In a separate tab, open https://staging.expensify.com/
Make sure you do not get redirected to NewDot

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Super small PR, going to keep internal for review.

🚀 Deployed to production by https://github.com/mountiny in version: 1.4.83-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Check documentation links in CI

Running tox -e linkcheck picked up several broken documentation links in 0.1.0. It also picked up that detecting broken links isn't failing the tox command.
This ticket covers two items:

tox -e linkcheck should fail when there are broken links (redirects are OK)
Pre-merge CI for docs changes should check for broken links (and fail CI if any are found)

Covering this in the same PR as #43


Window manager decorations are overridden by Flutter desktop apps

I use a window manager with very specific window decorations (ratpoison) but applications built with Flutter don't function well with that setup: they get a title bar and buttons like minimize/maximize that make zero sense in that environment.
We should honor the window manager.

GTK uses a setting to determine the buttons to show. Perhaps there is some code that should be added somewhere to detect if you are running in ratpoison and set this appropriately?

The buttons are drawn by GTK, so there's no standard way to determine what functions the window manager supports. Old style X windows have the titlebar rendered by the WM so this allowed different WMs to decide what buttons to show.
In your case, the easiest thing might be to edit my_application.ccand remove the headerbar, i.e.
  GtkWindow* window =
      GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
  //GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
  //gtk_widget_show(GTK_WIDGET(header_bar));
  //gtk_header_bar_set_title(header_bar, "test2");
  //gtk_header_bar_set_show_close_button(header_bar, TRUE);
  //gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
  gtk_window_set_title(window, "test2");
  gtk_window_set_default_size(window, 1280, 720);
  gtk_widget_show(GTK_WIDGET(window));

Digging a bit further, the appropriate solution is that ratpoison should set the Gtk/DecorationLayout XSETTING to "close" - this would ensure all GTK applications show the correct buttons when running inside that window manager. I had a quick look at the ratpoison source code and it doesn't appear to be using XSETTINGS currently.

And if it's just annoying you, then you can edit /home/bob/.config/gtk-3.0/settings.ini and set the following to do this for your machine:
[Settings]
gtk-decoration-layout=close

This seems like a bug in GTK then? Why would a WM need to know about GTK to get GTK applications to act correctly?

(To be clear, I don't want any decorations to be drawn by the app. That's what the window manager is for.)

Window management has somewhat changed over the years. If you have a Wayland compositor you might have no server side decorations at all.
For this to work automatically WM needs to express the way it manages windows so the toolkit can adjust client side decorations as necessary. There's a bug in GTK about removing the shadows in that case. Headerbars are a bit more complex as they could contain controls essential to the application.
The only method I know of currently is to check the value of $XDG_CURRENT_DESKTOP in your app and decide if a headerbar should be used in that case.

By default, we should work with ratpoison and other window managers that might not know about GTK. Currently we don't.

I think I've found a reasonable compromise in https://github.com/flutter/flutter/pull/68452 that will allow the majority of users (i.e. Ubuntu users) have modern and consistent decorations and other users to have traditional behaviour.


addCollection returns existing collection

addCollection returns existing collection if an existing collection exists with the same name. Original options are not overwritten.

Seems some nested dependency on hawk package (probably via karma/phantomjs but similar to this) broke old versions of node... and a few bugged unit tests which your p.r. helped shine a light on broke the 4.0 travis build.
Rather than chase down our caret dep and switch to tilde deps and verify with a travis vm running old version of node, I have updated the travis config to target 4, 6, and 8 versions of node instead of 0.10, 0.12, and 4.0.  I am sure loki will run fine and integrate into older node dependency chains but our versioning with current toolchain should hopefully continue to support node 4.0 indefinitely.
@techfort or @viatorus let me know if you have ideas for other solutions.


[Map.add_exn] got key already present

I do not know how to reproduce this. It just happened after a couple of minutes of uptime.
2020-01-25 23:01:29 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
      exn: "(monitor.ml.Error\n  (\"write to closed pipe\"\n    (pipe\n      ((id 182) (buffer ()) (size_budget 0) (pushback (Full ()))\n        (num_values_read 0) (blocked_flushes ()) (blocked_reads ())\n        (closed (Full ())) (read_closed Empty) (consumers ())\n        (upstream_flusheds ()))))\n  (\"Raised at file \\\"src/error.ml\\\" (inlined), line 9, characters 14-30\"\n    \"Called from file \\\"src/error.ml\\\", line 11, characters 19-40\"\n    \"Called from file \\\"src/pipe.ml\\\", line 510, characters 2-15\"\n    \"Called from file \\\"src/deferred1.ml\\\", line 17, characters 40-45\"\n    \"Called from file \\\"src/job_queue.ml\\\" (inlined), line 131, characters 2-5\"\n    \"Called from file \\\"src/job_queue.ml\\\", line 171, characters 6-47\"\n    \"Caught by monitor coda\"))"
Uncaught exception:
coda_1  |
  ("[Map.add_exn] got key already present" (key cache))
coda_1  |
Raised at file "src/error.ml" (inlined), line 9, characters 14-30
Called from file "src/error.ml", line 11, characters 19-40
Called from file "src/map.ml", line 226, characters 10-90
Called from file "src/map.ml" (inlined), line 237, characters 4-90
Called from file "src/map.ml", line 1249, characters 11-140
Called from file "list.ml", line 117, characters 24-34
Called from file "src/lib/logger/impl.ml", line 313, characters 14-49
Called from file "src/lib/logger/impl.ml", line 323, characters 13-72
Called from file "src/exn.ml", line 107, characters 6-10

Closing this issue as it is stale for a long time.


Named logo should override logoSvg in [endpoint]; also test [static dynamic]

Fix #2998

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against<PHONE_NUMBER>adee6140b3e25699bbfbafd66bab39

At first glance it looks like those DynamicXML service tests are failing due to the same API deprecation outlined in https://github.com/badges/shields/issues/3079

I opened #3089; gonna disable these for now.