Request: Coinbase integration

Coinbase has just announced support of ETC. Hopefully you can integrate it?

Hi Paul! Can you please elaborate a little bit more how do you see such integration?

Well hopefully it'd be just like the Eth wallet. You click and enter
details, maybe account is required, and you can buy Etc from coinbase and
it comes to your Emerald wallet a few minutes later.
On Tue, Nov 27, 2018, 11:19 AM Igor Artamonov<EMAIL_ADDRESS>wrote:

Hi Paul! Can you please elaborate a little bit more how do you see such
integration?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ETCDEVTeam/emerald-wallet/issues/852#issuecomment-442142959,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGbWBkyEyOBGuI_XBmASKIJn1rF5cHUpks5uzXQkgaJpZM4Y19pI
.

I don't think coinbase wallets allow you to access private keys, meaning you don't really own the crypto you store in coinbase.
If they allowed exporting accounts, then we could work this out. AFAIK, they do not.

Does Coinbase provide any API for acquisition?


Error codes for BsonP3

@alainjobart
Large clean-up of BsonP3, it now matches grpc almost exactly. As discussed, went the route of doing error codes serialized in the error string, so that we can keep our proto3 clean and take out the error  where it's not needed.
I'm doing a simple JSON serialization for the error string.

@enisoc I didn't realize that PHP was using BsonP3. What's the impact of changing the error reporting in this way?

I agree, go with the non-2 versions. That's the stable API names we want for release. Deprecate everything else. In google3, once we switch to the 2 or 3 versions, change the original versions to call the 2 or 3, and change the client to use that and remove the 2 or 3.

LGTM overall though, once versioning stuff is figured out. :)

The PHP client has no tests yet for error handling, so I don't think the error changes should break it. I think all you should need to do is fix the method names since you removed the "2".


Custom Scrap isnt spawning

Even when everything is updated, the Module's were made using 1.2.0 SDK, nothing loads in.
Not even the preset template. This was an issue introduced back in 1.2.5 of Expansion and was labeled "Fixed" under the assumption it was retrocompatibility. But even the built in stuff like the beans, tape, etc doesnt spawn.

Even when everything is updated, the Module's were made using 1.2.0 SDK, nothing loads in. Not even the preset template. This was an issue introduced back in 1.2.5 of Expansion and was labeled "Fixed" under the assumption it was retrocompatibility. But even the built in stuff like the beans, tape, etc doesnt spawn.

I need logs, i can't help you otherwise

The last update actually seemed to have fixed it! thank you so much!
Tho I do wanna ask, What's this setting for?

The last update actually seemed to have fixed it! thank you so much!
Tho I do wanna ask, What's this setting for?

It's to set what other modules are required for your to work
If the required are not loaded, your module will be skipped to avoid crashes

Ah I see! Thank you for explaining it!


General organization of file structure and code.

Restructured most of the code.

Restructured a ton of code


Replacing ShardedTensor with DTensor for RW sharding

Summary:
This is the first part of migration TorchRec state dict checkpointing from ShardedTensor to DTensor. It sets up the necessary infra to support additional sharding schemes. The general approach is to keep ShardedTensor paths and remove them once all sharding types are supported on DTensor. This includes ShardingPlan and ShardedTensor dataclasses such as ShardedTensorMetadata.
NOTE: This version of LocalShardsWrapper does not support empty shards, that is added in the next diff enabling CW. D57063512
This diff includes:

LocalShardsWrapper torch.tensor subclass to be used with DTensor
Changes in TorchRec state_dict load and creation to use DTensor for Row Wise path in both EmbeddingCollection and EmbeddingBagCollection
Changes to DCP to support LocalShardsWrapper for saving and reading (WriteItems and ReadItems)
Added DTensor paths to callsites where ShardedTensors are expected.

LocalShardsWrapper supports the following torch ops:

torch.ops._c10d_functional.all_gather_into_tensor.default
aten._to_copy.default
aten.view.default
aten.equal.default

With extensibility to add more as required by use cases.
See https://docs.google.com/document/d/16Ptl50mGFJW2cljdF2HQ6FwsiA0scwbAbjx_4dhabJw/edit?usp=drivesdk for more info regarding design and approach.
Differential Revision: D54375878

creating new PR


I am not able use open on Bitbucket features.

Hi,
I am trying to use Open on Bitbucket features. However if I click on any of the options, nothing is happening. Am I missing something? how do I configure my BitBucket repo with Atom.

Regards,
Ajay

Did you have a .git directory, and remote origin at Bitbucket?

Did you have a .git folder in your project with remote origin from bitbucket?

Your repo should contain .git with bitbucket origin
Try fix from this issue, and restart Atom
Now Open On Bitbucket must work


Fail if no unit tests are run when --unittest is specified

If rippled is compiled without unit tests, and rippled --unittest is run, the exit code indicates success, and the output is.
0ms, 0 suites, 0 cases, 0 tests total, 0 failures
To prevent this from being overlooked in a CI situation, the exit code should indicate failure. I don't see any need to change the output.
Example: https://travis-ci.org/ximinez/rippled/jobs/159977989#L1006
Exported from RIPD-1296

This also applies when specifying unittest names on the command line. For example:
$ rippled --unittest=nope && echo Success
0ms, 0 suites, 0 cases, 0 tests total, 0 failures
Success

That should also be a failure.


Please update to nullsafty to support flutter ^2.0.0

Acknowleged

v0.1 will be null-safe. I have published a dev build (very early and lacking some tests). Feel free to try it out if you're brave enough :)

Closing since v0.1 is out.


Module dependencies are missing for the externals

Module dependencies are missing for the externals in the final package.
I would try to illustrate the issue with a sample repo. When I try to build the below repo, I see that the final package doesn't contain all the required dependencies.
Repo: https://github.com/vamche/sls-esbuild-node-externals/tree/missing-module-dependecies-for-externals
Branch: missing-module-dependecies-for-externals
So, here the externals declared are lodash and openpgp
https://github.com/vamche/sls-esbuild-node-externals/blob/3eb11fe11c8d8088d9fe4502a3b46a195cfb6d82/serverless.yml#L17-L19
   external:
       - lodash
       - openpgp

Dependency graph for lodash and openpgp

Though the tmp build directory (.esbuild\.build) contains all the modules, the final package includes only the declared modules but not all the required dependencies. In this case the openpgp's dependencies are missing.

I think the easiest way to fix this is to pass a valid depth here (may be 5?), right now the depth is missing.
https://github.com/floydspace/serverless-esbuild/blob/2fc9bb4a6a8f56b0885656bfd6fbb41656d47ac8/src/pack.ts#L103-L105
Another option I could think of is

Build package.json with the whitelisted deps
Do a packager install

or copy all the node_modules and do a packager prune.

I would like to know your thoughts before I proceed to create a PR with one of the approaches. Please feel free to suggest if there is any better approach to resolve this.

Hi @vamche thanks for the new issue, I checked out your branch and ran npx sls package (it prepares final artifacts)
And I see that everything is packaged as you expect.

so I couldn't reproduce on my node14, npm6 environment
Could you provide details about your environment? I suppose you're using npm7, maybe this cases the issue?

Indeed I checked in node16, npm7 environment and it behaves as you described. I would appreciate if you make a fix, but keep in mind compatibility with older environments. Blindly passing depth 5 could break npm6, so you have to find the way it's working in both envs or implemented special case for npm7 as you described. thank you

@floydspace Thanks for testing. I have tested on my side, I confirm that it's working with npm6. The issue is with npm7 only because of the change in output of npm ls -prod -json.
As you suggested, I will try to find a way which is backward compatible.


[in_app_purchase] Restore purchase on StoreKit not return a empty list when no purchases to restore

I read the changelog for 2.0.0:
Updates restorePurchases to emit an empty list of purchases on StoreKit when there are no purchases to restore (same as Android).

I expected an empty list in purchaseStream.
However, it still emit nothing when no purchases to restore on iOS.
It works fine on Android.

@JT501
Can you provide a minimal reproducible code sample that shows the behavior you are reporting along with actual vs expected result ?

Sure, here is the minimal Ccode to reproduce:
// Init IAPConnection & Stream subscription
final Stream<List<PurchaseDetails>> purchaseUpdated = IAPConnection.instance.purchaseStream;
final _subscription = purchaseUpdated.listen(
      _onPurchaseUpdate,
      onDone: _onUpdateStreamDone,
      onError: _onUpdateStreamError,
    );

.....

// Restore Purchase
Future<void> triggerPurchaseRestore() async {
    try {
      await InAppPurchase.instance.restorePurchases();
    } catch (e) {
      print(e);
    }
  }

......

// Print the list when Purchase Updated
void _onPurchaseUpdate(List<PurchaseDetails> list) {
    print("list: $list");
  }

void _onUpdateStreamDone() => _subscription.cancel();

void _onUpdateStreamError(error) => print(error);

Expected result:
It should print an empty list in the console.
list: []

Actual on Android:
Same as expected.
Actual on iOS:
Nothing happened.

Could you provide your pubspec.lock contents?

       According to the pubspec.lock file you supplied the version of the in_app_purchase_storekit is 0.2.1 which is the outdated version. Looking further it seems that the app-facing package (in_app_purchase) is still referencing the outdated version and should have been updated to reference version 0.3.0 of the in_app_purchase_storekit package.
