Read hex files with 45 bytes per scan

Fixes #14 .

Also throw an error if xmlcon file cannot be found.
Add change to history.
Add a test for reading 45 byter per scan, including data file

Somehow Pathlib doesn't seem to care about the case of filenames on macos, but does so under linux. Found a workaround using os.listdir().


fix bug and update RTL support

https://github.com/yuku-t/jquery-textcomplete/issues/191

thx! :+1:

@yuku-t I am now not sure if the IF in the select with the LTR-Embbedding is really needed, I don't know anyone that can confirm if this is right.--  Do you know anyone?
Another solution I am now working on is just displaying the autocomplete value in ltr and therefore I add a HTML tag and give it the following CSS:
direction: ltr;

maybe this is a nicer solution for contenteditable elements, if you also want to highlight the added textcomplete value


Column name conflicts with built in method

I have a table in a MySQL database with a column named build:
CREATE TABLE `t1` (`id` int unsigned NOT NULL AUTO_INCREMENT, `build` int DEFAULT NULL,PRIMARY KEY (`id`));

The generated code has a conflict in the generated factory/t1.go file between the Build field and the Build() method, used to construct a T1 model.
I cannot see a way to alias or rename the field so that Bob can work with this table.

Documentation on aliasing: https://bob.stephenafamo.com/docs/code-generation/configuration#aliases


Removing .tscn from the file manager does not remove it from Scene

Tested versions
Godot 4.3 beta1
System information
Godot v4.3.beta1 - Windows 10.0.19045 - GLES3 (Compatibility) - Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.14001.45012) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 Threads)
Issue description
When we delete a scene (.tscn) from the file manager, this scene is not deleted from other scenes, I checked this on an empty Node3D node, and this still happens.
This only happens if we do not save the scene to which we add a new one; if we first save this scene, and then add a node and delete it, this problem does not arise
https://github.com/godotengine/godot/assets/130399274/545454c2-f2b9-4068-9624-2e2683438645
When opening a scene that doesn't exist, the following errors appear:

Steps to reproduce

Add any scene(2) to another scene(1)
Don't save the scene(1)
Delete the scene(2) from the file manager, the scene(2) has not disappeared from the scene(1)

Minimal reproduction project (MRP)
testskinandbones.zip

I can confirm that if I add a scene to another scene and then delete the child scene from the file dock, then the child scene remains in the scene tree for the parent scene. However, I do get a dialog box warning me that the child scene is in use by the parent scene before I delete it. Also, if I open the parent scene after deleting the child scene, it warns me that there are missing resources.
I believe it would be possible to change it so it removes the child scene from all scenes that reference it, however it could potentially incur sizeable overhead to do so. Because this feature would require going through all the scenes in the project and checking if they reference the child scene unless what you're suggesting is to just check all the open scenes @JekSun97 .


FR: Potential for secured storage?

I'd love to start trying this out, however one requirement we have on almost all of our projects requiring PEN testing is for all data to be encrypted either through standard keystore, and potentially an access control like pin/biometrics.
This leads us to using an approach quite similar to https://www.npmjs.com/package/react-native-secure-storage.
Is encrypted storage something that would / could be on the roadmap?

Encryption is one or two releases away but in the works. MMKV supports encryption build in so it could be implemented easily. You can check #1  issue to see what has been implemented and what is coming in the future releases.

Awesome! In that case I guess I'l close this and watch the roadmap


Adding support for inbound keywords  and messageType in sms

Please link to the issue #…

@nikshar can you please take a look

@mjasrotia : can you please take a look


FilePicker, Site Tab, List View, Column Header, Sorting Not Working as Expected

Category
[ ] Enhancement
[X] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.3.0 ]
Expected / Desired Behavior / Question
FilePicker control, list view column headers to properly sort on single click.
Observed Behavior
When the FilePicker is open, in the site tab, viewing a library with files, the sorting of items by clicking on columns headers does not always work on single click and the sorting is not as expected. Modified date and file sizes are displayed in an unknown order when sorted.
Steps to Reproduce

Scaffold new project
Install spfx react controls
Add FilePicker as per guidance, removing Bing property (I don't have one of these right now), to HelloWorld.tsx
Run gulp serve --nobrowser
Navigate to workbench
Open File Picker, browse Site > Library (with files), from the list view, click header for column one or more times
Observe sorting order

Thank you @Arknev for reporting the issue.
It has been fixed and will be included in the next release.
You can test the functionality in the latest beta version

@AJIXuMuK This is fantastic, thank you!


Integrating more than unity project

Is it possible to integrate more than unity game in the project and to choose which game to run on the runtime?
any clues?

@TarekMedhat that is not possible.


XMLWriter::writePi()

I need to add an xml-stylesheet to the sitemap, but can't access the $writer.
Is there a way to add a Pi?
Thanks!

Would you please elaborate about what do you want to achieve?

Take a Look at This beautiful sitemap

I believe https://github.com/samdark/sitemap/pull/63 will address this issue.

Closing this as resolved by #63 which was released in 2.3.0


Windows 10 - install ilmerge.3.0.21.nupkg fails

Hi,
I'm trying to install ilmerge.3.0.21.nupkg.
I want the ilmerge.exe.
It fails with:
_C:\temp>nuget install ilmerge.3.0.21.nupkg
Feeds used:
https://api.nuget.org/v3/index.json
Installing package 'ilmerge.3.0.21.nupkg' to 'C:\temp\AWS-CFN-Build\Release'.
GET https://api.nuget.org/v3/registration3-gz-semver2/ilmerge.3.0.21.nupkg/index.json
NotFound https://api.nuget.org/v3/registration3-gz-semver2/ilmerge.3.0.21.nupkg/index.json 907ms
Unable to find package 'ilmerge.3.0.21.nupkg'_
Can some please tell me how to fix this?
I'm using Windows 10.
I got ilmerge from:
https://www.nuget.org/packages/ilmerge

Can you run nuget update -self first?

Thanks.
Unfortunately it still doe not work.
C:\temp>nuget.exe update -self
Checking for updates from https://www.nuget.org/api/v2/.
Currently running NuGet.exe 4.9.4.
NuGet.exe is up to date.
C:\temp>nuget install ilmerge.3.0.21.nupkg
Feeds used:
https://api.nuget.org/v3/index.json
Installing package 'ilmerge.3.0.21.nupkg' to 'C:\temp'.
GET https://api.nuget.org/v3/registration3-gz-semver2/ilmerge.3.0.21.nupkg/index.json
NotFound https://api.nuget.org/v3/registration3-gz-semver2/ilmerge.3.0.21.nupkg/index.json 862ms
Unable to find package 'ilmerge.3.0.21.nupkg'
Any ideas?

Please run nuget install ilmerge.

Thanks! That did the trick!

Thanks.
That worked!
On Saturday, 6 April 2019, 4:30:50 am AEDT, Lex Li<EMAIL_ADDRESS>wrote:
Please run nuget install ilmerge.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


return empty promo is there isn't one

Return empty promo is there isn't one.

https://wellcomecollection.org/pages/YVMbEBAAAPaMBrz7


chore: upgrade phpunit/phpunit to 9

relates to auxmoney/OpentracingBundle-core#67

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+8.1%) to 91.111%

Totals

Change from base Build<PHONE_NUMBER>:
8.1%

Covered Lines:
41

Relevant Lines:
45

💛  - Coveralls

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


Include PSR-3 to readthedocs

To be consistent with what the Readme file says.

:+1:

Thanks!

Sure. Thank you guys for the framework.


Documentation

While following this guide I was a bit confused about publishing on GitHub Pages. I'm providing this quick feedback in case it might help with the documentation. If I can find time I'll suggest some changes, otherwise this might be a good issue for someone looking to contribute to the community.
There were a few things that came up.

you need to modify the _config.yml file to point to your site.

in my case it was little more confusing because I'm not using an organization, but a project page. So my _config.yml has the following:

baseurl: "/intro-exp-phys-book" # the subpath of your site, e.g. /blog. If there is no subpath for your site, use an empty string ""
url: "https://cranmer.github.io" # the base hostname & protocol for your site, e.g. http://example.com

for my new repository, publishing from gh-pages branch was not an option. It was not super clear to me where the raw content for the page and the built page should live in the repository. I wanted to see an example repository. The docs point to this repository, but initially what you see is the code for jupyter-book as opposed to the source for the book itself. I then found the gh-pages branch, but that is now redirecting to netlify. After some hunting I found:
https://github.com/jupyter/jupyter-book/blob/master/jupyter_book/book_template/content/guide/04_publish.md
but it is still not clear to me if the book is being published directly from this or if this is just holding the code for executing jupyter-book create demo

I would suggest either pointing to a vanilla gh-pages published book or briefly outlining what the target structure looks like in terms of source and built page. This is mine, but I'm not sure it should be used as an exemplar.

perhaps worth clarifying why the code for the book needs to be in a GitHub repository even if you are building it yourself and publishing it yourself. I suppose the reason is for binder to work. There is a corresponding _config.yml line to be edited.

Minor point, but the first page says:
This documentation is for the master branch of Jupyter Book, which means that it might be slightly out-of-date with the latest version released on pip. Which makes it sound like the pip version is the most up-to-date version. Later it says
alternatively, if you'd like to install the latest version from GitHub, you can run:
pip install git+https://github.com/jupyter/jupyter-book
Which may confuse newcomers as to what is the latest version.

amazing, thank you so much for the feedback! this is super helpful

Closing as this should be superceded by beta.jupyterbook.org


Fix race condition in the thread tracking set

It was possible for threads to get "removed" before spawnOne had added
the threads. This caused those threads to never get removed which would
trigger ratelimiting and eventually the node would refuse to accept new
connections.
Change it so that if the thread isn't inserted yet we will wait for
spawnOne to do it before we remove the thread.
Thanks to @psychomb for helping troubleshoot this problem.

bors r+


Lower part of the page is not shown

Screenshot1 show the lowest part of the reflown image, and the scrennshot2 the same form original picture.

cyberiada-detailed.txt

Cyberiada-3.txt

The reason is that page size was calculated based on individual glyph height and real glyph position was calculated using average height


(system-name) reports in uppercase when config.el is first read but lowercase when evaluated later

What did you expect to happen?
I expected (system-name) to report the same on emacs launch as with C-x C-e
What actually happened?
(system-name) reports in all caps on emacs launch and all lower when evaluated with C-x C-e or M-;
Describe your attempts to resolve the issue
My config is fixed now since I can just check for (equal "MYPC" (upcase (system-name))) but this seems worth fixing since it added a lot of friction and is surprising behavior.
Steps to reproduce
my windows specific configuration in config.el wasn't running when I thought it should. I have it behind a check e.g.
(when (equal "mypc" (system-name))     (setq org-directory "c:/Users/user/Documents/org/"))
it was confusing to see that (system-name) reported "mypc" when I ran it with C-x C-e
I added a (print (system-name)) in my config.el, restarted emacs, and it printed "MYPC"
runemacs.exe -q and then (system-name) reports in all uppercase "MYPC"
System Information
https://pastebin.com/Umdw9GC5

