[FLINK-14645][table] Support to keep nullability and precision when converting DataTypes to properties

What is the purpose of the change
Use the LogicalType#asSerializableString as the properties value string instead of using TypeStringUtil. This can keep the nullability and precision.
NOTE: However, this will lead to the default conversion class of TIMESTAMP declared in DDL will be LocalDateTime. In the previous versions, the default conversion class is java.sql.Timestamp. We have to update all the connectors to adapt this changes, otherwise it will fail to create the connector. We should also add this into release note.
Brief change log
82bae84e63e8e42447e75e097a32cc4f8d4f0618

Support to parse LegacyTypeInformationType, because user may pass in Types.BIG_DEC into TableSchema

423400c30bcf6a2c0f97d439db1e25fd76f7e01c

Use LogicalType.asSerializableString as the data type properties value string

f1f08640eca5f6980b51ecfecd318f36d3f6773e b3962df2b64140b0be9232449e93a213404e6ebb fb7f5e6fd44afb5c26c72ee579b4eb883b2dccfe d7ecec4f1d9e2857f461f82faee5a902224ccd0a e80446be9909bd9bcf1304aa0050c87c0bb37479 ab3e19f2ceea1cb1e60586b9781254609ab2b192

update connectors to adapt the properties changes, because the default TIMESTAMP conversion class is LocalDateTime now.

ac84bc121839537b858ed201c464d836f823c209

Use data-type as watermark expression type key too

038052c833940fbaef3111ed92525216f13edee2

Support to pass nullability and precision defined in DDL to planner

Verifying this change
This change is already covered by existing tests and new added tests.
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, Yarn/Mesos, 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)

Thanks @wuchong for your this very important PR. I will review ASAP.

Hi @twalthr ,  could you help to review the LegacyTypeInformationType part?

Hi @JingsongLi , thanks for the reviewing, I have updated the PR.

Thanks @wuchong for your contribution and updating.
LGTM +1 after conflict resolved and travis green.

Travis is passed: https://travis-ci.org/wuchong/flink/builds/621891260
Merging...


fix: use contextual l2

Description

Deploy Notes
Notes regarding deployment of the contained body of work. These should note any
db migrations, nginx routes, infrastructure changes, and anything that must be done before deployment.

[ ] Need to add environment variables

ENV_VAR=

Screenshots (if appropriate)

Review Error for AshishYelekar @ 2023-08-12 15:16:05 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


$init keyname appeares on result automatically

If all the items inside the object are Boolean then "$init": true  will be added to the output automatically
omitEmpty({ a: true, b: false}) -> { a: true, b: false, $init: true }
Any comments why this happens?

I just installed the latest version from NPM and ran the code above and I don't see the $init: true being output:

Are you passing in a plan object? Or are you passing in an object that was created by something else that might have the $init property on it?

I'm using version 1.0.0 and yes, the object I'm sending to omitEmpty is a subdocument which is returned by MongoDB. The subdoc/object has 6 fields all of Boolean type. I checked the output of Mongo on its find query as well as the ntry in db. none of them has the $init. I comes as a result of  passing it omitEmpty.

Will you do console.log(Object.keys(subdocument)); before sending the subdocument to omitEmpty?

I did.  I confirm that the $init is there before sending to omitEmpty. This is interesting, $init is there when I use console.log(Object.keys(subdocument)); but not when I simply use console.log(subdocument);
Does it have anything with boolean values on this specific document.  I never faced it on other cases.

Does it have anything with boolean values on this specific document. I never faced it on other cases.

I don't know, but I think it's a value that MongoDB (or mongoose if you're using that as an ORM) puts on there to track if updates need to be sent to the database.
Depending on the library that you're using to access MongoDB, there should be a way to get just the JSON object from the "model instance" (I don't know what else to call that object). That object will probably be one that you can use to pass to omitEmpty.
I'm going to close this issue since it's not a bug in omit-empty. Feel free to open a new issue if you do find something else in omit-empty.

Ok, I found it. I should have used .toJSON() This the output of Mongodb that have this additional key. If I use subducument.toJSON() then the $init disapears from it.  See here for example: https://spectrum.chat/mongodb/general/what-is-init-trying-to-pull-out-array-of-key-names-from-nested-object~91b2f6df-fd61-411d-8be3-cda6b3afdf9b
Thank you for your answer and help @doowb. I close this issue.


eslint plugin no-undeclared-env-vars should detect known framework variables

Description
This PR picks up from https://github.com/vercel/turborepo/pull/8505
We currently do Framework Inference based on the package.json dependencies of the nearest package.json. turbo's Framework Inference support is per-package whereas this one wholesale allowslists all framework environment variables in every package.
The job of this PR, therefore, is to enable per-package framework detection.
I started by extracting this data to a json file, frameworks.json, so it can be shared between Rust and TypeScript.
TODOs:

[x] extract the frameworks information in framework.rs into frameworks.json
[x] search community to make sure that recursive package.json searching has no better method than fs.readFileSync
[x] implement package.json search to resolve depencies
[x] combine per-package resolution of those dependencies and regex allowlist values
[x] update tests for the plugin
[x] use the frameworks.json file to generate the table in using-environment-variables.mdx

Testing Instructions
After building the plugin (which will run it locally), open up packages/eslint-plugin-turbo/__fixtures__/framework-inference/apps/vite.  Notice that there are no errors in index.js, but if you remove the vite dependency in package.json then there will be.  Notice, also, that adding a next.js env var in this file (e.g. process.env.NEXT_PUBLIC_ZILTOID) will error as expected.

Very excited for this. Thanks, Dimitri!


chat extender version <IP_ADDRESS>

Describe the bug here:
chat extender font size doesn't stay between game launches. it saves it in the config window and hitting apply does make it change to what it should be but on initial launch it's like font size 15
Steps to reproduce the bug:
install chat extender, change font size to something besides default, kill game, relaunch, look at the font size, open chat extender config, hit apply on the font size button, kill game, relaunch, and it will stick so it seems to be either on first install or first launch after install.
Expected behavior
A clear and concise description of what you expected to happen.
the font size to stay static between game launches

it appears that installing a plugin via /xlplugins makes the font revert to some default size until you open the config and hit the apply button next to font size. only font size is effected, all other configs remain (as far as i can tell at least)


[Event Request] Codeunit 5882 - OnBeforeOnRun

Please add new integration event OnBeforeOnRun to Codeunit 5882.
Suggested calls:
trigger OnRun()
begin
+   OnBeforeOnRun(Rec);

    PhysInvtOrderHeader.Copy(Rec);
    Code;
    Rec := PhysInvtOrderHeader;
end;

