Can't create new empty activity

In T06.01-Exercise-SetupTheActivity
TODO 1 create new SettingsActivity, Android Studio reports error when I click finish button on new activity window, new Activity Dialog not closing (I can move it but not close it).
It happens only with projects from this repo, no problems while creating new activity's in my projects.
I got all latest tools from stable channel.
IDE adds over 2000 lines off error message to log file
here some of them:
2017-02-05 02:26:44,053 [  85794]   WARN - rendering.ConfigurationMatcher - 'default' is not a best match for any device/locale combination for file://X:/ud851-Exercises-student/Lesson06-Visualizer-Preferences/T06.01-Exercise-SetupTheActivity/app/src/main/AndroidManifest.xml.
Displaying it with
, , , Left To Right, sw384dp, w384dp, h640dp, Normal Screen, Short screen aspect ratio, Not Round screen, Portrait Orientation, Normal, Day time, X-High Density, Finger-based touchscreen, Soft keyboard, No keyboard, Hidden navigation, No navigation, Screen resolution 1280x768, API Level 25
which is compatible, but will actually be displayed with another more specific version of the layout.
2017-02-05 02:26:44,055 [  85796]   WARN - rendering.ConfigurationMatcher - 'default' is not a best match for any device/locale combination for file://X:/ud851-Exercises-student/Lesson06-Visualizer-Preferences/T06.01-Exercise-SetupTheActivity/.idea/misc.xml.
Displaying it with
, , , Left To Right, sw384dp, w384dp, h640dp, Normal Screen, Short screen aspect ratio, Not Round screen, Portrait Orientation, Normal, Day time, X-High Density, Finger-based touchscreen, Soft keyboard, No keyboard, Hidden navigation, No navigation, Screen resolution 1280x768, API Level 25
which is compatible, but will actually be displayed with another more specific version of the layout.
2017-02-05 02:26:44,079 [  85820]  ERROR -             freemarker.runtime - Error executing FreeMarker template
FreeMarker template error:
The following has evaluated to null or missing:
==> manifestDir  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 39]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (FTL stack trace):
==> ${manifestDir}  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 37]
#include "../common/common_globals.xm...  [in template "root://activities/EmptyActivity/globals.xml.ftl" at line 8, column 5]
Java stack trace (for programmers):
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:98)
...................................................
2017-02-05 02:26:44,092 [  85833]  ERROR - llij.ide.plugins.PluginManager - com.android.tools.idea.templates.FreemarkerUtils$TemplateProcessingException: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> manifestDir  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 39]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (print stack trace for 1 more):
==> ${manifestDir}  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 37]
java.lang.RuntimeException: com.android.tools.idea.templates.FreemarkerUtils$TemplateProcessingException: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> manifestDir  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 39]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (print stack trace for 1 more):
==> ${manifestDir}  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 37]
Caused by: com.android.tools.idea.templates.FreemarkerUtils$TemplateProcessingException: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> manifestDir  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 39]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (print stack trace for 1 more):
==> ${manifestDir}  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 37]
.......................................
Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> manifestDir  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 39]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (print stack trace for 1 more):
==> ${manifestDir}  [in template "root://activities/common/common_globals.xml.ftl" at line 26, column 37]
.................................
2017-02-05 02:26:44,095 [  85836]  ERROR - llij.ide.plugins.PluginManager - Android Studio 2.2.3  Build #AI-145.3537739
2017-02-05 02:26:44,095 [  85836]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_76-release
2017-02-05 02:26:44,096 [  85837]  ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM
2017-02-05 02:26:44,096 [  85837]  ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains s.r.o
2017-02-05 02:26:44,096 [  85837]  ERROR - llij.ide.plugins.PluginManager - OS: Windows 10
2017-02-05 02:26:44,096 [  85837]  ERROR - llij.ide.plugins.PluginManager - Last Action: template.create.ActivityEmpty Activity

Similar issue also reported here,
https://github.com/udacity/ud851-Sunshine/issues/24
and here,
https://code.google.com/p/android/issues/detail?id=232076

btw, removing the build folder redirect  code in the gradle file is a workaround.
allprojects {
    **//String osName = System.getProperty("os.name").toLowerCase();
    //if (osName.contains("windows")) {
    //    buildDir = "C:/tmp/${rootProject.name}/${project.name}"
    //}**
    repositories {
        jcenter()
    }
}

Thanks arshcaria!

Well... You should not have closed this issue. This may be a bug of Android Studio or Android gradle build tool. It also causes other issues such as not able to resolve some symbols (the R resources class or even library classes).

Furthermore, in some ud851 projects, you cannot comment out / delete the redirect gradle code. If you do so in those projects, you are very likely to encounter build errors like below:
Error:Failed to crunch file D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.1.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png into D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: Failed to crunch file D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.1.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png into D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png

This is because that Android Studio build tool under Windows cannot handle file paths longer than 240 characters.
The build folder redirect code in the gradle file is to solve this problem. But unfortunately, this fix causes more build issues (like we just talked above).

same problem!..anyone knows how to solve this?

same problem here what is the solution ??

I bypassed the issue with workaround provided by @arshcaria:
Error:Failed to crunch file D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.1.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png into D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: Failed to crunch file D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.1.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png into D:\Devel\GitHub\ud851-Exercises\Lesson05b-Smarter-GitHub-Repo-Search\T05b.02-Exercise-AddAsyncTaskLoader\app\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png

simply:

applying workaround provided by @arshcaria commenting redirect gradke code:

    //String osName = System.getProperty("os.name").toLowerCase();
    //if (osName.contains("windows")) {
    //    buildDir = "C:/tmp/${rootProject.name}/${project.name}"
    //}
    repositories {
        jcenter()
    }
}

synchronizing the project (it fails), but it will be possible to proceed with step 3

creating new activity (it is created)

reverting back changes in build.gradle file introduced with previous workaround and resync the project

It is something likely dirty, but it worked for me to advance with coding the project.
Surely it would has been better moving the project directory to shorter path (as the error may occur when path to some file is too long), but I has been lazy.

Thank everyone

The workaround as suggested by @Flekky69 is too lengthy. Creating an activity manually i.e.
1. Create the java file and extend AppCompatActivity
2. Create a layout resource file for the same
3. Override onCreate
4. Update AndroidManifest
is much simpler. I prefer doing these 4 steps instead.

I was doing like @MistNewt mentioned but the commenting out solution works for me too.

@DroidPulkit you are right! Thanks for posting that link. I tried just deleting the subfolder in c:\tmp for my specific project, but that didn't work. You definitely need to delete the entire c:\tmp folder.

Thank you @arshcaria  for the workaround.
This saved me a lot of time.

Hi,
I just joined to this mailing list. Can you share what is the work around
details? I'm following the course and stuck in here.
SB

오전 10:34에 "swetac14"<EMAIL_ADDRESS>작성:

Thank you @arshcaria https://github.com/arshcaria for the workaround.
This saved me a lot of time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/udacity/ud851-Exercises/issues/67#issuecomment-364810812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUYnBlkAAp8OOYYYV2UuImSI2MtNQLjSks5tT5UjgaJpZM4L3Vv2
.

@blcktgr73
Checkout the following steps and you should be good.

Comment out the following code in gradle file (build.gradle)

allprojects {
// String osName = System.getProperty("os.name").toLowerCase();
// if (osName.contains("windows")) {
//     buildDir = "C:/tmp/${rootProject.name}/${project.name}"
// }
repositories {
jcenter()
}
}

Use Sync Now at the top of the page to sync the project.
Add the new Empty Activity (Child Activity)
Uncomment the lines you commented out in the gradle file
Sync the project again

@swtac14
Thanks for quick update.
When I have test with Android Studio 3, only steps 1 and 2 are enough for
further testing.
This can make sense. I also have ubuntu setup and it works fine.
SB
2018-02-12 16:20 GMT+09:00 swetac14<EMAIL_ADDRESS>
@blcktgr73 https://github.com/blcktgr73
Checkout the following steps and you should be good.

Comment out the following code in gradle file (build.gradle)

allprojects {
// String osName = System.getProperty("os.name").toLowerCase();
// if (osName.contains("windows")) {
// buildDir = "C:/tmp/${rootProject.name}/${project.name}"
// }
repositories {
jcenter()
}
}

Use Sync Now at the top of the page to sync the project.
Add the new Empty Activity (Child Activity)
Uncomment the lines you commented out in the gradle file
Sync the project again

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/udacity/ud851-Exercises/issues/67#issuecomment-364844574,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUYnBlQlpXVJPpiqXwa002XlOgI1lAxHks5tT-ZYgaJpZM4L3Vv2
.

I think it's not about deleting C:\tmp, Just change the location from C:\tmp to the location where you have downloaded exercise repository, it worked fine for me!!

Comment out the following code in gradle file (build.gradle)

buildDir = "C:/tmp/${rootProject.name}/${project.name}"  ---comment this line

Use Sync Now at the top of the page to sync the project.
Add the new Empty Activity (Child Activity)
Uncomment the lines you commented out in the gradle file
Sync the project again

End of 2018 and the bug is still there. Android Studio is updated to the latest version. It "silently" fails to create the new activity. After the previously suggested commenting it's possible but then you have to revert back to get a proper build. Works but it ain't fancy.

