Feature: Support modifying crontab

Description
I'd like to modify any user's crontab.
New commands
cron.add

Should not produce duplicate entries
Cron syntax should be validated before entering into crontab using croner
Support natural language syntax using english-to-cron

cron.insert
Duplicate entries allowed.
cron.remove
Delete all occurrences, not just first.
cron.list
crontab -l
Manifest Example
actions:
   - action: cron.add [ same for cron.insert ]
     - name: Backup documents [ optional, improves debugging messages ]
     - description: Run daily backups of documents [ optional, improves debugging messages ]
     - user: some-other-user [ optional ]
     - privileged: true [ required if `user` specified above is not the current user, and current user is not `root` ]
     - path:
       - ~/bin [ not sure if this is an append or overwrite to existing `$PATH` ]
       - /some/other/path
     - environment:
       - VAR1=one
       - VAR2=two
     - entry:
       - command: my-script1
       - schedule: every day at 4:00 pm
     - schedule: 00 00 * * * nvim --headless "+Lazy! sync" +qa
     - schedule: [ `schedule` could be a list, but should not appear twice in one `action` ]
       - 00 00 * * * my-backup-script1
       - 00 00 * * * my-backup-script2
   - action: cron.remove
     - schedule: ...
     - schedule:
        - ...
        - ...
   - action: cron.list

Off the top of my head. I tend to run a lot of FreeBSD servers and it would be nice to have a crontab action to do something like add in cron a job for certbot for renewal of LetsEncrypt certs.
If you think an action for mkinitcpio.conf is helpful, we cant definitely look into it. Its not a file that I really touch, so I am just not aware of what can be or should be done there. But you can open up an issue with an idea of what a design looks like in a manifest and what it should and should not do and we can go from there. If your interested in implementing it, I can help. I've been putting it off, but I can prioritize writing some developer documentation for writing new actions if that is needed to help.

What if, instead of crontab support and mkinitcpio support, add an option called "condition" to command.run.
condition being a command that is ran determining whether to perform the command or not
The reason I wanted to add a mkinitcpio action was so I could add nvidia modules to my mkinitcpio without doing it in a script but if we add this we could replace this:
nvidia.yaml
---
actions:
  - action: command.run
    command: sh
    args:
    - -c
    - path/of.nvidia.sh

ndivia.sh
---
if [ $(lspci -k | grep -A 2 -E "(VGA|3D)" | grep -i nvidia | wc -l) -gt 0 ]; then
    if [ $(grep 'MODULES=' /etc/mkinitcpio.conf | grep nvidia | wc -l) -eq 0 ]; then
        sudo sed -i "/MODULES=/ s/)$/ nvidia nvidia_modeset nvidia_uvm nvidia_drm)/" /etc/mkinitcpio.conf
    fi
fi

With this:
- action: command.run
  condition: $(lspci -k | grep -A 2 -E "(VGA|3D)" | grep -i nvidia | wc -l) -gt 0 && $(grep 'MODULES=' /etc/mkinitcpio.conf | grep nvidia | wc -l) -eq 0
  command: sed -i "/MODULES=/ s/)$/ nvidia nvidia_modeset nvidia_uvm nvidia_drm)/" /etc/mkinitcpio.conf
  priviled: true

And for the cron job:
- action: command.run
  command: crontab -l | { cat; echo "0 0 0 0 0 some entry"; } | crontab -

Or just extend the where option


Add panel display to alarm control card

If panel_display_sensor is defined (requires that the alarm implementation provides the panel text), show it in the card.

Bump?


Document (and communicate in UI) the meaning of the Transform dropdown

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1464
Originally created by @bencodezen on 2019-12-14 07:34:16

Problem
Though we may be dropping the Transform dropdown in Pipeline creation, there is the question as far as what each one does, in particular, what does "Only" do?

View 7 previous comments from the original issue on GitLab


Assert that holders are added to sessions only with the Matter lock held.

Adding/removing holders manipulates circular lists, and if we end up with data
races on these manipulations we can end up in bad states.  Since sessions are
somewhat singleton resources, and the "hold on to a session" operation is pretty
hidden in many cases, it's easy to end up with a situation where a session is
being pointed to by objects being manipulated on multiple threads and hard to
catch this via manual code inspection.
Problem
See above.
Change overview
Add asserts.
Testing
CI should tell.

@andy31415 Is this a real failure? (look repeated?)


pip install backgroundremover fails with weird dependency issues

Hi there,
When I run pip install backgroundremover in my Mac, it seems to try to install several different versions of backgroundremover for no apparent reason, and ends up failing.
.1.4, backgroundremover==0.1.5, backgroundremover==0.1.6, backgroundremover==0.1.7, backgroundremover==0.1.8 and backgroundremover==0.1.9 because these package versions have conflicting dependencies.
The conflict is caused by:
backgroundremover 0.1.9 depends on torch>=1.7.0
backgroundremover 0.1.8 depends on torch>=1.7.0
backgroundremover 0.1.7 depends on torch>=1.7.0
backgroundremover 0.1.6 depends on dataclasses==0.8
backgroundremover 0.1.5 depends on torch>=1.7.0
backgroundremover 0.1.4 depends on torch>=1.7.0
backgroundremover 0.1.3 depends on torch>=1.7.0
backgroundremover 0.1.2 depends on torch>=1.7.0
backgroundremover 0.1.1 depends on torch>=1.7.0
% pip --version
pip 23.0.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
Regards,
Fran

Please try newest release https://github.com/nadermx/backgroundremover/releases/tag/v0.2.1


Remove dist target

Closes #1059
No one claimed that they are actively using it, thus, remove to reduce dependencies.

@leifmetcalf This is not true. If no stack yaml is not given within the Script, then it finds the default one. In there, the submodules are referenced. When these are not initialized, the script fails to start. This was the reason for a new stack yaml

@leifmetcalf This is not true. If no stack yaml is not given within the Script, then it finds the default one. In there, the submodules are referenced. When these are not initialized, the script fails to start. This was the reason for a new stack yaml

Right, which is why you would use stack script


Add caching

I see that file cache was added but I think the support for other options is necessary. APCu cache for annotations is a must have on production.

Change driver to APCu is possible now. 8e9a1b8ef4c8149f47c562aea1546585d10db426


Change DVB Tuning While TSP is Running?

The tsscan tool in its current form is too limited for real-world channel scanning because it can only do NIT based scanning (except for terrestrial).
That's why I guess that I need to do channel scanning via TSP instead. For this purpose, I'm wondering whether it's possible to change tuning even while TSP is running in order to avoid starting a new process for each frequency to scan?

Spawning the tsp process a hundred times for a detailed satellite scan using transponders lists instead of NIT is working fine actually.
I'd still be interested in your opinion about whether this could be done with a single execution of TSP where the tuning is changed while TSP is running.
Do you think it could be achieved with reasonable effort at all?

Hi @SS-FF ,
I've made some processing using two TSP process, and it works well. So I suggest to try this:

Use the tsswitch to manage two inputs, and connect the output of it with a pipe with your regular TSP process. Then use two instances of the TSP for tunning and change the tuner parameters restarting the processes and selecting input 1 or 2.

I hope it helps.
Regards.

The tsp model is based on the independence between plugins. When you change the tuning, you change the input. So, this is a job for the input plugin. But the analysis is the job of a packet processor plugin. What you want to do does not fit well into the tsp architecture. This is why the specialized tsscan utility was developed.
Generally speaking, this is a common error to want one single instance of tsp to do everything in all cases. There are cases where this is fine, and others where this is not.
TSDuck is a toolbox. In itself, it does nothing. The engineer using TSDuck does everything. TSDuck was designed with scripting in mind. Complex cross-TS operations are done using scripts. Whether you use bash, PowerShell, Python or whatever you want as a scripting language, TSDuck gives a technical access to the TS and the engineer (you) has to develop his own logic using scripting.
Some utilities or plugins have a --normalized option to generate a form of output which can be deterministicly and easily parsed by scripts using basic tools such as grep and  sed.
In the TSDuck user's guide, look at the following examples:

5.2.13 Analyzing the bitrate of all services in a network: A shell script to build a synthetic report of the bitrates of all services in all TS in a network.
5.2.12 Monitoring the stuffing rate of all transponders in a network: A shell script to give a synthetic view of the stuffing bitrate of all TS in a network over time, building graphs using Excel.
5.2.11 Performing the global analysis of a network: Analyzing a complete DVB-T network using a makefile instead of a script. Yes, make can be a form of scripting language.
5.2.8 Scanning all services by CAS operator: A shell script to build a list of all services in a network for a given CAS operator.

Many of these examples demonstrate the power of the --normalized options.

Generally speaking, this is a common error to want one single instance of tsp to do everything in all cases. There are cases where this is fine, and others where this is not.

This is something I've learned by using it. Now I agree with that statement. :+1:

TSDuck is a toolbox. In itself, it does nothing. The engineer using TSDuck does everything. TSDuck was designed with scripting in mind. Complex cross-TS operations are done using scripts.

Yes, we need to use scripts for controlling TS processes. That's a basic thing. However, IMHO I feel that some tasks can be simplified incorporating more options to some plugins.
Regards.

The tsp model is based on the independence between plugins. When you change the tuning, you change the input. So, this is a job for the input plugin. But the analysis is the job of a packet processor plugin. What you want to do does not fit well into the tsp architecture. This is why the specialized tsscan utility was developed.

Thanks for the reply. Maybe I should have added that I'm using a custom implementation for mpegts parsing in most cases, so it's TSP often just doing dvbinput >> ip output.
So I totally understand when you say that changing tuning while TSP is running does not fit into the architecture.
Question answered, thanks!


