Still broken links as Player when using wiki import?

I am using your module and the https://github.com/rlach/wiki-import
When importing links and previewing from a player it seems they have the same broken link view that I do. Any ideas?

Can you show what the links look like in edit mode please.

`Rupings were a notable @JournalEntry[reptavian]{reptavian} @JournalEntry[species]{species} native to the @JournalEntry[planet]{planet} @JournalEntry[Onderon]{Onderon}.  Loyal and brave creatures, ruping were used as mounts by the @JournalEntry[Onderon rebels]{Onderon rebels} led by @Compendium[world.swaadversaries.MpmUkqc0kFFtHiRb]{Saw Gerrera} during the @JournalEntry[Onderon Civil War]{Onderon Civil War}, who equipped them with @JournalEntry[saddle]{saddles} and reins.
Behind the scenes
The ruping is named after the @JournalEntry[Star Wars: The Clone Wars]{Star Wars: The Clone Wars} concept artist @JournalEntry[Tara Rueping]{Tara Rueping}, who designed the creature.
Appearances
Sources
@JournalEntry[Star Wars: Absolutely Everything You Need to Know]{Star Wars: Absolutely Everything You Need to Know}
@JournalEntry[Star Wars: The Visual Encyclopedia]{Star Wars: The Visual Encyclopedia}
@JournalEntry[Star Wars: Absolutely Everything You Need to Know, Updated and Expanded]{Star Wars: Absolutely Everything You Need to Know, Updated and Expanded}
@JournalEntry[Star Wars: The Visual Encyclopedia]{Star Wars: The Visual Encyclopedia}
@JournalEntry[Star Wars: Absolutely Everything You Need to Know, Updated and Expanded]{Star Wars: Absolutely Everything You Need to Know, Updated and Expanded}
Notes and references
`

Ok, so all the links are being stored by name, rather than by id.
I will see what I can do about that.

Great, any help is appreciated!

If you disable the "disguise unreachable links" module, do you see the same broken links?

Yes but my issue was happening before your module, so no worries there.

So, is your request that broken links appear as normal text for players, rather than as broken links?

Yes, that is my hope. Basically, since my system does not have any real content I can buy digitally, I have to import from public and free sources and its a lot of work to clean it up from the broken links. I found your module and figure it was perfect for my issue. Thank you for even responding to me :)
Even bigger ask would be a toggle for GMs, so they can see it normally but flip a switch to see what links they need to fix. But thats 1000% not needed, just an idea.

Well, I must admit that you are the first person to report an issue with the module.
And, in fact, the issue was that when I separated this code out from the Realm Works Importer module, I didn't actually do it properly. So this module never actually did anything.
I've just created 1.1, so if you do a manual update then you might see that appear, and it should work properly.

Incredible! Thank you so much.

Your welcome :)


Service down

Hi,
there's a 500 error.
Can you please investigate?

Will do :/

Am 05.09.2019 um 16:48 schrieb Valerie Michaud<EMAIL_ADDRESS>Hi,
there's a 500 error.
Can you please investigate?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Works again!

Am 05.09.2019 um 16:48 schrieb Valerie Michaud<EMAIL_ADDRESS>Hi,
there's a 500 error.
Can you please investigate?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you so much for the quick turn around!

Down again today

Hm. That’s rather unexpected. Will look into it. Sorry for the inconvenience!

Seems to be due to an issue with the hoster. Will keep you posted!

And its back!!

Thanks!


Removed unused requires

Remove unused requires; neither the path or fs module are used anywhere.
all tests pass

@icedtoast thanks for the PR!
Removing the unused requires was merged as part of https://github.com/jsakas/CSSStyleDeclaration/pull/61.
I'm fine with updating the package script to use prepare, if you want to rebase / merge.

Hi @jsakas, thanks! I've rebased this branch with just the change to prepare instead of prepublish.


Improve single phrase in step-by-step and mention appendix

Hello, @dtkerns:
I really appreciate having a for dummies (like me) step by step for reproducing our software. I found a little issue at the end of line 10 and begining of 11 of step-by-step.md. Where you write "build a .ll file insted also ...". Maybe you meant to say that .o and also .ll  files will be build. But I am unsure.
I also like a lot your appendix.md, which is really nicely writen and interesting. Maybe it is worth it to mention the existance of this file on the readme.md?

it actually does not build a .o file ... from the clang man page:
-emit-llvm
              Generate output files in LLVM formats, suitable for link time optimization.  When used  with  -S  this
              generates  LLVM intermediate language assembly files...
the flags `-S -emit-llvm` cause the `clang` compiler to only do the the "first" step of converting the C into `clang`'s intermediate

the appendix.md was part of the original paper. unfortunately, it caused the paper to exceed the length of the JOSS guidelines. but one of the reviewers specifically asked to see (quantitative) results, so I added it back as an appendix.
I'm open to suggestions on a good way to refer to it in the readme.

it actually does not build a .o file ... from the clang man page:
-emit-llvm
              Generate output files in LLVM formats, suitable for link time optimization.  When used  with  -S  this
              generates  LLVM intermediate language assembly files...

so we stop short of generating the .o files with those flags.

So there is an extra also there on the test. Cool! Solved.

the appendix.md was part of the original paper. unfortunately, it caused the paper to exceed the length of the JOSS guidelines. but one of the reviewers specifically asked to see (quantitative) results, so I added it back as an appendix.
I'm open to suggestions on a good way to refer to it in the readme.

Hi! Maybe include an example section? Or performance benchmark... I am unsure about what works best, but feels a pity to have it there but you have to dig the repository to find it.

how's this wording?
Benchmarks
To meet JOSS length guidelines, the quantitative analysis was removed from the paper, but is available as an appendix. see paper/appendix.md

perhaps too passive aggressive?

Quantitative analysis is available as an appendix. see paper/appendix.md

No need to include "to meet Joss length guidelines".
Tosi

From: dtkerns @.>
Sent: Tuesday, August 27, 2024 6:36 AM
To: dtkerns/d2 @.>
Cc: Subscribed @.***>
Subject: [EXT] Re: [dtkerns/d2] Improve single phrase in step-by-step and mention appendix (Issue #9)
External Email

how's this wording?
Benchmarks
To meet JOSS length guidelines, the quantitative analysis was removed from the paper, but is available as an appendix. see paper/appendix.md
—
Reply to this email directly, view it on GitHubhttps://github.com/dtkerns/d2/issues/9#issuecomment-2312587229, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD3ACDJZQONTHLB5KHZK6VDZTR6HJAVCNFSM6AAAAABNGCI2Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGU4DOMRSHE.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Okay, perfect! Thanks, all!


Exhaustive docs on how to deploy this on Apache

I've setup this app on Apache and linked the directory to the DocumentRoot. it indeed works and shows the login page, but the form login refreshes, cannot login. This app is perfectly fine when running artisan serve
My system
Mac Mojave
Apache 2.4
PHP 7.1

You can find how to deploy a PHP application everywhere on the internet.


[DSIP-56] Refactor JDBC registry support session timeout and data change event

Purpose of the pull request
close https://github.com/apache/dolphinscheduler/issues/16278
Brief change log

Refactor the JDBC Registry
Change default registry of standalone to jdbc

Verify this pull request
Test by UT and E2E
Pull Request Notice
Pull Request Notice
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Should update the doc too? see https://dolphinscheduler.apache.org/zh-cn/docs/3.2.1/architecture/configuration

Should update the doc too? see https://dolphinscheduler.apache.org/zh-cn/docs/3.2.1/architecture/configuration

The jdbc relation configuration doc is link to README.md whicih has already updated.
https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/architecture/configuration.md#registry-related-configuration


[Bug]Value Changed? output of Insert into Map.vim is inverted

fixed in v<IP_ADDRESS>
https://www.vipm.io/package/vipm_lib_labview_collection_extensions/#<IP_ADDRESS>


Added some SEO/page descriptions

Please give me some feedback: Should the short descriptions always be full sentences? So f.e. I wrote "[...]. List of fullnodes." Would it maybe be better to write "See a list of fullnodes"?

I think it's great. I'm not quite sure what's the best way for SEO. Would need to read up on it as well.
But I think for now it does not really matter. Any description is better than no description.
Thanks a lot for your work! 🚀
PS: Found you on Twitter 😛

So I am done with the short descriptions. So feel free to merge it :)

Thank you so much! That was awesome work, right there!


Add S3RandomAccessFile

Problem Summary(Required) ：

Add S3RandomAccessFile for accessing S3 objects.
What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[x] others

@wyb PTAL

@starrocks-xueli PTAL


WIP 1932 em fix final

