Question: Retries + repeated period scheduling

Hi!
First of all, I love this library its documentation. Having in consideration the pain of working with alarms on Android, this is kind of a must.
I have two usage cases for the library, and I've been through all the issues (opened and closed) but I haven't been able to see anything related to what I'm looking for:
Retries
One of my use cases, is scheduling a job that's triggered in two minutes. If there is no connectivity, then it's useless so I used a backoff criteria to trigger the job again in 4,8,16 minutes. My questions are:

Is there any way to say how many retries I want set up? Because Imagine I'm on a trip and I trigger the job. It would be there trying to triggering events forever. I don't know if it makes a lot of sense, but I was just wondering...

Here is the code:
new JobRequest.Builder(DismissPendingFeedJob.TAG)
        .setExact(timeInMillis)
        .setPersisted(true)
        .setBackoffCriteria(TWO_MINUTES, JobRequest.BackoffPolicy.EXPONENTIAL)
        .setRequirementsEnforced(true)
        .setUpdateCurrent(true)
        .setRequiredNetworkType(JobRequest.NetworkType.CONNECTED)
        .build()
        .schedule();

Instead of setting a custom requirement and a back-off criteria, the first it came to my head was using a broadcast receiver to check for connectivity and then triggering a job, but Lint complains about the connectivity change intent filter:

So that means it doesn't work anymore from Android N. I guess there is an alternative (as the lint says) using the JobScheduler or the GCMNetworkManager. Is there anything I could do with Android Job?
Repeated period scheduling
From here I've seen there is a way to run a job at a specific time once a day, but  as I've seen here, we have to reeschedule the periodic jobs from the first job. That means we should always return Result.RESCHEDULE and override the reescheduling function in the job?
Thanks!!

Hi, good questions.
Retries
There is currently no way to stop a job automatically after a curtain amount of retries. But this can be easily achieved in your job itself (what is more flexible).
    @Override
    @NonNull
    protected Result onRunJob(final Params params) {
        boolean success = doSomething();

        if (!success && params.getFailureCount() >= 3) {
            Log.d(TAG, "too many failures, aborting");
            return Result.FAILURE;
        }

        return success ? Result.SUCCESS : Result.RESCHEDULE;
    }

Connectivity Change
Yes, simply schedule a job with a required network type. On Android Lollipop and above the JobScheduler will be used. The system tries to find a good time to run your job, e.g. is the job in the execution window, are the requirements met, etc. Those features are kinda back-ported to older Android versions where the JobScheduler is not available.
    public static void scheduleNetworkJob() {
        new JobRequest.Builder(TAG)
                .setExecutionWindow(TimeUnit.MINUTES.toMillis(1), TimeUnit.DAYS.toMillis(1))
                .setRequiredNetworkType(JobRequest.NetworkType.UNMETERED)
                .build()
                .schedule();
    }

Repeated period scheduling
No, you shouldn't reschedule the job, but instead schedule a new one. If you reschedule, then the back-off criteria shift the execution window. That's not what you want, if should job should run only once a day during a specific time.
Also note that onReschedule(int newJobId) tells you the new job ID. You can't control the rescheduling behavior from this method. You also don't need this method, if you schedule a new job.
I hope that helps.

Can the ticket be closed?

I've been so busy, but I wanted to ask something else. If you give me one more week Ill make a couple of more questions and I'll try to make a PR updating documentation as well ;-)

? :)

Closing because of inactivity

Hi @vRallev Sorry for commenting on a closed issue.
Actually my query is similar to this one only. I want to listen to Connectivity change and whenever connectivity changes I want to start a service. Not sure how above mentioned method will help with that. What I want is an event like we used to get for CONNECTIVITY_CHANGE in BroadcaseReceiver below Android N.
TIA

That won't work on Android N / O this way anymore. Instead you should schedule a job with a specific network connection as requirement. Then the system will start your job when the requirements are met.

Got your point.
So my use case is I start a service with Network as requirement and return RESCHEDULE from onRunJob() and in the service first step I check internet is there or not, if its not there then I stop the service.
So the below method will start the service again when the network reconnects?
public static void scheduleNetworkJob() {
new JobRequest.Builder(TAG)
.setExecutionWindow(TimeUnit.MINUTES.toMillis(1), TimeUnit.DAYS.toMillis(1))
.setRequiredNetworkType(JobRequest.NetworkType.UNMETERED)
.build()
.schedule();
}


Add missing requirements

Hey folks,
Was checking out your project and noticed some requirements are missing. These are neat tutorials for the library so make sure they are always working for your users!
We build an app which will test these notebooks for you -- check it out if you have a chance.
Best regards,
Alex

Hi Alex,
thanks for reporting. We manage some of the dependencies as extra components as they are fairly large and not needed for the basic functionality of the library. Please try again running the notebooks after installing the following extra components:
pip install secml[pytorch,cleverhans]
Let us know if the problem running the notebooks persists.
We will also make sure to update the notebooks to clarify which extra components (if any) are required.

Ah that makes sense, thanks Marco all the extra deps are there, will close this PR


[Event Request] Codeunit 5987 Serv-Posting Journals Mgt.

The following event changes are required for this object:
    [IntegrationEvent(false, false)]
    local procedure OnPostItemJnlLineOnBeforeCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line"; ServiceHeader: Record "Service Header"; ServShptHeader: Record "Service Shipment Header"; var ServiceLine: Record "Service Line"; var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; var WhsePosting: Boolean; var ShouldCreateWhseJnlLine: Boolean);
    begin
    end;

if SalesSetup."Exact Cost Reversing Mandatory" and (ServiceLine.Type = ServiceLine.Type::Item) then
                if ServiceLine."Document Type" = ServiceLine."Document Type"::"Credit Memo" then
                    CheckApplFromItemEntry := ServiceLine.Quantity > 0
                else
                    CheckApplFromItemEntry := ServiceLine.Quantity < 0;

            ShouldCreateWhseJnlLine := true;
            OnPostItemJnlLineOnBeforeCreateWhseJnlLine(ItemJnlLine, ServiceHeader, ServShptHeader, ServiceLine, TempWhseJnlLine, WhsePosting, ShouldCreateWhseJnlLine); //EVENT CHANGE REQUEST

            if ShouldCreateWhseJnlLine and (ServiceLine."Location Code" <> '') and (ServiceLine.Type = ServiceLine.Type::Item) and (Quantity <> 0) then begin
                GetLocation(ServiceLine."Location Code", Location);
                if ((ServiceLine."Document Type" in [ServiceLine."Document Type"::Invoice, ServiceLine."Document Type"::"Credit Memo"]) and
                    Location."Directed Put-away and Pick") or
                   (Location."Bin Mandatory" and not IsWarehouseShipment(ServiceLine))
                then begin
                    CreateWhseJnlLine(ItemJnlLine, ServiceLine, TempWhseJnlLine, Location);
                    WhsePosting := true;
                end;
            end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12439.


Cex.io Buy don't buy on exchange

Hi, when I place buy in live trading (not in paper.. :P ) its don't place a buy on exchange Cex.io, my API right are all on on Cex, and on zenbot 4.1.0 it say I'have bought but nothing :/

System information

**OS Platform and Distribution: Ubuntu 16.04
Zenbot version: 4.1

when I'm trying to do manual trade *

Hi,
Can You check settings buy_pct and sell_pct are it set on 99? If not try set and check again.

Dear issue reporter,
We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.
You can find it here: https://reddit.com/r/zenbot
This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.
Thanks for contributing time and effort!
Greetings,
🤖


units as enum?

Why are the units (e.g. "%", "degree") stringly typed? Instead you could have an enum something like this:
enum SpacingUnit {
    Percent,
    Em,
    Px,
}
enum RotationUnit {
    Degrees,
    Radians,
}

