Upating schema to use standardized dataset features

Standardizing on datasheet features.
Generic feature strings don't work...they make it impossible to write higher level portable software.
Datasheeets and interface terms tend to be open, so I don't see a reason to not standardize on terms.

hopefully we are good to go now.


[FLINK-32316] [SourceAlignment] Scheduling announceCombinedWatermark period task during SourceCoordinator::start not in construct function to avoid duplicated task be scheduled

see FLINK-32316

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

The first path is(just simple call stack not full):
create JobMaster for each recovered job, and will init a scheduler object in jobmaster construct function ---> init a executionGraph in schedulerBase construct function ---> init JobVertices when attach job vertex to jobgraph ---> finally create OperatorCoordinator when init executionJobVertex
the first sourceCoordinator will not be started after created, all operatorCoordinator will be started before startScheduler, see start all opeatorCoordinator
The second path is:
after init ExecutionGraph will recover job from checkpoint ---> restore sourceCoordinator ---> call resetToCheckpoint() to reset SourceCoordinator, but because the first is not started, so scheduled period task will not stopped

@1996fanrui code is updated~

Hi @LoveHeat , could you help squash all commits and rename the module name to [connectors/common] for pr title and commit message?

@1996fanrui done

Thanks for the explanation @LoveHeat and @1996fanrui for the review :)


[feat] Write documentation for the project

This will ensure that whosoever wants to contribute to the project can effectively run and modify the files in one's system

I have made the PR for this issue


Support PHP 8

Let's see if this works 🤞
See #282

Welp, two problems

Lots of phpstan errors
endroid/quality requires ^7.4, so 7.3 tests fail. (Please continue to support 7.3!!)

Okay well we need https://github.com/khanamiryan/php-qrcode-detector-decoder/pull/103 to be merged.

Asking how to handle the phpstan isses 😅 https://github.com/phpstan/phpstan/issues/4170

Looks like the tooling needs to be updated to a version that uses at least nette/utils v3.0.4: https://github.com/nette/utils/releases/tag/v3.0.4
PHP Fatal error:  Uncaught TypeError: _HumbugBoxbfaeed0746fa\Nette\Utils\Reflection::getUseStatements(): Return value must be of type array, null returned in phar:///home/runner/work/qr-code/qr-code/vendor/bin/phpstan/vendor/nette/utils/src/Utils/Reflection.php:157

Hi @francislavoie good job. I manage my CI workflow via the endroid/quality package so there is no need to update anything here. You have some nice additions to the workflow so I updated it there and made sure the 3.x branch here uses that workflow. This should also fix the phpstan issue (which was fixed in a later version of my endroid/quality package).
So if you merge the new changes you should be able to continue.

Great!
We're still waiting for khanamiryan/php-qrcode-detector-decoder#103 of course, but yeah I'll rebase soon in the meantime (stepped away from my PC)

I think we want to actually omit the param/return types in PngWriter.php, because PHPStan can infer most of them (specifically the resource ones, because that breaks 7 + 8 compat with PHPStan)

@francislavoie maybe the is_object workaround described here works: https://php.watch/versions/8.0/gdimage

That won't work, that's what I had originally if you see https://github.com/phpstan/phpstan/issues/4170
The issue is that GdImage doesn't exist in one version, and a resource is not an object in the other. There's no type overlap at all.

I'm thinking that code quality checks should only be run on one PHP version (on 8 I guess) because we'll have type contention no matter what.

🤦♂
Well it seems psalm didn't get the memo about PHP 8 language changes 😂

@francislavoie I will keep the CI workflow as it is in 3.x and try if I can find a setup that also works in PHP 8. Currently the build only fails on the actual phpunit tests and static analysis seems to pass (with some less strict type checking, but I will have to take that for granted). Let's wait for the detector compatibility before we go any further.

Cool - I see you've implemented all the relevant changes in the branch so I'll close this now. 👍


Version 2.0.3 causes problems in Nextjs

Hi.
I use nextjs-contentful react package you also made in cojunction with the Query functions for this. However, this change breaks nextjs building and causes error. See error:

@sanders54 Thanks, for flagging this quickly. I was doing some React Native development and the default Contentful import was causing issues, but I didn't have a handy next-contentful site to test this change in Next.
Just pushed up an update that should resolve it, 2.0.4, and I’ll continue to look into a solution that plays nice with React Native.
Thanks!


Support Throwable

It would be good if notifyException would support Throwable.

This is a great idea, @GrahamCampbell. I'll be looking into making notifyException work well with PHP7, as well as some options for preserving backwards compatibility. Any suggestions are also welcome.

It seems that the only way to preserve the compatibility between 5.x and 7.x is to remove the parameter type declaration from the function definition.  7.x Errors and Exceptions implement Throwable interface which has the same methods as the 5.x Exception class

Thanks for the report, @GrahamCampbell. An updated version should be out later today with a fix.


New event to signal that rerun has completed

Hi,
I lazy load a module that contains not only javascript but html and css as well. Html and css are provided as JS strings pushed into $templateCache with https://github.com/ericclemmons/grunt-angular-templates. The actual push happens in run block. I need to run code after that run block is executed and strings are available in the $templateCache. So far it looks like all the events of ocLazyLoad happen before the run blocks finish.
I would like to request a new event which is broadcasted after the rerun.

Hi, I'm not sure if that's possible, as run blocks can have async methods. I could add an event after my code executes the run blocks, but I couldn't be sure if all methods inside that run block have been executed.
Maybe you could add a broadcast at the end of your run block that you would listen to ? That could do the work ?

I can't really add this broadcast at the end of the run block: this code is generated by another plugin.
I understand your point about async and don't ask you to fix all the cases :) But it would be nice to have something for the basic synchronous case.


add sqaud

Fine tuning BERT for SQUAD V2.0

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Xiao Ye seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Pulling images from private repositories

Currently, the specs do not provide for a way to pass secrets to pull a container image from a private repository.
This was requested by the Czech and Greek ELIXIR nodes, see here: https://docs.google.com/spreadsheets/d/1vBFhBQ-nFqhSL5dLjQfOWO6x9BzmV9x6l18p9GYRZdQ/edit#gid=0
Contacts: @xhejtman, @viktoriaas, @zagganas & @vergoulis

Would this be something that could be covered by the addition of https://www.ga4gh.org/ga4gh-passports/ to the spec?

Possibly, not sure. From how I understand Passport, it's rather for cases where some authority asserts your permissions to access some resource. While the described use case might in principle fit in this setting, I think the more common route is that users get their own access tokens/credentials from container registries. And I don't think Passport is designed to be a general purpose passbook that would allow users to store their own credentials.
I think we should raise this issue in Cloud WS & Passport, because I think it is both an important and reasonably common use case. What do you think, @jb-adams?


'Prefix' setting in Voyager config will never work?

Laravel Version: Latest
Voyager Version: Latest

