Before Nov 28, move staging (and review?) postgres onto paid plan

Heroku will not continue to offer free plans after Nov 28. I thought all of our services were paid, but I now see that the postgres add-on for the staging API is not:

We don't need a lot of storage/features, so we should just upgrade to the cheapest paid plan, the Hobby Basic tier:

This page links to a doc that describes how to do this:
https://help.heroku.com/SFTQ0BDH/can-i-upgrade-my-hobby-dev-or-hobby-basic-postgres-database-without-creating-a-new-database-and-copying-the-data-over
FWIW, the data in the staging API is just scratch/practice/test data, so while we should strive to avoid data loss, if something happens, it's also okay if we just reset the staging API with a blank database.

I'm unclear if free postgres will still be bundled with review apps. If not, we may need to specify a postgres plan for review apps as well: https://devcenter.heroku.com/articles/github-integration-review-apps#environments-in-app-json


[Bug]: Lost of config on mains-powered devices

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Z-Wave JS UI version
8.0.0
ZwaveJS version
10.2.0
Describe the bug
As recommended by Home Assistant support, I open the ticket here.
I have lost some part of the configuration after the latest Home Assistant + Z-Wave JS update, but only on all mains-powered devices.
For example a fibaro wall plug that was perfectly working now looks like this:

the vundefined is very weird. The network still seems to work, I can still receive messages and event from battery powered devices.
To Reproduce
I do not know how to describe the step to reproduce.
Expected behavior
mains-powered devices are fully configured and working!
Additional context
No response

This is usually when the stick isn't fully initialized and needs to be restarted or replugged.
Zwave-js-ui waits until the stick is fully initialized to display known information, which doesn't happen. But incoming messages still get processed and lead to seemingly missing information.


Go back through existing quizzes and make sure the embeds are tall enough

Do this immediately after #32 launches

We are only changing the image dimensions for future quizzes. 🏭


position.coords.accuracy is inaccurate by 200+ feet

The position.coords.accuracy value has been inaccurate by up to 200+ feet.
For example, the accuracy showed 27 meters (89 feet), but in reality the coordinate was about 310 feet away. This was in a city, with no tall buildings nearby, no trees within 75 feet (very few trees at all), and clear skies.
Not sure if it matters, but this was while using enableHighAccuracy:true
Most of the time, the coordinate is accurate to within 20-30 feet and the actual coordinate is within the range. Sometimes it'll bounce out of the accuracy area though for 5-15 seconds roughly.
Reproduction has only been done on the following platform:
Pixel 4 device, Android 10
cordova-plugin-geolocation version 4.0.2
phonegap cli 9.0.0 / cordova cli 9.0.0
Android Studio 3.5.1

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

While enableHighAccuracy:true is required if you want anything within meters accuracy (most phones are capable giving ~5meters)... there is still the user location settings that unfortunately the developer has very little control over.
For example, enableHighAccuracy doesn't do a whole lot unless if the phone has high accuracy enabled in their location settings, including Wifi/bluetooth scanning. Each android manufacturer may have different location settings, and different devices have different GPS hardware with different capabilities, so mileage will vary here.
And of course, the surrounding environment plays a big role in accuracy as well. My workplace is in a city, but no tall buildings or mountains, etc, but the office is in a basement and that's enough to throw the GPS off.

Thanks for the input!
My main issue isn't the accuracy of the coordinate itself, but the "accuracy" value provided. To take it to a greater scale, if the GPS accuracy says 20 feet, and in reality it's 2 miles away, that creates a major problem. On the other hand, if the accuracy states within 2 miles, and the coordinate is 2 miles away, then that works.

I see.
The accuracy reading is suppose to be the amount of meters within the real location with a 95% confidence level.
So if you have a reading of 20 feet, or 6 meters... but the given location is 2 miles, or ~3200 meters away from the real location, then obviously that is wrong.
Unfortunately, there isn't anything Cordova can do about this problem as Cordova doesn't have a geolocation implementation for android, it just uses the browser implementation. For android, this plugin just simply exposes the permission model.
If this is in anyway consistently reproducible, I'd consider making a bug report to the chrome webview team.

@caleb87 can this be closed?


No longer possible to perform an Action on a Script

Checklist

[X] I checked for similar existing issues (both open and closed) before posting.
[X] I am running the latest version.

Expected behavior
It appears that from 1.57 onwards, it is no longer possible to perform an Action, on a Script. This used to be possible up to 1.57 so that a script could be triggered when an alarm event occured
Actual behavior
Initially when updating to a newer version, the script would no longer show in the section where you create actions. And trying to readd a script in UI mode is not possible as the selector only allows the selection of certain domains - script not being one of them.
I have not been able to see anywhere in either Github or the Home Assistant forum that this behaviour is by design.

I will check it out.

For me it is possible to select my script as entity for the action:

So, I am not able to reproduce the behaviour as you mention it.
You also don't provide steps I can follow to reproduce it, so I am unable to help.
The only improvement I see is that you shouldn't be able to select action "turn on" or "turn off" for a script.
Now you have to switch to yaml and manually set the service the same as the entity_id, like this:
- service: script.notification_script
  service_data: {}
  entity_id: script.notification_script

I will fix this in the upcoming update.

GUI fixes are on their way https://github.com/nielsfaber/alarmo/commit/c707c687d4f5913ff341a11f5b7e02ada09c406b

@craigmcgowan Perhaps your issue is about notifications, rather than actions?
There is already an open issue about that, see https://github.com/nielsfaber/alarmo/issues/236


Issue #1104 - OpenGEE Build Fails on Centos 7 (#1106)

#1104 OpenGEE Build Fails on Centos 7

updating master to get a critical bug fix


extension makes vscode crash

Hey,
I got to know about this extension from a friend, and it's really cool.
I installed the extension, and after about 2 mins, vscode crashed.
Vscode crashed multiple times.
I then uninstalled the extension somehow and vscode is no more crashing.
I again installed the extension, only to find it crashing vscode again.
Why is this happening?

IM LATE AF
apparently it was cuz of my vscode installation being old


Splash rendering HTML Twice

I'm encountering a bug I cannot figure out how to squash. The original site i'm trying to index is http://macpoker.com, which is rendering some elements via JS, which is fine. The issue, is that it's rendering an HTML DIV twice (note that JavaScript is applying a "fade" effect to make the quote fly in). I tried increasing the wait argument and that didn't help. Why is this happening?
Here is a screenshot of the issue:

However, when you load the live page (or load it via PhantomJS - as a comparison) It renders fine:

Hi @protechig I cannot reproduce the result using the Docker image scrapinghub/splash . Could you please provide more details, e.g. how do you run Splash (using a Docker image or directly from the source code repository), which version are you using?

Hey @starrify thanks for your response! I am also doing it running scrapinghub/splash with Docker. I am literally following the guid verbatim. So i'm running the latest version of Docker/Splash, and I have been able to replicate this both on my VirtualBox VM and on Digitial Ocean. I created a droplet for the duration of this ticket to demonstrate: http://<IP_ADDRESS>:8050/render.html?url=http://macpoker.com&wait=0.5 . To confirm here are the steps I took:

