text:
In tests, class GoFileType is unavailable at runtime with 2024.3eap

What happened?
This test compiles, but does not run:
https://github.com/jansorg/2024.3-godep-demo/blob/main/src/test/kotlin/dev/ja/godepdemo/godepdemo/GoFileTypeActionTest.kt
GoFileType is available at compile time, but is not available at runtime.
With 2024.2, the test is passing.
It's not passing with 2024.3 eap.
Adding a dependency on intellij.go.frontback does not work, because the module doesn't exist (apparently, although there's a intellij.go.frontback.xml).
With 2.1.0 and 2024.3 eap it's currently not possible to develop Go-aware code.
Relevant log output or stack trace
No response
Steps to reproduce

Clone https://github.com/jansorg/2024.3-godep-demo.git
Run tests

Gradle IntelliJ Plugin version
2.1.0
Gradle version
8.10.2
Operating System
Linux
Link to build, i.e. failing GitHub Action job
No response

It's also broken for PhpFileType

Add at least one bundled plugin dependency, I think just anyone might work, without it things do not work as expected.

I think the issue is that when you  have no bundled plugins & modules and add just a 3rd party plugin, when you start an IDE everything seems to work because the Gradle plugin does not attempt to disable non-included bundled plugins, because they are bundled. But, when you run tests somehow it does that. You can see that in the log file I mentioned.
On the left is just Go in tests (not loaded), on the right is go +
bundledPlugin("com.intellij.platform.images")
bundledPlugin("com.intellij.copyright")
bundledPlugin("com.intellij.java")

On the bottom is runIde task logs

Probably the proper workaround for now is look for a log like:
2024-10-15 15:11:41,840 [    316]   INFO - #c.i.i.p.PluginManager - Module intellij.platform.images.backend.svg is not enabled because dependency com.intellij.platform.images is not available
Module intellij.platform.images.copyright is not enabled because dependency com.intellij.platform.images is not available
Module intellij.kotlin.onboarding-promoter is not enabled because dependency kotlin.features-trainer is not available
Module intellij.profiler.ultimate is not enabled because dependency com.intellij.java is not available

And add what it wants.
This reminds me of https://youtrack.jetbrains.com/issue/IDEA-337162

It may be actually caused just by com.intellij.modules.json dependency. Go added that in 243:

Also adding just bundledPlugin("com.intellij.modules.json") fixed the build.
Also this code might be playing a role here:
https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/5fd4e690bab462522f988dbe2ccb451228eb69f5/src/main/kotlin/org/jetbrains/intellij/platform/gradle/providers/ModuleDescriptorsValueSource.kt#L62
https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/a4e556c9e1162466f8c0fa7d042462661b835f49/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt#L1180

Oh, my. Thank you, that would explain it!
I really wish transitive (and available) dependencies would be added automatically...

Yeah, adding them is a bit tricky. A bit more on what is going on.
In 243 Go plugin has only these dependencies (if its modules are not taken into account):
<plugin id="com.intellij.modules.lang"/>
<plugin id="com.intellij.modules.ultimate"/>
<plugin id="com.intellij.modules.go-capable"/>
<module name="intellij.platform.vcs.impl"/>

JSON here probably was part of the default IDE capabilities, i.e. always available on the classpath.  So it was not defined as a dependency.
Then JSON was moved into a bundled plugin. Which may seem irrelevant, since it is bundled, so why should it matter. So in 243 JSON was added to Go plugin dependencies:
<plugin id="com.intellij.modules.lang"/>
<plugin id="com.intellij.modules.ultimate"/>
<plugin id="com.intellij.modules.go-capable"/>
<plugin id="com.intellij.modules.json"/>
<module name="intellij.platform.vcs.impl"/>

It is important to note, that all these dependencies in the list (except JSON in 243) also look like a part of the default IDE capabilities, i.e. always available on the classpath.
It seems that when the test task runs, it behaves differently from the runIde task:

runIde by default loads all bundled plugins
test task starts the IDE in a headless mode with all plugins disabled, including bundled plugins.

Which means that in 243 the test task does not load JSON by default, unless a dependency is declared on it. Go probably was not loaded simply because it has a non-optional dependency on JSON.
The reason why bundledPlugin("com.intellij.modules.json") because it adds JSON plugin to test's classpath, so that it can be loaded in runtime.
As far as I know, this plugin does look at dependencies of the 3rd party plugins and does not add them automatically to the classpath.
https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/bf8fc7fa180ef9c797d18e3b66b3f743532449a3/src/main/kotlin/org/jetbrains/intellij/platform/gradle/shim/PluginArtifactoryShim.kt#L71
Again, it does not  matter (not visible) during runIde because it loads everything. But it matters in tests.
To fix this, either:

Everyone should declare dependencies on all transitive dependencies of all 3rd party plugins added as a dependency.
This plugin should add those dependencies automatically once plugin zip is downloaded, which is a bit tricky because it is a zip, and it is unzipped not using a transform. So after it is unzipped we have to look inside and parse its plugin.xml

Currently the code above does not declare any dependencies for the created IvyModule.

Actually, it's almost the same as #1791. The only difference is that here the plugin which is not loaded automatically is com.intellij.modules.json instead of intellij.charts
And from my POV such required dependencies should be loaded automatically (at least if we are talking about bundled plugins) like common transitive dependencies of your external plugins
@hsz WDYT?

@Undin For bundled plugins, dependencies are added:
https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/33af9bdd1d0d8b996b911781ab23013dd14997f4/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt#L773
Even transitive (notice the recursion):
https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/33af9bdd1d0d8b996b911781ab23013dd14997f4/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt#L839

@Undin Yes, maybe. Try to open Gradle tool window and go to dependencies. You will notice that bundled plugins could have many transitive dependencies.

(I do not guarantee that it will look the same for you, because I am using my own build of the plugin with not yet released changes.)

Anyway, it's quite unexpected that converting bundled IDE module into bundled plugin (i.e. pure internal thing) may break tests. And it may take quite a lot of time to understand the reason if you haven't faced with similar things before

@AlexanderBartash Sorry, but I don't understand what you want to say. I understand that bundled plugins have dependencies, that it's possible to find them either with Gradle tool window or inside ivy xml files located in intellijPlatform/localPlatformArtifacts dir.
But all these facts don't help, unfortunately. At least, from the users' point of view. And I don't think that it's ok to force users to dive into dependencies of bundled plugins and how intellij platform gradle plugin works. It should just work. Currently, it doesn't work in this way ⇒ it should be fixed

@Undin I just updated my https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1798#issuecomment-2416922554 above, with a more proper example. In the database plugin you can see transitive deps, why grid.impl does not have any deps there is a mystery to me.

@AlexanderBartash Sorry, but I don't understand what you want to say. I understand that bundled plugins have dependencies, that it's possible to find them either with Gradle tool window or inside ivy xml files located in .intellijPlatform/localPlatformArtifacts dir. But all these facts don't help, unfortunately. At least, from the users' point of view. And I don't think that it's ok to force users to dive into dependencies of bundled plugins and how intellij platform gradle plugin works. It should just work. Currently, it doesn't work in this way ⇒ it should be fixed

Those dependencies in Gradle tool window or in Ivy files are exactly the transitive dependencies created by this plugin. Links to the code provided in https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1798#issuecomment-2416746369
Those dependencies should be available on the classpath.

@Undin Just for clarification, because it was confusing me too. Those ivy files do not mean that plugins are downloaded from a real ivy repo. Those files are created by this plugin in a dir, then the dir is simply registered in Gradle as a local Ivy repo, so that Gradle can understand where to find the jars by looking at Ivy files.
If we assume that this plugin has a bug leading to a missing transitive dependency, it will be missing in the Ivy files too, because the plugin creates them. Also it will be missing in that Gradle tool window, because that is probably the same as ./gradlew dependencies
That is simply the way this plugin adds dependencies to Gradle today.

@Undin There is a bug with recursion in https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/33af9bdd1d0d8b996b911781ab23013dd14997f4/src/main/kotlin/org/jetbrains/intellij/platform/gradle/extensions/IntelliJPlatformDependenciesHelper.kt#L839
That is the reason for #1791

@jansorg Thanks for reporting.
With the recent changes, your demo project works correctly, and all tests have passed.
@AlexanderBartash introduced some changes that now include all dependency plugins correctly in the tests runtime classpath.
I have also adjusted how that classpath is prepared. Before, only the bundled modules were included, which prevented bundled plugins from being present, causing #1791.
Now, all bundled plugins are also present in the runtime classpath but not in the compilation classpath, so you won't include their classes by accident.

authors: AlexanderBartash Undin hsz jansorg


text:
Fix deprecated input fields not showing up

It seems the default introspection query has (includeDeprecated: true) commented out, why was this the case in the first place? It seems the commit that added deprecated fields, included these as comments in the same commit: https://github.com/JetBrains/js-graphql-intellij-plugin/commit/b81990f213472dad552a4d64d53d8bba3fa0b54f
We're having trouble fetching Shopify's GraphQL schema without it, which has a lot of input fields marked as deprecated:
https://shopify.dev/docs/api/admin-graphql/2024-07/input-objects/ProductVariantInput#field-productvariantinput-fulfillmentserviceid

The reason querying some deprecated fields and arguments is not enabled by default is that they are still in the draft spec of GraphQL, and not every server supports them. I tried making a request with your changes to some public API and received the following response:
{
  "data": null,
  "errors": [
    {
      "message": "Unknown argument \"includeDeprecated\" on field \"args\" of type \"__Directive\".",
      "locations": [
        {
          "line": 13,
          "column": 14
        }
      ]
    },
    {
      "message": "Unknown argument \"includeDeprecated\" on field \"args\" of type \"__Field\".",
      "locations": [
        {
          "line": 28,
          "column": 12
        }
      ]
    },
    {
      "message": "Unknown argument \"includeDeprecated\" on field \"inputFields\" of type \"__Type\".",
      "locations": [
        {
          "line": 37,
          "column": 17
        }
      ]
    },
    {
      "message": "Cannot query field \"isDeprecated\" on type \"__InputValue\".",
      "locations": [
        {
          "line": 59,
          "column": 5
        }
      ]
    },
    {
      "message": "Cannot query field \"deprecationReason\" on type \"__InputValue\".",
      "locations": [
        {
          "line": 60,
          "column": 5
        }
      ]
    }
  ]
}

There is actually a workaround for your case. You can manually define an introspection query in the plugin settings. The UI is poor because it is an advanced option, and I am not sure if it has ever been used before, but it works.
Please, put that query to the Introspection > Query field in the settings:
query IntrospectionQuery {
  __schema {
    queryType { name }
    mutationType { name }
    subscriptionType { name }
    types {
      ...FullType
    }
    directives {
      name
      description
      locations
      args(includeDeprecated: true) {
        ...InputValue
      }
      isRepeatable
    }
  }
}

