It is necessary to update dropbox-sdk version

I have received the letter from<EMAIL_ADDRESS>
We're writing to you because our logs indicate that you have at least one Dropbox API app using an old version of the Ruby Core SDK, with an out of date certificate file.
The Dropbox Ruby Core SDK implements certificate pinning, based on a list of certificates included in the SDK, in order to help secure the connection to the Dropbox API servers.
On August 1st, 2016, the Dropbox API servers will be updated to use a new certificate, so you’ll need to update the version of the SDK used in your app to match. The latest version of the Ruby Core SDK already contains the updated certificate file:
https://www.dropbox.com/developers-v1/core/sdks/ruby
You can refer to the CHANGELOG file included in the SDK for a list of changes.
Please update your app to use the latest SDK by 8/1/16 to ensure continued access to the Dropbox API.

Submitted a pull request. Can you test if backup from branch https://github.com/tomash/backup/tree/update-dropbox-gem with dropbox-sdk 1.6.5 works for you?

I have tried and received an error:
Model::Error: Backup for foo.com backup (foo_backup) Failed!
--- Wrapped Exception ---
Storage::Dropbox::Error: Upload Failed!
--- Wrapped Exception ---
NoMethodError: undefined method `parse_response' for #<DropboxClient:0x94faafc>

Backtrace:
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:223:in `upload'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:123:in `block (3 levels) in transfer!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:140:in `with_retries'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:122:in `block (2 levels) in transfer!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:119:in `open'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:119:in `block in transfer!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:113:in `each'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/dropbox.rb:113:in `transfer!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/storage/base.rb:45:in `perform!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:334:in `block in store!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:332:in `map'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:332:in `store!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:306:in `block in procedures'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:269:in `block in perform!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:268:in `each'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/model.rb:268:in `perform!'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/lib/backup/cli.rb:156:in `perform'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
  /home/dev/.rvm/gems/ruby-2.3.0/gems/backup-4.2.3/bin/backup:5:in `<top (required)>'
  /home/dev/.rvm/gems/ruby-2.3.0/bin/backup:23:in `load'
  /home/dev/.rvm/gems/ruby-2.3.0/bin/backup:23:in `<main>'
  /home/dev/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
  /home/dev/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

Seems that parse_response became a module method. I've updated my branch, can you test again?
I'll set up my own test harness for this later today (or tomorrow).

Probably you have forgotten to push changes.

Ooops, pushed to wrong repo. Try now.

Backup has been completed successfully. Thanks.


[vcpkg_find_acquire_program] Include version in downloaded python MSI…

… name to avoid conflicts when updating

/azp run

/azp run


Add a no_prefix feature

There are some targets that we still force a prefix since they have
issues when their libc malloc is replaced in this way.
Closes #39

I think it can be unexpected to silently use a prefix when the no_prefix feature is enabled. Shouldn’t the build script fail with an appropriate message in that case, to force users who would rely on this to do something platform-specific?

I'm going to hold on a new release until @SimonSapin issues in the last two PRs are resolved. @SimonSapin mind you opening an issue?

@SimonSapin my concern about failing the build is that there's no way to enable a feature on a target-specific basis IIRC, so if you want to have jemalloc replace libc malloc on Linux, you're not going to be able to run on OSX or whatever.

I was thinking of enabling the feature in a [target.'cfg(…)'.dependencies] section, but I wonder if that actually works in Cargo.

my concern about failing the build is that there's no way to enable a feature on a target-specific basis IIRC

I think this is possible: https://github.com/gnzlbg/slice_deque/blob/master/Cargo.toml#L24

Depending on a crate or not at all based on cfg is possible.
I don’t know if conditionally enabling a feature based on cfg actually works or if the feature ends up being always enabled. I vaguely remember a Cargo bug like this but I couldn’t easily find it in the tracker and might be confusing it with something else.

I vaguely remember a Cargo bug like this

Maybe https://github.com/rust-lang/cargo/issues/4866 ?
There are issues with feature/dependency resolution when doing target specific things, but enabling/disabling the feature works IIRC.

I thought https://github.com/rust-lang/cargo/issues/4866 wasn’t it based on the title and first message, but it does discuss [target.'cfg(…)'.dependencies] in later comments. So yeah, the scenario I had mind is indeed buggy in Cargo. The test case below enables both features.
Since conditionally-enabled feature doesn’t work, I suppose the best we can do is rename the feature to no_prefix_on_supported_platforms, or override_malloc_on_supported_platforms? https://github.com/alexcrichton/jemallocator/pull/56

Test case
Cargo.toml
[package]
name = "foo"
version = "0.1.0"

[dependencies]
a = {path = "./a"}

[target.'cfg(windows)'.dependencies]
a = {path = "./a", features = ["b"]}

[target.'cfg(unix)'.dependencies]
a = {path = "./a", features = ["c"]}

src/main.rs
extern crate a;

fn main() {
    a::b();
    a::c();
}

a/src/lib.rs
#[cfg(feature = "b")]
pub fn b() {}

#[cfg(feature = "c")]
pub fn c() {}

a/Cargo.toml
[package]
name = "a"
version = "0.1.0"

[features]
b = []
c = []

Those feature names seem reasonable to me.


Need to change the points display

At minimum we need to be more obvious about what the number means on the project listing page. People think it's number of downloads. I'd probably prefer moving from a star system to a like & flag system. Or just figure a better way to show stars

What about putting the word 'points' underneath and create a page/popup that shows how stars relate to points? Even better change stars to points so it matches up and put 'total points' underneath. I still argue that points is more useful. With stars, a project with 1 rating of 5 stars could appear above a project with 5 ratings of 5 stars. With points that would be 5 vs 25, a clear difference and way more useful when deciding on a project to use.

I'm also in favor of points and digging the ^ suggestion.
In addition to this I think we should calculate some decay rate on the points so we can have "Lifetime points" and "Popular Projects". As it stands now new projects have a hard time breaking into the top 5

yeah that'd be cool. trending projects!

I do not see anywhere number of downloads. Usually that is an indicator about the popularity of the project.
So top 5 would be a combination of points/stars or thumbsup like stackoverflow, views, downloads and life of the projects

Well maybe not in the sort by popular filer. Maybe we add another one that is sort by downloads.

Points with decay rate seems very reasonable. Also popup explaining what the number represents is not a bad idea.
And wild idea about extensions/mashups: what about having "extension analytics" code that is embedded into the extension which send usage statistics (to where is another story). This will give the actual usage. The usage then can be combined with the downloads and ratings numbers to position the project (or just give an idea to the developers how much is used and how many users/installations are using it) ... just a completely random idea :)

I like the ideas that @yianni-ververis and @countnazgul are suggesting but unfortunately since we have users host their projects on GitHub we have now real way of tracking downloads and we can't inject code into the extensions.

cleaning up my open issues and Branch isn't really a thing anymore


Bempp crashed when solving an electromagnetic scattering problem

Hi, I tried Bempp on electromagnetic scattering problems and the jupyter kernel crashed. The simulation was running for several hours, and I don't think I ran out of memory. It's kind of hard for me to locate the cause of such a crash.
I encountered this problem earlier at a smaller resolution and I was able to bypass it by forcing specific versions of libraries (see below). But now I have this issue again on a larger resolution. I attached the jupyter log file and the links to the notebook file and mesh file I used. I'm wondering if there is something suspicious to you in the script or the log file; or if there is a specific python environment setting I should try. Thank you!
I'm using
python=3.8.5
ipykernel=5.3.4
ipython=7.19.0
numba=0.51.2
nbformat=5.0.8
Bempp-cl=0.2.4
jupyter.log
The script I used is here: https://drive.google.com/file/d/1cRnAL52rX7Jh_L7hqdwyxdKelu5PW8Tf/view?usp=sharing
The mesha I used i here: https://drive.google.com/file/d/1U7Oe2UzfIphigjpFjTrNY90U2CFRn-nH/view?usp=sharing

Thought the memory usage at the beginning of matrix assembly seems fine (20Gb), the memory usage increased over the matrix assembly process. I was able to run this problem on a more powerful machine with 256Gb memory.

After further increasing the resolution, I ran into another issue that cause the program to stop: python: ../nptl/pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' . I wan't able to test convergence on this problem yet...


Connection Reset on Image Upload with OkHttp SSL Exception (AWS Specific, Network Dependent)

Describe the bug
When attempting to upload an image using OkHttp via Android Upload Service to Amazon AWS S3, the upload fails with a java.net.SocketException: Connection reset. This issue occurs specifically during the SSL handshake and seems to be related to network conditions.
The issue is reproducible only when using the Zain network operator (in the Middle East). Switching to STC and turning off the VPN resolves the issue, and the upload works as expected.
To Reproduce
Steps to reproduce the behavior:

Set up an image upload request using OkHttp in the Android Upload Service to an Amazon AWS S3 endpoint (pre-signed URL).
Use a device with a SIM card from Zain as the network operator, and VPN turned on.
Attempt to upload the image file.
Observe the error during the upload process.
Repeat the same process with STC as the network operator & VPN turned off, and observe that the issue is resolved.

Expected behavior
The image upload should successfully complete over an HTTPS connection regardless of the network operator.
Screenshots
N/A
OS and Lib versions (please complete the following information):

Android Upload Service version: 4.9.2
Android version and API version: Android 14
HTTP stack: OkHttpStack

Request code:
  suspend fun uploadPhoto(
        uploadId: String,
        preSignedUrl: String,
        mimeType: String,
        filePath: String,
        postName: String,
    ) {
        val random = Random(System.currentTimeMillis())
        delay(random.nextLong(260) + 20)
        val currentTasks = UploadService.taskList
        if (currentTasks.contains(uploadId)) {
            Timber.w("uploadPhoto: Upload ID $uploadId is already being uploaded to $preSignedUrl.")
            return
        }
        if (preSignedUrl.isBlank()) return
        if (filePath.isBlank()) return

        val userAgent = Util.getUserAgent()
        val notificationConfig = generateUploadNotificationConfig(
            postName = postName, uploadId = uploadId
        )

        Timber.i("uploadPhoto: Uploading with these info: \n\tupload id: $uploadId\n\tpre-signed url: $preSignedUrl\n\tmime-type: $mimeType\n\tfile path: $filePath\n")

        val request = BinaryUploadRequest(context, preSignedUrl)
        request.apply {
            setUploadID(uploadId)
            setMethod("PUT")
            addHeader("User-Agent", userAgent)
            addHeader("Content-Type", mimeType)
            setFileToUpload(filePath)
            if (notificationConfig != null) setNotificationConfig { _, _ -> notificationConfig }
            Timber.i("uploadPhoto: Starting upload for id $uploadId on url $preSignedUrl with name $postName")
            startUpload()
        }
    }

