NoClassDefFoundError in com.filestack.internal.Networking

This is in an Android app running in debug (i.e. no proguard/obfuscation). The client is unable to initialize. Here's the stacktrace:
java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.         at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59)         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)         at java.lang.Thread.run(Thread.java:764) Caused by: java.lang.NoClassDefFoundError: com.filestack.internal.Networking         at com.filestack.internal.Networking.getCdnService(Networking.java:87)         at com.filestack.Client.<init>(Client.java:48)         at com.myapp.app.support.DatabaseArchiver$uploadArchive$1.call(DatabaseArchiver.kt:172)         at com.myapp.app.support.DatabaseArchiver$uploadArchive$1.call(DatabaseArchiver.kt:47)         at rx.internal.operators.OnSubscribeFromCallable.call(OnSubscribeFromCallable.java:48)         at rx.internal.operators.OnSubscribeFromCallable.call(OnSubscribeFromCallable.java:33)         at rx.Observable.unsafeSubscribe(Observable.java:10150)         at rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)         at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:228)         at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)         at java.lang.Thread.run(Thread.java:764) Caused by: java.lang.ExceptionInInitializerError         at com.filestack.internal.Networking.getCdnService(Networking.java:87)         at com.filestack.Client.<init>(Client.java:48)         at com.myapp.api.sync.SyncService$SyncAdapter.onPerformSync(SyncService.java:153)         at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:321) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.InputStream java.lang.ClassLoader.getResourceAsStream(java.lang.String)' on a null object reference         at com.filestack.internal.Util.getVersion(Util.java:30)         at com.filestack.internal.HeaderInterceptor.<init>(HeaderInterceptor.java:22)         at com.filestack.internal.Networking.buildOkHtttpClient(Networking.java:33)         at com.filestack.internal.Networking.<clinit>(Networking.java:29)         at com.filestack.internal.Networking.getCdnService(Networking.java:87)         at com.filestack.Client.<init>(Client.java:48)         at com.myapp.api.sync.SyncService$SyncAdapter.onPerformSync(SyncService.java:153)         at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:321)
I'm using OKHTTP 3.11.0 currently - could this be why?

Just tested with an older version of OKHTTP (3.9.0) and still have the same issue.

Hey @jgadsby, do you use Filestack SDK inside of a SyncAdapter? Is this 0.9.0 version? Would you mind trying 0.8.2?
I see that there is some issue with acquiring the SDK version from system resources.

So, I tried 0.8.2 and the exception seems to disappear, but there's still something going wrong - when I place a log statement right after these two lines, the log statement is never called.
`
Log.d("FileStackHandler", "Creating client...")
// Create a Filestack client
val config = Config("<API KEY>")
val client = Client(config)

Log.d("FileStackHandler", "Created client")

`

Anyway, it doesn't matter right now as I'm unable to get the response via the library (see the other issue - https://github.com/filestack/filestack-java/issues/81). A slightly unrelated question: When I try to upload an image via the FileStack API and OKHTTP directly, I always get 'unexpected end of stream', but uploading a zip file works fine. Do I have to provide a content-length header?

Never mind - I figured out the OKHTTP upload issue. I needed to provide the following to my OkHttpClient.Builder:
        .pingInterval(1, TimeUnit.SECONDS)         .writeTimeout(60L, TimeUnit.SECONDS)

So, I tried 0.8.2 and the exception seems to disappear, but there's still something going wrong - when I place a log statement right after the client is created, the log statement is never called.
Log.d("FileStackHandler", "Creating client...")
    // Create a Filestack client
    val config = Config("<API KEY>")
    val client = Client(config)
    Log.d("FileStackHandler", "Created client")

Does this issue still exists?
Also - do you instantiate and use Client class inside of a SyncAdapter?


Investigate .bss usage of gSessions

1.1%  5.95Ki    ../../third_party/connectedhomeip/examples/common/chip-app-server/Server.cpp
79.6%  4.73Ki    .bss
37.1%  1.76Ki    (anonymous namespace)::gRendezvousServer
34.5%  1.63Ki    (anonymous namespace)::gTestPairing
28.4%  1.34Ki    (anonymous namespace)::gSessions

This issue is related to memory consumed by chip::Transport::PeerConnectionState mStates[16]; in SecureSessionMgrBase class. The memory consumption is related to number of peer connection states the object is maintaining. The number of peer connections is configurable by CHIP_CONFIG_PEER_CONNECTION_POOL_SIZE. So that could be used to reduce the memory consumption. But, if it is not significant amount of memory, maybe we should keep it to the default value.

Obsolete — gSessions doesn't even exist any more.


Spurious undefined variable error in type alias

 Environment data

Language Server version: 2023.8.40
OS and version: linux x64
Python version (and distribution if applicable, e.g. Anaconda): 3.10.7
python.analysis.indexing: true
python.analysis.typeCheckingMode: off

 Code Snippet
from __future__ import annotations

import asyncio
from typing import TypeVar, Generic, TypeAlias

RequestT = TypeVar("RequestT")
ResponseT = TypeVar("ResponseT")

class WorkItem(Generic[RequestT, ResponseT]):
    AsyncFut = asyncio.Future[TypeAlias[WorkItem[RequestT, ResponseT]]]

 Description
The above snippet causes pylance to emit undefined variable errors for WorkItem. This is something that mypy (at least version 1.5.1) accepts, and which, as far as I can tell, is correct. The exact error is "WorkItem" is not defined.

Actually, I'm not sure this is valid after all. I somehow apparently managed to get it imported once (or at least I very much imagine so), but now I see errors when running it... So this may instead be a case of mypy underreporting things than pylance overreporting.

If you run the above code, you'll see that the Python interpreter generates an exception "NameError: name 'WorkItem' is not defined". Pylance is telling you about this error, so it's not spurious.
I'll also point out that you're using TypeAlias incorrectly in your code. Refer to PEP 613 for details on how to use typing.TypeAlias.

I suspect that what you probably meant was the following:
from __future__ import annotations

import asyncio
from typing import TypeVar, Generic, TypeAlias

RequestT = TypeVar("RequestT")
ResponseT = TypeVar("ResponseT")

AsyncFut: TypeAlias = "asyncio.Future[WorkItem[RequestT, ResponseT]]"

class WorkItem(Generic[RequestT, ResponseT]):
    ...

Note that from __future__ import annotations enables deferred evaluation of type annotations only. It doesn't defer evaluations of value expressions.

Yes, you are correct (with the addition that I believe type aliases that refer to bound generic type variables are simply not supported by current type checkers). Thanks and sorry!


Found ']' where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace) at line 463,9 >>>        ]       }    ...

Amplify CLI Version
12.0.3
Question
When i try to push or run amplify status I get the following error....
 Found ']' where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace) at line 463,9 >>>        ]       }    ...
That is useful. But in what file is the problem?
And when I try to run amplify diagnose --send-report, I get the following error.
DiagnoseReportUploadError

NVM. I found it.


Double view with catchAll in config

Sorry for my english.
When add parameter 'catch All' to the config, the called view is displayed in succession twice.
For example, I install Yii2 basic (also true for advanced) and add to /config/web.php next:
'catchAll' => ['site/index'],
And i have double view index in my browser.

https://github.com/yiisoft/yii2-debug/issues/42

The assumption that catchAll is mostly only used in production mode is based on its use for maintenance mode (as per the example in the documentation), what about other scenarios that you may want to actually debug.
I am currently working on a user module that has the option to force a user to change their password before they do anything else and this seemed a likely option, noticing the issue led me here.
So how about some form of 'exceptUrls' option that works in conjunction with the catchAll - this would allow the debug URL to be specified as an exception.
It would also mean that in other situations standard error pages (or in my case the option to logout via URL) could also be added t the exception list.
At this point I think I am going to need to use application::beforeActiion or similar and re-create almost exactly the same functionality.


[REQUEST] Shuffle wordlist option in Job settings

Shuffle Wordlist
a good option,
no matter if can't resume anymore
although it is not impossible to have resume ability with this

That would be a good feature, but currently, the wordlist is not being loaded into memory, but it's read line by line. If you would want that to be added, it would require to load the entire wordlist into memory. Maybe I'll look into that later, after the native UI branch will be merged with current version.

Honestly I think he just wants to click a button and edit the source file directly. Am I wrong @Cyber-Criminal ?
Loading the entire wordlist into memory is not a good idea, some people use wordlists of a few gigabytes. I was doing this with OB1 and it was an issue ^^ Maybe in the future I will add a section with some tools to process wordlists but it's low priority right now.

@its5Q
@openbullet
can't load a chunk, shuffle and use, and then another chunk?
then can even resume after stop, by setting chunk size, and number of tested chunks

@Cyber-Criminal no sorry, this is out of scope for this software. It would add too much complexity on top of the current wordlists system. Use an external tool to shuffle.