End of 2018 and the bug is still there. Android Studio is updated to the latest version. It "silently" fails to create the new activity. After the previously suggested commenting it's possible but then you have to revert back to get a proper build. Works but it ain't fancy.

You know what. Now I use only one partition (the C drive) on my Windows machine. This can save you from that build folder redirection problem. LOL

The error has something to do with the way gradle builds the app. I am a novice when it comes to gradle so I could not pinpoint the cause. But the solutions are:-
Instead of commenting out
'''gradle
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
'''
Do:-

Run a gradle clean in the exercise directory. You can do this via these ways:-
a) In Android Studio click on Gradle option on the right hand access bar(I guess, I don't know the exact term). Click on app/exercise name. It would be something like S04.01-Exercise-LaunchNewActivity(root). Select Tasks>other. Double click on clean.

b) For command line enthusiasts(feels cool), open command line and type
'''cmd
gradlew clean
'''
or for powershell, type
'''shell
./gradlew clean
'''
2. Goto C: drive in Windows, then goto tmp folder. Here find the folder having the exercise/app name having issues and delete it.

@PritishSehzpaul  See my comment above in this issue's comments.
@elBachatero The 'bug' is how the project is set up.  Its an old exercise/project, and the newer versions of Android Studio/Gradle have issues with it.  I haven't seen this bug outside of older Udacity projects.

@aromanelli You may have other folders in tmp folder. For eg. I used it to store temporary datasets while following a tensorflow tutorial.  That's why deleting the complete folder is not a good idea. Also, I have mentioned a new gradle clean approach that helps solve the issue and also points to the fact that issue was in fact due to gradle build. This is cleaner in my opinion and easier to understand.

@PritishSehzpaul Actually I referred my previous post because the deletion option for me did not always work (regardless if it had subdirs or not), so I don't think that you can say that just doing the clean/delete is the complete solution.  And for the record, I did do 'gradle clean' calls (I just didn't document that in my comments here).  I do definitely agree with you that its a good thing to try doing.
I'm guessing it may have something to do with the version of Gradle being used and the project hierarchy.  Maybe even the ${rootProject.name}/${project.name} values changing during the Gradle build cycle, since it seems to be a problem with the fact that it is an old project setup, as newer ones never have the problem.  @arshcaria solution makes me think that certain files have to be duplicated and be in two different locations, for the whole build process to work correctly, that one part of the process looks for certain files in location 1 and another part of the build process looks for the same files in location 2.
If true, then that reinforces my thoughts that the project needs updating in its file system layout to support newer Gradle/AndroidStudio.  If Udacity would just redo that project with a newer version of Android Studio, then this problem would no longer occur.
In any case, good input all around.  :)

@aromanelli  Thanks for these insights! :')