(This example doesn't claim completeness)

Units are already implemented by using enums, check the documentation to see them all. Optionally the unit types are stringly typed then forced into the enum with an Into<*Unit>. This way users can choose which one they want to use.
In short, I like the stringly typed version, but you are not the first person to ask for typesafe units. So now there is a compromise solution.
closing as dup


Dynamic change TopFragment's layout after calling initializeView

Hi you,
After calling initializeView i cannot dynamic add view to TopFragment's layout, doesn't crash or throws any exception but  doesn't showing the added view, seem not invalidated, i also call invalidate, requestLayout for TopFragment's layout, DraggablePanel and the added view, not working at all.
Final solution that working : Calling requestLayout for BottomFragment's layout after adding view to TopFragment's layout.
So, I have no idea how my solution works and this problem.

@bqthuan when you call initializeView() its called draggableView.attachTopFragment(topFragment);
void attachTopFragment(Fragment topFragment) {
addFragmentToView(R.id.drag_view, topFragment);
}
then
private void addFragmentToView(final int viewId, final Fragment fragment) {
fragmentManager.beginTransaction().replace(viewId, fragment).commit();
}
where viewId is R.id.drag_view by default
so, for change top fragment, you need something like
getSupportFragmentManager().beginTransaction().replace(R.id.drag_view, YOUFRAGMENT).commit();

@tanaev Did you test your solution? It's not working for me.

I'm having the same issue, I'm unable to change the view hierarchy of the top fragment. The only thing that worked indeed was calling a requestLayout on the bottom fragment with a 500 ms delay (when doing it instantly, the touch would also have issues and onMaximize would be called each time i touched the top fragment).
Any way of doing this elegantly?


Add Area Chart Segments

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: 74
What is the new behavior?
Segments of an Area Chart are now highlighted when hovering
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@ghsteff - I'd still like to do this but we should sync on it.

@ghsteff - I'd still like to do this but we should sync on it.

oh oopsie, ok let's sync


[block-producer]: follow-up tasks

Follow-up tasks from #515. Some of these require work in miden-base.

[ ] Create and use ProposedBatch in miden-base (source)
[ ] Use a more correct BatchId (source)
[ ] Create and use ProposedBlock in miden-base (source)
[ ] Loosen block selection strategy (source)
[ ] Re-evaluate missed block tick strategy (source)
[ ] Improve block/batch simulation times (source and source)
[ ] Amend GetTransactionInputs to found instead of missing notes (source)

Nice! I added this issue to the current milestone, though probably not everything will end up there (e.g., ProposedBatch and ProposedBlock is definitely for the next milestone).


Visual Studio Community 2019 build error

Is this version supported? I am trying to follow steps described here but with the latest Visual Studio Community 2019 compilation fails:
$ cmake --build .
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(376,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Debug|x64. [C:\Users\User\work\xgboost\build\ZERO_CHECK.vcxproj]

Can you open the sln file and run Build Solution ?

Yes, that seems to work. Building from command line isn't supported?

Btw, I was to build xgboost from command line with: MSBuild.exe xgboost.sln. This discussion seems to be relevant to the question.

I think you can also run
cmake --build . --config Release


UI gets darker and darker while using Hybrid composition + showModalBottomSheet on Android

Hi ,
These days,  our project is using showModalBottomSheet to pop-up a menu above several Hybrid composition Views.
When adding more Hybrid composition views to page, the UI will get more and more darker on poping up the menu.
Below is the sample codes to reproduce this issue:
Dart side:
main.dart:                        https://github.com/neoyxm/flutter-issue-Hybrid-showModalBottomSheet/blob/main/main.dart
Native side to create the native view:
MainActivity.java:            https://github.com/neoyxm/flutter-issue-Hybrid-showModalBottomSheet/blob/main/MainActivity.java
NativeView.java:              https://github.com/neoyxm/flutter-issue-Hybrid-showModalBottomSheet/blob/main/NativeView.java
NativeViewFactory.java: https://github.com/neoyxm/flutter-issue-Hybrid-showModalBottomSheet/blob/main/NativeViewFactory.java
Steps to Reproduce

Run this sample ,and you will see 4 Hybrid composition Views, and a button named "showModalBottomSheet"
Clik the button,  and the UI will get very dark.
But if you mark other 3 views from the line 88 in mart.dart, and leave only one on the page.  The UI is ok while cliking the button.

Expected results: One Hybrid composition view
Actual results:
Two Hybrid composition views
Three Hybrid composition views
Four Hybrid composition views
BTW: We also checked the Virutal display mode, and no such problem.

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.2.3 at /opt/flutter
    • Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/yangxm/Library/Android/sdk/
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/yangxm/Library/Android/sdk/
    • Java binary at: /Library/Java/JavaVirtualMachines/openjdk8/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.59.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Pixel 3 (mobile) • 8ABX0PZMP • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos     • darwin-x64     • macOS 11.5.1 20G80 darwin-x64
    • Chrome (web)     • chrome    • web-javascript • Google Chrome 92.0.4515.159

Hi @neoyxm
Thanks for filing the issue, I can reproduce it on the stable channel, however, this seems to be on later channels. I cannot reproduce on beta or master

flutter doctor -v
[✓] Flutter (Channel beta, 2.5.0-5.1.pre, on Microsoft Windows [Version 10.0.22000.132], locale en-US)
    • Flutter version 2.5.0-5.1.pre at C:\Users\Taha\Code\flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 65cf7de5f4 (8 days ago), 2021-08-11 15:48:01 -0700
    • Engine revision fbeb7e22bd
    • Dart version 2.14.0 (build 2.14.0-377.4.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31605.320
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.59.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.22000.132]
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 92.0.4515.159
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 92.0.902.73

• No issues found!

Can you please upgrade to the latest  beta and try again
Execute the following commands to upgrade
flutter channel beta
flutter upgrade --force
flutter doctor -v
Closing, as closed. If you disagree, please write in the comments and I will reopen it.
Thank you

@TahaTesser
I confirm this issue can't be reproduced on beta&master in my side.
Thanks for your verifying and replying.
Look forward the new release coming soon :)


npx create-react-app doesn't install all necessary files

Hello,
I have a problem with create-react-app.
Its only creating node-modules folder and package.json and lock.json file, and not loading other files even though most of them are in lock.json file.
I tried:
-Uninstalling node and re-installing, npm cache clean --force, npm uninstall -g create-react-app, deleting all node modules from files and sadly still nothing works.
Some help before i lose it.

This was trying from git bash.

Disabling my malware protection worked, antiviruses prevent npx create-react-app, at least for me.


utility stuff and a creative tab

add methods to isubmod for common registries (feel free to add more)
add general-purpose utility functions (also add more pls)
add a creative tab
add Dab item, that also serves as the creative tab item

resolved en_us merge conflict


Create folders in Object Storage bucket

The Cloud Manager object storage interface is great, especially with uploading and deleting files.
One thing I'd love to see is the ability to create folders.  I know that there are no folders really, it's just a flat store and it's the object name that creates "virtual" folders, but the Amazon S3 interface allows this by creating a hidden "meta" object for the folder - e.g. /My-New-Folder/.metadata (I don't know the actual filename, it's hidden from both the UI and the API.)
My use case for this is that I have a private "downloads" bucket where I just keep software installers etc. that I've downloaded. Currently it's easy just to go into the cloud manager and upload the installer straight from my laptop - but only if the folder already exists.  If it doesn't, I then have to open another application (or the CLI on my Linode) to create the folder.

Thanks @andysh-uk; glad you're enjoying the interface.
I agree that the ability to create "folders" in Cloud Manger would be useful, and it's on our roadmap. I spent some time with this, and I believe it can be achieved by creating an empty object with a trailing slash in the name (e.g. "my-folder/"). I've begun discussions with our API team to see if we can support this, since right now the /object-url endpoint doesn't honor the trailing slash.
I'll leave this issue open until we have a more solid answer.

Thanks @johnwcallahan, useful to know!
I’ve tried playing about with s3cmd but I just can’t fool it into creating an object ending with a trailing slash.
I’ll wait in anticipation to hear the progress from yourselves when you have any!

hi, any updates on this? i want to organize my files using the folder creation, thanks

I also waiting for this
plan to use website image host and need file organization function like folder

We have added the ability to create object storage folders in Cloud Manager

https://github.com/linode/manager/pull/8757

https://user-images.githubusercontent.com/115251059/221909317-bceab2ea-dcb6-4777-8ed4-db9001de0adc.mov


Fix CEC and CECC examples

Simplified parser code.
Fixed bugs in the run_cec function.
Renamed some methods and variables.
Fixed typos.
Updated README for both CEC and CECC. Fixes #5 (still missing links to CEC and CECC function definitions)

Excellent!


Show an error or message when user is disconnected from the internet

When I lost internet connection, I started seeing Leo errors:

The actual problem was that I was no longer connected to the internet. We should let users know when they are disconnected so that it's clear they need to reconnect.

We could use navigator.onLine

Closing as duplicate of #1203 for now. Can follow up further if that doesn't cover all errors that pop up when disconnected.


Fix where op

@fchollet the two inputs x1 and x2 should have been marked as optional from the start because where works with condition alone in which it acts similar to np.nonzero(). Earlier ops.where(cond, None, None) worked fine for TF and JAX but in torch backend, it was converting the two arguments to tensors, and hence failing. This is a fix for making these arguments optional.
Though I don't think it requires any additional tests, but if you want I can add some

Though I don't think it requires any additional tests, but if you want I can add some

Please do, that behavior should be tested.

@fchollet I have simplified the code a bit more, and corrected the behavior with numpy backend. Please let me know if you want any more changes


Generate a calendar feed for scheduled visits per organization

Probably an ICS file that can be subscribed to by a Google Calendar user, showing all scheduled visits by a single organization.

What are you thinking auth wise for these?


[BEAM-14368][BEAM-13984]Change model loading from constructor to load_model method in PyTorch…

…ModelLoader
Load the model in load_model() method by passing reference of the Model class to the PyTorchModelLoader class.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @yeandy
CC: @ryanthompson591

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

cc : @TheNeuralBit Can you review and merge this? It's P1.

It's P1.

Should the jira be P1 then? I'm not sure what you mean by this

It's P1.

Should the jira be P1 then? I'm not sure what you mean by this

This change helps PyTorch to run large models on Dataflow, otherwise the pipeline fails. I said P1 in that perspective :)
The Jira ticket assigned here is used for tracking multiple ways for loading models, which is not P1. This change is one of the methods(recommended method by PyTorch) to load a pytorch model.

