j2objc <IP_ADDRESS> and Xcode 7 not yet supported - "ld: library not found for -lj2objc_main"

I've searched a bit and found nothing that seems similar. I've also checked my build environment vs the docs + FAQ and haven't found anything out of line. I'm new to j2objc and was trying to get a minimal build environment running. I followed the recommendations for build environment setup from the j2objc docs.
j2objc version was a pull/build from master from today (9/26/2015), but I tried with the release version ".9.8.2" with the same results.
Sorry for the image of my build.gradle, it kept failing when I had it converted to a .txt, etc. Very odd.
The error is as follows:
:java-core:x86_64DebugJava-core-j2objcStaticLibrary
:java-core:linkDebugTestJ2objcExecutable
ld: library not found for -lj2objc_main
clang: error: linker command failed with exit code 1 (use -v to see invocation)
:java-core:linkDebugTestJ2objcExecutable FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':java-core:linkDebugTestJ2objcExecutable'.

A build operation failed.
Linker failed while linking testJ2objc.
See the complete log at: file:///Users/a/parati/java-core/build/tmp/linkDebugTestJ2objcExecutable/output.txt

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

BUILD FAILED

What are the full errors in:
file:///Users/a/parati/java-core/build/tmp/linkDebugTestJ2objcExecutable/output.txt ?

I can't attach txt files so I'll have to plop them here, but it says essentially the same thing:

See file:///Users/a/parati/java-core/build/tmp/linkDebugTestJ2objcExecutable/output.txt for all output for linkDebugTestJ2objcExecutable.
linking testJ2objc failed.
ld: library not found for -lj2objc_main
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Finished linkDebugTestJ2objcExecutable, see full log file:///Users/a/parati/java-core/build/tmp/linkDebugTestJ2objcExecutable/output.txt.

Also in the directory is the "options.txt" that has this:

-o
/Users/a/parati/java-core/build/binaries/testJ2objcExecutable/debug/testJ2objc
/Users/a/parati/java-core/build/objs/testJ2objcExecutable/debug/testJ2objcObjc/551bb472kewcfrm35cmxbgh2t/EmptyTest.o
/Users/a/parati/java-core/build/objs/testJ2objcExecutable/debug/testJ2objcObjc/e8di3ks3a2jrkijz9l5wqcpvs/BaseTest.o
/Users/a/parati/java-core/build/binaries/java-core-j2objcStaticLibrary/x86_64Debug/libjava-core-j2objc.a
-ljunit
-lmockito
-ObjC
-lguava
-lj2objc_main
-ljavax_inject
-ljre_emul
-ljsr305
-L/Users/a/install/j2objc-master/dist/lib
-lc++
-licucore
-lz
-framework
foundation
-framework
Security
-framework
ExceptionHandling

What is the output of
ls -al /Users/a/install/j2objc-master/dist/lib
?

@andrewfunston : please do answer the above, but I think I know the problem.
j2objc_main was moved into the Mac-only builds with <IP_ADDRESS> to support Xcode 7.  The plugin only supports j2objc <IP_ADDRESS> and Xcode 6 at the moment.  I've updated the title to reflect this.

This is going to be a non-trivial amount of work.  A lot of our tasks assume iOS and OSX use the same files.
Let's discuss on Wednesday @brunobowden

@andrewfunston - if you can use Xcode 6 / j2objc <IP_ADDRESS> you should try doing so; this will take a while to get working on Xcode 7 / j2objc <IP_ADDRESS>.

Sorry for the delay, as for the first request:
as-MacBook-Pro:~ a$ ls -al /Users/a/install/j2objc-master/dist/lib/
total 684872
drwxr-xr-x  21 a  staff        714 Sep 26 17:02 .
drwxr-xr-x   9 a  staff        306 Sep 26 17:02 ..
-rw-r--r--   1 a  staff   11108331 Sep 26 17:02 cycle_finder.jar
-rw-r--r--   1 a  staff      45024 Sep 26 16:33 hamcrest-core-1.3.jar
-rw-r--r--   1 a  staff   11084601 Sep 26 16:33 j2objc.jar
-rw-r--r--   1 a  staff       6540 Sep 26 16:28 j2objc_annotations.jar
-rw-r--r--   1 a  staff    1947757 Sep 26 16:54 j2objc_guava.jar
-rw-r--r--   1 a  staff     245039 Sep 26 16:33 j2objc_junit.jar
-rw-r--r--   1 a  staff       2497 Sep 26 16:33 javax.inject-1.jar
-rw-r--r--   1 a  staff    3186072 Sep 26 16:44 jre_emul-src.jar
-rw-r--r--   1 a  staff    2353625 Sep 26 16:33 jre_emul.jar
-rw-r--r--   1 a  staff      33031 Sep 26 16:33 jsr305-3.0.0.jar
-rw-r--r--   1 a  staff   93376320 Sep 26 16:54 libguava.a
-rw-r--r--   1 a  staff     341648 Sep 26 16:48 libjavax_inject.a
-rw-r--r--   1 a  staff  126732112 Sep 26 16:42 libjre_emul.a
-rw-r--r--   1 a  staff   65256752 Sep 26 16:42 libjre_emul_core.a
-rw-r--r--   1 a  staff    1986848 Sep 26 16:47 libjsr305.a
-rw-r--r--   1 a  staff   14253872 Sep 26 16:47 libjunit.a
-rw-r--r--   1 a  staff   17165496 Sep 26 17:00 libmockito.a
drwxr-xr-x  10 a  staff        340 Sep 26 17:01 macosx
-rw-r--r--   1 a  staff    1500011 Sep 26 16:33 mockito-core-1.9.5.jar
Right now I only have it generating the sources which works well enough for my exploratory purposes. (i.e. setting j2objc.translateOnlyMode=true). Thanks for your help.

Hello @andrewfunston  - I believe this is fixed.  Would you like to be a guinea pig for us? =)
Please ensure you have Xcode 7 and j2objc <IP_ADDRESS>.1.  And please build the plugin directly from head (see https://github.com/j2objc-contrib/j2objc-gradle/blob/master/CONTRIBUTING.md sections "Local Development" and "Testing on your own Gradle project").  Let us know if you have any difficulties.

cc @kirkvogen

Verified against my own internal app that Xcode 7 support is now working for iOS device, iOS support, and OSX desktop apps.

Hi @advayDev1 , thanks for the work on XCode 7 version support!
Is there anythibng we should change in our configuration to be able to use it ?
With those changes all the gradle tasks now work but I can't build on XCode.
It ignores the library :
ld: warning: ignoring file /Users/mbritto/Documents/Dev2A/Rainbow/branches/mobile/android-ios-cocoapods/rainbowapi/build/j2objcOutputs/lib/iosDebug/librainbowapi-j2objc.a, missing required architecture i386 in file /Users/mbritto/Documents/Dev2A/Rainbow/branches/mobile/android-ios-cocoapods/rainbowapi/build/j2objcOutputs/lib/iosDebug/librainbowapi-j2objc.a (3 slices)

And as a result I have link errors for every j2objc class I use in the project.

maxbritto in your build.gradle's j2objcConfig section please add:
j2objcConfig {
supportedArchs += ['ios_i386']
}

I'm intrigued as to what OS versions you are building for that i386 is relevant (we thought it was just for 32-bit simulators so removed it from the default set).  This is unrelated to Xcode 7 though.

It was for the iPhone 5 simulator. I did some more tests and without adding the modifications to the gradle file I can build for a real iPhone or for the simulators starting at iPhone 5S. The iPhone 4S and iPhone 5 simulator have the link error.

To be clear:

without the supportedArchs change it works on real iphones and iphone 5s and beyond
with the supportedArchs change it works also on the simulator for 4s and the simulator for 5
did i read that right?

So @maxbritto everything is working for you overall?

That is exactly that and yes, everything is working for me know, thanks for your help :)

np - @maxbritto thanks for being a guinea pig.

I built it and tried out the new version locally. I can build my project with the new plugin version, but in Xcode I get linker errors saying that it cannot find my classes that were translated from Java. Also, if I add the -mios-version-min=8.0 as extraObjcCompilerArgs, I get additional build errors (error: 'CSSM_SAMPLE' is unavailable: not available on iOS).

Apologies: I'm afk until Wednesday, I'll run through it when I get back
into the office then. Thanks for the update, that was fast!
On Mon, Oct 5, 2015, 2:08 AM Advay Mengle<EMAIL_ADDRESS>wrote:

np - @maxbritto https://github.com/maxbritto thanks for being a guinea
pig.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/466#issuecomment-145469896
.

@kirkvogen, can you please paste the exact Xcode errors you get?
Does your linker log have anything like:
ld: warning: ignoring file /Users/mbritto/Documents/Dev2A/Rainbow/branches/mobile/android-ios-cocoapods/rainbowapi/build/j2objcOutputs/lib/iosDebug/librainbowapi-j2objc.a,
missing required architecture i386 in file /Users/mbritto/Documents/Dev2A/Rainbow/branches/mobile/android-ios-cocoapods/rainbowapi/build/j2objcOutputs/lib/iosDebug/librainbowapi-j2objc.a
(3 slices)

If so add to the top of your build.gradle's j2objcConfig section: supportedArchs += ['ios_i386']
Also Instead of using -mios-version-min=8.0; you can now add to the top of your j2objcConfig: minIosVersion = '8.0'

@advayDev1 Hey, success! I did need to add the supportedArchs bit to resolve the linker errors. And, the minIosVersion setting resolved the linker warnings. Thanks!

@advayDev1 Also, I can now run the build task and run J2ObjC-translated unit tests. Previously, I was getting build errors with the earlier version of the plugin when I tried running the test. It works now!

Thanks @kirkvogen !  Good to know everything's working for you.  If any of you on this thread who have the basics working and need to try some of the more advanced stuff (multiple projects, custom external libraries, etc.), check out #490 and please provide any feedback directly on that PR regarding things that are unclear.
@brunobowden - any luck getting your project working again with Xcode 7?

It's working like a charm for me on Xcode 7. I've got it working for the
follwoing:

j2objc unit tests
iPhone 6 Plus (64 bit)
iPhone 6 Plus Simulator (x86_64)
iPhone 5 simulator (i386 through fix from the FAQ).

I was expecting the simulators to fail since it wasn't linking to the osx
library versions. What else needs to be fixed at this point?
On Mon, Oct 5, 2015 at 8:37 PM Advay Mengle<EMAIL_ADDRESS>wrote:

Thanks @kirkvogen https://github.com/kirkvogen ! Good to know
everything's working for you. If any of you on this thread who have the
basics working and need to try some of the more advanced stuff (multiple
projects, custom external libraries, etc.), check out #490
https://github.com/j2objc-contrib/j2objc-gradle/pull/490 and please
provide any feedback directly on that PR regarding things that are unclear.
@brunobowden https://github.com/brunobowden - any luck getting your
project working again with Xcode 7?
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/466#issuecomment-145733914
.