New Event Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeOnRun(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


DXCDT-505: Add ability to generate resource config files on behalf of the user

🔧 Changes
This PR adds the ability of the auth0 terraform generate command to generate even the resource config files on behalf of the user using terraform-exec.
In case the Auth0 Terraform Provider credentials are not detected through env vars, it displays the list of commands the user needs to run in order to get to the same output as terraform-exec logic.
📚 References

🔬 Testing
Tested manually by running go run cmd/auth0/main.go terraform generate -o manual-testing/tf2
📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Patch coverage: 68.60% and project coverage change: -0.07% :warning:

Comparison is base (411bcda) 72.04% compared to head (b8c2e6c) 71.97%.
Report is 8 commits behind head on main.

:exclamation: Current head b8c2e6c differs from pull request most recent head 0df81db. Consider uploading reports for the commit 0df81db to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #796      +/-   ##
==========================================
- Coverage   72.04%   71.97%   -0.07%
==========================================
  Files          89       91       +2
  Lines       11149    11372     +223
==========================================
+ Hits         8032     8185     +153
- Misses       2615     2683      +68
- Partials      502      504       +2

Files Changed
Coverage Δ

internal/cli/terraform.go
61.95% <61.95%> (ø)

internal/cli/root.go
90.90% <100.00%> (+0.06%)
:arrow_up:

internal/cli/terraform_fetcher.go
100.00% <100.00%> (ø)

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


What happens if your own feed is added to the ban list?

Or rather what is supposed to happen? Should that feed get removed? Probably not.

The expected behavior (basing off go-ssb) is that yeah your own feed gets deleted if it's in the ban list. It sounds weird but it is important that the ban list prevents people from publishing terrible things using scuttlego, not just reading awful things using scuttlego (if someone has opted into using the ban list, i.e. by downloading an app like Planetary and agreeing to ToS). You can still copy your private key out and take it to another app. It would be nice to have some kind of error letting people know they have been banned, but I don't think we need to spend time making the experience better for this user segment right now.

Well we could prevent the app from ever sharing that data with other nodes but just removing someone's content completely sounds like something that needs further discussion. Then they can't even try to move it to different clients.


sprig editor log

new log for sprig editor! shows line numbers on chrome (slash arc) and firefox. safari sucks and doesn't let us retrieve line numbers. supports console.log and console.error!

could you remove the dark green vertical border here or make it so that there aren't two color changes between "toolkit" and "get ai help"?

The log doesn't scroll back to the bottom when you open it after closing it:
https://github.com/hackclub/sprig/assets/84192816/884a258b-6e36-4803-8b8a-4280166cddd4
Also, I'm getting these errors in the editor when clicking away from the log:

Overflow doesn't seem to be handled:
https://github.com/hackclub/sprig/assets/84192816/082c6111-4d76-4f6a-ada3-2372677a4d54

the border problems aren't caused by me - those are pre-existing, even when cutting directly off HEAD, and I don't think should be addressed in this PR


Enable YAML conformance tests

This PR is initial work for enable YAML conformance tests, implements GeneratePackage, GenerateProgram and Pack in the language plugin. Correctly propagates RootDirectory as the directory where the YAML templates should be loaded from.
Implementing local dependencies was a bit tricky, I went the route of adding support for it in program-gen where a package dependency that version {version} becomes a default provider resource in the YAML program itself:
resources:
  default-simple-provider:
    type: pulumi:providers:simple
    defaultProvider: true
    options:
      version: 1.0.0
  res:
    type: simple:Resource
    properties:
      value: true

This however fails today in YAML runtime because it tries to load the simple package from an existing binary or tries to download it but that doesn't work because in conformance tests these local packages have an in-memory implementation.
YAML runtime does its own plugin loading to type-check the template which blocks conformance tests. We need to be able to load schemas from the engine and simply connect to a schema loader service from YAML runtime

Implementing local dependencies was a bit tricky,

So there's plugin querying which unquestionably needs to return the right thing, and dependency querying which is useful if it returns the right thing but for yaml it doesn't really have dependencies.
So maybe we make conformance testing allow a language plugin to return NotImplemented for GetProgramDependencies.


Can't assign requested MAC address if more than one preferred wifi network to connect available

Log:
Changing MAC address...
ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address

For now, if you can, try removing via GUI all saved available networks

Alternative to airport command needed


Plugin don't allow to enter a number in a field

The setting window lose it's focus after I enter the first number or delete a number.

The plugin also make unnecessary re-renders. If, for instance, you have 1 in the "Number of copies fields" and press down key, nothing is supposed to change but the plugin re-renders anyway.

Super valuable feedback. will fix this soon!

I have exactly the same problem. Are you working on this already ?

Hi Romain,
no I don't, but I hope someoneelse does.
Von meinem iPhone gesendet

Am 21.09.2017 um 16:52 schrieb Romain Sauvaire<EMAIL_ADDRESS>I have exactly the same problem. Are you working on this already ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I will work on this. Just not been getting time to pick this up. Cheers!

Hey guys, This issue is now fixed in the latest version of the Looper Plugin. Please try the plugin and let me know if it works. Cheers!


Implement resource.error

Currently CasperJS implements resource.received and resource.requested but it would be great to also have resource.error event to get notified of any failed external resource requests (PhantomJS has onResourceError event for that)

Implemented in this commit.


redirecting from a deprecated project to a new one?

Details

Project URL: f5-openstack-lbaasv2.readthedocs.io | f5-openstack-lbaasv2-driver.readthedocs.io
Build URL (if applicable): n/a
Read the Docs username (if applicable): jputrino

Expected Result
I'd like the first project URL to redirect to the second project URL. The first project was deprecated and today I deleted it; I'd like that URL to redirect to the second URL so users who have the old URL bookmarked can find the documentation.
Actual Result
N/A

Thanks for the report. This is more or less a duplicate of #1440.


Pp 5030 user details admin

Allow editing of user details

Superseded by https://github.com/alphagov/pay-toolbox/pull/116


Method Pagging undefined

Here is my code
import (
     "github.com/biezhi/gorm-paginator/pagination"
)

var orders []structs.Order
db = helpers.DB.Where("id > ?", 0)

pagination.Pagging(&pagination.Param{
    DB:      db,
    Page:    1,
    Limit:   10,
    OrderBy: []string{"id desc"},
}, &orders)

Exception undefined: pagination.Pagging
does anyone have to be initialized first ?

Paging is just mispelled, try pagination.Paging

This readme has typo.
I issued a pull request, but no response yet.


Initiate EasyCLA - Georgios Papadopoulos

Please edit the title of the Pull Request to: "Initiate EasyCLA - "
This is a trivial test PR to initiate an EasyCLA check/signing process.
It is not intended to get merged.

Looks like you were properly added to the Deutsche Telekom AG CCLA.


Add ability to turn slow speed pointer off

Some users find the slow speed pointer distracting. They would like to be able to turn it off.

Added in version 1.1.2.


Asia only: staking page failed to load

Problem
The staking page failed to load in China. When the staking link is opened, it would request this link https://raw.githubusercontent.com/frol/near-validators-scoreboard/scoreboard-mainnet/validators_scoreboard.json In China, users can not open github link without vpn. It may be the reason that it is slow to open the staking link. When users facing this problem, we used to introduce them to open the vpn and try again. The staking page would work fine with vpn, but it may not be the good way to solve the problem. A user who is a developer also suggests that if we could do anything with the request link to provide a better experience of using NEAR Wallet.

Expected Behavior
The staking page would be loaded quickly.
Steps to reproduce

Click "staking" in NEAR Wallet
It shows noting detailed

@MaximusHaximus this is the usual latency/filtering problem with our wallet helper and indexer.
It seems we can't give up on localizing a node there, at least for the trustless components (indexer&RPC), eventually using a separate domain

This is definitely something that we can resolve, either by querying the data on-chain (if possible), via our indexer (more likely), or by proxying this json file through the near-contract-helper REST API (as a last resort).
I'll try to get this resolved in this sprint. <3 thanks for the report @RubyJiao !

@RubyJiao We are now loading the list of historic validators from the contract helper, no longer referencing github user content.  This should be usable without a firewall for users inside of China now (it's live on mainnet!)


Add backwards compatibility tests for automation

Add backwards compatibility tests for the plugin to automate end-to-end upgrade paths for faster releases. Developer documentation for implementing bwc tests and hooking them to CI: https://github.com/opensearch-project/opensearch-plugins/blob/main/TESTING.md#backwards-compatibility-testing

closing the issue as the functionality is tested in plugins (e.g. index-management) using job-scheduler.

closing the issue as pr is merged.


Build number not send to saucelabs after upgrading to 3.3.0

Since we have upgraded from protractor 3.2.2 to 3.3.0 saucelabs does not receive the build number anymore which causes that the current test status cannot be displayed in their badges anymore. Here is how we configure the build number:
multiCapabilities: [{
    'name': 'Win8.1/Chrome',
    'platform': 'Windows 8.1',
    'browserName': 'chrome',
    'build': process.env.TRAVIS_BUILD_NUMBER
  }, {
    'name': 'Win8.1/Firefox',
    'platform': 'Windows 8.1',
    'browserName': 'firefox',
    'build': process.env.TRAVIS_BUILD_NUMBER
  }, {
    'name': 'Win8.1/IE11',
    'platform': 'Windows 8.1',
    'browserName': 'internet explorer',
    'version': '11.0',
    'build': process.env.TRAVIS_BUILD_NUMBER
  }],

Here is the result: https://saucelabs.com/u/rreitmann
Have there been any changes on how we have to configure this attribute?

Per 582411b7ad6c0f9176b231dc51dc328b98affbdf, the reference doc shows that you should use the sauceBuild. However if sauceBuild is not there, it might be overriding your build number set in the multiCapabilities. Try it out and let me know. We might need to fix this: https://github.com/angular/protractor/commit/582411b7ad6c0f9176b231dc51dc328b98affbdf#diff-b7b628ea512e37f59b8b06df304f2f6bR64

Using sauceBuild solved our issue. Thanks for your help!

Glad that resolved the issue! I'll go ahead and close this.


Enable beta access + egress parameters in PT requests

https://replicahq.atlassian.net/browse/RAD-6244
Updates our GH version in order to pull in the new beta access/egress transit routing parameters, and updates all replica-specific server + GUI code to accommodate the new knobs.
Most of the edits to files in the replica-common submodule came from copy/pasting relevant sections of files from graphhopper master @ 547215973b5b66d082a6adb184f48ae71f790c9d (the new commit we're pointing to). I did my best to go through and comment explanations for most of the other relevant edits as well.

Example of new parameters working, via the GUI:
Before:

After:

cc @alexeisw @bnaul

Going to go ahead and merge now, knowing that we're still waiting on final word from @michaz  re: the storeTwoDirections flag issue in the truck-related classes. Hoping to start pre-emptively building things to save some time, assuming that the current truck code ends up being the correct approach


Add permission management for API 23 or compile against 22

There's a problem with permissions on android 6 - since it's compiled against 23, they are not granted automatically, so people don't know that they need to enable them manually. Either we implement them ASAP or we compile against API 22 so that they will be automatically granted.
I just noticed this because LeakCanary was freezing because there was no storage permission.

+1


Unbind C-a via .tmux.conf.local

Hi,
How can I disable the GNU-Screen compatible prefix via .tmux.conf.local?
Thanks

set -gu prefix2
unbind C-a

Thanks!

Sorry. I know this has been closed, but the solution from @gpakosz doesn't work in my tmux. Any idea?
Ubuntu 16.04
tmux 2.1

I tried to use those settings to disable C-a prefix on tmux 1.9 (on a server, which means I can't upgrade my tmux version), and I get the following:

Can't unset global option: prefix2.

How can I do?

I'm sorry this configuration doesn't support tmux 1.9.

For others arriving here via Internet search:
set -gu prefix2
unbind C-a

from https://github.com/gpakosz/.tmux/issues/53#issuecomment-276544577 works for me on tmux v3.1 and v3.2.


comicartfans

Hello,
Again your skills leave me amazed.
Is there a way ripme can support
http://www.comicartfans.com/
eg : http://www.comicartfans.com/searchresult.asp?txtsearch=JOSE LUIS GARCIA-LOPEZ

#8


Move common testing utilities into separate libraries [phab:D335]

Created by schroederc at 2015-06-11 23:04:44:

fromberger commented inline (context lost during migration) at 2015-06-15 15:04:07:
Please document all the exported functions here.

fromberger commented inline (context lost during migration) at 2015-06-15 15:04:07:
testutil
(so it appears thus at the call site, not just in the import path)

fromberger commented inline (context lost during migration) at 2015-06-15 15:04:07:
Please document (and below)

fromberger commented inline (context lost during migration) at 2015-06-15 15:04:07:
Units, please

fromberger commented inline (context lost during migration) at 2015-06-15 15:04:07:
Is this type necessary?

fromberger commented inline (context lost during migration) at 2015-06-15 15:04:07:
Is this type really needed? CreateFunc could just return a graphstore.Service.

fromberger wrote at 2015-06-15 15:04:07:
My main request is to please document all the relevant exported functions/methods.

schroederc wrote at 2015-06-15 18:21:56:
Review changes

schroederc commented inline (context lost during migration) at 2015-06-15 18:22:05:
It's more for usage in tests so that "kythe.io/kythe/go/services/graphstore" and "kythe.io/kythe/go/test/services/graphstore" don't both have to imported (leading to renaming).  It's convenient.

schroederc commented inline (context lost during migration) at 2015-06-15 18:22:05:
See the comment above.

schroederc commented inline (context lost during migration) at 2015-06-15 18:22:05:
Done.

schroederc commented inline (context lost during migration) at 2015-06-15 18:22:05:
Done.

schroederc commented inline (context lost during migration) at 2015-06-15 18:22:05:
Done.

schroederc commented inline (context lost during migration) at 2015-06-15 18:22:05:
Done.

schroederc wrote at 2015-06-15 18:25:06:
Add NullDestroy funcs

fromberger commented inline (context lost during migration) at 2015-06-15 18:28:08:
SGTM

fromberger commented inline (context lost during migration) at 2015-06-15 18:28:08:
Nit, perhaps: "…fills the given slice with random bytes."

fromberger commented inline (context lost during migration) at 2015-06-15 18:28:08:
I'm not sure I understand the advantage of passing in buf. The conversion string(buf) will force a copy because the underlying slice remains mutable.

fromberger accepted this revision at 2015-06-15 18:28:08

schroederc wrote at 2015-06-15 18:56:44:
Review changes

schroederc commented inline (context lost during migration) at 2015-06-15 18:56:50:
Done

schroederc commented inline (context lost during migration) at 2015-06-15 18:56:50:
Pass in size instead

schroederc closed via commit 5308aea6a52888fee05ae3bea339591697419465 at 2015-06-15 19:04:17


Display a green border in passing build notifications.

This is less scary than the red one...

:+1:

Thanks. This pull request has been integrated manually.


SLPAddr address conversion

Pull Request Test Coverage Report for Build 346

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 68.265%

Totals

Change from base Build 341:
0.0%

Covered Lines:
729

Relevant Lines:
1041

💛  - Coveralls

:tada: This PR is included in version 1.0.0 :tada:
Your semantic-release bot :package::rocket:


HR Zones are historicalish

Strangely HR zones are tied to activities and they are FOR-EV-AR.   Updating your account settings with new zones only affects new activities.  You can never change HR zones from the past.  Well this is bad because if you accidentally have incorrect data in there you can't fix it in strava land (I just realized my zones were wrong for some unknown period of time).
We can improve this for Sauce users by importing and then overriding the HR zones based on our own HRZonesHistory data like FTP and weight.
For athletes we sync, we should also find a way to override the hr zones being used in an activity, at least for our own hr based calcs like tTSS.
In short,

Make hrzones historical.
Modify the HR zones processor to check the HR zones of activities on a periodic scale of some sort.  Ie. Check one activity for every week/month to see if the zones have updated.  This is for initial import only as we'll want to make our history data authoritative.

Closing this, as I've made a change that pulls HR Zones from latest activities.  I'm not 100% on it, but we have more pressing issues.


minor: fix error message function naming

Which issue does this PR close?

Closes #.
Rationale for this change
The PR slightly improves error messaging format for some of builtin functions like INSTR, SUBSTR, POSITION to increase readability for the end user.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Going fwd I still think we need to send to user all supported signatures as a unified message instead of having custom message per function


Bumped versions of react, react-native, react-native-svg, react-test-renderer

This seems to solve the random crashes we were getting from svg and such.
Everything seems to work perfectly still

we'll let Arnaud test this. After that PR merged, i'll do another PR to bump ledgerjs with https://github.com/LedgerHQ/ledgerjs/pull/284 that contains important fixes for Bluetooth


Set virtualbox ubuntu version when provisioning via vagrant.

Errors were

chown -R ubuntu:ubuntu, instead of vagrant:vagrant which was causing
an error.
put quorum-examples in the home directory which is /home/ubuntu
instead of /home/vagrant.
fix wrong path to quorum from /home/vagrant to /home/ubuntu.

update README to indicate where the quorum-examples should be.

Hi Libby, I think this change will cause issues. The default user is normally 'vagrant'. You can check what it is on your machine using "vagrant ssh-config". Possibly yours is set to "ubuntu" for some reason?
I tried running your changes on my machine and it fails with "chown: cannot access '/home/ubuntu/quorum': No such file or directory", because all the other packages are under /home/vagrant.

The issue was that I had an older version of ubuntu/xenial64 virtualbox 20170222.0.0,
which has the home dir set to /home/ubuntu. I tested against ubuntu/xenial64 20190325.0.0, and it works as expected:  home dir is set to /home/vagrant and the vagrant user exists.
I explicitly set the box to ubuntu/xenial64 20190325.0.0 in the  Vagrantfile and force pushed to this PR (I can also open a new PR if that is preferred).

Great, that looks better. It works fine for me now.

Can you update it to the latest box version (20190822.0.0) please?

Covered by #199


[DOCFIX] Combine HDFS docs

The original Secure HDFS doc says to copy mapred-site.xml and yarn-site.xml to the alluxio conf folder. Is this actually necessary?
@bf8086

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/638/
Test PASSed.


Use jasmine's toHaveBeenCalled rather than toBeCalled

13:23  jeffmo: what's the reason behind using toBeCalled rather than jasmine's toHaveBeenCalled?
13:24 <•jeffmo> chenglou: good question on toBeCalled/toHaveBeenCalled — I’ve wondered that myself (it’s just layover from jst really). I suspect it was to leave support for using regular jasmine spies if you wanted to

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

We'll converge on toBeCalled and make it work for spies, cc @kentaromiura.

@kentaromiura if you'd like to run a codemod on www that changes toHaveBeenCalled and friends to toBeCalled, feel free to do it :)


new setting for where to open a standalone Interactive Window

Fixes #7095

add interactiveWindowViewColumn setting to configure how a new IW will open

default to the right-hand column which is the typical behavior unless you were focused in an editor in that column already

I'm very open to a better name than secondGroup for the default value

Codecov Report

Merging #11343 (42048d0) into main (01481b2) will decrease coverage by 0%.
The diff coverage is 63%.

@@          Coverage Diff           @@
##            main   #11343   +/-   ##
======================================
- Coverage     63%      63%   -1%
======================================
  Files        476      476
  Lines      33925    33936   +11
  Branches    5496     5499    +3
======================================
- Hits       21556    21522   -34
- Misses     10324    10353   +29
- Partials    2045     2061   +16

Impacted Files
Coverage Δ

src/platform/common/types.ts
100% <ø> (ø)

...rc/interactive-window/interactiveWindowProvider.ts
77% <60%> (-2%)
:arrow_down:

src/platform/common/configSettings.ts
84% <100%> (+<1%)
:arrow_up:

.../notebooks/controllers/controllerDefaultService.ts
65% <0%> (-9%)
:arrow_down:

src/kernels/execution/notebookUpdater.ts
88% <0%> (-8%)
:arrow_down:

...otebooks/controllers/controllerPreferredService.ts
85% <0%> (-6%)
:arrow_down:

src/platform/common/cancellation.ts
59% <0%> (-4%)
:arrow_down:

src/platform/common/process/baseDaemon.node.ts
50% <0%> (-4%)
:arrow_down:

src/kernels/raw/session/rawJupyterSession.node.ts
79% <0%> (-3%)
:arrow_down:

src/kernels/installer/productInstaller.node.ts
78% <0%> (-2%)
:arrow_down:

... and 5 more


Issue running local Haiven with ollama

Looks like the application is looking for api_key even when running in the local mode with ollama.  App seems to be looking for the api key credentials, which should not be the case.
openai.OpenAIError: Missing credentials. Please pass one of api_key, azure_ad_token, azure_ad_token_provider, or the AZURE_OPENAI_API_KEY or AZURE_OPENAI_AD_TOKEN environment variables.
+-----------
My .env is
SOURCE FOR PROMPTS AND KNOWLEDGE
Check the documentation for the expected structure of the folder
TEAM_CONTENT_PATH=../demo-knowledge-pack
Name of the domain to enable (subfolder name in the content path)
DOMAIN_NAME=team_demo
AUTH_SWITCHED_OFF=true
ENABLED MODELS
ENABLED_PROVIDERS=ollama
ENABLED_EMBEDDINGS_MODEL=ollama
ENABLED_VISION_MODEL=llava:7b
OLLAMA_BASE_URL=http://localhost:11434

@birgitta410 - noticed that JSONChat class is instantiating llm_config with azure_llm, instead of using the configured llm_config from the enviornment, which could be the issue?

@karthik-krishnan Just tried running the application with Ollama (llama3) did not see the error. Can you elaborate a bit more, like which tab or screen you were using when you saw this error. Or is it coming up at startup ?

Hey Ashish,
Thanks for reaching out.  I was trying to use the Requirements breakdown function, see screenshot below
@.***
Best regards,
Karthik Krishnan
https://karthiks.in
https://ddd-practitioners.com
From: Ashish Patil @.>
Date: Wednesday, June 26, 2024 at 2:22 AM
To: tw-haiven/haiven @.>
Cc: karthik-krishnan @.>, Mention @.>
Subject: Re: [tw-haiven/haiven] Issue running local Haiven with ollama (Issue #180)
@karthik-krishnanhttps://github.com/karthik-krishnan Just tried running the application with Ollama (llama3) did not see the error. Can you elaborate a bit more, like which tab or screen you were using when you saw this error. Or is it coming up at startup ?
—
Reply to this email directly, view it on GitHubhttps://github.com/tw-haiven/haiven/issues/180#issuecomment-2190857474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAC552UIAIEYWBH2SICFV2TZJJMZZAVCNFSM6AAAAABJ42QW7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQHA2TONBXGQ.
You are receiving this because you were mentioned.Message ID: @.***>


Action deployed with .php extension defaulted to a Node runtime

My manifest file looks like:
# This manifest file reads the following env. variables:
#   KAFKA_BROKERS
#   MESSAGEHUB_USER
#   MESSAGEHUB_PASS
#   KAFKA_TOPIC

package:
  name: messagehub-trigger
  version: 1.0
  license: Apache-2.0
  namespace: _
  dependencies:
    openwhisk-messagehub:
      location: /whisk.system/messaging
      inputs:
        kafka_brokers_sasl: $KAFKA_BROKERS
        user: $MESSAGEHUB_USER
        password: $MESSAGEHUB_PASS
        kafka_admin_url: $KAFKA_ADMIN_URL
  actions:
    process-message:
      location: runtimes/php/actions/process-message.php
  triggers:
    message-received-trigger:
      source: openwhisk-messagehub/messageHubFeed
      inputs:
        isJSONData: true
        topic: $KAFKA_TOPIC
  rules:
      log-message-rule:
        trigger: message-received-trigger
        action: messagehub-trigger/process-message

After running wskdeploy I noticed that my deployed action happened to be the Node runtime, and naturally didn't run correctly.

@lzbj the general issue is described by https://github.com/apache/incubator-openwhisk-wskdeploy/issues/306
Please use the comments in #306 and be sure to add tests that verify PHP runtime (newly added) is also supported as a valid "runtime" value.

fixed


Add automatic release creation

What this PR does / why we need it:
With this change, we will run goreleaser on tag creation to automatically create a release with binaries.  We are also reducing build duplication by remove Dockerfile.goreleaser and the docker image build in goreleaser.  Only Dockerfile will be used and we will no longer be building images and pushing the<PHONE_NUMBER>52 account which relied on a manual build step.  Instead, we will be using cloudbuild and promoting images via the CNCF artifact publishing machinery.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/cc @nnmin-aws @jyotimahapatra

/cc @wongma7

/lgtm


renderer: better lockscreen dead behavior

Adds 2 textures for when locks die that look better than the red screen of death + give useful info if lock dies.
@fufexan please fix nix, I moved assets to ./assets/install/ and all the pngs inside should be install'd
and yes the pngs are made by me and are beautiful

Vaxry what are those drawings xd. Shits gonna be better than the Windows BSoD.
(Add a smiley, I dare ya xd)

you have a problem with them?

I double dare ya to make those SVGs

no


Remove unnecessary break, lower log level for govpp warning

Coverage increased (+0.1%) to 76.477% when pulling 5f8b1f386e16ee9263164f62a4072180c81c0f51 on rastislavszabo:vrf2 into abb46e4efde5484fe7bd5b6a6e6e840ee22e7e7f on contiv:master.


File upload fails when file size is 0

I've been working to resolve an issue where our builds fail if one of the files specified in the Deploy to Bitrise step is 0 bytes.
The error I'm seeing is:
deploy failed, error: failed to upload file artifact, error: non success status code: 501, headers: map[Content-Type:[application/xml] Date:[Tue, 24 Sep 2019 18:43:49 GMT] Server:[AmazonS3] X-Amz-Id-2:[--redacted--] X-Amz-Request-Id:[--redacted--]], body: <?xml version="1.0" encoding="UTF-8"?>
<Error>NotImplemented<Message>A header you provided implies functionality that is not implemented</Message>Transfer-Encoding<RequestId>--redacted--</RequestId><HostId>--redacted--</HostId></Error>

After some research, I believe this is due to the go http library setting transfers to chunked encoding if the file size is 0 because we are explicitly setting the ContentLength header.
It looks like this was introduced in release 1.8.0 when the upload was switched to use the go http library from curl.
I have a diff that I think fixes this up here: https://github.com/bitrise-steplib/steps-deploy-to-bitrise-io/pull/103

Resolved by #103


[Feature Request] Library and poster support

Hello. I love this plug-in. I was thinking it would be awesome to have an option that changes the "Emby Server" in the notification to the library name it was added to if that is possible. Like instead of it saying "Inception has been added to Emby Server", it would say "Inception has been added to UHD Movies".
Also adding a little poster in the notification would look nice in my opinion.

I will take this into consideration when I eventually go and rework the media added notification, thanks!

Closed. See [https://github.com/oonqt/Emby.Notifications.Discord/releases/tag/<IP_ADDRESS>](this release)


Vertabelo XML format 2.4 support

I am experiencing an issue reporting Vertabelo XML format 2.4 is not supported.
Is this version limited to Vertabelo XML format 2.2?
Traceback (most recent call last):
  File "./vertabelo_sqlalchemy.py", line 764, in <module>
    main(sys.argv[1:])
  File "./vertabelo_sqlalchemy.py", line 761, in main
    generate(inputfile,outputfile)
  File "./vertabelo_sqlalchemy.py", line 731, in generate
    g.process();
  File "./vertabelo_sqlalchemy.py", line 709, in process
    raise Exception("Not supported Vertabelo XML format version %s" % (version))
Exception: Not supported Vertabelo XML format version 2.4

any news on this Topic?


Automated cherry pick of #1192: scheduler: network domain scope filter

Cherry pick of #1192 on release/2.10.0.
#1192: scheduler: network domain scope filter

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@51c8030). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #1193   +/-   ##
================================================
  Coverage                  ?   7.95%
================================================
  Files                     ?     365
  Lines                     ?   57188
  Branches                  ?       0
================================================
  Hits                      ?    4552
  Misses                    ?   52238
  Partials                  ?     398

Flag
Coverage Δ

#aFlag
7.95% <ø> (?)

Continue to review full report at Codecov.

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

/lgtm
/approve


Keys Don't Work

storeDomain:
      // @ts-ignore
      Oxygen?.env?.PUBLIC_STORE_DOMAIN || 'hydrogen-preview.myshopify.com',
    storefrontToken:
      // @ts-ignore
      Oxygen?.env?.PUBLIC_STOREFRONT_API_TOKEN ||
      '3b580e70970c4528da70c98e097c2fa0',
    privateStorefrontToken:
      // @ts-ignore
      Oxygen?.env?.PRIVATE_STOREFRONT_API_TOKEN,
    storefrontApiVersion: '2022-07',
    // @ts-ignore
    storefrontId: Oxygen?.env?.PUBLIC_STOREFRONT_ID,

None of the names match up here. I tried every possible combination of keys... still getting 403 every time... is there some extra step needed to make this garbage app connect to my shopify store when running locally?
Thanks

hello?

scaffolded it again and it worked. 🤷♂


Add HostSuffixReplace action in mod_rewrite (#451)

Fixes #451

Codecov Report

Merging #467 into develop will increase coverage by 0.24%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #467      +/-   ##
===========================================
+ Coverage    53.01%   53.26%   +0.24%
===========================================
  Files          257      257
  Lines        23684    23592      -92
===========================================
+ Hits         12556    12566      +10
+ Misses        9642     9540     -102
  Partials      1486     1486

Impacted Files
Coverage Δ

bfe_basic/action/action.go
71.60% <0.00%> (-1.82%)
:arrow_down:

bfe_basic/action/action_host.go
18.75% <0.00%> (-11.25%)
:arrow_down:

bfe_modules/mod_rewrite/action.go
0.00% <ø> (ø)

bfe_util/fixed_pool.go
83.33% <0.00%> (-16.67%)
:arrow_down:

bfe_util/get_l4lb_info.go
0.00% <0.00%> (ø)

bfe_server/bfe_listener.go
0.00% <0.00%> (ø)

bfe_http2/server.go
71.83% <0.00%> (+0.16%)
:arrow_up:

bfe_websocket/server_conn.go
75.00% <0.00%> (+0.75%)
:arrow_up:

bfe_spdy/server_conn.go
78.53% <0.00%> (+0.88%)
:arrow_up:

bfe_config/bfe_conf/conf_basic.go
66.15% <0.00%> (+1.00%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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

@u5surf  请将微信号发送至<EMAIL_ADDRESS>我们会邀请您加入开源BFE开发者微信群方便交流


Clean up todo items for extra_constant renaming.

Description:
This PR is a follow-up PR for cleaning up leftovers renaming todos for macro extra_constnat.
Related: #8826

bot merge


Revamp dates data structure

Provide a clear and concise description of what you want to happen.
The date structure has become very complicated. Now that the app features have stabilized, we should revamp and simplify the date structure for speed, efficiency and clarity.
Here is a non-exhaustive list of areas to explore.

the date data structure is inefficient for comparison
in #1039 we have to re-de-dup dates
the selectedDate object seems to have a startDate and an endDate but we only use one
.../...

Is there anything else you can add about the proposal? You might want to link to related issues here, if you haven't already.
No response

The main idea here would be to investigate a map/dict structure that would make it a lot easier to check data availability for a given date. Eg.
{
	"2023-12-21": {
		"spi_1m": { "queryDate": "2023-12-01" },
		"ndvi" : {"queryDate": "2023-12-21"}
	},
}}

@laurentS @echaidemenos do you have any thoughts on this after playing with dates a bit?

First off, I'd recommend watching this talk from FOSDEM. It's a very similar problem with the firefox profiler, that handles hundreds of thousands of similar objects (indexed per millisecond instead of days), and the speaker goes through iterations of optimisations, taking the basic operation speed from dozens of ms down to <5 nanosecs.
Jumping to the end of it, I think we could store our date logic in something like Int8Array. All in all, our date range is something like 20 years total, so about 7000 days.
I'm thinking we could have such an array with one Int8 per day, and a common index 0 (say 2000-01-01 or whatever makes sense, with different meanings per type of layer:

a 0 or 1 to mark if the date is available for a layer
maybe an offset for things like queryDate, say if the query date is 5 days earlier, we encode it as -5, etc... If offsets need to be more than 127 days (~4 months), then we can use Int16Array.
we can have one or more such arrays for each layer. To find common dates, we do something like all(layer.datesArray[offset]).
for the use case you mention above, we would read something like layers.spi_1m.queryDates[2475]. Obviously we encapsulate this in a set of functions, so that we never access these arrays directly.
those arrays are kept outside the redux tree as they don't really change once initialised.
Lookups in such arrays are basically as fast as it gets, and memory efficiency is high: 20 years of queryDate weigh about 7kB in RAM for a layer (to be compared to the 6-800MB the app addresses in total at the moment, and it grows to 2+GB after a few actions). Short of manipulating arrays of bits, we won't get more efficiency. As a comparison, a single date as a string like 2020-01-02 weighs 20 bytes in memory.

Besides efficiency, to keep the code clean and understandable, I think all this date logic should be abstracted away so that we handle actual dates only at the edges (eg. when displaying or loading from an endpoint...), but then all internal logic is run in days from the start format. We could build a custom PrismDate class with methods to and from all the external formats we interface with (native Date, Int8, strings as displayed...) and basic ops like comparisons and stuff. That way the react code can be rid of all the weird datesAreEqualWithoutTime() type of stuff.


Can't get it to work...

> ls -a
.  ..  loose.js

> cat loose.js
var foo = 'bar';
delete foo;

> yarn add babel-cli babel-plugin-transform-remove-strict-mode
(packages get installed)

> babel --plugins transform-remove-strict-mode loose.js
SyntaxError: loose.js: Deleting local variable in strict mode (2:0)
  1 | var foo = 'bar';
> 2 | delete foo;
    | ^
  3 |

> egrep '^(babel-core|babel-plugin-transform-remove-strict-mode)' yarn.lock
<EMAIL_ADDRESS><EMAIL_ADDRESS>
What am I missing? Isn't it still in strict mode?

Do not work. Maybe it is for an old version of Babel...

不起作用。也许是旧版本的Babel ...

Does not work. Maybe it is for an old version of Babel...
npm install<EMAIL_ADDRESS>

Does not work. Maybe it is for an old version of Babel...

try this..
“npm install<EMAIL_ADDRESS>


Add HTTP/2 interop tests for HttpClient and Kestrel

This completes the test scenarios outlined in https://github.com/aspnet/AspNetCore/issues/4763#issuecomment-507865641. It also updates existing tests to reflect fixes made for previously discovered issues.
Additional issues found:
https://github.com/dotnet/runtime/issues/860
https://github.com/aspnet/AspNetCore/issues/17861
https://github.com/aspnet/AspNetCore/issues/17484

/azp run


Create raw SQL for SQL Server to be able to display recent edits (on master)

This creates corresponding raw SQL for a subselect to maintain SQL Server compatibility.
SQL Server does not support the LIMIT keyword. This should be considered a temporary fix until Django 1.11 subselects are available!

We've found this fix doesn't work after you've created a page and attempt to browse to it:
AttributeError at /admin/ 'pyodbc.Row' object has no attribute 'page' Request Method:	GET Request URL:	http://bth.staging.beta.nhschoices.net/admin/ Django Version:	1.10.6 Exception Type:	AttributeError Exception Value:	 'pyodbc.Row' object has no attribute 'page' Exception Location:	/usr/local/lib/python2.7/dist-packages/wagtail/wagtailadmin/views/home.py in __init__, line 82 Python Executable:	/usr/bin/python Python Version:	2.7.12 Python Path:	 ['/wagtail',  '/usr/lib/python2.7',  '/usr/lib/python2.7/plat-x86_64-linux-gnu',  '/usr/lib/python2.7/lib-tk',  '/usr/lib/python2.7/lib-old',  '/usr/lib/python2.7/lib-dynload',  '/usr/local/lib/python2.7/dist-packages',  '/usr/lib/python2.7/dist-packages'] Server time:	Fri, 17 Mar 2017 16:02:49 +0000
We've got around this by using last_edits = PageRevision.objects.raw( instead of last_edits = cursor.execute(

Merged @BertrandBordage's solution via #3582.


Fix search function and Support chinese and Fix 2FA.

Support Chinese.
Fix the 2FA
Fix the search

Hi @54Pany,
Thanks for your contribution! I can confirm your fixes.


what is the parameter setting when using elastic net using glmnet package

Hi,
Sorry for interrupting you. what is the parameter setting when using elastic net using glmnet package? just
the default setting? For instance, what the lambda value when predicting the gene expression value in the Predxican?
Thanks a lot.
Bests,
Zhongshang

Lambda is chosen to minimize cross validated mean square error. As
implemented in glmnet
Haky
On Wed, Apr 11, 2018 at 9:11 PM yuanzhongshang<EMAIL_ADDRESS>wrote:

Hi,
Sorry for interrupting you. what is the parameter setting when using
elastic net using glmnet package? just
the default setting? For instance, what the lambda value when predicting
the gene expression value in the Predxican?
Thanks a lot.
Bests,
Zhongshang
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hakyimlab/PrediXcan/issues/30, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC2ouQnGIC2Ukgi7LvzK-VFyVMBdYbnJks5tnrfigaJpZM4TRBjq
.


Exception at start

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview1-002702)
Product Information:
Version:     1.0.0-preview1-002702
Commit Sha:  6cde21225e
Runtime Environment:
OS Name:     fedora
OS Version:  24
OS Platform: Linux
RID:         fedora.24-x64
VS Code version:
1.2.1
fe7f407b95b7f78405846188259504b34ef72761
LibUv version:
Имя         : libuv
Архитектура : x86_64
Эпоха       : 1
Версия      : 1.7.5
Релиз       : 2.fc24
C# Extension version:
ms-vscode.csharp-1.1.6
Steps to reproduce
mono ~/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp/OmniSharp.exe
Expected  behavior
no exception
Actual behavior
$ mono OmniSharp.exe
OmniSharp:
info: OmniSharp.Startup[0]
Omnisharp server running on port '2000' at location '/home/ee/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp' on host -1.
info: OmniSharp.DotNet.DotNetProjectSystem[0]
Initializing in /home/ee/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp
info: OmniSharp.DotNet.DotNetProjectSystem[0]
Auto package restore: True
fail: OmniSharp.Startup[0]
The project system 'DotNetProjectSystem' threw exception during initialization.
Failed to initialize Microsoft.DotNet.ProjectModel.WorkspaceContext at /home/ee/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp.
at OmniSharp.DotNet.DotNetProjectSystem.Initalize (IConfiguration configuration) <0x419adb50 + 0x00213> in :0
at OmniSharp.Startup.Configure (IApplicationBuilder app, IServiceProvider serviceProvider, IOmnisharpEnvironment env, ILoggerFactory loggerFactory, ISharedTextWriter writer, IOmnisharpAssemblyLoader loader, IOptions`1 optionsAccessor) <0x418c50b0 + 0x00aba> in :0
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
No solution files found in '/home/ee/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp'
info: OmniSharp.ScriptCs.ScriptCsProjectSystem[0]
Detecting CSX files in '/home/ee/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp'.
info: OmniSharp.ScriptCs.ScriptCsProjectSystem[0]
Could not find any CSX files
info: OmniSharp.Startup[0]
Configuration finished.
Unhandled Exception:
System.AggregateException: One or more errors occurred. ---> System.DllNotFoundException: libuv
at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv+NativeMethods:uv_loop_size ()
at Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv.loop_size () <0x419c6200 + 0x0001c> in :0
at Microsoft.AspNetCore.Server.Kestrel.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv uv) <0x419c5df0 + 0x00037> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelThread.ThreadStart (System.Object parameter) <0x419c58f0 + 0x000c3> in :0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) <0x419c87e0 + 0x0003f> in :0
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) <0x419c55b0 + 0x000cf> in :0
at System.Threading.Tasks.Task.Wait () <0x419c54a0 + 0x0002b> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelEngine.Start (Int32 count) <0x419c3e00 + 0x000b3> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext] (IHttpApplication`1 application) <0x419baa60 + 0x0064f> in :0
---> (Inner Exception #0) System.DllNotFoundException: libuv
at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv+NativeMethods:uv_loop_size ()
at Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv.loop_size () <0x419c6200 + 0x0001c> in :0
at Microsoft.AspNetCore.Server.Kestrel.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv uv) <0x419c5df0 + 0x00037> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelThread.ThreadStart (System.Object parameter) <0x419c58f0 + 0x000c3> in :0 <---
[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. ---> System.DllNotFoundException: libuv
at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv+NativeMethods:uv_loop_size ()
at Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv.loop_size () <0x419c6200 + 0x0001c> in :0
at Microsoft.AspNetCore.Server.Kestrel.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv uv) <0x419c5df0 + 0x00037> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelThread.ThreadStart (System.Object parameter) <0x419c58f0 + 0x000c3> in :0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) <0x419c87e0 + 0x0003f> in :0
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) <0x419c55b0 + 0x000cf> in :0
at System.Threading.Tasks.Task.Wait () <0x419c54a0 + 0x0002b> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelEngine.Start (Int32 count) <0x419c3e00 + 0x000b3> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext] (IHttpApplication`1 application) <0x419baa60 + 0x0064f> in :0
---> (Inner Exception #0) System.DllNotFoundException: libuv
at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv+NativeMethods:uv_loop_size ()
at Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv.loop_size () <0x419c6200 + 0x0001c> in :0
at Microsoft.AspNetCore.Server.Kestrel.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv uv) <0x419c5df0 + 0x00037> in :0
at Microsoft.AspNetCore.Server.Kestrel.KestrelThread.ThreadStart (System.Object parameter) <0x419c58f0 + 0x000c3> in :0 <---

Hi, we've just released a new version (1.2.0) that should work much better with Fedora. Could you try that?
Also, note that ~/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp/OmniSharp is not actually a Mono application -- it's a standalone .NET Core application.

@r105m: Did the latest release of the C# Extension work better for you?

yep, thanks!


How to reload left side menu ?

When I open left side menu every time, I want it's life cycle methods to call every time.
How to achieve it ?
Regards.

Hi, i have added some methods for tell you when the menu is open and close. check https://github.com/hunk/SlideMenu3D#delegate-methods
With these methods you can reload menu controller.
-(void)willOpenMenu{
   UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"Main_iPhone" bundle: nil];
    menuVC = [mainStoryboard instantiateViewControllerWithIdentifier:@"HKMenuView"];
    self.slideMenuVC.menuViewController = menuVC;
}


Disable API Check for package that we have not yet released

Will file a bug for post-2.0.0 release to revert this change and add baseline files.

eba52fc


Too many query rows: 50001 when Recalculating

We're an old org with way too many large Campaigns with thousands of Leads looking up.
I've a simple count child->parent rollup from Lead to Campaign:

When running Recalculate, even with a batch size of 1, I get this result:

I had chatted with @jamessimone via Discord and they said they already recognize the problem. I'll leave it to them to provide additional context here.

Hey David, thanks for submitting this! This is an issue with full recalcs only, due to pulling back too many child records. If I need any further info on this one, I will let you know!

@deckblad promoting a potential fix for this at the moment. I say "potential" because the actual issue is nearly impossible to test for in my own sandbox, with its limited data volume. We may need to do another round of revisions depending on what happens - but I will work with you at every step of the way to ensure this issue is brought to resolution!

Closing this for the moment - please feel free to re-open if this is still an issue, otherwise the fix from #216 worked


[Feature] Add event parameter for triggering account

Feature Description

Add a address for the invoker of each state change, as this will provide form part of an audit log for a later implementation of GraphQL.
Additional Information

@aodhgan

FWIW I think the subgraph Transaction Class does have the from field but no concept of msg.sender so in the case msg.sender != tx.origin or from necessitates including msg.sender from the event

The condition where the address should added are where we expect a contract rather than a EOA to be triggering the call


The timestamp of song is exceed the end timestamp when finished in Amazon Music

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

When the song of Amazon Music is finished, the timestamp of song is exceed the end timestamp as the below picture.

Here is the log for debug9:
amazon_music_debug9.log
What is the expected behavior?

The timestamp is equal as the end time.
What behavior are you observing?

The timestamp is plus one than the end time.
Provide the steps to reproduce the issue, if applicable:

Alexa, play the song Happy on Amazon Music.
(Wait the song finished)

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.22.0> in Device SDK
  <2.5.0> in Smart Screen SDK

Tell us what hardware you're using:

[ ] Desktop / Laptop
[x] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[x] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Have you tried the same use case with AVS Device SDK SampleApp?

[ ] The issue is not applicable to the AVS Device SDK SampleApp.
[x] The issue is not reproducible on the AVS Device SDK SampleApp.

Hi @oscar1372 , Thank you for bringing this to our attention, this issue is occuring because the audio length which is received in the RenderPlayerInfo directive is shorter than the actual content length.
An issue has been raised with the appropriate team and at this stage we do not believe that any SDK code changes would be required to resolve it.

@powj , Could I know is there any update? When I check device SDK v1.23.0 and smart screen SDK v2.6.0 and the issue still has exist.

@oscar1372,
As @powj mentioned, the issue is not caused by the SDK code. It's caused by another team who takes care of music feature. They are aware and working on the issue.
Thanks,
Mike

Closing due to inactivity.


update to fix deprecation warnings about style bound properties

Fix the deprecation errors.
Originally the htmlSafe was called and fixed this problem, but calling toString on the result reintroduced the problem.

Sorry to hear that the deprecations are still there.
With this solution, the demo app doesn't run. See https://github.com/Addepar/ember-table-addon/pull/15. We'd need to fix that before merging.

This works for me:
styleString.toString().htmlSafe()
No deprecations and it keeps working :)

@HenryVonfire if you submit that as a PR I'll merge it in.

@HenryVonfire I guess I misunderstood your comment - does the demo app work for you after applying this PR?
Since we've merged ember-table-addon back into ember-table, I'm going to close this PR. I'll be happy to keep discussing if anyone opens a new PR in ember-table.


bug(docs): Release notes are not up-to-date in published docs

Latest avialable releast-notes.rst file does not look to be up to date in https://hopeitengine.readthedocs.io/en/latest/release-notes.html

Fixed.


Place to add consumer key and consumer secret?

I was wondering where the consumer key and secret would need to be added to? And would the LauncherX.app need to be rebuilt after it has been added?
Unfamiliar with macOS apps, but I'm super appreciative and eager to use this! Thanks in advance!

Hi @thektan 👋
You just need to launch Twitter through LauncherX and set the pair of keys on the Preferences menu (shortcut ⌘,). After that, sign out and sign in again with your user account :)

Hmm, for some reason the preferences menu won't appear when I'm in the login screen. 😢

I'm not very proud of the workaround I implemented but now you should be able to access the preference menu.
LauncherX 0.2.2

Really sorry for constantly coming back to you with issues, but I immensely appreciate the work you've done on this and the quick fixes you've been able to produce!
I have my OAuth app permissions set to Read, write, and direct messages, entered in the pair of keys, and now I'm getting Client is not permitted to perform this action.

Unfortunately developer keys aren't valid but keys from other official applications work. Distributing these keys is not recommended but it's quite easy to find them.
As I mention on the README of the project:

Using custom keys implies uncertain consequences, use TwitterX at your own risk.

Hope this helps :)

Ah got it! Thanks for your help! 👍Closing this now! 🎉


Can't get correct instance type when extending from Error and target es5.

TypeScript Version:  2.4.2
Code
class MyError extends Error {
    constructor(msg: any) {
        super(msg);
    }
}

let err = new MyError('msg');

console.log(err instanceof MyError);

Expected behavior:
true
Actual behavior:
err instanceof MyError  return false, and err is an instance of Error.

This is a breaking change since Typescript 2.1.

Duplicate of #12123.


Changes in index.android.js are not being built automatically after I saved then neither when I restart the App. BUG

Is this a bug report?
Yes

Have you read the Bugs section of the How to Contribute guide?
Yes

Environment

react-native -v: react-native-cli: 2.0.1, react-native: 0.46.4
node -v: v7.10.1
npm -v: 4.2.0
yarn --version:

Then, specify:

Target Platform: Android

Development Operating System: Windows 10

Build tools: Android Studio, I only modified the native code to use the react-native-firebase library and the 'buildToolsVersion' to "21.1.2" and delete and reinstalled 'watchman'. Project was created using 'react-native init [name]'.

Steps to Reproduce

(Write your steps here:)

Open the terminal.
Go to App directory and run: 'react-native run-android'

Expected Behavior

When you run the app you should see only text.
Actual Behavior

(Write what happened. Add screenshots!)
When you run the app you should see a custom component (a login layout). Changes in index.android.js are not being built automatically after I saved then neither when I restart the App. (I am not sure what kind of screenshots I could show on this issue, please let me know if you are looking a for a specific screenshot)
Reproducible Demo

https://www.dropbox.com/s/b0isif6yoq8u816/altoque.zip?dl=0

Instead of uploading entire project just add the important files on dropbox

I don't know what is the bug, I deleted the only thing I was sure wasn't part of it, the components.

I have same issue. I always get "bundling failed: "Cannot find entry file index.android.js in any of the roots:"projectname"". And I really don't have index.android.js in my project directory. I don't know what the issue is. And it's really frustrating. I have the same version as OP.

After looking at this, I don't think there's a minimal enough repro for this issue. Due to lack of activity here, it does not seem like it is something affecting other users.


Add support for parameteric custom gates

Is your feature request related to a use case or problem? Please describe.
As of now it is not possible to create custom gates as described here that can be
parametrized with a sympy.Symbol as described for example for QAOA.
To me this feature would be really useful for any application of VQE, since most of the time I don't think in terms of
parameterizing Rz or Rx gates, but in terms of paremeterizing bigger blocks / layers.
Describe the solution you'd like
Here is the code that would like to work:
from cirq import *
import sympy as smp

class MyGate(TwoQubitGate):
    def __init__(self, theta):
        super(MyGate, self)
        self.theta = theta

    def _decompose_(self, qubits):
        q0, q1 = qubits
        yield Z(q0)**(self.theta)
        yield Z(q1)**(self.theta)
        yield CNOT(q0, q1)
        yield Z(q1)**(self.theta)
        yield CNOT(q0, q1)

    # This works even less because numpy can't handle Sympy symbols
    # def _unitary_(self):
    #    return np.array([[np.exp(-1j*self.theta), 0, 0, 0],
    #                     [0, np.exp(1j*self.theta) * np.cos(2*self.theta), -1j*np.exp(1j*self.theta)*np.sin(2*self.theta), 0],
    #                     [0, -1j*np.exp(1j*self.theta) * np.sin(2*self.theta), np.exp(1j*self.theta)*np.cos(2*self.theta), 0],
    #                     [0, 0, 0, np.exp(-1j*self.theta)]])

    def _circuit_diagram_info_(self, args):
        return f"My({self.theta})", "My"

if __name__ == "__main__":
    q0, q1 = LineQubit(0), LineQubit(1)
    sim = Simulator()
    circuit = Circuit()
    a = smp.Symbol("a")
    circuit.append(MyGate(a)(q0, q1))

    # Functionally equivalent circuit that actually runs
    #circuit.append(Z(q0)**(a))
    #circuit.append(Z(q1)**(a))
    #circuit.append(CNOT(q0, q1))
    #circuit.append(Z(q1)**(a))
    #circuit.append(CNOT(q0, q1))

    param_resolver = ParamResolver({"a": 1.0})
    wf = sim.simulate(circuit, param_resolver=param_resolver).final_state_vector
    print(wf)

which prints
Traceback (most recent call last):
  File "/home/janlukas/klo/cirq-parametric-gate.py", line 42, in <module>
    wf = sim.simulate(circuit, param_resolver=param_resolver).final_state_vector
  File "/usr/lib/python3.9/site-packages/cirq/sim/simulator.py", line 213, in simulate
    return self.simulate_sweep(
  File "/usr/lib/python3.9/site-packages/cirq/sim/simulator.py", line 297, in simulate_sweep
    for step_result in all_step_results:
  File "/usr/lib/python3.9/site-packages/cirq/sim/sparse_simulator.py", line 247, in _base_iterator
    protocols.act_on(op, sim_state)
  File "/usr/lib/python3.9/site-packages/cirq/protocols/act_on_protocol.py", line 108, in act_on
    result = arg_fallback(action, allow_decompose=allow_decompose)
  File "/usr/lib/python3.9/site-packages/cirq/sim/act_on_state_vector_args.py", line 159, in _act_on_fallback_
    result = strat(action, self)
  File "/usr/lib/python3.9/site-packages/cirq/sim/act_on_state_vector_args.py", line 195, in _strat_act_on_state_vector_from_apply_decompose
    return _act_all_on_state_vector(operations, qubits, args)
  File "/usr/lib/python3.9/site-packages/cirq/sim/act_on_state_vector_args.py", line 208, in _act_all_on_state_vector
    protocols.act_on(action, args)
  File "/usr/lib/python3.9/site-packages/cirq/protocols/act_on_protocol.py", line 116, in act_on
    raise TypeError("Failed to act action on state argument.\n"
TypeError: Failed to act action on state argument.
Tried both action._act_on_ and args._act_on_fallback_.

State argument type: <class 'cirq.sim.act_on_state_vector_args.ActOnStateVectorArgs'>
Action type: <class 'cirq.ops.gate_operation.GateOperation'>
Action repr: (cirq.Z**sympy.Symbol('a')).on(cirq.LineQubit(0))

instead of the final wavefunction.
[optional] Describe alternatives/workarounds you've considered
My current workaround is adding the whole decomposition of my layers manually, like so:
def add_mygate(circuit, q0, q1, theta):
    #circuit.append(Z(q0)**(theta))
    #circuit.append(Z(q1)**(theta))
    #circuit.append(CNOT(q0, q1))
    #circuit.append(Z(q1)**(theta))
    #circuit.append(CNOT(q0, q1))
...

# build the circuit
add_mygate(circuit, q0, q1, theta) # instead of circuit.append(MyGate(theta)(q0, q1))
# and more circuit building

This works as expected, but has the drawback that printing the circuit gets much more cluttered and it feels less elegant.
What is the urgency from your perspective for this issue? Is it blocking important work?

P1 - I need this no later than the next release (end of quarter)

Thank you for opening the issue and explaining your use case!
For parameters to work, you have to add resolve_parameters protocol to the gate:
class MyGate(TwoQubitGate):
    def __init__(self, theta):
        super(MyGate, self)
        self.theta = theta

    def _decompose_(self, qubits):
        q0, q1 = qubits
        yield Z(q0) ** (self.theta)
        yield Z(q1) ** (self.theta)
        yield CNOT(q0, q1)
        yield Z(q1) ** (self.theta)
        yield CNOT(q0, q1)

    def _resolve_parameters_(self, param_resolver: 'cirq.ParamResolver', recursive: bool):
        return MyGate(cirq.resolve_parameters(self.theta, param_resolver, recursive=recursive))

    def _circuit_diagram_info_(self, args):
        return f"My({self.theta})", "My"

Should do the trick.
=============
If you are willing to try it, we are introducing a new concept to handle subcircuits: CircuitOperation - this will have a more structure and will allow for nesting circuits and looping (via the repetitions parameter).
def my_op(theta):
    q0, q1 = cirq.LineQubit.range(2)
    return CircuitOperation(FrozenCircuit([
        Z(q0) ** (theta),
        Z(q1) ** (theta),
        CNOT(q0, q1),
        Z(q1) ** (theta),
        CNOT(q0, q1),
        ]))

if __name__ == "__main__":
    q0, q1 = LineQubit(0), LineQubit(1)
    sim = Simulator()
    circuit = Circuit()
    a = smp.Symbol("a")
    circuit.append(my_op(a).with_qubits(q0, q1))

    param_resolver = ParamResolver({"a": 1.0})
    print(circuit)
    circuit = cirq.resolve_parameters(circuit, param_resolver, recursive=False)
    wf = sim.simulate(circuit).final_state_vector
    print(wf)

which prints:
      Circuit_0x40258af8fe372b4c:
0: ───[ 0: ───Z^a───@─────────@─── ]───
      [             │         │    ]
      [ 1: ───Z^a───X───Z^a───X─── ]
      │
1: ───#2───────────────────────────────
[1.+0.j 0.-0.j 0.-0.j 0.-0.j]

Thank you for the hint to the parameter_resolve protocol. Since my desired functionality is indeed there and I just didn't find it, it seems to be more a documentation Issue.
If you want, I can add a paragraph to the "With parameters" section in docs/custom_gates.ipynb and open a PR about it.

Thank you for the hint to the parameter_resolve protocol. Since my desired functionality is indeed there and I just didn't find it, it seems to be more a documentation Issue.
If you want, I can add a paragraph to the "With parameters" section in docs/custom_gates.ipynb and open a PR about it.


[Bug]: localeIdentifier not working in iOS

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation and verified I have added the required platform specific configuration.

Please select affected platform(s)

[ ] Android
[X] iOS

Steps to reproduce
I believe this used to work recently.
final List<Placemark> placemarks = await placemarkFromCoordinates(
                52.36477, 4.88124,
                localeIdentifier: "en_US");

Expected results
{
      // ...
      "country": "Netherlands",
}

Actual results
{
      // ...
      "country": "Nederland",
}

Code sample
Code sample
final List<Placemark> placemarks = await placemarkFromCoordinates(
                52.36477, 4.88124,
                localeIdentifier: "en_US");

Screenshots or video
No response
Version
2.2.0
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.1, on macOS 14.3.1 23D60 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.4)
[✓] VS Code (version 1.86.2)
[✓] Connected device (5 available)
[✓] Network resources

• No issues found!

I face the same issue in both android and iOS I provide the locale (ar) and it give me back the result in English

@TimHoogstrate @mvanbeusekom this was introduced in this PR: https://github.com/Baseflow/flutter-geocoding/pull/205
Version 2.2.0 breaks the localIdentifier feature. See geocoding.dart: https://github.com/Baseflow/flutter-geocoding/pull/205/files#diff-2b11c3984a637300869b693b92f909a812bfb0d028ead4d7959f2f90b4348bcb


Proposal: default argument values

Similar to PHP and C++:
fn exit(int exit_code = 0): void {
     // exit stuff here
}
// can be called like this:
exit(); // exits on code 0
// or like this:
exit(5); // exits on code 5

I think this is already implemented for the parser, and lexer.


Support stack-less error in error signal handler

Empty stack in onError signal handler throws SyntaxError.
This can occur for errors validating content of a Web page
for which a JavaScript stack is irrelevant.
fixes #14314

Duplicate? Please see #14110

@Vitallium indeed, I must have missed it.


how can i change camera resolution for image tracking

Hi
i works on your project more than one year
but i cant find a way to change threshold of detection
or a way to change resolution of  video who feed into the detector class
can you help me |?

We are just calling the default getUserMedia. If you want, you can modify this line and recompile the library.
https://github.com/hiukim/mind-ar-js/blob/fb5db87b1e5076ba86fde82101955da70b629a1c/src/image-target/three.js#L109

thank you ( i was amazed for your fast and directly true answer )
according tho this reference
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
i changed  this
const constraints = {         audio: false,         video: {}       };
to
getUserMedia({   audio: true,   video: { width: 1280, height: 720 }, });
Thanx for writing this awesome project

I had the same issue for a long time. I finally compiled my own version, but I added idealVideoWidth and idealVideoHeight as optional parameters.
For example:
    <a-scene
      id="ar-scene"
      xr-mode-ui="enabled: false"
      mindar-image="imageTargetSrc: ...; showStats: false; idealVideoWidth:1280"
      color-space="sRGB"
      renderer="colorManagement: true, physicallyCorrectLights"
      device-orientation-permission-ui="enabled: false"
    >

My commit if anyone cares:
https://github.com/notbadjon/mind-ar-js/commit/022727b1fd7ba49c656d8b6e0dee38b6ea3d2ba6


Error: deb packages require an operating system and version to be selected.

I'm gettting the following error:
/usr/local/bundle/gems/json_pure-1.8.1/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
/usr/local/bundle/gems/package_cloud-0.3.08/lib/package_cloud/validator.rb:61:in `get_valid': undefined method `chomp' for nil:NilClass (NoMethodError)
	from /usr/local/bundle/gems/package_cloud-0.3.08/lib/package_cloud/validator.rb:46:in `select_from'
	from /usr/local/bundle/gems/package_cloud-0.3.08/lib/package_cloud/validator.rb:78:in `select_dist'
	from /usr/local/bundle/gems/package_cloud-0.3.08/lib/package_cloud/validator.rb:33:in `distribution_id'
	from /usr/local/bundle/gems/package_cloud-0.3.08/lib/package_cloud/cli/entry.rb:158:in `block in push'
	from /usr/local/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
	from /usr/local/bundle/gems/package_cloud-0.3.08/lib/package_cloud/cli/entry.rb:109:in `push'
	from /usr/local/bundle/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
	from /usr/local/bundle/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/local/bundle/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
	from /usr/local/bundle/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
	from /usr/local/bundle/gems/package_cloud-0.3.08/bin/package_cloud:4:in `<top (required)>'
	from /usr/local/bundle/bin/package_cloud:23:in `load'
	from /usr/local/bundle/bin/package_cloud:23:in `<main>'
Using https://packagecloud.io with token:******c54f
deb packages require an operating system and version to be selected.

If you don't see your OS or version here, send us an email at<EMAIL_ADDRESS>
	0. Ubuntu
	1. Debian
	2. LinuxMint
	3. Raspbian
	4. elementary OS

 0-4:

when using this config:
      - name: Package Cloud Deploy
        uses: docker://lpenz/ghaction-packagecloud:v0.2
        with:
          repository: ombi-app/Ombi
          directory: ./repo/public
        env:
          PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}

You can see this here: https://github.com/Ombi-app/Ombi.Apt/runs/3858349194?check_suite_focus=true

Thanks. Yes I’ve tried manually and I’m getting errors about the file being built in a newer Java version that I can’t seem to resolve. But that’s a different issue

Any response from them?

Yes. They have to add each distro-version by hand, which is what they did for raspbian-bullseye.
In your particular case, ombi-app/Ombi should be changed to something like ombi-app/debian/bullseye or such other combination of <name>/<distro>/<version>, where distro and version exist within packagecloud.

Would that be where we've got the 'directory' line? So instead of repo/public we should have repo/debian?

No, it's what you've got in the repositoryline

Closing this as it's an upstream limitation that has been clarified.


.overwrite_output() not working on Windows

I find that the .overwrite_output() option works on MacOS but has no effect on Windows.  Has anyone else seen this?
The following code does audio extraction and decimation from a video file:
try:
(ffmpeg
.input('PrincessBride.avi')
.output('PrincessBride.wav', ab='8k', acodec='pcm_u8', ac=1, ar='2756')
.overwrite_output()
.run(cmd='ffmpeg', capture_stdout=False, capture_stderr=False)
)
except ffmpeg.Error as e:
...
I find that I get prompted about overwriting the file on Windows, which is why I cannot capture stderr, but the same code works as I expect on MacOS.

I'm new to this, but I use overwrite_output this way:
.run(overwrite_output=True)

Thanks @teebu, I was having an issue on my Mac using overwrite_output() whereby it would seemingly get stuck but using your suggested overwrite_output=True in the run function works!


#573 - hub-env setters.yaml missing org-id

see testing in #573
as part of #446

Further along with the hub-env - also due to Chris finding management-project-id
there is a 3rd missing
management-namespace: config-control
that needs to stay config control for now until we modify kpt-merge variables across the package
doing all this in a 2nd/3rd pr
can we get this one merged

next ones
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/599
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/608
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/607


Support Dynamic parameters

Any way to support Dynamic parameters similar to what TestParameterInjector does?
https://github.com/google/TestParameterInjector?tab=readme-ov-file#advanced-usage

No. Not without const fun support by the Kotlin language first.

I think we’re blocked until kotlin.test supports dynamic tests. And at that point, that might be sufficient on its own.


add retries for flaky test

close #346

@seveibar i think using retries can increased overall test suite time: If tests are retried frequently.

Also You can see it is retrying one more time even after tests are pass.


Add str version of one_of

Adds a string slice version of one_of called one_of_s. Slight difference to one_of, in that it returns a char rather than a &str (one_of returns a &[u8] with a single element).
Handles multibyte chars, as seen in doc_test.

Coverage remained the same at 81.049% when pulling 9136a9e8987c715da6dfe5754ec6ee26e93d6d84 on derekdreery:one_of_s into da873207a75306069b17c144c9fa68d20d586935 on Geal:master.

Hi!
thank you for working on this. Could you instead convert the current one_of to be independent from the input type like other parsers?

I'll have a look.

There are some issues around str, as index operations (e.g. my_str[2..]) work on the underlying bytes, and panic if the position doesn't correspond to a char boundary. That's why the patch uses the chars iterator to get at the first character. Do you know if it is possible to to work around this, in order to make the macro generic?

You can use the traits implemented on input types: https://github.com/Geal/nom/blob/master/src/traits.rs#L141
see for example the implementation of is_not!: https://github.com/Geal/nom/blob/master/src/bytes.rs#L92-L116
the position method will give you the byte offset of a char for &str.

I'll add this to the other PR.


Provide 'readonly' mode for the pluggable replication component

Hi Steven,
Long story short, we have a requirement for restrictions the access to some endpoint/views based on the current user role. In the context of a project we have “Registry Replication” tab where you are plugged in. The idea is to hide the button for creating the new replication rule and all the actions inside the tables of content. Providing a property “read-only” for the harbor components will be enough for this. J
Regards,
Antonio!

Fixed, close it.


Namespace moved + Fixed unit tests

Moved files into src subdirectory in order to autoload source only (future PR)
Fixed SimpleMapper and AnnotationParser unit tests

Err, something wrong with my PR.

Git MV epic fail. Let's try again dude ;)


remove setcap from docker file

This was needed when the helm chart was using port 80 by default, if you were running as a non-root user.
Now that 12345 is a more universal default, I don't think this is needed. But it is harmful because you can't drop all capabilities anymore since the binary requires net_bind_service.
If you are running as root, this should not affect you. The only people that might notice this are people running as non-root, binding to port 80. I do not have a solution for that.

@captncraig Is this a dupe of #726?

Lol, yes. Will close this.


How to turn of Algolia Analytics for autocomplete

Hi,
In Algolia I can turn off analytics for individual calls.
How can I do this for the automplete.js to prevent wrong data?
Thank you in advance.

autocomplete('#search-input', { hint: false }, [
    {
      source: autocomplete.sources.hits(index, { hitsPerPage: 5, analytics: false }),
      displayKey: 'my_attribute',
      templates: {
        suggestion: function(suggestion) {
          return suggestion._highlightResult.my_attribute.value;
        }
      }
    }
  ])

Is that what you were looking for?

Yes! Thank you.


Editing Repositories via API ignores default_merge_style

Gitea Version
1.16.1
Git Version
No response
Operating System
No response
How are you running Gitea?
Using the Linux x64 binaries from the releases page.
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
When editing repos via the API, the value of default_merge_style is ignored.
Querying the API with curl/jq before the change:
$ export GITEA_ACCESS_TOKEN=[...]
$ curl -s -H "Authorization: token $GITEA_ACCESS_TOKEN" https://try.gitea.io/api/v1/repos/7CLfteiIYWtD/test | jq .default_merge_style
"merge"

Trying to change the setting via the API:
$ curl -s -H "Authorization: token $GITEA_ACCESS_TOKEN" -X PATCH -H 'Content-Type: application/json' -d '{"default_merge_style": "rebase"}' https://try.gitea.io/api/v1/repos/7CLfteiIYWtD/test | jq .default_merge_style
"merge"

This should have returned "rebase".
After changing the default merge style through the UI:
$ curl -s -H "Authorization: token $GITEA_ACCESS_TOKEN" https://try.gitea.io/api/v1/repos/7CLfteiIYWtD/test | jq .default_merge_style
"rebase"

Screenshots
No response

I'm pretty sure has the same cause as described in https://github.com/go-gitea/gitea/issues/19069#issuecomment-1075517026

Parent issue #13622


chore(main): release 1.11.0

:robot: I have created a release beep boop
1.11.0 (2023-09-20)
Features

update view ui (#72) (0bec912)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.11.0 :sunflower:


remove unneeded indent

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>Some indents will cause erorr,  we should remove them.
Some places are similar with #936

updated based on comments, PTAL

LGTM, nice touch ups.

house keeping: if someone else wants to pick up these commits and rebase, feel free to. It's been 1.5yrs needing only a rebase.

Rebased/merged in #1031 :+1:
Thanks!


ghcWithPackages: add withLLVM

Following https://github.com/NixOS/nixpkgs/issues/6707 . cc @peti

I'm worried about the fact that the appropriate LLVM version for each ghc is hidden somewhere inside the argument list of the ghc expression. We normally have that kind of version-specific know-how in pkgs/development/haskell-modules/configuration-ghc-x.yz.nix. It's confusing, IMHO, that LLVM stuff lives in an entirely different place.

Good point! How about this version, then? It also cleans up several overrides  Note that this sets particular LLVM version corresponding to compiler for all package set, but I think that it's the right thing to do.

Test builds are now running at http://hydra.cryp.to/jobset/nixpkgs/haskell-updates starting with evaluation 292319. I've merged your changes from 3e6f271 into my local repository for those builds. I've also added 4028898, f56acc0, and 3d94719 to activate the changes you've made.

Nice, thanks! I haven't known that no with is your policy -- if you want, I can make a patch which reverts things to "before with" state.

Merged to master.


Change domain data CLI parameter for consistency

What changed?
Change domain data CLI parameter for consistency

Why?
A followup to https://github.com/uber/cadence/pull/4226
This is to unify all map paramter in CLI for consistency. This will be much easier for users using CLI.

How did you test it?
local tested
qlong@~/cadence:
(qlong-cli-map-consistence)$./cadence --do test-do-data d re --domain_data k1=v1,k2=v2
Domain test-do-data successfully registered.
qlong@~/cadence:
(qlong-cli-map-consistence)$./cadence --do test-do-data d desc
Name: test-do-data
UUID: 8ec4f4e8-cd7b-4aa0-8064-9575f06f64d0
Description:
OwnerEmail:
DomainData: map[k1:v1 k2:v2]
...

(qlong-cli-map-consistence)$./cadence --do test-do-data d up --domain_data k1=v11,k2=v22
Domain test-do-data successfully updated.
qlong@~/cadence:
(qlong-cli-map-consistence)$./cadence --do test-do-data d desc
Name: test-do-data
UUID: 8ec4f4e8-cd7b-4aa0-8064-9575f06f64d0
Description:
OwnerEmail:
DomainData: map[k1:v11 k2:v22]
...

Potential risks
N/A

Release notes
Updated

Documentation Changes

Pull Request Test Coverage Report for Build 08b64f95-1d65-4a2e-9ddb-715f33c28296

4 of 7 (57.14%)  changed or added relevant lines in 1 file are covered.
112 unchanged lines in 9 files lost coverage.
Overall coverage decreased (-0.05%) to 60.228%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tools/cli/domainCommands.go
4
7
57.14%

Files with Coverage Reduction
New Missed Lines
%

host/signalworkflowTest.go
1
95.53%

service/history/execution/mutable_state_task_refresher.go
1
75.23%

common/task/weightedRoundRobinTaskScheduler.go
2
89.12%

service/history/queue/timer_queue_processor.go
2
58.77%

service/matching/matcher.go
2
91.46%

service/history/queue/timer_queue_processor_base.go
4
78.83%

common/task/fifoTaskScheduler.go
5
84.54%

common/persistence/cassandra/cassandraPersistence.go
6
56.68%

common/persistence/cassandra/cassandraPersistenceUtil.go
89
87.05%

Totals

Change from base Build 34dc7e72-9834-4b69-aed0-f746ca970709:
-0.05%

Covered Lines:
88501

Relevant Lines:
146944

💛  - Coveralls


how to use your doc to learn

Hello,
I am currently learning the fp-ts, and I find your repository.
But after reading your readme, I am a little lost, I can not know where to start and I downloaded the project but I do not know what to do with it. Do you have advice for me ??
Thank you in advance

Docs only contain the API reference and some examples, so in order to use this library you are supposed to have a basic understanding of functional programming patterns and a basic knowledge of the most common data types and type classes.
A couple of introductory resources on functional programming

Fantas, Eel, and Specification (JavaScript) http://www.tomharding.me/2017/03/03/fantas-eel-and-specification/
Mostly adequate guide to FP (JavaScript) https://github.com/MostlyAdequate/mostly-adequate-guide
FP list combinators demo with fp-ts (TypeScript) https://twitter.com/OliverJAsh/status/1035559910170402816
Jargon from the functional programming world in simple terms https://github.com/hemanth/functional-programming-jargon

I also wrote a free book, an introduction to functional programming, unfortunately is in italian (*) https://github.com/gcanti/functional-programming
(*) by the way if someone is willing to help me with the english translation, please let me know, I don't have the bandwidth to start a translation (and besides, my english is pretty ugly...)

Thank you for your answer . I will visit the url s you proposed. thank you


Could not load type 'Microsoft.AspNetCore.Authentication.Internal.RequestPathBaseCookieBuilder' from assembly 'Microsoft.AspNetCore.Authentication, Version=<IP_ADDRESS>

Created a ASP .Net core 3 project with web app MVC Template. I am using Okta for authentication.
public void ConfigureServices(IServiceCollection services)
{
services.Configure(options =>
{
// This lambda determines whether user consent for non-essential cookies is needed for a given request.
options.CheckConsentNeeded = context => true;
options.MinimumSameSitePolicy = SameSiteMode.None;
});
        services.AddAuthentication(options =>
        {
            options.DefaultAuthenticateScheme = CookieAuthenticationDefaults.AuthenticationScheme;
            options.DefaultSignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
            options.DefaultChallengeScheme = OktaDefaults.MvcAuthenticationScheme;
        })
        .AddCookie()
        .AddOktaMvc(new OktaMvcOptions
        {
            // Replace these values with your Okta configuration
            OktaDomain = Configuration.GetValue<string>("Okta:OktaDomain"),
            ClientId = Configuration.GetValue<string>("Okta:ClientId"),
            ClientSecret = Configuration.GetValue<string>("Okta:ClientSecret"),
            Scope = new List<string> { "openid", "profile", "email" },
        });

        services.AddControllersWithViews();
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }
        else
        {
            app.UseExceptionHandler("/Home/Error");
            // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
            app.UseHsts();
        }
        app.UseHttpsRedirection();
        app.UseStaticFiles();
        app.UseCookiePolicy();
        app.UseAuthentication();
        app.UseRouting();

        app.UseAuthorization();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllerRoute(
                name: "default",
                pattern: "{controller=Home}/{action=Index}/{id?}");
        });
    }