Where have you added the request code?

[ ] Activity
[ ] Service
[ ] Other class (add additional info about it)

Debug Log:
java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:191)
    at java.net.SocketInputStream.read(SocketInputStream.java:143)
    at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket(ConscryptEngineSocket.java:985)
    at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:949)
    at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:238)
    at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:220)
    at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)
    at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
    at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
    at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
    at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
    at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
    at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
    at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at com.syarah.photographers.modules.app.MainApplication.onOnIntercept(MainApplication.java:365)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
    at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
    at com.google.firebase.perf.network.FirebasePerfOkHttpClient.execute(FirebasePerfOkHttpClient.java:44)
    at net.gotev.uploadservice.okhttp.OkHttpStackRequest.getResponse(OkHttpStackRequest.kt:94)
    at net.gotev.uploadservice.HttpUploadTask.upload(HttpUploadTask.kt:50)
    at net.gotev.uploadservice.UploadTask.run(UploadTask.kt:144)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
    at java.lang.Thread.run(Thread.java:1012)

See https://www.baeldung.com/java-socketexception, this is not likely something we can help with.
I suggest asking on a site like stackoverflow.


Compile Typescript Before Running Tests

The current test task looks like this:
gulp.task('test', function () {
    return gulp.src(options.test.source)
        .pipe($.typescript(options.typeScript.config))
        .pipe(gulp.dest(options.test.target))
        .pipe($.mocha());
});

It works, but I have to compile TypeScript beforehand. I'd like the compilation to be a part of this task, but when I add it:
gulp.task('test', ['typescript'], function () {
    return gulp.src(options.test.source)
        .pipe($.typescript(options.typeScript.config))
        .pipe(gulp.dest(options.test.target))
        .pipe($.mocha());
});

the task fails with a very strange error
[20:28:07] Using gulpfile ~/dev/black-screen/gulpfile.js
[20:28:07] Starting 'typescript'...
[20:28:09] gulp-notify: [Black Screen Watcher] TypeScript has been compiled.
[20:28:09] Finished 'typescript' after 1.67 s
[20:28:09] Starting 'test'...
Could not find input file /Users/me/dev/black-screen/test/src/History.ts. This is probably an issue of gulp-typescript.
Please report it at https://github.com/ivogabe/gulp-typescript/issues
Debug information:
sourceRoot = "/Users/me/dev/black-screen/test/"
sources = ["src/History.ts"]
Could not find input file /Users/me/dev/black-screen/test/test/history_test.ts. This is probably an issue of gulp-typescript.
Please report it at https://github.com/ivogabe/gulp-typescript/issues
Debug information:
sourceRoot = "/Users/me/dev/black-screen/test/"
sources = ["test/history_test.ts"]
Could not find input file /Users/me/dev/black-screen/test/test/________________empty.ts. This is probably an issue of gulp-typescript.
Please report it at https://github.com/ivogabe/gulp-typescript/issues
Debug information:
sourceRoot = "/Users/me/dev/black-screen/test/"
sources = ["test/________________empty.ts"]

  0 passing (0ms)

[20:28:10] Finished 'test' after 1.18 s

Although, if to run the tasks sequentually (the version of test should be without the dependency) everything works fine.
$ gulp typescript
$ gulp test

why $.typescript(options.typeScript.config) is still present in 'test' task?

@RobertoUa because I write tests in TypeScript, and would like to compile with the same options.

I still don't get it. You have 'typescript' task as a dependency, and then some compilation inside the 'test' task?

ok, I get it. You have both test and source ts files.


How can I detect the small faces or far away human face?

face_recognition version:Latest one, I just cloned
Python version: 3.6
Operating System:Windows 10

I can use the api without problem.My question is simple.Is there another way to detect small faces or people who in a long distance from camera?
I know that using upsample increase the detection on the single image.
face_locations = face_recognition.face_locations(face_image, number_of_times_to_upsample=2)

I have the same issue, the API is not able to recognize faces over 0.5 meters away from the camera.
How do we achieve this?

Can you just use a higher res camera and/or better camera optics?

I found this in the documentation:
https://face-recognition.readthedocs.io/en/latest/face_recognition.html
I changed my code to use the second parameter, values of 2 and 3 work a lot better to detect smaller faces but it is also slower, I am going to use a Pi 4 and try, I am sure in windows with a decent PC will work just fine.
face_locations = face_recognition.face_locations(rgb_small_frame, 2)

I found this in the documentation:
https://face-recognition.readthedocs.io/en/latest/face_recognition.html
I changed my code to use the second parameter, values of 2 and 3 work a lot better to detect smaller faces but it is also slower, I am going to use a Pi 4 and try, I am sure in windows with a decent PC will work just fine.
face_locations = face_recognition.face_locations(rgb_small_frame, 2)

You just changed the parameter of upsample which me and @ageitgey already mentioned.
I solved this issue with using Resnet based face detection.I suggest you too use caffe resnet model.

Can you just use a higher res camera and/or better camera optics?

You know, it's a hardware solution and we looking for a software solution :))

I solved this issue with using Resnet based face detection.I suggest you too use caffe resnet model.

Can you tell me how to do it? I have the same issue that if increase the parameter to 2 or 3 then it very slow...

ResNet50 and 800x1333 will do well.


buttons without icons are now messed up

Current behavior
Following the Focus version 0.8.3 update, buttons' content is now off by several pixels (1 em = 24px)
Seems like the CSS class material-icons' width has been modified

Expected behavior

Add a property allowing to determine whether an icon is present or not on the button.
Version
FocusComponents: 0.8.3
FocusCore : 0.12.1

This is critical please
:+1:

ok, i do it now.


Open file in new tab

Open the PHP file related to the class or function under the cursor.
Opening the file to the line where the function is defined (for example) could be very nice.

@see #42


chore: Add Lighthouse-CI config

Trying to see if the config for https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/getting-started.md will work.

It can get merged at the end, but if you're going to do the orphan master branch, I can rebase or redo this afterwards

@nschonni Do you want me to delete the branch?


The "Open Camera" function is not working when you try to upload the avatar.

The "Open Camera" function is not working when you try to upload the avatar.
Steps to reproduce:

go to the "my profile" page
tap on the avatar
tap on the "open camera" button
observe the result

Actual result:
The "Open Camera" function is not working when you try to upload the avatar.
Expected result:
The "Open Camera" function is working when you try to upload the avatar.
Environment:
DEV 1.33.1-2 (2160)
Devices:
Google Pixel 3a XL // Android 12
Attachments:
https://www.screencast.com/t/ikwu5nng
https://app.zenhub.com/files/166818382/58de03b7-1bce-445c-9e6f-59d2d532d9cb/download
Note:
The camera function work on the "Send via QR-code" function

@TomasGonzalez @johnsmith-gooddollar
The issue in not reproduced
Tested on DEV Version 1.33.1-2 (2163)
Device: Google Pixel 3a XL // Android 12
Attachments:
https://www.screencast.com/t/sh6CRWFw1


Change current thumbnails to smaller ones.

Smaller thumbs, but preserving old ones, keeping them out of python package, but into the repo.
Superseeds https://github.com/apache/incubator-superset/pull/4382

LGTM


What is it built on SQLOp?

What is it built on SQLOp?

@biapar could you please clarify the question?  SQL Ops Studio is based on a fork of VS Code 1.19, which uses Electron shell.  The UI code is TypeScript\HTML\CSS with some components built with Angular.  The SQL Server logic is embedded in a C# .Net Core app that uses SMO and SqlClient.


Adding a blog post cover

I saw your blog and some of your posts have cover images. How can I achieve this.

Hi @ihachani you have to add a cover image to the post. Then the theme will pull it in.

I was able to get to work. You can go ahead and close this. Thanks


After adding copypass, the scene display will change