test(cli): add test for remove-env-from-cloud extensions

Description of changes

Increase test coverage of amplify-cli/extensions.
Description of how you validated changes
lerna --scope @aws-amplify/cli run test
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7247 (f9f1558) into master (8775152) will decrease coverage by 4.08%.
The diff coverage is 45.74%.

@@            Coverage Diff             @@
##           master    #7247      +/-   ##
==========================================
- Coverage   56.43%   52.34%   -4.09%
==========================================
  Files         445      491      +46
  Lines       21859    25248    +3389
  Branches     4373     4952     +579
==========================================
+ Hits        12336    13217     +881
- Misses       8745    11079    +2334
- Partials      778      952     +174

Impacted Files
Coverage Δ

...ls/awscloudformation/utils/synthesize-resources.ts
16.00% <ø> (ø)

packages/amplify-cli-core/src/deploymentState.ts
100.00% <ø> (ø)

...amplify-cli-core/src/feature-flags/featureFlags.ts
83.10% <ø> (ø)

...-cli/src/extensions/amplify-helpers/git-manager.ts
85.18% <ø> (ø)

.../amplify-frontend-ios/lib/amplify-config-helper.js
1.01% <ø> (ø)

...provider-awscloudformation/src/aws-utils/aws-s3.ts
9.32% <0.00%> (-0.77%)
:arrow_down:

...ion/src/iterative-deployment/deployment-manager.ts
7.05% <0.00%> (ø)

...y-provider-awscloudformation/src/resourceParams.js
15.15% <ø> (ø)

packages/amplify-util-mock/src/storage/storage.ts
0.00% <0.00%> (ø)

...der-awscloudformation/src/configuration-manager.ts
5.55% <3.70%> (+0.18%)
:arrow_up:

... and 94 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 01b9569...f9f1558. Read the comment docs.


chore: bump version of amplify-codegen to v3.2.0

Description of changes

bump version of amplify-codegen to v3.2.0

Issue #, if available
N/A

Description of how you validated changes
N/A
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dpilch integration tests have passed. Is this ready to merge?


⚠ Bofrost.at has degraded performance

In 5005637, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1634 ms

Resolved: Bofrost.at performance has improved in e6d0aad.


Is 1 hour the best search default? What if it were 5, 15, or 30m?

Right now, certain storage backends are impacted by the default search terms more than others. For example, there's often concerns about sorting within the interval which can cause some queries to take longer than others, even if only 10 results come back.

Currently, our default lookback is 1hr. Possibly we discussed this before, but what if it were less? For example, in grafana there are built-in units of 5, 15 and 30minutes.
Remember this is how long ago to look for the start of a trace. usually it results in a follow-up requests to collect the traces by ID.
cc @openzipkin/core

btw I think I maybe was the one that set the lookback to 1hr. Before deb408fb773310d4c467ee45f444f7a991f0273e, it was 7 days which wreaked havoc on cassandra by default.
Strawman proposal is 15minutes, which is long enough to deal with any clock skew and longer than most traces would be. Whatever our default lookback is, it should be as long or longer than the time units folks use for windowing typical traces, imho.

by the way, anyone can change this value now. This is more about what the default is, because it can help optimize storage concerns.
https://github.com/openzipkin/zipkin/tree/master/zipkin-server#configuration-for-the-ui

Very specific use case from my side:
I usually use tracing as try-error for debugging so the default use case I
see in medium scale company is that one wants usually to see latest traces
(5-10 minutes ago). I would say 15 minutes was enough every time I used
zipkin so I would vote for that.
Notice kibana offers times like: 15m, 30m, 1h, 4h but again I never use
more than 15 minutes unless I want to do a very specific search.
tor. 22. aug. 2019, 02:45 skrev Adrian Cole<EMAIL_ADDRESS>
by the way, anyone can change this value now. This is more about what the
default is, because it can help optimize storage concerns.
https://github.com/openzipkin/zipkin/tree/master/zipkin-server#configuration-for-the-ui
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/zipkin/issues/2772?email_source=notifications&email_token=AAXOYARV2DYRZGL3F7F3N23QFXOTZA5CNFSM4IOPSPM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD43Q42Q#issuecomment-523701866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXOYASKSCRAIQBTD23YQ7DQFXOTZANCNFSM4IOPSPMQ
.

15min is good for us also. We do 100% sampling so we are bound to already find interesting stuff within 15min

ok from feedback I think sensible to default to 15m and provide a built-in label for 5 (there are no ones before 1 hour right now)

Resolved by #2773 I believe


Understanding dataTypeBitmapIndex

Do you have any information on what exactly dataTypeBitmapIndex is? I can't find the corresponding definition in MSDN at all. It doesn't appear in the FWP_DATA_TYPE documentation.
We recently hit a snag where some workstations had rules using that data type, which causes this library to be incapable of iterating over the rules (since parsing that filter rule breaks fromValue0).
I'm trying to figure out a way to sanely handle this, but I don't even know what it is.

Ah, just found this from a dump of fwptypes.idl. It's not authoritative (since I'm not sure where to officially get a copy of that file), but may shed some light?
// Generic data value. This is primarily used to supply incoming values to the
// filter engine.
typedef struct FWP_VALUE0_
{
   FWP_DATA_TYPE type;
   [switch_type(FWP_DATA_TYPE), switch_is(type)]
   union
   {
      [case(FWP_EMPTY)]
         ;
      [case(FWP_UINT8, FWP_BITMAP_INDEX_TYPE)]
         UINT8 uint8;
      [case(FWP_UINT16)]
         UINT16 uint16;
      [case(FWP_UINT32)]
         UINT32 uint32;
      [case(FWP_UINT64)]
         [unique] UINT64* uint64;
      [case(FWP_INT8)]
         INT8 int8;
      [case(FWP_INT16)]
         INT16 int16;
      [case(FWP_INT32)]
         INT32 int32;
      [case(FWP_INT64)]
         [unique] INT64* int64;
      [case(FWP_FLOAT)]
         float float32;
      [case(FWP_DOUBLE)]
         [unique] double* double64;
      [case(FWP_BYTE_ARRAY16_TYPE)]
         [unique] FWP_BYTE_ARRAY16* byteArray16;
      [case(FWP_BYTE_BLOB_TYPE)]
         [unique] FWP_BYTE_BLOB* byteBlob;
      [case(FWP_SID)]
         [unique] SID* sid;
      [case(FWP_SECURITY_DESCRIPTOR_TYPE)]
         [unique] FWP_BYTE_BLOB* sd;
      [case(FWP_TOKEN_INFORMATION_TYPE)]
         [unique] FWP_TOKEN_INFORMATION* tokenInformation;
      [case(FWP_TOKEN_ACCESS_INFORMATION_TYPE)]
         [unique] FWP_BYTE_BLOB* tokenAccessInformation;
      [case(FWP_UNICODE_STRING_TYPE)]
         [string] LPWSTR unicodeString;
      [case(FWP_BYTE_ARRAY6_TYPE)]
         [unique] FWP_BYTE_ARRAY6* byteArray6;
      [case(FWP_BITMAP_ARRAY64_TYPE)]
         [unique] FWP_BITMAP_ARRAY64* bitmapArray64;
   };
} FWP_VALUE0;

According to that (again, not authoritative), it seems that FWP_BITMAP_INDEX_TYPE is parsed the same as FWP_UINT8.

No idea, WFP is mysterious and the thing that are implemented, are the things I was able to make sense of. Anything else is unknown.


BZip2 is broken on iOS

As mentioned here if you don't need bzip2 in boost.iostreams you can use IOSTREAMS_NO_BZIP2=1
@headupinclouds Let me know if this is critical for you I will take a look. As far as I remember the problem is that bzip2 package build some executable. So I guess it will be not so hard to apply patch with fix

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I don't need bzip2.  This is the solution I've been using.  Thanks.
On Mon, Jun 8, 2015 at 2:54 PM, Ruslan Baratov<EMAIL_ADDRESS>wrote:

As mentioned here https://github.com/ruslo/hunter/issues/110 if you
don't need bzip2 in boost.iostreams you can use IOSTREAMS_NO_BZIP2=1
@headupinclouds https://github.com/headupinclouds Let me know if this
is critical for you I will take a look. As far as I remember the problem is
that bzip2 package build some executable. So I guess it will be not so
hard to apply patch with fix
—
Reply to this email directly or view it on GitHub
https://github.com/ruslo/hunter/issues/164.

Fixed https://github.com/ruslo/hunter/pull/700


Disable past dates

I really like this calender but I am struggling with preventing past date. Is there a way to prevent the user from clicking on a past date. possibly greying it out.

+1 here. Only difference is that I would need to disable dates after actual date... In add to not being able to click, user should also not be able to move months forward (or backward in previous case)...

