text:
Script isn't working

I just tried the configurations here and I get:

ssh: connect to host localhost port 2222: Connection refused

I am using the latest version of Windows 10 and the  Ubuntu 18.04.3 LTS on the WSL.

This started happening to me about a week ago, and I don't know why or how to fix.
After some experimentation, I found I can connect to localhost port 2222 when I am at work (on a "Domain" network, in Windows parlance) but not when at home (on a "Private" network). Note: I used to be able to do both.
I tried running sshd in "Debug" mode in WSL, and get a little more info below:
$ sudo service ssh stop
 * Stopping OpenBSD Secure Shell server sshd                                                                     [ OK ]

$ sudo /usr/sbin/sshd -d
/etc/ssh/sshd_config line 127: Deprecated option UsePrivilegeSeparation
debug1: sshd version OpenSSH_7.6, OpenSSL 1.0.2n  7 Dec 2017
debug1: private host key #0: REDACTED
debug1: private host key #1: REDACTED
debug1: private host key #2: REDACTED
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: Set /proc/self/oom_score_adj from 0 to -1000
debug1: Bind to port 2222 on 127.0.0.1.
Bind to port 2222 on 127.0.0.1 failed: Permission denied.
Cannot bind any address.

It definitely looks to me like the problem is something happening on the WSL side, although still not sure how to fix this issue.

Did you find out the issue? I'm having the exact same problem. It magically goes away after trying some restarts and reinstalling but then comes back, usually after a Windows upgrade.

No, I just stopped using WSL.

+1, the exactly same problem.

You can just follow some common tutorial to easily setup SSH server.
Basically all you need is:
sudo apt install openssh-server
sudo apt install -y cmake gcc clang gdb valgrind build-essential to prepare linux environment for compiling C
sudo service ssh --full-restart to start the SSH server
service ssh status to check whether the SSH server is running
Thats basically it. Now the SSH is running on port 22, but thats the only difference from what the script and guide says.

On the WSL front, I think this might be an issue with Clion itself preferring ipv4 when it comes to WSL.
So if I have a WSL instance running a docker container exposing a port over 2222, I can ssh that fine from windows, but Clion can't find it with ssh - p 2222 root@localhost. Clion will report connection refused.
Now, on a related sidenote, if I try and ssh 127.0.0.1 from Windows on port 2222, that will get connection refused too (ipv4).
In WSL, it'll work if you use the internal WSL container's ipv4 IP, but unfortunately that changes on every reboot so that can't be depended upon long term.
However.... if you look in the windows hosts file, you can find this comment:
# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost

So ::1 is the ipv6 ip for localhost, and amusingly, if you run ssh -p 2222 root@::1 from windows (which feels barmy) it will actually work. So I'm thinking that Windows actually only does IP forwarding for ipv6 for these forwarded ports.
So if you use the ipv6 localhost [::1] (yes with the square brackets because Clion needs them), it will actually work:

Hope this helps someone because google landed me here.

I was able to resolve this by taking two steps:

Changed the ListenAddress to 0.0.0.0 . I think that was the necessary step here.
Changed the port to 2828. I'm not sure if this was necessary or not.

These two steps allowed me to get this to work.

I was able to resolve this by taking two steps:

Changed the ListenAddress to 0.0.0.0 . I think that was the necessary step here.
Changed the port to 2828. I'm not sure if this was necessary or not.

These two steps allowed me to get this to work.

It is helpful!
Changing the port.

authors: ChisholmKyle feinstein fquinner freemansw1 jackwener jthelin risinek xlicz

repo: JetBrains/clion-wsl


text:
Running Web Compose samples errors

I first followed this readme and using Intellij Ultimate latest with JDK 15 and getting issue below.
I was following https://github.com/JetBrains/compose-jb/blob/v1.0.0-alpha4-build398/tutorials/Web/Getting_Started/README.md
I also checked out web-with-react and I got the same error for build /tag git checkout tags/v1.0.0-alpha4-build362 -b v1.0.0-alpha4-build362
I noticed that README.md was not in sync with v1.0.0-alpha4-build398 In both cases, I am getting the same Error see below.
I take it there is a step missing, please advise
9:33:53 PM: Executing task 'jsBrowserRun'...

> Configure project :
Kotlin Multiplatform Projects are an Alpha feature. See: https://kotlinlang.org/docs/reference/evolution/components-stability.html. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.

> Task :kotlinNpmCachesSetup
> Task :jsPackageJson
> Task :kotlinNodeJsSetup SKIPPED
> Task :rootPackageJson
> Task :kotlinNpmInstall
> Task :jsGenerateExternalsIntegrated SKIPPED
> Task :compileKotlinJs
> Task :jsProcessResources UP-TO-DATE
> Task :jsMainClasses
> Task :compileDevelopmentExecutableKotlinJs
> Task :jsDevelopmentExecutableCompileSync

> Task :jsBrowserDevelopmentRun FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.1/userguide/command_line_interface.html#sec:command_line_warnings
9 actionable tasks: 8 executed, 1 up-to-date
[webpack-cli] Unable to load '@webpack-cli/serve' command
[webpack-cli] TypeError: options.forEach is not a function
[webpack-cli] TypeError: options.forEach is not a function
    at WebpackCLI.makeCommand (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:173:21)
    at ServeCommand.apply (/Users/user/projects/JetPackComposePOC/build/js/node_modules/@webpack-cli/serve/lib/index.js:41:19)
    at loadCommandByName (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:907:35)
    at async Command.<anonymous> (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:1462:17)
    at async Promise.all (index 0)
    at async WebpackCLI.run (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:1500:9)
    at async runCLI (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/bootstrap.js:11:9)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jsBrowserDevelopmentRun'.
> [webpack-cli] Unable to load '@webpack-cli/serve' command
  [webpack-cli] TypeError: options.forEach is not a function
  [webpack-cli] TypeError: options.forEach is not a function
      at WebpackCLI.makeCommand (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:173:21)
      at ServeCommand.apply (/Users/user/projects/JetPackComposePOC/build/js/node_modules/@webpack-cli/serve/lib/index.js:41:19)
      at loadCommandByName (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:907:35)
      at async Command.<anonymous> (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:1462:17)
      at async Promise.all (index 0)
      at async WebpackCLI.run (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/webpack-cli.js:1500:9)
      at async runCLI (/Users/user/projects/JetPackComposePOC/build/js/node_modules/webpack-cli/lib/bootstrap.js:11:9)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
9:34:01 PM: Task execution finished 'jsBrowserRun'.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

source: gharchive/issue

authors: meshpaul okushnikov

repo: JetBrains/compose-multiplatform

license_type: permissive

license_source: github-api


text:
Plugin Connection Loss

When using this plugin in actual version, with pycharm actual version with stream deck software also actual version for debugging code, after multiple clicks (approx > 20-30), connection to pycharm is lost. Keystrokes are not send or recognized any more.
Thank you very much.

Thanks for the report; I'll investigate after the trip.

Is it on Windows or macOS? Please attach the logs via the menu Help > Collect logs and Diagnostic Data if possible.

authors: beansoft bytelinker

repo: JetBrains/intellij-streamdeck-plugin


text:
y axis wrong in stacked barplot

ggplot(rscu_df) + ggsize(700,300)+ \
    geom_bar(aes(fill='Fill',x='AA',y='RSCU'),
             stat="identity",
             show_legend=False,
             tooltips=layer_tooltips().line('@|@Codon').line('RSCU|@RSCU'))+\
    theme_classic()+xlab('')

Most likely you need to convert your "RSCU" values to numbers.

Yes, you are right, thanks for your help.
I love lets-plot, its more easier than seanborn. Thanks for you guys effort.

repo: JetBrains/lets-plot

license: MIT


text:
Fix KMP-Platforms and attribute information in infoPanel, minor fixes

Fix KMP-Platforms and attribute information for InfoPanel
Fix warning log readability in KMP-modifier module
Simplify the KMP-Attributes computation for KMP packages (remote or declared)
Clarify ui events by using more accurate names and tabs in InfoPanel, by changing tab name from Platforms  to KMP-Platforms Refactor code for readability in PackageSearchInfoPanel

In general I would say this is solid, but I can see how other repository/build system/dependency implementation of our extensions points might want to add an additional panel. Eventually we will have to support that through a new extension points.
For now, this is sufficient.

source: gharchive/pull-request


text:
Add University of Yangon(UY)

University Website link: click

@MinMyatPaing Pull request merged. Thank you!

authors: MinMyatPaing philipto

repo: JetBrains/swot


text:
Adding West Ukrainian National University

Adding West Ukrainian National University

@Lyubomyr89 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host wunu.edu.uk not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


text:
Added Institute of Technical Education (Singapore)

Institution/School Name
{Institute of Technical Education}
Instiution/School Website
{https://www.ite.edu.sg}
Email Users
Please place an x between the square brackets if yes
[x] Students
[x] Academic/Teaching Staff
Other/Support Staff
Alumni
Education Levels
Please place an x between the square brackets if yes
Post-graduate research
Graduate School
College (University) or Undergraduate School or equivalent
[x] Community College or equivalent
High School or equivalent
Elementary School or equivalent

@chaiyeow Pull request merged. Thank you!

authors: chaiyeow philipto


text:
Add Assumption college

Add assumption college to the list of edu mails.

ius.txt
international university of sarajevo
Uluslararası Saraybosna üniversitesi

@MaazDev I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host assumptioncollege.assumptioncollege.edu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

authors: MaazDev checkbefirt philipto


text:
Telkom Institute of Technology Surabaya

menambahkan Institute Teknologi telkom surabaya

official domain is : https://ittelkom-sby.ac.id/


text:
Universidad Tecnologica de El Salvador

##Name
Universidad Tecnológica de El Salvador
##WEB
https://www.utec.edu.sv/
https://www.utec.edu.sv/carreras/ingenieria_en_sistemas_y_computacion
##Email
@mail.utec.edu.sv
##For Students

@Edro08 I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


text:
Added afpa.fr

Added "AFPA, Association Nationale pour la Formation Professionnelle des Adultes" : Public, first training organization in France.

@Oliv- I am sorry for a delay with processing your request. This repository contains records of universities and colleges offering some long-term IT-related courses (> 1 year). Could you please give us a reference to such courses on your website?

@Oliv- You may not receive the previous message from us. This repository contains records of universities and colleges offering some long-term IT-related courses (> 1 year). Could you please give us a reference to such courses on AFPA website?

@philipto : Ok. Afpa does not provide more than 1 year training.

@Oliv- Thank you for the clarification! I feel I need some more information about the training organization to decide whether it can fit this repository requirements, or is it better to use Classroom license. Two questions:

who has an email from @afpa.fr domain? Are they just AFPA teachers and students who attend the classes in person, or they also can be online students (who never appear physically in the university)? Can AFPA alumni use their email addresses in the domain after the graduation?
How many people take the course in software development or other IT-related courses? If there are few of them (like 20-30 people annually), it make more sense to give Classroom license to the course(s) teacher and the teacher distributes the license among the students.

Thank you!

@Oliv- This request remains unanswered for a while. According to our comments above, I close it without merging. Could you please request a Classroom licenses by email to classroom@jetbrains.com? It is also free and looks more appropriate in case of your institution. Thank you for your understanding!

authors: Oliv- philipto


text:
Create didcotgirls.txt

Added didcotgirls.oxon.sch.uk, https://www.didcotgirls.oxon.sch.uk/
I teach at St Birinus, but we share students in years 12 and 13 (US Juniors & Seniors), so I have some students with @Didcotgirls.oxon.sch.uk email addresses.

@RoushAH First stage of verification passed, official domain is didcotgirls.oxon.sch.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@RoushAH Thank you for your patience while waiting for a review and processing your request. Pull request merged.

authors: RoushAH philipto


text:
Add NIT, Tokuyama College

Please add the domain of National Institute of Technology, Tokuyama College.
This college is affiliated with the National Institute of Technology.

@kazukiti28 Pull request merged. Thank you!


text:
pgc

Punjab Group of Colleges Repository for Jetbrains

@M-Zohair-Hamid I am sorry, the domain pgc.edu.pk is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).