import * as THREE from "three";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
import {
EffectComposer,
RenderPass,
CopyPass,
} from "postprocessing";
const renderer = new THREE.WebGLRenderer({
alpha: true,
antialias: true,
});
renderer.setSize(window.innerWidth, window.innerHeight);
const container = document.getElementById("app");
// @ts-ignore
container.append(renderer.domElement);
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(
60,
window.innerWidth / window.innerHeight,
0.1,
1000
);
const composer = new EffectComposer(renderer);
let renderPass = new RenderPass(scene, camera)
composer.addPass(renderPass);
const copyPass = new CopyPass();
composer.addPass(copyPass);
setInterval(() => {
copyPass.enabled = !copyPass.enabled;
renderPass.renderToScreen = !copyPass.enabled
copyPass.renderToScreen = copyPass.enabled
}, 2000 )
const orbit = new OrbitControls(camera, renderer.domElement);
camera.position.set(10, 15, -22);
orbit.update();
const material = new THREE.MeshStandardMaterial({
roughness: 0.95,
color: new THREE.Color("#2aad2a"),
});
const planeMesh = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), material);
planeMesh.rotateX(-Math.PI / 2);
scene.add(planeMesh);
const light = new THREE.AmbientLight(0xffffff);
scene.add(light);
const size = 10;
const divisions = 10;
const gridHelper = new THREE.GridHelper(size, divisions);
scene.add(gridHelper);
function animate(time) {
requestAnimationFrame(animate);
composer.render(time);
}
animate();
window.addEventListener("resize", function () {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
when
copyPass.enabled = true

copyPass.enabled = false

when copyPass.enabled = true, How to set it to maintain its original state？Thanks

Please don't use the issue tracker for general help. It's also not clear what you're asking.
Converting to discussion.


Add rest of Duck Images

Adds the rest of the duck images:

I used my handy image editing app to scale down each of the duck images to around what the 5 current ducks were, but I can try optimizing them further.

@nwinter I just ran the images through ImageOptim and uploaded them 👍

This is better, now they're not bigger than the original duck images. But, I think the original duck images were also uploaded too large. We only display at 100px width, so we should probably have all the ducks at 200px width (for 2x resolution screens) instead of the 531-638px width they are in at.
Want to take a crack at resizing them all to 200px width?

Will do!

@nwinter I just uploaded the 200px images 👍 (Incl. Tharin and the pre-existing ones)

Might have missed a few in the latest; it looks like it's missing Alejandro, Amara, Anya2, Arryn, Hattori, and Okar?

Whoops! Seems like it got cut off! I just added them now!

Try running them all through ImageOptim? I got 20% file size savings here but that branch got a bit weird with some rebasing that happened.

Sure I'll run them again

I ran them through imageOptim and saved about 20% average 👍


Prevent JS prompts during loading

Block JS prompts during page loading.
Patch ported from this commit: https://github.com/MetaMask/metamask-mobile/commit/5ee210a2e59255b5ff626923b1a7db459ad75dae
Addresses https://github.com/MetaMask/mobile-planning/issues/1757
Platform: iOS & Android

iOS workflows requires #21 to pass


feat: add context menu to appmap panel

Fixes #304
Fixes #305
Fixes #306

:tada: This PR is included in version 0.18.0 :tada:
The release is available on:

v0.18.0
GitHub release

Your semantic-release bot :package::rocket:


comment include of cordova.js when using ionic platform

When using a base Ionic starter template and issuing the command:
ionic add ionic-platform-web-client
The index.html is changed to comment out the include of cordova.js. It results in this change:
    <!-- cordova script (this will be a 404 during development) -->
    <!-- Cordova is bootstrapped by ionic-platform-web-client, uncomment this if you remove ionic-platform-web-client... -->
    <!-- <script src="cordova.js"></script> -->

This change does not happen when using this file structure, so perhaps something could be in the docs to tell the user?

Would be very useful to mention that in this guide: https://github.com/mwaylabs/generator-m-ionic/blob/master/docs/ecosystems/ionic_platform.md
What do you think?

The other option would be to add it to the gulp ionic-platform command.  Perhaps that could modify the index.html directly.

I'm generally not a fan of modifying code programatically but in this case not so much can go wrong. I'll consider it. Thanks :)

Hi @DEllingsworth, I decided against doing this automatically since it breaks a build or run using gulp --cordova and that might lead to confusion. So I just mention it in the guide so everybody knows what's happening.


Quickstart connection update

DOC-2040
Update quickstart options to reflect new create sql user step and connection modal

This change is

@emily-horing @ericharmeling

Can we consolidate the "quickstart" and "connect to a Serverless cluster?" They appear to overlap substantially. Perhaps out of the scope of this PR, though.
Maybe too spicy, but I think it's a red flag when documentation tells the user to click a specific button, because it should be clear in the UI.

cc @ianjevans

tftrs!
@kernfeld-cockroach the Quickstart uses the general connection string to run a node/python/java/go example app, the Connect doc should (ideally) be a more comprehensive description of all the ways to connect to a cluster. there's also substantial overlap with this doc that i would be more inclined to consolidate once all the new connect modal options are available: https://www.cockroachlabs.com/docs/stable/connect-to-the-database.html, but I think they all serve different purposes right now. Open to discussing more in future.
As to specifying buttons, we do that everywhere rn so that's a bigger docs conversation haha.
Does anyone have objects to removing the copy/pastable sql connection strings? IMO they became more of a nuisance than anything and it's not ideal for users to be filling in all the variables by hand when they can be copy/pasting from the modal.
Also... anyone know why the first check is failing?

Does anyone have objects to removing the copy/pastable sql connection strings?

Great idea. Those should just be in the console.

Also... anyone know why the first check is failing?

This was happening to me last week when I tried updating some of the cockroachcloud include files. No idea why this is happening. @nickvigilante @jseldess Any ideas?


Webm files not saving

I understand that only mp4 files are allowed to be saved to my iPad. However, at least make it easier, or at the very least, make it possible to properly upload webm files to a different cloud/storage service. When I tap the “share” button, I get a list of options of where to send it and one of them is Google Drive. However, when try to upload it to Drive, it saves it as an unopenable file. I even tried editing the name of the file by adding the .webm extension, but when I try to open it later, I get a message stating that the file is unsupported. Please fix this issue quickly or at least let me know a way to save webm file from the iOS Sankaku app. Thanks in advance.
P.S. I’m glad to see more content is available.

Are you on the correct issue tracker?
Grabber doesn't have an iOS / iPad app, unless you compiled it yourself?


:zap: Add class caching to DeferLoad

Resolves #3360

The most minor of efficiency improvements ... saving milliseconds adds up 😂


Search onclick finds items not containing onclick

Summary
1 On https://docs.expo.dev/ in Search enter:
onclick
2 Expected: articles containing onclick, or "None found"
4 Articles not containing onclick e.g.

Link to the related docs page
https://docs.expo.dev/
No response

PS The fact the results highlight Click suggest the search has mistaken onclick for that, incredibly.


ng g c with selection of app.module.ts

🚀 feature request
angular 7+
Description
Hello, my current app folder looks like the following :

app

_app-base

app.module.ts

app-routing.module.ts

app-component

app.component.html

app.component.sass

app.component.ts

_components

administration (omitting the obvious files)

session (and many others)

_data

_guards

_helpers (so forth and so on)

The problem i'm encountering is that since my app.module.ts isn't at the root of the app folder, i need to use the --skipImport when using ng g c....which can be annoying and time consuming when creating components, services and other parts.
Describe the solution you'd like
Is it possible to add a setting to say where the main module of the app is?
Or, if not, at least add a command line option to give the path to it?
Describe alternatives you've considered
As said, currently i have to use the --skipImport, but it slows down the creation of the parts quite a bit, since i use a GUI for those tasks, which are much faster than command line commands.
I tried using the command lines but since i have depp folder paths, it takes much longer trough the command line compared to the GUI.

The --module option exists to support specifying a path to a module.
Documentation for the command can be found here: https://angular.io/cli/generate#component

Well, at least now i only have to find documentation explaining the obscure --module option.
Thanks.


Yearly dev update

Fixes deserialization bugs, adds missing KI pranks, implements serialization.
Closes #2.

lgtm


Failed to build with lacaml 9.2.3

I think it's due to mmottl/lacaml@f99d4211c91f8f0ab88aab858657f48f3e3d495f

Thanks for reporting. I've add a PR that fixes the build. I'll added the necessary constraints to opam repository.


Add NodeSecurityGroup to outputs.

Having the security group as an output is useful for scenarios where one
needs to add additional ingress rules to the node group.
Issue #, if available:
Description of changes:
This adds the NodeSecurityGroup to the list of outputs. My particular use case for this, is that I'm using this template (multiple times) in a nested stack. We're using it with the https://github.com/zalando-incubator/kube-ingress-aws-controller project.
For each nested stack we need to, in the parent stack, create an extra ingress rule that allows the application load balancer security group to have access to the NodeGroups. This is much easier if we have an export, as alternatively, we're forced into complicated custom resource solutions, for looking up the security group id by logical resource.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks!


hey am actually new on flutter anf this is the issue am seeing Exception caught by widgets library

HomeSignInWidget(
goToPageCallback: (page) {
_changePage(page);
},
),
SignIn(),
CreateLogin(
cancelBackToHome: () {
_changePage(0);
},
),
],
),
),

Exception caught by widgets library ═══════════════════════════════════════════════════════
Failed assertion: boolean expression must not be null
The relevant error-causing widget was:
SignIn file:///C:/Users/eden/AndroidStudioProjects/choice/lib/menu_frame.dart:92:23

This kind of question is better suited for Stack Overflow, you can ask there: https://stackoverflow.com/questions/tagged/flutter?sort=votes

@Eden-shisso
Please see https://flutter.dev/community for resources and asking questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Compiler fails to find overload for function when there is a mix of default arguments and yielding version

Example:
def method(foo, optional = 0)
end

def method(foo, values, optional = 0)
end

def method(foo, optional = 0, &block)
  yield
end

method(1)
# Error in line 11: 'method' is expected to be invoked with a block, but no block was given

https://carc.in/#/r/2o6h
Expected behaviour - first variant must be called.
Now if I change an order of definitions:
def method(foo, values, optional = 0)
end

def method(foo, optional = 0)
end

def method(foo, optional = 0, &block)
  yield
end

method(1)

https://carc.in/#/r/2o6j
Everything works as expected.
So in my case a workaround is just to play with order of definitions, but this can be difficult when methods are located in different files or generated by macro.
Another workaround is to make values param typed. This also solves a problem, so untyped param somehow hides non-yielding overload.

But with:
def method(foo, optional = 0)
end

def method(foo, values, optional = 0)
end

If you write:
method(1, 2)

both overloads match. The second one erases the first when you define it like that.
I do agree it's very confusing. I think it's a mistake to have overloads in the language, it should be like in Ruby, one method for everything, so much simpler and consistent.

Why not just:
def method(foo, values = 0, optional = 0)
end

def method(foo, optional = 0, &block)
  yield
end

I personally don't know what should the compiler do in the first snippet.

Huh, my bad. I've somehow missed this ambiguity. :bowing_man:
I think overloading is a very nice feature, maybe compiler should complain instead of silently erasing in such cases, but current behavior is consistent (as erasing is useful for monkeypatching), so issue can perhaps be closed.

Perhaps cases like this are a good argument for an explicit @[Override] annotation or similar.
Another option is forcing overrides to have the exact same signature as what they're overriding.

@RX14 Technically, it's only an override if the signatures are identical.

@straight-shoota no, with optional arguments and *args one method signature can override multiple other methods.

Right now the compiler tries to arrange overloads according to which one is more restrictive. The logic is very complex. In the case of:
def method(foo, optional = 0)
end

def method(foo, values, optional = 0)
end

the second one should be more restrictive. With one argument the first one will match, with more arguments the second will match, so it should be the same as:
def method(foo, )
end

def method(foo, values, optional = 0)
end


Adding more online courses to the webpage

Is your feature request related to a problem? Please describe.
Need to update the website as per the latest languages/technologies which are being used!
Describe the solution you'd like
I would like to add atleast three video resources for Flutter, PHP and NestJS in the section below

I would like to work on this issue and also there are a lot of unnecessary comments in the index.html file need to maintain that as well !!


Help - Dataset Access

Hello,
I'm testing your code.
But I stopped initially in obtaining the
fer2013 dataset
I already signed up for kagler but I did not find this dataset.
Do you have a link that helps me find it?

you want to find this file , you can search it on the baidu or google, then you will found it.

Is in the Kaggle link.. https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data


Allow some components to be customized

Hi @bazookon, as mentioned in issue #55 I'm proposing a PR for adding more customization to this package. I've focused on three parts:

Allowing to override the default tab top (the handlebar)
Allowing to override the default tab bottom (Giphy's credits)
Allowing to override the search part component. In this case the logic part of the search is still made by the original component, only the UI part is overriden.

Note that these overrides are all optional as we default to the default widgets you already developed. Optional params have been added to the doc as well.
Once last thing: I've added the ability to read the shape of the bottom sheet from the theme if any (Theme.of(context).bottomSheetTheme.shape), otherwise we default to the shape you chose before.
I also updated most dependencies to last versions, hope that's okay
Closes #55

Amazing thanks! 🎉


Failed to ingest events

Failed to ingest events .catch() Failed to fetch
Machine ID: 8c811b45-daf4-4a84-8742-ccb000db4d7b

[!NOTE]
Book a call

key
value

id
fRgHIM6l6w1Z66VEOhx-4

url
http://localhost:3000/

wifi

cpu
6

mem
8

gpu
ANGLE (Intel, Mesa Intel(R) UHD Graphics 630 (CFL GT2), OpenGL 4.6)

time
1727672001025

items
0

bytes
0

Hi @themisfitofnightraid , we've just deployed a fix for you. Can you try running the setup script npx million@latest. Once it's done, please restart your VSCode/Cursor. Let me know if that works for you!


Chrome headless not opening due to missing flags

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
I'm trying to run testcafe inside of a docker container based on openshift/jenkins-slave-base-centos7. using chrome headless.
The command I run is:
node_modules/testcafe/bin/testcafe.js chrome:headless integration_tests
The tests fail to run and after a while i get the following exception
Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.

After some digging I've found that the problem is that chrome headless needs a couple of additional flags to run correctly. This command opens the browser successfully and runs the tests
node node_modules/testcafe/bin/testcafe.js 'chrome:headless --no-sandbox --disable-gpu' integration_tests

Could these arguments be passed in by default?
As an aside i found it a little tricky working the syntax for passing in the additional flags, could this be added to the readme?
Specify your

operating system: docker container running centos7
testcafe version: 0.17.2
node.js version: v6.11.3

Hello @KaneMorgan!
We already have a note about --no-sandbox flag in our docs:
Add the --no-sandbox flag to Chromium if the container is run in the unprivileged mode.

So if you run the image with docker run --privileged, you won't need this flag.
Also, official TestCafe image based on Alpine + Chromium works fine without --disable-gpu flag on Docker Toolbox for Windows and Mac. Could you please try to run your image without it, only with --no-sandbox flag?

Thanks for the speedy response.
yes it seems to work with just the no-sandbox flag,
I'll close this issue


Improving the landing Page Carousel

The Carousel doesn't work with the arrow keys and the hover keys are almost non-existent and very  basic.

@jindalpriyanshu101 @jinx-vi-0
Do Assign me this Issue, as I want to work on both components and modify them for standards.
Also tag the appropriate tags of level and events.


Mypy error in _viewer_key_bindings.py

🐛 Bug
mypy error encountered in #4991 (where this file nor viewer.window._pref_dialog is touched)

napari/components/_viewer_key_bindings.py:168: error: Item "None" of "Any | None" has no attribute "_list"

I see there is a PR to fix this #6230 so will close.


Add support for SSL

Current template only provide an external none http based communication, https communication is needed.

duplicate #66


Add PDO::quote() to FakePdoTrait

Implement PDO::quote().
Why
We maintain a SQL template engine that depends on escaping with PDO::quote().
Currently we have this method in a class that inherits from FakePdo.

Thanks!


Add upstream PR 54

https://github.com/Electron100/butane/pull/54

lgtm. Are we releasing this as a new version?

yup.
doing the releases requires bumping one version at a time, for core, codegen, then 'butane' and then the cli.  You want to do it? ;-)


About training data, What is bg_img_dir ?

I am trying to train my hand pose model with your contribution， thanks. When I reading your code, I am a little confused about bg_img_dir(in config.py). Can u tell me what is it, please?

I write my generator and ignore bg_img, it is training now. Everything seems fine.

@ldfinfontainebleau  can you give me step  by step how to trainning new data, i alreay have my dataset but don't know how to create format in this project and make it train  :(

@ldfinfontainebleau can you give me step by step how to trainning new data, i alreay have my dataset but don't know how to create format in this project and make it train :(

Have you found a data set annotation method? I'm also working on my own data set. Asking for advice~~ thank you ~

step by step... It has been a while. I will give it a try.

make sure your dataset has two parts : .jpg and landmarks
I did fix the program to suit my data form
generate jpg and landmarks into training
this project is just suit its data, I think u should change a little before start training.
I hope I could use English fluently  as my Chinese : )

@ldfinfontainebleau can you give me step by step how to trainning new data, i alreay have my dataset but don't know how to create format in this project and make it train :(

Have you found a data set annotation method? I'm also working on my own data set. Asking for advice~~ thank you ~

step by step... It has been a while. I will give it a try.
1. make sure your dataset has two parts : .jpg and landmarks

2. I did fix the program to suit my data form

3. generate jpg and landmarks into training
   this project is just suit its data, I think u should change a little before start training.
   I hope I could use English fluently  as my Chinese : )

thank you~ I make labels.txt contrast what is introduced in Readme like this:
20008.jpg 34.0 153.0 172 501 40.0 242.0 53.0 241.0 102.0 201.0 160.0 158.0 118.0 288.0 170.0 321.0 167.0 240.0 277.0 242.0 371.0 198.0 445.0 171.0 374.0 289.0 444.0 322.0
I train body-pose and data_picture have 12 points in every bbox, but now I'm not sure which files I need to modify in order to train properly.(qidai~~~)

@qqwinn 在config.py里面有heatmap_size热力图大小，越大越准确但参数也越多；cpm_stages同理，是定义cpm阶段数的，一般最少5段，上可以加。这两个参数对于网络我觉得都很重要。需要根据自己的数据来看吧。（手动微笑）

@qqwinn 在config.py里面有heatmap_size热力图大小，越大越准确但参数也越多；cpm_stages同理，是定义cpm阶段数的，一般最少5段，上可以加。这两个参数对于网络我觉得都很重要。需要根据自己的数据来看吧。（手动微笑）
I write my generator and ignore bg_img, it is training now. Everything seems fine.
蟹蟹你~~
I display an "import Ensemble_data_generator error" when I runing run_train.py. Does this file need to be written by myself ?  But I don't know exactly how to write this file. Can I refer to your generator code?~
[再次期待 :) :) :) ]

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)
Thank you very~ very~~ very~~~ much!
<EMAIL_ADDRESS>这是我的邮箱 ;)  ;)  ;)

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

没事的，这两天在忙一个项目，还没来得及发给你，晚上发给你。

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

没事的，这两天在忙一个项目，还没来得及发给你，晚上发给你。
请问可以发一份给我吗 谢谢<EMAIL_ADDRESS>

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

没事的，这两天在忙一个项目，还没来得及发给你，晚上发给你。

@ldfinfontainebleau 可以给发我一份吗 谢谢<EMAIL_ADDRESS>

@ldfinfontainebleau<EMAIL_ADDRESS>,非常感谢！

你好：
这个是别人写的generator.py文件，后续有什么心得可以交流哈～～～
王琦琦

发件人：mathduanxu<EMAIL_ADDRESS>发送时间：2019年5月7日(星期二) 14:44
收件人：timctho/convolutional-pose-machines-tensorflow<EMAIL_ADDRESS>抄　送：qqwinn<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>主　题：Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48)
@ldfinfontainebleau<EMAIL_ADDRESS>,非常感谢！
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The CMU hand data does not have hand bounding box information. There's only hand keypoints coordinate. How do you guys generate the ymin, xmin, ymax, xmax ?

Is the bbox coordinates directly from the min, max value among 21 points?

@qqwinn要看我写的发电机？留个联系方式我发给你。：|）

上一个邮箱我貌似填错了，真是不好意思
~qqwinn@aliyun.com这次没错:: |Hello, now I also want to train the model of my own data set, could you share it?thaks

Is the bbox coordinates directly from the min, max value among 21 points?

Yes, expand some pixels will be fine.

@ldfinfontainebleau
Hello, I am a student of the orientation of human posture estimation,  hoping to get your help about how do I train my own data set models，thanks，

@ldfinfontainebleau
Hello, I am a student of the orientation of human posture estimation, hoping to get your help about how do I train my own data set models，thanks，

Of course， u can send your questions to<EMAIL_ADDRESS>I will reply as soon as I see.

是的，根据这些点的信息得到的框的坐标

发件人：Han Li<EMAIL_ADDRESS>发送时间：2019年7月22日(星期一) 14:51
收件人：timctho/convolutional-pose-machines-tensorflow<EMAIL_ADDRESS>抄　送：qqwinn<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>主　题：Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48)
Is the bbox coordinates directly from the min, max value among 21 points?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

没事的，这两天在忙一个项目，还没来得及发给你，晚上发给你。

可以发一份给我吗，谢谢<EMAIL_ADDRESS>

可以发我一份吗？最好保存在一个txt，然后在这个问题回复上传，这样就不会有这么多人问你要了

<EMAIL_ADDRESS>

Hello, I want to train this projects's model by my own dataset
but I don't know how to make datagenerator
so would you send me your generator? please
<EMAIL_ADDRESS>

@qqwinn 내가 작성한 발전기를보고 싶습니까? 연락 정보를 보내 드리겠습니다. : |)

안녕하세요, 나는이 프로젝트의 모델을 내 자신의 데이터 세트로 훈련
하고 싶지만 datagenerator를 만드는 방법을 모르므로
발전기를 보내 주시겠습니까?
<EMAIL_ADDRESS>

예,이 점들의 정보에서 얻은 상자의 좌표
...
------------------------------------------------------------------ 发件人：Han Li<EMAIL_ADDRESS>发送时间：2019年7月22日(星期一) 14:51 收件人：timctho/convolutional-pose-machines-tensorflow<EMAIL_ADDRESS>抄　送：qqwinn<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>主　题：Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48) Is the bbox coordinates directly from the min, max value among 21 points? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

would you send me a copy file? (generator)
<EMAIL_ADDRESS>

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

I want to train this project by my own model
but I don't know how to make the generator
so could you send me a copy file? (generator)
I want to show your generator
<EMAIL_ADDRESS>