Your doom/info tells me you have generated an envvar file. doom install will have prompted you to generate this file. Running doom env will forcibly regenerate it.
It dumps your shell environment into a file that Doom will load at startup, which I presume includes an environment variable which influences what Emacs displays when (system-name) is called. On Linux/MacOS I presume it'd be HOST or HOSTNAME, but I have no idea about Windows.
You will have to either correct this variable in your environment or blacklist it when regenerating it: doom env --reject "HOST"
In any case, this is not a bug on Doom's end. It is correctly reading your (albiet misconfigured) environment, so I will close this. Feel free to follow up here if you have reason to suspect otherwise.

Ok, thanks.
Yea, I'm happy now that I know that I need to upcase system-name. I wanted to bring it up in case it's a bug and definitely leave a solution for anyone facing the same issue.
I checked the .emacs.d/.local/env file and I found four variables with my system name. I changed all of them to something else but emacs still reported the original name after restarting emacs. I don't know what that means and I don't care enough to find out.
If anything is a bug it would be that (system-name) reports in lowercase instead of all caps. I agree it's not an issue with doom though since system-name is a function in editfns.c
Thanks for looking into it and thanks for your work on doom. It's been a dream.


Graph service datafetchers

ManagedDevice, return an empty list when Intune is not enabled
Organization
Retrieve additional security settings for users when a corresponding license is applicable

Merged via c725fdfb8a428b36b21b8d458eeaec3033fce67f


[WIP] Fix #141,  Implement process_justification

What was wrong?
Continue on https://github.com/ethereum/py-evm/pull/1690
How was it fixed?
Cute Animal Picture

@ChihChengLiang What's the status of this PR?


Cdn support

⚠ IMPORTANT ⚠ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

[x] Read the docs.
[x] Use Vite >=2.0. (1.x is no longer supported)
[x] If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.

Describe the bug
How to support the introduction of CDN under current vite. I found that when the CDN is introduced, if other packages are introduced inside the CDN, then the CDN will become invalid. For example, the CDN of vuex refers to import vue from'vue', then how do I change the address of this vue in vuex to cdn
System Info

vite version:2.0-beta.16
Operating System:win
Node version:12
Package manager (npm/yarn/pnpm) and version:yarn

Logs (Optional if provided reproduction)

Run vite or vite build with the --debug flag.
Provide the error log here.

You can check out CDNs that are built for ESM:

https://www.skypack.dev/
https://esm.sh/
https://www.jsdelivr.com/esm

You can check out CDNs that are built for ESM:

https://www.skypack.dev/
https://esm.sh/
https://www.jsdelivr.com/esm

@yyx990803  Is there an example of using CDN for vite? I think this should be a necessity

@yyx990803  Is there an example of using CDN for vite? I think this should be a necessity

Read the docs of those CDNs?

Read the docs of those CDNs?


Prebuilt image uses "localhost" redirection when logging

Hello,
If you use the "calcom/cal.com" image from Docker Hub, even after changing the NEXT_PUBLIC_WEBAPP_URL and NEXT_PUBLIC_API_V2_URL, the app redirects to "localhost" when authenticating a user. Other pages in the app are not affected. This is not a caching issue, as I tested with the cache disabled in the browser, cleared the database, etc.
Edit : The "view public page" link points to localhost:3000, and the username prefix are also "localhost:3000"
After testing with older images the issue seems to be on the :main image.

Duplicate of https://github.com/calcom/docker/issues/319


Plan daily wrap-ups

The main idea here is to have a way to keep track of what happened during the parallel sessions and to feed that into wrap-up sessions on day 1 and day 2 as well as the closing townhall on day 3 (#21).

Designated people to report back from each?


Do not attempt to send requests to mixpanel if adblocker is enabled

Have you tried it with AdBlocker on?

Yup


Trying to Add it to custom server Need support server

Hey Owner,
I'm trying to get in touch with you as ive tried adding the phone system to my bot but im stuck on the command phonecall as its giving me so many error so can you please provide me your discord user or support server where i can get some help as soon as possible please.

function inPhoneCall (channel) {
return client.phone.some(call => call.origin.id === channel.id || call.recipient.id === channel.id);
}
}
};
some is not defined can you tell me how to define this

Hey Owner,
I'm trying to get in touch with you as ive tried adding the phone system to my bot but im stuck on the command phonecall as its giving me so many error so can you please provide me your discord user or support server where i can get some help as soon as possible please.

i have stopped this project and i dont have much interest in discord bots either so i wont be creating any support server, as for the error you can send it on github


IOWait problem in kubernetes after the last update

After the image was updated (because of using the latest tag), I have updated the whole helm chart so that it started postgres etc.
After the update I've noticed that at the 12 AM server time something started to cause the IOWait problems:

Here is the iotop ouptut:

Is this something expected? Does it require faster disk to fade? It keeps totally fine for 2 days, on the second day at 12 AM it starts something.
Is there any temporary workaround? It causes slower responses to our clients.
P.S.: it happened twice, I replaced the k8s node and started new appsec pod, it was OK for 2 days then such situation happened again.
Yet, I've replaced the node again and awaiting the same behavior in 2 days. So it would be the 3rd case of such IOWait problem.

FYI: it happened twice, I replaced the k8s node and started new appsec pod, it was OK for 2 days then such situation happened again.
Yet, I've replaced the node again and awaiting the same behavior in 2 days.

Hi @orianelou ,
Thank you for your response.
I think we may close the issue since I haven't faced the problem AFTER I've upgraded the version to 1.1.5.
The order:

We were using 1.1.3 but then suddenly I've noticed some problems since the image was repulled to latest but the chart itself was not updated.
I've updated it to 1.1.4 and the problem I described started.
I've noticed 1.1.5 was released slightly before I've opened the issue, so I've upgraded the chart to v1.1.5 and the issue seems to be gone.

Not very sure what rly caused it. I don't think wasting your time on this is good. Thank you for the reply anyways!


AEM 6.5 install error

 sh gradlew instanceSatisfy -Pinstance.satisfy.urls=\[https://github.com/Cognifide/APM/releases/download/apm-4.2.2/cq-actions-msg-replication-6.4.0.zip,https://github.com/Cognifide/APM/releases/download/apm-4.2.2/apm-4.2.2.zip\]

Execution failed for task ':aem:instanceSatisfy'.
> Cannot install malformed package /etc/packages/com.cognifide.aem/apm-4.2.2.zip on LocalInstance(name='local-author', httpUrl='http://localhost:4502'). Status: FAIL. Errors: [Error during processing.,
  org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /apps/cq/core/content/nav/tools[[nt:folder]]: No matching definition found for child node security with effective type [nt:unstructured]
        at org.apache.jackrabbit.vault.packaging.impl.ZipVaultPackage.extract(ZipVaultPackage.java:238)
        at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:401)
        at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:360)
        at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.install(JcrPackageImpl.java:354)
        at com.day.crx.packaging.impl.J2EEPackageManager.consoleInstall(J2EEPackageManager.java:352)
        at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:190)

tested on clean 6.5; however works on 6.4

Fixed in APM 4.3.1.


Issue 45 Reset scanned devices

it's persisting hotspot values even after power off
Closes #45

@matthewcarlreetz


How do you prevent two people from configuring the same predicates path, but different downstream services lead to one person routing not working?