fragment FullType on __Type {
  kind
  name
  description
  fields(includeDeprecated: true) {
    name
    description
    args(includeDeprecated: true) {
      ...InputValue
    }
    type {
      ...TypeRef
    }
    isDeprecated
    deprecationReason
  }
  inputFields(includeDeprecated: true) {
    ...InputValue
  }
  interfaces {
    ...TypeRef
  }
  enumValues(includeDeprecated: true) {
    name
    description
    isDeprecated
    deprecationReason
  }
  possibleTypes {
    ...TypeRef
  }
}

fragment InputValue on __InputValue {
  name
  description
  type { ...TypeRef }
  defaultValue
  isDeprecated
  deprecationReason
}

fragment TypeRef on __Type {
  kind
  name
  ofType {
    kind
    name
    ofType {
      kind
      name
      ofType {
        kind
        name
        ofType {
          kind
          name
          ofType {
            kind
            name
            ofType {
              kind
              name
              ofType {
                kind
                name
              }
            }
          }
        }
      }
    }
  }
}

I created a task WEB-68173 in our issue tracker.

source: gharchive/pull-request

authors: FrankHeijden vepanimas

repo: JetBrains/js-graphql-intellij-plugin

license: MIT

license_type: permissive

license_source: github-api


text:
Adding LaSalle College Montreal

College URL - https://www.lasallecollege.com/
My Course URL(2 years) - https://www.lasallecollege.com/business-and-technologies-school/aec-computer-programmer-analyst
Parent institution URL - https://www.lcieducation.com/

Please review my pull request @philipto

@trojansam Please provide us with a proof, which shows that the school recognizes the domain lcieducation.net you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@philipto
Here is the email which my institution sent me for my portal and all student activities.
I am attaching the image of the email
email link for image
if you want me to send the email to you please provide your email I will forward it to you!

@trojansam Thank you for the clarification. Pull request merged.

authors: philipto trojansam

repo: JetBrains/swot


text:
Add files via upload

request to add Universidad Politécnica de Pachuca

@Lorena521 First stage of verification passed, official domain is upp.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

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


text:
Add IAU

University official website URL: https://www.iau.edu.sa/en
CS curriculum page (see "Study Plan" tab): https://www.iau.edu.sa/en/colleges/college-of-computer-science-and-information-technology/programs/bachelor-of-science-in-computer-science-cs

@dev-otaher First stage of verification passed, official domain is iau.edu.sa as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@dev-otaher Pull request merged. Thank you.

authors: dev-otaher philipto


text:
Added Vrit College

Added Vrit College of IT and Management

@philipto how long does it takes for a PR to get merged?


text:
Added AUB Lebanon student mail

Institution/School Name
American University of Beirut
Instiution/School Website
aub.edu.lb
Email Users

[X] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[X] Alumni

Education Levels

[ ] Post-graduate research
[ ] Graduate School
[X] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

Proof

@hadighattas Please rename lib/domains/edu/mail.txt to lib/domains/edu/aub/mail.txt if you wish to add the email domain mail.aub.edu. Thank you!

@hadighattas Pull request merged. Thank you.

authors: hadighattas philipto


text:
Create irvingtonschools.txt

Add school

@10pendulums Pull request merged. Thank you!


text:
requesting to add HTL Perg

Dear @philipto I m sorry last time I accidentally forked the repo from leereilly/swot.
I hope this time everything there shouldnt be any problems.
If there is anything wrong dont hesitate and contact me.
Thanks in advance!
Official website of the school: https://htl-perg.ac.at/
Proof that the domain htl-perg.ac.at is used for mail addresses https://htl-perg.ac.at/organisation/lehrerteam

@ttimehhc Yes, you are right. everything is fine now. Pull request merged. Thank you!

authors: philipto ttimehhc


text:
Proxy settings on Windows

I have been using Outline for quite a while.
In earlier versions, Outline creates a system proxy on a random port when connected, and I just turn off the system proxy and use auto switch plugins in Chrome or Firefox for necessary traffics only.
But after a certain version, it no longer creates system proxy and forces all traffic through its connection. Auto switch plugins are not working as well.
Is this a feature? Or is there anything I can do to config about it?
Thanks.

Feature. You may want use ss-windows.
ryogishiki notifications@github.com 于 2018年12月7日周五 上午9:09写道：

I have been using Outline for quite a while.
In earlier versions, Outline creates a system proxy on a random port when
connected, and I just turn off the system proxy and use auto switch plugins
in Chrome or Firefox for necessary traffics only.
But after a certain version, it no longer creates system proxy and forces
all traffic through its connection. Auto switch plugins are not working as
well.
Is this a feature? Or is there anything I can do to config about it?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Jigsaw-Code/outline-client/issues/428, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AQVHEqSluxxCK-51hXTnqXgO2_zacNQLks5u2b_EgaJpZM4ZHmwa
.

@ryogishiki Thanks for trying Outline. I'm afraid @studentmain is correct, this is a feature - sorry it's not working for you right now but FYI we do have plans to implement selective proxying based on the application and/or destination:

https://github.com/Jigsaw-Code/outline-client/issues/180
https://github.com/Jigsaw-Code/outline-client/issues/8

source: gharchive/issue

authors: ryogishiki studentmain trevj

repo: Jigsaw-Code/outline-client

license_source: bigquery


text:
WIP: Adding UDP support to Socks5

Currently Socks5 in the SDK does not support UDP. The goal of this PR is to add UDP support which would be useful for getting measurements on UDP blocking.

duplicate of https://github.com/Jigsaw-Code/outline-sdk/pull/257

repo: Jigsaw-Code/outline-sdk


text:
READ THIS BEFORE CREATING A NEW ISSUE

Most of your issues could probably be solved if you use the installer from here
If you do have an actual issue, please post it here as this repository is no longer maintained for the time being.

Actually they're better going to one of the support servers as forks on GitHub don't have an issues page.

neither of the support servers are up half the time cause they're too big

authors: intrnl jesse0319 rauenzi

repo: Jiiks/BetterDiscordApp

license: mit


text:
Update the website

I've noticed an error in the documentation at the website. I spent over 8 hours pinning this down so it would be a shame if others ends up doing it as well.
On the page for the WebP-plugin it says you need msvcr110.dll from the Visual C++ Redistributable Package with a link to the VS2012 redist package. But in 1d92a36cecacae8e694ec0376154d6542f0bebc3 libwebp was updated to a newer version that requires msvcr120.dll from the VS2013 redist package instead  The new required package is available from https://www.microsoft.com/en-us/download/details.aspx?id=40784 and it would be great if the website was updated with this.

Sorry about that. I documented it on the Nuget package page but forgot to update the docs page. The docs are actually open source, stored in the gh_pages branch so if you are feeling adventurous they are there to update.

Sorry I missed the gh-pages branch, never thought you were using that since the pages are so customized. I've created a pull request #356 that clarifies the situation a bit more even for users of older versions.

authors: JimBobSquarePants karl-sjogren

repo: JimBobSquarePants/ImageProcessor


text:
Performance issue on CpuList (~30 sec refresh)

Library version
1.1.0
OS & OS version
Windows 10
Describe the bug
All results returning as expected, no errors produced, however, a couple of elements are taking excessively long to refresh.
CpuList refresh at ~30 seconds, NetworkAdapterList at ~1.1 seconds.  The rest are pretty much sub 100 millisecond territory.
To Reproduce
Steps to reproduce the behavior:

Execute RefreshCpuList

Expected behavior
Would be great if CpuList would return faster.  If there is no way around the slowness, perhaps you could isolate the slow bits, and add options around whether to refresh them or not so that there is a fast-path available to users that don't require the extra data.
Additional context
Inspection is running on a Win 10 x64 box.  Pretty standard workstation.
CPU:
{
"Caption": "Intel64 Family 6 Model 158 Stepping 9",
"CurrentClockSpeed": 4200,
"Description": "Intel64 Family 6 Model 158 Stepping 9",
"L2CacheSize": 1024,
"L3CacheSize": 8192,
"Manufacturer": "GenuineIntel",
"MaxClockSpeed": 4200,
"Name": "Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz",
"NumberOfCores": 4,
"NumberOfLogicalProcessors": 8,
"ProcessorId": "BFEBFBFF000906E9",
"VirtualizationFirmwareEnabled": true,
"VMMonitorModeExtensions": true
}
Motherboard:
{
"Manufacturer": "ASUSTeK COMPUTER INC.",
"Product": "MAXIMUS IX CODE",
}

Thank you for noticing, I will take a look when I have the time, perhaps this weekend.

I added https://github.com/Jinjinov/Hardware.Info/tree/master/Hardware.Info.Benchmark
I will try to isolate the slow parts tomorrow.

I added this to README:
Known issues
Hardware.Info uses WMI (Windows Management Instrumentation) on Windows OS. For certain queries WMI takes 21 seconds to initialize the first time you use it, after that all subsequent queries will execute immediately. If WMI isn't used for 15 minutes it will have to be initialized again the next time you use it.
The 21 second initialization delay is caused by RPC that WMI uses internally. In RPC documentation it says that the RPC/TCP time-out interval is defined with a SCMApiConnectionParam registry value located at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control and that the default value is set to 21,000 (21 seconds).

Thanks for looking into this.   Would the following code help by overriding the timeout?
  var managementScope = new ManagementScope(...);   managementScope.Options.Timeout = TimeSpan.FromSeconds(3);
Lifted from:
https://stackoverflow.com/questions/25275565/set-timeout-on-remote-wmi-when-rpc-server-is-unavailable
Alternatively, I can probably run a timer to bump the WMI services every 10 mins or so.  Would calling RefreshCPU be the lightest option for bumping WMI?

I have already looked into setting the timeout - some people have used it with varying degrees of success. It works for some, but others report that WMI returns empty results when querying with a timeout. Because of that I don't want to make it the default, but I am considering adding it as an option.
The two WMI queries used in RefreshCPUList are for Win32_Processor and Win32_PerfFormattedData_PerfOS_Processor and a few posts mentioning the 21 second delay also mention Win32_PerfFormattedData_PerfOS_Processor so I assume that this is the culprit, so I am considering isolating it in a separate method, because it only provides 2 out of 15 CPU property values.
Yes, if you don't want to use WMI yourself, calling RefreshCPUList would be the lightest option. The only lighter option is if you call:
using ManagementObjectSearcher mos = new ManagementObjectSearcher("SELECT * FROM Win32_PerfFormattedData_PerfOS_Processor")
{
    mos.Get();
}

constructor now has two parameters
public HardwareInfo(bool useAsteriskInWMI = true, TimeSpan? timeoutInWMI = null)

setting useAsteriskInWMI to false should in theory work faster:
string queryString = UseAsteriskInWMI ? "SELECT * FROM Win32_BaseBoard"
                                      : "SELECT Manufacturer, Product, SerialNumber FROM Win32_BaseBoard";

because SELECT * FROM works slower
now you can also exclude some queries:
RefreshCPUList(bool includePercentProcessorTime = true)

RefreshNetworkAdapterList(bool includeBytesPersec = true, bool includeNetworkAdapterConfiguration = true)