Skylinewebcams - Failed to extract stream url

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Failed to fetch stream url from skylinewebcams
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -vU https://www.skylinewebcams.com/en/webcam/espana/comunidad-valenciana/alicante/benidorm-playa-poniente-sur.html
[debug] Command-line config: ['-vU', 'https://www.skylinewebcams.com/en/webcam/espana/comunidad-valenciana/alicante/benidorm-playa-poniente-sur.html']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (zip)
[debug] Python 3.9.2 (CPython aarch64 64bit) - Linux-5.15.76-v8+-aarch64-with-glibc2.31 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, rtmpdump 2.4
[debug] Optional libraries: certifi-2020.06.20, no_Cryptodome-None, pyxattr-0.7.2, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 91cad9f121c1f6f0a81b747415c46ecba0ff331ed38cc6433040b4ac7b6e15ca
yt-dlp is up to date<EMAIL_ADDRESS>[SkylineWebcams] Extracting URL: https://www.skylinewebcams.com/en/webcam/espana/comunidad-valenciana/alicante/benidorm-playa-poniente-sur.html
[SkylineWebcams] benidorm-playa-poniente-sur: Downloading webpage
ERROR: [SkylineWebcams] benidorm-playa-poniente-sur: Unable to extract stream url; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 694, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/skylinewebcams.py", line 25, in _real_extract
    stream_url = self._search_regex(
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1242, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

Can also confirm that this is happening to me too.

The streams can be found at https://hd-auth.skylinewebcams.com/live.m3u8?a=VALUE, although the VALUE changes every time you clear your cookies
The VALUE can be found by clicking view source, and ctrl+f searching for a=. You may notice a typo, in that it seems to always say livee.m3u8?a= with an extra e. Turns out that's actually not a typo, it's an intentional trap. If you make a request to livee.m3u8, it tries to intimidate you by redirecting you to a stream titled copyright_violation :joy:
Anyway, the a=VALUE stream seems to expire after about a minute, but then you just make a request without clearing your cookies, and that exact stream starts working again.
The extractor needs to be updated in various ways:

the source URL that the extractor tries to get may not begin with https:// but instead be just s/t like livee.m3u8?stuff (stuff being the variable token described above), so the target pattern for the URL needs to be less specific (?P<url>.+?\.m3u8.*?)
as above, if the extracted URL has livee. the site means live.
the extracted and edited stream_url needs to be processed with urljoin('https://hd-auth.skylinewebcams.com/', stream_url).

This gives a 1280x1024 live stream that I can view with mpv: although static, birds fly and fabric blows in the wind. The live stream hands off to an updated manifest every 4s.
Not required but possible improvements:

extract formats from any stream_url that is a manifest (used in test above)
use the ld+json block for more metadata
extract the preview URL from there as a low priority format.

as above, if the extracted URL has livee. the site means live.

This could change. IMO it would be better if we could extract the stream name, if that is trivial to do (which I haven't investigated yet)

extract the preview URL from there as a low priority format.

what preview?

The 1-minute video in the ld+json <script> element that is extracted if you force the generic extractor. I expect that each webcam has such a typical preview, probably for SEO.

I have a version of the skylinewebcams.py extractor that works correctly, I found it searching on the internet but I don't remember where. try it:
from .common import InfoExtractor

class SkylineWebcamsIE(InfoExtractor):
    _VALID_URL = r'https?://(?:www\.)?skylinewebcams\.com/[^/]+/webcam/(?:[^/]+/)+(?P<id>[^/]+)\.html'
    _TEST = {
        'url': 'https://www.skylinewebcams.com/it/webcam/italia/lazio/roma/piazza-di-spagna-barcaccia.html',
        'info_dict': {
            'id': 'scalinata-piazza-di-spagna-barcaccia',
            'ext': 'mp4',
            'title': 're:^Live Webcam Scalinata di Piazza di Spagna - La Barcaccia [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
            'description': 'Roma, veduta sulla Scalinata di Piazza di Spagna e sulla Barcaccia',
            'is_live': True,
        },
        'params': {
            'skip_download': True,
        }
    }

    def _real_extract(self, url):
        video_id = self._match_id(url)

        webpage = self._download_webpage(url, video_id)

        stream_url = 'https://hd-auth.skylinewebcams.com/live.m3u8' + self._search_regex(
            r'(?:url|source)\s*:\s*(["\'])(livee\.m3u8(?P<a_param>\?a=\w+))\1', webpage,
            'stream url', group='a_param')
        title = self._og_search_title(webpage)
        description = self._og_search_description(webpage)

        return {
            'id': video_id,
            'url': stream_url,
            'ext': 'mp4',
            'title': self._live_title(title),
            'description': description,
            'is_live': True,
        }

I have a version of the skylinewebcams.py extractor that works correctly, I found it searching on the internet but I don't remember where. try it:
from .common import InfoExtractor

class SkylineWebcamsIE(InfoExtractor):
    _VALID_URL = r'https?://(?:www\.)?skylinewebcams\.com/[^/]+/webcam/(?:[^/]+/)+(?P<id>[^/]+)\.html'
    _TEST = {
        'url': 'https://www.skylinewebcams.com/it/webcam/italia/lazio/roma/piazza-di-spagna-barcaccia.html',
        'info_dict': {
            'id': 'scalinata-piazza-di-spagna-barcaccia',
            'ext': 'mp4',
            'title': 're:^Live Webcam Scalinata di Piazza di Spagna - La Barcaccia [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
            'description': 'Roma, veduta sulla Scalinata di Piazza di Spagna e sulla Barcaccia',
            'is_live': True,
        },
        'params': {
            'skip_download': True,
        }
    }

    def _real_extract(self, url):
        video_id = self._match_id(url)

        webpage = self._download_webpage(url, video_id)

        stream_url = 'https://hd-auth.skylinewebcams.com/live.m3u8' + self._search_regex(
            r'(?:url|source)\s*:\s*(["\'])(livee\.m3u8(?P<a_param>\?a=\w+))\1', webpage,
            'stream url', group='a_param')
        title = self._og_search_title(webpage)
        description = self._og_search_description(webpage)

        return {
            'id': video_id,
            'url': stream_url,
            'ext': 'mp4',
            'title': self._live_title(title),
            'description': description,
            'is_live': True,
        }

Thanks for sharing, can confirm it as working.


Rename atom to electron in bundled resources

This is a small pull request to rename a couple things from atom to electron. Not sure how far to go here but figured it would be more intuitive for at least a few things to be named correctly going forward to prevent confusion between Atom and Electron.
This pull request renames the following:

atom.gyp :arrow_right: electron.gyp
atom.asar :arrow_right: electron.asar
atom.icns :arrow_right: electron.icns

After this pull request Electron.app will no longer contain any files named atom.

👍


Denim addon segfaults with Node, but works with Bun

I'm installing and testing a Denim add-on on a new server (Debian 12). I kept getting segfaults when running my Next.js web app with an add-on. So I used a minimal test program and js script, the one that prints a message to the console (only), and it's still segfaulting.
I'm running Nim v.2.0.4 and Denim v0.1.9 (latest).
This happens with both Node v20.14.0 (lts) and v22.2.0 (current).
However it works with Bun v1.1.12 (latest)!
Any idea why this could be?
With Node v18 and v19 it prints the message, but then aborts (SIGABRT).
In nim.cfg:
--path:"."
--passC:"-I/usr/include/node -I/usr/local/include/node"
--gc:orc
--define:release

test.nim:
proc getWelcomeMessage(): string =

  return "Hi!"

when defined napibuild:
  # Running `denim build myprogram.nim` compiles with `-d:napibuild`
  import denim # NAPI bindings

  init proc(module: Module) =

    # Test
    proc getWelcomeMessageNim(): string {.export_napi} =

      return %* getWelcomeMessage()

elif isMainModule:
  echo(getWelcomeMessage())

test.js:
const nim = require('../bin/test.node')

// Welcome message
console.log(nim.getWelcomeMessageNim()) // Hello, World!

I should add that I'm running GCC v12.2.0.
When running valgrind node js/test.js the final part is:
==61918== Process terminating with default action of signal 11 (SIGSEGV)
==61918==    at 0x6B78E2C: __pthread_kill_implementation (pthread_kill.c:44)
==61918==    by 0x6B29FB1: raise (raise.c:26)
==61918==    by 0xF15EE1: node::TrapWebAssemblyOrContinue(int, siginfo_t*, void*) (in /home/debian/.nvm/versions/node/v22.2.0/bin/node)
==61918==    by 0x6B2A04F: ??? (in /usr/lib/x86_64-linux-gnu/libc.so.6)
==61918==    by 0x67BBAC4: bcmp (vg_replace_strmem.c:1203)
==61918==    by 0x11E6EEC: std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, node::UnionBytes, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, node::UnionBytes> > >::map(std::initializer_list<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, node::UnionBytes> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, node::UnionBytes> > const&) (in /home/debian/.nvm/versions/node/v22.2.0/bin/node)
==61918==    by 0x2AB10776: ??? (in /usr/lib/x86_64-linux-gnu/libnode.so.108)
==61918==    by 0x5F769CD: call_init (dl-init.c:74)
==61918==    by 0x5F769CD: call_init (dl-init.c:26)
==61918==    by 0x5F76AB3: _dl_init (dl-init.c:121)
==61918==    by 0x6C3D023: _dl_catch_exception (dl-error-skeleton.c:182)
==61918==    by 0x5F7D21D: dl_open_worker (dl-open.c:808)
==61918==    by 0x6C3CFC9: _dl_catch_exception (dl-error-skeleton.c:208)

I found the problem. I had installed node-gyp using sudo apt install node-gyp.
Installing with npm install -g node-gyp fixed the issue.


Source code links are referencing local build files

Example page: https://angular.io/docs/ts/latest/api/core/index/createPlatform-function.html
The link that points to the place where the source code was exported from is going to a 404 page.
The link displays exported from @angular/core/index defined in<EMAIL_ADDRESS>(line 23)
The link to the source code is<EMAIL_ADDRESS>

Hi Brandon.  All API doc issues need to be posted to angular/angular.  We can't do anything about them here in angular.io. Please repost there.


fix: unit test failing due to anomaly detector update

Description
Resolves unit test failure and building error. AD commit: https://github.com/opensearch-project/anomaly-detection/commit/062db1467cd59a4cf46daa03e9c0a2f2ee200607
Related Issues
Resolves unit test failure and building error.
Check List

[x] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[x] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Anyone knows how to fix: https://github.com/opensearch-project/skills/actions/runs/11030417880/job/30634925758?pr=412?

Anyone knows how to fix: https://github.com/opensearch-project/skills/actions/runs/11030417880/job/30634925758?pr=412?

It's not a blocking issue, we can take care of this in another PR.


I have a list of S&P 500 Company Names. I need to get the handles of the CEOs of these companies. How can I DO it using Twint?

Issue Template
Please use this template!
Initial Check

[QUESTION] I have a list of S&P 500 Company Names. I need to get the handles of the CEOs of these companies. How can I DO it using Twint?

Description of Issue

Here is the list
SnP500 Companies.xlsx
of companies. Find an attached Excel file below.

GitHub issues are not meant for "helpdesk" related questions. Try scripting around your Excel file and use Twint to search Twitter for possible profile matches. If you don't have the programming skills to do such you could do it manually - 500 company names doesn't seem that much (Twint is generally being used for large datasets).


Travis CI is not running on pull requests

Maybe my pull request was wrong.. It seems that Travis is not running on pull requests from forks. @SethTisue Can you check if it's the case?
I can take the Scala.js too 👍
Originally posted by @lolgab in https://github.com/scala/nanotest-strawman/issues/42#issuecomment-559728443

I sent https://github.com/scala/nanotest-strawman/pull/44 but Travis CI didn't seem to trigger.

Webhook seems to be delivering to https://notify.travis-ci.org.

I wonder if this has something to do with "Travis CI" listed under "Installed GitHub Apps" under scala organization. This I think uses travis .com - https://travis-ci.com/scala/nanotest-strawman - but the job isn't triggered there either.

In the menu you can find the build requests: https://travis-ci.com/scala/nanotest-strawman/requests

#46.

Thanks @dwijnand!


Use official ddev-mongo addon

This PR attempts to use the DDEV's mongo addon.
Fixes #13
Notes
Currently, we use "percona/percona-server-mongodb:6.0-multi" for arm64 compatibility (00c1ccaf44e97392e014c34c904e77bd9ad4e260).

Test with ddev get https://github.com/tyler36/ddev-xhgui/tarball/13-Investigate-using-official-mongo-addon-for-database

Fixes #20

Added ddev-mongo to "Getting Started"

This is obsolete now right?

Yes. This was an early solution to fix #14
I was aiming to get #22 in though but ... "time".
Closing in favor of #22


proposal: spec: Generic Parameters should be assignable to wider types

Author background

Would you consider yourself a novice, intermediate, or experienced Go programmer?

What other languages do you have experience with?
A lot. Rust, V, Python, Dart, Java, C, Javascript, and Ruby/Crystal.

Related proposals

Has this idea, or one like it, been proposed before?
So far I have not seen any Github Issues or other complaints on this topic.
Does this affect error handling?
No, it should not.
Is this about generics?
Yes, it does.

If so, how does this relate to the accepted design and other generics proposals?
I feel like it fits into the current design proposal because it introduces consistency between the generics system and the rest of the type system.

Proposal
Right now, this code doesn't compile:
package main

type Foo[T any] struct {
    Data T
}

func main() {
    var (
        foo                  = Foo[string]{"Hello World"}
        bar Foo[any]         = foo
        baz Foo[interface{}] = foo
    )
}

I feel like this is incorrect consider the following compiles just fine (ignoring the unused errors ofc):
package main

func main() {
    var (
        foo             = "Hello World"
        bar any         = foo
        baz interface{} = foo
    )
}

It is perfectly compatible with previous Go versions and breaks no code.

That's the wrong comparison, the correct one is invalid in the spec:
package main

type FooString struct {
	Data string
}

type FooAny struct {
	Data any
}

func main() {
	var (
		foo        = FooString{"Hello World"}
		bar FooAny = foo
	)
}

That's the wrong comparison, the correct one is invalid in the spec

That does make sense. So each generic type makes a unique struct in the go compiler? This would prevent things like being able to have an array of Foos not caring about which type of Foo. Is this completely intended and forseen? If so, is there an intended workaround?

It is intended, not really sure about a workaround besides using good ol' interfaces (something like https://go.dev/play/p/Ax6f5E8lH2B).

So each generic type makes a unique struct in the go compiler?

Each instantiated generic type, yes.

This would prevent things like being able to have an array of Foos not caring about which type of Foo. Is this completely intended and forseen?

Yes. You can operate on arrays of Foos of any type, you just have to do that inside a generic context.
type Foo[T any] struct {
    Data T
}
func f[T any](a []Foo[T]) {
    ...
}

Foo[Y] is not assignable to Foo[X], even if Y is assignable to X. That wouldn't work in cases where the type parameter is not of the right covariance/contravariance, consider:
type Foo[T any] struct {
    f func(T)
    g func() T
}

Foo[Y] would be assignable to Foo[X] only if X and Y are mutually assignable.

So @OneOfOne, you method works, sort of, because when I go to get the element I of course can't transform it back to the generic struct, and I can't move all of it's method I need into the interface as they rely on generic parameters. I'm back to step one. Is there really no better solution than interface{}?

I have a small toy example relating to some actual code I have (code I would love to be able to compile):
printNode := ast.NewNode(ast.PrintType, ast.PrintNode{"Hello World!"})
nullNode := ast.NewNode(ast.NullType, ast.NullNode{})
nodes := []ast.Node[any]{printNode, nullNode}
for _, node := range nodes {
	if node.IsA(ast.PrintType) {
		fmt.Println(node.Data)
	}
}

Each Node would have a different Data value depending on the type of the node. It looks like I would have to use interface{} and cast at this point, which admittedly isn't that bad, but I would like to avoid if possible.

We aren't going to implement the suggestion in this proposal.  Foo[string] is not assignable to Foo[any].
Discussion about the general topic should take place on golang-nuts, not the issue tracker.  Thanks.


Bug bash feedback release 5

how to apply vnet peering in the bicep deployment?
simplify instructions on the vnet deployment script? (remove experimental?)
az ad signed-in-user : "jq" is not part of the usual commands, use az ad signed-in-user show --query id instead

switch regions to use NC6: West US2, Australia East, West Europe

Add a note in the quickstart about GPU quotas / region?

at beginning of DP tutorial, add a "quickstart run" to just run a sample (MNIST), and then next sections can deep dive into how to adapt / turn on DP.


Some pdf contents are pictures,and header and footer could not be show

Link to PDF file (or attach file here):
the problem pdf is,use pdf tool show is fine
i use the pdf.js example demo code show result like thise
Configuration:

Web browser and its version: chrome 60.0.3112.101
Operating system and its version:win7
PDF.js version:pdfjs-1.8.188-dist
Is an extension:

Steps to reproduce the problem:

both open the problem pdf use pdfjs example and other pdf tools,compare the diffrents
under the search，i found that the problem pdf contents are pictures,and thier had been combined
What is the expected behavior? (add screenshot)
show the header and footer

What went wrong? (add screenshot)
couldn't show header and footer

This file contains an inline image. These are meant to be 4KB or less, see page 214 of the PDF 32000 specification. Yours is 74KB. Btw you forgot to compress it. Now inline images have the problem that it is tricky to detect their end. This is "EI". However sometimes big images have "EI" in the image sequence, so more heuristics are needed. In your image, after the "EI" there is a space, then a zero, then a "Q". Why the zero? I suspect that it fools the heuristics.

@timvandermeij thx for you answer.I'm a new guy for this,I try to compress the pdf use https://smallpdf.com ,it’s worked,but i don't know the compress algorithm which their use.How can i compress it use pdf.js,can you show  a exmample or function ?  thanks for sincerely.

@hymne your text is unclear. Was the file you attached modified with smallpdf.com? Does the original file display here? Then contact them and point them to page 214 of the PDF 32000 specification. Your file was created last friday and modified yesterday.

@timvandermeij ok,thx your suggest.The problem page is just one page in original pdfs.I splited it use iText.The original file also can't display in this page,but adobe reader display well...

Yes, Adobe does its best to displays bad files. Was the original page created in your company, and what software was used?
Btw I am not "timvandermeij" I'm "THausherr".

@THausherr oh! sorry sorry，the original pdf was not created by my company,we just splited it into pages,i try to contact them what they use.

Thanks... my hope is that they're just starting at this, so that they can fix this weird file by not using inline images this way, and so we don't get such files into the wild.
Btw I don't speak for PDF.js. I'm with a different project (pdfbox) and your file fails there too :-)  (Likely, because many developers think similarly)

@Snuffleupagus Thank you for your resolved the isuue,i update your version,it works well.Today is my projoect's deadline,and...umh....I appreciate your help,your are a very very very good person.

sorry for client's required,the pdf Involving confidentiality,i have to remove the pdf link...  if somebody want to test,you can contact me by<EMAIL_ADDRESS>

sorry for client's required,the pdf Involving confidentiality,i have to remove the pdf link...

First of all, the fact that you've removed the link does not mean that the file is suddenly unavailable. It's actually still available via GitHub, and the link is now checked in to the repo (see https://github.com/mozilla/pdf.js/pull/8800/files#diff-c8d67ab2dbcb03ca57b7ccd6d5ab7c9f).
Second of all, as part of fixing the display of corrupt PDF files like this one, it's absolutely imperative that we add regression tests since otherwise this could easily break again at any time.
@hymne If you want the file completely removed, then you'll probably need to contact GitHub support to inquire about that. However, I'd ask that you please do not do that unless you're able to produce a replacement file (displaying the same issue) that we can use for testing!

I'll try to create one. Hopefully tonight.

@Snuffleupagus get it.I remove the screenshot and link from the isuue's description.Just let my customers seems to their have bean removed.I'm sorry for trouble u,and hope it will not affectting the test

PDFJS-8798-test1.pdf
PDFJS-8798-test2.pdf
PDFJS-8798-test1.pdf: Diagonal line doesn't appear in old version, appears in new version.
PDFJS-8798-test2.pdf: that is the file I created first and so I wondered why one image was missing. It shows a flaw in the "EI" detecting strategy, which you may or may not want to correct. The difference to the first file is that this one has several inline images.
The inline images are rendered blurry, see #8245.
The files were created by myself for the PDFBox project and modified by myself and are Apache licensed.

@THausherr Thanks a lot for your help with reduced test-cases!
For the remaining issue, can you please file a new issue about that (since we want to limit each one to just one problem)?


[WIP] New model/tokenizer types

Busy adding new models, processors, tokenizers, etc.
Models:

MobileViT - commit

Tokenizers:

FalconTokenizer - commit
GPTNeoXTokenizer - commit. This is used by MPT models (like mosaicml/mpt-7b)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Good to hear the e5-small-v2 is involved 💯
It's really a nice trade-off between size & performance


chore: Pool page redirects to new UI

@agualis @alter-eggo I should have put this in the description, this is a prep PR, not going live right now. When it does, there won't be a pool list on v2 either, so no one will be able to click on pools. It just introduces the redirects for all the external links, linking to our v2 pool pages. We can't do this at the domain level because of the hash router.


Fix bug parent hash on BlockV2 upgrade

This bug can be reproduced after storage upgrade from BlockV0 to BlockV2, and only if the preceding block contained transactions. In that case the current_block_hash function will try to decode BlockV2, failing to do so because the block contains TransactionV0s and returning None, defaulting to H256::default(), rendering the parent hash useless and of course messing the block hashing of the subsequent blocks.
This PR proposes just use the already existing BlockHash storage and query it using the previous block number.
This is a pretty nasty bug and should merged in asap @sorpaas . Also, do you have any suggestion on how to test this type of situation in frontier?

I agree that runtime migration is preferable. @sorpaas for visibility, as we talked:

However, for anything that does matter, this break things -- the parent hash is supposed to be used to be able to fetch the parent Ethereum block (encoded by the Ethereum block hash, not Substrate block hash)

That's not the case, as BlockHash is Ethereum block hash, not the Substrate one.

@sorpaas added the migration functions. I still think reading BlockHash storage is an improvement over performing the keccak on-the-fly so I still include that change, but please let me know.

Please pull master.


APK Performance test with 1 cpu router

Description
APK Performance test with 1 cpu router
Affected Component
None
Version
No response
Related Issues
No response
Suggested Labels
No response

Updated the documents and update the payload in repository


dbshell unimplemented

python manage.py dbshell fails due to missing method

Are there any cross platform shells available for MSSQL?

It seems that sqlcmd is possible to install on linux (Red Hat, Ubuntu, SUSE) and OS X. So it could be the right way to go. More at https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools


Port Ranges don't work

Request for NPM to support Port ranges. When I put in 8000:8010 it does not allow me to save my service, and still asks for a port number. This seems like bare minimum functionality.

So this is a feature request, not a bug?
Are you talking about streams or about proxy hosts?
NPM is a (nice) front end for a nginx/openresty. I think it would be safe to presume that it will not be able to do things nginx/openresty does not support.


Support pointer-to-local kernel arguments

Descriptor map says it's a local, not a buffer.

Don't allocate a binding for such variables.

Maps to OpVariable in Workgroup storge of type OpTypeArray

Array size is an integer specialization constant, with SpecId unique
to that integer.

Document pointer-to-local kernel args

Add tests

Refactor SPIRVOperandList into its own class
Add a shift operator to add operands to the list.
Add MkId and MkNum helpers to make operands.

Passes self-tests on Release and Debug builds.  Needs verification on actual HW.

LGTM


Update dependencies in setup.py

What does this PR do?

Fixes #460.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Type parsing doesn't work on computed fields

Say I have a numeric column, that returns a string, so I want to parse it.
Given this table declaration:
export class OneTable extends BaseTable {
    readonly table = 'one'

    computed = this.setComputed(q => ({
        computedRaw: sql`1.5`.type(t => t.numeric().parse(parseFloat))
    })
}

I try to parse as follows:
const result = await db.one.select('computedRaw', {
    raw: sql`1.5`.type(t => t.numeric().parse(parseFloat))
})

console.log(result.raw, typeof result.raw)
console.log(result.computedRaw, typeof result.computedRaw)

The above prints:
1.5 number
1.5 string

Until it's fixed, you can cast the value to real type in the sql:
sql`1.5::real`.type((t) => t.real())

real is the same as float, so you can do 1.5::float, but there is no t.float so having real on both sides is more consistent.

I published a fix, now parsers should be respected on computed columns.

Thank you @romeerez


LGElectronics.LGBridge version 2370

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This package makes the user agree to multiple agreements. First, a termination of service:

Followed by legal documents:


Use max_speed EV for the AbstractFlagEncoder

I'm currently testing to switch the AbstractFlagEncoder to use the max_speed encoded value and have already a working prototype. The remaining problem seems to be related to how we handle spatial rules and fallback values.
Let's take the following route which is part of our unittests as an example:

https://graphhopper.com/maps/?point=49.995905%2C11.547918&point=50.004871%2C11.517191vehicle=car&weighting=fastest&elevation=true
The route changes if the encoded max_speed values in conjunction with spatial rules are used:

The detour seems to be caused by the high fallback values of the spatial rule which assumes 100kmh for unclassified/residential. This is higher than the tagged speedlimit of 70kmh for the B85 and causes the routing to bypass it.
I can lower the limits in the GermanySpatialRule so that they fit the defaultSpeedMap values of the CarFlagEncoder but i'm not sure if that's the best course of action.

I am not 100% sure what you are doing, but there are two different values now: max_speed and average_speed. For the routing, I would use average_speed, not sure if you are using max_speed there?

The AbstractFlagEncoder currently does the following as part of its avg speed calculation:
https://github.com/graphhopper/graphhopper/blob/e919a9415b591478b14a7c37be6249586fb740f9/core/src/main/java/com/graphhopper/routing/util/AbstractFlagEncoder.java#L212-L223
So it's basically doing the same as the OSMMaxSpeedParser but doesn't take SpatialRules into account.
https://github.com/graphhopper/graphhopper/blob/e919a9415b591478b14a7c37be6249586fb740f9/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java#L237-L248
getSpeed retrieves the default speed for the FlagEncoder based on the road class, applyMaxSpeed retrieves the maxspeed for the way and falls back to former default speed if no valid value could be found. And finally the speed is capped by applyBadSurfaceSpeed based on the surface of the way.

So we're parsing the maximum speed for each way in the OSMMaxSpeedParser and again for each registered FlagEncoder. And on top of that SpatialRules are not applied.

Lowering the fallback speeds for Germany yields the expected result:

#2810 is the better approach :wink:


Encounter model update: 'preselected_clinic_id' should be renamed to 'clinic_id'

Encounter model update: 'preselected_clinic_id' should be renamed to 'clinic_id'

Merged in #129


Revert "Refactor theme and status line into their own file"

This reverts commit cdaa750c86cfc0c8f2fc1c8638b7296c327bf5a9.

I'll fix this later


Go to prev/next commands keybindings are not working in terminal

Testing #193852

Option + Down/Up arrow in terminal is not navigating between commands. These are working only in accessibility view. In terminal the keybindings are cmd + Down/Up arrow.

I'm experiencing the same issue testing on Windows 11.

This text should say in the accessible view - the keybinding is meant to work there, not in the terminal.

same issue! All the other commands work fine, arrows/screen reader work fine in the quick pick after command is run.

Everyone, the prev/next commands must be run in the terminal's accessible view - not the terminal. Can you pls test that? I plan to make that clear by tweaking the dialog's text.

Yes, it worked in the accessibility view for me (as it sounds like it did for @sandy081 too).

Worked fine for me too! Sorry for the mixup

Thanks 👍🏼 definitely see why you were confused though, so will fix that

to verify, open the accessibility help dialog by focusing a terminal and using alt+f1. verify that the next/previous commands specify that they're to be applied in the terminal accessible view.


Cannot find tempfiles to properly work.

OS: Windows 10 Pro 64-bit
Build 18362 (Version 1909 Release)
Java version: AdoptOpenJDK 11 64-bit
The error is as follows (straight from CMD):
C:\Users\Owner\Desktop>java -jar unapkm.jar com.netflix.mediaclient_7.50.0_build_17_34771-34771_4arch_2dpi_15lang_7feat_38a1d11001d7d0aea2c238021ec8ec9b_apkmirror.com.apkm netflix.zip                                                         Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'C:\Users\Owner\AppData\Local\Temp\resource-loader13375745676964125581\windows64\libsodium.dll':                                                              The specified module could not be found.                                                                                The specified module could not be found.                                                                                Native library (win32-x86-64/C:\Users\Owner\AppData\Local\Temp\resource-loader13375745676964125581\windows64\libsodium.dll) not found in resource path (unapkm.jar)                                                                                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302)                                                        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)                                                        at com.sun.jna.Native.register(Native.java:1722)                                                                        at co.libly.resourceloader.SharedLibraryLoader.registerLibraryWithClasses(SharedLibraryLoader.java:74)                  at co.libly.resourceloader.SharedLibraryLoader.load(SharedLibraryLoader.java:57)                                        at com.goterl.lazycode.lazysodium.utils.LibraryLoader.loadBundledLibrary(LibraryLoader.java:115)                        at com.goterl.lazycode.lazysodium.utils.LibraryLoader.loadLibrary(LibraryLoader.java:84)                                at com.goterl.lazycode.lazysodium.SodiumJava.(SodiumJava.java:34)                                                 at com.goterl.lazycode.lazysodium.SodiumJava.(SodiumJava.java:23)                                                 at org.example.UnApkm.(UnApkm.java:80)                                                                            at org.example.UnApkm.main(UnApkm.java:155)                                                                             Suppressed: java.lang.UnsatisfiedLinkError: The specified module could not be found.                                                                                at com.sun.jna.Native.open(Native Method)                                                                               at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191)                                                        ... 10 more                                                                                Suppressed: java.lang.UnsatisfiedLinkError: The specified module could not be found.                                                                                at com.sun.jna.Native.open(Native Method)                                                                               at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204)                                                        ... 10 more                                                                                Suppressed: java.io.IOException: Native library (win32-x86-64/C:\Users\Owner\AppData\Local\Temp\resource-loader13375745676964125581\windows64\libsodium.dll) not found in resource path (unapkm.jar)                                                    at com.sun.jna.Native.extractFromResourcePath(Native.java:1095)                                                         at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276)                                                        ... 10 more
I get the exact same error in PowerShell. I'm going to test it in Linux Mint since I hate Windows for lots of reasons, and so I usually modify quite a few settings. However I never modify file permissions because doing so has a chance of rendering Windows dead, and I still need it in case I need to restore an Apple device to full health.

