Unresolved supertypes: androidx.lifecycle.ViewModel

I've used the 1.0.0-ALPHA-7 version of the library and followed the README to define a view model in my shared KMM module. When building the project I get the following error:
Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:     class com.rickclephas.kmm.viewmodel.KMMViewModel, unresolved supertypes: androidx.lifecycle.ViewModel
I'm not sure why I'm getting this error because as far as I can tell the KMM-ViewModel transitively adds the dependency for the Android ViewModel.

Hi sorry about that. There is a small dependency issue in the current version. Could you please add the following dependency to your android module and source set?:
// androidApp/build.gradle.kts
dependencies {
    implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
}

// shared/build.gradle.kts
val androidMain by getting {
    dependencies {
        implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
    }
}

This will be fixed in the next release 🙂.

Thanks for the quick answer.
I think adding just the following dependency would be enough. Isn't it?
// shared/build.gradle.kts
val androidMain by getting {
    dependencies {
        implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
    }
}

Yeah that might be sufficient depending on your project 👍🏻


ERROR:locust.user.task:A new response began before end of HTTPSocketPoolResponse

Descriptions:
I want to read the user's request data from the database and play it back
Such as:
User A has 1000 requests in the database
Then I will read the data from the database as each user is started by Locust, and one of the users will read user A, and I will play back the 1000 requests in the transaction
But I got an error
Error Detail:
ERROR:locust.user.task:A new response began before end of <HTTPSocketPoolResponse status=200 headers={'date': 'Mon, 05 Jul 2021 03:48:06 GMT', 'content-type': 'application/json;charset=UTF-8', 'content-length': '42', 'connection': 'keep-alive'}>
Steps to reproduce
Http Mode:FastHttpUser
@task(100)
def transaction(self):
# Step 1
# get requests from database
# Step 2
# do requests
for i in range(1000):
self.client.request(path=my_path, method=my_method, header=my_headers, json=my_json)
### Environment

OS:
Python version: 3.8.0
Locust version: 1.5.3
Locust command line that you ran: locust -f run_test.py
Locust file contents (anonymized if necessary):

If I had added time.sleep (0.01) between each loop, the above error would not have occurred

def _urlopen(self, request):
    client = self.clientpool.get_client(request.url_split)
    resp = client.request(request.method, request.url_split.request_uri,
                          body=request.payload, headers=request.headers)
    return self.response_type(resp, request=request, sent_request=resp._sent_request)

In the useragent.py method _urlopen() in the geventhttpclient, I don't see any closure of the client
The cause of this problem may be geventhttpclient

Is there a way to avoid this problem?

Subsequent progress
This problem can only be repeated if there are multiple cases for the 1000 request methods(get/post/put...)

geventhttpclient issue link https://github.com/gwik/geventhttpclient/issues/144


Fixed #17

Send detach request when volume associated with a remote node.

Hey @ricardorg79
Do you plan to merge this as it is?
If I understand correctly, it will detach it from another linode.  Even if that volume is actually used by other container, right?  Is this safe? could it cause some corruption if it is being used by, for example, a database?
What if we send a detach request when a container is stopped? That means that to use the volume in another container, you would stop the old one  and start a new one , possibly in another docker swarm node.
Thanks,
David.

Hi @davazp,
You  are correct in your assumption that it will try to detach the volume from another Linode in the case you explain.   This PR is meant to  fix a very specific case:

Node A is trying to mount the volume
Node B has the volume attached (maybe mounted) but no container is using it.
Node A sees volume as already attached, assumes it is attached to itself and  tries to mount it.
to fix this we need to issue an Detach and Attach to Node A.

The case you are talking about is a little trickier to handle without keeping state.  Unfortunately volumes can not be mounted on multiple Linodes at the same time.   There are a couple of ways we could handle this:

We could leverage Docker and Linode API to try and figure out if a volume is actually in use and fail fast.
Another way would be to add a suffix to volume names with a container number.  This way we have to actually match the number of volumes.

I haven't have the time lately to work on this, but I would take any suggestions!
I just haven't have the time to work on that.

Node A sees volume as already attached, assumes it is attached to itself and  tries to mount it.
to fix this we need to issue an Detach and Attach to Node A.

I'm not sure if I understand this. Why would it assume it is attached to itself?
// If Volume not already attached to this Linode, then attach		// if volume not attached, attach to this linode
	if linVol.LinodeID == nil || *linVol.LinodeID != driver.instanceID

it seems it knows about the instance it is attached to, so if it is mounted, we could check if it is different and give an error.
On the other hand, about my specific proposal:

What if we send a detach request when a container is stopped?

Couldn't this work without state? If a volume is attached to a node without containers using it, it would block it, yes. But maybe we can prevent this in normal cases by detaching the volume when containers are stopped.
With that approach, it would work like:

Volume start detached it.
Node 1 starts a container with the volume, it gets attached and mounted.
Node 2 tries to start a container, but fails because the volume is attached.
Node 1 stops the container, the volume is detached.
Node 2 tries to start a container, this time it works because the container is not attached.

I'm glad you are looking at this with fresh eyes.   I don't remember if what you are talking about was the reason this wasn't merged.  it was some time ago since I last looked at this.
With that approach, it would work like:

Volume start detached it.
Node 1 starts a container with the volume, it gets attached and mounted.
Node 2 tries to start a container, but fails because the volume is attached.
Node 1 stops the container, the volume is detached.
Node 2 tries to start a container, this time it works because the container is not attached.

I'm glad you are looking at this with fresh eyes.   I don't remember if what you are talking about was the reason this wasn't merged.  it was some time ago since I last looked at this.

With that approach, it would work like:

Volume start detached it.
Node 1 starts a container with the volume, it gets attached and mounted.
Node 2 tries to start a container, but fails because the volume is attached.
Node 1 stops the container, the volume is detached.
Node 2 tries to start a container, this time it works because the container is not attached.
That makes a lot of sense. we can:

Issue a Detach when Unmount is called. (when the container exits)
Use Docker API to find if a volume is in use by a container.
Fail Attach/Mount if volume is already in use by a container.
If Volume not in use, I would still like to issue a Detach if another Linode has it attached and Volume not in use ( a just in case scenario)

I'm unsure about the Docker API part.  I can't find where it tells you that a volume is in use or not.  I'll do more digging.

@davazp @ricardorg79
I've merged this along with changes to attempt to detect if the volume is in use by an active container.  I believe this should work in a swarm setting.  Along with this there have been many README updates.
Let me know how these changes work in your setting.  The latest docker image has the changes.
docker plugin disable linode
docker plugin upgrade linode
docker plugin enable linode

There's definitely something to be desired..
I created a swarm where the master node was given test-vol and it worked fine there.
The I attempted to send the volume to the worker and back.
$ docker run -it --rm --mount volume-driver=linode,source=test-vol,destination=/test,volume-opt=size=25 alpine
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/7d18c1aa418bbda64a97d55c89a1a6c14924145d34b6ee72e934f7cb8b200803/rootfs': VolumeDriver.Mount: EOF.

$ eval $(docker-machine env swarm-master01)

$ docker run -it --rm --mount volume-driver=linode,source=test-vol,destination=/test,volume-opt=size=25 alpine
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/6dfb5d2d267b38ea2d00df5eaf2b87335cce0e8f44c7dd2e54a56e703aa429f3/rootfs': VolumeDriver.Mount: Error mounting volume(/dev/disk/by-id/scsi-0Linode_Volume_test-vol) to directory(/mnt/test-vol): exit status 255.


Scrollbars

How about Scrollbars for Tables and similiar widgets or a related solution?

Currently closed as not required

First of all what usage do you see for scroll-bars ? As an intensive user of terminal applications, I've never found myself in a position where scroll-bars would be helpful. I usually expect to have that kind of behavior accessible through key bindings or using the scroll wheel. Moreover, it might be a bit tricky to get input from the user (at least given the current design of the crate). So, I'm currently only seeing them as a way to provide some feedback to user.
However, there is definitively a need to improve the navigation inside lists, tables, etc...

it was thought for proving feedback where you are in the list/table.

Ok =) So I will keep this open to remind me to consider those when I'm revisiting the navigation inside lists and tables.

[x] There is a related issue discussing this in depth over in ratatui:
https://github.com/tui-rs-revival/ratatui/issues/174


LoadedImageSurface fails unexpectedly if local asset not found.

Describe the bug
If you use LoadedImageSurface::StartLoadFromUri(L"ms-appx://Assets/someasset.jpg") and someasset.jpg is not found, the process crashes.
Steps to reproduce the bug
See description.
Expected behavior
No crash, but the failure gets reported to the LoadCompleted handler.
Version Info
All.

The problem is that if the path points to a local file like this, the code assumes that a valid path should have been specified and therefore lets the error returned from ResourceManager bubble out, and that error ends up being fatal since it happens during Tick:
Windows_UI_Xaml!CDownloader::CreateUnsecureDownloadRequest
Windows_UI_Xaml!CommonBrowserHost::UnsecureDownload
Windows_UI_Xaml!CCoreServices::ProcessDownloadRequests
Windows_UI_Xaml!CCoreServices::SubmitPrimitiveCompositionCommands
Windows_UI_Xaml!CCoreServices::NWDrawTree
Windows_UI_Xaml!CCoreServices::NWDrawMainTree
Windows_UI_Xaml!CWindowRenderTarget::Draw
Windows_UI_Xaml!CXcpBrowserHost::OnTick
Windows_UI_Xaml!CXcpDispatcher::Tick

Even if it is reasonable for an app to not use "ms-appx:///" to point to missing files, this should at least produce a better error message to make the failure easier to understand.  Having LoadedImageSurface expose the error with an event would be even better.


[bug]  problem with the moon binary

Describe the bug

moon --log debug setup didn't work for me. Some kind of issue with the moon binary.
Expected behavior

should tell if node is setup properly or not, I believe.
Screenshots