Create a function "isDisabled()" which takes a date an returns a boolean. Create a default implementation in defaults thats returns false: function() { return false; }. If you need an other implementation, provide it through settings: { isDisabled: function(date) { return date.valueOf() < (new Date()).valueOf(); }}. Then adjust the cell renderer to set: $element.attr("disabled", options.isDisabled(curDate).
When done, please create a PR.

Now I've time to start looking at this, I am not sure I follow the last section Then adjust the cell renderer to set:  $element.attr("disabled", options.isDisabled(curDate). can you elaborate

That should work!

This is what I added, but obviously I am missing something. not working.
  function isDisabled(date){
    return date.valueOf() < (new Date()).valueOf();
  }

   //Disabling the elements
  $element.attr('disabled', options.isDisabled(curDate));

Updated code. Can someone check if it works properly?

hmmm... the option 0 (don't disable dates) and -1 (disable past dates) seems to work properly  in the latest code.
For some reason the option 1 (disable future dates) once moving to next month still show available first week... not sure why...

Ok solved (my mistake in dateOnly function)


Create gitlab pipeline to deploy application on EKS cluster

Create gitlab pipeline to deploy devon4quarkus application on EKS cluster.
Requires below list of variables from package pipeline and EKS provision pipeline.

Image name, registry, Private registry credentials list of variables from package pipeline.
AWS credentials, cluster name, region, eks_dns_name variables from EKS provision pipeline.
These variables are input to deploy pipeline to connect EKS cluster and deploy application.

Acceptance Criteria:-
Use existing Azure devops pipeline and scripts to deploy app in EKS cluster.

steps to run gitlab pipeline:

Install rancher desktop, virtualization should be enable in local.
Enable gitlab runner in rancher desktop and integrate with gitlab project.
In my local virtualization is in disable, I have raised ticket to IT help, global Support team required approval from BU Head and ISMS. I got BU Head approval, waiting for ISMS approval. once I receive approval from ISMS I can setup gitlab runner in my local.

Temporarily  I have configured Miguel gitlab runner in my project and testing deploy pipeline ( it will work only when he is online).
Created deploy pipeline to deploy devon4quarkus application on EKS cluster.
Conditional execute steps for deploy pipeline (EKS, AKS, Secrets) -facing an issue while applying two conditions, looking in to that.

Requires below list of variables from package pipeline and EKS provision pipeline.

Image name, registry, Private registry credentials, list of variables from package pipeline.
AWS credentials, cluster name, region, eks_dns_name variables from EKS provision pipeline.
These are the input variables to deploy pipeline to connect EKS cluster and pull image from registry.

Running pipeline stages - its pulling new base image for every job, first job installations, configurations are not replicating in second job, I found a solution to install all required software's and implemented in pipeline.
Conditional execution - When statements become false, job is creating and running pipeline, looking in to that issue.
Download artifacts - facing an issue while download and unzip artifacts.

facing an issue looking in to that

Connect EKS cluster - successfully connected EKS cluster from gitlab pipeline
Variables - I am able to read with in pipeline declared variables, not from global variables, looking in to that.
Deploy app in to EKS cluster - I need to deploy application and final test, right now I dont have gitlab runner setup. I am trying to setup in Azure virtual machine.
I have created VM in Azure, but I am not able to connect to it
I have raised ticket RITM2863530 for group IT help, I am waiting for response.

I am not able to fetch stored variable values into pipeline, with in the pipeline declared variables only fetching.

Without aws configure, aws kubeconfig update command is not working.

I am almost done to deploy application on EKS cluster, once I fix this issue I can close this task, planning to close by Monday EOD.


Some IETF drafts not processed ?

https://datatracker.ietf.org/doc/html/draft-palmero-opsawg-dmlmo-03 has several YANG modules but I cannot find them on YC.O ?
Thanks for investigating
-éric
@xorrkaz

There appears to be a closing curly bracket missing in<EMAIL_ADDRESS>With an added } on a line just before the <CODE ENDS>, xym extracts the module successfully.


Change uxPendedTicks to xPendedTicks in all proofs

This ensures that CBMC proofs are able to build after the name-change in
commit 23839bb.

@cobusve would you mind merging this? Neither @yuhui-zheng nor I have permission to...thank you!

/bot run checks


ROX-23657: NVD CVSS score ADR

Description
There is a desire to show both vendor-specific CVSS score as well as NVD's score. This PR adds the ADR for updating Scanner's API for this purpose.
Checklist

~[ ] Investigated and inspected CI test results~
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Just a document
Testing Performed
Here I tell how I validated my change
no
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

Just make the one suggested update, then good to go. I can't approve since I'm a co-author, so make sure to get someone else to approve it. Thanks for taking this over

@daynewlee I made the suggested update since GitHub did not render it properly (so it would have been hard to tell what needed to be done). Should be good to go now once someone else reviews


Pass job data map through the job chain with JobChainingJobListener

Problem
When chaining jobs, I want to pass the trigger-specific job data map throughout jobs in the job chain.
Solution no. 1
JobChainingJobListener to pass context.getMergedJobDataMap() in jobWasExecuted()
Solution no. 2
Make chainLinks a protected variable so if the solution no. 1 is not acceptable whoever wants to extend the existing JobChainingJobListener it can override only one method.
I can create a PR, let me know if the solution no. 1 is fine.

Yes, it's still relevant.

Yes, it's still relevant.

Yes, it's still relevant.

Yes.


When verifing from the mobile wallet, when the https://dev.uniresolver.io/ is down, the verification fails with gateway timeout

From what I could see, the problem is that the OP has the code to receive a resolver as param and a failover to go to the uniresolver, but the OpSession never sends the resolver, using the requestOpts. The OpSession can be initialized to contain the IOPOptions, which contains the ResolveOpts, which contains the resolver, but when the getAuthorizationRequest() method is executed, resolver is not sent as a param here:
this.verifiedAuthorizationRequest = await op.verifyAuthorizationRequest(this.requestJwtOrUri),
but at the OP.ts side, there is an optional param, which is taken into consideration, which can contain a resolver:
requestOpts?: { correlationId?: string; verification?: InternalVerification | ExternalVerification.
The mobile app also does not set the resolver, but it could to the session.
The result is a strong dependency to the https://dev.uniresolver.io and when it is down (and it is often), then the mobile wallet cannot respond to verifiers.

After some investigation, it seems the problem is both in the mobile wallet and in the OP.ts file.
Basically, in the mobile app, the agent needs to be initialized with the resolver object in the SIOPv2Provider.ts file, method siopRegisterSession, to include in the op property:
resolveOpts: {
        resolver: didResolver
      }

after importing the didResolver from the agent init file.
And in the OP.ts file, method: newVerifyAuthorizationRequestOpts the following line:
verification: { ...this._verifyRequestOptions.verification, ...opts?.verification },
overwrites whatever was set inside the this._verifyRequestOptions.verification by the agent with the opts?.verification which in the verifyAuthorizationRequest() case does not include the resolver.
One fix here is to merge the verification object, so if the first param has the resolver, to not be overwritten by the second param.

Hi @arheom Thanks for the great analysis. We have indeed fixed some SDK issues around this topic a while ago, which have not been included in the wallet yet.
We have been really busy with some deadlines, so I have not been able yet to have a look at your findings. I do expect to be able to look at it roughly around this weekend.

Again thanks for reporting and the great analysis.
There was an additional issue with well-known DIDs, where that library also didn't receive the agent resolver, thus always falling back to the universal resolver. Given the default is to verify well-known DIDs if there is a service end-point in the DID, we always check the DID, triggering a similar issue.
It is now fixed in the SDK and thus also in the wallets.


Cannot product disassembly file using cargo rustc -- --emit asm

I am using rust 1.43.0.
My code compiles just fine.
I am compiling for stm32f411.
cargo rustc -- --emit asm
does not produce any disassembly files either (which I believe have a .s file extension)
There is a warning:
warning: ignoring emit path because multiple .s files were produced
Not sure what other info to supply.
I'm sure I'm making some noob mistake, but I can't figure it out.

Did you check the target/debug/deps directory? That's where all of rustc's output goes.
As for the "multiple .s files", IIRC I think that is a consequence of multiple codegen units. Setting codegen-units to 1 I think should make it produce a single assembly file. Also, FYI, it looks like this has changed on nightly (which I think automatically switches to codegen-units=1).

Awesome fast response, thank you.
I was using the semi-useless Windows Explorer search to look for any .s files. That was my mistake.
The files are in:
target\thumbv7em-none-eabihf\debug\deps
Now I feel dumb for not finding them :)
The compiler has produced 8 different Assembler source files, which is what the warning, and your comment are talking about.
By adding the "Optimize" -O parameter, I get get from 8 .s files down to 2
Adding -C codegen-units=1 results in no .s files being produced.

The following works
cargo rustc --release -- --emit asm -C codegen-units=1
With the following in my cargo.toml
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind'
incremental = false
codegen-units = 1   #default was 16. Changed to 1 to allow creating a single disassembly file using -- --emit asm
rpath = false


Support setAdvertiserTrackingEnabled for Facebook ads

Feature Description
The library does not seem to support setAdvertiserTrackingEnabled for Facebooks ads, so no facebook ads are shown, which drastically limit the usefulness of this library, so I can't help thinking I must be missing something.
Could someone confirm me it is the case and provide guidance on how to implement it properly?

Currently, Facebook does not allow any mediators to wrap around their SDK to expose these APIs. You will have to invoke the code manually in the native layer.

Thank you @thomasmso I had previously tried to implement it but for some reasons Xcode cannot find FBAdSettings, although I added the import and can see the file headers in xcode. But that is an issue that is probably off scope here, although if someone has a solution I'm all ears.


Add support for llvm proof formulas

This adds base support for the stuff that #2148 need to build cleanly as part of our build system.
In addition to this, #2148 needs some modifications...  that's for a different PR.
Checklist

[x] documentation is added or updated

Well, I'm waiting on the continued discussion in #2148...

If #2147 is closed, this should be closed.  I'll wait and see what happens there.

Perhaps a new tag "parked" (ietf working groups use that), kinda like hold, but meaning waiting for someone else to pick it up?

Closing this since #2148 just got closed.


replace satori/go.uuid with google/uuid as satori/go.uuid is unmaintained and has CVE-2021-3538

 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.


Upgrade psycopg2 version

Subject: Upgrade psycopg2 version
Feature or Bugfix

Bugfix (master build was failed)

Purpose

Travis does not support older psycopg2
Remove wheelhouse
Enable a travis cache for pip
Split a #29 PR

Detail
Following error occured in master.
Looking in links: /home/travis/build/shimizukawa/django-redshift-backend/./wheelhouse
Obtaining file:///home/travis/build/shimizukawa/django-redshift-backend (from -r test-requires.txt (line 7))
Collecting psycopg2==2.5.5 (from -r test-requires.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/9b/60/f4c79e73a69ded145880bcf4f98eeed741af12c62c5ddc89b754602b1807/psycopg2-2.5.5.tar.gz (779kB)
    100% |█████████████████���██████████████| 788kB 20.5MB/s
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.1'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-tjoflsyr/psycopg2/

Relates

https://travis-ci.org/shimizukawa/django-redshift-backend/jobs/386139366
psycopg/psycopg2#594
#35

Thanks! before merging this, I'm going to make a release in a couple of days, maybe today.

I noticed that this change is not related to release. Thanks!


Why / Balance

i want to mine with BOMBS.
Media

Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

tweak: Ore can no longer be destroyed by explosions. Happy blast mining.

but what about the inevitable gibonite :trollface:


How to save Scikit-Learn-Keras Model into a Persistence File (pickle/hd5/json/yaml)

I have the following code, using Keras Scikit-Learn Wrapper:
from keras.models import Sequential
from sklearn import datasets
from keras.layers import Dense
from sklearn.model_selection import train_test_split
from keras.wrappers.scikit_learn import KerasClassifier
from sklearn.model_selection import StratifiedKFold
from sklearn.model_selection import cross_val_score
from sklearn import preprocessing
import pickle
import numpy as np
import json

def classifier(X, y):
    """
    Description of classifier
    """
    NOF_ROW, NOF_COL =  X.shape

    def create_model():
        # create model
        model = Sequential()
        model.add(Dense(12, input_dim=NOF_COL, init='uniform', activation='relu'))
        model.add(Dense(6, init='uniform', activation='relu'))
        model.add(Dense(1, init='uniform', activation='sigmoid'))
        # Compile model
        model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
        return model

    # evaluate using 10-fold cross validation
    seed = 7
    np.random.seed(seed)
    model = KerasClassifier(build_fn=create_model, nb_epoch=150, batch_size=10, verbose=0)
    return model

def main():
    """
    Description of main
    """

    iris = datasets.load_iris()
    X, y = iris.data, iris.target
    X = preprocessing.scale(X)

    X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=0)
    model_tt = classifier(X_train, y_train)
    model_tt.fit(X_train,y_train)

    #--------------------------------------------------
    # This fail
    #--------------------------------------------------
    filename = 'finalized_model.sav'
    pickle.dump(model_tt, open(filename, 'wb'))
    # load the model from disk
    loaded_model = pickle.load(open(filename, 'rb'))
    result = loaded_model.score(X_test, Y_test)
    print(result)

    #--------------------------------------------------
    # This also fail
    #--------------------------------------------------
    # from keras.models import load_model
    # model_tt.save('test_model.h5')

    #--------------------------------------------------
    # This works OK
    #--------------------------------------------------
    # print model_tt.score(X_test, y_test)
    # print model_tt.predict_proba(X_test)
    # print model_tt.predict(X_test)

if __name__ == '__main__':
    main()

As stated in the code there it fails at this line:
    pickle.dump(model_tt, open(filename, 'wb'))
With this error:
    pickle.PicklingError: Can't pickle <function create_model at 0x101c09320>: it's not found as __main__.create_model
How can I get around it?

Can you try running model_tt.model.save("test_model.h5")? . I think we can't directly use save function on scikit learn wrapper but the above line should hopefully do what you want to do. Let me know

Thanks @krishnateja614 this worked for me where I had the same issue. Wish this were the accepted answer on [Stack Overflow](http://stackoverflow.com/questions/40396042/how-to-save-scikit-learn-keras-model-into-a-persistence-file-pickle-hd5-json-ya]

If sklearn.model_selection.GridSearchCV is wrapped around a KerasClassifier or KerasRegressor, then that GridSearchCV object (call it gscv) cannot be pickled. Instead, it looks like we can only save the best estimator using:
gscv.best_estimator_.model.save('filename.h5')
Is there a way to save the whole GridSearchCV object?
I guess I could write a function save_grid_search_cv(model, filename) that

pickles everything in model.__dict__ that's not a KerasRegressor nor KerasClassifier and
calls save on all KerasRegressor and KerasClassifier objects.
And then write a corresponding load_grid_search_cv(filename) function. I'm comparing Keras models with sklearn models, so I'd like to save both kinds of models (in GridSearchCV objects) using one function.

When trying to persist a KerasClassifier (or KerasRegressor) object, the KerasClassifier itself does not have a save method. It is the keras model that is wrapped by the KerasClassifier that can be saved using the save method. However, if you want to end up with a KerasClassifier after re-loading the persisted model, the re-loaded model must be wrapped anew in the KerasClassifier. This can be done by creating a new KerasClassifier object with a build_fn that actually calls the load_model method, such as:
def build_by_loading(self):
    model = load_model('nn_model.h5')
    return model

So the KerasClassifier to be re-instantiated from a persisted file would be created as follows (for example):
    nn_model = KerasClassifier(build_fn=self.build_by_loading, nb_epoch=10, batch_size=5, verbose=1)

Unfortunately, the KerasClassifier code does not call the build_fn until the 'fit' method of the KerasClassifier is called. This would defeat the purpose of persisting the model.
I created a 'build_only' method in KerasClassifier that only calls the build_fn, but does not fit the model. This work. I recommend that some means of instantiated a KerasClassifier from a persisted keras model similar to this be included in the next release.

@crbrinton Hey bro after looking for many days for a solution I've found your comment and it seems to make sense! However I am not sure how to implement it for my problem.
I am trying to apply the skelarn.BaggingClassifier on the KerasClassifier. If I run it on one core there is no problem at all, but it fails if I want to use multicores. I pinned the problem down to that it tries to save the KerasClassifier (which is not possible out-of-the-box as you pointed out).
I tried to modify this solution http://zachmoshe.com/2017/04/03/pickling-keras-models.html for my needs, but without success. Do you have an idea? Thanks

@cbrummitt  This "gscv.best_estimator_.model.save('filename.h5')" works for me :)

@ChimMeya thank you very much, i use the best_estimator_ got the model infomation.

Hey guys, i'm a bit late to the party but there is a quick and dirty fix to this issue.
In my case, i'm using a KerasClassifier inside of a Pipeline as such:
model = Pipeline([
   ('cleaner', TextCleaner()),
   ('encoder', KerasEncoder(...)),
   ('lstm', KerasClassifier(build_fn=..., ...))
])

In order to serialize it i use the following function :
def save_pipeline_keras(model,folder_name="model"):
    os.makedirs(folder_name, exist_ok=True)
    pickle.dump(model.named_steps['cleaner'], open(folder_name+'/'+'cleaner.pkl','wb'))
    pickle.dump(model.named_steps['encoder'], open(folder_name+'/'+'encoder.pkl','wb'))
    pickle.dump(model.named_steps['lstm'].classes_, open(folder_name+'/'+'classes.pkl','wb'))
    model.named_steps['lstm'].model.save(folder_name+'/lstm.h5')

Which saves all the individual components of the Pipeline in a folder /model.
In order to load it i use the following:
def load_pipeline_keras(cleaner, encoder, model, classes, folder_name="model"):
    cleaner = pickle.load(open(folder_name+'/'+cleaner,'rb'))
    encoder = pickle.load(open(folder_name+'/'+encoder,'rb'))
    build_model = lambda: load_model(folder_name+'/'+model)
    classifier = KerasClassifier(build_fn=build_model, epochs=1, batch_size=10, verbose=1)
    classifier.classes_ = pickle.load(open(folder_name+'/'+classes,'rb'))
    classifier.model = build_model()
    return Pipeline([
        ('cleaner', cleaner),
        ('encoder', encoder),
        ('lstm', classifier)
    ])

The quick and dirty part of this is that the KerasClassifier object calls the build_fn function only when the fit method of the Pipeline object is called. So in order to get around this problem you can manually set the KerasClassifier.model and KerasClassifier.classes_ attributes yourself to their corresponding values.
Hope this helps someone !

I have run into the same issue that I cannot restore the picked GridSearchCV object.  But I figured out a simple solution: use "dill" rather than "pickle" instead.
So you may simply change one line of code:
import dill as pickle
The problem should be fixed.
Cheers,
Wei

I have a work around for the SKLearn pipeline on python 2.7 over at #13168 .  It would be easy to generalize if someone needs it more general.

General solution for Tensorflow models at least. Pickleable with joblib
class PickleableKerasClassifier(KerasClassifier):

    def __getstate__(self):
        state = self.__dict__
        model = state['model']
        bio = io.BytesIO()
        with h5py.File(bio) as f:
            model.save(f)
        state['model'] = bio
        return_state = deepcopy(state)
        state['model'] = model
        return return_state

    def __setstate__(self, state):
        with h5py.File(state['model']) as f:
            state['model'] = load_model(f)
        self.__dict__ = state

General solution for Tensorflow models at least. Pickleable with joblib
class PickleableKerasClassifier(KerasClassifier):

    def __getstate__(self):
        state = self.__dict__
        model = state['model']
        bio = io.BytesIO()
        with h5py.File(bio) as f:
            model.save(f)
        state['model'] = bio
        return_state = deepcopy(state)
        state['model'] = model
        return return_state

    def __setstate__(self, state):
        with h5py.File(state['model']) as f:
            state['model'] = load_model(f)
        self.__dict__ = state

Thanks for sharing! I've added the case when "model" isn't yet available before "build_fn" call by fit(). I'm using scikit-optimize BayesSearchCV(). Now I can use pickle.dumps(estimator_search.best_estimator_)
import copy
import io

import h5py
import tensorflow as tf

...
class KerasClassifier(tf.keras.wrappers.scikit_learn.KerasClassifier):
    """
    TensorFlow Keras API neural network classifier.

    Workaround the tf.keras.wrappers.scikit_learn.KerasClassifier serialization
    issue using BytesIO and HDF5 in order to enable pickle dumps.

    Adapted from: https://github.com/keras-team/keras/issues/4274#issuecomment-519226139
    """

    def __getstate__(self):
        state = self.__dict__
        if "model" in state:
            model = state["model"]
            model_hdf5_bio = io.BytesIO()
            with h5py.File(model_hdf5_bio) as file:
                model.save(file)
                # tf.keras.models.save_model(model, file, save_format="h5")
            state["model"] = model_hdf5_bio
            state_copy = copy.deepcopy(state)
            state["model"] = model
            return state_copy
        else:
            return state

    def __setstate__(self, state):
        if "model" in state:
            model_hdf5_bio = state["model"]
            with h5py.File(model_hdf5_bio) as file:
                state["model"] = tf.keras.models.load_model(file)
        self.__dict__ = state

Thanks @Permafacture and @nunoachenriques!
I think the patch in the previous comment should be merged into KerasClassifier, or maybe into its base class BaseWrapper to make the changes apply to KerasRegressor as well, since sklearn models are so often pickled, typically by joblib for use in parallel contexts. To me, pickling (or at least cloudpickle-ing) is part of the unofficial interface expected of sklearn estimators. This class  seems like the most robust fix, and it might fix the underlying cause of issues like:

https://github.com/keras-team/keras/issues/13168
https://github.com/scikit-learn/scikit-learn/issues/12250

It's anecdotal, but for me using this class fixed issues using keras classifiers as part of pipelines combining custom models and off-the-shelf sklearn models, both in joblib.Parallel context and also when persisting to disk using joblib.dump. (I'm using tf backend on linux)