Seems like an error relating to https://github.com/terl/lazysodium-java/issues/34 and https://github.com/terl/lazysodium-java/issues/41 - can you check if C:\Users\Owner\AppData\Local\Temp\resource-loader13375745676964125581\windows64\libsodium.dll exists? It should work fine on Linux anyway :)

You're right about the library not existing in Linux. But the OS I first tried in was Winbloze. When I did it in Linux Mint it worked flawlessly. Thank you for this amazing tool.


Remove fontdeck.com from docs

FontDeck is closing it's doors. Probably best to remove this from the docs to discourage use. Functionality should remain until they officially close down in December 2016.

Thanks for the reminder! I'd like to keep it in the documentation until they've officially closed.

@bramstein ☝


Time represented in log

It seems to be universal time

Which "log" page were you seeing this on?

Not sure which log this refers to. The time displayed in job status log and groups look properly formatted.


Update ember-osf commit

Ticket
https://openscience.atlassian.net/browse/EOSF-
Purpose
Updates ember-osf to the latest develop commit hash
Changes

Side effects

Hmmm. Failing test. Odd.


fix error logs caused by empty annotation

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/assign @zhujian7


Introduction : Multi-Model : Key/Value Model mentions HTTP calls that do not appear to be supported

The documentation mentions that the "typeic" (is this meant to be the word "typical"?) use cases are to make HTTP calls to endpoints that do not appear to be registered in com.arcadedb.server.http.HttpServer.
Are there HTTP equivalent endpoints for the operations on the Key/Value model, or is only using the Redis driver supported?