Environment
 System:
    OS: Linux 5.15 Manjaro Linux
    CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
    Memory: 2.74 GB / 7.64 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Managers:
    Cargo: 1.63.0 - /usr/bin/cargo
    Composer: 2.4.1 - /usr/bin/composer
    pip3: 22.2.2 - /usr/bin/pip3
  Utilities:
    CMake: 3.24.1 - /usr/bin/cmake
    Make: 4.3 - /usr/bin/make
    GCC: 12.2.0 - /usr/bin/gcc
    Git: 2.37.3 - /usr/bin/git
    Clang: 14.0.6 - /usr/bin/clang
    Ninja: 1.11.1 - /usr/bin/ninja
    FFmpeg: 5.1.1 - /usr/bin/ffmpeg
  Servers:
    Apache: 2.4.54 - /usr/bin/apachectl
  Virtualization:
    Docker: 20.10.17 - /usr/bin/docker
  IDEs:
    Nano: 6.4 - /usr/bin/nano
    VSCode: 1.74.1 - /usr/bin/code
  Languages:
    Bash: 5.1.16 - /usr/bin/bash
    Go: 1.19 - /usr/bin/go
    Java: 1.8.0_345 - /usr/bin/javac
    Perl: 5.36.0 - /usr/bin/perl
    PHP: 8.1.10 - /usr/bin/php
    Protoc: 3.21.5 - /usr/bin/protoc
    Python: 3.10.6 - /usr/bin/python
    Python3: 3.10.6 - /usr/bin/python3
    Rust: 1.63.0 - /usr/bin/rustc
  Databases:
    PostgreSQL: 14.5 - /usr/bin/postgres
    SQLite: 3.39.3 - /usr/bin/sqlite3
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Firefox: 105.0.2

Additional context

In fact no command is working for me, same output. I tried moon run docs:typecheck --affected

@Guchii It's failing on this line, which can mean a few things: https://github.com/moonrepo/moon/blob/master/crates/cli/src/main.rs#L107
I'm assuming you're running moon via global install, probably through npm? Can you try executing the binary manually found at node_modules/@moonrepo/cli/moon?

He has it installed globally, but he is also using nvm. Maybe that is introducing some problems?

@Guchii Was this installed via pnpm? I think I reproduced it there.

@Guchii Did you update to latest version by chance?

Would be pretty convenient if the trace logs display the version.

Good idea, added here: https://github.com/moonrepo/moon/pull/514
I'll also close this since it's resolved.


nodemon error: extension.match is not a function

joel ~/Desarrollo/nerd-stack git:master o % gulp dev
[22:08:55] Using gulpfile ~/Desarrollo/nerd-stack/gulpfile.js
[22:08:55] Starting 'lint'...
[22:08:55] Starting 'scripts'...
[22:08:56] Finished 'scripts' after 350 ms
[22:08:56] Starting 'styles'...
[22:08:56] Finished 'styles' after 219 ms
[22:08:56] Starting 'build'...
[22:08:56] Finished 'build' after 7.93 μs
[22:08:56] Starting 'serve'...
[22:08:56] Finished 'serve' after 250 ms
/home/joel/Desarrollo/nerd-stack/node_modules/nodemon/lib/config/exec.js:158
  extension = extension.match(/\w+/g).join(',');
                        ^

TypeError: extension.match is not a function
    at exec (/home/joel/Desarrollo/nerd-stack/node_modules/nodemon/lib/config/exec.js:158:25)
    at /home/joel/Desarrollo/nerd-stack/node_modules/nodemon/lib/config/load.js:56:29
    at callback (/home/joel/Desarrollo/nerd-stack/node_modules/nodemon/lib/config/load.js:161:5)
    at ReadFileContext.callback (/home/joel/Desarrollo/nerd-stack/node_modules/nodemon/lib/config/load.js:171:14)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:324:13)

I solved it changing:
 ext: ['js', 'jsx'],

to:
 ext: 'js, jsx',

in gulpfile.js, line 60.
Don't know if the change is for good, but at least it does not crash.

Thanks Joel,
Seems that gulp-nodemon plugin changed the way they are watching files. I updated the project with your proposed solution.


K3s won't start - Failed to start ContainerManager - system validation failed - wrong number of fields

Environmental Info:
K3s Version:
k3s version v1.22.3+k3s1 (61a2aab2)
go version go1.16.8
Node(s) CPU architecture, OS, and Version:
Linux matt-test-rhel1 4.18.0-348.el8.x86_64 #1 SMP Mon Oct 4 12:17:22 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
RHEL 8.5
Cluster Configuration:
Initial server node (will join two more after this one starts).
Describe the bug:
K3s stuck in crash loop on initial install. I'm seeing the following error right before exit:
E1112 13:19:12.949300   27052 kubelet.go:1423] "Failed to start ContainerManager" err="system validation failed - wrong number of fields (expected 6, got 9)"

Additional context / logs:
Seeing other errors throughout the startup process (extracted from various locations in log):
Nov 12 13:18:57 matt-test-rhel1 k3s[27052]: E1112 13:18:57.365154   27052 controller.go:151] Unable to perform initial Kubernetes service initialization: Service "kubernetes" is invalid: spec.clusterIPs: Invalid value: []string{"<IP_ADDRESS>"}: failed to allocate IP <IP_ADDRESS>: cannot allocate resources of type serviceipallocations at this time
Nov 12 13:18:57 matt-test-rhel1 k3s[27052]: E1112 13:18:57.366297   27052 controller.go:156] Unable to remove old endpoints from kubernetes service: StorageError: key not found, Code: 1, Key: /registry/masterleases/<IP_ADDRESS>, ResourceVersion: 0, AdditionalErrorMsg:
Nov 12 13:19:02 matt-test-rhel1 k3s[27052]: E1112 13:19:02.900525   27052 core.go:91] Failed to start service controller: WARNING: no cloud provider provided, services of type LoadBalancer will fail
Nov 12 13:19:07 matt-test-rhel1 k3s[27052]: E1112 13:19:07.761420   27052 node.go:161] Failed to retrieve node info: nodes "matt-test-rhel1" not found
Nov 12 13:19:08 matt-test-rhel1 k3s[27052]: E1112 13:19:08.866242   27052 node.go:161] Failed to retrieve node info: nodes "matt-test-rhel1" not found
Nov 12 13:19:10 matt-test-rhel1 k3s[27052]: E1112 13:19:10.955722   27052 node.go:161] Failed to retrieve node info: nodes "matt-test-rhel1" not found
Nov 12 13:19:12 matt-test-rhel1 k3s[27052]: E1112 13:19:12.801985   27052 cri_stats_provider.go:372] "Failed to get the info of the filesystem with mountpoint" err="unable to find data in memory cache" mountpoint="/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs"
Nov 12 13:19:12 matt-test-rhel1 k3s[27052]: E1112 13:19:12.802029   27052 kubelet.go:1343] "Image garbage collection failed once. Stats initialization may not have completed yet" err="invalid capacity 0 on image filesystem"
Nov 12 13:19:12 matt-test-rhel1 k3s[27052]: E1112 13:19:12.822305   27052 nodelease.go:49] "Failed to get node when trying to set owner ref to the node lease" err="nodes \"matt-test-rhel1\" not found" node="matt-test-rhel1"
Nov 12 13:19:12 matt-test-rhel1 k3s[27052]: E1112 13:19:12.904044   27052 kubelet.go:2412] "Error getting node" err="node \"matt-test-rhel1\" not found"
Nov 12 13:19:12 matt-test-rhel1 k3s[27052]: E1112 13:19:12.933070   27052 kubelet.go:1991] "Skipping pod synchronization" err="[container runtime status check may not have completed yet, PLEG is not healthy: pleg has yet to be successful]"
Nov 12 13:19:12 matt-test-rhel1 k3s[27052]: E1112 13:19:12.949300   27052 kubelet.go:1423] "Failed to start ContainerManager" err="system validation failed - wrong number of fields (expected 6, got 9)"

Here is he complete log file:
logs.txt
k3s check config output:
check-config.txt

Turns out I had a file path with spaces in /proc/mounts. This caused 9 fields instead of the expected 6, when mount_linux.go attempted to parse it.
The file path is escaped in /etc/fstab - for some reason its not in /proc/mounts. Seems like a bug in 4.18.0-348.el8.x86_64 or something in RHEL 8.5. I just upgraded and I know this was working before. I'll have to figure out if there is somewhere over there to report this.


Editable searchable combobox

First of all, let me say that the DropDownTextField control created by the author is awesome!
I have one more problem. I would like the written control to, in addition to the ability to search and select items from the list, also allow editing and entering text in the main field like in screen below:

Adding such an option would probably be highly desired by other developers. I haven't found a similar solution anywhere. Adding this capability would make your control more powerful.
Thank you for the great work :)

I second this. I shouldn't have to click a second time to enable typing.


Unable to load raw fif file

Hi MNE-matlab team,
Thanks for providing us this useful tools!
Recently I tried to read fif raw file via Brainstorm and got some error messages (as shown below). The message may indicate that the function in MNE-matlab "fiff_read_meas_info" called by in_fopen_fif.m may not read all required information from my fif files. Also, I got the same error message when I tried to read those fif files that I have ever successfully imported 6 month ago.
** Error: Line 131: Reference to non-existent field 'meas_date'.
**
** Call stack:
** >in_fopen_fif.m at 131
** >in_fopen.m at 68
** >import_raw.m at 126
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_raw,[],[],iSubject) at 636
The following link can download a emptyroom fif file that was recorded. (Sorry. Because of the privacy issue, I could only provide the emptyroom data.)
https://drive.google.com/file/d/13MmoEk58t87w85_3PPF4-Hy_AeWL1gLa/view?usp=sharing
Could you please help me to figure out whether I did anything wrong?
Thank you very much!
Best,
Ling

