Removal of disclaimer

As version 1.0.0 is out, it may be time to remove the disclaimer in the top of the project readme.

Thanks for your feedback.
We have now removed the disclaimer from the project README file.


cannot reproduce the sample result.

Hi there, thank you for reading this issue.
i have a test.c like below(which is the same with the sample code in paper).
#include <stdint.h>
void
dot_16x1x16_uint8_int8_int32 (
uint8_t data [ restrict 4],
int8_t kernel [ restrict 16][4] ,
int32_t output [ restrict 16]) {
for ( int i = 0; i < 16; i ++)
for ( int k = 0; k < 4; k ++)
output [i] +=
data [k] * kernel [i][k];
}

i tried to use vegen-clang -S -O3 -ffast-math -march=native test.c -o test,（and also tried
-mavx512vnni） to reproduce the result paper showed in Figure2(which uses vpdpbusd)，however, i cant success. and i don't know why.
any help is appreciated~

and i tried compile with CXX = gcc and CXX = clang12，which give me the same result.

That's due to a pre-processing transformation we introduced (after the paper) where we balance reduction trees (e.g., a + b + c + d => (a + b) + (c + d)) but break the pattern matcher. You can disable that transformation with -mllvm -no-balance-rdx.
 $ vegen-clang test.c -S -O3 -march=icelake-server  -mllvm -no-balance-rdx
	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 10, 15
	.globl	_dot_16x1x16_uint8_int8_int32   ## -- Begin function dot_16x1x16_uint8_int8_int32
	.p2align	4, 0x90
_dot_16x1x16_uint8_int8_int32:          ## @dot_16x1x16_uint8_int8_int32
	.cfi_startproc
## %bb.0:                               ## %entry41
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	vpbroadcastd	(%rdi), %ymm0
	vmovdqu	(%rdx), %ymm1
	vmovdqu	32(%rdx), %ymm2
	vpdpbusd	(%rsi), %ymm0, %ymm1
	vmovdqu	%ymm1, (%rdx)
	vpdpbusd	32(%rsi), %ymm0, %ymm2
	vmovdqu	%ymm2, 32(%rdx)
	popq	%rbp
	vzeroupper
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

We are working on a rewrite of VeGen where pattern matching on reduction operators is more robust (e.g., regarding reassociation), but the code is not public yet.

thank you very much~


Chocolatey support

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Only Microsoft Store or Manual installations available.
Issue Number: #183
What is the new behavior?

Chocolatey installation method available.

Other information

Quality check
Before creating this PR, have you:

[x] Followed the code style guideline as described in CONTRIBUTING.md
[ ] Verified that the change work in Release build configuration
[ ] Checked all unit tests pass

When this PR be completed I'll push a new version to Chocolatey with packageSourceUrl updated. Then will be validated by moderators.


System can be misnumbered when loading

When trying to load CF-009 from Salzinnes test 2013, the last two systems on the page are labelled as 19 & 20.

This could possibly be caused by the weird ordering in the MEI file. In order from the top, the  tag's n attribute are as follows: 1, 2, 11, 12 , 3, 4, 5, 6, 7, 8, 9, 10. In the editor, the last 'properly numbered' system before jumping to 19 is 10, so it leads me to believe that it has something to do with the way the MEI file is structured.
Edit: This occurs on a lot of MEIs where the SBs are out of order, and they're always out of order after the 10th system.

As a note, a possible solution, besides fixing the underlying MEI / MEI Import, is to figure out a way to allow the users to change system numbers. This will be a big overhaul though because a lot of the logic is reliant on system numbers, and changing them dynamically may affect a lot of the elements.


Readme looks great - just added a section at the top...

...about why you might want to use Vulcanize.

I'm going to add a section about HTTP/2 and Server Push obsoleting vulcanize in the fullness of time.


does not get any response

I have installed the plugin and configured it in the linkedin website

This is my code
scopes: LinkedInLoginScopes[] = ['r_basicprofile', 'r_emailaddress', 'rw_company_admin', 'w_share'];
linkedinLogin() : void {
    this.linkedin.login(this.scopes, true)
      .then(() => {
        // get connections
        this.linkedin.getRequest('people/~:(id,email-address,firstName,lastName,headline,pictureUrl,public-profile-url,positions:(is-current,company:(name)))?format=json')
        .then(profile => {
          alert(JSON.stringify(profile));
          this.userData = {
            username: profile['headline'],
            picture: '',
            email: '',
            first_name: profile['firstName'],
            last_name: profile['lastName'],
            perfil: profile['siteStandardProfileRequest']['url']
          }
        }).catch(e => alert('Erro get connections: ' + e));
      }).catch(e => alert('Erro Login' + e));
  }

when I click on the button(linkedinLogin()) I don't get any response nor it does through any error. just no action takes place.

In first instance, this run only in android/ios, in the web version isn't work.
Another question is this plugin launch linkedin app for login (you need to have installed this), theoretically this launch the playstore if the linkedin app isn't installed, but if you don't have configured permissions for this, the playstore is not launched.

I have installed the plugin and configured it in the linkedin website

This is my code
scopes: LinkedInLoginScopes[] = ['r_basicprofile', 'r_emailaddress', 'rw_company_admin', 'w_share'];
linkedinLogin() : void {
    this.linkedin.login(this.scopes, true)
      .then(() => {
        // get connections
        this.linkedin.getRequest('people/~:(id,email-address,firstName,lastName,headline,pictureUrl,public-profile-url,positions:(is-current,company:(name)))?format=json')
        .then(profile => {
          alert(JSON.stringify(profile));
          this.userData = {
            username: profile['headline'],
            picture: '',
            email: '',
            first_name: profile['firstName'],
            last_name: profile['lastName'],
            perfil: profile['siteStandardProfileRequest']['url']
          }
        }).catch(e => alert('Erro get connections: ' + e));
      }).catch(e => alert('Erro Login' + e));
  }

when I click on the button(linkedinLogin()) I don't get any response nor it does through any error. just no action takes place.

hi raj,
I am also facing the same issue, did you find any solution for this?


[C/C++] Introduce unified error handling

Related to #2873

Right now the C api crashes on most errors.
C++ has a log library dependency but so far we ended up not using it.
Suggesting to introduce an error value enum or struct (to be able to convey more complex error state, i.e. another tagged union, but from C?) and drop our logging library dependency instead.

for the C boundary we can do:
typedef uint32_t ErrorCode;

struct Error {
     ErrorCode error_code;
     char description[512];
};

void rr_foo(…, Error* error);

That will report errors from Rust to C.

For our initial setup function (connect, save, etc) we should return a Result, similar to arrow::Result. We should use the same ErrorCode enum as in the C API.
The Result class should have nice helpers for logging warnings to stderr or throwing it as an exception.

Still disagree on this being called a warning_handler.
In my opinion, passing in data that does not conform to the schema is an error. "The application or library couldn't complete an operation."  The application could not encode the passed data into a valid encoding according to the specified schema.
Specifically, this is a user-error. The only way this happens is if the user wrote incorrect code that called our APIs. This is always a bug they should fix in their code.
The path we are on is specifically this one:
-> "Sometimes an Err is handled by logging it as WARNING and then running some fallback code."
We are allowing the user to choose whether to handle this Error by logging a warning, and continuing with the fallback of using a weaker best-effort schema, or by treating it as an error and taking more aggressive action. But the thing they are handling is still an error.


auro-banner: image flexibility

Is your feature request related to a problem? Please describe.
The current implementation doesn't allow for the image to be centered.  If there is a credit card image for example it is forced to stick at the bottom of the space.
Describe the solution you'd like
A way to show images centered in the space vs always pinned to the bottom.
Describe alternatives you've considered
Perhaps creating an auro-background component would be better.
Additional context
The current setup sometimes requires super large images in order for the to fill the desired space.  And with everything pinned at the bottom by default only images that have the focal point near the bottom or no focal point at all work well here.

Work on this update is postponed until the competition of a new auro-[image] element. The concept is that it's better to place all the image features into a nested element versus adding complexity to the auro-banner/cards elements.

When work is addressed, it is preferred that this and the following issues are added to a single PR.

https://github.com/AlaskaAirlines/auro-card/issues/24
https://github.com/AlaskaAirlines/auro-card/issues/23


Aave V3 Ethereum: Handle Strategic Assets

Changelog
Add upgradeable StrategicAssetsModule.
Add ability to set a strategic assets manager (multi-sig/EOA).
Add ability to stake in gauges the LSTs.
Add ability to lock LSTs in sd/ve type of tokens.
Rough draft AIP: https://hackmd.io/xINHBhn7RZeIrd6vPJkMxA
Open Quesetions
How do we handle swaps in this contract?
I've thought of two options: adding a dependency to "Curator" which is the following contract (coming next week):
https://hackmd.io/NBRsrBI0S3mO20chk1m7FQ
Option two, re write code to handle swapping using COW Swap on this contract so that rewards can be reinvested.
For example, receiving BAL rewards, swapping for 80BAL20WETH and re-locking using this contract.
Option three, relying on payloads where we send funds to the collector, then handle the swaps using curator and then re-sending here.
I think option 1 is the best but open for discussion.

@sakulstra this has been updated accordingly.

@brotherlymite updated
@sakulstra added a README with some references and explanations. hope this helps but happy to add more or jump on a call to discuss.

@brotherlymite alright, updated. good catch on those.

Alright, I've simplified the code to only handle veBAL on V1 of this contract. Because of this, I've not included a way to swap tokens. Tokens can be withdrawn and then swapped.
I'm not 100% on the withdrawERC20 method, maybe it can just extend rescuable and send to Collector only?

All interfaces missing NatSpec

@efecarranza why are you resolving stuff without making changes or commenting about why you are not making changes?

hey @Zer0dot thanks for the thorough review, I think I finally covered everything today.
there's some discussion around vlAURA https://docs.google.com/document/d/1eAdXUQuDdUU4CXgco1uEpPeAoVig91K3Al2mYg6v5MY/edit?usp=sharing
so not sure what's going to happen, but if anything, I'll open up a follow up PR with the code or a parallel PR with the code

@brotherlymite thanks for the review, i've updated all comments.
thank you

@Zer0dot @brotherlymite
i've addressed your comments. thank you!

@brotherlymite @Zer0dot last one, i promise.
updated the guardian address per: https://governance.aave.com/t/arfc-treasury-manage-gho-liquidity-committee/14914
also, should i move all of this into aave-helpers? like i did for the bridge and swap contracts?