[Install Docker, latest version]
[Create VM]
docker pull scrapinghub/splash (I'm using OS X)
docker run -p 5023:5023 -p 8050:8050 -p 8051:8051 scrapinghub/splash

I have also tried to run it using aquarium and the DO instance is being ran using this command:
docker run -d -p 8050:8050 --memory=1500M --restart=always scrapinghub/splash --maxrss 4000
Are you guys able to replicate this? I have checked it on multiple browsers.
Thanks,
Zach

@protechig thanks for the detailed bug report, I'm impressed you even created a droplet!
I think Splash is working fine: check http://<IP_ADDRESS>:8050/render.png?url=http://macpoker.com&wait=0.5 - the reuslt is correct. The problem is that you're trying to view render.html result in a browser, and it is your browser which renders HTML for the second time: first, you render it via Splash, but then you pass it to the browser again. render.html results are not intended to be shown in a browser. Screenshot doesn't have this problem because browser shows image as-is.

@mike Thanks for the compliment! I'm working on creating a splash  (Docker Swarm) cluster on Digital Ocean, so this has been a good learning experience I am looking at it now, and you're right. If I curl the results, it only shows the markup once. My confusion was that it's also passed as a data-attribute to be rendered by JS, so when I searched the result, it does show up twice... Which is my oversight. I appreciate your help as I would have driven myself crazy!

@protechig if you're working on Docker Swarm Splash cluster check https://github.com/TeamHG-Memex/aquarium, maybe you'll find config files useful. It'd be cool to use Docker Swarm instead of / in addition to cookiecutter in Aquarium.

@kmike that's exactly what i'm doing, but I can't get it to work. I am using the default Ubuntu 15.10 image, and when I run docker-compose up it fails on starting HAProxy (it exits with status code 1).
For now, i'm working on getting it running on a single host, then I can get the swarm configured - that's not actually that hard.


Replace DirectBuffer with Agrona DirectBuffer

This PR adopts Agrona's DirectBuffer, rather than an early fork of DirectBuffer. Adopting Agrona yields several benefits:

LMDBJNI buffers can be directly used in a zero copy fashion with both Simple Binary Encoding and Aeron
Java 9 migration will be simplified via delegation to future Agrona implementations
Agrona defines DirectBuffer (read-only) and MutableDirectBuffer (read/write) interfaces, which have the normal benefits of separating interfaces from implementations, plus exposing the most minimal API for each use case

This PR includes:

The migration to Agrona DirectBuffer
Externalisation of the default key length to the Env class, including tests of that default
Introduction of a Buffers utility class to centralise MutableDirectBuffer instantiation
A new test case that demonstrates and validates Simple Binary Encoding zero copy buffer use

Coverage increased (+1.2%) to 87.542% when pulling dbd2fc2a8f8516aa9aadb9a10d5f962dd7284ae8 on benalexau:agrona into 9a29e34bd297711acf050c7c6a70f3d9e00b3721 on deephacks:master.

Travis has passed the Java 8 test, but failed the Java 7 tests due the third-party SBE tool being compiled with Java 8.
As Java 7 was end of life in April 2015 I would respectfully suggest it is be reasonable to discontinue the JDK 7 CI tests.

I think replacing DirectBuffer with Agrona buffers is a great idea. Better to have good integration with a library like Agrona than nothing at all. There was discussions earlier about using standard ByteBuffer but this idea haven't been pursued AFAIK.
I do have some concerns on dropping Java 7 support, mostly for sake of Android. However, Android N seems to have limited support for Java 8 and there seems to be some support for Android 6.0 (API level 23) as well. I don't have any Android experience so I don't know how this works in practice.
On the other hand, zero copy with DirectBuffer shouldn't be used on Android since we haven't figured out how to do it without manual JNI hacking yet.
If anyone use lmdbjni for Android I would like know if this is concern or not. Also if there are any users on Java 7 still.

Some minor comments on the code.

The Buffers class seems unnecessary?

There are not a lot of places where MutableDirectBuffer is instantiated in production code. Maybe add a utility method creating buffers only for tests? The Buffers.slice method could be added to BufferCursor instead?

The indentation of pom.xml files should be 2 spaces.

Coverage increased (+1.2%) to 87.542% when pulling ab090faaed01739915cc6b47d122a9f7cd6d4455 on benalexau:agrona into 9a29e34bd297711acf050c7c6a70f3d9e00b3721 on deephacks:master.

Coverage increased (+1.2%) to 87.542% when pulling e980a6785e35665868b74660c627c5ef256d5260 on benalexau:agrona into 9a29e34bd297711acf050c7c6a70f3d9e00b3721 on deephacks:master.

Coverage increased (+1.2%) to 87.542% when pulling eac3d5f5a5c5aeae225de64c68f0ae122c9f61d5 on benalexau:agrona into 9a29e34bd297711acf050c7c6a70f3d9e00b3721 on deephacks:master.

Further to my earlier comment on CI failing due to a Java 8 dependency in the SBE Tool, upon further investigation the Java 8 requirement also extends to Agrona itself. I had hoped that it was isolated to the SBE Tool, therefore enabling a tactical workaround such as manually generating the flyweights. However Java 8 is also requirement of Agrona:
$ javap -verbose -cp ~/.m2/repository/org/agrona/Agrona/0.4.13/Agrona-0.4.13.jar org.agrona.DirectBuffer | grep version
  minor version: 0
  major version: 52

$ javap -verbose -cp ~/.m2/repository/uk/co/real-logic/sbe-all/1.4.0-RC4/sbe-all-1.4.0-RC4.jar uk.co.real_logic.sbe.SbeTool | grep version
  minor version: 0
  major version: 52

In relation to the Buffers class, I would submit that it's worth keeping. Today Agrona's DirectBuffer and MutableDirectBuffer interfaces are almost universally satisfied via its UnsafeBuffer implementation. In the future this may no longer be the case, particularly as Java 9 emerges and/or it becomes necessary to return a different MutableDirectBuffer based on JVM version and/or platform (eg Android).
As the Buffers class is a package protected final class, it is unavailable for end users and a subsequent refactor or removal of the class will not break the public contract.
The main benefit of Buffers is it currently encapsulates every UnsafeBuffer reference in the PR:
$ find . -name \*.java -exec grep -H UnsafeBuffer {} \;
./lmdbjni/src/main/java/org/fusesource/lmdbjni/Buffers.java:import org.agrona.concurrent.UnsafeBuffer;
./lmdbjni/src/main/java/org/fusesource/lmdbjni/Buffers.java:      return new UnsafeBuffer(new byte[0]);
./lmdbjni/src/main/java/org/fusesource/lmdbjni/Buffers.java:    return new UnsafeBuffer(ByteBuffer.allocateDirect(capacity));
./lmdbjni/src/main/java/org/fusesource/lmdbjni/Buffers.java:    return new UnsafeBuffer(source.addressOffset(), length);

It is called from some 48 call sites:
$ find . -name \*.java -exec grep -H Buffers.buffer {} \; | wc -l
48

As such we now have a single location if conditional logic is required to select an alternate implementation in the future. Of more minor benefit, we also have reduced the length of lines that would have needed to manually instantiate UnsafeBuffer themselves. We have also guaranteed consistency of buffer types, specifically that a to-be-used-for-wrapping buffer is initially backed by an inexpensive byte[0] , and key buffers are of the Env.MAX_KEY_SIZE test-verified  length. I believe these collectively enhance the readability of the code.
Neverthess you are the maintainer, so I can switch back to creating UnsafeBuffers at the call sites if you wish. I just wanted to advocate why I did it in the first place, as there are dozens of call sites.
Regarding the POM indentation, I have fixed this up and squashed it into the original commit for further review.

Sorry for the late reply. I have been on vacation for a week. I agree that the Buffers class doesn't matter much since its package protected.  I'm ready to merge the PR since there hasn't been any objections so far. This also means moving lmdbjni to Java 8. We might get objections later but I feel we can handle with separate branching.

There was one thing. Can we shade this dependency or is it a bad thing? I know this technique will be less relevant as Java 9 emerge but I'm curious about the general opinion.

Agrona has had 20 releases in 16 months (see here and here). Any application that uses Agrona (eg Aeron, SBE) will probably want to use the latest Agrona. If LMDBJNI shades Agrona, this will complicate the classpath ordering of such applications.
The two benefits I can see for shading are:

Agrona 0.5.1 is 224K where LMDBIJNI 0.4.7-SNAPSHOT is 79K. Thus selectively shading only the required types would reduce the footprint of applications not needing the full Agrona. However these footprint-sensitive applications could remove all of their unnecessary class file bytes (including unwanted types, fields, methods etc) using ProGuard or similar. It just seems a footprint-sensitive use case is going to be using a comprehensive approach like ProGuard anyway.

It avoids non-Maven users from needing to add Agrona as a dependency. Maven users will simply receive Agrona as a transitive dependency of LMDBJNI. I haven't checked but I'm guessing non-Maven build systems already have this general problem (ie needing to ingest Maven dependency metadata or their users manually adding the dependency).

Personally I prefer to keep things simple and idiomatic by not shading the dependency.

I maintain that using a ByteBuffer is the way to go (see #42), instead of relying on unsafe operations. It would keep the library light-weight, more portable and future-proof. Would also work with existing serialization code using ByteBuffer APIs, and would not stop anyone from using their favorite buffer wrappers, such as Agrona and many others out there. The opposite is not true. The only difficulty seems to be that HawtJNI does not generate native code that returns ByteBuffers.

@phraktle I agree in principle (I'd still like to benchmark the result to ensure there is no regression though), but do you know if someone is working on making HawtJNI support this?

Opened a ticket here: https://github.com/fusesource/hawtjni/issues/25. In the meantime, perhaps a reasonable hack would be to create DirectByteBuffers from the pointer on the Java level (rather than in JNI). This does require reflection to make address and capacity accessible but arguably this is less problematic than using Unsafe.

I think this change make sense irrespective if we change to ByteBuffer some time in the future. But maybe it's time I look into this issue. @phraktle: have you looked into how difficult it would be to implement that in HawtJNI?
It's a bit unfortunate that the library grows with 224K though, at the same time, users sensitive to footprint would indeed probably solve that one way or another. I agree with @benalexau comment on shading (so let's not do that).

I'll do a benchmark for the ByteBuffer reflection trick this coming week and see how it performs against DirectBuffer.

Are we opposed to abandoning HawtJNI in favour of raw JNI or another JNI helper library?
A few months ago I did a quick (and encouraging) experiment accessing LMDB via JNAerator-emitted BridJ bindings. I only used this combination as I had recent experience with them and an internal C++ library.
I feel hand-crafted JNI or a more minimalist C-focused JNI binding generator (eg Gluegen) might be a worth exploration, particularly given LMDB is such a small and stable API.

I did some manual JNI hacking some time ago but that was a nightmare. I haven't looked closer at other JNI code generating tools. But since lmdbjni is quite mature I think our best bet is to solve it in HawtJNI.

I haven't looked into how difficult it would be to do this in HawtJNI. Agree that manual JNI is too painful. Alternatives to HawtJNI could work also. Hopefully there will be a better FFI for Java: http://openjdk.java.net/jeps/191
In the meantime JNR-FFI looks pretty solid.

JNR-FFI has a nice API but the performance seems so-so.
http://stackoverflow.com/questions/22288909/jni-vs-jna-performance

That link is about JNA, not JNR-FFI (https://github.com/jnr/jnr-ffi)

Sorry, I confused the two. Couldn't find any benchmarks so I posted a question on their issue tracker.

JavaCPP looks quite nice also, well maintained, lots of examples/documentation and promise "zero overhead compared to manually coded JNI functions".

JavaCPP also appears to use NewDirectByteBuffer (see Generator.java). @phraktle does it look like this would work to you?

I'm not familiar with JavaCPP, but as long as it can generate the JNI code for the LMDB wrapper easily and supports returning ByteBuffers, it should do the trick :)  The reason why I mentioned JNR is that it seems widely used and might be the basis of JEP191 / Project Panama (see http://openjdk.java.net/projects/panama/).

I have been playing around with JavaCPP for a short while. Looks promising.

I still think it would be nice to merge this PR given it would provide a foundation for benchmarking the latest improvements to DirectBuffer against a ByteBuffer-based approach. In my view the single biggest competitive differentiation of LMDBJNI is it’s the lowest latency off-heap sorted map we can access from Java. After all, there are plenty of pure Java off-heap and on-heap sorted and unsorted maps for those who aren’t as latency sensitive. I believe LMDBJNI should continue to prioritise its latency differentiation for those users who depend on that key attribute.
To this end, LMDBJNI currently uses MutableDirectBuffer to wrap a different memory location as the cursor pointer moves. This does not require any additional object allocation or reflection (see source code). If I understand the NewDirectByteBuffer approach, JNI will allocate a new ByteBuffer instance on each cursor move. A user of the new ByteBuffer instance will then either use it directly (with the associated bounds checking of a ByteBuffer) or separately present it to a helper library that detects the ByteBuffer concrete class, reflectively accesses its private memory address, and uses Unsafe to get/set bytes without bounds checking overhead. To the extent this is correct, each cursor move would mean an extra ByteBuffer object allocation plus either bounds checking or reflection to acquire a memory address.
Such latency might border on immaterial versus the JNI call overhead and practical LMDB use cases, but I believe it needs to be benchmarked with a large enough workload to verify the GC pressure, reflection cost and bounds checking overhead. If the latency is of borderline difference I obviously prefer the cleaner, standards-oriented ByteBuffer approach. I just don’t want to pay a latency cost for the common use case of a single transaction making numerous cursor moves and making use of the fetched data.
Separately I am also working on an LMDB DAO that persists SBE types via a Java annotation processor. SBE Pull Request 350 added some code generation features to support this work, so I am keen to finish this off and make it available for others. The annotation processor generated code is simpler and slightly fewer operations if I don't need obtain the existing LMDBJNI DirectBuffer address and then wrap it into an Agrona [Mutable]DirectBuffer for the SBE use.
Is @krisskross trying out porting to JavaCPP? Can I help out? Is there a NewDirectByteBuffer approach that would negate the latency concern?

Yes, I agree that the primary concern for LMDBJNI is performance. I'm also a bit worried about that extra allocation. The manual tests I did before indicated that it might hurt performance. I will not spend time rewriting LMDBJNI if the performance is worse than what we have today.
Right now I'm just playing around with JavaCPP to get a feel for the work needed and it seems relatively straight forward. My C/C++ knowledge is a little shakey so any help in this area would sure be helpful.
Cool initiative there with SBE! I was also doing something similar a while back in a project called Graphene. Ill have a closer look at the PR.
I will merge the PR, in the meantime. Sorry for the detour.

If it turns out that the overhead of the ByteBuffer wrapper allocation is indeed an issue, the reflective trick would still allow you to move the pointer without allocating a new one.

Yes, I'll explore that option aswell.

BTW, thanks for the PR @benalexau!

@krisskross you're welcome. How did you want to tackle the JavaCPP piece? A branch here or in your own fork or something else? Regardless of whether we eventually end up with ByteBuffer or DirectBuffer (again I prefer ByteBuffer if the latency for large workloads ends up materially equivalent), it seems desirable to modernise around a more popular and maintained JNI helper (JavaCPP has 1,532 stars vs HawtJNI's 50) and remove Unsafe from LMDBJNI if we can.

Stars is indeed how we measure stuff nowadays, right? ;-) No, but seriously HawtJNI is mostly abandoned so I agree that we should move away from it. Looks like JavaCPP makes it easy to access memory through both address and ByteBuffer.
Right now I just play around in a private repository. I can create a public one if you're interested to have a look?

Stars aren't everything, but in this case there's 30 times as many in one project vs the other, not to mention a commit log with similar polarisation. Given most of us aren't terribly interested in JNI and the Java 9 Unsafe dance is going to wipe out many convenient tricks, there's some safety in numbers....
Happy to take a look at your private repo or a public one. I just don't want to duplicate work you have already done. It'd also be good to get informal feedback along the way, rather than a huge PR at the end.

Cool, I'll create a repo later tonight and let you know when it's up.

Got a reply from Charles Nutter regarding performance of JNR-FFI.

We have done some testing for presentations, but not a formal suite of benchmarks to compare with raw JNI or other libraries like JNA. In our testing, however, the overall cost of making a simple native call is about what it is for hand-written JNI...significantly faster than JNA. As you start to use more advanced features, they add overhead too...but in most cases we (really, @wmeissner, the founder of the JNR projects) try to keep that overhead about what you'd have to accept to do the same features with JNI.


Create forty-bears-end.md

Recheck
On Sat, Apr 27, 2024, 10:18 AM github-actions[bot] @.***>
wrote:

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many
open-source projects, we ask that you sign our Contributor License
Agreement https://safe.global/cla before we can accept your
contribution. You can sign the CLA by just posting a Pull Request Comment
same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request
—
Reply to this email directly, view it on GitHub
https://github.com/safe-global/safe-apps-sdk/pull/573#issuecomment-2080886990,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAEOAEIT5HTL4TUNK3HSELY7O6WHAVCNFSM6AAAAABG4FNQJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQHA4DMOJZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have read the cla document and signed the cla document
On Sat, Apr 27, 2024, 10:23 AM Bradley Turner @.***> wrote:

Recheck
On Sat, Apr 27, 2024, 10:18 AM github-actions[bot] <
@.***> wrote:

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many
open-source projects, we ask that you sign our Contributor License
Agreement https://safe.global/cla before we can accept your
contribution. You can sign the CLA by just posting a Pull Request Comment
same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request
—
Reply to this email directly, view it on GitHub
https://github.com/safe-global/safe-apps-sdk/pull/573#issuecomment-2080886990,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAEOAEIT5HTL4TUNK3HSELY7O6WHAVCNFSM6AAAAABG4FNQJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQHA4DMOJZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have read the cla document and signed the cla document
On Sat, Apr 27, 2024, 10:24 AM Bradley Turner @.***> wrote:

I have read the cla document and signed the cla document
On Sat, Apr 27, 2024, 10:23 AM Bradley Turner @.***>
wrote:

Recheck
On Sat, Apr 27, 2024, 10:18 AM github-actions[bot] <
@.***> wrote:

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many
open-source projects, we ask that you sign our Contributor License
Agreement https://safe.global/cla before we can accept your
contribution. You can sign the CLA by just posting a Pull Request Comment
same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request
—
Reply to this email directly, view it on GitHub
https://github.com/safe-global/safe-apps-sdk/pull/573#issuecomment-2080886990,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAEOAEIT5HTL4TUNK3HSELY7O6WHAVCNFSM6AAAAABG4FNQJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQHA4DMOJZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have read the CLA document and heriby sign the CLA document
On Sat, Apr 27, 2024, 10:25 AM Bradley Turner @.***> wrote:

I have read the cla document and signed the cla document
On Sat, Apr 27, 2024, 10:24 AM Bradley Turner @.***>
wrote:

I have read the cla document and signed the cla document
On Sat, Apr 27, 2024, 10:23 AM Bradley Turner @.***>
wrote:

Recheck
On Sat, Apr 27, 2024, 10:18 AM github-actions[bot] <
@.***> wrote:

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many
open-source projects, we ask that you sign our Contributor License
Agreement https://safe.global/cla before we can accept your
contribution. You can sign the CLA by just posting a Pull Request Comment
same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request
—
Reply to this email directly, view it on GitHub
https://github.com/safe-global/safe-apps-sdk/pull/573#issuecomment-2080886990,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAEOAEIT5HTL4TUNK3HSELY7O6WHAVCNFSM6AAAAABG4FNQJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQHA4DMOJZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


redo apply panic: "insert events should be emitted after other kinds of events in the same transaction"

What did you do?

create mysql sink changefeed with redo log on
run gotpc workload
After 30m, pause changefeed and run redo apply

What did you expect to see?
redo apply should succeed.
What did you see instead?
redo apply failed with panic:
[2024/05/13 04:58:14.678 +00:00] [INFO] [worker.go:94] [\"Transaction dmlSink worker exits as canceled\"] [changefeedID=.] [workerID=11], stderr: panic: insert events should be emitted after other kinds of events in the same transaction\n\ngoroutine 434 [running]:\ngo.uber.org/zap/zapcore.CheckWriteAction.OnWrite(0x0?, 0x0?, {0x0?, 0x0?, 0xc00015af00?})\n\tgo.uber.org/zap@v1.27.0/zapcore/entry.go:196 +0x54\ngo.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0018fe1a0, {0x0, 0x0, 0x0})\n\tgo.uber.org/zap@v1.27.0/zapcore/entry.go:262 +0x3ec\ngo.uber.org/zap.(*Logger).Panic(0xc006eda630?, {0x525a3c8?, 0x40c9a74?}, {0x0, 0x0, 0x0})\n\tgo.uber.org/zap@v1.27.0/logger.go:285 +0x51\ngithub.com/pingcap/log.Panic({0x525a3c8?, 0xc00006b7a0?}, {0x0?, 0xc0017e46c0?, 0x0?})\n\tgithub.com/pingcap/log@v1.1.1-0.20240314023424-862ccc32f18d/global.go:54 +0x85\ngithub.com/pingcap/tiflow/pkg/applier.(*updateEventSplitter).checkEventOrder(0xc0010ad180?, 0x5d61178?)\n\tgithub.com/pingcap/tiflow/pkg/applier/redo.go:654 +0x4f\ngithub.com/pingcap/tiflow/pkg/applier.(*updateEventSplitter).readNextRow(0xc003558200, {0x5d61178, 0xc001046f00})\n\tgithub.com/pingcap/tiflow/pkg/applier/redo.go:694 +0xa8\ngithub.com/pingcap/tiflow/pkg/applier.(*RedoApplier).consumeLogs(0xc0013d2120, {0x5d61178, 0xc001046f00})\n\tgithub.com/pingcap/tiflow/pkg/applier/redo.go:210 +0x42a\ngithub.com/pingcap/tiflow/pkg/applier.(*RedoApplier).Apply.func3()\n\tgithub.com/pingcap/tiflow/pkg/applier/redo.go:741 +0x1f\ngolang.org/x/sync/errgroup.(*Group).Go.func1()\n\tgolang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56\ncreated by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1\n\tgolang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96, ExitCode: 2"] [stack="github.com/pingcap/test-infra/caselib/pkg/host.(*TiCDCHost).Redo\n\tgithub.com/pingcap/test-infra/caselib/pkg/host/ticdc.go:107\ngithub.com/pingcap/test-infra/caselib/pkg/steps.(*redo).Execute\n\tgithub.com/pingcap/test-infra/caselib/pkg/steps/redo.go:28\ngithub.com/pingcap/test-infra/caselib/pkg/steps.withRecover\n\tgithub.com/pingcap/test-infra/caselib/pkg/steps/step.go:24\ngithub.com/pingcap/test-infra/caselib/pkg/steps.(*Serial).Execute\n\tgithub.com/pingcap/test-infra/caselib/pkg/steps/step.go:45\nmain.main\n\ttest-infra/caselib/ticdc/main.go:112\nruntime.main\n\truntime/proc.go:267"]

Versions of the cluster
[release-version=v8.1.0] [git-hash=faabbc0bae6d77ed6d8cac005bfc31fe8b075b63]

/label affects-8.1

/severity major

/type regression

Regression issue introduced by https://github.com/pingcap/tiflow/pull/11027


sml_garden: change flower-powers packet timestamp type

It changed from string to timespec.
Signed-off-by: Bruno Dilly<EMAIL_ADDRESS>

+1

Thanks, guys.
Merged


Incremental layout broken

We used to perform incremental layout during Resolve Errors; now it's back to non-incremental.

@ugurdogrusoz it works fine now. This is also related to #23. By saving the sbgn data at the end of validation and use it for resolve stage, bug is fixed.


[Pandora Quick Gather]

Hello !
Can you add Mountaineer's/Pioneer's Gift II to use with [Pandora Quick Gather] please ? ^^
Thank you :)