你好： 这个是别人写的generator.py文件，后续有什么心得可以交流哈～～～ 王琦琦
…
------------------------------------------------------------------ 发件人：mathduanxu<EMAIL_ADDRESS>发送时间：2019年5月7日(星期二) 14:44 收件人：timctho/convolutional-pose-machines-tensorflow<EMAIL_ADDRESS>抄　送：qqwinn<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>主　题：Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48) @ldfinfontainebleau<EMAIL_ADDRESS>,非常感谢！ — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

I want to train this project by my own model
but I don't know how to make the generator
so could you send me a copy file? (generator)
I want to study training model
<EMAIL_ADDRESS>

<EMAIL_ADDRESS>

分享我的，我这个代码里用GetData类代替generator，注意json文件读取过程就行，加了三种数据增强
run_training.txt

非常非常感谢您
有问题可能还要向您请教～
发自我的iPhone
------------------ Original ------------------
From: huangshaoguang<EMAIL_ADDRESS>Date: Thu,Oct 10,2019 4:40 PM
To: timctho/convolutional-pose-machines-tensorflow<EMAIL_ADDRESS>Cc: shin405K<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [timctho/convolutional-pose-machines-tensorflow] About training data, What is bg_img_dir ? (#48)

Hello, I have a question for you,How did MPII make the public dataset a data file for a.txt file

my emali is 787940575,i have some problems in generator.py,could anyone give me a generator.py? thank you very much in advance!

分享我的，我这个代码里用GetData类代替generator，注意json文件读取过程就行，加了三种数据增强
run_training.txt

After training, how we convert the model into pkl format? It always report can't find conv1_1 from the loaded weight file？ How can we test images ？ Can you share the test code？

分享我的，我这个代码里用GetData类代替generator，注意json文件读取过程就行，加了三种数据增强
run_training.txt
@huangshaoguang 训练好的模型，是如何加载进程序进行测试的，发现load_weights_from_file这个函数如何加载训练好的模型

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

Can I get a "generator"? (My Email<EMAIL_ADDRESS>

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

可以给我转发一份吗？谢谢

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|

可以给我转发一份吗？谢谢

<EMAIL_ADDRESS>

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

上一个邮箱我貌似填错了，真是不好意思～
<EMAIL_ADDRESS>这次没错 ：：|
<EMAIL_ADDRESS>

@qqwinn 要看我写的generator？留个联系方式我发给你。: |)

您好，可以发我份吗？非常感谢 ：-）
<EMAIL_ADDRESS>


aurelia-templating.js:1544 Uncaught TypeError: Cannot read property 'animatableElement' of undefined

I'm submitting a bug report

Library Version:
1.6.0

Please tell us about your environment:

Operating System:
Win 10

Node Version:
6.11.4

NPM Version:
3.10.10

JSPM OR Webpack AND Version
webpack 3.6.0

Browser:
Chrome

Language:
TS 2.5.3

Current behavior:
When removing an item from an array using splice, Aurelia throws an exception.
aurelia-templating.js:1544 Uncaught TypeError: Cannot read property 'animatableElement' of undefined
    at getAnimatableElement (aurelia-templating.js:1544)
    at ViewSlot.animateView (aurelia-templating.js:1583)
    at ViewSlot.removeAt (aurelia-templating.js:1785)
    at Repeat.removeView (repeat.js:263)
    at ArrayRepeatStrategy._runSplices (array-repeat-strategy.js:189)
    at ArrayRepeatStrategy.instanceMutated (array-repeat-strategy.js:158)
    at Repeat.handleCollectionMutated (repeat.js:151)
    at Repeat.call (repeat.js:95)
    at ModifyArrayObserver.callSubscribers (aurelia-binding.js:304)
    at ModifyArrayObserver.call (aurelia-binding.js:917)

What is the expected behavior?
To work as it does on this gist:
https://gist.run/?id=0849daa54f6804e2ea378945da8b9f33

Can not reproduce, please provide a repro we can test with.
Tested:

chrome@62
<EMAIL_ADDRESS><EMAIL_ADDRESS>setup used

aurelia-cli - requirejs/babel - copied the main.js/html contents from the provided working gist
aurelia-cli - webpack/ts - copied the main.js/html contents from the provided working gist

package lock and bumping the versions was the issue

I'm currently seeing this error in my project on aurelia-templating 1.7.0 and aurelia-templating-resources 1.6.0.
It only seems to happen when I use splice to remove the only item in an array with length === 1. But it is repeatable for me.

It also happens if I simply overwrite the bound property holding the array with a new array.

The LOC throwing the error seems to be here: https://github.com/aurelia/templating/blob/7f96b42c28ee3399b3c5de4752d552b6b29db6a1/src/view-slot.js#L6
But that isn't the source of the problem. The source of the problem is that somewhere along the line, array observation is spitting out two mutations for the one mutation. So the view is removed (and animation is attempted), and then it is removed again.
cc/ @EisenbergEffect @jdanyow

I'm currently unable to duplicate this in a simple repro, but I can show this in client code.

I would recommend we add a null check here: https://github.com/aurelia/templating/blob/7f96b42c28ee3399b3c5de4752d552b6b29db6a1/src/view-slot.js#L279

This is an issue that continues to pop up, but is rather difficult to repro and thus continues to get closed:
https://github.com/aurelia/templating-resources/issues/165
https://github.com/aurelia/templating/issues/470
https://github.com/aurelia/templating/issues/518
https://github.com/aurelia/templating/issues/525
and is affecting public tooling built on Aurelia:
https://github.com/monterey-framework/monterey/issues/263

Wouldn't that be a breaking change? The method is expected to return the removed view.

The code is currently broken. When I add the null check in my app it doesn't throw an error.

I've tried to find where the duplicated mutations get created but haven't been able to figure that out.

I'm arguing that with the current implementation of ViewSlot.prototype.removeAt it's responsibility of the caller not to call with non-existent Views.

This is the error message I get
aurelia-task-queue.js?2bf4:43 Uncaught TypeError: Cannot read property 'animatableElement' of undefined
    at getAnimatableElement (VM29765 aurelia-templating.js:1628)
    at ViewSlot.animateView (VM29765 aurelia-templating.js:1667)
    at ViewSlot.removeAt (VM29765 aurelia-templating.js:1873)
    at Repeat.removeView (VM29779 repeat:272)
    at ArrayRepeatStrategy._runSplices (VM29782 array-repeat-strategy.js:193)
    at ArrayRepeatStrategy.instanceMutated (VM29782 array-repeat-strategy.js:162)
    at Repeat.handleCollectionMutated (VM29779 repeat:160)
    at Repeat.call (VM29779 repeat:104)
    at ModifyArrayObserver.callSubscribers (VM29771 aurelia-binding.js:398)
    at ModifyArrayObserver.call (VM29771 aurelia-binding.js:1011)
    at TaskQueue._flushQueue (VM29772 aurelia-task-queue.js:90)
    at TaskQueue.flushMicroTaskQueue (VM29772 aurelia-task-queue.js:141)
    at MutationObserver.eval (VM29772 aurelia-task-queue.js:66)

I'm arguing that with the current implementation of ViewSlot.prototype.removeAt it's responsibility of the caller not to call with non-existent Views.

removeAt doesn't take a view as a parameter, it takes an index and then the ViewSlot is in charge of finding that specific view.

I corrected myself.

The only thing the docs mention regarding a return value is "May return a promise if the view removal triggered an animation." I know that the typings say that it can return View | Promise<View> but the fact is that if someone is currently relying on that, then their code will be having the error thrown at it.
I agree that it could be considered a breaking change. But in the absence of a simple, repeatable repro, I'm not sure what else to do. I thought I had a simple repro, but then I managed to fix it. I tried the same fix in my app code and it didn't fix the problem.

Also, I'm not really sure how the caller can be expected to know that the view doesn't exist when it calls the API given all it is required to know is an index for the view it wants to remove.

I have a feeling the issue is caused by having two template controllers one inside the other (if.bind with a repeat.for inside it).

I have a feeling the issue is caused by having two template controllers one inside the other (if.bind with a repeat.for inside it).
https://github.com/aurelia/templating/issues/590
https://github.com/aurelia/templating/issues/596
In this case, given the async nature of Aurelia's binding engine, I don't think it can be expected that a template controller can know that a view it wants to be removed won't exist at the time it requests its removal.
I'm able to get rid of my problem removing an if.bind on my table element just above the repeat.for on the tr element. I had put the if.bind there to deal with a different bug in the repeater implementation (similar to #590 linked above). So I'm chasing my tail a bit here.

I've also started getting this frustrating bug as part of the new templating versions. In some places where I append items to an array the repeater completely breaks and starts rendering superficial items.
For example

    ${x} at index ${$index}

+

${y.length}

would render

blah at 0

null at 1

null at 2

null at 3

+

1

y = [1, 2];
Template:
${i}

Steps to repro:

Problem with array.shift():

call y.shit()
you will get the error described in this thread.

Problem with array.unshift():

call y.unshift(3)
y shows proper value in the console: [3, 1, 2]
but in the view - a bizarre value is rendered: 31212

I'm also getting this issue.  I simply push into the array and while the array looks right, the repeat.for is drawing extra items. and the above error shows up in the browser.

I'm experiencing the same behaviour as @VagyokC4
Will investigate further for possible cause.

I had some issues with the repeater rendering superficial items today. This was caused by me accidentally getting two different versions of the binding library imported. Left a more detailed comment on #575

See https://github.com/aurelia/templating/issues/575#issuecomment-407920042
All the weird bugs (this and few others github issues) (highly) probably caused by duplicated aurelia-binding in webpack bundle.

There is a temporary solution for duplicated aurelia-binding in webpack. Please check it to see whether it solve some weird issue of yours.
aurelia/binding#702

I got this bug today, here is the stack trace:
Uncaught TypeError: Cannot read property 'animatableElement' of undefined     at getAnimatableElement (aurelia-templating.js:1847)     at ViewSlot.animateView (aurelia-templating.js:1886)     at ViewSlot.removeAt (aurelia-templating.js:2088)     at Repeat.removeView (repeat.js:292)     at ArrayRepeatStrategy._runSplices (array-repeat-strategy.js:194)     at ArrayRepeatStrategy.instanceMutated (array-repeat-strategy.js:163)     at Repeat.handleCollectionMutated (repeat.js:180)     at Repeat.call (repeat.js:115)     at ModifyArrayObserver.callSubscribers (aurelia-binding.js:383)     at ModifyArrayObserver.call (aurelia-binding.js:997)     at TaskQueue._flushQueue (aurelia-task-queue.js:99)     at TaskQueue.flushMicroTaskQueue (aurelia-task-queue.js:150)     at MutationObserver.<anonymous> (aurelia-task-queue.js:75)
Here is the aurelia plugins we use:
		"aurelia-auth": "^3.0.5", 		"aurelia-bootstrap-datetimepicker": "^1.3.2", 		"aurelia-bootstrapper": "^2.3.0", 		"aurelia-chart": "^0.2.7", 		"aurelia-dialog": "^2.0.0-rc.3", 		"aurelia-fetch-client": "^1.6.0", 		"aurelia-google-maps": "^2.2.1", 		"aurelia-http-client": "^1.3.0", 		"aurelia-i18n": "^2.3.2", 		"aurelia-resize": "^1.1.2", 		"aurelia-templating": "^1.10.1", 		"aurelia-validation": "^1.3.0"
also aurelia-cli: 0.35.1
This happens when I clear an array and add an item to the array. This array is used in the view.
Any help appreciated.

@bigopon Here is the code which updates the array:
private selectSingle(team: TeamSummary) {
		this.selectedTeams = [];
		this.selectedTeams.push(team);
		this.publishMessage(new TeamsSelectedMessage(this.selectedTeams));
	}

As you can see it is a very simple clear and append to the array.
And here is a sample of the view code:

 0 && isSelected(team) ? 'active' : ''}" click.delegate="selectTeam(team, $event)">

					<svg class="wh-16 auto-active hide fill-aqua">
						<use xlink:href="images/sprites.svg#icn-auto-activate-outline"></use>
					</svg>