A drop shadow effect for the svgs, or if possible use of react-native's elevtion

Feature Request
A drop shadow effect for the svgs would be very helpful, and if possible, the elevation style for the svgs. Because elevation is more accessible and easily implemented in react-native for adjoining views.
Thanks in advance.

The lack of shadow support forces us to resort to PNGs or Lottie

For me, it seems I can wrap the svg in a View, and then its shadow shows up on iOS.
I can't get an elevation shadow on Android though.


If the address and password in the config are not filled, the Interactive mode does not work.

https://github.com/gorcon/rcon-cli/commit/bb20762ce407e5271ef378e5d2cf6a251df78bba

will be closed with 0.4.x release

https://github.com/gorcon/rcon-cli/releases/tag/v0.4.0


incorrect OQSPROVIDER_VERSION_TEXT in 0.7.0 release

Describe the bug
After installing the 0.7.0 release, openssl list -providers shows:
  oqsprovider
    name: OpenSSL OQS Provider
    version: 0.7.1-dev
    status: active

This is due to https://github.com/open-quantum-safe/oqs-provider/commit/60417e9b7f6c2278e02969dc75ecb2fda845c778, which erroneously was included in the 0.7.0 release, it seems.

Hmm -- how did you test this? There was an error in the initial release but when I built right now against tag "0.7.0", the release ID is correct.

$ curl -L -O https://github.com/open-quantum-safe/oqs-provider/archive/0.7.0.tar.gz
$ md5 0.7.0.tar.gz
MD5 (0.7.0.tar.gz) = a82cb549c32c118139507f6fa72d7cff
$ tar zxf 0.7.0.tar.gz
$ md5 oqs-provider-0.7.0/CMakeLists.txt
MD5 (oqs-provider-0.7.0/CMakeLists.txt) = 18613ab96caba07c0dd00bee99f567b7
$ grep OQSPROVIDER_VERSION oqs-provider-0.7.0/CMakeLists.txt
set(OQSPROVIDER_VERSION_TEXT "0.7.1-dev")

Ahh, thanks for the description @jschauma . @praveksharma , was there a reason the artifacts of the release didn't get corrected (to also be) in line with the release tag?

Yes, confirmed that the release archive now has the right version in it.
However, this brings with it a problem: the release archive was changed, but the version hasn't changed.  This will trip up package management systems that verify archives against known checksums (e.g., NetBSD's pkgsrc).  It'd be ideal if any time a release archive is changed, its version number changes.  So you might e.g., include additional micro numbers or some other signifier to indicate to the user that this is a different archive from the previously published one (e.g., <IP_ADDRESS> or 0.7.0r1).

This will trip up package management systems that verify archives against known checksums (e.g., NetBSD's pkgsrc).

I see, this makes sense. @baentsch should we do a 0.7.2 patch release to avoid this and any other issues that may arrise due to the mistakes made in #534.

Yeah, that would work.  I have no strong preference for how you bump versions, but even though this seems like a cosmetic change, it might be easiest to just jump to 0.7.2 and then roll forward with every change.

However, this brings with it a problem: the release archive was changed, but the version hasn't changed. This will trip up package management systems that verify archives against known checksums (e.g., NetBSD's pkgsrc). It'd be ideal if any time a release archive is changed, its version number changes. So you might e.g., include additional micro numbers or some other signifier to indicate to the user that this is a different archive from the previously published one (e.g., <IP_ADDRESS> or 0.7.0r1).

+1 to this comment
I maintain the AUR package for Arch Linux and only now I noticed the checksum mismatch when setting up a new device.

@praveksharma as you volunteered doing a release fixing this issue, what about doing it now? The latest additions bringing the code in line with the different specs (IANA code points, Composite) IMO justifies, possibly even warrants, a release.

You may want to hold off a little bit, as IANA will likely still alter the MLKEM codepoints: https://mailarchive.ietf.org/arch/msg/tls/0mVA6kJugR5XhSjqLLhLUActjQM/

IANA code points have been updated and version information now also is correct in 0.8.0, superseding 0.7.0. Thus closing this issue. Please re-open with concrete improvement suggestions if you disagree @jschauma @ghen2 .


Integrate with git/hg

commit every time a simulation is executed
or changes in netParams happen -- update new version
allow going back to prev sim (commit)

@salvadord you might want to look at @apdavison's Sumatra before building anything yourself...

see https://gitlab.com/Solinas/GL_plasticity/blob/dev_ss/Start.py


Dependency Issues with Scipy and Pyaml-Include

We've got a few dependency issues in our current setup that have popped up this week. (Of course while David is on vacation :laughing: - classic). Keeping track of these along with the workarounds I'm using here.

The most recent Scipy update is causing errors all the way down to Jax somehow - it's not a new major version so a bit confused at that one:

Traceback (most recent call last):
...
10/site-packages/optax/_src/utils.py", line 25, in <module>
    import jax.scipy.stats.norm as multivariate_normal
  File "/home/wheld3/venv310/lib/python3.10/site-packages/jax/scipy/stats/__init__.py", line 40, in <module>
    from jax._src.scipy.stats.kde import gaussian_kde as gaussian_kde
  File "/home/wheld3/venv310/lib/python3.10/site-packages/jax/_src/scipy/stats/kde.py", line 26, in <module>
    from jax.scipy import linalg, special
  File "/home/wheld3/venv310/lib/python3.10/site-packages/jax/scipy/linalg.py", line 18, in <module>
    from jax._src.scipy.linalg import (
  File "/home/wheld3/venv310/lib/python3.10/site-packages/jax/_src/scipy/linalg.py", line 402, in <module>
    @_wraps(scipy.linalg.tril)
AttributeError: module 'scipy.linalg' has no attribute 'tril'

Workaround: gcloud compute tpus tpu-vm ssh tpu-vm --zone us-central2-b --worker=all --command "source venv310/bin/activate; pip install scipy==1.12.0

The most recent Pyyaml-Include update is causing errors in Draccus, Filed an Issue to track there: https://github.com/dlwh/draccus/issues/12

Workaround: gcloud compute tpus tpu-vm ssh tpu-vm --zone us-central2-b --worker=all --command "source venv310/bin/activate; pip install \"pyyaml-include<=1.4.1\""

I'm just working around these for now, since both are issues in underlying libraries. But I think it's also worth thinking about what level of version locking we should do on these?

Yeah I mean. I wouldn’t have locked scipy since it’s transitive. But we
should probably lock things down a bit more.
I remember seeing a pypi time travel tool a week or two ago
On Wed, Apr 3, 2024 at 9:03 AM William Held @.***>
wrote:

I'm just working around these for now, since both are issues in underlying
libraries. But I think it's also worth thinking about what level of version
locking we should do on these?
—
Reply to this email directly, view it on GitHub
https://github.com/stanford-crfm/levanter/issues/543#issuecomment-2035009299,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACLIM662PPXGHVIW45KH3Y3QR55AVCNFSM6AAAAABFVTKCQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZVGAYDSMRZHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

fixed in #545


Format of localization cues

Hi,
This is an interesting work. I am confused as to what format the contents of the localization_cues pickle file are in. I understand that datafile['id_labels'] contains a list of present categories, but what about the datafile['id_cues']? I also understand that you compute the foreground localization cues using CAM, but I am not sure about the format it is stored. If it is easy could you please share the code you used for creating the pickle file?

Hi,
In order to save disk space I use sparse format to store the localization cues.
Every column of "datafile['id_cues']" encodes the location (2nd and 3rd value) in an image, which was marked by a certain semantic class (1st value).
If you want to restore localization cues in a dense form you should something like this:
sparse_mask = datafile['id_cues']
dense_mask = np.zeros((21, 41, 41))  # dense_mask[i] represents segm. mask for class i
dense_mask[sparse_mask[0], sparse_mask[1], sparse_mask[2]] = 1.0


Update react components

Closes #378

What I did

How to test

Checklist

[x] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
[x] Make sure to add/update documentation regarding your changes.

Code Review OWASP Checklist (2)..xlsx

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


Creating PyPi setup file and sample examples directory

Coverage increased (+18.4%) to 60.797% when pulling c7b430752e3067d1eb22abd23d4e6d2c6f64e470 on dev into d075c7f30b24506a812412c41a89304978ab6acc on master.


Windows support

It seems like this is supported on Windows; has anyone looked at building this in Appveyor?

Hey @wesm, please review https://github.com/conda-forge/cyrus-sasl-feedstock/pulls
Cheers.

Hey, is there any chance this can be looked at again? I don't mind helping out with it, but it looks like you've done all the work in #13.


Information about the change in Camel 3.12.x

Information about the change in Camel 3.12.x

Thank you for your feedback! We’ll look into it and come back to you if we have any questions.

https://people.sap.com/robertfels


Add support for intellisense in experimental debugger

Support how?

Debugger protocol supports this today. Its upto the debugger adapter to return the completion items.
We could either perform something as dirty as dir on the objects (I believe PTVSD does this) or use Jedi (other IDEs seem to use jedi in the debugger to provide intellisense).


rasm.nc is not a valid NetCDF 3 file

Not sure if this is a duplicate of #1106 or something crazy that I'm doing....
I'm attempting to play with the xarray_multidimensional_coords.ipynb but I cant load the sample dataset.
Below are my versions (I just installed xarray using pip today)
('numpy version  : ', '1.11.2')
('pandas version : ', u'0.19.0')
('xarray version   : ', '0.8.2')
Pasting the full trace below
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-6-3af9bb5e86b6> in <module>()
----> 1 ds = xr.tutorial.load_dataset('rasm')
      2 ds

/usr/local/lib/python2.7/dist-packages/xarray/tutorial.pyc in load_dataset(name, cache, cache_dir, github_url, **kws)
     53         _urlretrieve(url, localfile)
     54
---> 55     ds = _open_dataset(localfile, **kws).load()
     56
     57     if not cache:

/usr/local/lib/python2.7/dist-packages/xarray/backends/api.pyc in open_dataset(filename_or_obj, group, decode_cf, mask_and_scale, decode_times, concat_characters, decode_coords, engine, chunks, lock, drop_variables)
    210                 store = backends.NetCDF4DataStore(filename_or_obj, group=group)
    211             elif engine == 'scipy':
--> 212                 store = backends.ScipyDataStore(filename_or_obj)
    213             elif engine == 'pydap':
    214                 store = backends.PydapDataStore(filename_or_obj)

/usr/local/lib/python2.7/dist-packages/xarray/backends/scipy_.pyc in __init__(self, filename_or_obj, mode, format, group, writer, mmap)
     94             filename_or_obj = BytesIO(filename_or_obj)
     95         self.ds = scipy.io.netcdf_file(
---> 96             filename_or_obj, mode=mode, mmap=mmap, version=version)
     97         super(ScipyDataStore, self).__init__(writer)
     98

/home/dokeeffe/.local/lib/python2.7/site-packages/scipy/io/netcdf.pyc in __init__(self, filename, mode, mmap, version, maskandscale)
    262
    263         if mode in 'ra':
--> 264             self._read()
    265
    266     def __setattr__(self, attr, value):

/home/dokeeffe/.local/lib/python2.7/site-packages/scipy/io/netcdf.pyc in _read(self)
    577         if not magic == b'CDF':
    578             raise TypeError("Error: %s is not a valid NetCDF 3 file" %
--> 579                             self.filename)
    580         self.__dict__['version_byte'] = fromstring(self.fp.read(1), '>b')[0]
    581

TypeError: Error: /home/dokeeffe/.xarray_tutorial_data/rasm.nc is not a valid NetCDF 3 file

You have to install netCDF4 in order to open the rasm dataset (at least until we convert the file to netCDF3 - this might take a bit).

Thanks for the fast response!! Yes that did it. All ok now. I'll close the issue.

When I do conda install netcdf4, it ends up downgrading my numpy from 1.12.0 to 1.11.3, which triggers other dependency-related problems in my code.  Is there a different solution to this problem?

Did you try the conda-forge channel to install netcdf4?
https://conda-forge.github.io/

Just did.  Got it to work.  Muchas Gracias.

My students / postdocs have been reporting lots of netcdf-related xarray issues recently. I think there are problems with the default anaconda distribution which we are not catching because all our tests use conda-forge.

On Apr 28, 2017, at 1:09 PM, chunweiyuan<EMAIL_ADDRESS>wrote:
Just did. Got it to work. Muchas Gracias.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Anaconda netcdf4 has just been flat out broken: https://github.com/ContinuumIO/anaconda-recipes/pull/89
Not sure how that's really an xarray issue, though.

Note that since https://github.com/pydata/xarray-data/pull/7 , the rasm file can be read with scipy only:
ds = xr.open_dataset('.xarray_tutorial_data/rasm.nc', engine='scipy')

I guess that @chunweiyuan downloaded the file before that change.
We recommend to use conda-forge in the docs, I don't think there's much more we can do.


refactor code to get option value from cli state

Prior to now, the logic for assigning an option value based on the
remaining arguments on the command line has been handled directly by
OptionParser. This refactor accomplishes two things:
1: Bringing two very similar procedures into a single method;
2: Placing them in an Option class that can be easily inherited.
This clears the way for users or plugins to easily address #549 without
affecting core code.

I was mistaken: I don't think this solves anything with respect to the linked issue.
It might lead the way toward a solution in core, but until that's fleshed out this is probably not worthwhile.

see #1230


Unable to load DLL 'OpenCvSharpExtern' in 4.2.0

Summary of your issue
Unable to load DLL 'OpenCvSharpExtern' or one of its dependencies: 找不到指定的模块。 (Exception from HRESULT: 0x8007007E)
Environment
.net core 2.2
windows 10
What did you do when you faced the problem?
//write here
using OpenCvSharp3-AnyCPU fixed the problem
Example code:
               var imgStream = new MemoryStream(imgBytes);
                //wrong on this code when using OpenCvSharp4
                var simg = Mat.FromStream(imgStream, ImreadModes.Grayscale);
                var thresholdImg = simg.Threshold(150, 255, ThresholdTypes.BinaryInv);
                var text = string.Empty;
                using (var engine = new TesseractEngine("tessdata", "eng", EngineMode.Default))
                {
                    engine.SetVariable("tessedit_char_whitelist", "0123456789abcdefghijklmnopqrstuvwxyz");
                    using (var img = Pix.LoadFromMemory(thresholdImg.ToBytes()))
                    {
                        using (var page = engine.Process(img))
                        {
                            text = page.GetText();
                        }
                    }
                }

Output:
引发的异常:“System.TypeInitializationException”(位于 OpenCvSharp.dll 中)
The type initializer for 'OpenCvSharp.Mat' threw an exception.
Unable to load DLL 'OpenCvSharpExtern' or one of its dependencies: 找不到指定的模块。 (Exception from HRESULT: 0x8007007E)
   at OpenCvSharp.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
   at OpenCvSharp.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
   at OpenCvSharp.NativeMethods..cctor()

What did you intend to be?

Duplicate issue (#818)


fix: init container logs

Fixes #2234

LGTM, make sure this is properly tested before merging. Thanks!


Support unicode character for initcap function

Which issue does this PR close?

Closes #13711.
Rationale for this change

What changes are included in this PR?

Support UTF-8 for initcap function.
Moved initcap from string module to unicode module.
Update docs.

Are these changes tested?
Yes, unit tests are included.

Are there any user-facing changes?
Yes. api change.

Thanks @tlm365 and @2010YOUY01 for reviewing


fix date param type map

https://staging.coda.io/d/Packs-IA-go-packs_d36WK4zgrYx/Bugs-Feature-requests_suyN0#Open-Bugs_tu6FU/r115
param type of date should be mapped to string when it's passed to execute method.
TypeMap was used by both params and results. but it seems like at the moment we are using ValueType for result type. TypeMap is only used to type PackFormulaResult which isn't precise anyway (it doesn't respect formula.resultType right now). So it looks like fixing param type of date doesn't have any further side effects.
I have no idea of the generated doc files. but they are generated in main.

Closing this one. Confirmed with Eric that no repro.

Fascinating. Do we have any theories on where the serialized formula params get converted back into Dates?

I spent some time reading the code but it was not clear to me where the conversion happens.

Oh here we go: https://github.com/coda/coda/blob/main/modules/protos/protos/helpers/calc_service.ts#L42
Looks like we marshal from the grpc request into JS objects based on the declared types. For v1 execution, those JS objects will be used as-is. For v2, your new marshaling will make sure a Date stays a Date.

ah, thanks for the quick find. I was searching for Date.parse lol
but I suspect it's also a Date for v1 executions. otherwise formulas like google calendar events sync would not be able to execute, see below (toISOString isn't a function on strings).
    execute: async ([dateRange, calendar, search, showDeleted, showHiddenInvitations, excludeDeclined], context) => {
      const [minDate, maxDate] = dateRange;
      const {continuation} = context.sync;
      const calendarId = await helpers.getCalendarId(calendar, context);

      const params = objectUtils.removeEmpty({
        timeMin: minDate.toISOString(),
        timeMax: maxDate.toISOString(),
        singleEvents: true,
        orderBy: 'startTime',
        pageToken: continuation?.nextPageToken,
        q: search,
        showDeleted,
        showHiddenInvitations,
      });

oh, maybe your code is pointing v1 executions using Date. ignore more previous comment in that case.

Yeah it's Date in both cases. Was just saying that after the proto value is marshaled to a Date, in the v1 case it stays a date because that post-marshaled value is used as-is when executed in the calc server. In the v2 case it stays a date because your new lambda marshaling code ensures that it does even while making the extra hops to lambda and IVM.

cool cool. thanks for explaining!


npm install reactstrap leads to warning

Issue description

version #4.8.0
components: reactstrap

Steps to reproduce issue
Try to install reactstrap as described on the website leads to warnings:
amirouche@ubudec:~/src/python/socialite/frontend$ npm install --save reactstrap react-addons-transition-group react-addons-css-transition-group
<EMAIL_ADDRESS>/home/amirouche/src/python/socialite/frontend
├── UNMET DEPENDENCY<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   │ └──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ └── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├── UNMET DEPENDENCY<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ └─┬<EMAIL_ADDRESS>  │   ├──<EMAIL_ADDRESS>  │   ├─┬<EMAIL_ADDRESS>  │   │ ├─┬<EMAIL_ADDRESS>  │   │ │ ├─┬<EMAIL_ADDRESS>  │   │ │ │ └──<EMAIL_ADDRESS>  │   │ │ └──<EMAIL_ADDRESS>  │   │ └──<EMAIL_ADDRESS>  │   ├──<EMAIL_ADDRESS>  │   ├─┬<EMAIL_ADDRESS>  │   │ └──<EMAIL_ADDRESS>  │   ├──<EMAIL_ADDRESS>  │   └──<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^15.3.0 but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^15.3.0 but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

Here is my package.json:
{
  "name": "socialite",
  "version": "0.1.0",
  "private": true,
  "proxy": "http://localhost:8000",
  "devDependencies": {
    "react-scripts": "1.0.10"
  },
  "dependencies": {
    "bootstrap": "^4.0.0-alpha.6",
    "immutable": "^3.8.1",
    "normalize.css": "^7.0.0",
    "react": "^15.6.1",
    "react-addons-css-transition-group": "^15.6.0",
    "react-addons-transition-group": "^15.6.0",
    "react-dom": "^15.6.1",
    "reactstrap": "^4.8.0"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject"
  }
}

Now npm start complains that there is no react-script :(

Otherwise it seems to work, I can include reactstrap component in my project. Tx!

Use the installation instructions found in the readme. Reactstrap is in the process of redoing the documentation on the documentation site. The latest version of reactstrap doesn't use the react addons.

Indeed it works correctly with the README information. tx!


Refactoring - Python Code Script

-Reading the Queries file and uploading the parameters and Queries in the NIFI
-update the processor properties in NIFI

This problem will be addressed in cQube v5.0.

This is considered in cQube v5.0


Create Website with examples

I styled a little the website. I still need to add the code of each example and the components' API.


[New Format]: ThorLab's tiff file

What format would you like to see added to NeuroConv?
In an attempt to convert the raw tiff data recorded from ThorLab's mesocscope, TiffImagingInterface raised an out of memory error, due to tiff file not being memory mappable. Moreover, there is no support for multichannel recording for this format. Multi-channel data are stored in one giant file whose frames are alternating between channels in a round robin fashion.
Does the format have any documentation?
https://suite2p.readthedocs.io/en/latest/inputs.html
Existing APIs for format
the data format is supported by suite2p, but I'm unaware of the libraries it uses to read the data.
Do you have any example files you are willing to share?
No response
Do you have any interest in helping implement the feature?
Yes.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Have you ensured this bug was not already reported?

This is the traceback from using TiffImagingInterface, which is raised after about an hour, way longer than expected for just reading the header files by a data interface module.
/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/roiextractors/extractors/tiffimagingextractors/tiffimagingextractor.py:60: UserWarning: memmap of TIFF file could not be established. Reading entire matrix into memory. Consider using the ScanImageTiffExtractor for lazy data access.
  warn(
Traceback (most recent call last):
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/roiextractors/extractors/tiffimagingextractors/tiffimagingextractor.py", line 58, in __init__
    self._video = tifffile.memmap(self.file_path, mode="r")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/tifffile/tifffile.py", line 1578, in memmap
    raise ValueError('image data are not memory-mappable')
ValueError: image data are not memory-mappable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mrabiei1/kishorelab-to-nwb/dev.py", line 11, in <module>
    interface_tiff = TiffImagingInterface(file_path=file_path, sampling_frequency=17.0, verbose=True)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/neuroconv/datainterfaces/ophys/tiff/tiffdatainterface.py", line 37, in __init__
    super().__init__(
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/neuroconv/datainterfaces/ophys/baseimagingextractorinterface.py", line 44, in __init__
    self.imaging_extractor = self.get_extractor()(**source_data)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/roiextractors/extractors/tiffimagingextractors/tiffimagingextractor.py", line 65, in __init__
    self._video = tif.asarray()
                  ^^^^^^^^^^^^^
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/tifffile/tifffile.py", line 4525, in asarray
    result = stack_pages(
             ^^^^^^^^^^^^
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/tifffile/tifffile.py", line 23060, in stack_pages
    out = create_output(out, shape, dtype)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mrabiei1/.conda/envs/kishorelab-to-nwb/lib/python3.11/site-packages/tifffile/tifffile.py", line 23205, in create_output
    return numpy.zeros(shape, dtype)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 272. GiB for an array with shape (60000, 1352, 1802) and data type int16

Hi, thanks for raising the issue. We will take a look into it.

So for some reason the memamp failed to occur. Let's work through https://github.com/catalystneuro/roiextractors/issues/352 to get a better error message that should inform us what's goin on. Question: Did you try the ScanImageExtractor as suggested in the warning?

I'm encountering the following error when using the ScanImageExtractor:
ValueError: ScanImage version could not be determined from metadata.

This makes sense because the data I'm working with was not recorded using MBF's microscope, so the metadata format is different.
Regarding the link in the roiextractor repo: I'm working with a TIFF file that's approximately 300 GB, which means it cannot be fully loaded into memory on most systems. The primary advantage of using memmap is that it allows for handling such large datasets without requiring the entire file to be loaded into memory.
Another issue is handling the multi channel recording. Slicing a memory map entails loading the whole slice to the memory, so even if we have a memmap for the tiff file it still wouldn't work.
Suite2p's approach to multiplane multichannel recordings is to split the data by channel and plane and saving them separately, resulting in each raw binary file having a shape of time by height by width. This structure effectively manages large datasets. After conversion, Suite2p can load data from these binary files using the BinaryFile class, which is a wrapper around a memmap.
Adding support for BinaryFile in neuroconv or the PyNWB API could provide a straightforward solution for users dealing with similar issues, especially for those working with large datasets like this.

Yeah, we aim to use memmaps as much as we can but the library that we use is failing to memamp your file as you clearly understood.
I think that hack that you pointed out is a good solution. It would be easy for us to create a memmap extractor in roiextractors and then you could use that to write your data to nwb with that wrapper. The implementation looks really simple Some question to clarify:

Do you have small in the binary format that of suit2p that we could use? After we do this in roiextractors we would like to have automated testing. If you only have big files I coulld show you how to stub the memmap so we can test on it.
Do you know the difference between BinaryRWFile and BinaryFile . The documentation of  Suit2P refers to a BinaryRWFile  but this is nowhere to be found in their code base

A separate discussion is on whether we would like something like suit2p does for ThorLab. They rely on the haussmeister code to do the conversion to binary, maybe using this code?
If we had a lot of resources we could probably look at the code base and build a better extractor directly form it. But meanwhile I think that the hack that you propose is a good workaround.

They have renamed the BinaryRWFile to BinaryFile.
For sample data, I'll message on Slack.

Thanks for the pointers.
Linking this as there is some progress but lacks data:
https://github.com/catalystneuro/neuroconv/pull/846


Completions not visible (packs installed, semiauto typing works)

Hi.
I installed Hacker's Keyboard (1.40.7 official) and completions pack (en and fr) from the Play store, but the completions are not showing up, the line above the keyboard stays desperately black.
I know the completions packs are detected, because if I enable semiautomatic typing, “Bonj” causes the space bar to light orange and pressing it completes into ”Bonjour”. Even though ”Bonjour” was never shown.

I have an older phone with version 1.41.1 custom from F-Droid and language packs from Play where it works. I tried on the new phone with the F-Droid version too, without success.

Pressing space actually select the first suggestion, it just that the suggestions row is broken on newer android version, making this issue technically a duplicate of #901

Thanks, I had not found this issue.


Used in Intranet

Add some Off-line JS and CSS...

Hi @VictorZeng ,
I really do not want to bring all of these files into the project that are static and we only use, but do not modify.  Please see the PR from @anjia0532 (https://github.com/Morningstar/kafka-offset-monitor/pull/18) where I stated that I would accept a PR that allows the URL for these components to be configured via a configuration file, but keeps the default (if you specify nothing) as the ajax.googleapis.com location. If you can submit a PR that does that, I will accept it. Thanks!

Hi @rcasey212,
The ajax.googleapis.com location can't be accessed in China.


middleware improvements in frontend

Which issue this PR addresses:
this is part of https://issues.redhat.com/browse/ARO-1724?filter=-1
This removes the function that returns a functions that returns a function that is really hard to understand, and diverges from the standard middleware pattern in go. This allows us to have a simpler design and will reduce the difficulty for gorilla removal and the reviews
the diff is not looking good because whole files lose a level of nesting. This overall simplify the middleware stack

Fixes
What this PR does / why we need it:

Test plan for issue:

Is there any documentation that needs to be updated for this PR?

the diff is not looking good because whole files lose a level of nesting. This overall simplify the middleware stack

I recommend reviewing this with "Hide whitespace" option on (git diff -w).


Service configuration

Services (such as yandex or mymemory) typically require an API key or other config information.
Need someway of storing this info and then giving the service access to it.

req.services.X, where X is a service use name, is an array containing all services for the use name; e.g. service.use.  The services are specific to the tenant.

A service is always passed its options (configuration) as the last parameter.  Here's a sample implementation of a translation service
var babel_fish= function (text, options) { .... }

babel_fish.details = {
    name: [{tag: 'en', text: 'HHGTTG babel fish translator'}],
    use: 'translation',
    enabled: true,
    home: 'http://hitchhikers.wikia.com/wiki/Babel_Fish',
    options: {
        towel: 'must have'
    },
};

module.exports = babel_fish;


TypeError raised in the IPython console when representing a RawArray.

I had this minor bug a couple of times already, and aside from being annoying, it's harmless.
When representing a created mne.io.RawArray in the IPython console, it raises a TypeError... before giving the correct representation.
import mne
import numpy as np

info = mne.create_info(['STI'], sfreq=512, ch_types='stim')
stim_ch = mne.io.RawArray(np.zeros(shape=(1, 1000)), info)

Call representation:
In[2]: stim_ch
Traceback (most recent call last):

  File "/Users/scheltie/Documents/pyvenv/neurotin/lib/python3.8/site-packages/IPython/core/formatters.py", line 345, in __call__
    return method()

  File "/Users/scheltie/Documents/pyvenv/neurotin/lib/python3.8/site-packages/mne/io/base.py", line 1763, in _repr_html_
    basenames = [os.path.basename(f) for f in self._filenames]

  File "/Users/scheltie/Documents/pyvenv/neurotin/lib/python3.8/site-packages/mne/io/base.py", line 1763, in <listcomp>
    basenames = [os.path.basename(f) for f in self._filenames]

  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/posixpath.py", line 142, in basename
    p = os.fspath(p)

TypeError: expected str, bytes or os.PathLike object, not NoneType

Out[2]: <RawArray | 1 x 1000 (2.0 s), ~14 kB, data loaded>

A normal Raw object loaded from disk does not raise any error:
raw
Out[4]: <Raw | 1-online-neurofeedback-eegoSports 000479-raw.fif, 67 x 135497 (264.6 s), ~69.4 MB, data loaded>

Just guessing that since stim_ch.filenames is equal to (None,), something breaks in the representation method of BaseRaw.

Never mind... should have run that on the dev version. It works, so probably already fixed. Probably in #9404.

Argh I thought we backported that but we didn't. If we end up wanting another point release before cutting 0.24 in early Nov then we should include #9404. Thanks for investigating @mscheltienne

@larsoner It might have been backported, I didn't check and the environment I was running was probably with 0.23.0.

I checked, it was not https://github.com/mne-tools/mne-python/blob/maint/0.23/mne/io/base.py#L1763


Attribute original name is not preserved after clone solves #443

Hi, this PR solves Issue #443

Sorry, I accidentally added another commit to this PR, closing this and creating a new clean one.


release: Add k8s compatible version to release notes

Include in the release notes the kubernetes version that
has been tested with the release.
Fixes: #235.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

Nice!
lgtm

/test


Install on Android 7

I have a gear-vrf based app on the store, it works fine with android 6, but now people are switching to android 7 it is not installing.
The app works fine when I install from Android Studio, but when installing from the store it gets a "Install failed for org.gearvrf.gvrmagX: UNTRUSTED_APK_ERROR." error, I have no idea why is, this a bug with the framework, or am I missing really simple for Android 7 installs?
I have attaches the error log.
error.txt

The only thing I'd imagine the framework could be doing is having something in the manifest. Other than that the framework has no chance of executing since the Oculus installer service is rejecting the apk before the installation. The manifest contents are:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.gearvrf"
    android:versionCode="1"
    android:versionName="1.0" >

    /**
     * Thanks to the manifest merging this permission will be automatically added to the
     * application's manifest. Yet another reason why we should be using AS and gradle exclusively.
     */
    <uses-permission android:name="com.samsung.android.hmt.permission.READ_SETTINGS" />

    <uses-sdk
        android:minSdkVersion="19"
        android:targetSdkVersion="24" />

    <uses-feature android:glEsVersion="0x00030000" android:required="true" />

    <application
        android:largeHeap="true">
    </application>

</manifest>

You can try removing the permission and the largeHeap.
It sounds like some kind of a certificate problem. Might be useful to try contacting the Oculus support. @thomasflynn may try to find out more about this error.

The framework Manifest is correct, I have contacted Oclulus just waiting for a reply. Just thought I would see if this bug has come up on other gvrf projects.

First time I am seeing it.

Here's a reply from one of our internal people, "I have no idea, the log seems to point to Oculus store preventing “untrusted apk..”?, something about missing provider info (maybe it needs to be defined on Android manifest) – purely guessing here."

Does this occur on all devices with Nougat?
Also, what's the name of your app?

It has failed on my device but I have reviews reporting it failing on other devices, the name of the app on the store is FotoFrezVR.
Also I was thinking the same about the manifest info but why would it still work on Android 6 and not 7?
It uses camera permissions, you think that could have something to do with it????

I doubt it since it installs fine through the Android installer when signed with the devkey. It must be something about Oculus. Some of the users mention having Facebook disabled and from personal experience I know that breaks Oculus. Will flash an N build and try it out.

send me an email offline at<EMAIL_ADDRESS>i have someone who wants to take a look at your apk.

I am seeing the same failure on N but have nothing more to say.

I am still waiting on a reply from Oculus, will update when it fixed, I don't think it will be a framework issue.

I think this might be related to your problem: http://stackoverflow.com/questions/37947323/google-play-shows-error-code-504-for-android-n-preview
I can directly install your apk on M devices but on my N this is the error I get from the Android package manager:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl305150639.tmp/base.apk: META-INF/CERT.SF indicates /data/app/vmdl305150639.tmp/base.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]

Talked to Tom, he thinks it's the same thing, but I can't get the fix to work. Does this build file look right to you?
`apply plugin: 'com.android.application'
System.setProperty("appName", "gvr-magVR")
if(file("../../common.gradle").exists()) {
apply from: '../../common.gradle'
}
else if(file("../../../../GearVRf-Demos/common.gradle").exists()) {
apply from: '../../../../GearVRf-Demos/common.gradle'
}
android {
defaultConfig {
renderscriptTargetApi 21
minSdkVersion 21
targetSdkVersion 21
}
signingConfigs {
defaultConfig{
v2SigningEnabled false
}
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
}

sourceSets.main {
    jni.srcDirs = [] // no auto generation of Android.mk
    jniLibs.srcDir 'libs' // pre-compiled libraries
}

}
dependencies {
compile 'com.android.support:support-v4:25.0.0'
}`

Hi, could you send me the apk to<EMAIL_ADDRESS>I would like to take a look also.

Hi @JacobLawtonClaro, I created a signed apk of GearVRf-Demos/gvr-simplephysics to compare the results of apksigner verify   with your apk.
$ apksigner verify -v app/gvr-simplephysics.apk
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Number of signers: 1

$ apksigner verify -v gvr-FotoFrez.apk
DOES NOT VERIFY
ERROR: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped?

I followed https://developer.android.com/studio/publish/app-signing.html #"Build and sign your app from command line"
then selected Android Studio ->Build ->Generate signed APK -> select your app module -> Choose existing key store(choose your private key generated by keytool) -> Fill passwords -> Next and Finish.
Could you try it?

Ok I tried that and it still does not install from the store, I ran akpsigner verify on the apk and got the correct result back, tested both manually signing and using Android Studio signing.

Please, send me both versions.
The version that akpsigner verify is returning the correct result and the other one downloaded from store ... I would like to check both.
Please send me each one in different emails because of my inbox limitations
<EMAIL_ADDRESS>Thank you.

I am not sure but the store may take a time to really publish the newest version

Hi @JacobLawtonClaro,
could you try disable v2 signing in your build.gradle file
See https://developer.android.com/studio/releases/gradle-plugin.html, in particular, v2SigningEnabled.
This looks necessary because the store is modifying your apk. You can check it just with a ls -l or checking the content of downloaded apk you will see a new file META-INF/oculus_prod.OSIG
So If you sign your APK using apksigner and make further changes to the APK, its signature is invalidated.
http://stackoverflow.com/questions/41391531/android-signing-apk-signature-v2
https://developer.android.com/studio/command-line/zipalign.html

I posted my build file above, with the
signingConfigs {         defaultConfig{             v2SigningEnabled false         }     }
but when I build it is still signed with scheme v2 is there anything obvious in the file that I should change?

@JacobLawtonClaro Might be a redundant question but are you using the 2.2.3 version of Android's gradle plugin?
Also according to the documentation
    signingConfigs {
        defaultConfig{
            v2SigningEnabled false
        }

    }

should be
    signingConfigs {
        config{
            v2SigningEnabled false
        }

    }

According to https://developer.android.com/about/versions/nougat/android-7.0.html#apk_signature_v2 it should be more like
  android {
    signingConfigs {
      release {
        v2SigningEnabled false
      }
    }
  }

I am using 2.2.3, I have seen the config style a few ways, I will try the two you posted, see if they actually disable the signing.

I have tried both ways and the apk is still being signed with scheme v2, I even tried it with one of the demos and that was still signed.

Are you using Android Studio to generate the signed apk?

Looks like AS is messing up the signing process. I tried with AS and always got the V2 signature.
Signing from the command line build worked. These are the changes I made to the gradle file:
android {
    signingConfigs {
        release {
            v2SigningEnabled false
            storeFile file("<full-path-to-your-store-file>")
            storePassword "<your_store_pwd>"
            keyAlias "<alias>"
            keyPassword "<key_pwd>"
        }
    }
    defaultConfig {
        signingConfig signingConfigs.release
    }
}

Then just run ./gradlew assembleDebug.

Hi all, v2SigningEnabled false hasn't  worked to me at AndroidStudio's apk build.
but  $ ./gradlew assembleRelease works fine:
$ apksigner verify -v ./app/build/outputs/apk/gvr-simplephysics.apk
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): false
Number of signers: 1

That worked!!!
It can be installed from the store, Oculus also finally got back to me they confirmed that they do not currently support v2 signing so until they do all projects that are going to be uploaded to the store should be signed the above way.
Thank you.

Awesome

@liaxim , let's add this to the wiki/faq

Added entry 15.

The Android Studio 2.3 update gives options for v1/v2 signing when building the APK, disabling v2 using this method works.


Add "Memorial Minutes" to documents section

https://www.morningsidemeeting.org/?q=memorial-minutes

Added the folder and the page to the site.  Still waiting on access to the documents.


Implement new endpoints for Tenant, Blueprint, Subscriber and Integration APIs

Closes #32
Closes #35
Closes #41

@mayorJAY Great contribution!
I would like to make a recommendation that going forward each one of these features such as blueprint, tenant api, etc be in there own pull request. This way we can better understand the change and know what pr changed a set of endpoints so we do not need to rollback everything.
Again thank you for all of your work!


Update version to 1.0.21-2 on master

Update version to 1.0.21-2

🚀 [Deployed](https://github.com/Expensify/Expensify.cash
/actions/runs/765130740) 🚀 to
staging on Mon Apr 19 2021 at 22:41:56 GMT+0000 (Coordinated Universal Time)

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


nixos/duosec: replace insecure skey option with secure secretKeyFile option

Motivation for this change
Waiting on https://github.com/NixOS/nixpkgs/pull/78902 to be merged.
I tested this with the ssh.enable option set to true, though I did not test with the pam.enable option set to true as I'm not clear on how that is supposed to be configured.
Things done

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

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

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

I just noticed this is against 20.03... will target 20.09.

@sdier I'm planning on merging this shortly. Any remaining concerns?

Summary:

I've done some final testing, all good :+1:
While storing a secret under /etc/duo with restricted permissions isn't perfect, it sure is better than storing a secret under /nix/store which is word readable
Existing user @sdier has no problems

So merge it is.

LGTM. Sorry I've been non-responsive, my routine has been very different lately.

No problems. Thanks for circling back, I appreciate it :tada:


Version 1.3 is not exporting types

Hi, I found out there are no types in v1.3 unfortunately. Difference between v1.2 and v1.3 https://tppr.me/DirPK

Thanks for the report and sorry for the mistake. Seems like the types are being exported to the wrong directory. I'll update the configuration.

Should be fixed in v1.3.2.


Cross-builds the project to support both Scala 2.11 and 2.12

In order to make it work, I had to:

update several dependencies, as the given versions weren't compatible with Scala 2.12,
add + to several SBT commands to have it actually cross-build,
fix a few 'unused local variable' warnings that had become errors in 2.12.

I also:

removed a duplicated verify command alias,
removed coverageAggregate from verify since it doesn't work the way it was set up, and the project isn't multi-module anyway.

I couldn't test publishing the thing because I don't have the credentials (and publishing to Maven Central is one hell of a test), but I did change it from publishSigned to publishLocal and I've observed that that at least works.

Cool! I'll pick this up later tonight and double check the SBT-commands and I'll do a test-publish just to make sure everything works.

I just successfully published both versions to the snapshots repository. Changes look fine to me, so I'll go ahead and release 0.1.3 from this branch before merging it.


How to know in which array dropped?

I'm writing a dorm mgmt website using ang2.  It will show couple of rooms of a building on the right panel, and students on the left.   When I drag a student over to one of the rooms, how can I know which room it's dropped.
This drag and drop api is awesome, but it seems to need to know the array name of the droppable.  What if the droppable belongs to a parent array.  How can I know which room dropped?
Thanks,
Kevin

In your case, the individual rooms would each be a droppable. Something like this:
<div droppable *ngFor="let room of rooms" (onDrop)="onItemDrop($event, room)">
   {{room.name}}
</div>

Notice how I have passed both the $event and the room  to the onDrop handler.
The student would be draggable with some dragData:
<div draggable [dragData]="student" *ngFor="let student of students">
   {{student.name}}
</div>

Now when you drop a student over the room you'll have the data on the onDrop event of the droppable:
onItemDrop(e: any, room) {
        //  e.dragData is the student & room is the one where it was dropped.
    }

Perfect!!!  It works!!! Thanks a lot

I want to share what I did in demo:  http://dorm2.azurewebsites.net/AcadSession/1
I haven't done user mgmt, so it may interfere if mutliple people test at same time.
Click on the dorm such as 1st Floor Female at top.   The dorm rooms will show.
On the left panel is accordion menu.  Don't worry about Chinese.  Basically category by grade and class.
The students with name like (F): female, (B): Boarding student, [107F]: assigned to 107F room.


libspnav: init at 0.2.3

The expression for libspnav-cube-example isn't referenced in all-packages.nix and thus can't be used. As it's just an example, is it really necessary? In this case it should start with lib as it's an executable, IMHO.

As it's just an example, is it really necessary?

it's at least very helpful to test if the 3D mouse works.

In this case it should start with lib as it's an executable

but it starts wit lib!? Or what is the point? How exactly should it be named?

but it starts wit lib!? Or what is the point? How exactly should it be named?

Personally, I would call it spnav-cube-example, but that's just be my preference. Do what you think is best. :)
Okay, let's keep it, just add it to all-packages.nix and I would merge this. Thanks.

Since the example is part of libspnav, why not add it to the main package and make it optional?

why not add it to the main package and make it optional?

I like that idea. I'll see if I can do that.

:+1:

Would you mind to review the change? Is there a better way to do it?

FYI: FreeCAD fails on travis because it takes too much time to compile:
The job exceeded the maxmimum time limit for jobs, and has been terminated

see log

I'd prefer splitting the cube example into a seperate derivation called spnav-cube-example referenced from all-packages.nix

@fpletz do you see any points that needs to be changed?

I'd prefer splitting the cube example into a seperate derivation called spnav-cube-example referenced from all-packages.nix

That's what it was first but now I can't see any advantage anymore.  So are there any reasons why you want to maintain a separate derivation?

That's what it was first but now I can't see any advantage anymore. So are there any reasons why you want to maintain a separate derivation?

Well, it's not intuitive to have to add a library to the system path to get the executable to test the device. If another program, like freecad or spacenavd depends on libspnav and the user adds this to this nixos configuration, the executable spnav-cube-example won't be in the path and thus won't be available to the user. It will, however, be part of the libspnav derivation and present in the nix store.
You could split those two up but refer to the same src and version. You can for example look at 03959d46165f49e6c3629cf1bf2a9ce0f6933de3 where I did this for whois because it's part of the source tarball of mkpasswd.
Another option would be to use another output for spnav-cube-example or the lib itself. For instance, look at xfsprogs.

Thanks for your feedback! I'll work on it next week.

(triage) @flosse any update?

@rasendubi It was a back and forth so I lost a bit the motivation :-\ So feel free to to finish it ;-)

Closing as abandoned.


Deneb: Add test cases to execution payload processing

Adds a couple of simple test cases I thought could be interesting.
I added a small comment of my understanding of the goal of the tests in this file, and based on that is what I thought was missing and added, but if this was a misinterpretation please let me know.
I'll try to think of more tests to add.

@djrtwo done!


test in sync mode to avoid COOP/COEP

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

Project coverage is 74.69%. Comparing base (6c6e7fa) to head (56b15f9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #239   +/-   ##
=======================================
  Coverage   74.69%   74.69%
=======================================
  Files           8        8
  Lines        1988     1988
  Branches      200      200
=======================================
  Hits         1485     1485
  Misses        496      496
  Partials        7        7

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


Layout Footer

This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Bug
Bug Report
Tried to apply "primary" color for td-layout-footer color="primary"
and the color remains grey, while applying to
td-layout-nav toolbarTitle="Title" icon="verified_user" color="primary" navigationRoute="/"
is making toolbar with correct primary color.

Closing dup of https://github.com/Teradata/covalent/issues/489
We'll get to it soon
(You could easily style with CSS until then)


SSL Mode

Currently there seems to be no way to connect to a heroku postgres db due to ssl mode. I tried adding the query param ?sslmode=require to the url but no luck. Any thoughts on how this might be accomplished?

Humm. We are not setting the ssl attribute (current configuration and example postgresql with ssl) to the db connection configuration.
We gonna need a new button in the interface to enable the SSL support and pass this configuration ahead until the sqlectron-core.
I guess I can take a look on this today.


Proof of SetHopField

@mlimbeck can you disable moreJoins for SetHopField and update this branch to master? I will try to merge this soon

To avoid this bit-rotting, I will now merge it. We can debug the perf. issues later


Test backup/restore (to verify elemental-operator#9)

Do we still need #9 ?
Please do a quick backup/restore test to verify if all Elemental resources are restored.

Yes it's still needed. @pgonin PR https://github.com/rancher/rancher/pull/39064 should be rebased and merge to have the backup/restore functionality.

New updated version: https://github.com/rancher/rancher/pull/40933, waiting for validation and merge.

rancher/rancher#40933 got merged today 🤯


Jupyter Notebook Freezes / Does not connect to renderer

Environment data

VS Code version:
Version: 1.86.2
Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
Date: 2024-02-13T19:42:12.210Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.2.0
Jupyter Extension version (available under the Extensions sidebar): Latest  / Pre-Realease / Previous (all tried)
Python Extension version (available under the Extensions sidebar): Latest / Pre-lease (all tried)
OS (Windows | Mac | Linux distro) and version: OS (14.3.0)
Python and/or Anaconda version: 3.10 / 3.12  (all tried)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Jupyter Notebook works / not frozen
Actual behaviour
Either Jupyter Ntb Freezes like this

Or does not load at all (just background color, no cells)
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Upon reinstalling, the render works for ~1 second and then it refuses to update. Eg print('test1') -> prints test1 -> print('test2') -> cell runs but text remains test1
print in a new cell print('test323') -> cell runs but no output shown
Logs
When trying this (is this the right thing?)

I get this:

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

I'm very sorry this issue didn't get looked at, some how it slipped through the cracks and out bot didn't assign this to anyone.
Are you still running into this issue?


added support for tus destination

Related to issue https://github.com/adritasharma/uppy-angular-library/issues/19
Adding support for tus destination.

Hello contributors @adritasharma @prezesp ,
Did you have a few minutes do look into this pull request?


inner section of donut sliced off when the last series item takes up more than half of the chart

reproduction link: https://codepen.io/zevdg/pen/qxXKZj
The easiest way to trigger this is to make a series with only 2 items where the 1st is smaller than the second.  I've illustrated it with more series items in the reproduction link

You're not using the default styles of chartist. The problem is that the chart should have fill: none;
.ct-chart-donut{
  fill: none;
}
.ct-series-a {
	stroke: blue;
}
.ct-series-b {
	stroke: red;
}
.ct-series-c {
	stroke: green;
}
.ct-series-d {
	stroke: violet;
}

oh thanks!  that makes sense.  still, wouldn't it be better if fill had a lower Z index then the other objects by default.  What if you DID want to give the fill (the center of the donut) a color?


Introducing flag to add a required builder constructor

Currently, the only enforcement of required properties in a struct is in the ".build()" final methods of the StructBuilder. This change adds a flag to build a struct builder constructor consisting of the required fields that have not yet been statically defined in thrift. This provides a compile time enforcement of required properties for a struct.
Additionally, to fully enforce the required builder paradigm, we need to add an option to get rid of the empty constructor within the builder. The combination of these two flags should create a struct that will always have its required properties populated in addition to the null validation on build().

Codecov Report

Merging #398 into master will increase coverage by 0.00%.
The diff coverage is 58.33%.

@@            Coverage Diff            @@
##             master     #398   +/-   ##
=========================================
  Coverage     61.38%   61.39%
- Complexity     1043     1049    +6
=========================================
  Files            84       84
  Lines          6710     6732   +22
  Branches       1011     1018    +7
=========================================
+ Hits           4119     4133   +14
- Misses         2251     2258    +7
- Partials        340      341    +1

Impacted Files
Coverage Δ
Complexity Δ

.../com/microsoft/thrifty/compiler/ThriftyCompiler.kt
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../com/microsoft/thrifty/kgen/KotlinCodeGenerator.kt
81.61% <100.00%> (+0.33%)
141.00 <2.00> (+6.00)

...n/com/microsoft/thrifty/service/AsyncClientBase.kt
55.55% <0.00%> (-1.39%)
7.00% <0.00%> (ø%)

...ain/kotlin/com/microsoft/thrifty/kgen/TypeUtils.kt
88.13% <0.00%> (+1.69%)
0.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

Hi, thanks for the contribution!  (also, nice to see another Outlook person these days :)
I have to say I'm not entirely clear on the need for the required-only-ctor feature; neither am I opposed to it, necessarily.  What sort of problem does this solve for you?
Regarding the omit-default-ctor flag, I'm sorry to say that this is not workable in its current form.  Currently, generated adapters depend on being able to initialize an empty Builder; take, for example, this snippet generated by the integration tests:

I think this is a fatal flaw for leaving out the default ctor, and possibly for the required-only ctor.  This extra ctor won't interfere with serialization, but it kind of loses its potency when the default one is also available.  What do you think?

Also, you may want to look in to the (undocumented, experimental) flag --experimental-kt-builderless-structs.  It would no doubt be a far-reaching code change, but it generated structs that have no builders at all - you literally cannot make an "invalid" instance, so far as required/optional/etc goes.

Hello! :)
Thanks for the explanation! The motivation behind the required constructor is to essentially do just that - allow the consumer to only create the struct by defining all the required fields. Apart from that, I do think it's valuable to still retain the Builder paradigm for optional fields, as that would be a cleaner initialization rather than potentially a long ctor with many null parameters. This stems from occasions where a change to a struct was not followed by a change on the consumer code that supply the required parameter, which isn't ensured at compile time :(
On the empty constructor - thanks for pointing that out, I totally missed that! The intention here was to steer all consumers to ONLY use the required constructor instead of being able to initialize the Builder without any properties. I'll remove the empty constructor flag, as it is fairly important.

This stems from occasions where a change to a struct was not followed by a change on the consumer code that supply the required parameter, which isn't ensured at compile time :(

Yikes.  In that case, since we'd still have the empty default ctor, what do you think about adding a warning-level @Deprecated annotation to the default ctor and redirecting folks to use the required one?  (Kotlin's ReplaceWith is really nice for that, incidentally: https://readyset.build/kotlin-deprecation-goodies-a35a397aa9b5)

Thanks so much for the contribution!

JFYI, you happen to have arrived at an inopportune time - I just made some pretty big changes that have not yet been released (specifically, thrifty is now Kotlin-first, and the runtime is 100% Kotlin too), and there's more work to do before we're in a shippable state.
More than that, the major 3.0.0 goal is to move to Kotlin MPP for the runtime and the Kotlin generated code.
All that to say, I have no idea when this might ship in a release build.

Got it. In my preliminary testing, things seem to work as expected, most of the infra depends on the kotlin gen, and that seems to work just like before (with some changes to the post processor due to the fact that the lib wasn't bumped for a while). For now, I have a custom build that takes in my change, but once 3.0.0 comes along, at some point in the future, we should be ready to take that in :)

Although if it is possible to make a snapshot drop of the current state of the repo, maybe as 2.1.2 or 3.0.0-RC, I can use that instead of my custom build. Either way, nothing urgent here

Uh oh, did I break the postprocessor?  I remember that being a tricky bit of code to write, so I'm sorry to have given you such work to do.
I'll see about a 2.1.2 release; that seems doable.

Oh no, not at all, most of the changes that were made were due to TypeName from KotlinPoet being bumped up and missing some properties that the post processing code relied on (like the asNullable method). Everything works wonderfully, it's a fantastic tool with killer extensibility! :)

Thanks for your patience; I've pushed 2.1.2 to Maven Central, and it should be available within the next hour.


How to do batch inference?

Hi. I managed to make your code work for inference with 1 image per GPU (so, batch-size of 1) with our custom dataset. Here is the code I am using:
        # get the labels
        tao_labels = []
        tao_file = open('data/tao/annotations/tao_classes.txt')
        for tao_name in tao_file:
            tao_labels.append(tao_name.strip('\n'))

        # create fake bdd100k data
        fake_data = []
        for i in range(len(img_files)):
            fake_label_dict = {'id': '00114122', 'category': 'car',
                               'attributes': {'Occluded': True, 'Truncated': False, 'Crowd': False},
                               'box2d': {'x1': 0, 'x2': 0, 'y1': 0, 'y2': 0}}
            fake_data.append({'name': img_files[i], 'labels': [fake_label_dict],
                              'video_name': 'imgs_fed_to_detector', 'index': i})

        # convert the fake bdd100k file to a coco file
        coco = bdd100k2coco_track([fake_data], True, True)
        with open(os.path.join(root_dir, session_name, 'fake_coco.json'), "w+") as f:
            json.dump(coco, f)
        cfg = Config.fromfile('configs/tao/qdtrack_frcnn_r101_fpn_12e_tao_ft.py')

        # set cudnn_benchmark
        torch.backends.cudnn.benchmark = True
        cfg.model.pretrained = None
        cfg.data.test.test_mode = True

        # build the model and load checkpoint
        model = build_model(cfg.model, train_cfg=None, test_cfg=cfg.get('test_cfg'))
        checkpoint = load_checkpoint(model, 'weights/qdtrack_tao_20210812_221438-b6bd07e2.pth', map_location='cuda')
        model = fuse_conv_bn(model)
        model.CLASSES = checkpoint['meta']['CLASSES']

        # provide your fake coco file to model
        model = MMDataParallel(model, device_ids=[0])
        cfg.data.test['ann_file'] = os.path.join(root_dir, session_name, 'fake_coco.json')
        cfg.data.test['img_prefix'] = os.path.join(root_dir, session_name)

        # where batch_size can be changed, currently I am keeping it to 1
        dataset = build_dataset(cfg.data.test)
        data_loader = build_dataloader(
            dataset,
            samples_per_gpu=batch_size,
            workers_per_gpu=cfg.data.workers_per_gpu,
            dist=False,
            shuffle=False)
        model.eval()

        tracks = []
        for i, data in enumerate(data_loader):
            with torch.no_grad():
                result = model(return_loss=False, rescale=True, **data)

            # get all detections
            tao_dets_of_all_categories = result['bbox_results']
            category_id = 0
            for tao_dets_of_specific_category in tao_dets_of_all_categories:
                for det_of_specific_category in tao_dets_of_specific_category:
                    x1, y1, x2, y2, conf = det_of_specific_category
                    x1, y1, x2, y2, conf = int(x1), int(y1), int(x2), int(y2), round(float(conf), 2)
                category_id += 1

            # get all tracks
            tao_tracks_of_all_categories = result['track_results']
            category_id = 0
            for tao_track_of_specific_category in tao_tracks_of_all_categories:
                for track_of_specific_category in tao_track_of_specific_category:
                    track_id, x1, y1, x2, y2, conf = track_of_specific_category
                    track_id, x1, y1, x2, y2 = int(track_id), int(x1), int(y1), int(x2), int(y2)
                    conf = round(float(conf), 2)
                    tracks.append([track_id, x1, y1, x2, y2, conf, tao_labels[category_id], i])
                category_id += 1

I tried to make it work with a batch size of 2 but I noticed there is no way to know which detection/ track inside the result value belongs to which image in the batch of images passed to the model as input.
Here is my understanding of what result = model(return_loss=False, rescale=True, **data) represents. Result is a dictionary that contains two keys: bbox_results and track_results. For both keys, the value is a list whose size is equal to 482 (the exact number of classes in the TAO dataset). So, as seen above in the code, I get this list and I iterate through each member of the list. Each member, when the key is bbox_result, is a numpy array with shape num_of_detections x 5 where num_of_detections is for the whole batch (?) and 5 because each detection is represented by the bbox coordinates and a confidence value. For track_results, this is num_of_tracks x 6 because you have that one extra value for the track id.
If my above understanding of the structure of results is correct, then it seems to me there is no way to assign a track or detection to a specific image in a batch. Is there a way to do that in the code sample I posted above? Thanks.

Hi, we only support an inference batch of 1 by now.
If you want to do the batch inference, you need to pad the input videos to the same length for collact, where you should modify this function.
I recommend you use the current API, but if you still would like to support it, I can help if you have more specific questions.


Login API bug?

Players have problems with activation and logging in.
This guy have ~700 GC as we can see and when he logging in ingame - it show 0 gc (AFAIK, didn't talked with him personally)
This and this  guys can't activate their accounts. Maybe they simply didn't activated them, but they was noticed how to do this.
I can't be sure that they do always right, but anyways I think you should be noticed. It could be because of new login API.

The GC issue can't be related to the new login API. GCs are still directly retrieved from the database.
And what do you mean with 'can't active their accounts'? Can't they validate their forums account by email? (first one already works now) Or do they receive an error when logging in ingame?

I don't have enough information yet, but it seems like many people have some problems. Sadly I can't provide more information.

Does this still happen?

Going to close it for now, reopen if it happens again


search list is deceiving

when I enter a search word into the text search box, I get a list.    testing instructions tell me to hit "enter" and then I see an even larger list with more choices.   this is very confuing and how would the user know to press "enter"?

The user would know because that's how nearly every search engine works

from google, to bing, to amazon, netflix, yahoo, metacrawler, duckduckgo, every search engine i can think of has the ability to hit enter to search more. Considering closing this one.

Bing doesn't even tell you to press enter.

No objection.   And hey..  Bing ain't That bad!
On May 26, 2016 3:41 PM, "Ryan Snodgrass"<EMAIL_ADDRESS>wrote:

from google, to bing, to amazon, netflix, yahoo, metacrawler, duckduckgo,
every search engine i can think of has the ability to hit enter to search
more. Considering closing this one.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ndoit/fenrir/issues/223#issuecomment-221973258

I'm closing this issue.


关闭接口时底层报错the read operation timed out

基于v5的okex_gateway报错截图如下:

现有的基于v3的okexo_gateway关闭时也有相同报错，截图如下：

Please try the latest version to see if this bug still exists.


Update bottlerocket release version and host containers

Issue #, if available:
#2399
Description of changes:

Updated bottlerocket version to latest v1.22.0
Updated bottlerocket admin container to latest v0.11.11
Updated bottlerocket control container to latest v0.7.15

NOTE:
Bottlerocket 1.27 VMWare variant is no longer supported from v1.21.0 onwards.
PR: https://github.com/bottlerocket-os/bottlerocket/pull/4079
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm
/approve

/test imagebuilder-1-27-presubmit

/lgtm


[Bug]: Some console error

On start up I see some console error:
...\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Button, please remove them: {'type': 'secondary'}
  res = original_IOComponent_init(self, *args, **kwargs)

If add-on will turn off error will disappear either.
version: v1.6.0
python: 3.10.11
torch: 2.0.1+cu118
xformers: 0.0.20
gradio: 3.41.2
checkpoint: [171c237b86]

Im not seeing that error. Are you on the latest version of the extension?

I have not been able to replicate the error. It appears to just be a warning and you could probably safely ignore it. That said I had a look through the code for anything referencing "type secondary" and removed the one occurrence. So update and see if it goes away.


Gamify me

This adds a long requested ability for admins to award special badges to projects, as well as an equally long awaited ability for all users to start an event if the site owners allow it. See #87 and https://github.com/dribdat/gamification for the inspiration.

Regular users can now start events with the option ALLOW_EVENT setting #231
Admins can add a "booster post" to a project with a pre-defined list of award types #7
The timeline now features icons relevant to the type of update (see screenshot)
Boosters are also shown next to the project name, linked to the log.
Admins can delete posts from the project log.
Slight reworking of the event header and footer layouts.

🚧  Work-in-progress 🚧

Requires manual SQL entry to deploy to an existing site:
ALTER TYPE activity_type ADD VALUE 'boost';
Icons are not responsive.
Boosters are not shown anywhere else in the project or profile.
Users cannot yet edit events they start.
#249

Codecov Report

Merging #260 (a4f7c6e) into main (77d9406) will decrease coverage by 0.17%.
 Consider uploading reports for the commit 6588aa0 to get more accurate results

@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
- Coverage   46.33%   46.15%   -0.18%
==========================================
  Files          29       29
  Lines        2780     2821      +41
==========================================
+ Hits         1288     1302      +14
- Misses       1492     1519      +27

Impacted Files
Coverage Δ

dribdat/aggregation.py
10.85% <0.00%> (-0.09%)
:arrow_down:

dribdat/user/models.py
58.44% <0.00%> (-0.93%)
:arrow_down:

dribdat/public/project.py
20.07% <26.92%> (+0.41%)
:arrow_up:

dribdat/public/forms.py
98.71% <100.00%> (+0.08%)
:arrow_up:

dribdat/public/views.py
55.76% <100.00%> (+1.31%)
:arrow_up:

Continue to review full report at Codecov.

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

Deployed and configured on meta for testing.

@loleg is the build fail something to worry about?

The interface to progress the projects has been slightly improved, and this guide created:

I've done a bit more final testing, tweaking - deployed to meta & schoolofdata for public testing.


Change camera angle with button

I'm trying to implement a button that changes the camera angle on click, but without success.
Should something like this be working?
function ButtonClick() { modelViewer.cameraOrbit = '1deg 2deg 3m'; }

<model-viewer camera-controls camera-orbit="calc(-1.5rad + env(window-scroll-y) * 4rad) calc(0deg + env(window-scroll-y) * 180deg) calc(3m - env(window-scroll-y) * 1.5m)" src="../../shared-assets/models/Astronaut.glb" alt="A 3D model of an astronaut"></model-viewer> try these. https://modelviewer.dev/examples/stagingandcameras/


Improve the documentation for logging

It would be helpful of the documentation included some common examples on how to leverage the logging.  For example, you are running one or more daemons that log to a file.  How best to configure syslog-ng to process these files and relay to docker via stdout.  Or maybe it is best to turn off syslog-ng and do something else?
Surely there is a best practice that could be suggested.

My assumption is we just have to dump a conf file in /etc/syslog-ng/conf.d but an example in the daemon section would be really helpful. Assuming of course that syslog-ng has a mechanism for doing this.  The docs for it imply it does but not sure.  Maybe something like this?
source s_myfile {
    file("/path/to/file.log" follow_freq(1) flags(no-parse));
};

log { source(s_myfile); destination(d_stdout); };

The previous example does work.  The only negative to it is if the logs are stored on persistent disk then every time the container starts the entire existing contents of the log get picked up again and sent to stdout.

The docs for syslog-ng say this:

The syslog-ng application notices if a file is renamed or replaced with a new file, so it can correctly follow the file even if logrotation is used. When syslog-ng is restarted, it records the position of the last sent log message in the /opt/syslog-ng/var/syslog-ng.persist file, and continues to send messages from this position after the restart.

Assuming you did not change the location of this file, if we did something to have that file be persisted outside the container then maybe it would not relog the entire file when the container restarts?  I wonder if we could symlink this file to a file in our logs folder which we mount to a volume?

You could probably also solve that by configuring your startup sequences to trigger a log rotate before starting syslog-ng. I'm not sure if that's a reasonable basis for log rotate, but it would prevent syslog from picking it up.

I actually got this working well.  I overrode the /etc/default/syslog-ng.conf to add startup options so that I could add the --persist-file option and have it store the file in a path that I have mounted to persistent storage.  Works great.

Thanks @markphip for sharing, I am sure this will come in handy for someone else as well.


Keyword arguments not used when resolving its documentation and tags …

…#3238
The code has been modified to resolve the arguments before executing the keyword. This required splitting the StatusReporter context manager so that any resolution errors could be put into the reporting context.
All tests have passed except Telnet tests.
New tests have been added for tags with parameters.

Codecov Report

Merging #3566 into master will decrease coverage by 1.76%.
The diff coverage is 78.38%.

@@            Coverage Diff             @@
##           master    #3566      +/-   ##
==========================================
- Coverage   74.21%   72.45%   -1.75%
==========================================
  Files         199      197       -2
  Lines       16466    16067     -399
  Branches     2653     2645       -8
==========================================
- Hits        12218    11640     -578
- Misses       3817     3957     +140
- Partials      431      470      +39

Impacted Files
Coverage Δ

src/robot/running/userkeywordrunner.py
58.05% <78.38%> (+0.69%)
:arrow_up:

src/robot/utils/encoding.py
54.91% <0.00%> (-29.41%)
:arrow_down:

src/robot/utils/unic.py
69.85% <0.00%> (-26.98%)
:arrow_down:

src/robot/utils/encodingsniffer.py
61.54% <0.00%> (-26.15%)
:arrow_down:

src/robot/running/runkwregister.py
68.75% <0.00%> (-25.00%)
:arrow_down:

src/robot/utils/robottypes.py
78.58% <0.00%> (-21.42%)
:arrow_down:

src/robot/utils/compat.py
58.54% <0.00%> (-19.51%)
:arrow_down:

src/robot/utils/robotpath.py
56.61% <0.00%> (-16.98%)
:arrow_down:

src/robot/version.py
55.56% <0.00%> (-11.11%)
:arrow_down:

src/robot/utils/etreewrapper.py
74.33% <0.00%> (-8.10%)
:arrow_down:

... and 68 more

Continue to review full report at Codecov.

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

I don't have time to really look at the PR now, but on a quick look it seems rather complicated. It actually seems so complicated that the functionality provided by it may not be worth the increased maintenance cost. This is especially true because in the next RF major version we plan to refactor execution side code and we most likely need to touch this code as well.

Oh well - it was fun trying. I had realized it was complex, which is why I deliberately tried to contain the change to one module and reduced the complexity from where I had started.
Maybe the acceptance tests can be used in the next release?
Also, when looking at refactoring, this code could be worth a quick look to help determine the issues that need to be addressed. It should be easier once python 2 no longer needs to be supported.

Codecov Report

Merging #3566 into master will decrease coverage by 1.82%.
The diff coverage is 67.79%.

@@            Coverage Diff             @@
##           master    #3566      +/-   ##
==========================================
- Coverage   74.21%   72.39%   -1.81%
==========================================
  Files         199      198       -1
  Lines       16466    16173     -293
  Branches     2653     2662       +9
==========================================
- Hits        12218    11707     -511
- Misses       3817     3986     +169
- Partials      431      480      +49

Impacted Files
Coverage Δ

src/robot/output/xmllogger.py
92.38% <40.00%> (-6.70%)
:arrow_down:

src/robot/output/logcontroller.py
66.67% <66.67%> (ø)

src/robot/running/userkeywordrunner.py
57.49% <74.36%> (+0.12%)
:arrow_up:

src/robot/output/logger.py
92.36% <100.00%> (-0.04%)
:arrow_down:

src/robot/output/output.py
87.50% <100.00%> (+0.84%)
:arrow_up:

src/robot/utils/encoding.py
54.91% <0.00%> (-29.41%)
:arrow_down:

src/robot/utils/unic.py
69.85% <0.00%> (-26.98%)
:arrow_down:

src/robot/running/runkwregister.py
68.75% <0.00%> (-25.00%)
:arrow_down:

src/robot/utils/encodingsniffer.py
63.08% <0.00%> (-24.61%)
:arrow_down:

src/robot/utils/robottypes.py
78.58% <0.00%> (-21.42%)
:arrow_down:

... and 74 more

Continue to review full report at Codecov.

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


Value of minMultiplicity

Value of minMultiplicity can only be set as 0 during public preview. Is there a plan to allow it be set as other number than 0 after GA since there is an example showing it can be set as 1?

Thanks for your question about minMultiplicity. For DTDL v2, minMultiplicity will be required to be set to 0. I will leave this issue active until we get a chance to update the docs.


Google Colab Notebook Run Failing

The Google Colab with no modifications currently fails.
On the command: !bash gcloud.local.run.keras.sh $MILDNET_CONFIG
This is the output:
job_configs/mildnet.cnf
WARNING: The `gcloud ml-engine` commands have been renamed and will soon be removed. Please use `gcloud ai-platform` instead.
WARNING: Unexpected tensorflow version Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'version'
, using the default primary node name, aka "master" for cluster settings
<subprocess.Popen object at 0x7feb32f6f990>

The training job itself is never kicked off, and the future commands, naturally, fail. Any help diagnosing this problem would be greatly appreciated.

Special thanks to @gofynd and Anirudha Vishvakarma sir for providing such a easy-to-use github repo. Even, We're getting same output when working on colab,  May we request for your kind help to deal with this ?
Output is
job_configs/mildnet.cnf
<subprocess.Popen object at 0x7fd800121890>
Thanks in advance
Have a nice day


Does this support RTL layout\app?

Does this library support RTL Layout or App?

back button not reversed
+1

+1

override back drawable with rotated one  will fix this issues
ic_action_navigation_arrow_back.png
ic_action_navigation_arrow_back_inverted.png
and the hint string
ابحث هنا

also can use this
https://github.com/abbas-oveissi/MaterialSearchView
from @abbas-oveissi


Does not work with app.century.tech

The extension currently doesn't work with the website app.century.tech, please make it work with it

I'm only planning on adding functionality for sites I have access to with a personal account. For obvious reasons, the code is open source if you want to add any further additions


Allow loading of already-compiled binaries for local compiler-explorer

It would be useful if one could load an already-compiled binary. For my case, I have a binary that consists of many source files and copying the files into the webinterface is very time consuming. If I could just upload the source files I am interested in, and provide the pre-compiled executable and have the nice source<->asm coloring, that would be really cool.

Hi! What do you mean by an already-compiled binary? Compiler Explorer works on source, not binaries.
You can upload a single source file with the little disc icon on the editor.
Compiler Explorer is not a reverse engineering tool - it can't map arbitrary compiled binaries back to source. It's limited by the debug information output by either the compiler (in its normal mode), or else using the debug information recorded in the binary (when doing binary mode).

I thought because it already can associate assembly-lines back to source lines (using debug informations?), it should be able to know also the file name that the assembly-line comes from (filename:sourceline). So I imagine it could "simply" omit the compilation-process and let me pass the result-executable. With its assembly-lines <-> sourcefile:sourceline association features which it gets from the debug information, it should be able to color the source lines aswell, of any files I upload.
So if the executable consists of 100 source files, but I'm only interested into looking-up the assembly for a single source file "foo.cpp", I can pass it the generated executable, and paste only "foo.cpp". And it would color the part of the disassembly that belongs to "foo.cpp"'s source files.
It wouldn't have to decompile back to source.

I see. Ok, for 99% of Compiler Explorer's output I parse the text output of the compiler. There's no binary, no disassembly, and I use the handy .line directives in the assembly output.
For "binary mode" (the terrible 11010 icon), I do actually compile and link, and then run objdump on the executable. This would probably work work your setup, however it's not something I'm planning on adding myself; handling large binary uploads, and objdumping them adds complexity. We'll keep this bug open though as a feature request!
If you'd like to spike something out yourself, the code is in the https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/asm.js#L235 binary parser here, and the binary flag triggers the run of objdump here: https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/base-compiler.js#L453

I'm going to close this, as I don't think it's part of the remit of Compiler Explorer, and is better served by other decompilers/disassemblers (gdb for example!). If however you have other ideas on improving this, or pull requests, I'll happily consider them!