All the changes for this issue are finished, but I will test all these before I make a new NuGet.

Thanks for your efforts, that's awesome.   I'll test and provide feedback once the nuget is available.

The new code should work fine, but I didn't have the time to test it for performance.
The NuGet is available, any feedback is welcome :)


text:
Added ironic-dbsync to create ironic db schema

db_sync was missing, so added ironic-dbsync.
I will try to use upstream one, once undercloud worked.

I tried upstream ironic code, it is not working, it seems it expect new code for other modules like keystone. So we may have to use this code at this moment.

repo: JioCloud/puppet-ironic


text:
Logo For simple ToDo

Hi @jizu , I am a graphic designer, I want to help you in graphic design.
After I review your project, your app is very good but this app does not yet have a logo. Therefore I suggest a logo and icon for you. If you want it, I will design it for you and it's free.

Hello,  @somrat420 . It's great idea! Please, contact me by Gmail: ilya.ponomarenko.dev@gmail.com to discuss all the details.

Hi @jizzu this is the logo I have designed for your project, what do you think? Which one do you like? or if there is something part want to be changed please let me know

Which number do you like? It's free.

Hello, @somrat420 ! Thanks for your work and sorry for delayed response. I appreciate your efforts, but no one of this icons is not suitable for my app. Anyway, I wish you succeed in your endeavors.

repo: Jizzu/SimpleToDo


text:
Unable to connect to Loxone miniserver (gen1)

I'm unable to connect to local miniserver (gen 1). I know that get2 needs loxone DNS, but this is gen 1.
I'm connecting using direct IP address and I can connect using LoxGui just fine. Loxone is running on port 7777 if that makes any difference.
Is it a requirement to have the miniserver publicly accessible (I have nginx with tls termination in front of it for public access, but not when using direct IP address from homeassistant).
I'm using last version 0.3.4 of PyLoxone (master makes no different, I tried 0.2.9 - also the same result).
Here is the error:
homeassistant_1  | 2021-05-03 07:05:59 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry PyLoxone for loxone
homeassistant_1  | Traceback (most recent call last):
homeassistant_1  |   File "/usr/src/homeassistant/homeassistant/config_entries.py", line 249, in async_setup
homeassistant_1  |     result = await component.async_setup_entry(hass, self)  # type: ignore
homeassistant_1  |   File "/config/custom_components/loxone/__init__.py", line 131, in async_setup_entry
homeassistant_1  |     if not await miniserver.async_setup():
homeassistant_1  |   File "/config/custom_components/loxone/miniserver.py", line 111, in async_setup
homeassistant_1  |     res = await self.api.async_init()
homeassistant_1  |   File "/config/custom_components/loxone/api.py", line 380, in async_init
homeassistant_1  |     _ = await self._ws.recv()
homeassistant_1  |   File "/usr/local/lib/python3.8/site-packages/websockets/protocol.py", line 509, in recv
homeassistant_1  |     await self.ensure_open()
homeassistant_1  |   File "/usr/local/lib/python3.8/site-packages/websockets/protocol.py", line 812, in ensure_open
homeassistant_1  |     raise self.connection_closed_exc()
homeassistant_1  | websockets.exceptions.ConnectionClosedOK: code = 1000 (OK), reason = normally closed

Do you have the newest loxone firmware? If not please update.
Do you use HASSIO or manual installation?
Then you can try to delete the lox_token.cfg File. It should be located in the same folder where
the configuration.yaml is located.
If the error still occurs you can try to change the ip address of the PC where your home assistant is
running. I had strange problems with the connection because the loxone blocked my ip after a view
connection failures. I could only solve it with changing the IP address of my rasp.

I do not have latest firmware, I have 11.1.9.14. I'll try to update and will report back.
It's a manual installation in Docker.
Deleting the token didn't help, nor did changing IP address.
I'll sort out the update and will do some digging if that doesn't help.

@rnovacek  have you made any progress?

Sorry for the delay, waiting for the company that made my Loxone installation to do the upgrade to v12.

Ok come back if you still have problems and.reopen the issue. Until now I close it.

Updating to Loxone v12 did resolve the issue. Thanks for your help.

authors: JoDehli rnovacek

repo: JoDehli/PyLoxone


text:
Classe Boleto

Criação da classe boleto

Criação da classe boleto

repo: JoeDav/SistemaBancario


text:
Add option to delete past entries

This PR makes entries in the log tab swipeable from right to left, revealing a delete button.
As I recently downloaded the app and missclicked on a procrastination button, I found out the hard way that there was no way to cancel that action unless I created another account (losing all my stats, if I had some).
It adds a Firebase Analytics event called entry_delete with parameters reason and date.
It also requires that users have delete permissions on the Firestore collections answers.{uid}.answers, answers.{uid}.history and answers.{uid}.counter

Oh wow, thank you so much, I really appreciate this feature and it's been
requested a lot! 😊
It should be shipped with the next update!
On Fri, 21 May 2021 at 16:14, Aurélien @.***> wrote:

This PR makes entries in the log tab swipeable from right to left,
revealing a delete button.
As I recently downloaded the app and missclicked on a procrastination
button, I found out the hard way that there was no way to cancel that
action unless I created another account (losing all my stats, if I had
some).
You can view, comment on, or merge this pull request online at:
https://github.com/JoelGoalsWon/dontwaste-today/pull/1
Commit Summary

Add delete entry capability

File Changes

M src/api/analytics.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-34502fb43d48191df49d196053f80f64ba6d8c227f219d017151eebb0012ae0b
(12)
M src/api/constants.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-cc6d63f121492e95481ea91a9e9649298aaf65603fe909a4dc5e3b19334ca4b2
(1)
M src/api/firestore.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-59a4b4d4cbdce89fa1323269900f3f80c9b9f81e05c6530aae628a794d0e9f59
(89)
M src/redux/actions/answer.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-059c6a4230273ce79da61789f1ac379823273e3fafc80421d5e30616c890f15f
(8)
M src/screens/log/index.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-533f671ea759562885838594492f4cecdb53b7ec7032955243a8ec75a2b8f573
(90)
M src/screens/log/styles.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-63522858b8fbef47cef728a724b5ec86fda224b9a9131d6e93223ab1ea2507b8
(16)
M src/screens/question/style.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-260e2270f46f94ffe432751cb67c476abedea07dfe2981844c954f72c41f8de4
(2)
M src/screens/settings/style.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-7f6cf2ab17a5969f0e90b193eda78a5ca949bcfe9991541aeab6f3827f5cc688
(1)
M src/screens/stats/styles.js
https://github.com/JoelGoalsWon/dontwaste-today/pull/1/files#diff-a952aa4d1fc2aa1218ded1231e5d3301894cd5ba0f3bc734b32e27fd109876c5
(1)

Patch Links:

https://github.com/JoelGoalsWon/dontwaste-today/pull/1.patch
https://github.com/JoelGoalsWon/dontwaste-today/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JoelGoalsWon/dontwaste-today/pull/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT63JVZ6NBOWMA77QW3VOCLTO2WH5ANCNFSM45JW3NVQ
.

repo: JoelGoalsWon/dontwaste-today


text:
Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Users/sid/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
new AtomJsHint (/Users/sid/.atom/packages/atom-jshint/lib/atom-jshint.js:20:24)

closed as duplicate of #70

repo: Joezo/atom-jshint


text:
Restore original text if file selection is cancelled

At the moment all text is cleared.

Sorry @MartijnCuppens but can you show me the bug please ?

Ow, I just see the text is only cleared if:

click the field to open de file browser
select a file
click to open the file browser again
Cancel to clear the field

Result: no text is displayed

authors: Johann-S MartijnCuppens

repo: Johann-S/bs-custom-file-input


text:
Error: ENOENT: no such file or directory

So I'm getting the error below during the build of the project, the path is duplicated.
In my project using a root and outDir, custom.
const root = resolve(__dirname, 'src');
const outDir = resolve(__dirname, 'dist');

Error:
error during build:
Error: ENOENT: no such file or directory, open '/home/lu/dev/entardecer/src/home/lu/dev/entardecer/dist/assets/manifest.webmanifest'