* load

This works for saving the model but how do I then load it?

https://github.com/keras-team/keras/issues/4274#issuecomment-284100369
This works for saving the model but how do I then load it afterwards?

General solution for Tensorflow models at least. Pickleable with joblib
class PickleableKerasClassifier(KerasClassifier):

    def __getstate__(self):
        state = self.__dict__
        model = state['model']
        bio = io.BytesIO()
        with h5py.File(bio) as f:
            model.save(f)
        state['model'] = bio
        return_state = deepcopy(state)
        state['model'] = model
        return return_state

    def __setstate__(self, state):
        with h5py.File(state['model']) as f:
            state['model'] = load_model(f)
        self.__dict__ = state

Thanks for sharing! I've added the case when "model" isn't yet available before "build_fn" call by fit(). I'm using scikit-optimize BayesSearchCV(). Now I can use pickle.dumps(estimator_search.best_estimator_)
import copy
import io

import dill as pickle  # Using dill instead of Python 3.7+ pickle
import h5py
import tensorflow as tf

...
class KerasClassifier(tf.keras.wrappers.scikit_learn.KerasClassifier):
    """
    TensorFlow Keras API neural network classifier.

    Workaround the tf.keras.wrappers.scikit_learn.KerasClassifier serialization
    issue using BytesIO and HDF5 in order to enable pickle dumps.

    Adapted from: https://github.com/keras-team/keras/issues/4274#issuecomment-519226139
    """

    def __getstate__(self):
        state = self.__dict__
        if "model" in state:
            model = state["model"]
            model_hdf5_bio = io.BytesIO()
            with h5py.File(model_hdf5_bio, mode="w") as file:
                model.save(file)
            state["model"] = model_hdf5_bio
            state_copy = copy.deepcopy(state)
            state["model"] = model
            return state_copy
        else:
            return state

    def __setstate__(self, state):
        if "model" in state:
            model_hdf5_bio = state["model"]
            with h5py.File(model_hdf5_bio, mode="r") as file:
                state["model"] = tf.keras.models.load_model(file)
        self.__dict__ = state