Please check out the updated documentation about the supported Redis Commands and their usage:
https://docs.arcadedb.com/#Redis-API
You can use HTTP API to do pretty much the same, by using SQL:
https://docs.arcadedb.com/#HTTP-Command
You can use at the same time the Redis API, HTTP, MongoDB and Postgres protocol on the same database.


Inconsistent link text in keyref links to elements with

Gist.
Tested on the current develop branch.
Given:
<xref keyref="keysValue/elementId"/>

And:
<topicref keys="keysValue" ... >

Which has:
<section id="elementId">
  <title>Hello, world</title>
  ...
</section>

The link text for <xref> is determined like this:

topicref
link text

@navtitle
@navtitle value

<navtitle>, no @navtitle
<section> title

no <navtitle>, no @navtitle
<section> title

Furthermore, it seems that DITA-OT never uses the value of <navtitle> as the link text -- only @navtitle (see the fourth link in topic4.dita in the Gist).
Should the navtitle really ever be used as the link text if the keyref points to an element with a <title> child? It seems counterintuitive to me.

Adding "bug" tag as this looks incorrect - but also adding needs-reproduction, as it was opened 2+ years ago and I'd like to verify if it exists in 2.x.


Design for Dashboard Screen

Designers are requested to refer to workflow diagram file and design a beautiful and functional UI for this project. It could be a great way to provide a non-code contribution to this project.

me


[Tech Debt]: Get Chat ready for Launch

What is needed?

[ ] Identify issues with Chat
[ ] Prioritize what is most important for bringing Chat to launch readiness
[ ] Deliver high priority issues/fixes

