is vector masking actually DIEL?

Zvkt spec says:

However, DIEL does not apply to other values such as vl, vtype, and the mask (as specified by vm).

Does it mean the content of the mask input (held in v0) is exempt from DIEL or is it just the case
of instruction with vm=1 encoding having different timming then the vm=0 one?
The instruction list suggests it's the latter option. But in this case Zvkt can have an performance impact in certain non crypto cases (mu vs ma impact depends on uarch)

I think the former "as specified by vm" is intented to mean that v0 when used as the mask is exempt from DIEL but not when used as a data otherwise covered by DIEL.
Which means that for a masked operation, the actual operation latency may depend on how many bits are set in the mask.
IIRC v0 cannot be used as both a mask source and an operand source as it would contradict the requirement that a register operand must be used with a single EEW.

I would argue otherwise. If the source of the mask were a fixed, constant
value, I might agree.
But if the mask is created as a result of a compare between vector
elements, and is then used as an operand for a DIEL covered vector op, it's
basically transitively one of the DIEL function operands, so should also
be DIEL - it shouldn't matter how many bits are set,  the calculation
should be data value independent.
On Tue, Jun 27, 2023 at 1:45 PM Nicolas Brunie @.***>
wrote:

I think the former "as specified by vm" is intented to mean that v0 when
used as the mask is exempt from DIEL but not when used as a data otherwise
covered by DIEL.
Which means that for a masked operation, the actual operation latency may
depend on how many bits are set in the mask.
IIRC v0 cannot be used as both a mask source and an operand source as it
would contradict the requirement that a register operand must be used with
a single EEW.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-crypto/issues/333#issuecomment-1610186261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJRE7XAI4QAD6TVAUR3XNNA5FANCNFSM6AAAAAAZWANA5M
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I think (I might be wrong) than during the task group discussion it was considered that there were no case in the target cryptographic primitives where the mask could be something else than a fixed constant value thus it was not necessary to mandate that it was submitted to the DIEL constant. IIRC we explicitly excluded mask value from the "data value" to allow more implementation freedom.

I vaguely remember that now - it's been too long. That said - we should be
explicit about that, even if its non-normative text
On Tue, Jun 27, 2023 at 2:54 PM Nicolas Brunie @.***>
wrote:

I think (I might be wrong) than during the task group discussion it was
considered that there were no case in the target cryptographic primitives
where the mask could be something else than a fixed constant value thus it
was not necessary to mandate that it was submitted to the DIEL constant.
IIRC we explicitly excluded mask value from the "data value" to allow more
implementation freedom.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-crypto/issues/333#issuecomment-1610269969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJRH2R2RHVYFMAXW5TTXNNJA7ANCNFSM6AAAAAAZWANA5M
.
You are receiving this because you commented.Message ID:
@.***>

For masked instructions (indicated by the suffix vm), latencies can vary due to the effect of the mask itself. Put another way, when controlling what is active, the mask is not considered a data value for purposes of DIEL. For a given mask, latencies cannot vary for different data values, whether they are in active or inactive elements.
We added the parenthetical "as specified by vm" to clarify that this doesn't apply to masks that are used as source or destination data (e.g., vmand.vm).

so, the only "safe" way to consume result of compare&set instructions are

other mask-ALU instructions
store to memory
vadc/vsbc (considered as data operand?) then classic SSE2 like masking
cast mask to data by DIEL insn (I think it should be excluded)

My typo above (subsequently corrected) may have caused confusion. The example I intended to give above of a "mask" consuming and producing instruction is vmand.mm. This instruction only has an .mm suffix.
Instructions with a .vm suffix are those that are controlled by a mask input. The latency of a .vm instruction can vary according to the mask input.
There is no special property applied to data (or the register holding the data) that is --- or is intended to be --- used as a mask. Thus, instructions like vmadd.mm are still subject to DIEL.


Bio-metric data

Is it possible to get bio metric data from the signature?
spatial coordinate x(t)
spatial coordinate y(t)
pressure p(t)
azimuth az(t)
inclination in(t)
pen up/down

I am sorry but there are currently no plans in storing all these details related to the way the signature is drawn. Feel free to open a pull request if you want to actively contribute.


Use a System wide property to enable PRS

This is to clean up the JUnit tests. We want all tests to use PRS randomly

I believe this has caused NullPointerExceptions in OverseerStatusTest -- createcollection is null.  Quite a number of test failures for this since this was merged.

BTW it's nice to see PRS used/tested more :-)

http://fucit.org/solr-jenkins-reports/failure-report.html 8% is considerable.  Not sure if the other failures are related.  Is this a tough one to figure out @noblepaul ?

TestLocalFSCloudBackupRestore failures seems plausibly related as its failures begin at the same time:
https://ge.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=solr-root&search.timeZoneId=America%2FNew_York&tests.container=*TestLocalFSCloudBackupRestore Maybe only 2-3% fail

And LocalFSCloudIncrementalBackupTest
https://ge.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=solr-root&search.timeZoneId=America%2FNew_York&tests.container=org.apache.solr.cloud.api.collections.LocalFSCloudIncrementalBackupTest
Gradle Enterprise does a nice job of visualizing recent failure trends.

@noblepaul OverseerStatusTest still fails occasionally :-(  A number of people have bumped into it and maybe wasted some time trying to figure out what happened.    Any chance you're able to investigate further @noblepaul ?

Neither this PR nor the commit mention a jira so I'll drop this here: https://issues.apache.org/jira/browse/SOLR-17265

Why isn't any of this PRS testing logic backported to 9x @noblepaul ?

The approach seen here is perfect -- bake something risky in main then bring to branch_9x.

Fair enough. We will let it bake then backport both.

@noblepaul this doesn't actually make the collection PRS, instead it just creates the collection in a PRS-way. I will make a PR that shows the tests that break when PRS collections are actually created. https://github.com/apache/solr/pull/2824


Added loader from HF spaces

Added a possibility to load data from Huggingface spaces as per #857

Well done. Can you make sure it works like other loaders with loader_limit? If its too complicated we can discuss leaving it aside for now

I made the loader inherit from LoadHF since the only difference is that it needs to download the data first, and then it operates on HF dataset as well


test: C trigraph

add a test file that checks that C trigraphs in string literals are not
miscompiled.

is there a way to set this test up to also ensure you don't get the warning from #2829?

Yeah, that would be good. This use case (check stderr/out of leanc) doesn't seem to be supported by the test suite at the moment, or I didn’t see it.
A simple hammer would be to make tests in lean/compiler fail whenever they have output, but that would break existing files:
1549: Test command: /nix/store/m6xrxfbgvm8791x09f7ims712hwy3aqh-bash-interactive-5.2-p15/bin/bash "-c" "PATH=/home/jojo/build/lean/lean4/build/release/stage1/bin:$PATH LEAN_CC=/nix/store/xkj1aa2f8gmqs1q3vqxcnl89n1iqwakv-clang-wrapper-15.0.7/bin/clang CXX='/nix/store/xkj1aa2f8gmqs1q3vqxcnl89n1iqwakv-clang-wrapper-15.0.7/bin/clang++  -O3 -DNDEBUG' LEANC_OPTS=' -O3 -DNDEBUG' ./test_single.sh append.lean"
1549: Working Directory: /home/jojo/build/lean/lean4/src/../tests/compiler
1549: Test timeout computed to be: 1500
1549: running C program...
1549: append.lean:3:10: warning: unused variable `xs` [linter.unusedVariables]
 4/53 Test #1549: leancomptest_append.lean .....................   Passed    0.33 sec
test 1550
      Start 1550: leancomptest_array.lean

The next level of sophistication is to have .expect.out files for both lean and leanc in tests/compiler tests. That would require a lot of empty files.
The next next level of sophistication is to treat a missing .expect.out as an empty file. That’s what I did when setting up the Motoko compiler test suite, and found it quite convenient and effective.

The next next level of sophistication is to treat a missing .expect.out as an empty file. That’s what I did when setting up the Motoko compiler test suite, and found it quite convenient and effective. Woulds also require changes to diff_produced.

I was going to suggest treating a missing .expect.out as a run test, i.e. you just ignore the output unless you are told to compare it to something.

Also a viable option. I like “assert output is empty” is a good implicit default (also because it means that many tests only need the .lean file and nothings else) and “ignore output” something that should be explicit. In general, test suite organization is very prone to developer bikeshedding :-)

If all existing tests have no output, then that's fine, but my guess is that the status quo is that the output is ignored so checking / asserting all the tests will mean lots of new files.

Not checking the warning seems good enough for now


Add a custom resource JivaVolume for managing jiva related resources

Description

We are finding the need of custom resource JivaVolume for managing jiva resources for various CRUD operations.Here is the schema of JivaVolume:
kind: JivaVolume
metadata:
  namespace: # openebs system namespace
  name: pv-name # can be pv name or anything
  annotations:
  labels:
    openebs.io/match-name: # can be pv name if metadata.name != pv name
spec:
  capacity:
  casType:
  fsType:
  lun:
iscsi:
  iqn:
  targetPortal:
config: # common config applicable to service, target & replica
  envs:
  labels:
    openebs.io/match-name: # can be pv name if metadata.name != pv name
  annotations:
service:
  config: # service specific config; can override common config
  name: pv-name # can be pv name or anything
  generateName: pv-name # can be pv name or anything
target:
  config: # target specific config; can override common config
  name: pv-name # can be pv name or anything;
  generateName: pv-name # can be pv name or anything;
replica:
  config: # replica specific config; can override common config
  name: pv-name # can be pv name or anything;
  generateName: pv-name # can be pv name or anything
status:

Context