This generally occurs when you haven't updated all your dependencies to 3.0.
Please post your project.json dependencies section

Dupe of https://github.com/aspnet/AspNetCore/issues/14476

Hi Barry,
[image: image.png]
Please see that all my packages are updated to 3 and i still face the same
issue. Let me know if you need something else from my side.
On Wed, Oct 9, 2019 at 4:22 PM Barry Dorrans<EMAIL_ADDRESS>wrote:

This generally occurs when you haven't updated all your dependencies to
3.0.
Please post your project.json dependencies section
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore/issues/14861?email_source=notifications&email_token=AFO2WD24ZSM65L7FEAH7MWDQNY4ORA5CNFSM4I7EAAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZGVVI#issuecomment-540175061,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFO2WD5IJJBFQKJWJOGUDJ3QNY4ORANCNFSM4I7EAAUA
.

The namespace for RequestPathBaseCookieBuilder changed from Microsoft.AspNetCore.Authentication.Internal to Microsoft.AspNetCore.Authentication. One of your dependencies was not recompiled against 3.0, probably AddOktaMvc?

@GiridharanNair images don't come through emails I'm afraid.
Could you just use cut and pasted text?

There is no OktaMVC Nuget package. And that means i have no way to use Okta
on .Net Core 3 MVC??
On Wed, Oct 9, 2019, 5:34 PM Chris Ross<EMAIL_ADDRESS>wrote:

The namespace for RequestPathBaseCookieBuilder changed from
Microsoft.AspNetCore.Authentication.Internal to
Microsoft.AspNetCore.Authentication. One of your dependencies was not
recompiled against 3.0, probably AddOktaMvc?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore/issues/14861?email_source=notifications&email_token=AFO2WD3DCA3OY6CGLMZXRLDQNZE6DA5CNFSM4I7EAAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZPITQ#issuecomment-540210254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFO2WD3GJFN6WVH3UN7LLA3QNZE6DANCNFSM4I7EAAUA
.

https://www.nuget.org/packages/Okta.AspNetCore/ needs to be recompiled against .net core 3.0

@davidfowl  Thanks for replying. But unfortunately recompiling didnt help. I am still facing the same error.
I guess the namespace of packages was change and that is causing this issue in 3.0. The same works in 2.2 .Net Core SDK

Hi David,
This is the latest version available version of  AspNetCore from Okta.
On Thu, Oct 10, 2019 at 11:24 AM David Fowler<EMAIL_ADDRESS>wrote:

Sorry I wasn’t clear, there needs to be a new version of Okta.AspNetCore
that is compiled against AspNetCore 3.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore/issues/14861?email_source=notifications&email_token=AFO2WDZKY5I4O4UMXJJAA6TQN5CJNA5CNFSM4I7EAAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4XQQA#issuecomment-540637248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFO2WD6MI4XR2WPMNFU22G3QN5CJNANCNFSM4I7EAAUA
.