A couple of other comments:

Could you document (in the PR description is fine) how this resolves the issue you described in BEAM-14368? Why was the model getting pickled before?
It would be nice if this added a test that was failing and is fixed by this change.

I added the description. I will revise it again later.
For the tests, it was objects that are uploaded are more than the size of quota. I am not sure how to write a test for that. I can take a look at this later as well.

For the tests, it was objects that are uploaded are more than the size of quota. I am not sure how to write a test for that.

The idea would just be to write a test that automates whatever you did to generate that issue (e.g. build a pipeline and run it on Dataflow?). I get the sense that there are some other complications with that though.


Preflight CNP validator does not ignore managed fields

 time="2021-01-05T14:55:17Z" level=warning msg="It seems you have a policy with extra unknown fields. Consider removing these fields, as they have no effect. The presence of these fields may have introduced a false sense security, so please check whether your policy is actually behaving as you expect." ciliumClusterwideNetworkPolicyName=allow-aes-bucket-manager-grpc subsys=validator                                                                                time="2021-01-05T14:55:17Z" level=error msg="Unexpected validation error" CiliumClusterwideNetworkPolicy=allow-aes-bucket-manager-grpc error="unknown fields found, extra:[metadata.generation metadata.managedFields.0.apiVersion metadata.managedField ││ .0.fieldsType metadata.managedFields.0.manager metadata.managedFields.0.operation metadata.managedFields.0.time metadata.managedFields.1.apiVersion metadata.managedFields.1.fieldsType metadata.managedFields.1.manager metadata.managedFields.1.operat ││ ion metadata.managedFields.1.time metadata.resourceVersion metadata.selfLink metadata.uid[]"

Any managed fields should be ignored, as they are inserted by the apiserver internally.
This affects all Cilium versions above v1.9.
Reported-by: Robert Stam

Reported by me via slack, thanks for the GH ticket.

Reported by me via slack, thanks for the GH ticket.


[DOC-3152] Update delegate release notes with all delegate dependent changes

Update delegate release notes with all delegate dependent changes
For reviewers, previews are available:
CG
NG
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


ActionView::Template::Error: Couldn't find User with 'id'=

View details in Rollbar: https://rollbar.com/trystant/BOW/items/483/

ActiveRecord::RecordNotFound: Couldn't find User with 'id'=
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/core.rb", line 155, in find
  File "/app/vendor/bundle/ruby/2.3.0/gems/friendly_id-5.1.0/lib/friendly_id/finder_methods.rb", line 20, in find
  File "/app/app/views/user_notifier/send_followers_email.html.erb", line 2, in _app_views_user_notifier_send_followers_email_html_erb__1960634962674571189_69900671076040
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/template.rb", line 145, in block in render
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 166, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/template.rb", line 333, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/template.rb", line 143, in render
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb", line 54, in block (2 levels) in render_template
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/abstract_renderer.rb", line 39, in block in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/abstract_renderer.rb", line 39, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb", line 53, in block in render_template
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb", line 61, in render_with_layout
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/renderer.rb", line 46, in render_template
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/renderer/renderer.rb", line 27, in render
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/rendering.rb", line 100, in _render_template
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/rendering.rb", line 25, in render
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 904, in block in collect_responses
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 918, in each
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 918, in each_template
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 900, in collect_responses
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 829, in mail
  File "/app/app/mailers/user_notifier.rb", line 14, in block in send_followers_email
  File "/app/app/mailers/user_notifier.rb", line 13, in each
  File "/app/app/mailers/user_notifier.rb", line 13, in send_followers_email
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb", line 198, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 88, in __run_callbacks__
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb", line 137, in process
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/rendering.rb", line 30, in process
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 596, in block in process
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 593, in process
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/base.rb", line 584, in initialize
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/message_delivery.rb", line 25, in new
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/message_delivery.rb", line 25, in __getobj__
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/message_delivery.rb", line 34, in message
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.6/lib/action_mailer/message_delivery.rb", line 85, in deliver_now
  File "/app/app/controllers/articles_controller.rb", line 61, in update
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb", line 4, in send_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb", line 198, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb", line 10, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 117, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 555, in block (2 levels) in compile
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line

This should be linked with #628


Suggestion: Make a command to close currently open Senate Bills (for stuff like bot maintenance)

Each bill would probably need to be assigned a unique ID for it to work (it should work fine if it's stored simply in bot memory).
I will also see if there is a way to make the buttons timeout before 24hrs (86400 seconds) if certain conditions are met (all senators have voted, for example).

Im assuming alot but maybe have a global variable set to True and if we want to end it prematurely we have a function that sets the value to False and then when the function see's that the condition is false it ends it early


[Gluten-core] Clean up duplicated code for Columnar Shuffle Exchange

What changes were proposed in this pull request?
For some certain reasons in supporting old spark versions in the past, we kept ColumnarShuffleExchangeExec & ColumnarShuffleExchangeAdaptor with repeated code introduced. This PR tries to remove one of them.
How was this patch tested?
Current UT set can cover many shuffle test cases.

Why not keep ColumnarShuffleExchangeExec whose usage is similar to vanilla spark corresponding class ColumnarShuffleExchangeExec

No issue in CI check. Will merge the patch soon if there is no more comment.


[QA] update changelog date and ref docs

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


Pilot debug/authenticationz API improvements

Distinguish difference between no rule defined and auto mtls enabled for pilot debug api.  These changes are just for the pilot debug API, separate PR will handle the istioctl interpretation of the output.
related issue: https://github.com/istio/istio/issues/18988
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ X ] User Experience
[ ] Developer Infrastructure

How the output looks in istioctl with these changes:
No DestinationRule and --set values.global.mtls.enabled=false     --set values.global.mtls.auto=false
istioctl authn tls-check productpage-v1-85b9bf9cd7-52p95 reviews.default.svc.cluster.local
HOST:PORT                                  STATUS     SERVER         CLIENT     AUTHN POLICY     DESTINATION RULE
reviews.default.svc.cluster.local:9080     OK         PERMISSIVE     None       /default         None

With DestinationRule
$ istioctl authn tls-check productpage-v1-85b9bf9cd7-52p95 reviews.default.svc.cluster.local
HOST:PORT                                  STATUS     SERVER         CLIENT           AUTHN POLICY     DESTINATION RULE
reviews.default.svc.cluster.local:9080     OK         PERMISSIVE     ISTIO_MUTUAL     /default         default/reviews

No DestinationRule and --set values.global.mtls.enabled=true     --set values.global.mtls.auto=true
$ istioctl authn tls-check productpage-v1-85b9bf9cd7-sng4d reviews.default.svc.cluster.local
HOST:PORT                                  STATUS     SERVER     CLIENT     AUTHN POLICY     DESTINATION RULE
reviews.default.svc.cluster.local:9080     AUTO       STRICT     -          /default         -

With DestinationRule
$ istioctl authn tls-check productpage-v1-85b9bf9cd7-sng4d reviews.default.svc.cluster.local
HOST:PORT                                  STATUS     SERVER     CLIENT           AUTHN POLICY     DESTINATION RULE
reviews.default.svc.cluster.local:9080     OK         STRICT     ISTIO_MUTUAL     /default         default/reviews

No DestinationRule and --set values.global.mtls.enabled=false     --set values.global.mtls.auto=true
$ istioctl authn tls-check productpage-v1-85b9bf9cd7-sng4d reviews.default.svc.cluster.local
HOST:PORT                                  STATUS     SERVER         CLIENT     AUTHN POLICY     DESTINATION RULE
reviews.default.svc.cluster.local:9080     AUTO       PERMISSIVE     -          /default         -

With DestinationRule
$ istioctl authn tls-check productpage-v1-85b9bf9cd7-sng4d reviews.default.svc.cluster.local
HOST:PORT                                  STATUS     SERVER         CLIENT           AUTHN POLICY     DESTINATION RULE
reviews.default.svc.cluster.local:9080     OK         PERMISSIVE     ISTIO_MUTUAL     /default         default/reviews

Changes existing logic around "-" currently returned by debug API.  "-" is now returned when autoMTLS=true and no rules exist.  New keyword None is returned when no rules exist and behavior is NOT modified by autoMTLS.  This change does NOT break existing istioctl commands AFAIK

@diemtvu do you mean the authn tls-check command is getting removed?  These changes can also be used to improve the istioctl describe command as well.  See https://github.com/istio/istio/issues/18988

I see. Thanks.
/lgtm
On Wed, Feb 19, 2020, 8:48 AM Gregory Hanson<EMAIL_ADDRESS>wrote:

@diemtvu https://github.com/diemtvu do you mean the authn tls-check
command is getting removed? These changes can also be used to improve the istioctl
describe command as well. See #18988
https://github.com/istio/istio/issues/18988
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/21268?email_source=notifications&email_token=AF7X24L5JAB6G6ZOLXORGTTRDVPGPA5CNFSM4KX2LVY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMIRC2Y#issuecomment-588321131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7X24OBFZKYHOE2QIKTTYTRDVPGPANCNFSM4KX2LVYQ
.

@diemtvu why is this tool being deprecated?  This is one of the most useful tools from istioctl imho.