Having a CR for jiva will be helpful for various GET, PUT, POST, DELETE, PATCH operations on jiva resources.
Ref: https://github.com/AmitKumarDas/Decisions/blob/master/blogs/jiva_volume_as_custom_resource.md
cc: @AmitKumarDas

This is WIP openebs/jiva-operator#1


HeaderNotFound during sync

I can only see two options for how this happened, either one is a bug, and I can't see how either might be possible, yet:

Header sync returned a header with a gap: the parent was not yet in the DB
Header sync returned an old header that was already sent (which is valid), but the OrderedTaskPreparation object had already pruned it's parent before its parent had been written to the DB. (that part shouldn't happen)

Note that #347 now has a failsafe restart in case the bug reappears so trinity shouldn't crash, but it's still a bug that needs to be hunted down.

This is from 7b9e956fedf936c63ed1413ebec7face6962fe5c a recent version of #347.
HeaderNotFound: https://gist.github.com/cburgdorf/3d74f0b9a1c56ee8c9bda108ac7fcf51
Originally posted by @cburgdorf in https://github.com/ethereum/trinity/pull/347#issuecomment-468957767

Ok, reproduced this one. Perhaps surprisingly it's maybe not either of options 1 or 2: There seems to be no gap and it's not an old header. This failed on header #4007799 but #4007798 was received (presumably right before). Continuing to add logging to figure out WTF is going on.

Got it: the missing dependency check was assuming that headers were coming in order. It's possible to get a skip back to a really old header in the middle right now. Some options:

Return which headers have missing dependencies in the exception
Require that all headers sent in a batch by the header syncer be consecutive. Any non-consecutive headers would start a new batch

2 seems easier to implement and reason about. 1 is tricky to do right, because you can't gather all the missing dependencies up front, and you could have several in the same batch. So 2 sounds like the way to go, unless a 3rd option pops up.


Smoke Test Legacy - December Updates

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


Adding price for CULT token in monoswap

@mateodaza  We recently have added CULT to our eligible givback tokens, so we need to have price for this token can you check monoswap and see if we support CULT or not?
https://github.com/Giveth/giveth-dapps-v2/issues/1957#issuecomment-1361406987
JFYI @MoeNick

@mateodaza can you please take a look?

@mohammadranjbarz sorry for the delay. please upgrade to version 0.3.16 of the monoswap library and we'll have support to CULT

@mohammadranjbarz sorry for the delay. please upgrade to version 0.3.16 of the monoswap library and we'll have support to CULT

Mucho gracias @mateodaza

Can you help us to test the issue? is it merged on production?


cannon find gallery.yaml file mentioned under deploy your own gallery instructions

Under the "Deploying your own gallery" section in the README Step 2 is:
Edit the tljh-voila-gallery/tljh_voila_gallery/gallery.yaml file with your own set of examples
However, I cannot find this gallery.yaml file in the repo. Where can I find this file?

I found it here on this repo
https://github.com/voila-gallery/gallery/blob/faede6bfc64b501a39f7b70dcde3c3629876eea1/tljh-voila-gallery/tljh_voila_gallery/gallery.yaml
and found it under my fork of the repo
https://github.com/ismms-himc/gallery/blob/master/tljh-voila-gallery/tljh_voila_gallery/gallery.yaml


feat: trigger remote packaging workflow

Adds support to Dev & Release builds to trigger package builds in https://github.com/SumoLogic/sumologic-otel-collector-packaging.

I can't seem to get Git to detect it as a rename which appears to be due to the size of the diff. I've separated the rename into a separate commit and the diff can be seen by viewing the changes for the first commit. Alternatively, I can open a separate PR to handle the rename.

I can see if I can find a way to have it wait on the remote workflow. I should be able to present a URL in the job output for the trigger.

@swiatekm-sumo we can't wait on the workflow because of a chicken and egg problem. The binary artifacts produced by the workflow in this repository aren't available until the workflow has completed. I've pushed a change to output a link to the remote workflow.


[v3 + XRI] Port PressableButton to XRI

This issue tracks the porting of PressableButton to XRI. (Assigning you too, @keveleigh, based on your ideas + input for state + visuals isolation)

[x] Map 2.x events to interactor/XRI events
[x] Near interaction feature complete
[ ] Fix multi-pointer hover issue with XRI isHovered
[ ] Far interaction/ray support
[ ] Visual feedback (states, themes, prox lights, etc)

Done


Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.ts

import type { AppProps } from 'next/app'
import { MoralisProvider } from "react-moralis"
import { NotificationProvider } from "web3uikit"
import "../styles/globals.css"

function MyApp({ Component, pageProps }: AppProps) {
    return (
        <MoralisProvider initializeOnMount={false}>
                <NotificationProvider> // Error line
                  <Component {...pageProps} />
                </NotificationProvider>
        </MoralisProvider>
    )
}

export default MyApp

Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.ts(2559)

I'm using NotificationProvider in my react / nextjs application, and I keep running into this issue. Not sure how to fix.
Relevant package versions:
  "dependencies": {
    "autoprefixer": "^10.4.4",
    "ethers": "^5.6.2",
    "moralis": "^1.5.9",
    "next": "12.1.5",
    "postcss": "^8.4.12",
    "prettier": "^2.6.2",
    "react": "18.0.0",
    "react-dom": "18.0.0",
    "react-moralis": "^1.3.5",
    "tailwindcss": "^3.0.24",
    "web3uikit": "^0.1.120",
    "@types/node": "17.0.23",
    "@types/react": "18.0.3",
    "@types/react-dom": "18.0.0",
    "eslint": "8.13.0",
    "eslint-config-next": "12.1.5",
    "typescript": "4.6.3"
  }

Hey @PatrickAlphaC React 18 removed the default children type from Functional Components. See this.
We are currently refactoring every component.
You can either downgrade react or modify the web3ui component locally from React.FC to React.VFC

O wow, thanks for the heads up!


ZipFile reader returns less bytes than file contains.

Hi, I'm using this crate to parse zip files containing binary logs.  Using 0.5.0, parsing the files using a reader from ZipFile returns the file contents up until about 1/4 of the way through the file when it returns a truncated read.   I verified my code works correctly on a non-zipped file.   I also tried using v0.4.2 and it failed even sooner on the same input.   Enclosed is a sample zip file.
Archive.zip
Let me know how I can help narrow this down.

Follow-up info:
OS: OSX 10.14.2
rustc 1.31.0 (abe02cefd 2018-12-04)

Verified same behaviour running Linux.

Here's a sample project that demonstrates the issue.
ziptest.zip

For the previous code, it's possible I'm misunderstanding how the reader should work.   I stop reading when the reader returns fewer bytes read than I asked for.   :-)    When I change the buffer size to a single byte, it appears to read all the way through.

You probably wanted to use the function read_exact. This method retries reading until the entire buffer is filled.

Of course!    Thanks for setting me straight!


Notion doesn't launch - "Error: ENOENT: no such file or directory, open '/opt/notion-app/app/dev-app-update.yml'"