How do you prevent two people from configuring the same predicates path, but different downstream services lead to one person routing not working?
Such as：
route1:
spring:
  cloud:
    gateway:
      routes:
      - id: route1
        uri: http://123.book.com
        predicates:
        - Path=/book/**
        filters:
        - RewritePath=/book/(?<segment>.*), /$\{segment}

route2:
spring:
  cloud:
    gateway:
      routes:
      - id: route2
        uri: http://456.book.com
        predicates:
        - Path=/book/**
        filters:
        - RewritePath=/book/(?<segment>.*), /$\{segment}

The above configuration comes from two people who don't know each other.It can result in a certain person's configuration invalid.
How do you prevent this, such as giving friendly reminders or reporting errors directly when the same path configuration is saving? Is the spring cloud gateway supported?

Nothing can be done from you improperly configuring the gateway.  We could do something to analyze the predicates of the routes and see if there is overlap, but that could become quite complex.

Nothing can be done from you improperly configuring the gateway. We could do something to analyze the predicates of the routes and see if there is overlap, but that could become quite complex.

But it's dangerous and necessary to add routing dynamically in a production environment, or to provide a mechanism that provides early route matching before a route is added, such as when a person add route2 and before route2 is actually added to the system, we can find that There is an overlap between route1 and it, which can change route2 to prevent this situation at this time.

I am not saying its impossible to do, just quite a bit of (brittle) logic IMO.

I'd saw overlapping routes is a feature allowing earlier defined routes to match before later ones. I don't think there is anything we can do to say that one overlapping route is an error.


kotlin version dependency problem in gradle

I use gradle with IDEA. When kotson is included in my gradle project, it automatically introduces Kotlin 1.0.6 dependency. I have to manually do the following, to use kotlin version specified in my own build.gradle:
dependencies {
    // ...
    compile ('com.github.salomonbrys.kotson:kotson:2.5.0') {
        exclude group: "org.jetbrains.kotlin"
        exclude group: "org.jetbrains"
    }
}

I think it's better to avoid dependency to Kt version this library uses in downstream projects if possible.

Turns out it's my mistake (?). In official kotlin gradle tutorial, it said I should include kotlin-stdlib dependency, which I didn't. When I included them, the problem is gone.


Text formatting on page - bold missing

[Enter feedback here]
URL: https://docs.microsoft.com/en-gb/azure/active-directory/authentication/howto-mfa-userstates?source=docs#choose-how-to-enable
For consistency purpose and easier reading, please make these two items also bold;
Enabled by Conditional Access policy -
Enabled by Azure AD Identity Protection -

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4cb129d2-9594-bf0c-5946-982f0ed0d888
Version Independent ID: 6522b038-6853-3552-55c8-f174cf56573d
Content: Per-user Multi-Factor Authentication - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-userstates.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@shahidpages
Thanks for your feedback! We will investigate and update as appropriate.

Thanks! Just made a pull request to fix this https://github.com/MicrosoftDocs/azure-docs-pr/pull/99660

I don't see any change and issue already closed?


Add lib/aria_data_structures/ changes

Compiler warnings
Fix compiler warnings by updating header files to use 'void' in place of no arguments (eg HashTable* createhash(void)).
Add Makefile
$ make libaria.so produces build/libaria.so. An application or other library can link against it with:
$(CC) -I./include -L./build/ -laria example.c -o example
LD_LIBRARY_PATH="./build" ./example

Where example.c is:
#include <datastructures.h>
#include <stdlib.h>
int main(void) {
  HashTable *h;
  h = createhash();
  deletehash(h);
  return EXIT_SUCCESS;
}

Maybe it would make more sense for datastructures.h to be aria.h if this change is merged.

Great! Thanks for your contribution! You can merge the PR whenever you're ready

Thanks :)


Odd rendering of numbers on the example page

The example page seems to render all numbers in a subscript style. Tested in recent FF & Chrome.

Hmm, looks like a quirk of font-feature-settings.
I'll look in to it. Thanks for the heads up.
https://github.com/thoughtbot/bitters/blob/master/app/assets/stylesheets/_typography.scss#L4

I have been unable to recreate this issue. Closing (for now)

Still looks like this for me in Chrome.


nnsight with multithreading

This is more of a niche feature but I'm attempting to serve nnsight as an api using FastAPI. I'm accessing the model and invoking the trace using loop.run_in_executor(). This mostly works. However, when I run multiple requests at the same time I receive the error: RuntimeError: trying to pop from empty mode stack. I assume this is because in nnsight there's some sort of global tracing involved when calculating the compute graph, which according to the error is not threadsafe? Not sure if thats the case, would love some some insight on this.
I'm fairly certain loop.run_in_executor() should work fine, as this functions normally with regular huggingface, and this is how vLLM handles async requests in their AsyncLLMEngine. I'm wondering if other people have noticed this error and whether there are any ways to circumvent this.

Additionally, I get the error: AttributeError: 'LlamaDecoderLayer' object has no attribute 'output'

@lithafnium  Hey I'd love to know more about this if you could get me some small reproduceable example. I dont think nnsight is close to threadsafe although maybe there are some features in nnsight you could disable to get it working. On another note, 0.4 is going to have vllm support so potentially you can just use that?


Create cna-qatar.txt

College of the North Atlantic, Qatar, uses the domain @cna-qatar.edu.qa
3-year software course: https://www.cna-qatar.com/programs/SchoolofInformationTechnology/WebDeveloper
Sample college emails: https://www.cna-qatar.com/aboutcnaq/campusinformation

@DJRockstar1 Pull request merged. Thank you!


Private communities

This PR introduces the ability for founders to mark a community as private. Once a community is private, members need to join via an invitation URL, as opposed to being able to simply join by name.

@lostintangent should we filter out the private communities in the /v0/top_communities endpoint?

@legomushroom This PR includes that change! Check out store.ex, which now filters the community suggestions to exclude private communities.

@lostintangent oh great, missed that!


Fix check_is_installed_by_pip regex

Currently used regex for matching output for pip fails for following pip list output:
Package                          Version
-------------------------------- ---------
pip                              10.0.1
ply                              3.4
policycoreutils-default-encoding 0.1
pyasn1                           0.4.3
pycparser                        2.14
pycrypto                         2.6.1

When checking for policycoreutils-default-encoding grep, having both space at the end of regex and -w switch enabled expects to find 2 whitespaces after the package name (and it finds 1).
My fix removes space in the regex and lets -w switch to do its job.

Thanks.

Released as v2.74.0.


Added $indexOfArg

Like $indexOf, but instead of returning the character position, it returns the argument position.


Luigi task does not accept dict defined in TOML Config file.

Overview
Using TOML for configuration file and faced error parsing dict.
Tried three ways to parse dict (key-value pairs) on TOML config.

Case 1: Parsing with luigi.Parameter inside luigi.Task .
-> Task fails but somehow outputs expected results.

Case 2: Parsing with luigi.Parameter inside luigi.Config .
-> Task success with warning and outputs expected results.

Case 3: Parsing with luigi.DictParameter inside luigi.Config.
-> Task Fails and no creates no output.

Using Case 2 for now... (Because it works even with warnings...)
Should be problem with string, dict and JSON stuff...
Any suggestions on what the problem is or where to start with if I wanted to commit?
Reproduction
Using test.py & config.toml for all of the cases.
Environment

python 3.7.0
luigi 2.7.8
toml 0.9.6

Files
Luigi Task Python Script (includes all Task)
test.py
import luigi

class TestCase1(luigi.Task):
    text = luigi.Parameter()
    dic = luigi.Parameter()

    def output(self):
        return luigi.LocalTarget("data/case1.txt")

    def requires(self):
        return None

    def run(self):
        with self.output().open('w') as out_file:
            out_file.write('text: {}, dict: {}'.format(self.text, self.dic))

class TaskConfig2(luigi.Config):
    dic = luigi.Parameter()

class TestCase2(luigi.Task):
    text = luigi.Parameter()

    def output(self):
        return luigi.LocalTarget("data/case2.txt")

    def requires(self):
        return None

    def run(self):
        dic = TaskConfig2().dic
        with self.output().open('w') as out_file:
            out_file.write('text: {}, dict: {}'.format(self.text, dic))

class TaskConfig3(luigi.Config):
    dic = luigi.DictParameter()

class TestCase3(luigi.Task):
    text = luigi.Parameter()

    def output(self):
        return luigi.LocalTarget("data/case3.txt")

    def requires(self):
        return None

    def run(self):
        dic = TaskConfig3().dic
        with self.output().open('w') as out_file:
            out_file.write('text: {}, dict: {}'.format(self.text, dic))

TOML config file
config.toml
[TestCase1]
text = "sample text"

[TestCase1.dic]
key1 = 'value1'
key2 = 'value2'

[TestCase2]
text = "sample text"

[TaskConfig2.dic]
ckey1 = 'value1'
ckey2 = 'value2'

[TestCase3]
text = "sample text"

[TaskConfig3.dic]
ckey1 = 'value1'
ckey2 = 'value2'

Case 1.
Case 1: Parsing with luigi.Parameter inside luigi.Task .
Command:
 PYTHONPATH='.' LUIGI_CONFIG_PARSER='toml' LUIGI_CONFIG_PATH='config.toml' pipenv run luigi --module test TestCase1 --local-scheduler
CLI Output:
/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py:284: UserWarning: Parameter "dic" with value "{'key1': 'value1', 'key2': 'value2'}" is not of type string.
  warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))
/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py:284: UserWarning: Parameter "task_process_context" with value "None" is not of type string.
  warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))
DEBUG: Checking if TestCase1(text=sample text, dic={'key1': 'value1', 'key2': 'value2'}) is complete
INFO: Informed scheduler that task   TestCase1___key1____value1_sample_text_7b550efa06   has status   PENDING
INFO: Done scheduling tasks
INFO: Running Worker with 1 processes
DEBUG: Asking scheduler for work...
DEBUG: Pending tasks: 1
INFO: [pid 64804] Worker Worker(salt=932163268, workers=1, host=CA1952.local, username=****, pid=64804) running   TestCase1(text=sample text, dic={'key1': 'value1', 'key2': 'value2'})
INFO: [pid 64804] Worker Worker(salt=932163268, workers=1, host=CA1952.local, username=****, pid=64804) done      TestCase1(text=sample text, dic={'key1': 'value1', 'key2': 'value2'})
DEBUG: 1 running tasks, waiting for next task to finish
INFO: Informed scheduler that task   TestCase1___key1____value1_sample_text_7b550efa06   has status   DONE
DEBUG: Asking scheduler for work...
DEBUG: Done
DEBUG: There are no more tasks to run at this time
INFO: Worker Worker(salt=932163268, workers=1, host=CA1952.local, username=****, pid=64804) was stopped. Shutting down Keep-Alive thread
ERROR: Uncaught exception in luigi
Traceback (most recent call last):
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/retcodes.py", line 74, in run_with_retcodes
    worker = luigi.interface._run(argv)['worker']
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/interface.py", line 248, in _run
    return _schedule_and_run([cp.get_task_obj()], worker_scheduler_factory)
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/interface.py", line 208, in _schedule_and_run
    logger.info(execution_summary.summary(worker))
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/execution_summary.py", line 424, in summary
    return _summary_wrap(_summary_format(_summary_dict(worker), worker))
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/execution_summary.py", line 358, in _summary_format
    str_output += '{0}\n'.format(_get_str(group_tasks[status], status in _PENDING_SUB_STATUSES))
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/execution_summary.py", line 148, in _get_str
    params = _get_set_of_params(tasks)
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/execution_summary.py", line 191, in _get_set_of_params
    params[param] = {getattr(task, param[0]) for task in tasks}
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/execution_summary.py", line 191, in <setcomp>
    params[param] = {getattr(task, param[0]) for task in tasks}
TypeError: unhashable type: 'dict'

Result:
Outputs failure on CLI but task outputs expected text file.
cat case1.txt
-> text: sample text, dict: {'key1': 'value1', 'key2': 'value2'}
Case 2.
Parsing with luigi.Parameter inside luigi.Config .
Command:
CLI Output:
/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py:284: UserWarning: Parameter "task_process_context" with value "None" is not of type string.
  warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))
DEBUG: Checking if TestCase2(text=sample text) is complete
INFO: Informed scheduler that task   TestCase2_sample_text_543f36b081   has status   PENDING
INFO: Done scheduling tasks
INFO: Running Worker with 1 processes
DEBUG: Asking scheduler for work...
DEBUG: Pending tasks: 1
INFO: [pid 65217] Worker Worker(salt=964552474, workers=1, host=CA1952.local, username=****, pid=65217) running   TestCase2(text=sample text)
DEBUG: Not all parameter values are hashable so instance isn't coming from the cache
/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py:284: UserWarning: Parameter "dic" with value "{'ckey1': 'value1', 'ckey2': 'value2'}" is not of type string.
  warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))
INFO: [pid 65217] Worker Worker(salt=964552474, workers=1, host=CA1952.local, username=****, pid=65217) done      TestCase2(text=sample text)
DEBUG: 1 running tasks, waiting for next task to finish
INFO: Informed scheduler that task   TestCase2_sample_text_543f36b081   has status   DONE
DEBUG: Asking scheduler for work...
DEBUG: Done
DEBUG: There are no more tasks to run at this time
INFO: Worker Worker(salt=964552474, workers=1, host=CA1952.local, username=****, pid=65217) was stopped. Shutting down Keep-Alive thread
INFO:
===== Luigi Execution Summary =====

Scheduled 1 tasks of which:
* 1 ran successfully:
    - 1 TestCase2(text=sample text)

This progress looks :) because there were no failed tasks or missing dependencies

===== Luigi Execution Summary =====

Result:
CLI outputs Warning but works as expected.
cat case2.txt
-> text: sample text, dict: {'ckey1': 'value1', 'ckey2': 'value2'}
Case3.
Parsing with luigi.DictParameter inside luigi.Config.
Command:
PYTHONPATH='.' LUIGI_CONFIG_PARSER='toml' LUIGI_CONFIG_PATH='config.toml' pipenv run luigi --module test TestCase3 --local-scheduler
CLI Output:
/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py:284: UserWarning: Parameter "task_process_context" with value "None" is not of type string.
  warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))
DEBUG: Checking if TestCase3(text=sample text) is complete
INFO: Informed scheduler that task   TestCase3_sample_text_543f36b081   has status   PENDING
INFO: Done scheduling tasks
INFO: Running Worker with 1 processes
DEBUG: Asking scheduler for work...
DEBUG: Pending tasks: 1
INFO: [pid 65260] Worker Worker(salt=050177714, workers=1, host=CA1952.local, username=****, pid=65260) running   TestCase3(text=sample text)
ERROR: [pid 65260] Worker Worker(salt=050177714, workers=1, host=CA1952.local, username=****, pid=65260) failed    TestCase3(text=sample text)
Traceback (most recent call last):
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/worker.py", line 199, in run
    new_deps = self._run_get_new_deps()
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/worker.py", line 139, in _run_get_new_deps
    task_gen = self.task.run()
  File "/Users/****/tmp/*****/test.py", line 52, in run
    dic = TaskConfig3().dic
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/task_register.py", line 88, in __call__
    param_values = cls.get_param_values(params, args, kwargs)
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/task.py", line 420, in get_param_values
    if not param_obj.has_task_value(task_family, param_name):
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 229, in has_task_value
    return self._get_value(task_name, param_name) != _no_value
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 200, in _get_value
    for value, warn in self._value_iterator(task_name, param_name):
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 218, in _value_iterator
    yield (self._get_value_from_config(task_name, param_name), None)
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 197, in _get_value_from_config
    return self.parse(value)
  File "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 991, in parse
    return json.loads(s, object_pairs_hook=_FrozenOrderedDict)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 341, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not dict
