Including quota_definition_guid in /billable_events is expensive

The /billable_events endpoint includes a quota_definition_guid field. That field is included by doing a LEFT JOIN with the orgs table. That seems to take >3 seconds for a large organisation. This field seems to only be actually used by hacky code in the paas-admin reports, and could be cheaply done by a new API endpoint.
https://github.com/alphagov/paas-billing/blob/master/eventstore/store_billable_events.go#L192-L193

This join has actually been removed to fix a separate bug - should we close this issue?

The field in question was removed by https://github.com/alphagov/paas-billing/pull/75


MAIN - adds storybook-addon-a11y

Hello @Weetbix and @lanwen!!
Since lately I have the feeling we want to take care of accessibility its a good start to have this little addon that with minimum effort on our side can provide us with some accessibility tests on our vivy components!!
What a time to be alive!

Warnings

:warning:
Missing reviewer - Looks like this pull request is missing a reviewer. That's OK as long as this PR is still a 'work in progress', if that is the case please add 'WIP' in the PR title or corresponding label.

Messages

:book:
✅  Get a 🏆 for adding description on this PR. - Celebrate on every step!

  Generated by :no_entry_sign: dangerJS against b756d22d8422cb5705d28c9c1a5c792712fd6d75

@dependabot-bot rebase

right, will take care of this!

Warnings

:warning:
Missing reviewer - Looks like this pull request is missing a reviewer. That's OK as long as this PR is still a 'work in progress', if that is the case please add 'WIP' in the PR title or corresponding label.

Messages

:book:
✅  Get a 🏆 for adding description on this PR. - Celebrate on every step!

  Generated by :no_entry_sign: dangerJS against dcea586850131977489cc53ad0330f2daf25af10


about train？

i train my own datasets, and download the pretrained_weights of 'mscan_b.pth', can you explain to put the weights_file to which place? Thanks very much! my command is : python  /tools/train.py local_configs/segnext/base/segnext.base.512x512.tusimple.160k.py  --load-from pretrained/mscan_b.pth
but occur some error which is showed in the follow picture!

You need to put the pre-trained weight under the corresponding folder.

You need to put the pre-trained weight under the corresponding folder.

And You need to load the pre-trained weight by changing local_configs/segnext/base/segnext.base.512x512.tusimple.160k.py like other configs.

i change the weight's path in code of' local_configs/segnext/base/segnext.base.512x512.tusimple.160k.py' like the first picture,

but when i train my dataset, the result is showed like the second picture , is very Irregular. emmm, thank you very much for bothering you for my question ！

my data has only 2 classes(background and road_line), in my opinion, the dataset_config should be correct! thanks very much.

ooo, thanks, maybe this is a cause, but if i need to consider the background based the dataset ade20k, and i can modify where code ?

thanks   i have found the error   and   it has been trained normally, the reduce_zero_label should be False in my dataset config


Enforce/Migrate db timestamp columns to without timezone

Added migration to change timestamp with time zone column type to tim…stamp without time zone
Added a local eslint plugin to complain each time a table column of timestamp with timezone type is created
Resolve L2B-2779

@antooni Supported activity schema also.


Added ReinforceGamma and fixed dpnnbigtest.Reinforce()

While I've edited dpnnbigtest.Reinforce() to conform to the current implementation of VRClassReward, I still don't understand it fully. The tests pass, but I'm not sure if comparing the reward and baseReward here is valid, or if its an artifact of how VRClassReward used to work. If you have time, it'd be great if you could give me a quick description of what's going on in the test, and/or compare it to the test I described in #52.

@ssampang This PR looks awesome. You did a great job with the buffers and unit test. And thanks a million for fixing dpnnbigtest.Reinforce. To answer your question, yes your test is valid :
            if reward*0.7 > baseReward then
               converged = true
               break
            end

Basically, it poses the question : is the baseReward lesser than 70% of reward after training? i.e. did the reward increase sufficiently to demonstrate that the Reinforce module has produced valid gradients? Since the VRClassReward criterion does not produce gradInputs for the output layer, i.e. Linear + Softmax, then the only way for the model to learn to maximize reward is through the Reinforce module's generated gradInputs. Which are back-propagated to the input layer (first Linear), which is the only one that can adapt its parameters.
Only one thing left : documentation for the README.

I guess I haven't faced this issue yet because I haven't observed the behavior of my model when the stochastic flag is off, but should I be outputting the mean of the distribution when the stochastic flag is set? The gamma distribution is parametrized by a shape and a scale variable, and the mean of the distribution is defined as shape*scale. Right now, I'm just outputting the shape, but I think it makes more sense to output the mean.

I changed the output to equal the mean on stochastic=false. It passes all the tests, so I pushed the changes, but I can revert if you think its necessary.

@ssampang Looks perfect. Great PR. Thank you!


[new-parser] Support ISO 8601 format for duration attribute's value

Parent issue

#5678

Failing tests
None. Discovered accidentally.
Notes
Add a new test to org.drools.drl.parser.antlr4.MiscDRLParserTest. Related to #5937. Two options:

Develop a lexer rule that defines a token for ISO 8601 durations or reuse https://github.com/antlr/grammars-v4/tree/master/iso8601 (if 0BSD is compatible with ASL 2.0). Use the token in the attribute rule in DRLParser.g4.
Make the attribute rule less specialized and use the chunk rule for the duration attribute's value. This is the behavior of the old parser's intOrChunkAttribute method.

Rule code snippet
rule R
  duration ("P1DT1M")
when
end

Error output
N/A.

/take

This is a part of https://github.com/apache/incubator-kie-drools/issues/5972


move_and_collide yields inconsistent results when moving overlapping StaticBody3D

Hi! This one is kind of weird to explain so i made a little video plus the reproduction files.
I noticed that, when using jolt, a simple trace down was failing sometimes. After battling with it a lot i been able to isolate it.
Notice how, when i press play, the body is usually reporting the collision with the floor.  as soon as i move the upper body, it stops registering nothing. If i move it again it goes back.
https://github.com/user-attachments/assets/bf4102ca-d5c6-4899-8c6c-3907fc503785
This is a much of a "reproducible" setup as i was able to make. But this happens in my project under seemingly aleatory reasons just as in this demo. The thing it confuses me is that it seems to be a perfect "On off" every time i move it.
I confirmed that this behavior is not present in Godot physics.
Reproduction project:
(The 25 mb file size makes impossible to provide the reproduction project, as jolt + a script + a scene is already over that size in a .zip)
I have to provide the MRP without jolt. Please, add the last stable version.
joltbug.zip

Excuse the double post, but just confirmed that this doesn't happen in 0.12.0 stable.

Excuse the double post, but just confirmed that this doesn't happen in 0.12.0 stable.

I haven't had a chance to look into this, but are you saying that you were able to reproduce this in 0.11.0-stable but not in 0.12.0-stable?

Excuse me. I meant that is reproducible on the latest version (0.13.0) but not in the one before (0.12.0), so the problem has probably been introduced in the latest release.

Ah, that makes more sense. I'm not sure why I didn't read it as such. I'll take a look.

It does seem like this has something to do with the fact that you're moving a StaticBody3D. If you change Box3 to instead be an AnimatableBody3D you'll find that the collision is consistently reported.
Intuitively this makes some kind of sense to me, since the physics engine should be free to make all kinds of assumptions about a static body never actually moving, but the symptoms presented here are undoubtedly quite strange none the less.
I'll need to take a closer look at some later time as to what exactly is happening and whether this is a bug or just how it has to be. There have been other cases where Jolt has shown discrepancies with Godot Physics when it comes to moving static bodies, so I suspect this might just end up being another one.

Thank you for looking into it. I'm using an static body because i usually create my own character systems. As you can't directly inherit PhysicsBody3D and AnimatableBody3D already has some things i wouldn't like to interfere(It's thought as far as i know for platforms and similar things that try to apply impulses to other stuff). So the choice leaves me with StaticBody3D, which because it has all the movement methods minus the character related stuff thought would be a good choice. I'll keep and eye here, if this is how it must be, then i should probably open an issue pointing to the fact that we will not have a movable basic node to extend from in the future when we fully rely on Godot-Jolt.
Thank you for your time Mihe.