@openbullet
yes, i agree you about that idea
but still you can add a tiny option to do this (with a warning about high ram usage of this feature and that can't use SKIP to resume the shuffled job that stopped before)
and, do you want to add a Tools section in OB2 in future?


Social — Puck Status Shows Globe on Relations View

The title says it all. The Puck Status is incorrect on the Relations view. This is most likely due to the Puck's status update code not recognising the context.

This was an odd one, as the thing worked for a time then stopped. Either way, the validateTimeline() function has been updated to ensure that the proper icon — and any future icons — are shown correctly.
Update is part of 20B200 and will be deployed momentarily.


chore: added CS questions on red-black trees

Summary of changes
added questions regarding algorithms and data structures
Checklist

[x] I have read and followed the contribution guidelines.
[x] I have read through the Code of Conduct and agree to abide by the rules.
[x] This PR is for one of the available issues and is not a PR for an issue already assigned to someone else.
[x] My PR title has a short descriptive name so the maintainers can get an idea of what the PR is about.
[x] I have provided a summary of my changes.

closes #XXXXX

Thanks for the comments Jessica


Fix detection of projects to build

Drive by fix
Restricts search of folders with Makefile file in them to only 2 folders deep as seen from the root, so examples/blink/Makefile is fine but not examples/blink/nested_util/Makefile

Thank you for doing this!


add support for building on aarch64

Adds support for building on aarch64.
I added a new libpistache.a file built on arm64 from the same revision that existing libpistache.a was built from. I called the new one libpistache-aarch64.a and renamed the old one to libpistache-x86_64.a. Cmake will select the correct one to compile against based on the architecture of the machine it's running on

@pkarumanchi9 @tharanga This patch adds support for ARM to get the dumper running on Gravitron instances. Feel free to merge it if you'd find it useful!

Compiled on Ubuntu Focal


Add gapic generated code for monitoring API

This is the same as https://github.com/googleapis/api-client-staging/tree/master/generated/ruby/google-cloud-ruby/google-cloud-monitoring

@swcloud Thanks, I just glanced over this, and for what it is, it LGTM.

@swcloud I created the monitoring label. ;)

@quartzmo Can you please take a look at why AppVeyor build failed on Environment: RUBY_VERSION=23-x64?

The failure was a gzip error during the bundle update. Might have been a networking issue during the build. I restarted it.

@blowmage Any update on the build?

Build is green.

Cool, Thanks!


The service doesn't work properly when there are for example more than 5 requests in a second

For example, the limitation is 5 requests per second.
if we did the requests by Postman or Browser all will work fine.
But if we use the script to make requests for example 1000 per second, the guard will not work and will forward a request to the controller.   @Throttle(5, 1)
I changed storage from Redis to memory and it works fine for 1000 requests for a second, and after 5 requests the guard is activating.
As I understand the logic written in functions addRecord and getRecord works very slowly, for that it's working when we make requests by the postman and doesn't work when we use the script for checking.

Which version of nestjs-throttler-storage-redis are you currently using? This should not be a problem with the latest 0.2.2 version.

the version is 0.2.2.
The issue is related to Redis storage. because without RedisStorage(in memory) the guard is working perfectly.
I think the logic written in addRecord and getRecord works very slowly, for it can't accumulate requests. @kkoomen

This is the script which I use for testing.
`
const axios = require('axios');
for (let i = 0; i < 1000; i++) {
axios
.get('http://localhost:9000/v1/test')
.then(({ data }) => console.count())
.catch((err) => {
console.log(err.toString());
});
}
`

This has been released in version v0.3.0 on NPM. Special thanks to @zhorakaroy for discovering this nasty bug. This was a good improvement for the nestjs throttler core package as well as for this package.


Dx 631/adding wallet connect