The issue must be due to the absolute path provided for outDir, since as per the docs(https://vitejs.dev/config/build-options.html#build-outdir) outDir should be a relative path corresponding to the project root. I presume changing the outDir to the relative path should fix this issue
Also, It would be great if you share your Vite config file so I can able to reproduce this issue.

Using a relative path really works, however another problem arises. As I am developing an extension using vite, I use "@crxjs/vite-plugin" plugin to add HMR, and using relative path compiles more doesn't work.
vite.config.ts
import {resolve} from 'path';
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { crx } from "@crxjs/vite-plugin";
import manifest from './manifest.config';
import vitePluginFaviconsInject from 'vite-plugin-favicons-inject';

const root = resolve(__dirname, 'src');
const outDir = resolve(__dirname, 'dist');

// https://vitejs.dev/config/
export default defineConfig({
  root,
  plugins: [react(), crx({ manifest }), vitePluginFaviconsInject('./src/public/images/logo.svg')],
  build: {
    outDir,
    emptyOutDir: true,
    rollupOptions: {
      input: {
        main: resolve(root, 'pages', 'popup', 'index.html'),
        homepage: resolve(root, 'pages', 'homepage', 'index.html')
      }
    }
  }
})

Thanks, it worked.
vite.config.ts
import {resolve} from 'path';
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { crx } from "@crxjs/vite-plugin";
import manifest from './manifest.config';
import vitePluginFaviconInject from 'vite-plugin-favicons-inject'

const root = resolve(__dirname, 'src');
const outDir ='../dist';

// https://vitejs.dev/config/
export default defineConfig({
  root,
  plugins: [react(), crx({ manifest }), vitePluginFaviconInject('./src/public/images/logo.svg')],
  build: {
    outDir,
    emptyOutDir: true,
    rollupOptions: {
      input: {
        main: resolve(root, 'pages', 'popup', 'index.html'),
        homepage: resolve(root, 'pages', 'homepage', 'index.html')
      }
    }
  }
})

authors: JohnPremKumar lucasfernandodev


text:
Fix in HttpProcessor

Hallo!
Schöne Grüße aus Regensburg.
Ich habe festgestellt, dass im HttpProcessor noch Prozesse aktiv bleiben können und sich so der Prozess nicht sauber beendet.
Würde mich freuen den Fix im nächsten NuGet-Package zu finden.
Gruß
J.Holzer
Hier mein Check-in-Kommentar, der den Fix erklärt:
In WPF application the HttpProcessor was newer released and got stuck in method "StreamReadLine".
This causes the application to stay alive with a zombie-process...
By introducing IDisposable-interface an an "active" flag we can shut the processor down and by
putting the processor in "using (...)" it will be disposed once HttpServer is shut down.

Thanks, this will be in the next hotfix for sure! :+1:

authors: JohnnyCrazy jholzer

repo: JohnnyCrazy/SpotifyAPI-NET


text:
Luau Language Server client: couldn't create connection to server

[Error - 8:50:31 AM] Luau Language Server client: couldn't create connection to server.
Error: spawn EPERM
	at ChildProcess.spawn (node:internal/child_process:421:11)
	at Object.spawn (node:child_process:799:9)
	at c:\Users\jacob\.vscode\extensions\johnnymorganz.luau-lsp-1.32.0-win32-x64\dist\extension.js:2:878762
	at async B.createConnection (c:\Users\jacob\.vscode\extensions\johnnymorganz.luau-lsp-1.32.0-win32-x64\dist\extension.js:2:715580)
	at async B.start (c:\Users\jacob\.vscode\extensions\johnnymorganz.luau-lsp-1.32.0-win32-x64\dist\extension.js:2:706095)
	at async f (c:\Users\jacob\.vscode\extensions\johnnymorganz.luau-lsp-1.32.0-win32-x64\dist\extension.js:2:234910)
	at async t.activate (c:\Users\jacob\.vscode\extensions\johnnymorganz.luau-lsp-1.32.0-win32-x64\dist\extension.js:2:232266)
	at async c.n (c:\Users\jacob\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:144:6384)
	at async c.m (c:\Users\jacob\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:144:6347)
	at async c.l (c:\Users\jacob\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:144:5804)```

Only happens with v1.32.0 Does not happen with v1.31.1

Does this consistently occur for you? And do you have any repro steps?
Also are you on windows, and do you have the MSVC runtime already installed?

repo: JohnnyMorganz/luau-lsp


text:
[BUG] Error Downloading TikTok Posts Due to msToken API Error

错误的详细描述
在使用 f2 tk 命令尝试下载抖音帖子时，我经常遇到错误。相同的设置过程用于下载抖音（Douyin）时正常工作。
系统平台

点击展开

操作系统: Windows 11
Python 版本: Python 3.11.1
F2 版本: 0.0.1.5
浏览器: Firefox
网络环境: 美国，无代理

错误复现步骤

点击展开

在 douyin\Lib\site-packages\f2\conf\app.yaml 文件中设置抖音配置。
运行命令 f2 tk --auto-cookie firefox。
运行命令 f2 tk -u https://www.tiktok.com/@xxxx。

配置文件（app.yaml）：
tiktok:
  cookie: ak_bmsc=xxxx; passport_csrf_token=xxxx; passport_csrf_token_default=xxxx; multi_sids=xxxx; cmpl_token=xxxx; passport_auth_status=xxxx; passport_auth_status_ss=xxxx; sid_guard=xxxx; uid_tt=xxxx; uid_tt_ss=xxxx; sid_tt=xxxx; sessionid=xxxx; sessionid_ss=xxxx; ssid_ucp_v1=xxxx; tt-target-idc-sign=xxxx; tt_chain_token=xxxx; bm_sv=xxxx; store-idc=xxxx; ttwid=xxxx; odin_tt=xxxx; msToken=xxxx; tiktok_webapp_theme=light
  cover: false
  desc: false
  folderize: false
  interval: all
  languages: en_US
  max_connections: 5
  max_counts: 0
  max_retries: 4
  max_tasks: 6
  mode: post
  music: false
  naming: '{create}_{aweme_id}_{desc}'
  page_counts: 20
  path: ./Download
  timeout: 6

错误信息：
ERROR    msToken API错误：msToken 内容不符合要求
INFO     生成虚假的msToken
INFO     生成虚假的msToken
ERROR    解析
         https://www.tiktok.com/api/user/detail/?WebIdLastTime=1716643217&aid=1988&app_language=zh-Hans&app_name=tiktok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version=5.0%20(Windows%20NT%2010.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&channel=tiktok_web&cookie_enabled=true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=&region=SG&root_referer=https://www.tiktok.com/&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia/Hong_Kong&msToken=BsX4yCeHR4DH+4Z1kGkzncqJnTIraH3-ZL85kv0lC3us+O04tDhlndLqN7Ff8zZq134EIxtk06RDjnRFvhQRVgIHJFhJDRee+RcSZ8d6dWQ9k22tf5uVDevFoNkO3q43FlszpFZ1X2WzgFM9MP==&secUid=MS4wLjABAAAA1TQUIEMS7ThX22wMrfKDn1G_yIYHRQ4kCM3WxsgDUJbLYN5SExsIbJH_-L5YG-gY&uniqueId=&X-Bogus=DFS...
接口 JSON 失败： Expecting property name enclosed in double quotes: line 2 column 5 (char 6)
ERROR    API内容请求失败，请更换新cookie后再试

调试命令：
请运行命令 f2 -d DEBUG 并附上日志目录中的日志文件，以提供日志信息进行诊断。

预期行为
我希望帖子能够成功下载，而不会遇到 msToken 错误。
截图
如果适用，请添加截图以帮助解释您的问题。
日志文件
请附上调试日志文件，以帮助诊断问题。
其他信息
任何有助于解决问题的额外信息。

[x] 我已经查看了文档和已关闭的问题以寻找可能的解决方案。
[x] 我在常见问题解答中没有找到我的问题。
[x] 这个问题是公开的，并且我已删除所有敏感信息。
[x] 我理解未按照模板提交的问题将不予优先处理。

Has anyone else encountered this issue?

一模一样

same error

I wonder if TikTok download is working for anyone. I can download from Douyin without any issues, and both are configured the same way (following similar steps). I don't think it's a configuration problem on my end. Any suggestions would be greatly appreciated!

会更新文档说明如何解决这个问题

authors: Johnserf-Seed Richard0818 iDataist zmzimpl

repo: Johnserf-Seed/TikTokDownload


text:
fix(iteration): prevent IntegerDivisionByZeroException with SETPOS

Closes: #44

The problem is, if you go by month, it iterates over every day of every month, starting with January. In the provided example, no day of year in January (1-31) matches any date in the dateset, therefore dateIndices is empty and it throws a IntegerDivisionByZeroException when using dateIndices.length on the right hand side of the modulo operator in set_positions_list.dart.
https://github.com/JonasWanke/rrule/blob/f557fe9e72821c0543b1bf8f56fe5f50d531b07d/lib/src/iteration/set_positions_list.dart#L33
This PR fixes the problem by just moving on.

Thanks for this fix! It's published as part of v0.2.15

repo: JonasWanke/rrule


text:
Error on trying to establish websocket connection

I have react router on my project, and on redirection ws server lost connection, and i have error like that in the console:

Plugin works well, but sth isn't good.
I was created new label low-priority, for issues like this

@Jonghakseo I see now it's happened everytime, not only on redirecting, my bad i change title of issue, let's check it if u have time ;)

Yeah I didn't see the problem when I created a react hash router locally and redirected it, so I guess it's just another side effect.

@Jonghakseo That's not related to template, it's happened because if some page e.g default/start chrome page don't accept content scripts or script is not loaded to some pages, then message cannot be send, and this error occur then.
https://stackoverflow.com/a/73276111/18155752
I close this :)

authors: Jonghakseo PatrykKuniczak


text:
umm whats this?

Describe your bug here. Mind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version. Oh yeah, and also be sure to check the pinned 'JS Engine: Known Issues' issue, to double check if your issue hasn't already been found!
lime/utils/Log.hx (Line 37)
lime/utils/Assets.hx (Line 138)
lime/utils/Assets.hx (Line 244)
PlayState.hx (Line 1717)
flixel/FlxGame.hx (Line 639)
flixel/FlxGame.hx (Line 726)
flixel/FlxGame.hx (Line 679)
flixel/FlxGame.hx (Line 558)
openfl/events/EventDispatcher.hx (Line 426)
openfl/display/DisplayObject.hx (Line 1398)
Uncaught Error: [lime.utils.Assets] ERROR: There is no TEXT asset with an ID of "assets/data/ytWatermarkInfo.txt"
Please report this error to the GitHub page: https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag
Command Prompt/Terminal/Crash logs (if existing)
No response
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No I Did Not Edit Anything
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
No
Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.
No

you deleted assets/data/ytWatermarkInfo.txt.

i had the same issue but i have ytWatermarkInfo.txt on assets/data the same path as indicated

authors: Elytra-pixel JordanSantiagoYT SazaaPt


text:
Make the camera smoother

While this is not an option in the pixel version of the game. It should be configurable that it is available for the image version. We can do so by settings a "snap-size" i suppose.
Downside is that it requires rendering "between positions"

This requires the whole game to be based on pixels instead of tiles. Which probably is a good idea but too much work for now

repo: JordyMoos/elm-pixel-boulder-game


text:
Oblivion → some effects are broken

With d9vk

Without d9vk

System information
GPU: Nvidia GT 730M
Driver: 430.26-9
Wine version: Proton 4.2
DXVK version: 0.13
Apitrace file(s)
https://mega.nz/#!GiAQFaSR!V9TaMH-wMguRWIyyPG_7titAXNEV5Rdm013kpN6HhS0
Log files
d3d9:
Oblivion-22330.log

Where is that?

New Sheoth Palace, Shivering Isles.

Fixed by
https://github.com/Joshua-Ashton/d9vk/commit/e0f34a305904665fe5cb9e81b577fd9fdd6732b0

authors: Joshua-Ashton NerosTie aufkrawall

license: Zlib


text:
Still work in progress?

Is this project discontinued?

Unfortunately it is. I'll archive it to make that more clear. There was no real momentum with the project and I no longer needed it for my own projects so it stalled out before really becoming a fully developed module. Thanks for checking and sorry I didn't have a better answer.

repo: JsAudioOrg/jsaudio


text:
Description of font directory string is now confusing on GMS2.3.0

Due to the way GMS2.3.0 display its Included Files, the instructions for scribble_init() are now misleading (though the core behaviour hasn't changed).
Additionally, a warning shouldn't appear when the font directory is set to an empty string. scribble_init() should make it clear that no fonts are loaded even if a valid default font is provided unless autoscan is used.

Fixed for v6.0.9

repo: JujuAdams/scribble


text:
For a 0.14.12 release

#404

Codecov Report

Merging #405 (c9e8c4a) into master (41966aa) will decrease coverage by 0.29%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #405      +/-   ##
==========================================
- Coverage   75.04%   74.75%   -0.30%
==========================================
  Files          12       12
  Lines        1006     1002       -4
==========================================
- Hits          755      749       -6
- Misses        251      253       +2

Impacted Files
Coverage Δ

src/metadata.jl
79.41% <0.00%> (-1.97%)
:arrow_down:

src/builtins/ThresholdPredictors.jl
88.23% <0.00%> (-0.45%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: ablaom codecov-commenter


text:
Jpoly

PR Checklist
If you are contributing to Javis.jl, please make sure you are able to check off each item on this list:

[  ] Did I update CHANGELOG.md with whatever changes/features I added with this PR?
[  ] Did I make sure to only change the part of the file where I introduced a new change/feature?
[  ] Did I cover all corner cases to be close to 100% test coverage (if applicable)?
[  ] Did I properly add Javis dependencies to the Project.toml + set an upper bound of the dependency (if applicable)?
[  ] Did I properly add test dependencies to the test directory (if applicable)?
[  ] Did I check relevant tutorials that may be affected by changes in this PR?
[  ] Did I clearly articulate why this PR was made the way it was and how it was made?

Link to relevant issue(s)
How did you address these issues with this PR? What methods did you use?
PR adds a struct JPaths .
A JPath consists of polys , fill , stroke and other meta information.
Every Object's drawing function (i.e obj.func) is converted to an array of jpaths
at construction and stored in obj.jpaths . Two ways to draw the object now exist.
either call obj.func inside a Drawing() context or
calling drawobj_jpath(obj) , will draw the object using its jpaths instead of object.func

Hi @ArbitRandomUser nice having the PR, I think there is one commit, the first that is from another PR, is it intentional?

yup , this builds on top of @Wikunia 's PR where you can draw with luxor without being inside Object.
this allows one to run the object.func on a drawing , which is needed to extract the path information.

authors: ArbitRandomUser gpucce


text:
Error when parsing alignas(64)

I have a header file (test.h) which contains a struct like this:
typedef struct {
int a;
alignas(64) int b[1024];
} test_t;
I got following errors when generating the wrapper:
.../test.h:6:5: error: type name requires a specifier or qualifier
.../test.h:6:13: error: expected parameter declarator
.../test.h:6:13: error: expected ')'
.../test.h:6:12: note: to match this '('
.../test.h:6:16: error: expected ';' at end of declaration list
I'm wondering if alignas is not supported by the generator yet?

X-ref:

Notes
As of the ISO C11 standard, the C language has the _Alignas keyword and defines alignas as a preprocessor macro expanding to the keyword in the header <stdalign.h>.

Good to know, thanks for the reply.

authors: DragonL Gnimuc


text:
Handle typedef to pointer of anonymous struct

Fix #326.

Thanks!

authors: Gnimuc melonedo


text:
Downloadable backups

As discussed in #181 I think it would be greatly useful to have downloadable backups. Can we have a facility in Sync where the entire home directory can be:

Zipped up and downloaded, with a single click?
Zipped up and backed up to Google Drive in a single click?

As a regular user, this would give me peace of mind to use JuliaBox.

Any solution regarding the same?

repo: JuliaLang/JuliaBox


text:
add HTTP version selection API

In order to properly handle https://github.com/JuliaLang/Downloads.jl/pull/84 we need a NetworkOptions option for mapping hosts (full URLs with host extracted probably) to HTTP versions (1, 2, 3). This sounds simple enough and the first crack I took at this was to have these environment variables:

JULIA_HTTP1_HOSTS
JULIA_HTTP2_HOSTS
JULIA_HTTP3_HOSTS

Each of these takes a host pattern value like the JULIA_*_VERIFY_HOSTS variables. Then the question is if a host matches multiple of these variables, do you pick the lowest or highest HTTP version? My initial thought was to take the lowest. But then this kind of situation occurred to me:

you want to use HTTP/1.1 for **.github.com
you want to use HTTP/3 for **.google.com
you want to use HTTP/2 for everything else

Intuitively, one wants to write this something like this:
export JULIA_HTTP1_HOSTS="**.github.com"
export JULIA_HTTP2_HOSTS="**"
export JULIA_HTTP3_HOSTS="**.google.com"

Of course, with the "least matching" rule, that doesn't work as intended: the **.google.com pattern for HTTP/3 has no effect since every host matches the ** pattern for HTTP/2. We could say that we match in this order: HTTP/1, then HTTP/3, then HTTP/2, but that feels very as hoc. What if HTTP/4 gets developed? Where does that go in that pattern?

You could let the user customize the match order. E.g. maybe by default we match in the order 1, 3, 2. But the user can provide:
export JULIA_HTTP_VERSIONS_PREFER="2,3,1"

And then we match in that order.

That approach doesn't allow preferring different HTTP versions for specific hosts which seems important for this. The original motivation is gone because (IIRC), the issue was that libcurl has a bug  in it's HTTP/2 implementation where the User-Agent header was not getting set on each request; meanwhile GitHub refuses downloads that don't have the User-Agent header set. But in that kind of a situation, we would want to disable HTTP/2 only for GitHub, no everywhere: on any site that doesn't demand a User-Agent header (why?), everything would work fine. Similarly, it would make sense to only enable HTTP/3 on Google properties since they're the only ones previewing that functionality and most domains are not going to respond if we send them UDP packets.

I no longer think this is necessary. The reason we needed to force HTTP/1 for github.com turned out to be because there was a bug in libcurl where using the user agent option failed to set the user agent header on all requests when using HTTP/2, see https://github.com/curl/curl/issues/6312 for the bug and https://github.com/JuliaLang/Downloads.jl/pull/88 for the workaround (setting the user agent as a header as well). Since github.com downloads require having the user agent set, some requests were failing when using HTTP/2. This bug has since been fixed in libcurl and worked around in Downloads, so we no longer need to select specific HTTP versions for specific domains.

authors: DilumAluthge StefanKarpinski


text:
Add AD backend, defaulting to FiniteDifferences

After conversations on Slack, this PR adds some basic AD backend functionality to Manifolds.
All internal functions that require AD will just work now, using FiniteDifferences as the default. When ForwardDiff becomes available, it becomes an optional backend. We might consider switching the default to ForwardDiff when it becomes available, but since that can be triggered by any dependency, it might be jarring to the user. The downside to keeping FD as the default is that it's quite slow.
Example usage:
julia> using Manifolds, LinearAlgebra

julia> Manifolds.adbackends()
1-element Array{Symbol,1}:
 :finitedifferences

julia> Manifolds.adbackend()
:finitedifferences

julia> Manifolds._jacobian(x->[dot(x,x)], ones(3))
1×3 Array{Float64,2}:
 2.0  2.0  2.0

julia> using ForwardDiff

julia> Manifolds.adbackends()
2-element Array{Symbol,1}:
 :finitedifferences
 :forwarddiff

julia> Manifolds.adbackend!(:forwarddiff)
:forwarddiff

julia> Manifolds.adbackend()
:forwarddiff

julia> Manifolds._jacobian(x->[dot(x,x)], ones(3))
1×3 Array{Float64,2}:
 2.0  2.0  2.0

julia> Manifolds._jacobian(x->[dot(x,x)], ones(3))
1×3 Array{Float64,2}:
 2.0  2.0  2.0

julia> using FiniteDifferences

julia> Manifolds._jacobian(x->[dot(x,x)], ones(3), forward_fdm(2, 1))
1×3 Array{Float64,2}:
 2.0  2.0  2.0

This looks like a good starting point. I'm quite surprised that you find FD quite slow and that you've set such big atol in tests. FD should be quite fast here. One thing I'm worried about is that these functions that calculate jacobians and gradients don't really look type stable, so maybe it causes some slowdowns? Inspecting the code for FD-based gradients and jacobians using Cthulhu.jl could reveal something.

I'm quite surprised that you find FD quite slow ... FD should be quite fast here.

Well, fast and slow are relative. 🙂 It can be an order of magnitude or more slower than ForwardDiff by my tests. None of the functions we currently require AD for are performance critical though (unless someone is spending a lot of time numerically integrating geodesics).

I'm quite surprised ... that you've set such big atol in tests.

Can you elaborate? Which tests, and what would you set the atol to?

One thing I'm worried about is that these functions that calculate jacobians and gradients don't really look type stable, so maybe it causes some slowdowns?

What looks type unstable about the functions? Here's a more complicated example derived from the one you sent me. Type inference works just fine on this:
julia> using Manifolds, LinearAlgebra, BenchmarkTools

julia> M = Sphere(2);

julia> d = Manifolds.uniform_distribution(M, randn(representation_size(M)));

julia> x, y, = rand(d), rand(d);

julia> function logdetjac_log(M::Manifold, x, y; backend = :default)
           J = Manifolds._jacobian(y, backend) do z
               v = Manifolds.zero_tangent_vector(M, x)
               log!(M, v, x, project_point(M, z))
               return v
           end
           N = manifold_dimension(M)
           jsvd = svd(J)
           jr = view(Diagonal(jsvd.S) * jsvd.Vt, 1:N, :)
           G = jr * transpose(jr)
           return logdet(G) / 2
       end
logdetjac_log (generic function with 1 method)

julia> @inferred logdetjac_log(M, x, y)
1.4503089495038706

julia> @btime logdetjac_log(M, x, y)
  107.694 μs (990 allocations: 54.41 KiB)
1.4503089495038706

It does fail if I try to take the gradient of this function, but that's 2nd order AD:
julia> function logdetjac_log_withgrad(M, x, y)
           return (logdetjac_log(M, x, y), Manifolds._gradient(y -> logdetjac_log(M, x, y), y))
       end
logdetjac_log_withgrad (generic function with 1 method)

julia> @inferred logdetjac_log_withgrad(M, x, y)
ERROR: return type Tuple{Float64,Array{Float64,1}} does not match inferred return type Tuple{Float64,Any}
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at REPL[114]:1

julia> @btime logdetjac_log_withgrad(M, x, y)
  4.099 ms (36853 allocations: 1.97 MiB)
(1.4503089495038706, [0.9791312408054148, -2.4844908992735593, -0.04532829899342151])

Well, fast and slow are relative. 🙂 It can be an order of magnitude or more slower than ForwardDiff by my tests. None of the functions we currently require AD for are performance critical though (unless someone is spending a lot of time numerically integrating geodesics).

It was just a small remark. For some functions with a small number of inputs and outputs I actually had to micro-optimise ForwardDiff before it was faster than FD. Anyway, yes, outside of this one case AD was never my bottleneck.

Can you elaborate? Which tests, and what would you set the atol to?

By default isapprox defaults to rtol equal to square root of machine epsilon (about 1.5e-8 for 'Float64') and atol to 0. The old tests were using the default values. I'm talking about the tests in metric.jl.

What looks type unstable about the functions? Here's a more complicated example derived from the one you sent me. Type inference works just fine on this:

Sometimes the result type is inferred but some internal types are not and it can still hurt the performance. Things like _jacobian(f, x) = _jacobian(f, x, Val(adbackend())) have types that are constructed (Val) from externally obtained data (adbackend) that further accesses global state. Sometimes the compiler is smart enough to optimise it, sometimes it's not. Anyway, it's not a big problem, just something that should be kept in mind.

And about this potential type instability, having it here (dispatch connected to global state) in some form is probably unavoidable anyway.

By default isapprox defaults to rtol equal to square root of machine epsilon (about 1.5e-8 for 'Float64') and atol to 0. The old tests were using the default values. I'm talking about the tests in metric.jl.

Yes, I had to set the atols because many of those values are 0. ForwardDiff gets exactly 0, so there were no problems before, but FiniteDifferences just gets something close to 0.

Sometimes the result type is inferred but some internal types are not and it can still hurt the performance. Things like _jacobian(f, x) = _jacobian(f, x, Val(adbackend())) have types that are constructed (Val) from externally obtained data (adbackend) that further accesses global state. Sometimes the compiler is smart enough to optimise it, sometimes it's not. Anyway, it's not a big problem, just something that should be kept in mind.

And about this potential type instability, having it here (dispatch connected to global state) in some form is probably unavoidable anyway.

Yeah I don't see a great way around it in this case. But I think this is fine for an initial PR, and we can refine it later if necessary. Do you see any obstacles to merging?

Yeah I don't see a great way around it in this case. But I think this is fine for an initial PR, and we can refine it later if necessary. Do you see any obstacles to merging?

Right, the PR is fine. Implementation details can always be changed later if we find a better solution.

authors: mateuszbaran sethaxen


text:
Is there a design of the main structure for JuliaQuantum's libs?

To be specific, is there a structure for package relationship and dependencies,like API design standard or all packages can be separated? for example,should all the base type included in QuBase.jl and all Schrodinger equation solvers should be in QuDynamics.jl?

Yes, the idea would be to bundle common types/functions in some set of "base packages". In the beginning I would keep new types/functions in your package. If it turns out to be generally useful, we can include it in QuBase etc ...

authors: Roger-luo acroy


text:
New version: SymbolicLimits v0.2.0

Registering package: SymbolicLimits
Repository: https://github.com/SciML/SymbolicLimits.jl
Created by: @LilithHafner
Version: v0.2.0
Commit: 144f27cf8873caeb3821b886ddba3e8318663b07
Reviewed by: @LilithHafner
Reference: https://github.com/SciML/SymbolicLimits.jl/commit/144f27cf8873caeb3821b886ddba3e8318663b07#commitcomment-140028203

block

authors: JuliaRegistrator LilithHafner

repo: JuliaRegistries/General


text:
New package: Gmsh_SDK_jll v4.5.6+0

Registering package: Gmsh_SDK_jll
Repository: https://github.com/shipengcheng1230/Gmsh_SDK_jll.jl
Created by: @shipengcheng1230
Version: v4.5.6+0
Commit: 5fab4898315e9d4f1d7ce6f1a4ca5a8cc5f58fbf
Reviewed by: @shipengcheng1230
Reference: https://github.com/shipengcheng1230/Gmsh_SDK_jll.jl/commit/5fab4898315e9d4f1d7ce6f1a4ca5a8cc5f58fbf#commitcomment-38683441

Ideally, it should go to JuliaBinaryWrappers through Yggdrasil. However, building Gmsh was painful and my experience was not successful. It requires too many dependencies and some are not available at hand. So, I thought I could just wrap the official SDK and did some small tweaks to make it work on windows on Julia 1.4, in such case to make life easier. So I have SDK inside the name, in case someone else succeeds to compile Gmsh itself someday. Please let me know if it can stay here or move.

Please delete this PR. Until it carries libglu itself, it will not pass the AutoMerge.

If you're having issues, I suggest opening a PR against Yggdrasil; even half-baked, we can help you work through the issues there.


text:
New version: VoronoiFVM v0.5.0

Registering package: VoronoiFVM
Repository: https://github.com/j-fu/VoronoiFVM.jl
Created by: @j-fu
Version: v0.5.0
Commit: 1938b3772b22288bb03d9454b1f4883578bf516a
Reviewed by: @j-fu
Reference: https://github.com/j-fu/VoronoiFVM.jl/commit/1938b3772b22288bb03d9454b1f4883578bf516a#commitcomment-35880287

need to re-trigger due to failed test, abandon this one.

authors: JuliaRegistrator j-fu


text:
New version: tmux_jll v3.3.0+0

Autogenerated JLL package registration

Registering JLL package tmux_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/tmux_jll.jl
Version: v3.3.0+0
Commit: 2468a4536b340f23f36728e6cab1456ce5ae3881
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/98892ff9d97b87c4092bf6e50c629151c72e07d2
Created by: @giordano

Pause, I need to do more tests....

authors: giordano jlbuild


text:
New package: Game2048 v0.1.0

Registering package: Game2048
Repository: https://github.com/xiaodaigh/Game2048.jl
Created by: @xiaodaigh
Version: v0.1.0
Commit: 22a1bd7b0c1fc6171b721f64632b74243b6ac821
Reviewed by: @xiaodaigh
Reference: https://github.com/xiaodaigh/Game2048.jl/commit/22a1bd7b0c1fc6171b721f64632b74243b6ac821#commitcomment-68074780
Description: Simulation of the game 2048 in Julia

@xiaodaigh please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.
[noblock]

authors: JuliaRegistrator giordano


text:
New version: PkgButlerEngine v1.3.1

Registering package: PkgButlerEngine
Repository: https://github.com/davidanthoff/PkgButlerEngine.jl
Created by: @davidanthoff
Version: v1.3.1
Commit: 7707306f49488c01b75f0222de5620f2e82d88fa
Reviewed by: @davidanthoff
Reference: https://github.com/davidanthoff/PkgButlerEngine.jl/commit/7707306f49488c01b75f0222de5620f2e82d88fa#commitcomment-36185236

TagBot tag

Hm, I'll look at logs
TagBot tag

I've since created the tag manually, didn't want to forget about it...

Ah, no problem :sweat_smile:

Here's the error:
! [remote rejected] v1.3.1 -> v1.3.1 (refusing to allow a bot to create or update workflow `.github/workflows/jlpkgbutler-butler-dev-workflow.yml`)

I'm not really sure why creating a tag would trigger that, but oh well. I've been leaning towards skipping manual tag creation and just letting the GitHub API create lightweight tags which should fix this.

Weird...


text:
New package: ReactiveDynamics v0.2.1

Registering package: ReactiveDynamics
Repository: https://github.com/Merck/ReactiveDynamics.jl
Created by: @thevolatilebit
Version: v0.2.1
Commit: a26fb16590042a445ef18461fd66a98229c391e9
Reviewed by: @thevolatilebit
Reference: https://github.com/Merck/ReactiveDynamics.jl/issues/1
Description: A Julia package that implements a category of reaction (transportation) network-type dynamical systems.

block

authors: JuliaRegistrator thevolatilebit


text:
Versioning

This project should have version information deployed and communicate different states of CiRA.
My proposal for versioning is as follows:
cira application:

Semantic version on a Python package level. So that CiRA could be distributed as a Python package.
setup.py or something similar could be used to declare the version.
REST API should be able to show the version of the application, e.g.,  with an endpoint like /api/health or /api/version.
git tags or GitHub releases are not necessary since the main way of distributing CiRA will be Docker images.

cira application Docker image:

A new build of the application Docker container will have two tags attached to the image: latest and the semantic version of the application, e.g., 1.3.2.
The application images always use FROM cira-dev:latest when created.
Older versions can be pulled using the semantic version, e.g., cira:1.3.2.

cira-dev Docker image:

A new build of the dev container has always the latest tag without any further versioning information. Previous states can be pulled by using the git hash, e.g., cira-dev@sha256:0276f14....
In my opinion, additional versioning information for the dev container confuses more than it helps.

I'll investigate the use of setup.py and pyproject.toml

authors: JulianFrattini andreas-bauer

repo: JulianFrattini/cira


text:
DPRNN的前几代的loss大概是多少

首先感谢博主分享了自己的开源代码，其次我有2个问题需要咨询下，因为您这个代码是适用于8k，我想改成16k，是不是修改相关的每一块的chunk_size K=sqrt(2乘16000乘4)约等于360。之前是8k对应250。第二点：想咨询下我用这个代码来做降噪发现loss都维持在17-18左右，想问下您用DPRNN做人声分离前几代的loss是大概多少的样子。期待您的回复。

对于第一个问题：chunk_size K = 360是可以的。
第二个问题：我没有处理过降噪的任务，因此不能准确地知道你的17~18 dB是好还是坏。对于speech separation来说，前几个epoch应该是可以到13 dB左右。

loss都维持在17-18左右：这个是print出来的值还是-loss的值？

博主您好，是print的loss值，所以我觉得我应该是不对的。因为我跑过DCCRN的代码，loss也是用sisnr，但是loss值就是负数。我想向您确认一个事情，你做语音分离的时候，加入mix信号=spk1+spk2*0.5。那么两个参考信号是spk1和spk2还是说是spk1和0.5spk2。我半夜睡不着，忽然想到的问题，我觉得我应该是在这里出问题了人。

mix=spk1+spk2*0.5，那么你分离的结果就是spk1，spk2+0.5。

那我应该是参考信号选错了。mix=spk1+0.5*spk2，那么它送入loss函数的label应该是spk1和0.5spk2，而非spk1和spk2，我这样理解对吗？

是的

博主您好，我最近再仔细阅读您的代码，有一个问题我不太明白，gap = K - (P + L % K) % K这个gap为何是怎么算的？

这个目的是为了让不是完整秒数（例如1，2，3，4ms等）的输入输出保持一致。这个你仔细推一下就明白了

想請問1樓的算的每一块chunk_size K=sqrt(2乘16000乘4) 原始公式代表意思?
自己的數據是16k k值理想能設定哪些
謝謝

repo: JusperLee/Dual-Path-RNN-Pytorch


text:
Converted code is to big for basic

Due to line size limits between X16 BasicV2 and AppleSoft basic the converted code has too many lines.

Managed to get all of the game into basic memory with 110 bytes free.

license: Unlicense


text:
rt priority

the rt priority execution set here
https://github.com/KCL-BMEIS/lbr_fri_ros2_stack/blob/0d2cc6e2f6bcfbff860fa87ecb87a64520f55181/lbr_bringup/launch/lbr_control.launch.py#L69
is an issue if users do not have appropriate rt priorities set. This parameter should thus be adjustable. Also, this execution prefix might not work under windows.
The current fix would be to adjust the user's rt priority in /etc/security/limits.conf by adding the line user - rtprio 99, where user has to be set to the user. After adjusting, logging out and in is required

done in
foxy: https://github.com/KCL-BMEIS/lbr_fri_ros2_stack/commit/5d3df908a05c40dc9428983b7fcbaa4a2ac7adcd
galactic: https://github.com/KCL-BMEIS/lbr_fri_ros2_stack/commit/8e69aa8520d21b2dd36b6d452cc569fdd42673e2


text:
YAML as job script format

I would like to use YAML as another alternative job script format, mostly for its readability. Is it as simple as change json.loads() to yaml.loads()?

The quick reply is: No.
There are two total different roles of job scripts. The first one is the external interface to users and developers. Right now, there are job scripts in JSON, Alfscript and Pythonic functions. The second one is the internal format used in implemented SWF decider. And it is also in JSON format. Actually, this JSON format is coincidentally the same to the external JSON format.
I guess you are thinking to have a external job script format in YAML. Am I right?

I guess you are thinking to have a external job script format in YAML. Am I right?

Correct. I was not aware that the job scripts can also function as a format for SWF decider. It will be interesting to see how and why it was implement the way it is.
BTW, Do you need to write your own parser for alfscript? Or is there already some existing implementation from Pixar?
Ansible uses YAML as the format for their playbooks, so there are precedence using YAML as a format to declare task.

The code is already in here and you can check it by yourself :)

authors: drakeguan dshlai

repo: KKBOX/mass


text:
🛑 KMHARS Main Internet is down

In b2209ac, KMHARS Main Internet (103.190.139.186) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KMHARS Main Internet is back up in 18347de after 37 minutes.

repo: KMHARS/uptime


text:
Penn Tree Bank取得

https://qiita.com/KojiOhki/items/149f96bd98973bd219ac
http://www.fit.vutbr.cz/~imikolov/rnnlm/

https://qiita.com/keisuke-nakata/items/1e43c6698df800ecad73
tensorflowの解説記事

データ取得終了
RNNのネットワークを構築するだけ

https://github.com/Yagami360/MachineLearning_Exercises_Python_TensorFlow/tree/master/RNN_LSTM_TensorFlow

repo: KNakane/tensorflow


text:
Wrong installation folder for KerbalScienceExchange

It was brought to my attention that KerbalScienceExchange didn't work after installing it with CKAN. After some investigations look for the error on my part i found out its just a tiny little mistake on sides of ckan. Its puting the KerbalScienceExchange folder into the GameData folder instead of GameData/KerboKatz like it should be.

Fixed

authors: Dazpoet Xarun

repo: KSP-CKAN/CKAN-meta


text:
Upgrade minimum development Node version to v10

Node v8 will reach its end-of-life by December 2019.

Codecov Report

Merging #2177 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2177   +/-   ##
=======================================
  Coverage   94.73%   94.73%
=======================================
  Files          83       83
  Lines        5304     5304
  Branches      927      927
=======================================
  Hits         5025     5025
  Misses        256      256
  Partials       23       23

Flag
Coverage Δ

#screenshotter
89.24% <ø> (ø)
:arrow_up:

#test
88.46% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io ylemkimon

repo: KaTeX/KaTeX


text:
🛑 nHentai CDN-EU is down

In 5fd7cb8, nHentai CDN-EU (https://eu.nhcdn.ga) was down:

HTTP code: 530
Response time: 500 ms

Resolved: nHentai CDN-EU is back up in 35c807d.

repo: Kadantte/candy-up


text:
cannot connecting nodes

pls tell me how to find client
and i am using port 443
secure: 'true'
i am new to lavalink

do you use any other github repository such as SudhanPlayz/Discord-MusicBot ?, and secure is boolean not string

nope , sorry i mistakenly typed as s string in here, i am using this one :https://github.com/Spiderjockey02/Discord-Bot

where are https://github.com/Spiderjockey02/Discord-Bot bot configuration that has lavalink config to connect?

src/base/audio-manager.js

nodes: [
{ host: 'lavalink-repl.yourreplusername.repl.co', port: 443, password: 'youshallnotpass', secure: true },
]
change yourreplusername to your repl it username and you should good, dont forgot to run lavalink too

yes its working now, thankyou

do you use any other github repository such as SudhanPlayz/Discord-MusicBot ?, and secure is boolean not string

hello, do you have any idea how to fix this? because i'm using your repo for my lavalink server and its not working on  SudhanPlayz/Discord-MusicBot

on latest SudhanPlayz/Discord-MusicBot commit you can change secure: true in botconfig > lavalink config, im sure they provide that option

on latest SudhanPlayz/Discord-MusicBot commit you can change secure: true in botconfig > lavalink config, im sure they provide that option

i have done it, but not working, but i got an error.
here my logs.

on latest SudhanPlayz/Discord-MusicBot commit you can change secure: true in botconfig > lavalink config, im sure they provide that option

i have done it, but not working, i got an error.
here my logs.

full stackrace please

on latest SudhanPlayz/Discord-MusicBot commit you can change secure: true in botconfig > lavalink config, im sure they provide that option

i have done it, but not working, i got an error.
here my logs.

full stackrace please

here

on latest SudhanPlayz/Discord-MusicBot commit you can change secure: true in botconfig > lavalink config, im sure they provide that option

i have done it, but not working, i got an error.
here my logs.

full stackrace please

here

try change port to 80 and secure false

on latest SudhanPlayz/Discord-MusicBot commit you can change secure: true in botconfig > lavalink config, im sure they provide that option

i have done it, but not working, i got an error.
here my logs.

full stackrace please

here

try change port to 80 and secure false

and i got this

and btw, here my lavalink config for my bot

looks like replit having issue with ssl, wait few days until replit resolves this

looks like replit having issue with ssl, wait few days until replit resolves this

but i'm trying to using my lavalink server in your noteblock and its work..
btw, thanks for your answer.. maybe i'll wait untill they ssl issue. thank you very much

I have same problem with https://github.com/SudhanPlayz/Discord-MusicBot

secure: true

I have tried both 443 port with secure: true and 80 without secure

port 80 error:

Must be the bot hosted on replit too?

use port 443 and secure true

authors: KagChi Stevanvincent gamerspodcast hezaaheza ririko5834

repo: KagChi/lavalink-repl


text:
train own dataset

Can you elaborate on the steps of few-shot's own dataset?

https://github.com/KaiyangZhou/Dassl.pytorch#add-a-dataset

authors: KaiyangZhou Miaonika

repo: KaiyangZhou/CoOp


text:
terminate running task is not work

use following code:
use std::{thread, time};
fn main() {
loop {
let ten_millis = time::Duration::from_millis(1000);
thread::sleep(ten_millis);
println!("ok ...");
}
}
then shift+cmd+p, select "Cargo: Run Debug"
after that,  shift+cmd+p, select "Cargo: Terminate Running Task"
task is still running.

@cissusnar,
Can you submit a solution for the problem or anyone can take the issue?

I'm using vscode 1.8.1 on my Macbook and iMac,  maybe a OS X problem.  I'll trying to fix, but not sure I can do.   :)

@cissusnar,
Do you need some guidance?

@cissusnar, the problem happens on Windows too.
If you want, I can fix it myself.

@KalitaAlexey I guess this issue is a 'Task management' problem in 'commandService.js'.
I am not familiar with vscode extensions development, I hope you can fix it! thank you very much :)

@cissusnar, Okay.

@cissusnar, it seems to me running is terminated, but a terminal isn't cleared.
Are you sure that your app is running after your executed terminate?
You can use ps ax to find out.

@KalitaAlexey I can sure task is still running, because I can't execute 'Cargo: Build Debug' or 'Cargo: Run Debug'.  must execute 'killall $process_name' to kill that process.

@cissusnar, it is bad. It seems to me that it is a MacOS specific issue.
Do you have time to fix that? I can guide you.

@cissusnar,
Set breakpoint to the following lines in the commandService.ts:

163 - this.process.removeAllListeners();
Execute code line by line.
It should call reject(); in if (this.interrupted) {

178 - if (!this.interrupted && this.process) {
Check values of this.interrupted and this.process.
this.interrupted should be false.
this.process shouldn't be null or undefined.

249 - if (this.currentTask) {
Check value of this.currentTask. It shouldn't be null or undefined.

683 - this.hideSpinner();
It should call the closure onUnexpectedlyEnded.

I am waiting for details.

thank you @KalitaAlexey ,  I can try it :)

I assigned the issue to you.

@mitskevich, Hi. You have MacOS, don't you?

@KalitaAlexey
code is clean, problem in this function:
public kill(): Thenable<any> {
    return new Promise(resolve => {
        if (!this.interrupted && this.process) {
            kill(this.process.pid, 'SIGINT', resolve);
            this.interrupted = true;
        }
    });
}

SIGINT has no effect,  SIGKILL works fine,  I've no idea....

Does it stop at 163 line?

kill(this.process.pid, 'SIGINT', resolve);
use SIGINT not stop at 163 line。
SIGKILL stop

@cissusnar, could you open a terminal. Execute cargo run. then determine pid of the cargo run invocation. Then kill -SIGINT pid. Write results.

501 36730 36426   0  5:45下午 ttys001    0:00.01 cargo run
501 36731 36730   0  5:45下午 ttys001    0:00.06 target/debug/web_api
execute ' kill -SIGINT 36730 ',  process is still running
execute 'kill -SIGINT 36731', process terminated
@KalitaAlexey

@cissusnar,
Attach:
cargo --version
rustc --version

cargo 0.15.0-nightly (298a012 2016-12-20)
rustc 1.14.0 (e8a012324 2016-12-16)

Execute:
cd /tmp
cargo new --bin t
cd t
echo 'fn main() { loop {} }' > src/main.rs
cargo run
ps ax | grep cargo
kill -SIGINT <pid>

Write results.

I checked the same on Linux. It terminates.

501 38110     1   0  5:55下午 ttys000    2:12.29 target/debug/t
cargo run is terminated,
but t's  parent process become to 1 and still running

@cissusnar,
I am sorry, but I haven't understood you.
Whose parent process is still running?
What does become 1?

ps -ef
501 39047 37780   0  6:03下午 ttys000    0:00.01 cargo run
501 39048 39047   0  6:03下午 ttys000    0:03.22 target/debug/t
kill -SIGINT 39047
ps -ef
501 39048     1   0  6:03下午 ttys000    0:38.60 target/debug/t
not good at english :) , I mean 'target/debug/t' is still running, and it's parent process become to 1

@cissusnar,
Please run cargo run and then press CTRL+C. It should stop. Then execute ps to find out whether t is terminated too.

CRTL+C is works,  all subprocess is terminated.

@cissusnar,
Anyway it is a problem of cargo on MacOS, not the extension.
Could you create an issue on the cargo repository and mention this issue there?

@KalitaAlexey OK, I understand, thx :)

@cissusnar,
Keep the issue opened for other can easily discover it.

That's an issue: https://github.com/rust-lang/cargo/issues/3460

It is an issue of rustup.

The same problem occurs on Linux (archlinux). Instead of sending SIGINT to cargo, one could try to send SIGTERM, which works fine on my machine (terminates both cargo and its child).

To summarize what was mentioned before: Rustup starts separate cargo process when invoked. Here is what I see with cargo build on the background:
$ ps -f | grep "cargo build"
  501 99854 37912   0  7:42   ttys001    0:00.01 cargo build
  501 99855 99854   0  7:42   ttys001    0:00.16 /Users/sam/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo build
  501 99894 39985   0  7:42   ttys002    0:00.00 grep --color=always cargo build

The actual working process is 99855. Its parent is 99854, the cargo build command that I executed.
When I send SIGINT to 99854 (parent), it stops, I gain Bash prompt back, but the console output is keeping appearing because build still runs in the background. When I send SIGINT to 99855 (actual worker), both get interrupted and quit immediately.
As @ntruessel mentioned, quickest fix for this would be to use SIGTERM, it terminates the whole tree.
Not sure, why CTRL+C works.

@mitskevich,
Are you sure that it works?
Look for your application
`grep 'target/'

Is there a reason against using SIGTERM instead of SIGINT?

@ntruessel,
I haven't thought about it. It had been made before.

authors: KalitaAlexey cissusnar mitskevich ntruessel

repo: KalitaAlexey/vscode-rust


text:
added the link for saic website

The link on the navbar now redirects to  saic.iitmandi.co.in

@Milind712000 @kartik1000


text:
Support for React 18+

Hi! I came across this very nice package, and I would like to integrate it into a platform for neuroscience research. Unfortunately, the platform requires 18. Are there any plans to update graphic-walker to support React 18? Thank you.

Sure, react 18 ecosystem is stable enough now; we will add support to it soon.

Hi, graphic-walker now supports react18+ (since v0.3.1), you can try it now.
For using react18 with graphic-walker, try not use the strict mode which will leads to drag and drop issue by react-beautiful-dnd.

Thanks for the quick response and update! I am looking forward to test the release as it becomes available via npmjs. Can you tell me what you mean with strict mode?

It is now available in npmjs: @kanaries/graphic-walker@0.3.1
For example, the entry of your react 18 code might look like
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
)