Thanks for this, i have searched for a workaround to use sklearn wrapper with tf.keras and still save with pickle. Thanks again !


Adding the ability to select the plan type

This is still baby steps, working from adding a hardwired selection of
two plan types right now with argument passing.

Look - two different things in the queue!!!

Worked for me as well:

I think it's a really useful addition and a step toward the plans provided by the queueserver.


Added International University of Qaiwan - UTM Franchise

Thank you for Supporting Education!

Please add my School
Paris School of Business
Major: Digital Marketing Strategy and Data Analytics
file.zip

@rebaz36 Pull request merged. Thank you.

@sureshcs0524 Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new separate request with correct information. Thank you for your understanding!


Rename abstract classes to AbstractFoo

I am a bit confused. In other instances you advocate against naming conventions that let the users infer typing from the name (i.e. hungarian) but in this case you advocate for it?

I am a bit confused. In other instances you advocate against naming conventions that let the users infer typing from the name (i.e. hungarian) but in this case you advocate for it?

@sabberworm I try to strive towards code that can be read as a sentence. This means that variable and class names should work as nouns in a sentence.
For example:

"The size is 42."
"This is an abstract CSS thing."
"This is a CSS rule."

Examples where this doesn't work:

"This (object) is a CSS rule class." (Because instances are instances, not classes.)
"This is a size integer." (It represents the size, not the type integer.)

Also, I see a class being abstract more of a piece of structural information (it's abstract), not of type information (it's a class).
I'm undecided about the naming of traits, though. ;-)
Does this help understand my way of thinking about naming?

FWIW, I also don't see the need to reinforce that abstract classes are abstract in their name.
Suppose you have a class with one abstract method.  Later, you decide to provide a default implementation for that method, and, for completeness, remove the abstract keyword (since the class no longer has any abstract methods and is therefore no longer abstract).  If it was previously named AbstractFoo, you'd now have to rename the class, with knock-on effects for all inheritees, or live with a class name that is now plain wrong.

Examples where this doesn't work:
* "This (object) is a CSS rule class." (Because instances are instances, not classes.)

They are. however, objects.  $cssRuleString, $cssRuleObject, or just $cssRule?  You might conceivably have both a string and an object representing the same thing in the same piece of code, if you start with the string representation and make an object out of it.

* "This is a size integer." (It represents the size, not the type integer.)

It represents the size as an integer.  As opposed to representing the size as an object (of some class).

Okay, then closing this as this doesn't look like we won't reach a consensus on this soon, and this particular topic isn't very important to me.

They are. however, objects. $cssRuleString, $cssRuleObject, or just $cssRule? You might conceivably have both a string and an object representing the same thing in the same piece of code, if you start with the string representation and make an object out of it.

I'd usually go for $cssRule unless we have two "things" representing the (sam) rule with the type being important.


fixes two bugs

please see edits.
fixes cancellation problem when you cancel at end of billing period and then cancel it immediately.
fixes trial period bug

Needs much more description. How to recreate, explanation of fixes made, etc.

@taylorotwell

I added a Invoice Payment Failed webhook.  There was an issue with the trial.  The trial would be for x amount of days After, stripe would attempt to charge the credit card (even if there was none), it sends the webhook,  then two days later it would try again.  It attempts 3 times to charge the credit card before sending the cancelation webhook, which meant the trial was extended to x + days attempting to charge.  I added the Payment Failed webook which basically says, if payment fails and there is no credit card on file then cancel immediately.

cancel subscription has a bug in which if you cancel(true) it sets stripe active = 0 and subscription ends = future, if you then cancel immediately it fails to set subscription end = now because the user is no longer subscribed so it bypasses the if ($customer->subscription).  by moving the line down it makes sure that it sets subscription ends = now


SA1313ParameterNamesMustBeginWithLowerCaseLetter  - unused params

Maybe SA1313 could ignore parameter names made only from underscores (which marks unused parameter)?
For example:
button.Click += (_, __) => Console.WriteLine("Click");

This is a duplicate of #1606 and/or #1343. :smile:


CB-8260: (browser) Fix corrupted zip file (build)

Platforms affected
Platform "browser" only.
What does this PR do?
Replace the node module adm-zip, which is known for corrupting some files when compressing a folder to a zip archive, by the module archiver.
Update the build script in order to use archiver instead of adm-zip.
What testing has been done on this change?
Making sure that all the different types of file bundled in the newly built package.zip were properly compressed, and uncompressed.
Checklist

[X] Reported an issue in the JIRA database
[X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[X] Added automated test coverage as appropriate for this change.

I like this, and thank you, however, I am planning on removing zip functionality.
I believe zipping was only added because someone decided that build needed some sort of output.
Realistically, I think it makes more sense to let users zip their own build output as they see fit, and remove these extra deps.


Added 100 Doors C++ solution

seems like Kennyledet is not active and most of the PRs are still on hold.
I'm maintaining the fork at https://github.com/pravsingh/Algorithm-Implementations. Please do send the PRs to this fork.
lets continue with the mission Kennyledet started with.


Text fields: max width of 100%

So they can be used inside smaller containers

Makes sense. LGTM. @sgomes call.

Hold off on this anyways please. I would like to do some experimenting. I'm worried about the effects of making the input width larger in custom code and the impact this could have. And possible side-effects with using this with the grid component.

Also, it looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify.  Thanks.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address.  Check your existing CLA data and verify that your email is set on your git commits.
If you signed the CLA as a corporation, please let us know the company's name.

Doing some quick tests with grid handling and how modifying the width directly, I don't have any concerns. Things work as they should it appears.
On the spec note, I'm not seeing any kind of guidance to this. So, :white_check_mark: from me.
Once the CLA is signed, lgtm.

I added my GitHub username to the existing CLA.

@mweimerskirch Thank you very much! Merging :)