WIP for WalletConnect integration
QR code EIP 1328 does NOT work with WalletETH (only mobile wallet I've tested) <-- seems to be a bug

Travis automatic deployment:
https://pr420--dxreact.review.gnosisdev.com

Travis automatic deployment:
https://pr420--dxreact.review.gnosisdev.com

closing in favour of #489


Fix cflags for unix

This is a shot at fixing the distribution size for unix.   I changed the patterns so we can explicitly set the debug and optimization flags from platform.  The requires scrubbing all the existing flags in the sysconfig.
Also fixes a bug with coverage and tracing.   Not sure why the extension position is hard coded, but the number drifted when we added the jar to the extension list.

Should we consider using an newer c++ standard, eg. 17? I think on Windows we already use it

It is true that standard 11 is rather ancient.  We can play around with other standards at some point.   Not sure what is the oldest compiler that we are likely to encounter currently.   The only reason for the VC to use a later standard is that the nothrow logic didn't get turned on without it.   As we are not currently using any later C++ other features I am not seeing much in the way of compelling reasons to change.   My time is a bit limited today (even through it is listed as my scheduled day off), so I am going to just try to cut a patch release.


Second PDA initialization failed after upgrading anchor-lang and anchor-spl in Rust Cargo.toml to 0.19.0

Transaction simulation failed: Error processing Instruction 0: Program failed to complete
Program xyz123... invoke [1]
Program log: Instruction: InitPdaAcct
Program xyz123... consumed 1496 of 200000 compute units
Program failed to complete: Access violation in stack frame 5 at address 0x200005fd0 of size 8 by instruction #21232
Program xyz123... failed: Program failed to complete
Translating error SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete
at Connection.sendEncodedTransaction (...project1/node_modules/@solana/web3.js/src/connection.ts:3689:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Connection.sendRawTransaction (...project1/node_modules/@solana/web3.js/src/connection.ts:3649:20)
at sendAndConfirmRawTransaction (...project1/node_modules/@solana/web3.js/src/util/send-and-confirm-raw-transaction.ts:27:21)
at Provider.send (...project1/node_modules/@project-serum/anchor/src/provider.ts:114:18)
at Object.rpc [as initPdaAcct] (...project1/node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:24:23) {
logs: [
'Program xyz123... invoke [1]',
'Program log: Instruction: InitPdaAcct',
'Program xyz123... consumed 1496 of 200000 compute units',
'Program failed to complete: Access violation in stack frame 5 at address 0x200005fd0 of size 8 by instruction #21232',
'Program xyz123... failed: Program failed to complete'
]
}
After installing Anchor from 0.18.2 to  0.19.0 via npm global install,  my test file runs fine.
But after changing anchor-lang and anchor-spl from 0.18.2 to 0.19.0 in my Rust program Cargo.toml file then re-compile the Rust program, my test file failed at initializing a second PDA!!?? My first PDA was initialized no problem but why all subsequent PDA initialization failed!!??
    acctId = 0;
    pdaAcctBaseB = (
      await PublicKey.findProgramAddress(
        [
          Buffer.from(anchor.utils.bytes.utf8.encode('pda2')),
          walletB0.toBuffer(),
          Buffer.from(anchor.utils.bytes.utf8.encode(acctId + '')),
        ],
        program.programId
      )
    )[0];
    console.log('pdaAcctBaseB:', pdaAcctBaseB.toBase58());
    await program.rpc.initPdaAcct(
      acctId, {
      accounts: {
        pdaAcct: pdaAcctBaseB,
        authority: walletB0,
        systemProgram: anchor.web3.SystemProgram.programId,
      },
    });

Please advise. Thank you

Did you try using Box<Account<...>>?

Hi armaniferrante, thank you for the comment.
I can initialize a few other PDAs in the same way as initializing this DecimalAcct PDA, but when initializing this DecimalAcct PDA, it failed... WHY? I have updated my Rust code and test file code as above...
I tried Box<account<...>> but then the rust-analyzer said the following
the trait bound `DecimalAcct: anchor_lang::AccountSerialize` is not satisfied
the trait `anchor_lang::AccountSerialize` is not implemented for `DecimalAcct`rustcE0277
account.rs(13, 30): required by a bound in `anchor_lang::Account`

Please help. Thank you


builders: misc-vet-vetall flakes: undefined: importer.ForCompiler

I've trybotted golang.org/cl/152544 three times, and twice it gave the same misc-vet-vetall failure:
##### cmd/vet/all
# golang.org/x/tools/go/analysis/unitchecker
../../gopath/src/golang.org/x/tools/go/analysis/unitchecker/unitchecker112.go:8:24: undefined: importer.ForCompiler
vet/all: exit status 2

https://storage.googleapis.com/go-build-log/5004c83e/misc-vet-vetall_2594bb0d.log
https://storage.googleapis.com/go-build-log/0ce4e24a/misc-vet-vetall_d4638ddb.log
I'm pretty sure these failures are unrelated to the CL, so maybe the trybot is broken?
/cc @bradfitz

The importer.ForCompiler function was added yesterday in https://golang.org/cl/152258.  The vet test runs go build golang.org/x/tools/go/analysis/cmd/vet.  Is it possible that your sources do not have importer.ForCompiler but the builder does have an up to date golang.org/x/tools?  That is, do you just need to git codereview sync?

Is it possible that your sources do not have importer.ForCompiler but the builder does have an up to date golang.org/x/tools?

Oh, yes, I think that's probably it.
PS1 had the failure; PS2 (PS1 rebased at master) did not have it; but then I uploaded PS1 with tweaks (and without rebasing locally) as PS3 and had the failure again.
Thanks, sorry for the noise.


added new functionality for ticket id 2022

created greeting msg

@Rpa13  2022 is already completed by Bhavani so update with new ticket or comment


Crash in development environment

Version of mod: 1.0.2
Version of forge: 1614
When crash happens: Immediately upon joining world
Crash report:
crash-2021-09-04_19.05.58-server.txt
However it's pretty useless. More information is given in the console, namely:
http://hastebin.com/ukugapifuy.kotlin
Hoping you can take a look at this.

I'm guessing you're missing the program arguments for the mixin:
--tweakClass org.spongepowered.asm.launch.MixinTweaker --mixin satchels.mixin.json
Funnily enough, I was just thinking about adding this to the readme yesterday but forgot.

The crash still happens. In the log, I see "Completely ignored arguments: [--mixin, satchels.mixin.json]". Any idea as to why it's ignoring it?

You can ignore that message, it's not an error.
Does the crash happen with no other mods in the dev environment instance? Also, can you confirm Reference map 'satchels.mixin.refmap.json' for satchels.mixin.json could not be read. If this is a development environment you can ignore this message shows up in the log? That would confirm the mixin environment is running at least.

Sorry for the late reply. No, I cannot find Reference map 'satchels.mixin.refmap.json for satchels.mixin.json could not be read. If this is a development environment you can ignore this messagein the logs, but I can findRemapping refMap satchels.mixin.refmap.json using..` etc. So I think mixin loads just fine. I deleted all other mods from development environment and it loads just fine, so I assume it was an incompatibility. Sadly can't say which mod though, I just deleted all 25+ of them without thinking ahead. I apologize again.

Sorry for the late reply. No, I cannot find Reference map 'satchels.mixin.refmap.json for satchels.mixin.json could not be read. If this is a development environment you can ignore this messagein the logs, but I can findRemapping refMap satchels.mixin.refmap.json using..` etc. So I think mixin loads just fine. I deleted all other mods from development environment and it loads just fine, so I assume it was an incompatibility. Sadly can't say which mod though, I just deleted all 25+ of them without thinking ahead. I apologize again.

This is why you should always move files to the recycle bin first before permanently deleting them 😏
Just kidding, no worries. Glad it turned out to be just an incompatibility issue and not something more critical.


Publish artifacts with the TZDATA 2021a to maven

Hi,
First of all, thanks for this nice library.
Could you please publish the artifacts with the TZDATA 2021a to maven?
Because in maven the last version is 1.1.0-2020f.
https://mvnrepository.com/artifact/dev.zacsweers.ticktock/ticktock-runtime
Thanks

Thanks for releasing a new version 👍


Add type init functions in type_gen

Signed-off-by: GuoRentong<EMAIL_ADDRESS>

Codecov Report

Merging #1384 (3b404ce) into main (a2068cd) will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1384      +/-   ##
==========================================
+ Coverage   68.52%   68.72%   +0.19%
==========================================
  Files         295      295
  Lines       16161    16175      +14
  Branches     2611     2616       +5
==========================================
+ Hits        11075    11116      +41
+ Misses       4341     4315      -26
+ Partials      745      744       -1

Impacted Files
Coverage Δ

towhee/functional/mixins/column.py
76.66% <0.00%> (+12.46%)
:arrow_up:

towhee/functional/storages.py
65.33% <0.00%> (+29.61%)
:arrow_up:

Continue to review full report at Codecov.

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

/approve
/lgtm


V2 - QA Ticket - Roles and Permission Testing for Corporate Console Endpoints

This ticket is to track testing of roles and permission for endpoints related to V2 Corporate console

Testing In Progress for below endpoints
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/createCLAManager
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/deleteCLAManager
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCompanyProjectCla
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCompanyProjectEvents
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCompanyProjectActiveCla
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCompanyProjectCla
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/updateApprovalList
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getProjectCompanySignatures
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCLAProjectsByID
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/listCompanyProjectMetrics
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCompanyProjectContributors
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/requestCorporateSignature
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/createCLAManagerDesignee
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/createCLAManagerRequest

Testdata used for testing

_https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/getCompanyProjectContributors_

Contributor role. Project|Organization scope. Has access to same organization and only foundation. I am trying to fetch contributors of child project but 403 is returned


EC2 Instances can be created from AWS.

Added the AWS SDK - now lets EC2 instances get created.
Reworked some test cases for the Rest plugin and InstanceAdapter so that they are actually unit tests.

I'm going to assign this PR to Jeff for review tomorrow after comments are addressed / discussed.

The functional code is looking pretty good. However, the test cases still need some work. It may be helpful to think about test cases as formal proofs of correctness for the functional code and not just as assertions that a specific result was received as the result of a function call.

Closes #59.

Looks good. Thanks for all the hard work on this!


Feature request: Consul support

Consul has been gaining in adoption and mindshare over etcd recently, and has a lot of nice security properties as well.
What is tge stance on adopting consul as an alternative to etcd?

We have no plans atm to integrate Consul.

would you be open for a PR for adding it?

Perhaps, but fair warning, it would be non-trivial to add.

Good to know - I was not planning on juimping on it right now anyway, just good to know if it's a matter of "we don't want it" vs "no one's planning on dedicating timne for it " - maybe we can keep this issue open for potential future explorations of it :)

closing this issue as no plans to add and no forthcoming pr on this for a while


[BUG] Bloxstrap starting and ater launching closing, but on background processor bloxstrap hes working

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
So, i download bloxstrap and after launching he just crashing. No errors, just closing. What i need to do?

Can you confirm that Roblox without Bloxstrap works normally? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

Can you confirm that Roblox without Bloxstrap works normally? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

roblox without Bloxstrap works normally, but i need bloxstrap work

Are there any options in the Bloxstrap Menu that you've configured?

hey, im having same issue

Can you start by answering all the questions I asked above?

roblox without Bloxstrap works normally, but i need bloxstrap work.
Are there any options in the Bloxstrap Menu that you've configured?
nope ive used none. heres my log
2024-03-08T08:45:56Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-places.zip
2024-03-08T08:46:00Z [Bootstrapper::DownloadPackage.extracontent-luapackages.zip] Finished downloading! (9213229 bytes total)
2024-03-08T08:46:00Z [Bootstrapper::ExtractPackage] Reading extracontent-luapackages.zip...
2024-03-08T08:46:00Z [Bootstrapper::ExtractPackage] Read extracontent-luapackages.zip.   Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-97058ca6653344cd\ExtraContent\models...
2024-03-08T08:46:06Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-97058ca6653344cd-extracontent-textures.zip
2024-03-08T08:46:06Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-models.zip
2024-03-08T08:46:11Z [Bootstrapper::DownloadPackage.extracontent-textures.zip] Finished downloading! (10759972 bytes total)
2024-03-08T08:46:11Z [Bootstrapper::ExtractPackage] Reading extracontent-textures.zip...
2024-03-08T08:46:11Z [Bootstrapper::DownloadPackage.WebView2.zip] Downloading...
2024-03-08T08:46:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-97058ca6653344cd-WebView2.zip
2024-03-08T08:46:11Z [Bootstrapper::ExtractPackage] Read extracontent-textures.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-97058ca6653344cd\ExtraContent\textures...
2024-03-08T08:46:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-97058ca6653344cd-WebView2.zip
2024-03-08T08:46:11Z [Bootstrapper::DownloadPackage.WebView2.zip] Finished downloading! (81240 bytes total)
2024-03-08T08:46:11Z [Bootstrapper::ExtractPackage] Reading WebView2.zip...
2024-03-08T08:46:11Z [Bootstrapper::DownloadPackage.WebView2RuntimeInstaller.zip] Downloading...
2024-03-08T08:46:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-97058ca6653344cd-WebView2RuntimeInstaller.zip
2024-03-08T08:46:11Z [Bootstrapper::ExtractPackage] Read WebView2.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-97058ca6653344cd...
2024-03-08T08:46:11Z [Bootstrapper::ExtractPackage] Finished extracting WebView2.zip
2024-03-08T08:46:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-97058ca6653344cd-WebView2RuntimeInstaller.zip
2024-03-08T08:46:11Z [Bootstrapper::DownloadPackage.WebView2RuntimeInstaller.zip] Finished downloading! (1486447 bytes total)
2024-03-08T08:46:12Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-textures.zip
2024-03-08T08:46:12Z [Bootstrapper::SetStatus] Configuring Roblox...
2024-03-08T08:46:12Z [Bootstrapper::InstallLatestVersion] Writing AppSettings.xml...
2024-03-08T08:46:12Z [JsonManager<Dictionary2>::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json... 2024-03-08T08:46:12Z [JsonManager<Dictionary2>::Save] Save complete!
2024-03-08T08:46:12Z [Bootstrapper::ApplyModifications] Roblox is running, aborting mod check
2024-03-08T08:46:12Z [Bootstrapper::Register] Registered application
2024-03-08T08:46:12Z [Bootstrapper::RegisterProgramSize] Registering approximate program size...
2024-03-08T08:46:12Z [Bootstrapper::RegisterProgramSize] Registered as 507172 KB
2024-03-08T08:46:12Z [Bootstrapper::CheckInstall] Checking install
2024-03-08T08:46:12Z [App::OnStartup] Bootstrapper task has finished
2024-03-08T08:46:12Z [NotifyIconWrapper::Dispose] Disposing NotifyIcon
2024-03-08T08:46:15Z [App::OnStartup] An exception occurred when running the bootstrapper
2024-03-08T08:46:15Z [App::OnStartup] System.AggregateException: One or more errors occurred. (Access to the path '%UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe' is denied.)
---> System.UnauthorizedAccessException: Access to the path '%UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe' is denied.
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Bloxstrap.Bootstrapper.CheckInstall()
at Bloxstrap.Bootstrapper.Run()
at Bloxstrap.Bootstrapper.Run()
at Bloxstrap.App.<>c__DisplayClass56_0.<b__1>d.MoveNext()
--- End of inner exception stack trace ---

This isn't the same issue, you're getting an error message whereas OP isn't. Also, you should've read the Wiki. https://github.com/pizzaboxer/bloxstrap/wiki/"Access-to-the-path-is-denied"-error-when-trying-to-reinstall-Bloxstrap

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.

hi that part of error was finished but when bloxstrap says "startinng roblox" about midway bloxstrap closes and runs as a background proccess, roblox didnt open whatsoever.

roblox didnt open whatsoever.

Check to see if it's actually being caused by Bloxstrap first. https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch

ya can u add me on discord and I can screenshare so you can futher understand? Heres my discord.
awakenedmangekyou

Did you do what I asked?


(Question) Angular2 - Ng2StateDeclaration with nested views

I have this:
let states:Ng2StateDeclaration[] = [
  { name: 'users', url: '/', component: UsersComponent },
  { name: 'user', url: '/users/:id',component: UserComponent, params: {id: null} },
  { name: 'userimages', url: '/users/:id/images', view: {
    user: { component: UserImagesComponent }
  }}
];

And
@Component({
	template: `

{{id}}

About Me

Images

	<ui-view name="user"></ui-view>
  `
})

The user state is working well but How can I do work the state userimages? uiParams is not working with this state. @christopherthielen
Thanks in advance,

For nested views you probably want also nested states
instead of
  { name: 'userimages', url: '/users/:id/images', view: {
    user: { component: UserImagesComponent }
  }}

make userimages a child of user by naming it user.images.  Also the url will append to the parent url, so strip off the duplicated parts:
  { name: 'user.images', url: '/images', view: {
    user: { component: UserImagesComponent }
  }}

Hi @christopherthielen,
By now an example with /{id/ doesn't exist. I attach a plunkr and you could see what I am referring:
http://plnkr.co/edit/NGYsRuaoVgmWav9CdWbn

Here's a few issues with your plunker

view: should be views:

Note, however, I recommend avoiding named views, unless absolutely necessary.
Instead of:
  { name: 'user.images', url: '/images', views: {
    user: { component: UserImagesComponent }
  }}

it can be simply
  { name: 'user.images', url: '/images',  component: UserImagesComponent }

and in UserComponent simply <ui-view></ui-view>

links to children don't need to re-set existing parms.  By default ui-sref uses { inherit: true } so all existing parameter values are re-used

i also added a user.about sub state and wired it up

I also updated your links to use uiSrefActive to highlight the active tab.

About Me

Images

Note one of the links uses relative addressing (as an example) .about

Really nice. Thanks for the information @christopherthielen. I have updated the plnkr solving the mistakes:
http://plnkr.co/edit/4riHNG?p=preview

Hi, could you tell me how can I replace ui-view compnent? I have a list 'items', and I want to display detail replacing list view 'items.item'. I tried to do this with views, but it doesn't work


Fancy: Fix Emotion build

Fancy: Fix Emotion build
This update fixes the Fancy build by bumping Fancy to v2.2.6.

Pull Request Test Coverage Report for Build 1794

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

Totals

Change from base Build 1791:
0.0%

Covered Lines:
6959

Relevant Lines:
6959

💛  - Coveralls


Implement date trunc

My stab at closing #27.
Opted to always return a datetime without checking/evaluating date, which enables the users to also pass a column name to it.
For tests, I did not use/inherit from BaseDateTrunc because it casts the result as date, which fails for sqlite. But I made sure to include tests for different edge cases and truncating for each datepart.

@codeforkjeff @edgarrmondragon I do not have the rights to add reviewers, could you help  me with that?


CodeWhisper: Implement refactor pull-request-workflow

CodeWhisper autogenerated PR. Reply to this PR to have CodeWhisper make revisions.
fix: #14
there's a lot of duplicate code between processPullRequest and revisePullRequests, as well as different functions for issues and pull requests. there should be much more code reuse between the two.

CodeWhisper commit information
Summary
Refactored pull-request-workflow.ts to reduce code duplication between processPullRequest and revisePullRequests. Introduced shared functions for common operations. Improved code reuse between issues and pull requests. Updated related files to support the new structure.
Files we looked at

/Users/gregoryguterman/code/CodeWhisper/src/ai/pull-request-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/task-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/github/github-api.ts
/Users/gregoryguterman/code/CodeWhisper/tests/unit/task-workflow.test.ts
/Users/gregoryguterman/code/CodeWhisper/tests/fixtures/applyChanges/src/ai/task-workflow.ts

Potential Issues

The refactoring introduces new shared functions, which may require additional testing to ensure they work correctly in all scenarios.
Changes to the GitHub API interactions might need to be thoroughly tested with various edge cases.
The new structure might have a slight learning curve for developers familiar with the old code.

Next steps
You can reply to CodeWhisper with instructions such as:

"Revert the last commit"
"Fix the typo in line 10"
"Add a new function to the file"

there are still multiple functions that effectively apply changes
also let's rename the functions so they don't have things like PR at the end if they don't need it

CodeWhisper commit information
Summary
This refactoring improves code reuse between issue and pull request handling in the pull request workflow. It introduces a new shared context, combines common functionality, and simplifies the main workflow functions. The changes also improve error handling and add more consistent logging.
Files we looked at

/Users/gregoryguterman/code/CodeWhisper/src/ai/apply-changes.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/plan-review.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/pull-request-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/select-files.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/task-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/github/github-api.ts
/Users/gregoryguterman/code/CodeWhisper/src/types/index.ts

Potential Issues

The refactoring introduces some new abstractions, which might require developers to familiarize themselves with the new structure.
Some error handling has been generalized, which might make specific error cases slightly less detailed.
The changes assume that the existing GitHub API methods work as expected; any undocumented quirks in these methods might need to be addressed.

Next steps
You can reply to CodeWhisper with instructions such as:

"Revert the last commit"
"Fix the typo in line 10"
"Add a new function to the file"

CodeWhisper commit information
Summary
This refactoring improves code reuse between pull request and issue handling. It introduces a new shared context, consolidates duplicate functions, and streamlines the workflow for both pull requests and issues. The changes make the code more maintainable and reduce redundancy.
Files we looked at

/Users/gregoryguterman/code/CodeWhisper/src/ai/apply-changes.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/apply-task.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/pull-request-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/redo-task.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/task-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/undo-task-changes.ts
/Users/gregoryguterman/code/CodeWhisper/src/github/github-api.ts

Potential Issues

The refactoring introduces some changes to the existing workflow, which may require careful testing to ensure all functionality is preserved.
Some functions have been modified to handle both pull requests and issues, which might make them slightly more complex.
The changes assume that the existing error handling and GitHub API interaction patterns are sufficient, which may need to be validated in practice.

Next steps
You can reply to CodeWhisper with instructions such as:

"Revert the last commit"
"Fix the typo in line 10"
"Add a new function to the file"

CodeWhisper commit information
Summary
Refactored the pull-request-workflow to reduce code duplication and improve reusability. Created shared functions for processing both pull requests and issues, consolidated duplicate code in the GitHubAPI class, and improved type definitions for better consistency across the codebase.
Files we looked at

/Users/gregoryguterman/code/CodeWhisper/src/ai/apply-changes.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/apply-task.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/plan-review.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/pull-request-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/redo-task.ts
/Users/gregoryguterman/code/CodeWhisper/src/ai/task-workflow.ts
/Users/gregoryguterman/code/CodeWhisper/src/github/github-api.ts
/Users/gregoryguterman/code/CodeWhisper/src/types/index.ts

Potential Issues

The refactoring introduces some new abstractions which might require developers to familiarize themselves with the new structure.
There might be edge cases in the unified processing of pull requests and issues that need thorough testing.
The changes to the GitHubAPI class might affect other parts of the application that are not visible in the provided codebase.

Next steps
You can reply to CodeWhisper with instructions such as:

"Revert the last commit"
"Fix the typo in line 10"
"Add a new function to the file"


[CARBONDATA-1205] Use Spark 2.1 as default compilation in parent pom

From 1.2.0, there are many features developing based on Spark 2.1, so use Spark2.1 as default compilation in parent pom.

Can one of the admins verify this patch?

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3335/

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/78/

retest this please

apache2.1 retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3344/

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/86/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/746/

test

@chenliang613 even spark-common-test/pom.xml also has <skipTests>false</skipTests> , please remove it

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3350/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/752/

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/90/

LGTM


hpack-convert won't build with LTS11.4

$ stack install hpack-convert
Using latest snapshot resolver: lts-11.4

/private/var/folders/30/9xrf_jtx7618zqb1pyd1wyh40000gp/T/stack40077/hpack-convert-1.0.1/src/Hpack/Util.hs:106:21: error:
    • Couldn't match type ‘[[FilePath]]’ with ‘([[FilePath]], b0)’
      Expected type: IO ([[FilePath]], b0)
        Actual type: IO [[FilePath]]
    • In the second argument of ‘(<$>)’, namely
        ‘globDir compiledPatterns dir’
      In the first argument of ‘(>>=)’, namely
        ‘(fst <$> globDir compiledPatterns dir)’
      In a stmt of a 'do' block:
        files <- (fst <$> globDir compiledPatterns dir)
                   >>= mapM removeDirectories
    |
106 |   files <- (fst <$> globDir compiledPatterns dir) >>= mapM removeDirectories
    |                     ^^^^^^^^^^^^^^^^^^^^^

It would appear that the type signature for globDir changed in Glob-0.9.0.
Old: https://hackage.haskell.org/package/Glob-0.8.0/docs/System-FilePath-Glob.html#v:globDir
globDir :: [Pattern] -> FilePath -> IO ([[FilePath]], [FilePath])

New: https://hackage.haskell.org/package/Glob-0.9.0/docs/System-FilePath-Glob.html#v:globDir
globDir :: [Pattern] -> FilePath -> IO [[FilePath]]

This appears to be a simple job for -XCPP, assuming that nothing else is broken.

Any updates on this?

I observed the same error - with ghc 8.4.4
please fix!

I'm getting the same error on Windows 10

Any update for this? Doesn't work on newest resolver either, as far as my tries go :(

Interested as well for #16 integration.

Looks like we've still got this issue on LTS-15.5.

At the moment the hpack-convert won't build with the latest GHC (such as 9.8.1, ghc-9.4.8), and the official repository doesn't provide a windows binary release. This prevents you from using hpack-convert on windows.
You might built it via older snapshot by stack, but this require downgrading the stack version, which is annoying.
For ease of use, a windows binary is provided here.
It built on windows (lts-15.5) successfully and it works well, using @kindaro 's fork: https://github.com/kindaro/hpack-convert/commit/fa98909f18992713fba82d2033e04fdedb58592a

Please close this if everyone's happy -- (I can't recall what I was doing in 2018)  and I don't use stack anymore these days anyhow.


Watson Natural Language Understanding - custom model ID

Hi,
The REST API has a parameter for the model id, e.g. https://www.ibm.com/watson/developercloud/natural-language-understanding/api/v1/#entities
How does one specify the model id using the node red node? I don't see this as an input option from the documentation: https://github.com/watson-developer-cloud/node-red-labs/tree/master/basic_examples/natural_language_understanding although it has a link back to the REST API.
This seems too much of a glaring omission for it to really not be present, so I'm assuming I'm missing something?

Select the node, go to the info panel, scroll towards the bottom and all will be clear.


Adding authentication data publisher feature

Depends on following
https://github.com/wso2/carbon-identity-framework/pull/203
https://github.com/wso2-extensions/identity-data-publisher-authentication/pull/1
https://github.com/wso2-extensions/identity-local-auth-basicauth/pull/8


downloading Merra2 data

Hi,
I have encountered a problem using irradpy when downloading data. I mostly want longwave downwelling radiation and precipitation thus I modified the section in example_downloader.py correspondingly:
"rad": {
"esdt_dir": "M2T1NXRAD.5.12.4",
"collection": "tavg1_2d_rad_Nx",
"var_name": [ "SWGDN", "SWGDNCLR", "LWGNT", "LWGNTCLR"],
"standard_name": "radiation",
"least_significant_digit": 3,
                },
	"flx": {
                "esdt_dir": "M2T1NXFLX).5.12.4",
                "collection": "tavg1_2d_flx_Nx",
                "var_name": ["NIRDF", "NIRDR", "PRECTOTCORR"],
                "standard_name": "fluxes",
                "least_significant_digit": 3,

                },

However, other variaboes are still downloaded from the aer, slv and asm collections and at some point I get the following error:
INFO:root:----  Begin  Download  ----
INFO:root:* File from Date 2017-01-01 Begin to Download
INFO:root:* File from Date 2017-01-01 Finished Download With 1.41 Seconds
CRITICAL:root:% New File from Date 2017-01-01 Integrity Check Failed
INFO:root:---- Download Finished ----
INFO:root:---- Begin Merging In Daily Variables ----
INFO:root:* Processing Data In 2017-01-01...
INFO:root:% Merging Data For MERRA2_400.tavg1_2d_aer_Nx.20170101.nc4.nc
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/xarray-0.16.1-py3.6.egg/xarray/backends/file_manager.py", line 199, in _acquire_with_cache_info
file = self._cache[self._key]
File "/usr/local/lib/python3.6/dist-packages/xarray-0.16.1-py3.6.egg/xarray/backends/lru_cache.py", line 53, in getitem
value = self._cache[key]
KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('/home/gelac94/irradpy/Python-IrradPy-master/example/MERRA2_data/2017-1-1~2017-1-20 rad-slv-aer-asm [72,-80]~[74,-78]/MERRA2_400.tavg1_2d_aer_Nx.20170101.nc4.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False))]
Any help with that is highly appreciated!
Thank you in advance,
Georg

I noticed that you might have a typo for the esdt_dir in here:
"flx": {                 "esdt_dir": "M2T1NXFLX).5.12.4",                 "collection": "tavg1_2d_flx_Nx",
there is an extra ')', a quick fix would be:
"flx": {                 "esdt_dir": "M2T1NXFLX.5.12.4",                 "collection": "tavg1_2d_flx_Nx",
and it should work as expected!


add env var PYTHONUNBUFFERED

see discussion
https://neuromation.slack.com/archives/C9Z1UBC6A/p1576700962039100 and below

https://github.com/neuromation/template-base-image/issues/67 :-)

Done in base environment.


Initial connection takes 5-6 seconds in android phone & web browser with flash player

I am using nginx-rtmp, it works great 👍with 2 seconds latency , thanks Arut.
I am facing one weird issue, whenever the initial connection is established, its taking 5-6 seconds to start the stream, would like to know the root cause of the issue.
And whenever stream started playing, it plays smoothly.

Can overcome this by having keyframe frequency set to 1 in OBS

You got 2 second delay ?? How ? If I may ask ?
My conf is like 6 - 7 seconds....
Thanks !

Can you post your nginx configuration
On Sun 8 Apr, 2018, 12:11 AM MrFrieza<EMAIL_ADDRESS>wrote:

You got 2 second delay ?? How ? If I may ask ?
My conf is like 6 - 7 seconds....
Thanks !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arut/nginx-rtmp-module/issues/1237#issuecomment-379490379,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLmXTE4H0w11tGatJdspFs3PCR3G_Rnks5tmQh0gaJpZM4S4krn
.


[hotfix][connectors] fix shadowed NPE in elasticsearch sink connector

What is the purpose of the change
fix shadowed NPE in elasticsearch sink connector
in our product env, met NPE when using flink connector write data, but the NPE was shadowed.
Failed Elasticsearch bulk request: null

Brief change log
hotfix the logger
Does this pull request potentially affect one of the following parts:

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

Documentation

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

Thanks for this fix, merging ..

@flinkbot approve all


Error in nextjs

Hi there, I tried adding p5 support to a project done in nextjs/typescript. I've followed your guide in the next page but it still gives me the same error regarding @p5wrapper/react.
The error is the following:
<EMAIL_ADDRESS>Module parse failed: Identifier 'je' has already been declared (7762:41)
|                                 if (F ? k || ($ = !0, A(), k = !0) : $ = !!je.first, H = Math.max(0, Math.floor(H)), Q = Math.max(0, Math.floor(Q)), $) {
|                                     if (!re) throw new Error("First frame must include a { palette } option");
>                                     var [je, we, fe, De, he = 8] = [
|                                         G,
|                                         H,

No matter what I try it doesn't go away and I don't seem to find any references online

Hi there 👋
That is indeed a weird one. I just tested locally on a fresh project and nothing crashed so not sure what's happening with yours.

Can you share your repo / code?
What did you do to get to this point?
Did you ensure the project you're integrating to isn't the issue source?

Hi! Getting this as well on a fresh NextJS project. Here's the relevant source + versions:
./components/guide.js
import * as React from "react";
import { NextReactP5Wrapper } from "@p5-wrapper/next";

function sketch(p5) {
  p5.setup = () => p5.createCanvas(600, 400, p5.WEBGL);

  p5.draw = () => {
    p5.background(250);
    p5.normalMaterial();
    p5.push();
    p5.rotateZ(p5.frameCount * 0.01);
    p5.rotateX(p5.frameCount * 0.01);
    p5.rotateY(p5.frameCount * 0.01);
    p5.plane(100);
    p5.pop();
  };
}

export default function GuideSketch() {
  return <NextReactP5Wrapper sketch={sketch} />;
}

page.js
'use client';

import GuideSketch from '../components/guide';

const Home = () => {
  return (

My p5.js Sketch in Next.js

      <GuideSketch />

  );
};

export default Home;

jonbo@jonbo-mbp mib-editor-canvas % node --version
v18.17.0

versions output

jonbo@jonbo-mbp mib-editor-canvas % npm list --depth=0
<EMAIL_ADDRESS>/Users/jonbo/Github/mib-editor-canvas
├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/@p5-wrapper+next@1.0.2_@p5-wrapper+react@4.3.2_next@14.1.0_react-dom@18.2.0_react@18.2.0/node_modules/@p5-wrapper/next
├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/@p5-wrapper+react@4.3.2_react-dom@18.2.0_react@18.2.0/node_modules/@p5-wrapper/react
├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/@types+node@20.11.8/node_modules/@types/node
├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/@types+react-dom@18.2.18/node_modules/@types/react-dom
├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/@types+react@18.2.48/node_modules/@types/react
├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/autoprefixer<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/next@14.1.0_react-dom<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>-><EMAIL_ADDRESS>├──<EMAIL_ADDRESS>-> ./node_modules/.pnpm/react-dom<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>-><EMAIL_ADDRESS>├──<EMAIL_ADDRESS>-><EMAIL_ADDRESS>└──<EMAIL_ADDRESS>-><EMAIL_ADDRESS>

full error from build command (sorry for messy formatting)

jonbo@jonbo-mbp mib-editor-canvas % pnpm build

<EMAIL_ADDRESS>build /Users/jonbo/Github/mib-editor-canvas
next build

▲ Next.js 14.1.0
Creating an optimized production build ...
Failed to compile.
./node_modules/.pnpm/@p5-wrapper+react@4.3.2_react-dom@18.2.0_react<EMAIL_ADDRESS>Module parse failed: Identifier 'je' has already been declared (7759:41)
File was processed with these loaders:

./node_modules/.pnpm/next@14.1.0_react-dom<EMAIL_ADDRESS>./node_modules/.pnpm/next@14.1.0_react-dom<EMAIL_ADDRESS>You may need an additional loader to handle the result of these loaders.
|                                 if (F ? k || ($ = !0, A(), k = !0) : $ = !!je.first, H = Math.max(0, Math.floor(H)), Q = Math.max(0, Math.floor(Q)), $) {
|                                     if (!re) throw new Error("First frame must include a { palette } option");

                                var [je, we, fe, De, he = 8] = [

|                                         G,
|                                         H,
Import trace for requested module:
./node_modules/.pnpm/@p5-wrapper+react@4.3.2_react-dom@18.2.0_react<EMAIL_ADDRESS>./node_modules/.pnpm/@p5-wrapper+next@1.0.2_@p5-wrapper+react@4.3.2_next@14.1.0_react-dom@18.2.0_react<EMAIL_ADDRESS>./src/components/guide.js
./src/app/page.tsx

Build failed because of webpack errors

Any help appreciated - let me know if I can provide any more source.
Potentially another clue: my first approach was using https://www.npmjs.com/package/p5 directly with the following intermediary component:
import React, { useEffect } from 'react';
import p5 from 'p5';
import sketch from './sketch';

const MyP5Component = () => {
  useEffect(() => {
    new p5(sketch);

    return () => { /* Cleanup sketch if necessary */ };
  }, []); // Empty dependency array means it will run once on mount

  return
;
};

export default MyP5Component;

And this had a similar (but not identical) error:
<EMAIL_ADDRESS>Module parse failed: Identifier 'o' has already been declared (7314:37)
|                             if (g ? x || (d = !0, w(), x = !0) : d = Boolean(o.first), t = Math.max(0, Math.floor(t)), r = Math.max(0, Math.floor(r)), d) {
|                                 if (!a) throw new Error("First frame must include a { palette } option");
>                                 var [o, h, f, p, m = 8] = [
|                                     v,
|                                     t,
This error occurred during the build process and can only be dismissed by fixing the error.

So that leads me to believe this might be upstream of this wrapper package.
Thanks again!

Found this thread. Downgrading next to 14.0.4 as th commenter mentioned fixed the issue.

Firstly: what an amazing and detailed outline of the issue, thank you for that 🙏🏻❤
Secondly: so it's a NextJS upstream issue, interesting.
Which of these would you like me to do:

Add this to the documentation?
Pin the NextJS version?

I wouldn't do both and option 2 might annoy some people with fresh next installs but I don't know, what do you think? Is there another option you'd suggest other than these?

My gut goes to option 1 since it's not totally clear that it breaks for everyone yet and there might be other stuff people are expecting in the latest version of Next that wouldn't be there.
Perhaps a message near the install commands to the effect of, there's a known issue with the latest version of Next. Pinning to version 14.0.4 is a current known workaround. {full command example} / any more context.

Downgrading to<EMAIL_ADDRESS>fixes the issue, thanks a lot to everyone who kindly responded :)

I'll update the docs today, thank you for the input everyone 🙏🏻


Fix for issues #360 & #365

Fixed issues #360 && #365. Please review and let me know if any changes are required.

Hi @RKornu, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi Ramana, this is unfortunately still missing CLA (Contribution License Agreement), so we can't process the PR until that's signed. You can sign CLA from https://cla.microsoft.com.
Second challenge is the actual implementation. It's valid and does indeed work, but there's potential can of worms with this one. We are NOT exporting content in the PnP engine by design, since that's much more difficult than it first looks and we do not want to start transforming PnP engine to content migration side. We do export welcome page and style library data natively with the new releases, but anything else should be done using extensibility providers. @PaoloPia is in fact working on example on getting this included as extensibility provider.
We are also working on new template model where serialized template and associated assets are actually stored in OpenXML file (advance zip file) and therefore, they will be kept in sync more easily. Right now the best option would be to add needed css files and other assets to associated xml files manually. This does work as well as a short term solution.

Closed due now follow up and solution was not really optimal.


Example of TransferOperator working on BoxFuns

Is there an example of a system with "oscillating" sets, ie sets with eigenvalue -1 for the TransferOperator? I know the Lorenz system would work, but we already used that so it might be nice to have a new system.
With this system we can calculate a BoxFun with eigenvalue -1 and write:
(lambda, ev) = eigs(T; which=:SR)   # get ev with smallest real part ":SR", should be -1
μ = ev[1]

μ_categorical = >(0) ∘ real ∘ μ    # split μ into positive and negative real parts

plot(μ_categorical)    # two sets that "oscillate" between each other

Tμ = T * μ
Tμ_categorical = >(0) ∘ real ∘ Tμ

plot(Tμ_categorical)    # we see the two sets "swap"

Resolved with #91


Shading breaks

Hey, is it known that shading is broken when a deformer has been added to a mesh? On the left the original mesh, on the right when a deformer has been added.

Yes this is a known limitation.
Deform recalculates normals the same way as Unity's Mesh.RecalculateNormals, albeit multithreaded. Deform/Unity's runtime normal calculation is actually different from the high-quality normal calculation Unity uses in a mesh's import settings. There's more info here, but the tldr is: it's very expensive to calculate smooth normals for split vertices at runtime, so split vertices will result in a hard edge. However I understand the expectation for normals to remain unchanged and this a very common/reasonable request, so it's something I'd like to solve - even if it's recommend to weld split verts where you want a smooth edge.

Gave smoothing angle support another go and seem to have gotten it working. Have done minimal testing, but you can add the package via this url if you want to give it a try
https://github.com/keenanwoodall/Deform.git#feature/smooth-normals

Closing this issue and will post any updates at #16

Oh wow, that's amazing - thanks a lot for picking this up! I'll give it a go and report back on my findings. Again - thank you!


ip6_tables not installed in vagrant demo

Seen in the CoreOS vagrant up demo in the Felix logs.
ip6tables-save v1.4.21: Cannot initialize: iptables who? (do you need to insmod?)

2015-10-21 20:46:27,444 [ERROR][7354/6] calico.felix.actor 233: Exception processing 7f95d8c99f7a (_load_chain_names_from_iptables)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/calico/felix/actor.py", line 231, in _step
    result = msg.method()
  File "/usr/local/lib/python2.7/dist-packages/calico/felix/fiptables.py", line 187, in _load_chain_names_from_iptables
    self.table])
  File "/usr/local/lib/python2.7/dist-packages/gevent/subprocess.py", line 167, in check_output
    raise ex
CalledProcessError: Command '['ip6tables-save', '--table', 'filter']' returned non-zero exit status 1

Looks like ip6_tables is not installed anymore after the checksystem --fix changes.

Looks like an issue with the way we're calling modprobe in node_start(..)
We run the following:
modprobe xt_set ip6_tables

Which appears to install xt_set, but not ip6_tables.  I think we need to include the -a option on modprobe, which indicates that it should treat all arguments as modules to be installed.
e.g
modprobe -a xt_set ip6_tables

D'oh. Thanks for investigating.


Add puppet doc page and fix archive path error that broke build

This patch does the following:

Fixes the path issue when packaging the puppet scripts in jenkins-build-geowave.sh
Updates the list of rpms available to include the geowave-puppet rpm
Adds a documentation page showing examples of how to configure geowave using the puppet module

Coverage remained the same when pulling d99db9b0b96c33bbfcca6085793a60cf57d1c814 on GEOWAVE-180-puppet-packaging-bug into da8feddb5f90074b33e271d4f78b09727be435d6 on master.


Saving large graphs to S3 fails with InternalError: : Unable to connect to endpoint

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes; modified Tensorflow save/load example code to save a few large tensors to S3
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): Binary
TensorFlow version:
Git version: v1.3.0-rc1-3504-g27767d8
Tensorflow version: 1.4.0-rc1
Python version: 2.7.12
Bazel version (if compiling from source): N/A
CUDA/cuDNN version: 8.0
GPU model and memory: Nvidia Tesla K80 (12 GiB RAM)
Exact command to reproduce: Run the code in this gist in a Python shell. You'll need access to an S3 bucket for which you have write permissions.

Describe the problem
I'm trying to save a large (~380 MB) graph to S3, but my call to tf.Saver.save() crashes after ~1 min with what appears to be an AWS SDK error (InternalError: : Unable to connect to endpoint).
If the error is indeed AWS related, it'd be helpful to wrap it in something to indicate that the error isn't coming from tensorflow. Here's the stacktrace:
---------------------------------------------------------------------------
InternalError                             Traceback (most recent call last)
<command-5036518> in <module>()
----> 1 test_save(num_tensors=10, tensor_size=10000000, save_path="s3://<redacted_s3_bucket_name>/model.ckpt")

<command-5036204> in test_save(num_tensors, tensor_size, save_path)
     18     sess.run(init_op)
     19     # Save the variables to disk.
---> 20     save_path = saver.save(sess, save_path)
     21     print("Model saved in file: %s" % save_path)

/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.pyc in save(self, sess, save_path, global_step, latest_filename, meta_graph_suffix, write_meta_graph, write_state)
   1571           model_checkpoint_path = sess.run(
   1572               self.saver_def.save_tensor_name,
-> 1573               {self.saver_def.filename_tensor_name: checkpoint_file})
   1574         else:
   1575           self._build_eager(

/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in run(self, fetches, feed_dict, options, run_metadata)
    887     try:
    888       result = self._run(None, fetches, feed_dict, options_ptr,
--> 889                          run_metadata_ptr)
    890       if run_metadata:
    891         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)

/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in _run(self, handle, fetches, feed_dict, options, run_metadata)
   1118     if final_fetches or final_targets or (handle and feed_dict_tensor):
   1119       results = self._do_run(handle, final_targets, final_fetches,
-> 1120                              feed_dict_tensor, options, run_metadata)
   1121     else:
   1122       results = []

/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
   1315     if handle is None:
   1316       return self._do_call(_run_fn, self._session, feeds, fetches, targets,
-> 1317                            options, run_metadata)
   1318     else:
   1319       return self._do_call(_prun_fn, self._session, handle, feeds, fetches)

/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in _do_call(self, fn, *args)
   1334         except KeyError:
   1335           pass
-> 1336       raise type(e)(node_def, op, message)
   1337
   1338   def _extend_graph(self):

InternalError: : Unable to connect to endpoint
	 [[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, v0/_1, v1/_3, v2/_5, v3/_7, v4/_9, v5/_11, v6/_13, v7/_15, v8/_17, v9/_19)]]

Caused by op u'save/SaveV2', defined at:
  File "/tmp/1509404428358-0/PythonShell.py", line 990, in <module>
    launch_process()
  File "/tmp/1509404428358-0/PythonShell.py", line 986, in launch_process
    shell.executor.run()
  File "/tmp/1509404428358-0/PythonShell.py", line 263, in run
    self.shell.shell.run_cell(command_id, cmd, store_history=True)
  File "/tmp/1509404428358-0/PythonShell.py", line 572, in run_cell
    super(IPythonShell, self).run_cell(raw_cell, store_history, silent, shell_futures)
  File "/databricks/python/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2741, in run_cell
    interactivity=interactivity, compiler=compiler)
  File "/databricks/python/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2833, in run_ast_nodes
    if self.run_code(code):
  File "/databricks/python/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2883, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<command-5036518>", line 1, in <module>
    test_save(num_tensors=10, tensor_size=10000000, save_path="s3://databricks-mllib/tmp/s3-save-failure/model.ckpt")
  File "<command-5036204>", line 13, in test_save
    saver = tf.train.Saver()
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1218, in __init__
    self.build()
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1227, in build
    self._build(self._filename, build_save=True, build_restore=True)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1263, in _build
    build_save=build_save, build_restore=build_restore)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 748, in _build_internal
    save_tensor = self._AddSaveOps(filename_tensor, saveables)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 296, in _AddSaveOps
    save = self.save_op(filename_tensor, saveables)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 239, in save_op
    tensors)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_io_ops.py", line 1163, in save_v2
    shape_and_slices=shape_and_slices, tensors=tensors, name=name)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
    op_def=op_def)
  File "/databricks/python/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1470, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InternalError (see above for traceback): : Unable to connect to endpoint
	 [[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, v0/_1, v1/_3, v2/_5, v3/_7, v4/_9, v5/_11, v6/_13, v7/_15, v8/_17, v9/_19)]]

If I run the same code but checkpoint to my local filesystem the save op runs without error.
The error also only seems to occur for large graphs (running the linked gist with smaller/fewer tensors works)

@asimshankar Can you comment on this one?

@asimshankar I was able to reproduce this error locally with tensorflow 1.4rc1, I'll update the issue description!

@smurching If you could reproduce it locally, could you remove the "If I run the same code but checkpoint to my local filesystem the save op runs without error." from your initial description?
Is the stack trace the same for the local error as well?
Lastly, are you running this on a relatively memory constrained device?

My mistake, by "locally" I meant to say on a single machine -- I'm still trying to checkpoint to S3, with the stacktrace appearing as shown above. I'm running on a p2.xlarge AWS EC2 instance, which AFAIK has 61 GB RAM.

I am facing the same issue!
Trying to train a Faster RCNN Nasnet and put the checkpoints into an S3 bucket.
Would very much appreciate any feedback

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

@smurching As @jkinkead mentioned, adjusting S3_REQUEST_TIMEOUT_MSEC could help addressing the timeout issue when the graph is too large. I will close this issue for now, but feel free to reopen and continue the discussion if the issue persists.

@yongtang   where to set S3_REQUEST_TIMEOUT_MSEC ?

@jasstionzyf via environment variables - see https://github.com/tensorflow/tensorflow/pull/15899/files

#Training the model
print(f'Beginning Training!')
current_time = datetime.now()
estimator.train(input_fn=train_input_fn, max_steps=num_train_steps)
print("Training took time ", datetime.now() - current_time)
Beginning Training!
INFO:tensorflow:Calling model_fn.
INFO:tensorflow:Calling model_fn.
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
/home/ec2-user/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
INFO:tensorflow:Done calling model_fn.
INFO:tensorflow:Done calling model_fn.
INFO:tensorflow:Create CheckpointSaverHook.
INFO:tensorflow:Create CheckpointSaverHook.
AbortedError                              Traceback (most recent call last)
 in
2 print(f'Beginning Training!')
3 current_time = datetime.now()
----> 4 estimator.train(input_fn=train_input_fn, max_steps=num_train_steps)
5 print("Training took time ", datetime.now() - current_time)
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/util/smdebug.py in run(*args, **kwargs)
55     if pre_hook:
56       args, kwargs = pre_hook(function, *args, **kwargs)
---> 57     return_value = function(*args, **kwargs)
58     if post_hook:
59       post_hook(function, return_value, *args, **kwargs)
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py in train(self, input_fn, hooks, steps, max_steps, saving_listeners)
368
369       saving_listeners = _check_listeners_type(saving_listeners)
--> 370       loss = self._train_model(input_fn, hooks, saving_listeners)
371       logging.info('Loss for final step: %s.', loss)
372       return self
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py in _train_model(self, input_fn, hooks, saving_listeners)
1159       return self._train_model_distributed(input_fn, hooks, saving_listeners)
1160     else:
-> 1161       return self._train_model_default(input_fn, hooks, saving_listeners)
1162
1163   def _train_model_default(self, input_fn, hooks, saving_listeners):
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py in _train_model_default(self, input_fn, hooks, saving_listeners)
1193       return self._train_with_estimator_spec(estimator_spec, worker_hooks,
1194                                              hooks, global_step_tensor,
-> 1195                                              saving_listeners)
1196
1197   def _train_model_distributed(self, input_fn, hooks, saving_listeners):
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py in _train_with_estimator_spec(self, estimator_spec, worker_hooks, hooks, global_step_tensor, saving_listeners)
1488         config=self._session_config,
1489         max_wait_secs=self._config.session_creation_timeout_secs,
-> 1490         log_step_count_steps=log_step_count_steps) as mon_sess:
1491       loss = None
1492       any_step_done = False
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py in MonitoredTrainingSession(master, is_chief, checkpoint_dir, scaffold, hooks, chief_only_hooks, save_checkpoint_secs, save_summaries_steps, save_summaries_secs, config, stop_grace_period_secs, log_step_count_steps, max_wait_secs, save_checkpoint_steps, summary_dir)
582       session_creator=session_creator,
583       hooks=all_hooks,
--> 584       stop_grace_period_secs=stop_grace_period_secs)
585
586
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py in init(self, session_creator, hooks, stop_grace_period_secs)
1018         hooks,
1019         should_recover=True,
-> 1020         stop_grace_period_secs=stop_grace_period_secs)
1021
1022
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py in init(self, session_creator, hooks, should_recover, stop_grace_period_secs)
717
718     for h in self._hooks:
--> 719       h.begin()
720
721     worker_context = distribute_coordinator_context.get_current_worker_context()
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/training/basic_session_run_hooks.py in begin(self)
555
556   def begin(self):
--> 557     self._summary_writer = SummaryWriterCache.get(self._checkpoint_dir)
558     self._global_step_tensor = training_util._get_or_create_global_step_read()  # pylint: disable=protected-access
559     if self._global_step_tensor is None:
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/summary/writer/writer_cache.py in get(logdir)
61       if logdir not in FileWriterCache._cache:
62         FileWriterCache._cache[logdir] = FileWriter(
---> 63             logdir, graph=ops.get_default_graph())
64       return FileWriterCache._cache[logdir]
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/summary/writer/writer.py in init(self, logdir, graph, max_queue, flush_secs, graph_def, filename_suffix, session)
365     else:
366       event_writer = EventFileWriter(logdir, max_queue, flush_secs,
--> 367                                      filename_suffix)
368
369     self._closed = False
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/summary/writer/event_file_writer.py in init(self, logdir, max_queue, flush_secs, filename_suffix)
65     self._logdir = str(logdir)
66     if not gfile.IsDirectory(self._logdir):
---> 67       gfile.MakeDirs(self._logdir)
68     self._event_queue = six.moves.queue.Queue(max_queue)
69     self._ev_writer = pywrap_tensorflow.EventsWriter(
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/lib/io/file_io.py in recursive_create_dir(dirname)
436     errors.OpError: If the operation fails.
437   """
--> 438   recursive_create_dir_v2(dirname)
439
440
~/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/lib/io/file_io.py in recursive_create_dir_v2(path)
451     errors.OpError: If the operation fails.
452   """
--> 453   pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(path))
454
455
AbortedError: All 10 retry attempts failed. The last failure: Unknown: : No response body.