I have just submitted an PR to correct this issue. In the meantime you could add a dependency override to enforce the use of in_app_purchase_storekit version 0.3.0 like so (important: don't forget to remove the override once the PR has landed):
  dependency_overrides:
    in_app_purchase_storekit: ^0.3.0

Hello. In version 3.0.0 the problem persisted.
When calling InAppPurchase.instance.restorePurchases()
on ios InAppPurchase.instance.purchaseStream. all purchases with the status PurchaseStatus (PurchaseStatus.restored) arrive, the purchase has not been active for a long time.
If I misunderstood the documentation, the restorePurchases method should only return active purchases

@kirill09 What you are describing sounds unrelated to this issue; this was about having a callback with an empty array, instead of no callback, when there are no purchases. If you have a different problem, please file a new issue with all the relevant details.


[BUG] Trim support for qemu backed VM k8s nodes

Describe the bug (🐛 if you encounter this issue)
After upgrading to v1.4.0 I tried to use the trim support for longhorn volumes, there i noticed this error message in the webui:
unable to trim filesystem for volume data-postgresql-synapse-matrix: cannot find volume data-postgresql-synapse-matrix mount info on host: failed to execute: nsenter [--mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net fstrim /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/1bee2958ab800e3c45a85191b155e3558ebc12ac9c444f8b405c11e22e2382a9/globalmount], output , stderr fstrim: /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/1bee2958ab800e3c45a85191b155e3558ebc12ac9c444f8b405c11e22e2382a9/globalmount: the discard operation is not supported : exit status 1

For my k8s nodes, I use a public cloud provider which seems to host the VMs on qemu / kvm backed hypervisors. I guess this is a limitation from the qemu harddisk (not enabled trim support) which is kind of inherited by the longhorn volumes?
To Reproduce
Steps to reproduce the behavior:

Create k8s workers on qemu / kvm backed hypervisors
Create a longhorn volume
Try the trim support feature on the webui in v1.4.0

Expected behavior
Trim should work for the longhorn volumes.
Environment

Longhorn version: 1.4.0
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k8s 1.24.3

Number of management node in the cluster: 3
Number of worker node in the cluster: 3

Node config

OS type and version: ubuntu 20.04 lts
CPU per node: 4
Memory per node: 16 GB
Disk type(e.g. SSD/NVMe): SSD
Network bandwidth between the nodes: 1Gbit/s

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Public Cloud (probably KVM)
Number of Longhorn volumes in the cluster: 10~

cc @shuo-wu

Just in case, is fstrim applied to the new volumes created after Longhorn v1.4.0 launch? For the volumes that are live upgraded from the old versions (without experiencing re-attachment) or the volumes using old engine images, the Longhorn trim feature will not work.
You can test if fstrim is supported by your env via the below test steps:

Create a file in the worker node data path.

# touch test-blk
# truncate -s 5G test-blk

Directly make a filesystem and mount it without any extra flags.

# mkfs.ext4 blk
# mount blk <mount point>

Write some files into the mount point then delete them. And verify the block device file actual size is increased

# dd if=/dev/urandom of=<mount point>/data bs=1M count=500
# rm <mount point>/data
# du -h blk

Do fstrim for the mount point and see if there are any errors

# fstrim <mount point>

Just in case, is fstrim applied to the new volumes created after Longhorn v1.4.0 launch? For the volumes that are live upgraded from the old versions (without experiencing re-attachment) or the volumes using old engine images, the Longhorn trim feature will not work.

We probably should empathize with this in general when any new volume functions are introduced to a new release, they will only take effect when volume reattachment. @shuo-wu WDYT?

Sure. I will update the doc.

That was the point! I didnt reattached the volumes. After recreating the pods and reattaching - the TRIM command now works. Thanks!


ENH: tilde expansion for write functions GH11438

Added calls to _expand_user() in multiple Formatter classes so that writer functions, such as to_csv() and to_html(), can perform tilde expansion on file paths beginning ~/. This makes the writer functions consistent with the reader functions, such as read_csv(). I also changed the __init__() for CSVFormatter to conform to the pep8 width limit.

tests pls

actually on 2nd thought.
I think you these should ONLY be used in core/frame.py/DataFrame.to_csv and to_html
I don't really like this here, as all of the other IO functions are localized in pandas/io/* but that's how it is for now.

I had the same thought, but then I assumed that would cause problems for Series.to_csv(). But, having now checked the code, I see that they are the same function, with each Series being temporarily converted to a DataFrame.
Should I put the _expand_user() calls in frame.py?
Regarding the tests: let me start out by saying that I am oh-so-close to being out of my depth here. The current suite seems to run OK (various DeprecationWarnings and RuntimeWarnings notwithstanding), but I'm a bit unclear as to how (or whether) I should create a new test function. That function would need to write and read some temporary files, but it looks like it would be difficult, if not impossible, to use testing.ensure_clean() to generate expanded and non-expanded file paths.

you might have a look at these: https://github.com/pydata/pandas/blob/master/pandas/io/tests/test_common.py
yeh this might be quite tricky to test

can you add a release note and we'll stick in 0.17.1

@jreback looks like I might have caused some trouble editing the most recent version of the release notes file...

merged via https://github.com/pydata/pandas/commit/ea758cd2467f3b9dbfe4aced1ce6666145c502c6
thanks!


refactor(transformer/logic-assignment): shorten code

Use create_spanned_read_expression instead of create_spanned_expression with specified ReferenceFlags.

#7419  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Trivial change, so merging without review.

Merge activity

Nov 22, 6:39 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


new editorials for 30 days of JS

https://leetcode.com/studyplan/30-days-of-javascript/
This learning module has 30 questions, most of them has hidden Editorials(premium only).
Can you add these Editorials. I am pasting the question IDs here:
[2667,
2620,
2704,
2665,
2635,
2634,
2626,
2629,
2703,
2666,
2623,
2723,
2621,
2715,
2725,
2637,
2622,
2627,
2721,
2727,
2677,
2619,
2631,
2724,
2722,
2625,
2705,
2694,
2695,
2726,
]

So I only did the ones under the "algorithms" problemset (https://leetcode.com/problemset/algorithms/) cuz that's what I was using leetcode for.
I can do the other probs tho. Are you doing the 30 days of JS thing, or did you just notice that was missing? I can get the screenshots up in the next few weeks are so depending on when I'm free.

Yeah, I am actually doing that JS 30 Days challenges. It will be helpful to read those editorials after solving the problems. Whenever you are free.  If you need any help with fetching or organising the problem list data, I will be at your service.

If you can provide! it will be of great help  thanks

@akhilkammila When will the editorials be added for these problems?


DS-3604: Fix Bitstream reordering in JSPUI

https://jira.duraspace.org/browse/DS-3604
Fixes DS-3604 by syncing JSPUI bitstream reorder code with the (working) XMLUI code (see ticket comments). I've manually tested the simple changes in https://github.com/tdonohue/DSpace/commit/ef3afe19eb01c9404a988758059ee7eaef785051 and they work.
However, I'm flagging this as a WIP, as we likely should also still refactor the BundleServiceImpl.setOrder() method to be less destructive when it is passed bad data. This method also does not currently have a Unit Test (while most other methods in that class do). https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/BundleServiceImpl.java#L269

This is now ready for a full review.  Once accepted, the latter two commits (https://github.com/DSpace/DSpace/pull/1761/commits/d37d3a04ac231f169ad6ca2ec6e50c50a435fd4c and https://github.com/DSpace/DSpace/pull/1761/commits/eb569d39f90d48c652b7000e3d97ea074abe81a6) should also be cherry-picked to master.

just tested it. Works great. Thanks @tdonohue
As it comes from a committer, was tested and reviewed by another committer  and is on our high priority list, I would merge it as soon as the small requested code change in the test is resolved.

@pnbecker : I've now refactored the Unit Test to use Arrays instead of grabbing the same List, as you requested. Please give this another review when you get a chance, and feel free to merge if it looks good.

cherry picked the latter two commits to master.


Add a warning about keyboard navigation order

Rachel Andrew mentioned that the way people can build with this might mess with keyboard navigation order, there should be some sort of warning: https://tink.uk/flexbox-the-keyboard-navigation-disconnect/

Contingent on #38

Fixed


ECMAScript modules example

Might make sense to put one in the README?

Does this package work with the Node 14 ESM implementation at all?

export const initRoutes = async (app) => {
  const __filename = url.fileURLToPath(import.meta.url)
  const __dirname = path.dirname(__filename)
  const filenames = glob.sync(path.resolve(__dirname + '/../routes/**/*.mjs'))
  for (let i = 0; i < filenames.length; ++i) {
    const filename = filenames[i]
    const { default: route } = await import(filename)
    app[route.method](
      route.path,
      buildRequestIdMiddleware(),
      buildRequestLoggerMiddleware(),
      buildRateLimitMiddleware(route),
      buildAsyncRouteHandlerMiddleware(route),
      buildResponseLoggerMiddleware()
    )
  }
}

probably not. i abandoned trying to use it it and did this.

I came across this issue today where I wanted to use ES6 imports which this package doesn't support.
My use case was initializing routes/middlewares on app start. So I made a simple alternative that lets me use the visit and include options like this package but with ESM. Works well with top-level await.
Here's an example


formatter fails on snippet

snippet in question
printAssociations = \assocs, after ->
    (assocs
        |> AssocList.walk (succeed {}) \_, key, value ->
            _ <- await (Stdout.line "\(key) => \(value)")
            succeed {})
        |> after

No longer reproduces


JavaScript exception in file<EMAIL_ADDRESS>at 97,7: ArangoError 18: lock timeout

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[x] 3.1
[ ] 3.2 pre-releases: ___
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[x] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[ ] web interface with this browser:     running on this OS:
[x] arangosh
[ ] this Driver:

I've run db._explain("<my aql query>") and it didn't shed more light on this.
The AQL query in question is:
The issue can be reproduced using this dataset:
Please provide a way to create the dataset to run the above query on; either by a gist with an arangodump, or `db.collection.save({my: "values"}) statements. If it can be reproduced with one of the ArangoDB example datasets, it's a plus.
Foxx
this is a web interface-related issue:
I'm using the web interface with this browser:     running on this OS:

[ ] authentication is enabled?
[x] using the cluster?
[ ] _system database?

These are the steps to reproduce:

open the browser on http://<IP_ADDRESS>:8529
log in as ...
use database [ ] _system [ ] other:
click to ...
...

The following problem occurs: [Screenshot?]
Instead I would be expecting:
this is an installation-related issue:
Describe which steps you carried out, what you expected to happen and what actually happened.
when i try to create an index on my cluster, i meet some error.
arangosh --server.endpoint tcp://ip:8529 --server.database hbtest --server.username huanbei --server.connection-timeout 60000 --server.request-timeout 60000

db.s1010517.ensureIndex({type:"skiplist", fields:["maxent_id"], sparse:true})

and then i get this error：
JavaScript exception in file<EMAIL_ADDRESS>at 97,7: ArangoError 18: lock timeout
!      throw error;
!      ^
stacktrace: ArangoError: lock timeout
    at Object.exports.checkRequestResult (/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js:95:21)
    at ArangoCollection.ensureIndex (/usr/share/arangodb3/js/client/modules/@arangodb/arango-collection.js:602:12)
    at <shell command>:1:13

tips: 1. When i make my index, I had 7 millions data in my collection.
2. I made the arangodb cluster by arango doc

Which version are you using exactly? Are there other requests running on the db during the index creation? If so, how many? What does top show?

Hi,
Any news on this? or could we close it?
Nb, We're pleased to anounce that ArangoDB 3.2 containing lots of improvements to the clustering.


Android Studio Problems

Android Studio keeps "updating indices" all the time, every 2 or 3 seconds it repeats the process.
Also it can't create a new project.
using Android Studio 3.1.0-rc01 with latest flutter plugin and flutter 0.1.8-pre.43

Can you please add the output of flutter doctor -v?

@dovahkiin98  I had the similar problem, try to invalidate caches and restart studio.

Same issue here. Invalidate and restart doesn't help. This is my flutter doctor -v
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale pl-PL)
    • Flutter version 0.1.5 at /Users/bartolini/workspace-private/flutter
    • Framework revision 3ea4d06340 (4 weeks ago), 2018-02-22 11:12:39 -0800
    • Engine revision ead227f118
    • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/bartolini/Library/Android/sdk
    • Android NDK at /Users/bartolini/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

• No issues found!

I have exactly the same issue on Windows, since I updated the version of Android Studio
Invalidate and restart does not help.
Here is the version:
Android Studio 3.1
Build #AI-173.4670197, built on March 22, 2018
JRE: 1.8.0_152-release-1024-b02 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

try flutter channel dev flutter doctor
The beta channel is a bit outdated already especially if you are using the latest versions of plugins.

I have the same problem and found an earlier issue on the flutter-intellij repo (https://github.com/flutter/flutter-intellij/issues/1735), which was fixed in the case of creating a new project. However I have no idea how to solve this when you have an existing project.

It looks like they're on it. (https://github.com/flutter/flutter-intellij/issues/1735)
As for now I'm downloading the older version of AS to circumvent: https://developer.android.com/studio/archive.html

Same issue on Android Studio 3.1.

Sorry for not being able to come back to this earlier but we weren't able to reproduce.
Is this still an issue.

Not anymore.

@bartektartanus thanks for the feedback!
I'm going to close this issue then. Just add a comment if you think this is still an issue to get it reopened or create a new issue.


Refactor async route execution using async/await syntax

Refactor the whole asynchronous route action control flow using async/await syntax and make the go method return a Promise.
⚠This will break how the current action control flow works with the state.resolve() and state.reject() methods.
This refactor should be released as the v3.
import highway from 'backbone-highway'

highway.route({
  name: 'profile',
  path: '/users/:name',
  action: async (state) => {
    console.log(`Hello ${state.params.name}`)

    // Get some user data
    const data = await fetch(`/api/users/${state.params.name}`)

    return data.id // 42
  }
})

const userId = await highway.go({ name: 'profile', params: { name: 'rascarlito' })

console.log('User id #', userId) // User id #42

I don't think actually getting data from calling the router should actually be very useful, but listening to when the route action has actually finished executing is.

Maybe re-implement or pull in things from https://github.com/d4f/backbone-highway/issues/31#issuecomment-298473083


Error upon hitting import

The error states "The specified module could not be found".
Tried to import passwords from Firefox 50 using KeePass 2.34 and BrowserImporter <IP_ADDRESS> & <IP_ADDRESS> on a Windows 10 Machine.
What am I doing wrong?

Did it the manual way. I assume I'm missing some plugin on which this one is dependent. Can be closed.


Django_private_chat2 Deployment in Production

Setup

django_private_chat2: 0.3.0
Django: 3.0
Python: 3.7.5
channels: 3.0.3
OS: Ubuntu 21.04 x64
gunicorn (20.1.0), nginx and uvicorn (0.12.0)

Description
I was trying to get django_private_chat2 up on my staging/production environment on the ubuntu server. Locally everything is working perfectly.
In the browser I can see the error "500 Internal "Server Error for URL http://...105.123/messages" and "Server Error for URL http://...105.123/dialogs". When I click on "inspect element" in the browser I see "WebSocket connection to 'ws://...105.125/chat_ws' failed: ". My guess would be that the ASGI cannot be set properly in the settings.py OR that the server configurations are misconfigured.
What I Did

Enclosed a screenshot of the app (screenshot_a)

Enclosed the settings.py

ALLOWED_HOSTS = ['<IP_ADDRESS>','<IP_ADDRESS>']
CHAT_WS_SERVER_HOST = '<IP_ADDRESS>' # Q
CHAT_WS_SERVER_PORT = 5002 #T, Q
CHAT_WS_SERVER_PROTOCOL = 'ws' #T, Q
CHAT_WS_CLIENT_HOST = '<IP_ADDRESS>'
CHAT_WS_CLIENT_PORT = 80 #T, Q
CHAT_WS_CLIENT_ROUTE = 'ws/' #T,Q
INTERNAL_IPS = ['<IP_ADDRESS>']
SESSION_COOKIE_AGE = 12096000
INSTALLED_APPS = [
'channels',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'crispy_forms',
'django_private_chat2.apps.DjangoPrivateChat2Config',
'example.apps.ExampleConfig',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'easy_timezones.middleware.EasyTimezoneMiddleware',
]
ROOT_URLCONF = 'app.urls'
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
#os.path.join(os.path.dirname(BASE_DIR), 'app'),
]
SITE_ROOT = os.path.realpath(os.path.dirname(file))
if DEBUG == True:
STATIC_ROOT = os.path.join(SITE_ROOT, 'static')
else:
#STATIC_ROOT = os.path.join(BASE_DIR, 'statics_root')
STATIC_ROOT = os.path.join(BASE_DIR, 'static_root')
STATIC_URL = '/static/'
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels.layers.InMemoryChannelLayer'
}
}
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [('http://<IP_ADDRESS>', 6379)],
},
},
}
ASGI_APPLICATION = 'app.routing.application'
#WSGI_APPLICATION = 'app.wsgi.application'

Enclosed nignx/default configs:

listen [::]:80 default_server;
root /var/www/html;
    # Add index.php to the list if you are using PHP
    index index.html index.htm index.nginx-debian.html;

    server_name _;
    client_max_body_size 20M;
    charset utf-8;

    location / {
            try_files $uri $uri/ =404;
            proxy_pass http://unix:/run/gunicorn.sock;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";

            proxy_redirect off;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Host $server_name;
    }

Enclosed the gunicorn.service configs:

[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
PartOf=gunicorn.target
ReloadPropagatedFrom=gunicorn.target
[Service]
User=christian
Group=www-data
WorkingDirectory=/home/christian/app/app
ExecStart=/home/christian/app/env/bin/gunicorn app.asgi:application -w 2 -k uvicorn.workers.UvicornWorker --bind unix:/run/gunicorn.sock
[Install]
WantedBy=gunicorn.target

Enclosed the gunicorn.socket configs:

I tried pretty much everything. Do you have any ideas what I am doing wrong? Many thanks!

I am going through the same problem. Cant get it working on production server

Hello, We're looking into the issue, but could you provide some logs or other info ?
Or if the problem is resolved share your solution

I thunk gunicorn is not suitable solution for django async application. You should use uvicorn, daphne or other ASGI server.
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/

It says, Connected but also NetworkError when attempting to fetch resource. Please have a look

Hello, if you're trying to get the example app to work on live server - it's not meant to do that out of the box. It's only meant to  be used as an example to build your own solution (hence the name)

Hello, if you're trying to get the example app to work on live server - it's not meant to do that out of the box. It's only meant to be used as an example to build your own solution (hence the name)

I changed my server from heroku to other server provider and it worked, Everything is working fine now.
It looks like Heroku is not very friendly with websockets, that makes a issue with changing port.
Another point to notice is that <IP_ADDRESS> will not workout,  instead static ip address of server will.
Thanks for maintaining this repo, it is helpful


[WIP] reduce queries for ems zone

ran into a bug with zone_id. but once that is resolved
this sounds like a good plan
see: https://github.com/ManageIQ/manageiq/issues/20676

@agrare can you take a look?

@agrare can you take a look?

I like it, we just need to make sure that we are keeping attrs in sync not just set them on initial creation (e.g. a user edits a zone or provider_region)

I like it, we just need to make sure that we are keeping attrs in sync not just set them on initial creation (e.g. a user edits a zone or provider_region)

looks like most of these changes got in #20739


Webpack/Babel Absolute Path is making FLUSH CHUNKS error

When using absolute path resolve like
import React from "react";
import universal from "react-universal-component";

const UniversalImport = universal(
  ({ page }) => {
    return import(`pages/${page}/${page}`);
  },
  {
    onLoad(module, info, props, context) {
      if (module.reducers) {
        context.store.injectReducers(module.reducers);
      }
    }
  }
);

export default UniversalImport;

Error:

[FLUSH` CHUNKS]: Unable to find pages/Login-Login in Webpack chunks. Please check usage of Babel plugin.

This error occurs when using webpack resolve or babel-plugin-module-resolver.

@ZhengYuTay This has been resolved, please update universal babel loader


Working with Web Storage Quotas (Guide)

Old article:
http://www.html5rocks.com/en/tutorials/offline/quota-research/ (this was A+ at the time. we don't currently have anything more recent in /web)
Recent related one:
https://developers.google.com/web/updates/2011/11/Quota-Management-API-Fast-Facts?hl=en
There's also more info on Chrome's Quota nuance over in: https://docs.google.com/presentation/d/11CJnf77N45qPFAhASwnfRNeEMJfR-E_x05v1Z6Rh5HA/edit
PouchDB quota stats from https://pouchdb.com/faq.html:

IDB: Though Firefox has no upper limit besides disk space, if your application wishes to store more than 50MB locally, Firefox will ask the user using a non-modal dialog to confirm that this is okay.
Chrome also uses IndexedDB, and it determines the amount of storage available on the user’s hard drive and uses that to calculate a limit.
Opera 15+ shares a codebase with Chromium/Blink, and behaves similarly.
Internet Exporer 10+ has a hard 250MB limit, and will prompt the user with a non-modal dialog at 10MB.
Mobile Safari on iOS has a hard 50MB limit, whereas desktop Safari has no limit. Both will prompt the user with a modal dialog if an application requests more than 5MB of data, at increments of 5MB, 10MB, 50MB, 100MB, etc. Some versions of Safari have a bug where they only let you request additional storage once, so you'll need to request the desired space up-front. PouchDB allows you to do this using the size option.
iOS Web Application, a page saved on the homescreen behaves different than apps in Mobile Safari (at least from iOS 9.3.2+). No specifics are published online by Apple, but WebSQL storage seems not limited to 50mb and there will not be any prompts when requesting data storage. Use  in your html header and use Add to Home Screen in the share menu of Safari. Please note, IndexedDB is not available, so FruitDown won't work. It seems there is different behaviour for different models of iPad and iPhone. You can check your mileage using the storage abuser, which you can Add to Home Screen on your device. Caveat: when iOS is running low on storage space, the OS might decide to delete all data without any notice or warning to the end user. Be sure to use devices with plenty of spare space, or your users will lose unsynced data.
Android works the same as Chrome as of 4.4+ (IndexedDB), while older versions can store up to 200MB (WebSQL).
In PhoneGap/Cordova, you can have unlimited data on both iOS and Android by using the SQLite Plugin.

My recent post with some quota related bits:
https://medium.com/dev-channel/offline-storage-for-progressive-web-apps-70d52695513c#.qi4hx1qwg
cc @drufball. Initially assigning to @agektmr as he's had an interest in storage Quota in the past and wrote the original guide linked to above.

@addyosmani We need to test with the latest browsers using this tool http://demo.agektmr.com/storage/ . I wanted to work on ES6'fying this and add Cache API but haven't got time yet.

@agektmr Re-testing would be fantastic if we can find the time. We're aiming to have a team-wide /web hackathon next week in case you think you'd be able to help update this then.

FYI, I'm testing this week. Will need sometime to document them though.

Awesome. We super appreciate it!
On Wed, Sep 28, 2016 at 9:58 PM Eiji Kitamura<EMAIL_ADDRESS>wrote:

FYI, I'm testing this week. Will need sometime to document them though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/issues/3466#issuecomment-250370433,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGxaZf6Uk7UtFKvEbUCeUhpDuzfMjlNks5qu0VqgaJpZM4KEcxe
.

Quick summary from my experiment last week:
Firefox desktop and mobile
Seems to no longer share the combined quota for local storage and session storage. 10MB each.
IndexedDB applied a new quota strategy: https://developer.mozilla.org/en/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria
Safari desktop and mobile
Seems that IndexedDB's bug still persists and there's no limit to the storage. All other storage quota stay the same as what we had on LocalStorage, SessionStorage, WebSQL, IndexedDB.
Chrome desktop and mobile
Everything stay the same since Chrome 40 except IndexedDB is now compressing the payload. The new Storage API is introduced. It is recommended to use.
Edge
Needs to be worked.


Front end

Profile, Library, and stream are working.

You should always omit any files in the media directory in your repository.  Those represent user-generated content and should not ever be a part of the versioned content of your site.


Add --skip-refresh flag to the build command

Discussion: https://github.com/helmfile/helmfile/discussions/426

This improves the helmfile sync performance.
From the code: BuildDeps is used only by runHelmDepBuilds, which only is used by PrepareCharts which is finally only used by withPreparedCharts.
withPreparedCharts already does SyncReposOnce which means we do not have to refresh the local repository cache on each chart build.
This is only supported in Helm v3.
This seems to be mostly affecting helmfiles which have a lot of releases and those release charts use sub dependencies.
I saw significant performance improvements for a helmfile with 45 releases, 2 repositories, and most of the charts also had their own dependencies. Results:
Before the patch:

real  9m10.565s
real  9m38.335s
real  9m14.941s
real  5m13.106s (with cache)

After the patch:

real  6m51.965s
real  6m36.605s
real  6m31.685s
real  3m0.271s (with cache)

These were tested with:
rm -rf ~/.cache/helmfile ~/.cache/helm ~/.config/helm/repositories.* && helmfile sync ...

The result with (with cache) was without deleting the caches first.
From these metrics it seems that the sync duration decreased 20-45% depending on the run, release count, dependencies and if the cache was used or not.
As far as I understand, this should be backward-compatible change.

@indrekj Please fix DCO issue.

Fixed, and fixed a test issue as well. The next run should be green now.

To my understanding, there's no need to do a refresh if we're already doing SyncReposOnce. I don't see a reason for a flag in that case. Do you see a reason why we would need both SyncReposOnce and refresh together?

@indrekj oh. I see.

Seems good to me. Thanks for your proposal and contribution!


Can't connect Bookings page to Facebook

I landed on this page from a link that said it provides instructions for linking my Bookings page to Facebook - but there are no instructions here and I can't find them anywhere else. When I click on the "Connect" button in Bookings it also takes me to this page.
Can you provide instructions for connecting Bookings to Facebook?

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

ID: adb53eb7-85a1-6aa0-dfd1-e2b54586008a
Version Independent ID: 5532470a-a47d-e3bd-4e74-02b2c822cae1
Content: Microsoft Bookings
Content Source: microsoft-365/bookings/bookings-overview.md
Service: bookings
GitHub Login: @kwekuako
Microsoft Alias: kwekua

Duplicate #3917

Duplicate #3917


Unable to start Flash/FlashMode.TORCH

Our application depends on the use of flashlight as we scan the codes in low light environment. There seem to be no way of turning it on.
Also this method should be implemented on CameraSource as we need to turn it on/off during scanning.

There is an open source version of CameraSource which supports setting a flash mode:
https://github.com/googlesamples/android-vision/blob/master/visionSamples/barcode-reader/app/src/main/java/com/google/android/gms/samples/vision/barcodereader/ui/camera/CameraSource.java#L574

Would be great if this became part of the official sources.

And what would be a correct way of starting autofocus with this tool as different phones have different autofocus options? The official CameraSource has .setAutoFocus(boolean) which works great.

The open source API is a bit more broad:
https://github.com/googlesamples/android-vision/blob/master/visionSamples/barcode-reader/app/src/main/java/com/google/android/gms/samples/vision/barcodereader/ui/camera/CameraSource.java#L534
You'd call this with Camera.Parameters#FOCUS_MODE_CONTINUOUS_VIDEO for auto focus.

After two years, it's still not part of the official sources...🤦


feat: cache calls to /.well-known/openid-configuration

JWKs are somewhat more complex to cache as there is already some logic for that. I will follow up on that.

You can remove go 1.21 support imo


Commit/Rollback

SQL Operations Studio Version: 0.24.1

When performing an update query I would like to be able to choose to commit or rollback  instead of things being automatically committed.  (May already be there but I haven't stumbled onto it yet)
Steps to Reproduce:

This is essentially a duplicate of #456.

@KahNManN I am going through the backlog and realized this issue has been fixed, you can go to user settings in Azure Data Studio and find the following setting:


when will you release the code

The idea of your paper is interesting. When will you release the source code?

@Mrkkew Sorry to keep you waiting. I will work on it this weekend.

Sorry, I'm late. I have released our codes.


Invalid menu Item dynamic route link for subdomain

I am using the following routes. url($item->link()) is generating invalid link.
it shows invalid link http://SITE_URL/type/group. The link should be http://abc.SITE_URL/type/group.

Voyager only uses Laravels route functions, so I dont think there is something wrong about Voyager


Made relatively minor changes to the plugin so that it now uses jQuery, ...

Updated plugin to use jQuery.

five years on, is there a reason not to accept the above pull request or would the plugin not work anyway with Mura 7.1?

@JonasEriksson, I'm sure it just got overlooked. Thanks!


help output mixes MB and GB for memory argument

fmriprep --help mixes MB and GB for memory argument
--mem MEMORY_GB, --mem_mb MEMORY_GB, --mem-mb MEMORY_GB
                        upper bound memory limit for fMRIPrep processes
                        (default: None)

Thanks for reporting this. --mem_mb and --mem-mb are legacy flag names and we should definitely discontinue them (or at least, change them for corresponding gb versions.

Should have been fixed in #2738.

@oesteban I would suggest closing this and leaving it as --mem-mb.


fix: typing of button component label to be optional

In the docs, label is an optional property but it's not in discordeno, this PR fixes that issue

Codecov Report

Merging #2708 (15c95f1) into node-migration-clean (e28cc2a) will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           node-migration-clean    #2708   +/-   ##
=====================================================
  Coverage                 59.95%   59.95%
=====================================================
  Files                       208      208
  Lines                      9491     9491
  Branches                    111      111
=====================================================
  Hits                       5690     5690
  Misses                     3795     3795
  Partials                      6        6

Flag
Coverage Δ

*Carryforward flag

rest-e2e
60.18% <ø> (ø)

Carriedforward from e28cc2a

rest-unit
52.90% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Use correct brackets around translated string.

Fixes #675

This pull request is now managed with CodeReviewHub. Refresh.


Transfer tests/PySys/tedge tests to new test framework

Is your feature request related to a problem? Please describe.
Refactor the existing test cases under tests/PySys/tedge to robot framework.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

This issue was covered with the PR #1319

Covered by #1256


Accept variable resolution function instead of map from Script.execute

Hello, first of all thanks for building this project! I'm considering using it for adding dynamic expression support to planetiler yaml config files (https://github.com/onthegomap/planetiler/issues/179). For this I need to construct hierarchical contexts where each nested one adds some global variables beyond what the parent context has.
It looks like the Activation utility describes what I'm trying to do, but the Script#execute function only takes a Map.  Would it make sense for another variation on that to take an Activation or even just a Function<String, Object> ? I'm happy to make a PR to add this, just want to check if this is the right approach first? Or if there's another way of doing this that I'm missing?

Hi @msbarry , yup, your proposal to have something in Script that helps utilizing Activation (without a parent activation, so a Function-ish thingy) makes sense. If you can post a PR, that would be really great!

Thanks @snazy, I just opened #251. Let me know what you think.


Remove element - ALL attribute

All attribute (part of Remove element)
If set to TRUE, all Office 365 ProPlus products and languages will be removed, including Visio and Project, if they are installed. Any "Product ID" or "Language ID" you add when using this attribute set to TRUE are ignored.
Optional. The default value is FALSE.
Allowed values:
All="FALSE"
All="TRUE"

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


python3Packages.warrant-lite: init at 1.0.4

Motivation for this change
Module for process SRP requests for AWS Cognito
https://github.com/capless/warrant-lite
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 158644 run on x86_64-linux 1

2 packages built:

python310Packages.warrant-lite
python39Packages.warrant-lite

Result of nixpkgs-review pr 158644 run on x86_64-linux 1

2 packages built:

python310Packages.warrant-lite
python39Packages.warrant-lite

[nix-shell:~/.cache/nixpkgs-review/pr-158644]$ export USE_CLIENT_SECRET=True

[nix-shell:~/.cache/nixpkgs-review/pr-158644]$ export COGNITO_APP_WITH_SECRET_ID=48kn044a07obskirko9adh56b0

[nix-shell:~/.cache/nixpkgs-review/pr-158644]$ export COGNITO_CLIENT_SECRET=(reducted)

[nix-shell:~/.cache/nixpkgs-review/pr-158644]$ export COGNITO_TEST_USERNAME=foo

[nix-shell:~/.cache/nixpkgs-review/pr-158644]$ export COGNITO_TEST_PASSWORD=(reducted)

[nix-shell:~/.cache/nixpkgs-review/pr-158644]$ python3.10 ./results/python310Packages.warrant-lite/lib/python3.10/site-packages/warrant_lite/tests.py
/home/alice/.cache/nixpkgs-review/pr-158644/./results/python310Packages.warrant-lite/lib/python3.10/site-packages/warrant_lite/tests.py:25: ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=6, laddr=('REDUCTED', 57182, 0, 0), raddr=('2406:da14:3c0:9b00:29c4:70b0:6a0d:7eb3', 443, 0, 0)>
  del self.wl
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./home/alice/.cache/nixpkgs-review/pr-158644/./results/python310Packages.warrant-lite/lib/python3.10/site-packages/warrant_lite/tests.py:25: ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=6, laddr=('REDUCTED', 57186, 0, 0), raddr=('2406:da14:3c0:9b00:29c4:70b0:6a0d:7eb3', 443, 0, 0)>
  del self.wl
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.
----------------------------------------------------------------------
Ran 2 tests in 0.839s

OK

Looks good to me


NETSDK1073	The FrameworkReference 'Microsoft.NETCore.App' was not recognized

[Enter feedback here]

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

ID: 2c33d61d-2a57-a6f9-d634-b4840c137ee4
Version Independent ID: 87c828ac-4124-6915-e1e4-0cb1d7bbd518
Content: NETSDK1073: The FrameworkReference was not recognized - .NET Core CLI
Content Source: docs/core/tools/sdk-errors/netsdk1073.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @marcpopMSFT
Microsoft Alias: tdykstra

@MoneefRaonah Can you provide more info about the documentation issue?


Proxy configuration for production environment.

Hi,
Firstly, realy thanks for this amazing work!
It's runing smoothly in the development environment.
There is a only dev environment server proxy and a comment for production purposes in "Webpack.config.js".
https://github.com/me-12/single-spa-portal-example/blob/master/portal/webpack.config.js
// Proxy config for development purposes. In production, you would configure you webserver to do something similar.
proxy: {
"/app1": {
target: "http://localhost:9001",
pathRewrite: {"^/app1" : ""}
},.....................................................
Can you give an idea about how can i configure web server to do something similar?
Or is there another way?
Thanks,
Türenç.

This is my try by using node.js with express and http-proxy-middleware dependencies
------ code below ----------
const path = require('path');
const express = require('express');
const proxy = require('http-proxy-middleware');
const app = express();
app.use(express.static(path.join(__dirname, 'release')));
app.use('/app1', proxy({
target: 'http://localhost:9001',
changeOrigin: true,
pathRewrite: {
'^/app1': '/',
}}));
app.use('/app2', proxy({
target: 'http://localhost:9002',
changeOrigin: true,
pathRewrite: {
'^/app2': '/',
}}));
app.use('/app3', proxy({
target: 'http://localhost:9003',
changeOrigin: true,
pathRewrite: {
'^/app3': '/',
}}));
app.use('/app4', proxy({
target: 'http://localhost:9004',
changeOrigin: true,
pathRewrite: {
'^/app4': '/',
}}));
app.use('/app5', proxy({
target: 'http://localhost:9005',
changeOrigin: true,
pathRewrite: {
'^/app5': '/',
}}));
app.listen(9000);


Server myapp.saltcorn.com is down!  No response/login.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi Tom,
I understand but still experimenting with Saltcorn and it’s great features and potential!  But waiting for Saltcorn 1.0 before we kick out Salesforce  ;-)

ok, thats fine, but please consider spinning up a droplet with Digitalocean marketplace saltcorn version for a more stable experience - on saltcorn.com you get slowed down by 10,000 other users all using one server
By the way @HFolkertH I would love to talk to you - I see your email address and will send you an email


Existing AC3 track detection always files

AC3 track detection always fails. Dug into this and it's because there was a change at some point for mkvmerge to output AC3 track as string AC-3 instead of AC3.
PR here: https://github.com/JakeWharton/mkvdts2ac3/pull/117

Merged. Thanks!


Missing 'valid_ibrav' values in get_cell_from_parameters

The get_cell_from_parameters function (link) defines the valid ibrav values as list(range(15)) + [-3, -5, -9, -12].
Comparing this to the pw.x input description, this is missing the values -13 and 91. The -13 value could be a bit problematic to implement, because the input description states:
 IMPORTANT NOTICE: until QE v.6.4.1, axis for ibrav=-13 had a
 different definition: v1(old) = v2(now), v2(old) = -v1(now)

91 is ok to add.
-13, I don't know... As this was inconsistent, I would catch this case and raise an explicit exception explaining why we don't support it?
Maybe we can then add a custom optional parameter that, if specified, can tell the function "I am aware of this, and I want to the old/new version of the definition". We need to see how to made this extensible in the future if the same happens to other ibrav numbers, and how this needs to be propagates so it's easily accessible to users when using the parser class (maybe a class property defined in the init, and then forwarded to this function?)
Also, in this case, the explicit exception message could say which flag to use to enable parsing.

Throwing an exception for -13 with an explanation is certainly a good start.
Maybe a good way to handle this consistently throughout would be to define a "QE version" object that can be passed into the parsers and free functions? If we encounter some logic that depends on the version, it needs to be specified otherwise an exception will be raised.

I would err on the safe side, and in those cases we release a new version of qe-tools that raises. In the long term it will be strange to use the oldest version, and it will be hard to decide when to jump.

Makes sense :+1:


Assignment 11- 6ITA-Raj

For #630
📋 Description
JS All Task Done
📸 Screenshots

Please amend the commit message!


[SPARK-3166]: Allow custom serialiser to be shipped with application jar

This is a work-in-progress, and I'm looking for feedback on my current approach.  My aim here is to add the user jars specified in SparkConf into the Executor processes before they start any tasks, and to add these jars to the class path of all threads.
So far I have just implemented sending the user jars to the Executor processes before registering the executor with the master.  Next steps are to add these jars to all threads, and/or share a pool of kryo instances created with a known class loader.  This will also need implementing for Mesos & YARN.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I think that we should close this issue / PR for now.  I'm not sure this issue is still a problem in newer Spark releases, but this pull request is out-of-date and we'll have to open a new one if it still needs to be fixed.

@GrahamDennis let's close this PR since it's mostly gone stale and will likely not be merged. We can always re-open an updated one if necessary.


Capturing and handling hug/falcon exceptions

The current @hug.exception decorator is undocumented and I’ve been unable to figure out if it can fit my needs from looking in the code.
I need to catch all errors except in certain cases (I might handle a KeyError myself in an except statement for example) with hug to output predefined uniform json responses. As it currently stands, many of the many libraries I use can error in some edge case etc and will return the stock 500 error response. At the least maybe I could modify the stock response (I haven’t been able to find it in either Hug or Falcon with some quick searches) if someone points me in the right direction or can explain the exception decorator.
When trying to get it working, it captured everything, including exceptions I might raise but were (or would have) been handled. Can anyone point me in the right direction?

My experience has been that anytime an uncaught exception that you've registered with the @hug.exception decorator, it ends up getting handled that way. That's how I think of it, BTW, as a registered handler. So in my use case, I'm using the mongoengine ORM. I have cases where I want to throw the correct HTTP error (409) on a duplicate key on a POST method. MongoEngine is raising a NotUniqueException any time a call attempts to insert a duplicate key. https://github.com/swilcox/badash/blob/e3a2378d0a668714ce1bdea44ec7c6cd65873898/badash-api/app.py#L22 I register this so that it returns the correct error each time. No special coding required in the methods... it just gets handled correctly.
However, if I wanted to do something differently for just one of the methods/routes, you could do a try and except around the call that might raise that error and then do something differently there. As long as you catch the raised exception, you should be able to override the default behavior that you've defined.


Update pvc template

this PR will

add volumeName and volumeMode in the PVC template.
add check for PVC name

@aliartiza75 Validation Successful

@hanzala1234 please review this

@aliartiza75  can you please make separate PR for service and pvc

@hanzala1234 yes sure, I have also made some changes related to serviceAccount checks in deployment.

@hanzala1234, I have created separate PR for each change.

Thanks @aliartiza75 . left small comment

@aliartiza75 ^^ lets get them merged

@aliartiza75 Yikes!  Build has Failed!

@aliartiza75 Yikes!  Build has Failed!

@rasheedamir comments are resolved.

@hanzala1234 Yikes!  Build has Failed!

@hanzala1234 Validation Successful


Bump seccomp version to enable ppc/s390x seccomp support

Bump to: seccomp/libseccomp-golang@32f571b
Required for: Issue #23171.
Signed-off-by: Michael Holzheu<EMAIL_ADDRESS>

/cc @justincormack @jfrazelle

LGTM when green.

all green, LGTM


Move project64 shader module to extensions

For #3869
Change List

Move project64 shader module from core to extensions
Upgrade guide

Coverage decreased (-2.4%) to 80.724% when pulling 3cd699d8749e557ab92deef3abeb6e696165bb89 on x/project64 into 812d06cb3f8dd32cc061af0630a40f9d271d227d on master.


[1.12] Syringe is missing crafting recipe

Seems like this time its the syringe that's missing a recipe.
Version: 1.12 6.10 beta4

Fixed next release


Run aegir ts --check during linting

It would be great to have aegir ts --check run during aegir lint, otherwise it's extra boilerplate we have to add to loads of repos.

i would like to do something like that with the aegir check cmd.. mixing linting with type check seems wrong but maybe im just overthinking here.


Neo scan does not detect transaction output in invocation transactions.

Describe the bug
I found the bug when I worked on Cgas and Cneo contracts. Neoscan does not read outputs and asset transfers in invocation transactions.
For example:
I send a Cgas mint invocation with 10 NEO. In the chain it works but Neoscan does not show the transfer and correct balance.

Hi @xxedocxx, thanks for raising this issue 👍
Is this issue specific to when NeoScan is run within neo-local? If it is general issue with NeoScan then it is better to raise the issue in that repo:
https://github.com/CityOfZion/neo-scan

cc/ @adrienmo - Is this a known issue?

@revett I am not sure it is related but, I got some report about NEP-8 enabled contracts would not work properly with the notification server. Basically for all NEP-5 transfer, it is the duty of the notification to parse it and make it available for neoscan. If there is a transfer not shown on neoscan it probably comes from the notification server.

I appreciate your contribution.
I think this issue is related to @adrienmo mentioned because it works fine with Testnet neo-scan and my previous neo-scan docker (https://github.com/slipo/neo-scan-docker).

Okay thanks @xxedocxx @adrienmo, I'm going to close this issue as it is a problem with the services within the neo-local stack and not neo-local itself.


HEAD: monitoring-heapster-controller container exit with error every 10 mins

While fixing the issue #5957 on describe events for pod, I found kubelet keep restarting monitoring-heapster-controller container:
$ cluster/kubectl.sh describe pods monitoring-heapster-controller-h3x9k
current-context: "golden-system-455_kubernetes"
Running: cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl describe pods monitoring-heapster-controller-h3x9k
Name:				monitoring-heapster-controller-h3x9k
Image(s):			kubernetes/heapster:v0.9
Host:				kubernetes-minion-agug.c.golden-system-455.internal/<IP_ADDRESS>
Labels:				kubernetes.io/cluster-service=true,name=heapster,uses=monitoring-influxdb
Status:				Running
Replication Controllers:	monitoring-heapster-controller (1/1 replicas created)
Conditions:
  Type		Status
  Ready 	True
Events:
  FirstSeen				LastSeen			Count	From								SubobjectPath			Reason	Message
  Thu, 26 Mar 2015 09:12:52 -0700	Thu, 26 Mar 2015 09:12:52 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id 8b29f11cb1f7187910668551cdd4037aa40af3b69536ed934c685d0704cf05dd
  Thu, 26 Mar 2015 09:12:52 -0700	Thu, 26 Mar 2015 09:12:52 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id 8b29f11cb1f7187910668551cdd4037aa40af3b69536ed934c685d0704cf05dd
  Thu, 26 Mar 2015 09:23:03 -0700	Thu, 26 Mar 2015 09:23:03 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id 27e1c4ee3ffc54e86b381af4f848f374308466fa606ff358b70ff687e07bb9d0
  Thu, 26 Mar 2015 09:23:03 -0700	Thu, 26 Mar 2015 09:23:03 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id 27e1c4ee3ffc54e86b381af4f848f374308466fa606ff358b70ff687e07bb9d0
  Thu, 26 Mar 2015 09:33:13 -0700	Thu, 26 Mar 2015 09:33:13 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id 29504f60785eccaafc208e56d43540bf738ed124dbc96ed3e57de4eab5318040
  Thu, 26 Mar 2015 09:33:13 -0700	Thu, 26 Mar 2015 09:33:13 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id 29504f60785eccaafc208e56d43540bf738ed124dbc96ed3e57de4eab5318040
  Thu, 26 Mar 2015 09:43:23 -0700	Thu, 26 Mar 2015 09:43:23 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id bd8a131a7382f4b0bcb125f3ab38aa933d7c7a438e9b4b428bdfbfcd3b69eaea
  Thu, 26 Mar 2015 09:43:23 -0700	Thu, 26 Mar 2015 09:43:23 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id bd8a131a7382f4b0bcb125f3ab38aa933d7c7a438e9b4b428bdfbfcd3b69eaea
  Thu, 26 Mar 2015 09:53:33 -0700	Thu, 26 Mar 2015 09:53:33 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id f8c1e1bd3024c2ceae2c32b7bfb0244e62a33945834d6299982e3a66678a1778
  Thu, 26 Mar 2015 09:53:34 -0700	Thu, 26 Mar 2015 09:53:34 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id f8c1e1bd3024c2ceae2c32b7bfb0244e62a33945834d6299982e3a66678a1778
  Thu, 26 Mar 2015 10:03:44 -0700	Thu, 26 Mar 2015 10:03:44 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	created	Created with docker id c5f1b1a2ce3c161ca380a5f4886ad93419947873f493eca4dde0f9724793708d
  Thu, 26 Mar 2015 10:03:44 -0700	Thu, 26 Mar 2015 10:03:44 -0700	1	{kubelet kubernetes-minion-agug.c.golden-system-455.internal}	spec.containers{heapster}	started	Started with docker id c5f1b1a2ce3c161ca380a5f4886ad93419947873f493eca4dde0f9724793708d

I retrieved the container log, and found it exit due to database creation failure:
I0326 17:03:44.287397       7 driver.go:164] Using influxdb on host "<IP_ADDRESS>:80" with database "k8s"
E0326 17:03:44.490457       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:04:14.491752       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:04:44.493130       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:05:14.494835       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:05:44.496148       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:06:14.497545       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:06:44.499208       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:07:14.502519       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:07:44.504063       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:08:14.505358       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:08:44.730301       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:09:14.732977       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:09:44.836341       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:10:14.937756       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:10:45.142047       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:11:15.143812       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:11:45.146168       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:12:15.147444       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:12:45.148914       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:13:15.254122       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:13:44.442688       7 reflector.go:118] watch of *api.Pod ended with error: 401: The event in requested index is outdated and cleared (the requested history has been cleared [237511/237343]) [238510]
E0326 17:13:45.254457       7 heapster.go:52] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received

I didn't follow up on why influxdb issue. cc/ @vishh

This happens when InfluxDB service is not up. Heapster retries a few times
and then eventually fails. The plan is to avoid failing completely and keep
retrying DB creation until it succeeds and bubble up appropriate errors.
On Thu, Mar 26, 2015 at 10:23 AM, Dawn Chen<EMAIL_ADDRESS>wrote:

While fixing the issue #5957
https://github.com/GoogleCloudPlatform/kubernetes/issues/5957 on
describe events for pod, I found kubelet keep restarting
monitoring-heapster-controller container:
$ cluster/kubectl.sh describe pods monitoring-heapster-controller-h3x9k
current-context: "golden-system-455_kubernetes"
Running: cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl describe pods monitoring-heapster-controller-h3x9k
Name:               monitoring-heapster-controller-h3x9k
Image(s):           kubernetes/heapster:v0.9
Host:               kubernetes-minion-agug.c.golden-system-455.internal/<IP_ADDRESS>
Labels:             kubernetes.io/cluster-service=true,name=heapster,uses=monitoring-influxdb
Status:             Running
Replication Controllers:    monitoring-heapster-controller (1/1 replicas created)
Conditions:
Type      Status
Ready     True
Events:
FirstSeen             LastSeen            Count   From                                SubobjectPath           Reason  Message
Thu, 26 Mar 2015 09:12:52 -0700   Thu, 26 Mar 2015 09:12:52 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   created Created with docker id 8b29f11cb1f7187910668551cdd4037aa40af3b69536ed934c685d0704cf05dd
Thu, 26 Mar 2015 09:12:52 -0700   Thu, 26 Mar 2015 09:12:52 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   started Started with docker id 8b29f11cb1f7187910668551cdd4037aa40af3b69536ed934c685d0704cf05dd
Thu, 26 Mar 2015 09:23:03 -0700   Thu, 26 Mar 2015 09:23:03 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   created Created with docker id 27e1c4ee3ffc54e86b381af4f848f374308466fa606ff358b70ff687e07bb9d0
Thu, 26 Mar 2015 09:23:03 -0700   Thu, 26 Mar 2015 09:23:03 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   started Started with docker id 27e1c4ee3ffc54e86b381af4f848f374308466fa606ff358b70ff687e07bb9d0
Thu, 26 Mar 2015 09:33:13 -0700   Thu, 26 Mar 2015 09:33:13 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   created Created with docker id 29504f60785eccaafc208e56d43540bf738ed124dbc96ed3e57de4eab5318040
Thu, 26 Mar 2015 09:33:13 -0700   Thu, 26 Mar 2015 09:33:13 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   started Started with docker id 29504f60785eccaafc208e56d43540bf738ed124dbc96ed3e57de4eab5318040
Thu, 26 Mar 2015 09:43:23 -0700   Thu, 26 Mar 2015 09:43:23 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   created Created with docker id bd8a131a7382f4b0bcb125f3ab38aa933d7c7a438e9b4b428bdfbfcd3b69eaea
Thu, 26 Mar 2015 09:43:23 -0700   Thu, 26 Mar 2015 09:43:23 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   started Started with docker id bd8a131a7382f4b0bcb125f3ab38aa933d7c7a438e9b4b428bdfbfcd3b69eaea
Thu, 26 Mar 2015 09:53:33 -0700   Thu, 26 Mar 2015 09:53:33 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   created Created with docker id f8c1e1bd3024c2ceae2c32b7bfb0244e62a33945834d6299982e3a66678a1778
Thu, 26 Mar 2015 09:53:34 -0700   Thu, 26 Mar 2015 09:53:34 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   started Started with docker id f8c1e1bd3024c2ceae2c32b7bfb0244e62a33945834d6299982e3a66678a1778
Thu, 26 Mar 2015 10:03:44 -0700   Thu, 26 Mar 2015 10:03:44 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   created Created with docker id c5f1b1a2ce3c161ca380a5f4886ad93419947873f493eca4dde0f9724793708d
Thu, 26 Mar 2015 10:03:44 -0700   Thu, 26 Mar 2015 10:03:44 -0700 1   {kubelet kubernetes-minion-agug.c.golden-system-455.internal}   spec.containers{heapster}   started Started with docker id c5f1b1a2ce3c161ca380a5f4886ad93419947873f493eca4dde0f9724793708d
I retrieved the container log, and found it exit due to database creation
failure:
I0326 17:03:44.287397       7 driver.go:164] Using influxdb on host "<IP_ADDRESS>:80" with database "k8s"
E0326 17:03:44.490457       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:04:14.491752       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:04:44.493130       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:05:14.494835       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:05:44.496148       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:06:14.497545       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:06:44.499208       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:07:14.502519       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:07:44.504063       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:08:14.505358       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:08:44.730301       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:09:14.732977       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:09:44.836341       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:10:14.937756       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:10:45.142047       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:11:15.143812       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:11:45.146168       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:12:15.147444       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:12:45.148914       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: read tcp <IP_ADDRESS>:80: connection reset by peer. Retrying after 30 seconds
E0326 17:13:15.254122       7 driver.go:175] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received. Retrying after 30 seconds
E0326 17:13:44.442688       7 reflector.go:118] watch of *api.Pod ended with error: 401: The event in requested index is outdated and cleared (the requested history has been cleared [237511/237343]) [238510]
E0326 17:13:45.254457       7 heapster.go:52] Database creation failed: Post http://<IP_ADDRESS>:80/db?u=root&p=root: net/http: transport closed before response was received
I didn't follow up on why influxdb issue. cc/ @vishh
https://github.com/vishh
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5997.