No the simulators need the appropriate architecture on iOS sysroot, not the OSX sysroot.  I think the commit got that right.  The only thing left for Xcode 7 is your bug #488  - which is for OSX based unit tests and apps, not for simulators

I have experienced a couple of issues that it get in the way a bit. Sometimes Xcode crashes while the Gradle plugin is running. Also, build time is a bit of an issue. If I don't change any Java files, the build is a second or two. If I change a Java file, it often stays at the j2objcAssemble showing 98% for two to three minutes. I've tried setting J2OBJC_RELEASE_ENABLED=false, but it doesn't seem to help much. I typically run the j2objcXcode task instead of build (because I've got some translated test failures I need to fix).

I think my performance issue might be due to a source JAR that I'm translating and building (hamcrest). I shouldn't need to translate and build it anyway, since the J2ObjC comes with hamcrest pre-built, right?

I corrected (I think) so that the project uses the built-in JUnit and Hamcrest. The performance issue appears to have gone away. I can make a Java source change, and a rebuild, including tests, takes about five seconds.
I added the following into j2objcConfig to include the built-in libraries. Is that the proper way to do it? I hope that doesn't result in my implementation (non-test) code being linked with those libraries.
translateJ2objcLibs = ["j2objc_junit.jar", "hamcrest-core-1.3.jar"]

Yeah you did everything right.  @kirkvogen , I've filed #492; we might as well add the new <IP_ADDRESS>.1 libraries since we've made that a minimum requirement now.

It works for me! I had to revert back (arbitrarily, I just chose the last commit on Oct - 4th) to b7f4aad to get it functioning, the current head fails unable to link to the protobuf_runtime, but I assume that's part of a WIP.
Let me know if I need to run through anything else.

@andrewfunston - could you expand at #498?  Protobuf runtime is neither known to work nor known not to work, as neither Bruno or I use them at the moment.


add string view lite's version number

see on godbolt, show string view lite's version number, see gsl lite

Thanks @Neargye


Empty title in property spec when label not specified on field

If you don't give a field a specific label, it gets an empty title property in the spec, while I don't believe the title is a required property for object properties (only for the info object).
Although it's still a good practice of course to describe all properties in an object 😁

Well, I was wrong, that label shouldn't associate with title. I will remove it.


filer server: allow upload file to specific dataNode

"dataNode" parameter is not supported in upload files to Filer now: Filer server POST/PUT/GET files
This PR adds support of action like: curl -F<EMAIL_ADDRESS>"http://localhost:8888/javascript/?dataNode=node1"

could you also adjust the related wiki page?

could you also adjust the related wiki page?

updated


Generel Questions!?

Hello friends,
I have a few general questions about this npm package and security about instagram in general.
I am currently building a small instagram tool with this package.
I played around a bit and now my "testaccount" was blocked. Unfortunately it is currently not possible to create a new account at instagram.
Is instagram checking the IP address or how are you doing that?
I also tried to create another account with a gmx / gmail address via the Tor Browser, unfortunately without success either.
I tried to create the tool without this npm package before and just used the API which I found in the browser request header. At least with the get request there were no problems concerning a locked account.
Only when I switched to this package was the account blocked.
I'm only about 1 1/2 years in the web development on the way and unfortunately do not understand so much of web security.
I would be very happy if someone would find here, with whom I could discuss the questions and more a bit.
Thanks, Axel

After Instagram's recent update (a couple of months back), they really cracked down on suspicious requests. Any request that their server deems "fishy" is flagged/blocked. I believe they created a much better spam/automation detection algorithm due to the amount of spam/marketplace apps that were out there selling likes and followers. A majority (if not all) of those services were essentially shutdown due to the recent update.
Most of us who are using this library are doing so for personal account management and automation, and in turn don't get as many issues because we are using our own "seasoned" accounts (older/less suspicious activity). To avoid the issues you've had, I suggest sticking to using those types of accounts rather than using new accounts or accounts created/accessed via VPNs (a la Tor) which will immediately send suspicious flags to their updated algorithm. Hope that helps until someone else chimes in. 🙏

Hey thanks for feedback… =)
Axel Adrian
<EMAIL_ADDRESS>
On 25. Sep 2019, at 14:20, thefilmmaking<EMAIL_ADDRESS>wrote:
After Instagram's recent update (a couple of months back), they really cracked down on suspicious requests. Any request that their server deems "fishy" is flagged/blocked. I believe they created a much better spam/automation detection algorithm due to the amount of spam/marketplace apps that were out there selling likes and followers. A majority (if not all) of those services were essentially shutdown due to the recent update.
Most of us who are using this library are doing so for personal account management and automation, and in turn don't get as many issues because we are using our own "seasoned" accounts (older/less suspicious activity). To avoid the issues you've had, I suggest sticking to using those types of accounts rather than using new accounts or accounts created/accessed via VPNs (a la Tor) which will immediately send suspicious flags to their updated algorithm. Hope that helps until someone else chimes in. 🙏
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dilame/instagram-private-api/issues/897?email_source=notifications&email_token=AGNQMPPXHOLJYHM3W6WDECDQLMGKDA5CNFSM4IYSFIUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Q4F3Y#issuecomment-534889199, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNQMPP5VHWZRXBOERJAJG3QLMGKDANCNFSM4IYSFIUA.

Is this still an issue?


Check headless-wp-starter for ideas

See https://github.com/postlight/headless-wp-starter for feature ideas
https://postlight.com/about/news/introducing-postlights-wordpress-react-starter-kit

Nothing which would make sense to borrow...


publish artifact .json files in bass releases

done: https://github.com/vito/bass/blob/main/ci/shipit#L37


Implement let-else formatting

ref #4914
r? @calebcartwright
Implements let-else formatting based on the rules outlined in https://github.com/rust-lang/rust/pull/107312. The examples listed in the style guide are included as simple test cases to validate let-else formatting.
Note This PR does not implement a "short" config for let-else.

I think the PR is good to go, but I plan to add some additional test cases with comments between the initializer expression and the else block as well as test out how the formatting is changed when users set control_brace_style.

test out how the formatting is changed when users set control_brace_style.

This should not have an impact given the current applicable domains, as control_brace_style is only intended to apply to control flow expressions.
I recognize that there will likely be some non-zero portion of the user base that would like to force the brace onto the next line, but I think that needs to be considered against the more holistic lines of the posture outlined in https://github.com/rust-lang/rustfmt/issues/3376#issuecomment-906051689; I don't want to try to shoehorn yet another AST context into the existing config options

@calebcartwright, given the way I implemented let-else it's possible to use control_brace_style to configure where the else will be placed. For example, you can run rustfmt on the following input:
fn main() {
    let Some(x) = opt else {
        return;
    };
}

with control_brace_style=ClosingNextLine:
fn main() {
    let Some(x) = opt
    else {
        return;
    };
}

or with control_brace_style=AlwaysNextLine:
fn main() {
    let Some(x) = opt
    else
    {
        return;
    };
}

I implemented the else block rewriting for let-else by reusing existing functionality from if-else. If you'd prefer let-else formatting to not be influenced by control_brace_style I can certainly make an update to the PR. I thought it would be worth writing some tests for that functionality given that it's currently built in.

If you'd prefer let-else formatting to not be influenced by control_brace_style I can certainly make an update to the PR. I thought it would be worth writing some tests for that functionality given that it's currently built in.

To clarify, I was speaking about expected formatting behavior, and not current/actual behavior of the proposed implementation. I recognize that there's a... control flow aspect to this given the divergent nature of the else block (certainly more so than other types of statement, item, etc. contexts), but I'm still iffy on whether or not we should tie control_brace_style to this

Hi. Is there anything we outsiders can help with to get this moving forward?

Echo the appreciation. My assumption was that it was more of a bump to gauge status, so also want to note that this is one we'd discussed offline in chat/team meetings. I owned the action item to recap those discussions and remaining elements back here on the PR and obviously failed there, so apologies for the lack of transparency.
I do think we're just about sorted implementation wise, but also want to note that there will be at least one more implementation PR and then some release/communication work to follow before this actually gets into user's hands.

Another quick bump here :) Please let us outsiders know if we can be of help.

Another quick bump here :) Please let us outsiders know if we can be of help.

Appreciate the offer, but there's nothing needed from the community nor anything the community can do to help (unless you happen to review the changes and think you've spotted an issue).
Similarly, there's no need for any continued bumps on the thread. This is not forgotten, this is currently our top priority. However, as I alluded to in https://github.com/rust-lang/rustfmt/pull/5690#issuecomment-1481642464, there's a lot of moving parts required to get to a point where let-else support will be available in released versions of rustfmt, the majority of which are unrelated to this particular PR and which are not going to be reflected here.
It's intentional that we've not merged this PR yet, and this PR being merged vs. unmerged does not accurately portray status.

@ytmimi we should be all set now on being able to merge, so if you could rebase whenever time permits that'd be most appreciated


Add example deployment with Data Sharing via LoanedMessage

I had this question during ROSCon 2023 presentation.
I believe that this is one of the use case to show how we can use the data sharing zero copy even with container and Kubernetes.
Certain constraints that we need to assign the containers in the same pod as localhost, but for the explanation this makes sense to add the example here.

export ROS_DISABLE_LOANED_MESSAGES=0 this needs to be done, since https://github.com/ros2/rcl/pull/1110
some experimental check... using docker container.

binding /dev/shm is the only requirement to use shared memory transport and data sharing provided by Fast-DDS

tomoyafujita@~/DVT >docker run -it --network host -v /dev/shm:/dev/shm tomoyafujita/ros:rolling

root@tomoyafujita:~# ls -lt /dev/shm/
total 0

root@tomoyafujita:~# ros2 daemon status
The daemon is not running

root@tomoyafujita:/# ros2 run demo_nodes_cpp talker_loaned_message
[INFO] [1703119123.500535244] [loaned_message_talker]: Publishing: '1.000000'
[INFO] [1703119123.500835352] [rclcpp]: Currently used middleware can't loan messages. Local allocator will be used.
[INFO] [1703119123.500871185] [loaned_message_talker]: Publishing: 'Hello World: 1'
[INFO] [1703119124.500472323] [loaned_message_talker]: Publishing: '2.000000'
[INFO] [1703119124.500608551] [loaned_message_talker]: Publishing: 'Hello World: 2'
...

what if only host network interface is shared? (host system case does not have this case, since everyone should have /dev/shm in the same namespace.)

tomoyafujita@~/DVT >docker run -it --network host -v /dev/shm:/dev/shm tomoyafujita/ros:rolling

root@tomoyafujita:/# ros2 node list