Ooops... this is a bug that was introduced in April only on the Brainstorm side, and luckily not reported here (https://github.com/brainstorm-tools/brainstorm3/commit/52c070479558b12c5dc2f3de90d32aa4cfcfa6c5)...
We've fixed it, and will open a PR to report these modifications here.
You can close this issue for now.
@juangpc
Can you please make sure the two copies get synchronized correctly?


Feature / refactor: Town routine overhaul, scrolls/keys

Towning overhaul
-Now checks items every pickup and decides to drop, ID, sell, or stash at the start of on_maintenance(), so no longer will go to the stash needlessly
-Added a sell_junk char config, set to 0 if you want to drop all items that won't be kept, to 1 to sell all items that won't be kept
-When purchasing items, will use "shift" click to buy stacks if appropriate
-Consolidated certain inventory functions to transfer_items() function
-Reduced various redundant or excessively frequent actions with towning/shopping
Item identification
-Now supports tome of ID in inventory and will utilize if present, otherwise will utilize cain if id_items config parameter = 1
-Will skip identification of items that have no filtered properties in pickit.ini; e.g., if you have uniq_amulets=1 without any inclusion or exclusion properties it will pickup and keep but not identify. If you have other items that need ID and you are using Cain, however, this may be overriden
-No item filtering with OCR yet implemented, but this is planned
Consumables
-TP, ID, and key counts are now tracked with potion counts, utilizes OCR with open inventory
-Will buy TP, ID, and keys from vendors as needed
-Smarter tracking of consumables during and after runs, should be more accurate now
-Remaining to be implemented is support for act 2 NPC's--it will now use Drognan as default act 2 NPC but Drognan does not sell keys.
Pickit
-Will now pickup TP scrolls and ID scrolls if these are needed and if you have these set to 1 in the pickit.ini config file.
Discord
-Will send picture of every kept drop as well as the read OCR text

To do:
Handle keys for act 2 drognan


:docs: Improve contest labels (#1526)

Summary by CodeRabbit

New Features

Added support for new contest types: "TTPC" and "TUPC."
Enhanced contest classification with improved regex matching for AtCoder and university contests.
Introduced a new helper function for better label formatting of university contests.

Bug Fixes

Corrected formatting issues in contest names and expected values for better readability.
Removed redundant contest test cases to streamline the structure.

Documentation

Updated translations for contest types to improve output formatting.

修正範囲は広いですが、それぞれ影響範囲は狭いため少しずつマージしていく方針です。


Help : Instagram not Working : Photo no found

i use content from instagram to publish in my other social media account automatically by using Rss bridge and ifttt ... but it seems doesn't work anymore.
" it say : photo not found "
and when i try to  Use direct image links " ifttt doesn't accept this Feed "
so can anyone know how to resolve this problem ?

Please , we want a solution !
Thanks in advance

I cannot reproduce the error when using mrss feeds: ifttt accepts the feed.
Are you using a different format ?

We are using the Atom not the mrss feed!

i use content from instagram to publish in my other social media account automatically by using Rss bridge and ifttt ... but it seems doesn't work anymore.
" it say : photo not found "
and when i try to Use direct image links " ifttt doesn't accept this Feed "
so can anyone know how to resolve this problem ?

did you find a solution ?

here is a screenshot of the problem.

@qpyman brother we know the problem , we need a solution !

here is a screenshot of the problem.

For the first problem this is what we talking about .. photo no found
for the second one : Server of Mohammed cha had a problem in this week , it written there " there was a probel with rss feed service " not the script problem
and i'm working now to find a solution , if it work i will tell you guys
#DIMAMAGHREB :p

For the first problem this is what we talking about .. photo no found
This is what i talked about @markimdev  !
The moment when you find a solution , please share it with us asap
#RAYAHAMRANEJMAKHADRA

So I investigated, and the problem seems to be coming from ifttt.
The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters.
RSS-Bridge successfully encodes this to "&", as the XML specification requires.
It is possible that ifttt does not correctly decodes the "&" and therefore makes a request to an invalid location.
Can you try changing this line to this:
. $enclosure

and see if it works (with direct image link enabled) ?

Hello,
Instagram feeds are failing for me also. I do not use IFTTT.
I’m receiving Error 500 and 403. Seems to have started happening at some point today. Let me know if there is anything I can do to help diagnose.

https://github.com/RSS-Bridge/rss-bridge/blob/master/bridges/InstagramBridge.php#L153
Replace
$item['enclosures'] = array($mediaURI);
by
$item['enclosures'] = array(htmlentities($mediaURI));

So I investigated, and the problem seems to be coming from ifttt.
The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters.
RSS-Bridge successfully encodes this to "&", as the XML specification requires.
It is possible that ifttt does not correctly decodes the "&" and therefore makes a request to an invalid location.
Can you try changing this line to this:
. $enclosure

and see if it works (with direct image link enabled) ?

I change the line " . $this->xml_encode($enclosure) by . $enclosure " like you say .. but the rss doesn't anymore work , i it show this error => There was a problem with the RSS Feed service.

https://github.com/RSS-Bridge/rss-bridge/issues/1368#issuecomment-557784778
same problem here!

I got the same problem !!

is there any solution ?

I have raised the issue with IFTTT. I will keep you updated.

I have raised the issue with IFTTT. I will keep you updated.

thank you for Help , We waiting for your help ASAP.

@teromene we are waiting you brother , thank you in advance <3

What connector are you using for IFTTT ? I have done it with Instapaper and it seems to be working. Can you also share the instagram link you are using ?

@teromene we are waiting you brother , thank you in advance <3

That would be sister :smile:

What connector are you using for IFTTT ? I have done it with Instapaper and it seems to be working. Can you also share the Instagram link you are using ?

We Don't Use Instagram , We use Rss Feed Applet to Pinterest applet by using Bridge Rss Script to have Atom Rss of Instagram content To post automatically from Instagram to pinterest ( we do that have more audience without hard working from pinterest Platform )
So The problem is like i say , in log .. the imageUrl is there but the ifttt say photo not found .. so we need the Help like adding something to script so ifttt know the image so they can publish it ...

exactly as markimdev said we use the atom link directly with Ifttt to post on Pinterest but it seems that can't post pictures anymore for the first time the problem was just scraping images from usernames so we started using hashtags but now after some time even the hashtags doesn"t work anymore

What connector are you using for IFTTT ? I have done it with Instapaper and it seems to be working. Can you also share the instagram link you are using ?

@teromene we are waiting you brother , thank you in advance <3

That would be sister 😄

here is an example of the link we are using for the RSS bridge: MYWEBSITE/?action=display&bridge=Instagram&u=INSTAGRAMID&media_type=picture&format=Atom
here is a screenshot of the problem:

Hey Guys, I have another question despite this problem, I downloaded the RSS bridge script from here and when I generate the RSS feed the format is like this
https://www.EXAMPLE.com/?action=display&bridge=Instagram&context=Username&u=EXAMPLE&media_type=all&format=Atom
but here I see the format that people generating like this
https://www.EXAMPLE.com/?action=display&bridge=Instagram&u=EXAMPLE&media_type=all&format=Atom
to make the difference more clear between these two formats is the first format contains " context=Username" and the second one doesn't have it, so my question is: is there's any difference between these two formats and does it affect the work of the RSS bridge? and another thing is when I put my link to IFTT they don't show me any problem but still the images don't show on Pinterest

I check it out now and I found that I also have ' There was a problem with the RSS Feed service ', what's the solution for this problem guys as I downloaded the script from here

Guys Can someone please tell me how to fix 'There was a problem with the RSS Feed service' problem, I download and using the RSS bridge from here, I created an applet to send images from instagram hashtag to google drive and it did work, but for instagram users to pinterest I have the problem of 'There was a problem with the RSS Feed service' can someone please help me here

Guys Can someone please tell me how to fix 'There was a problem with the RSS Feed service' problem, I download and using the RSS bridge from here, I created an applet to send images from instagram hashtag to google drive and it did work, but for instagram users to pinterest I have the problem of 'There was a problem with the RSS Feed service' can someone please help me here

This is what we try to solve from a week ago brother .. no solution right now

Guys Can someone please tell me how to fix 'There was a problem with the RSS Feed service' problem, I download and using the RSS bridge from here, I created an applet to send images from instagram hashtag to google drive and it did work, but for instagram users to pinterest I have the problem of 'There was a problem with the RSS Feed service' can someone please help me here

This is what we try to solve from a week ago brother .. no solution right now

so does the 'There was a problem with the RSS Feed service' and 'no photo' problems are the same?

https://www.EXAMPLE.com/?action=display&bridge=Instagram&context=Username&u=EXAMPLE&media_type=all&format=Atom
https://www.EXAMPLE.com/?action=display&bridge=Instagram&u=EXAMPLE&media_type=all&format=Atom
is there's any difference between these two formats and does it affect the work of the RSS bridge?

There is no difference in behavior between these two formats. &context=Username is an optional parameter that hints the type of request to RSS-Bridge which is only important if the arguments are not obvious.
#1361 was merged recently which made changes to images. Do you still have this issue with the latest master? (please provide a working query for testing)

is there any solution yet guys?

See my previous post.

I saw it but I didn't really understand it very much, can you please explain it more

I saw that you said that #1361 is the solution to this problem right? but I didn't understand what I should and how can I use this solution?

Please try out the latest release (2019-12-01) from today. It includes #1361.

should I download and use the new RSS bridge script instead of the old one?

Yes, please.

I will try it. Thank you so much

Unfortunately, the problem of 'There was a problem with the RSS Feed service.' is still there :(

Please try out the latest release (2019-12-01) from today. It includes #1361.

the problem is still there
here's an example of photos link in the InstagramBridge Atom ;
https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e35/75540326_2452688748383015_4052789348552908865_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&oh=e43fee9376ff9dbcee1232cc8d9ead7e&oe=5E750569
here's how the link should  look like
https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e35/75540326_2452688748383015_4052789348552908865_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&oh=e43fee9376ff9dbcee1232cc8d9ead7e&oe=5E750569
the (amp;) should be removed from the link

Is the problem still there??

Is the problem still there??

I download the new version and the problem is still there.

Does anyone have a fix for this issue ? Please share.

Unfortunately, the problem of 'There was a problem with the RSS Feed service.' is still there :(

Thanks for checking anyway.

the (amp;) should be removed from the link

Actually, because Atom is based on XML the ampersand must be encoded like that. IFTTT needs to properly decode it on their end. @teromene mentioned this before:

The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters.

By the way, you can use the feed validator to check if your Atom feed is valid (there could be warnings though): https://validator.w3.org/feed/#validate_by_input
It seems IFTTT doesn't decode feeds properly. All links work fine in a browser. Here is my test query:
?action=display&bridge=Instagram&u=microsoft&media_type=all&format=Atom.
@teromene Did you get any feedback from IFTTT on this topic?

The problem is still there if someone could remove the (;amp) as the guy said from the code it would be so great

Unfortunately, the problem of 'There was a problem with the RSS Feed service.' is still there :(

Thanks for checking anyway.

the (amp;) should be removed from the link

Actually, because Atom is based on XML the ampersand must be encoded like that. IFTTT needs to properly decode it on their end. @teromene mentioned this before:

The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters.

By the way, you can use the feed validator to check if your Atom feed is valid (there could be warnings though): https://validator.w3.org/feed/#validate_by_input
It seems IFTTT doesn't decode feeds properly. All links work fine in a browser. Here is my test query:
?action=display&bridge=Instagram&u=microsoft&media_type=all&format=Atom.
@teromene Did you get any feedback from IFTTT on this topic?

can't you make the photo link like the old format without the (;amp), if you can make it as the old format that the guy mentioned and it will work as well then it will worth a try please

Without the &, the feed is invalid and is not accepted as well.
To answer @LogMANOriginal 's question, I haven't got any answer yet.
I will try to push to my branch tomorrow an alternative solution that kinda fixes this, but comes with non-negligible caveats

@teromene thank you so much, we really need a solution for this problem and we've been stuck with it for a long time now

![feed](https://user-images.githubusercontent.com/48819212/69999533-2b3e5780-1559-11ea-8bf9-303e3857efd5.PNG
This feed does not validate.
@teromene  @LogMANOriginal

finally i got the solution
now working so good

finally i got the solution
now working so good

Could you tell us the solution !!!

Did you found sollution for the problem pictures not found or what ?

@BOUSNI22: That is because of the way the w3c validator makes the request. If you copy-paste the content, then it shows as valid

a dude just came in and said 'finally i got the solution, now working so good' without telling us the solution and delete the comment after, just WOW

a dude just came in and said 'finally i got the solution, now working so good' without telling us the solution and delete the comment after, just WOW

3l9 hhhhhhhh
He run away LOL

where that dude who said he found the solution rj3 malk 3l9ti

Please any one help, It's been 15 days or more and the issue is still there.

Please any one help, It's been 15 days or more and the issue is still there.

Hhhhh I'm refreshing this page every 10 minutes to see if there's any solution yet lol

Please any one help, It's been 15 days or more and the issue is still there.

Hhhhh I'm refreshing this page every 10 minutes to see if there's any solution yet lol

Same here hhhh

So I have a temporary solution:
You can download the code at this branch : https://github.com/teromene/rss-bridge/tree/instagram_ifttt_fix
Then you must go to the settings of your connector in IFTTT, and change the Photo URL to {{EntryContent}} as shown here :

THIS IS NOT A FULL FIX, and will NOT be merged to master. I encourage you to contact IFTTT, as they have mentioned that they answer to questions only when the issue is mentioned a large number of time.

So I have a temporary solution:
You can download the code at this branch : https://github.com/teromene/rss-bridge/tree/instagram_ifttt_fix
Then you must go to the settings of your connector in IFTTT, and change the Photo URL to {{EntryContent}} as shown here :

THIS IS NOT A FULL FIX, and will NOT be merged to master. I encourage you to contact IFTTT, as they have mentioned that they answer to questions only when the issue is mentioned a large number of time.

I'm testing the new fix at the moment, Will get back will the result ASAP.
About contacting IFTTT : Could you tell us what to tell them exactly, Because I have no idea about the issue(No idea about coding).
Thank you in advance.

I marked this issue as "wontfix" because it can only be fixed by IFTTT (see answer by @teromene  above).

So I have a temporary solution:
You can download the code at this branch : https://github.com/teromene/rss-bridge/tree/instagram_ifttt_fix
Then you must go to the settings of your connector in IFTTT, and change the Photo URL to {{EntryContent}} as shown here :

THIS IS NOT A FULL FIX, and will NOT be merged to master. I encourage you to contact IFTTT, as they have mentioned that they answer to questions only when the issue is mentioned a large number of time.

i tested this new version of rss and i changed the url to {{entrycontent}} i didn't got anything, please who find the solution just tell me, it will be great. Thanks

@hamzatazi007 Is it working now ?

@teromene Still the same problem, I've tested both (Atom) and (Mrss) links
Sometimes IFTTT gives this error

And sometimes it gives this error

@LogMANOriginal could you please write a brief about the issue, So we can send it to IFTTT.
Thanks guys! I really appreciate the time and effort you are putting into this issue.

@hamzatazi007 are you using hashtags or usernames?

@Zaakaria I'm using usernames.

@hamzatazi007 and are they working good? like how many applets are you using and how much are your daily/pins?

sometimes it works sometimes doesn't work

@Zaakaria no it's not working at all, For now I'm using 25 applets, No pins so far.

use hashtags

@elyasse4 are you using atom or mrss ? For the hashtags

atom asat

ga3 les applet khdam bihom hashtags ?? kayn chi mochkil wla la

80% failled wmra mra tayposti 7sn mn walo
khdam gha b hashtag asat

Ok khay hani anjrb w ila kan chi jadid n3lmkom.

Ok khouya ana njrb , mais wach ndir Rss Feed to drive ola Instagarm to driv ola kifach .. chrah lina les étapes lah y3tik ster

@LogMANOriginal could you please write a brief about the issue, So we can send it to IFTTT.

Here is my suggestion (don't forget to put your connector IDs at the end of the message):
Instagram reports "Bad URL timestamp" for URLs parsed by the Instagram connector. The
source feed is created by [RSS-Bridge](https://github.com/rss-bridge/rss-bridge/) and
was successfully validated by https://validator.w3.org/feed/.

It seems that Instagram recently changed their URL format such that it now includes
tracking data in their query parameters ("?_nc_ht=&_nc_cat=&oh=&oe=") without which
the links don't work (error "Bad URL timestamp" when omitted).

For example
  https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e35/75540326_2452688748383015_4052789348552908865_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&oh=e43fee9376ff9dbcee1232cc8d9ead7e&oe=5E750569

These parameters are encoded in the feeds generated by RSS-Bridge, but not decoded
by the Instagram connector of IFTTT ("&" is not decoded to "&").

For example (same link from above as provided by IFTTT)
  https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e35/75540326_2452688748383015_4052789348552908865_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&oh=e43fee9376ff9dbcee1232cc8d9ead7e&oe=5E750569

Current discussion at RSS-Bridge: https://github.com/RSS-Bridge/rss-bridge/issues/1368

Please let me know if there is a way to get the connectors to work again.

@LogMANOriginal thank you, we really appreciate your help.

So Guys Any Update of the issue ??

Update: I've tested the hashtags for couple of days.and still the same problem.

l9itu l7ell alkhut ?

@hamzatazi007 @markimdev @ryukza @mahdiipin @Zaakaria @qpyman @ism33ail @elyasse4
drari rah youness dar story gal bli l9a solution dyal mochkil dyal instagram
o  3awd la7 l update dyal fichier f udemy
li wakhed fikom l course imchi itelechargy solution o ylou7ha lina Allah yrham likom lwalidine !
rah khdmentna wa9fa

Wa tatktro hdra 3la walo solution hahiya lfo9 7toha drari wkhdama jrbtha khdama . Blast image url dir entrycontent w khdam mzn matsana la youness la ghiro .

Wa tatktro hdra 3la walo solution hahiya lfo9 7toha drari wkhdama jrbtha khdama . Blast image url dir entrycontent w khdam mzn matsana la youness la ghiro .

derna had leblann wallu

telechargi file li la7 dari rah khdam asa7bi chi 7aja tay3tik failled ms tayposti fnhar tatla7 chi 200 pin
You can download the code at this branch : https://github.com/teromene/rss-bridge/tree/instagram_ifttt_fix
baghi tkhdm bih khdmsinon b9a tsana younes wla ghiro khdam liya w ldrari li m3aya kamlin

So I have a temporary solution:
You can download the code at this branch : https://github.com/teromene/rss-bridge/tree/instagram_ifttt_fix
Then you must go to the settings of your connector in IFTTT, and change the Photo URL to {{EntryContent}} as shown here :

THIS IS NOT A FULL FIX, and will NOT be merged to master. I encourage you to contact IFTTT, as they have mentioned that they answer to questions only when the issue is mentioned a large number of time.

hada khdamit"s working

Sat khdamm yalah jrbto daba w khdm , kif instalito bda kayposter , darori tkhtar dik (use direct media links)

@teromene Bro your fix is working , you just have to use the (use direct media links), thank you.

Sat khdamm yalah jrbto daba w khdm , kif instalito bda kayposter , darori tkhtar dik (use direct media links)

@teromene Bro your fix is working , you just have to use the (use direct media links), thank you.

are you using entrycontent or imageurl? and is it necessary to use only media type: picture?

I'm using entrycontent , it's not necessary to use (pictures) in the media type, However if you use the (all) media option, Only images will be posted, So there no need to use (all) media, Just use pictures instead.
Make sense ?

Thank u so much, and it doesn't give any errors anymore for the usernames?

It could give you errors, Some time IFTTT takes some time, So it can work properly, Just be patient.

The Solution by Hamza it work .. thanks man

You are welcome, Good luck bro.

Hello
i still find the some problem " There was a problem with the RSS Feed service. "
i tried all solutions (the new script - entrycontent - Mark use direct link)
when i search on the script i think this is the problem " DATA not src "

This is normal.
CDATA are used in order for us not to require to encode the "&" sign

Hello
i still find the some problem " There was a problem with the RSS Feed service. "
i tried all solutions (the new script - entrycontent - Mark use direct link)
when i search on the script i think this is the problem " DATA not src "

Ayoub ila kant error dial "there was .. " rah mn host dialk machi mn script , badal l host .. o 3andi question , wech nta howa Ayoub Jadia from casablanca ?

Hello
i still find the some problem " There was a problem with the RSS Feed service. "
i tried all solutions (the new script - entrycontent - Mark use direct link)
when i search on the script i think this is the problem " DATA not src "

Ayoub ila kant error dial "there was .. " rah mn host dialk machi mn script , badal l host .. o 3andi question , wech nta howa Ayoub Jadia from casablanca ?

Oui Akhi Ayoub Jada

I have the same problem I did All (the new script - entrycontent - Mark use direct link) But Applets Stop Working When I ideat them Any Suggestion Guys?? Thanks

@Ayoubjada use namecheap hosting

I've tried two cheaper hostings before, and the script didn't work.
But now it's working fine.

thank you guys it works correctly

drari wach baqi lmethod khdama mzyana fpinterest endi les comptes diali mabqawch kayzido ga3 fmonthly viewers wla imprissions... kolhom waqfin!!

guys have you found the solution yet ?

There is a partial solution here : https://github.com/RSS-Bridge/rss-bridge/issues/1368#issuecomment-561362316
I would also encourage you to contact IFTTT, as mentioned here: https://github.com/RSS-Bridge/rss-bridge/issues/1368#issuecomment-562712933

is there any solution with this error ?

any update?

any solution yet im working with the new bridge update

salam lkhot chi wahd ichar7 liya kifach nkhadm b had rss feed o host o kifach ndir Instagram
to Pinterest  mafhamt walo 🙁

Acehack1 on Instagram actually got my account back successfully he is a genius

Acehack1 on Instagram actually got my account back successfully he is a genius


"0 12 * */1 *" should be "“At 12:00 in every month.” but is “At 12:00.”

https://crontab.guru/#0_12_*_*/1_*

I think crontab.guru has this one wrong.  Do you have another reference implementation to compare to?

I'm thinking that */1 ==== * - is that correct?

yes


Fix Content type octet stream typos

This simply fixes a typo in registry/api/v2/descriptors.go which sets the wrong content type at the body of RouteNameBlobUpload.
Also fixes a similar typo in the docs.

Codecov Report
Patch and project coverage have no change.

Comparison is base (97b1d64) 55.92% compared to head (421a97f) 55.92%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3939   +/-   ##
=======================================
  Coverage   55.92%   55.92%
=======================================
  Files         108      108
  Lines       10940    10940
=======================================
  Hits         6118     6118
  Misses       4138     4138
  Partials      684      684

Impacted Files
Coverage Δ

registry/api/v2/descriptors.go
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[CRX] Detect availability of DNR responseHeaders before use

Critical fix for old but recent Chrome versions; all requests are otherwise redirected to the viewer.

This is a follow up to fix a regression from https://github.com/mozilla/pdf.js/issues/15161.
It uses a feature introduced in Chrome 128. Although earlier versions have the feature behind a flag, part of Chrome's implementation was still functional. Consequently, ALL requests ended up redirected, not just those whose response headers indicate application/pdf.
I have verified the fix in Chrome 126.
Given the severity of this issue, I have published a release with the fix before this was merged, at https://github.com/Rob--W/pdf.js/releases/tag/chrome-4.6.127

Thank you for fixing this!


[BLCKCHN-186] Add response type in typescript client

Pull Request Template
Description
https://mcoproduct.atlassian.net/browse/BLCKCHN-186
This PR specifies the type of data within the apiResponse type, allowing users to more accurately expect the response data.
Requires update of npm package to version 1.0.3
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:
Before you submit the pull request, please review the following checklist:

[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Linked Issues
Mention the issues that are addressed by this PR. You can use the # symbol to link an issue.

Looks good, but I haven't tested these changes. If you feel it works as intended, feel free to merge it in

Got it, i have tested them already - I will merge it in as the getting started replit example for TS would require some of these types to compile


Browser resolution and object placement

Having an error that if a Flowy configuration is saved at one browser resolution and imported at smaller resolution the arrows are not placed correctly on the virtual axis and blocks collide on snapping.
For instance I saved at a large resolution and imported at a smaller and all the arrows were placed above the blocks. When I click drag and snap a block and the rearrange occurs the blocks and arrows may overlap and or collide rendering the diagram unreadable.

By resolution I assume you mean resizing the browser window? Or zoom? I'll look into it.

Browser window, not zoom thanks =)

Hmm I think I know why, it's probably due to the RearrangeMe function being called right after import, which modifies the position of the blocks and arrows. I'll try to see if I can reproduce the issue, it still feels odd that the blocks and arrows would be crammed together regardless...

When it happens I'll have multiple blocks stacked on top of each other each slightly lower then the one behind it.

https://bitcoinchaser.com/best-bitcoin-bonuses-july-2020/

Narrowed this down a little more, there is something occurring at line 177 when arrowParent.style.top is set.
I can't reproduce it reliably. What I have identified is:
1.) Added console.log('${w}: (${arrowParent.getBoundingClientRect().top} + ${window.scrollY}) - (${canvas_div.getBoundingClientRect().top} + ${canvas_div.scrollTop}) - 1 + "px";'); to line 178.
2.) Move child blocks then move root block
3.) If error does not occur after root block is moved all arrows and blocks draw correctly and the following is printed:
1: (310.046875 + 0) - (53.296875 + 0) - 1 + "px";
2: (310.046875 + 0) - (53.296875 + 0) - 1 + "px";
3: (508.046875 + 0) - (53.296875 + 0) - 1 + "px";
4: (508.046875 + 0) - (53.296875 + 0) - 1 + "px";
5: (718.546875 + 0) - (53.296875 + 0) - 1 + "px";

4.) If the error DOES occur after root block is moved all arrows move up by ~ px, if moved again all arrows will move up again by ~ px. The following is printed:
1: (225.046875 + 0) - (53.296875 + 3) - 1 + "px";
2: (225.046875 + 0) - (53.296875 + 3) - 1 + "px";
3: (423.046875 + 0) - (53.296875 + 3) - 1 + "px";
4: (423.046875 + 0) - (53.296875 + 3) - 1 + "px";
5: (633.546875 + 0) - (53.296875 + 3) - 1 + "px";

5.) When the error does present itself the 3, or the value of canvas_div.scrollTop has been anything from 1 to over 300. The arrows will shift up by that many pixels.

Was able to recreate with the live demo code on https://alyssax.com/x/flowy/.
1.) add 1 block to the middle of the page then add 5 blocks, each on under the first (more if needed, you want to have a large scroll area)
2.) scroll down the page to where the first block you added is now at the top of your view area, you should have a small amount of scroll space above this
3.) drag the first, original block. All arrows will now shift up by the amount of scroll area you have left at the top