@GiridharanNair but it still targets AspNetCore 2.2. You're blocked until they release one that targets AspNetCore 3.0.

@Tratcher Yeah Thats what i figured. Thanks for confirming!

I caught up with @Quorralyne, and she suggested that Okta is planning on having something out within a month or so.

We're closing this issue as the behaviour discussed seems to be by design.


Merge pull request #1 from Microsoft/master

update12.21

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@prince156 It looks like you were trying to merge the latest version of Microsoft/ChakraCore:master to your own master branch, but instead created a PR against our repo. I'm going to close this PR. Feel free to follow up if you think this action was incorrect.


Documentation: improve and extend docs

Fix consistency issues
Add some missing commands

Small nitpicks, otherwise LFAD.

Updated. Use a root shell for all rkt commands.


Feat: Edit on GitHub Section added on docs

Fixes Issue
Closes #7776
Changes proposed
As proposed by Pradumnasaraf, a section on docs route has been added that contains direct links to the GitHub's UI for users who are willing to correct typo, if any.
Moreover, two more links have been attached:

View page on GitHub for providing the source code for that page, in particular.
Create an issue to receive any feedback or to get any feature request.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

@akkshitgupta did you mean to close your PR?

By mistake, I pushed others' commits as well and didn't knew how to revert that so out of panic I closed the PR before correcting the mess as I am new to open source and didn't knew how to correct that.
Now I can't reopen it since I pushed forcefully in my private branch. It was my first big PR and I messed it all 😔

Oh no, don't worry it happens. If easier create a new PR

Thank you @eddiejaoude sir. I will remember this for future.
I've created a new PR for the same. you can check this #8178