Influxdb is running happily without issue on the same node:
# docker ps -a | grep monitoring-influx-grafana-controller-182tv
c8ba2e2ea944        kubernetes/heapster_influxdb:v0.3      "/run.sh"              18 hours ago        Up 18 hours                                                                  k8s_influxdb.abf32f3e_monitoring-influx-grafana-controller-182tv_default_4efedae0-d245-11e4-8342-42010af01a97_b23bfdc6
6754f94f6c54        kubernetes/heapster_grafana:v0.5       "/run.sh"              18 hours ago        Up 18 hours                                                                  k8s_grafana.4d324c2e_monitoring-influx-grafana-controller-182tv_default_4efedae0-d245-11e4-8342-42010af01a97_fbfb69d8
9a799d49d398        kubernetes/pause:go                    "/pause"               18 hours ago        Up 18 hours                 <IP_ADDRESS>:8083->8083/tcp, <IP_ADDRESS>:8086->8086/tcp   k8s_POD.88581cdb_monitoring-influx-grafana-controller-182tv_default_4efedae0-d245-11e4-8342-42010af01a97_b42cd64d

Related kube-proxy log:
tail -f kube-proxy.log
I0326 17:33:31.878694    4646 proxier.go:364] Periodic sync
I0326 17:33:33.767955    4646 proxier.go:219] New UDP connection from <IP_ADDRESS>:40902
I0326 17:33:34.197367    4646 proxier.go:219] New UDP connection from <IP_ADDRESS>:34778
I0326 17:33:36.110974    4646 proxier.go:108] Accepted TCP connection from <IP_ADDRESS>:39865 to <IP_ADDRESS>:48701
E0326 17:33:36.111036    4646 proxier.go:75] Couldn't find an endpoint for default/monitoring-influxdb: missing endpoints
E0326 17:33:36.111064    4646 proxier.go:111] Failed to connect to balancer: missing endpoints
I0326 17:33:36.111593    4646 proxier.go:108] Accepted TCP connection from <IP_ADDRESS>:39866 to <IP_ADDRESS>:48701
E0326 17:33:36.111629    4646 proxier.go:75] Couldn't find an endpoint for default/monitoring-influxdb: missing endpoints
E0326 17:33:36.111639    4646 proxier.go:111] Failed to connect to balancer: missing endpoints
I0326 17:33:36.922577    4646 proxier.go:364] Periodic sync