Good to know :). However, it doesn't work in the same way with new mTLS API
( workload selector). Also, with auto mTLS, it may not have the same value.
We will try to provide the tool in different way, and possible to merge
with other analyze tools.
Thanks.
On Wed, Feb 19, 2020, 9:18 AM Lin Sun<EMAIL_ADDRESS>wrote:

@diemtvu https://github.com/diemtvu why is this tool being deprecated?
This is one of the most useful tools from istioctl imho.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/21268?email_source=notifications&email_token=AF7X24OPSKDRRIATRADGPHDRDVSVBA5CNFSM4KX2LVY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMIU66I#issuecomment-588337017,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7X24IUGU7JUCVGGLJ2G2TRDVSVBANCNFSM4KX2LVYQ
.

Before I approve this, does "None" always mean unspecified?
Are these the the possible client side output for /debug/authenticationz and their meanings?
"DISABLE" (no TLS)
"SIMPLE" (?)
"MUTUAL" (mTLS with other certificate?)
"ISTIO_MUTUAL" (Istio mTLS)
"-" (auto-mTLS)
"None" (neither a specific policy for a service nor a generic policy for *, so we do the default, which is no mTLS?)

@howardjohn can you help approve this?

In response to a cherrypick label: new pull request created: #21523


Errors...?

Hi, this is Pavel.
I tried to run the prep-release.sh script and I’ve run into some possible errors.
First of all, on line 16, the shell threw an error, that “no *.crt files exist”. When I excluded the line from the script and started compiling the iPXE, I’ve got some additional errors, like “error opening certificate ca-netboot-xyz.crt” (which may be related) and also some errors within iPXE, which, of course, don’t have anything to do with you, like an error compiling crypto/rootcert.c (invalid suffix “x” on integer constant), or a fatal error in util/zbin.c (lzma.h: no such file or directory), etc.
Are those known errors and what can I possibly do to get past them?
Thank you for your answer.
-Pavel.

The prep-release script is mainly used for prepping the main netboot.xyz site so I wouldn't recommend using that for day to day.
If you just want to compile iPXE, I'd recommend visiting the iPXE forums if you're running into compiling errors.  If you want to chain to netboot.xyz from your version, make sure you enable HTTPS.
For the lzma.h error, you'll probably need liblzma-dev (Debian) or the equivalent for the OS you're running.


APEXCORE-304 Added support for class to classpath via populateDAG.

Added unit test for classpath check for StramClient
Added support for adding class to classpath for local mode.
Added unit test for classpath check for Local mode.

This is continuation of pull request: https://github.com/apache/incubator-apex-core/pull/208

Hello @vrozov @tweise Can this be merged if there are no further comments?
Thanks.

@chinmaykolhatkar Did not have a chance to look at it yet.

Closing this PR and more changes are required. Will reopen a new one.


Update README.md - Describe how to activate the plugin

Describe how to activate the plugin
Seems like someone forgot to do this: https://github.com/coco1979ka/cypress-websocket-plugin/issues/18#issuecomment-1479531010 ;)

Thanks :)


Stack overflows kills Unity

Steps to reproduce:
user=> (defn yeah [a] (+ a (yeah a)))
#'user/yeah
user=> (yeah 1)
System.StackOverflowException: The requested operation caused a stack overflow.
* user/yeah
In file: user=> 1

This isn't reproducible on my REPL (socket, macOS). Ramsey is seeing it on Linux however, with both nREPL and the socket REPL. What OS are you on @Saikyun ?

Actually even on mine evaluating (try (yeah 1) (catch Exception e "caught")) a couple of times crashes Unity on the fourth try

This seems to be a weird quirk of the CLR itself. Looks like StackOverflowExceptions are uncatchable and will kill the process, and this behavior is built into the VM itself.
https://stackoverflow.com/questions/44534323/handling-exceptions-in-unity/44553186#44553186

As has as a StackOverflow post on Stack Overflows is to top, here are the canonical documentation: https://docs.microsoft.com/en-us/dotnet/api/system.stackoverflowexception?redirectedfrom=MSDN&view=netframework-4.7.2#remarks

I see, thanks for your insight. I guess using recur as much as possible
would avoid this.
Den lör 16 feb. 2019 00:42 skrev Ramsey Nasser<EMAIL_ADDRESS>
As has as a StackOverflow post on Stack Overflows is to top, here are the
canonical documentation:
https://docs.microsoft.com/en-us/dotnet/api/system.stackoverflowexception?redirectedfrom=MSDN&view=netframework-4.7.2#remarks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/arcadia-unity/Arcadia/issues/343#issuecomment-464249293,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACXPZ1So-GI4HDQ_5m54aQkfHu83NN_Yks5vN0XVgaJpZM4awBQ2
.


Revert "[BACKLOG-28318] - implementing binary messages for mqtt consu…

…mer"
This reverts commit adc4974a4967af604d5acfd3b942bc2393cddd29.

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/streaming/impls/mqtt' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/streaming/impls/mqtt' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  assemblies/core/lib/pom.xml
  assemblies/lib/pom.xml
  engine/src/main/java/org/pentaho/di/trans/streaming/common/BaseStreamStep.java
  engine/src/main/java/org/pentaho/di/trans/streaming/common/BaseStreamStepMeta.java
  engine/src/main/java/org/pentaho/di/trans/streaming/common/BlockingQueueStreamSource.java
  engine/src/test/java/org/pentaho/di/trans/streaming/common/BaseStreamStepMetaTest.java
  plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MQTTConsumerDialog.java
  plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MQTTProducer.java
  plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MQTTStreamSource.java
  plugins/streaming/impls/mqtt/src/test/java/org/pentaho/di/trans/step/mqtt/MQTTProducerTest.java
  plugins/streaming/impls/mqtt/src/test/java/org/pentaho/di/trans/step/mqtt/MQTTStreamSourceTest.java
  plugins/streaming/impls/mqtt/src/test/resources/ProduceFourBinaryRows.ktr

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.step.mqtt.MQTTProducer

Branch Change: -2.9% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Line Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -2.1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -1.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UIEERepositoryUser

Branch Change: -8.3% :small_red_triangle_down:
Complexity Change: -6.7% :small_red_triangle_down:
Instruction Change: -0.9% :small_red_triangle_down:
Line Change: -3.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/main/java/org/pentaho/di/trans/streaming/common/BaseStreamStep.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/main/java/org/pentaho/di/trans/streaming/common/BlockingQueueStreamSource.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/test/java/org/pentaho/di/trans/streaming/common/BaseStreamStepMetaTest.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MQTTConsumerDialog.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MQTTProducer.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MQTTStreamSource.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on plugins/streaming/impls/mqtt/src/test/java/org/pentaho/di/trans/step/mqtt/MQTTProducerTest.java. Found 2018. Was expecting 2019

:heavy_exclamation_mark: Copyright year is not the current year on plugins/streaming/impls/mqtt/src/test/java/org/pentaho/di/trans/step/mqtt/MQTTStreamSourceTest.java. Found 2018. Was expecting 2019


Review Unchecked_Conversion for correctness in Ada for the C developer

In this chapter of the book: https://learn.adacore.com/courses/Ada_For_The_Embedded_C_Developer/chapters/06_Translation.html#
the following statement is made:
"Also note that Unchecked_Conversion can only be instantiated for constrained types"
However, per the standard http://www.ada-auth.org/standards/12aarm/html/AA-13-9.html
"The size of the formal parameter S in an instance of Unchecked_Conversion is that of its subtype. [This is the actual subtype passed to Source, except when the actual is an unconstrained composite subtype, in which case the subtype is constrained by the bounds or discriminants of the value of the actual expression passed to S.]"
I have written a reproducer with Unchecked_Conversion instantiated for an unconstrained array which does compile:
begin
   declare
      type Payload is record
         I : Integer;
         F : Float;
      end record;

      function Process (Data : String) return Payload is
         subtype Input_String is String (Data'First .. Data'Last);
         function Convert is new Ada.Unchecked_Conversion (Source => Input_String, Target => Payload);
--           Heap_Data  : String := new String'(Data);
--           Return_Value : Payload with Address => Data'Address;
         Return_Value : Payload;
      begin
