Latest app crashes when created signed apk

I made a signed apk from current github, in Android Studio. Build > Generate signed APK. Uploaded to www.jotunheimen-tracking.no, and installed OK. App starts but crashes before splash or index screen.

06/07/2017
17.18	Gradle sync started
17.18	Gradle sync failed: Failed to find Build Tools revision 25.0.2
Consult IDE log for more details (Help | Show Log)
17.18	Unregistered VCS root detected
The directory /Users/niklas/projects/jotun-6-7-2017/Jotunheimen-tracking is under Git, but is not registered in the Settings.
Add root  Configure  Ignore
17.18	Gradle sync started
17.18	Gradle sync failed: Failed to find Build Tools revision 25.0.2
Consult IDE log for more details (Help | Show Log)
17.19	Gradle sync started
17.19	Gradle sync completed
17.19	Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :react-native-device-info:generateDebugSources, :react-native-device-info:generateDebugAndroidTestSources, :react-native-device-info:mockableAndroidJar, :react-native-device-info:prepareDebugUnitTestDependencies, :RNLocation:generateDebugSources, :RNLocation:mockableAndroidJar, :RNLocation:prepareDebugUnitTestDependencies, :RNLocation:generateDebugAndroidTestSources]
17.20	Gradle build finished in 13s 626ms
17.20	Instant Run requires Android Gradle Plugin version 2.3.0-beta1. Update.
(Don't show again)
17.20	Executing tasks: [:app:assembleDebug]
17.21	Gradle build finished in 38s 2ms
17.32	Executing tasks: [:app:assembleDebug, :react-native-device-info:assembleDebug, :RNLocation:assembleDebug]
17.32	Gradle build finished in 4s 651ms
17.32	Build APK
APK(s) generated successfully.
Reveal in Finder
17.43	Executing tasks: [:app:assembleRelease]
17.43	Gradle build finished in 9s 806ms
17.43	Generate Signed APK
APK(s) generated successfully.
Reveal in Finder

Well, I am not using Android studio. As i wrote in Doc, I make a signed apk in Terminal.

Please refer to this page.
https://facebook.github.io/react-native/docs/signed-apk-android.html#content

OK, Thanks!

This is the error from terminal:
13:04:14.607 [ERROR] [org.gradle.BuildExceptionReporter]
13:04:14.607 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
13:04:14.608 [ERROR] [org.gradle.BuildExceptionReporter]
13:04:14.608 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
13:04:14.608 [ERROR] [org.gradle.BuildExceptionReporter] Build file '/Users/niklas/projects/jotun-6-7-2017/Jotunheimen-tracking/JotunheimenPlaces/node_modules/react-native-gps/build.gradle' line: 1
13:04:14.608 [ERROR] [org.gradle.BuildExceptionReporter]
13:04:14.609 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
13:04:14.609 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating project ':RNLocation'.
13:04:14.609 [ERROR] [org.gradle.BuildExceptionReporter] > java.lang.UnsupportedClassVersionError: com/android/build/gradle/LibraryPlugin : Unsupported major.minor version 52.0
13:04:14.609 [ERROR] [org.gradle.BuildExceptionReporter]
13:04:14.610 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
13:04:14.610 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
13:04:14.610 [LIFECYCLE] [org.gradle.BuildResultLogger]
13:04:14.611 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
13:04:14.611 [LIFECYCLE] [org.gradle.BuildResultLogger]
13:04:14.611 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3.111 secs
13:04:14.615 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 1, cache instances: 1, modules served from cache: 0, artifacts: 0
13:04:14.615 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Generated Gradle JARs cache (/Users/niklas/.gradle/caches/2.14.1/generated-gradle-jars) was closed 0 times.
13:04:14.616 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/Users/niklas/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
13:04:14.617 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/Users/niklas/.gradle/caches/modules-2/metadata-2.16/artifact-at-repository.bin)
13:04:14.617 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/Users/niklas/.gradle/caches/modules-2).
13:04:14.618 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
13:04:14.619 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
13:04:14.620 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.001 secs
13:04:14.620 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/Users/niklas/.gradle/caches/2.14.1/plugin-resolution) was closed 0 times.
macbook:android niklas$

If you can, please create also new apk, so I can send to client asap.

Also, I noticed that when cloned from github, gradlew has 644 rights, so I need to change that to 755 manually. Maybe a strange github/osx file system issue. But wanted to let you know.

Yup. Committed new apk.

Thanks!
Here's my gradlew, if that's the issue:macbook:android niklas$ ./gradlew --version

Gradle 2.14.1
Build time:   2016-07-18 06:38:37 UTC
Revision:     d9e2113d9fb05a5caabba61798bdb8dfdca83719
Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.7.0_79 (Oracle Corporation 24.79-b02)
OS:           Mac OS X 10.12.5 x86_64
macbook:android niklas$

i'll think about it.
Actually, I develop Android on windows com, and iOS on mac com.
so far, I did not make android apk on mac.
android was developed on windows.
Of course this is not fundamental.
maybe we need to review the development environment on Mac for android.

OK, I can also try on windows virtual machine. But for now, client is happy that the app is working. I also promised the app to be launched by Mon on Google Play.

Error from windows cmd: A problem occurred configuring project RNLocation:

Try this once.
Create a new project and create a signed apk once.
I wonder if there is an error there.
Obviously I make signed apk with gradlew assembleRelease directive.

From Android Studio, new project, then in terminal ./gradlew assembleRelease:
FAILED:
FAILURE: Build failed with an exception.

Where:
Build file '/Users/niklas/projects/jotun-8-8-2017/Jotunheimen-tracking/JotunheimenPlaces/MyApplication/app/build.gradle' line: 1

What went wrong:
A problem occurred evaluating project ':app'.

java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0

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

BUILD FAILED
Total time: 25.585 secs
macbook:MyApplication niklas$
Now I'll update gradle, Android Studio says I have 2.3.3, and newest is 3.3.
Then I'll try again, and also try directly from terminal react-native init

OSX: Updated to java 1.8 from 1.7.
Android Studio: sync issue: The SDK Build tools rev 23.0.1 us too low for project RNLocation. Minimum required is 25.0.0. Updated Build Tools and sync project.
=> Generated Signed APK from Android Studio > Got file, but crashes when started on phone.
=> Tried gradlew assembleRelease, now it runs OK, but still the package crashes when installed.

Screensharing? Or can you contact me on Upwork so that you can sign the apk with project keys? Thanks!

Hi, Nicklas. I'm sorry I can not help you much. It's a little hard to figure out why.
Please send me your key and password, i'll make the signed apk.
Thanks.

It's live now but with wrong image on welcome page. Not big issue. If you could create once again apk for release, I've updated the graphic, same size/name. Just check it says Jotunheimen Tracking under logo on welcome page. I'll then update Play Store.

I'll try again later and ask for some outside help. I'm still wondering why this is an issue on my machine.


Upload backup file - not able to select any files to upload.

Bug description
New install protainer is not able to select any files to restore via backup. All options are greyed out via file browser.
Expected behavior
I should be able to select .tar.gz files or .encrypted
Steps to reproduce the issue:
On a new install of portainer, select "Restore Portainer from backup". Then click "Browser" to find your backup file. No files are selectable.
Technical details:

Platform (windows/linux):
linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Browser:
Tried all: Firefox, Edge, Chrome, Safari

Additional context
I tried modifying the code in dev tools to remove the accept="" but did not work either..
EDIT: Looks like this works on a windows machine fine, but not mac

Confirmed, Can view files but not select the file on Mac

I just spent an hour trying to troubleshoot this same problem. A fix would be very much appreciated, not being able to restore a backup file is quite concerning.

@neo-neo1 , quick fix will be click Options and change the Format filter from "Customised Files" to "All Files".


fix Stopwatch Beta

fixes the Stopwatch Beta gamemode. tested on pl_upward, pl_swiftwater_final, pl_summercoast_rc8e, cp_sunshine, and cp_process_final with results as expected in each.
there is probably a better fix that can replace gb_stopwatch_changelevel_time involving using sm_mapvote_voteduration from nativevotes_mapchooser.sp to ensure the mapvote finishes, 35 should work on Uncletopia config.

moving to leighmacdonald/gbans as requested


Combine SSH stuff

[ ] Create SSH keys
[ ] Link to Github SSH login
[ ] #33
[ ] nohup on SSH sessions (with mentions to TMUX)
[ ] #26 to copy files to and from remote computer

Better keep them seperated


[ fix ] add a missing case

Add a missing case for invalid key, in the solutions for chapter Algebraic Data Types.

Thanks for catching this!


Update en.yaml based on TOC feedback.

Updating Falco's landing page with feedback from CNCF's TOC. Rephrasing a few things.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
TOC gave specific feedback about some of the wording on the site. I am editing to match here.
Which issue(s) this PR fixes:
Related to https://github.com/falcosecurity/falco-website/issues/1003

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: aijamalnk
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nate-double-u @incertum fyi

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: aijamalnk, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: efe1f38601990a4213bd17070aa827d7451b3f9f


feat: [mockup] use vite

The mockup should be built with HTML, Vanilla JS, and Tailwind CSS to keep things simple.


I need access to the req.user and req.ip when using asyncData