[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[ ] The test suite passes (run bundle exec rspec to verify this)

Summary

Context

Version Changes

Didn't mean to put this out here...emergency fix to get our deployment working....no specs ( sorry was only worried about getting deployment working again ) and solution needs some cleaning up to consider for a PR.  Plus this is done off of 1.9.32 as we haven't been able to upgrade to 2.x yet.  I have a few other things outside of this to do and I'll get back to cleaning up solution and testing etc on 2.x.


[Fix] UIWindow not initialized and brands in custom UI

UIApplication.shared.windows.first?
instead of self.window or we should initialized windows first to open safari self.brands in custom ui not initialized so we should replace brand with brands

Thanks @Elblassy


Update afk.py

This is best for me canyou change this

Hmm In me @MarioDevs Or @pureindialover in tg we will test

@azofficial No it's very

@StarkGang No it's very offencive with more abuses


changes to use the symbols plugin to allow external env data

@<reviewer_id>
What issues does this address?
Fixes # openstack-298
What's this change do?
Moves environmental data settings up a level to an external json file.
Employs pytest-symbols plugin to accomplishthis using the symbols fixture in pytest.
Where should the reviewer start?
Changes plus new files.  README begins with some explanation from a user pov.
Any background context?
The changed files are functional test scripts for the lbaasv2 plugin.

Looks Good, Ship It !

Hey guys you have an internal link in the requirements file.  The bldr-git cannot be used by people outside of F5.  This needs to be fixed.  Also not sure that we want folks to have to install all of neutron for tests that may not require it.  Maybe we should have broken out the unit test versus functional tests requirements?


chore: python version to 3.11 (while supporting 3.10)

Bumping python to 3.11 as the default version, supporting 3.10, and deprecating 3.9 support
Currently in this PR I'm setting next to 3.11 and current to 3.11.11. This means when 3.11.12 shows up CI will run on two different versions within 3.11. Eventually we can make next point to 3.12 as lib support grows.
about 3.12
Seems 3.12 is not easy at the moment, hit some issues that pointed to upgrading dependencies, but hit some conflicting diamond dependencies as I was doing so. https://github.com/apache/superset/pull/31313 would help sort this out at a faster pace, without the bugs and slowness of pip-compile-multi

deprecating 3.9 support

@mistercrunch There's a 5.0 proposal to drop support for 3.9. We should wait for the breaking window unless you remove the 3.9 deprecation of this PR's scope.

@michael-s-molina yup I'm taking this on as part of the 5.0 effort.

Should we first merge https://github.com/apache/superset/pull/31313

@villebro yes, that will help sorting things out. I'll push on that one to go first (pre 5.0)

should we not wait until 3.12 is supported ?

I don't think that's required, my take is we should support previous and current, and next is a nice to have as a placeholder to start getting things working. The next construct is useful to support the process of getting ready for it, but not needed to deprecate a previous version. Given the state of CI, and the fact that only some checks run on previous and next, we should strongly recommend using the current version, the next/previous are useful if/when we want to support more or while we're in the process of establishing or deprecating support.

Assuming this should effectively resolve #31516, right? Slapping the hold:next-major label so we don't merge this until the breaking window.


How to uninstall tensorflow or reset pip installs, to do a fresh install?

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Hi @Curious-Nikhil. You didn't provide any details here except for your vague issue title. I'm assuming you are trying to uninstall everything from your pip environment. You can find this answer easily on StackOverflow at "What is the easiest way to remove all packages installed by pip?"
Please read and fill out the issue template next time. These types of questions should be directed to StackOverflow and not here since this is not an issue with TensorFlow.


k3s/kubernettes install

Here are the files I used to get this running on k3s. The one issue I have not fixed is that in grafana the powerflow graphic in the top right does not work. Everything else appears to work correctly.

Hi @cfoos - Thanks for sharing this.

The one issue I have not fixed is that in grafana the powerflow graphic in the top right does not work

The power flow animation is a iframe panel on Grafana that effectively render ths animation direction from pypowerwall - you can see an example of this hitting the pypowerwall endpoint at http://pypowerwall:8675/example.html - Does that help?

I tracked down how it was being added, but it being an iframe and finding pypowerwall via browser connection complicated it since under k3s it would be a seperate ip/hostname. Manually setting that in the dashboard helped, but if you put it behind a proxy to get a domain name it breaks in chrome, probably due to xss. I found a plugin for powerflow and I'm re-doing a k3s dashboard using it and adjusting some of the deployments to have things like readiness probes.
https://github.com/A-Lehmann-Elektro-AG/solar-flow-grafana
That can be pulled from grafana but that version is behind what he has on github and does not have solar added yet. I configured it to pull from the same data source as everything else and the only issue is that it is stuck to the refresh rate of the dashboard, but since this is local I just set that to 5s.

I updated the readme with instructions for you to set up a system to test this on and added files needed for the test system. I also modified the grafana deployment to use the latest grafana since I gave up on the power flow animation in favor of that plugin, just need to wait for the next version of it for full functionality back to what we had.

I gave up on the power flow animation in favor of that plugin

Can we provide the option for both? The powerflow animation provides quite a bit of useful information that don't appear in the plugin.
One more minor update... We have been putting our tools and optional installations and extended capabilities in the /tools folder (https://github.com/jasonacox/Powerwall-Dashboard/tree/main/tools). It helps signal that it isn't required for the basic install. We can add an entry for this install in the index.
@cfoos I really appreciate this PR!  I'll start testing...

One more minor update... We have been putting our tools and optional installations and extended capabilities in the /tools folder

moved

Can we provide the option for both? The powerflow animation provides quite a bit of useful information that don't appear in the plugin.

The issue is that k3s runs everything in pods that have an internal to the cluster communication that is used to get the data from pypowerwall to influxdb then to grafana, but only services set up to be accessed externally can be. Because of that, for embedded html to get data from pypowerwall you need to add a service for external access to pypowerwall and update the embedded html to point to that services ip since your browser is not internal to k3s. Unless someone else knows how, I can't get metallb to allow different deployments/pods to share an ip. Because of that you end up with xss. You could add nginx in front of grafana as a reverse proxy so you can use a domain name and do the same for pypowerwall on a subdomain, but that gets even more complicated and harder to automate down the line.
I think the best way to keep the old data would be to find a data source that can poll pypowerwall from grafana and send that data to a visualization. This seems like it may be the best datasource if we can run the js on pypowerwall and just push the update data.
https://grafana.com/developers/plugin-tools/tutorials/build-a-streaming-data-source-plugin
Basically, run the entire page on the pypowerwall container and push the soe, aggregates, etc to the streaming datasource and use that to live update a visualization that has everything else hard coded instead of fetched on first load.

Thanks for the contribution @cfoos !


Allow specifying precedence between imported operators

This code is rejected:
open import Primitives using (
  invol as infix ~ bind tighter =, \/, /\,
  intervalMin as infix /\        ,
  intervalMax as infix \/        ,
)

with the error:
Failed with `class org.aya.resolve.error.UnknownOperatorError`: In file Issues\289.aya:11:35 ->
  11 |   invol as infix ~ bind tighter =, \/, /\,
                                          ^^
  12 |   intervalMin as infix /\        ,
  13 |   intervalMax as infix \/        ,
Error: Unknown operator `\/` used in bind statement

Does
open import Primitives using (
  intervalMin as infix /\        ,
  intervalMax as infix \/        ,
  invol as infix ~ bind tighter =, \/, /\,
)

work

Does
open import Primitives using (
  intervalMin as infix /\        ,
  intervalMax as infix \/        ,
  invol as infix ~ bind tighter =, \/, /\,
)

work

Sadly, no. 😭

Proposal: remove bind keyword

Proposal: remove bind keyword

I vote for it

@imkiva invol is not infix, it's left-fix

@tsao-chi @lunalunaa feel free to take over

@imkiva invol is not infix, it's left-fix

Should address in #462


pack build

pack build
As a developer I want to use the pack buildcommand to create an image so that I can build my app using buildpacks,  and run it similarly to how it will run in production
Acceptance Criteria
Given I have installed docker
Given Source code in a directory <app-dir>
When I run pack build --dir <app-dir> --name <repo-name>:<tag-name (optional)>
Then The pack cli builds an image from the source code in <app-dir> with the v3 buildpack lifecycle and puts it in <repo-name> in the local Docker daemon
Then I can run docker run ` and see my app running
Assumptions

For this first story we assume the image is fetched from and written to the docker daemon
We can skip restorer and cacher in this first iteration
We can assume the correct stack is packs/v3 on dockerhub

This is finished on develop branch. I am waiting on rebuilds of docker images to merge to master

Merged to master.

Acceptance steps

clone buildpack/packs
int the packs repo run v3/bin/build ubuntu:18.04 master
clone buildpack/pack
in pack go build ./cmd/pack/`
`pack build -p
docker images and see  in the list
docker run <image-name>


Describe the Factory pattern in the new Pattern section of the docs

I once wrote a detailed explanation of the factory pattern in the forum --> https://discuss.daml.com/t/daml-finance-concept-of-factories/5590/2


lua and pkg-config file naming (lua.pc)

I was packaging a game and was having problem with this: https://github.com/smcameron/space-nerds-in-space/blob/master/Makefile#L331. The makefile requests lua5.2.pc, but nix only includes lua.pc. I want a clarification if this is as should be.
The packages could simply be patched to look for a generic lua.pc, but if a package requests a specific lua version, shouldn't it be provided to it? A simple symlink from lua5.2.pc to it's own lua.pc would fix this.
http://lua-users.org/lists/lua-l/2011-12/msg00731.html ( and debian ) seems to be the closest to a standard according to #lua
compatibility:

debian uses lua5.X.pc :  lua5.1.pc lua5.2.pc lua5.3.pc lua.pc (none),
archlinux goes for maximum inconsistency: 5.1 -> lua5.1.pc, 5.2 -> lua52.pc, 5.3 -> lua.pc

potentially related note: should there be a lua5.X binary for scripts that try to call a specific version of lua (folks on irc said it happens). That's how it already works for python, right?

Oh, I've successfully run the game but I never got to polishing and pushing the expression. Now I found it and created a commit at least: 89cdc8d5685e.

my own unpolished expression: https://github.com/rardiol/nixpkgs/commit/b0772a6cf122f6ed4c8bc581570c929d47aca911

I guess that resolves this issue.


[8pt] ras2catchments - wired model catalog to final_name_key column

Currently it is wired to the models catalog by feature ID, but in the models catalog csv, more than one record can have a feature ID. We need to wire them via final_name_key. Not sure if ras2fim has that value but I am sure we can figure something out. ie) keep the original model folder name for each model as it will match the final_name_key in the models_catalog.csv.
We are now loading the models_catalog as a param into ras2fim.py so maybe we can use it to track processing of models as we go through the steps.

No longer relavent


mvn install puts the .jar file in the /lib instead of /target.

The package-benchmark.sh script from Graphalytics expects the following directory:
/specified-directory/graphalytics-platforms-openg/graphalytics-0.3-openg-0.1/target/graphalytics-platforms-openg-0.1.jar
while the mvn package would generate
/specified-directory/graphalytics-platforms-openg/graphalytics-0.3-openg-0.1/lib/graphalytics-platforms-openg-std-0.1.jar
Is there something I'm missing here?

We stopped using the package-benchmark script in favor of a simplified build process using maven, but forgot to delete the script. Sorry for the inconvenience.
Please refer to the "how to build" section of the main Graphalytics repository for the updated process: https://github.com/ldbc/ldbc_graphalytics#how-to-build-graphalytics


Allow using tuple (and/or iterable) as an alias to the GraphQL type

Feature Request Type
Alteration (enhancement/optimization) of existing feature(s)
Description
Returning a tuple when the attribute is hinted as list works.
But hinting the return type correctly as a tuple causes an error:
@strawberry.type
class Dictionary:
    entries: tuple[Entry]
    sources: tuple[Source]

TypeError: Unexpected type tuple[Entry]

Our code uses tuples and iterables whenever appropriate for robustness, efficiency, and documentation. We also use strict type hinting. It'd be great for these read-only sequences to be explicitly supported.

I think that a more general Sequence annotation makes sense.

Support added in v0.130.0

However, if the tuple is Tuple[Date, float] for instance, and it will yield a wrong type!

@dperetti good catch! I think in this case we should probably throw an error, what do you think?

@patrick91 yeah, along with a reminder that GraphQL doesn't support tuples anyway!


(Suggestion) Add a config to allow other modded armors to be equipable in these slots

I am not sure how hard it would be to implement, but I would assume having it as part of the config then only reading the config on startup to add the tags to these items. Like having an array/list in the config for the Head Vanity, Chest Vanity, etc. so that we can put other armor types into them. An example could be putting "selfexpressions:miner_helmet" into that config for Head Vanity, and then one game restart later, I can then equip it into that slot.

Ideally mods themselves would add their armors to the vanilla tags, which I was relying on, but I can try to find a different solution.


Unable to reorder apps when "Display service name.." is enabled

When "Display service name under the icon" (Settings > Appearance) is enabled, apps cannot be dragged and dropped into a new position.  When "Display service..." is disabled, this functionality works as expected.

@jeffgtx - please specify which version of Ferdi you are trying this with, you Operating system, etc.

Version: 5.6.3
Windows 10

I have confirmed that this is a bug. Will need to find a fix for it.

@Vishnu017 - the issue is because there is an extra div only when the service name is shown, while it is not present when the setting is off. Could you please fix this?

@Vishnu017 - any updates on this please?

I've seen this issue when you have activated the option "Display Name Services" if you hide it you can rearrange them once again


engine.generate as iterator

Problem
This is related to cleaning up #521.
Another thing. I try to optimize the way to get the initial samples. I want to keep the simplest solution to be consistent with the other examples with is

to get one single long trajectory that hits all states
use this to populate the initial sampleset

In the alanine example this can take a long time and I am impatient and want to see what the progress is. Really adding a progress reporting should be for later with the engine update 1.1.
But I copied the generate function and made a little change and turned it in an iterator. This seems to be extremely cool and we should use this more, also for running PathSimulations...
Example
# without iterator
trajectory = engine_high.generate(template, [hit_all_states])

# with iterator
it = engine_high.iter_generate(template, [hit_all_states], intervals=50)
for trajectory in it:
     print 'Currently the trajectory is of length %d' % len(trajectory)

print 'final trajectory is', trajectory
# not that python 3 does not support leaking of local variables in loops so you need to
# define it first in the outer loop

I can't imagine a simpler way to do something like status report.
I added another nice trick, that will capture a kernel interrupt and complete the engine step.
Return the current trajectory and then reraise the error.  You can even continue after a stop if you reuse the already existing trajectory. But that is for experimenting I guess.
The failing gracefully of engine steps I think is very important. When running in a notebook you don't want to interrupt your simulation at the wrong moment, like writing to disk!

I think #521 add this.

Closing!


[Doc] Potential improvement in account recovery and self sign up

Documentation of account recovery [1] and self-sign up [2] should include the following notes,
By default EnableRecoveryEndpoint and EnableSelfSignUpEndpoint are enabled in the identity.xml [3]. So the dashboard login page contains the links to recovery and self-sign up. But without required tenant configurations in the resident IdP, those operations will end up with respective errors.
[1] https://docs.wso2.com/display/IS550/Account+Recovery
[2] https://docs.wso2.com/display/IS550/Self+Sign+Up+and+Account+Confirmation
[3] https://github.com/wso2/carbon-identity-framework/blob/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml#L608

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Expect argument to be a string or int, found

I am facing this problem.
$ python main.py --dataset cresco --train Traceback (most recent call last):   File "main.py", line 20, in <module>     flags.DEFINE_integer("train_size", np.inf, "The size of train images [np.inf]")   File "/home/uzzal/miniconda2/envs/tf_gpu_py2/lib/python2.7/site-packages/tensorflow/python/platform/flags.py", line 58, in wrapper     return original_function(*args, **kwargs)   File "/home/uzzal/miniconda2/envs/tf_gpu_py2/lib/python2.7/site-packages/absl/flags/_defines.py", line 315, in DEFINE_integer     DEFINE(parser, name, default, help, flag_values, serializer, **args)   File "/home/uzzal/miniconda2/envs/tf_gpu_py2/lib/python2.7/site-packages/absl/flags/_defines.py", line 81, in DEFINE     DEFINE_flag(_flag.Flag(parser, serializer, name, default, help, **args),   File "/home/uzzal/miniconda2/envs/tf_gpu_py2/lib/python2.7/site-packages/absl/flags/_flag.py", line 107, in __init__     self._set_default(default)   File "/home/uzzal/miniconda2/envs/tf_gpu_py2/lib/python2.7/site-packages/absl/flags/_flag.py", line 196, in _set_default    self.default = self._parse(value)   File "/home/uzzal/miniconda2/envs/tf_gpu_py2/lib/python2.7/site-packages/absl/flags/_flag.py", line 169, in _parse     'flag --%s=%s: %s' % (self.name, argument, e)) absl.flags._exceptions.IllegalFlagValueError: flag --train_size=inf: Expect argument to be a string or int, found <type 'float'>

@uzl I also had the same problem as you mentioned.
In my case, since np.inf type is float, you can change flags.DEFINE_integer of the following line:
https://github.com/LeeDoYup/AnoGAN/blob/7d03e01735254f26758f63fcf56bdbd36a49c053/main.py#L20
to flags.DEFINE_float . It works well after I changed that line.


We use url_for in Deck but that only works in application context

We should probably do it somewhere else.

Currently we have an application context whenever we do anything related to
the decksite.  But yeah, it night be neater if we don't need one for the
scrapers to function.
On Thu., 3 Nov. 2016, 09:45 Thomas David Baker<EMAIL_ADDRESS>wrote:

We should probably do it somewhere else.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/481, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAL2ziDwiZ4JF32jT_3soBXoU8eaHb2oks5q6RJ1gaJpZM4Kn1cI
.

Oh, cool. I found out in my test for card legality. I guess "bug" is a bit harsh but we should refactor so it doesn't work like that.

I removed it from there and pushed it onto the view.


Support query of memory preset keys M1-M6

This PR adds some support for query of the registers for the M1-M6 memory preset keys https://github.com/mckenm/HanmaTekPSUCmd/wiki/Registers.
I define them in a dict structure, the keys of which are then walked and the values retrieved if the --get-memory argument is passed.
eg.
$ python3 hm305.py --port /dev/tty.wchusbserial2210 --get-memory
2021-06-06 16:00:06,607 Memory Key Presets:
2021-06-06 16:00:06,607 M1 : 1.8 Volts
2021-06-06 16:00:06,608 M1 : 0.51 Amps
2021-06-06 16:00:06,608 M1 : 10 Time Span
2021-06-06 16:00:06,609 M1 : 1 Enabled
2021-06-06 16:00:06,609 M2 : 5.0 Volts
2021-06-06 16:00:06,609 M2 : 2.2 Amps
2021-06-06 16:00:06,610 M2 : 10 Time Span
2021-06-06 16:00:06,610 M2 : 1 Enabled
2021-06-06 16:00:06,610 M3 : 12.0 Volts
2021-06-06 16:00:06,610 M3 : 2.244 Amps
2021-06-06 16:00:06,610 M3 : 12 Time Span
2021-06-06 16:00:06,610 M3 : 1 Enabled
2021-06-06 16:00:06,610 M4 : 19.52 Volts
2021-06-06 16:00:06,610 M4 : 3.111 Amps
2021-06-06 16:00:06,610 M4 : 13 Time Span
2021-06-06 16:00:06,610 M4 : 1 Enabled
2021-06-06 16:00:06,611 M5 : 20.0 Volts
2021-06-06 16:00:06,611 M5 : 3.2 Amps
2021-06-06 16:00:06,611 M5 : 14 Time Span
2021-06-06 16:00:06,611 M5 : 1 Enabled
2021-06-06 16:00:06,611 M6 : 30.4 Volts
2021-06-06 16:00:06,611 M6 : 4.845 Amps
2021-06-06 16:00:06,611 M6 : 15 Time Span
2021-06-06 16:00:06,611 M6 : 1 Enabled

Perhaps 'Volts' and 'Amps' should be renamed 'Voltage' and 'Current Limit' respectively?


FS-1101; Fixing fleetdb mod name

Changing go mod name from

sh.hollow/serverservice

to

github.com/metal-toolbox/fleetdb

Bonus:

Adding a small script to auto install crdb.

Once this is in, this can be merged.


Fix an issue where we fail fast rather than throwing a type error

Fix an issue where we fail fast rather than throwing a type error. Thanks to oss-fuzz for the report.

Not sure if true but typeof null[Symbol()] and new null[Symbol()] might also be interesting. Fix looks good, though.

@dotnet-bot test Ubuntu shared_ubuntu_linux_debug please

@dotnet-bot test Ubuntu shared_ubuntu_linux_debug please


[BUG] OneHotEncoder with categorical-float columns

🐛 Bug Report
OneHotEncoder not working with categorical features based on float-integer values
Expected behavior
It should work
How To Reproduce
from etna import transforms
from etna.datasets import TSDataset
from etna.datasets import generate_ar_df
from etna.transforms import SegmentEncoderTransform, OneHotEncoderTransform, DateFlagsTransform

df = generate_ar_df(periods=100, start_time="2021-01-01", n_segments=10)

ts = TSDataset.to_dataset(df)
ts = TSDataset(ts, freq="D")

transforms = [DateFlagsTransform(), OneHotEncoderTransform(in_column="DateFlagsTransform(day_number_in_week = False, day_number_in_month = False, day_number_in_year = False, week_number_in_month = False, week_number_in_year = False, month_number_in_year = False, season_number = False, year_number = False, is_weekend = True, special_days_in_week = (), special_days_in_month = (), out_column = None, )")]

ts.fit_transform(transforms)

Environment
No response
Additional context
  File "bug.py", line 15, in <module>
    ts.fit_transform(transforms)
  File "/workspaces/etna/etna/datasets/tsdataset.py", line 160, in fit_transform
    self.df = transform.fit_transform(self.df)
  File "/workspaces/etna/etna/transforms/base.py", line 61, in fit_transform
    return self.fit(df).transform(df)
  File "/workspaces/etna/etna/transforms/encoders/categorical.py", line 152, in fit
    self.ohe.fit(X=x)
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 461, in fit
    self._fit(X, handle_unknown=self.handle_unknown, force_all_finite="allow-nan")
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 77, in _fit
    X_list, n_samples, n_features = self._check_X(
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 44, in _check_X
    X_temp = check_array(X, dtype=None, force_all_finite=force_all_finite)
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/sklearn/utils/validation.py", line 746, in check_array
    array = np.asarray(array, order=order, dtype=dtype)
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/pandas/core/arrays/categorical.py", line 1451, in __array__
    ret = take_nd(self.categories._values, self._codes)
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/pandas/core/array_algos/take.py", line 108, in take_nd
    return _take_nd_ndarray(arr, indexer, axis, fill_value, allow_fill)
  File "/home/codespace/.cache/pypoetry/virtualenvs/etna-cCDvSR3a-py3.8/lib/python3.8/site-packages/pandas/core/array_algos/take.py", line 154, in _take_nd_ndarray
    func(arr, indexer, out, fill_value)
  File "pandas/_libs/algos_take_helper.pxi", line 2302, in pandas._libs.algos.take_1d_object_object
ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

Checklist

[X] Bug appears at the latest library version

It looks like an sklearn-related error: [sklearn.preprocessing.OneHotEncoder](https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html):

The input to this transformer should be an array-like of integers or strings, denoting the values taken on by categorical (discrete) features. The features are encoded using a one-hot (aka ‘one-of-K’ or ‘dummy’) encoding scheme. This creates a binary column for each category and returns a sparse matrix or dense array (depending on the sparse parameter)


Minimal workflow to compute spatially variable genes

Hi,
I cloned your repo and I'm trying your tutorial to understand a minimal worflow to compute spatially variable genes.
But there are some steps that I cannot understand.
This is your code from the jupyter tutorial, in which an AnnData can be created from 10x data
from scanpy import read_10x_h5

adata = read_10x_h5("../tutorial/data/151673/expression_matrix.h5")
spatial=pd.read_csv("../tutorial/data/151673/positions.txt",sep=",",header=None,na_filter=False,index_col=0)
adata.obs["x1"]=spatial[1]
adata.obs["x2"]=spatial[2]
adata.obs["x3"]=spatial[3]
adata.obs["x4"]=spatial[4]
adata.obs["x5"]=spatial[5]

#Select captured samples
adata=adata[adata.obs["x1"]==1]
adata.var_names=[i.upper() for i in list(adata.var_names)]
adata.var["genename"]=adata.var.index.astype("str")

adata.write_h5ad("../tutorial/data/151673/sample_data.h5ad")

In the last line of code you save this AnnData as h5ad file.
In the section Identify SVGs the tuorial shows the loading of such object
#Read in raw data
raw=sc.read("../tutorial/data/151673/sample_data.h5ad")
raw.var_names_make_unique()
raw.obs["pred"]=adata.obs["pred"].astype('category')
raw.obs["x_array"]=raw.obs["x2"]
raw.obs["y_array"]=raw.obs["x3"]
raw.obs["x_pixel"]=raw.obs["x4"]
raw.obs["y_pixel"]=raw.obs["x5"]
#Convert sparse matrix to non-sparse
raw.X=(raw.X.A if issparse(raw.X) else raw.X)
raw.raw=raw
sc.pp.log1p(raw)

However, all this block of code is not executed successfully because I get the following error
      2 raw=sc.read("../tutorial/data/151673/sample_data.h5ad")
      3 raw.var_names_make_unique()
----> 4 raw.obs["pred"]=adata.obs["pred"].astype('category')
      5 raw.obs["x_array"]=raw.obs["x2"]
      6 raw.obs["y_array"]=raw.obs["x3"]

NameError: name 'adata' is not defined

If I change that adata variable with raw I get the following error
KeyError: 'pred'

So it seems that other intermediate steps are needed probably to insert something in the key pred.
Logically it seems that the two steps inserted above can be consequential, as the object is first saved and then reloaded. But I'm not understanding what I'm doing wrong.
So I was wondering if there is any intermediate step is missing in the tutorial where you had to update the h5ad file, or if there is any step that I missed.
Thanks in advance.
Best regards,
Davide

Hi Davide,
The SVG detection is based on the spatial domains, so you need to run spatial domain detection before detecting SVGs.
As you can see in section 5.3 Run SpaGCN
#Run
clf.train(adata,adj,init_spa=True,init="louvain",res=res, tol=5e-3, lr=0.05, max_epochs=200)
y_pred, prob=clf.predict()
adata.obs["pred"]= y_pred

That is where we get the "pred".
Hope this solves your problem

Hi @jianhuupenn ,
thanks for your answer, indeed I tried what you suggested, but unfortunately this hasn’t solved my issue because in the end I obtain 0 results in the final table.
To give you an idea, I traced the code with a bottom-up approach building the following workflow and obtaining the 0 results.
What do you suggest to do? Is there any error I’m not able to see?
Thanks,
Davide
from scanpy import read_10x_h5
import pandas as pd
import cv2
import SpaGCN as spg
import numpy as np
import random
import torch
import math
from scipy.sparse import issparse
import scanpy as sc

adata = read_10x_h5("../tutorial/data/151673/expression_matrix.h5")
spatial=pd.read_csv("../tutorial/data/151673/positions.txt",sep=",",header=None,na_filter=False,index_col=0)
adata.obs["x1"]=spatial[1]
adata.obs["x2"]=spatial[2]
adata.obs["x3"]=spatial[3]
adata.obs["x4"]=spatial[4]
adata.obs["x5"]=spatial[5]
#Select captured samples
adata=adata[adata.obs["x1"]==1]
adata.var_names=[i.upper() for i in list(adata.var_names)]
adata.var["genename"]=adata.var.index.astype("str")

#Set coordinates
adata.obs["x_array"]=adata.obs["x2"]
adata.obs["y_array"]=adata.obs["x3"]
adata.obs["x_pixel"]=adata.obs["x4"]
adata.obs["y_pixel"]=adata.obs["x5"]
x_array=adata.obs["x_array"].tolist()
y_array=adata.obs["y_array"].tolist()
x_pixel=adata.obs["x_pixel"].tolist()
y_pixel=adata.obs["y_pixel"].tolist()

#Calculate adjacent matrix
s=1
b=49
# adj=spg.calculate_adj_matrix(x=x_pixel,y=y_pixel, x_pixel=x_pixel, y_pixel=y_pixel, image=img, beta=b, alpha=s, histology=True)
#If histlogy image is not available, SoaGCN can calculate the adjacent matrix using the fnction below
adj=spg.calculate_adj_matrix(x=x_pixel,y=y_pixel, histology=False)
# np.savetxt('./data/adj.csv', adj, delimiter=',')

p=0.5
#Find the l value given p
l=spg.search_l(p, adj, start=0.01, end=1000, tol=0.01, max_run=100)

#For this toy data, we set the number of clusters=7 since this tissue has 7 layers
n_clusters=7
#Set seed
r_seed=t_seed=n_seed=100
#Search for suitable resolution
res=spg.search_res(adata, adj, l, n_clusters, start=0.7, step=0.1, tol=5e-3, lr=0.05, max_epochs=20, r_seed=r_seed, t_seed=t_seed, n_seed=n_seed)

#Run
clf=spg.SpaGCN()
clf.set_l(l)
clf.train(adata,adj,init_spa=True,init="louvain",res=res, tol=5e-3, lr=0.05, max_epochs=200)

y_pred, prob=clf.predict()

adata.obs["pred"]= y_pred

raw = adata

raw.var_names_make_unique()
raw.obs["pred"]=adata.obs["pred"].astype('category')
raw.obs["x_array"]=raw.obs["x2"]
raw.obs["y_array"]=raw.obs["x3"]
raw.obs["x_pixel"]=raw.obs["x4"]
raw.obs["y_pixel"]=raw.obs["x5"]
#Convert sparse matrix to non-sparse
raw.X=(raw.X.A if issparse(raw.X) else raw.X)
raw.raw=raw
sc.pp.log1p(raw)

target=0

#Set filtering criterials
min_in_group_fraction=0.8
min_in_out_group_ratio=1
min_fold_change=1.5

#Search radius such that each spot in the target domain has approximately 10 neighbors on average
adj_2d=spg.calculate_adj_matrix(x=x_array, y=y_array, histology=False)
start, end= np.quantile(adj_2d[adj_2d!=0],q=0.001), np.quantile(adj_2d[adj_2d!=0],q=0.1)
r=spg.search_radius(target_cluster=target, cell_id=adata.obs.index.tolist(), x=x_array, y=y_array, pred=adata.obs["pred"].tolist(), start=start, end=end, num_min=10, num_max=14,  max_run=100)

#Detect neighboring domains
nbr_domians=spg.find_neighbor_clusters(target_cluster=target,
                                   cell_id=raw.obs.index.tolist(),
                                   x=raw.obs["x_array"].tolist(),
                                   y=raw.obs["y_array"].tolist(),
                                   pred=raw.obs["pred"].tolist(),
                                   radius=r,
                                   ratio=1/2)

nbr_domians=nbr_domians[0:3]
de_genes_info=spg.rank_genes_groups(input_adata=raw,
                                target_cluster=target,
                                nbr_list=nbr_domians,
                                label_col="pred",
                                adj_nbr=True,
                                log=True)
#Filter genes
de_genes_info=de_genes_info[(de_genes_info["pvals_adj"]<0.05)]
filtered_info=de_genes_info
filtered_info=filtered_info[(filtered_info["pvals_adj"]<0.05) &
                            (filtered_info["in_out_group_ratio"]>min_in_out_group_ratio) &
                            (filtered_info["in_group_fraction"]>min_in_group_fraction) &
                            (filtered_info["fold_change"]>min_fold_change)]
filtered_info=filtered_info.sort_values(by="in_group_fraction", ascending=False)
filtered_info["target_dmain"]=target
filtered_info["neighbors"]=str(nbr_domians)
print("SVGs for domain ", str(target),":", filtered_info["genes"].tolist())

filtered_info

Hi Davide,
I think the reason is the filtering criteria for SVGs are too restricted so that no gene is left in the final table. This happens when some spatial domains do not have very good gene enrichment.
I would recommend you lower the filtering criteria, for example:
min_in_group_fraction=0.8 (may be changed to 0.5 or lower)
min_in_out_group_ratio=1 (may be changed to 0.5 or lower)
min_fold_change=1.5 (may be changed to 1.2 or lower)
This will results in more detected SVGs but with weaker spatial expression patterns.
Best,
Jian

Hi @jianhuupenn ,
thanks for your answer, but all filtering criteria displayed in https://github.com/jianhuupenn/SpaGCN/issues/2#issuecomment-889241273 are the same of the original tutorial.ipynb of the repo. I'm still not able to reproduce the original results attached in your tutorial.ipynb.
Anyway, I tried to apply the changes that you suggested here https://github.com/jianhuupenn/SpaGCN/issues/2#issuecomment-889288382 but still getting no results.
I've started again to extract a minimal workflow to compute spatially variable genes without saving and loading any intermediate data. Just with a linear series of steps, but I'm still finding few inconsistencies that are not allowing me to proceed with the analysis steps.
This is the new workflow (maybe is the same of the previous one) with the output attached in a quote style
import os,csv,re
import pandas as pd
import numpy as np
import scanpy as sc
import math
import SpaGCN as spg
from scipy.sparse import issparse
import random, torch
import warnings
warnings.filterwarnings("ignore")
import matplotlib.colors as clr
import matplotlib.pyplot as plt
import SpaGCN as spg
import cv2
from scanpy import read_10x_h5

adata = read_10x_h5("../tutorial/data/151673/expression_matrix.h5")
spatial=pd.read_csv("../tutorial/data/151673/positions.txt",sep=",",header=None,na_filter=False,index_col=0)
adata.obs["x1"]=spatial[1]
adata.obs["x2"]=spatial[2]
adata.obs["x3"]=spatial[3]
adata.obs["x4"]=spatial[4]
adata.obs["x5"]=spatial[5]
#Select captured samples
adata=adata[adata.obs["x1"]==1]
adata.var_names=[i.upper() for i in list(adata.var_names)]
adata.var["genename"]=adata.var.index.astype("str")
img=cv2.imread("../tutorial/data/151673/histology.tif")

Output:

Variable names are not unique. To make them unique, call .var_names_make_unique.
Variable names are not unique. To make them unique, call .var_names_make_unique.
Variable names are not unique. To make them unique, call .var_names_make_unique.
Variable names are not unique. To make them unique, call .var_names_make_unique.

#Set coordinates
adata.obs["x_array"]=adata.obs["x2"]
adata.obs["y_array"]=adata.obs["x3"]
adata.obs["x_pixel"]=adata.obs["x4"]
adata.obs["y_pixel"]=adata.obs["x5"]
x_array=adata.obs["x_array"].tolist()
y_array=adata.obs["y_array"].tolist()
x_pixel=adata.obs["x_pixel"].tolist()
y_pixel=adata.obs["y_pixel"].tolist()

#Calculate adjacent matrix
s=1
b=49
adj=spg.calculate_adj_matrix(x=x_pixel,y=y_pixel, x_pixel=x_pixel, y_pixel=y_pixel, image=img, beta=b, alpha=s, histology=True)
#If histlogy image is not available, SoaGCN can calculate the adjacent matrix using the fnction below
# adj=spg.calculate_adj_matrix(x=x_pixel,y=y_pixel, histology=False)

Output:

Calculateing adj matrix using histology image...
Var of c0,c1,c2 =  33.30687202862215<PHONE_NUMBER>5352243 46.84205750749746
Var of x,y,z =  5606737.526317932 4468793.817921193 5606737.526317932

adata.var_names_make_unique()
spg.prefilter_genes(adata,min_cells=3) # avoiding all genes are zeros
spg.prefilter_specialgenes(adata)
#Normalize and take log for UMI
sc.pp.normalize_per_cell(adata)
sc.pp.log1p(adata)

p=0.5
#Find the l value given p
l=spg.search_l(p, adj, start=0.01, end=1000, tol=0.01, max_run=100)

Output:

Run 1: l [0.01, 1000], p [0.0,<PHONE_NUMBER>63866]
Run 2: l [0.01, 500.005], p [0.0, 28.01544761657715]
Run 3: l [0.01, 250.0075], p [0.0, 4.240330219268799]
Run 4: l [0.01,<PHONE_NUMBER>9999999], p [0.0, 0.5157277584075928]
Run 5: l [62.509375,<PHONE_NUMBER>9999999], p [0.028496861457824707, 0.5157277584075928]
Run 6: l [93.7590625,<PHONE_NUMBER>9999999], p [0.18753135204315186, 0.5157277584075928]
Run 7: l [109.38390625,<PHONE_NUMBER>9999999], p [0.32801353931427, 0.5157277584075928]
Run 8: l [117.196328125,<PHONE_NUMBER>9999999], p [0.41564691066741943, 0.5157277584075928]
Run 9: l [121.1025390625,<PHONE_NUMBER>9999999], p [0.4640926122665405, 0.5157277584075928]
Run 10: l [123.05564453125,<PHONE_NUMBER>9999999], p [0.4895068407058716, 0.5157277584075928]
recommended l =<PHONE_NUMBER>65625

#If the number of clusters known, we can use the spg.search_res() fnction to search for suitable resolution(optional)
#For this toy data, we set the number of clusters=7 since this tissue has 7 layers
n_clusters=7
#Set seed
r_seed=t_seed=n_seed=100
#Seaech for suitable resolution
res=spg.search_res(adata, adj, l, n_clusters, start=0.7, step=0.1, tol=5e-3, lr=0.05, max_epochs=20, r_seed=r_seed, t_seed=t_seed, n_seed=n_seed)

Output:

Start at res =  0.7 step =  0.1
Initializing cluster centers with louvain, resolution =  0.7
Epoch  0
Epoch  10
Res =  0.7 Num of clusters =  7
recommended res =  0.7

clf=spg.SpaGCN()
clf.set_l(l)
#Set seed
random.seed(r_seed)
torch.manual_seed(t_seed)
np.random.seed(n_seed)
#Run
clf.train(adata,adj,init_spa=True,init="louvain",res=res, tol=5e-3, lr=0.05, max_epochs=200)
y_pred, prob=clf.predict()
adata.obs["pred"]= y_pred
adata.obs["pred"]=adata.obs["pred"].astype('category')
#Do cluster refinement(optional)
#shape="hexagon" for Visium data, "square" for ST data.
adj_2d=spg.calculate_adj_matrix(x=x_array,y=y_array, histology=False)
refined_pred=spg.refine(sample_id=adata.obs.index.tolist(), pred=adata.obs["pred"].tolist(), dis=adj_2d, shape="hexagon")
adata.obs["refined_pred"]=refined_pred
adata.obs["refined_pred"]=adata.obs["refined_pred"].astype('category')

Output:

Initializing cluster centers with louvain, resolution =  0.7
Epoch  0
Epoch  10
Epoch  20
Epoch  30
Epoch  40
Epoch  50
Epoch  60
Epoch  70
Epoch  80
Epoch  90
Epoch  100
Epoch  110
Epoch  120
Epoch  130
Epoch  140
Epoch  150
Epoch  160
Epoch  170
Epoch  180
Epoch  190
Calculateing adj matrix using xy only...

In the next cell there are few inconsistencies:

I had to add raw = adata because in the original tutorial.ipynb you load the same data raw=sc.read("../tutorial/data/151673/sample_data.h5ad") that is already loaded.
with this line raw.obs["pred"]=adata.obs["pred"].astype('category') you are referring to adata from raw variable which is basically the same object (if I understood correctly), but I do not understand very well why keep both the variables.
The WARNING output is due to sc.pp.log1p(raw) which was already run in the third chunk, so I think I have to remove it. Am I right ?

#Read in raw data
raw = adata

raw.var_names_make_unique()
raw.obs["pred"]=adata.obs["pred"].astype('category')
raw.obs["x_array"]=raw.obs["x2"]
raw.obs["y_array"]=raw.obs["x3"]
raw.obs["x_pixel"]=raw.obs["x4"]
raw.obs["y_pixel"]=raw.obs["x5"]
#Convert sparse matrix to non-sparse
raw.X=(raw.X.A if issparse(raw.X) else raw.X)
raw.raw=raw
sc.pp.log1p(raw)

Output:

WARNING: adata.X seems to be already log-transformed.

#Use domain 0 as an example
target=0
#Set filtering criterials
min_in_group_fraction=0.8
min_in_out_group_ratio=1
min_fold_change=1.5
#Search radius such that each spot in the target domain has approximately 10 neighbors on average
adj_2d=spg.calculate_adj_matrix(x=x_array, y=y_array, histology=False)
start, end= np.quantile(adj_2d[adj_2d!=0],q=0.001), np.quantile(adj_2d[adj_2d!=0],q=0.1)
r=spg.search_radius(target_cluster=target, cell_id=adata.obs.index.tolist(), x=x_array, y=y_array, pred=adata.obs["pred"].tolist(), start=start, end=end, num_min=10, num_max=14,  max_run=100)
#Detect neighboring domains
nbr_domians=spg.find_neighbor_clusters(target_cluster=target,
                                   cell_id=raw.obs.index.tolist(),
                                   x=raw.obs["x_array"].tolist(),
                                   y=raw.obs["y_array"].tolist(),
                                   pred=raw.obs["pred"].tolist(),
                                   radius=r,
                                   ratio=1/2)

nbr_domians=nbr_domians[0:3]
de_genes_info=spg.rank_genes_groups(input_adata=raw,
                                target_cluster=target,
                                nbr_list=nbr_domians,
                                label_col="pred",
                                adj_nbr=True,
                                log=True)
#Filter genes
de_genes_info=de_genes_info[(de_genes_info["pvals_adj"]<0.05)]
filtered_info=de_genes_info
filtered_info=filtered_info[(filtered_info["pvals_adj"]<0.05) &
                            (filtered_info["in_out_group_ratio"]>min_in_out_group_ratio) &
                            (filtered_info["in_group_fraction"]>min_in_group_fraction) &
                            (filtered_info["fold_change"]>min_fold_change)]
filtered_info=filtered_info.sort_values(by="in_group_fraction", ascending=False)
filtered_info["target_dmain"]=target
filtered_info["neighbors"]=str(nbr_domians)
print("SVGs for domain ", str(target),":", filtered_info["genes"].tolist())

Output:

Calculateing adj matrix using xy only...
Calculateing adj matrix using xy only...
Calculateing adj matrix using xy only...
Run 1: radius [1.4142135381698608, 16.970561981201172], num_nbr [1.0,<PHONE_NUMBER>9209934]
Calculateing adj matrix using xy only...
Run 2: radius [1.4142135381698608, 9.192387759685516], num_nbr [1.0,<PHONE_NUMBER>9503386]
Calculateing adj matrix using xy only...
Run 3: radius [1.4142135381698608, 5.303300648927689], num_nbr [1.0, 44.18510158013544]
Calculateing adj matrix using xy only...
Run 4: radius [1.4142135381698608, 3.3587570935487747], num_nbr [1.0, 20.74943566591422]
Calculateing adj matrix using xy only...
Run 5: radius [2.386485315859318, 3.3587570935487747], num_nbr [8.936794582392777, 20.74943566591422]
Calculateing adj matrix using xy only...
recommended radius =  2.8726212047040462 num_nbr=12.880361173814899
... storing 'feature_types' as categorical
... storing 'genome' as categorical

radius= 2.8726212047040462 average number of neighbors for each spot is 12.880361173814899
Cluster 0 has neighbors:
Dmain  3 :  931
Dmain  4 :  907

... storing 'genename' as categorical

SVGs for domain  0 : []

I'm having some difficulties to extract a workflow without save and load intermediate data to perform the spatial variable genes analysis. Moreover, with the original tutorial.ipynb you provide I cannot reproduce your results, even if I change nothing.
Do you have any idea why I cannot obtain your results, both with the original jupyter notebook and my extracted workflow?
Thanks in advance.
Best regards,
Davide

Hi Davide,

After spatial domain detection, I reload the raw count data because the "data" object is already modified in:

spg.prefilter_genes(adata,min_cells=3) # avoiding all genes are zeros
spg.prefilter_specialgenes(adata)
#Normalize and take log for UMI
sc.pp.normalize_per_cell(adata)
sc.pp.log1p(adata)

The SVG detection and filtering are based on log(UMI+1), therefore, I reload the data as "raw" for downstream analysis.

To check why you cannot reproduce the results, I think it would be better to first check the spatial domains. Could you plot the spatial domains from SpaGCN? It should be similar to the figures I showed in the tutorial even if you use a different seed and a different environment. After that, we can furtherly check the SVGs.

Best,
Jian

Hi @jianhuupenn ,
thanks for your answer. These are the plots of spatial domains

Hi Davide,
The spatial domain looks fine to me. In SVG detection for domain 0(red), the neighbouring domains are also correctly detected (domains 3 and 4 in green and blue). I think the reason that no SVG was detected for domain 0 is, the filtering criteria is too strong. Here is what I suggest to do:

Detect SVGs for other domains, to see if some SVGs can be detected.
For domain 0,  you can check why the genes with significant p values(<0.05) are filtered out by looking at:

de_genes_info

This table contains all the DE genes for domain 0 and statistics such as "in_out_group_ratio"and "in_group_fraction".
3) I also attached my spatial domain and SVGs for this data FYI:

0: ['CAMK2N1', 'ENC1', 'GPM6A', 'ARPP19', 'HPCAL1'],
1: ['PCP4'],
2: [],
3: ['NEFL', 'NEFM', 'SNCG'],
4: ['MBP', 'PLP1'],
5: ['MBP', 'PTGDS', 'FTL', 'GFAP', 'FTH1', 'CRYAB', 'PLP1', 'CNP', 'TUBA1A', 'EEF1A1', 'S100B', 'RPS12', 'APLP1', 'RPL30', 'TF', 'RPS8', 'MOBP', 'PTMA', 'SCD', 'SEPT4', 'CLDND1', 'GPM6B', 'MARCKSL1', 'APOD', 'PPP1R14A', 'MAG', 'C4ORF48', 'SPP1', 'PLEKHB1', 'RNASE1', 'QDPR', 'QKI', 'FEZ1', 'GPRC5B', 'PAQR6', 'CSRP1', 'TSC22D4', 'SELENOP', 'CLDN11', 'ERMN', 'GSN', 'ABCA2', 'LINC00844', 'BCAS1', 'SIRT2', 'EDIL3', 'CNTN2', 'MOG', 'OLIG1', 'CARNS1', 'ENPP2', 'SEPT8', 'MAL'],
6: ['RTN1', 'CCK', 'CHN1']
Thanks,
Jian


Can play while downloading?

Now I have to open file manager or another terminal to find the downloading .part file and play it with a player such as mplayer.
Can I play the downloading video with mplayer in the youtube-dl command?
I try to type this command:
youtube-dl http://youtube_url -f 43 | mplayer
It failed.
Can somebody help me?

For now, I created a small bash script, which uses python program(unnecessary if you already have youtube-dl), and youtube-dl to pipe data to stdout. Please find the script here https://github.com/ashutosh2k12/ytdl-streamer


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
c00572c -> b4db5fd

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.33.2 -> v1.34.1

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.34.1
Compare Source
Bug Fixes

Fixed bug where Projects deploy fail reason was not being output (#819) (ede430e)

v1.34.0
Compare Source
Features

Projects parallel deploy and cleanup (#818) (cc9aa18)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 2.7.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve Website Responsiveness with Media Queries

The website's current version is not looking well to different devices and screen sizes, there is a lack of alignment which impacts user experience and accessibility. Implementing media queries for responsive design is essential to ensure the website adapts smoothly to various viewport dimensions. This improvement will enhance usability on both mobile devices and desktops. I'd like to take on this task of enhancing responsiveness. Could you please assign me this issue?

@HimanshuNarware I would love to work on this issue please assign it to me.


Zoom glitch

Zoom glitch
Sum Sentence: Screen zooms on opening.
Location: Main menu
Why to add: hard to read
Extra Details: just a strange zoom glitch when opening (about 1.5-2x if i had to guess).

if possible can i see a video of it happening?


nixosTests.networking.networkd.macvlan fails nondeterministically

Describe the bug
The last several Hydra trunk-combined runs have been blocked by (among other problems) a failing nixos.tests.networking.networkd.macvlan.x86_64-linux, which was recently added back to release-combined in 656f88a59c7d144edc26cd55c9356cd4bdfc70bb (#86486). When I run the test locally it sometimes succeeds and sometimes hangs forever.
To Reproduce
Steps to reproduce the behavior:

nix build --no-link -Lf . nixosTests.networking.networkd.macvlan
If it succeeded, clear the result with nix-store --delete "$(nix eval --raw '(toString (import ./. {}).nixosTests.networking.networkd.macvlan)')" (is there a better way to do that?) and try again.

Notify maintainers
@flokli @Ma27 @charvp
Metadata

system: "x86_64-linux"
host os: Linux 5.7.16, NixOS, 20.09pre239318.c59ea8b8a0e (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.7
channels(root): "nixos-20.09pre239318.c59ea8b8a0e"
channels(anders): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: [nixosTests.networking.networkd.macvlan]
# a list of nixos modules affected by the problem
module: []

We have a lot of channel blockers currently, so I also recommend to also purpose reverting this one. Though it sounds like it's only macvlan with issues, so perhaps comment it linking to this issue. We can always re-add it.


Fix empty cssRules

In our case, #processStylesheet doesn't detect any classes.
Going deeper, it comes from the method isGroupingRule because the object "rule" has "cssRules" but is empty.
So, rule never pass through isCSSStyleRule method just after.

Can you provide a test case that illustrates this problem?  (I don't need it in this PR... 'just describe how I can reproduce this issue so I can investigate this further.)
Conceptually, I'm not entirely comfortable changing the logic for isGroupingRule() since the presence of cssRules appears to be a good indicator for grouping rules, regardless of whether there are any rules in the grouping rule.

It's hard to explain without sending whole code.
But for example, i have a class name .admin-main
and a simple CSS file with this content :
.admin-main {     background: blue; }
The class .admin-main should not throw warning message but he did.
If i log css rule for this classname the result is this :

We can see that the rule is well detect (background blue) but property cssRules exist but is empty.
So here :

Method isGroupingRule return always true and classname will never be marked as "defined"

Looked into this a bit further.  It looks like this is something that changed recently in Chrome. cssRules is now always defined, even for non-grouping rules.  (FF still exhibits the old behavior, though.)  Given that, this change makes sense.
(I'm sneaking an improvement to inaccessible style sheets in to this PR as well, btw. :-) )
Thanks for the contribution!

published as<EMAIL_ADDRESS>


Adding switch for tutorial tests to ci_parameterized_build.sh

Can one of the admins verify this patch?

The main script for tutorial tests has arrived from internal:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/builds/test_tutorials.sh

Jenkins, test this please

merged.


fix unwanted re-render text value of focused part in sectionAutoFocus case

Hi,
While implementing the sectionAutoFocus scenario, I found an issue with the text value where the text was rendering multiple times, as seen in the attached screenshot. It is visible only for a single-digit value since for a bigger value it is hidden behind.
I'm sharing the fix for the same, where I am clearing out the text value for the focused card fixing the rendering issue.
Thanks for accepting my last PR raised related to the shiftText issue.
issue:

fix:

kindly check once @Abhinandan-Kushwaha

Hi @YASH-TRONX
Thanks for this PR. I will merge it soon.

Not yet merged, any issue? @Abhinandan-Kushwaha

kindly


Fix untested extractor invocation bug

The Extract CLI previously passed the set of Thor options (a Hash) to the Extractor class. This worked fine for some extractors but not for WebOfScience, whose #initialize method takes only the **options arg (as of https://github.com/sul-dlss/rialto-etl/commit/a4bd281785feda997e8dc7e96bd742ff89aff6d1#diff-738314c70d310a856fcb90452b4f8932R18). Thus if you were to invoke the Extract CLI for WoS with any options (e.g., --since or --institution), you would see ArgumentError: wrong number of arguments (given 1, expected 0). This commit also makes the other extractor classes conform to the same API for #initialize.

I'm not a fan of this change.  I prefer we use kwargs so that it's clear exactly what options each extractor can expect.

@jcoyne I can rework this to make all extractors use kwargs, unlike before.


allow label "milestone" for wrapper --gradle-version

this is a follow up of

#13504
and
#23179

This should work very similar to the "release-candidate" label. But since there is no explicit endpoint in https://services.gradle.org/versions that provides the latest milestone some calculation has to be done to find the latest milestone out of all available versions.
Another option would be to add such an endpoint. The implementation in GBT would then be straightforward.

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team but this area of Gradle is currently not a focus one so it might take a while before it gets implemented.

Thank you for your interest in Gradle!

@jbartok, are you talking to @reinsch82 who seems to be a Gradle employee himself? That's funny 😁

Yes he is, we're trying to be consistent in our triage process. But it is.


Document Conditional Requests

Here's a first stab at https://github.com/opencontainers/distribution-spec/issues/250
This isn't complete, but I wanted to get something together so we can start bikeshedding.
A couple other use cases we should add are deleting tags (untagging) and interactions with caches.

@sargun had a comment about registry support for this. Many registries supply ETags today, but it's unclear if they already support conditional requests.
One simple idea would be defining an HTTP header such that registries can positively indicate support for conditional requests.
E.g. something dumb like:
OCI-Distribution-RFC7232: yes

@sargun had a comment about registry support for this. Many registries supply ETags today, but it's unclear if they already support conditional requests.
One simple idea would be defining an HTTP header such that registries can positively indicate support for conditional requests.
E.g. something dumb like:
OCI-Distribution-RFC7232: yes
If a client sees that header, they could rely on conditional request semantics. If they don't see that header, they could choose to alter their behavior to work around potential race conditions (if possible), log a warning, return an error, etc.

What API would the registry have to add this header for -- all? It seems like to me, the client can be optimistic, and if the registry doesn't support it, it can return some known error value.

What API would the registry have to add this header for -- all?

I would say anywhere that includes an Etag header? It would indicate that the client can rely on that Etag for conditional requests. Its absence would (likely) indicate a lack of support, so clients would have to proceed with caution.

It seems like to me, the client can be optimistic, and if the registry doesn't support it, it can return some known error value.

I don't think that works. If a registry doesn't implement conditional requests, the registry would happily just allow any requests to go through and not return any errors for conflicts. We need the registry to signal positive support, because by default there is no way to determine the lack of support beyond probing the registry's behavior by sending a request you expect to fail.

@jonjohnsonjr - can you address @vbatts and @jzelinskie comments above and we can merge?
Also - are these things we can realistically add to the conformance suite?

Friendly ping. Some of the recent discussion in the reference types WG has bumped into this as a blocker, and even regardless of how/whether that work uses and updates indexes, it would be great to have this formally spelled out.
@opencontainers/distribution-spec-maintainers any more comments and/or approvals?
cc @chris-crone @tonistiigi

If a registry doesn't implement conditional requests, the registry would happily just allow any requests to go through and not return any errors for conflicts.

Can we be sure that there isn't a case where the current registry only uses etags for GET and fails on all If-Match because it doesn't understand the condition(eg. PUT/GET are managed by different internal services)? I guess even in that case client could do a GET again, and see that the etag has not changed so the server must be misbehaving.


Right clicking the class name should show a run option

Can you check this out on the latest plugin @LeoColman


Add option to serve pages from a subfolder

This fixes a bug where we have no app CSS on Github Pages.
We now have absolute paths for all assets served from pages/public.
By default, running python -m SimpleHTTPServer 8000 in the pages/ directory will JustWork™.
If the root directory is different (eg on Github pages) you can set an optional environment variable (ROOT_DIRECTORY='/digitalmarketplace-frontend-toolkit') which gets prepended to the path to any CSS file. The Jenkins job has already been configured to provide this.

This branch is currently pushed to Github Pages from local (d8383ca99e532771ff8e61001e906b8d80977630) so you can see it all working: http://alphagov.github.io/digitalmarketplace-frontend-toolkit/


refactor: add at_onboarding_cli to sshnp tutorial

Quickly mention the at_onboarding_cli in the sshnp tutorial documentation.

Closing because tyler go tit


Repository is not linked on crates.io

During the browsing of this crate on crates.io and docs.rs I found that there was no link to this repository. I had to dig and click I do not know where in order to find out it is hosted here.
I do not know why the link does not appear on crates.io as you added the link in Cargo.toml (but I am not sure how crates.io works either).

I think that's because I added the repository key in 3c7c1fdf, which was after uploading v0.3.0 to crates.io. I'm thinking of resolving #23 tonight, so I'll be able to make a new release with the repo link then.


Add additional placement options, such as above and behind the car

Add additional placement options, such as above and behind the car
If you only wanted 1 thing displayed, it'd be nice if it could be centered.

There's some config options to adjust this already, but tbh I'm not a fan of the implementation. I need to figure out how to make it friendlier.
One idea I had was being able to save "presets" that you could assign to different cameras, having a few sensible defaults would be nice.


Complete Rete Engine Initial Unit Testing

Initial unit testing completed until the initial rete network configuration is done in python.


Viewport description lacking clarity

http://caniuse.com/#search=vw
Style operators like "border" are well understood, so topical brevity is OK. However, the four viewport beasts have just come in from 5 decades running wild, and never been tamed. You might want to make the description a little more helpful for wondering eyes. Suggestion:
Viewport units: vw, vh, vmin, vmax - CR
Length units representing 1% of total physical screen resource
Horizontal and vertical viewport measures width (vw),
height (vh), the smaller of the two (vmin), or the larger of the two (vmax).
We cannot understand viewport unit measures, unless we know what viewport units are dedicated to measuring. It is dedication that makes these beasts difficult to manage! Properly managed, they are very predictable!
Suggested re-write for vm, vh, vmin, vmax topic.

Duplicate of #1886, albeit less rambling.

This actually seems to be a suggestion to rewrite the description rather than a comment on the known issues. However I think it's sufficient the way it is, if people have trouble understanding what the viewport refers to they can find out more in the Resources section.


more granular way to set up security context in helm chart

It would be nice to have a way to set up securityContexts for:

initContainers
jobs, which are being run during scans. Including compliance scan jobs, which require a lot of host-level access.

@3rgfbrgf could you add an example ?

@chen-keinan sure.
Let's take as an example any scan-vulnerabilityreport job spec.
There is an initContainer with an empty securityContext.
We have an admission controller in our cluster, which prevents this from running by design.
As for compliance scans - pod for that job should mount host paths and so on.
It should be configurable by providing clear and obvious permissions for host PID, host network, host path etc in security context.
Currently it just needs privileged mode, as I can understand.
Also, PSP is deprecated, but still the case, so it's better to have an opportunity to create and customise it in your helm chart.

@3rgfbrgf please confirm if the PR #362 solve your use case or you need it more granular in container level

closing this issue as it been implemented by #362 @3rgfbrgf if still an issue feel free to open it

Hi, I thinkk #362 doesn't address the securityContext of initContainers. I opened https://github.com/aquasecurity/trivy-operator/pull/459 as a possible solution.


[Proposal] Adding TS2 custom "paths []" to projects to enable easier imports

Just an idea, I wanted to see how everyone felt about it. @SteveSandersonMS
Instead of "directory" relative situations like:
import { NavBarComponent } from '../../components/nav-bar.component';
import { SomeOtherService } from '../../shared/some-other.service';

I always recommend people use TS2's new feature that allow directory "from" Paths[] instead. This allows you to rearrange files easily without losing their dependencies.
import { NavBarComponent } from 'myapp-components';
import { SomeOtherService } from 'myapp-services';

Tsconfig would look like this:
paths : {
    "myapp-components" : [ "./components" ],
    "myapp-services"   : [ "./services" ]
}

This is assuming you have an index.ts barrel at the root of each directory you're making Paths from. This allows you to access everything directly from just the path.
 // example barrel index.ts in /components
 export * from './nav-bar/nav-bar.component';
 export * from './home/home.component';
 // etc

Note: For all of this to work, the projects will also need Webpack2 upgrades, as well as TsConfigPathsPlugin from awesome-typescript-loader. But it's not much to setup within each webpack.config file. I haven't had any problems setting this up in other projects, but we might need to look into aspnet-webpack to see if it's able to understand TsConfigPathsPlugin etc.

Thanks for the suggestion @MarkPieszak.
I think this would make a great addition to docs as a possible alternative way to arrange the files.
I'd prefer not to put it in the templates out-of-the-box because it's another abstraction that people totally new to TypeScript might trip up on (if they don't know this feature exists, they won't know how the compiler is locating the files, or they might not realise that they need to add new entries to paths in tsconfig.json when adding the components, and then not understand why it can't find their files).
Is that OK?

Very true it can confuse those unfamiliar with both TS2 features and Webpack2s setup required to also be able to compile them! Yes you're right, files need to be added either to the index barrel or paths array. That could trip some developers up.
Sounds good to me, docs it is :+1:


Add amazon-2022 builds to release.omnibus.yml

Make sure we're producing both arm and x86 builds of Amazon 2022 by adding it to our release.omnibus.yml config

Replaced with https://chefio.atlassian.net/browse/INFC-27


Make executing notebooks env configurable and set for deploy job

Summary
This commit adds support for configuring the execution of the
tutorials via an env variable 'QISKIT_DOCS_BUILD_TUTORIALS'. When set
the value is used as the nbsphinx_execute value in the sphinx config,
this will let users or CI jobs change the default value of 'never' to
enable executing the tutorials as part of the documentation builds. The
default of 'never' was used because we do not have a sufficient CI
time budget in test jobs for running a full doc build and executing the
tutorials. However, the publish job running in gha has a 6 hour time
limit and doesn't have the slow feedback time concern so we can let it
spin building documentation. Having the sphinx build run the notebook
provides a uniform environment for all the notebook output and it
ensures that environment differences from tutorial contributors don't
lead to inconsistent rendered documentation.
Details and comments
We already have a tutorials job that executes the notebooks on PRs to
ensure that they always work. So the docs publish jobs shouldn't be
wedged by a broken notebook.

This is great. This was the last missing piece in the workflow. Now the notebooks will all show same version for outputs.


Update getmeza.sh

Incorporates cowen23's fix for issue #57
Changes
Update the address used to check internet connection from "mirrorlist.centos.org" to "cdn.redhat.com"
Issues

Addresses #57

Post-merge actions
None

ty!


Added crbn.svg logo and updated contract-map.json

hi @mape81 - you should not change name of Orchid contract in this PR. Please double-check your changes.


feat(tactics): add "terminal_goal" tactic and relatives

This adds three new tactics:

propositional_goal, which fails unless the current goal is a Prop.
subsingleton_goal, which fails unless we can successfully infer an instance of subsingleton T, where T is the type of the current goal.
terminal_goal, which fails unless no other goals could depend on how we discharge the current goal. (This can happen in three different ways: no other goals even depend on this goal, we can show the current goal is a subsingleton type, or the current goal is propositional.)

These tactics are probably not useful interactively, although could be helpful for debugging. Primarily they are intended as part of control structures in automation --- essentially, when tackling a "terminal" goal, you can try much more aggressive approaches, as you can't screw up any later remaining goals whatever you do.

Sorry the checker on travis complained about a name collision that lean itself didn't seem to care about. I've renamed some functions in the test code.

Travis doesn't seem to want to compile this one, but I think it's good now.

Resolving a conflict that had arisen.
This PR is ready for review/merge.

I merged master again, removing some conflicts that had arisen. Happily travis is finishing now.

I merged master again. This is again good to go.

 Since this
part is usable (if not immediately useful) by itself, I thought I'd try to
get a head start on the PR.
My main application is just in the combination: terminal goal >> `[solve_by_elim]. The idea is just that solve_by_elim is very helpful,
but not infallible when working on non-propositional goals: of course it
can apply an assumption inappropriately. When hidden behind a
terminal_goal >>, solve_by_elim becomes "safe" to use.
I understand, though, that user facing applications are warranted. If you
prefer, I can roll this into the much bigger PR of tactics I'll send once a
few more layers of the category theory have merged.
On Tue, Aug 7, 2018 at 12:18 PM Mario Carneiro<EMAIL_ADDRESS>wrote:

The reason I've been sitting on this PR is because the tactics don't have
any end uses right now. I would prefer for these to accompany some user
tactic to give them a reason to be here. Unless you have some other
justification for these as ends in themselves? I probably shouldn't be so
hard on this but I'd like to hear your aims nonetheless.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leanprover/mathlib/pull/125#issuecomment-410911074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdLBHPcCdHxzqi91edeUWf-1PJ6vXO1ks5uOPj-gaJpZM4TrPVX
.

Okay, closing for now. This will be back, with more, hopefully soon. :-)


tool load error

EmptyThrowable: Null child action in group Main Toolbar () of class class com.intellij.openapi.actionSystem.DefaultActionGroup, id=Moxun.generator

I think the problem is caused by JRE or JDK version, the plugin is compiled by JDK1.7, I've complied  this zip file with JDK1.6, can you help me test it please?

I'm sorry, but I still failed.I used the android studio version 1.5.1.I think it is related to the android studio version.thanks.

Hi, I just updated a new version (here)[https://github.com/misakuo/JsonModelGenerator/blob/master/ModelGenerator.zip] and already upload to (repo)[https://plugins.jetbrains.com/plugin/8062?pr=], I think the crash is resolved. could you try it again?


Is the CEC firmware open source?

Hello KD8CEC
I wonder whether your firmware is still open source? It seems your last commit was done end of January, however in release section you are releasing modifications continuously without a source code.
Did I overlook anything or did you decide to continue with a closed source development?
Thanks and VY 73,
Vojtech OK1IAK

As announced in advance, various experimental versions will be released up to V1.0, and the source code will be registered when V1.0 is released. Until V1.0, we will only upload firmware binary files.

I see. What is the reason you decided to keep from opening the source code?

No, it's not open source, that's why I migrated to https://github.com/armel/uv-k5-firmware-custom, which is actively maintained. It lacks CW, but I might look into that in the future and maybe try to make a PR for it myself, if @armel's doesn't implement it in the meantime :)

There are features here that no other firmware has. FT8, WSPR, APRS, CW, etc. Last time Ian went quiet for awhile he came back with the C-board and a great UI. I think he is probably trying to focus on development and will come back eventually and release the source code.

OK, so 0.3 is not free/open-source, which is very unfortunate. What keeps the developer from letting us see the code?. What is exactly the last version with source code?


In desktop view, zooming 170% appears Navigation link

The navigation link shouldn't be present, because it is an element for a mobile device.
Here the original description:

@almeidap Please make an analysis first. Thx!

@angelogti Please describe the steps needed to reproduce issue, thx!

go to: https://swiss.github.io/styleguide/de/pages/06.detail.html#site-map
zoom to 170 %
a link "context sidebar" appears.

Clicking on it only scrolls down the page:

Furthermore, the "Sitemap" link at the end of the page opens the footer navigation, just like they describe in the report (I imagine it is its normal behaviour, but for them it's a problem).

The link "Context sidebar" appears as soon as the layout changes from 3 columns to 2 columns, pushing the context sidebar below the normal content. This is normal behavior on tablet for instance. Zooming on such levels will trigger tablet view.
The "Sitemap" link on the other end have been replaced with a "Sitemap" button to express that no page change will occur


Chromium apps crashing after starting privileged coroot-node-agent contaiener on Ubuntu 24.10

Hi,
On my first attempt to install the coroot container stack I ran into an issue on my ubuntu 24.10.
After starting the containers with docker compose  all my browser tabs crashed with a SEGV and my VSCode crashed aswell.
After stopping the container stack I was able to restart/reload my chromium based apps.
After that, i tested the swarm stack.
docker stack deploy -c - coroot  worked fine, but after starting the privileged coroot-node-agent container my apps crashed again. See this screenshot:

Please let me know if you need more information.
Kind regards

Same issue when running the service on the host with the install script from here
Here some more information about my system:
lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          48 bits physical, 48 bits virtual
  Byte Order:             Little Endian

and kernel
uname -r
6.11.0-9-generic

Exit code 139 (SIGSEGV) means the kernel stopped your app because it tried to access memory that doesn't exist or is restricted. It's very unlikely Coroot's agent caused this, as it only observes and doesn't modify anything


don't mind me :eyes:

!tagadaci

!tagadaci

!tagadaci

!tagadaci

:stuck_out_tongue_winking_eye:

!bullseye-tagci

!bullseye-tagci

:rocket:


Draft: fix: testing

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.79%. Comparing base (bd6a68a) to head (5270fe6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   78.79%   78.79%
=======================================
  Files          23       23
  Lines         613      613
=======================================
  Hits          483      483
  Misses        130      130

Flag
Coverage Δ

unittests
78.79% <ø> (ø)

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

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

/retest


Get the project working with Wagtail 4.1+

Modernise the project for later versions of python, Django and Wagtail.
The aim is to support modern versions of Django and Wagtail and continue to use the existing tests to ensure compatibility.

Django >= 4.1, <= 4.2
Wagtail >= 4.1, <= 5.2
Python >= 3.9, <= 3.11

TODO: These are parts of the project that need further work.

Currently it may not be possible to use the longclaw.contrib apps
The dashboard panels need further work to be compatible with Wagtail 4.1+

Happy to merge this when you are ready

Hi @JamesRamm I think this is in a good pace to be merged now.
There's still a need to look at the contrib apps.
I think my next step will be to work on the use of modeladmin and use the replacement https://github.com/wagtail-nest/wagtail-modeladmin which will allow the app to be used up to the latest Wagtail 6.2 release
I also plan on updating the demo app: https://github.com/longclawshop/longclaw_demo that will help me understand what still needs fixing/updating. The start command creates a new site and that seems to be working OK but could do with some polish.

I discovered while working on the demo app that the basket api url needed a small change. The node dependencies could do with an update so for now I have locked them to the original versions and bumped node to v16 to prevent errors when running npm install

Hi @JamesRamm If you are happy with this so far I would like you to merge it now so that I can move forward with another round of updates over the next few weeks. Thanks


bug(reattach): connection is lost and session id is empty

Description
bug(reattach): connection is lost and session id is empty

reattach would attempt to unwrap an empty session_id and operation_id. results in a panic.
move the logic for session_id, operation_id, and response_id onto the Spark Client and off of the ResponseHandler
A new operation_id is created for every new ExecutePlanRequest
remove fields from ResponseHandler

Related Issue(s)

closes #86

Tests

Tested manually with long running job.

@lexara-prime-ai & @GoEddie did i miss anything?

@sjrusso8 the long-running execution is now successfully running.