...

Try
private selectSingle(team: TeamSummary) {
        const selectedTwams = [team];
	this.publishMessage(new TeamsSelectedMessage(selectedTeams));
        this.selectedTeams = selectedTeams;
}

or
private selectSingle(team: TeamSummary) {
        const selectedTwams = [team];
        this.selectedTeams = selectedTeams;
	this.publishMessage(new TeamsSelectedMessage(this.selectedTeams));
}

if it must be assigned before dispatching the event.
In general try to keep the mutations to the arrays used in bindings to a minimum - on perf side.

I think we have already tried to patch for this issue. My guess is there is some different version of aurelia binding inside your app. Can you try
 alias: {
  'aurelia-binding': path.resolve(__dirname, 'node_modules/aurelia-binding')
}

in your webpack configuration?

@bigopon I'm using the aurelia-cli with requirejs. I have also checked my node_modules directory and the aurelia-binding version is on 2.1.6

@johanbasson Thanks. I think this is hard to reproduce and it's a result of some weird combination of modules, could be core, could 3rd party. We'd really need a reproduction to fix this. I'm doing what you do to remove / add stuff all the times and haven't run into it. I'll try again but please share if you can reproduce it.

@bigopon Thank you for your help. I investigated the code where the issue occurs and manged to simplify the code which somehow fixes the issue. The code changes does not have anything to do with Aurelia but somehow it does not give the stack trace. I'm at a loss to explain why the code changes fixes the problem, but at least it is sorted now.

Saw another instance of this error which was caused by core-js being loaded after aurelia-binding (instead of before) and replacing the array.push method. core-js includes a fix for an old browser bug, the check for which is apparently tripped up by the aurelia-binding override.

Saw another instance of this error which was caused by core-js being loaded after aurelia-binding (instead of before) and replacing the array.push method. core-js includes a fix for an old browser bug, the check for which is apparently tripped up by the aurelia-binding override.

Thanks for the info @Truffula 👍


Issue#2986

Adding option 3 as suggested
Please review PDF and Vision with the product team and can use those graphics as a base to add/remove or I can fix it either way.
#2986

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@MicrosoftHeidi PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@MicrosoftHeidi  Hi! Following up on this issue, please let me know if there is anything I can do to help!.


create @types/graphql-mongoose-loader

https://github.com/entria/graphql-mongoose-loader/commit/6675559c589432a8bd8833eea3e95fb542252d18#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 <- It doesn't work because of this commit. Can you get it back? @sibelius

Some type checking is failing, can you try to fix and then I can release a new version with types

It would be okay to change it like this.
"build": "npm run build:babel",
-> "build": "npm run build:babel && npm run build:ts",

Yes, but this only work if there is not typescript errors

There seems to be no type error in the latest version.

I think @AugustoCalaca fixed them all
So we can do a new release with types

this is failing for me
node_modules/@types/mongodb/index"' has no exported member 'OptionalId'.

191       ? mongodb.OptionalId<CreateDocumentDefinition<D> & { _id: TId }>
                    ~~~~~~~~~~

Found 1 error.

fixed


⚠ Orpheus has degraded performance

In e4a7bba, Orpheus ($OPS) experienced degraded performance:

HTTP code: 502
Response time: 1047 ms

Resolved: Orpheus performance has improved in e260eff.


Update code of conduct to the CNCF CoC

Update to the CNCF CoC now that we're a CNCF project.
Adds the top-level file so that Github picks it up and shows that we have a CoC.

@blixtra would you mind fixing the conflicts in order to merge it?


Does it support iPhone 13

Does MLC support the non pro iPhone 13, or do I need to buy more RAM?

Refer to this comment. It's not working on iPhone 13 when using vicuna-v1-7b which requires at least 4GB ram, which iPhone 13 has total 4GB memory. iPhone 14 has 6GB memory so it's supported.
There's smaller model called dolly-v2-3b with poor performance that requires less memory. But the usage instructions are not provided yet.

Refer to this comment. It's not working on iPhone 13 when using vicuna-v1-7b which requires at least 4GB ram, while iPhone 13 has total 4GB memory. iPhone 14 has 6GB memory so it's supported.
There's smaller model called dolly-v2-3b with poor performance that requires less memory. But the usage instructions are not provided yet.

I don't live in the EU anyways, but I will be sure to consider getting a RAM upgrade on my phone.


In a vuex module's state, arrays are not showing their items in the devtools

Version
6.0.12
Browser and OS info
Brave Version 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit) on Ubuntu 21.04
Steps to reproduce
When I add an array to a vuex module's state:
setCustomers (state, data) {
  state.customers.all = data
},

It tells me in the vue devtools for vuex that the length is 0
What is expected?
DevTools should show me this:
customers:Object
  all:Array[2]

What is actually happening?
DevTools shows me this:
customers:Object
  all:Array[0]

All other items that have an array as a value have the same problem.

Sorry, it was working, was looking in the wrong place.


Dynamic plugin support

The problem
Currently users are forced to rebuild/redeploy after adding a new Backstage plugin

Proposed list of related items/tasks:

[x] First POC of dynamic frontend plugins: POC of basic scalprum integration
[x] First RFC about dynamic frontend plugins: https://github.com/backstage/backstage/issues/17054
[x] POC of dynamic backend plugins: https://github.com/backstage/backstage/compare/master...davidfestal:backstage:backend-dynamic-plugins
[x] RFC of dynamic backend plugins: https://github.com/backstage/backstage/issues/18390
[ ] Experimental MVP implementation of dynamic backend plugin support in upstream

[ ] Submit as a PR to upstream the backend-plugin-manager, as an experimental package
[ ] Submit as a PR to upstream the export-dynamic CLI sub-command, or create a dedicated command, possibly in our own repo
[ ] Addition of backend-dynamic-plugin-enabled alternate templates for the create-app CLI command

[ ] New frontend POC / RFC compatible with the declarative-integration
[ ] Let the backend plugin manager drive front-end dynamic plugins serving

First POC of dynamic frontend plugins: POC of basic scalprum integration
This link is unavailable. I got 404 @davidfestal

First POC of dynamic frontend plugins: POC of basic scalprum integration
This link is unavailable. I got 404 @davidfestal

cc @tumido


Doesn't work with DAVdroid

Everything's in the title ...

Just in case someone arrives here with the same problem: Please see https://github.com/dmfs/opentasks/issues/148#issuecomment-118280167 ;-)


Enable Click and Drag to Reorder Modules Under an Engine

We have disabled click and drag for modules, and I believe this is because its really hard to support moving them between engines.  While that is perfectly OK, it would still be nice if a user could click and drag modules under the same engine so that they can be reordered.  Currently the only way to list the modules in the order that you want is to add them in that order.

@becega how to solve?

Drag and drop as Daniel mentions just checks if it can be added to that parent, if the parent allows it to be added, it will be added. And right now it does based on the subnode classes from the parent node. The decision to accept it is all contained in a single subVI called Valid Drag and Drop.
We can just replace with a custom VI for platypus it doesn't have to be a change in the CEF. Not sure if it will be useful to all the other editors.
Now solving this in platypus can be done in 2 ways

Inside of this class check for the parent of the current node. If both are the same allow dragging if this is different don't accept the drag. (this will not work if we are using folders but is easier to implement as it doesn't affect the modules and its a change to a single VI).
Add a property to the modules to store to what engine they are part of. inside of the ValidDragDrop we would just check the engine of the node and the engine of the parent we want to say it is valid. This will need to change probably the tag bus module parent class to include this property so we can call it in here.

Probably a more generic way can be done, but in this case the restriction to one engine is really specific to this application, restrictions of what is valid or not will vary from configurator to configurator, and they only need to modify this VI. Making this generic will add more complexity to the configuration framework with little gains.

Looks like we do enable modules to move across engines now.  They get added above the Tags and Mappings though, and the Tags and Mappings Nodes can't be reordered.  I could make a new issue for drag and drop across engines, but wanted to see if this change was intentional first.

unintentional

The latest Version of CEF allows Reordering. This is a quick change now just need to update the drop case.


Make PathItem operation properties specific

PR for #2126.
Move the Operations properties definitions from patternProperties to the properties set, explicitly defining all of them. The goal is to get better coding tools completion - IntelliJ IDEA does - and to improve the spec quality with a purer spec schema usage.
Changes are 100% backwards compatible, all validating schemas will validate and all non validating schemas won't validate after merge. After merge, coding tools will get more information because of replacing a pattern with a defined literal set.

As the primary author of recent drafts of the JSON Schema spec, this is not an abuse of patternProperties.  It's certainly valid to talk about what is most useful for tools, but it's a valid and useful technique as written.

@handrews your opinion is welcome :)
Never mind, #2126 specifically states that its nº 1 goal is better tool support. Also, commit message first line is about specificity.

@MikeRalphson hmm sorry! Issue sems worse since the modification comes FROM OpenApi.next, which is unmerged into master. So let me solve it, I will create proper PR. But which work branch to choose? DEVELOPMENT.md:47 and README.md:24 seem to tell me to use 3.1.0-dev - non breaking change - instead of 3.0.3-dev - typos or clarifications - but none of that branch contain the v3 schema ¿?