Im using asyncData to fetch information from database so that it is rendered serverside ....  the information is used to create a chart and show votes on the chart by users.
if user hasnt voted on chart they have the option to vote through a dropdown select.
The problem is if the user has voted i need to be able to check req.user.username /or for not logged in users req.ip against a array of users that have voted allready ... but with asyncData i can get all the information before render eg name of chart, options to vote for , array of people who have voted .... but cant check against req.user.username (as asyncData dosent give me a req.user when request being made ) before render .... so if someone is logged in i have to wait for the page to render then check the store for the logged in user and then compare this to the voters and then disable the option to vote if they have voted.
If i go the other way and wait till page loads and then send a axios request for the same information i do get access to the req.user ...... but it would be of far more benefit to be able to have this pre render.

use fetch method. you can access req object inside fetch method
https://nuxtjs.org/api/pages-fetch/
async fetch ({ store, req }) {
    // do stuff
  }

these things can be accessed inside fetch method!
https://nuxtjs.org/api/context

Unfortunately not working for me
   async fetch ({store, req, params}) {
let {data} = await axios.get(http://localhost:3000/api/test`+'/'+ params.Hd)
},
`
from the route i set variables and console out response
console.log('in the get poll by id Test route ');
 let ip = req.ip;
 let User;
if(req.user)  User = req.user;
//let user;
//let voters;
let ThisPoll = req.params.pollId;
//let voted = false;
console.log(ip,User,ThisPoll)
console.log('params ',JSON.stringify(req.params))`
And this is the log i get
in the get poll by id Test route
::ffff:<IP_ADDRESS> undefined 59fb59feefe8cd11e841fa37
Req  {"pollId":"59fb59feefe8cd11e841fa37"}
the ip should be ::1 but using fetch or asyncData i always get ::ffff:<IP_ADDRESS> unless i send axios request from client side
And req.user still coming back undefined (Had logged in for this test)
on client side i have access to getters getauthUser to get the user from the store where name is stored when logged in.
Just not understanding why its so easy to get req.user from the client using  axios side but im finding it impossible using fetch or asyncData
`

Ok sorted .... i was checking in the wrong spot for the req .... when i thought fetch wasnt working went back to asyncData and added the req .... and did a check in the route for req.user which came back undefined ..... Then decided to console.log(req.user) from asyncData to see if it was being sent and got a print out so knew it was .... so i was wondering what am i doing wrong.
Woke up this morning and realized i wasnt meant to check in the route but that when i got the response back then is when i had access to the req.user .... so here is where i check if user has voted then i return data and set voted to true or false then it renders page.
Feeling a bit stupid but dont mind as i got it sorted and understand the process a bit better.
async asyncData({ store, **req**, params}) {
  // We can use async/await ES6 feature
let { data } = await axios.get(http://localhost:3000/api/test/${params.Hd});
console.log(data); // Got data back here
console.log(req.user) // lol had access here
return {
}
},``


chore: bdd-spring-1585599918 to 0.0.1

chore: Promote bdd-spring-1585599918 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Added a size function, so that I can generate keys.

nice to have, especially for generating unique keys.

I've added a test for size. It's in a new file as the other tests are all broken. If what I've done is correct, I can change the other test files. I've tried to fix test-dirty.js in a local branch but it's more broken than I have time to fix right now.
Thanks


Support 'remove' mode in ConfigReconciler.

This PR adds the support for 'remove' mode in ConfigReconciler. If the mode of a type is set to 'remove', all the propagated objects (i.e., objects created by HNC) of the type will be removed. However, source objects (i.e., objects created by users) of the type will not be removed.
Tested: GKE cluster; unit tests.
Design doc: http://bit.ly/hnc-type-configuration
Issue: #411

@yiqigao217 Feel free to review the PR.

/hold
Please do not remove hold until #476 is merged.

/hold cancel.
#476 was merged. This PR is rebased.

Hi @adrianludwin and @yiqigao217
Thanks for the previous code review. I just rebased this PR again. Now it only includes changes for supporting "remove" mode. Feel free to take a look.

/lgtm
/approve
/hold cancel


Added default budget

There needs to be a default budget of $50 USD.

@Kolezhanchik I have changed the form helpers file to add the default budget and the budget component its self. I have not changed any other file but because we don't have linting yet it shows that it has changed due to how my local environment formats.


Electron support

Hello guys, I thought the recently added web support was an amazing idea, so I thought to use electron to wrap it in a desktop app.
The following PR implements even a basic distribution strategy using electron-builder.
I also made a couple of fixes here and there: using cross-env, fixing assets path, removing unused service worker since it was breaking some tests and builds...
The main idea is to extend a bit what web support already does; that's why I just added some conditions to the original web support code.
I hope you like it. :)
P.S. to use this run it as create-react-native-app myApp --with-electron-support

Hello! How could I use this scripts version if they're not yet integrated?
I've tried using CONTRIBUTING.md guide but with no success.

I tried many standard ways to test this package and failed every single time. I went for the overkill approach: I bumped up the minor version in the package.json and published the package in a local verdaccio instance (a private proxy npm registry)

Thanks for the pull request! Create React Native App now uses the expo init command (Expo CLI) to create apps. We don't have support for custom templates in Expo CLI yet, but it's planned. See more at: https://github.com/expo/expo-cli/issues/65


[Twitch] Unable to download chat replay (--sub-langs rechat)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.11.11 (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 the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Luxembourg/Europe
Provide a description that is worded well enough to be understood
Cannot download live chat replay (comments) from any recorded live stream on Twitch.
Example video:
$ yt-dlp -vU --skip-download --write-subs --sub-langs rechat https://www.twitch.tv/videos/1670416229
We get:
yt_dlp.utils.DownloadError: Unable to download video subtitles for 'rechat': HTTP Error 410: Gone
It is probably a problem with client_id not being allowed by Twitch API any more, because in output we see:
[debug] Invoking http downloader on "https://api.twitch.tv/v5/videos/1670416229/comments?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko"
When we go to the URL with a normal web browser, we get Message:
This api.twitch.tv page can’t be found
It may have been moved or deleted.
HTTP ERROR 410

I am using rechat, because it is on the list of available subtitles:
$ yt-dlp -vU --skip-download --list-subs https://www.twitch.tv/videos/1670416229
[debug] Command-line config: ['-vU', '--skip-download', '--list-subs', 'https://www.twitch.tv/videos/1670416229']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (linux_exe)
[debug] Python 3.10.6 (CPython x86_64 64bit) - Linux-5.15.0-56-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.7 1 Nov 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [twitch:vod] Extracting URL: https://www.twitch.tv/videos/1670416229
[twitch:vod]<PHONE_NUMBER>: Downloading stream metadata GraphQL
[twitch:vod]<PHONE_NUMBER>: Downloading video access token GraphQL
[twitch:vod]<PHONE_NUMBER>: Downloading m3u8 information
[twitch:vod]<PHONE_NUMBER>: Downloading storyboard metadata JSON
WARNING: [twitch:vod] Unable to download JSON metadata: HTTP Error 403: Forbidden
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available subtitles for v1670416229:
Language Formats
rechat   json

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--skip-download', '--write-subs', '--sub-langs', 'rechat', 'https://www.twitch.tv/videos/1670416229']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (linux_exe)
[debug] Python 3.10.6 (CPython x86_64 64bit) - Linux-5.15.0-56-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.7 1 Nov 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [twitch:vod] Extracting URL: https://www.twitch.tv/videos/1670416229
[twitch:vod]<PHONE_NUMBER>: Downloading stream metadata GraphQL
[twitch:vod]<PHONE_NUMBER>: Downloading video access token GraphQL
[twitch:vod]<PHONE_NUMBER>: Downloading m3u8 information
[twitch:vod]<PHONE_NUMBER>: Downloading storyboard metadata JSON
WARNING: [twitch:vod] Unable to download JSON metadata: HTTP Error 403: Forbidden
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] v1670416229: Downloading subtitles: rechat
[debug] Default format spec: bestvideo*+bestaudio/best
[info] v1670416229: Downloading 1 format(s): 1080p60
[info] Writing video subtitles to: GlobiHorror - Une soirée d'horreur pour se faire peur avant Noël ! #Horreur #Peur #Halloween [v1670416229].rechat.json
[debug] Invoking http downloader on "https://api.twitch.tv/v5/videos/1670416229/comments?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko"
ERROR: Unable to download video subtitles for 'rechat': HTTP Error 410: Gone
Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 3950, in _write_subtitles
  File "yt_dlp/YoutubeDL.py", line 2924, in dl
  File "yt_dlp/downloader/common.py", line 446, in download
  File "yt_dlp/downloader/http.py", line 371, in real_download
  File "yt_dlp/downloader/http.py", line 129, in establish_connection
  File "yt_dlp/YoutubeDL.py", line 3692, in urlopen
  File "urllib/request.py", line 525, in open
  File "urllib/request.py", line 634, in http_response
  File "urllib/request.py", line 563, in error
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 410: Gone

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 1485, in wrapper
  File "yt_dlp/YoutubeDL.py", line 1582, in __extract_info
  File "yt_dlp/YoutubeDL.py", line 1641, in process_ie_result
  File "yt_dlp/YoutubeDL.py", line 2737, in process_video_result
  File "yt_dlp/YoutubeDL.py", line 2983, in process_info
  File "yt_dlp/YoutubeDL.py", line 3958, in _write_subtitles
yt_dlp.utils.DownloadError: Unable to download video subtitles for 'rechat': HTTP Error 410: Gone

It looks like twitch uses graphql to fetch rechat now.
here's an example POST request body (pretty-printed):
[
  {
    "operationName": "VideoCommentsByOffsetOrCursor",
    "variables": {
      "videoID": "1670416229",
      "contentOffsetSeconds": 0
    },
    "extensions": {
      "persistedQuery": {
        "version": 1,
        "sha256Hash": "b70a3591ff0f4e0313d126c6a1502d79a1c02baebb288227c582044aa76adf6a"
      }
    }
  }
]

hm.. that means our http downloader won't be able to handle it

@JakubSkowron I must ask this: are you sure the way you used to download live chat always downloaded the full chat history?

@mpeter50 I downloaded mostly ones where there were no much things in chat, short streams, but for one stream I've seen that messages only up to 360 seconds were downloaded ("content_offset_seconds").

Yes, this is because the built-in way of downloading chat messages always only downloaded the first page of the chat history. I think there should be an ID-like thing at the end of the file, at least when the chat history would continue on further pages.
#1551 was able to download chat all* messages until recently, but I'll try to fix it shortly. No guarantees, though.
When I fix it, one can use it regularly after cloning my repository and checking out the twitchvod-livechat branch.
*AFAIK moderated (moderator chatbot deletions included) messages, and messages recently sent by those who have been temporarily banned (even if for only a few seconds/minutes) is not available, as these messages are all deleted.

@JakubSkowron I've uploaded the fix for Twitch chat extraction.
For now it wont be merged into the normal version of yt-dlp because for that heavy structural changes would have to be done, but development is tracked in #1551 .
If you want to try it out, or use it in the meantime, you can clone my fork, switch to the twitchvod-livechat branch, and run yt-dlp from there. You may also need to use the --sub-langs all,live_chat arguments for the yt-dlp command.
Keep in mind that (afaik) all VODs and their chat is only available for 2 months starting from them being published.

For anyone stumbling into this issue, the fork of mpeter50 worked for me, but I had to change line 553 from
chat_history.extend(traverse_obj(comments_obj, ('edges', slice, 'node')))

to
chat_history.extend(traverse_obj(comments_obj, ('edges', ..., 'node')))

Oh, I thought I pushed that change already. But maybe I remember something similar.
Be sure to check that you did not only get the first page (~50 pieces) of comments. A common indicator of it is too small files for long streams of popular streamers.
Right now there are problems with anti-bot protection at Twitch, that for some reason only prevents downloading chat pages after the first one.
If you find that you did not get all comments, there is a workaround. Let me know and I'll try to summarize it.
When I get back to this, I want to fix it normally.

Seems like I got all almost 300 message from the VOD I downloaded.
I do plan on dowloading more, so just in case I stumble into it, could you describe the workaround anyway, please?

Capture data
Open a new tab in your web browser, open the develeoper tools and its network tab for it, and load Twitch. The order is important because this way the devtools wont miss traffic from the beginning.

Extract identifiers
You will need 2 or 3 things from here:

Device ID
Client-Integrity

Device ID: this is stored in the unique_id cookie and is set in the first request (which is the document itself).
Although yt-dlp can extract this from your browser if you give it the --cookies-from-browser firefox arguments, (for now) it wont know how it should be used. It would attach it to every request as a cookie, but we need something else.
Last I checked this expires in a year, not counting from loading the page, but instead from when it was generated.

Client-Integrity: you can find this either in the token field in the JSON response of the latest https://gql.twitch.tv/integrity request, or in requests which use this token in the Client-Integrity header.
Last I checked this last a day, so you may have to re-obtain this regularly.

When it is obtained
When it is used

Use identifiers
Open the yt_dlp/extractor/twitch.py file from the repository, and find the yt_dlp.extractor.twitch.TwitchBaseIE._download_base_gql function.
The headers is a dictionary/map that contains what HTTP headers should yt-dlp use when making certain GQL requests.
Insert into it the Device ID you obtained with the X-Device-Id key, and the Client Integrity token with the Client-Integrity key.
It should look like this:
    def _download_base_gql(self, video_id, ops, note, fatal=True):
        headers = {
            'Content-Type': 'text/plain;charset=UTF-8',
            'Client-ID': self._CLIENT_ID,
        }
        gql_auth = self._get_cookies('https://gql.twitch.tv').get('auth-token')
        if gql_auth:
            headers['Authorization'] = 'OAuth ' + gql_auth.value
        # else:
            # headers['Authorization'] = 'undefined'

        headers["X-Device-Id"] = "your Device ID goes here"
        headers["Client-Integrity"] = "your Client-Integrity token goes here"

        return self._download_json(
            'https://gql.twitch.tv/gql', video_id, note,
            data=json.dumps(ops).encode(),
            headers=headers, fatal=fatal)

There shouldn't be any more changes to this function.
Please don't copy and paste the above snippet, as I don't know if there have been changes to this function since I last pulled, but only take it as an illustration.
When you are done, try running yt-dlp for a VOD where you previously couldn't obtain all messages.
Be sure to actually run yt-dlp from this source code you just edited, not the installed version, and also run it at a temporary output directory, so as to not contaiminate your usual one with bad files, maybe even overwriting good ones.
If it looks good, you should be ok to run it with the usual output directory too. If you use archive files (--download-archive), don't forget to remove the IDs of the failed VODs from it, so that yt-dlp does not skip them when retrying.

We should be able to easily make our extractor read this when user passes --cookies-from-browser

extractor options with the cases being preserved

_configuration_arg() has a casesense param

any update on this? it's still happening for me

got nothing from where? I've been using that patch for months now, reliably
granted, having it in core would be nice :)

@donnaken15 did you enable downloading the live chat? You need to add live_chat to the list of downloaded subtitle languages, even if you use all, like this: --sub-langs all,live_chat
If you did that already, did you get any error messages?
If you paste the full output of a run with the --verbose arg, that could be helpful, but if you do that please upload it as a gist, and link the gist here, instead of pasting the text here directly. That way this issue discussion is much more readable, I think.
If by my method you mean my July 10 comment, thats not enough in itself. You have to use the branch of #1551 (which is the twitchvod-livechat branch of my fork: https://github.com/mpeter50/yt-dlp).
With the current state of it, you can set the 3 kinds of IDs with extractor arguments, or if you use a config file, with that too.
If you want to use it on sub-only channels, you also have to make yt-dlp to use the Authorization header, so that it "logs in" with your account. If you ask it to use the cookies from your browser, it will use that automtaically.
However, in this case make sure that you obtain the 3 IDs from the same browser tab where your account is logged in. That is, don't use a container tab for that on Firefox. Thats because the 3 IDs are connected to your account, and only work with the Authorization header of your account.

@edvordo maybe you already do, but please always check if all messages were obtained corretly.
I have run into it multiple times that for some reason or another not all messages were downloaded, but the first page only, and sometimes only realized that after the VODs were gone fron twitch.
This thing that you have to supply fresh IDs every day makes it very fragile.
Recently I wasnt able to work on trying to auto-generate the IDs, but thinking about it, maybe even just aborting the procedure when I receive that error would be a better idea than doing nothing..

@donnaken15 did you enable downloading the live chat? You need to add live_chat to the list of downloaded subtitle languages, even if you use all, like this: --sub-langs all,live_chat

the only "subs" that come up is "rechat"
just tried this
yt-dlp --sub-langs all,live_chat --write-sub --skip-download https://www.twitch.tv/videos/... --verbose
https://gist.github.com/donnaken15/31af64223eccfed160c287eddf13c782
patched code:
	def _download_base_gql(self, video_id, ops, note, fatal=True):
		headers = {
			'Content-Type': 'text/plain;charset=UTF-8',
			'Client-ID': self._CLIENT_ID,
		}
		gql_auth = self._get_cookies('https://gql.twitch.tv').get('auth-token')
		if gql_auth:
			headers['Authorization'] = 'OAuth ' + gql_auth.value
		headers["Device-ID"] = "obtained from browser"
		headers["Client-Integrity"] = "obtained from browser"
		return self._download_json(
			'https://gql.twitch.tv/gql', video_id, note,
			data=json.dumps(ops).encode(),
			headers=headers, fatal=fatal)

Oh, yes, I see. In one of the last commits I have renamed live_chat to rechat, as other yt-dlp code expects that instead. You should actually use rechat now.
But that is not the root of the problem. It is that I moved downloading chat to a function that should run later, but as it turns out, data obtained by that function was not taken into account by the code that is supposed to save the chat and otehr subtitle-like data.
With that in mind it is surprising that it works for edvordo, but maybe they are just using an earlier commit.
I have uploaded a fix to #1551. Could you please check if it works for you now?
Soon I'll also upload further changes, so it would be helpful if you would also tell which commit did you try.

Well, technically, I'm not using your fork. I've cloned the main yt-dlp repo, applied the changes as they were two months ago to relevant files and been using from source, semi-regularly pulling changes from main (con conflicts yet).
Also, yes, I've just check all 46 downloaded chat histories, all of them have all messages from given streams from past 2 months.

I have uploaded a fix to #1551. Could you please check if it works for you now? Soon I'll also upload further changes, so it would be helpful if you would also tell which commit did you try.

I tried the branch you linked in the PR and it worked

Could a feature request be made as a temporary workaround? simply still download the video even though --sub-langs rechat or --embed-subs is specified?

current workarund for me: --sub-langs none

I thought a workaround was already shared here. Since I always download in bulk, my workaround is --sub-langs all,-live_chat,-rechat. This way everything except what's broken gets downloaded


Support for web3js 4

Web3js 4 alpha has been released: https://github.com/ChainSafe/web3.js/releases/tag/v4.0.0-alpha.0.
Even though it's alpha, I think it'd be useful to publish typechain package for it so we can give earlier (alpha) feedback on both web3js 4 and typechain support for it.
Thanks!

Any updates on this?

+1

I'd also like to update web3 to v4, but this missing functionality is a blocker. Is there a known workaround for this?

+1


Scaffold resizeToAvoidBottomPadding uses view insets

Now that keyboard height is modeled as a (bottom) view inset, migrate
scaffold bottom resizing to use view insets instead of bottom padding,
which, after an engine roll, will only be used for safe areas.
Until the aforementioned engine roll, the keyboard height is still
included in both bottom padding and view insets. As such
resizeToAvoidBottomPadding still drives bottom padding removal until
that roll lands.

Do we need some logic to not show the bottom bar when inset != 0 or is that a different PR?

That's new behaviour, so I'll follow up with that in a separate CL.


Sign out button doesn't work if it's opened as a new tab

^

This is because it's implemented using Rail's link_to method: :delete which adds data-method="delete" attribute and uses JS to make DELETE request instead of GET when clicked. This obviously won't work if you explicitly "open" (GET) the link location in a new tab.
It's a common practice for apps using Rail's views as far as I know. Newer apps might just use click event handler on <a> without href or <button>, but middle clicking it (to open in a new tab) won't work on those either.
I'll reopen if you can tell me why you need this to work and if it makes sense to me.

@kazk ...then it shouldn't be a link? When I see an explicit <a> I expect it to work regardless of middle-click or left-click or whatever I use to interact with it. The common practice for an element to trigger a non-GET request is, well, use a <button>.
Currently it's just misleading and opens up unnecessary interactions that don't work.

I'm not arguing that this is semantic. This is/was a common practice in Rails views (see examples in the official link_to docs). As far as I know, it's a convention that uses href and data-method so that you don't need to write your own JS code.
I agree with you and I'd prefer to have a separate helper method that generates a button (e.g., <button data-href="" data-method="">Action</button>) instead that works similarly. But remember that normal users wouldn't know/care if it's <a href="" data-method="delete"> or <button onclick="">.
I only asked you to elaborate on because I don't know why you'd want to or try to open "Sign Out" in a new tab. I'll reopen if there's a practical reason.
We also have a plan to start redoing the UI sometime in 2020 so this will be "fixed" then.


mpv-with-scripts and wrapMpv are confusing

Describe the bug
The wiki says that this is how I'm supposed to add scripts to my mpv binary:
{
nixpkgs.overlays = [
  (self: super: {
    mpv = super.mpv-with-scripts.override {
      scripts = [ self.mpvScripts.<your choice> ];
    };
  })
];
}

That does not work:

if I name my derivation mpv, then I get a binary mpv in my $PATH, not a shell script,
if I name my derivation mpv-with-scripts, then I get a wrapper, but that wrapper doesn't wrap any scripts.

If I use an overlay like this:
self: super:
let
  lib = self.pkgs.lib;
  stdenv = self.pkgs.stdenv;
in rec {
  mpv = super.wrapMpv super.mpv-unwrapped {
    scripts = [
      super.mpvScripts.mpris
    ];
  };
}

...I get a infinite recursion. The only way that I was able to come up with (thanks to @lukebfox on IRC) was by naming the package differently, such as:
self: super:
let
  lib = self.pkgs.lib;
  stdenv = self.pkgs.stdenv;
in rec {
  mpv_jkt = super.wrapMpv super.mpv-unwrapped {
    scripts = [
      super.mpvScripts.mpris
    ];
  };
}

Cc: @doronbehar @AndersonTorres because of #88620.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.8.14, NixOS, 21.03pre246543.24c9b05ac53 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `"nixos-21.03pre246543.24c9b05ac53"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

The mpvScripts.mpris derivation depends on pkgs.mpv. When one makes an mpv overlay addings mpris as a script, nix fails when evaluating the reference to mpv in mpris' buildInputs. As mpris is only script with mpv dependency maybe it was missed in translation to new wrapper style? Should probably be mpv-unwrapped now.
Quickfix for those trying to use mpv with mpris.
self: super: {
  mpvScripts.mpris = super.mpvScripts.mpris.override {
    mpv = self.mpv-unwrapped;
  };
  mpv = super.wrapMpv super.mpv-unwrapped {
    scripts = [ self.mpvScripts.mpris ];
  };
}

@jktjkt the wiki is outdated. Sorry for your bad experience. mpvScripts.mpris indeed was defined bad.   #100779 should fix it.


Upgrade to react native 0.69

@UncleSamtoshi please review the most recent commit on this branch d9cfa57.  Because in React 18 types the implicit children have been removed the library you imported react-native-markdown-display throws type errors.  I think I've fixed it by declaring new types and casting but please test and let me know.


Support Update VS Code from Command Palette

close https://github.com/microsoft/vscode/issues/77184

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: DiamondYuan sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@joaomoreno
CI broken,How to fix it ?
src/vs/workbench/contrib/update/common/update.ts:6:48:Unexternalized string found: "update.showCurrentReleaseNotes"
src/vs/workbench/contrib/update/common/update.ts:7:45:Unexternalized string found: "update.checkForVSCodeUpdate"

Please merge both classes, there's no need for an abstract class here.

Ci Broken,Time out

CI is not broken. You are using double quotes instead of double quotes. CI is telling you exactly that. Fix that please.

CI is not broken. You are using double quotes instead of double quotes. CI is telling you exactly that.

https://dev.azure.com/vscode/VSCode/_build/results?buildId=23300
Last CI broken was due to timeout. I have fix the error.

cc @joaomoreno  when will whit PR be merged ?

Thanks! :beers:


RuboCop: Missing field description [GraphQL/FieldDescription] with description method

When a field definition gets too long I use the method form of the description parameter, like so:
  field :update_user, Types::UserType, null: true, mutation: Mutation::UserMutation do
    description 'Update user'
    argument :id, Integer, required: true, description: 'User ID'
  end

But this triggers the following error:
RuboCop: Missing field description [GraphQL/FieldDescription]

I know you have a find_description_method(@nodes) that can be used inside the cop to check whether it's set as a method, but I am not competent enough with Rubocop for a PR.

Hi @itay-grudev! Please let me know if you decide to fix this behavior or I'll eventually fix it 🙂Thanks for the report!


Multiple improvements to the decl_module! macro

Removes weird where origin = Origin where system = System and replaces with more rusty syntax:
where origin = Origin, system = System.
Makes it possible to easier implement deposit_event by either writing fn deposit_event() = default which creates the default implementation or by using fn deposit_event(my_event: MyEvent) { //myimpl } which supports any custom implementation. This fixes: https://github.com/paritytech/substrate/issues/920
Calls are now required to be implemented directly in the decl_module! macro. This reduces boilerplate code, as now extra impl<T: Trait> Module<T> block is required.

This currently does not compile on stable, we need to wait for Thursday (23.10), where the required feature will be released as stable with rust 1.30.0.

doesn't build, needs resolving...

Yeah as written in the description, this requires rust 1.30.0 that should be released today.

I'm not sure if this is related I think this may be causing breaking changes to custom modules (Gavin's demo?) - I'm getting compile errors error: no rules expected the token /normalize/ this error originates in a macro outside of the current crate on rust 1.30.0 with or without function code in the  impl<T: Trait> Module<T>

@chrisdcosta do you have more context for me? Did you tried to redo gav's demo? If yes, you now need to place your implementation directly into the decl_macro!.
So before you had something like:
decl_macro! {
    struct Module {
        fn my_call(origin, data:i32) -> Result;
    }
}

impl Module {
   fn my_call(origin, data: i32) -> Result {
        //my impl
   }
}

Now you have to write it like:
decl_macro! {
    struct Module {
        fn my_call(origin, data: i32) -> Result {
            //my impl
        }
    }
}

Yes I'd seen the changes in the SRML modules. I was building using the paired-down demo version of substrate generated by substrate-node-new but it may have been installed before your recent updates from master. Am checking this now.

Okay

OK I've tied this error down - it's not a problem with the build - it's my use of a type definition for origin in the struct following the live demo.
In the live demo the function signature for set_payment inside the struct Module explicitly typed the first argument fn set_payment(_: T::Origin, value: T::Balance) -> Result {...}.
This causes the error - and presumably is because the changes mean that if origin is typed in the where of the struct definition it does not now need to be specified in the structs own function signatures. Is this correct?

Should add that it now compiles correctly like this fn set_payment(_origin, value: T::Balance) -> Result {...}


SinglePlanningCalendar resizeEvent delivers wrong startDate/endDate

OpenUI5 version: 1.77.2
Browser/version (+device/version): Chrome
Any other tested browsers/devices(OK/FAIL): FAIL on FireFox
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Create any small application with a SinglePlanningCalendar
enable resizing e.g. with:  enableAppointmentsResize="true"
set startHour and endHour
set fullDay to "false" to display hours between startHour and endHour
resize an event

What is the expected result?
That correct start and end dates are delivered
What happens instead?
SinglePlanningCalendarGrid.prototype._calcResizeNewHoursAppPos = function(oAppStartDate, oAppEndDate, iIndex, bBottomHandle)
does not pay attention to the startHour and endHour when calculating times from the retrieved iIndex
Any other information? (attach screenshot if possible)

Hi @wolreic ,
thank you for your finding!
Can I, please, ask you to put that scenario in a JSBin example
to have more clearance of the steps, the issue is reproducible through?
Thank you!
Kind regards,
Petya Bogdanova.
(UI5 Dispatcher)

Hi,
here is a minimal example, based on the SinglePlanningCalendar example in the official documentation:

ResizeTest.zip

This example contains only one event. When you try to resize e.g. the endHour, you will see the appointment jumping to the former day.
As mentioned above, reason is the wrong index calculation or use in:
SinglePlanningCalendarGrid.prototype._calcResizeNewHoursAppPos

Hello again, @wolreic ,
and thank you for your cooperation!
I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Petya Bogdanova.
(UI5 Dispatcher)

Hi @wolreic,
Than you for sharing this finding.
The issue is now fixed and will be available with UI5 1.79 release.
Best Regards,
Boyan


Ambients are not transferred across pop ups

This is a reproducer.
fun main() {
    val testAmbient = staticAmbientOf<String> { error("Shouldn't be called.") }
    Window(title = "My ambient popup test") {
        Providers(testAmbient provides "TESTING") {
            Popup {
                // Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Shouldn't be called.
                Text(testAmbient.current)
            }
        }
    }
}

This throws Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Shouldn't be called.
Is this expected behaviour?

Does the same code works in Android as you expected?

I haven't used compose on Android, so I don't know if it works any differently there.
Just based on the documentation alone, this looks like a bug. Either code or docs need to be fixed.

I checked, on Android it works

Fixed in 0.3.0-build135

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


Blinks when viewing table data

Operating system (distribution) and version
Debian 9.0 Stretch
DBeaver version
<IP_ADDRESS>111281534(now) and older version same problem
Additional extensions
installation like from a box

Earlier versions had this problem as well. I use i3wm.
I am attaching a link to a video with a problem.
https://drive.google.com/file/d/1KefbAUQ75j25j07wO08JmIHXTK93a3oo/view?usp=sharing

It looks like a problem with i3wm, we will try to look at it, but it seems as though it can't be fixed without help from i3 developers

@ShadelessFox is anyone fixing this issue? This is very bad UX, it's been glitching for ages. What's the progress, when is it gonna be fixed? Can you drop that i3wm and just use something simple for a view?

Hello @andriusign,
As said before, it looks like an Eclipse issue. If so, we can't do anything about it, unfortunately.
We'll review the issue after the holidays. Thanks for the patience.

@ShadelessFox have you contacted Eclipse developers at least? What are the updates from them? How long will take to fix this issue? Why depend on Eclipse at all?

It could be an Eclipse issue, and we need to confirm that before contacting their developers.
The reason why we depend on Eclipse is that DBeaver is built on top of Eclipse.

Let's hope they fix this soon, otherwise bye bye to beaver :)

Hi @andriusign. What window manager do you use?

@akilovich I am on Linux Mint 19.3 Cinnamon, Cinnamon version 4.4.8, kernel 5.4.0-91-generic

Thanks. What's the output of the following command?
echo $GDMSESSION

My friend has the same problem on AstraLinux 2.12.43. He uses fly-wm. So I think it's not about the window manager.
@akilovich, the command output is empty.

Thanks. What's the output of the following command?
echo $GDMSESSION

As mentioned before, it is Cinnamon.

Same on ubuntu
GDMSESSION: gnome-flashback-metacity

Same on Fedora 37 with XFCE, DBeaver 22.3.2.
Workaround from #8288 export GTK_IM_MODULE=ibus && dbeaver-ce fixed this.


UCF101 evaluation details

Dear authors,
Thank you for the great work!
I want to seek some clarification on the evaluation details described in Section 5.1 of your paper, particularly concerning the resolution of the snippets generated for the UCF101 dataset analysis. In the section, it's mentioned that the snippets are generated at a resolution of 512x512. However, considering that the original UCF101 videos are at a resolution of 320x240 and the I3D classifier is trained on 224x224 resolution inputs.
Could you kindly provide further insight into the rationale behind selecting a 512x512 resolution for the snippets in this context?
Thank you in advance!
Regards,
Yuanhao

Hi, @yhZhai .
Thank you for your interest. We generate animations in 512x512 because this is the resolution that stable-diffusion v1-5 trained with. We then scale the 512x512 px animations to 224x224p.
For the videos in UCF101, we firstly scale the short side to match the 224 and then conduct center crop to obtain 224x224p animations.
Hope this clarifies any confusion.


Zoom Transforms

This PR takes advantage of zoom transforms to make the tile API easier to work with.
Closes:

#4 tile.transform([transform])
#5 tiles.transform

Here's a complete working example demonstrating this new API.
Pros

A cleaner API when working with d3-zoom.

Before:
var tiles = tile
  .scale(transform.k)
  .translate([transform.x, transform.y])
  ();
...
raster.attr("transform", "scale(" + tiles.scale + ")translate(" + tiles.translate + ")");

After:
var tiles = tile.transform(transform)();
...
raster.attr("transform", tiles.transform);

Cons

An additional dependency on d3-zoom. Not sure if this is really a con, but adding a dependency feels like a step not to be taken lightly. This is a win for the modular approach though - it feels much better to add d3-zoom as a dependency here rather than to d3-geo.

Open questions
Now that there is a transform property on the returned tiles array, should its properties scale and translate be removed? Or is there some value in leaving the unscaled translation exposed?

Hmm. I’m not happy with the additional dependency on d3-zoom, especially if the only benefit is syntactic convenience. It does seem like d3-tile could return a transform object on the tiles array (tiles.transform) that is consistent with d3-zoom’s transform interface, though: i.e. it exposed tiles.transform.x and tiles.transform.y instead of tiles.translate, and tiles.transform.k instead of tiles.scale, and it implements tiles.transform.toString. That means you won’t get the other transform methods like invertX, but I don’t know how useful that would be.
If we really think it’s worth the dependency, then we expose tiles.transform as a zoom transform. But I would be careful about using overloading to change the method behavior. Better to keep the API smaller.

More generally I try to keep APIs as small as possible! :grin:

Closing in favor of Transform (small API) #11


Sitemap system revise

Sitemap have a lot of bugs

Example Link: http://www.ojs.io/sitemap/subjects.xml

please dump maps with app/console presta:sitemap:dump  web/sitemap
otherwise web directory can be messy (do not worry i ignored web/sitemap dir from git :smile: )

thanks a lot to @prestaconcept for this great bundle https://github.com/prestaconcept/PrestaSitemapBundle :clap:


Get posiotion always

How to get geolocation not only in "background mode"?

Hi,
I have the same issue. I'm looking for a normalized Android/iOS solution to watch the current location utilizing the latest fused location services, etc. I think this is "just" a foreground implementation of this plugin. If so, is this easy to achieve, or have I got it completely wrong?!
Cheers, Darren

There's no reason I couldn't implement Foreground tracking in this plugin. But I figured there are plugins out there to do this already, so there isn't much point.
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-geolocation/

Hi Paul,
Thanks for that. I do currently use the Apache plugin but I wasn't aware it used the latest technologies like Android Fused Location services, etc.
I'm a PHP/JavaScript coder so this is all a bit new to me. Can you poke me into the right area to modify your excellent work into a foreground task?
It will give me a little challenge to do in the Christmas break  :)
Cheers, Darren