@miyuki-eto lmk if any of the above weren't addressed between this time and when we launched

it doesnt look like any of these have been addressed (checked on develop)
embeds no longer seem to come through at all. which tbh is preferred over having them half work

Ok, ill make sure the work needed gets captured this time 👍


fix(monitor): alertdashboard setscope

这个 PR 实现什么功能/修复什么问题:
1.监控面板归属展示问题修复
是否需要 backport 到之前的 release 分支:

release/3.7

/cc @zexi
/area monitor

Codecov Report

Merging #10954 (d624670) into master (3a10cd6) will decrease coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10954      +/-   ##
==========================================
- Coverage    5.82%    5.58%   -0.25%
==========================================
  Files         899      518     -381
  Lines      138763    90445   -48318
==========================================
- Hits         8080     5047    -3033
+ Misses     129976    84996   -44980
+ Partials      707      402     -305

Flag
Coverage Δ

aFlag
5.58% <ø> (-0.25%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/cloudcommon/validators/validators_cert.go
37.06% <0.00%> (ø)

pkg/cloudprovider/securitygroup.go

pkg/hostman/hostinfo/hostinfo.go

pkg/monitor/alerting/engine.go

pkg/cloudcommon/db/rbac.go

pkg/multicloud/ecloud/request.go

pkg/httperrors/httperrors.go

pkg/mcclient/options/k8s/job.go

pkg/cloudcommon/db/project.go

pkg/multicloud/aws/instance.go

... and 371 more

Continue to review full report at Codecov.

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


Call to GenesysCloudWebrtcSdk.destroy() never resolves

Using v7.2.3.
After receiving an inbound call and hanging up*, if I try to cleanup via client.destroy(), the resulting promise never resolves. (It works OK if a call was never received.)
The code is similar to this:
try {
    await client.destroy();
    // never gets to here
    console.log("here");
} catch (e: any) {
   // or here
   console.log(e);
}

Digging a little further, if I try to manually do what destroy does, it turns out to be the call to sessionManager.endSession() that never resolves.
try {
    const activeSessions = client.sessionManager.getAllJingleSessions();
    await Promise.all(activeSessions.map(s => client.sessionManager.endSession(s)));
    // never gets to here
    console.log("here");
    client.removeAllListeners();
    client.media.destroy();
    await client.disconnect();
} catch (e: any) {
   // or here
   console.log(e);
}

Any ideas why that promise would never resolve?

Additional Info:

*hanging up not via this SDK but via the Genesys APIs
Persistent Connection is ON

Good catch. I'll have to dig into the root cause but the TLDR is because when using Persistent Connection, client.sessionManager.endSession(s) doesn't actually end the Webrtc Session. It only PATCHes the conversation via the API and responds to the conversation events.
I'll open a ticket to look into the root cause because sessionManger.endSession should still resolve whether or not we tear down the webrtc session.
Here is a hacky little work around for now. But we will try to get this fixed in 7.2.4
try {
    const activeSessions = sdk.sessionManager.getAllJingleSessions();
    if (activeSessions.length === 1 && !sdk.isConcurrentSoftphoneSessionsEnabled()) {
        await sdk.sessionManager.forceTerminateSession(activeSessions[0].id)
    } else {
        await Promise.all(activeSessions.map(s => sdk.sessionManager.endSession(s)));
    }
    // you will get here now
    console.log("here");
    sdk.removeAllListeners();
    sdk.media.destroy();
    await sdk.disconnect();
} catch (e) {
   // and/or here
   console.log(e);
}

Interestingly, it seems I still get the same behavior with the workaround; namely, activeSessions.length is 1 but isConcurrentSoftphoneSessionsEnabled() is true. I have persistent connection turned on, but how would I update the line appearance to 1?

I'm sorry, @bdbvb, I was thinking LA == 1. You could use sdk.isPersistentConnectionEnabled() in your workaround check. I will update original response.
Updating the Line Appearance to 1 is a station/phone configuration item. I don't think there is direct way to update that. Eventually, all stations will have LA == 1 but that migration hasn't started yet. The release of sdk v7 was to lay the ground work for UIs to be able to migrate seamlessly.

@bdbvb, Garrett just put up PR #708 to get this fixed. It will go out in the next release which will probably happen next week sometime.


Issue while training our own data "All tensors must have same number of dimensions"

Describe the bug
We are trying to train language identification model on our own data. Our own data has only two languages (Hindi and Indian english). Hindi data is used from VoxLingua database and English is 1hr 30 mins segmented data from youtube.
We have successfully created shards file for train and development, but we are getting error while running the following script
python train.py hparams/train_ecapa.yaml
I am attaching the error we are facing. Please help us

Thanks in advance
Expected behaviour
To train it completely our own data for two languages.
To Reproduce
No response
Environment Details
No response
Relevant Log Output
No response
Additional Context
No response

Hello @Manusha5,
Coud you please share all the training scripts please?
Thanks

Hello @Adel-Moumen
I am attaching the training script. Please find the attachment
train_ecapa.yaml.odt
train.py.odt
Thanks in advance

Hello @Adel-Moumen
As python files are not allowed to upload i have converted them into odt format and uploaded.
I have not changes anything in the training script. As we are training only two languages we got only 9 shards so we have done below modification
train_shards: !ref <shards_url>/train/shard-{000000..000009}.tar
For ready reference iam uploading training script again.
train_ecapa.yaml.odt
train.py.odt
Is there any update on this?

Since this error occurs so early in the audio pipeline, I am thinking that it could be caused by stereo audio files, when it should be all mono.
IIRC, a bunch of our audio loading code uses .squeeze which would explain why some audio ends up with different dimensions when entering the batch.
You could verify that theory by printing the shape of sig in your audio_pipeline.
If that is the case, you should downmix that audio using something like:
        # If multi-channels, downmix it to a mono channel
        sig = torch.squeeze(sig)
        if len(sig.shape) > 1:
            sig = torch.mean(sig, dim=0)

which will downmix to mono by averaging all the channels.

Hello @Manusha5,
Do you have any news regarding this issue? @asumagic is pointing out an interesting point that you could explore.
Best.

No we are not using any stereo type audios, i checked my audio files all of them are mono only.

I am not sure about this, but I had got similar error in different library and seeing that this issue is still open, I would like to suggest to try specifying the sampling rate or changing the sampling rate.


hello: Removes doCheck = false

Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This package builds fine without this line and there is no comment indicating why it's important.
/cc @edolstra

Removing the line doesn't change anything, really, as false is the default. Keeping it typically signifies the checks didn't work at some point. Here it was done in ec5b66eb.

@vcunat thanks for the explanation and link. I don't see the relationship between the commit message and the changes to doCheck = false though.

It's strange, as the only other change to that file was apparently unintentional and reverted in 2a28bc6691.
Let me set it to true again; it's better to run the tests.


Sequenced User Play Order Feature

What type of issue are you creating?

[ ] Bug
[x] Feature request
[ ] Question

Description of issue
An options config flag to enable a mode that sequentially plays queued songs by all users, where the sequence of songs consists of taking turns between all users who have queued music.
e.g. User A queues 3 songs, User B queues 1 song, User C queues 2 songs.
Song order:
User A: Song 1
User B: Song 1
User C: Song 1
User A: Song 2
User C: Song 2
User A: Song 3

#2361


Better POSTS for cases

Changes:

[x] remove all non-existent case labels from the addResultsForCases call to not fail the POST XHR call

With this change in:
Error: some labels are missing from the test run and the results were not send through: ["3478610"]
node_modules/codeceptjs-testrail/lib/output.js:26

Bugs:
Part of https://github.com/PeterNgTr/codeceptjs-testrail/issues/42

Fixing the acceptance tests now!

@PeterNgTr I think this one's ready now. Please review and publish whenever you have some spare time 🙃


RC Spot-Check Test: Geometric Optics 1.1.1-rc.1

RC Spot-Check Test
Mentions: @arouinfar @kathy-phet
Simulation links

github repository for issues
phet top level directory
sim: all_phet.html

Test Matricies
General Test:

[x] Tester = NS , Platform = macOS 12.3.1 + chrome , Time = .75
[ ] Tester = , Platform = , Time =

Additional Features Test:

[x] Tester = NS, Platform =  macOS 12.3.1, Time = .5
[ ] Tester = , Platform = , Time =

Features included

PhET-iO
[x] Alternative Input
[x] UI Sound
Sonification
Description
Voicing

Focus and Special Instructions
This is a maintenance release to address one specific issue, see Issues to Verify.  Since this is a relatively serious issue, this test is high priority.
Issues to Verify
These issues should have the "status:ready-for-review" label. Unless an issue says to close after verifying, assign the issue back to the developer.
It is sufficient to test this issue on 1 platform.

[x] https://github.com/phetsims/geometric-optics/issues/424

For QA...

General features

What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test some query parameters. (See QA Book for a list of query parameters.)
When making an issue, check to see if it was in a previously published version.
Try to include version numbers for browsers.
If there is a console available, check for errors and include them in the Problem Description.
As an RC begins and ends, check the sim repo. If there is a maintenance issue, check it and notify developers if there is a problem.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.
Load the login wrapper just to make sure it works. Do so by adding this link from the sim deployed root:/wrappers/login/?wrapper=record&validationRule=validateDigits&&numberOfDigits=5&promptText=ENTER_A_5_DIGIT_NUMBER

Further instructions in QA Book
Conduct a recording test to Metacog, further instructions in the QA Book. Do this for iPadOS + Safari and one other
random platform.
Conduct a memory test on the stand alone sim wrapper (rc.1).
Test one platform combination with ?phetioDebug on the Studio and State wrapper.
If Pan/Zoom is supported, make sure that it works when set with PhET-iO State.
Test that the sim works offline:

Click the link to the phet-io zip file (at top of issue) to download the zip file.
Unzip it to a spot locally.
Open index.html by double clicking it on your desktop or in a Finder-view.
It should look like the standalone version of the sim in PhET-iO brand.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

If this sim is not in this list or up to date there, make an
issue in website to ask if PhET research page links need updating. Please
assign to @terracoda and @emily-phet.

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
this Google Document. If you find a
screen reader bug, please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel controls. Please test magnfication and make sure
it is working as intended and well with the use cases of the simulation. Due to the way screen readers handle user input, magnification is NOT expected to
work while using a screen reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

The one issue that needed spot-checking has been closed. Is there more testing that needs to be done? It would be great to get this maintenance release out ASAP, as the published sim contains a pretty serious bug.

I think we're ready to close this one.

Thanks QA. 1.1.1 is published. Closing.


Write documentation / howto guides

Hey is this the repo that holds the code to run a custom image on a hotspot? If so I like to help, I am happy to document the process to install it on a SenseCAP (as I want to get SSH access). I am well versed on the technologies involved but I don't any documentation on how to do it.


Update deps on client to latest in the azure release group

Updated the following:
azure (release group)
Dependencies on client updated to the latest release, using ~ ranges instead of ^. Also updated server deps to ~0.1038.4001.

Ci has passed. @tylerbutler this PR needs a review

Couple of comments:

Can we also bump peerDependencies?
Can we fold external-controller under examples folder, so its clear this is an example? We need to add this folder.
I don't see our e2e tests (even against local server) running. This could be fast follow, but please at least ensure that on this branch e2e tests are not producing any errors.


nginx ingress not routing traffic to service

I installed ninx-ingress via helm
helm install --name ingress --set rbac.create=true,controller.kind=DaemonSet,controller.service.type=ClusterIP stable/nginx-ingress
but it does not route traffic to the service. Any need to configure external Ips on the hetzner-kube setup?

using the cluster addon recipie works

@wiemann controller.hostNetwork=true was missing in your set statement


Setting up the 128x160 display

Dear author! This is the image the display displays. The display applied the recommended one in the project.
How can this be fixed? Thanks!

See the document.  Search for "TFT library patches".

Made changes to TFT_ILI9163C.cpp , nothing has changed- the screen is upside down, on the left there is a white stripe for a quarter of the screen. What else can I see?

I won the white stripe. How can I rotate the screen?

Line 1825:
tft.setRotation ( 1 ) Excellent solution! The question is closed. Thanks!


Trowing error in async/await route times out when using async handler

So I'm not sure I am doing everything correctly here. But how come throwing an Error in this case causes the lambda to timeout?
How can I prevent the lambda from timing out?
import express from 'express';
import awsServerlessExpress from 'aws-serverless-express';

const app = express();
app.get('/throwerror', async (req, res) => {
    throw new Error('This is an error');
});

const server = awsServerlessExpress.createServer(app);
export const handler = async (event: any, context: any) => awsServerlessExpress.proxy(server, event, context, 'PROMISE').promise;

Thanks for the comment. This sounds like a bug. I'll fix and release as soon as I can

This isn't a bug in this lib. It's an unhandled promise rejection at your application layer and must be handled there. If you do the same thing with a standard Express app and try to run it locally (without aws-serverless-express) you'll see it too times out.

To more directly answer your question "How can I prevent the lambda from timing out?" - if you remove async from your route handler function it will return an HTML response with the error stack trace.

Removing async is not an option since I have asyncronious calls to the database.
Using https://github.com/Abazhenov/express-async-handler workes though.
The reson why I created this bug was because I thought it was a bit extreme for the lambda to time out on a async error. But I guess it is not up to aws-serverless-express to take care of that.

Express doesn't natively support  async/await, though they're aiming for it in Express 5. Today, you'll need to do something like:
router.get('/user/:id', async (req, res, next) => {
  try {
    const user = await getUserFromDb({ id: req.params.id })
    res.json(user);
  } catch (e) {
    //this will eventually be handled by your error handling middleware
    next(e)
  }
})

I took this example from here https://medium.com/@Abazhenov/using-async-await-in-express-with-node-8-b8af872c0016.

I didn't see your comment before replying. Glad you found a solution. You're correct that this library doesn't (and can't/shouldn't) stop your Lambda from timing out.


The test "Python.Test.ArrayView" is failing in CI.

The test failure is producing the following output:
1040: FAIL: test_arrayview_writable (__main__.TestNumpySimpleITKMemoryviewInterface.test_arrayview_writable)
1040: Test correct behavior of writablity to the returned array view.
1040: ----------------------------------------------------------------------
1040: Traceback (most recent call last):
1040:   File "/Users/blowekamp/src/SimpleITK/Testing/Unit/Python/sitkGetArrayViewFromImageTest.py", line 132, in test_arrayview_writable
1040:     with self.assertRaises(ValueError):
1040: AssertionError: ValueError not raised
1040:
1040: ----------------------------------------------------------------------
1040: Ran 5 tests in 0.072s

It appears a.fill(0) is being executed on the read-only array view of the SimpleITK buffer.

The following code raises an ValueError exception with numpy 1.23.5, and writes to the read-only buffer with 1.23.5
import numpy as np
a = np.zeros(11)
a.setflags(write=False)
a.fill(0)

Reported issue numpy/numpy#22922

Addressed in numpy, and the problematic versions excluded from SimpleITK's build


Django 2 upgrade?

What are the plans for upgrading this project to use Django 2?
I would like to help with the task. Is there an existing checklist/roadmap?

Hello. I'm just checking up on this issue, as there has been "radio silence" for over a year. Any idea about a Django 2 upgrade?

Same answer here :) Check out these two repos:
https://github.com/xflows/clowdflows-backend
https://github.com/xflows/clowdflows-webapp