You need to remove the <React.StrictMode> for graphic-walker, and it should looks like:
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(<App />)

authors: ObservedObserver unidesigner

repo: Kanaries/graphic-walker


text:
fixing AST weights

per https://www.reddit.com/r/ffxiv/comments/5xtjx1/all_bis_as_solved_by_kanetws_solver/dekxdhw/

Already fixed in a local commit that I forgot to push

authors: KaneTW trfunk

repo: KaneTW/FFXIVBisSolver


text:
commit_new_file

news add commit going live, This is exciting

Great work!!

repo: Kangaba/github-slideshow


text:
[Java] Add mutation testing

Find and add an appropriate library that provides mutant testing.
Enable mutant testing with a specific profile.
Add a new job that runs the mutation testing (not required for pull requests).

Maybe https://pitest.org/

repo: KaotoIO/kaoto-backend


text:
Wrong speling of SpringBoot in Catalog

Describe the Bug
Wrong speling of SpringBoot in Catalog, it is written without space SpringBoot
Steps to Reproduce the Bug or Issue

Open file
Click on catalog dropdown

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

Here's an screenshot

Changes:

Change the name in the Catalog generator
Change the UI part that checks for Spring boot
Rebuild the existing catalogs

authors: apupier lordrip

repo: KaotoIO/kaoto