I am running the above script on sagemaker and getting the error. Please help me out.

I'm using TFX on KubeFlow with Minio as S3 backend and I'm also encountering this issue. Any update?

For us, this had to do with not running Minio in erasure mode: https://github.com/minio/minio/issues/11481.


Check window.autoDetectHighContrast on window load

Complete the fix of #17279. Previous PR #17394 only affected the case when switching Windows theme with VSCode.
This PR ensures VSCode won't start in High Contrast theme if windows.autoDetectHighContrast is false.

Hi @geirsagberg, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


"refresh" button on job table "info" calls API with wrong payload

Open job-table page
Open a job "info" modal
Click the refresh button

This results in the following (wrong) API call
INFO:     <IP_ADDRESS>:57428 - "GET /api/v1/job/undefined HTTP/1.1" 422 Unprocessable Entity

EDIT: this is not always the case, but I did observe it.
I'll see if I can narrow down the source of the error.

You click the refresh button within the modal or within the main jobs table?

Within the modal. And the modal itself already showed a lot of "undefined", so it's not a problem of the API call itself but rather a problem of the job-related information retrieval.

I'm not really able to reproduce this issue. When I navigate between multiple projects and workflow jobs pages I don't experience this issue.


Fix missing variable 'done'

Fix running mocha test.js fail because variable done is not defined