root@tomoyafujita:/# ros2 topic list
/chatter
/chatter_pod
/parameter_events
/rosout

interesting ths case, we cannot see the nodes but topic list. i think Simple Participant Discovery Protocol (SPDP) uses shm transport, so that participants cannot discover each other. on the other hand, Simple Endpoint Discovery Protocol (SEDP) falls back to multicast based default discovery, that can discover the DataReader and DataWriter, so we can see the topics.
https://github.com/eProsima/Fast-DDS/pull/3753 related to this behavior, see more details for https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/simple.html#simple-discovery-settings
Note:
root@da343f3b6b7d:/# fastdds shm clean
shm.clean:
0 ports in use
0 segments in use
3 zombie ports cleaned
2 zombie segments cleaned

closing in favor of https://github.com/fujitatomoya/ros_k8s/pull/33


Add anon function snippets to the expression completion list

Purpose
This PR adds support for anon function snippets in the expression context.
Fixes #25182
Fixes #25490
Samples

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Changes look good. I have few minor suggestions. When we substitute the anon func def as a function argument shouldn't we insert that in a single line? WDYT?

This is a valid use case. But, I think this will be a bit complex since we will have to consider the context. For example, when assigning a variable, annon function can span multiple lines. But when assigning a function call's parameter, we have to make it a one liner. IMO, we should let this be as it is since given the usage of annon functions will be less and we have lot of other spec conformance tasks to complete before GA. WDYT? @malinthar @nadeeshaan

That's true. Let's proceed with the current implementation. +1


Create UI for decks

RecyclerView, cardView and adapter prepared.

There's conflicts that must be resolved.


Refactor EASEY-In

USWDS updates for EASEY In
Restructure code base and clean up

Tester:
@mosesdeeCVP

@tdavydets to add estimate once he dives into the work

Test cases run and Passed:
Automated:
UI_TC117_628_View_System_Details_Components_Modal
UI_TC95_813_Footer_Menu
UI_TC81_541_Implement_active_inactive_filter_logic_for_configurations_locations_and_methods
Manual:
TC91
TC92
Ticket Closed


Make rand and log optional

It feels like these should be opt-out.
If a user doesn't need jitter or doesn't care about logging, they might want to cut down the binary size a little bit.

good call @Zireael-N . also thanks for fixing my typos!


[Event Request] codeunit 90 "Purch.-Post" - OnUpdatePostingNosOnBeforeTestFieldReceivingNoSeries

Hello, can you please add a new Event OnUpdatePostingNosOnBeforeTestFieldReceivingNoSeries in codeunit 90 "Purch.-Post" ?
            ShouldUpdateReceivingNo := Receive and ("Receiving No." = '');
            OnUpdatePostingNosOnAfterCalcShouldUpdateReceivingNo(PurchHeader, PreviewMode, ModifyHeader, ShouldUpdateReceivingNo);
            if ShouldUpdateReceivingNo then
                if ("Document Type" = "Document Type"::Order) or
                   (("Document Type" = "Document Type"::Invoice) and PurchSetup."Receipt on Invoice")
                then
                    if not PreviewMode then begin
                        ResetPostingNoSeriesFromSetup("Receiving No. Series", PurchSetup."Posted Receipt Nos.");
                        IsHandled := false;
                        OnUpdatePostingNosOnBeforeTestFieldReceivingNoSeries(IsHandled);
                        if not IsHandled then
                            TestField("Receiving No. Series");
                        "Receiving No." := NoSeriesMgt.GetNextNo("Receiving No. Series", "Posting Date", true);
                        ModifyHeader := true;

                        // Check for posting conflicts.
                        if PurchRcptHeader.Get("Receiving No.") then
                            Error(PurchRcptHeaderConflictErr, "Receiving No.");

                    end else
                        "Receiving No." := PostingPreviewNoTok;

    [IntegrationEvent(false, false)]
    local procedure OnUpdatePostingNosOnBeforeTestFieldReceivingNoSeries(var IsHandled: Boolean)
    begin
    end;

So you want to have "Receiving No. Series" blank? How you are going to get "Receiving No." in next statement in this case?


Register with dask.sizeof

Codecov Report

Merging #142 (648071f) into main (1ad8391) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   95.67%   95.68%   +0.01%
==========================================
  Files          18       19       +1
  Lines        1781     1786       +5
==========================================
+ Hits         1704     1709       +5
  Misses         77       77

Impacted Files
Coverage Δ

src/dask_awkward/sizeof.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ddev get : Unable to YamlToDict: yamlToDict: type string not handled

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
Expand `ddev debug test` diagnostic information
======= Existing project config =========
These config files were loaded for project stacy-frontend: [/home/var/www/etnic/stacy-frontend/.ddev/config.yaml]
name: stacy-frontend
type: drupal9
docroot: web
php_version: 8.0
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.22.3
router_http_port: 80
router_https_port: 443
additional_hostnames: []
additional_fqdns: []
mysql_version: 8.0
database: {mysql 8.0}
hooks: map[post-start:[]]
webimage_extra_packages: [cron]
project_tld: ddev.site
use_dns_when_possible: true
nodejs_version: 18
default_container_timeout: 120
======= Creating dummy project named  tryddevproject-2670 in ../tryddevproject-2670 =========
OS Information: Linux Colombus 6.2.0-33-generic #33-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep  5 14:49:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1000(chub) gid=1000(chub) groups=1000(chub),4(adm),24(cdrom),27(sudo),30(dip),33(www-data),46(plugdev),116(lpadmin),126(sambashare),131(docker)
DDEV version:  ITEM             VALUE
 DDEV version     v1.22.3
 architecture     amd64
 db               ddev/ddev-dbserver-mariadb-10.4:v1.22.3
 ddev-ssh-agent   ddev/ddev-ssh-agent:v1.22.3
 docker           24.0.6
 docker-compose   v2.21.0
 docker-platform  Ubuntu 23.04
 mutagen          0.17.2
 os               linux
 router           ddev/ddev-traefik-router:v1.22.3
 web              ddev/ddev-webserver:v1.22.3
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=true
omit-containers=[]
performance-mode=none
router-bind-all-interfaces=false
internet-detection-timeout-ms=3000
disable-http2=false
use-letsencrypt=false
letsencrypt-email=
table-style=default
simple-formatting=false
auto-restart-containers=false
use-hardened-images=false
fail-on-hook-fail=false
required-docker-compose-version=v2.21.0
use-docker-compose-from-path=false
project-tld=
xdebug-ide-location=
no-bind-mounts=false
router=traefik
wsl2-no-windows-hosts-mgt=false
router-http-port=80
router-https-port=443
mailpit-http-port=8025
mailpit-https-port=8026
traefik-monitor-port=10999

======= DOCKER info =========
docker location: -rwxr-xr-x 1 root root 57872384 juil.  3 11:51 /usr/local/bin/docker
docker version:
Client: Docker Engine - Community
 Cloud integration: v1.0.35
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:31:40 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.6
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.7
  Git commit:       1a79695
  Built:            Mon Sep  4 12:31:40 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.24
  GitCommit:        61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc:
  Version:          1.1.9
  GitCommit:        v1.1.9-0-gccaecfc
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.16.0
--------------------------------------------------------------------------------
No synchronization sessions found
--------------------------------------------------------------------------------
======= Docker Info =========
Docker platform: Ubuntu 23.04
Using Docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.21.0
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 24.0.6
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:
Filesystem                Size      Used Available Use% Mounted on
overlay                 456.9G    385.6G     48.0G  89% /

Unable to create project at project root '/home/var/www/neo8/sites/demarcilly/drupal': project root /home/var/www/neo8/sites/demarcilly/drupal does not exist
Unable to create project at project root '/home/var/www/etnic/intranetmfwbv3': project root /home/var/www/etnic/intranetmfwbv3 does not exist
Unable to create project at project root '/home/var/www/etnic/stacy-front': project root /home/var/www/etnic/stacy-front does not exist
Stopped Mutagen daemon
The ddev-ssh-agent container has been removed. When you start it again you will have to use 'ddev auth ssh' to provide key authentication again.
Existing docker containers:
CONTAINER ID   IMAGE           COMMAND                  CREATED         STATUS                     PORTS     NAMES
757816f22f8e   hello-world     "/hello"                 2 months ago    Exited (0) 2 months ago              kind_swirles
b2c73dbc24fa   aae3b76c2ae0    "/bin/sh -c 'export …"   19 months ago   Exited (0) 19 months ago             bold_rhodes
d8e8c204b00b   7d5678b001cc    "/bin/bash -c '(grou…"   19 months ago   Exited (0) 19 months ago             relaxed_cori
0c88a81b1ca6   9258d78bce7e    "/docker-entrypoint.…"   19 months ago   Created                              fervent_bell
779afc5a135e   8d1d48cf9b7b    "/docker-entrypoint.…"   19 months ago   Created                              hungry_ishizaka
ad0900dfc5d2   e0b33608be1f    "/docker-entrypoint.…"   19 months ago   Created                              charming_thompson
1175729d45dd   bed1b6fcab5e    "/bin/sh -c 'export …"   19 months ago   Exited (0) 19 months ago             blissful_heisenberg
55fbc32b8d5c   aae3b76c2ae0    "/bin/sh -c 'apt-get…"   19 months ago   Exited (0) 19 months ago             elastic_einstein
acdd829af55f   e9783a41a6ff    "/bin/sh -c '(groupa…"   19 months ago   Exited (0) 19 months ago             romantic_mirzakhani
c9b22ac7f771   a0bdac97d874    "/bin/sh -c '#(nop) …"   19 months ago   Created                              flamboyant_albattani
c2dd772d5953   82eaae05bc3e    "/bin/sh -c '#(nop) …"   19 months ago   Created                              relaxed_darwin
fa841e2abff2   6fb0f2b0d779    "/bin/sh -c '#(nop) …"   19 months ago   Created                              epic_mestorf
071f40154a3e   d1812c00c8e4    "/bin/sh"                20 months ago   Created                              phpstorm_helpers_PS-212.5080.71
a0320f32eab6   hello-world     "/hello"                 2 years ago     Exited (0) 2 years ago               nostalgic_bhaskara
648700e3bf3b   boondoggle/i1   "/sbin/my_init --ena…"   2 years ago     Exited (2) 2 years ago               boondoggle-c1
ae2fba0a774c   hello-world     "/hello"                 2 years ago     Exited (0) 2 years ago               xenodochial_chaplygin
Network ddev_default created
Starting tryddevproject-2670...
  You will want to delete this project with 'ddev delete -Oy tryddevproject-2670'