Just fixed this, didn't account for the canvas scroll position for the arrows in a section of the code :)


Fix typo in secure-files.md

The following sentence:

...can only be used when them from a task.

Should read:

...can only be used when you consume them from a task.

@ericmutta : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Support MathML input

Hello!
I'm not sure if this is a duplicate request (despite my best efforts).
I am currently inputting MathML and rendering HTML output with MathJax. I would love to do this with KaTeX.

Hello!
Unfortunately, adding another kind of input (like MathML, or even things like AsciiMath) is mostly infeasible at this point. The parser is fairly specialized for understanding TeX, and we currently don't even support all of the things in TeX that we want to support yet, so we might work on this, but probably not soon in the future.

@jonathankroll Curious: why do you prefer MathML for input?

Makes sense. You could probably find some automated way to convert that to TeX but I don't think we'll add one to KaTeX itself.

can someone suggest a way to convert mathml to tex

I found http://www.orcca.on.ca/~elena/ORCCA_MathML2002_WebPoster.htm, but I haven't actually tried it.


Fix proxying of local websocket

This fixes an issue where websocket connections are not proxied properly through an upstream proxy configured with -extern-http-proxy-uri.
This can be seen by running edge-proxy with the tunnel-uri feature enabled and an extern-http-proxy-uri configured.  Notice in the netstat output below that edge-proxy has several open connections, ignoring the localhost stuff.  In this output <IP_ADDRESS> is my upstream HTTP_PROXY specified with extern-http-proxy-uri CLI, yet edge-proxy has connections open to <IP_ADDRESS> and <IP_ADDRESS>, which are IP addresses associated with gateways.us-east-1.mbedcloud.com, which means that edge-proxy is connecting directly to mbedcloud.com rather than going through the proxy at <IP_ADDRESS>.  After some investigation, it was shown that connection requests with a destination scheme of https were being properly sent to the upstream proxy, but connection requests with a destination scheme of ws were being improperly sent directly to mbedcloud.
This PR fixes the issue by making sure that proxied websocket connections are configured to use the upstream proxy, and by fixing the gorilla/websocket library to be able to connect to https proxies (currently only supports http proxies).
$ sudo netstat -anpt | grep edge-proxy
tcp        0      0 <IP_ADDRESS>:34062         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:40944         <IP_ADDRESS>:443       ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34054         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34066         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:51932         <IP_ADDRESS>:8080          ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34060         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:33222         <IP_ADDRESS>:443       ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34080         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34072         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:40940         <IP_ADDRESS>:443       ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34076         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp        0      0 <IP_ADDRESS>:34056         <IP_ADDRESS>:8443      ESTABLISHED 2785/edge-proxy
tcp6       0      0 :::8080                 :::*                    LISTEN      2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51940         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51964         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51974         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51976         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51932         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51936         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51984         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51962         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:52002         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51980         ESTABLISHED 2785/edge-proxy
tcp6       0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:51960         ESTABLISHED 2785/edge-proxy

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/40/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/40/