DEBUG: 1 running tasks, waiting for next task to finish
INFO: Informed scheduler that task   TestCase3_sample_text_543f36b081   has status   FAILED
DEBUG: Asking scheduler for work...
 Shutting down Keep-Alive thread
INFO:
===== Luigi Execution Summary =====

Scheduled 1 tasks of which:
* 1 failed:
    - 1 TestCase3(text=sample text)

This progress looks :( because there were failed tasks

===== Luigi Execution Summary =====

Result:
Task fails and produces no outputs.

@orsinium Can you look into this since you added the TOML config support?

@dlstadther, assign me this task, please. I'll debug this later.
@adamist521, thank you for detailed report. This is very helpful, I guess.

@adamist521, you can use fixes from #2539. Your test cases works for it. Thank you for issue submission :)


Add support for dhall format

Adds a new formatter dhall-format used for dhall.

Hmmm, if this formatter can automatically delete code comments, I am not sure we should enable it by default...

Is it supposed to be nondestructive and this is a bug? Or is it illegal to put comments in the place where there is one in your example?

good catch, it seems this is a bug that has been reported upstream: https://github.com/dhall-lang/dhall-lang/issues/1275.

OK, we can add support for the formatter, but not enable it by default, since it has this destructive behavior.


Error when refetching over existing connection

Describe the bug
When fetching fields during a second pass at pulling information from an existing connection a Javascript error pops up:
Type Error: Cannot read properties of undefined (reading 'type'). Comes from handling of Object Describes.
To Reproduce
Steps to reproduce the behavior:

Connect to an org.
Pull list of objects, use default selection and moved to proposed schema tab.
Pull list of fields.
Go back to objects tab and repull all objects.
Unselect all, and select just one.
Move to proposed schema tab again and fetch details.

Expected behavior
The fields from selected object are fetched
Desktop (please complete the following information):

OS: Windows 10
Target Database: MySQL
SF2SQL Version: 0.6.0

Struggling to reproduce my own bug report in development environment.  Will continue to research. If anyone else encounters this suggested changes to reproduction instructions are welcome.


Fix README

The README file contains some typos and capitalization mistakes. This PR aims to fix that in order to make the file more aesthetically pleasing.
Many thanks for creating this tool.

Thank you, much appreciated.


Improve error log by sending image url

Thank you for contribution!

Thanks to you for this awesome project!


patiobar with cron

I'm trying to run patiobar/pianobar with crontab but I can't seem to get the audio to actually work. The only error message in a log I've gotten is something like "can't start audio device". Any suggestions for how to run this with Cron?

From a quick Google search, there's an env variable that needs to be set (which isn't set when cron jobs run). I am not too familiar with getting sound working, so I can't give any more info than that to help.
However, a work around is to do something similar to what I do. I have a service that detects when my phone is connected to the network. If it's been an hour or more since the last connection, it'll trigger patiobar to start

@K37V1N Yeah, I'd say this is almost certainly an env var issue, as @cph015 mentioned.
Is this in your own crontab (crontab -e), or root's crontab, or some other user?
If it is your own user, you should already be in the audio group.
From what I'm reading, you'll need to get the XDG_RUNTIME_DIR env var from your current session:
env|grep -i runt
XDG_RUNTIME_DIR=/run/user/1000

And then set that in your crontab, something like: * 1 2 3 4 5 XDG_RUNTIME_DIR=/run/user/1000 /path/to/what/you/are/starting.sh
But let me ask, why are you running Patiobar in cron?  I'm curious about your usecase.

I'm doing this on a raspberry pi, and using Raspbian for the OS. I'm editing the cron with crontab -e, so I believe it's running with the default user of "Pi".
User case is running music for animals in a shelter/adoption environment. I'm wanting to be able to turn on music at say 11am which is after the feeding and walking in the morning, and before the adoption floor is open. We've setup an hour long nap time for them, so I'd like some calm classical music type stuff to play during that time and for it to automatically start playing without anyone having to do anything. I'd also like it to be able to stop at the end of the day so the music isn't playing the entire night. Our behaviorists have talked about calming music possibly being a calming influence on the dogs behavior and I'm curious if it will be. I'm also curious if the music starts at the exact same time everyday (the same time the lights turn off/dim) if that will help trigger the dogs to take a nap.
I'll give the XDG_RUNTIME_DIR a test and see what I can get to happen. Just for clarification, what is the "=/run/user/1000" part of that command?

That is a very noble cause!  Sounds like a good use case for running this via cron.

env | grep -i runt: If you run env, it lists all of your current environment variables.   | grep -i runt pipes the output of env in to grep, and searches for a case-insensitive (-i) match for runt.  runt matches XDG_RUNTIME_DIR.  Doing env | grep XDG_RUNTIME_DIR would give you the same result.
XDG_RUNTIME_DIR=/run/user/1000: This is the output from the env | grep -i runt command.  In this case, XDG_RUNTIME_DIR is the name of the variable, and /run/user/1000 is the value assigned to that variable.

Here's an example where I'm searching for the PWD, which returns two variables, and then for OLDPWD, which only returns one.  The env | wc -l line shows that there are 50 environment variables in my current session.
kjohnson@Kyles-MacBook-Pro ~ % env | wc -l
      50
kjohnson@Kyles-MacBook-Pro ~ % env | grep PWD
PWD=/Users/kjohnson
OLDPWD=/Users/kjohnson/Patiobar
kjohnson@Kyles-MacBook-Pro ~ % env | grep OLDPWD
OLDPWD=/Users/kjohnson/Patiobar
kjohnson@Kyles-MacBook-Pro ~ %


Remove hack for old mobile clients

This FIXME was added in 50d229fe11d0da46dfa38e7943074d2cdf70d02b.
Considering it's been more than 4 years, we can probably safely remove
it now.

Automated message from Dropbox CLA bot
@jhurwitz, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @jhurwitz!


_parse_taxii_filters function issue for v2.1

Hi, oasis-open team.
Thank you for your effort.
I am using your repository to build a web service.
Btw I got an issue with TAXIICollectionSource._parse_taxii_filters
I use taxii2.1
TAXII_FILTERS = ['added_after', 'id', 'type', 'version']
I need to use 'next' and 'limit' parameters. but I couldn't change TAXII_FILTERS.
So that I had to re-define TAXIICollectionSource._parse_taxii_filters.
    def _parse_taxii_filters(self, query):
        """Parse out TAXII filters that the TAXII server can filter on

        Does not put in TAXII spec format as the TAXII2Client (that we use)
        does this for us.

        Note:
            Currently, the TAXII2Client can handle TAXII filters where the
            filter value is list, as both a comma-seperated string or python
            list.

            For instance - "?match[type]=indicator,sighting" can be in a
            filter in any of these formats:

            Filter("type", "<any op>", "indicator,sighting")
            Filter("type", "<any op>", ["indicator", "sighting"])

        Args:
            query (list): list of filters to extract which ones are TAXII
                specific.

        Returns:
            A list of TAXII filters that meet the TAXII filtering parameters.

        """
        taxii_filters = []

        for filter_ in query:
            if filter_.property in ['added_after', 'id', 'type', 'version', 'limit', 'next']:
                taxii_filters.append(filter_)

        return taxii_filters

can you update the issue?

Hi; this actually looks like an issue for https://github.com/oasis-open/cti-python-stix2, which is where TAXIICollectionSource comes from.
I opened an issue there to track this: https://github.com/oasis-open/cti-python-stix2/issues/510.

oh, sorry.
thank you.


Add python3-setuptools to install list

Installing python3-setuptools was required on a fresh ubuntu 18.04 VM image. Otherwise the next line fails with "no module setuptools"

Motivation and context

How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

@alexespencer , thanks for the contribution!


Added Morris Preorder Traversal in Trees under C++

👨💻 Changes proposed
Added the code of Morris preorder Traversal in C++
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
please review my PR
📷 Screenshots

please review my PR @Kumar-laxmi

Please review my PR @Kumar-laxmi , i have added Morris Traversal (Preorder) code and it is working!!

Please review my PR @072arushi and tell me if some changes needed

Please review my PR @Kumar-laxmi @072arushi and tell me if some changes needed


One roundtrip doesn't work