Calico the Hard Way

Signed-off-by: Spike Curtis<EMAIL_ADDRESS>Description

Calico the Hard Way
Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit 7aafb8b7556c58ce74bf66d94975600a76ac2bd6
https://deploy-preview-2746--calico.netlify.com

@caseydavenport ok, I think this is ready for another round of review

@spikecurtis looks like there are still some comments that haven't been resolved. Is there a commit missing?
Aside from the comment re: the Typha TLS secret naming, I'm happy to merge this and I can clean up additional capitalization, etc, in a follow on.


Enable custom configuration for release auditing

Relates to https://github.com/ericcornelissen/depreman/issues/50
Summary
Update the "Audit / Deprecations" and "Audit / Image" jobs to expect a custom configuration from the repository variables when they're running for a past release. This enables retroactively adjusting the config as necessarily, in particular allowing to ignore false positives.

This change was tested in https://github.com/ericcornelissen/js-regex-security-scanner/actions/runs/12362262428 and works as expected :tada:


Project timestamp is always now()

Should change, otherwise project is synced too frequently.

Did not help.


Update disabled messages so new pylint passes

Probably should discuss?
https://github.com/PyCQA/pylint/blob/master/ChangeLog

The docstring for a function or method should summarize its behavior and document its arguments, return value(s), side effects, exceptions raised, and restrictions on when it can be called (all if applicable). Optional arguments should be indicated. It should be documented whether keyword arguments are part of the interface.

From:  https://www.python.org/dev/peps/pep-0257/

LGTM

Maybe add a hygeine issue which re-enables those options and fixes the errors?

Good idea!


[MRG] Add Amazon review dataset to skada

Same structure as office31

A few comments from #196 also seem to be applicable here.


renamed Templates/ -> templates and Utilities/ -> utilities/

this fixes build errors

Good find, directory naming should be standardized y'all!

Thank you!  We renamed locally for production projects using this repo and Git didn't catch the change.
Appreciate it!


[preinstall/now update] Check if now is installed locally

This will check if now is installed locally or globally in the preinstall script and in the getUpdateCommand function.
Fixes #2686

Codecov Report

:exclamation: No coverage uploaded for pull request base (canary@eeed5a8). Click here to learn what that means.
The diff coverage is 9.09%.

@@           Coverage Diff            @@
##             canary   #2688   +/-   ##
========================================
  Coverage          ?   8.24%
========================================
  Files             ?     260
  Lines             ?   10519
  Branches          ?    1341
========================================
  Hits              ?     867
  Misses            ?    9594
  Partials          ?      58

Impacted Files
Coverage Δ

src/commands/certs/add.js
0% <ø> (ø)

src/util/dev/errors.ts
53.33% <ø> (ø)

src/util/alias/get-deployment-from-alias.ts
0% <ø> (ø)

src/commands/dev/dev.ts
0% <ø> (ø)

src/util/dns/delete-dns-record-by-id.ts
0% <ø> (ø)

src/util/index.js
0% <ø> (ø)

src/util/deploy/create-deploy.js
0% <ø> (ø)

src/commands/alias/set.ts
0% <ø> (ø)

src/util/config/read-config.ts
0% <ø> (ø)

src/util/dev/server.ts
12.38% <ø> (ø)

... and 18 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 eeed5a8...b4fc552. Read the comment docs.


Initialize steppath using a function instead of init

Description
This commit changes the initialization of the STEPPATH to an Init function instead of doing it at the start using Go's init function.
It also removes the mkdir of STEPPATH. If necessary, commands like "step ca bootstrap" or "step ca init" will create the directory.
step and step-ca should call step.Init() at the start and fail if an error is returned. We might need to change other tools too.
Commands that create files in the STEPPATH or in a step context should create the directory if it doesn't exist. Main commands like step ca bootstrap and step ca init already do that.

Does it make sense to add a helper for the mkdir operation, to be called after Init()?

I added that initially, but I removed it after not seeing an operation that writes files there that do not do MkdirAll. I can add it back, @hslatman what do you think?

Might be handy to add, just in case, for future use cases. It would make this Init and the fact that the dir(s) have to be created by the implementer a bit more discoverable/documented.
Given that you mention you didn't find a code path that didn't already do it, it's probably OK to merge this one and add the helper in a follow up.


Upgrade unicode-display_width

Closes #1428

Changes Unknown when pulling 16832626e229c8f5c2226f2cb2251ffa6bc98ad0 on jwworth:upgrade_unicode_display_width_1466688605 into ** on 24pullrequests:master**.

Thanks!


Add endpoints to API

Adds the following API endpoints:
Endpoint for: Study class
URL: codewof.co.nz/api-studies
Accessible to: Admins
Data: Shows all studies with the following data for each: study ID, title, user types and researchers.
Endpoint for: StudyGroup class
URL: Not accessible through the browsable API. Used as a helper class.
Accessible to: Admins
Data: Shows all studies with the following data for each: study group ID, title and questions.
Endpoint for: User class
URL: codewof.co.nz/api-users
Accessible to: Admins
Data: Shows all users with the following data for each: user ID, email, first name, last name and user type.
Endpoint for: Profile class
URL: Not accessible through the browsable API. Used as a helper class.
Accessible to: Admins
Data: Shows all profiles with the following data for each: user ID and email.
Endpoint for: Attempt class
URL: codewof.co.nz/api-attempts
Accessible to: Admins
Data: Shows all attempts with the following data for each: attempt ID, datetime, question ID, user code for the attempt, if the tests passed or not and the profile of the user that submitted the attempt; this contains the ID of the user and email of the user.
The following URL takes a long time to load because of the data we are fetching. We aren't worried about this at the moment.
Endpoint for: Study class (except only shows one particular study)
URL: codewof.co.nz/api-study/?study_id=<study_id> where <study_id> is an integer (Primary Key of the Study)
Accessible to: Researchers of the study
Data: Shows all studies with the following data for each: study ID, title, user types and researchers. Will also show the study groups in the study; which is a dictionary containing the study group ID, title and questions in each study group (which is a dictionary containing the info for each question along with the info of attempts for each question). That's a huge mouthful so have a screenshot :stuck_out_tongue:  :

Also generate fake data for Attempts when we run ./dev sampledata. This currently only generates a max of 1 attempt per question.
Note that for testing the 'researcher' for every study is the admin account.
TODO:

[x] Allow all data for a particular study to be viewed at a single URL and......

[x] only allow the researchers of this study to access this.

[x] Adding researcher restriction currently duplicates queries - need to investigate if we can get away without doing this.

[x] Try and remove 'profile' from attempt information, or make profile be a dictionary of user ID and email so we don't have duplicate info.

[x] GET dropdown not working

[x] Customise theme? :stuck_out_tongue:
DARK MODE

On all the pages when I select json from the drop down menu all the data loads fine, but the styling doesn't work. It's happening on firefox and chrome, no console error coming up on chrome though.
It doesn't affect the functionality though so maybe not a big issue?

On all the pages when I select json from the drop down menu all the data loads fine, but the styling doesn't work. It's happening on firefox and chrome, no console error coming up on chrome though.
It doesn't affect the functionality though so maybe not a big issue?

This is supposed to be like this :)

This is supposed to be like this :)

Oops facepalm
In that case, everything looks good to me! :)


Addresses #2158 Refine subclasses of 'kidney cell'

Addresses #2158 Refine subclasses of 'kidney cell'

#gogoeditdiff

#gogoeditdiff


Defer the start of psp controllers

Only if DefaultPodSecurityPolicyTemplateName is set on v3.Cluster or
podsecuritypolicytemplatebinding for project in a cluster exist will
the psp controllers be started.

@ibuildthecloud unused import is breaking build.


Cardano Indonesia Meeting #19: 06 June 2022 until 12 June 2022

Cardano Indonesia Meeting: 06 June 2022 until 12 June 2022

Last Meeting - #43
Next Meeting - #45

Attendees:
Andreas Sosilo (@andreassosilo)
Andre Cahyadi (@andrecahyadi)
Dion Setyotomo (@dionsetyotomo)
Shokhibul Burhan (@shokhibulburhan)
Yan Tirta (@YanTirta)
Apologies:
Andy Sibuea (@zicozibu)
Jordy Vincent (@jordyvincent)
Caliburn (@CryptoCaliburn)
Xavier Daniswara (@syarbel)
Dani Ihza Farrosi (@danivideda)
Pending Tasks

Request a new sub-category for Cardano Forum #26 by @andreassosilo
Create Cardano Indonesia community profile #36 by @andrecahyadi @dionsetyotomo

Meeting Topics
1. Eastern Town Hall Indonesia

Next meetup: Saturday, 18 June 2022 @ 09:00-11:00 UTC
Eastern Catalyst School:

Preparation for 3rd workshop: "F9: How to submit a proposal - Part 2"
See minutes of meeting here
Discussion on Thursday, 09 June 2022 -> about budgeting and 1-on-1 session

2. Social Engagement

