Matching pancancer expression to metadata

Hi @gwaygenomics @cgreene
I would like to map samples (index values) in pancan_scaled_rnaseq.tsv.gz to the metadata tcga-clinical_data.tsv.
Currently the index values for the rnaseq are not unique and I am unable to match them to the metadata.
Could you please advise on how, for example, I could subset the pancancer data to just a single cancer subtype (tying it to the metadata).

pancan_scaled_rnaseq.tsv.gz includes sample level information while tcga-clinical_data.tsv includes patient level information. The sample level information identifiers are much more descriptive than the patient level information.
Mapping between the two files can be done by subsetting TCGA barcodes. Info here: https://docs.gdc.cancer.gov/Encyclopedia/pages/TCGA_Barcode/
This file might also be helpful: https://github.com/greenelab/pancancer/blob/master/data/sample_freeze.tsv

Isn't it the opposite?
pancan_scaled_rnaseq.tsv.gz looks like this:

Where as the clinical data contains the full barcode.

in either direction, the mapping can be done the same way. I don't think i've used the portion_id column though. Is there a sample_id column or something similar?

This file: https://github.com/greenelab/pancancer/blob/master/data/sample_freeze.tsv
made it trivial. Thanks


[SW-81] DEX token – Token detail

Is this the correct display in token transactions? The AE token is displayed among the TAEX9-A/TAEX9-B:

When I click on this tx for more details I will get this info:

If I have a token on wallet balance, then  there should be transactions with it, but there are none:

I have a couple of tokens on my balance with the same name, but with different contracts. Is this ok?


fix bundler

Update brochure pipeline
Fix bundler

@rgreinho , it looks like I'm getting a similar error to yesterday's error:

Can you retry on branch #59 and after removing the output folder?

@rgreinho, I pulled branch https://github.com/PeopleForBikes/brokenspoke/pull/59, deleted the output folder and reran the pipeline. Looks like brochure.pdf got renamed to scorecard.pdf but the bundler is still having trouble with it.