That one still isn't on django 2, but should be much easier to port

K, thanks. It might be useful to put a deprecation notice in this project's README, with links to the newer projects. 😀


Changed Content to Value and Update a Test

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Resloves #2675
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[x] No need to
[ ] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

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

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@adityabhattad2021 thank you :)

I have found one more content label instead of value when downloading the Kafka msg. Is this intentional (not to break JSON parsers) or is it a bug?
{
	"Content": "Lorem ipsum dolor sit amet",
	"Offset": 296897,
	"Key": "12345",
	"Partition": 0,
	"Headers": {},
	"Timestamp": "2023-01-17T12:00:02.437Z"
}


Feat/factory design pattern java

Factory design pattern implemented in Java.
ICreditCard - interface containing all function signatures of the common functionalities regarding a credit card.
Gold - Gold credit card class which implements ICreditCard Interface
Silver - Silver credit card class which implements ICreditCard Interface
CreditCardFactory - Class which returns a CreditCard class object based on the parameter passed to GetCreditCardObject
Main - contains the main runnable function of the package.

Looks good!!

Looks good!!


How to properly limit hls download rate?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
--limit-rate woks perfectly fine with an .mp4 video.
But with hls recordings it downloads a fragment at maximum speed and then takes a long pause in order to compensate. This really messes up with other people on on my network.
Increasing the number of concurrent fragments doesn't work, the behavior is exactly the same.
I haven't found any downloader argument that limit the rate for individual fragments.
Maybe I'm missing something?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

You could try and see if using aria2c as an external downloader handles the --limit-rate any better

Sadly, it doesn't work either.
--external-downloader-args "-s 1 -j 1 --max-download-limit=400K"  behaves exactly the same as -N 1 -r 400k

I meant --downloader aria2c -r 400k , not manually passing downloader args

Converting this to a feature request


Fix provided mods showing up multiple times.

Neither the simple nor advanced code-paths actually needed provided mods (the simple path ignored them during iteration, and the advanced path handled them separately already), however they are needed for validation right at the end, so I preserved the original behaviour in a separate map (fullCandidateMap).
This example uses the same mod as my example from https://github.com/QuiltMC/quilt-loader/pull/11#issuecomment-855308489, however this time I didn't manually change the loader version in fabric.mod.json to 0.9.0.
Before:

After:

Since this is a simple bugfix and no-one has had any objections, I'll merge this today at 23:00 UTC.
(I saw some comments about a proper system for who/what/when things like this should be merged, but nothing definite quite yet).


Release: 1.6.0

I see that release/1.6.0 was merged into main - should a GitHub release + tag be made for it now?

Good that I didn't make a release yet :-)
Thanks for taking the time to test, Brett. That is very much appreciated. Looks like<PHONE_NUMBER>3709551432 is beyond the Max Integer :-)
I might just need to convert it from Int to Double. Not sure where, however. Do you really have a xcresult, where one line is covered<PHONE_NUMBER>3709551432 times?

Definitely not, I'm not sure where this number is coming from.