@zhucebuliaolongchuan @ygoyal18  Can you help me fix the edge-jenkins error?  It seems that the version of Go used by the CI job isn't downloading go-modules like it does on my dev system.  I'm using Go-1.14.4 which is supposed to be the correct version.
Also, which branch should this PR be raised against?  It looks like 'dev' branch is out of sync with master, so I just made this against master branch.

@zhucebuliaolongchuan @ygoyal18  Can you help me fix the edge-jenkins error?  It seems that the version of Go used by the CI job isn't downloading go-modules like it does on my dev system.  I'm using Go-1.14.4 which is supposed to be the correct version.
Also, which branch should this PR be raised against?  It looks like 'dev' branch is out of sync with master, so I just made this against master branch.

This builds fine in our snapcraft environment and in our linux-pelion-edge environment.  Why is CI broken?

This builds fine in our snapcraft environment and in our linux-pelion-edge environment.  Why is CI broken?

@zhucebuliaolongchuan  @c1728p9 Would y'all be able to answer the branch question?

@zhucebuliaolongchuan  @c1728p9 Would y'all be able to answer the branch question?

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/41/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/41/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/44/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/44/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/43/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/43/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/46/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/46/

@zhucebuliaolongchuan Now that CI is passing, would you mind reviewing this PR?

@zhucebuliaolongchuan Now that CI is passing, would you mind reviewing this PR?