The easy way to do that would be to put this line right into the start command, and remove the onPause / onResume functions.

Hey @pmwisdom,
Well, now I have little chaos, so. For sample, I have application with map, where is being my position tracked and it's showed on map, and when I switch to another application, my position will be still tracked.
If I good understand, I need a combined foreground/background service?
Thanks

Thanks @pmwisdom
I'll have a play over the next week and see how far I can get  :)
Have a great New Year,
Cheers, Darren

@pmwisdom
Oh okay. And then, how it works? When application is foreground, I getting position via classical module, and when it's minimized, background getting information? (and then combining them?)
Thank you a lot!

@GAMELASTER Yep you got it. Watch the events for background / foreground and switch which plugin your using.

+1

Erm figured some example source might help everyone:
https://github.com/pmwisdom/meteor-combined-geolocation
If anybody wants, I have a generic npm style rewrite of this, I just haven't published it since its so similar to the original, it just uses imports.


Small comment/documentation errors.

Hi, it seems some comments and examples were directly copy-pasted from postcss-short-color and could be confusing :
https://github.com/jonathantneal/postcss-short-font-size/blob/b8dca70d5790ee414c32b42b1fba5632578451e5/index.js#L30
https://github.com/jonathantneal/postcss-short-font-size/blob/b8dca70d5790ee414c32b42b1fba5632578451e5/README.md#L92