It looks like a kube-proxy issue.

It looks like there are no endpoints for 'monitoring-influxdb' service. The service itself is active and there is a pod that matches the selector of the service.
Here is the 'monitoring-influxdb' service:
{
"id": "monitoring-influxdb",
"uid": "142efe32-d1a6-11e4-aaa3-42010af01a97",
"creationTimestamp": "2015-03-23T21:46:36Z",
"selfLink": "/api/v1beta1/services/monitoring-influxdb?namespace=default",
"resourceVersion": 40,
"namespace": "default",
"port": 80,
"protocol": "TCP",
"labels": {
"name": "influxdb"
},
"selector": {
"name": "influxGrafana"
},
"containerPort": 8086,
"portalIP": "<IP_ADDRESS>",
"sessionAffinity": "None"
}

Influxdb pod that matches the selector for 'monitoring-influxdb' service is running.
{
"id": "monitoring-influx-grafana-controller-182tv",
"uid": "4efedae0-d245-11e4-8342-42010af01a97",
"creationTimestamp": "2015-03-24T16:46:24Z",
"selfLink": "/api/v1beta1/pods/monitoring-influx-grafana-controller-182tv?namespace=default",
"resourceVersion": 271383,
"namespace": "default",
"generateName": "monitoring-influx-grafana-controller-",
"labels": {
"kubernetes.io/cluster-service": "true",
"name": "influxGrafana"
},
"desiredState": {},
"currentState": {
"manifest": {
"version": "",
"id": "",
"volumes": null,
"containers": null,
"restartPolicy": {}
},
"status": "Running",
"Condition": [
{
"kind": "Ready",
"status": "Full"
}
],
"host": "kubernetes-minion-agug.c.golden-system-455.internal",
"hostIP": "<IP_ADDRESS>",
"info": {}
}
}