WIll do would you be able to join https://ios-developers.io (Slack) or I can email it to you?
https://join.slack.com/t/ios-developers/shared_invite/zt-27swvfuqf-Onx~Oaywirk6G1pkuJWrNQ

Confirm that for a few files, that number does appear for the execution count in the JSON given by the command above.

I created a new pull request which fixes the issue. You already tested it and so I'll close this issue now


New Changes Make issue in Account Switcher

@lazynina new changes of this PR make an issue for Open Account Switcher
https://github.com/bitclout/frontend/pull/284

It work's fine in Chrome, but in other browsers it makes an issue.

Thanks @harpreet9629 -- looking into it now.


docs(new-tutorial): add essentials/unit-0

Refine essentials / unit 0 for the new tutorial. includes a brief intro to Refine's data hooks, form handling and tables.
Self Check before Merge
Please check all items below before review.

[x] Corresponding issues are created/updated or not needed
[x] Docs are updated/provided or not needed
[x] Examples are updated/provided or not needed
[x] TypeScript definitions are updated/provided or not needed
[x] Tests are updated/provided or not needed
[x] Changesets are provided or not needed

Excellent work! 🥇
"This tutorial will walk you through from essentials of Refine to advanced topics. You'll learn how to build a full-featured CRUD applications with Refine."
'This tutorial will walk you through' => 'This part named "essentials" of the tutorial will walk you through...'
Because I guess we are talking about that we have 1 tutorial and the specific part of the tutorial. Each unit has its own introduction, so we don't need to say 'this tutorial' for each unit like authentication, routing...
Or we'll call each part its own tutorial, like 'authentication tutorial,' 'routing tutorial'?
Should give an overview of what steps will be taken in the each of the tutorial? Something like: 'We'll show the implementation of essential concepts like fetching, updating, listing records, and using forms and tables...'" in this tutorial sections..


Cant install on Beaglebone Black

I installed all prerequisites for noble package, and this package is its dependency. I can't install this package and the usb adapter is working fine with hcitool.

node-gyp rebuild

make: Entering directory /var/lib/cloud9/BluetoothWeb/node_modules/noble/node_modules/bluetooth-hci-socket/build'   CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o In file included from ../src/BluetoothHciSocket.cpp:8:0: ../node_modules/nan/nan.h:330:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory /var/lib/cloud9/BluetoothWeb/node_modules/noble/node_modules/bluetooth-hci-socket/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.8.13-bone70
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /var/lib/cloud9/BluetoothWeb/node_modules/noble/node_modules/bluetooth-hci-socket
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
I tried everything but it's not working yet! Please help

@MarinRadmilovic as per https://github.com/nodejs/nan/issues/414 and https://github.com/nodejs/nan/issues/394 I suggest you upgrade your version of Node.js and/or npm.


fix: add namespace permission

fixes #9

Would you mind @ppodevlabs squashing the commits?
Thanks

Would you mind @ppodevlabs squashing the commits? Thanks

done


How to use in react ^16.8.6 and threejs r110

Now i use,

But, it's show BUG.

@jeromeetienne

I take this threex.domevent.js file out separately.
And add  export default THREEx; at the end of the code.
It's can correct import in the react.


Added handling for verify_ssl

The current blackbricks doesn't handle the databricks cli insecure argument. This pull request enables handling. See discussion at the community forum. This change incorporates the solution Megan05 mentioned in same thread.

Thanks for adding this! I slightly modified your initial commit to account for the slightly odd way the databricks CLI handles the insecure option. They treat any value as the option being enabled, even if you set it to false. Even though that might be a little unintuitive, blackbricks should give it the same treatment.
I just figured I would add a link to a possible solution to the SSL issues I'm guessing you are facing. Just in case it helps: https://stackoverflow.com/a/73650193/3377926

Thanks! I'll look into that option, too.


Is it possible to pass the Authorization header?

Hi all!
I am using jwilder-nginx-proxy in front of a GitLab service. The basic functionality works fine with the VIRTUAL_HOST and VIRTUAL_PORT labels.
The problem I am facing is that it seems that the Authorization header is not forwarded to the GitLab service. This header is required for GIT cloning via HTTPS.
Is it possible to forward this header? How should this be done?
Thank you!

OOPS, ignore


test: add code coverage support

With golang 1.20.x, we can build a binary with coverage support.

Cover
Go 1.20 supports collecting code coverage profiles for programs
(applications and integration tests), as opposed to just unit tests.
To collect coverage data for a program, build it with go build's -cover
flag, then run the resulting binary with the environment variable
GOCOVERDIR set to an output directory for coverage profiles. See the
'coverage for integration tests' landing page for more on how to get
started. For details on the design and implementation, see the
proposal.

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Also, doesn't make sense to trust integration testing on an instrumented non-production binary - these should be kept separate.

I don't think a separate "coverage" workflow is useful. c-i should always run coverage.

^ it is separate because binaries being built and shipped are separate (unfortunately) - we want the binary from one workflow and coverage from the other.

I don't think a separate "coverage" workflow is useful. c-i should always run coverage.

^ it is separate because binaries being built and shipped are separate (unfortunately) - we want the binary from one workflow and coverage from the other.

Just build them both from the same run.  A 'make' should build both. One is named 'stacker-coverage' one is named 'stacker'.
I can do a PR with my suggested cleanups at some point.


How to create Non-closable Dialogs ?

I have created a material Dialog. But I want to make the Alert Non Dismissable?
How can i make my Dialog Dismissable?

You can set the cancelable method in the builder to false

Thanks it helped!


[EngSys] Create Stress Testing Platform

High level tracking issue for Stress Testing
Copied from the Design Doc (internal):
A working definition of stress tests for this context is:
A program written to exercise one or more SDKs in a way that attempts to replicate real world
conditions likely or known to cause failures.
The top level goals for this project are:

Enable SDK developers to easily write and run stress tests
Provide guidance around stress test structure (packaging, telemetry, behavior) to work with a common platform.
Build a common stress test infrastructure platform that provides:

Pre-built methods for simulating various types of stress: network, cpu/mem, I/O, etc.
Pre-built ways to observe and debug stress tests: dashboards, log queries, alerts, etc.
Infrastructure and automation for stress test development and continuous testing.

Dogfood our customer experience by leveraging the SDKs and tools customers are guided to use.

For this project we plan to leverage Azure products and open-source components wherever possible. This will help us to deliver and iterate quickly and align with the customer experience using Azure with the SDKs.
Issues:

[x] #3155
[x] #3156
[ ] #3157
[x] #3158
[x] #3168

@richardpark-msft I'm going to close out this first epic and we can track the follow-on alerting scenarios on their own.


Drop latex at cursor position

Resolves https://github.com/cjquines/qboard/issues/208

tysm bestie


Fix for issue 71

This fix addresses issues in #71 ; original pull request had hanging chads that broke the test
environment.
I am having trouble squashing ba1cd9; sorry for the bad form.

Looks like I am having some style issues on p27 with white space.  Will attempt to fix later

@bhklimk and I have had some good discussion about this, we're closing this, taking the concepts and pushing them into PR #76


Tutorial mode: Hint blocks are orange not the colour they really are

(This is feedback from a teacher)
In the tutorials mode, the suggestion from the 'hint' bar has blocks in orange

But we use block colour commonly to help people find them. Is there a reason the blocks in 'hint' don't look right?

These strings come from the documentation. There is no blockly loaded render to get the right color. Do agree that we can do something better here.


Add documentation how to run the business-test locally.

Hi @ndr-brt, yes there are duplications to workflows/business-tests.yaml but if you want to run the same things which are running on GitHub there is no other way to use it also for local setup.
I'm not the expert for Cucumber but also they are suggesting to setup environments variables either via terminal or within IDE as I did (please refer to https://cucumber.io/docs/cucumber/environment-variables/). I chose the second option since we have maybe multiples OS involved and terminal would differ for each OS.
I know setting/updating the environment variables manually is annoying but this would also depend on your local kubernetes environment/settings and don't know how to find a better/dynamic solution which fits for everyone.

Hi @ndr-brt, yes, there are duplications with some small changes to workflows/business-tests.yaml but if you want to run the same things which are running on GitHub there is no other way to use it also for local setup. I'm not the expert for Cucumber but also they are suggesting to setup environments variables either via terminal or within IDE as I did (please refer to https://cucumber.io/docs/cucumber/environment-variables/). I chose the second option since we have maybe multiples OS involved and terminal would differ for each OS. I know setting/updating the environment variables manually is annoying but this would also depend on your local kubernetes environment/settings and don't know how to find a better/dynamic solution which fits for everyone.
Btw. I have moved it to docs/develpment/ as agreed with @DominikPinsel

My concern is that, having to set 22 variables just to run some tests seems to be pretty hard.
As we have 2 only business-test environments (local and github actions) why don't have just a single environment variable called ENVIRONMENT that tells cucumber which set of variables to load.
If ENVIRONMENT is set to local, it will just create the Environment object using the values you specified in the markdown, launching kubectl get ... to get the correct ports .
If it is set github, it will use the variables listed in the workflow files.
Doing this all that knowledge will be moved in the code instead of having it scattered between a markdown and a yaml file.
Plus, giving to ENVIRONMENT a default value to local will permit the developer to launch the test from the IDE without having they bothering with running configurations.