Thanks for reporting this, @rubycon. Yes, that would be confusing. If I don’t get a chance to correct these issues myself then I would accept a PR to fix this.

Resolved by https://github.com/jonathantneal/postcss-short-font-size/commit/3694568b1f1e74d40147e9d93aa24931c96ad4c3


Silence the Activated message

I use the statusline to indicate whether I have an active enviroment or not.
I was wondering  whether you could make optional the Activation message in https://github.com/linux-cultist/venv-selector.nvim/blob/479a145f8f4dd854cffd7289f18b8267f82e5cf0/lua/venv-selector/venv.lua#L93

Yes absolutely. I can add it this weekend, but you can also make a PR yourself if you have time before that. Some option that is true by default would probably be easiest to understand for users, and you can set it to false to not get notified.
If you don't have time I will add it on Saturday. :)

Hi @linux-cultist ; I'd probably wait for you to add it since I understood per https://github.com/linux-cultist/venv-selector.nvim/issues/21#issuecomment-1529115354 that you are also going to do some refactoring..
Thanks :)

Yeah I want to, but have been very busy now with a new job and lots of stuff to learn there. But I hope I can do some refactoring and cleanup next weekend. But adding that flag is quick and i will do that today. :)

Ok, I added the option notify_user_on_activate that you can set to false, and the plugin will not say anything on venv activation. :)