text:
Use newer version of Twitch cdn for Twitch emotes

This change will make animated emotes no longer show up as static png's
Example:
v1:
https://static-cdn.jtvnw.net/emoticons/v1/emotesv2_117f2dcc3f684334bae22981175acd62/3.0
v2 (animated, default):
https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_117f2dcc3f684334bae22981175acd62/default/dark/3.0
v2 (static):
https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_117f2dcc3f684334bae22981175acd62/static/dark/3.0

LGTM 👍

authors: KararTY zneix

repo: KararTY/perplex-chat


text:
adding norm 9

I added more norm to the collaboration readme

This is not the norm we wanted

repo: KarimMakki/demo-repo


text:
Training error

train.py works for Tetris-v0 but
throws
_self._did_step(done)
TypeError: _did_step() takes 1 positional argument but 2 were given.

I think there is issue with how the environment is wrapped for Mario. I will try to look deeper and fix the issue but help is appreciated.

Hmmm can you run the following script and let me know the output?
import pkg_resources
print(pkg_resources.get_distribution("nes-py").version)
print(pkg_resources.get_distribution("gym-super-mario-bros").version)

My thought is that you have a version mix-match between these two packages

also what command are you running to start the training process?

I upgraded SuperMarioBro 3.0.5 to 3.0.8 and now the training it working. Thanks