I am trying to use one roundtrip, but it seems not to work.
In browser it seems everything to be ok:
http://localhost:3000/socket.io/?token=JWT%20eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI1NmU4NjJkMzdlMmI0NmQ5NjkxZmE5MTgiLCJuYW1lIjoicSIsIl9fdiI6MH0.8qBoqlSjpymgQFU_DcVPLM5VcuOqOThH96AA99wpxVY&EIO=3&transport=websocket&sid=QpwxBPrxpQn3iGX3AAAC
As you see above JWT is provided, but on the server side nothing happens...
How can I debug my code to determine what is wrong?
I inserted console.log('Function authorize') in socketio-jwt index.js file, and this is printed out to console just after restarting the server (so I guess, that I loaded socketio-jwt correctly). But after authenticating on server nothing happens (no errors etc.) I also check that I have connection with server, because, when I shut down the server, on browser start to fetching socket.io constantly, and after restarting server browser gets connected. But authentication doesn't work...
Any help greatly appreciated, because I don't know if this is a bug in socketio-jwt or I am doing something wrong.

I didn't realize that I must insert something like:
socket.on("error", function(error) {
    alert(error.type + '\n' + error.message + '\n' + error.code);
});

on the client side to see the error.
But the error message is simply invalid token, without any further information. This is strange for me, because I did not even see in source code of socketio-jwt such message for invalid_token code (I see only invalid token datatype,  jwt must be provided, jwt malformed or jwt signature is required), but I get simply invalid token message... What am I doing wrong?
Maybe we can add information in README.md about types of error that may occur and how to handle it?

OK, never mind, my mistake. I provided token:
JWT%20eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI1NmU4NjJkMzdlMmI0NmQ5NjkxZmE5MTgiLCJuYW1lIjoicSIsIl9fdiI6MH0.8qBoqlSjpymgQFU_DcVPLM5VcuOqOThH96AA99wpxVY
with additional 'JWT ' before.
Token must be provided without string like 'JWT ':
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI1NmU4NjJkMzdlMmI0NmQ5NjkxZmE5MTgiLCJuYW1lIjoicSIsIl9fdiI6MH0.8qBoqlSjpymgQFU_DcVPLM5VcuOqOThH96AA99wpxVY
Now everything works like a charm :)

Thanks for the explanation and following up!
Is there something in the README wrong?

Everything with README is ok, but maybe it is possible to provide more information about showing and handling errors. For me it was unobvious that this errors doesn't appear in console on the server side, but only on client side.


bug in safari

Thanks for your share. But when I browser the demo in safari on my Mac,  i scroll up, it does't work.

1.4.1 版本已修复此问题


Test could be reported as pass even when Vim crashes on exit

This change ensure that tests fail if vim crashes or fail.
Right now, if vim crashes late when exiting, for example when freeing memory with -DEXITFREE, then all tests could be reported as passing, despite vim crashing.

Included with path 8.0.0272


[Suggestion] It would be better to add hyperlink to warning for using Azurite extension

OS: Win10
Build Version: 20210206.4
Repro Steps:

Make sure there is no Azurite extension installed.
Expand Local Emulator -> Right click the "Blob Containers" node -> Select "Create Blob Container...".
Check the result.

Actual:
There is an error "...reason: connect ECONNREFUSED <IP_ADDRESS>:10000".

Suggestion:
It would be better to add hyperlink to warning for using Azurite extension, such as:

More Info:
This issue also reproduces for the "Queue" node of Local Emulator.

If you expand "Blob Containers" and click "Start Blob Emulator" (without Azurite installed) a notification to install Azurite is shown.

But I think it's useful to throw a more helpful error if you try to create a blob container without starting the emulator.


einsum using cublas

Close #1197.
Method: Call <T>gemmStridedBatched via cupy.matmul.
This PR also closes #1199, and closes #1214.

I pasted my git history into this PR for the readability.

Any plan on merging this in the near future? As shown in #1275 (and maybe somewhere else, too), at the moment cupy.einsum is there but it is not really useful if you can use it only for toy matrices ...

Fixed

LGTM.


Exception NUnit.Core.UnsupportedFrameworkException

I am using Nunit Adapter 3.2.0 and Nunit Core Framework 3.2.1 to build my selenium C# GUI automation project.
Case 1:
Running the solution in my local desktop work fine with no errors. Adapter is able to identify test methods and execute
Case 2:
Deploying this build in a dev CI server complies with no errors, but when the test fails to execute the referred test dll. Its throwing below exception..
Exception NUnit.Core.UnsupportedFrameworkException, Exception thrown executing tests in L:\Builds\xx\xxxxx\xxxxxAutomation_Nunit\bin\xxxxxAutomation_Nunit.dll
Done all analysis to solve, no luck. Hence posting for help.

NUnit.Core.UnsupportedFrameworkException is an exception issued by NUnit V2 when finding either no test framework, or a framework other than NUnit V2.
Your CI machine is apparently using NUnit V2 rather than NUnit 3.


Add state to Connection object

Currently, if the Connection hasn't been established yet, a
websocket._exceptions.WebSocketConnectionClosedException is thrown and the program crashes. Instead, this should be handled gracefully:
Either Prevent calls to the API while the Connection is still attempting to connect
Or
Return a False value or similar to indicate failure.

Fixed in 4c0fe739c339c4baa3bc35a9eedb1231f5689837


about cuda+pytorch+3060TI version？

The minimum cuda version supported by the 3060ti is 11.1. I installed 11.3, and the corresponding pytorch is 1.12.1. An error occurred during training, but I cannot reduce cuda and pytorch, because the 30 series video card does not support the lower version cuda?
“OSError:     /usr/local/lib/python3.8/dist-packages/spconv-1.2.1-py3.8-linux-x86_64.egg/spconv/libspconv.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceISt7complexIdEEEPKNS_6detail12TypeMetaDataEvself._handle = _dlopen(self._name, mode)”

Hello my friend, can you complete the training process by 3060ti gpu?

Hello my friend, did you have complete the training process by 3060ti gpu?


Add mssql support

Fixes #591.
Notes on MSSQL:

no TRUE or FALSE literals in mssql.

Use 1 and 0 instead

cannot give an alias to the table when update: in update table as t set xxx = xxx, as t is invalid
mssql doesn't allow circular cascade paths on foreign keys (see this stackoverflow answer)
some words are not allowed as identifiers (like users)

Add a utils.QuoteDbIdentifiers and utils.QuoteSql functions to quote identifiers in SQLs in any dialectors

use datetimeoffset instead of timestamp for datetime when modeling.

Use CustomTime for datetime properties/columns and don't specify type using tag. CustomTime will choose correct type for all dbs

no join using

use regular join on instead

Tested functionalities:

[x] Login and Register
[x] Collect data from wakatime plugins
[x]  Dashboard
[x] Projects
[x] Leaderboards
[ ] Email (not data yet)
[ ] Integration with wakatime

[x] sync to wakatime.com
[ ] import data (import can start, but no data can be downloaded. error is Get "https://api.wakatime.com/api/v1/users/current/data_dumps": unexpected EOF. seems not related to db.

Let me know when you want me to go for another round of review!

Let me know when you want me to go for another round of review!

Thanks for your review. Definitely! I focused only on the mssql functionalities in the last few days. I will try with other dbs and fix the problems. Some problems seem to be pretty annoying, especially the foreign key constraint one. It may take a few days to fix all of these.

Hello, I think it's now ready for another review.

Very cool, thank you so much! Only found one last issue.
Every heartbeat has a hash property that is used for detecting duplicates. The heartbeats table has a unique index defined on the according column and in the repository, we effectively set ON CONFLICT DO NOTHING (see here) when inserting new heartbeats. This causes duplicate heartbeats to be silently ignored and prevents from clutter in the database. However, this mechanism doesn't seem to work with MSSQL.
Try inserting the same heartbeat twice in a row:
curl --location 'http://localhost:3000/api/heartbeat' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR-BASE64-HASHED-API-KEY>' \
--data '[{
    "entity": "/home/user1/dev/project1/main.go",
    "project": "wakapi",
    "language": "Go",
    "is_write": true,
    "type": "file",
    "category": null,
    "branch": null,
    "time":<PHONE_NUMBER>.955
}]'

Both requests should result in a 201 response status, while only heartbeat entry is actually inserted to the database. When running with MSSQL, I'm getting a 500 error for the second request, though, alongside the following error message:
[ERROR] failed to batch-insert heartbeats - mssql: Cannot insert duplicate key row in object 'dbo.heartbeats' with unique index 'idx_heartbeats_hash'. The duplicate key value is<PHONE_NUMBER>a774d0)

Any ideas how to work around this?

Very cool, thank you so much! Only found one last issue.
Every heartbeat has a hash property that is used for detecting duplicates. The heartbeats table has a unique index defined on the according column and in the repository, we effectively set ON CONFLICT DO NOTHING (see here) when inserting new heartbeats. This causes duplicate heartbeats to be silently ignored and prevents from clutter in the database. However, this mechanism doesn't seem to work with MSSQL.
Try inserting the same heartbeat twice in a row:
curl --location 'http://localhost:3000/api/heartbeat' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR-BASE64-HASHED-API-KEY>' \
--data '[{
    "entity": "/home/user1/dev/project1/main.go",
    "project": "wakapi",
    "language": "Go",
    "is_write": true,
    "type": "file",
    "category": null,
    "branch": null,
    "time":<PHONE_NUMBER>.955
}]'

Both requests should result in a 201 response status, while only one heartbeat entry is actually inserted to the database. When running with MSSQL, I'm getting a 500 error for the second request, though, alongside the following error message:
[ERROR] failed to batch-insert heartbeats - mssql: Cannot insert duplicate key row in object 'dbo.heartbeats' with unique index 'idx_heartbeats_hash'. The duplicate key value is<PHONE_NUMBER>a774d0)

Any ideas how to work around this?

It is because of a bug in sqlserver dialector. An issue for it has been opened for a long time, but have not got response from gorm authors yet. I tried to fix it (attempted fix commit) but it didn't work, and the problem seems too complicated.
I developed a workaround that for mssql, all heartbeats will be inserted one by one, and errors caused by duplicate hash will be ignored. It guarantees correctness but impacts performance. Considering most of time only one heartbeat will be inserted at once, I think the performance penalty should be acceptable.
Another alternative approach is to write raw sql just for mssql. But mssql doesn't support on conflict clause. Although there are a lot of ways to emulate the behavior, all of them are so complex that I think it is not worth it.

Thanks a lot for the detailed explanation and for the fix. I think it's very reasonable as a workaround. Again: :pray: :raised_hands:.

I'll let the code run in production for a short while and push out a new release soon if no errors pop up (likely tomorrow or so).


publishableKey

It would be helpful to declare, how to set the publishableKey variable.

Here's an example for your nuxt.config.js file:
modules: [
    ['stripe-nuxt', STRIPE_PUBLISH_KEY_HERE],
  ],