Great thanks!


Proof serialization/deserialization bug

When running:
let proof_bytes = proof.to_bytes()?;
let proof_from_bytes = ProofWithPublicInputs::from_bytes(proof_bytes, cd)?;

With (from what I can tell) any proof with the CircuitConfig::standard_recursion_zk_config().
It fails with some "itertools: .zip_eq() reached end of one iterator before the other" and "failed to fill whole buffer" on a different proof.
To recreate, modify here to use the CircuitConfig::standard_recursion_zk_config() and run cargo test --package plonky2 --lib --release -- plonk::recursive_verifier::tests::test_recursive_verifier --exact
Without modification the test passes.
This also occurred with a custom circuit I was building, and seems to occur with the other test circuits in recursive_verifier.rs.
Am trying to work this out myself but would love some help from the dev team.

Thanks for catching and reporting this bug @Shalevos ! I've fixed it in #515 .
The issue is that add_virtual_proof and write_fri_initial_proof functions do not take salting into account, which leads to bugs when using ZK. Since we don't usually use ZK in our tests, we failed to catch this before. So thanks for running this with ZK :)


Feature request : consider add support for ustruct property in GenerateWidgetsForNestedElement

We may need a way to selectively generating widget for container types or struct

Fixed with 94bb7b05da206bc2d30fb548158ec2bd908f6f93