Here are the endpoints from the apiserver:
{
"id": "monitoring-influxdb",
"uid": "19f7d91c-d1a6-11e4-aaa3-42010af01a97",
"creationTimestamp": "2015-03-23T21:46:45Z",
"selfLink": "/api/v1beta1/endpoints/monitoring-influxdb?namespace=default",
"resourceVersion": 101704,
"namespace": "default",
"protocol": "TCP",
"endpoints": null
}

Wonder why there are no endpoints.
cc @thockin

I ran into a similar issue where endpoints for monitoring-influxdb was not configured. In my case, the pod state took a long time to move to running (even though the containers on the machine were all running fine). But the endpoints were created as soon as the pod changed to state running.

Probed a bit further and it looks like the kubelet is not populating PodIP.

cc/ @vmarmol Can you take a quick look at this one?

FYI: I am still working on this issue.

Here is a little bit more updates:

PodIP is missing on all pods running on that particular node; but pods on other nodes with exact same kubelet do have PodIP associated with.

docker inspect shows that every pods on bad node have proper "NetworkMode":

g# docker inspect 3e8e367540e8  | grep -i networkMode
        "NetworkMode": "container:dfca0a343e3135918aa419c771ac6745e37ba2091837b91ca2a8ac62c2caf5b1",

docker inspect those pod infra containers, they all have proper IP assigned by docker.