[MNT] Testing fail

Describe the issue
I'm seeing this type of fail quite often over the last week
=========================== short test summary info ============================
FAILED aeon/testing/tests/test_all_estimators.py::test_all_estimators[check_fit_updates_state(estimator=RDSTClassifier(max_shapelets=20),datatype=EqualLengthUnivariate-Classification-np-list)] -F
e.g.
https://github.com/aeon-toolkit/aeon/actions/runs/10863339134/job/30147372111?pr=2052
any ideas?
Suggest a potential alternative/fix
No response
Additional context
No response

subsumed by #2071


Add currying to accommodate variable public key across all four chialisp files.

Suggestion of "grantosan" via Twitter 2022-04-4

Completed successfully.


developer roles

Are you ok if I set your role as maintainer retired for this plugin?
@stephenc
@kohsuke
@olamy
@mc1arke
@oleg-nenashev

fine with me


Group creation / selection doesn't seem to work

I can see it is possible to create groups because they appear to be there in the ReactTodoExample.  However, it isn't clear at all how multi-select is supposed to work.  Does multiple selection actually work on Windows, or is this related to: https://github.com/noflo/noflo-ui/issues/28?

Doesn't appear to be only Windows. I'm assuming this is a regression in the latest the-graph release. Will have to be investigated.

I've gone back through releases of the-graph as far as version 10.3 without finding one that this appears to work with.  Can you confirm what key selection should be triggering this?  Is this ctrl-right click correct?  This appears to work with arrows, not elements.

Looks like it was in noflo-ui after all, see #1036


Link or upload embedding.txt

In run.py, this file is needed:
with open('data/embedding.txt') as fe:

I think you can use glove embedding.


Post offer

most up-to-date post-offer page, waiting on the updated routes/models to make the final API call to update the database with the new items (will come back to this once backend is set up).

So should we merge this one or not?

So should we merge this one or not?

For now, yeah so I can keep other branches up to date and reuse the components.


Enable Algolia to enable seach feature

Enable Algolia to enable search features.
Site need to get registered on https://docsearch.algolia.com/apply/

Update: Algolia has accepted our request.


Could not decode image: 'logo-white-bgblue.svg'

https://chrome.google.com/webstore/detail/single-spa-inspector/emldbibkihanfiaiaghebffnbahjcgcp
Cannot install the extension.
Version 72.0.3626.119 (Official Build) (64-bit)
Mac os 10.14.3 (18D109)

ah looks like it's because chrome/chromium can't take svgs as the icon, whereas Firefox can.
the solution appears to be to just make a .png of the logo and change the manifest to refer to it instead of the svg.

Please build a new release!
The bug is preventing the installation of the plugin... :(

I believe we submitted it already, but the chrome store takes days to approve and then roll out the update. Hopefully it's out there soon!

Just as a status update: looks like we're still waiting on google to review the app and publish the latest update. I've seen it take up to 5 days before, so we're on day 3 now I think :/

Looks like the chrome store finally published the update, and I was able to install it. Let me know if you have any other issues!

That's all working now.
Thanks for publishing the new version!

I converted all images to .png and set it to tab background, NTP bg,....etc... but it still pop up the error "Could not decode image 'myImage.png' ". Could someone give me another solutions? Tks!

I converted all images to .png and set it to tab background, NTP bg,....etc... but it still pop up the error "Could not decode image 'myImage.png' ". Could someone give me another solutions? Tks!

I think you're in the wrong repo?
Could create a new issue and explain the context of the problem that you've run into?


: URLEncode URL after rewriting

I just saw a bug on my system where I pass in spaced paths.  When I submit
/stuff/more%20stuff
it gets transcribed by the proxy to
/stuff/more stuff
which fails when calling the backend.  Based on your group discussion both getPath() and getQuery() should be changed to getRawPath() and getRawQuery() in URLUtil.java

Hi All,
We found one more issue which is regarding Path parameter. you have fixed query parameter decoding but path parameter is still there.
Please replace getPath() to getRawPath(). it will resolve our issue.

Hello sachingarg123,
i am currently testing a change for getRawPath() but have to fix some other issues before i can continue. I would like to make sure that i am fixing the right thing here:
public static String getPathQuery(URIFactory uriFactory, String uri) throws URISyntaxException {
		URI u = uriFactory.create(uri);
		String query = u.getRawQuery();
		String path = u.getRawPath();
		return (path.isEmpty() ? "/" : path) + (query == null ? "" : "?" + query);
	}

where u.getRawPath() is
public String getRawPath() {
		if(uri != null)
			return uri.getRawPath();
		return path;
	}

Is that right?

Yes, it is correct, i tested in my local after extending RewriteInterceptor and using java.net.URI getRawPath of my own.


Nameplates display only when clicked.

Describe the issue
Nameplates dissapeared, and are only displayed when clicking on another character. No settings were changed in game or in addon itself. Everything is set as per instructions. Im using Blizzard Nameplates.
Expected behaviour
They should be visible all the time when module and setting in game is correctly selected.
Issue checklist
Please select any applicable options from the below list.

You can replace the "[ ]" with "[x]" for each option below to tick it.

[x] The issue occurs with the latest version of the addon.
[ ] The issue occurs with Total RP 3 as the only enabled addon.
[ ] The issue occurs only with other addon(s) enabled (please provide a list).

Steps to reproduce
Give us a list of steps to reproduce the issue with.

Go to '...'
Click on '....'
Scroll down to '....'
See error

Additional files
Please attach any additional applicable files such as screenshots, error logs, or profile data files. Files can be dragged and dropped into this report to attach them for upload.

This is an issue introduced by Blizzard in 10.1, they will fix it themselves but in the meantime you can use the command /run SetCVar("nameplatePlayerMaxDistance", 60) to get them back.

Thank you so much!
I was wondering if it was the game update that messed it up.
czw., 4 maj 2023 o 11:24 Solanya @.***> napisał(a):

This is an issue introduced by Blizzard in 10.1, they will fix it
themselves but in the meantime you can use the command /run
SetCVar("nameplatePlayerMaxDistance", 60) to get them back.
—
Reply to this email directly, view it on GitHub
https://github.com/Total-RP/Total-RP-3/issues/762#issuecomment-1534384482,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7TK5CRP4JDSVYCQTWAKXSTXENYTDANCNFSM6AAAAAAXVPTXKY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Create ValuedModelPart interface

https://hibernate.atlassian.net/browse/HHH-15795

This was already merged, so closing the PR


Bug in vendor display screen:500 internal server error

Location- https://tgbooks.vercel.app/purchase/vendors/55
procedure-
-click on any vendor  and view the display screen
-click on new transaction button
-click on expenses

issue solved !


 Parameter SKU is deprecated

Why are we deprecating SKU? This is the only CLI command customers can use the upgrade their IP from Basic to Standard

@msyyc please take a look

The deprecation is to fix https://github.com/Azure/azure-cli/issues/12570. In the future, sku can not be updated after creation for public ip.

@msyyc, please double check if sku can be upgraded from Basic to Standard. I guess it cannot be downgraded from Standard to Basic, but it can be upgraded from Basic to Standard.

for service, it cannot be downgraded from Standard to Basic, but it can be upgraded from Basic to Standard. So azure-cli keep correspondence with service. We will remove the 'deprecation' message.


Refactor release Dockerfile

Signed-off-by: Bogdan Vaneev<EMAIL_ADDRESS>

Description of the Change

Use env variables instead of fixed parameter names (config.docker, genesis.block)
Autodetect postgres host and blocks dir based on config json (by cost of installing small jq utility in release Dockerfile).
Enable error mode (-e) and debug mode (-x), so that you don't need to echo all variables to get their values. Output will be something like+ GENESISBLOCK_PATH=genesis.block
+ CONFIG_PATH=config.docker
+ POSTGRES_PORT=5432
++ cat config.docker
++ jq -r .pg_opt
++ grep -Eo 'host=(.*?)\s'
++ cut -d= -f2
++ xargs
++ cat config.docker
++ jq -r .block_store_path
+ BLOCKS_PATH=/blocks
+ POSTGRES_HOST=iroha.postgres

Change ENTRYPOINT to CMD: idiomatically entrypoint works as a prerequisite script for CMD. Example:$ docker run -it --entrypoint /bin/bash -xe -c ubuntu "echo 1"
# is the same as
$ docker run -it ubuntu /bin/bash -xe -c "echo 1"

So, when blocking entrypoint is defined (as version before change), any commands docker exec -it <container> bash will be also blocked. This change fixes this behavior.
Add wait-for-it.sh inside container, so it will not fail if that script called.
Add grpc healthcheck

Benefits
1-2. Flexible deployment
3. If error mode is enabled, then all scripts succeeded (expected behavior). If debug mode is enabled, then you can see what commands were executed, what what variables were passed to env vars.
4. Now you can do docker run -it <container> bash. Before change, it did not work.
5. Bugfix, which could let container fail.
6. Other tools that can check docker healthcheck can now check if iroha is started
Possible Drawbacks

You may forget to call /run-iroha.sh from the /opt/iroha_data dir and end up with bash errors because default variables contain paths in "current dir". By default /run-iroha.sh is called from the workdir, so this is not really a drawback.

Not relevant any more


How to verify the two passwords don't match?

怎么验证两次密码不一致？
How to verify the two passwords don't match?

You can use custom validators, see example where passwords are compared and password strength is also tested:
https://jsfiddle.net/fergal_doyle/9rn5kLkw/


Allow server IDs to be configurable

It would be awesome if the exporter could allow a set of server IDs to be configured - currently the list of "closest" servers is chosen, but having this be configurable would mean being able to test speeds to multiple different locations, allowing testing of transatlantic links etc

2nd.
It does seem like its available to set manually, but appears you have to rebuild the docker container if using docker. Line 19 of prometheus_speedtest.py


daos: fix bug in cont create

When creating a destination container,
create a POSIX type container when the source
is a POSIX path.
Signed-off-by: Dalton Bohning<EMAIL_ADDRESS>

Looks fine to me.  Thanks @daltonbohning and @dsikich

Looks fine to me. Thanks @daltonbohning and @dsikich

Thanks @adammoody !


Added link to the famous THE BASH GUIDE

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @mbgitgitmb, thank you for the PR! However, we do not accept PRs that only add links.
I'm going to close this PR, but feel free to open a new one with more content. Happy coding!


check for globalThis.

Since browsers do not have globalThis attribute this will cause some problems, I fixed the problem by providing a small check, for typescript compilation this shouldn't affect current behaviour, but for browsers this will make fortune-sheet importable :)
globalThis error should not be handled by vite otherwise creates dependency there

This would solve #315 without using vite, I believe

I made a small typescript error. I apologize, Simply ignore the {} in the end

yeah i just noticed that the job failed, are you raising a new pr

Yeah I can fix

also, can you please ensure that your code is linted upon saving? we have a check enabled for that too.

also, can you please ensure that your code is linted upon saving? we have a check enabled for that too.

ahh let me check, I didn't know about that, checking right now :)


Combine map() + each()

Is there a way, that I have missed, to get the guaranteed sequential processing of each() and the return of a modified array of map()?

This is how each behaves in 3.0

in 2.0 you can implement map using reduce.
Bluebird.reduce(promiseArray, (items, item) => {
  items.push(doSomething(item));
  return items;
}, []);

[insert boilerplate scolding for asking questions in an issue rather than on stackoverflow or gitter here]

@phpnodd feature requests are fine on the issue tracker :)