That guidance is for changes to the specification. The schema is non-normative, so I think master  should be OK.

@MikeRalphson PR source force updated
PR target updated.
Thank you for support on this.

Should this also be merged into v3.1/schema*, as the same keyword usage exists there?

Wouldn't hurt...


Staging and intermediate models for MITxOnline courserun certificates + grades

Description
This PR adds staging and intermediate models for the following certificates and grades for MITxOnline
stg__mitxonline__app__postgres__courses_courserungrade
stg__mitxonline__app__postgres__courses_courseruncertificate
stg__mitxonline__app__postgres__courses_programcertificate
int__mitxonline__courserun_certificate
int__mitxonline__program_certificates
int__mitxonline__courserun_grades
Motivation and Context
https://github.com/mitodl/ol-data-platform/issues/428
How Has This Been Tested?
Ran dbt run and Ran dbt test
dbt test
17:17:16  Running with dbt=1.2.2
17:17:16  [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 1 unused configuration paths:
- models.open_learning.marts

17:17:16  Found 52 models, 634 tests, 0 snapshots, 0 analyses, 717 macros, 0 operations, 0 seed files, 28 sources, 0 exposures, 0 metrics
17:17:16
17:17:18  Concurrency: 1 threads (target='qa')

---
17:28:51
17:28:51  Finished running 634 tests in 0 hours 11 minutes and 34.93 seconds (694.93s).
17:28:51
17:28:51  Completed successfully
17:28:51
17:28:51  Done. PASS=634 WARN=0 ERROR=0 SKIP=0 TOTAL=634

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Enhancement (improves on existing behavior)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project. (Did you install and run the pre-commit hooks?)
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Renamed the column and ran the test


[SPARK-21499][FOLLOWUP] Update doc for registering Spark UDAFs in Spark SQL queries

What changes were proposed in this pull request?

Update  doc for registering Spark UDAFs in Spark SQL queries.
The sql example has been added in this doc, so only update the introduction part.
Why are the changes needed?

To make it more clearly about Spark UDAF for Spark user.
Does this PR introduce any user-facing change?

No.
How was this patch tested?
Existing UT.

Test build #137842 has started for PR 32305 at commit 3373e44.

Test build #137842 has finished for PR 32305 at commit 3373e44.

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

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42372/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42372/

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42372/

Not related failure.
Setting status of 3373e448c73e8091f9e4d5dde0e6d86a68718af2 to FAILURE with url https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42372/ and message: 'Build finished. '
FileNotFoundException means that the credentials Jenkins is using is probably wrong. Or the user account does not have write access to the repo.
org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/apache/spark/statuses/3373e448c73e8091f9e4d5dde0e6d86a68718af2 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#create-a-commit-status"}
	at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:492)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:420)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:363)
	at org.kohsuke.github.Requester.fetch(Requester.java:74)


[NOJIRA] Add social media icons

Adding some icons for Cambio auth student footer

Do I have to run anything to get the package.json to be updated with the newly added icons?


Added onDragStart and onDragEnd gestures

thanks!

Thanks Perry, Its an addition that I found quite useful.

merged in 7679690f57ad5a5d874a519d0ede9588a48bde9e


Fail create Board Image of KV260 in Vitis AI v2.5

After download sd card system from here https://www.xilinx.com/member/forms/download/design-license-xef.html?filename=xilinx-kv260-dpu-v2022.1-v2.5.0.img.gz
Use Etcher software can't finish create.

HI @watchara-knot
Thank you for your feedback. We will fix it soon

@qianglin-xlnx Thx you for fast respone
if you already fix, please let me know
Cloud your help to tell how long the new version will update?

@watchara-knot
In the next few days.

Hi @watchara-knot
The bug is fixed. Could you please download it again?

@qianglin-xlnx Thx you for the fast response, I will test tonight and let you know.
more this model zoo
https://github.com/Xilinx/Vitis-AI/blob/master/model_zoo/model-list/tf_rcan_DIV2K_360_640_0.98_86.95G_2.5/model.yaml
in part

name: tf_rcan_DIV2K_360_640_0.98_86.95G_2.5
type: float & quantized
board: GPU
download link: https://www.xilinx.com/bin/public/openDownload?filename=tf_rcan_DIV2K_360_640_0.98_86.95G_2.5.zip
checksum: 1e653e1f3cee29c17af29d3c39c59c78

No information about how to export to .xmodel, which way I should contact to get information?

@qianglin-xlnx Thx you, new file works well
you can close this issue by please suggest how to know the information of post before


Team #94 Morning Meeting 28/10/20

Please leave your comments below...

The spacing between the projects is too small on tablet screen size and the font-size for the button.


Fix MSVC warning C4505 for VmaCreateStringCopy

The overloaded signature of VmaCreateStringCopy with a size_t strLen argument is only used together with VmaStringBuilder (in lines 15154 and 16370). So, if we #define VMA_STATS_STRING_ENABLED 0 it is still declared but no longer used.
This triggers an "unreferenced local function has been removed" warning on MSVC when compiling with /W4.
This PR wraps the overload declaration with an #if VMA_STATS_STRING_ENABLED ... #endif to fix it.

Thank you for this contribution.


NieR: Automata (524220)

Hello! Would it be possible to add Nier Automata?
Save files and config files are located under:
%USERPROFILE%\Documents\My Games\NieR_Automata\
This wiki shows the save and config file locations for most games:
Nier Automata pcgamingwiki
Let me know if you need any more info.

@gdiazbanuelos I was able to add this and tested it on my Deck and Linux PC. Could you try it and let me know if it works for you? The change is in this branch https://github.com/tmplshdw/cloud_config_workaround/tree/nierautomata

Thank you so much!


Fix typos in ranking-notes.md

I noticed some typos while reading ranking-notes.md.
This pull-request corrects these typos.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


sonata: 1.7b1 -> git-20200822

Motivation for this change
Sonata was failing to run due to a KeyError.
This updates the git revision to fix it.
Upstream issue for release tag: https://github.com/multani/sonata/issues/117
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Superseded by #107605.


Detect and error on registers with flip in type

Thanks @edwardcwang for discovering that this doesn't error.
It's not in CheckChirrtl for now, but there are quite a few error checks that aren't duplicated in CheckChirrtl. I can add that too, but maybe syncing these up with an extra CheckHighFIRRTL after ChirrtlToHighFirrtl would be the right call?


Automatically fallback to regular file IO if mmap fails.

This change allows LevelDB to continue operating when virtual memory is exhausted.
Despite LevelDB's use of MmapLimiter, which hard codes the maximum number of open mmaps to 1000 for 64-bit systems, LevelDB can still run out of virtual memory for mmaps.  Rather than fail, this PR allows LevelDB to automatically fallback to regular file IO when  mmap() fails.  LevelDB already does this anyway when 1000 mmaps are reached.
With this change it I've also removed MmapLimiter, which is no longer necessary.  This has the following additional benefits:

Improves performance by eliminating mutex locks in MmapLimiter::Acquire() and MmapLimiter::Release().
Makes mmaps possible on 32-bit systems. (MmapLimiter disallowed this.)
Potentially allows 64-bit systems to use more mmaps when virtual memory is available.
Simplifies the code and removes a hard coded limit.

I believe this is a low risk change.  The main logic changes are limited to the function NewRandomAccessFile() and removal of class MmapLimiter only affects class PosixMmapReadableFile and NewRandomAccessFile().  Both of these changes are limited to the file env_posix.cc.  No function or class signatures which are accessed outside of env_posix.cc have been changed.

I signed it!

Any chance this will get looked at?  This is a fix for an important bug.  leveldb crashes when you run out virtual memory otherwise.

Anyone there?  Could really use some help with this.

@googlebot rescan

Thx for the PR @jcoffland. One advantage of using MmapLimiter (not just called Limiter) is that it allows the tests to exercise both the mmap and regular I/O paths. Can you preserve this?

@cmumford  Nope.

The handling of this PR is really disappointing.  After 3 years of being ignored, I get a request to do more work.  I declined because there's no guarantee my work won't be ignored again.  This PR fixes an important bug in LevelDB and should have been merged a long time ago.

@jcoffland I'm sorry you feel this way.
Regarding timing -- We're focusing on what we expect to make the biggest improvements for the use cases in which we're deploying LevelDB.
Regarding testing -- We're running LevelDB on billions of devices, via Chrome. Correctness is really important to us, and adequate test coverage is not negotiable.

Why I can't get the Value of a exsit Key when I set  maximum number of open mmaps to 0 ？


Add znap start to .zshrc optimization example

Add complete install steps to .zshrc optimization in case someone copies only the optimized version 👀
Before submitting your PR (pull request), please
check the following:

[x] There is no other PR (open or closed)
similar to yours. If there is, please first
discuss over there.

[x] Each commit messages follows the Seven
Rules of a Great Commit
Message.
[x] Each commit message includes
Fixes #<bug> or Resolves #<issue> in its
body (not subject) for each issue it resolves
(if any).
[x] You have
squashed
any redundant or insignificant commits.

Thanks!


duplicate event reports

let mut inotify = Inotify::init().unwrap();
inotify.add_watch("/tmp/file",WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE,).unwrap();;

loop {
    let mut buffer = [0u8; 4096];
    let events = match inotify.read_events(&mut buffer){
        Ok(e) => e,
        Err(error) if error.kind() == ErrorKind::WouldBlock => continue,
        _ => panic!("Error while reading events"),
    };
   .......
   if event.mask.contains(EventMask::MODIFY)
   {
         println!("File modified: {:?}", event.name);
   }
    ......

when I execute "echo  xxxx  >   /tmp/file" with only once, I got two modified events occured, shows like this

what's wrong with this?  looking forward to your reply

Hey @gneworld!
inotify-rs is only a thing layer on top of inotify, so the most likely explanation is that inotify is emitting multiple events, and there's little we can do about it.
I found this Stack Overflow answer: https://stackoverflow.com/questions/32377517/inotify-event-in-modify-occurring-twice-for-tftp-put/32424150#32424150
Maybe WatchMASK::CLOSE_WRITE is more suitable for your use case?

Thanks for your reply， while after change WatchMask::MODIFY to WatchMask::CLOSE_WRITE，there is nothing triggered when echo something into /tmp/file ...

Could you post your updated code?

@hannobraun Sorry, I made a mistake with a typo, after correct it, it works fine. But as said in  Stack Overflow answer,
'''
many logs and similar files must be monitored using IN_MODIFY - in such cases where these files are permanently open and thus no IN_CLOSE_WRITE can be emitted.
'''
how to fix the issue that one write trigger twice events report?

I actually don't know under which exact circumstances multiple IN_MODIFY events can be generated, but I would assume that it is outside of our control and we can't really do anything about that.  How you react to it depends on the needs of your application.
If reacting to the event is cheap (for example, if you just want to store the time the log was last modified in a variable somewhere), then I don't think you need to do anything about it. Just handle each event. If handling the event is expensive, then you could deduplicate events by waiting for a short time before handling one (let's say 50 ms, or a whole second, whatever works for you), and then handle all IN_MODIFY events that arrived during that time all at once.