@danielstjules, can you confirm you accidentally pushed this file?

Yeah, that file must've been committed by accident, see #1724.


Persistent menu component without flashing

Right now it doesn't appear to be possible to use a <Menu /> component as persistent while interacting inside the menu and only closing when clicking outside the menu without the menu flashing on every click inside. It's not always possible to use e.stopPropagation() on elements inside the menu. This behavior appears on the docs page as well.

This is a known problem with material-components-web. In 38 / 39 they've released the menu-surface component which will be part of the next release of RMWC.

Fixed with 1.9 release. Use new MenuSurface component.

I'm having trouble with a Select inside a MenuSurface. Since the Select is actually outside the MenuSurface DOM element the onClose event gets triggered. The open/close animation still runs even though the "open" props is not touched.
Perhaps it's an antipattern to have a Select in a menu but why does the animation run even though the open prop is untouched?

Hi @fhollste! I have a problem with this as well. This is an area where I've been pushing to have it fixed upstream. Basically, it comes down to trying to marry Reacts unidirectional data flow to components that don't necessarily respect that kind of pattern. In this case specifically, the animation is triggered before RMWC ever has a chance to do anything about it. Forcing the menu back open seemed like at least a step in the right direction until material gets it fixed on their end. Otherwise, correcting this would result in overriding a bunch of the internal menu code.
https://github.com/material-components/material-components-web/issues/4357