Collected data "Cardano Indonesia Social Media Growth" (a form created by @dionsetyotomo
Input by: @andreassosilo -> will be updated on 30 June 2022
Instagram -> Status: On Hold

Need to ask @jordyvincent -> how do we want to continue with Instagram? Ask for access, so Ayu Kusumaningtyas could work on it -> @dionsetyotomo will try to contact @jordyvincent

Twitter

Ayu, increase engagement in Twitter to increase followers. Regular post at a specific time. @andreassosilo will give her access to Cardano Indonesia Twitter account
Twitter Space: @dionsetyotomo & @CryptoCaliburn, starting regular Twitter Space and/or Telegram Voice during weekdays about Cardano and its ecosystem. This will be started regularly around 17:15 or after 20:00 WIB

Discord -> Status: On Hold
Telegram

Ayu, increase engagement in Telegram to increase followers. Regular post at a specific time. @andreassosilo will give her access as admins in the Cardano Indonesia Telegram account

3. Community Operation
Proposal Drafts for Catalyst Fund 9 or Fund 10:

Cardano Hub Indonesia - Workshops -> Status: On Hold

Ask to fund for Cardano Hub Indonesia operation
@YanTirta & @dionsetyotomo: create Google Sheets for our draft proposal, try to use the Eastern Town Hall Team Operation proposal. Google Sheet
Example proposal from Eastern Town Hall Team Operation: https://docs.google.com/document/d/1lfgePHdJyEW2pDZ8EnL2wCjuJ7wgBQHc/edit?usp=sharing&ouid=116783838297278560675&rtpof=true&sd=true
The core team must be compensated -> meeting: 15 USD/hour for example
Has dedicated admins
@dionsetyotomo will create a matrix
Range from admin (30 USD/hour) until developer (100 USD/hour) -> example from other proposal in Catalyst
Need more brainstorming
Put a maximum cap for the contribution each month
Target: support members to become proposers and submit proposals in each Catalyst Fund, collaborate with members from other countries
Input from @dionsetyotomo & @YanTirta : for event (max. 3 months), for regular meetup/workshops (max. 6 months)

Community SPO NFT -> by: @YanTirta - TBD

Cardano Hub UGM -> by: @danivideda - TBD

4. Collaboration

TRIV

Randy contacted @YanTirta -> to create a Cardano event in Surabaya -> budget from TRIV (10 million IDR) -> hybrid event on Saturday, 25 Jun 2022 (19:00 - 21:00) -> will be organized by @YanTirta, @dionsetyotomo, & @CryptoCaliburn
Speakers:

Randy (Triv Indonesia)
Yan Tirta (Eastern Catalyst School & Project Catalyst)
Caliburn (Cardano NFT Ecosystem & NFT Use Case)
Darma & Dila (Synchronize Festival Team)
Filippo (NFTLink)

Venue: Hotel MaxOne Darmahusada, Surabaya
Core Team Support: @dionsetyotomo
Updates:

Budget will be transferred on May 31 2022 to pay mostly for accommodations & transport.
Will be further updated by @YanTirta on the google sheet
Workshop session
Content preparation: CNFT - cancelled
Collaboration with Indonesia's Chainlink community

5. Cardano Summit 2022

Around September 2022 -> info from @zicozibu
Community workshop
What do we want to do for this year -> small gathering in Jakarta?
Need to ask EMURGO Indonesia if they will create an event for Cardano Summit 2022 by @zicozibu
@dionsetyotomo will contact Doddy Emurgo Indonesia
Another option: to have a self-funded event, need some venue space options: co-working spaces, restaurants with min budget around 100k-150k/person

6. Funded Proposals
a. Cardano Hub Indonesia - Workshops

@andreassosilo needs to pay the compensation for May 2022 workshops (DELAYED)
Next workshop:  Sunday, 12 June 2022 at 19:00-21:00 WIB
Topic: "Cardano Onboarding Guide"
Speaker: @andreassosilo , Darma & Wisenu from KITA Cardano
Host: @andreassosilo
Co-Host: @andrecahyadi
Reward: 2x 10 ADA + 2x (NFT + 2 ADA) -> need to be send to $cardano_id by @andreassosilo , will be verified by @andrecahyadi
Next Workshops' schedule:

26 June 2022: Cardano Ecosystem June 2022
10 July 2022: AMA (with Blue Korintji?) -> Follow up Bayu Isman by @dionsetyotomo
24 July 2022: Cardano Ecosystem July 2022
07 August 2022: Introduction to Cardano NFT (AMA: how to mint, how to register/validate in the marketplace, royalty CIP-777, how to get profit from buying/selling NFT, discussion about NFT use cases) -> Follow up Omar from Fibo NFT Marketplace by @dionsetyotomo
21 August 2022: Cardano Ecosystem August 2022
04 September 2022: "How to setup stake pool in Cardano" by Andrew Ponto
18 September 2022: Cardano Ecosystem September 2022

b. DID for Cardano Indonesia Community

Learn about (WAL-CLI)[https://github.com/roots-id/wal-cli] -> needs to be read and tested
Watch YouTube demo for WAL-CLI:
@danivideda starts helping on research and learning about Atala PRISM, SSI, DID, and VC
Waiting for June budget from IOG Catalyst Team -> Plan: Monday, 13 June 2022
Note: pending for 3 months (due to less man power)

c. Community Web Portal in Bahasa

Link website: https://www.adakita.xyz/ (Live)
Waiting for article submission
Compensation -> 10 USD/article becoming 10 ADA/article -> needs to be verified by @dionsetyotomo, @bogelgelbo
Submit Article Link: https://docs.google.com/forms/d/e/1FAIpQLSd68yh8gLdurHwePjz_c7wxA1JmqU2KGh6eXkqP1obQeYPOTA/viewform?pli=1
Fund for May 2022 not yet received -> will be confirmed again later
Submitted the monthly KPI Report May 2022 to IOG Catalyst Team @dionsetyotomo, @bogelgelbo
Closing report to be followed up @dionsetyotomo, @bogelgelbo

Done. Closed.


Improvements to test v2

Node.JS cli for v2 generation
ABAP report to test v2 generation

This PR is related to the repository sap-malware-scanning-openapi that should be used to create the ABAP definitions for the SAP Malware Scanning Service in the generated-sap-malware-scanning-openapi repository. When I copy MalwareScanAPI.json into https://abap-openapi.github.io/web-openapi-client/ the generation works just fine. But when I run it with the script that I've added in this PR or the report then the generation fails.

set selectionScreenBlockIndentation in the abaplint configuration for https://rules.abaplint.org/indentation/

https://github.com/abaplint/abaplint/issues/2846 opened

@gregorwolf I was trying out the ABAP program you've added with the malware spec you linked in the original comment.
I found that if the description fields are too long then it was causing a short dump in the cl_sxml_string_reader. I had also attempted to read the JSON spec with /ui5/cl_json_parser which resulted in the same issues.
After I reduced the length of the descriptions, it generated like the web client.

It seems like the manual work around is to reduce the length of the description texts in the JSON specs.
TO fix the root of the issue it seems we need to use a different class to read in the JSON spec. -- @gregorwolf or @larshp are you aware of a different class that could read in the JSON file that won't dump because of a value being to long?

@gregorwolf after looking into it further it appears the SOTR_SERV_TABLE_TO_STRING FM was causing the 255 character restriction that was causing the long descriptions to short dump. In my local copy I replaced it with the code below and it appears to not cause any issues with the schemas I've been testing with.
DATA json_string TYPE string.
LOOP AT data_tab ASSIGNING FIELD-SYMBOL(<wa>).
    json_string = json_string && <wa>.
ENDLOOP.

closing, feel free to open new PR which passes CI


load plotting style defaults from yaml file

solves #255
the default parameters for plotting are set in the plotting_style.yaml file. In the initialization of the Style class, the yaml file is loaded and the parameters are updated with the user-defined values.

Thanks @felixzinn for this patch.
I think it's safer to load the default plotting parameters from the central .yaml file, and each time a new default is defined, we just updated plotting_style.yaml.
The PR looks good to me.


Non-strict forwarding across multiple channels should take into account closed or closing channels

Background
When multiple channels with a peer exist payments will be forwarded over the channels that have liquidity to the peer, however if one of the channels is closing or closed instead of using the remaining open channel or channels to complete the payment it will be failed back to the sender
Your environment

lnd 0.15.1

Steps to reproduce

Create a private channel
Make an invoice with this channel as a hop hint
Create another private channel
Close the original private channel
Pay to the invoice with the closed/closing private channel hop hint

Expected behavior
Payment should use the remaining open channel and succeed, even though that channel is not specified in the onion packet
Actual behavior
Payment fails back with unknown next peer error which will also prevent retries

Yeah pubkey based routing would also solve this


Dealing with multiple access token URLs

Attempts to fix #368

I think this shows that there is a flaw in the abstraction of getAccessTokenRequest. The user needs all of the available input when deciding how to build out the request, including $grant and (possibly) $options.

@shadowhand I disagree, the only flaw is not passing enough information to getAccessTokenUrl. . We were once happy to not pass anything to getAccessTokenUrl, in fact you yourself implemented it as a constant. We reverted back to abstract method which a provider has to implement, giving us some more flexibility. This case shows brought to our attention that some providers have varying access token URL's -- something none of us had thought of.
Also note that this PR is already reflected in #364 here

Fixing the tests now.

Ah yes I see now. I made an invalid assumption about how the refresh_token parameter was passed around. Your solution should work correctly.

:+1:

Looks good. :+1:


[UT] mv compression ut to full test

Description
Test Options

[ ] fast test
[ ] full test - HPO
[ ] full test - NAS
[ ] full test - compression

Checklist

[ ] test case
[ ] doc

How to test

The pipeline works well on master. Seems the error is caused by this PR.

The error is caused by missing __init__.py. I've already introduced one in #4933. Maybe you can wait for a while.


Controller Tooltips do not work with Pointer (when enabling "interact with objects")

Environment

Source of VRTK (Unity Asset Store or Github)
Unity Asset Store
Version of VRTK (Unity Asset Store/Github release number) (Github master commit hash)
3.2.1
Version of Unity3D (e.g. Unity 5.4.4f1)
2017.1
Hardware used (e.g. Vive/Oculus)
Vive
SDK used (e.g. OpenVR/SteamVR/Oculus Utilities)
SteamVR

Steps to reproduce

Open example scene, 029_Controller_Tooltips
Add VRTK_Pointer and VRTK_StraightPointerRenderer to a controller script alias
In VRTK_Pointer, check the "Active on Enable" and "Interact With Objects"
Run the example

Expected behavior
Controller tooltips will shown, and the pointer will work properly.
Current behavior
Pointer works properly, controller tooltips are not shown.

Just tried it in github master, works for me.
I recommend trying it on github master


C++ SDK should enforce client to use cxx 17 standard

Describe the bug

Using the C++ SDK in the c++ project
Compiler saying:
 error: ‘byte’ is not a member of ‘std’

See here byte required c++ 17 to be activated, not sure the rerun-sdk is enforcing the client to have this cxx standard enforced
https://en.cppreference.com/w/cpp/types/byte
Rerun version
0.19
Additional context
Issue first discovered here https://github.com/openMVG/openMVG/issues/2368

Status quo is that we're setting the property for the rerun target itself here
https://github.com/rerun-io/rerun/blob/main/rerun_cpp/CMakeLists.txt#L30
and document that this is something that needs to be done for anyone using Rerun
https://rerun.io/docs/getting-started/quick-start/cpp#using-rerun-with-cmake
I think we need to instead use target_compile_features with PUBLIC to make it possible to "infect" any target using Rerun.
We need to test though if a user then can still use C++20! If that overrides it, we need to keep things as they are.
https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards says

For example, if C++ 11 features are used extensively in a project's header files, then clients must use a compiler mode that is no less than C++ 11.

so this should be doing what we want

Thank you @Wumpf for the feedback and details!


fix(PeriphDrivers,CMSIS): SBISYS-216: Fix typos in SPI Rx Request Select, new SVD file for MAX32690

Description

Fixed typos in SPI request select for SPI3 and SPI4. It was preventing SPI transactions from working in DMA mode for MAX32690GWE+
Added updated SVD file for debugging MAX32690GWE+. Peripherals SPI3 and SPI4 were missing.

Nice catch. I've updated our SVD scripts to include SPI3 and SPI4.

/generate-register-files max32690

Nice catch. I've updated our SVD scripts to include SPI3 and SPI4.
Thank you!


[Bug]: The logical database is in a physical table, but after the logical table is extracted, the number of physical tables is displayed as 0

ODC version
4.3.2
OB version
no related
What happened?

The logical database is in a physical table, but after the logical table is extracted, the number of physical tables is displayed as 0
What did you expect to happen?
The number of physical tables on the extraction display page must be consistent with the actual number
How can we reproduce it (as minimally and precisely as possible)?
The number of physical tables on the extraction display page must be consistent with the actual number
Anything else we need to know?
No response

pass


issue #60 focus fix and disable force popup open

ESC will trigger <textbox id="nostalgy-folderbox" .... ontextreverted="NostalgyHide(true);"... which will call NostalgyHide(true); and looks like changing focus during TB tear-down of folderbox popUp will leave popUp in broken state.  I just added a timeout 0 do defer focus change after the tear-down. I have also disabled force popup open as this did not work for me - popup was not functional.

Just saw this: has 0.2.36 been revised?

Hi, yes - I have disable the force popup open function. This was the first time I looked at TB and extensions. When I had force popup open enabled, I believe the popup was not rendered correctly (position and size was off) and it did not respond to keyborad keypress.

Forcing popupopen by calling controller with DOM_VK_DOWN. Opening popup though popupOpen (https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Property/popupOpen) does not populate the popup with recent folder list. It is a still a mystery to me, how the list get populated, after you press the DOWN key but the hack is that I just called same function of the controller object which in turns populate popup same as when you would press VK_DOWN.
@brozono  please check the new version

I did not test the fix on TB version 52 (yet).

Tested on 60.3.3, and it fixes the problem indeed.  Well done, @h271fa, thanks!

I've updated http://alain.frisch.fr/info/nostalgy-current.xpi if people want to try out the fix.

Just checked with TB 60.3.3 and looks working.
Great Job!

Tested on TB 60.4.0 and it seems to work. Can you push this to thunderbird's extension page, so that the add-on updates itself automatically? Thanks for all that great work @alainfrisch and @h271fa!!


removed merged branches

@jasonmit whenever we merge a dev branch, delete them :)

:+1:

All cleaned up :)