@phpnode I meant as 95% feature request, 5% self-doubt-maybe-there's-a-trick-I'm-missing. :) Thanks for the alternate method.

@phpnode Thank you for providing this workaround :) I've been trying to use this, but I couldn't figure out how to use this if the doSomething(item) function call returns a promise? As it is, I'm receiving the resulting items array as an array of promises.
I tried the following, that aren't helping:
// 1: Try to resolve the promise while pushing it to the 'items' array
Bluebird.reduce(promiseArray, function (items, item) {
  items.push(doSomething(item).then(function (i) { return i })) // Still results in array of promises
  return items
}, [])

// 2: Try returning the resulting array, then use '.all(array)' to resolve the resulting array of promises
function resolveInSequence = function (promiseArray) {
  return Bluebird.reduce(promiseArray, function (items, item) {
    items.push(doSomething(item))
    return items
  }, [])
}

Promise.all(resolveInSequence(promiseArray))
  .then(function (results) {
    console.log(results) // Displays the array. But the sequence is gone awry again
  }

I double-checked the input promiseArray and it's providing the correct sequence of numbers to process. However, the processing done by the doSomething function seems to takes a little longer in a couple instances, causing the sequence to go awry. Is there any way around this?


Fix: tests not passing because api workaround, disabling

No-Issue
Temporary fix for workaround: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/api/ui/viewsets/collection.py#L112
Please merge on Approve

:+1: needed because of the changes in https://github.com/ansible/galaxy_ng/pull/1351, revert after https://issues.redhat.com/browse/AAH-1794


Support for styled components

Styled components are great. Except I don't know how I can use them with custom RN components.
Example
Suppose I am using KeyboardAwareScrollView and I want to make it's styling reusable through styled components. SafeAreaView works fine but not KeyboardAwareScrollView
Currently I get an error when I do this:
const KeyboardAwareScrollView = styled.KeyboardAwareScrollView`
  flex: 1;
  justify-content: center;
  align-items: center;
`;

const SafeAreaView = styled.SafeAreaView`
  flex: 1;
  background-color: ${Colors.defaultWhite};
`;

const LoginScreen = ({ navigation }) => {
  const dispatch = useDispatch();

  return (
    <SafeAreaView keyboardShouldPersistTaps="handled">
      <KeyboardAwareScrollView
        extraHeight={200}>
        ...
      </KeyboardAwareScrollView>
    </SafeAreaView>
  );
};

I get this error
Error
Unhandled JS Exception: TypeError: _styledComponents.default.KeyboardAwareScrollView is not a function. (In '_styledComponents.default.KeyboardAwareScrollView(_templateObject())', '_styledComponents.default.KeyboardAwareScrollView' is undefined)

Anyone know a workaround?

Same problem here.

import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scrollview';
const MyAwareScrollView = styled(KeyboardAwareScrollView)/* your css */;


⚠ Exoticaz has degraded performance

In ff35bf3, Exoticaz ($EZ) experienced degraded performance:

HTTP code: 200
Response time: 4247 ms

Resolved: Exoticaz performance has improved in 53b8830.


Support for binary hint and identity strings in Python 3

Hi @drbild, great work on this library. I have a script that is running fine with python2 but fails in python3. It seems to have problems when either the hint or identity contain non-unicode sequences.
This fork had intended to fix it, but it doesn't seem to be working with my system.
https://github.com/M4dmartig4n/sslpsk/commit/157f063b66a0d5f148860c45de04458eac96935d
When hint is of type bytes:
Traceback (most recent call last):
  File "./psk-frontend.py", line 111, in <module>
    main()
  File "./psk-frontend.py", line 107, in main
    p.data_ready_cb(s)
  File "./psk-frontend.py", line 78, in data_ready_cb
    self.new_client(_s)
  File "./psk-frontend.py", line 68, in new_client
    hint=self.hint)
  File "/usr/local/lib/python3.6/dist-packages/sslpsk/sslpsk.py", line 104, in wrap_socket
    _ssl_set_psk_server_callback(sock, cb, hint)
  File "/usr/local/lib/python3.6/dist-packages/sslpsk/sslpsk.py", line 80, in _ssl_set_psk_server_callback
    _      = _sslpsk.sslpsk_use_psk_identity_hint(_sslobj(sock), hint if hint else "")
TypeError: argument 2 must be str, not bytes

Here the identity is non-unicode, position 20 is indeed 0xfc.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 20: invalid start byte

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./psk-frontend.py", line 111, in <module>
    main()
  File "./psk-frontend.py", line 107, in main
    p.data_ready_cb(s)
  File "./psk-frontend.py", line 78, in data_ready_cb
    self.new_client(_s)
  File "./psk-frontend.py", line 68, in new_client
    hint=self.hint)
  File "/usr/local/lib/python3.6/dist-packages/sslpsk/sslpsk.py", line 110, in wrap_socket
    sock.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
SystemError: <class 'ssl.SSLError'> returned a result with an error set

For reference, the script being used is part of tuya-convert, which creates a connection with Tuya IoT devices. As a workaround we're forcing python2, but since python2 is being deprecated I'd like to get it working in python3.
Oddly this only seems to impact some users, others have reported that python3 works fine for them. This makes me think it might be a problem with part of the build process in different environments.
Thanks in advance for any insight you might have into this issue.

Thanks for the detailed report and kind words, @kueblc .
I've never tried with a non-UTF8-compatible psk or identity hint before.
Can you please try with this branch: https://github.com/drbild/sslpsk/tree/use-byte-string-for-identity-hints?  It updates the whole library to use byte-strings, instead of unicode strings, for both psks and identity hints.

Hi @drbild, thanks for getting back to me so quickly. I'm having some unrelated computer issues so I haven't been able to test this yet. I will do so ASAP and get back to you then.

I can confirm this resolves the issue for me on Ubuntu 18.04, OpenSSL 1.1.1, Python 3.6.8.
Thank you so much for the quick resolution!

Ping! It'd be great to see a release with this + #11 merged in :)

Fixed by #20


How to implement CASE WHEN THEN ELSE END statement?

I using mybatis-dynamic-sql to write sql , after investigate the sourse code i can't find a way to implement
CASE
WHEN condition THEN  value
WHEN condition THEN  value
ELSE value
END

Case expressions aren't supported currently. I will look at adding some basic support for them.


[Request] "Actor Move To" variations

I'd like to preface this that I'm having a lot of fun using this wonderful tool, but, with the "actor move to" command, or it's relative counterpart on the develop branch, it would be nice to implement variations, such as a speed variable that allows objects to move faster or slower, since it's frequently too slow for something things and too fast for others.
I also wonder if a "diagonal" option would be possible, rather than it's "L" shaped movement

Movement Speed options were added in the latest Development update from the "Performance" update.
6423cd4


Any issue with Dunghill parser?

Seems like the last victim were not detected (supply technologies llc)

exact, I've correct it for now but i modify permanently the parser.
Thank you for noticing.
I'll keep this Issue open till I'll modify the parser

Fixed


Slow queries returning "RST_STREAM with error code 2"

When running a slow query (30+ seconds), I'm getting the following error:
pyarrow._flight.FlightInternalError: Flight returned internal error, with message: Received RST_STREAM with error code 2. gRPC client debug context: UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {created_time:"2023-05-26T17:31:53.650218-06:00", grpc_status:13, grpc_message:"Received RST_STREAM with error code 2"}. Client context: OK
I'm storing stock market information in my database, and running this query:
        SELECT
        DATE_BIN(INTERVAL '5 minutes', time) as date,
        symbol,
        selector_first(open, time)['value'] as open,
        selector_last(close, time)['value'] as close,
        selector_max(high, time)['value'] as high,
        selector_min(low, time)['value'] as low,
        sum(volume) as volume
        from minute_bar
        GROUP BY symbol, date
        ORDER BY symbol, date

When running using the influxdb data explorer, this query takes around 2 minutes to run.  I consistently get this same error when using the flightsql-dbapi python library to run the query

I just realized this error might be related to the size of the returned dataset, not the time it takes to stream the response body.

Just following up - I have been able to verify that the error occurs on slow queries only returning a single row.  It doesn't appear to be a problem with the number of rows returned.


cask extfs download url update

hey,
thanks for this very nice project.
I detected that the download link for the extfs casks
https://github.com/caskroom/homebrew-cask/blob/master/Casks/paragon-extfs.rb
is out of date. As I got in touch with their support for another issue I asked for the current url which is
http://dl.paragon-software.com/demo/extmac10_trial.dmg
The "old" link points to version 9 which is outdated.
Would be nice if the cask could be updated.
Thanks

perfect, thanks ;)


Crawl Github

Did this for those repositories from the first round that got all to the end, and were found on the first two pages.


closes #127 add installation instructions

Closes #127 .
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue so that it closes after successful merging.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done!  Much love to your accomplishment!

@thomas-neitmann do we usually include updates like this only after CRAN submission has been accepted? i'm wondering if they would fail us if we assume CRAN release already in our README that we submit to them.

do we usually include updates like this only after CRAN submission has been accepted

Yes, we do.

OK thanks @thomas-neitmann - i took the release tag off the issue then and we can merge this one only later.

@rossfarrugia , should we merge it into pre-release?
Then we could merge pre-release into main to publish it together with the fixes for CRAN comments.


Sign SegWit Transaction

I'm trying to get a grip on segwit transactions using NBitcoin and am struggling with the signing mechanisms.
I am using the example from https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki#Native_P2WPKH as the starting point and am trying to get from the unsigned transaction to the signed one using NBitcoin.
My signing attempt is below. So far I haven't been able to get the correct witness data to generate. Is there a flag I am missing on the Coin object or transaction?
HexEncoder hex = new HexEncoder();