The issue is that the kubelet does not ignore old network containers while computing pod status. Working on a fix.

Nice find :)
On Mar 26, 2015 5:50 PM, "Vish Kannan"<EMAIL_ADDRESS>wrote:

Closed #5997
https://github.com/GoogleCloudPlatform/kubernetes/issues/5997 via #6029
https://github.com/GoogleCloudPlatform/kubernetes/pull/6029.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5997#event-266488429
.


Timing of instantiation of logic objects

When should logic objects be instantiated? The design I often see is that the controller relies on logic objects, which are instantiated when the service is started. go-zero is designed to instantiate logic objects every time a request comes in, which wastes memory in high-concurrency scenarios. What are the benefits of this design？

I don't think this design creates a waste of memory. But it may cause memory jitter in high concurrency scenarios.


I saw this a couple weeks back and neglected to check it out...glad I did.
What he's doing is checking for a 'bob' on the HMD (Y axis?). Meaning you don't even have to Run in place, rather all you need to do is bounce a little. The Left Controller is merely a pointer, so if you instead hold it in your hand, you can use it to move forward and/or strafe just by rotating it slightly (no luck quickly going backwards unless you can turn your wrist as such hehe).
Pretty neat and interestingly, other than nearly losing my balance (funny that, your brain), I didn't feel any sensation that would lead to nausea (that my body is wont to do in VR).