whoops i meant to respond earlier but got buried in work projects. It's odd that 3.0.5 and 1.0.0 are interacting in this way (gym-super-mario-bros 3.0.5 should have the new API changes from nes-py 1.0.0), but it seems the newer versions resolve the problem. Closing issue.

authors: Kautenja aadeshnpn


text:
[BUG] /internet prompt does not print to debug channel

Describe the bug
Prompts/messages from using /internet chat do not print in the debug channel.
To Reproduce
Steps to reproduce the behavior:

Use /internet chat and /gpt converse to prompt.
Debug messages will print for all prompts except internet chats.

hmm, the internet chats use a different pipeline than the regular chats, I wasn't planning on making this print debug prompts, do you need these?

It would be useful to have, for the sake of logging completeness; I do occasionally use the debug channel as a status indicator of bot usage when I'm away from easy access to the machine I host the bot on.

authors: Kav-K Raecaug

repo: Kav-K/GPTDiscord


text:
Configuration Comments Disappearing

Configuration Comments Disappearing

IP-Check Version: 2.x.x
Java Version: N/A
Database Type: N/A
Description of the problem: YML Comments disappear from Configuration File on generation.
How to replicate: Launch an instance of IP-Check on a clean server, look at config.yml.

Checklist:

[x] I made sure there aren't duplicates of this report (Use Search)
[x] I made sure I am using an up-to-date version of IP-Check.
[x] I Made sure the bug/error is not caused by any other plugin.