======== Project ownership on host:
drwxr-xr-x 4 chub chub 4096 sept. 27 12:26 ../tryddevproject-2670
======== Project ownership in container:
drwxr-xr-x 4 chub chub 4096 Sep 27 10:26 /var/www/html
======== In-container filesystem:
Filesystem     Type 1K-blocks      Used Available Use% Mounted on
/dev/nvme0n1p2 ext4 479079112 405254380  49415340  90% /var/www/html
======== curl again of tryddevproject-2670 from host:
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-2670'
Thanks for running the diagnostic. It was successful.
Please provide the output of this script in a new gist at gist.github.com
Running ddev launch in 5 seconds

Please run cleanup after debugging with 'ddev debug testcleanup'
➜  stacy-frontend git:(M0152364_resolution_des_photos) Gtk-Message: 12:27:03.452: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(firefox:40336): Gtk-WARNING **: 12:27:03.502: GTK+ module /snap/firefox/3131/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 12:27:03.502: Failed to load module "canberra-gtk-module"

(firefox:40336): Gtk-WARNING **: 12:27:03.503: GTK+ module /snap/firefox/3131/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 12:27:03.503: Failed to load module "canberra-gtk-module"

Expected Behavior
When i launch ddev get xyz , for example :
ddev get ddev/ddev-adminer
I expect the add-ons to be downloaded, the installed in the .ddev folder of the project.
Actual Behavior
The add on archive is well dowloaded, but the install failed
ddev get ddev/ddev-adminer --verbose
Installing ddev/ddev-adminer:v0.2.2
Downloading https://api.github.com/repos/ddev/ddev-adminer/tarball/v0.2.2
v0.2.2_2887042928.tar.gz 7.94 KiB / ? [--=-------------------------------------------------------------------------------------------------------]  81.29% 0s
Unable to YamlToDict: yamlToDict: type string not handled (post-start)
Steps To Reproduce

on ubuntu 23
create a ddev project

ddev get ddev/ddev-adminer --verbose
Anything else?
I search google , duck duck go, the githib ddev issues, i have found anything about this error.

I have seen this happen when github's API was broken. Please check https://githubstatus.com if you see it again.
I haven't been able to figure out exactly what happens, because of course it works by the time I take a look. It surely seems DDEV or the library it's using could give a better error than this.
I assume this is working OK for you now, right?
What you show seems to say that the download failed in the middle of everything. That also is a situation where ddev get should fail and not give such a weird error.

Thanks for your report @sam2de - Is it working now?

Same issue when calling ddev get ddev/ddev-phpmyadmin
ddev get ddev/ddev-phpmyadmin Installing ddev/ddev-phpmyadmin:v0.3.0 Downloading https://api.github.com/repos/ddev/ddev-phpmyadmin/tarball/v0.3.0 v0.3.0_2479610336.tar.gz 7.32 KiB / 7.32 KiB [==============================================================] 100.00% 0s Unable to YamlToDict: yamlToDict: type string not handled (post-start)

Could you please mv .ddev/.addon-metadata .ddev/addon-metadata.backup and do this again? If that fixes it, would you mind providing the backup directory as a tarball/zipball?

@rfay - tried it.
mv .ddev/.addon-metadata .ddev/addon-metadata.backup mv: cannot stat '.ddev/.addon-metadata': No such file or directory
But the directory does not exists.
My environment is

ddev version v1.22.3
Windows // WSL // DockerDesktop for Windows

Sorry, the directory is .ddev/addon-metadata in your project directory. So please try mv .ddev/addon-metadata .ddev/addon-metadata.backup, thanks.

No changes, same error

Could you please create a trivial project and try it there? And try more than one add-on? So for example:
mkdir ~/junk && cd ~/junk
ddev config --auto
ddev get ddev/ddev-phpmyadmin
ddev get ddev/ddev-redis

If you should show the whole output of that it would be great.
If you still have the failure with that, it would be lovely if you could do ddev debug test and capture the output and provide it as a gist in gist.github.com or as a file, or if it's sensitive, PM me with it on Discord, https://discord.gg/hCZFfAMc5k

Oh, I should have suggested that you temporarily disable your virus checker as well. That could easily be it.

Hi,
i disabled virus checker and firewall - no changes.
With a clean and new project, it works.
Here is the ddev config of the project, where it does not work:
name: private type: php docroot: "" php_version: "7.3" composer_version: "2" webserver_type: apache-fpm router_http_port: "80" router_https_port: "443" xdebug_enabled: false additional_hostnames: [] additional_fqdns: [] mariadb_version: "10.2" provider: default use_dns_when_possible: true timezone: "" webimage_extra_packages: ["wkhtmltopdf"]

Oh, this is a very old config.yaml. We don't use mariadb_version any more, nor is provider in there any more.
Could you just do ddev config --auto to update it?
Then see what happens.

If you wouldn't mind, could you tar up or zip up your whole .ddev directory and get it to me? (Assuming you don't solve it soon.)
Thanks so much for collaborating to find the cause of this.

Oh, this is a very old config.yaml. We don't use mariadb_version any more, nor is provider in there any more.
Could you just do ddev config --auto to update it?
Then see what happens.
(Edit: I'm unable to recreate the problem with your config.yaml)

ddev config --auto worked for me

I wish I could recreate it with your config.yaml, then we'd be able to step through and find the actual bug. There are a couple of problems here. One is that DDEV somehow isn't handling a failure properly. The other, obviously, is something upstream of that.

I tried moving ".ddev/addon-metadata" directlry first that didn't fix it but after running ddev config --auto I was abled to install 2 add-ons with no issues. Thanks

I wish I could recreate it with your config.yaml, then we'd be able to step through and find the actual bug. There are a couple of problems here. One is that DDEV somehow isn't handling a failure properly. The other, obviously, is something upstream of that.

I will share it on discord a bit later today

Thanks, I would have thought that just your config.yaml (shared above) would have worked, but perhaps there's something else in there.

Hi @rfay,
after running ddev config --auto everything works.
I sent you the old .ddev-folder as archive via Discord PM.
Thanks for your work on this great project!

Thanks so much for your help with this. I can now recreate the problem and will have to sort out what's causing it. But because of your patience it will be solvable!

@sam2de (I think) you had a completely invalid configuration in the .ddev/config.yaml:
hooks:
post-start:
    - host-exec: ddev auth ssh

That is not right in many ways, and was ignored by ddev start somehow, but not by ddev get.
What you wanted was
hooks:
  post-start:
  - exec-host: ddev auth ssh

Just changing that fixes the problem. Of course DDEV should say it's not valid, but it's very much not valid. post-start: must be indented, and it's exec-host not host-exec.
ddev config --auto throws away the invalid config and writes a valid one.

@varioous I'm unable to recreate your problem with the tarball you provided. Could you please see if you are still able to recreate it? Is it possible you gave me the working version of the .ddev directory?

Hi rfay
ddev config --auto
Works fine for me.
By the way, what does ddev config --auto  on an existing project ?
Thank you very much for your work. DDEV rocks, as american people say :)

@christophe-hubert if you still have the broken .ddev directory available, I'd love to see it. Probably just the config.yaml, assuming it has an error in it...

By the way, what does ddev config --auto on an existing project

ddev config --auto just does ddev config without asking any questions. It autodetects the docroot and project type (or uses existing) and rewrites the config.yaml file. In the process it will lose old statements like mariadb_version or invalid statements in the config.yaml file.

Hi rfay this is :
ddev.zip

Thanks @christophe-hubert - that helps me a lot.
Your config.yaml has the obsolete usage from a very old DDEV version:
mariadb_version: ""
mysql_version: "8.0"

and ddev get seems to die on that, even though ddev config handles it fine.
❤


Adds JDBC support code and processor implementation

Pull Request Test Coverage Report for Build 19