Long time coming but I found a way to monkey patch the internal problem and fix it.

Fixed in 6.0.0.


Gym Environment for the real robot

Description
Adapt the CubeEnv from the simulation to work with the real robot.
How I Tested
Used it for submissions in simulation.  Not thoroughly tested yet.
Especially not yet tested on the real robot.

@mwuethri With the last commit, users can easily switch to using the simulation directly.  They need to do a small change in the code and the options are not ideal for this setup (e.g. it always uses the same goal), but it shows the general concept, so they should be able to adapt it to their needs.


CollapseItemAnimator support of changed index of animated item

The lib needs to support change of index of animated item resulting in 2 subsequent calls for that anim item:

notifyItemChanged(indexBeforeTransition)
notifyItemMoved(indexBeforeTransition, indexAfterTransition)


Duplicate Branched-Chain Ketoacid Dehydrogenase Reactions

Current behavior:
There are currently two parallel/redundant reactions/pathways for oxidative decarboxylation of 2-oxo-3-methylvalerate (MAM00669m) and 3-methyl-2-oxobutyrate (MAM00824m):

ID
Reaction
Notes

MAR03748
3-methyl-2-oxobutyrate [m] + CoA [m] + NAD+ [m] ⇒ CO2 [m] + NADH [m] + isobutyryl-CoA [m]
One-step version