I would like to have this addressed, ideally, in 2.0.8, but realistically by 2.1.0. Prior research indicates that to accomplish this requires writing a custom configuration generator (look at Essentials.)

If you need to look at some code to get an idea the try scrolling through the  uSkyblock repo. I have no clue were in the code but you got more experiance that way


text:
ClientDisconnectedError when server returns buggy redirect

Long story short

There are some servers which do redirects in a strange way. Some examples are http://fwmedia.com/, http://ebooks.artistsnetwork.com/, http://artistsnetwork.tv/.
The common point between them is that they return redirect and close connection immediately after sending Location header:
 $ curl -v http://artistsnetwork.tv/
*   Trying 216.59.59.63...
* TCP_NODELAY set
* Connected to artistsnetwork.tv (216.59.59.63) port 80 (#0)
> GET / HTTP/1.1
> Host: artistsnetwork.tv
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location: http://www.artistsnetwork.tv/
* Curl_http_done: called premature == 0
* Connection #0 to host artistsnetwork.tv left intact

Notice there is no empty line returned after Location header.
While requests library, curl and browsers tolerate this behaviour and recognize it as a redirect, aiohttp.client fails.
Expected behaviour

There should be a way to handle such responses. Ideally I think such "unexpectedly broken" connections should be recognized in a special way, so that if there is enough information then we consider them "good".
Actual behaviour

Traceback (most recent call last):
  File "/tmp/env/lib/python3.6/site-packages/aiohttp/client.py", line 220, in _request
    yield from resp.start(conn, read_until_eof)
  File "/tmp/env/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 614, in start
    message = yield from httpstream.read()
  File "/tmp/env/lib/python3.6/site-packages/aiohttp/streams.py", line 625, in read
    result = yield from super().read()
  File "/tmp/env/lib/python3.6/site-packages/aiohttp/streams.py", line 456, in read
    yield from self._waiter
aiohttp.errors.ServerDisconnectedError

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

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/asyncio/base_events.py", line 466, in run_until_complete
    return future.result()
  File "/tmp/env/lib/python3.6/site-packages/aiohttp/client.py", line 227, in _request
    raise aiohttp.ClientResponseError() from exc
aiohttp.errors.ClientResponseError

Steps to reproduce

import asyncio, aiohttp
loop = asyncio.get_event_loop()
loop.run_until_complete(aiohttp.client.get('http://artistsnetwork.tv/'))

Your environment

Python 3.6.0
aiohttp==1.3.3
yarl==0.9.8

As a temporary workaround / monkey-patch:
import asyncio
import aiohttp

# XXX remove this after KeepSafe/aiohttp#1689 is fixed
def readuntil(self, stop, limit=None):
    assert isinstance(stop, bytes) and stop
    stop_len = len(stop)
    eof = False
    while True:
        if self._helper.exception:
            raise self._helper.exception
        pos = self._data.find(stop)
        if pos >= 0:
            end = pos + stop_len
            size = end
            if limit is not None and size > limit:
                raise aiohttp.errors.LineLimitExceededParserError(
                    'Line is too long.', limit)
            data = self._data[:size]
            del self._data[:size]
            return data
        elif eof:
            # value not found but stream was closed, so return everything
            data = self._data[:]
            if b'Location:' in data:
                del self._data[:]
                return data
            else:
                # no location header, so effectively re-raise
                raise eof
        else:
            if limit is not None and len(self._data) > limit:
                raise aiohttp.errors.LineLimitExceededParserError(
                    'Line is too long.', limit)
        try:
            self._writer.send((yield))
        except aiohttp.streams.EofStream as e:
            eof = e
# Changed: catch EofStream exception and treat it as if stopper was found
aiohttp.parsers.ParserBuffer.readuntil = readuntil

I do not think this is possible to fix. in 2.0 version we use http-parser from nodejs, it does not produce complete http message

@fafhrd91, what is a 2.0 version of aiohttp, is it available somewhere? And do you mean this C parser?

In new version we use http-parser from nodejs
https://github.com/aio-libs/aiohttp
Sent from my iPhone

On Mar 12, 2017, at 1:27 AM, Семён Марьясин notifications@github.com wrote:
@fafhrd91, what is a 2.0 version of aiohttp, is it available somewhere? And do you mean this C parser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I will add parsed headers to exception, so developer can make decision about redirect.
but aiohttp won't support this behavior.

actually, it is possible to make this redirect. question is, should we? 6732a79fdbd146458f54621a16f0a241c174a788
@asvetlov @kxepal @popravich @socketpair thoughts?

I think, we should not handle that. this is RFC violation. Moreover, we can't use this partial response, since some headers may be missing. For example, expires:, which is VERY important for 301 Moved Permanently. We don't know if connection was unexpectedly closed or it was intended so.
Also, It is OK to be able to handle parial messages in some way. I mean, it is OK to raise an exception like raise PartialResponse() which will contain some data of the original response.

ok, good.
@MarSoft I added message attribute to ServerDisconnectedError, it may hold partial RawResponseMessage object

authors: MarSoft fafhrd91 socketpair

repo: KeepSafe/aiohttp


text:
Custom system support

I'm currently working on a custom system. I was working on SWS but I moved onto my own system, so it's work almost the same
I'm not to sure if I changed everything I was supposed to change, so if needed, I can still remove the request and create another one.

Has this been tested? I see syntax errors and missing files.
"./systems/vaarfeu.js;

Well to be honest, I have literaly no idea of what I'm supposed to change or even to do for it to working with my custom system, I have 0 experience with all of that stuff
I tried to ask to honeybadger on discord but I didn't get to know what exaclty I had to change for that sorry

I tried to ask to honeybadger on discord but I didn't get to know what exaclty I had to change for that sorry

Hi Hi, itme, honeybadger. @trioderegion is my github username and I'm babysitting this module while kekilla is away.  I'm sorry I can't provide more guidance on this specific implementation, but duplicating the SWS handler should get you close.

authors: iwontgiveyoumyname trioderegion