--           Put_Line ( Data'Size'Image );
--           Put_Line ( Convert (Data)'Size'Image);
--           return Convert (Data);
         Return_Value := Convert ( Data );
         Put_Line (Return_Value.F'Valid'Image);
         return Return_Value;
      end Process;
      P : Payload;
   begin
      P := Process ("CATS ARE AWESOME");
      Put_Line (P.I'Image);
      Put_Line (P.F'Image);
   end;
end Main;

Input_String is constrained...

Input_String is constrained...

You are absolutely correct. The reproducer I meant to post is:
   declare
      type Payload is record
         I : Integer;
         F : Float;
      end record;

      function Process (Data : String) return Payload is
         function Convert is new Ada.Unchecked_Conversion (Source => String, Target => Payload);
         Return_Value : Payload;
      begin
         Return_Value := Convert ( Data );
         Put_Line (Return_Value.F'Valid'Image);
         return Return_Value;
      end Process;
      P : Payload;
   begin
      P := Process ("CATS ARE AWESOME");
      Put_Line (P.I'Image);
      Put_Line (P.F'Image);
   end;

The effect of a call to unchecked conversion is defined if all the requirements listed in 13.8(6..10) are true. One of those is not necessarily true for the above code:
• S'Size = Target'Size
where S is the name of the formal parameter of an instance, ie Convert. For an unconstrained composite subtype such as String, the subtype of S is constrained by the bounds of the value of the actual parameter passed to S, so Data's bounds.  Hence whether the effect is defined depends on the call to Convert.
The value for Target'Size depends on the sizes of Integer and Float in type Payload, and that depends on the machine. Typically it will be 64 bits but could be bigger as time goes by.
The call to Process passes 16 characters, so 128 bits, likely not the same size as Target, so probably the compiler just slices off the first 64 bits of the string and converts that. Who knows.
For the effect to be defined, make the input string to the U_C be the exact size of Payload, something like this:
subtype Payload_String is String (1 .. Payload'Size / Character'Size);
function Process (Data : Payload_String) return Payload is
function As_Payload is new Ada.Unchecked_Conversion (Source => Payload_String, Target => Payload);
Return_Value : Payload;
begin
Return_Value := As_Payload (Data);
Put_Line (".F is valid: " & Return_Value.F'Valid'Image);
return Return_Value;
end Process;
On my machine Payload_String'Length is 8, so trim the actual for the call accordingly:
P := Process ("CATS ARE");   --  AWESOME");
Make sense?

For example, an improvement in my opinion would be:
"Also note that Unchecked_Conversion will only have defined behavior
when instantiated for constrained types"
(this is probably oversimplified, but hopefully illustrates my point).

Right, I agree with that.


Upsample grad

This should implement backprop for interpolate_2D for a limited set of cases (integer scale factor that is the same for both h and w). However this should be sufficient for common use cases such as unpooling images for deconvolutions (ie when in pytorch Upsample nearest would have been used).

Looks good, thanks for adding this!


Draft a Release

I now tested your appveyor built with nomacs and it works like a charm. Currently, I simply download the dll in cmake assuming there will always be one named qavif.dll.
If you could change the status of 0.2.0 from pre-release to release (or draft a new one), I could change the download to the generic releases/latest/qavif.dll.
thanks for contributing!

I changed 0.2.0 to release.
I will keep adding the qavif.dll in the future too.
If you change appveyor environment in the future (compiler or newer Qt version), please let me know so I will change it too.

thanks!


discussion first set of documents

hi @linxOD ,
this is a quick update re the first set of documents being edited (Auden-Kurka correspondence):

tiffs are (for the time being) stored in R:\container\R_aad_23018\imgs_tif_acdhch_400 -> for sake of storage capacities: 400 ppi resolution has been chosen and margins around photographed documents have been reduced (both is still in conformance with DFG digitization guidelines)
first xml finished in data/xml/editions

almost entirely, AMP markup solutions are reused
xml file deviates from AMP markup in two points:

all lines rigorously start with lb/, including first lines of p, signed, etc. -> more semantically explicit & (even though we cannot fully reuse transformation rules) need for less (sometimes not so self-explanatory) transformation rules (or exceptions to rules)
@hand (always attached to lowest relevant XML node) refers to handNote (or typeNote) in the TEI header (within handDesc and typeDesc, respectively) to indicate writer (via scribeRef) and writing implement -> this is closer to TEI Guidelines (though not entirely in accordance: as far as I understand it, the Guidelines, strictly speaking, want @hand to be used on 'unusual' elements such as del and add, but the handShift element to mark up writing within the transcription of 'normal' text) than in the AMP project; I have chosen values of handNote xml:id (eg "hand_blue_auden" or "print_black_auden" ) so that the writing technology (as in the AMP project) might be addressed in isolation if needed (^#hand, ^#print, ^#type ... similar to how we used @hand in AMP) https://github.com/auden-in-austria-digital/aad-data/blob/f11cd5de661d835827eed8cbbf0f53e27620ceab/data/xml/editions/aad-transcript__0001.xml#L91 https://github.com/auden-in-austria-digital/aad-data/blob/f11cd5de661d835827eed8cbbf0f53e27620ceab/data/xml/editions/aad-transcript__0001.xml#L157

could we briefly discuss these last two points on Thu or Fri this week? can we move meet-ups to your office, as Sandra is working on her individual project from now on .... ?
(@csae8092 , your feedback will also be appreciated, when back from holidays ...)

We can meet tomorrow at 11am in my office and discuss the first document and the next steps towards an initial app.


[WIP] info vars command

The last of the info commands, prints out all package level variables and values.  With this code, running info vars after starting the testvariables does not show any unparseable or unreadable variables! Built on #45 and #46

Adds support for UndefinedType which will always have a value of (unknown)
Adds support for VoidType which will always have a value of (void)
Fixes reading null fn pointers.
When a TypedefType is found, recurse down until finding something that is not a typedef, some types are typedefs of typedefs etc.

The code is complete but I found a bug during testing. For certain data structures that are very deep (linked lists) and structures that are large and have many nested structs, extractVariableFromEntry goes crazy continually recursively reading nested structs until the application panics and runs out of memory.
We should probably stop recursing after N levels (2?). What should we display in that case? Perhaps ... to indicate there is more there, but we can't display it. Once proper handling of evalVariable for package variables is complete the user could dig in that way.

Yeah, that's a good point and I'm on board with your proposed solution. That could even extend to other large types, i.e. huge arrays, instead of just blasting those onto the screen, print the first N and then shorten it with a ....

@epipho did you want me to merge this in and then work on the large data structure issue separately or did you want me to wait to merge this until that fix is in?

I would wait as there is a chance using the command causes OOM.  I am in
the process of digging out of snowpacalypse here so I will take care of it
in the next few days.
On Tue, Jan 27, 2015 at 1:30 PM, Derek Parker<EMAIL_ADDRESS>wrote:

@epipho https://github.com/epipho did you want me to merge this in and
then work on the large data structure issue separately or did you want me
to wait to merge this until that fix is in?
—
Reply to this email directly or view it on GitHub
https://github.com/derekparker/delve/pull/47#issuecomment-71700750.

Sounds good. You're on the east coast? Good luck with that blizzard! Hope you're not too badly affected.

Added a limit of 2 levels of recursion for structs. Once reached, any structs will print {...} instead of their list of fields.
Added a 64 element limit to printing arrays. Adds ...+x more  to the end of the print statement.
Added tests for both.

Just some minor nitpicky things but otherwise looks good.

Cleaned up. No worries about nitpicky stuff, better code in the long run.

Merged.


nlohmann::detail::parse_error: syntax error while parsing CBOR string: expected length specification (0x60-0x7B) or indefinite string type (0x7F)

Trying to parse some CBOR payload:
#include <nlohmann/json.hpp>
using json = nlohmann::json;

int main()
{
    uint8_t data[] = {0xa2, 0x43, 0x72, 0x65, 0x74, 0x81, 0x0d, 0x47,
                      0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0xf5};

    json jresp = json::from_cbor(data, data + (sizeof data / sizeof data[0]));

    return 0;
}

Fails with this error:

libc++abi.dylib: terminating with uncaught exception of type nlohmann::detail::parse_error: [json.exception.parse_error.113] parse error at byte 2: syntax error while parsing CBOR string: expected length specification (0x60-0x7B) or indefinite string type (0x7F); last byte: 0x43

I tried other decoders, and those are able to decode that payload.
Python's cbor package is able to decode it:
import cbor
print(cbor.loads(b"\xa2\x43\x72\x65\x74\x81\x0d\x47\x73\x75\x63\x63\x65\x73\x73\xf5"))

{b'ret': [13], b'success': True}

CBOR playground at cbor.me is able to decode it:
16 bytes:
A2                   # map(2)
   43                # bytes(3)
      726574         # "ret"
   81                # array(1)
      0D             # unsigned(13)
   47                # bytes(7)
<PHONE_NUMBER>7373 # "success"
   F5                # primitive(21)

Diagnostic:
{'ret': [13], 'success': true}

Is there some flag to pass to nlohmann/json to make it decode it?
Tried to pass strict=false in json::from_cbor() to no avail.

The library only supports UTF-8 strings as object keys to ensure JSON compatibility:

CBOR allows map keys of any type, whereas JSON only allows strings as keys in object values. Therefore, CBOR maps with keys other than UTF-8 strings are rejected.

(https://json.nlohmann.me/features/binary_formats/cbor/)

The problem is that the payload comes from lua, where there are no strings (everything is bytes) therefore "string" map keys are encoded as bytes.
Any workaround to decode bytes keys as utf8?

Found a better lua CBOR codec (https://github.com/spc476/CBOR) that encodes strings as CBOR TEXT wherever possible:

" if a Lua string is valid UTF8, then it's encoded as a CBOR TEXT "

@fferri
Do you need further assistance with this issue?

No, my previous comment contains a solution to this.


No sound in midi file

Here's my code (I'm using discord.js and node.js btw, the code is supposed to make a random midi)

no errors occur, it's just when i open the midi file, it has no sound
i did the same code with the example tracks (minus the random numbers and stuff) and the sound was fine. any fix?
Edit: There is sound, but it's really really quiet. How do i make it louder?

Hi @CropFarmer,
Thanks for your message.  I'm guessing you were able to figure out your issue since this has been closed?
-Garrett


Fix unnecessary reloading of the pre-trained model in EVAL and PREDICT

In the current implementation, the pre-trained model will be loaded not only in TRAIN, but also in EVAL and PREDICT.
This is not necessary as the weights will be overwritten anyway when the Estimator framework loads previous check points from TRAIN in EVAL and PREDICT phases.
A RunHook was used to provide a clean solution to load the pre-trained model, as in this way the model_fn() is left with only the graph construction code. By passing the RunHook to estimator.train(), it ensures the pre-trained model gets loaded only during TRAIN. Since the RunHook will run on CPU, there's no longer needs for scaffolding, either.

I signed it!

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

I signed it!

@peidaqi Thank for the code. However, when I run your code, the inference time (prediction phase) seems not to be reduced. Do you have any idea about this ?
Below is the time logging in the prediction function:
-- Your run_classifier.py
time 1:  2019-03-04 10:28:27.399931
time 2:  2019-03-04 10:28:27.399948
time 3:  2019-03-04 10:28:37.916306
-- Original run_classsifier.py
time 1-oringial:  2019-03-04 10:33:06.684124
time 2-oringial:  2019-03-04 10:33:06.684171
time 3-oringial:  2019-03-04 10:33:17.847752
        import datetime         print("time 1: ", datetime.datetime.now())         result = estimator.predict(input_fn=predict_input_fn)         print("time 2: ", datetime.datetime.now())         output_predict_file = os.path.join(FLAGS.output_dir, "test_results.tsv")         with tf.gfile.GFile(output_predict_file, "w") as writer:             num_written_lines = 0             tf.logging.info("***** Predict results *****")             for (i, prediction) in enumerate(result):                 probabilities = prediction["probabilities"]                 if i >= num_actual_predict_examples:                     break                 output_line = "\t".join(                     str(class_probability)                     for class_probability in probabilities) + "\n"                 writer.write(output_line)                 num_written_lines += 1         assert num_written_lines == num_actual_predict_examples         print("time 3: ", datetime.datetime.now())

@ntson2002 Not sure what you mean by not reduced, but it seems to me the time difference in your reports show the new run_classifer.py is indeed faster - thought only by a small margin.
Time 3 - Time 2:
New run_classifier      - 10.516358
Original run_classifier - 11.163581
estimator.predict returns a generator so I imagine most time would be spent with the Python facilities and loops. Also your code has lots of I/O per loop that takes lots of time, compared to the one-off loading of the pre-trained model, which could make the difference insignificant.
I'd suggest testing with estimator.eval and remove all those I/O operations. After all, this is only a small fix, and if you have fast SSDs (seems to be in your case?) the performance gain would not be very big.

I signed it!

@googlebot I signed it!


Config Folder upload instead of CACHE

I want to upload on ONE folder with original image instead of uploading on CACHE folder. How can I do that.

Thanks in advance!

I would suggest you refer to the sorl-thumbnail documentation. If I understand your question correctly you don't want to thumbnails stored in the cache sub directory. That's a bitt odd IMO, as the files generated by sorl-thumbnail is to be considered to be cachable data derived from the original files uploaded (i.e. the can expire and will need to be regenerated when the original files or the thumbnail settings change.
That said, I believe it would be possible to change your ImageField (and perhaps sorl-thumbnail too) settings so that both fields will use the same directory.

I've re-read your question and am not quite sure if I'm understanding it. Please elaborate if my assumptions above are incorrect.

@dessibelle Thank you. You've understood my question correctly. I want to store photos like Instagram storing for User's Avatar. With a picture like: https://instagram.fbkk10-1.fna.fbcdn.net/t51.2885-19/s/15043476_153032251839318_238335899987869696_a.jpg, It's auto generated by dimension into URL like: https://instagram.fbkk10-1.fna.fbcdn.net/t51.2885-19/s320x320/15043476_153032251839318_238335899987869696_a.jpg or https://instagram.fbkk10-1.fna.fbcdn.net/t51.2885-19/s200x200/15043476_153032251839318_238335899987869696_a.jpg. All about instagram avatar photos can be generated into many dimensions. So that is the reason I want to generate thumbnail into one folder. If i wrongly understand the solr-thumbnail. Please help me make it clear.
Thanks Dessibelle!

I think it's out of scope for sorl-thumbnail-serializer-field to handle that, as it simply takes an existing FileField from your models and let's you expose the images in different size though your REST API. If you wan't to change where the files are stored you'd have to resort to doing so in the configuration for sorl-thumbnail or ImageField. If it's a case of adding more than one thumbnail to and endpoint, simply add more than one HyperlinkedSorlImageField field to your model's serializer.

99+

Notifications

Mark as read

This is Dropdown Components. It's in header bar. When I click on router-link to="/settings/". It load settings page but remain Dropdown opening.

Sorry I make confuse with this question: Images which generated in CACHE folder will be deleted in the future or it remains keep exist.
Do you know the way how to store photo like Instagram I said to you?

That depends on your cache settings. I assume they will be stored for as long as they are not deemed expired by the caching system. For these settings, please refer to the Django and sorl-thumbnail documentation. I'm not sure, but I believe the default behaviour is that cached items are removed from the filesystem once they expire.
Generating images on the fly from URL parameters like that is not something that's supported by HyperlinkedSorlImageField at the moment, as all fields on the serializer must be defined in the serializer class. Definitely something that would be fairly simple to implement with Django URL patterns and a thumbnail generation module such as sorl-thumbnail.

Frankly though, both or your questions are out of the scope of sorl-thumbnail-serializer-field though. Good luck with finding a solution!

Thank you very much!


Interactive Sandbox & log window

Hello Sam,
Here is a new pull request with yet some new additions. I am sorry because this PR mixes different subjects.
Resizable and filterable log window:
I have added a more beautiful log window, which is filterable and resizable:

Note: the application is now verbose by default (use the -qswitch to switch to quiet mode)
Interactive sandbox
Then, I have added a "sandbox" which resembles the BabylonJs playground.
This is an interactive code editor, where you can edit the code of the 3D scene. As soon as you save, the code is compiled and the scene is updated! You do not need to exit the samples runner.

This sandbox works under windows and linux. It does not work under OSX on my side (it should, but file modifications are not detected).
The sandbox can be disabled via cmake (-DBABYLON_BUILD_SANDBOX=OFF)
Other modifications:

I also corrected some warnings
ccache is used automatically if it is present (see main CMakeLists.txt)

Video demonstration of the features and of the changes
I preferred to do a video demonstration, since it is much faster to create (for me), and to review (for you).

Do you think such a sandbox is a good idea? Once again, these changes are open for discussion.
Cheers,
Pascal

Hi Pascal,
Thank you very much for all these amazing improvements and for the very informative video you made! I looks a lot of work that has been done to implement all these changes.
The new resizeable and filterable log window is a good improvement to the very basic panel that was there before. The colored buttons with icons make it very user friendly to use. Good idea to enable the verbose mode by default because not many log messages were shown with the default settings.
I really like the interactive code editor you added! When I looked into runtime compiled C++ a couple of years ago there was no compiler support yet for recent visual studio versions, so I did not further investigate this. Doug Binks contributed to other great projects too, such as Avoyd and MicroProfile. The performance seems to be very good, when you save the file it only takes a couple of seconds before the scene is updated (much shorter than the current workflow described below). It is also nice that it works with any external editor. This feature should save a lot of time: you can change properties in the Inspector panels, and when you are happy with the result you update the code, all from within the same window. Compared to the current work flow where you have to close the SampleRunner window, make the changes in the IDE, compile and then run again, which is time consuming.
Thanks for fixing those warnings! I try to fix most of the warnings shown by the Clang Code Model in my Qt Creator IDE on Linux and resolve the warnings when compiled with the GCC compiler. MSVC shows more warnings, but I don't double check the warnings on Windows for every commit.
With the interactive code editor you added there is a very good match in functionality with the BabylonJs playground. An idea for a future improvement to the SampleRunner, could be to add a Node Material Editor using Node Editor in ImGui. But for this we need the Node material which is not ported yet.
Thanks and have a nice weekend,
Sam


MM-51019 - Add a Feature Flag for In-Product Expansion

Summary
Adds a feature flag configuration value SelfHostedExpansion.
Ticket Link
MM-51019
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.


Add option to control Modal fade animation via JS

I'd like to suggest this functionality to override fades in javascript:
$('#modal').show({'fade': false});

Why?
It is currently painful to debug/troubleshoot a modal w/fade which is triggered by javascript. This is because modal.show() merely triggers the fade.  placing a debugger; line in the JS will show a screen without the modal.  so the fade needs to be removed on the modal's html.  Debugging might not be possible in a shown, because that event happens in a different scope.
This isn't terribly difficult to deal with, but adds a complicated step and one has to edit multiple things/files for testing.  It might not be easy to do (or a smart thing to do) depending on the development team or application -- the javascript could be managed separately from the html.

I don't think there would be any major api changes like that made to V3 as V4 is in development.

It's admittedly not documented, but since your only use case is debugging, I don't see much advantage over the existing $.support.transition = false; approach for disabling animations/transitions.

That totally handles it.  I can't think of any uses other than debugging.  Maybe this tip could go in the docs?

Cool, closing in favor of #16069 then.


Is there any way to wrap text or expand the code editor?

Thanks for reporting. With the latest update, the editor is now full-screen.

Also if you need, text wrapping can be enabled by checking the relevant box in the sidebar.

Thanks for getting to it, great work @samdobson!


workflows: test on zig 0.12.0, 0.13.0.

I've had a good go at it, but it looks there's no version of clap that builds on both 0.12 and 0.13, so there's a zig-0.13.0 branch now.


[Bug]  Beeftext v9.0 Combo Search

Combo Name : UI5 : SDK : BUTTON XML
When I search "button" keyword, I get result.
But with this keyword "button xml", I get nothing !

Hi. Thank you for reporting.
I can confirm there is a bug. I'll fix that ASAP.

It should be fixed. Here are test builds. Let me know if it fixes the problem for you.

Beeftext-9.0-Installer.zip
Beeftext-9.0-PortableEdition.zip

It worked, thank you


New image uploader

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

havooo is king keep removing bag


One oh

@homu r+

:pushpin: Commit 402cdbd has been approved by badboy

:zap: Test exempted - status


Test ascii2nc python embedding for MONET.

Create a WCOSS environment using Intel Python
install MONET or MONETIO (conda install -c bbakernoaa monet)
Use custom ingest

write python script to ingest AIRNOW from MONET for use in custom ingest
set MET_PYTHON_EXE in custom ingest to the MONET environment
compute statistics with PM2.5 and compare to standard METplus tools

for example of monet:
import monet as m
import pandas as pd
dates = pd.date_range(start='2019-01-01',end='2019-01-02',freq='H')
df =m.obs.airnow.add_data(dates)

@JohnHalleyGotway I worked on separating the code for MONET so that the I/O was in its own repository. This allows us to have less dependencies so that it will be easier to get through any type of operation problems
The new repository is monetio, https://github.com/noaa-oar-arl/monetio.  It is used the same way as monet but doesn't include additional functionality.  This is left to monet itself for the XarrayAccessor which includes a lot of functions like regridding, horizontal, vertical, and temporal along with a new PandasAccessor which adds capabilities for point data.

Can someone send me an example file of the ascii2nc output?

gitgub does not accept "nc" extension. I renamed it to "*.txt". Please renamed the attached files:

AERONET_NA_2015.lev20_test.txt to AERONET_NA_2015.lev20_test (input)
AERONET_NA_2015.lev20_test.nc.txt to AERONET_NA_2015.lev20_test.nc (output)

AERONET_NA_2015.lev20_test.txt
AERONET_NA_2015.lev20_test.nc.txt

Thanks @hsoh-u I'll take a look and see what I can do.  I'm hoping to just write a function to output into the NetCDF file directly from MONET. This would solve a lot of problems for integrating MONET with MET.  I'll give it a shot tomorrow!

Is there some documentation on this NetCDF file? I think I understand most of it but I want to see if we can put multiple stations in a single file and how that is done.

Hi Barry,
There are several point-preprocessing tools in MET (ascii2nc, pb2nc,
lidar2nc, and madis2nc) which all write to a common NetCDF point
observation format.
This file format is described in section 4.1.3 of the MET User's Guide:
https://dtcenter.org/sites/default/files/community-code/met/docs/user-guide/MET_Users_Guide_v9.0.pdf
Starting on page 147.
Please let me know if you find anything incorrect in the details listed
there, and we'll correct it.  It's always tough to keep the docs totally up
to date.
But there's something I think you might find helpful.  The ascii2nc tool
can read a simple 11-column ascii file format and reformat into this NC
file format.  For example, you can use sample data that's included with MET:
https://github.com/NCAR/MET/blob/master_v9.0/met/data/sample_obs/ascii/sample_ascii_obs.txt
And then run it like this:
ascii2nc sample_ascii_obs.txt sample_ascii_obs.nc
http://sample_ascii_obs.nc
So that reformats ascii to nc.  And we do also have an Rscript that we use
for testing that goes the other way:
https://github.com/NCAR/MET/blob/master_v9.0/met/scripts/Rscripts/pntnc2ascii.R
And then run it like this:
Rscript pnt2ncascii.R sample_ascii_obs.nc http://sample_ascii_obs.nc >
obs.txt
To answer your specific question, yes, you can have different station id's
in the same file.  The list of unique station id strings are defined in the
hdr_sid_table variable.  That stores the unique station id's and hdr_sid is
an integer index into that array.
You may find it easier to write to that 11-column ascii file format and
then run ascii2nc to do the reformatting.  Or in met-9.0, we added python
embedding for ascii2nc.  So you could run a python script to serve up data
in that 11-column format into ascii2nc via memory.  That'd save the writing
of one intermediate file.
Thanks,
John
On Wed, Mar 18, 2020 at 9:35 AM Barry Baker<EMAIL_ADDRESS>wrote:

Is there some documentation on this NetCDF file? I think I understand most
of it but I want to see if we can put multiple stations in a single file
and how that is done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/MET/issues/1258#issuecomment-600692473, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFA4HKB37EAE5GG3TVJP2KDRIDS2TANCNFSM4KXIO6BQ
.

@JohnHalleyGotway I am trying to find out exactly what the columns of that sample_ascii_obs.txt file are.  I figured out a few but am not sure about others

Please look in table 4.4 of the MET User's Guide on page 149:
https://dtcenter.org/sites/default/files/community-code/met/docs/user-guide/MET_Users_Guide_v9.0.pdf
John
On Mon, Mar 23, 2020 at 12:31 PM Barry Baker<EMAIL_ADDRESS>wrote:

@JohnHalleyGotway https://github.com/JohnHalleyGotway I am trying to
find out exactly what the columns of that sample_ascii_obs.txt file are. I
figured out a few but am not sure about others
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/MET/issues/1258#issuecomment-602779961, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFA4HKATC6PU4ZOFU7VVNBLRI6TIDANCNFSM4KXIO6BQ
.

Could you please elaborate on some of these.  For instance there are multiple values listed on page 143 for message type but in reality it is not described what they are or if they are used in different ways for the statics.
Column 10 is the QC but I cannot find anywhere what the QC values are.  Different observations have different definitions and am not sure if I need to set these to a standard QC value or what.
If passing in memory how you would like this to be formatted?  pandas data frame? numpy array? dict? It isn't clear here how to do that.

Also elevation and height are in there twice, Maybe you are setting them so one could be agl and the other msl?

If I write this out to a file is there a specific format that is required (tab delimited, whitespace, csv, etc....)?

btw I think that I have a generic enough function to generate a pandas data frame interpretation of the little_r formatted file.  I'm going to test it out this week on WCOSS and see.

Formatted the issue description using the newly adopted issue templates.
@bbakernoaa please find responses below:

Message types:
Point observations are read by the Point-Stat and Ensemble-Stat tools.  Those tools compute stats separately for each observation message type you request.  For example, you could get stats for upper-air temperature (i.e. message_type = ADPUPA) versus surface temperature (i.e. message_type = ADPFSC).  Defining the message_type is a way of grouping similar observations together.  The examples I gave were using the PREPBUFR naming conventions, but MET enforces no such conventions.  You can use any string (no embedded whitespace!) you'd like and then request observations of those type in the Point-Stat and Ensemble-Stat config files...
message_type   = [ "ADPUPA", "ADPSFC" ];
Not sure on the best documentation for PrepBUFR, but this link lists a description of the message types they use:
https://rda.ucar.edu/datasets/ds337.0/docs/README_readpb

QC values
The QC value is really a string.  In PrepBUFR, quality control is stored as an integer (lower means better), but in MADIS they're stored as strings.  So in MET, we stored them as strings.  MET does NOT do apply and QC logic, other than to exclude observations based on the incoming QC values.
From the Point-Stat config file:
obs_quality    = [ "0", "1", "2", "3" ];
If the "obs_quality" is empty, use all obs regardless of their QC string.  If not empty, only use obs whose QC string appears in the list.  If you have no QC information for your observations, just put "NA" in that column.

Pandas formatting
This is the best example I have to illustrate how ascii2nc expects the python data to be formatted:
https://github.com/NCAR/MET/blob/master_v9.0/met/scripts/python/read_ascii_point.py
# Read and format the input 11-column observations:
#   (1)  string:  Message_Type
#   (2)  string:  Station_ID
#   (3)  string:  Valid_Time(YYYYMMDD_HHMMSS)
#   (4)  numeric: Lat(Deg North)
#   (5)  numeric: Lon(Deg East)
#   (6)  numeric: Elevation(msl)
#   (7)  string:  Var_Name(or GRIB_Code)
#   (8)  numeric: Level
#   (9)  numeric: Height(msl or agl)
#   (10) string:  QC_String
#   (11) numeric: Observation_Value
 point_data = pd.read_csv(input_file, header=None, delim_whitespace=True, keep_default_na=False,
                   names=['typ', 'sid', 'vld', 'lat', 'lon', 'elv', 'var', 'lvl', 'hgt', 'qc', 'obs'],
                   dtype={'typ':'str', 'sid':'str', 'vld':'str', 'var':'str', 'qc':'str'}).values.tolist()

Elevation vs height
The elevation in column 6 is the elevation of the station.  The height in column 9 is the height of the observation.  For example, for soundings, the station elevation remains constant while the height increases as the ballon ascends through the atmosphere.  For surface observations, the elevation = height.
MSL vs AGL is a great question!  And MET does not really enforce any conventions here.  Currently, it's the user's responsibility to ensure that the vertical coordinate of the point observation (MSL or AGL) is consistent with the vertical coordinate of the model output (MSL or AGL).  MET doesn't care which is used, but they need to be consistent for vertical interpolation to work well.  Seems like we could do better in this regard!

File format
All of the MET's ASCII input and output is whitespace delimited.

@JohnHalleyGotway could you point me to the example METPlus script.  I seem to have lost where that was in the data directory.

@bbakernoaa, are you looking for the METplus config file for the ASCII2NC wrapper?  If so, it is found in the $METPLUS/parm/use_cases/met_tool_wrapper/ASCII2NC.  I hope that is what you were looking for.

I'm looking for an example of using ascii2nc in metplus to compare to a datasets (say FV3) for example

@bbakernoaa, the ASCII2NC wrapper is new in the METplus 3.0 release and I verified with a scientist who went through all the use cases- there isn't an example use case that matches what you are looking for.

@bbakernoaa,   the process flow to use Python Embedding for point verification is more of a METplus thing including calls to ASCII2NC and Point-Stat.
aeronet data -> python embedding <-> ascii2nc -> netcdf output and GFS data (aka FV3) -> point-stat
This particular GitHub issue is focused solely on the first part:
aeronet data -> python script used for embedding <-> ascii2nc -> netcdf output
Python embedding for ascii2nc solely supports Pandas.  An example of how to do this from your own user environment is now documented as a METplus use-case:
ASCII2NC with Python embedding using your environment
with path to it is: $METplus/Users_Guide/met_tool_wrapper/ASCII2NC/ASCII2NC_python_embedding_user
@georgemccabe is the best person to assist with supporting the use-case. NOTE: We should probably bring the request for help back into<EMAIL_ADDRESS>rather than cluttering up this issue.
Once you get the ASCII2NC portion working, we can move forward with getting the output into Point-Stat to evaluate GFS or another model/simulation.  Make sense?

I am closing the GitHub issue for MET because it is not clear what code changes are required to support this work. If additional needed functionality is identified, recommend that we create a new GitHub issue to define the feature request.


Find links in the text

💥 Proposal
Search for all the links in the text given by the user and display them in anchor tag on the result page.

Assign this issue to me.

Assign this issue to me.

Yeah, sure @Blastoise bro, you can work on it.
Are you a part of Cross Winter Of Code?

@rockingrohit9639 Yes

@rockingrohit9639 Yes

Ok @Blastoise
You are given 4 days to complete it.

@rockingrohit9639 I think you should add how to run the project because I am running your project in virtual env but getting errors while installing packages from requirements.txt
The error occurs while installing django_heroku which in turn installs psycopg2.

@rockingrohit9639 I think you should add how to run the project because I am running your project in virtual env but getting errors while installing packages from requirements.txt
The error occurs while installing django_heroku which in turn installs psycopg2.

@Blastoise bro, can you drop me a message on Discord?

@Blastoise bro, REMAINDER !!!

Sure it will be done by Today.

Sure it will be done by Today.

Ok @Blastoise


No such sdk

Hi team,
I'm moving this from here: https://github.com/dotnet/docs.zh-cn/issues/458
The user reports there's inconsistent instructions regarding this issue (as I understood)
The following comments were Machine Translated.
@xyfy commented 8 hours ago — with docs.microsoft.com
I installed vs, did not show very many runtimes and sdk in the control panel

@xyfy commented 7 hours ago
I mean, I have these SDKs, but there are no programs installed and uninstalled.

@xyfy commented 1 hour ago
The document says it can be unloaded by the program, and none of the actual installations appear in the program list.

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

ID: b4ca18b0-5533-f5b9-2eb4-9853a4fa61ed
Version Independent ID: a12b8b5c-a3af-d1c5-a27c-39e9d390dff2
Content: Remove the .NET Core runtime and SDK - .NET Core
Content Source: docs/core/versions/remove-runtime-sdk-versions.md
Product: dotnet-core
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@xyfy we'll need a little bit more information from you in order to try to help you.
Can you type dotnet --list-sdks on your console and tell us what you get?
Can you paste here what you get when you filter the SDKs you have installed in the Add/Remove programs? For example:

OK，l will try to capture the screenshot  for  you next Monday
---Original---
From: "Maira<EMAIL_ADDRESS>Date: Sat, Aug 31, 2019 08:51 AM
To<EMAIL_ADDRESS>Cc: "Mention"<mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] No such sdk (#14109)
@xyfy we'll need a little bit more information from you in order to try to help you.
Can you type dotnet --list-sdks on your console and tell us what you get?
Can you paste here what you get when you filter the SDKs you have installed in the Add/Remove programs? For example:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

No rush! Have a great weekend!

I saw it,
the sdk is has error info with 3.0 only .
but if I want to uninstall the runtimes ,how can I do it ?
------------------ 原始邮件 ------------------
发件人: "Maira<EMAIL_ADDRESS>发送时间: 2019年8月31日(星期六) 上午10:48
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [dotnet/docs] No such sdk (#14109)
No rush! Have a great weekend!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks @xyfy.
@KathleenDollard I think this is the issue with the SDK install that we discussed no?

This is a known issue that we are working on.

Closing since this is a known product bug.


Turn off flaky Crashlytics tests

2 different flaky tests are disabled in this PR. A task has been filed for the Crashlytics team to fix this:

https://github.com/firebase/firebase-ios-sdk/actions/runs/4485746539/jobs/7889007887
https://github.com/firebase/firebase-ios-sdk/actions/runs/4319822264/jobs/7539418159

This should also fix https://github.com/firebase/firebase-ios-sdk/issues/10873

Themis is OOO today so just need an LGTM


Make confirmation instructions link more prominent

We have link on home page to resend confirmation instructions, it seems that several users are missing that link and ending up requesting support to resolve issue manually.

I guess we need to change UI for this button
@nitin10s do you have some suggestions for a better UI
Below is the figma link that have design mockup
https://www.figma.com/design/i2Ul2N65mPqyATQb0KWWMF/Enhancing-CircuitVerse-User-Experiance?node-id=52-986&t=zy1s2ZytXIzZaaMA-1

How about adding an email confirmation page after login that prompts users to enter a passcode sent in the confirmation email? A resend button could appear after X seconds, ensuring users verify before proceeding while reducing missed confirmation emails and support requests.
@tachyons @Asrani-Aman @nitin10s

hey can i work on this issue?

@Asrani-Aman @nitin10s
i have some suggestions regarding the ui :

we can add a banner or alert box at the top of the login page for unconfirmed users, asking, "waiting for a confirmation email? Click here to resend it!" this could be dismissed by users who don't need it and will be visible to those who are looking for it.

or If a user enters their email and it hasn't been confirmed yet, an inline message could appear right below the email field or "log in" button, telling them to resend the confirmation.

according to me 2nd approach is more feasible and user friendly.
also i would like to work on this issue, so please do me tell if you have any suggestions

@tachyons is this issue still open? if possible can I work on this please


Read count bars are truncated in variant detail

[Uploading Screen Shot 2018-11-08 at 5.09.32 PM.png...]


feat: make package compatible with Laravel 11

Based on https://github.com/arkaitzgarro/elastic-apm-laravel/pull/179 but with PHP 8.2 fixes.
Closes https://github.com/arkaitzgarro/elastic-apm-laravel/pull/179

tests/unit/Collectors/JobCollectorTest.php:testJobProcessingListenerIgnored is failing and looks like it might need some looking into.


Add section about Github apis

What I did

Add a section about Github APIs on the intro.md file

Related to: https://github.com/NishkarshRaj/Introduction-to-Git-and-GitHub/issues/1

Let me know if you want me to add anything regarding the github api @NishkarshRaj 👍


Custom services used in the Playground project should be implemented in the Shared project

Since the Playground project is a dual-mode Blazor project, the custom services used inside the blazor project should be implemented in a separate project (like the Shared project) in order to be registered correctly in both Api and Web projects to support both Client and Server mode of the Blazor.

Imagine a service that is located in the web project.
In Blazor server, we run the web project and the service is located in the web project, no problem at all.
In Blazor client (wasm), we run the API project which has reference to the web project, again we've no problem.
The only thing that we need to do, is register that service in API project too in #if BlazorClient section


Performance degradation when using bash Shell on Windows.

As part of a no change solution to correct the console output on Windows 10, it was discovered that system performance is degraded.  This occurs when using an outside portable build of bash using cygwin.  Even though Developers use WSL, WSL is not a part of the plan for Tetcore.  There was an improvement to the output:

Solution is to use WSL Bash or independent build of bash for Windows