MAR06416
3-methyl-2-oxobutyrate [m] + H+ [m] + lipoamide [m] ⇒ CO2 [m] + S-(2-methylpropanoyl)-dihydrolipoamide [m]
First step of three-step version

MAR06417
CoA [m] + S-(2-methylpropanoyl)-dihydrolipoamide [m] ⇔ dihydrolipoamide [m] + isobutyryl-CoA [m]
Second step of three-step version

MAR06409
H+ [m] + NADH [m] + lipoamide [m] ⇔ NAD+ [m] + dihydrolipoamide [m]
Third step of three-step version

MAR03780
2-oxo-3-methylvalerate [m] + CoA [m] + NAD+ [m] ⇒ 2-methylbutyryl-CoA [m] + CO2 [m] + NADH [m]
One-step version

MAR06419
2-oxo-3-methylvalerate [m] + H+ [m] + lipoamide [m] ⇒ CO2 [m] + S-(2-methylbutanoyl)-dihydrolipoamide [m]
First step of three-step version

MAR06420
CoA [m] + S-(2-methylbutanoyl)-dihydrolipoamide [m] ⇒ 2-methylbutyryl-CoA [m] + dihydrolipoamide [m]
Second step of three-step version

MAR06409
H+ [m] + NADH [m] + lipoamide [m] ⇔ NAD+ [m] + dihydrolipoamide [m]
Third step of three-step version