issue
When trying to launch the notion-app binary on Manjaro, faced with the following error:
22:36:49.596 › Checking for update
22:36:49.926 › Error: Error: ENOENT: no such file or directory, open '/opt/notion-app/app/dev-app-update.yml'
22:36:49.927 › {
  level: 'error',
  from: 'autoUpdater',
  type: 'unknownAutoUpdaterError',
  error: [Error: ENOENT: no such file or directory, open '/opt/notion-app/app/dev-app-update.yml'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/opt/notion-app/app/dev-app-update.yml'
  }
}
22:36:49.943 › {
  level: 'info',
  from: 'assetCache',
  type: 'loadJson',
  data: { time: 152 }
}
/usr/lib/elec[10149]: ../../third_party/electron_node/src/node_platform.cc:444:std::shared_ptr<PerIsolatePlatformData> node::NodePlatform::ForIsolate(v8::Isolate *): Assertion `data' failed.
Failed to get crash dump id.
Report Id:
/usr/bin/notion-app: line 11: 10149 Aborted                 (core dumped) electron6 app $@

expected behaviour
Program should be launching
platform
Manjaro Linux, using the AUR notion-app package
Also, the program WAS working, this issue seems to have started occuring out of the blue - nothing was changed as far as I know

hi, this isn't a problem with the enhancer, this is a bug with notion-app

My bad, it just coincided with me installing the enhancer


how to change user-agent in code?

i've installed @ulixee/real-user-agents、@ulixee/chrome-104-0、@ulixee/chrome-105-0 and @ulixee/chrome-105-0,but i don't know how to use it.Can show me how to use it in code? i don't see any code in document! PLZ!

Did you come across this page? https://ulixee.org/docs/hero/advanced-client/user-agents

Did you come across this page? https://ulixee.org/docs/hero/advanced-client/user-agents

yes,i've read it many times,but i still don't know how to change user-agent in every new Hero instance.there is no code to show me how to use the library above.

new Hero({
userAgent: '~ chrome >= 105 && windows >= 10'
});

That example is with a specific os. You can remove it if you want it to round robin. Is it not working?

That example is with a specific os. You can remove it if you want it to round robin. Is it not working?

I'm sorry that I didn't use this code again after installation, but it seems that the UA can be replaced now. But eventually I want to change the browser fingerprint. Is there any way?

That code will round robin between operating systems/versions and build versions of the chosen user agent. If you want to randomize the agent too, you can choose a range for your chrome versions

Just checking in. Did that answer your question?

yes!thanks


Add Finnish converter

Adding to https://github.com/fiboa/data/issues/16

Thanks, updated to latest CLI changes and added tests.


symbol not found on local server after pulling new master

[19/Aug/2015 12:30:26] ERROR [django.request:base:231]Internal Server Error: /ca/unittest/IMAGE1,IMAGE2/npz/0/3072,3584/4096,4608/200,201/
Traceback (most recent call last):
  File "/Users/abaden/.virtualenvs/ocp/lib/python2.7/site-packages/django/core/handlers/base.py", line 98, in get_response
    resolver_match = resolver.resolve(request.path_info)
  File "/Users/abaden/.virtualenvs/ocp/lib/python2.7/site-packages/django/core/urlresolvers.py", line 343, in resolve
    for pattern in self.url_patterns:
  File "/Users/abaden/.virtualenvs/ocp/lib/python2.7/site-packages/django/core/urlresolvers.py", line 372, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/Users/abaden/.virtualenvs/ocp/lib/python2.7/site-packages/django/core/urlresolvers.py", line 366, in urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/abaden/Projects/open-connectome/django/OCP/urls.py", line 29, in <module>
    url(r'^ocpuser/', include('ocpuser.urls')),
  File "/Users/abaden/.virtualenvs/ocp/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 28, in include
    urlconf_module = import_module(urlconf_module)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/abaden/Projects/open-connectome/django/ocpuser/urls.py", line 16, in <module>
    from ocpuser.views import *
  File "/Users/abaden/Projects/open-connectome/django/ocpuser/views.py", line 41, in <module>
    import ocpcarest
  File "/Users/abaden/Projects/open-connectome/ocpca/ocpcarest.py", line 33, in <module>
    import anncube
  File "/Users/abaden/Projects/open-connectome/ocpca/anncube.py", line 21, in <module>
    import ocplib
  File "/Users/abaden/Projects/open-connectome/ocpca/ocplib.py", line 72, in <module>
    ocplib.unique.argtypes = [ array_1d_uint32, array_1d_uint32, cp.c_int ]
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x7fea5beb58f0, unique): symbol not found
^C[19/Aug/2015 12:30:26] "GET /ca/unittest/IMAGE1,IMAGE2/npz/0/3072,3584/4096,4608/200,201/ HTTP/1.1" 500 164757

what is going wrong? I need to try and fix this ASAP so I can work on ocpviz at Allen today.

this is no bug. Just copy the new makefile which was pushed. that will resolve this.

I used both new makefiles and ran make clean then make.
On Wed, Aug 19, 2015 at 17:28 Kunal Lillaney<EMAIL_ADDRESS>wrote:

Closed #98 https://github.com/openconnectome/open-connectome/issues/98.
—
Reply to this email directly or view it on GitHub
https://github.com/openconnectome/open-connectome/issues/98#event-387165638
.

Yes. You need to copy makefile_LINUX to makefile. Did you do that?


Update okhttp to 4.10.0

Updating okhttp due to Snyk report: https://app.snyk.io/vuln/SNYK-JAVA-COMSQUAREUPOKHTTP3-2958044

Jenkins pipeline ran successfully.


Password Protected Posts / Pages

This functionality doesn't seem to be working. I believe it's tied into the loop in WordPress and because Timber avoids the loop it doesn't adhere to the normal password flow.
I'm not exactly sure how WordPress implements this functionality in the loop but I do see that when password is set on a post it is sent through post.post_password. This is only one part of the solution though as a form is usually shown and a password is asked for before the content is visible.

What's the status on this issue? Is there any plan to enable the default Wordpress password protected form?

Hey,
We will most likely be looking at this post 1.0, which will land in the next couple of weeks.

@connorjburton Any news on this?

@connorjburton +1

@connorjburton +1. Would appreciate this feature or temporary solution. Thanks

Hey @hrsetyono @felipearosemena @jeremyzahner @Jaace — check-out #1170

Closed by #1170 — release on Tuesday!


How do you add a recipe to a grocery list?

It looks like you can do this based on another issue question, but I can't figure out how.
Is this possible?

Never mind. I just found it. There's a button under the ingredients. I think you have to have created a grocery list first, but once you have, you can add a whole recipe to that list.

Also going to note for others: you have to check the ingredients you want to add to the list from the recipe you are on, either by individual checking them, or clicking the "Check all" button.


Could not prepare index star for hg38-noalt by any method

I have a problem when trying to install the STAR aligner with hg38-noalt.
Log ends with Could not prepare index star for hg38-noalt by any method.
ubuntu@ip-172-31-22-80:/mnt/f/2017-07-19/bcbio-2017-07-19$ tool/bin/bcbio_nextgen.py upgrade --aligners star
Upgrading bcbio
Upgrading bcbio-nextgen data files
Setting up virtual machine
INFO: <cloudbio.flavor.Flavor instance at 0x7feee804cd88>
INFO: This is a ngs_pipeline_minimal flavor
INFO: Reading default fabricrc.txt
DBG [config.py]: Using config file /mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/../config/fabricrc.txt
INFO: Distribution __auto__
INFO: Get local environment
[localhost] local: cat /etc/*release | grep DISTRIB_CODENAME | cut -f 2 -d =
INFO: Ubuntu setup
DBG [distribution.py]: Debian-shared setup
DBG [distribution.py]: Source=xenial
DBG [distribution.py]: NixPkgs: Ignored
[localhost] local: echo $HOME
[localhost] local: uname -m
INFO: Now, testing connection to host...
INFO: Connection to host appears to work!
DBG [utils.py]: Expand paths
INFO: List of genomes to get (from the config file at '{'install_liftover': False, 'genome_indexes': ['star', 'bwa', 'bowtie2', 'rtg'], 'genomes': [{'name': 'Human (GRCh37)', 'validation': ['giab-NA12878', 'giab-NA24385', 'giab-NA24631', 'dream-syn3', 'dream-syn4'], 'annotations': ['GA4GH_problem_regions', 'capture_regions', 'MIG', 'prioritize', 'dbsnp', 'hapmap', '1000g_omni_snps', 'ACMG56_genes', '1000g_snps', 'mills_indels', 'clinvar', 'cosmic', 'ancestral', 'qsignature', 'genesplicer', 'effects_transcripts', 'vcfanno', 'viral', 'transcripts', 'RADAR', 'mirbase'], 'dbkey': 'GRCh37', 'indexes': ['seq']}, {'annotations': ['coverage', 'dbsnp', 'hapmap_snps', '1000g_omni_snps', '1000g_snps', 'mills_indels', '1000g_indels', 'clinvar', 'transcripts'], 'name': 'Human (hg38) without alternative alleles', 'dbkey': 'hg38-noalt'}], 'install_uniref': False}'): Human (GRCh37), Human (hg38) without alternative alleles
INFO: Genome preparation method ggd failed, trying next
INFO: Downloading genome from s3: hg38-noalt star
[localhost] local: pwd
[localhost] local: echo $HOME
[localhost] local: mkdir -p '/home/ubuntu/tmp/cloudbiolinux/7ffee5ab-c534-3ba2-9ec6-c15a8fb9a53c'
[localhost] local: wget --continue --no-check-certificate -O hg38-noalt-star.tar.xz 'https://s3.amazonaws.com/biodata/genomes/hg38-noalt-star.tar.xz'
--2017-07-25 10:07:12--  https://s3.amazonaws.com/biodata/genomes/hg38-noalt-star.tar.xz
Resolving s3.amazonaws.com (s3.amazonaws.com)... <IP_ADDRESS>
Connecting to s3.amazonaws.com (s3.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-07-25 10:07:12 ERROR 404: Not Found.

Warning: local() encountered an error (return code 8) while executing 'wget --continue --no-check-certificate -O hg38-noalt-star.tar.xz 'https://s3.amazonaws.com/biodata/genomes/hg38-noalt-star.tar.xz''

INFO: Genome preparation method s3 failed, trying next
INFO: Preparing genome hg38-noalt with index star
[localhost] local: mkdir /mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/genomes/Hsapiens/hg38-noalt/star
[localhost] local: export PATH=/mnt/f/2017-07-19/bcbio-2017-07-19/tool/bin:$PATH && STAR --genomeDir /mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/genomes/Hsapiens/hg38-noalt/star --genomeFastaFiles /mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/genomes/Hsapiens/hg38-noalt/seq/hg38-noalt.fa --runThreadN 1 --limitGenomeGenerateRAM<PHONE_NUMBER>0 --genomeChrBinNbits 14 --runMode genomeGenerate --genomeSAindexNbases 14
Jul 25 10:07:45 ..... started STAR run
Jul 25 10:07:45 ... starting to generate Genome files
Jul 25 10:08:56 ... starting to sort Suffix Array. This may take a long time...
Jul 25 10:09:13 ... sorting Suffix Array chunks and saving them to disk...
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Fatal error: local() encountered an error (return code 134) while executing 'export PATH=/mnt/f/2017-07-19/bcbio-2017-07-19/tool/bin:$PATH && STAR --genomeDir /mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/genomes/Hsapiens/hg38-noalt/star --genomeFastaFiles /mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/genomes/Hsapiens/hg38-noalt/seq/hg38-noalt.fa --runThreadN 1 --limitGenomeGenerateRAM<PHONE_NUMBER>0 --genomeChrBinNbits 14 --runMode genomeGenerate --genomeSAindexNbases 14'

Aborting.
INFO: Genome preparation method raw failed, trying next
Traceback (most recent call last):
  File "tool/bin/bcbio_nextgen.py", line 215, in <module>
    install.upgrade_bcbio(kwargs["args"])
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 96, in upgrade_bcbio
    upgrade_bcbio_data(args, REMOTES)
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 293, in upgrade_bcbio_data
    cbl_deploy.deploy(s)
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 65, in deploy
    _setup_vm(options, vm_launcher, actions)
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 110, in _setup_vm
    configure_instance(options, actions)
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 268, in configure_instance
    setup_biodata(options)
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 250, in setup_biodata
    install_proc(options["genomes"], ["ggd", "s3", "raw"])
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 338, in install_data
    _prep_genomes(env, genomes, genome_indexes, ready_approaches)
  File "/mnt/f/2017-07-19/bcbio-2017-07-19/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 479, in _prep_genomes
    raise IOError("Could not prepare index {0} for {1} by any method".format(idx, gid))
IOError: Could not prepare index star for hg38-noalt by any method

Following advice on, I re-ran with --cores 4 (4 core AWS instance):
tool/bin/bcbio_nextgen.py upgrade --aligners star --cores 4
That appeared to work, but was far too quick to convince me. What is a good test to test using the STAR aligner?

Hi David,
I think you'll need to delete /mnt/f/2017-07-19/bcbio-2017-07-19/bcbio/genomes/Hsapiens/hg38-noalt/star and rerun the
tool/bin/bcbio_nextgen.py upgrade --aligners star --cores 4

command. I think that should fail as well, though. The original error is due to STAR not having enough memory; it needs somewhere around 40 GB to make the index. Is there that much available on the machine you are on?

ah, cool. thanks.
I will delete that, and re-run it.
I have less than 40 GB at the moment; I will buy a bigger instance...
Is this just a well known fact about STAR? Is there a handy table somewhere of how much RAM/CPU you will roughly need? Can we make one?

Hi David,
Yeah, it's just a well known fact about STAR-- the genome generation takes a huge amount of RAM, and results in a file that is pretty big so we can't really distribute it.

Thanks! Feel free to reopen if that doesn't fix it, I'm pretty sure it should be all set though.


Update verifier for recent changes to MMB format

This updates second_opinion to reflect changes to the MMB format in digama0/mm0@18b1940. I recompiled the mmb files in the test directory as well, but they didn't change, presumably because nothing in those files is complicated enough to use the affected commands ConvRef and Unfold.
This PR builds on #1, which is needed to verify mmb files produced by recent versions of mm0-rs.

Thanks for getting me up to speed (and for finding a bug). I'm still sitting on a local fork of second_opinion that uses the official mmb parser; when summer starts I'll take some time to clean it up and merge it into master and move the current setup into a different branch.
I'll merge these into the mmb debugger as well.


Have ability for urls to get sidekick config information

At times it would be useful for the url / palette to get additional information like ref/repo/owner/host/projectname.

Implemented by #168


pretrained model weights

hello，may I ask where stable-diffusion-v1-5:flax: Flax can obtain these model weight files？

That just refers to the "flax" branch of the official Stable Diffusion v1-5 repo: https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/flax
The code should handle the string "stable-diffusion-v1-5:flax" automatically if you pass it in!


Update RestGroupFactory.php

Adjustment for POST request

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
✔

Fixed issues

I think we need to care about the OPTION method too, but it could be applied for both patterns /user/ and /user/{id}. Or just remove it from here, because it's a rarely case when a programmer implements it by himself. Wouldn't you like to fix that behaviour too? But in a separated PR please :)

sure, PR follows


VS Code Extension Host crashes when using this extension and other serial monitoring extension

Type: Bug Report
Describe the bug

OS and Version: MacOS 12.4
VS Code Version: 1.68.1
Serial Monitor Extension Version: v0.1.0
Target embedded device: None
Other extensions you installed (and if the issue persists after disabling them): Extension in development and issue stops without it
A clear and concise description of what the bug is.

We are developing a device manager extension which also allows serial monitoring. When this extension is installed (e.g. its a hard dependency of ms-vscode.vscode-embedded-tools) our extension crashes the extension host when it activates.
I am guessing this is due to both extensions using the same native serial access package (does this extension use https://serialport.io/ ?) and that package is not handling the node contexts correctly to allow multiple instances to be loaded in the same process.
This is compounded by the * activation event in this extension which means it always loads the native module.
To Reproduce
Steps to reproduce the behavior:

Install this extension
Install another extension which uses https://serialport.io/ and activate it

Expected behavior

Extension host doesn't crash
Additional context

Please use proper activation events and not *
If using https://serialport.io/, please ensure the latest version of https://github.com/serialport/bindings-cpp/ is in use

cc @aleun

@thegecko Thanks for letting us know! I'm looking into this now. I'll make sure to move away from using * as an activation event, which should mitigate the problem slightly, even if it still occurs when it is activated.
As for the serial access package, we do use the node serialport, and I have confirmed that the bindings-cpp package is the latest version. I did some initial testing using your repro steps and other extensions, and I'm not sure that it is an issue with the serial port package. Both this extension and our vscode-arduino extension use that package, and I was able to activate both extensions alongside one another without the Extension Host crashing.
Do you have any insight as to exactly when it crashes?
Thanks for raising this and we'll work to get it fixed as soon as we can!

Thanks for investigating this!

I have confirmed that the bindings-cpp package is the latest version

Awesome, I did some testing locally to confirm the 10.4 version handles node context correctly and it looks like it does.

Both this extension and our vscode-arduino extension use that package, and I was able to activate both extensions alongside one another without the Extension Host crashing.

Interesting, I tried the same with our extension (activated 2 copies with different extension IDs) and also saw things working correctly.
I'm aware you may be stuck here as we are yet to release our extension for you to test with, let me do some more dissecting...
Out of interest, do you use any other native packages?

Interesting, please let me know if you have any other findings!
The only native packages we use are serialport and usb.

The only native packages we use are serialport and usb.

Same with our extension!
Lol, I know a little bit about node-usb. That could also be the culprit as it didn't play well with multiple versions loaded into the same process until v2.4.0.
Some more data on this crash, all is well when the extensions being loaded use the * activation event. I've found that explicit activations of one extension will crash the extension host.

Interesting!
Currently, our dependency on node-usb doesn't currently use 2.4.0, so you could be right about that being the culprit.

Currently, our dependency on node-usb doesn't currently use 2.4.0, so you could be right about that being the culprit.

Ahh, that's where I'd put my money.
Can I hep with updating the version?

@thegecko There should be a pre-release version that now has the updated version of node-usb, as well as not using the * activation event. Let me know if that fixes this issue!

@gcampbell-msft I've had a quick play with this prerelease and couldn't recreate the issue. Fingers-crossed, this has fixed the problem. Thanks


Body tracking sample code does not work

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
When running the body_tracking.py code in the samples folder, an error occurs:
freeglut (foo): ERROR: Internal error  in function fgOpenWindow

The error occurs on line 86, of the body_tracking.py file, which goes into the viewer.py file. The error occurs on line 459 of the viewer.py file, as when i ran through the debugger one line at a time, this is when the error occurred.

I have been able to use the rest of the sample codes provided with the camera, such as the object detection image viewer, which is able to create a window to view what the camera is producing without fail. I also uninstalled and reinstalled OpenGL in case there was a problem with the initial install.
Steps to Reproduce

Open body_tracking.py file in VSCode.
Run the body_tracking.py file
error occurs

Expected Result
Window opens and when person is in frame, skeleton is created.
Actual Result
freeglut (foo): ERROR: Internal error  in function fgOpenWindow appeared in the terminal

ZED Camera model
ZED2i
Environment
OS: ubuntu 18.04
CPU: Nvidia Jetson Nano Kit
GPU: Nvidia Jetson Nano Kit
ZED SDK: 3.61 (SDK for JetPack 4.6)
JetPack (4.6)
VSCode (1.62)
OpenCV (4.5.4)
OpenGL (4.6.0 Nvidia 32.6.1)
Python (3.6.9)

Anything else?
No response

Hi @7uk3,
The error you get is very odd since de Object Detection image viewer and the Body Tracking viewers are very similar and need the same configuration.
As a workaround, could you please try to run this sample inside a docker container to see if it helps ? You can find instructions on how to do that on zed-docker repo and the images are listed here


Resource loader does not recognize URL resource

When calling DefaultResourceLoader#getResource with a URL, e.g "https://site.com", it should return an object with type org.springframework.core.io.UrlResource.
However, in native mode, it returns an object with type org.springframework.core.io.DefaultResourceLoader$ClassPathContextResource.
Demo: https://github.com/eleftherias/resource-loader-native
The demo prints the class name returned by getResource when called with a URL.
Using GraalVM 21.2.0 (build 11.0.12+6-jvmci-21.2-b08).

You need to add --enable-https (or --enable-http if the URL has http protocol) to make it work as expected. Could be initially surprising but I think this is the expected behavior. here I used @NativeHint(options = "--enable-https") but you can maybe update Spring Native hints for related use cases. Feel free to comment if you need additional guidance/feedback.


Lerna: Dependency cycles in devDependencies

Storybook monorepo contains some cyclic dependencies, they are listed during yarn bootstrap:
...
storybook info bootstrap prepare
lerna notice cli v3.13.1
lerna WARN ECYCLE Dependency cycles detected, you should fix these!
lerna WARN ECYCLE @storybook/addon-a11y -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-actions -> @storybook/components -> @storybook/addon-actions
lerna WARN ECYCLE @storybook/addon-backgrounds -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-cssresources -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-info -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-jest -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-knobs -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-notes -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-storysource -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/addon-viewport -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/ui -> @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/angular -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/ember -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/html -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/marko -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/mithril -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/polymer -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/preact -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/react -> @storybook/components -> @storybook/ui -> @storybook/core -> @storybook/react
lerna WARN ECYCLE @storybook/riot -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/svelte -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/vue -> @storybook/core -> @storybook/ui -> @storybook/components -> @storybook/react ->
lerna WARN ECYCLE @storybook/components -> @storybook/addon-actions -> @storybook/components
lerna WARN ECYCLE @storybook/core -> @storybook/react -> @storybook/components -> @storybook/ui -> @storybook/core
lerna WARN ECYCLE @storybook/addon-a11y -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-actions -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-backgrounds -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-cssresources -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-info -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-jest -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-knobs -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-notes -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-storysource -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/addon-viewport -> @storybook/components -> @storybook/react -> @storybook/core -> @storybook/ui ->
lerna WARN ECYCLE @storybook/ui -> @storybook/core -> @storybook/react -> @storybook/components -> @storybook/ui
...

These cyclic dependencies caused some build to fails because lerna doesn't know which libs should be built first. It was not a big deal when SB was fully JS but since we have some libs in TS type checking during compilation is failing, causing the full build to fail too. For instance, this build linked to https://github.com/storybooks/storybook/pull/6500.
In fact, there are cyclic dependencies mainly because @storybook/components has @storybook/addon-actions and @storybook/react as devDependencies (and the latter finally depends on @storybook/components) because we have stories for almost all components from @storybook/components. I'm a big fan of having stories in the same folder as the components they describe but it looks like it's causing some trouble in our case...
As more and more parts of SB will be migrated to TS I think we should discuss and try to find solutions about this.
--
🤷♂  Not sure which tags I should put on this issue

Perhaps there are some deeper issues.  I think we should make our typing resilient and less duplicated.  I personally not encourage inline typing and more favour using type for function and interface for class (well, maybe just using type to leverage the union typing in TS).  And in most of time, using type inferences and reduce the need to type everything in great details.
Most of file will be modularized, which makes typing also modularized and potentially cyclic referenced. Why not just have a file just for typing?! Maybe less intuitive/convenient but I think the we should not mix type mingle with its implementation.
Here is my approach in addon-contexts. I basically separate the implementation and typing. And by doing so, I have been able to think in abstraction, reduced the noise at the same time.

I think we DO NOT have any production cyclic dependencies. it's devDependencies that make things cyclical.
The solution is likely to not include the devDependencies in the package.json of @storybook/components.
Because they are guaranteed to be there when developing in the monorepo.
Essentially all devDependencies could be in the package.json in the root, and our own packages don't need to appear in package.json if they are ONLY used during dev on that package.

@ndelangen Yes exactly it's only due to devDependencies!

The solution is likely to not include the devDependencies in the package.json of @storybook/components.

I'm ok with that and already tried it 😉 by doing so it raises ts-lint error no-implicit-dependencies. BUT I just found that we can, fortunately, add a whitelist of modules that will be skipped during ts-lint check.
So if you're ok, I will add a commit to https://github.com/storybooks/storybook/pull/6500 to remove @storybook/addon-actions and @storybook/react from devDependencies of @storybook/components and add them to tslint whitelist.

Sounds good!

Fixed with https://github.com/storybooks/storybook/pull/6500


drivers: can: add triple sampling mode flag

Add flag for enabling triple sampling of the CAN RX signal. Normally just one sample of the RX signal is performed by the CAN controller, but in triple sampling mode the RX signal is sampled three times. These three samples are then used for determining the value of the received bit, typically by majority vote.
Add support for setting triple sampling mode in the CAN shell module.
Add support for triple sampling mode to the NXP FlexCAN driver.

LGTM.

Thank you for reviewing!

Just wondering why you didn't name the flag CAN_MODE_TRIPLE_SAMPLING, which would be more consistent with the comments and variable names.

I choose the name to be consistent with what the Linux kernel calls this: CAN_CTRLMODE_3_SAMPLES


fix(new): Make sure the project name is valid.

Fixes #3468
Fixes #3334

LGTM once you fix linting issues.

Done, will let tests run during lunch break.


Skip CRD application during downgrade

Description
With the addition of the v2alpha1 subscription CRD, rolling back to
a previous version does not work seamlessly. This is due to k8s not
allowing a new CRD without the v2alpha1 version.
As CRDs are additive skipping their removal when downgrading should
not impact anything. Handling this with an implicit flag allows for
users to have an easy experience without touching the CRDs.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: Endgame
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

Example error that we were seeing:
➜  ~/Workspace/test-infra git:(fix_timer)
$ dapr upgrade -k --runtime-version 1.3.0
ℹ  Dapr control plane version 1.4.0-rc.5 detected in namespace dapr-system
ℹ  Starting upgrade...
❌  Failed to upgrade Dapr: The CustomResourceDefinition "subscriptions.dapr.io" is invalid: status.storedVersions[1]: Invalid value: "v2alpha1": must appear in spec.versions


Fixed #24914 -- Added basic permission mixins to contrib.auth

https://code.djangoproject.com/ticket/24914
An initial version of implementation and tests is in the pull request, documentation is yet to be done. Comments on the code are very welcome.
This proposal provides all the and only the functionality of all three authentication decorators from contrib.auth.
While it is slightly differently implemented, it tries to stay compatible with the widely-used 3rd-party package django-braces in terms of parameter and method names. django-braces does have more functionality than the decorators have, but implementing this functionality in django itself is outside the scope of this ticket.

Saw a few things and told @raphaelm directly, looks all good to me now (except missing documentation ^^)

I added documentation now. As I'm not a native speaker, I'd love someone to review the language.
I decieded to drop a section in the documentation on class-based view on wrapping as_view with decorators, as there no longer seems to be any decorator in django core where this would make any sense.

buildbot, add to whitelist.

Fixed another small documentation problem right now.

Fixed commit message

@raphaelm How much of the django-braces stuff did you "copy" or how much is the code / tests inspired by them? Does it make sense to have a acknowledgement notice at the top of the files?

@MarkusH I did not copy that much, as django-braces has an abstract AccessView and then derives the three mixins from that, whereas my patch uses UserPassesTestMixin as the base view and the other ones derive from that. I also changed some of smaller implementation details to make it more consistend with the decorators or to be just more readable. The tests are only inspired by the decorator tests from the django codebase.
However, acknowledging them seems nice. Is there a standard way to do this?

@MarkusH I updated the pull request, both of your style comments should be fixed now. Thank you for pointing it out.

Regarding the acknowledgement, I'd add something like
The authentication mixins UserPassesTestMixin, LoginRequiredMixin and
PermissionRequiredMixin have been inspired by django-braces
<https://github.com/brack3t/django-braces/>

I added the acknowledgement and I'm preparing the logic change for the decorator now, if you'd like to triage that: https://code.djangoproject.com/ticket/24929#ticket

There's a bunch of docs duplication with regards to login_url, raise_exception and redirect_field_name. I'd document them on the UserPassesTestMixin and reference their documentation from LoginRequiredMixin and PermissionRequiredMixin instead.

I'm missing tests for the UserPassesTestMixin.

I updated the pull request and fixed/changed everything you remarked, except those two:

There's a bunch of docs duplication with regards to login_url, raise_exception and redirect_field_name. I'd document them on the UserPassesTestMixin and reference their documentation from LoginRequiredMixin and PermissionRequiredMixin instead.

I am unsure whether this is the best solution. I feel that UserPassesTestMixin is the least important one of those and most users will only be interested in LoginRequiredMixin and maybe PermissionRequiredMixin. Therefore, I think it would be more confusing then helpful.

I'm missing tests for the UserPassesTestMixin.

Me too, but how would you test this properly? UserPassesTest only makes sense to use if you override test_func and test that subclass -- however, this is exactly what the tests for LoginRequiredMixin and PermissionRequiredMixin do. All aspects of UserPassesTest are tested, but I do not see a nice way to do it directly.
(There is no test for the user_passes_test decorator, I guess for the same reason. Also, most mistakes you pointed out in my code in your last comments, are present in the decorators as well.)

Fixed spelling now, but the docs build still fails because of broken links. I do not see the mistake, do you see it?

Okay, I found the problem, documentation builds now.

FWIW, I'd give acknowledgement in AUTHORS and/or the commit message. That seems more in line with the 4 bullet here: https://docs.djangoproject.com/en/1.8/internals/contributing/writing-code/coding-style/#miscellaneous

Regarding documentation duplication: The arguments are implemented on the UserPassesTestMixin, which I think implies that they are documented there.

Regarding the missing tests: I'd create 2 mixins in the tests that have def test_func(self, user): return True (False respectively) and check all the combinations of login_url, raise_exception, and redirect_field_name. The LoginRequiredMixin and PermissionRequiredMixin could then just check one positive and one negative use case.

Okay, I'll look into this during the next days.
Am 6. Juni 2015 16:12:32 MESZ, schrieb Markus Holtermann<EMAIL_ADDRESS>
Regarding the missing tests: I'd create 2 mixins in the tests that have
def test_func(self, user): return True (False respectively) and
check all the combinations of login_url, raise_exception, and
redirect_field_name. The LoginRequiredMixin and
PermissionRequiredMixin could then just check one positive and one
negative use case.

Reply to this email directly or view it on GitHub:
https://github.com/django/django/pull/4749#issuecomment-109582290

FWIW, I'd give acknowledgement in AUTHORS and/or the commit message.

I'd go for the commit message than as its only a few lines coming from there.
I updated the documentation and tests according to all your other comments.

Just updated the PR again, now rebased to current master without any merge conflicts.

Style issues fixed, PR updated.

Replaced by #4836


How to package the program

You need to use pyinstaller on the main file. In Dain-App it would be my_design.py

Thank you very much, I will have a try


UnicodeDecodeError when loading embeddings using nlppipe Preprocessor method load_glove

Hi,
I am currently experiencing an issue (on Windows, Python 3.7), whereby the Preprocessor class function throws a UnicodeDecodeError when loading pre-trained word embeddings
Sufficient code to reproduce this is simply to instantiate a Preprocessor class with some Pandas dataframe and attempt to load a word embedding using one of the GloVe embedding files. In my case, I am using glove.6B.300d (Wikipedia 2014 + Gigaword 5) taken from the official site as linked on this repository too: https://github.com/stanfordnlp/GloVe. I have attempted using other embeddings as well to no avail. I use 7zip to unpack the zip file in order to retrieve the .txt embeddings as per the lda2vec example provided.
from lda2vec.nlppipe import Preprocessor
P = Preprocessor(YOUR_DF, "ANY_TEXT_COLUMN", max_features=30000, maxlen=10000, min_count=30)
embedding_matrix = P.load_glove(EMBEDDING_DIR + "/" + "glove.6B.100d.txt")

The specific error thrown is as below:
Traceback (most recent call last):

  File "<ipython-input-4-e5cf0a369051>", line 3, in <module>
    embedding_matrix = P.load_glove(EMBEDDING_DIR + "/" + "glove.6B.300d.txt")

  File "C:\ProgramData\Anaconda3\lib\site-packages\lda2vec\nlppipe.py", line 118, in load_glove
    embeddings_index = dict(get_coefs(*o.split(" ")) for o in open(EMBEDDING_FILE))

  File "C:\ProgramData\Anaconda3\lib\site-packages\lda2vec\nlppipe.py", line 118, in <genexpr>
    embeddings_index = dict(get_coefs(*o.split(" ")) for o in open(EMBEDDING_FILE))

  File "C:\ProgramData\Anaconda3\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 6148: character maps to <undefined>

I believe this can be fixed by adding
, encoding="utf8"
to the call to the function open on line 127 of the nlppipe.py code.

Feel free to make a PR if you have a fix - I don't have the bandwidth to work on this repo anymore. Cheers


LICENSE: use formal Apache License Content

Current License content is not following kubernetes project template and can't be detected by github.
Checkout https://github.com/kubernetes/kubernetes-template-project
See also https://help.github.com/articles/licensing-a-repository/#detecting-a-license

/approve


modals: Set new light, dark theme background and borders.

This PR removes the blue background and borders from dark theme modals and toasts, and also updates the light mode backgrounds and borders according to @terpimost's new design.
It also improves the Organization logo area by aligning elements to the left, and using the exact background colors from the navbar (the backgrounds beneath logos have been opened up, too). Various layout improvements are part of that commit as well.
Note that this PR is meant as a prerequisite for testing redesigned buttons in #31595.
CZO discussion

Screenshots and screen captures:

Dark mode, before
Dark mode, after

Light mode, before
Light mode, after

Org profile, before
Org profile, after

Set status, before
Set status, after

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @karlstolley!


I added http proxy but it failed to login my account

My VPS located in Netherlands
[2024-09-12T16:34:58.888] [WARN] - [Disconnecting...]
[2024-09-12T16:34:58.891] [INFO] - [Disconnecting from <IP_ADDRESS>:80/TCPFull...]
[2024-09-12T16:34:58.891] [WARN] - [Disconnecting...]
[2024-09-12T16:34:58.893] [INFO] - [Disconnecting from <IP_ADDRESS>:80/TCPFull...]
[2024-09-12T16:34:59.094] [INFO] - [connection closed]
[2024-09-12T16:35:03.605] [WARN] - [Disconnecting...]
[2024-09-12T16:35:03.606] [INFO] - [Disconnecting from <IP_ADDRESS>:80/TCPFull...]
[2024-09-12T16:35:05.892] [WARN] - [Disconnecting...]
[2024-09-12T16:35:05.895] [INFO] - [Disconnecting from <IP_ADDRESS>:80/TCPFull...

run it on local (open game once) and run bot , don't run on vps, they add cloudflare security


Remove tox and corresponding build job in CI using tox to run tests

related: #206

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

Project coverage is 87.24%. Comparing base (a825c3f) to head (a055a90).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #248      +/-   ##
==========================================
- Coverage   87.58%   87.24%   -0.35%
==========================================
  Files           6        6
  Lines         580      580
==========================================
- Hits          508      506       -2
- Misses         72       74       +2

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


[BUG] ERROR | No module named 'boltz_client' on main branch commit ffb5a91

Describe the bug
poetry run lnbits for current main branch commit ffb5a91f6747c0150e0bafe9e322e6f20964fbd0
Yields the following error:
2023-01-20 23:40:41.96 | ERROR | No module named 'boltz_client'
Process Process-1:
ImportError: Please make sure that the extension boltz follows conventions.
Was running fine on main from Jan 14, 2023, commit 2eb76d0e26916f0ec9ad40806a9f9fe5bf3dc55e
Desktop (please complete the following information):

OSX m1 Ventura
Database  sqlite

running poetry install should install the client!

resolved! closing this issue


tf.Keras and shap.Explainer fail with shap v0.37

Is it possible to compute shap values with new shap.Explainer using tf.keras (v2.4.0)? This way you can also use the bar graphs, beeswarm, etc.
The code in v0.37 fails and in the last git update shows:
import numpy as np
import pandas as pd
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
import shap

n=100
# Data
data = pd.DataFrame({'var1':np.random.random(n), 'var2':np.random.random(n), 'output':np.random.random(n)})

# tf.keras model (MLP)
inp = layers.Input(shape=(2,), dtype=tf.float32)
print('inp',inp.shape)
x = layers.Dense(10)(inp)
print('output',x.shape)
x = layers.Dense(1)(x)
print('output',x.shape)

model = keras.models.Model(inputs=inp, outputs=x)
model.compile(optimizer='adam',loss='mse')

model.fit(data[['var1','var2']], data['output'], epochs=2, batch_size=8)

explainer_new = shap.Explainer(model) # the same error with 'model.predict'
shap_values_new = explainer_new(data[['var1','var2']])

The output is:
inp (None, 2)
output (None, 10)
output (None, 1)
Epoch 1/2
13/13 [==============================] - 0s 2ms/step - loss: 1.8949
Epoch 2/2
13/13 [==============================] - 0s 1ms/step - loss: 1.3625
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-8-ae2850945237> in <module>()
     24
     25 explainer_new = shap.Explainer(model) # the same error with 'model.predict'
---> 26 shap_values_new = explainer_new(data[['var1','var2']])

3 frames
/usr/local/lib/python3.6/dist-packages/shap/utils/_masked_model.py in _full_masking_call(self, masks, batch_size)
     85                 masked_inputs = self.masker(delta_ind, *self.args).copy()
     86             else:
---> 87                 masked_inputs = self.masker(mask, *self.args)
     88
     89             # wrap the masked inputs if they are not already in a tuple

TypeError: 'NoneType' object is not callable

no news?

.

Same issue, would appreciate any insight!

I also have the problem with version 0.39.0.

any news ?

Indeed, the problem remains in v0.39

same issue with v0.40 - any updates?

?

Any update ?
I am facing same issue on Gaussian Process Regression
kernel = RBF() + WhiteKernel()
model_gpr = GaussianProcessRegressor(kernel=kernel).fit(X, y)
explainer = shap.Explainer(model_gpr.predict)

baseline = explainer(X).base_values
andthen
TypeError: 'NoneType' object is not callable

I also encountered the same problem in the V0.40 version; how should I solve it?

Same problem here with Pytorch, and shap version V0.41

same issue here with 0.41.0

Still having this issue :(

I have the same problem here with the Keras model (from autokeras model). shap version "0.41.0"

Same problem

same here

Any news?

Not worked even though set with  masker=None. Suffer and Eager.


Failed to find old commit hashes

Tiged fails to find any commit other than the latest one.
Example, i'm running the following command:
npx --yes tiged https://github.com/uber/cadence-idl#83d5cae7fc5176f73486ffe82144044711930073 cadence-idl
While the commit is there, i get this error:
! could not find commit hash for 83d5cae7fc5176f73486ffe82144044711930073

Seems to be duplicate of https://github.com/tiged/tiged/issues/90. There is a PR. Will get fixed after PR gets merged.


Get model executables from path

Recently we added the option to install ACCESS-OM3 with Spack.  Usually the location where Spack installs the packages includes a hash in the naming scheme, which makes it a bit tedious to keep the full executable path up to date in the payu config.yaml file.  On the other hand, we are using Spack to automatically create environment modules for OM3 that add the corresponding path to the OM3 binaries to the PATH environment variable. Therefore it would be nice if payu could get the executable from the path.
Basically, instead of doing:
exe: /g/data/ik11/spack/0.20.1/opt/linux-rocky8-cascadelake/intel-2021.6.0/access-om3-main-7cryrsy/bin/access-om3-MOM6-CICE6

modules:
  use:
      - /g/data/ik11/spack/0.20.1/modules/access-om3/0.3.0/linux-rocky8-cascadelake
  load:
      - access-om3

we would like to simply write:
exe: access-om3-MOM6-CICE6

modules:
  use:
      - /g/data/ik11/spack/0.20.1/modules/access-om3/0.3.0/linux-rocky8-cascadelake
  load:
      - access-om3

I like this idea as it makes easier for users to switch model versions, as there is no need to determine the (rather convoluted) paths to spack built executables.
Just out of interest, what is the reason to encode the configuration version in the module use path rather than the module itself?
e.g.
exe: access-om3-MOM6-CICE6

modules:
  use:
      - /g/data/ik11/spack/0.20.1/modules/access-om3/linux-rocky8-cascadelake
  load:
      - access-om3/0.3.0

Just out of interest, what is the reason to encode the configuration version in the module use path rather than the usual convention of defining in the call to module load?

This is because of how our Spack instance is currently set up. We are installing each version of OM3 in a different Spack environment (there's a couple of reasons for this, but this might stop doing it in the future). Then, because some versions have the same dependencies and because I didn't want to have the Spack hash in the module name, each environment needs a unique module path to install its modules. The simplest way to achieve that was to add the OM3 version to the module path. That explains why the version appears in the use statement. Regarding the load statement, one could actually specify the version, but since there's only one version of OM3 in that set of modules, there's no need.

I discussed this with @harshula yesterday and he raised a few valid concerns about picking stuff from $PATH. I therefore suggested the following alternative:
exe: $SPACK_ACCESS_OM3_ROOT/bin/access-om3-MOM6-CICE6

modules:
  use:
      - /g/data/ik11/spack/0.20.1/modules/access-om3/0.3.0/linux-rocky8-cascadelake
  load:
      - access-om3

This would work for the COSIMA spack instance, because each module defines an environment variable SPACK_{name}_ROOT that contains the installation prefix of the package. A similar solution could be adopted by ACCESS-NRI.
Currently the above proposal does not work because payu loads the modules after handling the executable, so the variable is not defined when needed. Might not be too hard to change this.

Is it possible to require a module version? e.g. access-om3/x.y.z. Not requiring a version can cause unexpected problems for users that we'll have to debug.

Just be aware that if you check that there's a version, that the version naming scheme might be a lot more complicated than 'x.y.z'. You also cannot assume that the module will always have the form {name}/{version}, as one could have written the above example as:
modules:
  use:
      - /g/data/ik11/spack/0.20.1/modules/access-om3/0.3.0/
  load:
      - linux-rocky8-cascadelake/access-om3/0.3.0

@micaeljtoliveira you make good point about what constitutes a valid version.
Not sure that is solvable in a general sense in a useful way.

Wouldn't module avail contain the list of valid modules and versions?

Wouldn't module avail contain the list of valid modules and versions?

Using that information should make it easier to correctly match the version (or lack of it).
This actually made me realise there's another possible issue: it's possible that there are two modules with the same name/version in two different paths. This is not trivial to solve, as we cannot restrict payu to only use the paths set in the config.yaml file.
With some many possible ways for users to make mistakes, I really think that enforcing reproducibility using the manifest information should be made the default, regardless of any failsafes that are added to payu.

This actually made me realise there's another possible issue: it's possible that there are two modules with the same name/version in two different paths. This is not trivial to solve, as we cannot restrict payu to only use the paths set in the config.yaml file.

Well.. we could by purging all module information and then use and load only the paths and modules defined in config.yaml.
I haven't had long enough to decide what the downsides of that might be, but TBH it is quite appealing.

With some many possible ways for users to make mistakes, I really think that enforcing reproducibility using the manifest information should be made the default, regardless of any failsafes that are added to payu.

There is nothing to stop anyone from adding
reproduce:
  exe: True

to the config.yaml of an experiment. Combined with some CI checks on your config repository to ensure this is set to True will cover publishing of configs that ensure executables are unchanged, e.g. https://github.com/COSIMA/cleanconfig

Well.. we could by purging all module information and then use and load only the paths and modules defined in config.yaml.

That would mean forcing users to explicitly set "use /apps/Modules/modulefiles' to have access to the MPI modules, no?
Still doesn't prevent the users from explicitly "using" two different module paths that include the same version of a module.

There is nothing to stop anyone from adding

True and I'm very tempted to start doing it systematically. Still worth considering doing it by default, as not all users will be aware of these issues.

That would mean forcing users to explicitly set "use /apps/Modules/modulefiles' to have access to the MPI modules, no?

Maybe not (thinking of the RPATH goodies in spack built executables), but potentially even worse it would require module load PBS to be able to re-submit itself.
Ok, axe that as an idea! :)

Still worth considering doing it by default, as not all users will be aware of these issues.

I created this issue to discuss this in more detail:
https://github.com/payu-org/payu/issues/383
Your input is welcome!

True and I'm very tempted to start doing it systematically.

FYI https://github.com/ACCESS-NRI/build-ci/issues/119

Would be nice to have this feature - in the meantime we'll manually keep the exe and module in sync, which is error-prone https://github.com/COSIMA/access-om3/issues/93

we'll manually keep the exe and module in sync, which is error-prone

Looks like I've come around to your way of thinking @aekiss

This has become a blocker for https://github.com/ACCESS-NRI/build-cd/issues/62
So I think we want to prioritise this @jo-basevi

I don't think the suggested solution from @micaeljtoliveira would work currently for ACCESS-OM2 models as each component is installed as it's own package, in a separate hierarchy.
As it stands the module load access-om2/XXXX.XX.X populates $PATH with the location of all the bin directories where components are installed. This is mighty convenient. We could change the module configuration to populate a different and specific environment variable, e.g. $SPACK_BIN_PATH or similar.
@micaeljtoliveira has suggested another change that allows for more generic path generation
https://github.com/ACCESS-NRI/access-om2-configs/issues/77#issuecomment-2048807456
but I don't know how it works with multi-package models, and we've decided to use the spack build hash to connect executables used in experiments to the build provenance for that executable.
I do like the idea of changing information (model version) in a single place with the module load. It means we have an API (modules) that can deal with multi-package models, or single package like ACCESS-OM3
We're also planning on add config QA checks to make sure the paths defined in the exe.yaml manifest match the versions in the spack.location.json artefact produced as part of the build process.

@micaeljtoliveira has suggested another change that allows for more generic path generation
https://github.com/ACCESS-NRI/access-om2-configs/issues/77#issuecomment-2048807456
but I don't know how it works with multi-package models, and we've decided to use the spack build hash to connect executables used in experiments to the build provenance for that executable.

I think one could get all the paths and spack hashes by inspecting the symlinks spack creates in the view's bin directory.

I think one could get all the paths and spack hashes by inspecting the symlinks spack creates in the view's bin directory.

Nice. It may be worth doing this anyway, as a belt and braces approach, to allow for different ways to do the same thing.
@jo-basevi had a neat idea of inspecting the modules that are loaded to see what they add to the $PATHvariable and only search those for matches to binaries, and I think this has a number of benefits:

It only happens when there is a module load, so is much less likely to randomly affect experiments by picking up executables from odd paths.
It limits the search scope to only paths added by loaded modules, so again, much less likely to pick up the wrong executable
It is quite flexible, and allows users (and CI automation) to easily switch between model versions.


Roll Engine from f47ab4434dbe to 3e17bbc6c46e (4 revisions)

https://github.com/flutter/engine/compare/f47ab4434dbe...3e17bbc6c46e
2021-01-26<EMAIL_ADDRESS>Use ToStringTransformer from dart frontend_server (flutter/engine#23915)
2021-01-26<EMAIL_ADDRESS>Roll Dart SDK from f9e1d1ab4001 to 2607b01bec99 (2 revisions) (flutter/engine#23946)
2021-01-26<EMAIL_ADDRESS>Roll Skia from 76389b7d2444 to 02621c33b426 (3 revisions) (flutter/engine#23945)
2021-01-26<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from GLRm7LJRm... to DLfskqEUx... (flutter/engine#23943)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from GLRm7LJRm1it to DLfskqEUxYkk
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Is it possible to create realm class with properties coming from JSON ?

In my app the field names will be provided via  JSON.
The JSON contains the fields upto 100 (max) and they are like firstName, lastName etc
Based on these properties I need to create the realm database.
Is there a way of creating the realm database without hardcoding these properties in realm class ?

There is a dynamic API you can use to create the classes on the fly (our Realm Browser uses this). Alternatively you can make a generic class to hold a map: type, name for to tell what it is and then a property for each of the types you expect: string, int, date, binary, ... and then you obviously only store the value in one of those.


Create a "scan QR code to buy a book" scenario

Can use fiverr or something, based off the speech we write.

I renamed "Create an infographic to introduce TBML/TokenScript" because it sounds like a project. An issue is a task. I took the first task in this project as the title of this issue.


How to disable "Use App List" message?

Hello, this works great. Have been using it for over a week and much easier to manage than manually do it. Is there a way to disable the "Use App List" message when opening the program? Thank you kindly.

The manager already configures DLLInjector.ini to have NoQuestion.bin, which should prevent it from asking that question.


[Event Request] Page 498 - OnGetSerialLotNoOnSetTrackingFields

In page 498 Reservation, function GetSerialLotNo, please add the following publisher:
[…]
  IF PAGE.RUNMODAL(PAGE::"Item Tracking List",TempReservEntry) = ACTION::LookupOK THEN BEGIN
    ReservEntry."Serial No." := TempReservEntry."Serial No.";
    ReservEntry."Lot No." := TempReservEntry."Lot No.";

    // >> NEW
    OnGetSerialLotNoOnSetTrackingFields(VAR ReservEntry,TempReservEntry);
    // << NEW

    CaptionText += STRSUBSTNO(Text007,ReservEntry."Serial No.",ReservEntry."Lot No.");
[…]

Note: added as OnGetSerialLotNoOnAfterSetTrackingFields


s6 recipes fail to build in poky-krogoth and poky-morty

The builds complain about missing headers, such as errno.h

Looks like the sysdeps thing that plagued skalibs in jethro. I don't know why the issue doesn't occur in jethro, but it looks like applying the same configure patch to the other projects fixes it in both krogoth and morty.


Python3 program to print all paths of  source to destination in given graph

no need to wait to get the task assigned and  pls follow me and star this repo

pls follow me and star this repo


Added ironic_inventory dependency

Adds the tool for adding ironic hosts via excel file.

I was under the impression we add a Python scripts and playbook ?

Fixed the typo. Good catch.

not gonna work on python2.

FYI I'll fix this in the next 1-2 weeks


added check suite as a trigger

This change is

@athackst-bot autosquash

@athackst-bot autosquash


[WIP] getting-started: flash-device

Pretty much done here, just needs a review from everyone.

Docs for ffb1b5302fa1c787aa59769dbcf08db12a6b369e are browesable at: https://ci.foundries.io/projects/fio-docs/builds/571/docs/artifacts/html/index.html

Docs for 5cf03247f19565a0783f1868ff0fc56efb55d359 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/585/docs/artifacts/html/index.html

Have addressed all feedback @dagriego

Docs for 0f88cd909aa65718a618928c87073e508528d663 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/586/docs/artifacts/html/index.html

Docs for a99f040887a62f8cb2bc86b115ea696ae7891e98 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/587/docs/artifacts/html/index.html

Docs for dc192f4a78cca0d16f69f4d4e35f7c3211263bf8 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/588/docs/artifacts/html/index.html

Docs for 8c0726821e55a6335067b0e583bb6b4a01b298e6 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/589/docs/artifacts/html/index.html

Docs for 3fee0abe0b1cc9978659b9e6dc15e408b405e189 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/590/docs/artifacts/html/index.html

Docs for 73dd4a26a27ce1eeb2ff3f6de6f2e5026244d29f are browesable at: https://ci.foundries.io/projects/fio-docs/builds/591/docs/artifacts/html/index.html

Docs for 8e06e1a21d386a75c119f03027276a90ca9fa0a8 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/592/docs/artifacts/html/index.html

Docs for f3ccaeb64088ef67254b8b2ebe971b6723d5acfd are browesable at: https://ci.foundries.io/projects/fio-docs/builds/593/docs/artifacts/html/index.html

Docs for 3fee0abe0b1cc9978659b9e6dc15e408b405e189 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/594/docs/artifacts/html/index.html

Docs for fba3e98338f1a55a64c8a5de62bc2e718ea269b7 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/596/docs/artifacts/html/index.html


Brownfield Install

This page is great if you are dealing with a greenfield install, but pretty tough to use if you are trying to use existing resources.

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

ID: 1f20be92-7718-0629-e06a-78250c547f9a
Version Independent ID: 2fdd52ab-6756-4e2c-4a48-3bf45f361310
Content: Configure SSL termination with Key Vault certificates using Azure PowerShell
Content Source: articles/application-gateway/configure-keyvault-ps.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@ChrisLopezUK , Thanks for your feedback. We are looking into this query and will update you as soon as possible.

@ChrisLopezUK , Appreciate your patience. These doumentation aims at providing guidance for azure newbies so that they can understand the concepts easily and will be flexible to work with with them.But, again we would like to appreciate your valuable feedback on this and will share with the content author for further review.
@vhorne , Could you please provide your insights on this?

A work item for this has been created in the backlog.
#please-close


Added functional test for system admin bulk create media accounts

JIRA link
https://tools.hmcts.net/jira/browse/PUB-1836
Change description
Added functional test for system admin bulk create media accounts
[ ] Yes
[x] No

New tests look great :)
Can we also remove the old bulk create user tests as part of this?

Removed old tests :)


Don't send the command again to danger-js

Currently we are sending the same command two times to danger-js
e.g.
danger-pr pr --process danger-swift PRLink

merge on green

Warnings

:warning:

Any changes to library code should be reflected in the Changelog.
Please consider adding a note there and adhere to the Changelog Guidelines.

  Generated by :no_entry_sign: dangerJS


Add -a option to service/node ps to show not running tasks

closes #25180
closes #25196
- What I did
Changed service ps and node ps to only show tasks that will be or are currently running instead of every task. This is more inline with how docker ps works with containers. I added an -a and --all flag to both commands to show all tasks.
Also changed node inspect & node ps to default to self if the node isn't specified. I kept the self support since the GA already went out (let me know if it's OK to kill).
- How I did it
Followed how docker ps was done with all=1 optional flag on the http endpoint for /tasks.
- How to verify it
Look at tests.
Run docker service ps & docker node ps on various nodes including self to ensure that only tasks are shown that are running or will be running w/o the -a flag. Also make sure that adding a filter w/o -a selected keeps your filter on desired-state (test for this).
Run docker node inspect w/o the self flag to make sure it works (test for this).
- Description for the changelog

Fixed service/node ps from showing all tasks by default & removed self arg.
Signed-off-by: Josh Horwitz<EMAIL_ADDRESS>

cc @stevvooe

cc @aluzzardi

ping @aluzzardi PTAL!

Actually, we just discussed this, and came to the conclusion that the failed tasks are important information to present. We could discuss alternatives though, but for now, I'll close this

Actually, we just discussed this, and came to the conclusion that the failed tasks are important information to present.

Indeed, it is important information, but we don't need to do it by default.

@thaJeztah Sorry, I was on vacation and just came back :)
What's the consensus on this?
I realize that displaying all tasks might be bothersome by default and this PR reverts the behavior I added on the past, which may be the right thing to do.
What may be a good compromise is to go ahead with this and additionally we should display a last error column. The inconvenience is that even without -a we'd need to query all tasks to find out which one last errored out.
Thoughts?

What if we limited the number of failed tasks should in the output? Right now, it can be limited by adjusting task history limit, but there is nothing on the client side?
A default of 1 or 2 with a visual hint that there is more would be sufficient.

@aluzzardi @stevvooe alright, let me reopen this; there were concerns about hiding this information by default (which was what we originally had in 1.12-rc's), because people may easily miss the errors.

oh, hmf, looks like GitHub does not let me reopen this

@thaJeztah The branch is gone...
I think we can find a balance that can allow the CLI user to control how much output they see. I think limiting the number of failures shown by default is the right compromise.

Its definitely still around on my fork. I think this is related to force push reopen bug.  I can open another one.


Forbid creating overlapping events

Hi,
I want forbid overlapping events. I tried to figured out how to do it into the onEventCreate callback but don't find a way to check if a actually created event is overlapping with another.
I there a way to access any function to check if the event is overlapping with another event?
Thanks in advance

tried minEventWidth: 100, it does not resize event, but overlap still there

You need to mannualy add code to check if the event is overlaping with another on onEventCreate.
On your callback you will have acces to the created event, also you need to scope also you will have acces to all other events  if you defined them in you data through this.events (for example) them it is just algorithmic problem of finding overlaps. This is a common problem in interview question. TL;DR - IIRC the best way is to sort them by the ending time..
If you are no willing to put the effort to write up with the algorithm yourself and do not mind adding extra depedencies and the overheard of copying data around you can use moment-range which supports the overlaps operation..

A parameter in vue-cal would also be nice @antoniandre  ;-)

reported in #80 (2019) says that it's on the feature list, no ETA.
This is also indirectly related to #370 as in theory this problem could be solved by accepting/rejecting the resizing events to check for overlaps.

Is there an update for this issue?

I want only one event to happen at a time

I'm also waiting for this feature


Add a sentence where the config file must be

Hi, thanks for the PR. you are correct the config file currently is in the root tree. But the UI should really load the system config file for k8s. I created issue #8 for this.
I need to check how to load it properly cross-platform

Hi @sttts I ended up fixing this in the service definition that reads the config file. It will read the kubectl config file from your home directory in ~/.kube/config.
Hope you don't mind if I don't merge your PR.

That's even better. Thanks for fixing it.


HA : Sanity of Multi-Cloud Features

Issue/Feature Description:
Test and validate all the multi-cloud features.
Test Failure scenarios
- Node Failure
- Service Failure
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Completed in I Release


Optimize brand new Feathr typeDef registration

Before a new list of 'entity type defs' registration, check if any of them already exist. If yes, skip this registration.

Thanks for the PR, definitely we need to optimize the behavior there.


[ContentComponent] content.resize() should work in inactive views

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

List view: User clicks an item in list and goes to a Detail view
Detail view: User performs an action that adds a toolbar for Detail view + List view, then clicks "Back"-button and goes to List view.
Even after calling content.resize() on the inactive view's Content component, it is not resized taking the added toolbar into account.

Expected behavior:
I think it should be possible to add a toolbar globally in the app, calling content.resize() on all views' Content components and have them resize, even when the views are inactive.
What do you think?
Steps to reproduce:

Related code:
I'm doing the resizing from my custom component, that get passed in a reference of ion-content.
import { Component, AfterViewInit, Input } from '@angular/core';

import { Content } from 'ionic-angular';
import { Observable } from 'rxjs/Observable';

@Component({
	selector: 'toolbar-player',
	templateUrl: 'toolbar-player.html'
})
export class ToolbarPlayerComponent implements ngAfterViewInit {

	@Input() public content: Content;

	// Imagine an external Observable responsible for determining if toolbar should show
	public showToolbar$: Observable<boolean>;

	public ngAfterViewInit(): void {
		this.showToolbar$
			.subscribe(isVisible => {
				if (this.content) {
					this.content.resize();
				}
			});
	}

}

<ion-content #content>
...
</ion-content>
<ion-footer>
    <toolbar-player [content]="content"></toolbar-player>
</ion-footer>

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.3.1 Build version 8E1000a

Hello, thanks for opening an issue with us! Could you share a repo we could use to reproduce this?

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

Hi,
This is of course still an issue, since nothing has been done to change the behavior, but unfortunately I don't currently have a repo to share with you and little time to create one at the moment, I'm afraid.
Do you agree that it should be possible to resize ion-content even if it's not currently active?
I don't want to go through the trouble of creating a repo for you if this will be closed as "works as intended" etc.

Bump?