91 of 118 (77.12%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 74.556%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

annot8-components-db/src/main/java/io/annot8/components/db/processors/JDBCSettings.java
22
23
95.65%

annot8-components-db/src/main/java/io/annot8/components/db/processors/AbstractJDBCComponent.java
19
24
79.17%

annot8-components-db/src/main/java/io/annot8/components/db/processors/ChromeHistoryFileExtractor.java
50
71
70.42%

Totals

Change from base Build 14:
0.3%

Covered Lines:
797

Relevant Lines:
1069

💛  - Coveralls


Allow to display an event in one line (with time possibly appended)

This request is repeated e.g. "...And finally again to save vertical space, the option to move the time in the same line as the event title, thus making the events single lined"

I implemented this long-awaited feature by adding new "Appearance -> Event entry layout" option, which currently allows selection between:

"Default multiline layout" (i.e. leave everything as as it was before this change) and
"Single line layout" - this new one.

The new layout works with recent contribution of the "Show day headers" setting, which allows to optimize vertical space even further: when day headers are turned off, a date is added to each event's line automatically in the first column. Currently only one format is available for this date, which I personally love :-)  - relative date, i.e. "-2, Yesterday, Today, Tomorrow, 2, 3, ...", which is very clear and far quicker to comprehend than longer date formats...
Please see the screenshots below.

Initial state: Default multiline layout, day headers are present.  "Multiline title" is on.

Switched to the "Single line layout".

Single line layout with day headers turned off.

Single line layout with day headers turned off and "End time" is turned on - end time is shown under start time.

In order to look "Days from today" column better, I right-aligned numbers in that column:

To be released in v.1.10.0

The two alternative layouts are now called "Time below title" and "All in one row"


[WFCORE-4629] Upgrading JBoss MSC to 1.4.9.Final

Incorporates:

[MSC-247] Allow also provided not just aliased services to be accessible
[MSC-248] Fix Suplier.get() lock contention
[MSC-250] StabilityMonitor problematic and failed services are improperly reported

This PR addresses https://issues.jboss.org/browse/WFLY-12372 @bstansberry


HAWQ-416. core dump when cancel delegation token if fatal error happe…

…ned when setup connection to NAMENODE

+1

merged


Fix Coach

coach has a few things that should not be in there:

whichrobothasball should be in world? or controlutils?
what the hell is "safelyness"? magic numbers much, and probably not the right way to do it.
there should not be a public static variable in coach.. (defencepairs)
imo coach should have a seperate folder (like control), instead of a single file in utilities
for the future: fix dangerfinder to work well with the coach

There are duplicate functions in coach and utils and controlutils. This should be cleaned. The safelyness was just there to test things but it should be removed now. Dangerfinder is crucial for coach and we cant make that much good logic without that.


Thin Line between Tab and Toolbar

There is a thin line between the selected tab and toolbar.
Tested on Firefox v100.0 with Style.Chrome

OS: Windows 11 v10.0.22000 Build 22000
Firefox: v100.0
The thin line is visible at 175% (1.75x) scaling, at integer scaling the line is not visible.

I found a few more bugs besides yours. All of them are present at scaling over 100%. It will take some time to fix.

Your problem has been fixed. Check

Yes the problem is fixed now.
Thank you for the speedy and accurate Fix!


Get current brightness, temperature and power state

Hello,
Thanks again for writing this library @timrogers. I was looking for something to help me write a Stream Deck plugin and this seems like a good starting point.
I've added the following functions to the driver that people may find helpful:

getBrightnessInLumen
getTemperatureInKelvin
getPowerState
toggle

I've also updated the CLI to include a litra-toggle command and made the brightness/temp commands return the current value if no argument is passed into them. I did not change brightness percentage command or include a power state command.
Kudos to @abergmeier as this thread  gave me what I needed. I managed to figure out the format of temperature values after a few hours of staring at the two bytes being returned (comments in the temp function).
Let me know if you need anything else from me to get this merged 🎉
Ref #42

@hhaidar Thanks! This is great ❤
I'm actually already working on a PR locally for checking the current on/off state which I will push in the next couple of hours.
I'll push that up and will take a look at this, and we can figure out how to move forward. Thank you for taking the time to contribute.

@hhaidar Could you also tick the box to allow maintainers to update your PR? ☺

Fixes #42.

@timrogers thank you for the quick feedback, I will rebase and squash into 1 comment at the end if that's alright

@timrogers thank you for the quick feedback, I will rebase and squash into 1 comment at the end if that's alright

Sure! Just ping me once you're ready for re-review.

@timrogers I'm actually ready now, all issues should be resolved I think.

Hello friends, I first want to say I am grateful for all the hard work in reverse engineering the litra api! I am a windows user who has been taking tips from all this conversation to construct python scripts that will increment/decrement temperature and brightness on the stream deck.
I was excited to see that someone had figured out a way to get the current state of the device as my current scripts utilize reading/writing to a text file as a psuedo-database for storing the current temp or brightness. I wish I could instead read the current status of the device and increment/decrement brightness/temp
I wrote the following python script which will do such a thing for brightness and temp, In the example for brightness, what it does is read in a txt file which has the current brightness as a hex value, then it increments/decrements the hex value by a "1C" hex step and writes the new value back to a file. it then takes that new hex value and processes it to be injected into a hidapitester.exe command which sends the correct hex output string to make the light adjust accordingly.
The script has a static path for the brightness.txt file and uses a command that specifically targets one of two of my litra lights:
import os
import subprocess
def adjust_and_invoke_hidapitester(increment):
# Set the file path
file_path = "C:/Users/jortega/Documents/Stream Deck Bashes/Litra Stuff/left_current_brightness.txt"
# Read the current brightness value from file (as hex)
with open(file_path, 'r') as file:
    current_brightness = file.read().strip()

# Increment or decrement the hex value by "1C"
if increment:
    current_brightness = hex(int(current_brightness, 16) + 0x1C)[2:].zfill(4)
else:
    current_brightness = hex(int(current_brightness, 16) - 0x1C)[2:].zfill(4)

# Validate the current brightness range
if int(current_brightness, 16) < 0x1C:
    current_brightness = "001C"
elif int(current_brightness, 16) > 0xFF:
    current_brightness = "00FF"

# Write the new current brightness back to file
with open(file_path, 'w') as file:
    file.write("0x" + current_brightness)

# Split the base 16 value into two 2-character strings
split1 = current_brightness[:2]
split2 = current_brightness[2:]

# Construct the command for hidapitester.exe
command = (
    'hidapitester.exe --vidpid 046d/c900 --usagePage ff43 --open-path '
    '"\\\\?\\HID#VID_046D&PID_C900&Col02#8&1e2a4b18&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" '
    f'--send-output 0x11,0xFF,0x04,0x4F,0x{split1},0x{split2}'
)

# Execute the command with subprocess
subprocess.run(command, shell=True)

def main():
# Set the increment flag to True for incrementing the brightness
increment = True
# Call the function to adjust the brightness and invoke hidapitester.exe
adjust_and_invoke_hidapitester(increment)

if name == 'main':
main()
So I directly run this script on an System > Open command on Streamdeck button and it works. If you want to decrement, you just change the value of increment in the main() function to False. Temperature follows the same idea of having a base 16 value except instead of being a base 10 value between 20-250, temperature is 2700-6500 (source: https://www.reddit.com/r/LogitechG/comments/sacz2x/comment/ixtez4q/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button)


Performance optimizations when bulk loading large amounts of timestamps

While writing software to sync a couple of hundred million rows from another rdbms to sql server via the BulkCopy API, I discovered a disproportioned amount of time was spent serializing Timestamp objects to then deserialize them into Timestamp objects once again.
My fix for this is to be able to accept Timestamp objects directly (which should cover the majority of objects passed) and only serialize them once when passing the date values to the TDSWriter.
I have attached an example to show the difference while importing about 600k rows with 16 columns with dates only.

@microsoft-github-policy-service agree
Skickat från min iPhone

15 aug. 2023 kl. 22:33 skrev microsoft-github-policy-service[bot] @.***>:
@microsoft-github-policy-service agree

Thank you for the PR @hannes92. We'll review it when we're able to and get back to you with our next steps.

could you please add a test which covers the scenario

Added a test case, I lowered the mount of rows inserted to 10000 to not slow down the test suite

Hi @hannes92,
The PR passes our internal testing, we'll now be reviewing it.

@hannes92

After making the newly requested changes, LGTM.


Buttons unresponsive immediately after fast strokes in Chrome Android

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I'm having a weirdly specific issue. After the user makes a fast gesture quickly lifting the finger, the captured pointer seems to not get released. This means that buttons etc won't react to clicks until the user clicks somewhere else. Unfortunately this seems to be the way users often draw their signatures.
I've created a minimal reproduction example but the issue occurs even in the official demo as well.
I've tried monitoring events on the canvas.

I wonder if it's actually a bug in Chrome Android - it doesn't happen in Firefox Android. On iPad it doesn't seem to happen in neither Chrome nor Safari. But unfortunately I have not been able to find anything relevant.
Reproduction
It's hard to describe this with words so I've made a video as well.
https://github.com/szimek/signature_pad/assets/505411/87dc49ff-2e3c-4dd8-b129-9e33e757c6fa

Open the demo page
Draw a line quickly lifting the finger; make sure the finger doesn't leave the canvas
Click the clear button - the button doesn't react to the click
Click the clear button again - the signature pad gets cleared

What is the expected behavior?
The button reacts after the first click and clears the signature pad.
Which versions of SignaturePad, and which browser / device are affected by this issue? Did this work in previous versions of SignaturePad?
The issue occurs with these:
Chrome Android 114.0.5735.130
Signature Pad 4.1.5, 3.0.0.beta4
I use Pixel 7 but we've had reports with other android devices
No issues:

Android

Firefox 114.1.1

iPad OS

Chrome 114.0.5735.124
Safari

Desktop

Chrome 114.0.5735.133
Firefox 114.0.1

Apologies, I see someone has reported a similar issue https://github.com/szimek/signature_pad/issues/635
I hope the extra details I have provided help to investigate the issue further

Like I mentioned in the related issue. This seems to be intended behavior on Android trying to avoid accidental clicks. I don't see anything we can change in this library to fix that.
Your best bet is to report this bug to chrome.

Thank you, I will raise a bug with Chrome 👍

@basuneko can you please link to the chrome bug ticket? I am also interested in a solution for this. Thank you.


[WIP] add epsilon greedy and boltzmann exploration

I'm thinking of using decorators for this. The decorator for an exploration method will take in the current action selection method and modify it by adding noise/exploration. Your thoughts @Sharad24 ?

Still working on this?

Yeah, will take some more time cause I've been pretty busy recently

I guess someone else can take this at this point..

😭

😢


Configure Microsoft Edge enterprise sync has no information on how to configure Edge enterprise sync

This page is titled "Configure Microsoft Edge enterprise sync" and yet it contains no step-by-step instructions on how to accomplish this.
It mentions supported environments, and defines the policies, but doesn't give any instructions on where/how to set these policies.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1fa7eda4-6e4c-c2c8-a29a-ef2eead7f04f
Version Independent ID: 414db256-c14b-ca11-b2a7-835aa9c9e041
Content: Configure Microsoft Edge enterprise sync
Content Source: edgeenterprise/microsoft-edge-enterprise-sync.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: collw

@ChaosFreak For organizations, there is a whole section of aka.ms/deployedge with instructions on how to configure the browser with policies.  For example: https://learn.microsoft.com/en-us/deployedge/configure-microsoft-edge

If you need help setting up your enterprise environment, you can reach out to Support for Business: https://developer.microsoft.com/en-us/microsoft-edge/support/
Thanks!


How can i prevent the user for unselect a date?

Ionic version:  (check one with "x")
[ ] 2.x
[ ] 3.x
[X ] 4.x
Ion2-calendar mode:  (check one with "x")
[X ] components mode
[ ] modal mode
I'm submitting a ...  (check one with "x")
[ ] bug report
[ ] feature request
[ X] help me
On my app, the user will select the days, and add stuffs to that day, when a day already has stuffs on it, it can`t be unselected, how can i prevent the user from unselecting a specific date?

in the onSelect event, ask if your product array has more than 1 item, then you can go to the product page, if it does not show a popup that can not fill that day anymore.


Revive sandbox + New API changes

Tween / Modifier API improved a lot, now they're proper classes instead of function wrappers, and Tween is actually just extends Modifier. Also, nice names for tweens and easings instead of weird constants.
Sandbox now uses new API, including these changes.
First examples were updated to a new API, next examples will be updated later.
Will add it to gh-pages branch few hours later.

@mcm69 please review

I will merge it to show it in action, it is still a subject to review, will do a separate PR for fixes.


[terra-Date-time-picker]DateTimePickerField component added

Summary
Terra Date Time Picker has multiple fields with only one label to describe all fields. Each grouping must be appropriately named and labeled to describe the purpose.
What was changed:
Added the field component for dateTimePicker.
Why it was changed:
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-10072

Thank you for contributing to Terra.
@cerner/terra

I think we might need design guidelines from UX team for creating Field version of date-time-picker with individual label for date-picker and time input.
Then new component (DateTimePickerField) is just having a wrapper and terra-date-picker and terra-time-input, Similar implementation is achievable on consuming application whenever individual labels are needed. terra-date-time-picker component is designed to be used as group and group elements will always have single visual label to represent them. This PR deviates from the purpose of terra-date-time-picker component.

Closing this PR as multiple label field component is not required for individual date-picker and time-input as per UX team.


Add support for aes_256_gcm

libre already had support, was just missing from baresip.

many thanks !
can you please tell me how this was tested ?

Testing was performed as follows:

We have a number of baresip based clients which have the preferred_suite (line 48 opf srtp.c) set to aes_256_gcm
These talk to a Kamailio SIP server
Media all goes to a central Conference Controller which handles the fanout for the group) this uses libre (not baresip) directly to do the aes_256_gcm
We also have a client which bridges to a LMR (Land Mobile Radio) network, this also uses libre
We have been running this for about a week here with about 5 units without issue.

What we haven't done:

Tested against a non baresip/libre client
Run a field trial

Great work :)


Update dependencies, clippy warnings

Changelog:
### Public dependency updates
- [ash](https://crates.io/crates/ash) 0.37.2
- [bytemuck](https://crates.io/crates/bytemuck) 1.13
- [nalgebra](https://crates.io/crates/nalgebra) 0.32
- [winit](https://crates.io/crates/winit) 0.28

There seems to be something wrong with a dependency conflict in the gl-interop example. Maybe @fayalalebrun should have a look at that.

The problem is that winit was updated to 0.28, but glium is still stuck on 0.27. Therefore the solution is to import winit 0.27 under a different alias and then change the code so that vulkano windows and glium windows are created using the correct winit version.

That doesn't seem possible, because the same event_loop variable is passed to both Glium and Vulkano-winit.

I don't think it's necessary for both to have the same event loop. You'd probably need to run each event loop in its own thread however. It's also possible to run them in different processes, by sharing the FDs via a unix socket.

I will leave the errors as they are for this PR, and then you can solve it whatever way works best afterwards?

I implemented what I mentioned: https://github.com/fayalalebrun/vulkano/tree/gl-interop-fix
It's compiling now, but it seems like the example is now segfaulting on my machine. Even previously working versions segfault, perhaps due to a GPU driver update. It would be good to know whether it works on your machine.
Also, we're no longer using this extension for compositing, as we've since moved to DMABuf via Wayland. I wonder if anybody uses this extension with Vulkano. If there no users perhaps it is not worth it to support it.

@fayalalebrun this is merged now. Can you make a followup PR?

@Rua With that branch I linked? I'm not sure if it is correct, since it seems like even the older versions of the example which once worked no longer work on my system. I'm using RADV + RadeonSI, but sadly I have no easy access to a system with another driver to test.


Hover references/docs for JSX files  (like for regular HTML and CSS files)

Upon hover, elements and attributes in HTML and CSS files display a useful small documentation window (tooltip) with documentation from MDN.
JSX should have this too, as it'd be more helpful than what is currently displayed.
Currently this is displayed (JSX):

Suggestion:

This could (and maybe should?) be fixed in types:  Playground
export {};

declare var React;

declare global {
  namespace JSX {
    interface IntrinsicElements {
      /** WOW TOOLTIP */
      div;
    }
  }
}

<div />;

@eps1lon do you know if this has been discussed for DOM elements/attributes in React typings?

It's a great idea.
I haven't tried if it would be enough to just add JSDoc to https://github.com/definitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L4283-L4466. Would appreciate if somebody could try it out and file a PR.


Input layer's dtype default parameter improperly calls K.floatx()

model.layers.Input's constructor has a default parameter dtype=K.floatx(). This just calls K.floatx() when Keras is first imported, instead of calling K.floatx() at construction time. This is problematic because the user might call K.set_floatx(...) after importing Keras.
Happy to submit a PR fixing this.

Sounds reasonable, at least for me.


Prevent "interval" overflow in ExtUvLoop

This PR fixes https://github.com/reactphp/event-loop/issues/194.

@PabloKowalczyk looking into why Travis lost track of the required UV dependencies

@WyriHaximus command sudo apt-get install libuv1-dev || true silently failed with message E: Unable to locate package libuv1-dev, maybe this is a reason?

@PabloKowalczyk yeah most likely, but ensure why that is an issue all of the sudden

@PabloKowalczyk just filed #197 to fix this issue.

@WyriHaximus good job, after your merge #197 i will rebase my branch and push changes again.

@PabloKowalczyk FYI #197 has been merged

Rebase done, but there is other issue:
React\Tests\EventLoop\Timer\ExtUvTimerTest::testAddPeriodicTimerCancelsItself
Failed asserting that 0.004443168640136719 is equal to 0.005 or is greater than 0.005.

IMO it is not caused by my change, i can't reproduce it locally and seems "random" to me. What do you think @WyriHaximus?

@PabloKowalczyk sometimes we have to kick the build to fix that error ;)

Yep, now better :)

@WyriHaximus Can you kick the build again please? :) https://travis-ci.org/reactphp/event-loop/jobs/543631451

@CharlotteDunois done, thanks for the heads up :+1:

@clue Could you please review the PR again? From my side it looks from a quick glance ok.

@clue should i do the squash? You can also do squash and merge by GitHub UI.

@PabloKowalczyk yes please.

Done.

Thanks 👍 !


Adding Multiple Climate devices

hi mate
i have two aircon units that are identical and I am trying to add both of them and can only get one unit to work I have been trying add unit multiple times and does not seem to be working both codes work separately but when I paste both in like that only second unit works
from my config file
climate:
platform: smartir
name: Rhys Aircon
unique_id: rhys_ac
device_code: 1400
controller_data: remote.rhys_ir
temperature_sensor: sensor.0x286d9700010362d6_temperature
humidity_sensor: sensor.loung_room_temp_humidity

platform: smartir
name: Kathryn Aircon
unique_id: Kathryn_ac
device_code: 1400
controller_data: remote.broadlink_remote
temperature_sensor: sensor.loung_room_temp_temperature
humidity_sensor: sensor.loung_room_temp_humidity

cant find a log to submit

Closing issues as invalid as disregarding issue policy:

no debug log was provided
no detailed description of the fault and/or expected behavior provided.

Hi Mate
The Device shows up as This entity is no longer being provided by the smartir integration. If the entity is no longer in use, delete it in settings. so second device is not working where are your logs located then. when I add both device in config.yaml only one device is active if I cut out working device out off the config.yaml file the other device starts working

Enable SmartIR debug log level as show int he issue template
Restart HA
Attach HA logs to this issue.

Those log should contains also logs from the registrations of the entity which should be helpful to analyze issue. If you submit those I would reopen issue. Otherwise it will stay closed - it is up to you.

I have sorted it thanks anyway mate


Pipeline should update the examples

First try
Description
Include a summary of this pull request
New dependencies: (Added to requirements_*.txt)
Fixes # (potential issues that are fixed by this PR)
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue -> bump patch)
[ ] New feature (non-breaking change which adds functionality -> bump minor version)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected -> bump major version)
[x] Documentation Update

Checklist

[ ] I have added tests that prove that my fix/feature works
[ ] Linters pass locally and I have followed PEP8 code style
[ ] New and existing tests pass locally
[ ] I have updated the documentation if needed
[ ] I have commented hard-to-understand areas in the code

Requirements

[ ] I have updated the MVG version

Closing this as this PR was treated as a playground for learning how to push changes to a PR from GitHub Actions


Fix Blank Average Distance and Slight Profile Refactor

Fixed issue #143 by adding check to counts['avg_distance'] which sets the value to 0.00 if it is None
Made a new helper function _build_counts_dict to clean up profile logic
fixed bug in templates/profile.html where statistics for Reddit Stories were erroneously showing values that corresponded to all playlists

Made a new helper function _build_counts_dict to clean up profile logic

Much needed, awesome stuff.

Changed default for average distance profile metric to show N/A when no games played instead of 0.00

LGTM


docs: Add quotes around $default route

The route variable needs to be a string otherwise you get ReferenceError: $default is not defined.

Thanks!


F2calv/2024 09 more updates

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 29.565%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
98

Relevant Lines:
324

💛  - Coveralls


check for nil failed in callback

https://play.crystal-lang.org/#/r/qpi
y already should be not nil.

Not necessarily. Couldn't y be modified before you call the callback?

This is something to improve in the compiler, it could notice that y is never modified.

But right now every closured variable is considered like it could be modified.
The solution/workaround is to assign y to another variable inside the closure, and then use that one.


Detailed guide on DIDComm messaging for edge device registration and …

…OOB message exchange.

@Tekum-Emmanuella Please can you give a description to this issue


[Analysis Request]: Game Development Analysis (Hacktoberfest '23)

📝 Description
Describe the dataset and analysis requirements here:
A machine learning project in game development involves using algorithms and data analysis to enhance the gaming experience. It can include player behavior prediction, dynamic content generation, and optimizing in-game mechanics. By leveraging ML techniques, developers can create more immersive and personalized games, improve player engagement, and make data-driven decisions for game design and marketing strategies.
📊 Dataset Details
Dataset details here:
The dataset for the machine learning project on game development analysis comprises extensive information related to video games. It includes game titles, genres, release dates, sales figures, user reviews, and critical ratings. This dataset is valuable for analyzing gaming trends, identifying successful game attributes, and making data-driven decisions in the game development industry.
📈 Analysis Type
hacktoberfest
📂 Upload Dataset Files
game.csv
⏰ Deadline (if applicable)
No response
I agree to and respect the Code of Conduct

[X] I will also follow CONTRIBUTING GUIDELINES

Hello, @sujanrupu! Thanks for opening this issue!

Hi, I would like to contribute to this issue.
Can you please assign this issue to me?

Goodbye, @Kavyashah26! Thanks for your contributions and for closing this issue. If you have more questions or encounter other issues, feel free to reach out!

@AadeshKabra
"Hey there! 🌟 Thanks for diving into this issue! However, @sujanrupu has already worked their magic on it. 🚀 Huge shoutout to them! 🎉
But hey, don't let that stop you! We'd love to see your skills in action. How about we roll out the red carpet for a new issue? Feel free to raise another one, and let's keep this collaboration going strong! 💪💻


fix(rating): add useId as key for each RatingIcon

What is it?

[ ] Feature / enhancement
[x] Bug
[ ] Docs / tests

Description
I noticed the RatingIcon component did not have any key property (this was also logged in console)
2:54:54 PM [vite] page reload /Users/leonardo/PersProgetti/qwik-ui/packages/headless/src/components/rating/rating.tsx
QWIK ERROR JSXError: Multiple JSX sibling nodes with the same key.
This is likely caused by missing a custom key in a for loop
    at eval (/src/rating_component_qsamuiuvsow.js:45:56)
    at Array.map (<anonymous>)
    at Rating_component_QSAMuIUvsOw (/src/rating_component_qsamuiuvsow.js:43:45)
    at async Promise.all (index 0)
    at async Promise.all (index 1)
    at async Promise.all (index 1)
    at async Promise.all (index 1)
    at async Promise.all (index 1)
    at async Promise.all (index 1)
    at async Promise.all (index 0)

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

I have read the CLA Document and I hereby sign the CLA

Thanks for your help 😄

@all-contributors please add @Balastrong for code, bug


achieve the paper Attention Is All You Need's position encoding

as the paper Attention Is All You Need (https://arxiv.org/pdf/1706.03762.pdf) described, the position encoding was using sine and cosine function alternatively depending on the position's odevity. but the achievement in tensor2tensor just concated the sine and cosine which i think not right.

@googlebot I signed it!

see #177 and read the discussion
I would suggest to keep the code as is, just add there an explanatory comment to prevent future PRs on this issue.

sorry i have not notice the issue talked before, thank you for reminding. As is fully talked and decided , i agree with you and later @afrozenator . And i'm not a native english speaker, i think it's better you commit the comment change in code. thanks!


3D segmentation training cv2 warpAffine error

Hi Guys
Firstly, thanks for this great software. I've been experimenting and playing around with for segmentation of 2D and 3D images. With 3D images, I would like to train using the pretrained model: cyto. My training and test images are single-channel 16-bit tiff stacks, dimensions: 65x600x600 ((Z x ) Ly x Lx ).
Currently, I have 3 training stacks and 1 test stack with training images labelled with "_img" at the end and masks as "_masks".
I used the command:
python -m cellpose --train --dir C:\cellpose\training\ --test_dir C:\cellpose\test\ --img_filter img --pretrained_model cyto --chan 0 --chan2 0 --use_gpu --do_3D --mask_filter masks
It terminates with the following error:

using GPU
training starting with pretrained_model C:\Users\Pradeep.cellpose\models\cyto_0
rescaling diameter for each training image to 30.5
NOTE: test data not provided OR labels incorrect OR not same number of channels as train data
flows precomputed
training network with 2 channel input <<<<
saving every 100 epochs
median diameter = 27
LR: 0.20000, batch_size: 8, weight_decay: 0.00001
ntrain = 3
(2, 65, 600, 600)
Traceback (most recent call last):
File "C:\Users\Pradeep\Anaconda3\envs\cellpose\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\Pradeep\Anaconda3\envs\cellpose\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Pradeep\Anaconda3\envs\cellpose\lib\site-packages\cellpose_main.py", line 226, in
channels=channels, save_path=os.path.realpath(args.dir), rescale=rescale)
File "C:\Users\Pradeep\Anaconda3\envs\cellpose\lib\site-packages\cellpose\models.py", line 674, in train
rescale=rsc, scale_range=scale_range)
File "C:\Users\Pradeep\Anaconda3\envs\cellpose\lib\site-packages\cellpose\transforms.py", line 465, in random_rotate_and_resize
imgi[n,k] = cv2.warpAffine(img[k], M, (xy[0],xy[1]), flags=cv2.INTER_LINEAR)
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\imgwarp.cpp:2594: error: (-215:Assertion failed) src.cols > 0 && src.rows > 0 in function 'cv::warpAffine'

I am not sure why I am getting this warning either:

test data not provided OR labels incorrect OR not same number of channels as train data

as the test data images are in the C:\cellpose\test\ folder and have the same no of channels as training data.
An additional point, I am using grayscale images exported from ImageJ/FIJI and when reading these images into python using imread, their shape was reported to be 65x600x600 instead of 65x600x600x1 i.e., it was missing the channel component. So, I wrote a quick script to add the channel component and resave the images:
np.expand_dims(img, axis=-1)
Not sure if this is the reason why I get these errors.

For 3D images, you do not train on 3D data, in fact you train on 2D data. The cellpose model runs on XY, XZ, and YZ 2D slices and then combines them to create a 3D prediction. Therefore to improve 3D performance you want to take 2D slices from your 3D labelled data. The advantage of this approach means that you don't need to use 3D training data.
I am going to close this issue for now but please comment if you're having problems with this.

Thanks @carsen-stringer for the reply.
Apologies, I thought that during the training process it converted them into the appropriate slices for training.
How do you recommend I structure the data in the training and test folder for a 3D dataset? Do I just have the XY, XZ and YZ slices as separate images in the test folder with corresponding masks? Is there anything else I need to be mindful of, i.e, labels of mask being the same across all images (which will be the case anyway) etc?


feat: single node quorum

Notes for reviewers

It depends on #6431, #6430 (these changes are included to this PR)
this PR is draft, because I am going to tidy-up code a bit, but I am looking for Concept Review
known issues: instead random key for each quorum it is used operator-key. I got difficulties to make it working and decided to exclude from scope of this PR.

Issue being fixed or feature implemented
Development for platform requires currently to have running 4 Dash Core instances: wallet and at least 3 Evo Nodes which forms quorum.
This issue has been partially addressed https://github.com/dashpay/dash/pull/6261 to let use only 2 Evo Nodes. Though, it still requires all DKG steps, heavy network communication and various instability.
What was done?
This PR introduced new type of quorum "Single Node Quorum" with name llmq_1_100 and id=111 for Regtest.
This quorum needs just one node to be formed.
While regular quorum with several nodes 7 steps of creation (Initialization, Contribution, Complaining, Justification, Commitment, Finalization, Mining) this type of quorum just from Initialization straight to the Finalization.
The signing process with this quorum is also simplified. So far as regular quorum requires to sign multiple shares, for single node quorum the messages are signed immediately by just one node.
How Has This Been Tested?
See a new functional test feature_llmq_singlenode.py
Also some other tests required changes, they are presented in prior commits
Breaking Changes
It introduces new quorum for Reg Test.
Checklist:

[ ] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone

Guix Automation has began to build this PR tagged as v22.1.0-devpr6437.52f567c8. A new comment will be made when the image is pushed.

Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v22.1.0-devpr6437.52f567c8. The image should be on dockerhub soon.

Please open a PR to update https://github.com/dashpay/dips/blob/master/dip-0006/llmq-types.md when this PR is merged

Guix Automation has began to build this PR tagged as v22.1.0-devpr6437.62360a30. A new comment will be made when the image is pushed.

Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v22.1.0-devpr6437.62360a30. The image should be on dockerhub soon.

Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v22.1.0-devpr6437.f0e7eb57. The image should be on dockerhub soon.

Guix Automation has began to build this PR tagged as v22.1.0-devpr6437.24e7f564. A new comment will be made when the image is pushed.

Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v22.1.0-devpr6437.24e7f564. The image should be on dockerhub soon.

Guix Automation has began to build this PR tagged as v22.1.0-devpr6437.c09090bf. A new comment will be made when the image is pushed.

Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v22.1.0-devpr6437.c09090bf. The image should be on dockerhub soon.


SA1013 should not fire for anonymous classes in indexers

myHashTable[new { xID = x.ID, yID = y.ID }];

...reports "Closing curly bracket must be followed by a space."

This should be an easy fix. Im looking into it.

Welcome to the project @hakenr!


feat: In app review

This feature allows the user to rate the app on the App Store/Google Play/other stores based on URI (F-Droid for example)
Like the scanner, we have multiple dependencies and we selected the right one according to the output.
Will fix #1299

(Feel free to change the content of the dialog)

Codecov Report

Merging #3333 (b23105a) into develop (b0b52c5) will increase coverage by 0.00%.
The diff coverage is 18.75%.

@@           Coverage Diff            @@
##           develop    #3333   +/-   ##
========================================
  Coverage    10.48%   10.49%
========================================
  Files          251      254    +3
  Lines        12322    12352   +30
========================================
+ Hits          1292     1296    +4
- Misses       11030    11056   +26

Impacted Files
Coverage Δ

...s/smooth_app/lib/data_models/user_preferences.dart
13.67% <0.00%> (-0.62%)
:arrow_down:

...ooth_app/lib/pages/user_management/login_page.dart
57.34% <0.00%> (-9.88%)
:arrow_down:

..._app/lib/services/app_store/app_store_service.dart
20.00% <20.00%> (ø)

packages/smooth_app/lib/main.dart
14.52% <50.00%> (ø)

...kages/smooth_app/lib/services/smooth_services.dart
83.33% <75.00%> (-5.56%)
:arrow_down:

packages/smooth_app/lib/pages/image_crop_page.dart
1.38% <0.00%> (-0.26%)
:arrow_down:

...s/smooth_app/lib/helpers/product_cards_helper.dart
0.00% <0.00%> (ø)

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (ø)

...ooth_app/lib/background/background_task_image.dart
0.00% <0.00%> (ø)

...ooth_app/lib/pages/hunger_games/question_card.dart
0.00% <0.00%> (ø)

... and 12 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

[ ] Can we bind the review form as a translatable string in case the user says No ?
[ ] Can we show this prompt to logged in users first ?
[ ] Can we have a remote kill switch by platform so that we can decide to stop showing it if a given release is buggy (eg the current one with the black screen)

[ ]  Can we bind the review form as a translatable string in case the user says No ?

There's no review form now, am I right?
What would it look like?

[ ]  Can we show this prompt to logged in users first ?

Right now, it's only when the user logs in.
If you want another trigger, please describe what you want ;)

[ ]  Can we have a remote kill switch by platform so that we can decide to stop showing it if a given release is buggy (eg the current one with the black screen)

We need a tool for that

https://forms.gle/AuNZG6fXyAPqN5tL7",
"message" : "📢 We'd like your feedback about the new app"
"https://forms.gle/vCurhD2Y3ewS1YPv5",
"message" : "📢 Wir freuen uns über Ihr Feedback zur neuen App"
"https://forms.gle/CSMmuzR8i4LJBjbM9",
"message" : "📢 Nos gustaría recibir tu opinión sobre la nueva aplicación"
"https://forms.gle/cTR4wqGmW7pGUiaBA",
"message" : "📢 Nous aimerions connaître votre avis sur la nouvelle application"
"https://forms.gle/9HcCLFznym1ByQgB6",
"message" : "📢 Ci piacerebbe il tuo feedback sulla nuova app"

forms.gle/AuNZG6fXyAPqN5tL7", "message" : "📢 We'd like your feedback about the new app" "forms.gle/vCurhD2Y3ewS1YPv5", "message" : "📢 Wir freuen uns über Ihr Feedback zur neuen App" "forms.gle/CSMmuzR8i4LJBjbM9", "message" : "📢 Nos gustaría recibir tu opinión sobre la nueva aplicación" "forms.gle/cTR4wqGmW7pGUiaBA", "message" : "📢 Nous aimerions connaître votre avis sur la nouvelle application" "forms.gle/9HcCLFznym1ByQgB6", "message" : "📢 Ci piacerebbe il tuo feedback sulla nuova app"

Ok, so we need a tool to store it.
The easiest way is to use this repo or another dedicated Git to have this kind of information.
Or a better way: a Firebase Remote Config-like tool.
Since this is another development, I think having a dedicated issue would be better

We need a extra screen to avoid negative reviews: Do you like the app ? Yes > Rating No > Form/Email

We need a extra screen to avoid negative reviews: Do you like the app ? Yes > Rating No > Form/Email

cf. https://github.com/openfoodfacts/smooth-app/issues/1299#issuecomment-1075195778

My suggestion for the first dialog: "Enjoying this app?"

Yes!
Not really
Ask me later
Don't ask again

How compatible would that be with in_app_review? I don't know.

We can use the Store dialog only if it's a yes.
But where should we store the other kind of feedback?

We can use the Store dialog only if it's a yes.
But where should we store the other kind of feedback?

Locally:

I like the app, and I want to rate it => rate
I like the app, but no thanks no rating => local flag
I don't like the app, and I want to tell you why => email
I don't like the app, and not thanks no email => local flag
ask me later => local timestamp
never ask me again => local flag

Maybe let's the question otherwise.
Is-it OK for this first implementation and add the other features in another PR?
Or should we discuss first? (In that case I will then make this PR a draft)

My personal opinion: the priority is to avoid bad ratings, so I would discuss it first before giving angry users an easy access to ratings.
That said, this is not my own app.

I would say we can merge if we already have the logged in criteria

And we can keep the form redirect to a subsequent PR. The absolute priority right now is packaging.

Merging the rating system. Thank you so much @g123k


SPEC mentions SIGTERM in the intro and never again

Example specifically mentions SIGTERM, but doesn't indicate if that is configurable or not (e.g. before it said "based on user input...").  This SIGTERM is not mentioned anywhere else.  Needs explanation or purge.  Signals should be a last-resort for, well, signalling.

Let's address this via #188


PGP Signature INVALID - for Version 3.0

10:05:27 [ERROR] org.htmlunit:htmlunit:pom:3.0.0 PGP Signature INVALID
10:05:27        KeyId: 0x5E7D42F58249A287BD7384DA25A73BFC746E1035 UserIds: [Ronald Brill (wetator<EMAIL_ADDRESS>

seems to be a problem on the ci server - disabled the step for the moment

problem is gone

Hi @rbri
I tried to refresh 0x5E7D42F58249A287BD7384DA25A73BFC746E1035 from
hkp://keyserver.ubuntu.com/ and hkp://pgp.surfnet.nl, with no success.
The key I currently have in my ring expired 2023-04-10.
I failed to find KEYS or equivalent on https://htmlunit.sourceforge.io/index.html.
It seems that the key is used to sign Maven Central artifacts of htmlunit:
gpg: assuming signed data in 'org/htmlunit/htmlunit/4.4.0/htmlunit-4.4.0.jar'
gpg: Signature made Sun 28 Jul 2024 10:43:42 CEST
gpg:                using RSA key 5E7D42F58249A287BD7384DA25A73BFC746E1035
gpg: Good signature from "Ronald Brill (wetator) ..." [expired]
gpg: Note: This key has expired!

Thus I suppose its validity date was changed locally. Perhaps the key/signature was not distributed to servers.
Given that - may I ask to publish an updated key, please?


Add block_list Option to set HTTP status for blocked flows/urls

Description
This PR brings in a block_list Option that allows an HTTP status to be set for items on the blocklist. There are several cases where this can be handy, often around automated tests and performance measurement.

Avoid overwhelming 3rd party websites and components that would usually be loaded by a page
Avoid polluting analytics data with automated traffic
Block ad networks or other traffic. If it is an ad network used by your own website, displaying ads to bots ruins your pricing/quality scores
Quickly block image loads  block_list: [:~d  browserup.com & ~u png:200] so save bandwidth, etc.
Quickly stub an ajax request to avoid a 404 that triggers a JS error callback

I modeled the PR after map_local.  I couldn't figure out how to get flake8 to run, though.
Checklist

[ x] I have updated tests where applicable.
[ x] I have added an entry to the CHANGELOG.

1 - You're not missing anything, I hadn't considered that a filter with an & could get the same job done as a secondary regexp filter but also be more powerful.
2 - Good idea.
3 - I thought about it, but didn't know what the criteria was for when something merited a new section. Will do.
4 - Great!

In the latest version:

added allow-only block type for restrictive blocking
removed the regexp business
added HTTP 444 status to the master list of response codes (even though it doesn't get sent, technically)
added validation that checks the response code is real
added special-case 444 status code and notes on it
added overview for blocking
fix flake issues

Updated per feedback. Re: the allow list, I had been thinking in terms of negating the regexps allowed in filter expressions (which would be ugly), but hadn't stopped to consider whether negating the filter was a thing. This is nicer all-around.

@mhils  I feel like this is almost ready, but I'd like to add a flag to indicate a request was blocked by the blocklist. I'm not sure where this should go exactly--on flow, probably? The purpose is to allow other addons to identify requests that were stopped by the blocklist, as opposed to those that completed normally--for example, if you are creating a HAR you might not want these in your stats.

Ok, added it in metadata. This is what I have for now. If there is more feedback, just let me know.


[incubator/zookeeper] Add Prometheus Operator support

What this PR does / why we need it:
Adds Prometheus Operator support to the existing exporter sidecar containers. More or less copied from incubator/kafka (and verified working in my environment).
Special notes for your reviewer:
Only backwards-incompatible change is the removal of the option to add multiple ports to the exporters, which I really can't see anyone using and adds complexity.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md (no existing variables in README, should be addressed separately)
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/assign @kow3ns
/assign @lachie83

Multiple PR: #12902 and #12672

Is anyone who can review this PR or review previous PRs: #12902 and #12672
@lachie83 any change that we merge it?

/assigned kow3ns

/assign kow3ns

I've just LGTMd https://github.com/helm/charts/pull/12672. Once that merges is this one still relevant and are there changes that need to be taken into consideration?

@lachie83 This includes support for PrometheusRules for alerting. I'll make a new version based on the PR that's been merged already if nobody else has done so.


allow for running a single functional test

Feature Request
Feature description :
when running the functional tests, there is a lot of output. the ability to run a specific test would reduce noise and shorten runtime.
Suggested Solution description ( if you have any ) :
use the 1st argument given to run_functional_tests.py as the name of the directory (relatively to tests/functional/) of the to be run test.
Describe alternatives you've considered :
none.
Additional context :

closed with eerkunt/terraform-compliance#213


Fix/1886 print error for bad kubeconfig

Issue #, if available: #1886
Description of changes:
When passing an invalid kubeconfig file into --kubeconfig of eksa executable a panic is thrown. We should print out a proper error message instead of throwing a panic.
Testing (if applicable):
Manual test.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cc @vignesh-goutham @maxdrib


add current data context label on main

to give an instant view of the current dataset selected

done.
Added in the status bar

done.
Added in the status bar


How do I parse what should be the graph-level logits?

❓ Questions & Help
I have a graph and I am running it through a couple of GCNConvs in order to have my policy take an action on that graph. In order to do this, I am producing, for each batch, a Batch.from_data_list([Data(edge_index=torch.tensor(<...>), x=torch.tensor(<...>))]). In other words, I create a list of geometric.data.Data graphs and feed that to geometric.data.Batch in order to coalesce it into a single entity to go through the network.
On the other side of this, I get logits that are of the size [Total number of nodes in all entries in the batch, num_output]. Consequently it appears that these are logits for every node in each graph whereas my ideal would be a single set of logits for the entire graph.
What is the common approach at this point in the GNN literature in order to get a graph level result? Is it common to now aggregate the logits for each graph? Or is there another approach that's better suited for this structure?
Thanks.

Ok, I found this: https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.glob.global_mean_pool. Seems like these pooling approaches are still the best approach.

Ok, I found this: https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.glob.global_mean_pool. Seems like these pooling approaches are still the best approach.


Add plungepool wiki

Adding my new wiki for consideration, webring icon is in the footer: https://wiki.plungepool.dev
I've been a reader and fan of the xxiivv wiki for a couple years now and always really wanted to create something like that for myself, hopefully it is acceptable in its current state. I have about 15 content pages so far not including the organizational "hub" pages that are lists of links to other pages. I wrote a simple custom static site generator to manage the site which can be found here - https://github.com/plungepool/wiki-dot-plungepool-dot-dev

Very nice wiki! Welcome to the webring :)
PS. You should reduce the image sizes, and compress them for web, this was brutal to load.

Thanks!! And thanks for the heads-up, I will work on that asap and maybe find some way to automate that.


Public portal down?

See screenshot below:

Error details:
description: "Too many requests. Please look at the "X-Usage-Limit-Wait" header for the time to wait for an other call"

thanks @afaulconbridge . Is there a link to the PR that fixes this? I have this issue locally and am wondering whether I could cherry-pick the fix.


bug: potential bug for quizzes on Arweave 101 lesson 2

We have had this report from the AR.IO team. I haven't had time to validate this yet but sharing so we can look into it.
@wolovim was away over the weekend so unsure if he's had the time. @kay-is would you mind checking the questions to see if there is an issue?

@kempsterrrr I reviewed the questions and quiz from Arweave 101 Lesson 2 and couldn't find any inconsistencies.

Thanks @kay-is - I will push back to see if we can get more detail. If not, we can close it.

It could be an issue with differing implementations for quizzes and questions.
I think, someone like @Markkos89 is better suited to check if that's the case.

I'm not exactly sure. What it sounds like the user is suggesting is the quiz answers in the check point quizzes didn't match the answers in the final quiz. @kay-is checked the data and looked ok so wondering if it could be a code issue maybe?
If we can't recreate it we can go back and ask for more info.

It's easy, go back to them for more information asap because we are only guessing based on a single sentence from a screenshot :laughing:
It's easy because If it's a code issue it should be happening in all checkpoint quizzes and in all quizzes because all the lessons use the same component with the same logic and the same format for the question .json and quiz .json files. Super easy.
Whenever you have more information let me know

A little more context, I have aksed the AR.IO team to connect us with the user:

HI - It is perfectly possible that I may be failing the quiz repeatedly because I do not completely understand what I am reading, or something like that. After attempting the quiz (open book with the article open in a separate browser), I opened the test quiz in a separate browser to push correct answers to the main quiz so I could move forward.
I still couldn't get better than 5 incorrect answers.
So I was wondering if there is possibly an error with the quiz.

If the quiz is working properly, I truly apologize for wasting your time.

Hi @markmakerxyz Thank you a lot for reaching to us with this.
I just tested the Final Quiz of the Lesson 2 of the Arweave-101 track and it's working as expected:

There is nothing to apologize mate, thanks again for bringing your issue to us :raised_hands:
If there is something else we can help you out don't hesitate to let us know :wink:

Yikes - thanks for looking into it :)

i will reach out to @almostgreat to do that

thanks chaps 🫡


Clipboard Issue

i have import {Clipboard} from 'react-native'
import { WebView } from "react-native-webview";
Clipboard.getString() not working (App crashing) on some android version like 8.0 or 8.1 while coping something from Webview and device google chrome version is not updated.
While i update chrome to latest version then Clipboard.getString() is working fine.
React Native version:
0.61.5
React Native Webview version:
8.0.1

Thanks

Can anyone help me on this? I am still waiting for a solution

Hi Prantik, you can file WebView related issues to: https://github.com/react-native-community/react-native-webview