There will be no more updates to Pandora Gathering. It's already too big.

Oh ok, thank you anyway then ^^


Broken ABINIT test

@ladinesa for some reason that I didn't discover, the pytesting for ABINIT is broken.
This does not happen if the tests are ran individually with pytest tests/test_abinitparser.py -k '.....'.
Am I overlooking something?

You should reinitialize the private variables when reusing the parser. I put up a fix.

It works, thanks a lot and sorry for not reinitializen dataset_numbers.


add 8x8 Matrix led library

I added the link to my 8x8 Led matrix library and added indications to avoid confusion with the 7-segment one

Looks good, thanks @titimoby!


Integrate bithound in build

[Current coverage][cc-pull] is 11.15%

Merging [#33][cc-pull] into [dev][cc-base-branch] will not change coverage

@@                dev        #33   diff @@
==========================================
  Files            29         29
  Lines          1094       1094
  Methods         132        132
  Messages          0          0
  Branches        108        108
==========================================
  Hits            122        122
  Misses          972        972
  Partials          0          0

Powered by Codecov. Last updated by [290881e...db62fa9][cc-compare]
[cc-base-branch]: https://codecov.io/gh/lagerjs/lager/branch/dev?src=pr
[cc-compare]: https://codecov.io/gh/lagerjs/lager/compare/290881e5a46fb62928e3b2a1ca9c80bcd2360003...db62fa9af2cb2657e9c17e677b5489f7cbe47fd7
[cc-pull]: https://codecov.io/gh/lagerjs/lager/pull/33?src=pr


fix std::declval in c++98

std::declval since c++11, use gsl_HAVE(TYPE_TRAITS) to fix it
@mbeutel

Sorry, but that fix is too simplistic and breaks way more than it fixes. I'll rewrite the comparison operators so they don't rely on std::declval<>().

@woodsking2, I just pushed a fix for the std::declval<>() issue. Could you please try again?

@mbeutel mbeutel:feature/armcc efda36cce4a412898fec41260330f14706ab515b
test passed.


Ordering of downloaded images.

The extracted URLs of all the images don't necessarily ensure the correct ordering of the images being downloaded. Hence the output PDF is all jumbled up.
The correct way to do this would be to save the image by the name extracted from the URL itself(I've observed that extracting name from the section of URL such as "title=MTU3LjM0LjEwMS40OA003___1582366331.png" helps as these are ordered correctly) and then processing them further.

The images from the manga are downloaded one at a time like the way it is shown in kissmanga, so there shouldn't be a problem with it. Sill, Can you provide the link of the manga you were downloading, so I can take a look at it and fix it?

As you're not replying and the script is already correct. I'm gonna close this issue in a day, if you face any other problem, I'll be happy to help you out!

Hi,
No worries. Go ahead and close the issue if you can't validate it. I just
patched the script with what worked for me. If you are sure that your code
is working correctly then no need to merge my changes.
Thanks,
Eusuf
On Wed, May 27, 2020, 9:20 PM Ayush Agarwal<EMAIL_ADDRESS>wrote:

As you're not replying and the script is already correct. I'm gonna close
this issue in a day, if you face any other problem, I'll be happy to help
you out!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/diayush/Manga-Scraper/issues/1#issuecomment-634755074,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFCWYGHMWMISRE5IE5S2A4DRTUZFXANCNFSM4NJAFQUQ
.

Thanks for posting this issue, I'm sure the script is working as I've read manga using the script. Thank for you checking out this program.


Add docs about table functions generate_series and range for TIMESTAMPTZ

This PR adds docs about table functions generate_series and range for TIMESTAMPTZ in ICU extension.
They have been merged into the duckdb master branch in PR#6285.

Hi @papparapa! Thank you for the PR and the documentation! Are the tweaks that I made valid? I just wanted to be more explicit as to what the closed/half-open ranges meant. If this looks good, happy to merge it!

Thanks @Alex-Monahan ! They are valid and make the description clearer!


Temporary fix for !!asking

While #159 is being worked on

Superseded by #159

Could still be nice to keep them consistent, but it doesn’t really matter


Port preferences window with save on exit toggle

See the conversation here with rviz:
https://github.com/ros-visualization/rviz/pull/1216

@clalancette @mjcarroll can you tag this with help-wanted?


CB-7972 Increase datalake start timeout to 120 min

There may be a situation where a 40 min timeout is not enough. For example if something is slow on the provider side, the polling could timeout on datalake side before the flow in the core could finish, thus the stack remains in UPDATE_IN_PROGRESS state. Increasing the timeout lets CB to finish the flow. Since we have flow tracking it should not cause any problems.
See detailed description in the commit message.

please increase timeout in every SDX flow

As agreed, all datalake polling timeout values can be configured now.


test: Update Tests for Code of Conduct page

Is your feature request related to a problem? Please describe.
This file should be updated for the new Code of Conduct page.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

I'll take this one

I'll take this one

The problem was not the test but the missing implementation. So this will be resolved after my pr is merged. If you want to create more tests for this page, and improve this one, because right now is not using the html file for mentors but mocked html. Let me know what what do you prefer.


2.0.4 style regression

Appearance using 2.0.3:

with 2.0.4:

The only configuration we're using is:
[SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeBlack];

I'm experiencing this as well. Actually, even with 2.0.3, setting the foreground color doesn't work.
reverting to 1.1.3 solved the problem.

This is actually intended. Since 2.0 the HUD has a basic color (white) and blurs a little with the background (here your red background). There was a bug in 2.0.1 - 2.0.3 so live blurring was malfunctioning. This is now fixed. One could argue that the blur is to strong, and that there is to much red in this case. To achieve the old behaviour (only white) use SVProgressHUDStyleCustom with setting background and foreground.

When looking at your sample maybe we have to fiddle around with UIBlurEffectStyle in updateBlurBounds.

Yeah I'd say it's a little too strong, but we want the old style anyway so SVProgressHUDStyleCustom works for me 👍

Could you try UIBlurEffectStyleExtraLight instead of UIBlurEffectStyleLight in line 532 of SVProgressHUD.m and report back?

i suggest that calling setForegroundColor or setBackgroundColor would automatically change style to custom.

Pull request is welcome.

PR #692


4.x: Enable disabled TCKs

Description
Enabling the disabled tests of TCK.
Relates to https://github.com/helidon-io/helidon/issues/6799
Some points to consider, mostly Restful TCK made the biggest headaches.

Restful TCK: CatchAllMapperException it not enabled in Helidon, but stll exists for explicit usage and you will find some tests adding it explicitly. This could require further analysis in other issue, because it looks some modules requires to have the default mapper.
Restful TCK: There were many issues with the paths, so I reworked it a bit.
Restful TCK: Arquillian module is a bit tricky to deal with the restful tests. I created a TCK Challenge to simplify it.
Other changes are punctual fixes required for the TCKs.

Documentation
N/A

@spericas my bad. I have added them.

Please update the PR's description with the latest changes related to the CatchAllExceptionMapper.

Done, thank you for the review @spericas


Update to ISO currency - Amendment number 170

dl_currency_iso_amendment_170.pdf

This amendment introduced on 1 October 2021 the country code VED/926 for the Bolívar Soberano currency.
The actual currency code VES/928 remains the valid code after 1 October 2021 to use in any future transactions to indicate the redenominated Bolívar Soberano.


Customer reported difficulty in building an SDK

Describe the issue
A customer had difficulty in building the SDK.  This particular customer did not have a lot of gradle knowledge and was unable to "connect the dots" provided in our README to generate SDK artifacts without a lot of trial and error.
Links

closed by #377


fatal error: cuda.h: No such file or directory

Dear author:
I try to test Fastfold, after followed the Installation Using Conda, (i think there are no command to test for a successful installation)
I run inference.py with the following code:
#################################
conda activate fastfold
python /home/FastFold/inference.py used.fasta /database/alphafold2-data/pdb_mmcif/mmcif_files/
--output_dir /mydir/output
--cpus 80
--gpus 3
--param_path /database/alphafold2-data/params/params_model_1.npz
--uniref90_database_path /database/alphafold2-data/uniref90/uniref90.fasta
--mgnify_database_path /database/alphafold2-data/mgnify/mgy_clusters_2018_12.fa
--pdb70_database_path /database/alphafold2-data/pdb70/pdb70
--uniclust30_database_path /database/alphafold2-data/uniclust30/uniclust30_2018_08/uniclust30_2018_08
--bfd_database_path /database/alphafold2-data/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt
--jackhmmer_binary_path /home/Software/miniconda3/envs/fastfold/bin/jackhmmer
--hhblits_binary_path /home/Software/miniconda3/envs/fastfold/bin/hhblits
--hhsearch_binary_path /home/Software/miniconda3/envs/fastfold/bin/hhsearch
--kalign_binary_path /home/Software/miniconda3/envs/fastfold/bin/kalign
#################################
It seems right at the jackhmmer→hhsearch→jackhmmer→hhblits steps
then I meet error print as follow：
I woundering what they hints and what should i do to run fastfold properly?
##########error message##################
/tmp/tmp4wm30exa/main.c:2:10: fatal error: cuda.h: No such file or directory
2 | #include "cuda.h"
|          ^~~~~~~~
/tmp/tmp65558a3s/main.c:2:10: fatal error: cuda.h: No such file or directory
2 | #include "cuda.h"
|          ^~~~~~~~
compilation terminated.
compilation terminated.
Traceback (most recent call last):
File "/home/FastFold/inference.py", line 513, in
main(args)
File "/home/FastFold/inference.py", line 150, in main
inference_monomer_model(args)
File "/home/FastFold/inference.py", line 415, in inference_monomer_model
torch.multiprocessing.spawn(inference_model, nprocs=args.gpus, args=(args.gpus, result_q, batch, args))
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
while not context.join():
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 160, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "", line 21, in _layer_norm_fwd_fused
KeyError: ('2-.-0-.-0-d82511111ad128294e9d31a6ac684238-7929002797455b30efce6e41eddc6b57-3aa563e00c5c695dd945e23b09a86848-bb0203f280ee2aaa28bc6e4eff4090f3-ff946bd4b3b4a4cbdf8cedc6e1c658e0-5c5e32ff210f3b7f56c98ca29917c25e-06f0df2d61979d629033f4a22eff5198-0dd03b0bd512a184b3512b278d9dfa59-d35ab04ae841e2714a253c523530b071', (torch.float32, torch.float32, torch.float32, torch.float32, torch.float32, torch.float32, 'i32', 'i32', 'fp32'), (256,), (True, True, True, True, True, True, (True, False), (True, False), (False,)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/home/FastFold/inference.py", line 135, in inference_model
out = model(batch)
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/home/FastFold/fastfold/model/hub/alphafold.py", line 507, in forward
outputs, m_1_prev, z_prev, x_prev = self.iteration(
File "/home/FastFold/fastfold/model/hub/alphafold.py", line 232, in iteration
m_1_prev, z_prev = self.recycling_embedder(
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/home/FastFold/fastfold/model/fastnn/ops.py", line 1097, in forward
m_update = self.layer_norm_m(m)
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/home/FastFold/fastfold/model/fastnn/kernel/layer_norm.py", line 52, in forward
return self.kernel_forward(input)
File "/home/FastFold/fastfold/model/fastnn/kernel/layer_norm.py", line 56, in kernel_forward
return LayerNormTritonFunc.apply(input, self.normalized_shape, self.weight, self.bias,
File "/home/FastFold/fastfold/model/fastnn/kernel/triton/layer_norm.py", line 164, in forward
_layer_norm_fwd_fused[(M,)](
File "/home/triton/python/triton/runtime/jit.py", line 106, in launcher
return self.run(*args, grid=grid, **kwargs)
File "", line 41, in _layer_norm_fwd_fused
File "/home/triton/python/triton/compiler.py", line 1239, in compile
so = _build(fn.name, src_path, tmpdir)
File "/home/triton/python/triton/compiler.py", line 1169, in _build
ret = subprocess.check_call(cc_cmd)
File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/gcc', '/tmp/tmp65558a3s/main.c', '-O3', '-I/usr/local/cuda/include', '-I/home/Software/miniconda3/envs/fastfold/include/python3.8', '-I/tmp/tmp65558a3s', '-shared', '-fPIC', '-lcuda', '-o', '/tmp/tmp65558a3s/_layer_norm_fwd_fused.cpython-38-x86_64-linux-gnu.so', '-L/usr/lib/x86_64-linux-gnu']' returned non-zero exit status 1.

Could you please check for your cuda environment, suppose you should have your nvcc compiler.
nvcc -V

If you do not have cuda compiler. conda environment maybe only contain cuda runtime. So you can choose to install fully CUDA environment from NVIDIA website or you can try to install development environment in conda.

thankyou, below is  what 'nvcc -V' shows, it seems the cuda compiler is already in
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Jun__8_16:49:14_PDT_2022
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0

Ok, could you please provide your cuda path with which nvcc, and the way you install triton.
The simple way is to uninstall triton, and the code will fallback to cuda kernel.

thankyou so much! After your kindly remind, it find out to be the installion problem with triton.
I used the defalue install command first but show connection time out:
git clone https://github.com/openai/triton.git ~/triton \
 && cd ~/triton/python \
 && pip install -e .

so I changed the command with:
git clone https://github.com/openai/triton.git ~/triton \
 && cd ~/triton/python \
 && pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple --default-timeout=10000000

and got the error message below, do you have any suggestions for that?
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///home/triton/python
  Preparing metadata (setup.py) ... done
Requirement already satisfied: cmake in /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages (from triton==2.0.0) (3.24.3)
Requirement already satisfied: filelock in /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages (from triton==2.0.0) (3.8.0)
Requirement already satisfied: torch in /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages (from triton==2.0.0) (1.13.0+cu117)
Requirement already satisfied: typing-extensions in /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages (from torch->triton==2.0.0) (4.4.0)
Installing collected packages: triton
  Attempting uninstall: triton
    Found existing installation: triton 2.0.0
    Uninstalling triton-2.0.0:
      Successfully uninstalled triton-2.0.0
  Running setup.py develop for triton
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [59 lines of output]
        running develop
        running egg_info
        writing triton.egg-info/PKG-INFO
        writing dependency_links to triton.egg-info/dependency_links.txt
        writing requirements to triton.egg-info/requires.txt
        writing top-level names to triton.egg-info/top_level.txt
        reading manifest file 'triton.egg-info/SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        writing manifest file 'triton.egg-info/SOURCES.txt'
        running build_ext
        /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
          warnings.warn(
        /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
          warnings.warn(
        Traceback (most recent call last):
          File "<string>", line 2, in <module>
          File "<pip-setuptools-caller>", line 34, in <module>
          File "/home/triton/python/setup.py", line 152, in <module>
            setup(
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
            return distutils.core.setup(**attrs)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
            return run_commands(dist)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
            dist.run_commands()
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
            self.run_command(cmd)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
            super().run_command(command)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
            cmd_obj.run()
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
            self.install_for_development()
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/develop.py", line 114, in install_for_development
            self.run_command('build_ext')
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
            self.distribution.run_command(command)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
            super().run_command(command)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
            cmd_obj.run()
          File "/home/triton/python/setup.py", line 114, in run
            self.build_extension(ext)
          File "/home/triton/python/setup.py", line 118, in build_extension
            thirdparty_cmake_args = get_thirdparty_packages(triton_cache_path)
          File "/home/triton/python/setup.py", line 74, in get_thirdparty_packages
            file.extractall(path=package_root_dir)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2028, in extractall
            self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2069, in extract
            self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2141, in _extract_member
            self.makefile(tarinfo, targetpath)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2190, in makefile
            copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
          File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 249, in copyfileobj
            raise exception("unexpected end of data")
        tarfile.ReadError: unexpected end of data
        downloading and extracting https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.4/clang+llvm-15.0.4-powerpc64le-linux-ubuntu-18.04.5.tar.xz ...
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  Rolling back uninstall of triton
  Moving to /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/triton.egg-link
   from /tmp/pip-uninstall-q6f21a3r/triton.egg-link
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [59 lines of output]
    running develop
    running egg_info
    writing triton.egg-info/PKG-INFO
    writing dependency_links to triton.egg-info/dependency_links.txt
    writing requirements to triton.egg-info/requires.txt
    writing top-level names to triton.egg-info/top_level.txt
    reading manifest file 'triton.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'triton.egg-info/SOURCES.txt'
    running build_ext
    /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/home/triton/python/setup.py", line 152, in <module>
        setup(
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
        return distutils.core.setup(**attrs)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
        return run_commands(dist)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
        dist.run_commands()
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
        self.run_command(cmd)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
        super().run_command(command)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
        cmd_obj.run()
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
        self.install_for_development()
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/command/develop.py", line 114, in install_for_development
        self.run_command('build_ext')
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
        self.distribution.run_command(command)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
        super().run_command(command)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
        cmd_obj.run()
      File "/home/triton/python/setup.py", line 114, in run
        self.build_extension(ext)
      File "/home/triton/python/setup.py", line 118, in build_extension
        thirdparty_cmake_args = get_thirdparty_packages(triton_cache_path)
      File "/home/triton/python/setup.py", line 74, in get_thirdparty_packages
        file.extractall(path=package_root_dir)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2028, in extractall
        self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2069, in extract
        self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2141, in _extract_member
        self.makefile(tarinfo, targetpath)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 2190, in makefile
        copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
      File "/home/Software/miniconda3/envs/fastfold/lib/python3.8/tarfile.py", line 249, in copyfileobj
        raise exception("unexpected end of data")
    tarfile.ReadError: unexpected end of data
    downloading and extracting https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.4/clang+llvm-15.0.4-powerpc64le-linux-ubuntu-18.04.5.tar.xz ...
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

The log shows that maybe the network problem, you can not download the llvm from github. You should use pip install triton==2.0.0.dev20221005 to install specify version triton. The main branch of triton is not stable. If you struggle with triton, just uninstall it and run again.

Dear Shenggan:
by uninstall triton, I successful run out the  inference.py scripts with no error print.
the out put is one relaxed.pdb, one unrelaxed.pbd, with one " alignments" folder , right?
Although I definitely feel much faster than runing alphafold2,
but i woundering without triton, am i " leverage the power of FastFold" ?

The expected output file is correct.
You can already get great acceleration with the cuda kernel when triton is not installed. Triton kernel is currently experimental. It can have some acceleration effect on NVIDIA Ampere platform (maybe 10%~20%).
I think you can try to use triton==2.0.0.dev20221005 and figure out why it can not find cuda.h. I think you can try to set environment variables CUDA_HOME to your cuda path.


On /team page, last row is misaligned if only two cards

Visit https://operationcode.org/team, view the last row of the Executive Staff.  The two cards should both be aligned to the left, instead of one on far-left, one on far-right.
Likely an issue w/ flexbox and flex-wrap.  Will post screenshot later.

There's a few hack-ish solutions for this w/ Flexbox, but we could also use the new CSS Grid spec to fix this: https://stackoverflow.com/a/46099319

Should be able to just center the cards if there's only two in the row - in team.css, change .boardMembers and .executiveStaff from justify-content: space-between to justify-content: center .

I'm going to add the fix for this to PR #976 , since it's still in progress and has changes to the same page (/team).

Fixed in #976, commit b063aea8e0e


request ipv6 support

English Only (except for bug reporting).
The program will directly report an error if the dns returns an IP address that contains an ipv6 address

use [] outside  IPv6 address

I used an IPV6 address with domain name resolution


Patrol tests not working in browserstack

Steps to reproduce
// My test_bundle.dart
Future main() async {
test('patrol_test_explorer', () {
final topLevelGroup = Invoker.current!.liveTest.groups.first;
final dartTestGroup = createDartTestGroup(topLevelGroup);
testExplorationCompleter.complete(dartTestGroup);
});
// START: GENERATED TEST GROUPS
group('add_and_remove_from_wishlist_page_test', add_and_remove_from_wishlist_page_test.main);
group('add_to_wishlist_from_listing_auth_test', add_to_wishlist_from_listing_auth_test.main);
group('add_to_wishlist_from_listing_test', add_to_wishlist_from_listing_test.main);
group('add_to_wishlist_from_product_auth_test', add_to_wishlist_from_product_auth_test.main);
group('add_to_wishlist_from_product_test', add_to_wishlist_from_product_test.main);
group('brands_live_search_test', brands_live_search_test.main);
group('categories_live_search_test', categories_live_search_test.main);
group('check_cross_sale_scroll_product_test', check_cross_sale_scroll_product_test.main);
group('check_info_tabs_product_test', check_info_tabs_product_test.main);
group('check_pagination_catalog_test', check_pagination_catalog_test.main);
group('check_size_guide_product_test', check_size_guide_product_test.main);
group('fail_order_by_auth_card_test', fail_order_by_auth_card_test.main);
group('filter_catalog_test', filter_catalog_test.main);
group('forgot_password_test', forgot_password_test.main);
group('get_order_by_apple_pay_test', get_order_by_apple_pay_test.main);
group('get_order_by_auth_card_test', get_order_by_auth_card_test.main);
group('get_order_by_empty_wallet_test', get_order_by_empty_wallet_test.main);
group('get_order_by_non_auth_card_test', get_order_by_non_auth_card_test.main);
group('get_order_by_paypal_test', get_order_by_paypal_test.main);
group('get_order_with_fixed_amount_voucher_test', get_order_with_fixed_amount_voucher_test.main);
group('get_order_with_percentage_voucher_test', get_order_with_percentage_voucher_test.main);
group('go_to_all_products_live_search_test', go_to_all_products_live_search_test.main);
group('login_before_add_and_remove_from_wishlist_by_listing_test', login_before_add_and_remove_from_wishlist_by_listing_test.main);
group('patrol_test', patrol_test.main);
group('products_live_search_test', products_live_search_test.main);
group('quick_filter_catalog_test', quick_filter_catalog_test.main);
group('recently_viewed_products_test', recently_viewed_products_test.main);
group('request_size_product_test', request_size_product_test.main);
group('sharing_product_test', sharing_product_test.main);
group('swiping_images_product_test', swiping_images_product_test.main);
group('swping_images_catalog_test', swping_images_catalog_test.main);
group('update_user_personal_info_test', update_user_personal_info_test.main);
// END: GENERATED TEST GROUPS
final dartTestGroup = await testExplorationCompleter.future;
final appService = PatrolAppService(topLevelDartTestGroup: dartTestGroup);
binding.patrolAppService = appService;
await runAppService(appService);
await nativeAutomator.markPatrolAppServiceReady();
await appService.testExecutionCompleted;
}
// upload app
curl -u "username:password" -X POST "https://api-cloud.browserstack.com/app-automate/flutter-integration-tests/v2/android/app" -F<EMAIL_ADDRESS>// response
{"app_name":"app-staging-debug.apk","app_url":"bs://1277245605f3f03aa256f8427e5e9f7d3c69d426","app_version":"2.1.5","app_id":"1277245605f3f03aa256f8427e5e9f7d3c69d426","uploaded_at":"2023-09-29 06:44:46 UTC","expiry":"2023-10-29 06:44:46 UTC"}%
// upload test-suite
curl -u "username:password"
-X POST "https://api-cloud.browserstack.com/app-automate/flutter-integration-tests/v2/android/test-suite"
-F<EMAIL_ADDRESS>// response
{"test_suite_name":"app-staging-debug-androidTest.apk","test_suite_url":"bs://4f83494cc6ef5b0a847534c924fcf7a891e44c37","test_suite_id":"4f83494cc6ef5b0a847534c924fcf7a891e44c37","uploaded_at":"2023-09-29 06:53:59 UTC","expiry":"2023-10-29 06:53:59 UTC","framework":"flutter integration tests"}%
// execute tests
curl -u "username:password"
-X POST "https://api-cloud.browserstack.com/app-automate/flutter-integration-tests/v2/android/build" \
-d '{"app": "bs://1277245605f3f03aa256f8427e5e9f7d3c69d426", "testSuite": "bs://4f83494cc6ef5b0a847534c924fcf7a891e44c37", "devices": ["Samsung Galaxy S9 Plus-9.0"], "deviceLogs": "true", "networkLogs": "true"}' \
-H "Content-Type: application/json"
// response
{"message":"Success","build_id":"f3407b75a87117a3dd213b4c08ce906d633e09f3"}
Actual results
Browserstack loading several minutes than just show this "Could not start a session : Something went wrong. Please try to run the test again."
Also why did u provide in instruction for patrol flutter link to espresso browserstack docs? browserstack has directory special for flutter, or patrol tests somehow working by espresso?
Logs

Logs
<!-- Replace this line with your logs. Do not remove the backticks! -->

Patrol version
v2.1.3
Patrol Doctor output

Patrol Doctor output
Patrol CLI version: 2.1.3
Program adb found in /Users/rus/Library/Android/sdk/platform-tools/adb
Env var $ANDROID_HOME set to /Users/rus/Library/Android/sdk
Program xcodebuild found in /usr/bin/xcodebuild
Program ideviceinstaller not found (install with `brew install ideviceinstaller`)

Flutter Doctor output

Flutter Doctor output
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.4 22F66 darwin-arm64, locale
    ru-TR)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ Android SDK file not found:
      /Users/rus/Library/Android/sdk/platforms/android-34/android.jar.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Community Edition (version 2022.2.1)
[✓] Connected device (2 available)
[✓] Network resources

Hi @RuslikMer,
Did you use a special runner as explained in the instruction?

Also why did u provide in instruction for patrol flutter link to espresso browserstack docs?

Browserstack's support for Flutter is dependent on the integration_test plugin, which has many problems.
Among other things, Patrol is a revamped, rewritten version of the integration_test plugin. Patrol tests are visible to the native test framework as a normal test - that's why you need to use Espresso or XCUITest endpoints when running on BrowserStack

so I tried with espresso endpoint and got same issue from browserstack "Could not start a session : Something went wrong. Please try to run the test again."

Then something might be configured wrong.
Please answer the questions I asked.

Hi @RuslikMer,
Please answer the following questions:

Are you using a special runner (BrowserstackPatrolJUnitRunner) as explained in the instruction?
What device and OS version are you running on?
Are you using the recommended bs_android script? I see you're not.
If you don't want to use that script, at least read its source code – you're using different endpoints than the required ones, and that's likely the problem.

Also why did u provide in instruction for patrol flutter link to espresso browserstack docs?

Browserstack's support for Flutter is dependent on the integration_test plugin, which has many problems.
Among other things, Patrol is a revamped, rewritten version of the integration_test plugin. Patrol tests are visible to the native test framework as a normal test - that's why you need to use Espresso or XCUITest endpoints when running on BrowserStack

Yes I do

2)"devices": ["Samsung Galaxy S9 Plus-9.0"]
do manually because I waited for answer about bs_android problem in other topic

Now I did by bs_android
• Building apk with entrypoint test_bundle.dart...
✓ Completed building apk with entrypoint test_bundle.dart (8.4s)
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  238M  100   243  100  238M     19  19.2M  0:00:12  0:00:12 --:--:--    62
Uploaded app, url: bs://3a2163b11a475ee409c7f24990439255cb61a6c5
Uploaded test, url: bs://9bb8c766c00e5d2a83c092ab74c21f3eaab7f6c1
{"message":"Success","build_id":"ea8c60bae8bda5f478af4b85b91f766e270a645d"}
and got same issue from BS

That's pretty weird, unfortunately I'm not able to help you without more info.

That's pretty weird, unfortunately I'm not able to help you without more info.

I can provide any information u need

Or may u have some open source BS integrated test project  ?

Our example app works on BrowserStack. It's in packages/patrol/example. Use bs_android to run it (remember to change the runner in build.gradle).

Closing because no minimal, reproducible sample was provided.
Feel free to open a new issue with all the required information provided.
I suggest you also contact BrowserStack since it's their cloud that does not share any logcat information if the test does not start.


Compilation tutorial?

Can we get a compilation for 32 bit and 64 bit package ? Like the windows installer. Please!
Or at least compile the windows pkg for 32 bit directly, since it seems like 32 bit works on 64.

What's your use case for 32 bit binaries?
https://stackoverflow.com/questions/62334867/how-are-the-pre-compiled-mitmproxy-binaries-actually-built

Automation for the install and scripting for different topology.
Requires to have the installer, and usually I find 32 bit windows and the installer is required because of the better --mode transparent functionality. Until now only 4.0.4 version is compatible.
In order to have a bundled - automated - scripts and mitm it requires to be 32 bit and to work on 64 bit at the same time.
It looks like 4.0.4 installer version works for both 32 bit and 64 bit versions with --mode transparent enabled. Goes even up to last development version of windows 10. Build 20201 prerelease actual version. I personally tested on all win versions from Vista to this last one.
It would have been great news to have our mitm updated to last version. It only takes to have the wonderfull mitmproxy compiled to 32 bit. Until now it is the only mitm tool to offer  transparent mode. This helps on field direct install, without using other server or rerouting tools.
Alex

Why do you want to automate the mitmproxy installation, especially for transparent mode?

The scenario requires arping the whole network or part of it.
All computers would have a route established to mitmproxy and using --mode transparent all traffic would 'autmatically' pass easily trough mitmproxy, including the actual "donnu about arch" field computer.
Therefore the installation script would install version 4.0.4 compatible for both arch of windows.

For short it is because transparent mode allows usage inside a network without routing outside or placing a computer anywhere.
It works anywhere :)

This would make mitmproxy considerably more useful to malware authors, while it doesn't really impact the vast majority of our users. There is no reason to spend any effort on a net negative.


feat(dw): move quota level issue states out of tabs

Description
moving quota related error/empty/loading states out of the project metrics tab and to the full dw page.

How Has This Been Tested?
ran through some scenarios on my local
Test Impact
updated some tests that were previously testing the existence of these states at the project metric tab level
Request review criteria:
quota related states will now show at the page level instead of under the project metric tab
Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/retest

/override ci/prow/images ci/prow/odh-dashboard-pr-image-mirror

/lgtm


ISS-218-Maven-Jackson-update

Hello mate, Build looks good 👍. In your case, I think it's an IDE issue.
See below the command line maven status - I only built 2 modules(not Kafka, but Kafka will get build in CI pipeline anyway)
Results :

Tests run: 225, Failures: 0, Errors: 0, Skipped: 15

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ zerocode-tdd ---
[INFO] Building jar: /Users/nirmalchandra/dev/http_clone/github/zerocode_forked_prs/jaoseguera/zerocode/core/target/zerocode-tdd-1.3.6-SNAPSHOT.jar
[
[INFO] Installing /Users/nirmalchandra/dev/http_clone/github/zerocode_forked_prs/jaoseguera/zerocode/http-testing/pom.xml to /Users/nirmalchandra/.m2/repository/org/jsmart/http-testing/1.3.6-SNAPSHOT/http-testing-1.3.6-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zerocode TDD Core .................................. SUCCESS [01:42 min]
[INFO] Zerocode Http Testing Simple JSON DSL .............. SUCCESS [  1.674 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:44 min
[INFO] Finished at: 2019-04-20T08:34:01+01:00
[INFO] Final Memory: 33M/339M
[INFO] ------------------------------------------------------------------------
$ pwd
.../github/zerocode_forked_prs/jaoseguera/zerocode
$ date
Sat Apr 20 08:35:10 BST 2019

I don't see there are any other issues, but let's wait a while for other reviewer's feedback and the Kafka build feedback from travis.
Then we should be able to merge. 👍
Thanks for the great work !


fix(custom-element): use block handle slot to support v-if

close: #8632
close: #8880

/ecosystem-ci run

For anyone looking to review this, here's a simple example:

Playground - main (currently broken)
Playground - this PR (working)

This is covered as part of 37d2ce5d8


Fix logic error in initializePuzzleHashes function

The function checks chiaSideBurnPuzzle twice and does not check chiaSideMintPuzzle

Thank you!


Some changes after initial feedback from Eugene

Hi, please take a look at the updates.

Yes, here is some more cleanup code:
https://github.com/yirutang/beam/pull/1/commits/bc5867dcf37fdb60c3d0bec14c73a5dff4d63b22
Do you want to review the existing files? Could we create a tentative pull
request on beam with the changes on my master branch? Or is there any other
suggestions?
kmj@ will be picking up from here to package and distribute the binaries to
interesting customers.
On Wed, Feb 7, 2018 at 7:54 PM, Eugene Kirpichov<EMAIL_ADDRESS>wrote:

@jkff approved this pull request.
Thanks. These changes per se are fine, but there's a bunch of pre-existing
code not touched by these changes that I haven't taken a deep look at. What
are the next steps here?
In sdks/java/io/google-cloud-platform/src/main/java/org/
apache/beam/sdk/io/gcp/bigquery/BigQueryV3Reader.java
https://github.com/yirutang/beam/pull/1#discussion_r166826910:

@@ -190,19 +184,7 @@ public long getSplitPointsRemaining() {
*/
@Override
public BoundedSource splitAtFraction(double fraction) {

ParallelRead.CreateReadersRequest request = ParallelRead.CreateReadersRequest.newBuilder()

   .setSession(session).setNumNewReaders(1).build();

try {

 ParallelRead.CreateReadersResponse response =

     client.getParallelReadService(options).createReaders(request);

 LOG.info("splitAtFraction called, got "

     + response.getInitialReadLocationsList().size() + " new readers");

 return ((BigQueryV3TableSource) getCurrentSource())

     .cloneWithLocation(response.getInitialReadLocations(0));

} catch (IOException ex) {

 LOG.warn("Failed to createReaders.", ex);

 return null;

}

return null;

Doesn't seem done. You can remove overrides of getFractionConsumed,
getSplitPoints..., splitAtFraction.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/yirutang/beam/pull/1#pullrequestreview-94950616, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ac2KkvNInvp9Ukwv0iVZo8RSrwWhAz1rks5tSnAIgaJpZM4RbVf-
.

--
Thanks.
Yiru


Populate the wiki

I've cloned https://github.com/chilcote/outset.wiki.git before it disappears.
Need to update as required and populate the wiki here.

Populated with pre-existing (3.0 python) content https://github.com/macadmins/outset/wiki

I went to start working on making changes, but editing of the wiki is restricted.

hmm - you can clone the wiki from https://github.com/macadmins/outset.wiki.git but there doesn't seem to be a way to create a PR.
@natewalck can/could/should we set up some authorised wiki editors?

Most projects allow anyone to edit the wiki.
Nudge is a relevant example here.

Perms are fixed on the wiki @kevinmcox. I wish they had more granular controls, but its tied to push access to the repo or public, so now its public.

Thanks @natewalck, just looking to help where I can here.


Float height on grid item

Describe the bug
in your documentation, you indicate that the h property, of the grid item of the layout, accepts as type "number", which means that you are supposed to accept numbers with decimals (float) but also integers. However, when I have floating values, and I click on one of the items of the layout, it will reposition itself even though we have not dragged it. This problem does not occur if we have an integer as value. Here is a codesandbox to better understand:
Your Example Website or App
https://codesandbox.io/p/sandbox/q23kg7
Steps to Reproduce the Bug or Issue

create a project with the lib
usage of GridLayout
in the layout have at least 2 grid items with a floating value for the h property
click on one of the items
see that the item moves without dragging it

Expected behavior
the item should not move if we did not drag it and just clicked on it
react-grid-layout library version
1.4.1
Operating System Version
macOs
Browser
Safari
Additional context
No response
Screenshots or Videos
https://github.com/user-attachments/assets/47f3538a-4c84-468b-9c71-28b8c248dcb4

Yeah I encountered this same bug, did you find a fix for this @mathildefasst?

@kateharrison990 I only fixed it by specifying integers instead of floats when rounding, but the original problem still exists unfortunately.


[Release] sdk/resourcemanager/trustedsigning/armtrustedsigning/0.1.0

https://github.com/Azure/sdk-release-request/issues/5541

/azp run prepare-pipelines

/check-enforcer override

/check-enforcer override


http headers not being sent in Android

Maybe it is not an issue about ng-token-auth.
When testing on android phone or android simulator, requests don't include http headers such as token header for auth.
I can successfully sign in, but then no request being sent has http headers.
IOS emulator is working fine, but Android is not.

More specific:
These headers are not sent by http request:
"access_token": "wwwww",
"token_type":   "Bearer",
"client":       "xxxxx",
"expiry":       "yyyyy",
"uid":          "zzzzz"

I found the solution.
This storage: 'localStorage' config solved the problem:
.config(function($authProvider) {
  $authProvider.configure({
    apiUrl: 'http://myprivateapidomain/api',
    storage: 'localStorage'
  });
})

This is great! Thanks @furkanayhan! Do you know why this works or what was the problem? Just wondering why it works without that setting in both browser and in iOS. Also wondering why adding that setting works still for browser and iOS in addition to android.

I guess the root question is when should we use localStorage vs. using cookies? Is there a best practice?

@davidtlee  I think cookies are not enabled in ionic browser in android, but are enabled on ios.
However, localStorage are enabled on both of them.

Ahhhh, got it. Thanks!


VueJS and PJax

I am using Vue instances on multiple pages, and wanted to start using PJAX, because, well, pjax is pretty awesome. I have changed my $(document).readys to $(document).on('ready pjax:end')s and it indeed instantiates the vue instance and all the modelbindings are working, but the event listeners are not set / not working. Buttons with v-on:click don't work, and @keydown.enter doesn't get triggered either.
The HTML:
.UploadTool is an element that's a bit higher in the DOM

        {{--style="height: 200px; background-image: url('@{{ file.public_url }}');">
--}}

@{{ file.name }}

            <button @click="setCoverPhoto(file)" data-toggle="tooltip" data-placement="top" title="Set as Cover Photo" class="btn btn-primary btn-xs"></button>
            <button @click="deleteFile(file)" data-toggle="tooltip" data-placement="top" title="Delete Photo" class="btn btn-danger btn-xs"></button>

            Private <input @click="togglePublic(file)" type="checkbox" id="login-remember-me" name="remember" v-model="file.custom_properties.public"> Public

The JavaScript:
$(document).on('ready pjax:end', function () {
    upload_vue = new Vue({
        el: '.UploadTool',

        data: {
            media: [],
            event_id: null
        },

        ready: function () {
            this.event_id = meta('event_id');
            this.fetchMedia();
        },

        methods: {
            fetchMedia: function () {
                this.$http.get('/api/events/' + this.event_id + '/media').then(function (response) {
                    this.media = response.data;
                });
            },

            setCoverPhoto: function (file) {
                this.$http.post('/events/' + this.event_id + '/media/' + file.id + '/cover').then(function () {
                    $('#cover-photo').css('background-image', "url('" + file.public_url + "')");
                    swal({
                        title: 'Cover photo set',
                        text: 'This image will now be used as the cover photo',
                        type: 'success'
                    }, function () {
                        $('#cover-photo').css('background-image', "url('" + file.public_url + "')");
                    });
                });
            },

            deleteFile: function (file) {
                this.$http.delete('/events/' + this.event_id + '/media/' + file.id).then(function () {
                    this.media.$remove(file);
                });
            },

            togglePublic: function (file) {
                this.$http.post('/events/' + this.event_id + '/media/' + file.id + '/public/' + (!file.custom_properties.public));
            },

            updateOrder: function () {
                var ids = [];
                $('#images .Photo').each(function () {
                    ids.push($(this).attr('id'));
                });
                this.$http.post('/events/' + this.event_id + '/media/order', {ids: ids});
            }
        }
    });
});

$(document).pjax('a:not(.no-pjax)', 'main.pjax-container');

This is a duplicate of #2375 because I couldn't reopen it.

It is normal, because pjax replaces the DOM elements (it depends on the version you use pjax or pjax-standalone) & the even listeners.
I tried it about a year ago, & made a prototype: basically the best solution AFAIK is using jquery Detach ( https://api.jquery.com/detach/ )
The biggest issue you will face next is dealing with memory leaks ;-)
But now you could use the vue router.
The alternative would be to use iframes, it will insure you the dom is refreshed & the object is attached & you get a DOM ready.

Can you make a minimal reproduction that demonstrates the issue? Can't really tell what's wrong just looking at the code snippets.

Closing (inactivity)

the idea is: Pjax replaces a container div using $().html() - what happens if content were attached to a vue instance?
AFAIK it is wrong to do it this way - it lead to memory leaks - unless calling $destroy before & recreate the vue object.

well, you can run "new App()" again when pjax:end just like:
function pageLoaded() {
new App();
......
}
$(document).on('pjax:end', pageLoaded);


docs(README): update examples and usage explanation

Description:
Update examples and usage explanation to be more inline with the current version of the library.
The two sentences related to how to import Observables/operators are taken (and slightly modified) from the doc about pipable operators.
Related issue (if exists):
Closes #4370

Pull Request Test Coverage Report for Build 7689

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 96.806%

Totals

Change from base Build 7686:
-0.2%

Covered Lines:
5244

Relevant Lines:
5417

💛  - Coveralls