Ok

authors: M-Zohair-Hamid philipto


text:
Create maricopa

Institution/School Name
Maricopa University
Instiution/School Website
https://maricopa.edu/
Email Users
username@maricopa.edu
Please place an x between the square brackets if yes
[X]Students
[X]Academic/Teaching Staff
[X]Other/Support Staff
[X]Alumni
[X]Education Levels
Please place an x between the square brackets if yes
[X]Post-graduate research
[X]Graduate School
[X] College (University) or Undergraduate School or equivalent
[X]Community College or equivalent
[X]High School or equivalent
[X]Elementary School or equivalent
refererence:
https://asa.maricopa.edu/departments/center-for-curriculum-transfer-articulation/programs-degrees/programs-details/5162

@johnearl92 Regrettably, this domain cannot be added. Please see #2393 for more details. Thank you for your understanding.


text:
added fbest to .org.br folders

Added the Centro Universitário Senai Cimatec to the files, wich is an university center in Salvador, Bahia

@dfvneto According to http://www.senaicimatec.com.br/contato/, SENAI CIMATEC has another official email domain, and email addresses there end with @SENAICIMATEC.COM.BR. Could you please provide us with an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students?

@philipto The domain @FBEST.ORG.BR is the domain used by interns that are also students in SENAI CIMATEC. The studens of SENAI CIMATEC dont have a official domain. The @SENAICIMATEC.COM.BR is the domain used only by employee here. I can send my internship contract alongside my college receipt if thats enough.

@dfvneto If we understand being an intern (i.e., having an internship) as it's explained in Wikipedia, https://en.wikipedia.org/wiki/Internship, students can apply for free educational subscription for JetBrains tools using their university email, not an email in an organization where they have temporary internship.
Could you please give us a link to a page or a document, which confirms that FBEST.ORG.BR is used by the students, and if yes, which organization these students belong to? What is the name and the official website of this organization?
If you decide to attach any document to your comment, please do not send it by email as attachment, GitHub strips such attachments away. Instead, attach it to your comment via GitHub web interface.
If your school does not provide you with an email, feel free to apply at https://www.jetbrains.com/shop/eform/students with your school ID at the tab "OFFICIAL DOCUMENT".
Thank you!

@philipto Sorry, but I wasnt authorized to provide such document.
Thanks for your attention :D

authors: dfvneto philipto


text:
Adding the Maine School of Science and Mathematics

A public boarding high school in northern Maine, offering advanced computer science classes including: object-oriented programming, data structures and algorithms, game development with Unity and C#, machine learning in Python, and more

@hamling Pull request merged. Thank you!

authors: hamling philipto


text:
[Suggestion] Option to automatically disconnect you from voice channel when closing the program

Is it possible for you to add such functionality? Everyone I know hates having to disconnect manually before closing their PCs, since none of us wants to connect to a voice channel right when our PCs start up.

I will look into this

4½ months later this has been implemented :P https://github.com/Jiiks/BetterDiscordApp/commit/a478c362fa47e66cd34418a65edc5d780c8c18e6 Thanks to @pohky

authors: Jiiks Riboe

repo: Jiiks/BetterDiscordApp

license: mit

license_source: bigquery


text:
NPC disappears

Describe the bug
My NPCs spawn but if I remove the default skin and another MineSkin, they will disappear after a while. Then when I move away from them and come back they are back. Please help
NPCLib usage option
NPCLib can be used in multiple ways, please provide the number corresponding to your usage option.
NPCLib JAR name
npclib-plugin-2.5.1-SNAPSHOT.jar
Server version
1.8.8

Hi there, thanks for opening this issue ticket!
To help you any further, please provided me with the following information:

What code are you using the manipulate and spawn the NPC?
After about how long does the NPC disappear?
What usage option did you use? (you didn't fill that in in the template)
There's a reason why I ask all the things in the template, next time you create an issue ticket, please follow them and don't remove questions you thing are unnecessary. 😛

https://hasteb.in/ijetusog.java
My Code
Sometimes the NPC doesn't go away sometimes there is no set time.

So, first you see it and then it disappears? The hologram is still visible, just not the NPC, right?

Recognize both. And yes at the beginning I see him talking to BGHDDevelopment and they said I should create a problem

Both will disappear *
sorry my english is bad. Im from germany

Oh that’s actually a good thing. That’d mean it’s in the auto hiding system somewhere.
I’ll think about this problem for a bit, I’m rather busy tomorrow. I’ll have some time again the day after that.

Hm okay. Thanks man.

Note to self: The issue might exist because when the player gets in proximity of the NPC, its autospawn. NPC#spawn checks whether the player can actually see it using the dotproduct of the look direction. This might result in the system thinking it shouldn’t be testing for anymore.
Then the UUID of the player is in the shown set, but not in the autohide set anymore.
I think I have found the problem, but I’ll debug more in the day after tomorrow. 👍

Can you fix the problem today?

It would be important for me but you also have a life so please take your time as soon as possible

No, NPCLib is a free resource and I will treat it as such. I’ll only work on it in my spare time. If you would like this issue to be solved sooner. You could always try to help me find the issue yourself and create a PR! :)

What's the view-distance in your server.properties?

10

What does that have to do with it?

Ahh it works with view-distance: 16!

Yeah, there's a slight issue with the auto-hiding system. I can't seem to figure it out now. I'll continue on it tomorrow.
Turns out I have added some partial check in the player listener, but have not yet implemented these in the NPC class. Resulting in this strange behavior.

Okay.

The problem is there!

The problem is back! **

The issue should be fixed in v2.5.2-SNAPSHOT. You can download it here: https://github.com/JitseB/NPCLib/releases/tag/2.5.2-SNAPSHOT
I ended up reworking the entire auto-hiding system, I found some issues that gave false-positives; should be solved now.
If your issue does come up again, feel free to comment here. Then I'll reopen the ticket.
Have a good day!

repo: JitseB/NPCLib


text:
problem getting the right coverage for header files

This might not be a real issue but more like a call for help:
I have managed to get a minimal example working but I cannot find the problem in my a-bit-more-complex setup as described here
Also I had to use the env var exports to get the uploading working
- export COVERALLS_SERVICE_NAME=travis-ci
- export COVERALLS_REPO_TOKEN=abc12345

and it even didn't work a few times!

Hello,
Regarding the upload, yes that is how you need to do it if you upload locally. I have only ever bothered with it being uploaded via Travis-CI where it is automatic.
I cloned and tried to compile your repository, but I could not (OSX). So I cannot look at the output myself.
I have never tried coverage for CPP header code like this, but I guess it should not matter.
One idea is to look in the *.gcov files that you will find in the build dir... Are those similarly screwed up?
But you are not following the example. Is it even possible to force a debug build like you're doing in CMakeLists.txt like that?
set(CMAKE_BUILD_TYPE Debug CACHE STRING "" FORCE)

And if you do not build in debug mode, coverage info will not be reliable...

Yea it is possible to set the build type like that - even the compiler can be overridden.
Anyway asking this was a long shot - just in case you had any idea... I will try again going from a simple working example towards my real use case. Thanks.

OMFG!!!!!! I found the problem!
had to use include_directories("${CMAKE_SOURCE_DIR}/doctest/") instead of include_directories("../../doctest/")
nice usage of 10+ hours...

ah yes, never used relative paths in CMake :|
Well hopefully 10 hours with at least some new knowledge, and probably som insight in other things that will help you in other ways down the road ;) Good you solved it

authors: JoakimSoderberg onqtam

repo: JoakimSoderberg/coveralls-cmake


text:
Expose Version Number

To make it easier to catch problems caused by people running older
versions.
Using the CFBundleVersion number to indicate 1.2 beta 5, based on the answers here http://stackoverflow.com/q/19726988/35794 and Apple's documentation here https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364

r03111068981@gmail.com

Thanks, I'll be merging this soon!

+1

+1

@JohnCoates - Please merge this!

That feature was added as part of
https://github.com/JohnCoates/Aerial/pull/501

authors: JohnCoates Saphiria alistairmcmillan dokun1 glouel rahmandon rayshan

repo: JohnCoates/Aerial


text:
Octo ignores any contiguous text not containing whitespace that appears immediately after a number

v0 := 10.3
v9 := 0b00bs
v8 += 0xEN
v7 += 0=1=2=3=4

It doesn't really break anything, but it does seem a tad undefined.
See the running example:
https://gist.github.com/anonymous/4bff9d3f107c10eec80f
http://johnearnest.github.io/Octo/index.html?gist=4bff9d3f107c10eec80f

@JohnEarnest, what are your thoughts here? This issue occurs due to how the parseInt() function handles malformed numbers. It seems easily fixable with a well-placed regular expression.
Mind if I work on this issue?

Looks like an easy fix. Honestly I can't see why I didn't just correct this when it was reported; it shouldn't break any reasonable programs. I say go for it.

authors: JohnEarnest james0x0A mattmikolay

repo: JohnEarnest/Octo


text:
added param getters/setters to all Layer classes for consistency