We can also ping @PelionIoT/team-edge_services_admin for a review in case @zhucebuliaolongchuan isn't available/tied up.

We can also ping @PelionIoT/team-edge_services_admin for a review in case @zhucebuliaolongchuan isn't available/tied up.

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/47/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/47/

@costanic If I am understanding correctly, I think you are trying to make sure all of the websocket connections are being forwarded to the upstream proxy server, correct me if I am wrong. While we do have websocket connections that connects to gateways domain (gateways.us-east-1.mbedcloud.com) instead of upstream proxy server for reverse tunneling feature, and this behaviour are intended. Actually, this isn't really about the different scheme here, but because of the host of the request sent to edge-proxy and the mapping we have setup for edge-proxy. As you can see from our edge proxy setup from snap, parameter tunnel-uri has server address gateways.local, and it matches one of the keys within forwarding-addresses, and that actually take the request with host gateways.local to the corresponding upstream server.
Please let me know if you have any other problems on this.

Yes, we need to make sure that all outbound connections connect through an upstream proxy in order to traverse customer environments with restrictive firewalls where the only way to connect to the internet is through an upstream proxy that sits between the customer's network and the internet.  Without this PR, edge-proxy won't be able to connect directly to mbedcloud.com in such an environment.

@costanic If I am understanding correctly, I think you are trying to make sure all of the websocket connections are being forwarded to the upstream proxy server, correct me if I am wrong. While we do have websocket connections that connects to gateways domain (gateways.us-east-1.mbedcloud.com) instead of upstream proxy server for reverse tunneling feature, and this behaviour are intended. Actually, this isn't really about the different scheme here, but because of the host of the request sent to edge-proxy and the mapping we have setup for edge-proxy. As you can see from our edge proxy setup from snap, parameter tunnel-uri has server address gateways.local, and it matches one of the keys within forwarding-addresses, and that actually take the request with host gateways.local to the corresponding upstream server.
Please let me know if you have any other problems on this.

Yes, we need to make sure that all outbound connections connect through an upstream proxy in order to traverse customer environments with restrictive firewalls where the only way to connect to the internet is through an upstream proxy that sits between the customer's network and the internet.  Without this PR, edge-proxy won't be able to connect directly to mbedcloud.com in such an environment.

@costanic If I am understanding correctly, I think you are trying to make sure all of the websocket connections are being forwarded to the upstream proxy server, correct me if I am wrong. While we do have websocket connections that connects to gateways domain (gateways.us-east-1.mbedcloud.com) instead of upstream proxy server for reverse tunneling feature, and this behaviour are intended. Actually, this isn't really about the different scheme here, but because of the host of the request sent to edge-proxy and the mapping we have setup for edge-proxy. As you can see from our edge proxy setup from snap, parameter tunnel-uri has server address gateways.local, and it matches one of the keys within forwarding-addresses, and that actually take the request with host gateways.local to the corresponding upstream server.
Please let me know if you have any other problems on this.

Yes, we need to make sure that all outbound connections connect through an upstream proxy in order to traverse customer environments with restrictive firewalls where the only way to connect to the internet is through an upstream proxy that sits between the customer's network and the internet. Without this PR, edge-proxy won't be able to connect directly to mbedcloud.com in such an environment.

Gotcha.

@costanic If I am understanding correctly, I think you are trying to make sure all of the websocket connections are being forwarded to the upstream proxy server, correct me if I am wrong. While we do have websocket connections that connects to gateways domain (gateways.us-east-1.mbedcloud.com) instead of upstream proxy server for reverse tunneling feature, and this behaviour are intended. Actually, this isn't really about the different scheme here, but because of the host of the request sent to edge-proxy and the mapping we have setup for edge-proxy. As you can see from our edge proxy setup from snap, parameter tunnel-uri has server address gateways.local, and it matches one of the keys within forwarding-addresses, and that actually take the request with host gateways.local to the corresponding upstream server.
Please let me know if you have any other problems on this.

Yes, we need to make sure that all outbound connections connect through an upstream proxy in order to traverse customer environments with restrictive firewalls where the only way to connect to the internet is through an upstream proxy that sits between the customer's network and the internet. Without this PR, edge-proxy won't be able to connect directly to mbedcloud.com in such an environment.

Gotcha.

Thanks @zhucebuliaolongchuan, are you ok with me merging this to master branch?  On a related note, what should be done with the 2 commits on dev branch?

Thanks @zhucebuliaolongchuan, are you ok with me merging this to master branch?  On a related note, what should be done with the 2 commits on dev branch?

Thanks @zhucebuliaolongchuan, are you ok with me merging this to master branch? On a related note, what should be done with the 2 commits on dev branch?

Sure. Go ahead. I will merge that change later if I think it needs to.

Thanks @zhucebuliaolongchuan, are you ok with me merging this to master branch? On a related note, what should be done with the 2 commits on dev branch?

Sure. Go ahead. I will merge that change later if I think it needs to.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.ico-cloud

[x] [E405] Icon must be in the following path: https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.ico-cloud/main/
[x] [E802] No topics found in the repository. Please go to "https://github.com/iobroker-community-adapters/ioBroker.ico-cloud", press the settings button beside the about title and add some topics.
[x] [E605] No actual year found in copyright. Please add "Copyright (c) 2022 Garfonso<EMAIL_ADDRESS>at the end of README.md
[x] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2022 Garfonso<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.

Thanks, that all bugs have been fixed.


Unable to load any data from source yaml file: Path: '/'

Rasa Core version: 0.9.6
Python version: 3.6.5
Operating system (windows, osx, ...): OSX
Issue:
I am trying to train my dialogue model by running the following:
python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/nlu/dialogue --epochs 300
I have already tried running the command with and without './' as well as changing the tab indentation in the yml file like issue #418 suggests but I still receive this error:
Using TensorFlow backend.
Traceback (most recent call last):
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/pykwalify/core.py", line 76, in __init__
    self.source = yaml.load(stream)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/main.py", line 639, in load
    return loader._constructor.get_single_data()  # type: ignore
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/constructor.py", line 103, in get_single_data
    node = self.composer.get_single_node()
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 75, in get_single_node
    document = self.compose_document()
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 96, in compose_document
    node = self.compose_node(None, None)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 130, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/composer.py", line 162, in compose_sequence_node
    while not self.parser.check_event(SequenceEndEvent):
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/parser.py", line 144, in check_event
    self.current_event = self.state()
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/ruamel/yaml/parser.py", line 500, in parse_block_sequence_entry
    token.id, token.start_mark)
ruamel.yaml.parser.ParserError: while parsing a block collection
  in "domain.yml", line 193, column 5
expected <block end>, but found '<scalar>'
  in "domain.yml", line 193, column 89

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/rasa_core/train.py", line 148, in <module>
    additional_arguments)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/rasa_core/train.py", line 100, in train_dialogue_model
    max_history=max_history))])
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/rasa_core/agent.py", line 47, in __init__
    self.domain = self._create_domain(domain)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/rasa_core/agent.py", line 385, in _create_domain
    return TemplateDomain.load(domain)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/rasa_core/domain.py", line 404, in load
    cls.validate_domain_yaml(filename)
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/rasa_core/domain.py", line 438, in validate_domain_yaml
    schema_files=[schema_file])
  File "/Users/admin/Andrea/bedtimebot/lib/python3.6/site-packages/pykwalify/core.py", line 78, in __init__
    raise CoreError(u"Unable to load any data from source yaml file")
pykwalify.errors.CoreError: <CoreError: error code 3: Unable to load any data from source yaml file: Path: '/'>

Content of domain file (if used & relevant):
slots:
  name:
    type: text
  avg_bedtime:
    type: text
  goal_bedtime:
    type: text
  weekly_goal:
    type: text
  weekly_goal_choice:
    type: text
  timezone:
    type: text
  late_reasons:
    type: text

entities:
- name
- avg_bedtime
- goal_bedtime
- weekly_goal
- weekly_goal_choice
- timezone
- late_reasons

intents:
- bedtime_attempt
- extend
- affirm
- deny
- inform

templates:
  utter_greet_morning:
    - "Good morning, {name}!"
    - "Rise n' Shine, {name}!"
    - "Hey, {name}! I hope your day is off to a fantastic start!"

# setup utterances
  utter_greet_introduction:
    - "Hi!
      I'm here to help you get to bed earlier so you can get better, more consistent sleep!"
  utter_ask_name:
    - "Thanks for giving me a try! First things first: what is your name?"
  utter_ack_name:
    - "Well, {name}, it's very nice to meet ya!"
  utter_ask_goal_bedtime:
    - "What time would you ideally get to bed on weekdays?"
  utter_ack_general:
    - "Noted."
    - "Gotcha! I'll make note of that."
  utter_ask_avg_bedtime:
    - "On average, what time have you been getting to bed these last few weeks?"
  utter_last_question:
    - "Last question!"
  utter_ask_timezone:
    - "What's your time zone?"
...

actions:
- utter_greet_morning
# setup utterances
- utter_greet_introduction
- utter_ask_name
- utter_ack_name
- utter_ask_goal_bedtime
- utter_ack_general
- utter_ask_avg_bedtime
- utter_last_question
- utter_ask_timezone
...

Ah, I had used double quotations in one of my utterances.. Thank you for your help!

How do we use entities in templates?


Fix gulpfile tasks in release zip, but limit packaged scripts

Fixes https://github.com/CesiumGS/cesium/issues/3911
We removed the gulpfile in https://github.com/CesiumGS/cesium/pull/10281, but after seeing #6025, I think that was the wrong move.
The reason we removed it was that it was no longer possible to run any gulp tasks from within the release zip. However, this was due to https://github.com/CesiumGS/cesium/pull/8659 is fixed here by including .gulp.json.
Additionally, it's only possible and helpful a subset of scripts in the release zip. So this PR limits those to the following list:

start
start-public
clean
cloc
coverage
eslint
build-specs
test-*
prettier-check