I just watch a file's modification event in /tmp path as above sample code, when I execute "echo xxxx > /tmp/file" with only once, I randomly got two same modified events reported, In fact, I want to launch my app when specified file was modified, so two app processes launched because this issue

Then remember whether you already launched the app, and don't do it again?

So I should use the singleton pattern to design my app, thanks very much

I didn't say that. I didn't even suggest it. You can design your app however you want.
I'm going to close this issue now, since this doesn't seem to be an issue in inotify-rs.


ci: switch to github actions

@rm-hull can you also disable travis for this repo?

If you hadn’t already seen this: https://news.ycombinator.com/item?id=25338983
I had a similar-ish mail but they did at least give me some extra credits:

Thanks for your patience while we worked on your request.
We are awaiting further approval for your account and will promptly apply credits as directed to your account.
In the meantime, however, we have added 50,000 credits to your account to enable you continue using the service. I hope this helps.
Thanks and we will follow up soon.

Yea, it's miserable. Let's ride out github actions until they start complaining. I feel like we're squatting..


Screenshots shifted after scrollIntoView under Linux 5.13.0-28-generic 31-Ubuntu

Node.js version:  v16.13.2
Browser name and version: Chrome 98/latest
Platform name and version: Linux 5.13.0-28-generic 31-Ubuntu
WebdriverIO version: 7.16.14
wdio-image-comparison-service version: 3.1.0

Describe the bug
Screenshots shifted after scrollIntoView under Linux
To Reproduce
Steps to reproduce the behavior:
LinuxIssue.zip

Hi @Sam55555
Thanks for the issue, I'm currently on vacation and will check it out when I'm back end of the month

Same on:

node.js 16.13.1
chrome 98
windows 11
wdio 7.16.15
wdio-image-comparison-service version 3.1.0 AND 2.3.0
also tested on some ubuntu (16 i think) with node 14.?.?, and same result

I've also had the same behaviour on my tests.
Anytime I've made a scroll or even if the application scrolls by some iteration the screenshots created after that point of moment are shifted. Notice that the shifted amount is the same as initial scroll that application had.
After some debug I believe it's related with this line of code of webdriver-image-comparison.
As you can see we are getting top position of an element based on current viewport (getBoundingClientRect and on the moment of scrolling we are ignoring the current scroll of the page. I'm not 100% of implications of changing that line 🙏
To bypass this, until a fix appears, I'm scrolling back application to the top of the page before any checkElement after a scroll. -.-'

Thanks for reporting!

We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!


feat: add Gateway API route for Hedera Explorer

Description
This pull request changes the following:

Add Gateway route for Hedera Explorer

Related Issues

Closes #340

:tada: This PR is included in version 0.12.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


when I compress pdf.js ,it's wrong

Link to PDF file (or attach file here):
Configuration:

Web browser and its version:

Operating system and its version:  windows 7

PDF.js version:   1.9.564

Is an extension:

Steps to reproduce the problem:

when I use yuicompressor.jar   compress my pdf.js file ,it's wrong
2.it told me syntax error

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
#****

when I use yuicompressor.jar compress my pdf.js file ,it's wrong

We only support UglifyJS, please see the wiki: https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#minified.
Closing as answered.


Added the handling of begin and end block events

This PR adds the support for being_block_events and end_block_events. Closes #188.
The code has been tested locally on a Desmos <-> Band IBC connection and it works properly.
Note
The code currently relies on a fork of the cosmjs/tendermint-rpc package that is available here. This is done because the NPM cosmjs package does not support the required /block_events endpoint. I've already opened a PR towards their repo to implement this feature (see cosmos/cosmjs#810). Until that one is merged, however, we need to rely on the fork.

Oh yeah, you should run yarn changeset to add a line about what feature this adds (it can be a patch release)

@ethanfrey I should have fixed everything and added the change set as well

I was looking to prepare this for a merge now, but I think this is still not in a CosmJS release.

I guess we need to wait til v0.26.0 and update this then?

I guess we need to wait til v0.26.0 and update this then?

I guess so, yeah :cry: Any ETA on this @webmaster128?

If this is blocking, I'd rather backport the feature to CosmJS 0.25.x than rushing out 0.26.

If it can be backported easily, I can update ts-relayer to use it.
I don't know how urgent this is, just one of my pending tasks I wanted to clean up.
@RiccardoM are you using this code now? Or was it just a demo to test compatibility?

@RiccardoM are you using this code now? Or was it just a demo to test compatibility?

We will use this feature in the next couple of weeks most likely. We are ending our implementation inside Desmos, then we will perform an on-chain upgrade to release it. Targeting the first week of July, so it might be worth backporting this

Nice, I would love to see you using a proper tagged release of the code. Much less compatibility and maintenance headaches

At https://github.com/cosmos/cosmjs/pull/839 you find a backport of the change. The known limitation is that block height 1 cannot be decoded. The fix for that requires breaking changes. Please have a look and let me know if that would unblock you.

CosmJS 0.25.5 should serve your needs now

@RiccardoM please run yarn fix:prettier to fix up the code, so the CI will run it.
If it passes, I can merge this. I will add release notes for 0.2.0 (changing supported versions) and cut a release with this.

Okay, failing test now.
This is cuz we use v0.41.1 simd in the tests.
Do you want to update https://github.com/confio/ts-relayer/blob/main/scripts/simapp/env#L4 to v0.42.4 ?
That should pass.

@ethanfrey I've updated the envs and not it passes. I've also opened a new PR (#197) that I think should be included in the next release as well since Band requires custom gas limits to be set to receive packets properly


Build failed: Could not resolve com.nativelibs4java:bridj:0.7-20140918-3.

Hi! When I try to build the sparrow binary with gradlew I get the following error:
`tarting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Configure project :
Project : => 'com.sparrowwallet.sparrow' Java module

Task :compileJava FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'.
Could not resolve com.nativelibs4java:bridj:0.7-20140918-3.
Required by:
project :
Could not resolve com.nativelibs4java:bridj:0.7-20140918-3.
Could not get resource 'https://maven.ecs.soton.ac.uk/content/groups/maven.openimaj.org/com/nativelibs4java/bridj/0.7-20140918-3/bridj-0.7-20140918-3.pom'.
Could not GET 'https://maven.ecs.soton.ac.uk/content/groups/maven.openimaj.org/com/nativelibs4java/bridj/0.7-20140918-3/bridj-0.7-20140918-3.pom'. Received status code 503 from server: Service Unavailable

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 28s
9 actionable tasks: 9 executed
`
Does anybody else experience this issue? Have this on 2 different machines. Both Java-18 (Temurin).
I mean, a 503 should affect everyone, right?

Should be resolved now. Let me know if you still have issues.

Unfortunately still the same error

When I visit the url I also get the 503

I have just done a successful build on a fresh system, so I think there is something cached on your side that is causing this.
Try
./gradlew --refresh-dependencies jpackage

If that doesn't work, try deleting your Gradle cache entirely with
rm -rf $HOME/.gradle/caches/

I've uploaded the problematic jar to another repo, so it should not matter that the soton.ac.uk one is down.


[Question] Something like a GeneralDao

Now in my code I use a specific "add" method for each entity:
public MyService {

    public User addUser(User user) {
         return dataSore.insert(user);
    }

    public Address addAddress(Address address) {
         return dataSore.insert(address);
    }

}

I wonder if there is a possibility to write a more compact code.
Something like a GeneralDao(see for example http://javadox.com/com.googlecode.genericdao/dao-hibernate/1.2.0/com/googlecode/genericdao/dao/hibernate/GeneralDAO.html).
I prefer something like this:
public class MyService {

    public <E> E add(E entity) {
        return dataStore.insert(entity);
    }

}

The above code doesn't work. The error (in IDEA) is "Cannot resolve method insert(E)".

My mistake. Sorry for bothering you.


fix: correct exporting of Headers.raw

The Headers class does not currently export the raw function as it should.
Please ensure your pull request adheres to the following guidelines:

[ X] make sure to link the related issues in this description
[ X] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Fixes #388
Thanks for contributing!

@hjdhjd Thanks for reporting this issue and providing a PR! Could you please sign the Adobe CLA? Otherwise I won't be able to merge this PR.

resolved via #392


Make teams_discussion tests conform to expected repo layout

This is cleanup I noticed we needed while working on the Programs load tests.
@cpennington @dianakhuang

:+1:


How do I remove TimeZone info from Date?

hi,
I am using the POJO approach to index documents to ES. My problem is with Date fields. This is how I set and define my Date field:
public Date time;
            public void setTime()
            {
                time = new Date();
            }

And this is how I index:
String connectionUrl = "http://my-es-url:9200/";
        JestClientFactory factory = new JestClientFactory();
        factory.setHttpClientConfig(new HttpClientConfig
               .Builder(connectionUrl)
               .multiThreaded(true)
               .build());
        JestClient client = factory.getObject();

        MyDocument doc = new MyDocument();
        doc.setTime();

        Index idx = new Index.Builder(doc).index("jest_test").type("type").id("XXXX").build();

However the data field is indexed as such:
"time":"2015-08-30T13:49:53-0700"

I tried to get rid of the TimeZone by using Joda Time but I still get the same issue:
public Date time;
            public void setTime()
            {
                time = new DateTime(DateTimeZone.UTC).toDate();
            }

Actually, I want my date in ES to look like this: '2015-08-20T08:23:49.4246737Z'
Can someone help please

You need to set the date format on Gson on client config.
String dateStyle = ...;
new HttpClientConfig.Builder("http://localhost")
               .gson(new GsonBuilder().setDateFormat(dateStyle).create())