I think this functionality for saving and loading models should actually work now, in a consistent manner, for all the Layer classes.  I made these additional changes after having trouble saving a model with an Embedding layer.  Sorry about issuing the premature PRs #4 and #5.  I'm still figuring out theano.

Of course. That's great.
Also, you know that you can turn off re-optimizing Theano's graph ? If you pickle a model you made with Theano functions, then use :
    theano.config.reoptimize_unpickled_function = False
    theano.gof.compilelock.set_lock_status(False)

And unpickle your saved model, then it'll take much much less long to compile the functions.

Nice!  Thanks for the tip.

authors: JonathanRaiman mheilman


text:
Scene colliders

Rapier have AsyncSceneCollider to automatically generate collision after scene spawn.
I would suggest to add a similar feature for convenience, but with the ability to specify collider layers.

Yeah I think this should be relatively straightforward to add. I think Rapier just waits until the mesh/scene is ready and then adds the collider.
However, I was wondering if it would be possible to generate colliders from meshes in advance once Assets V2 is ready. For convex decomposition, the VHACD algorithm that Parry uses is pretty expensive and can even take several minutes for large colliders, so ideally we would have a preprocessing step where colliders are generated at compile-time with configuration for things like detail.
I haven't taken a proper look at Assets V2 yet though so I don't know if this would even be possible or if it would require a cumbersome API, but it's worth considering. For now though we can just add normal async colliders, I'll add it on my todo list

Rapier have AsyncSceneCollider to automatically generate collision after scene spawn. I would suggest to add a similar feature for convenience, but with the ability to specify collider layers.

Have you implemented any workarounds for the time being? Im using rapier's AsyncSceneCollider atm and we would love to try out xpbd.

Rapier have AsyncSceneCollider to automatically generate collision after scene spawn. I would suggest to add a similar feature for convenience, but with the ability to specify collider layers.

Have you implemented any workarounds for the time being? Im using rapier's AsyncSceneCollider atm and we would love to try out xpbd.

Not yet, but something lïke AsyncSceneCollider should be straightforward to add into your app even without forking the crate. You can basically copy Rapier's implementation by just adding an AsyncSceneCollider component and a system that initializes the actual colliders.
You can find AsyncSceneCollider here and the system here. Instead of Collider::from_bevy_mesh, you can use Collider::trimesh_from_bevy_mesh or Collider::convex_decomposition_from_bevy_mesh.
For normal AsyncColliders, you can find similar implementations.