This list is arrived at by omitting build and watch tasks, as well as the deploy-* tasks. Including generateDocumentation and build-ts is arguable since they can be run to verify the validity of the docs. But we already included the generated output, and the size of the documentation build tools are not as negligable as eslint or prettier.
In order to run those, we include include .eslintrc.json,.eslintignore, related eslint config files in the release zip (~7KB uncompressed); .prettierignore (<1KB uncompressed); and Specs/** which was previously, but I believe erroneously, excluded in https://github.com/CesiumGS/cesium/pull/10281.
Finally, after https://github.com/CesiumGS/cesium/pull/10293 adds back the browser spec runner and associated files, we can re-add the link to the spec runner removed from index.release.html in https://github.com/CesiumGS/cesium/pull/10184.

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @ebogo1! Updated.

Hm, this is a pretty niche use case but I noticed that if we run npm run clean followed by npm run build-specs, the latter fails because clean removes the SpecList.js file. This happens in the non-release version as well, but if there's no way to rebuild SpecList.js from the release zip (it's part of the "build" task) maybe it's worth reconsidering how we include the build-specs task.
I think it's minor enough to not do anything about it in this PR but thought I'd mention it.

Good point. Maybe we should omit the clean script entirely then, since its possible to clean files which can't be re-created from within the release zip.

Should the cloc script be removed too then?

Yeah, I think that follows. I also don't see an equivalent command in packages from comparable projects.

Updated once again.

Cool, thanks @ggetz!


Wrong url helper is called when using a namespaced controller

I have a namespaced controller Admin::UsersController, this is the spec:
require 'spec_helper'

describe Admin::UsersController do
  describe "PUT update" do
    context "with valid params" do
      it "updates the requested user" do
        user = Factory(:user)

        User.any_instance.should_receive(:update_attributes).with({'name' => 'Pedro da Silva'})
        put :update, :id => user.id, :user => {'name' => 'Pedro da Silva'}
      end
    end
  end
end

Here is the output:
Failures:

  1) Admin::UsersController PUT update with valid params updates the requested user
     Failure/Error: put :update, :id => user.id, :user => {'name' => 'Pedro da Silva'}
     NoMethodError:
       undefined method `user_url' for #<Admin::UsersController:0x007f99d7ea3620>
     # ./spec/controllers/admin/users_controller_spec.rb:92:in `block (4 levels) in <top (required)>'

This should be easily fixed with the :use_route option.
put :update, :id => user.id, :user => {'name' => 'Pedro da Silva'}, :use_route => 'admin'

You could also use location option in respond_with in the controller:
respond_with @user, :location => admin_user_url(@user)


Cards view - Sort order by rarity?

To keep tabs on what's changed, I usually have to go to my profile (since cards are listed by rarity) then open a card that way. It'd be easier if I could just go to cards view, select my account and have the cards sorted by rarity.

The cards already sorted by rarity

Not in Cards view. http://i.imgur.com/g8GTvOn.png

if I could just go to cards view, select my account and have the cards sorted by rarity.

I think I need some sleep. Sorry, didn't notice that

Np. It's definitely more of an wishlist item than a fix that needs to be implemented.

We can add that, yep. Thanks for your suggestion!

It's possible to sort cards by rarity.
Use this link: http://schoolido.lu/cards/?account=<account id>&stored=Deck&ordering=rarity&reverse_order=on
replace <account id> with your Account ID found in your profile.
Locating Account ID is bit tricky. Click your username in the top bar and hover your cursor to your account. The link will be something like this: http://schoolido.lu/user/<username>/#<account id>
Here's a screenshot showing card list sorted by rarity

I tried your workaround and it's almost but not quite. It seems to be sorting by card number within rarity.
It would be easier if it was sorted the way the profile is sorted. As it is now even with the workaround, it's still easier for me to look at the profile account to see if I need to change any card, right click/open new tab each card I need change, and update it that way.
Easiest would be sort by rarity in cards view the way the profile is sorted (if it gets implemented) since - as it is noted on profile view - we should go to cards view to actually update the cards.


Add manifest file for Adobe Acrobat Reader DC (French) v2020.012.20041

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

azp /run

/azp run


Fails to be recognized as kernel, on Ubuntu 20.04

Tried first with the apt-get install gnuplot_kernel, later with an install from github.  Install reports that all is well, but jupyter does not see the kernel. The system is up-to-date on the LT release 20.04.
$ sudo pip3 install git+https://github.com/has2k1/gnuplot_kernel.git@master -U
Collecting git+https://github.com/has2k1/gnuplot_kernel.git@master
  Cloning https://github.com/has2k1/gnuplot_kernel.git (to revision master) to /tmp/pip-req-build-vbijkgrg
  Running command git clone -q https://github.com/has2k1/gnuplot_kernel.git /tmp/pip-req-build-vbijkgrg
...
Successfully built gnuplot-kernel
Installing collected packages: gnuplot-kernel
  Attempting uninstall: gnuplot-kernel
    Found existing installation: gnuplot-kernel 0.4.1
    Uninstalling gnuplot-kernel-0.4.1:
      Successfully uninstalled gnuplot-kernel-0.4.1
Successfully installed gnuplot-kernel-0.4.1
$ pip3 list | grep gnuplot
gnuplot-kernel               0.4.1
$ jupyter kernelspec list
Available kernels:
  ir         /home/XXXX/.local/share/jupyter/kernels/ir
  python3    /usr/share/jupyter/kernels/python3
$ uname -a
Linux XXXX 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Any suggestions?

Have you run?
$ python -m gnuplot_kernel install --user

I did not, as it seemed to be only applicable to user-space installations and was never required before,  sudo apt-get install gnuplot_kernel was always sufficient.
I used sudo python3 -m gnuplot_kernel install and it added the kernel to the list.
There are other problems, like trying to restart the gnuplot kernel ("Restart and Run All", for example) causes kernel death and no restart. The workbook has to be closed to recover. The error seems to be specific to gnuplot-kernel:
...
  File "/usr/local/lib/python3.8/dist-packages/gnuplot_kernel/kernel.py", line 301, in do_shutdown
    self.wrapper.exit()
AttributeError: 'NoneType' object has no attribute 'exit'

With the above caveat, it is usable again. Thanks for the suggestion!

@esternin, can you open an issue for that "Restart and Run All" problem.


Feat(live-doc): makes documentation works on smaller screens

Fixes #472 :)

@bobylito the select is not super handy with ios

Mobile menu looks a bit too... spacy :)

I would not split the content in two columns that early (800px?). On small screens, each column is really narrow. It is more readable to put text and examples one below the other until we really have a a bigger screen (maybe when we start adding the menu column? 1200px?)

Mobile menu are made for: mobile, and I think it works well on mobile.
For breakpoints, I'm ok like that but feel free to test.

Cool that we are tackling this one.

^^^ Is the gif from @pixelastic still accurate? As for the menu (or the whole webpage), it looks really weird that the text is passing below in full transparency.
I know that's a detail but I guess everyone on mobile will stumble on it and their first impression will somehow be different than if it was done in a different manner.
Can we put an opaque background behind "instantsearch.js" so that it's not doing this?

need rebase

We have merges because merge :) I think it's not too bad for this time and we'll do better next time :) (we promise)

Can we merge ;D?

Yep good @Shipow we can have a git workflow course soon no big deal


feat(kit): InputDateRange add full support of TUI_DATE_FORMAT

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows Conventional Commits
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Closes #954
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-9.2%) to 72.199%

Totals

Change from base Build<PHONE_NUMBER>:
-9.2%

Covered Lines:
139

Relevant Lines:
181

💛  - Coveralls


Add note about non-root users

Added a note about creating non-root users in the Getting Started with Oasis.
In the Oasis manual, the Users chapter has no info about creating/managing users in ArangoDB Web Interface. We could refer to this page for more details.

ready for final review https://deploy-preview-1008--zealous-morse-14392b.netlify.app/docs/3.9/oasis/getting-started.html


Questions: shap interaction values for Explainers other than TreeExplainer

Are shap interaction values implemented only in TreeExplainer? Are there any plans to implement them soon in other explainers? Would it be easier to implement for KernelExplainer or DeepExplainer?

@MichalPorwisz There is support for that see https://github.com/shap/shap/blob/94c64e375f6680c61bca13b5a38ce162a95cf5d9/shap/explainers/pytree.py#L220
@thatlittleboy CFC

@detrin OP is asking for shap interaction values for KernelExplainer and DeepExplainer actually.


gatt Descriptor is null

Hello @Velorexe,
I am trying to use your library on the quest (android 10). so far I have some progress with:
-scanning for devices (success)
-connecting to a device (and its services and characteristics) (success)
but during the subscribe to a characteristic I am now running into the issue that the service UUID and characteristic UUID is now accepted, but on line 384 in UnityAndroidBLE.java it crashes with a null pointer exception.
apparently the gattDescriptor is most likely not existent.
Checking all the values of the services and characteristics i get seem to be valid, though i do seem to get some empty services (which i skip) when connecting.
As far as I can see in the code, everything should be nicely setup in the library.
Forgive the ugly code as I am first exploring the use of the library, but its not to dissimilar to the original example it is based on. (it is hardwired to find a BLE device called martijn)
Any help would be appreciated as I get the feeling I need to setup something more?
`
using UnityEngine;
using Android.BLE;
using Android.BLE.Commands;
using UnityEngine.Android;
using System.Collections.Generic;
using System.Linq;
using System;
public class CharacteristicInfo
{
public bool IsSubscribed;
public string Characteristic;
public string Service;

}
public class ExampleBleInteractor : MonoBehaviour
{
[SerializeField]
private GameObject _deviceButton;
[SerializeField]
private Transform _deviceList;
[SerializeField]
private int _scanTime = 3;

private float _scanTimer = 0f;

private bool _isScanning = false;

private string m_Martijn = "Martijn";
private string m_Device = "";
private bool m_MartijnFound = false;

private bool m_ConnectCommandSent = false;

List<CharacteristicInfo> m_Chars= new List<CharacteristicInfo>();

public void ScanForDevices()
{
    if (!_isScanning)
    {
        _isScanning = true;
        BleManager.Instance.QueueCommand(new DiscoverDevices(OnDeviceFound, _scanTime * 1000));
    }
}

private void Update()
{
    if(_isScanning)
    {
        Debug.LogWarning("scanning");
        _scanTimer += Time.deltaTime;
        if(_scanTimer > _scanTime)
        {
            _scanTimer = 0f;
            _isScanning = false;
        }
    }
    else
    {
        if (m_MartijnFound == false)
        {
            Debug.LogWarning("starting scanning for devices");
            ScanForDevices();
        }
        else if (m_ConnectCommandSent == false)
        {
            Debug.LogWarning("starting to connect to device");
            BleManager.Instance.QueueCommand(new ConnectToDevice(m_Device, OnDeviceConnected, OnDisconnected, OnServiceDiscovered, OnCharacteristicDiscovered));
            m_ConnectCommandSent = true;
        }
        else if (m_Chars.Count > 0)
        {
            for (int i = 0; i < m_Chars.Count; i++)
            {

                if (m_Chars[i].IsSubscribed == false)
                {
                    m_Chars[i].IsSubscribed = true;
                    Debug.LogWarning($"we try to register for data! address {m_Chars[i].Service} char {m_Chars[i].Characteristic}");

                    BleManager.Instance.QueueCommand(new SubscribeToCharacteristic(m_Device,
                                                                                m_Chars[i].Service,
                                                                                m_Chars[i].Characteristic,
                                                                                OnDataFound,
                                                                                true));

                }
            }
        }
    }
}

private void OnDataFound(byte[] value)
{
    Debug.LogWarning($"we got data!");
}

private void OnDeviceFound(string device, string name)
{
    if (m_MartijnFound == false)
    {

        Debug.LogWarning($"we found {name} and {device}");
        if ((name == null) || (name.Length == 0) )
        {
            Debug.LogWarning("name is null");
            return;
        }

        if ((m_MartijnFound == false) &&
            (m_Martijn.CompareTo(name) == 0))
        {
            DeviceButton button = Instantiate(_deviceButton, _deviceList).GetComponent<DeviceButton>();
            button.Show(name, device);

            m_Device = device;

            m_MartijnFound = true;
        }
    }
}

private void OnDeviceConnected(string device)
{
    DeviceButton button = Instantiate(_deviceButton, _deviceList).GetComponent<DeviceButton>();
    button.Show("we got device connected", device);

    Debug.LogWarning($"we got device connected");
}

private void OnDisconnected(string device)
{

    Debug.LogWarning($"we got device disconnected");
}

private void OnServiceDiscovered(string deviceAddress, string serviceAddress)
{

    Debug.LogWarning($"we got service {serviceAddress}!");
    if (serviceAddress.Length != 0)
    {
        Debug.LogWarning($"we got service {serviceAddress}!");
    }
}
private void OnCharacteristicDiscovered(string deviceAddress, string serviceAddress, string characteristicAddress)
{

    Debug.LogWarning($"we got charasteristic {characteristicAddress} for service {serviceAddress}!");

    if (characteristicAddress.Length != 0)
    {
        DeviceButton button = Instantiate(_deviceButton, _deviceList).GetComponent<DeviceButton>();
        button.Show($"we got charasteristic {characteristicAddress} for service {serviceAddress}!", deviceAddress);

        m_Chars.Add(new CharacteristicInfo() { Characteristic= characteristicAddress, IsSubscribed = false , Service = serviceAddress});
    }
}

}
`
The error is as follows :
`
2022/12/06 11:02:31.268 8621 8643 Warn Unity we got charasteristic 00002a19-0000-1000-8000-00805f9b34fb for service 0000180f-0000-1000-8000-00805f9b34fb!
2022/12/06 11:02:31.270 8621 8643 Warn Unity {
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "device": "F0:6A:69:EA:13:1C",
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "name": "",
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "service": "",
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "characteristic": "",
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "command": "DeviceConnected",
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "hasError": false,
2022/12/06 11:02:31.270 8621 8643 Warn Unity     "errorMessage": ""
2022/12/06 11:02:31.270 8621 8643 Warn Unity }
2022/12/06 11:02:31.270 8621 8643 Warn Unity command received for F0:6A:69:EA:13:1C : DeviceConnected
2022/12/06 11:02:31.271 8621 8643 Warn Unity we got device connected
2022/12/06 11:02:31.288 8621 8643 Warn Unity we try to register for data! address 00001800-0000-1000-8000-00805f9b34fb char 00002a00-0000-1000-8000-00805f9b34fb
2022/12/06 11:02:31.288 8621 8643 Warn Unity Queueing Command: SubscribeToCharacteristic
2022/12/06 11:02:31.289 8621 8643 Warn Unity sending command subscribeToCustomGattCharacteristic
2022/12/06 11:02:31.289 8621 8643 Warn Unity Calling Command: subscribeToCustomGattCharacteristic
2022/12/06 11:02:31.306 8621 8639 Debug BluetoothGatt onConnectionUpdated() - Device=F0:6A:69:EA:13:1C interval=36 latency=0 timeout=500 status=0
2022/12/06 11:02:31.363 8621 8643 Error Unity AndroidJavaException: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.bluetooth.BluetoothGattDescriptor.setValue(byte[])' on a null object reference
2022/12/06 11:02:31.363 8621 8643 Error Unity java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.bluetooth.BluetoothGattDescriptor.setValue(byte[])' on a null object reference
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at com.velorexe.unityandroidble.UnityAndroidBLE.subscribeToCustomGattCharacteristic(UnityAndroidBLE.java:384)
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at android.os.Handler.dispatchMessage(Handler.java:105)
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at android.os.Looper.loop(Looper.java:227)
2022/12/06 11:02:31.363 8621 8643 Error Unity 	at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
2022/12/06 11:02:31.363 8621 8643 Error Unity   at UnityEngine.AndroidJNISafe.CheckException () [0x00096] in <2929d00977a149fa8e08bd559a24d9de>:0
2022/12/06 11:02:31.363 8621 8643 Error Unity   at UnityEngine.AndroidJNISafe.CallVoidMethod (System.IntPtr obj, System.IntPtr methodID, UnityEngine.jval
2022/12/06 11:02:31.399 8621 8643 Warn Unity we try to register for data! address 00001800-0000-1000-8000-00805f9b34fb char 00002a01-0000-1000-8000-00805f9b34fb
`

I found the issue.
I was subscribing to characteristics without the descriptor. the ones that did, succeeded.
My apology and consider this closed.

Hi @WimFaasen
Glad you were able to fix the issue and thank you for using my library!
If you run into any new bugs / errors or want to leave some feedback, then you can always open another issue.


update force mode

view in https://github.com/pourmand1376/obsidian-custom-font/issues/5

ok now with theme the text would not update :(

Could you please explain Why this PR is necessary and What it does?
Honestly, It is unclear from the code what you wanted to do.
Do you want to disable Force Mode when custom CSS is applied?

Hi Amir,
Let me clarify the purpose and functionality of the changes made in this pull request (PR).
The primary goal of these changes is to refine the way force_mode applies font settings, ensuring it's both effective and less intrusive. This is achieved by providing more nuanced control over font styling, particularly under force_mode conditions.
Refinement of force_mode Application:
Original Approach: Previously, force_mode applied the font-family property globally to all elements using the * selector, which was quite aggressive and led to overriding all other and custom CSS font-family rules.
New Approach: The introduction of the addImportantToCSS() function ensures that force_mode is applied more selectively. This function adds !important to each individual CSS rule, as opposed to applying it globally. This method ensures the precedence of force_mode settings without broadly overriding other styles, thus maintaining better control over the CSS styling.
Enhancements to get_default_css Function:
Original Functionality: The function was initially setting various CSS custom properties related to fonts.
Enhancements Made: The modified function now includes a direct application of the font-family property to div span elements, in addition to setting custom properties. This targeted approach reduces the likelihood of global overrides. Additionally, the function now adds more font-related custom properties, offering greater flexibility and customization options.
Addressing Your Query:
The changes are not about disabling force_mode when custom CSS is applied. Instead, they aim to make force_mode more compatible with custom styling by ensuring it doesn't completely override user-defined styles. The idea is to enhance user experience by offering a more balanced approach between force_mode enforcement and custom CSS application.
In essence, these changes improve the flexibility and usability of CSS styling functionality in our project, particularly in scenarios where force_mode is active. They allow for more precise control over font styling, ensuring that force_mode enhancements are applied effectively without disrupting the overall styling intentions.
I hope this explanation clarifies the intent and functionality of the changes proposed in this PR.

Sorry. AI generated answers don't help here. Please have some respect and provide the answer yourself.

thank you, this works : )
but for ease of use (changing font) i would like to keep the changes in the code, I hope you're cool with me changing my repo to a version that works with a git clone. I will not upload it to obsidians plugin list because it basically the same.
Btw: .otf files work with your plugin too and above i needed to change it to font-family: YourFontFamilyName !important;

Who am I to have problem with that? I have made the License Apache just to make sure that anyone can do any changes he/she wants and be happy with it.

Thx


Drop dependency on py and simplify tests

The first commit drops dependency on py module
and switch from LocalPath to pathlib.Path which
has a different API so it required some more changes.
The second commit actually removes the unnecessary subdirs.
If you want to keep them, I can drop the second commit.

Thanks for the PR! 🚀  Could you rebase on main?
I've changed the CICD a bit so we ran the tests (linting, ...) on PRs as well

Thanks for the PR! rocket Could you rebase on main? I've changed the CICD a bit so we ran the tests (linting, ...) on PRs as well

Done, but you have to approve the workflow.

Linter problem fixed.


Error when installing module

Hi,
I keep getting an error when installing the module with pip. The message says "No module named 'pip.req'" and the exit code is 1. I don't know what to do to install it.
Thanks

Had to change 'from pip.req' to 'from pip' in setup.py


Rebase onto Main

Description:

Link to tracking Issue:
Testing:
Documentation:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 27 committers have signed the CLA.:white_check_mark: mdonkers:white_check_mark: atoulme:white_check_mark: RoryCrispin:x: hovavza:x: opentelemetrybot:x: djaglowski:x: martin-majlis-s1:x: povilasv:x: dmitryax:x: TylerHelmuth:x: sakulali:x: tpaschalis:x: bryan-aguilar:x: BinaryFissionGames:x: c-kruse:x: gord02:x: astencel-sumo:x: songy23:x: bagmeg:x: VihasMakwana:x: haoqixu:x: sigilioso:x: dashpole:x: mx-psi:x: crobert-1:x: dloucasfx:x: JaredTan95You have signed the CLA already but the status is still pending? Let us recheck it.