that was fast! jejejeje


stackOffsetX and stackOffsetY don't work on iOS but they do on Android

If I swipe the cards on iOS I can see the stack under the main card though.
Thanks for this nice library!

I'll check this out

It seems to me that the problem is bigger than the offset.. on iOS I get a stack of cards hiding each other (yet this is not how it is meant to be - check android for instance).
I'll see what I can do

Sorry for the late fix, but it is now fixed along with the prev. comment... you can get it at the latest ver 0.2.20


[WIP] Add MinRow and MaxRow for fields

This PR attempts to add MinRow and MaxRow calls to fields in an attempt to fix #247. Unfortunately, the tests to verify this works don't pass.

The tests now pass with the changes in #249.


Plugin crashes on JDK 7

https://travis-ci.org/adelnizamutdinov/kasosalo/builds/118649406

@adelnizamutdinov I've published 0.12.3 update, could you please check if everything works as expected now?

works for me https://travis-ci.org/adelnizamutdinov/kasosalo/builds/118654629

Great, thanks.


Malus law calculator added to photonics section of physics with solution part and unique definition.

Related Issue

Info about Issue or bug

Fixes: #623
Describe the changes you've made
Malus law calculator added to photonics section of physics with solution part and unique definition.
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.

Screenshots
|        Original

|          Updated

|
| :---------------------: | :------------------------: |
| original screenshot | updated screenshot  |

@Amit366 I have checked the definition from plag checkers now.


Oak Index manager does not support deployments on ContextRoots other than /

I have deployed AEM 6.0 on an application server using the context root "/cqa/", but the the Oak Index Manager does a JSON request to "/etc/acs-commons/oak-index-manager/_jcr_content.list.json", which fails of course with an internal server error (delivered by the application server).
This request should include the context root.

@joerghoh what version are you using? This should be resolved now per the rr.map(..) call here:
https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/content/src/main/content/jcr_root/apps/acs-commons/components/utilities/oak-index-manager/oak-index-manager.jsp#L24

I use 1.9.4

This was fixed in 1.10.0


Error trying to open report:

Hi, I have a problem when I have the custom module working. When trying to open a report, the following error is displayed.
I didnt make any changes to the module, I just downloaded and compiled the example as the instructions say.
Could you give me any idea where the problem could be?

OData exception occurred: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.ReportingServices.Portal.ODataWebApi.Utils.PbixReportHelper.ShouldReShred(PowerBIReport entity, Uri basePortalUrl, ILogger logger, IPrincipal userPrincipal, String reportServerHostName)
at Microsoft.ReportingServices.Portal.ODataWebApi.Common.CatalogItemControllerHelper1.GetItem(String key)    at Microsoft.ReportingServices.Portal.ODataWebApi.Common.CatalogItemControllerHelper1.GetAllowedActions(String Id)
at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.PowerBIReportsController.GetAllowedActions(String Id)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext().| RequestID = s_ec14fae1-55c9-4680-9771-f8caac46a59e  2021-02-22 14:15:40.9738|ERROR|21|OData exception occurred: System.Net.WebException: The remote server returned an error: (401) Unauthorized.    at System.Net.HttpWebRequest.GetResponse()    at Microsoft.ReportingServices.Portal.ODataWebApi.Utils.PbixReportHelper.ShouldReShred(PowerBIReport entity, Uri basePortalUrl, ILogger logger, IPrincipal userPrincipal, String reportServerHostName)    at Microsoft.ReportingServices.Portal.ODataWebApi.Common.CatalogItemControllerHelper1.GetItem(String key)
at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.CatalogItemsController.GetEntity(String key, String castName)
at Microsoft.ReportingServices.Portal.ODataWebApi.Controllers.Reflection.EntitySetReflectionODataController1.GetRoot(ODataPath oDataPath, Int32& index)    at Microsoft.ReportingServices.Portal.ODataWebApi.Controllers.Reflection.ReflectionODataController1.Get(ODataPath oDataPath)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

I recommend to use a clean machine and run the installation script  which will produce a valid configuration
And then compare the configuration files with your system


Question about models.py and the result

I have a question about the code and the result
First,the code in models.py line 42 to 46 and line 48 to 52.These two range of code is same.Is that coding wrong or it is necessary to do it ?
Second, I ran your code and my val_loss is always larger than 0.3, is that correct?

@supermark1995
(1) Conv layer is required twice for each module due to ResNet structure.
(2) I don't remember detailed loss values. Isn't val loss lowered by executing according to this code without additional data augmentation ,regularization or learning rate changes?

@koshian2
Excuse me, I had a "Floating point exception" when I train octave convolution with alpha = 1,and I saw that you have a annotation in oct_conv2d.py line 19 -- "alpha: Low channel ratio (alpha=0 -> High only, alpha=1 -> Low only)". So is that OK that I set alpha equal one when I training the code.If yes,do you have any idea to fix this bug?


'Click example' at your website (http://humblesoftware.com/flotr2/) is not working

The mouse click example at http://humblesoftware.com/flotr2/#!click-example is not working

It is working now.