Key txInKey0 = new Key(hex.DecodeData("bbc27228ddcb9209d7fd6f36b02f7dfa6252af40bb2f1cbc7a557da8027ff866"));
Key txInKey1 = new Key(hex.DecodeData("619c335025c7f4012e556c2a58b2506e30b8511b53ade95ea316fd8c3286feb9"));

var p2wpkhTx = Transaction.Parse("0100000002fff7f7881a8099afa6940d42d1e7f6362bec38171ea3edf433541db4e4ad969f0000000000eeffffffef51e1b804cc89d182d279655c3aa89e815b1b309fe287d9b2b55d57b90ec68a0100000000ffffffff02202cb206000000001976a9148280b37df378db99f66f85c95a783a76ac7a6d5988ac9093510d000000001976a9143bde42dbee7e4dbe6a21b2d50ce2f0167faa815988ac11000000");

var txIn0 = p2wpkhTx.Inputs.First();
txIn0.ScriptSig = new Script("2103c9f4836b9a4f77fc0d81f7bcb01b7f1b35916864b9476c241ce9fc198bd25432ac");
var coin0 = new Coin(p2wpkhTx, 0);
coin0.Amount = Money.Parse("6.25");

var txIn1 = p2wpkhTx.Inputs.Last();
//txIn1.ScriptSig = new Script("00141d0f172a0ecb48aee1be1f2687d2963ae33f71a1");
txIn1.WitScript = new Script("00141d0f172a0ecb48aee1be1f2687d2963ae33f71a1");
var coin1 = new Coin(p2wpkhTx, 1);
coin1.Amount = Money.Parse("6");

p2wpkhTx.Sign(new Key[] { txInKey0, txInKey1 }, new ICoin[] { coin0, coin1 });

Console.WriteLine(p2wpkhTx.ToHex());
Console.WriteLine(p2wpkhTx.ToString(RawFormat.BlockExplorer));

string correctSignedTx = "01000000000102fff7f7881a8099afa6940d42d1e7f6362bec38171ea3edf433541db4e4ad969f00000000494830450221008b9d1dc26ba6a9cb62127b02742fa9d754cd3bebf337f7a55d114c8e5cdd30be022040529b194ba3f9281a99f2b1c0a19c0489bc22ede944ccf4ecbab4cc618ef3ed01eeffffffef51e1b804cc89d182d279655c3aa89e815b1b309fe287d9b2b55d57b90ec68a0100000000ffffffff02202cb206000000001976a9148280b37df378db99f66f85c95a783a76ac7a6d5988ac9093510d000000001976a9143bde42dbee7e4dbe6a21b2d50ce2f0167faa815988ac000247304402203609e17b84f6a7d30c80bfa610b5b4542f32a8a0d5447a12fb1366d7f01cc44a0220573a954c4518331561406f90300e8f3358f51928d43c212a8caed02de67eebee0121025476c2e83188368da1ff3e292e7acafcdb3566bb0ad253f62fc70f07aeee635711000000";

Console.WriteLine($"P2WPKH correct serialisation ? {p2wpkhTx.ToHex() == correctSignedTx}."

I think that when you're using the Coin approach way of signing, you don't need to set ScriptSig like you do here:
txIn0.ScriptSig = new Script("...")
txIn1.WitScript = new Script("...");

See https://bitcoin.stackexchange.com/questions/59231/how-to-sign-a-segwit-transaction-via-nbitcoin
Also you should make sure to use latest version of NBitcoin, as a recent change has been introduced (https://github.com/MetacoSA/NBitcoin/commit/56bfd1cbca535424b160d8a40688a79de4800630) so that you don't need to call ToScriptCoin() method.

@NicolasDorier can we mark the ScriptSig setter method as deprecated or something?

The example I'm working is P2WPKH so I shouldn't need to use ScriptCoin's should I?
I found Script.SignatureHash which seems to be what I need but I haven't managed to get it to spit out the correct hash yet.
Script scriptCode = new Script("1976a9141d0f172a0ecb48aee1be1f2687d2963ae33f71a188ac");             var sigHash = Script.SignatureHash(scriptCode, p2wpkhTx, 1, SigHash.All, Money.Parse("6"), HashVersion.Witness);

@sipsorcery take a look at https://bitcoin.stackexchange.com/questions/59231/how-to-sign-a-segwit-transaction-via-nbitcoin the only difference is that you don't need the ToScriptCoin part.
You should not attempt to fill any scriptSig or witScript manually, Sign will do it given you use the correct Coin and keys.
You are correct: If you use P2WPKH, then you have no need of ScriptCoin.

Got it now, thx.


 Before we can scaffold your project, we have a few questions

? What should we call this project? test
? What should we call this project? test
? Select a frontend framework / library (Use arrow keys)
? Select a frontend framework / library react
? Would you like to use StorybookJS? (y/N)
? Would you like to use StorybookJS? No
? Would you like to have git initialized? (y/N)
? Would you like to have git initialized? No
? Show verbose logs? (y/N)
? Show verbose logs? No

Setting up your D.I.R.T Stack application...
Setting up project with log mode: Quiet

- Setting up Django...
× Failed to setup Django. See below.
Error: Django scaffold error: ENOENT: no such file or directory, access 'C:\Users\user\.virtualenvs\ten\python3'

I have encountered the same problem in the new Windows env that I set-up and I will be working on the solution. Stay tuned for an update that addresses the Windows setup issue.

Progress update: the CLI is now able to scaffold project for Windows. There are a few things left to resolve and code to clean up. A release with all the fixes will be out in the next few days

@npmSteven The Windows issue has now been resolved. Please try scaffolding the project again. The command should use the latest version from NPM. Thanks for helping test the windows scaffolding process and be sure to let me know if you run into other issues.


Put guards on Mods in case they are null due to missing from projmods

Helps with https://github.com/onevcat/XUPorter/issues/56

Just realized this is somewhat duplicate of https://github.com/onevcat/XUPorter/pull/48/commits/00b2c1214ded82a08a38fcd02fa2711b7956a8e2 ... which is missing "plist" for null check.


Test website release

News
Documentation of new functions
New vignettes

@Roche-GSK/admiral-devs To complete this task, please checkout the pre_release branch, restart your R session, run renv::restore() (to install the {admiral.test} package) and then run pkgdown::build_site() to build the website locally.
Please address any inding you encounter directly inside the pre_release branch and push your changes. Ideally you comment your findings prior to that here sucht that others are aware and we do not duplicate work. As mentioned in the comment above, please focus your review on the NEWS.md file, documentation pages of new function (make sure to check examples!) and new vignettes.

@Roche-GSK/admiral-devs , the NEWS.md looks quite incomplete. I am not sure how we should fix it. How can we identify the issues affecting this release? @thomas-neitmann , how did you do it for the releases before?

I am going to add the new vignettes to NEWS.md.

@bundfussr Last time I looked through all pull requests closed since the last release and identified issues that way. Will start doing the same today.

I'm going to remove the "SDTM datasets" section on the reference page as these datasets have been moved to {admiral.test}.

ADAE and ADCM are not listed on the website.

I'm going to add a new section for the tte_source objects.

The output variables of derive_vars_dtm_tm() are not displayed in the examples.

There are also some typos in the documentation and the hms package is not mentioned.

@thomas-neitmann , are you going to update derive_vars_dtm_to_tm() or should I do it?

I've pushed some updates to that function.

The programing flow and the sections are out of sync in the ADSL vignette. I will update them.

On the OCCDS vignette the links to the scripts are missing. I will add them.

The programing flow and the sections are out of sync in the BDS Findings vignette. I will update them.

@hamzarahal is missing as a author in DESCRIPTION. I'll add him.

tte_source(), event_source() and censore_source() are missing examples. The latter to also don't have a link to derive_param_tte(). I'll update.

For me the loading of some of the vignettes takes quite a long time and is producing messages that the page is not responding. Do you observe the same?
I guess it is due to the size of some of the interactive tables. We could shorten those with more than 1000 observations.
What do you think?

I do not get this message... Could you post a screenshot? However, in general I agree that 1000 observations shouls be more than sufficient.

@bundfussr I feel like we should not export the tte_source() function. This might leaad to confusion for users. If they use tte_source() directly rather than event_source() and censor_source() they would get an error when passing the objects into derive_param_tte().

I get the message for the BDS finding and BDS exposure vignette.

Same here with those vignettes. The wheel keeps spinning but the tables are not displayed. Let's make dataset_vignette() display only a subset of rows.

@thomas-neitmann , I agree, we need tte_source only internally.

I would add the restriction rather in the call than in the function because otherwise it could happen that the observations of interest are not displayed, e.g., if summary records are added at the end of the dataset.
What do you think?

That sounds like a rather manual process :/
How about we restrict the number of subjects in ADVS at the start of the vignette to only a subset?

OK, I'll try to restrict VS and EX at the beginning.

In the documentation of the ADaM datasets the link to the script is out of date. I'm going to fix it.


Training on multiple timeseries

Hello,
First of all I would like to thank you for this excellent framework.
A question, some in-built networks like DeepAR are able to be trained multiple times on multiple timeseries. Is this currently possible with HyperTS, and if so, how would you do it? We have a collection of dozens of timeseries, with covariates that behave in a similar way, and our model would benefit greatly from being trained on all of them.

Thank you for your interest in HpyerTS. Currently, the built-in DeepAR only supports univariate (with covariates) time forecasting task.


Table with numbered rows

i don't think it was HOC worthy, especially since renderData is custom to each table, but definitely open for changes here.
you need to do three things to add numbered rows for now:

Add  in the header
Add  as a column in renderData
add the .table-numbered class on the table

maybe there would be something simpler, thoughts are welcome
@otaillon

Coooooooooooooooooooool stuff Michel !

Is the box wider than in the mockup (60px vs 40px) to allow for bigger number ?
Text color of the row number should be #5D7289
There seems to be a weird display bug where the background color of the position column doesn't reach the row's border. There's like 1px of white
Also the bottom border of the second column is weirdly cut. (See attached screenshot)


Import deck hangs

Describe the bug
when Importing a decklist the dialog box keeps showing the loading icon
example deck: https://www.channelfireball.com/articles/standard-mono-red-when-to-play-a-land-before-experimental-frenzy-and-a-sideboard-guide/?_ga=2.209824469.1345593552.1542295872-363772558.1524843674
To Reproduce
Steps to reproduce the behavior:

Go to 'https://mtgarena.pro/deckbuilder/'
Click on 'import dack.'
past the decklist
loading icons stays for ever

Expected behavior
Have the deckbuilder showing the deck
Additional context
A work arround is using the deckconverer https://mtgarena.pro/converter/ pasting the list and then choose show in deckbuilder
-> the decklist is loaded correctly but wont be saved when clicking save

It's fixed now.