Move drawer view into configuration.

consider forking react-native-button into its own class and heavily modifying it. Currently color and font size can not be modified.

There is no point in trying to extract settings out, best approach is to have the entire drawer being custom.


Adds TLS support for VNC API communication

Closes-jira-task: CEM-11391

Ignatious Johnson Christopher  ok, How about https://github.com/Juniper/contrail-go-api/blob/master/cli/main.go,

Can we add command line options and  call setEncryptor based on the api_server_use_ssl flag similar to python vncAPI?
Also we need to support https scheme in  keystoneClient  aswell (https://github.com/Juniper/contrail-go-api/blob/master/keystone.go#L18)

Michael Henkel
sure, the cli just need call the AddEncryptor function on the client object. and yes, encryption options must be exposed
yes, needed as well
both can and should be implemented in separate pull request. Perhaps Jim can do that


Vickel: Watch burstfade.org

Vickel requests the watch of the watch_keyword burstfade\.org. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

burstfade\.org has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Nisse Engström in Charcoal HQ


History is kept in DB after clearing

Bug
When history is cleared in the app, history isn't removed from the db.
Steps to reproduce the bug

Listen to some songs.
Clear history.
Open developer tools and browse the db. You will see songs that were in your history.
After restarting the app they are still in the history.

What is your Kaku version?
1.9.0 and 2.0 branch
What is your OS (with version number)?
Debian GNU/Linux testing (buster)
Linux 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-11-02) x86_64
Which platform are you using to listen to music?
YouTube
Which track format are you using?
best audio
Is there any error coming from Inspector?
No
Others
None

so are these songs still shown on your UI ?

No. They aren't. They are just left in the db.

@EragonJ I think it is important for privacy reasons. When somebody clears history, he expects them to actually be removed.

if that's the case, feel free to send me patch for this issue :)

I think that the best way to solve this issue is to compact the db on launch.


ble service: Device Information Service

See: https://github.com/apache/mynewt-core/pull/901

szymon, are we ready to merge?

Applied mentioned changes


Add Hubbard model

This overloads the Hubbard model from MPSKitModels.jl
TODO:

[ ] find some benchmarkdata to test
[ ] implement fixed particle number

I should probably be a little more careful with what I meant. Indeed, there is no problem using this function with imposing FermionNumber, which is just a combination of U1 and FermionParity. The subtlety lies in how symmetric tensors work: all tensors always have to have total charge 0. In essence, this means that imposing FermionNumber automatically makes you impose total particle number 0.
It is definitely possible to select a different filling, but this requires injection of U1 charges per site, typically also resulting in unit cells, and I have not yet figured out a good framework to do this.


Fix an incorrect lifetime in the return value of recvmsg

Fixes #2083

@yuval-k does this look correct to you?

looks good to me @asomers


[HELP] Return collection eloquent in $grid

In $grid->relation() can return collection eloquent ?
http://<IP_ADDRESS>/admin/sakila/films
$grid->categories()->value(function ($categories) {
  $categories = can be a collection eloquent ?
});

try..... and you can see...

@taimaiduc  It can not.
But you can use  Model::hydrate() method to turn the array into collection of eloquent model.

@z-song @edwinhuish
Thanks for support me a lot.


feat(api keys): rename all *userKey to *apiKey

with backward compat and depreciation messages

I'm always confused when it comes to acronyms... whether we should camelCase them or not :/ I think I would have written listAPIKeys() instead of listApiKeys but no strong opinion.

I'm always confused when it comes to acronyms... whether we should camelCase them or not :/ I think I would have written listAPIKeys() instead of listApiKeys() but no strong opinion.

I would also prefer to always write api as API even in this case, so listAPIKeys(). Wonder if it's a real struggle or just another OCD.
Our chosen spec was to use listApiKeys form from what I read and see what's implemented already in other clients: https://github.com/algolia/algoliasearch-client-php/commit/c9bdad396d871fbc11022c1fa82e43d6b0333bcb
Still using API in comments.

Same feeling @redox I think it all comes down to personal prefs and consistency in projects.
I use both notations depends on the project. Personally I prefer the Api approach, because when you need to convert to first char to lower, you end up with aPI otherwise.

Very common acronyms (i.e. not OUR acronyms, like applicationID, we ditched this in favour of applicationId or appId) should stay capitalized from my POV. React thinks the same: https://facebook.github.io/react/docs/dom-elements.html#dangerouslysetinnerhtml

But at the same time, they have:

So is the rule:

when acronym is in leading position: lowercase?
when acronym is in trailing position: uppercase?

htmlFor comes from the DOM API https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor

this ships on monday so we can follow the deployment


python3: can't open file '/tmp/pip-req-build-6jhijoew/tools/train_net.py

I follow the instructions and install dependencies,
cd /YOLOF/playground/detection/coco/yolof/yolof.res50.C5.1x
But when I input:
pods_train --num-gpus 2
I get a problem:
python3: can't open file '/tmp/pip-req-build-6jhijoew/tools/train_net.py': [Errno 2] No such file or directory
this what happen?

Could you provide more details about how you install cvpods?

according to https://github.com/megvii-model/YOLOF/blob/main/README_cvpods.md
just use command: pip install 'git+https://github.com/Megvii-BaseDetection/cvpods.git' --user

As we already include the cvpods package in this repo, you may install and run with the following steps:
git clone git@github.com:megvii-model/YOLOF.git
cd YOLOF/
python setup.py develop
cd ./playground/detection/coco/yolof/yolof.res50.C5.1x
pods_train --num-gpus 2

BTW, thanks for reporting this. Will refactor the codebase soon to avoid ambiguity.

Thanks for your reply.
I did as you said , but I get the same problem.
Maybe that's not the problem

If you follow the steps above, the error should not start with '/tmp/pip'. It will use the file for training whose path is YOLOF/tools/train_net.py. You can check that in the file YOLOF/tools/pods_train.
Have you uninstalled the previously installed cvpods before you re-install this repo? Or are there any errors that occur during the installation?

I reinstall cvpods and YOLOF to solve the above problem.
But when I run:  pods_train --num-gpus 2
I get a new problem:
Traceback (most recent call last):
  File "/home/stu/zss/YOLOF/tools/train_net.py", line 23, in <module>
    from cvpods.engine import RUNNERS, default_argument_parser, default_setup, hooks, launch
  File "/home/stu/zss/YOLOF/cvpods/engine/__init__.py", line 3, in <module>
    from .hooks import *
  File "/home/stu/zss/YOLOF/cvpods/engine/hooks.py", line 15, in <module>
    from cvpods.evaluation.testing import flatten_results_dict
  File "/home/stu/zss/YOLOF/cvpods/evaluation/__init__.py", line 9, in <module>
    from .lvis_evaluation import LVISEvaluator
  File "/home/stu/zss/YOLOF/cvpods/evaluation/lvis_evaluation.py", line 12, in <module>
    from lvis import LVISEval, LVISResults
ModuleNotFoundError: No module named 'lvis'

I try to install python-lvis module, but this is not useful.

soory, I shoudl pip intall lvis module, now it's work. thanks

Now it's ok


Fix tiny typo, archtecture -> architecture

Just fixed a small typo in README.md

Thank you for fixing the typo!


Some PyPi packaging scripts

Motivation and Context
We want to get ready to upload a nativepython package to pypi
Approach
Figure out how to upload packages to test.pypi and try to install the package from there and use its functionality. For simplicity, we only provide source packages, which means that the user will have to compile them when pip installing them. Otherwise we will have to provide different wheels for different target architectures.

make sdist will create a distribution according to the version in setup.py.
make testpypi-upload uploads the distributions under /dist created by the previous step to test.pypi.

How Has This Been Tested?

https://test.pypi.org/project/nativepython/
In a fresh docker container running ubuntu:18.04, installed python3, python3-pip, python3-virtualenv, created a virtual environment, successfully installed nativepython and manually tested in a REPL that I can import OneOf, create OneOf types, and create objects of those types.

The command used for installing the nativepython package from test.pypi was:
pip install --extra-index-url https://test.pypi.org/simple/  nativepython==0.0.1dev2