My bad @lalver1 I kind of mixed the 2 PRs 🤦
This PR (#73), is the one that should solve the bundler problem.


Add comparison to intensional polymorphism in readme

Intensional polymorphism or intensional type analysis is an idea related to how our representation polymorphism is handled that should probably be mentioned in the readme.

See also the paper on TIL: https://www.cs.cmu.edu/~rwh/papers/til/pldi96.pdf

(BTW it's spelled intensional with an S :)

Oops, thanks!

@glaebhoerl (or others): Do you think the comparison in the above commit is fair?

I'm not an expert. According to @AndrasKovacs, Sixten's representation and the one you're contrasting it to in the comment both qualify as being intensional polymorphism. Maybe he can explain it better :)

Yeah, that'd be interesting to hear! Hopefully @AndrasKovacs will see this.
Sixten would qualify if we take "intensional polymorphism" to mean the use of type representations at runtime, which might be what Andras is thinking of. And I also think this is a reasonable definition of the term. However, in [1] it seems to me that they're thinking of a more specific thing when they use it:
By "intensional polymorphism", we mean that constructors and terms can be constructed via structural recursion on types.

Structural recursion on types is not supported in Sixten, neither in the surface language or any intermediate languages.
[1] Harper, Robert, and Greg Morrisett. "Compiling polymorphism using intensional type analysis." Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages. ACM, 1995.

Merging what I have now. Feel free to continue the discussion, suggest edits, etc.


Add docs for b2d migration

When https://github.com/docker/machine/pull/979 it will need docs to assist users in the migration from boot2docker to machine (this usage is self-evident to us, but not clear to new users). Let's add them!  cc @ehazlett @SvenDowideit @tianon

@nathanleclaire thanks!  You beat me to the issue :)

Closing this -- we can continue the review in #1051


Hey

This program looks really interesting. What program would I need to download to start?

This is a library, not a program: you might want to check https://0xinventory.app/, this is an app using loot-rarity :slightly_smiling_face:


Incorrect Output when query has a subquery

Driver version
Latest version: v2.0.900
Redshift version

Client Operating System
Win10 Enterprise
Version: 10.0.19042 Build 19042
Python version
3.9.7
Table schema
Table Schema.txt
Problem description
Using redshift_connector produces incorrect outputs.
The initial query was initially created in SQL Workbench /J.
The query initially was a SELECT with a subquery SELECT.
It was re-written with a WITH block to see if that helped with the incorrect output. It did not.
I tried the same query with psycopg2 - worked perfectly. (see pictures attached)

Expected behaviour:

Actual behaviour:

Any other details that can be helpful:

Python Driver trace logs

Reproduction code
See attached pics. Obviously, I had to redact or hide the Redshift server and user login credentials... and some other potentially sensitive information.

Hey @donde-esta-la-biblioteca ,
Thanks for reaching out regarding this issue. We will investigate and respond with our findings shortly.

Hi @donde-esta-la-biblioteca ,
As a temporary measure, please pass client_protocol_version=1 to the redshift_connector.connect() method.
Additionally, could you please share the Redshift server version in which this issue is seen. This can be retrieved by executing select version();.

Hi @Brooke-white,
I've updated the original ticket with the Redshift server version.
The temporary measure worked perfectly.
Thanks!

Hi,
I am experiencing the same issue with negative results when running a subquery. The temporary measure suggested doesn't fix the problem.

Hey @galmog , could you please open a new issue including the version of redshift-connector you are using as well as the server version. Also please explain what is meant by "negative result"? What Redshift datatype is this behavior seen for?

Driver version
Latest version: v2.0.900
Redshift version
PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.38214
Client Operating System
Ubuntu 20.04.4
Python version
3.9.7
I am hesitant to include full screenshots due to sensitive information. My query does contain a subquery and these are the results I am getting. By negative results I meant I am getting negative numbers where they don't make sense, and I know for sure that they should not be negative. Some of the numbers are correct and others are wrong. I've cropped the last column in the pictures but these are corresponding rows.

Expected behaviour from redash:

Actual behaviour:

Hi @galmog ,
Thank you for providing these details. I looked into this issue on my cluster, having server version 1.0.38361, and was unable to reproduce. This could be due to the test I am using (included below) or a server change that resolved this issue.
Could you please provide the following to assist my investigation?

Column definition for daily_avg e.g. `decimal(32,3)
Output showing actual and expected value for daily_avg column. A way to achieve this is doing some query like select daily_avg as actual, cast(daily_avg as varchar) as expected. This can help me identify which values are seeing issue and where the issue originates (either the driver due to conversion error, or the server sending an incorrect value)
Has the server version for your cluster upgraded? If so, please provide the new version. Also, please confirm if the issue still occurs.

How I am trying to repro this issue:
        for test_val in ('1.0', '1.23', '12.3', '123.45', '123456789.89', '-1.0', '123.34', '9999999.777'):
            cursor.execute("select cast(cast(%s as decimal(32,3)) as varchar) as expected, cast(expected as decimal(32,3)) as actual;", (test_val,))
            print(cursor.fetchone())

['1.000', Decimal('1.000')]
['1.230', Decimal('1.230')]
['12.300', Decimal('12.300')]
['123.450', Decimal('123.450')]
['123456789.890', Decimal('123456789.890')]
['-1.000', Decimal('-1.000')]
['123.340', Decimal('123.340')]
['9999999.777', Decimal('9999999.777')]


ValueError: Gas estimation failed: 'execution reverted'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.

Hi,
I tried to run 'scripts/advanced_collectible/create_collectible.py'
but got this error. Kindly help:

Running 'scripts/advanced_collectible/create_collectible.py::main'...
File "brownie/_cli/run.py", line 49, in main
return_value, frame = run(
File "brownie/project/scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File "./scripts/advanced_collectible/create_collectible.py", line 11, in main
transaction = advanced_collectible.createCollectible(
File "brownie/network/contract.py", line 1692, in call
return self.transact(*args)
File "brownie/network/contract.py", line 1565, in transact
return tx["from"].transfer(
File "brownie/network/account.py", line 642, in transfer
receipt, exc = self._make_transaction(
File "brownie/network/account.py", line 725, in _make_transaction
raise VirtualMachineError(e) from None
File "brownie/exceptions.py", line 121, in init
raise ValueError(str(exc)) from None
ValueError: Gas estimation failed: 'execution reverted'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.

My question where should I set the gas limit properly?
create_collectible.py
`from brownie import AdvancedCollectible, accounts, config
from scripts.helpful_scripts import get_oubreed
import time
STATIC_SEED = 123
def main():
dev = accounts.add(config['wallets']['from_key'])
advanced_collectible = AdvancedCollectible[len(AdvancedCollectible) - 1]
transaction = advanced_collectible.createCollectible(
STATIC_SEED, "None", {"from": dev})
transaction.wait(1)
requestId = transaction.events['requestedCollectible']['requesId']
token_id = advance_collectible.requestIdToTokenId(requestId)
time.sleep(45)
oubreed = get_oubreed(advanced_collectible.tokenIdToBreed(token_Id))
print('breed of tokenId {} is {}'.format(token_id, oubreed))`
oubreed is correct as I modified as it is.
brownie-config.yaml
`dependencies:

<EMAIL_ADDRESS><EMAIL_ADDRESS>compiler:
solc:
remappings:

"<EMAIL_ADDRESS>"<EMAIL_ADDRESS>dotenv: .env
wallets:
from_key: ${PRIVATE_KEY}
from_mnemonic: ${MNEMONIC}

networks:
default: development
rinkeby:
vrf_coordinator: "0xb3dCcb4Cf7a26f6cf6B120Cf5A73875B7BBc655B"
link_token: "0x01be23585060835e02b77ef475b0cc51aa1e0709"
keyhash: "0x2ed0feb3e7fd2022120aa84fab1945545a9f2ffc9076fd6156fa96eaff4c1311"
fee:<PHONE_NUMBER>00000000`
thanks

Thanks for this issue, it's likely that you don't have enough ETH or LINK to run the commands. What network are you on?

Hi Patrick, thanks for responding, im using rinkeby network and I have enough fund on my ETH and link (7 ETH and 96 LINK).
this is my cmdbrownie run scripts/advanced_collectible/create_collectible.py --network rinkeby
is there anywhere I should set the gas limit then?

Yes, you can set it when you make the contract call, but the real resolution should be in running your scripts in order, you shouldn't have to set the limit.
Did you run the following scripts in this order?

brownie run scripts/advanced_collectible/deploy_advanced.py --network rinkeby
brownie run scripts/advanced_collectible/fund_collectible.py --network rinkeby
brownie run scripts/advanced_collectible/create_collectible.py --network rinkeby

?

Thank you so much Patrick! Now it works after I re-run again all those following scripts in order!


Removes React.PropTypes in favor of PropTypes

Removes React.PropTypes in favor of PropTypes which was already being imported, but not being used.

Thanks~


Package.bat is not working

When I try to run package.bat it closes without making a .pak file in the specified directory, the pack_compressed.bat doesn't work either.

Make sure you have Python 3.8 or 3.9 installed and added to your PATH environment variable, and that the path in Tools/user_settings/package_output.txt has the file name and extension in it, like the example. Also make sure that the folder part of the path exists.


[SPARK-25318]. Add exception handling when wrapping the input stream during the the fetch or stage retry in response to a corrupted block

SPARK-4105 provided a solution to block corruption issue by retrying the fetch or the stage. In that solution there is a step that wraps the input stream with compression and/or encryption. This step is prone to exceptions, but in the current code there is no exception handling for this step and this has caused confusion for the user. The  confusion was that after SPARK-4105 the user expects to see either a fetchFailed exception or a warning about a corrupted block. However an exception during wrapping can fail the job without any of those.  This change adds exception handling for the wrapping step and also adds a fetch retry if we experience a corruption during the wrapping step. The reason for adding the retry is that usually user won't experience the same failure after rerunning the job and so it seems reasonable try to fetch and wrap one more time instead of failing.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #95726 has started for PR 22325 at commit ec069b3.

Test build #95726 has finished for PR 22325 at commit ec069b3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95726/
Test PASSed.

Merged build finished. Test PASSed.

it seems that it is safer to not merge the two exception handling, since doing that will require moving around or removing some val that isn't clear why are there.  Merging and removing originalInput has caused the test "successful 3 local reads + 2 remote reads" in ShuffleBlockFetcherIteratorSuite to failed by a message like:
org.mockito.exceptions.verification.NeverWantedButInvoked: inputStream.close(); Never wanted here: -> at org.apache.spark.storage.ShuffleBlockFetcherIteratorSuite$$anonfun$1$$anonfun$apply$mcV$sp$1.apply$mcVI$sp(ShuffleBlockFetcherIteratorSuite.scala:131) But invoked here: -> at org.apache.spark.storage.ShuffleBlockFetcherIterator.next(ShuffleBlockFetcherIterator.scala:474)   at org.apache.spark.storage.ShuffleBlockFetcherIteratorSuite$$anonfun$1$$anonfun$apply$mcV$sp$1.apply$mcVI$sp(ShuffleBlockFetcherIteratorSuite.scala:131)   at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
If we change the test in lines 131 to 137 by increasing the number of times that inputStream.close() is expected to be called by one, the test will be passed. I think that kind of make sense since we are moving "input" to the inside of the try and will probably increase the number of expected close() calls by one. However I'm not sure if I understand the purpose of that test correctly and don't feel confident for that change.

If the test fails with your change you're introducing a change of behavior that breaks things, and you should fix it.
I don't see why that is a reason for not merging both code paths. They're part of the same thing, it's just a matter of doing it correctly.

Or maybe the test needs to be updated. Either way, not a reason not to merge your changes with the existing code.

@vanzin well I will send the updated PR as soon as I can finish more tests and that way my concern of breaking stuff will be more clear.
I think no change will be merged by committers if I don't fix test failures. Thanks for the reminder.

Test build #96265 has started for PR 22325 at commit e64374d.

Test build #96267 has started for PR 22325 at commit a7ea2d6.

Test build #96267 has finished for PR 22325 at commit a7ea2d6.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96267/
Test FAILed.

Test build #96269 has started for PR 22325 at commit 7ec6de2.

Test build #96269 has finished for PR 22325 at commit 7ec6de2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96269/
Test FAILed.

Test build #96265 has finished for PR 22325 at commit e64374d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96265/
Test FAILed.

Test build #96285 has started for PR 22325 at commit 4983d69.

Test build #96285 has finished for PR 22325 at commit 4983d69.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #96315 has started for PR 22325 at commit 16caa5b.

Test build #96315 has finished for PR 22325 at commit 16caa5b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96315/
Test FAILed.

Merged build finished. Test FAILed.

Looking at the unit-test.log and stacktrace the failed test doesn't seem to be related to this change. There is errors like this
18/09/19 20:47:53.776 shuffle-server-4270-1 ERROR TransportRequestHandler: Error sending result RpcResponse{requestId=6746278841050456034, body=NioManagedBuffer{buf=java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]}} to /<IP_ADDRESS>:48772; closing connection io.netty.handler.codec.EncoderException: java.lang.OutOfMemoryError: Java heap space
and
18/09/19 20:47:53.779 shuffle-client-4263-1 ERROR TransportResponseHandler: Still have 1 requests outstanding when connection from localhost/<IP_ADDRESS>:43662 is closed 18/09/19 20:47:53.780 shuffle-client-4263-1 ERROR NettyBlockTransferService: Error while uploading test_a1 java.io.IOException: Connection from localhost/<IP_ADDRESS>:43662 closed
Sounds flaky

Test build #96370 has started for PR 22325 at commit 296f65b.

Test build #96370 has finished for PR 22325 at commit 296f65b.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96370/
Test FAILed.

Flaky again. retest this please

Jenkins, retest this please.

Test build #4348 has started for PR 22325 at commit 296f65b.

The above test build is not working. I know that that there was a problem with jenkins earlier today. I appreciate if one of the committers fire another test when they think the problem is resolved. @vanzin  @squito @jiangxb1987

retest this please

Test build #96522 has started for PR 22325 at commit 296f65b.

Test build #96522 has finished for PR 22325 at commit 296f65b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96522/
Test PASSed.

retest this please

Test build #96565 has started for PR 22325 at commit 296f65b.

Test build #96565 has finished for PR 22325 at commit 296f65b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96565/
Test FAILed.

retest this please

Test build #96581 has started for PR 22325 at commit 296f65b.

LGTM

Merging to master / 2.4.

Thank you very much @vanzin @jiangxb1987


duplicate items when running update and upgrade

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Update/upgrade of installed formulae/casks when running any of brew install [formula], brew upgrade, or brew cask upgrade.
NB: This is identical to #420 and #714, both of which were resolved/closed without identifying the root cause of the issue. Also, unlike those two prior reports of this problem where it appeared the problem might be caused by homebrew-hombrew being tapped twice, it doesn't appear that my install has that tapped twice...
What happened (include command output)
Outdated formulae/casks appear to upgrade without issue, but every formula in the output list appears twice

Command output

What you expected to happen
Would expect that the items in the output list appear only once.
Step-by-step reproduction instructions (by running brew commands)
This issue occurs whether I run brew install [formula], brew update, or brew upgrade.
Output of brew config and brew doctor commands

➜  ~ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /opt/local/bin/icu-config
  /opt/local/bin/freetype-config
  /opt/local/bin/libpng16-config
  /opt/local/bin/libpng-config
  /opt/local/bin/xml2-config
  /opt/local/bin/ncursesw6-config
  /opt/local/bin/uuid-config
  /opt/local/bin/ncurses6-config

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Warning: Broken symlinks were found. Remove them with `brew cleanup`:
  /usr/local/bin/zoom-us-wrapper
➜  ~ brew config
HOMEBREW_VERSION: 2.2.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: fa8fe0fc396550c23156043cd07550fc6ae6a27a
Last commit: 13 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ca173c85d4734c1a083f5d7c9d545f49eaee6399
Core tap last commit: 14 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: quad-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1103
Git: 2.26.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 14
macOS: 10.15.4-x86_64
CLT: 1<IP_ADDRESS>
Xcode: N/A

it doesn't appear that my install has that tapped twice

You appear to have both caskroom/cask and homebrew/cask tapped. They are aliases to each other. I'd try untap the older caskroom/cask.


Could you also fix this issue?

Hello, as you can see this issue creates in 2019 but still had no fix for it, is it possible that you can fix it with Seldgehammer?
https://github.com/DarkPacks/SkyFactory-4/issues/1279

Please test the fix in Sledgehammer v2.0.4-BETA
Make sure to set item-duplication under the realfilingcabinet to true in the config.
The issue appears to be realfilingcabinet modifying the ItemStack from the Forge ItemStackHandler, Forge JavaDocs clearly state to NOT modify the ItemStack.
From quickly testing it does appear to fix the issue however there is some weird desync in WAILA where the amount will keep increasing, opening the Transfer Node and then opening or closing the Filing Cabinet does force it to show the correct value.


IDE Support

What is the level of IDE support and what is the roadmap to improve this?

Closing. Please reopen if you still have questions.


Duplicate active and rest intervals on reset

Arrays were not being cleared/reset properly. See this post about why https://stackoverflow.com/a/1232046/759563

resolves #15


[✨] Let us know if the current page being rendered is an MDX page or a regular JSX page

Is your feature request related to a problem?
Since you have made writing MDX much easier than other frameworks (it works out of the box, and it works pretty well), we decided to use it.
However, we now have this problem. Let's say in layout.jsx we have this layout:
<Header>
<main>
    <Slot />
</main>
<Footer />

And we also have these pages:
- about
    - index.mdx
- contact
    - index.jsx

We now want to centralize styling <main> element in our layout.jsx based on the file being rendered. If it's an MDX file, we would apply a different style (for example prose from Tailwind Typography).
Of course in this example, we can check the routes and apply styles conditionally. But in a real-world app with more than 50 routes, it's not efficient.
Describe the solution you'd like
It would be awesome if we can get a flag in our layouts, telling us whether the current route belongs to an MDX file or not.
For example:
const layout = component$({ isMdx }) => {
}

Describe alternatives you've considered
Right now, I can only think about checking routes.
Additional context
No response

Have you looked into named layouts and grouped layouts?
For example you could have:
- (mdx)
    - about
        - index.mdx
    - team
        - index.mdx
    - layout.jsx
- contact
    - index.jsx

(mdx)/layout.jsx could have a wrapper for your class, and links stay the same as /about/ or /team/

Hey @Nefcanto, thanks for opening this issue, did you solve this issue?

@gioboa, thanks for following up. No, we had to change our way. At that time we could not make it work for us. But I guess it's worth being implemented.

You could use named layout to achieve this functionality.

@gioboa is right, named layouts seems like a good solution for wrapping with the prose class
Thanks for reporting the issue, closing it for now, feel free to re-open if the suggested solutions do not solve the issue


UnicodeEncodeError when running with --cmake-args --trace-expand

When running catkin_make_isolated with --cmake-args --trace-expand I got the following error:
Traceback (most recent call last):
  File "./src/catkin/bin/../python/catkin/builder.py", line 981, in build_workspace_isolated
    number=index + 1, of=len(ordered_packages)
  File "./src/catkin/bin/../python/catkin/builder.py", line 677, in build_package
    destdir=destdir, use_ninja=use_ninja
  File "./src/catkin/bin/../python/catkin/builder.py", line 397, in build_catkin_package
    run_command_colorized(cmake_cmd, build_dir, quiet, add_env=add_env)
  File "./src/catkin/bin/../python/catkin/builder.py", line 187, in run_command_colorized
    run_command(cmd, cwd, quiet=quiet, colorize=True, add_env=add_env)
  File "./src/catkin/bin/../python/catkin/builder.py", line 238, in run_command
    out.write(line)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 124: ordinal not in range(128)

I don't know if it's a nice solution, but changing
https://github.com/ros/catkin/blob/dbd5cbc728396aaf17fcc5caa26c3fdb6836d48b/python/catkin/builder.py#L238
to
out.write(line.encode(encoding))

fixed the issue for me.

I will close this for now due to no response. Please feel free to comment with the requested information and the issue can be reopened.


OR and INCLUDE support

This PR adds support for OR and INCLUDE constructs in the data psm and structure models.
The main goal of this PR is to resolve #95 "How to work with CIM inheritance?".
Notes
The "OR" in the Structure model is represented as more than one value in StructureModelSchemaRoot.classes and StructureModelProperty.dataTypes. If these arrays contain only one value, it should be treated as no "OR" is presented.
The "INCLUDE" construct is represented by StructureModelClass.extends. There is a structureModelFlattenInheritance transformation, which copies all properties from parent classes to their respective children. Therefore the extends property may be ignored if the mentioned transformation is used.

Hi @JanJanda, @cermakmarek. I made modifications in your generators to reflect changes from the structure model. (so the project can compile) See d54111c81d06d5324022647f01dd9d7dcc1092db and 82a820059c02444a041c99b707b2207554ba117e, respectively. It should work as before, except for OR. The INCLUDE already works thanks to the structureModelFlattenInheritance transformation. I suggest merging this PR as is, and you can then implement OR in your own PRs to not keep this PR open for too long.


NOT operator in @class

@class([
    'foo' => ! true,
])

@class([
    'foo' => !true,
])

Should be in 1.1.15  🙂

Confirmed!


Server Crash with Ticking Entity potioneffect

crash-2023-02-27_18.03.02-server.txt
Not really sure what's happening here. I was exploring a cave and the server suddenly crashed with a ticking entity.

So, so far I've ruled out Universal Tweaks, by disabling it server-side.

Looks like it's a problem between Apotheosis and Untouched Nature.

Did you use Antimagic potion while exploring the cave?
The crash says that it's trying to apply Antimagic potion to a skeleton (or something like that) for some reason, that seems kinda... strange.
I still cannot test the modpack with MineFantasy and mixinBooter.If the issue is caused by them, I'm forceless.
Anyway, I'll check the potion code tomorrow.Maybe the potions should be protected from mobs, that want to use them =)


trying and failing :-(

So I have a feature file inside the features folder., and I have a test file inside some package folder "mystuff". Inside it there a file called "Abbreviate.go". How can I tell godog to use the Abbreviate_test.go in the same "mystuff" folder (but it has the package "mystuff_test")
I've looked for more info, but I find it unclear from documentation where files should be and what they should contain.
I tried with the testmain option, but it starts complaining about missing colors and other stuff
:-(
Let's just start with some basic example where people have subdirectories: where can I find such example?

Hi, godog works the same as go test you must have all test files in package you are testing. Go cannot import tests from other packages, that is the language limitation. You may define godog contexts in other package, but it cannot be a _test.go file in order to import it in a package you are testing.

this is actually not true. You can have a test in the same directory "mystuff" but in a different package "mystuff_test".
But as the feature file is in features/mystuff.feature, I think godoc looks only in that directory for corresponding test files.
Perhaps I should write a test file inside the features directory with  "features_test" as the package, calling the functions to test from "mystuff". But I can guess, but I think that others have done this before me, since I'm not the first to try godog.

godog looks only in the current directory you run from. If go supports looking for test files in packages suffixed by _test then I was not aware of it and would need to check the specs again. But at the moment, it does not matter where you have your feature files, it only matters from which package godog is run from. it compiles only that directory and searches for the contexts in test files

so I go inside the mystuff directory whenre I put the mystuff.feature and the mystuff_test.go file?
How can I test all my packages then?
Should I make a MAKE file?
better I do it with go test ./... because it will find every test I have in every (sub)package.
So I can do the first now :-)
But running a go test ./... because it complains about the
feature path "features" is not available.
I have this:
os.Args = []string{
args[0],
"-f", "progress",
"features",
}
but wonder what I have to type instead of "features".
I've tried "mystuff" but it tells me:
feature path "mystuff" is not available.
btw I'm running this from the root (where the mystuff directory is a child)

I tried ""./mystuff" and ""./mystuff/" and "/mystuff/" and "mystuff/" and "/mystuff" and just "mystuff"
but all combinations are failing :-(

when I do "." I get a track trace so maybe I'm on the right path.
I think this is the way to have a test set which I can run, or am I missing something?

in most of the cases godog is used for functional tests and it is run from a single package, which contains all the public user facing interface. given it is an API, in that case you would have a main package, which starts a http server or in other case if it is a command line tool, a cmd subdirectory with a main package to build that command line interface binary. The test files, features and contexts are placed in that main package.
just look into examples and and godog library itself. or for example minishift


Re-render components when they change

While Single Page Applications can leverage the advantage of caching the page structure after first load and use it during the session or even in sub sequential visits, content isn't necessarily static and could change based on the user interaction. The storefront should reload content while the user re-visits a page.
In the future we could optimise the (re)loading of CMS content, but this should be mainly a backend related story: An optimised interaction from front-end to backend could be implemented to avoid duplicated calls for content. One idea that comes to mind is to provide a hash (in backend) of the page structure and pass this in sub sequential calls. The backend could evaluate the hash and return a 304 (not modified) in case of equal page structure. This would save the network bandwidth and client-site processing of the data.

This is already done during login, but this is not a generic solution.

QA steps:

Check if header is not reloaded / redrawn while navigating
Check renavigating to the same page

visiting page that already has page data loaded should be instant
there still should be network call for new page data (visible in network tab)

Check if navigating to Sales page from Help page works correctly (there is no content left ftom Help page)

it's hard to tell but doesn't look like it
works as described (go to a listing, click a product, go back, go back to same product, only a few calls vs many first time)
Sales works

passing

assign to stan for doc check


Saved jpg to PNG, then converted to JXL resulting in bigger file size

Describe the bug
I saved a 598KB jpg file to a PNG 3.2MB loslessly using photoshop. Then using CJXL I converted the PNG to jxl using --distance 0 --effort 9 and it resulted in a 2.09MB JXL file that is still bigger than the JPG orignal file.
To Reproduce
convert jpg to png
convert the png to jxl using --distance 0 --effort 9
Expected behavior
expected the jxl file to have a smaller size than the orignal JPG file
Environment

OS: Windows 10
Compiler version: [e.g. clang 11.0.1]
CPU type: 13900k
cjxl/djxl version string: v0.8.1

Additional context
I originally tried to convert the jpg to JXL but it never comes out pixel to pixel lossless and there is always a difference in pixel color using --distance 0 --effort 9

Try cjxl input.jpg output.jxl. This is lossless and should be smaller than the jpeg. If you don't believe it is lossless, try djxl output.jxl output.jpg and then compare the two jpeg files. They should be bit identical.
Getting pixel differences between the result of using one jpeg decoder (say libjpeg-turbo) and another (say libjxl) is perfectly normal. The jpeg format is not fully specified, so there are differences between conforming decoders. In particular, the commonly used libjpeg-turbo is less accurate than libjxl (it prioritizes speed over precision).

Try cjxl input.jpg output.jxl. This is lossless and should be smaller than the jpeg. If you don't believe it is lossless, try djxl output.jxl output.jpg and then compare the two jpeg files. They should be bit identical.
Getting pixel differences between the result of using one jpeg decoder (say libjpeg-turbo) and another (say libjxl) is perfectly normal. The jpeg format is not fully specified, so there are differences between conforming decoders. In particular, the commonly used libjpeg-turbo is less accurate than libjxl (it prioritizes speed over precision).

Thanks it converts back without any loss using djxl.


When will the training go into the next epoch?

Hi, I am trying to run your code to achieve the results that you had, but I can't find how the training loop goes into the next epoch? Based on the train function in trainer.py (image1), it seems that the while loop is infinitely running and does not allow training to go into next epoch. Is this a bug or I am missing something that will break the while loop?
I have run the code and below is the log output of training progress (image2):
The training does not go into the next epoch, may I know is this normal? Or there is some bug in the training loop?
Thanks in advance
image1

image2


Potential data consistency issues

Describe the bug
Hello

I am using clickhouse-kafka-connect sink connector to sink a kafka topic to a CH table in an append-only fashion (1 record in the topic should match to 1 row in the table):

For a bit of context, our source of truth is Postgres, and the kafka topic above is the result of a stateless flink pipeline that is based on cdc-events emitted by debezium (read from x topics. write into one)

KC is deployed on kubernetes

CH is hosted at Altinity (some clusters have 2 nodes, others have 3 depending on traffic -- this may be important knowing that we already had TOO_FEW_LIVE_REPLICAS issues related to quorum or something of this sort)

I do not use the exactly-once feature because the Altinity release does not support the KeeperMap yet (which should not be a problem because better have more rows than less)

I have deployed it on 9 kubernetes clusters, where the number of records in the topic varies between 200M and 1B
We started noticing discrepancies in the statistics that we computed on the target table in ClickHouse. Mainly : "data is missing"

I started to do some sanity checks and there was indeed some data missing: I look for something in CH that should be there but it isn't. i.e., data is in postgres but it's not in CH.

:red_circle:  the number of rows in the table is inferior than the number of records in the topic

As soon as the KC is at the tail of the topic, I run some queries/commands to study the data consistency:
Comparing the number of records in the destination topic and the total records in all topics read by flink match ✅ (481 192 298 records in the topics that are consumed by flink and 480 341 044 in the sink topic) However, the number of rows in the CH table is not close (401 842 845) ---> About 80 millions rows short.
The number of unique tickets in CH 82 586 266. Whereas in PG 83 426 771
I run the same checks on different clusters
🟠 : Looks ok-ish (1.016B records in CH. 1.03B records in kafka)
🔴 : 358 671 816 in CH. 390 77 7584 in kafka. (30M+ records short)

--> All the deployments need to be restarted multiple times due to some non transient errors (few replicas, too many parts, connection errors)

I tried to correlate the data loss with the lack of fault tolerance on the connector. I recreated CH clusters to use SSDs, LowCardinality columns and a new ordering, Basically I added a custom liveness probe to restart the pods whenever it detects failing tasks on KC (non-transient errors of course, otherwise, it would be stuck)
cluster-1 :  0 restarts ---  450 842 222 records in the topic. 449 406 448 records in the table --> :white_check_mark: fair enough
cluster-2 :  0 restarts ---  247 587 994 records in the topic. 247 587 060 records in the table --> :white_check_mark: very good
cluster-3 :  3 restarts ---  278 813 925 records in the topic. 265 217 619 records in the table --> :x: data loss

Having done all of this, I decided to test the JDBC connector and compare it with the ClickHouse KC connector

I will have the JDBC connector consume from the same topic and sink to another table that has exactly the schema as the table to which the CH-KC is sinking to. And I compare the data in the two tables

Yes, JDBC introduced duplicates (it has more rows than records in the topic
However, when I compare the "data" between the two tabels, I find that I have more unique events in jdbc-table than in kc-ch-table

# In terms of rows
>> select 'kc-ch-sink' as sink, count(*) as count from db.analytics_ticket_dataset where event__timestamp > '2022-01-01' and event__timestamp < '2023-01-01'
union all
select 'jdbc-ch-sink' as sink, count(*) as count from db.analytics_ticket_dataset_jdbc where event__timestamp > '2022-01-01' and event__timestamp < '2023-01-01'

┌─sink─────────┬────count─┐
│ kc-ch-sink   │ 89984141 │ ---> 8 888 239 records short
│ jdbc-ch-sink │ 98872380 │
└──────────────┴──────────┘

# Please note the COUNT DISTINCT
>> select 'kc-ch-sink' as sink, count(distinct ticketId) as num_unique_tickets from db.analytics_ticket_dataset where event__timestamp > '2022-01-01' and event__timestamp < '2023-01-01'
union all
select 'jdbc-ch-sink' as sink, count(distinct ticketId) as num_unique_tickets from db.analytics_ticket_dataset_jdbc where event__timestamp > '2022-01-01' and event__timestamp < '2023-01-01'

┌─sink─────────┬─num_unique_tickets─┐
│ kc-ch-sink   │           22586247 │ ---> 849 880 less tickets
│ jdbc-ch-sink │           23436127 │
└──────────────┴────────────────────┘

--> So regardless of duplicates introduced by the jdbc-ch-cink that could explain part of the 8M+ records missing, the kc-ch-sink is missing on some rows because the table has less tickets.
Expected behaviour
Data should be consitent
Error log
Configuration
Environment

Kafka-Connect version: confluentinc/cp-kafka-connect-base:7.2.1
Sink verson 0.0.14
Kafka Connect configuration:

$ cat connect-distributed.properties
group.id=kafka-connect-analytics-ticket-clickhouse-sink
bootstrap.servers=SASL_SSL://xxx.confluent.cloud:9092
security.protocol=SASL_SSL
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule   required username='xxx'   password='xxx';
consumer.sasl.mechanism=PLAIN
consumer.security.protocol=SASL_SSL
consumer.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule   required username='xxx'   password='xxx';
consumer.auto.offset.reset=earliest
consumer.max.poll.records=100000
consumer.max.partition.fetch.bytes=800000000
key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=io.apicurio.registry.utils.converter.AvroConverter
key.converter.schemas.enable=true
value.converter.schemas.enable=true
value.converter.apicurio.registry.url=http://apicurio-registry:8080/apis/registry/v2
value.converter.apicurio.auth.username=user
value.converter.apicurio.auth.password=xxx
value.converter.apicurio.registry.converter.serializer=io.apicurio.registry.serde.avro.AvroKafkaSerializer
value.converter.apicurio.registry.converter.deserializer=io.apicurio.registry.serde.avro.AvroKafkaDeserializer
offset.storage.topic=kc.internal.analytics-ticket-clickhouse-sink.offsets
offset.storage.replication.factor=3
config.storage.topic=kc.internal.analytics-ticket-clickhouse-sink.configs
config.storage.replication.factor=3
status.storage.topic=kc.internal.analytics-ticket-clickhouse-sink.status
status.storage.replication.factor=3
offset.flush.interval.ms=10000
plugin.path=/usr/share/java,/usr/share/confluent-hub-components,/usr/share/java/kafka-connect-plugins/,/usr/share/java/kafka-connect-jdbc

$ cat sink-connector.json | python -m json.tool
{
    "connector.class": "com.clickhouse.kafka.connect.ClickHouseSinkConnector",
    "database": "db",
    "exactlyOnce": false,
    "hostname": "xxx.altinity.cloud",
    "maxBufferSize": 100000,
    "password": "xxx",
    "port": "8443",
    "retryCount": 3,
    "ssl": true,
    "tasks.max": 4,
    "timeoutSeconds": 30,
    "topics": "analytics.ticket-dataset",
    "transforms": "ReplaceTopicName",
    "transforms.ReplaceTopicName.topics": "analytics.ticket-dataset:analytics_ticket_dataset",
    "transforms.ReplaceTopicName.type": "com.xxx.kafka.connect.transforms.ReplaceTopicName",
    "username": "xxx"
}

Kafka version:
Kafka environment: Confluent
OS: Linux x86_64 (kubernetes container)

ClickHouse server

ClickHouse Server version: <IP_ADDRESS>.altinitystable
ClickHouse Server non-default settings, if any:
CREATE TABLE statements for tables involved:

CREATE TABLE IF NOT EXISTS db.analytics_ticket_dataset ON CLUSTER 'xxx' (
    accountId Int32,
    ticketId Int64,
    event__origin LowCardinality(String),
    event__id String,
    event__timestamp DateTime64(3, 'UTC'),
    ...
    )
Engine = ReplicatedMergeTree('/clickhouse/{cluster}/tables/{database}/{table}', '{replica}')
ORDER BY (accountId, event__origin, ticketId, toDate(event__timestamp))
PARTITION BY toYYYYMM(event__timestamp)

Sample data for all these tables, use clickhouse-obfuscator if necessary

Hey @Paultagoras Yeah,

the average message production is around 20 to 50 records per second. But when KC starts, it already has a log of +200M records, and the loss is there
sure what are the fileds you'd like to look at? There are a lot and not all of them could bring any value


[1.0] Change .clickOnText to match current element

Current API implementation only considers the following scenario
<div class="modal">
  ...
  <button>Save</button> <button>Cancel</button>
</div>

var page = PageObject.create({
  clickOn: clickOnText('.modal')
});

page.clickOn('Save');

This triggers a click event on the Save button element.
Now consider the following scenario (same HTML)
var page = PageObject.create({
  clickOn: clickOnText('button')
});

page.clickOn('Save');

This won't work because the current implementation looks for elements inside button that contain the text but not the element itself.
We want both scenarios to work, so the idea is to first look for child elements and if none it's found, then try with the element itself.

Should tackle #106


scrollTop, scrollLeft, pageX, and pageY should be clearer about units

The definitions of scrollTop, scrollLeft, pageX, and pageY don't say anything about what units they're in.  It seems like they should.  (Similar properties in cssom-view should too!)
Noticed while reviewing the spec for https://github.com/w3ctag/spec-reviews/issues/128

This is resolved in https://github.com/WICG/ViewportAPI/commit/4b7d4b584f896588aa554611ef36af38ec23c853


mdbook theme picker overflows

repro: run oranda dev on https://github.com/oranda-gallery/axo-light-theme, click docs, click the theme picker

i think this will be low impact because people don't really use this theme picker, but it's certainly annoying if you want to go between light and dark themes.
i'd love if we could just get rid of this component and add a light/dark switcher tbh


Building in Android Studio fails on Ubuntu

Configuration on demand is an incubating feature.

Configure project :mmkv-kotlin
w: Kotlin CocoaPods Plugin is fully supported on MacOS machines only. Gradle tasks that can not run on non-mac hosts will be skipped.

FAILURE: Build completed with 2 failures.
1: Task failed with an exception.

Where:
Build file 'mmkv-kotlin/mmkv-kotlin/build.gradle.kts' line: 126

What went wrong:
Cannot get non-null property 'NEXUS_USERNAME' on project ':mmkv-kotlin' as it does not exist

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.

Where:
Build file 'mmkv-kotlin/mmkv-kotlin/build.gradle.kts' line: 126

What went wrong:
Cannot get non-null property 'NEXUS_USERNAME' on project ':mmkv-kotlin' as it does not exist

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 1s

Running Android Studio (Iguana - 2023.2.1) on Ubuntu 23.10

You need to build it on macOS, because it needs Xcode command tool.

@qiaoyuang Sure but is there a flag or something so I can build it here and disable the iOS & macOS builds?

According your information: Try to add the 2 properties NEXUS_USERNAME and NEXUS_PASSWORD into your global gradle.properties file, the values are not important, if these 2 properties exist, you can pass the building.

@SamuelMarks Hi, did it work?

Ok cool I got it to build [only the Apple platforms failed] once I set these variables in the gradle.properties:
# MMKV
NEXUS_USERNAME=mynexususername
NEXUS_PASSWORD=mynexuspassword
SIGNING_KEY_ID=mysigningkeyid
SIGNING_KEY=mysigningkey
SIGNING_PASSWORD=mysigningpassword

(you might want to add this instruction to your README)

Okay, I will add it. Thx


TOP K FREQUENT ELEMENTS

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
I want to add this question : Find the top k frequent elements in the given array. I want to submit code in C++ and in heap folder

/assign


No "CSV to Table" button

In v11, I see the EasyTable export if I right click on a table, but I don't see the import button.

Same here


A Native Collection has not been disposed, resulting in a memory leak. Allocated from: Unity.Collections.NativeArray

You have to dispose the UnityWebRequest and its UploadHandler and Downloadhandler when its not in use any more.
The reason why you are not seeing this error (but will still experience leaking and memory build up) is because UnityWebRequest is using NativeArray, but the warnings associated with it can just be turned on (and off again) if you install the Burst package into your project. So its a good tip to install that, then turn on the debugging, and uninstall it again. That way you will always see this error when you forget to Dispose.
A Native Collection has not been disposed, resulting in a memory leak. Allocated from:
Unity.Collections.NativeArray`1:.ctor(Byte[], Allocator)
UnityEngine.Networking.UploadHandlerRaw:.ctor(Byte[])
SimpleGraphQL.<PostRequestAsync>d__5:MoveNext() (at D:\statespacelabs\Packages\SimpleGraphQL-For-Unity\Runtime\SimpleGraphQL\HttpUtils.cs:53)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(<PostRequestAsync>d__5&)
SimpleGraphQL.HttpUtils:PostRequestAsync(String, Request, Dictionary`2, String, String)
SimpleGraphQL.<Send>d__6:MoveNext() (at D:\statespacelabs\Packages\SimpleGraphQL-For-Unity\Runtime\SimpleGraphQL\GraphQLClient.cs:76)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(<Send>d__6&)
SimpleGraphQL.GraphQLClient:Send(Request, Dictionary`2, String, String)
SimpleGraphQL.<Send>d__7`1:MoveNext() (at D:\statespacelabs\Packages\SimpleGraphQL-For-Unity\Runtime\SimpleGraphQL\GraphQLClient.cs:94)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(<Send>d__7`1&)
SimpleGraphQL.GraphQLClient:Send(Request, Dictionary`2, String, String)
AimLab.GraphQL.<QueryInternal>d__15`1:MoveNext() (at Assets\Runtime\GraphQLUtility.cs:162)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(<QueryInternal>d__15`1&)
AimLab.GraphQL.GraphQLUtility:QueryInternal(GraphQLConfig, AccessTokenResponse, String, OperationType, Object, Int32)
AimLab.GraphQL.<Query>d__14`1:MoveNext() (at Assets\Runtime\GraphQLUtility.cs:147)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(<Query>d__14`1&)
AimLab.GraphQL.GraphQLUtility:Query(AccessTokenResponse, String, OperationType, Object)

Ahh, interesting. This message has sometimes appeared in our test project without a stack trace, but I wasn't sure where it was coming from. UnityWebRequest using NativeArray (and needing to be cleaned up) makes a lot of sense though, it should be an easy fix.


#114 Skip font installation

fix rubocop issues for spec/
run tests in 'isolated' temp directory

@opoudjis could you please have a look at the comments


fix list validation error in test logic

refer #289

Looks like it is due to an upstream change https://github.com/mobilityhouse/ocpp/commit/e213ee0d0f89ef8f3f244911a097062c8c69a01e

@drc38 - can we go back to ocpp 0.10.0, at least until this is fixed?


localtileserver issue

Environment Information

samgeo version: Default (Downloading segment_geospatial-0.10.1-py2.py3-none-any.whl )
Python version: 3.10.12
Operating System: Google Colab

Description
Error running the tutorial Satellite
What I Did
I was running the Satellite tutorial and it is giving error on this code cell:
m.add_raster(image, layer_name="Image")

ImportError: localtileserver is not installed. Please install it before proceeding. https://github.com/banesullivan/localtileserver

trying pip install localtileserver does not resolve.

Did you following the intructions to install localtileserver?
pip install localtileserver

Yes, I had tried
pip install localtileserver

but it did not help with the error.

It is likely you have a gdal installation problem. Run the following. If it does not work, then it is a gdal problem.
from osgeo import gdal

Thank, this command is running fine but the error is still there.
I did have issues with osgeo in my local environment but currently I am running "satellite.ipynb" in Google Colab.

It works fine on my end. Make sure you restart runtime after installation.

Thanks, It's running for me as well. Just the error on this code cell still persist. Please close the issue if fine.

Recently I solved this issue installing localtileserver on this version  pip install localtileserver == 0.3.5

Thanks,
pip install localtileserver==0.3.5
does resolves the issue.

I tested the latest localtileserver on Colab. If you restart the runtime after installation, everything works fine.


CMake: AppleClang support

Same changes as in https://github.com/kit-parco/networkit/pull/212, but now resubmitted against Dev.

I do not think the slightly increased complexity in CMakeLists.txt is hard to maintain. Not having to install a new compiler seems to be a real improvement for macOS users. Do you think the PR can be merged as-is or do you still want to change something?

From a technical point of view I have nothing to change, but for me there are still 2 open points:

Should we remove the compiler detection from the setup.py? It was initially introduced to tackle the problem of CMake + AppleClang
I think the travis script is expanding too hard. In contrast to Linux, it is quite common to work with the latest versions of compiler and programs on MacOS. I would recommend to remove the MacOS clang4 test and pump up the other MacOS test up to g++-8 instead of 6

PR is rebased to https://github.com/kit-parco/networkit/commit/07aceae5a180f2232c9f16eba700c2f0b718e465 (MSVC commit)

Thanks for the rebase. Yes, the Travis script should be reduced, but that should be done in a different PR. The same applies for the compiler detection - but I am not entirely sure that we should remove that. I will accept the PR in this state (once the failing tests on Dev are fixed), IMHO it is a great improvement over the current state. Thank you for your work.

While looking into this PR, I realised that AppleClang would never be recognised by the determination function in setup.py. So if additional GNU or Clang compiler is installed, the installation would fail. The new commit first checks if a GNU/Clang compiler is installed and if not, tries to work with AppleClang.
So when I saw travis failing, I looked into the log and saw that the our own compiler identification never worked in the first place on travis. It just passed an empty "-DCMAKE_CXX_COMPILER=" flag and cmake fell back to the CXX environment variable. I don't know why the compiler identification fails on Travis, because I cannot recreate the bug. Nevertheless, i recreated the old behaviour in
https://github.com/kit-parco/networkit/pull/217/commits/054b8ec17961e676188513abddca67b7cab5272 by using the CXX variable if it exists (which should be an expected behaviour - e.g. cmake and several other build systems do this by default)
btw Travis fails for MacOS+gcc6 build as trying to be fixed here: https://github.com/kit-parco/networkit/pull/229

Maybe we should just use NETWORKIT_OVERRIDE_CXX in the Travis script then? Is there a need to support CXX and NETWORKIT_OVERRRIDE_CXX at the same time?

Closing/reopening the commit to let Travis re-parse the configuration.

One question is whether the new Travis configuration builds as intended. If it does, this PR can be merged.

Maybe we should just use NETWORKIT_OVERRIDE_CXX in the Travis script then? Is there a need to support CXX and NETWORKIT_OVERRRIDE_CXX at the same time?

Well, I am not sure why we need a NETWORKIT_OVERRRIDE_CXX in the first place, because setting CXX should be the most common way to specify a compiler (e.g. also accepted by cmake). But yes, theoretically we could specify NETWORKIT_OVERRRIDE_CXX instead of CXX in Travis

I thought we were already using NETWORKIT_OVERRIDE_CXX everywhere. Turns out that we do not; and it does not make sense anyway. I guess NETWORKIT_OVERRIDE_CXX can be removed.
This PR is ready to be merged. Let's wait for the CI to finish first, though.

I am merging this. Thank you for your work, Roman.


How do you specify configurable rules on the command line?

How do you specify configurable rules on the command line?
I can't find any documentation anywhere, regarding this.

please follow any of these to related PR's which might make this possible
https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2423
https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2502

So it's currently not possible. Thanks for the reply.

Is there a way to specify a ruleset.xml or phpcs.xml file via the command line or in Config::create()?

@nomad-software
With https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2494 merged the config of the fixer by cli can be done.
@SaifurRahmanMohsin
not sure I understand correctly, but you can use $ php-cs-fixer fix --config=.php_cs.dist for example to specify the config file (.php_cs.dist in this example)


dead link

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

done

Thanks!


Error deserializing stored query history items

Azure Data Studio Version: Insiders
OS Version: Windows 11

Noticed this error in Insiders build today during load:

From console log:
[error] [Extension Host] Error deserializing stored history items: SyntaxError: Unexpected token '�', "���jj�2�"... is not valid JSON
Doesn't seem to happen consistently but intermittently seen in dev/insiders build.

FYI @cheenamalhotra @kisantia - it looks like this is due to VS Code moving secret storage from using keytar (which is stored in OS-dependent storage such as credman or keyring) to the built-in Chrome storage
See https://github.com/microsoft/vscode/issues/193301 for some details
So what seems to be happening here is that the key isn't being returned or being returned incorrectly when updating to the new version - which means that the decrypting of the stored contents fail.
I'm still digging into it, but wanted to give you a heads up since this would likely impact any other extensions which use secret storage.


Running WIn 10 Build 18363: WSL2 and NFS mount attempt yields mount.nfs No such device

Environment
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

Steps to reproduce

WSL logs:
Expected behavior

Actual behavior

Hello,
I am having trouble mounting to ANY Linux NFS server (elsewhere on my network) on WSL2 (Ubuntu 20.04) getting mount.nfs: No Such device.  I have reas this could be a problem with the installed NFS Kernel modules.  I have issued all the apt-get commands for mount, nfs client packages, nfs library and lock packages, etc.
If these NFS kernel modules are out of whack, how can this be repaired?  This is fresh Ubuntu install and fresh NFS install and I have rebooted the WIn 10 machine.
I am running Win 10 Build 18363.
Thank you for any assitance!

I am running Win 10 Build 18363.
I have reas this could be a problem with the installed NFS Kernel modules.

There are no kernel modules (and no Linux kernel) in WSL1. Academically same #2869. NFS is available in WSL2 as of 20H1 aka version 2004 aka build 19041.

Hello,
Thank you for your reply!  I mistakenly thought downloading the latest Ubuntu 20.04 from the Win 10 App Store was WSL2. My machine does indicate Win 10 Build 1909.  I do have access to some 2004 Win 10 machines so I will re-try there.  Thank you very much!
~Charlie

So, still no way to mount nfs with utf-8 file names when windows is itself in virtual machine.
wsl1 have not got kernel modules, and wsl2 requires the physical virtualization available.

I am running Win 10 Build 18363.
I have reas this could be a problem with the installed NFS Kernel modules.

There are no kernel modules (and no Linux kernel) in WSL1. Academically same #2869. NFS is available in WSL2 as of 20H1 aka version 2004 aka build 19041.

Thanks! Tested on Version 2004 Build 19041.610 and it works!


Infinite loop: hasScheduledFrame is not checked in ViewChangesTracker runnable

Summary
Should the runnable created in ViewChangesTracker be checking if hasScheduledFrame is true?
It's running in an infinite loop if any markers are created with a custom bitmap.  If this is intentional, then why is the runnable postDelayed again in addMarker?
Reproducible sample code
private ViewChangesTracker() {
    handler = new Handler(Looper.myLooper());
    updateRunnable = new Runnable() {
      @Override
      public void run() {
        hasScheduledFrame = false;
        update();

        if (markers.size() > 0) {
          handler.postDelayed(updateRunnable, fps);
        }
      }
    };
  }

Steps to reproduce
Add a marker to a Google Map
https://github.com/react-native-maps/react-native-maps/blob/326a333fd386268817f97b4ed00486650c772ac8/android/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java#L430
Expected result
It looks like the runnable should see if hasScheduledFrame is true before firing off the runnable again.  hasScheduledFrame  is true when a marker is added or updated
Actual result
The runnable is fired every 40ms.
React Native Maps Version
1.1.0
What platforms are you seeing the problem on?
Android
React Native Version
0.69.2
What version of Expo are you using?
Not using Expo
Device(s)
Pixel 4a
Additional information
No response

This is on my to-do list. The code was added way before I started maintaining the project, and I've wondered the same thing myself. Since the "infinite loop" and the rescheduling each x ms is so obvious, I assumed that something required the code to be as it is, but I haven't had the time to look into it.
If you are able to look into the issue, I'd be happy to help merge potential fixes 👍

Still applicable.

Still applicable.  Bot is quite pushy.

Still relevant

Still very relevent.

Is this fixed by https://github.com/react-native-maps/react-native-maps/pull/4969 ?


Error: , Remote I/O error

Hi,
When I try to use the input node, I am getting this error:
"Error: , Remote I/O error"
It only appears when I enter a correct command for the sensor.
For example:
254 == 0xFE
Should give me the temperature but I get the error. When I enter 253 or any numbers that isn't a command I get [ 0, 0 ] as a payload.
The sensor is hooked up 100% correct because with Domoticz I can get perfect readings.

Can anyone on this thread provide more information how to use this node and how the Command field is programmed?

The command value is the first byte that is send to the device.

Is there a list of i2c commands for reference that can assist in understanding how to employ this generic i2c node for any i2c devices?? This is all greek to me (for now...).
thx all

Did someone resolve the issue. i was wondering how to use this node to read the data from SHT21


Is there a way to support this plugin to show notifications with images ?

https://firebase.google.com/docs/cloud-messaging/android/send-image
https://firebase.google.com/docs/cloud-messaging/ios/send-image

Hello @chemerisuk . Thanks for this link. We use azure devops for our CI CD build pipeline for the apps. The methods mentioned here in the email need us to manually add the extension after the platform is built on cordova and then copied to macbook for enabling the extension. Is there a plugin available that can auto configure the steps and compatible to othet firebase plugins that you provided ? I am already using the firebase analytics and fcm plugins from your repository and its awesome.


Custom projection causes visible geojson shape to be clipped in 1.0.0 beta

Hi,
I've recently moved a leaflet application from 0.7.x to 1.0.0-beta2 (nice performance improvements by the way).
I'm using various custom projections (epsg3035 mainly), in this projection the shape clipping behaves strangely, some countries are clipped while they should still be visible.
I've built a minimal exemple here:
http://plnkr.co/edit/84JBRgw5ZzqzjG5dETE0
The most noticeable glitchy country is Russia.
My guess is that it has to do with the bound checking being done using unprojected coordinates, but that's a wild guess.
I'm not totally sure if it's related to leaflet or proj4leaflet.

Thanks for the reproducible example! It makes debugging these kinds of things easier.

I found this is even easier to reproduce by using just a bounding box for Brazil:
	var rectangle = L.rectangle([[5.244486, -34.729993],[-33.768378, -73.987235]]).addTo(map);
	map.options.crs = epsg3035;
        map.fitBounds(rectangle.getBounds());

In this case, the rectangle disappears when panning vertically. Live demo at http://playground-leaflet.rhcloud.com/pos/edit?html,output
I'm not sure whether that bbox should show as an actual rectangle in the map's CRS.

I've tracked the bug down to L.Polyline._project, here.
That code assumes a rectangular projection, and uses only two corners from the bounding box. For non-rectangular projections, all four corners must be projected into pixel coordinates, and then expand the pixel bounds by the tolerance.

Some testing reveals that using four points doesn't really solve this, at least not with this naïve approach:
if (this._bounds.isValid()) {
	var map = this._map,
	    bounds = this._bounds,
	    pxBounds = new L.bounds([
	    	map.latLngToLayerPoint(bounds.getSouthWest()),
	    	map.latLngToLayerPoint(bounds.getNorthEast()),
	    	map.latLngToLayerPoint(bounds.getSouthEast()),
	    	map.latLngToLayerPoint(bounds.getNorthWest())
	    ]);

	pxBounds.min._subtract(p);
	pxBounds.max._add(p);

	this._pxBounds = pxBounds;
}

This gives more or less the same results, as far as I can tell. The problem, like in #4020, is that with this projection, what is lat min/max, isn't at all the same as projected y min/max: since the projection curves, y at some point becomes parallel with longitudes instead.
Considering all points in the polygon when calculating bounds, rather than just the bounds, works well in this case, though. This test code works well:
		if (this._bounds.isValid()) {
			var map = this._map,
			    bounds = this._bounds,
			    pxBounds = new L.bounds([].concat.apply([], this._rings));

			pxBounds.min._subtract(p);
			pxBounds.max._add(p);

			this._pxBounds = pxBounds;
		}

Needless to say, this has performance implications though, since polygons might have a lot of vertices.
An idea would be to breaking this out into the CRS class somehow, to keep the simple and performant implementation as a default for this built-in CRSs, while things like Proj4Leaflet could override it with the implementation above. I guess #4020 could also be solved in a similar, if not the exact same, way.


Improve UX of IPNS publishing

Now that we've added basic UI for publishing CIDs to IPNS (#1973) :partying_face:
it may be a good time to go an extra mile and refine the UI.
Namely, I feel we could improve presentation of key names and CIDs (right now it is a bland monospace font).
Perhaps we could also add one-line explainer to the first modal (imagine user clicking "Publish to IPNS" and not knowing what it is):
Below is the current state:

Before Publishing
Published

any ideas are welcome, cc @juliaxbow @hacdias

Two thoughts:

Make the monospace font surrounded by some box with some padding and round borders. The box would have a "copy" icon that would copy the CID/IPNS Key to the clipboard.
Make the IPNS Key clickable with either href=ipns://key or href=defaultPublicGateway/ipns/key.

+1 hacdias's suggestion for a copy icon (or even "copy"). Could look something like:

OR

Then I would recommend changing the bottom right button to "Done" or "Finish" (unless there are more steps afterwards?) to indicate that IPNS publishing steps are complete at this stage

I like the idea of separating Done and Copy link. :+1:
@hacdias interested in applying these before you start phasing out GUI activities?

@lidel done #1998 :) Not yet 100% sure I'll leave GUI, but we'll see.

@lidel @hacdias I noticed all the IPNS pull requests and issues being merged, however, I don't see any IPNS related functionality in the WebUI. Am I missing something?

Nevermind, just realised it's because https://github.com/ipfs/ipfs-webui/issues/1965 and other P0 issues are still open and preventing a WebUI release, ignore me


Microsoft Store Updates

Hi, I have installed DBeaver 6.2.0 through the Microsoft Store on my Windows 10 machine.
Is there a reason why I'm not receiving the latest updates?
What are the policies that define what software updates should be released through Microsoft Store?
Regards.

I found the same issue. It would be great to know the update policy for the Microsoft Store updates.
Thanks!

We will update MS Store with major DBeaver CE releases. Next update will be for 6.3 (early December).
We can't make updates more frequent because it takes a lot of time and it cannot be automated.
It has nothing to do with MS policy.

Hi Serge, thanks for your response.


doc: update README and .travis.yml

cleanup references to old Node versions
mention #155 and #158 in news

low priority, just to update it for the next publish

Coverage remained the same at 88.77% when pulling 795a62dece2d37311331aa90d046c616cfa56f0c on messaging into f83b484cdb8498166801b409eb90f8f0ca2e2d4b on master.


Test Issue By Bytepay: perpetual governor

This issue is for bytepay test

/bytepay task 0.001DOT

Bytepay: Finish This Task, sulnong will pay you 0.001 DOT.
Comment in Following instruction to apply for this task
/bytepay apply
Visit http://localhost:10086 for more detail

/bytepay apply

Bytepay: Task has been assigned to @Emptycity-tear.

/bytepay bind 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV

@Emptycity-tear:
Bind Success.
Now Your Own Polka Address Is: 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV
Previous Is: 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV

/bytepay pay

@Emptycity-tear:
sulnong have paid for this task, visit https://westend.subscan.io/extrinsic/0x46c042e26b8c4dbf316fbd51e378080523d4bcb2f777f576ea0569f9b48ab01f for detail


[flutter_conductor] deprecate increment

Fixes https://github.com/flutter/flutter/issues/98608
Rather than requiring the user to know the correct increment level for the next release version, instead have the tool auto-determine the next version with the algorithm:

if the tip of the candidate branch is also on master, that means this is the first release on the branch; compute the version from the candidate branch (this would fail if the candidate branch was named wrong) and tag the branch point, then increment the n for the actual release
else if the channel is stable, the increment should be z (the tool already has logic to "increment" to 0 if this is the first stable release)
else (i.e. channel is beta), increment the n

Also, provide an optional --version-override command-line option, for situations where we need to tell the tool exactly which version to use.

@christopherfujino A few things I notice:

How does this handle the case of bumping the x value (Flutter 3.0.0) Is this one of the cases where we would override?
I did not see an update to the README.

@christopherfujino A few things I notice:

How does this handle the case of bumping the x value (Flutter 3.0.0) Is this one of the cases where we would override?

Yes we would need to. I don't think the conductor should ever assume that the X is going to be incremented.

I did not see an update to the README.

Good catch


Amplitude Integration doesnt work against the Amplitude EU datacenter

How are you running Flagsmith

[ ] Self Hosted with Docker
[ ] Self Hosted with Kubernetes
[X] SaaS at flagsmith.com
[ ] Some other way (add details in description below)

Describe the bug
If I try and send events to Amplitude EU with the base url https://api.eu.amplitude.com/ the integration doesn't work.
Steps To Reproduce

Add an Amplitude integration, use https://api.eu.amplitude.com/ as the Base URL.
Trigger some Identity flags in Flagsmith
Nothing shows up in Amplitude

Expected behavior

Expect to see the identities in Amplitude EU

Screenshots
No response

Working in EU


 Do not merge.

Alright, I think we're all set now. Here's what it looks like:


fix: remove 'module' entry from package.json

A recent change to the library introduced
a separate es6 module for the library to support
tree shaking.  Unfortunately, if an SDK project
doesn't (at a minimum) define the 'main' entry point
in its package.json file, then a problem can occur
due to an es5 vs es6 incompatibility.
This commit provides a tactical fix for this issue
by removing the 'module' entry point from the library's
package.json.  This will prevent webpack from being
able to minimize the resulting application code, but
it will avoid the problem.
Once we have a strategy for rolling out "tree
shakability" in various SDK projects, we can
re-introduce the 'module' entry point.

Checklist

[ ] npm test passes (tip: npm run lint-fix can correct most style issues)
[ ] tests are included
[ ] documentation is changed or added

:tada: This PR is included in version 2.17.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added a “selecting” class when currently selecting a date

Codecov Report

Merging #75 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #75   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         101    101
  Lines        2312   2317    +5
  Branches      515    517    +2
=====================================
+ Hits         2312   2317    +5

Impacted Files
Coverage Δ

src/components/calendar/Calendar.tsx
100% <100%> (ø)
:white_check_mark:

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 4ee50e1...58dcbba. Read the comment docs.


ntr: advanced loaclization to nucleus 	PMID:12399381

descendant of
FYPO:0001129	abnormal protein localization to nucleus during vegetative growth

premature protein localization to nucleus during vegetative growth FYPO:0005667
edit file: dcace5c74b66df03601e5378512255518d09c607
release: 0637ba5ebee9ce3c6b523430d2c37166e78f3898


update problem of pynq

ilinx@pynq:~$ sudo apt-get update
[sudo] password for xilinx:
Err:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Temporary failure resolving 'ports.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Seems to be network error. Have a try to ping ports.ubuntu.com to see if the network is ok.

How to discover the pynq version in the linux shell?

Dear xupsh , i have ping ports.ubuntu.com,but the following results shows. However,i ping <IP_ADDRESS>, it shows my PC can connect to PYNQ-Z2 board, my PC can connecte to internet.


Invalid route relation error on stream deployment

As a user, I'm trying to deploy a simple stream and I get a 400 error stating The requested route relation is invalid: 3d74ceaf-7961-4747-853e-349fb1781e9e. The other strange behavior is that the stream apps still does not include the stream name in it. I don't see this change working.
stream:
stream create dfsfffoooo --definition "time | log" --deploy

apps:
→ cf apps
Getting apps in org sabby-org / space development as sabby...
OK

name              requested state   instances   memory   disk   urls
dataflow-server   started           1/1         1G       1G     dataflow-server.navy.springapps.io
log               stopped           0/1         1G       1G
time              stopped           0/1         1G       1G

routes:
→ cf routes
Getting routes for org sabby-org / space development as sabby ...

space         host              domain               path   apps              service
development   dataflow-server   navy.springapps.io          dataflow-server

error:
2016-04-19T09:52:07.27-0700 [RTR/0]      OUT dataflow-server.navy.springapps.io - [19/04/2016:16:52:07 +0000] "POST /streams/definitions HTTP/1.1" 201 51 0 "-" "Java/1.8.0_31" <IP_ADDRESS>:41611 x_forwarded_for:"<IP_ADDRESS>, <IP_ADDRESS>" x_forwarded_proto:"http" vcap_request_id:937eac0e-7431-4499-6205-b83eb59ab1fd response_time:0.140553632 app_id:4c77b96d-c564-4646-85e0-78868d664c80
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 2016-04-19 16:52:07.786 ERROR 16 --- [cloud-foundry-1] o.s.c.d.s.c.CloudFoundryAppDeployer      : Error creating app dfsfffoooo-log
2016-04-19T09:52:07.78-0700 [APP/0]      OUT org.cloudfoundry.client.v2.CloudFoundryException: CF-InvalidRelation(1002): Invalid relation: The requested route relation is invalid: 419dc933-a627-4944-b82a-d5af633b312d
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at org.cloudfoundry.spring.client.v2.CloudFoundryExceptionBuilder.build(CloudFoundryExceptionBuilder.java:47) ~[cloudfoundry-client-spring-2.0.0.BUILD-SNAPSHOT.jar!/:2.0.0.BUILD-SNAPSHOT]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at org.cloudfoundry.spring.util.AbstractSpringOperations.lambda$null$1(AbstractSpringOperations.java:72) ~[cloudfoundry-client-spring-2.0.0.BUILD-SNAPSHOT.jar!/:2.0.0.BUILD-SNAPSHOT]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.FluxYieldingEmitter$YieldingSignalEmitter.request(FluxYieldingEmitter.java:75) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.util.DeferredSubscription.set(DeferredSubscription.java:71) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.FluxSubscribeOn$SubscribeOnPipeline.onSubscribe(FluxSubscribeOn.java:129) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.subscriber.SignalEmitter.start(SignalEmitter.java:170) [reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.FluxYieldingEmitter.subscribe(FluxYieldingEmitter.java:43) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:153) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.FluxFlatMap.subscribe(FluxFlatMap.java:170) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.FluxSubscribeOn$SourceSubscribeTask.run(FluxSubscribeOn.java:363) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.Computations$ProcessorWorker.onNext(Computations.java:919) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.Computations$ProcessorWorker.onNext(Computations.java:883) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at reactor.core.publisher.WorkQueueProcessor$QueueSubscriberLoop.run(WorkQueueProcessor.java:842) ~[reactor-core-2.5.0.BUILD-SNAPSHOT.jar!/:na]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_71-]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_71-]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_71-]
2016-04-19T09:52:07.78-0700 [APP/0]      OUT Caused by: org.springframework.web.client.HttpClientErrorException: 400 Bad Request
2016-04-19T09:52:07.78-0700 [APP/0]      OUT 	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]

Please confirm you're still getting this with https://github.com/spring-cloud/spring-cloud-cloudfoundry-deployer/commit/4f105f3a6105cf5fd445a98f74d9942559505be3

Works! 😄
→ cf apps
Getting apps in org sabby-org / space development as sabby...
OK

name              requested state   instances   memory   disk   urls
dataflow-server   started           1/1         1G       1G     dataflow-server.navy.springapps.io
tidg2-log         started           1/1         1G       1G     tidg2-log-dowy-apr.navy.springapps.io
tidg2-time        started           1/1         1G       1G     tidg2-time-wedged-nonassignment.navy.springapps.io


Bumping up kairos version

@venkatnsrinivasan, @jzhoucliqr Please review

Release build may fail as core-opensuse-leap-k3s repo isn't there.


Compiled output is nonsensical

Have been attempting to try to get Flamework to run for a little bit, but I seem to be struggling. I've used the template from rbxts-flamework/template with a couple of tooling changes (mainly just custom eslint config and pnpm with hoisting on for rbxts) but the output that is being generated doesn't seem to make sense at runtime.
The primary issue is the decorators. @Service() usage will cause the following runtime error:
  13:40:12.972  ServerScriptService.TS.services.ZirconService:25: attempt to call a table value  -  Server - ZirconService:25
  13:40:12.972  Stack Begin  -  Studio
  13:40:12.972  Script 'ServerScriptService.TS.services.ZirconService', Line 25  -  Studio - ZirconService:25
  13:40:12.972  Stack End  -  Studio

...where line 25 is the decorator application:
	ZirconService = Service({})(ZirconService) or ZirconService

This also occurs on a completely new service via the snippet, so it's not something relating to the code I have written.
Debugging in Studio reveals that the Service decorator is a table containing func, which I presume is the actual decorator call, and explains the error perfectly:

I am unsure of where to go from here, as I don't know if this is a compiler issue or user error.
Relevant packages and versions:
    "rbxts-transformer-flamework": "1.0.0-beta.24",
    "roblox-ts": "^2.2.0",
    "typescript": "^5.3.3"
    "@flamework/components": "1.0.0-beta.24",
    "@flamework/core": "1.0.0-beta.24",
    "@flamework/networking": "1.0.0-beta.24",

After looking at https://github.com/rbxts-flamework/template/pull/11 and making the edits there, it turns out that TS 5.3 doesn't work correctly with Flamework. Downgrading to 5.2.2 works fine.


Extend the tests to include various systems...

The following seems like a minimum:

[ ] old and new linux/gcc
[ ] old and new linux/clang
[ ] Visual Studio (old and new)
[ ] Visual Studio+clang (old and new)

Do you have a specific range for those systems? I’m not familiar with version ranges.

I recommend we try to support as wide a range as possible.

GCC 8 should be tested.
LLVM 6 should be tested.
Visual Studio 2017  15.8 (MSVC 19.15) should be tested.


CI support and skipped tests for Storj Gateways

Note: This repo hasn't been set up on Gerrit yet, so these changes are a PR :)
I've split everything up into separate commits for easier review. Jenkins is also running against this PR, so you can see the build is passing: https://build.dev.storj.io/job/splunk-s3-tests/view/change-requests/job/PR-1/
Testing Gateway-MT changes the other way is ready for review in https://review.dev.storj.io/c/storj/gateway-mt/+/6672

Adding Dockerfile
Adding CI scripts mostly copied from gateway-mint
Fix test bucket name that can't be uppercase
Support AWS env vars for credentials
Label tests failing for Storj Gateways and add todo comments to document

Looks good! Great TODO annotations in tests. Amazing that we can reuse gateway-mint's CI! I only left some minor questions/comments.
BTW Can we ensure that all files are terminated by a new line?

I know right! I think it's a testament to how flexible that gateway-mint CI setup is, thank you! :pray:
Good catch, I've added the newlines and ensured my editor adds them automatically too!


Vulnerability fix for KubernetesV0

Task name: KubernetesV0
Description: Latest vulnerability fix for task KubernetesV0
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N) https://dev.azure.com/mseng/PipelineTools/_componentGovernance/184/alert/79428?typeId=12858
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected
[x] node make.js build --task KubernetesV0
[x] node make.js test --task KubernetesV0

All seems to be good, please resolve the conflicts


Sometimes, when attempting to add padding to an already cropped image, the image gets cut off

[Step 1] Crop without padding
[Step 2] Padding without crop

Fixed in #13


Add support for "Input numbers" emoji

This emoji could be used to show the concept of mathematics, calculations, or when you're counting out beats in music

Thanks for the PR, looks good! 🔥
Please add an example under the "Table support" in the "Advanced usage" section 🙏

Thank you! 👏


Fix Role not fully defined error debugger

Features

import Environment/Role in TYPE_CHECKING mode
fix Role not fully defined error accounting to https://stackoverflow.com/questions/63420889/fastapi-pydantic-circular-references-in-separate-files

LGTM


Only mount the push component if we're ready

@keybase/react-hackers
We'll now only mount if we're ready for the push calls.

I would have like to use recompose here, but I figure this solution is good enough


How to connect/notify 2 user subcribe channel?

Hi,
I',m using the SCC design partern to create my demo chat application. My chat application is alike with another chat platform, signup user, show online users, choose user who you want to communicate with. So, my problem is: when user A choose user B to communicate, i can not find the way to notice user B know to subcribe and watch channel. Any ides to fix it? Sorry abount my English!!!
Thanks

@tangquoctuan Hey man,
You can have each user subscribe to their own channel, for example subscribe to a channel using their user_id. Then, when a person wants to send another person a message, you can publish to the channel matching their ID. Then, you can send messages to everyone or just a specific person. I hope that makes sense and helps!

Hi @happilymarrieddad, thanks you for your reply,
Yah! Before I make an question about this problem, i solved it nearly as your solutions, but i used socket id per each user as an private channel to communicate between server and client.
At the begnning, i choose socket.io as an framework for my project, but as you know that, it make my feel difficult to manage session between those node server. So, that is the reason why i have choosen socketcluster.
If compare socket.io vs socketcluter, I feel each type has different strengths and weaknesses. The weaknesses of socketcluster is about pub/sub between client/server. In my opinion, i recommend author improve, separate emit/broadcast/v.v... as socket.io as done.
Thanks you!

@tangquoctuan  what do you mean by

improve, separate emit/broadcast/v.v... as socket.io as done.

It's always great to improve SocketCluster! However, I didn't get what exactly did you mean by "emit/broadcast/v.v". Could you, please, explain a bit more in depth?

difficult to manage session between those node server

You could read those comments, I hope they will help you gain more knowledge and make better architecture decisions.
https://github.com/SocketCluster/socketcluster/issues/425#issuecomment-395368250
https://github.com/SocketCluster/socketcluster/issues/165#issue-142854829
+Feel free to join the chat https://gitter.im/SocketCluster/socketcluster if you have any other questions :slightly_smiling_face:

Hi @MegaGM , thanks you for your reply.

difficult to manage session between those node server

In this situation, i mention the weakness about the socket.io. When i hosted real-time server (socket.io) with cluster mode. I got an problem when those socket servers share socket id. After all an research, i have to use socket.io-redis acting as a management place to share session between nodes. But socketcluster do it very well.

improve, separate emit/broadcast/v.v... as socket.io as done.

FYI, socket.io a lots of method comunicate between server/client (https://stackoverflow.com/a/10099325/3205195). So, return to my issue when apply socketcluster in this post, A want to connect with B, A emit event to server, server make an private event between A - B -> alert B that A want to communicate. But how can server alert to B because socketcluster does not support emit  to specified channel through their socket_id. So we have use th tricks as an recommed of @happilymarrieddad said.
Thanks you!

Hi @happilymarrieddad,
Base on your suggestion that each channel subcribe their individual id and...  the error has occurred:
[Warning] BrokerError: Failed to subscribe socket to the tuan: 1,tuan: 2,tuan: 3,tuan: 4,tuan: 4,tuan: 5 channel - Socket imsWT8xa5sFCmNx0AAAB provided an invalid channel name
    at /home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/socketcluster-server/scserver.js:444:23
    at EventEmitter.SCServer._subscribeSocket (/home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/socketcluster-server/scserver.js:239:17)
    at Emitter.<anonymous> (/home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/socketcluster-server/scserver.js:442:12)
    at Emitter.emit (/home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/component-emitter/index.js:133:20)
    at /home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/socketcluster-server/scserversocket.js:165:38
    at /home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/socketcluster-server/scserver.js:748:15
    at /home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/async/dist/async.js:1110:9
    at /home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/async/dist/async.js:460:16
    at replenish (/home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/async/dist/async.js:977:25)
    at /home/tangquoctuan/sc-demo-chat/socketcluster/dm/node_modules/async/dist/async.js:986:9

@tangquoctuan It looks like you may be passing an array as the channel name. The channel name needs to be a string.

Hi @jondubois ,
The tuan: 1,tuan: 2,tuan: 3,tuan: 4,tuan: 4,tuan: 5 is a string message that i want to publish to individual channel (socket imsWT8xa5sFCmNx0AAAB)

I saw the problem and solved it, thanks for reply @jondubois! I'm appriciate it.

I really love socketcluster but there is an issue I have been trying to solve for more than a week.
How can I ensure a user receives a message even when they were offline like and hour and then came back ?Is there also a way to find out if a user has consumed a message so that maybe I can persist it?

@JojoStacy If you need offline capability, you need to keep a message log for each user in a database on the back end. So every time a message is sent to that user, an entry is added in the appropriate table/collection. Then when the user logs back in, you can just fetch the latest list of messages from the database. If you need offline capability then it's easier to always persist messages.
You can add UUIDs to messages and make the user to publish or send message receipts (acknowledgements) containing the UUID of each received message that way it's possible to check which messages have been received.
With SC, if you need to target specific users, you can subscribe to unique channels dedicated to each user (e.g. based on their usernames).

Thank you very much ! Works like magic!


Async scripts not in response.body

Hi
I'm trying to get an idea of the scripts on any page, say Youtube. Using Typhoeus to get the page, it does not return any scripts with the HTML 5 async tag added, as these seem to be added in a later request.response cycle in the browser.
Anyone come across this and can suggest a workaround? I could use a headless browser but all very much slower than Typhoeus-speed.
Thanks
Tom

Hello @tomgallagher, thats not as easy. I guess the other stuff is loaded by some js. This is nothing typhoeus can help you with.


subclassing safe doesn't work

https://github.com/safe-global/safe-eth-py/blob/576d510ba87da1cb414857b622c56455bdf50897/gnosis/safe/safe.py#L95
…/gnosis/safe/safe.py", line 96, in __new__
    return super().__new__(cls, address, ethereum_client, *args, **kwargs)
TypeError: object.__new__() takes exactly one argument (the type to instantiate)

Could you provide some info? We subclass Safe without further issues, like: https://github.com/safe-global/safe-eth-py/blob/576d510ba87da1cb414857b622c56455bdf50897/gnosis/safe/safe.py#L981

In [1]: from gnosis.eth import EthereumClient

In [2]: from gnosis.safe.safe import SafeV130, Safe

In [3]: client = EthereumClient()

In [4]: addr = '0xFEB4acf3df3cDEA7399794D0869ef76A6EfAff52'

In [5]: class MySafe(Safe):
   ...:     pass
   ...:

In [6]: class MySafeV130(SafeV130):
   ...:     pass
   ...:

In [7]: Safe(addr, client)
Out[7]: <gnosis.safe.safe.SafeV130 at 0x107a9b790>

In [8]: SafeV130(addr, client)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[8], line 1
----> 1 SafeV130(addr, client)

File ~/yearn/brownie-safe/.venv/lib/python3.10/site-packages/gnosis/safe/safe.py:95, in Safe.__new__(cls, address, ethereum_client, *args, **kwargs)
     93 assert fast_is_checksum_address(address), "%s is not a valid address" % address
     94 if cls is not Safe:
---> 95     return super().__new__(cls, address, ethereum_client, *args, **kwargs)
     97 versions: Dict[str, Safe] = {
     98     "0.0.1": SafeV001,
     99     "1.0.0": SafeV100,
   (...)
    103     "1.4.1": SafeV141,
    104 }
    105 default_version = SafeV141

TypeError: object.__new__() takes exactly one argument (the type to instantiate)

In [9]: MySafe(addr, client)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[9], line 1
----> 1 MySafe(addr, client)

File ~/yearn/brownie-safe/.venv/lib/python3.10/site-packages/gnosis/safe/safe.py:95, in Safe.__new__(cls, address, ethereum_client, *args, **kwargs)
     93 assert fast_is_checksum_address(address), "%s is not a valid address" % address
     94 if cls is not Safe:
---> 95     return super().__new__(cls, address, ethereum_client, *args, **kwargs)
     97 versions: Dict[str, Safe] = {
     98     "0.0.1": SafeV001,
     99     "1.0.0": SafeV100,
   (...)
    103     "1.4.1": SafeV141,
    104 }
    105 default_version = SafeV141

TypeError: object.__new__() takes exactly one argument (the type to instantiate)

In [10]: MySafeV130(addr, client)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[10], line 1
----> 1 MySafeV130(addr, client)

File ~/yearn/brownie-safe/.venv/lib/python3.10/site-packages/gnosis/safe/safe.py:95, in Safe.__new__(cls, address, ethereum_client, *args, **kwargs)
     93 assert fast_is_checksum_address(address), "%s is not a valid address" % address
     94 if cls is not Safe:
---> 95     return super().__new__(cls, address, ethereum_client, *args, **kwargs)
     97 versions: Dict[str, Safe] = {
     98     "0.0.1": SafeV001,
     99     "1.0.0": SafeV100,
   (...)
    103     "1.4.1": SafeV141,
    104 }
    105 default_version = SafeV141

TypeError: object.__new__() takes exactly one argument (the type to instantiate)

@banteg we have just released a new version with this bug fixed


Add Custom Headers

I want to add custom headers on request

Sure, what's your use case? Would this be adding a header on every request or only on some requests?

hi @lino-levan! we'd also like to add custom headers. For our use case, we want to add some logging via Helicone, and it requires us to be able to pass in a Helicione-Auth header: https://docs.helicone.ai/getting-started/integration-method/openai-proxy
Thanks!

Love to hear interest in this, and I'd love to add support, but fyi: this module has been acquired by OpenAI. They are making a new repo for their Deno module and that will replace this one in the very near future.


[Bug] Downloads doesn't start automatically while downloading from library

Device information

Tachiyomi version: <IP_ADDRESS>
Android phone & version: OP6-A10

Steps to reproduce

Select multiple mangas from the library
Select Download unread from the overflow button

Expected behavior
Unread mangas starts downloading
Actual behavior
The mangas queues up but gets paused due to error(unexpected error occurred)

unable to emulate this.  I had no issue

Can you try adding 50 mangas into a categories which are new and click download unread from library by selecting the category

Yea will try it

2020-09-22-release.log
Attaching the log

possibly have it fixed for next release