I've seen this video, it's a pretty unique way of movement.
Yeah I think you're right @xEvoGx I think they're just using the controller position as a pedometer, check the shake on the axis and move accordingly based on the ferocity of the shake.

Well the HMD...the controller is nothing more than a pointer...but yes shaking your head up and down furiously is an alternative to bouncing or running in place lol! :)

Well as far as i understand it is like stonefox mentioned, i think he describes his method here a little better ->
Why put the tracking pucks on hips and not feet?
While it's very likely possible for this to work by tracking your feet, it would definitely be harder. This is because feet can move in less constrained ways (open or closed stance while running, ability to kick and move around wildly) which means that just like tracking the head, there is a lot more noise to have to be filtered as opposed to using the hips. That being said, there are definite benefits to including feet for additional input (kicking things, virtual leg representation, etc).

Nope it's the Headset, promise.
You don't have to put the left controller on your hips. I thought the way you guys did, and was hammering on the left controller, thrusting it up and down, side to side, jogging in place, nothing. Then I inadvertently 'bobbled' my head, and I started moving a tiny bit. So there's your eureka moment.
Great idea, but does become a bit much with the HMD flopping around, never mind how tiring it can be!
That being said YES, you do want pucks or such on your hips, though then you couldn't do the bounce trick as easily (you'd more than likely have to actually run in place).
Anyway you guys should give it a go to see what I'm talking about.