@braxtonmckee this is ready to merge. I made some documentation reorganization as well in the last commit.

This is superceded.


% values not display

Hello,
Since the last update of the stream deck (6.0.2) the data in % no longer works and is no longer displayed on the stream deck.

Hi Bryan,
i know about this issue, but i don't know (yet) why it exists and how to fix it :/. Until I found out, you can work around this issue by enabling "custom labels" and enter only {{state}} without "%".
I will close this issue, because it is a duplicate of #114.


Update for index page title, image detail create time localization.

Update for index page title, image detail create time localization.

LGTM


NIFI-13081: Adding support to edit a label

NIFI-13081:

Adding support to edit a label.

Can you please run prettier?


Badge: Filtering by C++/C++ Header lines not working

Hi, counting C++ lines of code seems to be broken (for generating badges).
I use the popular fmtlib as the first example, which used .h for C++ header files (not supported in your languages.json) and uses .cc for C++ source files which IS supported in languages.json.
Second example is identical but uses glaze as the repo, which uses .hpp and .cpp for header and source files.
1. Example fmtlib (.h/.cc)
At first it appears to work:
![](https://tokei.rs/b1/github/fmtlib/fmt?type=Cpp,CppHeader)

But it doesn't, it appears that Cpp and CppHeader is not recognized so instead it falls back on detecting any languages.
When adding Cmake to the list:
![](https://tokei.rs/b1/github/fmtlib/fmt?type=Cpp,CppHeader,Cmake)

Now it's only 1.2k lines which is how many lines of Cmake there are in the repo.
 Example glaze (.hpp/.cpp)
Just ?type=Cpp,CppHeader
![](https://tokei.rs/b1/github/stephenberry/glaze?type=Cpp,CppHeader)

When adding Cmake to the list:
![](https://tokei.rs/b1/github/stephenberry/glaze?type=Cpp,CppHeader,Cmake)

Adding Go instead of Cmake
![](https://tokei.rs/b1/github/stephenberry/glaze?type=Cpp,CppHeader,Go)

Ok NVM I figured it out. Sorry for the noise.
I should encode the + in C++ as %2b and the spaces in C++ Header as %20 and then it works.
e.g.
![](https://tokei.rs/b1/github/stephenberry/glaze?type=Cpp,CppHeader)

Should be
![](https://tokei.rs/b1/github/stephenberry/glaze?type=C%2b%2b,C%2b%2b%20Header)


Fix tests by referring to latest hiccup

Please answer the following questions and leave the below in as part of your PR.

[ ] This PR corresponds to an issue with a clear problem statement.

[x] I have updated the CHANGELOG.md file with a description of the addressed issue.

We have a hard-coded reference to hiccup version in our tests. A new version of hiccup was released, breaking the tests. This PR updates the hiccup version to the latest version, fixing the tests.

Thanks!


Must Initialize Fabric before using singleton()

Hi i'm trying to use this plugin, previously installed cordova-support-google-services plugin.
google-services.json is located in the project root folder, and there is a line in config.xml:
   <platform name="android">         <resource-file src="google-services.json" target="app/google-services.json" />     </platform>
And when i'm tryign to logError i'm getting the error in logs:
10-21 22:44:18.512: E/ReflectiveCordovaPlugin(6034): Uncaught exception at #logError
10-21 22:44:18.512: E/ReflectiveCordovaPlugin(6034): java.lang.IllegalStateException: Must Initialize Fabric before using singleton()
I also use cordova-plugin-firebase-analytics and it works fine...
What i'm doing wrong? I use 1.5.1 released version of crashlytics plugin.

same problem


Check partitionId's range in ExternalSorter#spill()

See this thread for background:
http://search-hadoop.com/m/q3RTt0rWvIkHAE81
We should check the range of partition Id and provide meaningful message through exception.
Alternatively, we can use abs() and modulo to force the partition Id into legitimate range. However, expectation is that user should correct the logic error in his / her code.

Merged build triggered.

Merged build started.

Test build #42280 has started for   PR 8703 at commit 63dfe11.

Test build #42280 has finished for   PR 8703 at commit 63dfe11.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42280/
Test FAILed.

please file JIRA

Merged build triggered.

Merged build started.

Test build #42287 has started for   PR 8703 at commit 04aa45e.

Test build #42287 has finished for   PR 8703 at commit 04aa45e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42287/
Test PASSed.

Can you just use one require statement to make this more compact? and string interpolation

Merged build triggered.

Merged build started.

Test build #42333 has started for   PR 8703 at commit 0e86ae8.

Test build #42333 has finished for   PR 8703 at commit 0e86ae8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42333/
Test PASSed.

Merged build triggered.

Merged build started.

Test build #42338 has started for   PR 8703 at commit a293906.

LGTM

Test build #42338 has finished for   PR 8703 at commit a293906.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42338/
Test PASSed.


Add testsuite for SDO client expedited transfers

This is a follow-up issue for PR #84

[x] test in testsuite for expedited upload byte, word or long
[x] test in testsuite for expedited download byte, word or long

Additional tests are:

timeout and
abort transfer


Introduce a more granular, site-based allowlist

This PR updates the allowlist in a few ways:

Move from a comma-delimited list of domains to a structured JSON-formatted file
Adds support for allowlisting individual emails, in addition to domains
Adds support for allowlisting an entity (domain or email) for only a specific set of sites

It also removes the allowlists from the repo, as those will start containing more individual information.

My only concern here is on removing the allowlist config from the repo - it just creates a pain when cloning etc. I know we removed sops as a dep from this repo in #8, but this smells off. Could we move the allowlist into the place that we pull the secrets in from? Could we make the allowlist nonsensitive in some way?

My only concern here is on removing the allowlist config from the repo - it just creates a pain when cloning etc. I know we removed sops as a dep from this repo in #8, but this smells off. Could we move the allowlist into the place that we pull the secrets in from? Could we make the allowlist nonsensitive in some way?

I originally planned on doing this in this PR, but I decided I'll do it after, it'll look like this:

Re-introduce sops (e.g. add a .sops.yaml, create relevant Azure KMS keys)
Encrypt the JSON files
Update the local test scripts (and any deployment stuff) to decrypt things as part of packaging/running/deploying

There's just a bunch of pieces there, so I figured I'd split it out. Thanks for keeping me honest!

(ping for actual approval when you get a chance! this is implemented in #16)


GUI - Redesign Confirm modal

This looks like it's done.
@hvjunior @fernandoMessias can we close this?

Yes, Tks.
Closed!


Fix the dname_str method to cause conversion errors when the domain name length is 255

Fix #1188

Thanks for this! I took the opportunity to include some unit tests and go over the code to clean the calling conventions of dname_str()


ResourceManagerStringLocalizer.GetAllString without default Resource

Fixes #257 by making GetAllStrings check the satellite assemblies for non-default language resources.

:watch:

Closing this in favor of the experiment.


[SL-1325] [EPIC] DSI 0.5.0

### Tasks
- [ ] Add a draft title or issue reference here
- [ ] https://github.com/dbt-labs/dbt-semantic-interfaces/issues/210
- [ ] https://github.com/dbt-labs/dbt-semantic-interfaces/issues/134

From SyncLinear.com | SL-1325

Hey linear sync, can you stop destroying task lists? 👀


Autocomplete removes/deletes code

I have the following line:
list.drop(l, n)

I want to wrap it with list.append(...) like so:
list.append( list.drop(l,n) )

So I start typing list. , and at some point my cursor is at the position I indicate below:
list.list.drop(l, n)
     ^

now the autocomplete suggests append when I type app along with a few other functions. I want the append function, so I hit tab. Now my code gets turned into this:
list.append(l, n)
           ^

It removed part of my code. It shouldn't have removed my code. Fortunately I can bring back my progress using ctrl+z, but this still shouldn't have happened.

Oh dear! That is annoying. Thank you for the report


API to get results from Kingfisher process

Implement API endpoint to Kingfisher process so that the managing component of the data registry can obtain information about progress and results of collection processing in Process.

the endpoint added
data registry process task refactored


Community/UiPath.gitignore

Reasons for making this change:

This file contains folders to be excluded for tracking during RPA development using UiPath Studio.
Accidentally tracking these folders have caused issues with changing branches during code development.
The UiPath developer community as of 2024 is in excess of 2 million developers spanning over 43 countries.
UiPath itself has been around for 19 years since 2005.
This submission can potentially help millions of new and existing UiPath developers in their work.
Links to documentation supporting these rule changes:
https://forum.uipath.com/t/is-there-a-suggested-gitignore-to-use-with-uipath-studio/182482
https://forum.uipath.com/t/gitignore-and-attributes-file-best-practice/550546
https://forum.uipath.com/t/cant-switch-to-other-branch-from-master/184232/7
https://www.uipath.com/newsroom/uipath-announces-new-developer-features-devcon-2024#:~:text=Daniel Dines%2C UiPath Co-founder,the AI and automation era.
If this is a new template:

Link to application or project’s homepage: https://www.uipath.com/product/studio

hi @wirecat,
If you would be so kind please review and approve this pull request.
Many thanks in advance!

hi @bdougie,
If you would be so kind please review and approve this pull request.
Many thanks in advance!


Did someone succeed to run AdaGram on an Ubuntu server?

Greetings folks,
I've got a dirty memory access error (bus error) when running the Julia code loading a large AdaGram model vm, dict = AdaGram.load_model(MODEL_PATH) The kind of error that no one wants to have ... But everything works well on my Macbook?
There could be many causes: First, Julia installation (since for performance, Julia is very close to C) and I've used Anaconda, the compiler (Clang), the OS, the CPU and possibly other factors. Then, I've checked, there is enough RAM memory.
But first, I would like to know if someone has succeeded to run AdaGram on a Linux Ubuntu server?

signal (7): Bus error while loading /home/ccoulombe/AdaGram.jl/disambiguate.jl, in expression starting on line 22 macro expansion at ./cartesian.jl:62 [inlined] macro expansion at ./multidimensional.jl:431 [inlined] _unsafe_batchsetindex! at ./multidimensional.jl:423 _setindex! at ./multidimensional.jl:372 [inlined] setindex! at ./abstractarray.jl:840 [inlined] #9 at /home/ccoulombe/anaconda3/envs/my_env/share/julia/site/v0.5/AdaGram/src/AdaGram.jl:64 #620 at ./multi.jl:1030 run_work_thunk at ./multi.jl:1001 run_work_thunk at ./multi.jl:1010 [inlined] #617 at ./event.jl:68 unknown function (ip: 0x7f4b5c48b89f) warning: parsing line table prologue at 0x00003c27 should have ended at 0x00003ffc but it ended at 0x00003ce4 jl_call_method_internal at (null):0 [inlined] jl_apply_generic at (null):1950 warning: parsing line table prologue at 0x0000e1c8 should have ended at 0x0000e52f but it ended at 0x0000e285 jl_apply at (null):0 [inlined] start_task at (null):254 unknown function (ip: 0xffffffffffffffff) Allocations: 9998583 (Pool: 9997420; Big: 1163); GC: 17 ./run.sh: line 8:  2712 Bus error               (core dumped) LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR/lib julia "$@"

@ClaudeCoulombe I did run it successfully on Ubuntu server, and I also remember getting similar errors when training big models, and I thought that in my case the reason was not enough memory (so I reduced dictionary size). On OS X you can usually allocate much more memory before running into allocation errors than on Ubuntu, I think. But it could be something completely different, just my hypothesis.

@lopuhin Nice to know! I've already install 7 GB of RAM on the server and my estimation of the requirements are just over 4 GB but I will check it twice! You're feedback is very helpful.

Finally, I've succeeded to run AdaGram with a large model (1.5 GB) on a Linux Ubuntu server with 16 GB of RAM, but not with the 3 GB model I've tried at the beginning. However,  this 3 GB model is still running well on my MacBook Pro (16 GB of RAM).
I suspect maybe a problem with the alignment of the model complex structure read from file and put in RAM memory. But I'm not sure...
Note: I've installed Julia and Python manually (not using Anaconda)


amend branch names to be forked-slug:branch-name

taking get_pull out of is_fork_pr for usability. I don't think it's the responsibility of is_fork_pr to do the request and get the pull's information
overriding branch in commit's endpoint since that's the only command that actually uses it and sends it in part of the request.

@matt-codecov nope it's automatic


Can you provide a comand line version?

Can you provide a comand line version that accepts some parameters such as the video urls and save_path?

Have you tried using youtube-dl?

Yeah, thanks, youtube-dl fits my requirements.


Fix allow/skip list generation in test-operator

There was an issue with the allow/skip list generation in the test-operator role. The generated lists of tests contained the literal interpretation of \n.
We want to get from:
excludeList: test1\ntest2

to:
excludeList: |
  test1
  test2

As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

LGTM, waiting for the job results.

/approve


Add "easy" GEOS-IT restart remapping

@wmputman has said easy remapping from GEOS-IT (like we have from MERRA2) would be useful to have in remap_restarts.py.
Once @wmputman can point us to where the GEOS-IT restarts are, we could then add an option to make it  so.
Note: We'd of course need to know what the horz and vert resolutions are, what the ocean used is, and what the land bcs used is. But once we know that, I believe @weiyuan-jiang could quickly incorporate it.

I was using for GEOS-IT this path for Bill, are you thinking about those or something else?
/discover/nobackup/projects/gmao/geos-it/dao_ops/archive/d5294_geosit_jan18/rs/
it is CS ocean. Everything else remap restarts automatically picks up already.

@biljanaorescanin Hmm. When I look in there, I see restarts for every day at 3, 9, 15 and 21z.
What year/month do you only see a set of two days?

@biljanaorescanin is correct. The only guaranteed restarts are the 14th and 28th. 2024 seems to have every day, but not in the past...


Modify the CSS of SignUp page

I have modified the SignUp page by updating its CSS file.

Mention issue id?

Issue no. #980


keywords not blocked on homepage

Describe the bug
keywords not blocked on homepage
To Reproduce
selected keywords aren't being blocked
Expected behavior
i expected the keywords i entered to not be shown
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: windows
Browser: chrome
Version: 86.0.4240.75 (Official Build) (64-bit)

Additional context

Add any other context about the problem here.

Hi, thank you for reporting. I will investigate and hopefully fix the issue. Will keep you posted.
Kind regards,
Rik


Add capability to add provenance for building docker images

When releasing docker images to various registries using various tags it would be good to be able to generate provenance using this action independent from the tooling/scripts that create the images and tags.
e.g.:

goreleaser
bash script

For each registry we would like to be able to generate provenance for the tags that are correlated to each other. We could leverage the docker image digest as a subject.
This provenance file could then be attached using cosign (sigstore) or notation (Notary Project).
ghcr.io/philips-labs/slsa-provenance:latest
ghcr.io/philips-labs/slsa-provenance:v0.2.0
ghcr.io/philips-labs/slsa-provenance:v0.2
ghcr.io/philips-labs/slsa-provenance:v0

philipssoftware/slsa-provenance:latest
philipssoftware/slsa-provenance:v0.2.0
philipssoftware/slsa-provenance:v0.2
philipssoftware/slsa-provenance:v0

In the current spec that would however be some duplication to express the same image using the various tags.
To be discussed:

How to make he provenance action aware of the released docker images during a Github release?
Will there be a provenance file per registry or per tag or one for all the registries?
…

some steps to retrieve the digest (only works after pushing the images to the registry
docker inspect ghcr.io/philips-labs/slsa-provenance:v0.2.0 --format '{{ index .RepoDigests 0 }}'

Now the provenance job can use this digest to filter the images based on digest. Unfortunately it is not possible to pull all tags by digest, so as a best effort so far I managed to pull all images from a repo and then inspect the digest.
docker pull ghcr.io/philips-labs/slsa-provenance -a
docker pull philipssoftware/slsa-provenance -a
docker inspect ghcr.io/philips-labs/slsa-provenance@sha256:somedigest

https://github.com/philips-labs/slsa-provenance-action/runs/4118652943?check_suite_focus=true#step:3:175
See here the current progress of the feature
https://github.com/philips-labs/slsa-provenance-action/runs/4118652943?check_suite_focus=true#step:3:175

Tried following API's to see if we can somehow fetch the related tags for a digest directly from the api

https://ghcr.io/v2/philips-labs/slsa-provenance/manifests/sha256%3A47076d89b7d58102de03eddc732f8715c7a1f264625b752e25f2571b2fd4d64f
https://ghcr.io/v2/philips-labs/slsa-provenance/tags/list

Unfortunately OCI has not released standard APIs for digests. Some registries have non standardised ones.
Docker push cannot currently give you digests before pushing but other tools, eg Buildkit based tools can do this.
We (Docker) are looking to make improvements in these areas, and would love feedback on our public roadmap https://github.com/docker/roadmap/issues about the areas we could help with.

@justincormack thanks for clarifying. I am able to get the digest image tags, but only by first pulling all tags from a given repo.
docker pull philipssoftware/slsa-provenance -a
docker inspect ghcr.io/philips-labs/slsa-provenance@sha256:somedigest

The problem with that approach is that this will get slower and more resource intensive the more releases we make.
See here the POC on trying to build this into this action. https://github.com/philips-labs/slsa-provenance-action/compare/container-provenance
We are using a dedicated job with a clean runner to create provenance at this time, this is the reason why I need to pull the images.
A workaround could be to also provide the tags and repositories to the provenance action but that makes the UX of the action just worse.
Really surprised none of the registries have the capability to fetch all tags for a given digest as this seems to be a very trivial thing that support dozen of usecases. Any thoughts on where to bring this up? Maybe this should become part of the OCI spec.


Read "What nobody tells you about documentation"

[x]What nobody tells you about documentation

I finished reading this document and updated the README.md.


add way to print all four standard tile types

It would be nice to have a way to generate all four standard tile types automatically at the command line without having to go through the edit config/build/print cycle for each.
I also could see leaving smallDie out of the list, as that's a very odd/specific case.

Thinking about this, I think the best way is going to be to provide a way to pass in config options via the command line print. That way if you were in the habit of doing this you could write your own script that was something like yarn build && yarn print 1830 --config tiles.layout=offset && yarn print 1830 tiles.layout=die etc. I think that's a good compromise?

Even better if those options could be included in a single invocation of print, but yes, that would be fine.


Add PHPMD 2.8.0 changelog

Release 2.8.0 Changelog

I will check #472, it's flagged 2.7.0.

I will check #472, it's flagged 2.7.0.

Good point, it shouldn't be in this release.


Re-export required crates for codegen

Motivation
Currently we have some codegen that is using crates which are not being re-exported relying on the caller of the codegen to provide those crates.
Solution
Re-export those crates.

Ok this seems relate to https://github.com/linera-io/linera-protocol/issues/826