As you can't directly inherit PhysicsBody3D and AnimatableBody3D already has some things i wouldn't like to interfere(It's thought as far as i know for platforms and similar things that try to apply impulses to other stuff). So the choice leaves me with StaticBody3D, which because it has all the movement methods minus the character related stuff thought would be a good choice.

If you only want the absolute bare minimum of a kinematic body, you can do what AnimatableBody3D is doing already, which is inheriting from StaticBody3D and then overriding the body's motion type (or "mode") with PhysicsServer3D.body_set_mode(self, PhysicsServer3D.BODY_MODE_KINEMATIC) somewhere during its construction. It'll differ from StaticBody3D in the sense that it will actually have a linear/angular velocity when moving around, but frankly if you're actually colliding with other bodies you likely will want this anyway, since the collision response is somewhat odd/undefined otherwise.

if this is how it must be, then i should probably open an issue pointing to the fact that we will not have a movable basic node to extend from in the future when we fully rely on Godot-Jolt.

For what it's worth, this is somewhat of an issue in Godot Physics as well, where StaticBody3D won't always properly interact with things like Area3D because they're assumed to not be moving around much, or at the very least assumed to not be used for those types of gameplay elements. I wouldn't consider StaticBody3D a basic movable body in Godot Physics.
Frankly, I wish that KinematicBody3D hadn't been removed from Godot 3 and that instead it was made into exactly this, a bare minimum kinematic body, and that AnimatableBody3D and CharacterBody3D would inherit from KinematicBody3D instead. The fact that AnimatableBody3D inherits from StaticBody3D is somewhat strange to me.

Hi, adding on to the above response.
I'm currently writing a custom engine module to deal with some similar issues as yourself.
So far, I've been able to get desired "total control" behavior from making a physics body 3D extension class, and in the constructor setting its mode to MODE_KINEMATIC as mihe mentions above. This is actually what CharacterBody3D does internally anyway:
VirtualBody3D::VirtualBody3D() : PhysicsBody3D(PhysicsServer3D::BODY_MODE_KINEMATIC) {... rest of ctor
The setup is extremely minimal, and perhaps can be offered as a custom build (as I don't think this could be merged reasonably into Godot itself. But hey, you can always try a proposal to re-implement a "neutral" interface.


Update to examples: with-redux

Hello Next.js,
I’ve added an additional example to “With-Redux” and updated some of
the original code to help illustrate to less experienced developers
how to implement Redux with Next.js.
The added example is a simple counter to help reinforce how the client and
server renderings work together. In addition, I've also updated some of the
redux boilerplate code to help fully demonstrate how redux can be
implemented when using is with Next.js
Cheers,
Spencer

Close it in favor of #1813


Relations are not persisted

relations-mikro.zip
Looking in the database, createdBy is not populated.
[query] insert into Thing (createdBy, id) values (?, ?) [took 0 ms]
Just null is put there.
(This is also a perfect example of where logging parameters would be nice.)

This is also something lacking in the documentation. selects are documented, but inserts are not... which is part of why I think this bug snuck by.

Can you please publish that project on github so I can browse the code online? Or ideally post snippets here directly.

This is also something lacking in the documentation. selects are documented, but inserts are not... which is part of why I think this bug snuck by.

Persisting is documented here: https://mikro-orm.io/entity-manager/

General persisting is documented, but reference persisting is not. ALL of the examples use find. There isn't anything that does a persistAndFlush().
https://mikro-orm.io/entity-references/
https://github.com/mikro-orm/mikro-orm/blob/dev/docs/entity-references.md
https://github.com/mikro-orm/mikro-orm/blob/dev/docs/reference-wrapper.md

The point of reference is that this works automatically, it behaves just like an entity (but has only PK).

https://github.com/lookfirst/mikro-example

[query] begin
[query] insert into `Person` (`id`) values (?) [took 0 ms]
[query] commit
[query] begin
[query] insert into `Thing` (`createdBy`, `id`) values (?, ?) [took 1 ms]
[query] commit
[query] select `e0`.* from `Thing` as `e0` where `e0`.`id` = ? limit ? [took 1 ms]

TypeError: Cannot read property 'id' of null
    at Context.<anonymous> (test/index.spec.ts:37:40)

I am sure, once again, that I'm doing something stupid. =)

Well this looks like a bug indeed, Reference creates PK getters in its constructor (so you can do ref.id if your PK is id), but they are not working when computing the change-set...

I glanced at the tests and didn't see anything like this. =(

Ok found it, strange that tests were fine... Might be some dependency difference (the problem is that cloned entity reference failed to have the PK getter). God knows, will send a fix soon and publish new alpha.

confirmed fixed!


can not open Outlook

Environment
Windows build number:[Version 10.0.19033.1]
PowerToys version: 14
Only with/since version 14!
Steps to reproduce

open powertoys
open Outlook Office 365 MSO (16.0.12130)

Expected behavior
Outlooks open
Actual behavior
outlooks hang on a black screen and several (unknown) windows are open in Taskmanager but are not really visible

beaviour reproducible
Kill outlook, exit Powertoys an reopen Outlook => Outlook open correct
Close outlook, start Powertoys, reopen Outlook => Outlook can't start

Same here
Windows Build: 10.0.18363 N/A Build 18363
Outlook Version 1909 (Build 12026.20344)
PowerToys 0.14.
It doesn't produce any window when you put Outlook to the exclude list.

I also had this issue. I also had issues with chrome when a site would open a popup window it would not render correctly in google chrome.
Chrome:  78.0.3904.108
Windows: 1909 Build 18363
Outlook: 1909
PowerToys:  0.14

Same issue with slack. Uninstall the latest release and reinstall v13.

I'm seeing it also for other application which are snapped. I can avoid this by disabling the setting Move newly created windows to their last known zone.

Same issue with Edge Beta and MemoQ 9.1. "Move newly created windows to their last known zone." also fixed this completely.

I'm seeing the same with this latest version (14). Noticed first in Outlook in Office Pro Plus 2019, as well as Chrome and Discord. Windows 1909, build 18363.476.

@KiwiGonzales @SirHenryIII @Riiskyy @DOFfactory @orlando2bjr @rothgecw
thank you for reporting the issue.
Please verify if in the FancyZones settings, the Move newly created windows to their last known zone option is ON, if it's ON please turn it off.
That may solve the problem.
Thanks.

@KiwiGonzales @SirHenryIII @Riiskyy @DOFfactory @orlando2bjr @rothgecw
thank you for reporting the issue.
Please verify if in the FancyZones settings, the Move newly created windows to their last known zone option is ON, if it's ON please turn it off.
That may solve the problem.
Thanks.

I had this same issue with microsoft teams as well as acrobat reader.  Tried changing that setting and it made it worse.  Now acrobat reader refuses to show up on the screen.  Just opens a background task that needs to be killed in task manager.

@masonlee01
turning Move newly created windows to their last known zone OFF, did it work for Microsoft Teams, or it is also not opening as Acrobat Reader?

I'm not sure on Teams.  The issue on teams seemed to crop up when I
switched to task view and then back.  It would lock up the application &
mess with the title bar.  I downgraded to v13 and that seems to fix the
problem.
On Tue, Dec 3, 2019 at 11:48 AM Enrico Giordani<EMAIL_ADDRESS>wrote:

@masonlee01 https://github.com/masonlee01
turning Move newly created windows to their last known zone OFF, did it
work for Microsoft Teams, or it is also not opening as Acrobat Reader?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/840?email_source=notifications&email_token=AKPWETRSIUXLKGPXFTLANE3QW2LWJA5CNFSM4JUUA3YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF2HMHQ#issuecomment-561280542,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKPWETQ5QR6ZHWVENGV66OTQW2LWJANCNFSM4JUUA3YA
.

@KiwiGonzales @SirHenryIII @Riiskyy @DOFfactory @orlando2bjr  @rothgecw @masonlee01 could you try our new DLL and see if the problem persists. Here are the instructions and the download link.

@bzoz , thank you. The new DLL seems to have resolved the issue for me. I appreciate the help!

@rothgecw
thank you for taking the time to test the fix, this is really helpful.
Thanks.

@bzoz problem solved for me too. Thanks!

@bzoz New (significantly more minor) issue:  Outlook reminder windows are now resized too. Not sure if other applications' secondary windows will be affected.

@rothgecw thanks for the report, can you give this DLL a spin?

@bzoz Yes, that seems to have resolved that issue now too. I'm not currently seeing any unexpected behaviors at this time. Thanks so much!

Thanks for your feedback!

Was going to report the same behaviour. DLL solved it for me as well. Thanks

The new release is available https://github.com/microsoft/PowerToys/releases/tag/v0.14.1


Design System > Version 8.3.3 > Component and layout > controls > error is showing after clicking on "+" or "-" sign

Describe the bug
Error is showing after clicking on "+" or "-" sign
Steps to reproduce bug
1.Go to 'https://dev-react.raaghu.ai/?path=/story/layouts--nexus&args=children.ref:!undefined'
2. Navigate to 'Component and layout > controls'
3. Click on + and - sign
Actual result-
Error is showing after clicking on "+" or "-" sign
Screenshots

Expected result-
Error should not show after clicking on "+" or "-" sign

Had a discussion with @Ketan-Khalate; he recommended changing some configuration to resolved this issue.


abusehelper.bots.archivebot.csvarchivebot depends on deprecated abusehelper.core.archivebot

This issue blocks pull request #24.
abusehelper.bots.archivebot.csvarchivebot should be either deprecated or changed to use for example abusehelper.bots.archivebot instead.

abusehelper.bots.archivebot does not really have extension points for that (like the old abusehelper.core.archivebot did).


feat(adapter-session-redis): use namespaces + one client

Breaking-change:

Use only one redis client and leverage usage of namespaces on keys, add options to change namespace as needed.

Note:

I copy the current underlying implementation of the adapter, meaning that:

AUTH_DUPLICATE_SESSION_ID is not thrown when a session id is already in use.
AUTH_INVALID_USER_ID can't be thrown since this adapter isn't aware of the users in the database.

Needs changes to documentations and examples if needed, I'll do that tomorrow :)

I've fixed the issue with AUTH_DUPLICATE_SESSION_ID + update the doc.

I've added a new app exemple with svelte-kit to demonstrate the usage of the redis-session-adapter.

I am fixing typing errors when using the adapter-session-redis (see example):

I'm closing this since the latest Redis adapter uses a single client. Thanks for pushing the change though!


6.0: [IRGen] Deadends don't need dealloc_pack_metadata.

Explanation: Fix a false-positive assertion failure for variadic generics.
When a SIL instruction involving variadic generic types is lowered, pack metadata may be allocated.  As an optimization, that metadata is allocated on the stack.  To correctly nest these on-stack pack allocations, there are matching alloc_pack_metadata and dealloc_pack_metadata instructions.
To catch issues with bad nesting, some verification is run in asserts builds during IRGen.  This patch corrects a false positive that was being flagged by that verification.
Specifically, the verification was checking that for any alloc_pack_metadata instruction for which metadata was indeed allocated during IRGen that there was at least one matching dealloc_pack_metadata instruction which would clean it up.  Such a cleanup instruction need not and does not exist, however, if the alloc_pack_metadata is in a "dead end block" (all paths passing through the alloc_pack_metadata instruction end in unreachable--caused, for example, by a call to fatalError()).  This patch adds a check for whether the alloc_pack_metadata instruction is in a dead end block and does not require there to be a matching dealloc_pack_metadata if so.
Scope: Affects asserts builds only.  Affects variadic generic code.
Issue: rdar://125265980
Original PR: https://github.com/apple/swift/pull/73191
Risk: Very low.  Only affects asserts builds.
Testing: Added regression test.
Reviewer: Arnold Schwaighofer ( @aschwaighofer )

@swift-ci please test


Best practice: Transform js object to QR code

Hey there,
I am trying to convert a classic javascript object to a QR Code.
var car = {type:"Fiat", model:"500", color:"white"}
My current approach is to take each value and create one long string, which i handover as "byte"
value={[{ data: 'Fiat#500#white', mode: 'byte' }]}
Is there a more elegant way? I would like to read the data via another phone and get the object.
Thanks in advance!

I'm not sure that I've got you right about what you want to do, but perhaps you're asking for in the wrong place because this package it's only responsible to read generated QR code's and not to generate them, and as your problem looks describe that you're just trying to generate a QR code it doesn't to be related to this package at all. So probably you'll gonna have better support by asking for that in the library that you're using to that, like this one https://github.com/soldair/node-qrcode.
So, just for tracking reasons and to keep it up-to-date with their real status, I'll gonna be closing this one. However, independently of this been closed or not, I'll try to help you with that anyway.
So, can you tell me which component with such a prop value that you're trying to use to create a QR code to be read? Is this one https://github.com/awesomejerry/react-native-qrcode-svg?

Sorry, I have meant to post this issue in https://github.com/awesomejerry/react-native-qrcode-svg.

great @ASchwad, let me know if you've experienced any issues around this package, or even to any other related to that


Balance timeline zooming sensitivity between Firefox and Chrome

Resolves #2768.
If this will behave nicely, consider extending the same logic to #2787.

This still has a large discrepancy in sensitivity between FF (lower) and Chromium (higher) for me.
A line-to-pixel ratio in the area of 35 puts it at about the same sensitivity. This would be roughly double what you suggest so maybe there is some fast-scrolling setting in effect for your env (https://stackoverflow.com/a/37474225 suggests that Windows uses 2x).

@rndstr After reading about this more, I came to conclusion that any attempt to balance the cross-browser sensitivity perfectly is futile because it will always depend on the platform and some special settings.
Although we seem to be using very similar browsers/environments, line-to-pixel ratio for you seems to be 35px while for me it's 15px. I changed it to 25px in the code and I'd say that if the real sensitivity on browsers will be +/- 50% from that value, that will still result in a good UX.


Lightning interface to Selenium testing

Hi guys,
is there any option of testing WebPages running "Lightning app" within HTML element "canvas" like this one:
https://sky.live.tv-apps.radioplayer.org/
by using Selenium testing framework?
Does Lightning App release on one or another way access to all visible elements, so that one can use it to send key events like one get used by using Selenium framework?
Basically one have no idea how to detect if some "html element"/"lightning elements" like button selection are available at page or not in order to make some decision/navigation based on that.
Kind regards,
Milan

@frank-weindel so far I understand that would mean that inspector has to be enabled during application development, right ?
If one have no access to the application code and do testing as "black box" how would it be possible to access any element within canvas/lightningJS App? Any idea ?

@milan-de If you are able to at least inject code onto a page that runs a Lightning app, you should be able to insert the Lightning Inspector yourself.
You'd want to include the JavaScript source of the inspector:
https://github.com/rdkcentral/Lightning/blob/master/devtools/lightning-inspect.js
And then copy it to call attachInspector(window.lng)

Hey @milan-de
You should be able to add the code by running it in the console.
But the problem is that after the app has loaded calling attachInspector will do nothing.
Essentially, we have to do this before the app is launched and canvas is loaded.
You should find a clue here.
Good luck!

Thanks @imtiaz101325 that is giving me enough clue how to start and I am greatfull for that. On other side this is going more into hacking and twisting it to any other use then originally meant then productive using it. Not even originaly purpose is clear to me. I must be too old but before it was not that important at file header to write copyrights but purpose and some basic setup/functional description of it. I guess it is not for me at this moment at least. Thanks @imtiaz101325, @frank-weindel anyway as I learn some new stuff already.


RuboCop: Final newline missing error

Using haml-lint 0.26.0 I got the RuboCop: Final newline missing error. I've isolated the error to appear from a simple haml file with a %table.
ex.
#some_report/show.html.haml
%table

^That alone creates the above error. I've run the above in 0.25 and it passes fine, so the issue must have been introduced in 0.26.

I can't reproduce this on either v0.25.0 or v0.26.0. Could you see if you can write a test to reproduce?

Hi, I had the same issue and discovered that I had the following entry in my .haml-lint.yml:
linters:
  RuboCop:
    ignored_cops:
      - Style/TrailingBlankLines

Which was renamed to Layout/TrailingBlankLines by rubocop.
Since I had it in the ignores already I guess it never worked for me in the first place.

@wintersolutions Thanks, that looked like it fixed it.


Slow loading thumbnails from Magnific Popup Beta-5.20

Hi,
Have a issue with the last beta version slow loading thumbnails from a Magnific Popup Gallery.
If you PM me I can give you the link to the web page.
Can't make a Code Pen from the page it's to complicated.
Regards & Thanks,
David

just write me an email

I did! Regards David


clang: error: no such file or directory: 'src/libportaudio.a'

I'm getting the following error:
clang: error: no such file or directory: 'src/libportaudio.a'

Originally, the install was yelling about other Por Audio files, which I copied into the src folder and it stopped yelling at me. Now, this is the current error, but I can't find that file. What am I doing wrong?

Sorry, I was downloading the Github source, not the release, so I didn't get the libportaudio.a - I got the files I need from the release zip file.
I haven't been able to get my sound prefs to show the audio input when it's plugged in yet. Running MacPPM yields the following:
Usage: macPPM [-t(est) -c(hannel)] [sample rate]
 current sample rate: 96000

2017-09-14 17:15:22.853 macPPM[6999:5666443] Error loading /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter:  dlopen(/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter, 262): Library not loaded: /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
  Referenced from: /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter
  Reason: image not found
2017-09-14 17:15:22.853 macPPM[6999:5666443] Cannot find function pointer New_JackRouterPlugIn for factory 7CB18864-927D-48B5-904C-CCFBCFBC7ADD in CFBundle/CFPlugIn 0x7fe0e3d00be0 </Library/Audio/Plug-Ins/HAL/JackRouter.plugin> (bundle, not loaded)

Unable to create HID device - hope that it exists already.
BuddyBox:	Initializing.
Unable to send message to HID device.
Unable to send message to HID device.
Unable to send message to HID device.
Unable to send message to HID device.
BuddyBox:	Input Timeout.
BuddyBox:	Disconnected.
BuddyBox:	Initializing.

Hi Tom,
My first guess is that it has something to do with the JackRouter plugin since a quick google search yielded lots of similar errors.
Unless you need it for something else you could try uninstalling it. System prefs normally always show the line input, also if nothing is connected.

On 15.09.2017, at 00:19, Tom Greever<EMAIL_ADDRESS>wrote:
Sorry, I was downloading the Github source, not the release, so I didn't get the libportaudio.a - I got the files I need from the release zip file.
I haven't been able to get my sound prefs to show the audio input when it's plugged in yet. Running MacPPM yields the following:
Usage: macPPM [-t(est) -c(hannel)] [sample rate]
current sample rate: 96000
2017-09-14 17:15:22.853 macPPM[6999:5666443] Error loading /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter:  dlopen(/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter, 262): Library not loaded: /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
Referenced from: /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter
Reason: image not found
2017-09-14 17:15:22.853 macPPM[6999:5666443] Cannot find function pointer New_JackRouterPlugIn for factory 7CB18864-927D-48B5-904C-CCFBCFBC7ADD in CFBundle/CFPlugIn 0x7fe0e3d00be0 </Library/Audio/Plug-Ins/HAL/JackRouter.plugin> (bundle, not loaded)
Unable to create HID device - hope that it exists already.
BuddyBox:	Initializing.
Unable to send message to HID device.
Unable to send message to HID device.
Unable to send message to HID device.
Unable to send message to HID device.
BuddyBox:	Input Timeout.
BuddyBox:	Disconnected.
BuddyBox:	Initializing.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I used
$ brew install portaudio
and I found the necessary libportaudio.a in:
/usr/local/Cellar/portaudio/19.6.0/lib


7.3.0 breaks display on Safari

Sent from PPHub For GitHub

It works after reverting to @b01d8258ccadf2541790a55b87ab69c8945eb908

sorry I comment at a wrong place


A Beginner's Guide to Nonlinear Optimization with Bisection Algorithm

A Beginner's Guide to Nonlinear Optimization with Bisection Algorithm
Proposed article introduction
The Bisection method is one of the simplest and most reliable iterative methods
for the solutions of non-linear equations. This algorithm is mostly used to optimize complicated non-linear Optimization function (cost functions) in deep learning (a sub-field of Machine Learning that uses a neural network to learn from data). Bisection method, also known as Binary chopping or Halfinterval method, relies on the fact that if f(x) is real and continuous in the interval a<x<b, and f(a) and f(b) are of opposite signs, such that,
f(a)*f(b)<0, then there exist at least one real root between a and b. This means there may be more than one root within this interval. Given the initial interval that contains the root, the Bisection Method works this way:

First, partition the initial interval [a,b] into two sub-intervals [a,x_0] and [x_0,b] where x_0 is the midpoint of the initial interval. This is done using the formula:
x_0 = (a+b)/2

Evaluate the function f(x) at x_0.

We then consider three cases in determining the root or the new interval containing the root we are looking for.

If f(x_0)=0, then x_0 is the required root.

If f(x_0) is less than or equal to zero, i.e., is negative, then f(x_0) and f(b) have opposite signs. Therefore, the new interval will be [x_0,b].

If f(x_0).0, then the opposite signs for the most closes x points is between f(a) and f(x_0). Therefore, the new interval containing the root is [a,x_0].

Now;

If case one occurs, the bisection process is terminated since the root has been found.
If either case $(2)$ or $(3)$ occurs, the process is repeated until the root is obtained to the desired tolerance.

In this article we will look exact how this algorithm work, solve some optimization function using this it, state it's advantages and disadvantages and later learn how it is implemented in python.
Key takeaways
By the end of the session, the learner is expected to, comfortably, be able to:

Theoretically, explain how the Bisection method works.
Explain what Zeros of a polynomial function are.
Perform the Bisection Method by hand. We will come out of the theoretical world and work on a real-world example in this session.
Determine the number of iterations required to obtain the root of a polynomial function prior to performing the Bisection Method.
Outline the main shortcomings of the Bisection method and have an idea of the related algorithms that address these problems.
Implement the Bisection method using the Scipy library in Python.

Article quality:
Most of the tutorials online focus a lot on the theory behind the Bisection method, and in comparison, less effort is put into the implementation. The articles that implement this algorithm are usually very shallow on the intuition making the beginner very unfriendly with the content. This article will provide complete content where the learner can learn the theory behind the Bisection algorithm and at the same time implement what they have learned.
Since it will be a two in one article, we will try as much as possible to be straight to the point but without sacrificing the quality of the content. So, the simplification of the content and in-depth coverage of the topic are two elements that will grant this article a uniqueness among all other articles already in place on the same topic. Furthermore, the clarity of the implementation session, i.e., highly explained code snippets, will add value to this article.
References
N/A

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Nice topic @Daniel695 - Approved.


Support excluding resources out from packaging into support bundle.

Arg --exclude-resources (env SUPPORT_BUNDLE_EXCLUDE_RESOURCES)
accepts a comma-separated list of <resource-name>.<group> qualified
name of resources. Mainly serves to exclude matched resources out from
packaging into support bundle.
At this moment, only secrets resource is excluded by default.

@bk201 Could you help release a new version?

v0.0.5 is published


Error when deleting workspace

What is the current behavior?
Sometimes, deleting a workspace fails.
Request:

Error stacktrace:
2022-10-06 12:15:01,574 ERROR    [orchestrator_api.py:101] error deleting workspace 'www'
Traceback (most recent call last):
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/orchestrator/orchestrator_api.py", line 98, in delete_workspace
    self._delete_category_models(workspace_id, category_id)
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/orchestrator/orchestrator_api.py", line 341, in _delete_category_models
    for idx in range(len(workspace.categories[category_id].iterations)):
AttributeError: 'NoneType' object has no attribute 'iterations'
2022-10-06 12:15:01,575 ERROR    [app.py:1455] Exception on /workspace/www [DELETE]
Traceback (most recent call last):
  File "/Users/martin/opt/miniconda3/envs/label-sleuth-test/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/martin/opt/miniconda3/envs/label-sleuth-test/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/martin/opt/miniconda3/envs/label-sleuth-test/lib/python3.8/site-packages/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/Users/martin/opt/miniconda3/envs/label-sleuth-test/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/martin/opt/miniconda3/envs/label-sleuth-test/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/authentication.py", line 32, in wrapper
    return function(*args, **kwargs)
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/app_utils.py", line 36, in wrapper
    return function(workspace_id, *args, **kwargs)
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/app.py", line 246, in delete_workspace
    curr_app.orchestrator_api.delete_workspace(workspace_id)
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/orchestrator/orchestrator_api.py", line 102, in delete_workspace
    raise e
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/orchestrator/orchestrator_api.py", line 98, in delete_workspace
    self._delete_category_models(workspace_id, category_id)
  File "/Users/martin/Documents/GitHub/label-sleuth/label_sleuth/orchestrator/orchestrator_api.py", line 341, in _delete_category_models
    for idx in range(len(workspace.categories[category_id].iterations)):
AttributeError: 'NoneType' object has no attribute 'iterations'

What is the expected behavior?
The workspace should be deleted.
Steps to reproduce the problem:
Call the /delete_workspace endpoint.

This issue has been solved.


[ModInstaller] section issues

I'm trying to enable the automatic mod control from patch 244.3 and arkmanager seems to core dump when I include the ModIDS in the Game.ini file. If I remove/comment out that section and/or disable the option to -automanagedmods then everything loads fine. Is there a conflict created within ARK by listing the mods in the GameUsersettings.ini as ActiveMods, or is this something from Arkmanager? I noticed that, when I leave the command line option, automanagedmods, in but have the ModInstaller section empty, the Game.ini file is rewritten and that section header is deleted and empty space is removed.
22:40:29: Server PID: 21245
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
LowLevelFatalError [File:G:\SVN_Ark\Engine\Source\Runtime\Core\Private\Linux\LinuxPlatformProcess.cpp] [Line: 652]
FLinuxPlatformProcess::WaitForProc: waitid for pid -1 failed (errno=22, Invalid argument)
Signal 11 caught.
/usr/local/bin/arkmanager: line 670: 21245 Segmentation fault      (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
22:40:34: Bad PID ''; expected '21245'
22:40:34: exited with status 0

You need to extract steamcmd into $arkserverroot/Engine/Binaries/ThirdParty/SteamCMD/Linux when using the -automanagedmods option.
1.6 (which I am hoping to release soon) will do this for you.

Thanks! Implemented this and it seemed to correct the issue.


Feature/1071 retry

Nice to have: we have too many System.out.println(..), should replace them by log4j.

Duplicate the PR


Add a License

All open-source projects should have a LICENSE. Here we can use MIT or GPL

We do have a license

Oh my bad. Didn't see


[PIZ37] UI bugs and refactor header

Solves ui bugs and refator the header to make it reusable

 PIZ37 - UI bugs and refactor header


Do a deep clone if the 'at' tag is used

The depth tag can conflict with the at tag. A shallow clone may not include the commit/branch/tag specified with the at tag. To avoid confusing users, this PR ignores the depth - forcing a deep clone - when the at tag is used.
Steps to reproduce
To reproduce this issue, specify a shallow clone and an use the at tag with a commit/branch/tag that is not included in the shallow clone. You will get an error zplug install. For instance:
export ZPLUG_CLONE_DEPTH=1  # Shallow clone for other plugins.
zplug "shvenkat/oh-my-zsh", at:"plugin/shrink-path", use:"plugins/shrink-path/*.zsh"
zplug check || zplug install
zplug load

Thank you for your contribution!

Thanks for zplug! Love it :)


update dependencies versions + txtRecord object structure changed

fixes #5

Need merge please :)

Hi @rtrompier,
Are you asking me to bump the main package.json version as part of this PR? 🤔
As of the "merge" I don't get it, could you please explain what you expect (if you expect anything, that is 🤷♂)
Thanks 😎

@ghostrick can you please merge this PR and push a new version to npm Thanks a lot.
@doppelganger9, mon message est pour l'admin du compte. J'ai également besoin de ce fix. Merci.


Items/mobs need to roll stats upon creation given a min-max range and their respective level.

merged.


Allow composer to install dev libraries during development

During development, it is sometimes necessary to install development-only libraries. This change allows the developer to install libraries that will not be included in the final build of an extension. I believe it does not change anything about the development flow or command line options.

There is an issue with node build --copy. It removes the vendor directory in the extension, which is problematic. I'm looking into it.


Add a new role to provision mobile core on rhpds

Motivation
This will allow us to provision mobile core on the OpenShift instances that are created by RHPDS.
To verify:

Provision a openshift instance from RHPDS (can use this one: ssh -i ocp-workshop.pem<EMAIL_ADDRESS>I will email you the private key)
SSH into the workstation, and run the following command:sudo bash
git clone https://github.com/wei-lee/mobile-core.git
git checkout aerogear-mobile-role
ansible-playbook installer/rhpds-playbook.yml

When it is finished, the mobile tab should be available in the catalog

@johnfriz @maleck13 can you take a look?

@evanshortiss FYI. can you try this as well if you have a RHPDS workshop

@wei-lee worked perfectly for me 👍Will provision a few services and play around with it.

error: update acceptor rejected jenkins-2: pods for rc 'showcase-test/jenkins-2' took longer than 600 seconds to become available looks like the CI/CD service is struggling to get started, this might be a resourcing issue though since I chose just a single user vs multiple.

@wei-lee @evanshortiss - Am seeing the same thing. Have tracked it down to the fact that we are requesting a 40GB volume and the rhpds system only provides 10GB volumes (it gives 100 of them, but they are all only 10GB).
After patching one of the volumes with oc patch pv/vol1 -p '{"spec":{"capacity":{"storage":"40Gi"}}}', I can install the Mobile CI/CD Service. Suggest we add this to the apb so no manual steps are required. Maybe flag it ina . param so it can be set to only run when installing on rhpds. Either that or we drop the pvc to 10Gi - not sure why we would need 40Gi in the first place.
However, I am still getting an error on provisioning: https://gist.github.com/johnfriz/55f28eb2f476c00b24e11db76c890c2f - have not got to the bottom of this one yet...
cc @maleck13

Hi @wei-lee,
This PR is opened for a while. Is it something that still required for the installer? Should we move forward here? If yes, could you please update it with the master? If not, could you please close it?

@witmicko am I right to say that master already supports provisioning on RHPDS?

@wei-lee just to let you know that it worked for me, same issues with mobile ci/cd though

@pmacko1 thanks. Did you mean master branch?

@wei-lee no, i checked out aerogear-mobile-role.

@wei-lee it needs to be rebased with the master? Could you do it? Also, please let us know if it still an required change

@camilamacedo86 I am not sure if this PR is still required, as I think @witmicko might have these changes in master via another PR. I am just waiting for @witmicko to confirm.
@witmicko can you confirm if the master is already capable of provision on rhpds?

Hi @wei-lee, will this eventually work for the new release as well (data sync)? We are using rhpds for docs review. Thanks !

bump.
is this still valid? docs team have problems setting the cluster up locally, so this is quite ideal for verification. Will mdc and data sync support this? @wei-lee @maleck13 @camilamacedo86

This project is deprecated. Closing the PR.


State of this gem

What is the state of this gem? Is there are still anyone supporting it?

@joelparkerhenderson my draper work for 4.2

I would like to contribute if needed

Me would like to contribute too :elephant:

I would also be interested in helping out if it's needed !

is there any way to access wrapped class  from decorator class?

I would like to maintain part-time. Maybe helping an official maintainer.

If you would like to be a maintainer or help to maintain, just start doing that by looking through issues and PRs.

I'd like to contribute as well. :)

There are already a lot of PRs and nobody cares :(

@marshall-lee can you suggest an examples?

@jcasimir should we put back the PR #647 again?

For anyone coming across this, there will be a release of Draper very soon with support for Rails 5 and 5.1. I have made it through the majority of open pull requests and am working through the issues as we speak. I plan to continue to maintain the gem going forward.


Plan for rebalancing cluster load during k8s scaleout

K8s only rebalances reactively. To get the most out of our cluster scale out on 10/22, we should proactively rebalance the cluster.
The rebalance will be during a maintenance window, so some customer downtime is tolerable, but we should avoid it as much as possible. We also don't need to be perfectly balanced - just enough to take the pressure off the old, heavily-loaded nodes.

opened 18F/cg-scripts#102


fix(ingest): pin great-expectations dependency to fix profiling error

Issue raised on Slack
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@hsheth2 : looks like this pin creates problems for pip?


Update Ecosystem.md

I have run into some issue with redux-batched-updates, depending where you have it in your middleware chain the return value of dispatch will be undefined.
I am proposing my redux-batched-subscribe store enhancer instead, it moves the batching to the edge (notifying subscribe handlers) and allows for any custom function to be used.

Can you file an issue on @acdlite's repo too? Is it documentation or implementation problem? It's fairly common that specific kinds of middleware or enhancers need to be close to start or end of the chain. If documentation is the only problem, let's improve it?

I agree that applying the batching strategy at the subscription-level rather than the dispatch-level is better conceptually, although in a practical sense there's not much difference. I'm fine with this PR, or we could list both.

The main difference is you can never access the dispatch result of a non thunk action. not sure how common this would be.
As far as documentation, as long as you have it near the end of the chain (after thunk, promise, etc) then you should be fine.
We could list both, although they are very similar.
Will open a ticket on @acdlite's repo to document this.

@gaearon is there any more actions to take for this?

:+1:


(suggestion) Space height limit

My suggestion is that if you move 100K blocks in the sky, you get into a space hub where you can choose which planet you go to like Mars and the Moon.

Not applicable to Terra1-1, BTE or anything in general.

lol there should be another mod you can cooperate @Coppertine  don't do so bad

Plus, this is outdated. We now use terra++

OK what is that please link it

Plus, this is outdated. We now use terra++

can you send me terra++ download?


Ns/formplayer

Summary
We are working on automating the Formplayer Regression test plan. The link to the test plan is here.
Link to Jira Ticket (if applicable)
https://dimagi-dev.atlassian.net/browse/QA-2857
Type of Change

[x] New Addition or Enhancement
[ ] Script Error Fix
[ ] Framework/ Workflow Change
[ ] Documentation

Divison

[x] Global Tech
[ ] SaaS
[ ] USH
[ ] Solutions
[ ] India Div
[ ] FocusMDM

@kbo001 As discussed over Slack, there are still some fixes/tweaks on which I am working and will be pushing those changes soon.


CVE-2019-1010161

Importing from https://github.com/vti/cpan-audit/issues/14 by @reneeb
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1010161

"perl-CRYPT-JWT 0.022 and earlier is affected by: Incorrect Access Control. The impact is: bypass authentication. The component is: JWT.pm for JWT security token, line 614 in _decode_jws(). The attack vector is: network connectivity(crafting user-controlled input to bypass authentication). The fixed version is: 0.023."


The PostgreSQLRangeType should use +HH:MM for the tstzrange column type

When minutes is represented after semi-colon (:) in timezone (hh:mm), getting DateTimeParseException.
Steps to reproduce,
Add below line to method com.vladmihalcea.hibernate.type.range.RangeTest.zonedDateTimeTest() and execute the test case.
assertNotNull(Range.zonedDateTimeRange("[2019-03-28 04:03:10.2146+05:30,)"));
Here is exception message,
java.time.format.DateTimeParseException: Text '2019-03-28 04:03:10.2146+05:30' could not be parsed at index 10

Thanks for the heads up. You need to provide a replicating test case and a fix as well. I'll review it when it's ready.

Created Pull request #141. Please review

The test case provided fails, so I'm closing the issue since it does not look like there is anything wrong with the current implementation.


DM-40497: Set COLUMNS to 120 when running tox

pytest-pretty uses rich to format the pytest output, which in turn honors COLUMNS to determine the width of the screen and defaults to 80 columns. In GitHub Actions, 120 columns works fine with the GitHub Action log UI and presents more information.
I considered making this an optional parameter, but I convinced myself that there was no drawback to always setting a wider "screen" than the default. Tests that are specific to certain screen widths should be overriding COLUMNS inside the test.

After some experimenting with pytest-pretty, I'e decided that I don't want to use it, since some of its error reporting behavior produces voluminous output that makes understanding the problem harder. As such, this is no longer needed.


Layers without biases - optional weights

Currently the Dense layer must have a bias - there should be a way for the user to specify whether or not they want that bias value. Will something along these lines be possible eventually? https://gist.github.com/tanmayb123/f3631d283cb763ccc30447869efe13e8
Because for now, I think I'd need to something along these lines: https://gist.github.com/tanmayb123/0fd2a935dacb9e012174035ba4aed25f (this compiles successfully)
The second solution isn't very elegant, though.

I think both weights and activation should be optional, but just as you've tried, it requires manual branches because automatic differentiation does not support control flow yet. I'm actually fine with checking in the change with custom VJP. Control flow support will be implemented in the next two months.

had a typo, bias :)

Control flow support would be really useful here, but just one more question: Will optional variables be Differentiable? Could bias just be an optional variable, with an if let statement once control flow is implemented?

Optionals can be made differentiable via a conditional conformance.
extension Optional : Differentiable where Wrapped : Differentiable { ... }

Oh, even better. Shouldn't this be the case by default, though?

That should be added to the standard library.

Optional differentiation may still be in progress, but in the time since this issue was raised we've implemented workarounds for the relevant layers that allow you to avoid providing a bias to many of them. In practice, this has addressed the core needs brought up here, so I'll close this out.


Fix how grpc_utils loads gRPC

Currently we have this:
https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/grpc_utils/config.cmake.in#L16
This passes the builds for google-cloud-cpp. It does not work for google-cloud-cpp-spanner when trying to use google-cloud-cpp-grpc-utils as a dependency. It'll complain about not being able to find gRPC's config cmake files.
Either we should do it how googleapis does it and include FindgRPC or distribute the gRPC's config cmake files in spanner.

This is my WIP branch showing the problem.

I think doing what googleapis does is the best option for now.  We will have several of these FindgRPC.cmake modules lying around, but that is a minor nuisance and (I think) we can clear up once googleapis becomes its own project.


Method versionAtLeast is not working as expected

In the codesandbox you provided CodeSandbox the console.log(WebApp.isVersionAtLeast("6.2")) is returning false when using version 6.9.2 or 7.0.0
This bug does not allow the use of methods such as showAlert and many others.

This error occurs because it is not running on telegram.


Added news: Scenario-Game ADMM to CDC 2023

No arxiv link yet but will update when we have that

Done


if enable jwtauth ，then caddy cannot start .

host.xxx  {
      reverse_proxy  http://wapi.xxx
      jwtauth {
          sign_key 5bsddsdsd
          sign_alg HS256
          from_query access_token token
          from_header authorization
      }
}

directive 'jwtauth' is not an ordered HTTP handler, so it cannot  be used here.
or
{
	order jwtauth before basicauth
}
host.xxx  {
      reverse_proxy  http://wapi.xxx
      jwtauth {
          sign_key 5bsddsdsd
          sign_alg HS256
          from_query access_token token
          from_header authorization
      }
}

adapting config using caddyfile: server block without any key is global configuration, and if used, it must be first
host.xxx  {
        route {
         order jwtauth before basicauth
       }
}

during parsing: unrecognized directive: order - are you sure your Caddyfile structure (nesting and braces) is correct?
How to Use it?

The plugin should work as expected, please take a look at here, there's a tested Caddyfile.

@ggicci  no . Whenever I start it, I see an error. Is it because of a conflict with caddy-git?

{
	order jwtauth before basicauth
}
host.xxx  {

      jwtauth {
          sign_key 5bsddsdsd
          sign_alg HS256
          from_query access_token token
          from_header authorization
      }

      reverse_proxy  http://wapi.xxx
}

try this?

Hi @zuohuadong have you got any updates on this?

@ggicci  Sorry to get back to you now. I think I probably know the problem.
ERROR：
{
	order jwtauth before basicauth
}
{
        git  {
        ......
        }
}

right:
{
        order jwtauth before basicauth
        git  {
        ......
        }
}

good to hear, then i'm gonna close this issue as it is related to Caddy configuration itself


Tag component options

Describe the bug
The tag component could assume the type by checking if the src is provided, if it is, it's an image type. If there's a logic that makes it harder, make the type required, in my case, I've placed the src and it didn't work, because the type was not settled.
Remove the cursor pointer on that, it will not always be clickable, so the client should apply those rules upon need.
To Reproduce
Steps to reproduce the behavior:
Implement packages/components/avatar/src/Avatar.tsx

The PR for this issue https://github.com/Douro-ui/design-system/pull/121

The issue is fixed in this commit https://github.com/Douro-ui/design-system/commit/8173dd489e43d7917007ce1ad1d838e2e58cfc5a


Single repo single branch

These changes have the intent of having a single image/repo that we can use for demo, e2e and staging.
I removed some unneeded/deprecated things, added some flags (-basedomain) and env variables (FRONTEND_TITLE_SUFFIX, DRIVER_ID_SUFFIX) to the hotrod binary, and fixed the cli-sandbox GHA job.

@foxish, @jmsktm, the run_integration_tests GHA job is failing (you can check job #15942003655).
I'm unclear why we have those Java tests in there. Should we try to fix it? or can we get rid of them?

@foxish, @jmsktm, the run_integration_tests GHA job is failing (you can check job #15942003655). I'm unclear why we have those Java tests in there. Should we try to fix it? or can we get rid of them?

This was added to serve as an example for running integration tests created using SDK as a part of CI.
@arjun-sd or @foxish can weigh in on it's relevance as of now.

We can get rid of the old test @daniel-de-vera - we have other examples in https://github.com/signadot/examples/tree/main/sdk and don't use this one here.

@foxish, @jmsktm, I removed the integration tests, this is now ready for review.


refactor(build): download libcstor from forked arg

Signed-off-by: kmova<EMAIL_ADDRESS>What this PR does / why we need it:
When building from forked repo, fetch the dependent
libcstor from the corresponding forked repo
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Checklist:

[ ] Fixes #
[ ] Labelled this PR & related issue with documentation tag
[ ] PR messages has document related information
[ ] Labelled this PR & related issue with breaking-changes tag
[ ] PR messages has breaking changes related information
[ ] Labelled this PR & related issue with requires-upgrade tag
[ ] PR messages has upgrade related information
[ ] Commit has unit tests
[ ] Commit has integration tests

Tested by triggering a build on the forked repo.


DevDependencies Exclusion

It should works, along with some other common exclusive patterns. Do we need an option to disable default exclusion?


Token is not requested after successful login

Describe the bug
After being redirected back from the identity provider in an authorization code flow, the library doesn't acquire a token with the received authorization code. Sometimes an error is displayed on the console that says invalid nonce and disappears immediately. I used the .NET Core IdentityServer4 as my Oidc server, and it works fine with other clients (postman, swagger).
To Reproduce
Steps to reproduce the behavior:

I imported the OAuthModule:

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    HttpClientModule,
    OAuthModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

For the sake of simplicity i put the initialization code in the AppComponent, and a button that redirects me to login:

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  constructor(private oauthService: OAuthService) {
    oauthService.configure({
      clientId: 'webshop',
      issuer: 'https://localhost:5101',
      postLogoutRedirectUri: window.location.origin,
      redirectUri: window.location.origin,
      responseType: 'code',
      requestAccessToken: true,
      scope: 'openid profile webshopapi.readwrite',
      useSilentRefresh: true
    });

    oauthService.initCodeFlow();
  }

  login() {
    this.oauthService.loadDiscoveryDocumentAndTryLogin();
  }
}

I type ng s and open up the page and press the login button.
I am redirected to the login page as expected.
After successfully being logged in i am redirected to the given redirect uri with my code in the query.

Expected behavior
The library should finish the login by requesting an access token from the identity provider, but instead nothing really happens, sometimes an error flashes up on my console that immediately disappears. I managed to capture it by making a video and going back in the recording:

I tried to investigate this issue by checking the session storage and the redirect url, but the nonce seems to match the value received from the identity provider:

Desktop:

OS: Windows
Browser: Microsoft Edge
Version: 86

Additional context:
I also tried to add a then() on the call this.oauthService.loadDiscoveryDocumentAndTryLogin(); but it never got invoked.

Just a quick thought after glancing at your code:
The AppComponent constructor will always and immediately call initCodeFlow which will indirectly call a method to redirect you to the IDS, so I'd expect that code to endlessly redirect to the ID Server?
If that's just an artifact of simplifying your scenario for the issue, then I'm not sure what's going on. Might be an issue in code we're not seeing... You could consider comparing it with my sample login sequence maybe that'll help you find a solution?

Turns out, if I exchange those two method calls (I call loadDiscoverDocumentAndTryLogin in the ctor and initCodeFlow in the login method), it works fine. I must have looked over something, but the readme of the repository rather suggested this order of invocation.


"getActivePinia() was called but there was no active Pinia" on Pinia 0.6+

Environment
playground
Reproduction
https://stackblitz.com/edit/nuxt-starter-sbdhjb?file=app.vue
Describe the bug
This only seems to happen when using the decorator syntax?
I know the package says it only supports Pinia 0.5.1 but I figured I'd track this anyway.
It's also a bigger issue because Pinia <0.6 does not work with latest Nuxt due to this fun error https://github.com/nuxt/nuxt/issues/27544
The current workaround is to pass useNuxtApp().$pinia when calling useRepo(), but this feels very hacky.
However, I plan to stay on 0.5.1 and install the @vue-devtools/api so the app can mount, as I'm scared there may be other hidden issues when upgrading.
Are there plans to support Pinia 0.6+ with the new 1.10.0 version in the pull requests?
Additional context
No response
Logs
No response

When I went to build my application I sadly saw that this setup gets the same error as #1925 :(
https://stackblitz.com/edit/nuxt-starter-ddhtbs?file=app.vue
Here you can try changing the package version from 0.6.1 to 0.5.1 or any other combination that you want.
After building --> pnpm run preview and upon loading the page we get the _s undefined (iirc means pinia is undefined).
If you then go into the app.vue and toggle the useNuxtApp().$pinia pass to useRepo, it works.
Is this the only way to get the decorator syntax working with Nuxt 3.12+?
This has been a very exhausting journey for our team, it is a huge roadblock...  would really appreciate some help on this :)
As it stands I have no idea how this package is meant to be used from just following the guide in the docs :(

I tested your configuration. What i was encountering was this error https://github.com/vuejs/pinia/issues/2826.
After adding pinia to the dependencies and commenting the broken part it still worked:
https://stackblitz.com/edit/nuxt-starter-iaqwgk?file=app.vue

I am closing it now. Feel free to reopen it if this problem is still occuring.


AP CSA Week 1: Innovation-Primatives

Code.org

Creating a Jupyter Notebook using Bash:

Week 1 - Bash Jupyter Notebook
Week 1 - Java Primitives Jupyter Notebook
Fast Pages College Board Topics Page
Fast Pages Website

TOTAL SCORE: 2.7+/3
Finished a decent amount of hacks throughout Fastpages, and completed all requirements listed on Canvas


Spark XGBoostClassificationModel transform doesn't work with Structured Streaming

Environment Info
jvm+spark, version 0.8.1
Steps to Reproduce

Train a XGBoostClassificationModel and then pass a streaming DataFrame to model.transform().
This error occurs:

Caused by: org.apache.spark.sql.AnalysisException: Queries with streaming sources must be executed with writeStream.start();;
	...
	at org.apache.spark.sql.Dataset.rdd(Dataset.scala:3036)
	at ml.dmlc.xgboost4j.scala.spark.XGBoostClassificationModel.transformInternal(XGBoostClassifier.scala:293)
	at ml.dmlc.xgboost4j.scala.spark.XGBoostClassificationModel.transform(XGBoostClassifier.scala:415)
	...

I'm aware of this issue - which has a slightly different stack track and is for the XGBoostModel instead of the XGBoostClassificationModel. The problem is again that rdd.mapPartitions is called - which doesn't work with spark streaming.

I read a bit more about 3382 and realized that it is the same issue as this. I assumed that the PR referenced in the issue fixed the underlying problem - but after digging through the PR I realized that it only provides a workaround. As it doesn't document the workaround I wanted to include it here in a comment before closing this issue.
XGBoost4J-Spark doesn't support structured streaming. Any call to the transform method calls rdd.mapPartitions, something which you can't do with spark streaming. However, you can work around this by using streaming for most of the pipeline while making individual predict calls with the model. Here's a code example of how to do that if you have a single pipeline for feature extraction and model prediction:
row.select("value.*")
  .transform(dataframe => {
    val featureExtractors = pipeline.stages.init
    val model = pipeline.stages.last.asInstanceOf[XGBoostClassificationModel]
    val features = featureExtractors.foldLeft(dataframe){ (data, transformer) => transformer.transform(data)}
    features.map(row => Results.Prediction(
      row.getAs[String](Dataset.cols.ID),
      model.predict(row.getAs[Vector](featureCol))))
  })

This assumes that you have a single XGBoostClassificationModel at the end of the pipeline. It separates out the feature extractors and the model, transforms using the feature extractors (to keep as much in spark streaming as possible), and maps each feature vector, calling model.predict every time.
Here's an example if you have two separate pipelines, one for feature extraction and another for model prediction:
row.select("value.*")
  .transform(dataframe => {
    val model = modelPipeline.stages.first.asInstanceOf[XGBoostClassificationModel]
    val features = featurePipeline.transform(dataframe)
    features.map(row => Results.Prediction(
      row.getAs[String](Dataset.cols.ID),
      model.predict(row.getAs[Vector](featureCol))))
  })

You'll notice that these both take place in the same transform step. The reason for this is because spark doesn't approve of pipeline references in a map step and will throw a serialization exception.
This obviously isn't very performant and is quite hackey - but it is a workaround for anyone who needs it.


monorepo: move event reason defs to api

As a small part of moving to monorepo with separate controller and sidecar, they will need to share some code between them. For any code that reasonably applies as an API, let's plan for the API to be the location for that code. Start with event reason definitions.

@shanduur wdyt about this proposal?

/cc @shanduur

/lgtm

/ok-to-test


Unmatched quotes are sometimes removed

Example:
foo  "bar"  qux"
foo  "bar"qux"
foo  "bar  "qux"
foo  "bar"qux""
foo  "bar  "qux""

Becomes:
foo "bar" qux"
foo "bar"qux
foo "bar "qux
foo "bar"qux""
foo "bar "qux""

Lines 2 and 3 both lose their trailing quote.

Fixed by 3992fd81a195298e5bc0302885dfcecb514fceba


List proto Makefile commands

Motivated by https://github.com/celestiaorg/celestia-core/pull/855#issuecomment-1248830580

cc: @HoytRen

Thanks, I will add proto-list too.

Where is proto-list defined? I don't see that command in https://github.com/celestiaorg/celestia-core/blob/v0.34.x-celestia/Makefile

Thanks for remind, it's a typo, let me fix it, should be 'proto-lint'.


"Sălcioara", "Rași" are listed in the drop-down menu

Description:
When user writes ” Sălcioara” and "Rași" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Sălcioara"

Expected results
The location appears in the drop-down menu as "Sat Sălcioara, IALOMIȚA (Sălcioara)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Rași"

Expected results
The location appears in the drop-down menu as "Sat Rași, IALOMIȚA (Sălcioara)".


Compiler crash importing from libc in pxi

Cython seems to be crashing on travis ubuntu for py2 and 3 using the latest version from pip with from libc.stdint cimport int64_t, uint64_t, int32_t, uint32_t, uint16_t, int16_t, uint8_t, int8_t, uintptr_t in this file https://github.com/matham/ffpyplayer/blob/master/ffpyplayer/includes/ffmpeg.pxi.
The error traceback is:
cythoning ffpyplayer/pic.pyx to ffpyplayer/pic.c

Error compiling Cython file:
------------------------------------------------------------
...

from libc.stdint cimport int64_t, uint64_t, int32_t, uint32_t, uint16_t,\
^
------------------------------------------------------------

ffpyplayer/includes/ffmpeg.pxi:2:0: Compiler crash in AnalyseDeclarationsTransform

File 'ModuleNode.py', line 122, in analyse_declarations: ModuleNode(pic.pxd:1:0,
    full_module_name = 'ffpyplayer.pic',
    is_pxd = True)
File 'Nodes.py', line 417, in analyse_declarations: StatListNode(pic.pxd:1:0)
File 'Nodes.py', line 417, in analyse_declarations: StatListNode(ffmpeg.pxi:2:0)
File 'Nodes.py', line 7529, in analyse_declarations: FromCImportStatNode(ffmpeg.pxi:2:0,
    imported_names = [...]/9,
    module_name = u'libc.stdint')

Compiler crash traceback from this point on:
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 7529, in analyse_declarations
    module_scope = env.find_module(self.module_name, self.pos, relative_level=self.relative_level)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Compiler/Symtab.py", line 1222, in find_module
    module_name, relative_to=relative_to, pos=pos, absolute_fallback=absolute_fallback)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 178, in find_module
    pxd_pathname = self.find_pxd_file(qualified_name, pos)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 239, in find_pxd_file
    pxd = self.search_include_directories(qualified_name, ".pxd", pos, sys_path=sys_path)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 280, in search_include_directories
    tuple(self.include_directories), qualified_name, suffix, pos, include, sys_path)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Utils.py", line 30, in wrapper
    res = cache[args] = f(*args)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/Cython/Utils.py", line 148, in search_include_directories
    path = os.path.join(dir, dotted_filename)
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Is there any chance you have a None in your sys.path ?

sys.path prints as ['', '/home/travis/build/matham/ffpyplayer', '/home/travis/virtualenv/python3.5.3/lib/python35.zip', '/home/travis/virtualenv/python3.5.3/lib/python3.5', '/home/travis/virtualenv/python3.5.3/lib/python3.5/plat-linux', '/home/travis/virtualenv/python3.5.3/lib/python3.5/lib-dynload', '/opt/python/3.5.3/lib/python3.5', '/opt/python/3.5.3/lib/python3.5/plat-linux', '/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages'].

It looks like None values can occur in the include_dirs that you are building in your setup.py script, e.g. when certain environment variables are not passed.

Seems you're right and that there was a None there. But cython should probably catch that and raise a better error? Because from the error it wasn't clear that it's dealing with a None value.


PLT-662 Return spent information for utxos spent after the upper bound

Drop the spent_transactions table and add spent fields to the transactions.
Use it to retrieve the future spent info.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense and have useful messages
[x] Important changes are reflected in changelog.d of the affected packages
[x] Relevant tickets are mentioned in commit messages

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[x] Targeting main unless this is a cherry-pick backport
[x] Self-reviewed the diff
[x] Useful pull request description
[ ] If relevant, reference the ADR in the PR and reference the PR in the ADR
[x] Reviewer requested

@berewt Did you try running the indexer after those changes? How long did it take?

@berewt Did you try running the indexer after those changes? How long did it take?
I don't know if it's related to this PR, but running marconi-sidechain now takes too long.

I didn't. As we have a ticket to analyse the performances of the indexer, I thought being features complete and then check the performance was the way to go.

@berewt But now, I think it has become unusable... I can't even do a full sync on preprod in a reasonable amount of time.

Ok, after investigation, we didn't have an index on TxId/TxIx, and consequently the spent update took a very long time. #48 should fix it, on my machine the result are on par with the original indexer performance.


Replace array.Interface with arrow.Array

array.Interface is deprecated and removed by this commit.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Awesome thank you!


Fix bugs, update UG

fixed bug where if in view mode, model would not update for certain commands (Homework, LessonPlan etc)

Codecov Report

Merging #114 (000cd63) into master (559d3db) will decrease coverage by 0.55%.
The diff coverage is 9.09%.

@@             Coverage Diff              @@
##             master     #114      +/-   ##
============================================
- Coverage     65.36%   64.81%   -0.56%
  Complexity      620      620
============================================
  Files           104      104
  Lines          2333     2353      +20
  Branches        253      258       +5
============================================
  Hits           1525     1525
- Misses          714      729      +15
- Partials         94       99       +5

Impacted Files
Coverage Δ

...eedu/address/logic/commands/AttendanceCommand.java
81.25% <0.00%> (-11.61%)
:arrow_down:

...u/address/logic/commands/GradeProgressCommand.java
58.82% <0.00%> (-7.85%)
:arrow_down:

...eedu/address/logic/commands/LessonPlanCommand.java
87.50% <0.00%> (-12.50%)
:arrow_down:

...a/seedu/address/logic/commands/SessionCommand.java
83.87% <0.00%> (-12.43%)
:arrow_down:

.../seedu/address/logic/commands/HomeworkCommand.java
84.84% <20.00%> (-11.71%)
:arrow_down:

...java/seedu/address/logic/commands/EditCommand.java
87.59% <100.00%> (ø)

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


missing $inverse-link on notification style page

Notification link information missing
Detailed description
Missing information on the Notification usage page of the $inverse-link token needed for the actions on the high contrast. Also, notification is rendering action links not accessible.

What did you expect to happen? What happened instead? What would you like to see changed?
Expected the link to be Blue-40, but it looks like it's Blue-60 and there is no information about notification links on the usage page.

What browser are you working in?
Chrome

What offering/product do you work on? Any pressing ship or release dates we should be aware of?
IBM Cloud Kubernetes. All of Cloud is moving to this soon and we use notiffications a ton!

Steps to reproduce the issue
https://demo3.console.test.cloud.ibm.com/kubernetes/clusters
Additional information

Hi! @eraymond25! Thanks for making this issue! We have addressed and fixed the link color being inaccessible in a notification in https://github.com/carbon-design-system/carbon/pull/4805, so thankfully a solution is in newer version of Carbon. We are updating our component docs now so the missing information should be added soon!


redis: support IPv6 addresses with no port

Here's a fix for a contrived bug I found. Without this change, telegraf generates the address ::1:6379, which is invalid, when you use servers = ["tcp://::1"] or any other IPv6 address with no port in the redis plugin config.
Sample config:
[tags]
[agent]
  interval = "10s"
  round_interval = true
  flush_interval = "10s"
  flush_jitter = "0s"
  debug = false
  hostname = ""

[outputs]
[outputs.influxdb]
  urls = ["http://localhost:8086"] # required
  database = "telegraf" # required
  precision = "s"

[redis]
  servers = ["tcp://::1"]

Result without this change:
2015/11/09 21:53:19 Starting Telegraf (version v0.2.0-39-g1accab0)
2015/11/09 21:53:19 Loaded outputs: influxdb
2015/11/09 21:53:19 Loaded plugins: redis
2015/11/09 21:53:19 Tags enabled:
2015/11/09 21:53:19 Agent Config: Interval:10s, Debug:false, Hostname:"blah", Flush Interval:10s
2015/11/09 21:53:20 Error in plugin [redis]: Unable to connect to redis server '::1:6379': dial tcp: too many colons in address ::1:6379
2015/11/09 21:53:20 Gathered metrics, (10s interval), from 1 plugins in 221.722µs
2015/11/09 21:53:24 Hang on, flushing any cached points before shutdown

Results with this change (note, I wasn't actually running redis):
2015/11/09 22:00:11 Starting Telegraf (version v0.2.0-40-g71ff506)
2015/11/09 22:00:11 Loaded outputs: influxdb
2015/11/09 22:00:11 Loaded plugins: redis
2015/11/09 22:00:11 Tags enabled:
2015/11/09 22:00:11 Agent Config: Interval:10s, Debug:false, Hostname:"blah", Flush Interval:10s
2015/11/09 22:00:20 Error in plugin [redis]: Unable to connect to redis server '[::1]:6379': dial tcp [::1]:6379: getsockopt: connection refused
2015/11/09 22:00:20 Gathered metrics, (10s interval), from 1 plugins in 552.257µs
2015/11/09 22:00:23 Hang on, flushing any cached points before shutdown

@sparrc Please revert this PR.
Sorry to cause you trouble but I was wrong on this one. RFC3986 says that IPv6 addresses in URIs always need square brackets, thus the example I put in the PR is invalid. Even worse is that my patch stops a proper IPv6 address from working because extra square brackets are added. Concatenating the host, :, and the port is the correct course of action when working with a host from a URI as seen here in the net/http source.

@nkatsaros done


Only odd versions in release notes version list

On https://openui5.hana.ondemand.com/#/releasenotes.html the list of releases is kind of strange. It seems to contain only odd version numbers and the link marked in red is dead.

Selecting any version below 1.61 leads to lots of 404s in the dev console and the page is empty.

Hi @Frank683 ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Petar

Hi @Frank683,
the issue has been fixed with that commit .
You can find the working page here.
Thank you for reporting!
Best regards,
Petya Bogdanova.
(OpenUi5 Developer)


Sparsity

Looks good. Could you also update the documentation and testing to make sure the sparsity works correctly? For the docs, just copy paste the sparsity line under Args from binary_hv. For testing you could do something similar as with the binary_hv value tests as well.


mfgtools killed two SOM imx7-pico in just 1 month

Hi,
Please help-me with this:
https://community.nxp.com/message/1228990

@neuberfran :
Thanks for your feedback
.
I'm afraid that this place is intended to accept the issue feedback related to the software.
The mfgtool you use is not released by TechNexion officially.
The mfgtool you use is mfgtool 2.0, but the the mfgtool in this repository is mfgtool 3.0 uuu.
Android things is the release made by third party - NXP and Google.
For this issue, I'd suggest to check if the problem is related to HW or SW.
PreBuilt_OS_Image_Installation_Guide_v3.6.pdf
Follow the guide to set the board to boot from Serial download mode.
Ensure the jumpers on the baseboard are contacted well on the baseboard.
Check if there is new device shown in "Device Manager" under Windows.
Or use "lsusb" command to check the device under linux.
If there is new device shown up, i'd suggest to change to use another host PC to test it again.
If the device is still not shown under your host PC.
It has much chance the HW gets damaged.
Then, there is nothing we can do by software to solve your problem.
Please contact  TechNexion customer support team<EMAIL_ADDRESS>to check the warranty.
BR,

@richard-hu Thank you so much for helping. I really need your help, as (as I will say below) you are the only Technexion that is willing to keep in touch with me.

Unfortunately your tip didn't work. I have a HW problem.

How could a software (mfgtools) cause a Hardware Problem? What problem did it cause? How to find out?

In this link: https://drive.google.com/drive/folders/15fuQRezbaCGYj1AzPJTUs38xsHhrZJ28?usp=sharing hava a pdf file name: AN5383. In page 07 about 3.5. Hardware and software used

I have question:
4.a -> How can I make measurements without having OS installed on imx7? Would it work the same way as the PDF?

As shown in link below, because I communicated as an individual, I no longer have contact with Technexion. I really need to get this contact back. My two completed pico-imx7d starter kits were bought from two Google Developer Expert (GDE) gifts they received from Google (so I don't have an Invoice or invoice date)

5.a -> Who is Marcel ? Why doesn't he make things easier and sell me a new module? mouser e digi-key currently has no product in stock.
https://drive.google.com/drive/folders/13hH2imEwg9pTa8__HV7uuKTNFrOhQJHN?usp=sharing

@richard-hu
Why u don't talk more with me

@richard-hu Thank you so much for helping. I really need your help, as (as I will say below) you are the only Technexion that is willing to keep in touch with me.
Unfortunately your tip didn't work. I have a HW problem.
How could a software (mfgtools) cause a Hardware Problem? What problem did it cause? How to find out?
In this link: https://drive.google.com/drive/folders/15fuQRezbaCGYj1AzPJTUs38xsHhrZJ28?usp=sharing hava a pdf file name: AN5383. In page 07 about 3.5. Hardware and software used
I have question:
4.a -> How can I make measurements without having OS installed on imx7? Would it work the same way as the PDF?
As shown in link below, because I communicated as an individual, I no longer have contact with Technexion. I really need to get this contact back. My two completed pico-imx7d starter kits were bought from two Google Developer Expert (GDE) gifts they received from Google (so I don't have an Invoice or invoice date)
5.a -> Who is Marcel ? Why doesn't he make things easier and sell me a new module? mouser e digi-key currently has no product in stock.
https://drive.google.com/drive/folders/13hH2imEwg9pTa8__HV7uuKTNFrOhQJHN?usp=sharing

I will call european police


[C++][Parquet] Add ability to write/read repetition/definition levels with PLAIN encoding

Describe the enhancement requested
As for today, the biggest parts of reading parquets in my code look like that

It is clearly seen that reading values takes less time than reading levels
Data is written using zstd and I would assume that decompression of levels using ready compressor would be much better in speed while preserving the same compression ratio
Component(s)
C++, Parquet

def/rep level encoding is part of parquet standard, which is not a part of arrow 🤔 Maybe we can trying to making it faster...

@Hattonuri Maybe this issue is also related: https://github.com/apache/arrow/issues/39227 . We can trying to optimizing decoding the bits here 🤔

I think there is hardly any chance to be as fast as ready decompressor :(

Probably there will be any magic avx instruction that will unpack bit mark to bytes 👀

Here we need to impl unpack16, I think xsimd or other let compiler help may works.

    // TODO: revisit this limit if necessary
    DCHECK_LE(num_bits, 32);
    const int buffer_size = 1024;
    uint32_t unpack_buffer[buffer_size];
    while (i < batch_size) {
      int unpack_size = std::min(buffer_size, batch_size - i);
      int num_unpacked =
          internal::unpack32(reinterpret_cast<const uint32_t*>(buffer + byte_offset),
                             unpack_buffer, unpack_size, num_bits);
      if (num_unpacked == 0) {
        break;
      }
      for (int k = 0; k < num_unpacked; ++k) {
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4800)
#endif
        v[i + k] = static_cast<T>(unpack_buffer[k]);
#ifdef _MSC_VER
#pragma warning(pop)
#endif
      }
      i += num_unpacked;
      byte_offset += num_unpacked * num_bits / 8;
    }

Current code use SIMD unpack to 32 bit, and copying to int16_t 🤔I'm not sure can we depend on auto-vectorize

Also, after re-checking the RleDecoder, I think unpack16 might improve the performance but it's not the bottleneck in your case, here maybe the GetBatch<int16_t> loop be slow...

Probably bit pack can use https://github.com/chenkovsky/TurboPFor
And then write levels with bit pack

By the way he also has fast rle encoding https://github.com/powturbo/Turbo-Run-Length-Encoding
But as i understood there are many rles.....

def/rep level encoding is part of parquet standard, which is not a part of arrow 🤔 Maybe we can trying to making it faster...

Agree, while its not explicitly stated, even though the thrift definition allows for specifying encoding I don't think plain encoding was ever intended here (would have to take a closer look at parquet-mr).  And since there isn't a native primitive type for int16 we'd have to use int32 as the primitive type, which I guess would compress well but still require a cast.

Probably bit pack can use https://github.com/powturbo/TurboPFor-Integer-Compression
And then write levels with bit pack

I think original code for bin packing  probably came from that source.

Also, after re-checking the RleDecoder, I think unpack16 might improve the performance but it's not the bottleneck in your case, here maybe the GetBatch<int16_t> loop be slow...

I think @mapleFU suggestion of having a specialized unpack16 makes sense, I think at the very least this avoids an extra round trip from to/from the cache if we can write directly to the output value instead of having a temporary value holder?

Let me first draft a benchmark for RleDecoder and do later optimization based on that.
Also, would you mind provide levels distribution in your case @Hattonuri

Also, @Hattonuri the code linked is licensed under GPL, this cannot be used in Apache projects.

Also, would you mind provide levels distribution and read batch size in your case

read batch size is 2048
I am reading not-null arrays(but all parts are optional) of length 20. So definition levels are all 3 and repetition levels are [0] + [1] * 19 repeatedly

@Hattonuri I've written a benchmark here: https://github.com/apache/arrow/pull/39705
Conclusion: maybe you can try bitpack, and if using bitpack and implement unpack16, it would be fast 🤔

Yeah, maybe it's ok to add one and testing it's able to read that 🤔