Description:
Hey everyone,
On a fresh Voyager installation, if I go to /config/voyager.php I can change my prefix from the default 'admin' to something else, but then if I look inside /routes/web.php 'admin' is hard coded as the prefix, so it doesn't matter what I put in the config because it will never work right? Or am I missing something?
My own fix:
In /routes/web.php, instead of:
Route::group(['prefix' => 'admin'], function () {
put this:
Route::group(['prefix' => config('voyager.prefix','admin')], function () {

See #2306

Ah yes, it's a big issue if upgrading, totally agree.
Maybe this helps someone stuck in the future :)
Close this if you wish @emptynick , and thanks for the information.


Add support for Android 12 (sdk 31)

Currently, apps targeting sdk 31 cannot implement Ramp. When the manifests get merged, the build fails because Ramp's manifest does not include the "exported" element which is now required on all activities with intent-filters.
See: https://developer.android.com/guide/topics/manifest/activity-element#exported
I've added the exported element to the appropriate activity in both the demo and the sdk, and I've updated the target and compile versions to 31.
Looking forward to adding Ramp to our project!

Currently, there is some issue with jitpack to build this changes: jitpack logs

Yes, that was this issue I've just added this configuration file at it works.


Resolve TODO: TODO make these private if the subclass goes away

I also optimized and refactored some small areas to align with the code structure in other places.

Hello, thanks for the submission.  Unfortunately, this type of PR is not something we will be accepting because we consider these types of style changes to be based too much on personal preference.  For example, we are typically fine with prefacing a member variable with this., and equally fine with leaving it off too.   For things like if (foo == null) vs if (null == foo), we actually prefer the former.
The ideal type of PR to submit is a fix for something that is an obvious bug.  For PR's that implement a new feature, I would recommend that you first open a ticket making sure it's something that we would be interested in incorporating, so you don't spend a lot of time working on something that may sit around in our queue for a long time.


Lega commander 100 files limit bug

LC only lists the 100 first files and ignores the rest. Also affects the "check if file already exists" test.
Could be a limitation that we only get 100 entries returned "by default?" from TSD File API?
NB: The current implementation allows the user to upload the same file twice, overwriting the first uploaded file, if user has more than 100 files in inbox.

From the initial look, I don't think the problem is entirely on the lega-commander. We need to check the response from TSD side to see the shape of the response and what exactly we are getting. Probably gives a better understanding as to what we receive and make adjustments accordingly.

I reviewed the documentation (link) and confirmed that setting "per_page": "1000" adjusts the default file listing limit from 100 to 1000. I've updated this in the code. It needs testing to verify the change.

Excellent! I guess we also need a graceful way of handling a lot of files, sorting them etc, may already be a different card for this.
So nice we've found the reason/measure to get all the information, then we need to use that tool to implement both the "does a file exist already in the inbox" check and the task of "nicely and userfriendly display all the files to a user" :)

I have submitted this an issue https://github.com/unioslo/tsd-file-api/issues/253


this project is wack

what even is this project
i rate it chris's glasses / 69

Closed as unfixable.


The .8xp file has been removed from the download

The .8xp file has been removed from the download

Still there for me.

Could you help me find it?
Sent from Mail for Windows 10
From: Matt Waltz
Sent: Friday, October 11, 2019 9:07 PM
To: mateoconlechuga/cesium
Cc: Riolu2Lucario; Author
Subject: Re: [mateoconlechuga/cesium] The .8xp file has been removed from thedownload (#137)
Still there for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

or send me the download link for it?


chore: remove use of HttpBody and replace with ByteStream

Issue #

Description of changes

New/existing dependencies impact assessment, if applicable

Conventional Commits

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

/test

/test

/test


Revert "Added capability of migrating wallet through the node.js wrap…

This reverts commit be57e49e5fb15c790e68d8f060e8328922a7e7a1 / https://github.com/hyperledger/aries-vcx/pull/895
The PR is causing CI to fail, because it added migrator as dependency of libvcx_core. The migrator imports ariesvcx_core with modular_libs feature, I believe that's the culprit of the issues - as both vdrtool and indyvdr become part of the build - altough seems to work with major scenarios, in tests etc, there are probably some interplay of dependencies during the build process when building for ios/android/linux musl (napi wrapper build)
Strategic way to go about this is to to default to indy-vdr ledger client, delete vdrtools based ledger client (and therefore the zmq dependencies coming from vdrtools) and then re-apply the changes in reverted commit.
That might solve the issue, or at least make it simpler to investigate.

Codecov Report

Merging #906 (e341f18) into main (bb1d3c5) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #906      +/-   ##
==========================================
- Coverage   43.37%   43.36%   -0.01%
==========================================
  Files         438      438
  Lines       34780    34777       -3
  Branches     7580     7580
==========================================
- Hits        15085    15082       -3
- Misses      15233    15234       +1
+ Partials     4462     4461       -1

Flag
Coverage Δ

unittests-aries-vcx
43.36% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

libvdrtools/indy-api-types/src/lib.rs
80.00% <ø> (+30.00%)
:arrow_up:

... and 5 files with indirect coverage changes


Cannot add Microsoft.Office.Interop assemblies in PowerShell 7 Preview

PowerShell 7 Preview looks for the Interop assembly in the current location
Steps to reproduce
Add-Type -AssemblyName "Microsoft.Office.Interop.Outlook" -PassThru
Expected behavior
IsPublic IsSerial Name                                     BaseType

True     False    _IRecipientControl
True     False    _DRecipientControl
True     False    _DRecipientControlEvents
True     False    _RecipientControlClass                   System.__ComObject
...
Actual behavior
Add-Type: Cannot find path 'C:\Users...\Documents\WindowsPowerShell\Scripts\Microsoft.Office.Interop.Outlook.dll' because it does not exist.
Environment data
Name                           Value

PSVersion                      7.0.0-preview.6
PSEdition                      Core
GitCommitId                    7.0.0-preview.6
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

I guess Microsoft.Office.Interop.Outlook is .Net Framework assembly, not .Net Core.
You could use COM to get Outlook functionality.

@wi-fr
That assembly is registered into the GAC, which .NET Core does look at for assembly resolution.
You need to specify the full path to the assembly, either one included with your script/module, or the full path to the one in the GAC:
Add-Type -Path $env:WINDIR\assembly\GAC_MSIL\office\<IP_ADDRESS>__71e9bce111e9429c\office.dll
Add-Type -Path $env:WINDIR\assembly\GAC_MSIL\Microsoft.Office.Interop.Outlook\<IP_ADDRESS>__71e9bce111e9429c\Microsoft.Office.Interop.Outlook.dll

The safest version is definitely including your own copy from nuget.


Add getuicolors.com

Link: http://getuicolors.com/
GetUIColor is a website where you can select UI colors and see how they would look on the screen. Based on the visual idea you can select the color.

It has no SSL certificate sadly enough so I won't include it.
Let's encrypt is free and (for example) certbot makes it really easy.


No LF for negative class in NER/ high LF overlap

Issue description
Snorkel is really the coolest stuff I've used. Kudos to the creators. I am working on a NER problem using Snorkel. NER is usually a class imbalanced problem with only a few tokens being positive entities and the rest being out-of-the-span entities. I have several labeling functions that label each token in a sequence either with class label 1 or abstain label -1. I do not have any labeling functions that specifically mark a token as a negative entity class (0). What I do in this case is that if an LF cannot label a token with either -1 or 1, it is marked as 0. In this case, all my labeling functions achieve true negative rates (TNR) between 98% and 99% (with only one LF having a TNR of 80.25%). However, when the LF overlap is calculated, it also turns out to be between 97%-99% for many LF's which might have an impact on the label model. I am using snorkel version 0.9.7 and presume from here that it considers each LF as conditionally independent given a true unobserved label Y. So high overlap might not be an issue in this case?
System info

Snorkel version: 0.9.7

Thanks for the kind words, @anjani-dhrangadhariya . We hope you enjoy using Snorkel as well!
With regards to your question, high overlap will not be an issue. Typically LF overlaps are what allow the label model to actually learn and come up with a signal. And yes, we are making the conditional independence assumption as well.


Not clear the app restore keys after the cross-signing

It looks like users continue to go to settings and restore the key backup manually after logging in on a new device.
We could replace the "connect to backup" banner by a "Restoring keys..." banner.

The coming new UX with the recovery key should avoid that. Plus, we are probably going to remove the setting


Compile error

Getting this error on Ubuntu 22.04 after running the build function.
Python version 3.10.6

build client in windows and use  C+C in  your vps


Being able to filter in pull requests using a small filter input field

Gogs version (or commit ref):
Version: <IP_ADDRESS>7

Git version:
git version 1.7.1

Operating system:
Centos 6.4

Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist (usually found in log/gogs.log):

Description
We've got a bunch of pull request. It would be great if we could somehow filter these pull requests by title or description. A small filter input such as with the branch dropdown would help us a big deal.

I think this thread can be part of https://github.com/gogits/gogs/issues/4239, closing.


Provider not found if CanActivateChild Guard is only declare within the module.

This error goes away if the DumGuard is added to app.providers.ts , but this defeat the purpose of the module which can be configured to be loaded lazily.
features/sync/dum-guard.service.ts
@Injectable()
export class DumGuard implements CanActivateChild, CanActivate {
  constructor(private router: Router) {}

  canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {
    return true;
  }

  canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {
    return true;
  }
}

features/sync/index.ts
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(routes)
  ],
  declarations: [
    SyncComponent,
    ChildComponent
  ],
  providers: [
    DumGuard
  ]
})
export class SyncModule {}

features/sync/sync.routing.ts
export const routes: Routes = [
  {
    path: '',
    component: SyncComponent,
    children: [
      {
        path: '',
        canActivateChild: [ DumGuard ],
        children: [
          { path: '', component: ChildComponent }
        ]
      }
    ]
  }
];

error_handler.js:52 Error: Uncaught (in promise): Error: No provider for DumGuard!
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:429:31)
    at eval (webpack:///./~/zone.js/dist/zone.js?:406:13)
    at ZoneDelegate.invoke (webpack:///./~/zone.js/dist/zone.js?:203:28)
    at Object.onInvoke (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:44:37)
    at ZoneDelegate.invoke (webpack:///./~/zone.js/dist/zone.js?:202:34)
    at Zone.run (webpack:///./~/zone.js/dist/zone.js?:96:43)
    at eval (webpack:///./~/zone.js/dist/zone.js?:462:57)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:236:37)
    at Object.onInvokeTask (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:35:37)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:235:42)
  -------------   Elapsed: 9 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:406:13)
    at eval (webpack:///./~/@angular/router/src/router.js?:505:25)
    at ZoneDelegate.invoke (webpack:///./~/zone.js/dist/zone.js?:203:28)
  -------------   Elapsed: 0 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at SafeSubscriber.eval [as _error] (webpack:///./~/zone.js/dist/zone.js?:406:13)
    at SafeSubscriber.__tryOrUnsub (webpack:///./~/rxjs/Subscriber.js?:223:16)
    at SafeSubscriber.error (webpack:///./~/rxjs/Subscriber.js?:184:26)
  -------------   Elapsed: 8 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:462:17)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:236:37)
    at Object.onInvokeTask (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:35:37)
  -------------   Elapsed: 0 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:462:17)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:236:37)
    at Object.onInvokeTask (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:35:37)
  -------------   Elapsed: 14 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at ZoneAwarePromise.then (webpack:///./~/zone.js/dist/zone.js?:536:17)
    at RuntimeCompiler._compileComponents (webpack:///./~/@angular/compiler/src/runtime_compiler.js?:173:49)
    at RuntimeCompiler._compileModuleAndComponents (webpack:///./~/@angular/compiler/src/runtime_compiler.js?:80:37)
    at RuntimeCompiler.compileModuleAsync (webpack:///./~/@angular/compiler/src/runtime_compiler.js?:71:21)
  -------------   Elapsed: 3 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:462:17)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:236:37)
    at Object.onInvokeTask (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:35:37)
  -------------   Elapsed: 0 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:462:17)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:236:37)
    at Object.onInvokeTask (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:35:37)
  -------------   Elapsed: 3 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:462:17)
    at ZoneDelegate.invokeTask (webpack:///./~/zone.js/dist/zone.js?:236:37)
    at Object.onInvokeTask (webpack:///./~/@angular/core/src/zone/ng_zone_impl.js?:35:37)
  -------------   Elapsed: 0 ms; At: Sun Oct 02 2016 00:45:37 GMT+0800 (MYT)   -------------
    at Object.onScheduleTask (webpack:///./~/zone.js/dist/long-stack-trace-zone.js?:76:18)
    at ZoneDelegate.scheduleTask (webpack:///./~/zone.js/dist/zone.js?:213:49)
    at Zone.scheduleMicroTask (webpack:///./~/zone.js/dist/zone.js?:150:39)
    at scheduleResolveOrReject (webpack:///./~/zone.js/dist/zone.js?:460:14)
    at resolvePromise (webpack:///./~/zone.js/dist/zone.js?:424:21)
    at eval (webpack:///./~/zone.js/dist/zone.js?:406:13)
    at webpackJsonpCallback (http://localhost:3000/index.js:21:29)
    at http://localhost:3000/0.index.js:1:1

@lengcai this seems to be more of Angular support question than anything wrong in particular with the seed project...gitter https://gitter.im/angular/angular or the angular github may be more appropriate if you can reproduce the issue on plunker.

@lengcai I think this is a bug that should be filed. If you can reproduce the issue in a plunker, you should file it over at https://github.com/angular/angular/issues


tab for filter-mode panes switching

Tab to switch filter modes (like session/directory/host etc)

99% sure I also DMd you about this, but for clarity;
I'd rather reserve the tab key than bind it to this, I have some other things in mind for it. EG, would be nice to use it to open a "menu" on the selected history item (maybe view context on it, have the option to delete it, etc)


.as_matrix() removed from pandas now is .values()

Hi,
It looks like as_matrix() has been deprecated since pandas 0.23 and finally been removed.
Would you be open to a pull request that update the code, and if so will you publish an updated version on PyPI ?
Thanks.

Hi Carreau,
You can replace as_matrix() by .values() and keep the all code

You can replace as_matrix() by .values() and keep the all code

Yes, that's what my title say, but the code here does use .as_matrix() in the test and example. I'm asking if it's ok to send a PR to update.

Yes, i'm sorry. I didn't read the title..


Google search provider does not work

Describe the bug
When I set Google as a provider, it does not change.
API key is good and working in the other parts of applicaiton
To Reproduce
Steps to reproduce the behavior:
            MapMarker::make("Location")
                ->defaultZoom(18)
                ->searchProvider('google')
                ->searchProviderKey(env('GOOGLE_MAPS_GEOCODING_API_KEY')),

Expected behavior
It should use Google Geocoding API.
Screenshots

Environment:

Laravel Version: 8.34.0
PHP Version: 8.0.3
Package Version: 0.3.1

Issue seem to be here in line # 71  on FormField:
Previosly:
`            const providerOptions = {};
        if (typeof this.field.searchProviderKey !== 'undefined') {
            providerOptions.params.key = this.field.searchProviderKey;
        }`

I changed it to:
 const providerOptions = {params: {key: null}};
But there are other issues are there after this. This happens after clicking the suggestion second time:
nova-map-marker-field:28379 Uncaught (in promise) TypeError: Cannot create property '_leaflet_id' on string '85'     at stamp (nova-map-marker-field:28379)     at NewClass.getLayerId (nova-map-marker-field:35194)     at NewClass.hasLayer (nova-map-marker-field:35120)     at NewClass.removeLayer (nova-map-marker-field:35244)     at NewClass.showResult (nova-map-marker-field:27414)     at NewClass.<anonymous> (nova-map-marker-field:27401)     at eval (eval at processIncludes (nova-map-marker-field:1), <anonymous>:3:4725)


binary input field

Hi!
Does anyone have a good idea for a binary input field (file upload)?
base64 encoding in a custom input field
or
modify the create&update post for binary data

see #77


Add base image and Travis CI build config

Overview
Add Dockerfile templates for a GeoServer based on tomcat:*-slim tomcat:*-alpine, with support for different Tomcat, GeoServer, and JRE versions. Additionally, add a Travis CI build config that builds, tests and deploys images to Quay.
Notes

When deploying this service with Tomcat, you can specify the GeoServer configuration directory (GEOSERVER_DATA_DIR) using a) a JAVA system property or b) a Servlet context parameter. Although approach b) is recommended because JAVA system properties are available to all apps running in Tomcat, I opted for a) because it's easier to set and we're only running GeoServer in this image.

I couldn't think of a great way to test this image in CI other than verifying that the expanded GeoServer WAR is where it's expected to be. A good future step would be to add Serverspec support (or something similar).

There's a lot of potential combinations for GeoServer, Tomcat, and JRE versions; I tried to parametrize this build in a way that leaves room for more customimzation later.

Testing

See https://github.com/azavea/district-builder-dtl-pa/pull/120
Follow the Testing instructions in the README, ensure that the build completes successfully.

# Run this command, then visit the GeoServer UI at http://localhost:8080
$ docker run --rm -p 8080:8080 quay.io/azavea/geoserver:2.11.2:-tomcat9-jre8-slim

This is ready for another look, thanks.


Replace the RejectionClass.Locator with generated code in ThrowableMessage classes

Currently there's no easy (and efficient) way to obtain all rejections generated by a message handling type. We can get exception types from a method. We can filter these types to be derived from ThrowableMessage. Instances of ThrowableMessage can give an instance of RejectionMessage, but when analyzing a handling class, we don't have instances of throwable messages. We cannot create dummy instances of them because of the validation. We need information between ThrowableMessage -> RejectionMessage match at the level of generated ThrowableMessage class.
The RejectionClass.Locator addresses the lack of this information by inspecting classes in the same package with the generated ThrowableMessage, but this approach is:

Not efficient.
Breaks if the user decides to override the outer class convention using custom java_outer_classname option value, which does not end with Rejections. See RejectionClass.Location class on this.

What we need to have:

The method for obtaining the type of rejection generated in the classes derived from ThrowableMessage:
public static Class<? extends RejectionMessage> rejectionType() { ... }`

RejectionClass changed to use the method (via reflection call by the name rejectionType) instead of the Locator class.

This issue is mostly addressed by https://github.com/SpineEventEngine/core-java/pull/1193/commits/6cb7a7900345f7b72339e6fddf2229bd2f3a60bc.
We can get back to the idea of adding this information in the generated code, but for now it's already sufficient to close this issue.


SPN for Microsoft Dynamics 365 Monitoring Service

The page says:

The service account may need an SPN for the URL used to access the website that is associated with it.

But does not provide information about which website is associated with the account, or an example setspn command.

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

ID: 4129b77d-c384-5821-6932-8bfb6b02ae80
Version Independent ID: 56b1f73b-f4ee-e561-87ba-0461e5c3f697
Content: Security considerations for Dynamics 365 Customer Engagement (on-premises)
Content Source: ce/customerengagement/on-premises/deploy/security-considerations-for-microsoft-dynamics-365.md
Product: crm-2016
GitHub Login: @Mattp123
Microsoft Alias: matp

@benformosa Thanks for your feedback. We are closing this issue because we are either unable to find relevant information for this issue. If you're still experiencing the issue described here, please reopen or create a new issue.


Add version to every schema

In Avro it is possible to add version at schema level
{
  "namespace": "org.radarcns.kafka.key",
  "type": "record",
  "name": "KeyMeasurement",
  "doc": "Measurement key in the RADAR-CNS project.",
  "fields": [
    {"name": "userId", "type": "string", "doc": "User Identifier created during the enrolment."},
    {"name": "sourceId", "type": "string", "doc": "Unique identifier associated with the source."}
  ],
  "version": "1.0"
}

The version property can then be accessed using
KeyMeasurement.getClassSchema().getObjectProps().get("version")

I am not sure if adding a version property at schema level will only complicate the maintainability or it is a good enhancement. We can track the version of each schema within the library, but we need to be more carful while committing a new version.
@blootsvoets @mbegalevibrent what do you think?

Another though, using version

we can easily understand what schemas are stored in the schema registry just checking the version property
it could useful while troubleshooting


feat: generalize sheaf condition to only the relevant pullbacks existing

We define a predicate Presieve.hasPullbacks which says that the pullback of every pair of arrows in the presieve exists. This allows to generalize Equalizer.Presieve.sheaf_condition to categories that don't necessarily have all pullbacks (such as Stonean).
Co-authored-by: Riccardo Brasca @riccardobrasca<EMAIL_ADDRESS>Co-authored-by: Filippo A E Nuccio @faenuccio<EMAIL_ADDRESS>

Presieve.hasPullbacks was https://github.com/adamtopaz/CopenhagenMasterclass2023/blob/master/Sieves/isSheafForPullbackSieve.lean#L13-L15

Instead of doing all the primed versions of the definitions and theorems in the Copenhagen repo, I provided an instance [R.hasPullbacks] given [HasPullbacks C] and generalized the existing versions.

It's a bit annoying that Lean doesn't automatically find an instance for HasPullback f g given (hf : R f), (hg : R g) and [R.hasPullbacks]. Is there a way to fix this?

It's a bit annoying that Lean doesn't automatically find an instance for HasPullback f g given (hf : R f), (hg : R g) and [R.hasPullbacks]. Is there a way to fix this?

And now the linter complains that there are unnecessary have statements...


Extend SurfaceImpedance with time-varying characteristics

Add ability to define SurfaceImpedance with varying $\eta$ in time.
What kind of functions we would like to have here beside sigmoid? @bchaber

Ok, but I would prefer using something like SurfaceImpedance(::Sigmoid{A, B, τ, α}) anyways. What do you think?

That should be it!

I am beginning to work on this and I started wondering if sigmoid function is correct name for a function which can be parametrized with A, B, τ, α? Shouldn't it be called LogisticFunction? Isn't sigmoid defined as $\dfrac{1}{1+e^{-x}}$ without any parameters? And logistic can be defined as $\dfrac{1}{L+e^{-k(x-x_0)}}$, where $L$, $k$ and $x_0$ can be derived from our parameters?

OK, but I would suggest using $Q$ and $\nu$ for the completeness.


RabbitMQ Port returns -1 for Spring app deployed to Cloud Foundry

I have a Spring app (non Spring Boot) that uses XML configuration and is using the <cloud> namespace to access rabbit connection properties. The app is pushed to Cloud Foundry and is bound to a rabbit service instance. The issue I am facing is, even though VCAP_SERVICESfor the app shows the the correct port under theprotocolssection, when I access the property  'cloud.services.myrabbit.connection.port', it returns-1as opposed to the value of5672as shown in theVCAP_SERVICES`.
A sample app that demonstrate this problem is here : https://github.com/anwarchk/spring-mvc-vcap
VCAP env variable value is this :
  "p-rabbitmq": [
   {
    "credentials": {
     "hostname": "<redacted>",
     "hostnames": [
      "<redacted>",
      "<redacted>"
     ],
     "http_api_uri": "<redacted>",
     "http_api_uris": [
      "<redacted>"
     ],
     "password": "<redacted>",
     "protocols": {
      "amqp": {
       "host": "<IP_ADDRESS>",
       "hosts": [
        "<IP_ADDRESS>",
        "<IP_ADDRESS>"
       ],
       "password": "<redacted>",
       "port": 5672,
       "ssl": false,
       "uri": "amqp://<redacted>",
       "uris": [
        "amqp://<redacted>",
        "amqp://<redacted>"
       ],
       "username": "<redacted>",
       "vhost": "<redacted>"
      },
      "management": {
       "host": "<redacted>",
       "hosts": [
        "0000000000",
        "0000000000"
       ],
       "password": "<redacted>",
       "path": "/api/",
       "port": 15672,
       "ssl": false,
       "uri": "<redacted>",
       "uris": [
        "<redacted>",
        "<redacted>"
       ],
       "username": "<redacted>"
      }
     },
     "ssl": false,
     "uri": "amqp://<redacted>",
     "uris": [
      "amqp://<redacted>",
      "amqp:<redacted>"
     ],
     "username": "<redacted>",
     "vhost": "<redacted>"
    },
    "label": "p-rabbitmq",
    "name": "myrabbit",
    "plan": "standard",
    "provider": null,
    "syslog_drain_url": null,
    "tags": [
     "rabbitmq",
     "messaging",
     "message-queue",
     "amqp",
     "stomp",
     "mqtt",
     "pivotal"
    ],
    "volume_mounts": []
   }
  ]
 }
}

Properties exposed by cloudProperties bean. Some of the properties are omitted for brevity.
{
"cloud.services.myrabbit.connection.schemespecificpart":"//<redacted>",
"cloud.application.space_id":"6cd83348-30c0-4512-a99b-e02f3fe61345",
"cloud.services.rabbitmq.connection.host":"<redacted>",
"cloud.services.myrabbit.connection.port":"-1",
"cloud.services.rabbitmq.connection.uris":"[amqp://<redacted>]",
"cloud.services.rabbitmq.connection.scheme":"amqp",
"cloud.application.application_name":"spring-mvc-vcap",
"cloud.services.myrabbit.connection.uri":"<redacted>",
"cloud.services.myrabbit.id":"myrabbit",
"cloud.application.name":"spring-mvc-vcap",
"cloud.services.myrabbit.connection.host":"<redacted>",
"cloud.application.uris":"[spring-mvc-vcap-<redacted>]",
"cloud.services.rabbitmq.connection.port":"-1",
"cloud.application.app-id":"spring-mvc-vcap",
"cloud.services.myrabbit.connection.virtualhost":"e23494a9-c56e-4888-b152-e7a86b9accb2",
"cloud.services.rabbitmq.connection.path":"e23494a9-c56e-4888-b152-e7a86b9accb2",
"cloud.services.myrabbit.connection.uris":"[amqp://<redacted>]",
"cloud.services.myrabbit.connection.scheme":"amqp",
"cloud.application.application_version":"aca0b34e-7dc0-4868-b87d-e9ffc7df2ec7",
"cloud.services.rabbitmq.connection.password":"<redacted>",
"cloud.application.port":"8080",
"cloud.services.rabbitmq.connection.username":"<redacted>",
"cloud.application.space_name":"development",
"cloud.services.rabbitmq.id":"myrabbit"
}

@scottfrederick Created this issue to track our discussion on slack

@ramnivas any pointers ? Customer is waiting on this... thanks !

@anwarchk Here's what's going on: if the credentials for the RabbitMQ service in VCAP_SERVICES contains a uri field, Connectors will parse that field into the individual components - scheme, host, port, and path (where path is mapped to vhost). In this case the uri has no port component, so you are seeing the port value as -1. The individual fields like hostname, port, vhost, etc are not parsed if a uri field is present.
Essentially, the -1 value means that the port was omitted from the uri, and the default RabbitMQ port 5672 should be used.
If you are trying to use the value cloud.services.myrabbitmq.connection.port from your example properties above in a SPEL expression in XML config, you should be able to use the ternary operator provided by SPEL to accomplish this defaulting. That might look something like this:
<property name="rabbitPort" value="#{cloudProperties['cloud.services.myrabbit.connection.port'] == -1 ? 5672 : cloudProperties['cloud.services.myrabbit.connection.port']}"/>

@scottfrederick Thanks and I will try that. I am working on a PR where we would parse the protocols node and expose the connection port from there. Borrowed idea from Spring Boot's CloudFoundryVcapEnvironmentPostProcessor

@anwarchk Keep in mind that the payload example you've shown is specific to Pivotal's p-rabbitmq service. Connectors supports parsing credentials from other RabbitMQ and AMQP service providers on other CF platforms. That's why the VCAP_SERVICES parsing is kept as simple as possible.

@anwarchk Also, is it possible to just use the provided URI directly (e.g. cloud.services.myrabbit.connection.uri) instead of retrieving the constituent parts individually? Service providers sometimes include additional connection details and options in the full URI that aren't parsed into individual fields, so using the provided URI when possible is a good idea.

Customer has to pick and chose properties since they need to feed this to their Mule connection details. Otherwise it would have been a straight forward use of the auto configured connection factory. On your previous comment, it makes sense to me, but doesn't the same principle apply to Spring Boot, where in CloudFoundryVcapEnvironmentPostProcessor they parse the protocols node and makes it avaialble in vcap.services...

Spring Boot does't really parse VCAP_SERVICES - it converts the JSON structure to a flat map. So the vcap.services... properties provided by Boot contain everything in the VCAP_SERVICES JSON, and it is up to the app to decide whether it wants to rely on specific fields in the flat map that may not be available from all service providers. Connectors uses a different approach, which is to normalize services payloads to a consistent form that helps apps be portable across cloud providers and service providers.
A more general solution to providing the port value for use cases like yours would be to modify the URI parsing to set the explicit default value of 5672 when the port is not specified in the URI.

That makes sense, thanks for the clarification :-)

Fixed via d4179cbd1d802cdf8911f276a66f10b4c71ceb08
@anwarchk I think this will address your use case. This change should be published in 1.2.5.BUILD-SNAPSHOT in repo.spring.io/lib-snapshot-local in a few minutes if you'd like to test it.

@scottfrederick thanks for the quick turn around. I wanted to submit a PR, but this cool :-) I will give this a try now and will update here.

@scottfrederick just verified it and it works as expected. Thanks again !!!

@anwarchk Glad to hear this works. I would have waited for a PR but I was in the middle of making a set of updates to this project in preparation for a release, and I wanted to get this change in before the release.


Error running test example

Describe the bug
It seems I have successfully installed JaBbA, but I am having trouble running the test example. In particular, when I run the code, I am getting an error back from CPLEX. The R error is:
Starting optimization with CPLEX!
Error in names(x) <- c("xopt", "obj", "status", "extra", "epgap") :
  'names' attribute [5] must be the same length as the vector [1]

This occurs because CPLEX is returning a CPXERR_BOUNDS_INFEAS error (CODE 1100) instead of a solution.
Here is the full output of JaBbA:
JaBbA 2023-06-26 16:43:05: Located junction file ****/R/x86_64-pc-linux-gnu-library/4.1/JaBbA/extdata//junctions.vcf
JaBbA 2023-06-26 16:43:05: Located coverage file ****/R/x86_64-pc-linux-gnu-library/4.1/JaBbA/extdata//coverage.txt
JaBbA 2023-06-26 16:43:05: Loading packages ...
JaBbA 2023-06-26 16:43:05: Starting analysis in /home/***/jabba_test
JaBbA 2023-06-26 16:43:07: Read in 83 total input junctions
JaBbA 2023-06-26 16:43:07: In the input, There are 0 tier 1 junctions; 83 tier 2 junctions; 0 tier 3 junctions.
JaBbA 2023-06-26 16:43:07: Read in 1,805 1000bp bins of coverage data across 1 chromosomes
JaBbA 2023-06-26 16:43:07: Using previous segmentation found in jabba directory
JaBbA 2023-06-26 16:43:07: Loaded 83 junctions from the input.
JaBbA 2023-06-26 16:43:08: Found tier field enforcing >=1 CN at 0 junctions
JaBbA 2023-06-26 16:43:08: Removing 0 tier 3 junctions
JaBbA 2023-06-26 16:43:08: 69 INDEL-like isolated events
JaBbA 2023-06-26 16:43:08: 69 INDEL-like isolated junctions mandatorily EXCLUDED in the final model
JaBbA 2023-06-26 16:43:09: Conform the reference sequence length of: seg, coverage, and ra, to be:
	12:100746000
	16:90354753
	19:59128983
JaBbA 2023-06-26 16:43:09: Number of gaps with nonzero width: 6
JaBbA 2023-06-26 16:43:09: Number of segments before gap filtering: 19
JaBbA 2023-06-26 16:43:10: 13 segments produced after gap filtering
JaBbA 2023-06-26 16:43:12: Brand new function for reciprocal junctions calling.
.
JaBbA 2023-06-26 16:43:13: Excluding 14 aberrant junctions whose both breakpoints are in NA coverage regions
JaBbA 2023-06-26 16:43:13: Cancel nudge for 0 aberrant junctions where one of the 2 breakpoint is in NA coverage regions
JaBbA 2023-06-26 16:43:13: In sum, we are forcing 0 junctions, excluding 14 junctions, and nudging 0 junctions
JaBbA 2023-06-26 16:43:13: number of specified max.threads: 12
JaBbA 2023-06-26 16:43:13: number of specified max.threads after processing: 12
JaBbA 2023-06-26 16:43:13: param.file contents:
CPLEX Parameter File Version <IP_ADDRESS>
CPXPARAM_Threads	12
CPXPARAM_MIP_Limits_TreeMemory	16384
CPXPARAM_WorkMem	9830
JaBbA 2023-06-26 16:43:14: Creating ILOG CPLEX PARAMETER FILE in /home/***/jabba_test/jabba.raw.rds.prm
JaBbA 2023-06-26 16:43:14: Excluding aberrant junctions: 1,2,3,4,5,6,7,8,9,10,11,12,13,14
JaBbA 2023-06-26 16:43:14: Using existing mipstart in the current directory
JaBbA 2023-06-26 16:43:14: Applying mipstarts from previous jabba solution
reading karyograph from file
Marking nodes with cn contained in column: cnmle
Computing node weights using variance contained in column: loess.var
Rewards not supplied on edges!
Starting LP balance on gGraph with...
Number of nodes: 41
Number of edges: 52
detected no tier 1 junctions
No duplicate Tier 1 junctions detected
Grabbing available memory...
Currently used: 669.7 Mb
Allowed: 16000 Mb
Treemem: 14330.3 Mb
creating copy of input gGraph
Checking inputs
adding l0 penalty indicator
adding delta constraints for LP
Unique cids (A): 979
Unique cids (b): 979
Number of variables: 1072
bvec length: 979
Amat nrow: 979
Starting optimization with CPLEX!
Error in names(x) <- c("xopt", "obj", "status", "extra", "epgap") :
  'names' attribute [5] must be the same length as the vector [1]

Could someone who is able to successfully run the test case let me know what the expected output is? It would help with understanding what is going wrong.
To Reproduce
I am following the instructions to run the test case.
Desktop (please complete the following information):
Here is my R sessionInfo for when the error occurs:
R version 4.1.0 (2021-05-18)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblas-r0.3.3.so

locale:
 [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8
 [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8
 [7] LC_PAPER=en_CA.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets
[8] methods   base

other attached packages:
 [1] JaBbA_<IP_ADDRESS>00     gGnome_0.1           reshape2_1.4.4
 [4] Matrix_1.3-4         igraph_1.5.0         gTrack_0.1.0
 [7] gUtils_0.2.0         data.table_1.14.8    GenomicRanges_1.44.0
[10] GenomeInfoDb_1.28.4  IRanges_2.26.0       S4Vectors_0.30.2
[13] BiocGenerics_0.38.0  optparse_1.7.3

loaded via a namespace (and not attached):
  [1] bitops_1.0-7                matrixStats_1.0.0
  [3] bit64_4.0.5                 filelock_1.0.2
  [5] progress_1.2.2              httr_1.4.2
  [7] tools_4.1.0                 utf8_1.2.1
  [9] R6_2.5.0                    KernSmooth_2.23-20
 [11] DBI_1.1.3                   lazyeval_0.2.2
 [13] colorspace_2.1-0            DNAcopy_1.66.0
 [15] tidyselect_1.2.0            prettyunits_1.1.1
 [17] bit_4.0.5                   curl_4.3.2
 [19] compiler_4.1.0              iotools_0.3-2
 [21] cli_3.6.1                   Biobase_2.52.0
 [23] xml2_1.3.2                  DelayedArray_0.18.0
 [25] plotly_4.10.2               rtracklayer_1.52.1
 [27] caTools_1.18.2              scales_1.2.1
 [29] readr_2.1.4                 pbapply_1.7-0
 [31] rappdirs_0.3.3              stringr_1.5.0
 [33] digest_0.6.27               Rsamtools_2.8.0
 [35] XVector_0.32.0              pkgconfig_2.0.3
 [37] htmltools_0.5.5             MatrixGenerics_1.4.3
 [39] BSgenome_1.60.0             dbplyr_2.3.2
 [41] fastmap_1.1.0               htmlwidgets_1.6.2
 [43] rlang_1.1.1                 rstudioapi_0.13
 [45] RSQLite_2.3.1               sequenza_3.0.0
 [47] BiocIO_1.2.0                generics_0.1.3
 [49] zoo_1.8-12                  jsonlite_1.7.2
 [51] gtools_3.9.4                BiocParallel_1.26.2
 [53] dplyr_1.1.2                 VariantAnnotation_1.38.0
 [55] RCurl_1.98-1.12             magrittr_2.0.1
 [57] GenomeInfoDbData_1.2.6      fishHook_0.1
 [59] Rcpp_1.0.6                  munsell_0.5.0
 [61] fansi_0.5.0                 lifecycle_1.0.3
 [63] stringi_1.6.2               yaml_2.2.1
 [65] SummarizedExperiment_1.22.0 zlibbioc_1.38.0
 [67] gplots_3.1.3                plyr_1.8.8
 [69] BiocFileCache_2.0.0         grid_4.1.0
 [71] blob_1.2.4                  crayon_1.4.1
 [73] lattice_0.20-44             Biostrings_2.60.2
 [75] GenomicFeatures_1.44.2      hms_1.1.3
 [77] KEGGREST_1.32.0             seqminer_8.9
 [79] pillar_1.9.0                rjson_0.2.21
 [81] biomaRt_2.48.3              XML_3.99-0.14
 [83] glue_1.6.2                  squash_1.0.9
 [85] copynumber_1.32.0           tzdb_0.4.0
 [87] vctrs_0.6.3                 png_0.1-8
 [89] gtable_0.3.3                getopt_1.20.3
 [91] purrr_1.0.1                 tidyr_1.3.0
 [93] cachem_1.0.5                ggplot2_3.4.2
 [95] restfulr_0.0.15             viridisLite_0.4.2
 [97] tibble_3.2.1                GenomicAlignments_1.28.0
 [99] AnnotationDbi_1.54.1        memoise_2.0.1

This is likely an issue with not installing CPLEX with the installation of gGnome. 26e9102099990c90304d75c051573609e55c4bf3 adds an informative error message and automatically reinstalls gGnome to fix this error.
Also see this (newly added) section in the readme:
WARNING :
JaBbA uses some functions from gGnome package as a wrapper that needsCPLEX functionality to be added to gGnome. If the dependency package gGnome was installed before installing JaBbA or if CPLEX functionality was not added while installing gGnome or if you get an error while running JaBbA as shown below:
Error in names(x) <- c("xopt", "obj", "status", "extra", "epgap") :
  'names' attribute [5] must be the same length as the vector [1]
Error in .C("Rcplex_free", PACKAGE = "gGnome") :
  "Rcplex_free" not available for .C() for package "gGnome"

This means gGnome was installed without CPLEX functionality. Currently, JaBbA checks if gGnome has CPLEX functionality added while installing and loading the JaBbA package, if not, it will reinstall gGnome to add the CPLEX functionality, so it should take some time for applying this optimization during installation.


use actual BIP-0044 path

HDKeys example uses malformed BIP44 path as an example. This pull requests fixes that ...

Thanks!


fix a broken link and provide a trick to diable log

P.S, now we have four docs about navigator(s). But from my POV, the content are more or less repeated, and the logic is a little messy. I suggest someone to reforge these docs, in a more vivid and evolutionary way. Thank you!

By analyzing the blame information on this pull request, we identified @Emilios1995 and @JoelMarcey to be potential reviewers.

@sunnylqm Thanks. I like the link fix. Nice catch. I am still trying to decide whether or not the disabling of the console information is appropriate there. At the very least, it feels like a note to me.

@JoelMarcey You mean put a "Note:" before? ...

@sunnylqm -- a markdown note that starts with > is what I was thinking about.

If we put this trick in docs it will only encourage more people to use it.
If you really care y not just use https://babeljs.io/docs/plugins/transform-remove-console/

@chirag04 How to use this plugin in different environments? And what is bad for the trick?

you can specify env in your babelrc : https://babeljs.io/docs/usage/babelrc/

The Babel plugin is 'cleaner' than the trick. I would suggest putting a link to it in the docs.

@sunnylqm updated the pull request - view changes

Thanks for the update. A few requested changes -- nits.

@sunnylqm updated the pull request - view changes

Thanks for the english writing class... 😅  And I am not sure the babelrc config is correct.

@sunnylqm Do you need an English teacher? Get on my car, quickly 😎

I am generally ok with this now. @hramos does this seem reasonable to you?

I'm OK with this.

Thanks for importing. If you are a Facebook employee, you can view this diff on Phabricator.


README.md: fix typo

@easingthemes since this is a fork it's making opening PRs really hard can you please delete this repo, create the repo again and re-push so it becomes a mirror and not a fork?
Every time I try and open a PR it just sends to the page to PR this repo back into the original one. It also prevents issues being open which is why I'm commenting on this random PR.

Thanks @OmgImAlexis, I'll try to update this asap.

Done.


ERR: whilerunning the code

ERR: Invalid number of hours

Fixed in Version 1.0.0b8. Please do a fresh pull and let me know if you still run into issues. I've added usage examples in the README too.

Its working . thanks .

Not getting alerts generated under "EVENTS\ALERTS"


visual: images with links have blue bar

I have a logo with a link on https://pypi.org/project/termtables/
and it displays large blue bar across the image:

This does not occur on GitHub, for example.

Cool, thanks!


Removing from an observable collection results in a crash

The error occurs when the ObservableCollection is sorted
The bug can be reproduced with the following code:
var collection = ObservableCollection([1, 3, 2, 5])
var sorted = collection.sort { $0 < $1 }
while(collection.count > 1) {
  collection.removeLast()
}

The error happens in ObservableCollectionEvent.swift at line 106: let newDeletes = deletes.map { sortMap[$0]! }
fatal error: unexpectedly found nil while unwrapping an Optional value
Values of the variables when the error occurs:
sortMap: [0: 0, 2: 1, 1: 2]
inserts: []
deletes: [3]
updates: []
The error seems to be that the value to be removed is already removed from the sortMap and is still tried to find from there. Therefore, this issue occurs always when removing the last element of the ObservableCollection when there's a collection derived from it.

Fixed in v2. Thanks!


Section and Field Adding

Is there a way to add a field in Panel without adding sections?
and I have another problem. While adding inline element in Kirki, (typography, background settings)
the style couldn't add in the frontend.
Could you please help me with these.
Thank you!

Is there a way to add a field in Panel without adding sections?

I'm afraid not, the way the customizer is built in WordPress currently doesn't allow adding controls to panels. Controls can only be added to sections.
However, if you want you could try adding a section like this:
Kirki::add_section( 'expanded_section_in_panel_general_settings', array(
	'title' => __( 'General Settings', 'caramelomedia' ),
	'panel' => 'general',
	'type'  => 'expanded',
) );

While adding inline element in Kirki, (typography, background settings)
the style couldn't add in the frontend.

I'm afraid I'll need more info than that

Closing as the primary issue is not possible.


Upgrade to z2jh 3.0.2 from 3.0.0-beta.1 - oauthenticator 15.1 bumped to 16.0

Based on top of #3114 which should be merged first to reduce the review complexity of this PR, which should then be rebased or closed/opened to not present those changes any more as part of it.

Fixes #2774

With #3114 merged, this PR would benefit from a careful review as typos could break things not tested until actual users show up and use their identity provider to login.
I've tested this on a few staging hubs successfully so far.

@consideRatio, if it's oke, I will wait a bit reviewing this PR until https://github.com/2i2c-org/infrastructure/pull/3114 is merged and this one rebased as you suggested in the top comment.
I started looking at the changes in this diff https://github.com/consideRatio/pilot-hubs/compare/pr/auth-refactoring-and-fixes...consideRatio:pilot-hubs:pr/z2jh-3-upgrade, but I still need to get back to this PR, find the row and then leave the review comment here, so I'll instead wait.

Thank you @GeorgianaElena! I'll perform a self review commit by commit myself now and include comments about them.

@GeorgianaElena okay this is now self-reviewed with an updated PR description about that. I pushed a commit refining a warning comment and made a note in the PR about a mistake in a commit that is resolved by a later commit anyhow.


Cuda 11 and RTX 30 Series GPU Support

❓ Questions & Help

Is there going to be a new version that supports Cuda 11 above and RTX 30 Series GPUs soon?

CUDA 11 should be supported when manually installing from source. We will officially support it once PyTorch 1.7.0 lands.

Should be any day now. For some reason I seem to have errors with using .jit when combined with forward/dataparallel, same network with conv2d doesn't fail :/ Hopefully python 1.7.0 fixes this.

Really look forward to CUDA 11 support.

I was under the impression that CUDA 11 had some bugs (I think slow performance on tensor cores for 3D conv), that were fixed in CUDA 11.1 (or the new cudnn?).
There's a bunch of similar bugs in the pytorch bug tracker.

It seems that PyTorch 1.7.0 has landed.

I just upgraded my dev environment to CUDA 11.1/cudnn 8/pytorch 1.7.0.
Aside from having to modify the magma build scripts, I was able to install pytorch + pytorch geometric without additional patches.


feat: implement car file importing

We already have iroh-car  to read car files, so now this needs to be hooked up through the cli so we can ingest large files of data into the store.

Done, lives in https://github.com/n0-computer/iroh/blob/main/examples/src/bin/importer.rs


feature : Unique Device & App Installation Identifiers for Mobile Apps

Hello,
It will be nice to add xamarin device id like this:
https://montemagno.com/unique-device-id-for-mobile-apps/

Hi,
I think that this is a great idea, and it's definitely something I'd like to do.
I've got a new major version of DeviceId planned, so I'll try to add some of this stuff to the new version. I don't currently have an estimated release date, though.
Thanks!

Hello all.
Congratulations for this amazing work.
I'll wait for xamarin device ID too.

Thanks and congratulations for this amazing work.
It's really amazing @MatthewKing


Update ErrorProne to 2.29.0

This update contains fixes to false positives in UnusedVariable diagnostic.
ClassInitializationDeadlock and SystemConsoleNull should be addressed separately as they likely need deeper investigation.
We're using Enum.ordinal in too many places, but we might want to eventually reconsider this practice, as it is recommended by the EnumOrdinal diagnostics. This is also out of scope of the version bump.

I'll add them to the merge queue after https://github.com/gradle/gradle/pull/29952 got merged to master


can i please have admin access to the dev site?

Hey @mbjoseph  - can you please give me superpowers to the dev site? i just transferred. it.

Superpowers granted!

yeaaasssss! thx. 👍


Fix #25 + change when to allow mouse input

Hopefully fixes #25, and also instead of allowing mouse input when the target is not mobile, we allow it when the FLX_MOUSE define is defined.

This seems good, altho I dont like that there isnt any test of that issue with the is thing, but oh well ¯_(ツ)_/¯
Thanks!


Rename photo to fit CS2103T requirements

Changed justinpeng.png to justinpeng13.png to match my GitHub username

Codecov Report
Base: 72.18% // Head: 72.18% // No change to project coverage :thumbsup:

Coverage data is based on head (2d4f482) compared to base (e8755b6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #53   +/-   ##
=========================================
  Coverage     72.18%   72.18%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1233     1233
  Branches        125      125
=========================================
  Hits            890      890
  Misses          311      311
  Partials         32       32

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Improve default redelivery settings when a deadletter address is set

Type of change

Enhancement / new feature

Description
Default address settings will now be set to original Artemis defaults. I am not sure if it is better to use those, or to come up with a different set of settings.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@lulf the intent was that the status section of the address would show the redelivery settings that are applied to the address.  I think we should consider moving the default back to the address controller to make them visible to the user.

@k-wall I had not considered reflecting the status changes back to the user. Although I agree it would be nice to reflect the setting in the status as well, I don't think the "root" delivery settings would be shown in the status either. I'm not sure if it is that important, but I can fix it. Fixing it in agent would make this work for both standard and brokered was my reason for this fix.

@lulf I didn't think about that either but @k-wall is right we should fix this so redelivery settings are visible to user.


Energized website is down.

[ ] Whitelist
[ ] Blacklist
[ ] App Broken
[x] Website Broken
[ ] Request
[ ] Other Issue

Your website seems to be down. I am unable to fetch things in the magisk module and also I can't access your site in the browser.

Yes, I concur... It was down for almost 24 hours....

Same for me

Same. I was update the filter since 2-3 days ago

same

Same here

Can anyone post a latest hosts somewhere?

Use adgaurd
On Sun, 18 Jul, 2021, 7:50 pm lssong99, @.***> wrote:

Can anyone post a latest hosts somewhere?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EnergizedProtection/block/issues/768#issuecomment-882064127,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU4LXZO3PXJVHTUSOQJRKBDTYLPJ7ANCNFSM5AQ7D4GQ
.

Good afternoon: they still do not go. And before they had a gitlab but it doesn't allow to enter either. Do you know if they will go again? A hug

I am also experiencing errors with the web site. The site appears to be completely down.

who will check this issue?

@AdroitAdorKhan

This from in Telegram group, I think there is no new information about it yet.

#ANNOUNCEMENT
Our web server (energized.pro) is facing some issues, and hence users will (temporarily) not be able to install/update Energized packs..
Inconvenience is highly regretted, we're working on solving this.

This from in Telegram group, I think there is no new information about it yet.

#ANNOUNCEMENT
Our web server (energized.pro) is facing some issues, and hence users will (temporarily) not be able to install/update Energized packs..
Inconvenience is highly regretted, we're working on solving this.

It's just odd that all blocklists disappeared from github as well. If their web page has problems it's fine, but it doesn't explain the GitHub content being affected by this as well

This from in Telegram group, I think there is no new information about it yet.

#ANNOUNCEMENT
Our web server (energized.pro) is facing some issues, and hence users will (temporarily) not be able to install/update Energized packs..
Inconvenience is highly regretted, we're working on solving this.

It's just odd that all blocklists disappeared from github as well. If their web page has problems it's fine, but it doesn't explain the GitHub content being affected by this as well

I wondered the same thing, maybe there is more to it
hopefully it will be explained

Head dev & maintainer, @AdroitAdorKhan  has been inactive & AWOL for a while now.
All my attempts to get in touch with him have been fruitless.
Maybe @AvinashReddy3108 can chip in as to what's going on.

I think it was caused by BGP issues?
root@OpenWrt:~# nslookup block.energized.pro
Server:         ::1
Address:        ::1#53

Name:      block.energized.pro
Address 1: <IP_ADDRESS>
*** Can't find block.energized.pro: No answer
root@OpenWrt:~# ping -c 5 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes

--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

I can't even ping IP range <IP_ADDRESS> - <IP_ADDRESS>
Totally down

No updates so far? @AdroitAdorKhan seems to be inactive these days.
Has anyone managed to get in touch with him?

Im using ADGAURD with root access
It works good but
Not like
ENERGIZED PROTECTION
On Tue, 27 Jul, 2021, 5:12 pm Cassio Mazzochi Molin, <
@.***> wrote:

No updates so far? @AdroitAdorKhan https://github.com/AdroitAdorKhan
seems to be inactive these days.
Has anyone managed to get in touch with him?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EnergizedProtection/block/issues/768#issuecomment-887441582,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU4LXZN5TJC3E7B7S76AJXTTZ2LRDANCNFSM5AQ7D4GQ
.

Closing this issue as the issue is being addressed

Why close it now? Shouldn't you leave it open until it's fixed?

So, still issue yet?

So, still issue yet?

http://energized.pro/ and http://block.energized.pro/ are both reachable as of now but appear to host no content.

So, still issue yet?

http://energized.pro/ and http://block.energized.pro/ are both reachable as of now but appear to host no content.

Yeah, but it's error code 403 Forbidden by nginx

We are almost done. Give us few more time.

We are almost done. Give us few more time.

You're back! My goodness, you're alive! I've thought you'd infected or something?

Looks like the site and links are working again, but the status says "Inactive" even though it says the packs were updated today. What does "Inactive" mean here?

Looks like the site and links are working again, but the status says "Inactive" even though it says the packs were updated today. What does "Inactive" mean here?

Well, it's to check whether you are using Energized Pro in your system or not!

Aha! Thank you. Anyway. This ticket should be closed.
On Fri, Aug 20, 2021, 08:27 Ador @.***> wrote:

Looks like the site and links are working again, but the status says
"Inactive" even though it says the packs were updated today. What does
"Inactive" mean here?
Well, it's to check whether you are using Energized Pro in your system or
not!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EnergizedProtection/block/issues/768#issuecomment-902774274,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABCBZEEASMBXZ3NSOD5I7TT5ZX6BANCNFSM5AQ7D4GQ
.

Looks like the site and links are working again, but the status says "Inactive" even though it says the packs were updated today. What does "Inactive" mean here?

Well, it's to check whether you are using Energized Pro in your system or not!

Thank you brother!
Please tell me why porn lite pack has less than 40 000 domains now, not like its older versions?
And i apologize for putting my question here i didn't find your email! Thank you!

Can anyone explain what happened and why the blocklists all disappeared from GitHub

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Doesn't mention why the website went offline a month ago and also doesn't explain why the lists disappeared from GitHub. Did you read my question in full?

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Doesn't mention why the website went offline a month ago and also doesn't explain why the lists disappeared from GitHub. Did you read my question in full?

Mine was active on Energized website. Maybe is your adblock extension was an issue

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Doesn't mention why the website went offline a month ago and also doesn't explain why the lists disappeared from GitHub. Did you read my question in full?

if you knew the website is up and files are available on the website and not here in github, you could have already guessed that their was some issue storing the lists here in github!
and, the website went offline because we had an issue with the previous server.

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Doesn't mention why the website went offline a month ago and also doesn't explain why the lists disappeared from GitHub. Did you read my question in full?

if you knew the website is up and files are available on the website and not here in github, you could have already guessed that their was some issue storing the lists here in github!
and, the website went offline because we had an issue with the previous server.

Seems odd that the website went offline and the GitHub lists also were removed at the same time and no solid explanation as to why. I'm trying to find an answer but I'm having to dig around for it.

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Doesn't mention why the website went offline a month ago and also doesn't explain why the lists disappeared from GitHub. Did you read my question in full?

if you knew the website is up and files are available on the website and not here in github, you could have already guessed that their was some issue storing the lists here in github!
and, the website went offline because we had an issue with the previous server.

Seems odd that the website went offline and the GitHub lists also were removed at the same time and no solid explanation as to why. I'm trying to find an answer but I'm having to dig around for it.

nope. let me correct you here. We were using Github as primary storage for the lists, but the blob size here at Github was getting bigger, so we had to store them elsewhere. And it was a long ago, i couldnt even remember the exact time. Then we moved to server solution. So the files from Github weren't removed at the same time!
Few months ago, our previous server was DDoS'd, and build server with website went down, which took us a bit long to solve and get the service back up!

Can anyone explain what happened and why the blocklists all disappeared from GitHub

check at website instead energized.pro

Doesn't mention why the website went offline a month ago and also doesn't explain why the lists disappeared from GitHub. Did you read my question in full?

if you knew the website is up and files are available on the website and not here in github, you could have already guessed that their was some issue storing the lists here in github!
and, the website went offline because we had an issue with the previous server.

Seems odd that the website went offline and the GitHub lists also were removed at the same time and no solid explanation as to why. I'm trying to find an answer but I'm having to dig around for it.

nope. let me correct you here. We were using Github as primary storage for the lists, but the blob size here at Github was getting bigger, so we had to store them elsewhere. And it was a long ago, i couldnt even remember the exact time. Then we moved to server solution. So the files from Github weren't removed at the same time!
Few months ago, our previous server was DDoS'd, and build server with website went down, which took us a bit long to solve and get the service back up!

Thank you for the detailed reply it's greatly appreciated! ❤


chore: add declaration snapshots

Problem
GraphQL form unit tests don't have snapshots of declaration files.
Solution
Update renderConfig for GraphQL unit tests to render type declarations.
Additional Notes

Links
Ticket

GitHub issue _____
Other links
Verification
Manual tests

Automated tests

[x] Unit tests added/updated
[ ] E2E tests added/updated
[ ] N/A - (provide a reason)
[ ] deferred - (provide GitHub issue for tracking)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #1018 (faf391b) into tagged-release/graphql-support (334ce6e) will decrease coverage by 0.04%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@                        Coverage Diff                         @@
##           tagged-release/graphql-support    #1018      +/-   ##
==================================================================
- Coverage                           93.69%   93.65%   -0.04%
==================================================================
  Files                                 123      123
  Lines                                5564     5564
  Branches                             1670     1670
==================================================================
- Hits                                 5213     5211       -2
- Misses                                332      333       +1
- Partials                               19       20       +1

see 1 file with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


Removed extra in LogIn and SignUp page

Description

There is an extra space below the footer on the Login and SignUp page

There is extra horizontal space on the login and Signup Space also.

Solution

I increased margin-bottom on 'Login.css' from '50px' to '200px'. This removed extra space below 'footer' in both 'signup' and 'login' page

I added a code in 'index.css' to remove extra horizontal space on the 'login' and 'signup' pages.

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] This change requires a documentation update.

Checklist:

[x] My code follows the style guidelines of this project.

[x] I have performed a self-review of my own

[ ] I have made corresponding changes to the documentation.

[ ] I have added corresponding tests.

[ ] Any dependent changes have been merged and published in downstream modules.

[ ] I have signed the commit message to agree to the Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@padmajabhol can you please review this PR and verify my changes in the code.

Your branch is currently 14 commits behind the base branch. Can you please check?

@padmajabhol I just checked the website, the issue remains, and there any new PR for this issue. Can you now please review my PR?

Hi @anwersayeed , I tried running your code and I still found some white space below the footer? Can you check once? Let me know if you need help fixing this.

@padmajabhol I have increased the margin, can you run it again and let me know if its working or not

I guess we have to refactor the code for the footer component, or wrap it inside a div and fix it to the bottom, could you try that?

@padmajabhol I have increased the margin, can you run it again and let me know if its working or not

I guess we have to refactor the code for the footer component, or wrap it inside a div and fix it to the bottom, could you try that?

@padmajabhol I have fixed the page overflow and it's working fine this time, could you please check?

@padmajabhol is this PR working fine??

@padmajabhol is this PR working fine??

Can you resolve the conflicts? I'll check asap.

@padmajabhol I have resolved the conflicts, can you check?

@padmajabhol is this PR working fine??

Can you resolve the conflicts? I'll check asap.

@padmajabhol I have resolved the conflicts, can you check?

Sure


BUG: nonmonotonicity in betaincinv, btdtri, stats.beta.ppf

betaincinv and related function have a nonmonotonicity which looks incorrect
statsmodels issue https://github.com/statsmodels/statsmodels/issues/7008 is for scipy.stats.beta.isf
but that uses btdri which is equivalent to betaincinv

count_ = np.arange(1, 20)
q, a, b = 1-alpha_2, count_ + 1, nobs - count_
q, a, b
(0.999995,
 array([ 2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
        19, 20]),
 array([99999, 99998, 99997, 99996, 99995, 99994, 99993, 99992, 99991,
        99990, 99989, 99988, 99987, 99986, 99985, 99984, 99983, 99982,
        99981]))

special.betaincinv(a, b, q)
array([0.00014976, 0.00017332, 0.03499907, 0.03633139, 0.03530332,
       0.00025256, 0.00027046, 0.00028788, 0.00030491, 0.00032161,
       0.00033802, 0.00035417, 0.00037009, 0.0003858 , 0.00040134,
       0.0004167 , 0.00043192, 0.00044699, 0.00046193])

inv = special.btdtri(a, b * 1., 1 - alpha_2)
inv
array([0.00014976, 0.00017332, 0.03499907, 0.03633139, 0.03530332,
       0.00025256, 0.00027046, 0.00028788, 0.00030491, 0.00032161,
       0.00033802, 0.00035417, 0.00037009, 0.0003858 , 0.00040134,
       0.0004167 , 0.00043192, 0.00044699, 0.00046193])

# inverse check

special.betainc(a, b, inv)
array([0.999995, 0.999995, 1.      , 1.      , 1.      , 0.999995,
       0.999995, 0.999995, 0.999995, 0.999995, 0.999995, 0.999995,
       0.999995, 0.999995, 0.999995, 0.999995, 0.999995, 0.999995,
       0.999995])

```

For information to anyone who wants to solve (or work around) this issue: the implementation of Boost seems to be correct: https://www.boost.org/doc/libs/1_58_0/libs/math/doc/html/math_toolkit/sf_beta/ibeta_inv_function.html.

@mckib2 Boostinator : )


Initial WIP

Things to fix up:

remove Gon, just use data attribute for school group id
put commented maps URLs in wiki, with notes
rename Maps::Features to Maps::SchoolFeatures

Things to fix up:

remove Gon, just use data attribute for school group id
put commented maps URLs in wiki, with notes
rename Maps::Features to Maps::SchoolFeatures

Have looked over the revisions, they look good to me. :+1:

Have looked over the revisions, they look good to me. :+1:


Question: How to verify if a  public witness is associated with certain public inputs?

How do the verifier make sure that the proof is indeed related to given Hash (public input). Is there a way to verify this? If Im not wrong, the public witness might help here, but I am not sure how?
I have a simple Mimc circuit here
type MimcCircuit struct {
	PreImage frontend.Variable
	Hash     frontend.Variable `gnark:",public"`
}

func (circuit *MimcCircuit) Define(api frontend.API) error {

	mimc, _ := mimc.NewMiMC(api)

	mimc.Write(circuit.PreImage)

	api.AssertIsEqual(circuit.Hash, mimc.Sum())
	return nil
}

and
       var circuit MimcCircuit
	ccs, _ := frontend.Compile(ecc.BN254.ScalarField(), r1cs.NewBuilder, &circuit)

	pk, vk, _ := groth16.Setup(ccs)

	dummyData := utils.GetDummyHashedData()
	assignment := MimcCircuit{
		PreImage: dummyData.Data,
		Hash:     utils.HexStringToByteArray(dummyData.HashString),
	}

	witness, _ := frontend.NewWitness(&assignment, ecc.BN254.ScalarField())

	publicWitness, _ := witness.Public()

	fmt.Println("hash string is ", dummyData.HashString)
	fmt.Println("hash by array is ", utils.HexStringToByteArray(dummyData.HashString))
	fmt.Println("------------ Public Witness is ", publicWitness, "--------------")

	proof, _ := groth16.Prove(ccs, pk, witness)

	groth16.Verify(proof, vk, publicWitness)

The public witness contains exactly the values designated as public. How they are incorporated into the verification process depends on the proof system, but in general it involves something similar to a "homomorphic" commitment scheme (Pedersen in the case of Groth16, and KZG for PlonK.)

Hi, not sure if I understand your issue correctly, is your question about 1) how does groth16 deal with public inputs in general or 2) do you want to know how to bound a hash to public values inside of a circuit ? In the case of 1) the proof simply doesn't pass if the public inputs are not related to the proof. For 2), you could instead of having a lot of public inputs, hash them, make the hash public, make the public inputs private, and prove inside of the circuit that the now public hash corresponds to the hash of the private (formerly public) inputs

@Tabaie @ThomasPiellard thanks for the replies. Let me rephrase my question again.
Inputs 1: data-1, Hash 1
Inputs 2: data-2, Hash 2
First inputs will generate zkProof-1, and second will generate zkProof-2.. but how do the verifier can differentiate between them? That zkProof-1 is indeed of Hash-1 and zkProof-2 is indeed of Hash-2?
@Tabaie answer does give the idea but I don't have much background in crypto graphy. So it would great if there is any high level code example or libraries I can refer.
Thank you.

@Tabaie @ThomasPiellard thanks for the replies. Let me rephrase my question again.
Inputs 1: data-1, Hash 1
Inputs 2: data-2, Hash 2
First inputs will generate zkProof-1, and second will generate zkProof-2.. but how do the verifier can differentiate between them? That zkProof-1 is indeed of Hash-1 and zkProof-2 is indeed of Hash-2?
@Tabaie answer does give the idea but I don't have much background in crypto graphy. So it would great if there is any high level code example or libraries I can refer.
Thank you.

ok so it was my option 1) I think, so the verifier works by doing a succint computation (namely some pairings in the case of plonk and groth16) on a tuple (public inputs, proof, verification key). A proof contains different components, a part P1 that depends on all the inputs (public and private) and a part P2 that depends only on the private inputs. To verify a proof, the P2 part needs to be completed by the verifier using a set of public inputs and the proof passes only if the P2 part is completed with the public inputs that were used in the computation of P1. As @Tabaie said in plonk and groth16 P2 is a KZG commitment to the private inputs, and at some point in the verification process we need a commitment to all the inputs, so the verifier computes on its own a commitment to the public inputs PI and obtains the commitment to all the inputs by adding P2 and PI. If 'PI' is wrong, the whole commitment is wrong and the proof doesn't pass

"so the verifier computes on its own a commitment to the public inputs PI.."
I think this answers my questions. Does the public_witness play it's part here?
If the public_witness is encrypted date ( homomorphic hidings or something), can a verifier check if the public_witness is indeed of Hash..
Sorry if I'm being confusing. I am new to ZK stack. I just want to know how can the verifier differentiate between Valid zk-proofs of same circuits at HIGH LEVEL.
If the method was something like this
groth16.verify(proof, vk, Hash (or whatever public data), It would be way clearer..

yes the public_witness plays its part in the computation of PI. But I don't understand the last remark, the signature of Verify is Verify(proof Proof, vk VerifyingKey, publicWitness witness.Witness, opts ...backend.VerifierOption) so you have the public witness part involved

At a HIGH level,
Problem statement:
Someone (proover) is claiming that he knows certain Data ( secret input) that hashes to Hash-1 (public data)
The prover sent ZkProof, public witness to me (verifier)
I run the groth16.verify(zkProof, public witness, vk) and can be assured that the proof is indeed right.
But whether if it's the zkProof or public Witness, they are more some encrypted data. It could be any valid inputs ( valid data that hashes some valid Hash).. but How can I make sure it is not some random valid inputs but the Hash-1 ( the one I'm expecting).

Or simply,
Can I independently construct public_witness knowing the public inputs of the circuit or vice versa ?

yes public_witness and public inputs are the same thing, and it's not encrypted, in your example the raw result of the hash is used as public input, it's not encrypted or anything

I see. So it's just a matter of encoding and decoding.
Thanks a lot for your time. I'm new to gnark and this has been bugging me a lot. I didn't find any example or unit test ensuring this check, so it was hella confusing.
Thanks again 😀


fix: use isomorphic __VLS_ConstructorOverloads when emits type is not inlined

close #3542
Most of the types come from @ShenQingchuan, thanks a lot!

This is 🔥, thanks! @so1ve @ShenQingchuan

@johnsoncodehk Since we are doing a lot of gymnastics here, I wonder if we can keep the original implementation (generated version) for better performance?


Update zombiezen driver to v1.1.0

zombiezen.com/go/sqlite v1.1.0 has improvement for string conversion. In context of this benchmark, fixed the outlier performance for Large case.

Thank you, I will update all drivers to their new versions when the next release cycle happens.

Meanwhile I've updated my fork, which should give you an idea of the expected results.

Meanwhile I've updated my fork, which should give you an idea of the expected results.

@ncruces thats a huge performance leap. Well done.

@ncruces thats a huge performance leap. Well done.

If you mean the zombiezen improvement, that's not my work. @ffmiruz takes the credit. 😆
If you mean improvements to my driver, this PR is responsible for the bulk of the improvement (this time around). I bet a similar approach would help other database/sql drivers.
A similar approach to binding values might improve insert performance. I'll evaluate it in the future against increased complexity.
The rest is profiling, and focusing on reducing allocations in the hot path (the low level APIs benefit because database/sql itself generates some garbage).
My low level API does better than my database/sql driver, but I'm not sure it's appropriate for me to overwhelm the benchmark with two implementations of my own. Most people seem to prefer the database/sql abstraction.


text: Used fonts are never discarded

As text package manages glyph cache with a map that key is font.Face instance, different glyph cache is created for different font.Face instance. Thus, for example, if a font.Face object is created every frame and used at text.Draw, this consumes unnecessarily a lot of cache (textures).

Another problem is that text package holds font.Face instances and never releases. My current idea is to set a timer to delete a ref to font.Face a few minutes (or hours?) after the instance is used at the last time.

My game is affected, in javascript versions only, in that the current workaround in uniqFace(face font.Face) calls reflect.DeepEqual takes a very, very long time to process exactly one one of the four fonts I use: DampfPlatz.ttf

Using GlyphCacheEntries = 1 in truetype.Options removes a significant amount of time reflect.DeepEquals takes, but there is still a heavy delay when reusing a font face.
	face := truetype.NewFace(f, &truetype.Options{
		Size:              size,
		GlyphCacheEntries: 1, // The workaround
	})

I think this is a different problem from this issue, so I'll file another one

One idea is to remove font.Face when all the glyphs of the face become old enough. What is an appropriate threshold? For example, 5 mins (= 1800 frames) is a good enough number?

Seems reasonable enough to me to have a goroutine running that will perform the periodic cleanup.
5 minutes is decent enough estimate, as well. I'll keep on eye out for any performance hits that happen every 5 minutes

I think it is reasonable to have a goroutine performing cleanup. 5 minutes sounds like a reasonable default, but maybe it is worth making this cleanup value configurable. The value could be used for any other cleanup that might be added, though AFAIK only Faces/glyphs are of concern right now

BTW is this issue actually a problem to you? I'm curios since in most cases a few of faces are used in one game and the face set usually never changes in the life of the process, right?

The cache definitely does introduce a memory leak, but I don't think this area is where we would see the highest wins in terms of memory or performance.

This was resolved by text/v2.


add support for float

as for i64, they are mapped to u64 for indexing, but using a different formula.
query parser doesn't work yet
fix #327

I'm not sure how it works but I tried to add a commit fixing the TODO you added in value.rs's Value::text.

you have write access to the branch so it works as one would expect.
There are 2 others TODO, one about an error message/actual behavior missmatch, and one regarding src/fastfield/readers.rs:FastFieldReaders::u64_lenient, should it support f64 too?


Serv-Documents Mgt. - OnAfterFinalizeShipmentDocument

Hi,
The event OnAfterFinalizeShipmentDocument in the codeunit Serv-Documents Mgt. is missing the parameter for the Service Header.
Now:
    [IntegrationEvent(false, false)]
    local procedure OnAfterFinalizeShipmentDocument(var ServiceShipmentHeader: Record "Service Shipment Header")
    begin
    end;

Request:
    [IntegrationEvent(false, false)]
    local procedure OnAfterFinalizeShipmentDocument(var ServiceShipmentHeader: Record "Service Shipment Header"; ServiceHeader: record "Service Header")
    begin
    end;

Is it possible?
Version: W1 16.2 (Platform 16.0.13440.13772 + Application 16.2.13509.13779)

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. We will update this issue with information about availability.


API to create new empty classroom

Coverage decreased (-20.8%) to 42.823% when pulling d59ffe9cc9c228e914d24c0354c871ddb58564cd on new-classroom-api into 1dafca40251639a9e127f826fc7c41b39debbd78 on master.


Laggy?

I have noticed that sometimes there is a fair amount of lag from the time you press the button and the time the circle/x show up on the screen - especially if I send a lot of events to firebase with move commands that may not be valid :p .
Is that expected? I am guessing sometimes the functions take a bit of time to run after the path has been written to? I am also on the free trial, would that be it?

Damn, I was just about to start using firebase.
But typically the client should disable interaction when it is not your turn, like you cant click it in the first place. Assuming you behaved (only valid commands) :P is it still laggy?

@msqaddura we have been able to make optimizations to make it pretty smooth! We are using it in production in this app if you wanna see what's possible :p https://itunes.apple.com/us/app/bunch-group-video-chat-games/id1294869021?mt=8

Pretty Awesome! I dont use iphone but it hella looks pretty awesome!! I recommended it for my friends.
So you went for same services as this tutorial? RealTimeDB & Cloud Functions?

hah thanks! It's written in react native so hopefully android coming soon :p
Ya, we followed that pretty closely. Built onto it a bit but works pretty much the same -> clients write commands to a path, which trigger a cloud function that does something. Client may update asap so it doesn't have to wait until function finishes.
Feel free to reach out for any questions! We built a friend system, presence system, and some real time games using this architecture with some modifications and have been pretty happy with it!