Hey 👋🏼 firstly: Thank you for creating Avian ❤
Should this be reopened? I wasn't able to find anything related to scenes in the documentation 🤔
(I was so excited to have a simple solution, but it wasn't meant to be 🥲)

authors: Jondolf Shatur donkey-donkey sphinxc0re


text:
Getting error when running project

Note: for support questions, please use one of these channels: Chat: Gitter

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

What is the current behavior?

I am windows 7 SP1 64bit.
using npm@3.3.12
using node@v5.5.0
I ran npm install
then npm run. project seems to run but then says
      [] -> factory:56ms building:3024ms = 3080ms
 [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 506 bytes {0} [built]
        [] -> factory:88ms building:70ms = 158ms
 [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 548 bytes {0} [built]
        [] -> factory:89ms building:95ms = 184ms

webpack: bundle is now VALID.
[default] C:\test\angular2-webpack-advance-starter\src\app\frameworks\analytics\services\analytics.service.ts:6:24
Module '"C:/test/angular2-webpack-advance-starter/node_modules/angulartics2/index"' has no exported member 'Angulartics2Goo
gleAnalytics'.
[default] Checking finished with 1 errors, saying cannot find this module and that.
When I try to view app in browser using localhost:3000, app hangs on loading screen with HEAPS of errors in console.
I think some kind of error is preventing webpack from building all the stuff it needs.
do you have an idea about what might be causing this behaviour?
Cheers

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 2.0.0-beta.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Sorry I found that a manual install of analytics2 was required for some reason. I have fixed it. prob my fault for using a dam windows machine, I should be using a mac.
cheers
Nigel

Cool. I don't have a windows machine to test atm, please let me know if you find any problems running it on windows, I will try to help you out.

authors: JonnyBGod nigel-dewar


text:
specification: pubsub

Insert page says:

The repo insertion process makes use of the PubSub module:

However, there isn't a page that describes the exact procedure and encoding of the PubSub module.

There's a page describing PubSub procedures: https://github.com/JonnyKong/ndn-python-repo/blob/5eff16355daee5fba0ba54a9c73ea011cfb90235/docs/src/misc_pkgs/pub_sub.rst
But you're right that its encoding is still missing.

There's a page describing PubSub procedures

Nice, but it needs to be linked from Insert page.

NONCE-TYPE may cause confusion with the Nonce field in Interest packet.
How about NotifyNonce?
https://github.com/yoursunny/NDNts/blob/a1f1851ff3e97d882303fe4340452bb9410d6b56/packages/repo-external/src/prps/packet.ts#L8

NONCE-TYPE may cause confusion with the Nonce field in Interest packet.
How about NotifyNonce?

Fixed with https://github.com/JonnyKong/ndn-python-repo/commit/e67c3e7a55317789a7bfb8f8f07e020083c559bb.

authors: JonnyKong yoursunny

repo: JonnyKong/ndn-python-repo


text:
Replace IPs with known account names

Using list from myninja

Solved in #60e81a8

repo: Joohansson/nanoticker


text:
Fatalist not showing options.

Datalist shows no completion hints on iOS.

Ok, lo reviso

authors: JorgeAntrax javatlacati

repo: JorgeAntrax/kimera


text:
TypeError: sequence item 3: expected str instance, list found

Description
When starting a new task:
=== Console output:
Executing task 1: Develop a task list.
Exception in thread Thread-2 (run_task):
Traceback (most recent call last):
File "/home/brice/miniconda3/envs/agent/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/brice/miniconda3/envs/agent/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/brice/Agent-LLM/AgentLLM.py", line 369, in run_task
result = self.run(task=task["task_name"], prompt="execute")
File "/home/brice/Agent-LLM/AgentLLM.py", line 154, in run
formatted_prompt, unformatted_prompt = self.format_prompt(
File "/home/brice/Agent-LLM/AgentLLM.py", line 133, in format_prompt
formatted_prompt = self.custom_format(
File "/home/brice/Agent-LLM/AgentLLM.py", line 106, in custom_format
return re.sub(pattern, replace, string)
File "/home/brice/miniconda3/envs/agent/lib/python3.10/re.py", line 209, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: sequence item 3: expected str instance, list found
INFO:     127.0.0.1:59044 - "GET /api/agent/Vicuna/task/status HTTP/1.1" 200 OK
Steps to Reproduce the Bug
Ubuntu 22.04
Conda environment with python 3.10
No docker
Launch backend with python app.py
& frontend with yarn run dev
Create a new Agent, Oobabooga, and launch a task
Expected Behavior
No error
Actual Behavior
Exception on console:
Executing task 1: Develop a task list.
Exception in thread Thread-2 (run_task):
Traceback (most recent call last):
File "/home/brice/miniconda3/envs/agent/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/brice/miniconda3/envs/agent/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/brice/Agent-LLM/AgentLLM.py", line 369, in run_task
result = self.run(task=task["task_name"], prompt="execute")
File "/home/brice/Agent-LLM/AgentLLM.py", line 154, in run
formatted_prompt, unformatted_prompt = self.format_prompt(
File "/home/brice/Agent-LLM/AgentLLM.py", line 133, in format_prompt
formatted_prompt = self.custom_format(
File "/home/brice/Agent-LLM/AgentLLM.py", line 106, in custom_format
return re.sub(pattern, replace, string)
File "/home/brice/miniconda3/envs/agent/lib/python3.10/re.py", line 209, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: sequence item 3: expected str instance, list found
INFO:     127.0.0.1:59044 - "GET /api/agent/Vicuna/task/status HTTP/1.1" 200 OK
Additional Context / Screenshots
No response
Operating System

[ ] Microsoft Windows
[ ] Apple MacOS
[X] Linux
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[X] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[X] Local
[ ] Remote

Environment Type - Container

[ ] Using Docker
[X] Not Using Docker

Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of Agent-LLM.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Please pull latest and try again.

repo: Josh-XT/Agent-LLM


text:
崩溃了～试玩了apk5分钟崩溃了5次，应该都是在这个地方。

其实这两种方式都是可以的，就看服务器对客户端的要求，你可以先安装试试看还会出现崩溃不～

其实我是想来学习一下注册登录的流程,你的项目里面这一块实用性高吗；

Thank your issue，ShareElement Animation在部分三星机型和Android 5.0/5.1上会出现崩溃的情况，现在已在代码中进行了过滤，最新的apk 二维码可供下载~

流程方面基本是没问题的，但是商用的话必须得结合你们项目的实际情况，对账号、密码的限制等等方面一般是由自己公司产品来决策的

好的额，我有时间看下你的这块代码；你们商用接口对token有需求的时候是同时要带上userid吗？我理解是这样的，但是有的朋友说不需要userid，只通过token找用户。。。不懂这块，还请给点经验。然后，我今天试玩的机器是7.0荣耀8的，应该好像没有点击share分享这个功能，好像是都在主Tab下滑动的时候蹦的。

其实这两种方式都是可以的，就看服务器对客户端的要求，你可以先安装试试看还会出现崩溃不～

authors: JsonChao yungelee

repo: JsonChao/Awesome-WanAndroid


text:
Subdivision of permutation patterns for multivariate permutation probabilities/entropy

Describe the feature you'd like to have
Probabilities for multivariate permutation entropy is now computed by doing probabilities(SymbolicPermutation(), x::AbstractDataset{D}). This works by simply finding the permutation patterns for each xᵢ ∈ x and computing the probability of each unique symbol as its relative frequency of occurrence.
In He et al. (2016), they don't simply find permutation patterns of the raw data. They also subdivide the range of the data (after min-max-normalising each variable) into three domains, so that each original permutation pattern turns into multiple possible permutation patterns. See attached screenshot:

Cite scientific papers related to the feature/algorithm

He, S., Sun, K., & Wang, H. (2016). Multivariate permutation entropy and its application for complexity analysis of chaotic systems. Physica A: Statistical Mechanics and its Applications, 461, 812-823.

If possible, sketch out an implementation strategy
He et al. (2016)'s procedure is very similar to what Dispersion does. It

transforms the input data to some specified range,
subdivides that range into discrete bins,
encodes the input data according to which bin it falls into.

I'm thinking that there should be a unified way of doing this. For example, if demanding that input data are always normalized to [0, 1] (as it already is for Dispersion), then the user could specify "equidistant binning" or "quantile-based binning" or "whatever-based binning" of the normalized range to obtain any type of subdivision for the permutation patterns. The obvious way to do so, would to use Encoding here too.

Seems to me like this should be a different estimator. Also, what where does "Top" and "Bottom" come from? How does this scale in 4-order permutation? In any case this exact case presented here seems low priority because it is of limited usage with experimental / noise-contaminated data.

Seems to me like this should be a different estimator.

Maybe. I'm not sure yet.

In any case this exact case presented here seems low priority because it is of limited usage with experimental / noise-contaminated data.

See my answer directly below. The reason for having this extension is precisely to work with noisy data, as I understand it.

Also, what where does "Top" and "Bottom" come from?

From my very quick read of the paper, it seems completely arbitrary. It is just a way to generate more discrete categories from an initial set of factorial(m) permutation patterns. You can see why this is useful in the devdocs spatial example, where I compare the SpatialDispersion to SpatialSymbolicPermutation on an progressively more noisy image. The SpatialDispersion estimator is much more sensitive to the noise (i.e. has a larger range), presumably because it has more categories. I assume He et al. try to achieve something similar, although it is not entirely clear from the paper (which, admittedly, I haven't dedicated too much time to understand in detail).

How does this scale in 4-order permutation?

The number of possible states increases exponentially with D for AbstractDataset{D}, just like the number of states increases exponentially with c for SpatialDispersion.

In any case this exact case presented here seems low priority

Yes, I won't prioritize this now, but this feature would be nice to have, since we aim (although not stated explicitly anywhere) to have a library of most/all complexity quantifiers from the literature.

authors: Datseris kahaaga


text:
Adding support for EPSG:5070 and Albers projections generally

See #183. In short, adding support for EPSG: 5070 and added Albers projection into src/crs/projected/

Codecov Report
Attention: Patch coverage is 5.66038% with 50 lines in your changes missing coverage. Please review.

Project coverage is 86.02%. Comparing base (49861c8) to head (4a022d8).

Files with missing lines
Patch %
Lines

src/crs/projected/eqareaalbers.jl
5.66%
50 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (49861c8) and HEAD (4a022d8). Click for more details.
HEAD has 5 uploads less than BASE

Flag
BASE (49861c8)
HEAD (4a022d8)

6
1

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #184       +/-   ##
===========================================
- Coverage   97.29%   86.02%   -11.28%
===========================================
  Files          31       31
  Lines        1220     1252       +32
===========================================
- Hits         1187     1077      -110
- Misses         33      175      +142

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

I'm going through the process of building the tests (my bad on not realizing the tests extended beyond get.jl) and I've noticed some issues with the code. I need to ensure that the degrees wrap (e.g. \lambda > \pi ? \lambda - 2\pi : \lambda and vice versa). What is the codebases way of performing this? Is there an existing helper function that can just be nested within fx() and fy()? Or should fx() and fy() be expanded to do the conditionals?
Additionally, while any lat lon can work with Albers, it's best practice to keep it between the standard parallels. Would it be fine to use lat_1 and lat_2 for the inbounds check?


text:
minimize impact of invalidations due to uninferred ctx

I originally tried to fix this in SHA.jl, but it is more probably more appropriate to fix it here. The problem is summarized here: https://github.com/JuliaCrypto/SHA.jl/pull/88#issuecomment-1516151954

Gentle bump :)


text:
Can not use SDL2_gfx primitives for renderering

Minimum working example:
julia> using SimpleDirectMediaLayer

julia> using SimpleDirectMediaLayer.LibSDL2

julia> window = SDL_CreateWindow("test", 0, 0, 500, 500, SDL_WINDOW_SHOWN)
Ptr{SDL_Window} @0x00000000012c1230

julia> renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC)
Ptr{SDL_Renderer} @0x0000000001637bf0

julia> SimpleDirectMediaLayer.LibSDL2.rectangleRGBA(renderer, 10, 10, 50, 50, 255, 255, 255, 255)
ERROR: could not load symbol "rectangleRGBA":
/home/[redacted]/.julia/artifacts/8f20658b625a577cdc6b81980bbae941cb291139/lib/libSDL2.so: undefined symbol: rectangleRGBA
Stacktrace:
 [1] rectangleRGBA(renderer::Ptr{SDL_Renderer}, x1::Int64, y1::Int64, x2::Int64, y2::Int64, r::Int64, g::Int64, b::Int64, a::Int64)
   @ SimpleDirectMediaLayer.LibSDL2 ~/.julia/packages/SimpleDirectMediaLayer/wjMsP/src/LibSDL2.jl:6142
 [2] top-level scope
   @ REPL[5]:1

Not only does this not work, it also looks like the SDL2_gfx primitives are not exported. Strangely the SDL2_framerate objects (SDL_initFramerate, SDL_getFramerate, SDL_setFramerate, etc...) which are part of SDL2_gfx do exist!

I have the same problem. The generator does not appear to be including all of the functions in sdl_gfxPrimitives correctly. Trying to use any of the sdl_gfxPrimitive functions results in the error:
ERROR: could not load symbol "some gfxPrimitive function name"
Has anyone come up with a fix for this yet?

Actually it appears that that isn't the problem. I believe that the problem lies in the initial bindings generated for SDL_gfx. This package SDL2_gfx_jll claims to have generated the bindings but clearly they are not working for the gfx_primitives functions. They may have to be regenerated and confirmed to work. The good news is that the original PR for adding the bindings into this repo should still work. But the SDL2_gfx_jll package will have to be updated on the registry to make the bindings work.

Same here for thickLineRGBA()

I noticed this in the generator.toml:
export_symbol_prefixes = ["TTF_", "IMG_", "Mix_", "SDL_", "MIX_", "RW_", "AUDIO_", "KMOD_", "HAVE_", ]
I don't remotely understand how Clang.jl works, but none of the SDL2_gfx functions have prefixes.  I wonder if that is the issue?

Has anyone found a workaround?

I found a workaround. It's not pretty, but it's better than nothing at the moment. If I get time, I would like to learn more as to actually fix it.
First of all, I grabbed the sdl_gfx.dll file from https://github.com/Vladar4/sdl2_nim/blob/master/LINKS.md
Then I dropped it in my artifacts folder with my SDL2.dll file. If you can't find it through searching, you could just update one of the functions in LibSDL2.jl like this to print it out.
This file was at: C:\Users\kyjor\.julia\packages\SimpleDirectMediaLayer\wjMsP\src\LibSDL2.jl for me
function SDL_CreateRenderer(window, index, flags)
    println(libsdl2)
    ccall((:SDL_CreateRenderer, libsdl2), Ptr{SDL_Renderer}, (Ptr{SDL_Window}, Cint, Uint32), window, index, flags)
end

this returned C:\Users\kyjor\.julia\artifacts\a3822540351cc2f773be931a83adc5c844eee6f2\bin for me.
So once you dropped in your dll, go to all of the sdl_gfx functions, and change them to look like this:
function SDL_initFramerate(manager)
    ccall((:SDL_initFramerate, replace(libsdl2, "SDL2" => "SDL2_gfx")), Cvoid, (Ptr{FPSmanager},), manager)
end

instead of just libsdl2 as a parameter, change it to replace(libsdl2, "SDL2" => "SDL2_gfx")). This will use the SDL_gfx.dll instead of the SDL2.dll for these calls. I've only tested this with the framerate functions so far, and they worked for me. I hope this helps anyone. Like I said, it's a hack, and hopefully I can try and contribute a real fix.

@Kyjor Wow, nice work! I swear I tried basically that exact hack a few weeks ago. I'll attempt your hack when I get some free time. Thanks for finding a fix. Something is better than nothing. :)

No problem! Like I said, I've only tried it with the framerate functions so far, so your results may vary. I'll probably be trying to work with the actual drawing functions real soon. So if there's any gotchas, I'll let you know

Alright, so a quick update. I followed through (more carefully this time!) with your steps, and I can corroborate your results with my own. The frame-rate functions work as intended, however, when trying some of the graphics functions (I tried pixelRGBA, hlineRGBA, and circleRGBA), they are not working. On the bright side however, I am no longer getting the original error I was getting months ago which read along the lines of: could not load symbol "some gfxPrimitive function name".
So as far as I can tell, the package now has access to the SDL2_gfx functions, but for some reason the graphics primitives are not drawing. Unfortunately, this issue is still way above my current skillset, so if anyone has some further insight into how to get the drawing functions to work, that would be much appreciated.

@Noremac11800 can you send me a MWE of your code? I can try and mess with it.

@Noremac11800  Here's an example: 😄 https://gist.github.com/Kyjor/c6d9b82245f83311f10a5e4e8a41ca59
This is what it looks like for me:

Hi @Kyjor, sorry for the late reply I've been a bit busy. A MWE of my code is essentially identical to yours. I used the basic.jl example also.
I just tested out your code (making sure to add the necessary replace(libsdl2, "SDL2" => "SDL2_gfx") lines to make your graphics functions work) and my code runs without errors, however the actual graphics are not drawn still.
I believe the issue lies in the way the sdl_gfx library is communicating with SDL2. Let me explain. Because I am using MacOS and not Windows, when I followed your original fix I had to retrieve the sdl_gfx library from an alternative location. A .dll will not work so I had to either find or build the correct .dylib library for sdl_gfx. In my haste, my best fix was to install the library via Homebrew with:
brew install sdl2_gfx

I then located the two associated dylibs in my brew Cellar and manually moved them into the .julia/artifacts... directory, containing the LibSDL2.dylib libraries.
For reasons that I do not understand, I don't think I was supposed to do that... When I run your minimal example code I get the following output in my terminal:
Class SDLApplication is implemented in both /Users/cam/.julia/artifacts/8fd700de383504a22db30fc7e4193dc1b1ee471e/lib/libSDL2-2.0.0.dylib (0x1061527e8) and /opt/homebrew/Cellar/sdl2/2.28.5/lib/libSDL2-2.0.0.dylib (0x1544b88e0). One of the two will be used. Which one is undefined.

So I think your fix is working perfectly fine and this issue is close to being resolved. The problem appears to be on my end due to a lack of understanding around dylibs. So I am going to have to toy around with my setup a bit to see if I can get the libraries to look in the right locations for the code.
Out of curiosity, I may go and attempt this on my Arch desktop machine instead of my Mac because I may have more luck there. MacOS usually isn't my first choice when it comes to development.
I appreciate all of your effort though :)

AHA! Another update. I just tried out the same process on my Arch machine and it worked flawlessly!
So for anyone who wants to know the steps I took:

Install SimpleDirectMediaLayer.jl via Julia's pkg manager
Install libSDL2_gfx via:

sudo pacman -S sdl2_gfx

Determine the correct artifacts directory where SDL2 is located in your ~/.julia directory. Mine was located at ~/.julia/artifacts/8f20658b625a577cdc6b81980bbae941cb291139/lib/
Navigate to /usr/lib/ and copy the libSDL2_gfx.so file into the artifacts directory
Navigate to ~/.julia/packages/SimpleDirectMediaLayer/wjMsP/src/ and modify your desired SDL2_gfx functions according to @Kyjor's advice above.
Use @Kyjor's MWE code basic.jl here and replace the function calls with your own.

As far as making a better, more permanent fix, that's a problem for later. But as an immediate hack, this fix works perfectly fine.
Nice work @Kyjor! Thanks for all the help.

#75


text:
stream and then tar heap snapshot

To avoid building the heap snapshot in-memory and therefore possibly OOMing if the process is under memory pressure.

Codecov Report
Attention: Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.

Project coverage is 49.35%. Comparing base (ffd6913) to head (dc58fd9).
Report is 4 commits behind head on main.

:exclamation: Current head dc58fd9 differs from pull request most recent head 7695c22
Please upload reports for the commit 7695c22 to get more accurate results.

Files
Patch %
Lines

src/ProfileEndpoints.jl
0.00%
14 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (ffd6913) and HEAD (dc58fd9). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (ffd6913)
HEAD (dc58fd9)

2
1

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #48       +/-   ##
===========================================
- Coverage   90.00%   49.35%   -40.65%
===========================================
  Files           1        1
  Lines         190      233       +43
===========================================
- Hits          171      115       -56
- Misses         19      118       +99

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

Bump?

(Sorry, I probably closed by accident)

Can the test just confirm that the file path ends in .tar or something like that?

Thanks for the suggestion. Added a test to test the extension.

authors: codecov-commenter d-netto


text:
feature request: local usage

It would be nice to be able to use some features of this package locally, on one's own computer, on demand.
Eg I could imagine something like
julia> import CompatHelper

julia> CompatHelper.show_possible_upgrades("~/code/to/my/repo")
# just list information, eg Foo could be upgraded 0.1.2 => 0.3
# do not modify files

julia> CompatHelper.propose_possible_upgrades("~/code/to/my/repo")
# when there are no uncommitted changes, modify files, otherwise abort

The user could then review and test these.
Looking at the sources, I think a lot of the building blocks for this are actually available.

Not a bad idea.
I won't have time to work on this, but if someone else wants to work on it and make a PR, I'd be happy to review the PR.

https://gitlab.com/aplavin/compathelperlocal.jl deals with this effectively, so I would suggest that it is just mentioned in the README.md.

authors: DilumAluthge tpapp


text:
Reason for Space wrapper?

Hey @findmyway, thanks for getting started on this package.
@jamgochiana and I are trying to improve the continuous action space support in POMDPs.jl and we're hoping to use some version of this package.
I like the idea of defining some traits to communicate about properties of the spaces. But I am wondering what the purpose of the Space wrapper is. Why don't we just allow people to use normal Vectors or Tuples and then define the traits for those objects directly? i.e.
SpaceStyle(::AbstractVector) = DiscreteSpaceStyle{()}()

Hello @zsunberg ,

But I am wondering what the purpose of the Space wrapper is.

It is to support some complicated state/action spaces.
Let's say we have an environment of action space of ((:left, :top), (false, true)). Now we want to sample one random action from it. But what's the result? Is it one of (:left, :top) and (false, true), or is it one of (:left, false), (:left, true), (:top, false), (:top, true)?
To avoid such confusion, the Space wrapper is added to explicitly distinguish between such two cases.
For the former, we use Space(((:left, :top), (false, true))), for the later we use (Space((:left, :top)), Space((false, true))).
Another way to address such confusion is to define dedicated space types, like TupleSpace, VectorSpace or DictSpace. Personally I feel this approach is a bit redundant. However, that's just based on my limited programming experience.

Why don't we just allow people to use normal Vectors or Tuples and then define the traits for those objects directly?

I think we can add the support for some common element types (Number, String, Symbol, etc) like you proposed above. So that for some common spcaes, users don't need create the Space wrapper at all. What do you think?

What if we get rid of Space and say the elements of a space are all objects x for which x in space returns true. This eliminates the ambiguity. union and rand would also work nicely with this.
We could also introduce product (or setproduct or cartesian_product) to accomplish what you were thinking with (Space((:left, :top)), Space((false, true))).
What do you think? I am going to start a PR with this so we can discuss.

What if we get rid of Space and define the elements of a space to be all objects x for which x in space returns true. This eliminates the ambiguity. union and rand would also work nicely with this.

Yes, But then we may need to figure out how to handle continuous spaces.

What do you think? I am going to start a PR with this so we can discuss.

That'd be great!

closed with #9

authors: findmyway zsunberg


text:
make test exceptions optional and disable in CI

Maybe it improves coverage by simplifying branches.
Perhaps exceptions, because they could theoretically be caught, count as control flow and therefore mark the lines as partial.

Was hoping for more than +1.82%.

repo: JuliaSIMD/LoopModels


text:
Add Envelope/Shell/Box classes + Force Point3D to declare type of data

Most of this PR has been discussed in https://github.com/JulienPeloton/spark3D/pull/22.
I have added few minor things:

Force Point3D to declare the type of data, that is spherical (r, theta, phi) or cartesian. It was optional before.
Integrate the development made in https://github.com/JulienPeloton/spark3D/pull/22 into the Onion partitioning. Now it uses Shells instead of Sphere to partition the space.

Codecov Report

Merging #23 into master will increase coverage by 1.11%.
The diff coverage is 99.33%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   97.63%   98.75%   +1.11%
==========================================
  Files          10       12       +2
  Lines         127      401     +274
  Branches       32      133     +101
==========================================
+ Hits          124      396     +272
- Misses          3        5       +2

Impacted Files
Coverage Δ

...ark3d/spatialPartitioning/SpatialPartitioner.scala
50% <ø> (ø)
:arrow_up:

...spark3d/spatialPartitioning/OnionPartitioner.scala
100% <100%> (ø)
:arrow_up:

...in/scala/com/spark3d/geometryObjects/Point3D.scala
100% <100%> (ø)
:arrow_up:

src/main/scala/com/spark3d/utils/Utils.scala
100% <100%> (ø)
:arrow_up:

...park3d/spatialPartitioning/OnionPartitioning.scala
100% <100%> (ø)
:arrow_up:

.../main/scala/com/spark3d/geometry/BoxEnvelope.scala
100% <100%> (ø)

...in/scala/com/spark3d/spatial3DRDD/Point3DRDD.scala
100% <100%> (ø)
:arrow_up:

...ain/scala/com/spark3d/geometryObjects/Sphere.scala
100% <100%> (ø)
:arrow_up:

...in/scala/com/spark3d/spatial3DRDD/Shape3DRDD.scala
90% <100%> (+0.52%)
:arrow_up:

...ain/scala/com/spark3d/geometry/ShellEnvelope.scala
97.14% <97.14%> (ø)

... and 2 more

Continue to review full report at Codecov.

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

authors: JulienPeloton codecov-io


text:
explorer hangs in AYS

but not always

its only when go and click around somewhat in AYS & then try
if I restart portal and use the link

http://localhost:8200/ays81/ays81/Explorer?repo=/JS8/optvar/cockpit_repos/test
it works

Can't reproduce on Ubuntu.

reproduced on ubuntu

authors: abdulrahmantkhalifa despiegk rkhamis

repo: Jumpscale/jscockpit


text:
Fix incorrect button semantic

<button> should be used for interactive elements with on:click events, not <div>.

Resolved as part of PR #16

repo: JunoNgx/junongxdotcom


text:
2.0

VERSION 2.0 🎉
It has been a few days since the first release, and I feel its a time for version 2.0 which is packed with a lot of awesome new features.
I would like to say special thank you to everyone who reported bugs or joined discussion on Home Assistant: Community Forum
New Features

Completely refactored the whole integration. Code is now a lot easier to read, simpler and up to current HASS standards.
Set up via Home Assistant Integrations UI, which also means, setup via configuration.yaml is no longer supported.
Automatically creates a new device in Home Assistant with its information like firmware, brand, model etc
Each device automatically creates 2 entities - HD and SD streams of camera platform
Camera stream is now available
Ability to format SD card of a camera
Better error handling and validation of service calls before they get executed

Minor updates

Integration now has an icon, brand and model

Breaking Changes

Integration is now set up via UI. You will need to remove tapo_control from configuration.yaml and set up integration using Home Assistant -> Configuration -> Integrations. Just search for tapo and add the cameras.
Entities of platform tapo_control are no longer created, camera platform is used instead.
Entity names now include _hd or _sd in the name. This does not affect services.

Just some final touches and this will be good to go! 🥳

repo: JurajNyiri/HomeAssistant-Tapo-Control


text:
update_deps.bat errors

Exception:
Traceback (most recent call last):
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\commands\install.py", line 324, in run
requirement_set.prepare_files(finder)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\req\req_set.py", line 487, in _prepare_file
req_to_install, finder)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\req\req_set.py", line 428, in _check_skip_installed
req_to_install, upgrade_allowed)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\index.py", line 568, in _get_pages
page = self._get_page(location)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\index.py", line 811, in get_page
inst = cls(resp.content, resp.url, resp.headers)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip\index.py", line 731, in init
namespaceHTMLElements=False,
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib\html5parser.py", line 35, in parse
return p.parse(doc, **kwargs)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib\html5parser.py", line 235, in parse
self._parse(stream, False, None, *args, **kwargs)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib\html5parser.py", line 85, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib_tokenizer.py", line 36, in init
self.stream = HTMLInputStream(stream, **kwargs)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib_inputstream.py", line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib_inputstream.py", line 412, in init
HTMLUnicodeInputStream.init(self, self.rawStream)
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib_inputstream.py", line 194, in init
self.reset()
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-pa
ckages\pip_vendor\html5lib_inputstream.py", line 435, in reset
self.dataStream = self.charEncoding[0].codec_info.streamreader(self.rawStrea
m, 'replace')
AttributeError: 'NoneType' object has no attribute 'codec_info'
C:\Users\NPSTUD~1\Desktop\MUSICB~1>
as a result my bot gives me the yt error of signature traceback
ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1081, in _decrypt_signature
video_id, player_url, s
File "C:\Users\NPStudent\AppData\Local\Programs\Python\Python35-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 969, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
youtube_dl.utils.ExtractorError: Cannot identify player 'https://www.youtube.com/yts/jsbin/player-vflppxuSE/en_US/base.js'
(caused by ExtractorError("Cannot identify player 'https://www.youtube.com/yts/jsbin/player-vflppxuSE/en_US/base.js'",))
thanks in advance!

https://github.com/Just-Some-Bots/MusicBot/issues/1072#issuecomment-297976717

repo: Just-Some-Bots/MusicBot


text:
Make theme installable as a gem

The process of installing a theme by cloning the entire repo will get messy. If someone wants to pull in changes from the original theme there will be conflicts, or switch to another theme and there will be a ton of work to do.
You can add a gemspec file to your repo like this
https://github.com/MichaelCurrin/jekyll-theme-quickstart/blob/master/jekyll-theme-quickstart.gemspec
Then someone can install your theme using a few lines of config values and without having to clone the repo and look at all the css and html they'll never need to edit.

For example, you don't even have to publish to RubyGems. The theme can installed from GitHub.
Gemfile
gem "jekyll-theme-quickstart", git: "https://github.com/MichaelCurrin/jekyll-theme-quickstart"

_config
theme: jekyll-theme-quickstart

See this in action, using the remote theme plugin.
https://github.com/MichaelCurrin/jekyll-theme-quickstart/tree/gh-pages

repo: JustGoodThemes/BlogBox-Jekyll-Theme


text:
Не работает на обновленом вк видео!

Здравствуйте! Вк видео обновился и скачивание пропало!!!

@Dionis94 приветствую. У меня, пока что, всё работает. Вероятно постепенно раскатывают обновление.
Быть может дело и вовсе не в обновлении. Есть ссылка на конкретную страницу где не работает расширение? :slightly_smiling_face:
P.S. Приложенная картинка загружена как-то не так.

Здравствуйте. Я проверил и получается, что приложение работает в месенджере, а в вк-видео нет. Вот фото надеюсь в этот раз загрузятся.

@Dionis94 спасибо за информацию, глянул. Имеем сразу 2 проблемы:

Адрес "VK Видео" изменился на vkvideo.ru и скрипт просто не отрабатывает на нём
Ребята из VK снова перелопатили плеер -> изменились JS объекты

Сделать 1-ую правку мне не составит труда, но без 2-ой это бессмысленно. А на 2-ую у меня сейчас нет времени.
Нужно:

Открыть любое видео на vkvideo.ru
Открыть JS консоль
Ввести window
Среди тысяч вложенных объектов найти ссылки на видео

После этого поправить скрипт не составит труда.

@JustKappaMan
Ссылки теперь лежат в supportedWindow.cur.videoInlinePlayer.vars.url720

@SpukiBugi благодарю, упомянул тебя в README :slightly_smiling_face:
@Dionis94 @potap1978 @ORANG4 @youngbeauty протестировал новую версию в Chrome и Firefox (Tampermonkey). У меня всё работает. Можете обновляться.

@JustKappaMan  @SpukiBugi  Man! You  guys are the real hero! Thanks a lot!

authors: Dionis94 JustKappaMan SpukiBugi youngbeauty

repo: JustKappaMan/VK-Video-Downloader


text:
Merge pull request #1 from Justin-Credible/master

Merge from JC

Sorry, this was a mistake.


text:
Get-Secret fails to retrieve some secrets listed by Get-SecretInfo

This should speak for itself:
PS❯  get-secretinfo | ? { $_.name -eq 'LeCab' } | select name,type

Name          Type
----          ----
LeCab PSCredential

PS❯  get-secret -name LeCab
Get-Secret: The secret LeCab was not found.

In the affected vault, Get-SecretInfo lists 85 secrets, this failure occurs for 8 of them:
PS❯  get-secretinfo | ? { $null -eq (get-secret -name $_.Name -ea 0) } | select name, type

Name                                        Type
----                                        ----
Enquête "Reconnaissance au travail" PSCredential
FileLocator Pro [LITE]              PSCredential
International SOS                   PSCredential
LeCab                               PSCredential
OgoneVisaNo3DS                      PSCredential
Pick Go Pay APN key                 PSCredential
Samsung Galaxy A40                  PSCredential
Windows 7 Ultimate                  PSCredential

I'm running PowerShell 7.1.4 on Windows 10.0.19043.1165.amd64fre.vb_release.191206-1406 with Microsoft.PowerShell.SecretManagement version 1.1.0 and SecretManagement.KeePass version 0.9.1.3

@sba923: It looks like a similar issue I run into.
If you do store an item in Keepass with no (or empty) password, SecretManagement.KeePass would internally return a null-value. This finally seems to be treated as "no secret found" by MS.SecretManagement.
IMHO this is OK. Because afiak the SecretManagement module would generally not allow to set "empty" secrects.

@danubie thanks for sharing your thoughts
I actually use KeePass to store all kinds of secrets, some of which have an empty "Username" field and/or an empty "Password" field, for instance for software product keys, phone IMEIs....

That's exactly where I got caught: A folder for API keys having "usernames" but no password

Hi,
I just put the API key in the password and a "1" for the username


text:
Emit change event when isClamped changes

Adds ability to handle the change of the isClamped property outside the component
<v-clamp @change="onClampChange">Some text</v-clamp>

Hi @Justineo,
Any chance for this to be merged in anytime soon?

Thank you! Watching isClamped seems to do the trick.

authors: Justineo smelyakov

repo: Justineo/vue-clamp


text:
Reads and writes give me "inappropriate blocking method call" lint warning in Android Studio

I guess this is because these functions throw IOException so AS thinks these methods are blocking.
What is the preffered way to fix this? Should I suppress this warning?
    @Suppress("BlockingMethodInNonBlockingContext") // This is how I can suppress
    private suspend fun readData() {
        Timber.tag(TAG).i("Reading data from the device")
        val time = device.read(CHARACTERISTIC_TIME) // Here is the warning
        Timber.tag(TAG).i("Time from device ${time.toHex()}")
        val capture = device.read(CHARACTERISTIC_CAPTURE)
        Timber.tag(TAG).i("Capturing state ${capture.toHex()}")
        val config = device.read(CHARACTERISTIC_OXIMETER_CONFIG)
        Timber.tag(TAG).i("Oximeter config ${config.toHex()}")
    }

Until KTIJ-838 is fixed, suppressing seems to be the recommended approach. 🤷

The purpose behind marking functions as throwing IOException was for Exception handling in Objective-C/Swift interop.
It might make sense to move the @Throws(IOException::class) annotations from commonMain to appleMain, which may uphold the Objective-C/Swift interop while also removing the warning on the Android side.

Revisited this issue and made another attempt at removing the @Throws from the common Peripheral (which I'm hoping would remove the erroneous warnings) but ran into some new snags:
I tried to follow the guidance in https://github.com/JetBrains/kotlin-native/issues/2122#issuecomment-475717050 (using an optional annotation) but could not make the compiler happy.

commonMain/../Peripheral.kt
/** @throws NotReadyException if invoked without an established [connection][connect]. */
@com.juul.kable.Throws(CancellationException::class, IOException::class, NotReadyException::class)
public suspend fun write(
    characteristic: Characteristic,
    data: ByteArray,
    writeType: WriteType = WithoutResponse,
): Unit

commandMain/../Throws.kt
package com.juul.kable

import kotlin.reflect.KClass

@OptIn(ExperimentalMultiplatform::class)
@OptionalExpectation
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR)
@Retention(AnnotationRetention.SOURCE)
public expect annotation class Throws(vararg val exceptionClasses: KClass<out Throwable>)

appleMain/../Peripheral.kt

Now that KTIJ-838 is fixed, is this still an issue?

Related to #724.

authors: solvek twyatt

repo: JuulLabs/kable


text:
HTML

HTML
User Story
As a bootcamp student
I want the prework notes to structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git and JavaScript with associated notes listed

Completed


text:
Add Super 67 and 100 command pods

Should close #1625, close #1588
5 packs to add 2 parts from 2 KerbalStuff pages. Common files are extracted from Super100 because it seems to be the 'base' (and was up to date at the time of this writing).
\---RaptorAerospacial
    +---Extras
    |       Fairing.dds * Exists in both archives, provided by RaptorAerospacial-Textures
    |       Heatshield 2.5.cfg * Only needed for Super67, provided by Super67-heatshield
    |       Heatshield.cfg * Only needed for Super100, provided by Super100-heatshield
    |       heatshield.dds * Exists in both archives, provided by RaptorAerospacial-Textures
    |       Heatshield.mu * Exists in both archives, provided by RaptorAerospacial-Textures
    |
    +---Spaces
    |   \---IVA_S100 * Only needed for and provided by Super100
    |           IVA.dds
    |           IVA_S100.cfg
    |           IVA_S100.mu
    |
    +---Super 67 * Provided by Super67
    |       model.mu
    |       Super 67.dds
    |       Super67.cfg
    |
    \---Super100 * Provided by Super100
            model.mu
            Super 100.dds
            Super 100_LUM.dds
            Super100.cfg

This was one possible option to resolve the situation, the other was to have 2 separate folders in GameData but that would becomes a progressively more ugly fix if the author continues to add parts.
Dependency/recommendation structure:
Super67, no deps but recs Super67-heatshield.
Super100 deps RPM-core and recs Super100-heatshield.
Super67-heatshield deps Super67 and RA-textures.
Super100-heatshield deps Super100 and RA-textures.
This whole setup is kind of a house of cards, 1 filename or folder name change and it all falls down. =(

Good job :+1: . Tested manually, merging. Thanks.

repo: KSP-CKAN/NetKAN


text:
Add USAConversion.netkan

Breakup of #1780

Done

One of its dependencies OMSKSpaceProducts is currently listed as only compatible with KSP 1.0.2, might have to add an override for that. Otherwise tested manually, merging.


text:
Update ProtonMBreezeM.netkan

Switched from KerbalStuff to GitHub, so I edited my .netkan appropriately. (I hope^^) Tested with netkan.exe and installfrom .ckan.

Looks good, merging. Thanks.
BTW Since you're editing your own metadata, it's possible for you to host it yourself so you don't have to wait for one of us to get to your PR. Let me know if you're interested in that.

That sounds interestring! Let me know more, please :)

@InsaneDruid A .netkan can reference another remotely stored .netkan. For example: https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/HotSpot.netkan
The .netkan (metanetkan) hosted in this repository simply references a .netkan I have stored in my own repository. Therefore any changes I make in my repository are picked up here.

authors: InsaneDruid dbent


text:
[#7368] Fix for kdex vref

Specify path to "kdex.version" instead of leaving it up to ckan to find it automagically.
Fixes #7368

Output is identical to current file.
https://ci.ksp-ckan.space/job/NetKAN/8626/console
Injecting into metadata.
Injecting: built/KDEX-v1.11.3.ckan
Changes:
Files Current and New are identical

https://github.com/KSP-CKAN/CKAN-meta/blob/master/KDEX/KDEX-v1.11.3.ckan
Asked about what problem we're trying to solve on #7368.

This isn't what is needed. We're investigating in the comments of #7368.

authors: HebaruSan mwerle


text:
max command not supported

	float t = max(1,0);
results in

Severity	Code	Description	Project	File	Line	Suppression State
Error		2 compilation errors.  No code generated.	Exercise5	C:\Users\tborowski\Desktop\tmp\Exercise5\build\CUSTOMBUILD	1
Error		0:39: 'max' : no matching overloaded function found	Exercise5	C:\Users\tborowski\Desktop\tmp\Exercise5\build\CUSTOMBUILD	1
Error		0:39: '' :  syntax error	Exercise5	C:\Users\tborowski\Desktop\tmp\Exercise5\build\CUSTOMBUILD	1

Try max(1.0, 0.0). From my understanding, the GLSL version that Kore targets doesn't have a max for integer, and the variable isn't automatically casted.

Aye, that error message is correct (same thing happens on shadertoy for example). "no matching overloaded function" -> there is no function of that name and the passed argument types.

you are absolutely right.

authors: RobDangerous SpookyFM TimBo93

repo: KTXSoftware/Kore

license: Zlib


text:
MetalStageInTranslator support location qualifier for variables passed between pipeline stages.

MetalStageInTranslator support location qualifier for variables passed between pipeline stages.
CStyleTranslator support settable temporary variable name prefix.

Hi Rob. It's Bill. I requested this from our corporate account by mistake. I'll re-request using my own account. Sorry for confusion.

repo: KTXSoftware/krafix


text:
Tensor notation - Lorentz indices alignment

I'm always frustrated when I have to write tensors and Lorentz indices alignment doesn't seem possible with katex
Describe the solution you'd like:
Is there a way to enable Lorentz indices alignment?
\tensor{g}_\mu^\nu
Link to or name of a (La)TeX package that provides the same feature:
https://ctan.org/tex-archive/macros/latex/contrib/tensor
Describe alternatives you've considered:
Use something else besides katex
Additional context:
This would be helpful for tensor analysis, general relativity and many other areas, I think. Please tell me if there is already a way to perform this, but I could not find, unfortunately.

For a workaround, are you looking for {g_\mu}^\nu or g_\mu{}^\nu?

I don't think \tensor would be too difficult to implement (pull requests certainly welcome!), but it can be simulated by adding {}s in appropriate locations I believe. For example, {}^a{}_b{}^c{}_d M {}^a{}_b{}^c{}_d seems to be the equivalent of \tensor[^a_b^c_d]{M}{^a_b^c_d}.

Yes! I believe this would be enough (for me at least). Maybe this info could be added to the website docs BTW.
Thank you very much for your help! Closing issue!

For a workaround, are you looking for {g_\mu}^\nu or g_\mu{}^\nu?

I don't think \tensor would be too difficult to implement (pull requests certainly welcome!), but it can be simulated by adding {}s in appropriate locations I believe. For example, {}^a{}_b{}^c{}_d M {}^a{}_b{}^c{}_d seems to be the equivalent of \tensor[^a_b^c_d]{M}{^a_b^c_d}. Unless I'm missing something about vertical alignment.

Actually, they won't be equivalent, at least in LaTeX. See this simple test:
\documentclass{standalone}

\usepackage{tensor}
\usepackage{color}

\begin{document}
    \rlap{\color{red}$\tensor{h}{^a_b} \tensor{\eta}{^b_c} \tensor{\xi}{^c_f}$}\color{blue}$h^{a}{}_b \eta^b{}_c \xi^c{}_f$
\end{document}

The output:

I don't know if \tensor's behavior is more "correct", but you can see it puts subscripts on the same height, while naive subscripts "b" and "c" won't line up.
I research in gravity, so I write tensors a lot. Is there any document on how to add new commands to KaTeX? I'd like to try it.

authors: GaugeAndGravity Pedrexus edemaine

repo: KaTeX/KaTeX


text:
Issue with overlaying display: fixed

I have a header on the top and it properly covers all elements on the page except for parts of KaTeX formulas. The fix is trivial: just add z-index: 1 to the header, however I thought I'd report it as a bug since it's the only content not properly covered by default.
(Note that only part of the formula is visible over the header -- it's semitransparent and if you look close enough you can see that the whole formula is c = \sqrt{a^2 + b^2}.)

I'm not sure exactly why this happens. Probably something to do with stacking contexts. So I guess that establishing a stacking context for katex formulas might either make this issue go away, or make it affect the whole formula. Can you try out which one it is, or attach a demo file so we can experiment? Also please indicate what browsers you have tested this with.

Here's a reproduction.
I can confirm the effect on Chrome Version 54.0.2840.59 (64-bit) and Firefox 50.1.0, under Ubuntu 16.10.

Still an issue in katex-0.16.9 sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ== on firefox 121.0.1 build ID 20240124170031

Issue exists on katex-0.16.7.

authors: HugoBelotDeloro RIGIK93 gagern lazarljubenovic


text:
🛑 Anime List is down

In 8bd99b2, Anime List (https://list.kadantte.moe) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Anime List is back up in aa7aff7.

repo: Kadantte/candy-up


text:
编译时出现RawImage.h中出现SD/Seeed_SD.h: No such file or directory

我刚开始使用arduino，对arduino的import结构不是很熟悉；
但是我尝试了多种方法，似乎都没能让“SD”被认为是wio terminal给的SD卡读取库文件夹下的SD，因而无法编译

好像要给Wio安装SD相关的库

authors: CofinCup KafCoppelia

repo: KafCoppelia/WioWeatherStation


text:
Password

Hello there,
I cloned the Git repo but inside I find a lot of "change-password" values which are not being documented.
Should they be changed or not?!

Hey @derritter88
Yes, we recommend to change all of these values with strong passwords for security.
Also, we recommend to provide FHIR server access to the Nextcloud instance only in the same network, no need to open FHIR server to public internet for Kailona.

Hello @ayselafsar ,
thanks for clarification!
I have just checked the ports and as far as I can see the PostgreSQL container listens on 0.0.0.0/0 - so far I cannot see any possiblity to have it listen only on localhost or 127.0.0.1

Also, we recommend to provide FHIR server access to the Nextcloud instance only in the same network, no need to open FHIR server to public internet for Kailona.

Interesting, that is something that needs to be documented somewhere. I then also wonder, why the webapp tries to talk to the fhir domain sometimes?

I have just checked the ports and as far as I can see the PostgreSQL container listens on 0.0.0.0/0 - so far I cannot see any possiblity to have it listen only on localhost or 127.0.0.1

I think this is something with postgres docker image, i would refer to here

Interesting, that is something that needs to be documented somewhere.

Good idea, we will try to document it ASAP. or would like to accept PR.

I then also wonder, why the webapp tries to talk to the fhir domain sometimes?

We use a FHIR gateway running in nextcloud server side, forwarding FHIR requests to FHIR server, so the client application does not make any direct call to FHIR server. It even does not know FHIR server's credentials. However. its data structure and API endpoints are the same with FHIR server, so you might get confused. If the url is something like .../apps/ehr/fhir/..., that is the gateway, not FHIR server url. Otherwise, please let me know the endpoint. Thanks!

We use a FHIR gateway running in nextcloud server side, forwarding FHIR requests to FHIR server, so the client application does not make any direct call to FHIR server. It even does not know FHIR server's credentials.

So in general I could run the IBM FHIR directly & without Docker on my system and use my existing PostgreSQL-Cluster - right?

We use a FHIR gateway running in nextcloud server side, forwarding FHIR requests to FHIR server, so the client application does not make any direct call to FHIR server. It even does not know FHIR server's credentials.

So in general I could run the IBM FHIR directly & without Docker on my system and use my existing PostgreSQL-Cluster - right?

Yes of course, the dockerized approach is just simpler to setup, but you could pull the ibm fhir repo and make/build it yourself, or also download a release from there and install that. You then have to configure it on your own as well.

Just an off-topic question: I've recognised that there is a "Live (Alpha)" button on the documentation page which lead to this page.
Is there a possiblitiy to get access to it?

Interesting, that is something that needs to be documented somewhere.

Good idea, we will try to document it ASAP. or would like to accept PR.

#2 amongst other things (primarily updating the server to the latest version) adds a password change notice to the README.md.

authors: ayselafsar derritter88 makuser

repo: Kailona/kailona-fhir-server


text:
Add command / コマンドの追加

概要
現状、ドーナツの半径や視点距離が固定なので、コマンドで変更できるようにする

Overview
Currently, donut radius and viewpoint distance are fixed, so make it possible to change them with commands

The official Swift documentation gently addresses this, and it seems to work.

repo: KaitoMuraoka/swift-donut


text:
mha to nii.gz files

Hi:
I have mha files and I converted them to nii.gz using matlab (mha_read_header(), mha_read_volume() and MRIwrite(v,'name.nii','double')). However, this causes and error,  I think because some values in the header are diferent to the ones in the example images that you give.
So I was wondering how did you converted the files to nii.gz (which code)?
thanks for the help

this is the error that I got:

This does not seem to be related to mha->nii conversion. Note that, in the code, I never really use the headers of the niis.
The important lines in the error message are:
"IndexError: index 779 is out of bounds for axis 1 with size 5"
and the last one, showing that the error happened in the calculation of the negativeLogLikelihood.
I believe you have a problem with your ground-truth labels data, which are used for the calculation of the negativeLogLikelihood (training loss).
You have probably configured the model to have 5 output classes, but pass as a ground-truth label image something that at some voxel has a value 779 (see first error message I mentioned above).
Double check your ground truth labels. They should only include integer values, and no value larger than the number of classes you configured the model to have.
Regards,
Kostas

Finally, even if this is probably not an issue related to mha-to-nii conversion, I just pushed a script I used for such a conversion in case anyone interested (https://github.com/Kamnitsask/imgProcessingScripts)

@SilvanaC
hi, the IndexError also happens to me, can you show me how to solve this problem? Thanks

@zihaozhu93
hi, as kamnitsask mentioned before, the error was due to the ground truth labels....  I had some volumenes that had a range higher than 4....  so I fixed my dataset.

authors: Kamnitsask SilvanaC zihaozhu93

repo: Kamnitsask/deepmedic


text:
I am using T launcher and its crashing whenever i try to open the game with seed cracker

FIX THIS PLEASE

dont use tlauncher pay for the game

If your playing on 1.16.5 there is a rendering issue that causes a crash you can check my fork which fixes the issue

Don't use TLauncher.
Don't use TLauncher.
Provide more details.
Also, don't use TLauncher.

repo: KaptainWutax/SeedCracker


text:
🛑 IServ L is down

In d1c5f5b, IServ L ($LEHRTE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IServ L is back up in 8370c42.

repo: KaratekHD/uptime


text:
Created testJSON for the Issue#493

Change Log,

Created JSON based test case to test apply "label" event.

Great! That’s much better.
I’ll take a look at it and do some testing as soon as I can, but I suspect I won’t have time for that until next week.
Hopefully that’s ok. Sorry about the delay!

I can’t in good faith merge anything which affects this part of the code base without doing a minimal amount of testing. I hope you understand.
If you want to make it easy for me to test and merge, I advice you to in the mean time to resolve the merge-conflict which github is reporting. Could you do that?

Thanks for your patience and sorry about the delay getting this merged.
I'm now less sick, and have had time to test this, and it looks good to me! Consider it merged!

authors: josteink shashikiran-im


text:
MultiplePermissionsListener REQUEST_ONGOING

Expected behaviour
Call onPermissionsChecked with already granted permissions
Actual behaviour
when I ask for permissions it call onError(DexterError error) with REQUEST_ONGOING error
Activity was closed and opened several times using startActivityForResult setResult(OK) or CANCEL before this happened.
Steps to reproduce
 Dexter.withActivity(getActivity())
                .withPermissions(
                        Manifest.permission.CAMERA,
                        Manifest.permission.READ_EXTERNAL_STORAGE
                ).withListener(new MultiplePermissionsListener() {
            @Override
            public void onPermissionsChecked(MultiplePermissionsReport report) {
                if (report.areAllPermissionsGranted()) {
                    openCamera();
                } else {
                    requestMultiplePermissions();
                 }
                   }

            @Override
            public void onPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token) {
                token.continuePermissionRequest();
            }
        }).withErrorListener(new PermissionRequestErrorListener() {
            @Override
            public void onError(DexterError error) {
                int y = 0;
            }
        }).check();

Version of the library
3.0.0

Hi @PingForward
I'm wondering, are you following the README section about screen rotations? When the requesting activity dies due to a rotation or any other reason, we have to rebind the permission listeners by calling continueRequestingPendingPermissions instead of asking for those permissions again.
Got to say though that you are not the first person having this issue so we will probably need to do a smarter checking when requesting the same permissions more than once.
Hope that link helps, let us know if you still have problems with the library.

Hi, I also have this issue with PermissionListener. My activity open and close normally, without any rotation or other reason to kill the activity unexpectly, several times later, this exception happens.
Version os 3.0.0

@Serchinastico No rotation, regular open close.

I can confirm. Also happens with PermissionListener (not Multiple* that is). Can't reproduce consistently, but most of the times when I start a permission request and deny it and then close the app (back-button, not simple pause/resume) and come back, it says REQUEST_ONGOING. Tested with/without rationale dialog and with/without continueRequestingPendingPermissions. It only seems to start working again once I kill the app process entirely.

The reason is when we create Dexter instance, the Context in DexterInstance become null.
I have sent a pull request.

We've got the same bug. Please, review this pull request.

Fixed in the PR #108. We are about to publish a new version :) Thanks everyone for your help!

Hi guys!
This problem can still be encountered in version 4.1.0.

@ovitrif we can't reproduce it. Could you create a sample project public on github with the code needed to reproduce it?

@pedrovgs
Unfortunately not, it is for a complete application that it happens.
I can give a few details.
I'm using the multiplePermissions listener, using dagger, so I initialize dexter in the module.
The app has language changing capabilities, and the bug was usually seen in that case.
It was very difficult to reproduce, but it seemed to appear randomly.
I was able one time to reproduce the issue, and had the debugger attached. Not sure if it was the REQUEST_ONGOING issue, but the code did stop at doing the .check() method.
Nothing was running anymore, so I didn't got into the breakpoints set inside the callback.
In the end I fixed the issue by adding an error listener, where I run the code to check the permissions manually using Android code.
Having discussed this with my colleague, we wanted initially to check the permissions before using Dexter, and only when they are not granted would we do otherwise.
I wonder why you guys stop in case of REQUEST_ONGOING always.
I can't say I know the code very well, but so far I didn't think of an error when doing what I did, do it manually.
The problem with your approach, I think, is that you do all the complex code to ensure the user is asked to grant permissions.
But most of the time, the app will have the permissions granted, and by doing things the way they are now done in dexter, is like letting a door open for errors.
Could the logic be switched around, and check permissions first, if ok just go on?
Otherwise I find dexter unreliable, since I'll always have to wrap it with my own implementation for checking permissions.
I'm not sure it is intended to be used like that, but I would find it very useful if it was always reliable and you could just do the normal check for permissions before, for example, trying to get the user location.

Guys! same problem in version 5 also. How to fix once we get this

I'm getting the same issue here with the version 5.0.0

I'm getting the same issue here with the version 6.0.0
com.karumi:dexter:6.0.0
Dexter.withActivity(this@MainActivity)
                    .withPermissions(
                        Manifest.permission.ACCESS_COARSE_LOCATION
                        ,Manifest.permission.ACCESS_FINE_LOCATION)

                    .withListener(object:MultiplePermissionsListener{
                        override fun onPermissionsChecked(report: MultiplePermissionsReport?) {
                            report?.let {
                                if(report.areAllPermissionsGranted()){
                                    searchBar.show()
                                    replaceScreen(Screen.MAP)
                                }

                            }
                        }

                        override fun onPermissionRationaleShouldBeShown(
                            permissions: MutableList<PermissionRequest>?,
                            token: PermissionToken?
                        ) {

                        }

                    })
                    .withErrorListener {
                        println(it.name)
                    }
                    .check()

Devices: Nokia
OS: 9.0 - P

Hi @chihung93 we can't reproduce it. Could you create a sample project public on github with the code needed to reproduce it?

This is my beta library.
https://github.com/chihung93/Space-Navigation-V2
You can download it and try to these step :
Step 1: Click on Centre button => Popup request permission show up
Step 2: Click Deny
Step 3: Tap on the Centre button 2- 3 times again.
Step 4: see the Toast Request_ongoing

Ok, I know what's going on. It's a wrongly configured listener what we have here and a missing documentation part from our side. I'm going to update the project readme with some information about this scenario and explain here what's going on.
If you don't configure the token you receive onPermissionRationaleShouldBeShown properly Dexter will not let you ask for the permission again because the library understands you are showing your own rationale and you don't want to show the OS one again. This is why you have to modify your code to do the following:
spaceNavigationView.setSpaceOnClickListener(object : SpaceOnClickListener {
            override fun onCentreButtonClick() {
                Dexter.withActivity(this@MainActivity)
                    .withPermissions(
                        Manifest.permission.ACCESS_COARSE_LOCATION
                        ,Manifest.permission.ACCESS_FINE_LOCATION)

                    .withListener(object: MultiplePermissionsListener {
                        override fun onPermissionsChecked(report: MultiplePermissionsReport?) {
                            report?.let {
                                if(report.areAllPermissionsGranted()){
                                    toast("OK")
                                }

                            }
                        }

                        override fun onPermissionRationaleShouldBeShown(
                            permissions: MutableList<PermissionRequest>?,
                            token: PermissionToken?
                        ) {
                            token?.continuePermissionRequest()
                        }

                    })
                    .withErrorListener {
                        toast(it.name)
                    }
                    .check()
            }

            override fun onItemClick(itemIndex: Int, itemName: String) {
                toast("${itemIndex}  ${itemName}")
            }

            override fun onItemReselected(itemIndex: Int, itemName: String) {

            }
        })

Look closer here:
  override fun onPermissionRationaleShouldBeShown(
                            permissions: MutableList<PermissionRequest>?,
                            token: PermissionToken?
                        ) {
                            token?.continuePermissionRequest()
                        }

token?.continuePermissionRequest() is the key to use Dexter properly.
@chihung93, can you please check this out?

This thing took my 4 hours, update it there asap for saving time of others..

OK great, work like a charm :)))

Good work!

if any previous activity is open and dialog is still showing at that time error will occcured

authors: AshishGrt PingForward Serchinastico SreekanthMekala TillSimon chihung93 chkdmin hzw1199 lianghanzhen o-nos ovitrif pedrovgs rcpassos shrikantsdrock

repo: Karumi/Dexter


text:
Correction of a parameter labeling

t was replaced by d in the middle of the paragraph

Thanks a lot for spotting this! I fixed the parameter renaming in one more location in f36047d.

authors: KasparEtter skaunov


text:
Log in form (should look similar to sign up)

[ ] Username
[ ] Password
[ ] Log in
[ ] Cancel? Sign Up?

We completed this task. Login page looks similar to signup page

repo: KateMcRo/Plantastic


text:
SliverFlexibleHeader proposal

This new widget should allows to create a Sliver header that can be pinned or floating based on a parameter without knowing the size of its child.
Demo:
https://user-images.githubusercontent.com/87227898/197335468-f2387c7a-c101-473e-9fd2-179f4410118c.mp4

@Kavantix Whats holding this back?

@marcoredz Doesn't work in Sliver Stack btw
cc @Kavantix

@marcoredz sorry for the late reply, have been swamped again.
But thanks for the contribution!
In general the implementation looks good although I'm not sure if it handles the overlap correctly in all cases.
Could you add some tests for a few simple cases and some overlap cases.
For the API of the package it would make more sense to have a SliverFloatingHeader widget that is always floating since there is already a SliverPinnedHeader

Apologies for the delayed response, @Kavantix. My proposal was based on this gist: https://gist.github.com/tomaszpolanski/cf0edb7961d2304c2f293da9971cd4c9.
Unfortunately, I am currently unable to proceed with working on this proposal. Therefore, if you or someone else can find a way to incorporate this feature into the package, it would be awesome. Otherwise, it's not a problem for me if you decide to close the PR

Closing since I also don’t have time for this right now, if anyone wants to pick it up let me know

authors: Kavantix jascodes marcoredz