Expected feature/value/output:
This situation is analogous to the situations in #524 and #633; these are reactions catalyzed by the branched-chain alpha-ketoacid dehydrogenase (BCKDH) complex, which uses lipoic acid (bound to a lysine residue on one of the subunits, hence the lipo amide) as a cofactor (source). In line with the changes we made when resolving the duplicate representations of the other alpha-ketoacid dehydrogenase complexes, I think the one-step versions, i.e. MAR03748 and MAR03780, should be removed.
Proposed changes:

[ ] Remove MAR03748 for being a duplicate of MAR06416 + MAR06417 + MAR06409
[ ] Remove MAR03780 for being a duplciate of MAR06419 + MAR06420 + MAR06409

Very clear, makes sense, go ahead please

fixed by #743


npm install

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

beautify
Hoo
1.1.1

(1 theme extensions excluded)

Steps to Reproduce:

Reproduces without extensions: Yes/No

I need details of the issue.

Hi,
139/5000
I am trying to install "npm" with the npm install command but it does not
work, I append the error please its help.
Regards,
Diego Molina
2017-09-05 12:43 GMT-05:00 Rob Lourens<EMAIL_ADDRESS>
I need details of the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/33851#issuecomment-327251044,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeIz50KpQAb0OgY31INclrrHGEGVpgYDks5sfYgggaJpZM4PNMy0
.

--
Saludos,
Diego Molina

What is the error? What exactly are you trying to install? I need to know exactly what's going on to help you.

Hi,
I trying to install "npm install".
2017-09-05 15:04 GMT-05:00 Rob Lourens<EMAIL_ADDRESS>
What is the error? What exactly are you trying to install? I need to know
exactly what's going on to help you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/33851#issuecomment-327287445,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeIz5y5c-oRavMXcKEyMphxcw7Bt3yZUks5sfalPgaJpZM4PNMy0
.

--
Saludos,
Diego Molina

Please tell me exactly what steps to take and what the problem is, and what error messages you see, otherwise I can't do anything.

Hi, diegofmolina,
Can you please say exactly what are you trying to do?
I mean what exactly are you typing?

Hello,
Thank you very much for your concern, the problem that I have already
solved.
Apologies for my english
Greetings from Ecuador south america.
Diego Molina
2017-09-07 5:34 GMT-05:00 Ayushman Kishore Dash<EMAIL_ADDRESS>
Hi, diegofmolina,
Can you please say exactly what are you trying to do?
I mean what exactly are you typing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/33851#issuecomment-327761458,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeIz5y-SNUo-QjpDp1pRjFYtUXAavHZrks5sf8a7gaJpZM4PNMy0
.

--
Saludos,
Diego Molina


urlopen error SSL: CERTIFICATE_VERIFY_FAILED

System OS
MacOS
Python Version
3.7 (CPython)
Install Source
Termux Installation Script (spotDL provided)
Install version / commit hash
425
Expected Behavior vs Actual Behavior
I have the error : URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate (_ssl.c:1007)>
this morning on all my downloads attempts.
Yesterday it was working normally.
No changes on my computer between.
I load the darwin file version 4.2.5 from the mac OS terminal.
Mac OS : 14.4.1
Steps to reproduce - Ensure to include actual links!
I load a personal playlist, in spot DL, and all the downloads failed.
Traceback
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate (_ssl.c:1007)>
ERROR:    Failure downloading Litty (feat. Tory Lanez)
ERROR:    Error downloading!
INFO:     <IP_ADDRESS>:50981 - "POST /api/download/url?url=https:%2F%2Fopen.spotify.com%2Ftrack%2F5J5PXmMdQ2nh1lZOal8KmK&client_id=d5c34c04-7e76-4ce1-9c8d-7ac0462076e3 HTTP/1.1" 500 Internal Server Error

Other details
I have the error : URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate (_ssl.c:1007)> this morning on all my downloads attempts.
Yesterday it was working normally.
No changes on my computer between.
I load the darwin file version 4.2.5 from the mac OS terminal.
Mac OS : 14.4.1

On OSX? You need to install SSL certificates
Navigate to Applications/Python 3.10, and double click Install Certificates.command
(Change 3.10 to relevant version number)


CNDB-11988: Bump jvector to 3.0.4

What is the issue
Fixes: https://github.com/riptano/cndb/issues/11988
What does this PR fix and why was it fixed
Bumps the jvector release to introduce some optimizations for PQ memory utilization and cosine similarity computations.
Checklist before you submit for review

[ ] Make sure there is a PR in the CNDB project updating the Converged Cassandra version
[ ] Use NoSpamLogger for log lines that may appear frequently in the logs
[ ] Verify test results on Butler
[ ] Test coverage for new/modified code is > 80%
[ ] Proper code formatting
[ ] Proper title for each commit staring with the project-issue number, like CNDB-1234
[ ] Each commit has a meaningful description
[ ] Each commit is not very long and contains related changes
[ ] Renames, moves and reformatting are in distinct commits

Ship it!


Add es.json

Added es.json

Merged with thanks, gracias!

Your welcome. This needs to add the Spanish language on the module.json but I'm not sure about how do it that.


prompt.py: Allow quitting with CTRL-D. Before it threw an exception.

When in the prompt users press CTRL + D, it threw an Exception before. Added an exception handler to quit the prompt.
This solution is recommended in the prompt-toolkit example here: https://github.com/jonathanslenders/python-prompt-toolkit/tree/master/examples/tutorial

Coverage remained the same at 51.04% when pulling 0a88321e4cf88ec2bd0f2e835b44864269b20c0f on metachris:master into f9526bb660186a7e793ba8dc095c900875cf648f on CityOfZion:master.

Coverage remained the same at 51.04% when pulling a8e0a8f5e0cda5da35efe057edd7813efcf9c03f on metachris:master into f9526bb660186a7e793ba8dc095c900875cf648f on CityOfZion:master.

👍


#629: remove deprecated super(props) from components

Summary
This PR addresses issue 629, which removes the deprecated super(props) invocations from React components in favour of super(). No functionality is otherwise affected.
Change Type: Refactor
Breaking changes
None
Testing required
No testing required.
Documentation
No change to documentation should be required.

Howdy @zachary-cauchi! Greatly appreciate the PR. Since a bit after this PR last year we worked on introducing hooks instead and decided to go down that route.
While this work won't get merged in I hope that in the future if you see any other improvements you still are willing to give us that feedback and I'm making sure we can be better aligned with getting enhancements like this out to people faster!
Once again thank you!


Não consigo restaurar equipes que excluí a 5 dias. Porque?

Fiz tudo que está aqui e minha equipe do Teams não aparece na lista dos que podem ser restaurados. Faz 6 dias que exclui. Preciso urgente!

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


adjust semver normalization to correctly handle build metadata on prerelease

Normalization right now adds a '.' character in front of the prerelease build information, which results in a bad version string.
Before: (SemVer.Parse "3.0.0-alpha+ci-008").Normalize() ==> "3.0.0-alpha.+ci-0008"
After: (SemVer.Parse "3.0.0-alpha+ci-008").Normalize() ==> "3.0.0-alpha+ci-0008"

closing because I think I found a larger issue that need to be addressed.