Just so you guys don't think I'm a crazy person! :)
https://www.youtube.com/watch?v=HO_JGtub5T8
Scroll down a couple Comment trees:
alexinaboxx 1 month ago
Question. Is the speed handled by the controllers vertical motion? As in 'bounce'?
Reply
deprecatedcoder 1 month ago
_+alexinaboxx Just HMD movement.  Controller is all about direction._

That makes sense, so you can run in one direction but turn your head to look in another direction

Would like to vote this up please

Would it work well to get the direction from the controller but having the controller more in a horizontal position relative to the ground so you could turn it in your hand without twisting your wrist? I know I tried a demo for something that did this mixed with touchpad moving and it worked well.

I think there are quite a few variations that could be played with here..
Any takers for someone to mock something up? :)

I will help in any way I can but I can barely program C#

@annabel82 You can test the running then :)

Sounds good :)

Just as side note for people, if you're interested in testing things then it's worth dropping into the slack channel (https://vrtk-slack-invite.herokuapp.com/) we're always looking for people to help out with ideas and testing. It's a good mix of skills and people in there.

It says invite limit reached :)

@annabel82 if you email me the email address you want to be invited on I can do a manual invite.
my email is thestonefox at gmail dot com
(i'm guessing the invite limit has been reached for the day)

Will be resolved by
https://github.com/thestonefox/VRTK/issues/602


Introduce Symfony 6.* compatibility

Altered some stuff to deviate as little as possible from the original DateTimeNormalizer

Hey @curlysanders, thank you for this!
I'm sorry, totally missed this PR.
I'm able to review and test it early next week, please bear with me.

Great stuff, thanks for your contribution @curlysanders!
I'll release this right away 🚀


fixfix run tpch_sf1_p1/tpch_sf1/explain error

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.43 seconds
load time: 572 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221027163545_clickbench_pr_34678.html


'function insertImport' in<EMAIL_ADDRESS>is different from 1.0.0-beta.15's source code

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
windows 10

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
cli version: 1.0.0-beta.15
node version : v6.6.0

Mention any other details that might be useful.
function insertImport in<EMAIL_ADDRESS>is different from
1.0.0-beta.15's source code:  packages/ast-tools/src/route-utils.ts. Why is that?

project<EMAIL_ADDRESS>
1.0.0-beta.15 source code

When I tried to build beta.15 source code from my local machine. the build output is same as source file. Please check that. Thanks
build from 1.0.0-beta.15 source code

Thanks! We'll be in touch soon.

@angular-cli/asp-tools is separate package. Now, it has version 1.0.1, published 7 days ago. Before #1961
New release of @angular-cli/asp-tools will fix this.

@ValeryVS Got it. Thanks.


Adding/removing stories do not automatically update in React Native (3.2)

Story lists (on device, and on web) no longer automatically add or remove stories as they are added or removed in the codebase. It currently requires a full refresh of the web and device to observe these changes.

@ajwhite I am seeing this bug in examples/react-native-vanilla on master and also on @rmevans9 's branch. However, I am also running a CRNA side project with the latest alpha (which should be equivalent to master) and it's updating fine.

After speaking with @shilman about this and taking a quick look at it here are my findings on this issue which could make it a non-issue:
React Native has Hot Module Reloading built into it. If you have it on the components of the app reload when a story is added and the menus (both on web and OnDeviceUI) update accordingly. If you have it off the app doesn't reload the stories and thus the story doesn't propagate to the menus.
CRNA uses Expo under the covers which I am fairly certain has a HMR type setup that is baked in during development which means when you update a story the RN app reloads the needed components and the stories appear in the menus.
I believe this is a non-issue as any sane RN dev that is working on adding stories should have HMR on.

Agree with @rmevans9 and closing. And here's a screenshot for anybody who runs across this issue:

@shilman Either that or the "Enable Hot Reloading" below will do. Personally I use "Enable Hot Reloading" because it updates the component in place without reloading the entire bundle. "Enable Live Reload" will reload the entire app bundle.


⚠ Bofrost.de has degraded performance

In 643e474, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 6078 ms

Resolved: Bofrost.de performance has improved in 75180ae.


use exact path in import

Seems like was missing from https://github.com/d3/d3/issues/3265 - or was unable to find appropriate branch

See the two branch.

; )


P value missing from RSA key

I tried transforming an *rsa.PrivateKey using gojwk.PrivateKey(key), which works fine. However, the P value of the resulting key is missing (P is not defined in gojwk.Key) which is required for (un-)marshalling using go-jose.

I am hitting the same issue when trying to import a key generated using gojwk using window.crypto.subtle.importKey in browsers.
Did you find a solution to this @aeneasr ?

For anyone ending up here as well, I switched to github.com/lestrrat-go/jwx which does seem to serialize the keys in a way browsers can import them just fine.


Listen files changes on server (project/sync)?

Overview
Currently, if a file changed outside of Open Data Editor it will bring the application into the inconsistent state. There should be a polling call to the server to listen for changes and update the state accordingly

Hi @roll! Just in case, check issue #344 first to understand is it is connected to this one


Add support for linking against terminfo.

I'm not aware of an effective external Bazel-style dependency, so this
only adds support for detecting and configuring a system-library. This
is somewhat more complex than other libraries because there are a few
different libraries that provide these APIs.
I've tried to ensure sufficient configuration hooks for these rules to
allow different users of LLVM to enable or not this functionality.

Note that this is intended as a follow-up to #25 -- Let me know if you want me to create an branch in the upstream repository to allow the diff to be reviewed w/o that.

Note that this is intended as a follow-up to #25 -- Let me know if you want me to create an branch in the upstream repository to allow the diff to be reviewed w/o that.

I can view the diff per-commit :-)


Call Sidekiq::Status.cancel with Ruby 3.0.0

I have upgraded ruby version to 3.0.0 and now I have problems with Sidekiq::Status.cancel method.
When I call Sidekiq::Status.cancel(job_id) it fails with error ArgumentError:        wrong number of arguments (given 4, expected 3), which comes from .rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/redis-4.2.5/lib/redis.rb:1961:in 'zrangebyscore'
I think, it can be fixed with updating this method
# Gets the batch of scheduled jobs based on input options
# Uses Redis zrangebyscore for log(n) search, if unix-time is provided
# @param [Hash] options, options hash containing (REQUIRED) keys:
#  -  conn: Redis connection
#  -  start: start score (i.e. -inf or a unix timestamp)
#  -  end: end score (i.e. +inf or a unix timestamp)
#  -  offset: current progress through (all) jobs (e.g.: 100 if you want jobs from 100 to BATCH_LIMIT)
def schedule_batch(options)
  options[:conn].zrangebyscore "schedule", options[:start], options[:end], {limit: [options[:offset], BATCH_LIMIT]}
end

to
  def schedule_batch(options)
    options[:conn].zrangebyscore "schedule", options[:start], options[:end], **{limit: [options[:offset], BATCH_LIMIT]}
  end

Can you add support for ruby 3.0.0?
Thanks.

Hi @durcak, support for Ruby 3 has been added in version 2.0.0, which is now maintained at https://github.com/kenaniah/sidekiq-status.


Pass Path provider to PathAsFileProvider to avoid creating private directories

https://github.com/SpongePowered/SpongeCommon/commit/f1cd78bc5e124b1fcec58a189c9e0cf06fa9495f

Merged, thank you :)


api docs: Document the POST /users/me/subscriptions/properties endpoint.

Testing Plan: test-api, mypy and lint checks passed locally. Made sure that the docs display properly.

Merged, after a bit of cleanup to the textual descriptions, thanks @YagoGG!
I opened https://github.com/zulip/zulip/issues/10673 for the ugly formatting that's present in this endpoint's documentation; we'll probably want a generic change to how that section of the page looks to fix this, so not really part of this PR.


feat(module/firehose): add schema validation

Add schema validation for firehose module

Moved to JSON Schema draft 7, to support if-then-else.
Ref: https://json-schema.org/draft-07/json-schema-release-notes.html


Write to gl_FragData instead of gl_FragColor for debug commands if MRT is used

Fixes (1) of #2448

Since this is a user-facing change, please update CHANGES.md.  Look at example throughout that file for how to word this.

@bagnell could you do the final review and merge?

Updated


Meting for help!

I want to connect the author of Meting, but it seems gone? His website is down.

@eliham hahahahah
just goto his repo for conversation ヾ(●゜ⅴ゜)ﾉ
or you can contact @metowolf on Telegram。

@eliham I live now. (｡･ω･｡)