j2objc 1.0.1's IOSClass_forName_() does not handle full class names.

Is this an expected change?
My stack trace goes into: IOSClass_forName_("ComMyCompanyMyClass$InnerClass")
Then its
int classCount = objc_getClassList(NULL, 0) gives me 1xK classes.
I print out their names, but their names are like:
MCMyClass$InnerClass
So obviously the regular expression couldn't match that class.
Can you tell me if IOSClass_forName_ is designed to work with the long form names or not?
If it is designed not work with such, then I could trace more on why my (originally working) reflect objects are feeding the full name to IOSClass_forName_. The preliminary results shows that when I use javaLangReflect
#1  0x00000001005eeab8 in IOSClass_forName_ ()
#2  0x00000001005de948 in -[LibcoreReflectParameterizedTypeImpl getRawType] ()
#3  0x00000001005dea00 in -[LibcoreReflectParameterizedTypeImpl getResolvedType] ()
#4  0x00000001005de01c in LibcoreReflectListOfTypes_resolveTypesWithJavaUtilList_ ()
#5  0x00000001005ddf20 in -[LibcoreReflectListOfTypes getResolvedTypes] ()
#6  0x00000001005df884 in LibcoreReflectTypes_getTypeArray_clone_ ()
#7  0x00000001005fa7c8 in -[ExecutableMember getParameterTypes] ()
#8  0x00000001004fdb2c in -[JavaLangReflectProxy forwardInvocation:] ()
#9  0x0000000182eb13e8 in ___forwarding___ ()
#10 0x0000000182db568c in _CF_forwarding_prep_0 ()

The forwarding was due to an invocation to a proxy created in this way:
Proxy.newProxyInstance(
myProxyClass.class.getClassLoader(),
anObjectThatHasSomeConcreteMethods.getClass().getInterfaces(),
anInstanceOfMyProxyClass);
I know I may have been messy above. Or I should say I'm not even sure at which direction I should provide more information to. But a response of the above doubt would help me move forward a lot.
Btw, this bug does not reproduce in j2objc <IP_ADDRESS>.1
Thanks a lot!

If you want to lookup prefixed class names, then the j2objc runtime needs
to know how you defined them:
http://j2objc.org/docs/Package-Prefixes.html#prefixed-classes-at-runtime
On Wed, Mar 2, 2016 at 4:44 AM eddydas<EMAIL_ADDRESS>wrote:

Is this an expected change?
My stack trace goes into:
IOSClass_forName_("ComMyCompanyMyClass$InnerClass")
Then its
int classCount = objc_getClassList(NULL, 0) gives me 1xK classes.
I print out their names, but their names are like:
MCMyClass$InnerClass
So obviously the regular expression couldn't match that class.
Can you tell me if IOSClass_forName_ is designed to work with the long
form names or not?
If it is designed not work with such, then I could trace more on why my
(originally working) reflect objects are feeding the full name to
IOSClass_forName_. The preliminary results shows that when I use
javaLangReflect
#1  0x00000001005eeab8 in IOSClass_forName_ ()
#2  0x00000001005de948 in -[LibcoreReflectParameterizedTypeImpl getRawType] ()
#3  0x00000001005dea00 in -[LibcoreReflectParameterizedTypeImpl getResolvedType] ()
#4  0x00000001005de01c in LibcoreReflectListOfTypes_resolveTypesWithJavaUtilList_ ()
#5  0x00000001005ddf20 in -[LibcoreReflectListOfTypes getResolvedTypes] ()
#6  0x00000001005df884 in LibcoreReflectTypes_getTypeArray_clone_ ()
#7  0x00000001005fa7c8 in -[ExecutableMember getParameterTypes] ()
#8  0x00000001004fdb2c in -[JavaLangReflectProxy forwardInvocation:] ()
#9  0x0000000182eb13e8 in forwarding ()
#10 0x0000000182db568c in _CF_forwarding_prep_0 ()
The forwarding was due to an invocation to a proxy created in this way:
Proxy.newProxyInstance(
myProxyClass.class.getClassLoader(),
anObjectThatHasSomeConcreteMethods.getClass().getInterfaces(),
anInstanceOfMyProxyClass);
I know I may have been messy above. Or I should say I'm not even sure at
which direction I should provide more information to. But a response of the
above doubt would help me move forward a lot.
Btw, this bug does not reproduce in j2objc <IP_ADDRESS>.1
Thanks a lot!
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/719.

I see. Turns out in ClassLoader.m,
- (JavaNetURL *)findResourceWithNSString:(NSString *)name {
  if (!name) {
    return nil;
  }
  NSBundle *bundle = [NSBundle mainBundle];
  NSURL *nativeURL = [bundle URLForResource:name withExtension:nil];
  return nativeURL ? JavaNetNetFactory_newURLWithNSString_([nativeURL description]) : nil;
}

So if I built the j2objc codes inside a Framework, and have that prefixes.properties inside that Framework, the code won't be able to load it.
How about using [NSBundle bundleForClass:[self class]] ?

Try it and send a pull request with a unit test if it works.
On Wed, Mar 2, 2016 at 11:15 PM eddydas<EMAIL_ADDRESS>wrote:

I see. Turns out in ClassLoader.m,

(JavaNetURL *)findResourceWithNSString:(NSString *)name {
if (!name) {
return nil;
}
NSBundle *bundle = [NSBundle mainBundle];
NSURL *nativeURL = [bundle URLForResource:name withExtension:nil];
return nativeURL ? JavaNetNetFactory_newURLWithNSString_([nativeURL description]) : nil;
}

So if I built the j2objc codes inside a Framework, and have that
prefixes.properties inside that Framework, the code won't be able to load
it.
How about using [NSBundle bundleForClass:[self class]] ?
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/719#issuecomment-191621752.

No response.


Shutdown screen look refresh

Font size for message is way to big. It changed from the current testnet release.

@vomcent - we need a nicer look for this.

When local node is running. We should add info to this screen that the node is being shut down.
When local node is not running the should quit very quickly and there's no need for this animation modal.


upgrade to dbuild 0.9.4

we had held back over concerns with +=, but since 50544fd that is
no longer an issue

test run: https://scala-ci.typesafe.com/job/scala-2.11.x-jdk8-integrate-community-build/106/consoleFull

@cunei @eed3si9n it might interest you both to know that we're using dbuild 0.9.4 now — to be on the same page with y'all and with RP


[BUG] The website looks kind of disorganized

A part of the website looks kind of disorganized.
I think it should be fixed.
At least on my screen, it looks like this.

Thanks! will add it to my backlogs

Awesome! Let me know if you need any help! 😄


ScrubMachineName seems to get mixed up with ScrubUserName

Describe the bug
In the Sentry .NET SDK repo, I opened a PR to change the GHA runner from ubuntu-latest to ubuntu-latest-4-cores.
A verify test on the Serilog tests fails (but not the other Integration tests):
-             ServerName: TheMachineName,
+             ServerName: TheUserName,

THe ServerName Scrubber: https://github.com/getsentry/sentry-dotnet/blob/edd0be43dc5d11f81dea765fca6aafdbad37a6f1/test/Sentry.Testing/VerifyExtensions.cs#L12C14-L12C30
Seems like that got mixed with the scrubber for UserName:
https://github.com/VerifyTests/Verify/blob/752a4c27e876bdb4586c6d90cf36e509f833145b/src/Verify/Serialization/Scrubbers/Scrubbers.cs#L14
No code change was done (as the diff shows), only the GHA runner changed.
We call the ignore code here:
https://github.com/getsentry/sentry-dotnet/blob/edd0be43dc5d11f81dea765fca6aafdbad37a6f1/test/Sentry.Serilog.Tests/IntegrationTests.verify.cs#L61C14-L61C41
Minimal Repro
Diff
Submit a PR that fixes the bug
Sorry I dunno what might be going on. Any insight appreciated.

thats a weird one. what do we get if the server and user name are not scrubbed?

thats a weird one. what do we get if the server and user name are not scrubbed?

Not sure. I see you made a PR , thank you! Do you still need an answer for this? If so I can look it up

Possibly related:
https://github.com/getsentry/sentry-unreal/pull/658#issuecomment-2418655134


Do not rely on inference behavior for Scalar::from_* and Point::from_*

rust-lang/rust#110100 changes the inference behavior of the rust compiler subtly, which breaks the compilation of your crate.
I attempted to remediate this by providing additional type hints to the compiler, but I'm not actually sure about these choices of Secret (or if they should be Public) since I know nothing about cryptography.

Thanks for informing me of this!

@compiler-errors would you mind checking that the changes I've made to this PR still compile with https://github.com/rust-lang/rust/pull/110100? Cheers.

Whoops, @LLFourn yes I tested and these new changes work fine.


Add missing link for ASimAuthenticationEventLogs

This PR adds the missing documentation link for ASimAuthenticationEventLogs in the relevant section of the article.

Looks good. Thanks @yusufozturk

@ShannonLeavitt It's a pleasure to help! :) Our team is working on Microsoft Sentinel integrations, so most of our time is spent in these documents. I'll submit more PRs if I find anything else.


Starter and Updater App

Instead to start Finalministry through a *.bat script, try to write a little Swing application with following functionality:

Show if Server is started
Start Server Button
Open page in browser only if server was successfully started
Close Server Button
Check for updates
Update by downloading and installing the update files (with automatic backup)

Proof of concept:

a new module contains the simple swing jframe which starts/stops the SpringBoot and open the browser
Finalministry-Contacts/src/assembly/bin.xml includes the starter.jar
the start.bat calls the starter.jar instead of the SpringBoot

very good approach


Add SAMA5D2 MCAN support

Summary
SAMA5D2 devices use (using Atmel/Microchip terminology) "MCAN" peripherals unlike the SAMAD3 devices which use "CAN" peripherals. This PR ensures the correct driver is used depending on the SAMA5 chip type selected.
Derived from the pre-existing samv7 arch MCAN driver.
Impact
None expected.
Testing
On custom board with SAMA5D27C-D1G processor and 2x MCAN interfaces. CAN TX and RX to FIFO buffers tested.

Please fix this small issue:
Warning: /home/runner/work/nuttx/nuttx/nuttx/arch/arm/src/sama5/hardware/_sama5d2x_memorymap.h:383:1: warning: #include outside of 'Included Files' section

There is a very specific comment in this file that the #include is in an unusual place, and it is quite common in many such file it seems?

There is a very specific comment in this file that the #include is in an unusual place, and it is quite common in many such file it seems?

Yes, many files was in the mainline before we added the CI nxstyle test. So, please use this opportunity to fix it, this way the file will be fixed and in the future when someone modify this file will not face this CI error again.

There is a very specific comment in this file that the #include is in an unusual place, and it is quite common in many such file it seems?

Yes, many files were in the mainline before we added the CI nxstyle test. So, please use this opportunity to fix it, this way the file will be fixed and in the future when someone modify this file will not face this CI error again.

But, from the comment in the file, it is in the middle of the file for a very specific reason:
/* SAMA5 Virtual (mapped) Memory Map
 *
 * board_memorymap.h contains special mappings that are needed when a ROM
 * memory map is used.  It is included in this odd location because it
 * depends on some the virtual address definitions provided above.
 */

So...moving the #include to the usual location does risk breaking things. For that reason I don't want to do anything to it with this PR. And, as said, the same comment is in multiple files so multiple arch files would need to change possibly breaking multiple builds.
Unless there's a very obvious fix, or this is not required (now?) for reasons I am not aware of,  would it be better to raise this as an issue and have a discussion about it then fix all such arch files?

There is a very specific comment in this file that the #include is in an unusual place, and it is quite common in many such file it seems?

Yes, many files were in the mainline before we added the CI nxstyle test. So, please use this opportunity to fix it, this way the file will be fixed and in the future when someone modify this file will not face this CI error again.

But, from the comment in the file, it is in the middle of the file for a very specific reason:
/* SAMA5 Virtual (mapped) Memory Map
 *
 * board_memorymap.h contains special mappings that are needed when a ROM
 * memory map is used.  It is included in this odd location because it
 * depends on some the virtual address definitions provided above.
 */

So...moving the #include to the usual location does risk breaking things. For that reason I don't want to do anything to it with this PR. And, as said, the same comment is in multiple files so multiple arch files would need to change possibly breaking multiple builds.
Unless there's a very obvious fix, or this is not required (now?) for reasons I am not aware of, would it be better to raise this as an issue and have a discussion about it then fix all such arch files?

Ah ok, I missed this comment, sorry!


Add onSlidingStart prop on SliderProps interface in index.d.ts

Summary:
I use TypeScript to develop my react-native app. When I use onSlidingStart prop, I received a error message from transpiler, because of onSlidingStart prop definition is not contains in typings/index.d.ts.

Thanks a lot, I've missed that.

Released in 1.1.2


Diff not updating in certain circumstances

From revo:

https://decomp.me/scratch/OiJu2
Check "-g" for debug info, then switch the ret = 0; and ret = 1; lines
I think -g causes the object dump to not update

Hitting the compile button manually after doing this reveals that this is actually caused by the backend returning a 500 Internal Server Error

thanks - yeah as @mkst suggested in chat, it is indeed the diff.py issue with asserting there's only 1 text section. looking into it

related: https://github.com/simonlindholm/asm-differ/pull/66

related: https://github.com/simonlindholm/asm-differ/pull/66

Fixed


KAFKA-15988: Reuse embedded clusters across test cases in Connect OffsetsApiIntegrationTest suite

Jira
Using a similar approach to the existing ConnectorRestartApiIntegrationTest suite, embedded Kafka clusters and embedded Connect clusters that use the same worker configs are reused across test cases.
According to our Gradle Enterprise setup, this cuts the total runtime for the OffsetsApiIntegrationTest suite to less than a quarter of its current value:

Test runs for this PR average 5 minutes and 22 seconds
Test runs on trunk average 24 minutes and 22 seconds

In order to reduce possible interference across test cases, the name of the connector and the topic it interacts with for each case is derived from the name of the test case. In the same vein, overridden sink connector group IDs and source connector offsets topics are also derived from the name of the test case.
Although the diff is a few hundred lines long, it mostly boils down to these simple changes:

Replace the CONNECTOR_NAME constant with the connectorName field
Replace the TOPIC constant with the topic field
Replace hardcoded overridden sink connector consumer group IDs and source connector offsets topics with names that now include the test case
Add an internal API to reuse EmbeddedConnectCluster instances (based on their worker configs) across tests, which also reuses their underlying EmbeddedKafkaCluster instances
Add cleanup logic at the end of each test to delete the test-specific connector, and fail the test if any other leaked connectors are found

The last point does mean that we may double the number of concurrently-running embedded Kafka and Connect clusters. With local testing, this was worth the tradeoff: test runtime decreased from 6 minutes and 17 seconds to 3 minutes and 27 seconds. However, it may still be worth exploring an improvement in the future where we order tests by the kind of embedded Connect cluster they require, and bring down any currently-running embedded Connect cluster before bringing up a new one.
As a follow-up, we may also consider applying this improvement to other existing integration test suites.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Gradle Enterprise shows an over 75% reduction in the runtime for this test suite.
Test runs from this PR average 5 minutes and 22 seconds, while test runs on trunk average 24 minutes and 22 seconds.
Given that, I believe this is ready for review.
@gharris1727 @yashmayya would either of you have time to take a look?

Thanks Chris, this looks like a really nice improvement! I can review sometime later this week.

Failures appear to be unrelated, merging...


Support json_encoders in Pydantic v2

We deprecated json_encoders from Config in v2, but I'm not sure that there's a good replacement.

Due to performance overhead and implementation complexity, we have now removed support for specifying json_encoders in the model config. This functionality was originally added to achieve custom serialization logic, and we think the new serialization decorators are a better choice in most common scenarios. However, if your usage of json_encoders is not compatible with the new serialization decorators, please create a GitHub issue letting us know. See Custom data types for further details.

Firstly, this config option is not equivalent to custom data types because a custom data type would require replacing that type everywhere, adding a lot of migration friction. I've tried migrating several libraries and this is one of the trickiest bits.
Second, I don't think the performance justification is valid: if you need to run Python code to serialize that's going to be the case even with custom types. I don't see any reason why we can't add a PlainSerializerFunctionSerSchema whenever we encounter a type that matches json_encoders statically while building the CoreSchema unless there's some dynamic runtime behavior in v1 that I'm not understanding.
Selected Assignee: @dmontagu

We eventually want to support something similar for validation, perhaps allowing mapping {pd.Timestamp: CustomPdTimestampType}. I've seen json_encoders often used with arbitrary_types_allowed, allowing mapping to a custom type would be the right replacement for both.
We happen to have a serialization field for definitions so we can actually add serialization to any type without breaking references, but we can't do the same for validation in general. That is, there's no way to add a greater than 0 constraint on a type without creating a new reference. In particular, if two libraries overrode a type in this way and they were both used within one model/schema we'd have no way to differentiate them unless we create two different references. That's a hard problem that we're not ready to solve yet.

Commeting on a closed ticket but... so the support has been added back, but there's still the deprecation note.
Is there already a better solution (field specific serialization adds so much noise) or should we tolerate (or silence) the warning, and trust that reincarnation of the feature will appear in V3?


service/dap: complete step requests by skipping bps in other goroutines

Other goroutines may encounter breakpoints during a step request on
a certain goroutine. When this happens, state.NextInProgress is set
to true. If another step request is issued, then we get a "next while
nexting" error from the debugger. Instead we have two options:

skip all breakpoints and send output events to notify the user.
cancel next and notify user when the breakpoint is hit.

The terminal package implements (1), and this makes sense for dlv dap
as well because when users hit next, they are choosing to focus on a
particular goroutine. In order to get the behavior where they stop when
a breakpoint is hit, they can simply add a breakpoint to the next line,
and then run continue.

@polinasok @hyangah


Add Arithmetic Example

This example should parse arithmetic expressions, such as x + y, x * (y + z), etc.

In fact, the example already exists but needs to be updated to use the ShiftReduceParser.


[OCPCLOUD-1854]: Update k8s to 1.26

To align with the 4.13 release, k8s dependencies need to be updated to 1.26

/test unit

/approve
/lgtm

/retest

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/retest


don't use wildcard character in xcode input/output file list

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
regression from commit d25f8effde0729213d5757bb469e0ccbd7074af5. Xcode input and output can't handle wildcard characters. be explicit on the header name.
Verification
Clean build of FluentLib
Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[ ] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/fluentui-apple/runs/7660333095?check_suite_focus=true#step:5:264 listing error?

https://github.com/microsoft/fluentui-apple/runs/7660333095?check_suite_focus=true#step:5:264 linting error?

seems like a separate issue. addressing it here : https://github.com/microsoft/fluentui-apple/pull/1129


box.com NOT_FOUND during login

I have tried to use this against https://dav.box.com/dav and on entering username and password it returns:
NOT_FOUND
Using a REST client I have confirmed that the PROPFIND request against this URL with basic auth successfully returns a <d:multistatus.../> XML.
Can anyone get this to work against box.com?

@KeithWalters Thank you for the reporting. Yes, I already found this issue. So, I have just released the new bug fix version 1.0.1 to solve this issue. The diff was #7.
Probably, its new version will be deliveried to your Chromebook/box in a few minutes. Could you confirm whether this issue is fixed or not with the version 1.0.1?

Hi @yoichiro - amazing fast response.  I'll let you know once it updates and have tried it!

1.0.1 delivered, worked a charm @yoichiro - thank you!

@KeithWalters It's my pleasure.

Hello, I'm able to mount onedrive on my chromebook. But when I try to access it using the file manager I get the spinning circle forever... What's wrong?
Thanks for your efforts in making Chrome OS work with other cloud storage.
Martin


Communicating between nested Components

Hi Ben,
I have a setup like this:
## index.twig
{{ sprig('games') }}

## games.twig
## all sorts of filters but also a nested Sprig Component Class:
{{ sprig('reports') }}

Reports is doing some more advanced calculations and returning an array of entry IDs. This works fine, however, I'm having a hard time passing those back up the chain to the main component.
I've tried a few combinations of things like {'s-listen': 'reports'} / {'id': 'reports'} and s-replace etc, but without any success. Is something like this possible? Hopefully I'm just missing something simple, as I often do.
Thank you in advance for looking at this.
Edit: I found a number of similar-ish issues and even the docs on this, but they seem to be focussed on passing down data the chain, rather than up.

What's the reason for nesting here? Is it because reports should be refreshable independently of games?
If so, then the simplest way to achieve this is to use htmx.trigger as per the second approach in https://putyourlightson.com/sprig/cookbook#refreshing-components

Here's one thing I tried:
## index.twig
{{ sprig('games', {}, {'id': 'games') }}

## games.twig
{{ sprig('reports') }}

## reports.twig
{% if success is defined and success == true %}
  <script>
    htmx.trigger('#games', 'refresh');
  </script>
{% endif %}

Which seems to refresh the component but the IDs from reports aren't available in games.

You didn’t answer my question, but you’ll need to put those IDs into an input field that the outer component will then be able to access via the input field name. For example:
{{ hiddenInput('entryIds', entryIds) }}

Sorry, it looks like we commented at pretty much the same time and I missed the first reply. The hiddenInput is exactly what I needed, thanks!

What's the reason for nesting components here? Is it because reports should be refreshable independently of games?

Just to answer this for context in case others see the issue, I've just some pre-built reports that I want to apply to 'games'. Then I want to allow users to further filter those results with the main component.


How to use react-navigation on react-native-web

react navigation does not work in react-native-web.
Initially there were many compilation issues i have fixed it but page navigation does not work

I use react-navigation in my project. I just change web export entry to "lib-rn/react-navigation.js" in package.json. Everythings looks good.

Hi @ashanjayasundara! It looks like this is a general question about react-navigation. I will refer you to Stack Overflow which is better suited for answering these types of questions. I also encourage you to join the Reactiflux community on Discord. There are React Native and React Navigation channels with helpful people who might be able to answer your question. I would also like to mention that I have started collecting helpful links and tutorials for React Navigation here which might be helpful for you.
If you believe that you are experiencing a bug or have a feature request, please open a new Issue or submit a PR.

@jefferscn I have same problem
Uncaught TypeError: (0 , _reactNavigation.StackNavigator) is not a function
have do you solved it?

looks like they dont want to fix it.

@geminiyellow This is a community project. You are welcome and encouraged to open a PR to provide more web support to react navigation! 😄


Remove deprecated things

Description
This PR aims in removing all deprecated functions and macros.
See "Additional comments" below
Fix #4029
Status
IN DEVELOPMENT
Requires Backporting
NO
Additional comments
There are still unresolved issues inside marked as // TODO [TR] for #4029 in the code which need to be worked on.
E.g. the tests made by all.sh for cipher.ccm, cipher.chachapoly, cipher.gcm and cipher.nist_kw don't work as they depend on mbedtls_cipher_auth_[en|de]crypt() which are used in auth_crypt_tv(). The former now have different list of parameters and I understand work differently then I guess the latter needs to be reworked. So for now those tests are blocked to allow CI.
I decided to create the PR anyway to show what exactly the issues are to larger group of people who may help here.
So reviews with comments are appreciated.
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

Failing tests:
RC4: both enabled ...................................................... FAIL
error: SSL - The server has no ciphersuites in common with the client

and
Encrypt then MAC: client enabled, stream cipher ........................ FAIL
error: SSL - The server has no ciphersuites in common with the client

This PR removes RC4 support from TLS, tests testing explicitly RC4 should be removed as well:

Any test in ssl-opt.sh that has force_ciphersuite= followed by a ciphersuite with RC4 in it
Any RC4 option in compat.sh
References to RC4 will be obsolete in all.sh as well (as they won't be present in compat.sh anymore
The arc4 option wouldn't work anymore and should be removed from the ssl_client2.c and ssl_server2.c programs
Furthermore all references to the RC4 cipher should be removed from the SSL stack (that is ssl_tls.c, ssl_srv.c, ssl_cli.c, ssl_msg.c, ssl_ciphersuites.c)

The difference between the old and the new mbedtls_cipher_auth_encrypt() is that the old outputs the authentication tag into a separate buffer and the new appends the it to the end of the output buffer.
Similarly the old mbedtls_cipher_auth_decrypt() expects the authentication tag in a separate buffer and the new one expects it to be appended to the end of the input buffer.
The corresponding tests need to be modified accordingly.

Also, removing everything together is a pretty big change, could you please break it up into smaller commits? (Eg. all the RC4 related removals and changes could go into the same commit. The changes related to the cipher_auth functions to another one. The straightforward SSL option removals to yet another one, etc.)

Note: it seems like we failed to define the task well enough, some parts of it were already done elsewhere: https://github.com/ARMmbed/mbedtls/issues/4031 - resulting in duplicated work. I think we should wait until 4031 is completed and merged, then do #4278, then come back to this. Or actually even better, split #4029 in several tasks and execute those one by one.

I'm closing the PR since as it stands, it's conflicting with/duplicating other work (our fault, we should have defined the scope of the task better, sorry for that) and task it was addressing has been split into smaller, hopefully better-defined task, which should be each address by one PR (as Janos was already suggesting).


Or maybe something has to be fixed in openeo-processes-dask.


Use flexdatalist for AQE neighborhood search

Which, incidentally, requires a total rewrite

I've been doing a little bit of thinking on some of our data features, and i've got some additional ideas for improving AQE, including:

clickable map selection using VL
loading blank content on the page, and having neighborhood selection populate data (like on the iHVI)
Some other changes to interaction patterns and layouts that are tbd

Adding this to my list, and working on it on feature-rebuild-aqe. A few notes:

Requested updated data, at NTA2020, from CH/AQ team.
AQ team may provide additional content input (like inclusion of charbroilers?)

Rebuild plans:

Loading whole page with neighborhood-agnostic content, populated on neighborhood selection
Revising layout to accommodate the above more nicely
Using flexdatalist to drive neighborhood selection

Done and deployed :)


After Update QNAP Container Armv7 Not working

Checklist

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

Deploy method
Docker
Z-Wave JS UI version
zwavejs/zwave-js-ui:latest
ZwaveJS version
zwavejs/zwave-js-ui:latest
Describe the bug
After update not working
To Reproduce
installed zwavejs/zwave-js-ui:sha-2cde5d2
the it worked again.
Expected behavior
need to change armv7 Qnap
below code always worded till today after update
Additional context
version: "3"
services:
 zwavejs2mqtt:
    image: zwavejs/zwave-js-ui:latest
    container_name: zwave2mqtt
    restart: always
    tty: true
    stop_signal: SIGINT
    devices:
      - '/dev/ttyACM0:/dev/ttyACM0'
      - '/dev/ttyACM0:/dev/zwave'
    volumes:
     - /share/docker/zwave/store:/usr/src/app/store/
     - /share/docker/zwave:/data
    networks:
      vlan86:

    mac_address: blalalalalalalalala
    ports:
      - '8091:8091'
      - '3000:3000'
    environment:
      - PUID=502
      - PGID=100
      - SESSION_SECRET=blablalblalblalblalbla
      - TZ=Europe/Amsterdam

networks:
  vlan86:
    name: qnet-static-vlan86
    external: true

Any log?

I cannot print a log when its not able to run after install,
I just see a black screen. Or do you have a way to print a log?
And btw. a RPI is not a QNAP ;)

@mupsje Just try to show me what's the output of:
docker run --rf -it zwavejs/zwave-js-ui:latest


Intellisense not working for attributes with the presetAttributify preset

UnoCSS version
0.51.5
Describe the bug
Intellisense only seems to work with the class attribute. Is there also a way to make it work for attributified attributes?
Reproduction
This works:
<div class="navbar-center">
This is not working:
<div navbar-center>
System Info
Tailwind CSS IntelliSense v0.9.11
@unocss/preset-attributify v0.51.5
daisyui v2.51.5
@kidonng/daisyui  v2.51.3
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

UnoCSS has its own VS Code extension: https://unocss.dev/integrations/vscode


Use different test jobs for go 1.17 and 1.18 in release branches

/kind enhancement
What this PR does / why we need it:
Since gardener v1.47 we are using go 1.18.
Thus, release branches v1.47 and later should be tested with the 1.18 version of golang-test whereas previous version should continue using 1.17

/cla

/lgtm


Inno 321 fix achievement width

dependent on #346

So allot of our calculations are done on page load,  and from what I can tell this is online with bga games in general, so the whole responsive design that would be held to a standard of window resizing and the page perfectly reacting on the fly may not be easily achieved. I think we should shot for it, but incrementally. In classic bga fashion, "hit f5" when you have your page sized the way you want.

Okay that is a fair point!
Now that the other PRs are merged in, can you update this one so that I have a clean diff to review?


feat(autocomplete): add custom sort option

Remake of #116.  Also renamed sortFunction to compareFunction (Closes #115)
Proposed changes
Currently you can specify a custom "sortFunction" but this only controls which element wins in a 1v1 matchup, not how the matchups are made (Currently just uses array.sort). Adding this would allow end users to use libraries such as fuse.js to do more complex sorting and make results more accurate.
Types of changes

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

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Currently The v2-dev branch is a bit behind on some critical things (mainly jade-> pug and the GitHub actions fix). It'll be rebased onto main and then this pr will need updating I suppose. Good spot 😊

Any updates about this PR ?

Can this PR be closed?
I will start a PR for Autocomplete soon with the Data as Array.
This has to be done...

This will be obsolete with https://github.com/materializecss/materialize/pull/261
So i will close for now... Feel free to re-open


update for csv9.5.3

Tried to cherry-pick some commits from burger/csv953 for Travis.

Wow, csv9.5.3 runs significantly faster!

Nice cleanup, Bob!

Nice cleanup, Bob! I cherry-picked the other commit I missed.


[Feature Request] Add information about server build to start-dev banner

I'd like to see info about the commit hash of Server that it has been built against, if go tooling makes that possible. (From brief investigation it seemed that go list -json -m go.temporal.io/server did not contain that information when a local replace is in effect.)

In released versions, you can always get to the commit hash by going via the Server's version tag, which is printed in the output of temporal --version. Is this not sufficient?

I'd like developers who build the CLI against a local server commit to be able to discover from the CLI what commit it has been built against.

In Go you don't really get to add steps to build like this. We use the server like a library and we count on https://pkg.go.dev/go.temporal.io/server/common/headers#ServerVersion to be accurate. Technically we may be able to use https://pkg.go.dev/runtime/debug0#ReadBuildInfo to get the version of the dependency, but it'll be Go version format, which will only have what's in go.mod.

OK, so then the feature request is to make it possible for an interested developer to script their own custom build process that will produce a binary that can emit information (preferably in the startup banner) about the server commit SHA that was used in the build.

Sorry, but I'm still trying to understand why this would be helpful? To get a build on a non-released server in the first place, you have to specify the specific commit hash you want in go.mod before doing the build. So if you forget what commit you used, you need only look at go.mod and it will tell you.
I can see how having it baked into the binary itself might be useful if you keep random binaries lying around outside the source tree, but is that really a common use case? I can't think of a time I've needed to do that, myself, but maybe I'm missing something.

If a user wanted to put their own version in, I think you can have -ldflags on go build with something like -X "github.com/temporalio/cli/temporalcli.Version=v1.2.3" (this is what we have goreleaser do) but may not work for -X "go.temporal.io/server/common/headers.ServerVersion=v1.2.3" because that's a const.

Implemented in #637

To get a build on a non-released server in the first place, you have to specify the specific commit hash you want in go.mod before doing the build. So if you forget what commit you used, you need only look at go.mod and it will tell you.

Actually, that's not true: it's common to do something like
replace go.temporal.io/server => ../temporal

That's the main reason that this feature makes sense: when you do that you have no record of what commit was used.

I can see how having it baked into the binary itself might be useful if you keep random binaries lying around outside the source tree, but is that really a common use case? I can't think of a time I've needed to do that, myself, but maybe I'm missing something.

Although the above is sufficient reason, I  think it's also useful even if you have an explicit commit hash in go.mod. During development operations by Temporal engineers, it's common to use temporal server start-dev while working in many different repositories: CI/CD, SDKs, samples repos, features repo, etc. Sometimes, people need to work on a non-released server version. But in this scenario, the CLI repo is not on your mind, and it's not where your currently working. It's much more convenient to just have the server startup banner print out the server branch it was built against, than to have to switch context, cd to the CLI repo and double-check a commit hash that might be lying around in uncommitted changes to go.mod.

If a builder of the exe wanted to put their own CLI version in, I think you can have -ldflags on go build

Thanks @cretz -- I didn't see your comment until not but that's what I've done in #637.

As an one more motivation, it's common to want to compare the behavior of different binaries when debugging or investigating performance issues. While of course one can give the binaries different file names indicating how they differ, it would less error-prone to write that info into the version string to make sure there's no confusion during your experiments.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_edm1ljpili/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_edm1ljpili/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_edm1ljpili/clone/recipe/meta.yaml:29: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_edm1ljpili/clone/recipe/meta.yaml:39: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_edm1ljpili/clone/recipe/meta.yaml:39: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_edm1ljpili/clone/recipe/meta.yaml:39: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


Additional Cause when Windows Subsystem for Linux is installed

An additional cause of this error is case-sensitivity in the file system, either for the file name or path, if per directory case sensitivity is enabled, and the directories were created by the Windows Subsystem for Linux.

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

ID: d846b08f-ccc3-d619-d710-3a526e00d5bc
Version Independent ID: 11f14d2a-affb-9e33-6e76-4983389e52b1
Content: Fatal Error C1083
Content Source: docs/error-messages/compiler-errors-1/fatal-error-c1083.md
Service: unspecified
Product: visual-cpp
GitHub Login: @corob-msft
Microsoft Alias: corob

Thanks for pointing out this possibility. I'll update the error topic with an extra cause down in the "Additional causes" section for this case. It should go live in a day or so.

Content is live.

This was the exact cause of my problem. I had used Ubuntu running under WSL and rsync to download my Dev folder from my PC to my new laptop, and I could not build any project with Visual Studio 2017 under any folder inside my Dev folder.  To fix this, I had to run Windows Powershell as administrator and run the command:
fsutil.exe file setCaseSensitiveInfo d:\Dev disable
This fixed the C1083 error for me.

@tarapoto2006 thanks for reporting this. I'd like to improve documentation for this issue, but can you clarify whether the Dev folder was on WSL or on Windows?

@mikeblome The folder was created originally when I used rsync to download my Dev folder from another Windows computer which was running an SSH server on WSL Ubuntu. So the folder was on my my d drive, but it was created as /mnt/d/Dev by rsync, I didn't use Windows to create the folder.

@tarapoto2006 looking at this again I think the issue is sufficiently covered by the new text in C1083. Feel free to reopen if you disagree.


Mouse acceleration is activated by default

And the acceleration value is quite high... we should change that!

The solution seems to be

Set "Pointer threshold" to 0. As a result, the Pointer acceleration speed will be applied at all times
Adjust "Pointer acceleration" to liking

See https://askubuntu.com/a/614223. Should we try to implement this kind of settings in the installer?

I guess there is again a settings file that can simply be altered to achive this


Make sure Nomic Athena Query URLs get regenerated

Right now the [Query] url isn't correct, so lets regenerate those.

Okay.. so this was fixed by simple doing a details(recompute=True) on both the FeatureSet and underlying DataSource.


GWT/HTML5 Implementation

HI,
I got this working on Desktop and Android, but I'd love to also get it to work on GWT.
My game is cross platform, and allows direct cross platform play. And I've integrated Facebook login/register along side direct login/register to my site.
How do I make it work, the Facebook login, with HTML5?

GWT/HTML5 backend is currently not (yet) supported.

Any ETA?

No ETA sorry.

experimental GWT support with 1.2.0

Excellent. Thanks!
Changed the build.gradle to 1.2.0:
Could not find de.tomgrill.gdxfacebook:gdx-facebook-android:1.2.0.
Searched in the following locations:
https://repo1.maven.org/maven2/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.pom
https://repo1.maven.org/maven2/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.jar
https://oss.sonatype.org/content/repositories/snapshots/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.pom
https://oss.sonatype.org/content/repositories/snapshots/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.jar
https://oss.sonatype.org/content/repositories/releases/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.pom
https://oss.sonatype.org/content/repositories/releases/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.jar

My bad, forgot to press the not so shiny release button. Now it should work.

Yeap. Works now!
Thanks.
Is the Wiki updated with what to do to get it to work in the HTML project?

Yep :)

Okay, so added the <source path... things from your wiki (btw, the gwt.xml in your sample app is not updated with these). Now getting this:
Compiling module com.caracri.game.GdxDefinition
Validating units:
[ERROR] Errors in 'file:/C:/Users/Cypher/Documents/NetBeansProjects/caracri/core/src/common/CaracriFacebookConfig.java'
[ERROR] Line 15: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookConfig; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/Users/Cypher/Documents/NetBeansProjects/caracri/core/src/common/CaracriFacebookObject.java'
[ERROR] Line 35: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookSystem; did you forget to inherit a required module?
[ERROR] Line 45: No source code is available for type de.tomgrill.gdxfacebook.core.SignInMode; did you forget to inherit a required module?
[ERROR] Line 45: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookCallback; did you forget to inherit a required module?
[ERROR] Line 45: No source code is available for type de.tomgrill.gdxfacebook.core.SignInResult; did you forget to inherit a required module?
[ERROR] Line 56: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookError; did you forget to inherit a required module?
[ERROR] Line 82: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebook; did you forget to inherit a required module?
[ERROR] Line 93: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookGraphRequest; did you forget to inherit a required module?
[ERROR] Line 95: No source code is available for type de.tomgrill.gdxfacebook.core.JsonResult; did you forget to inherit a required module?
[ERROR] Aborting compile due to errors in some input files

The gwt.xml in sample app has the 2 lines:
https://github.com/TomGrill/gdx-facebook-app/blob/master/core/src/GdxFacebookSampleApp.gwt.xml
I am not good with this GWT stuff. Cannot help you atm.

Since the way to implement gdx-facebook as GWT module changed like 5 minutes ago, I recommend to start all over.
Wiki and sample application are updated accordingly.

Dude, you rock.
err... did you press the Release button? ;D

like a bous


Unable to run bundle successfully

@Immortalin : Change the Gemfile.lock to make eventmachine 1.0.4 instead of 1.0.3.

Thanks @jodiecunningham!
If that fixes it @jodiecunningham & @Immortalin, please add gem 'eventmachine', '1.0.4' to the Gemfile and run bundle update eventmachine.  If that still fixes it, would you mind sending a pull request so everyone can have the fix?

bundle failed when installing libv8 <IP_ADDRESS> on Windows:

We don't support running Huginn directly on Windows.  I recommend using VirtualBox to run Huginn inside of a Linux guest.  Ubuntu is probably easiest.

Thanks. If anyone else gets this error, I fixed it by running:
gem install libv8 -v '<IP_ADDRESS>' -- --with-system-v8

As described here.

+1 @cantino On further inspection, getting this to work on Windows is definitely non-trivial. Would also recommend the Docker route.

@breandan If you run into any Docker problems, please post new Issues.


High memory usage

Its currently using >1GB on my system with just 2 teams. Any way to make nw.js aggressive about this?

Interesting, have you left your application open for a while?

For reference, mine has a 8MB parent with a 72MB child =/

Yes, its been running for almost 2 days now. What was weird was that just one child was using up most of this memory. I killed that, and the parent died as well.

nw.js is built on top of Chromium so it operates like Chrome. In Chrome, each tab is treated as its own process and a parent process links them all together. The one you were seeing memory consumption by is the actual plaidchat window/tab.
Underlying architecture aside, 2 days isn't much time at all. Did you load any YouTube videos, large images, or lots of chat history that would cause more RAM usage?

No videos or large images. Just normal chat history browsing.

Can you try using Slack in Chrome and see if you get the same memory consumption?

The current consumption is about the same (100mb per team) on both plaidchat and chrome. The nw process is at around 340mb with 4 teams. But the high memory usage was on an older version and after a long running time.
I'll let this run for a day and update this issue.

Ok, so after >1day of usage, I still get around 1GB of RAM.

Did you also leave Chrome open for > 1 day of usage?

Yes, but not slack, because that way I was getting double notifications. Never had this issue with slack on chrome anyway.

Our application is quite light so I don't think there can be many things on our end that would cause excessive memory usage. One possibility is a memory leak in our favicon but I don't see anything immediately that would cause it:
https://github.com/plaidchat/plaidchat/blob/v2.6.0/app/components/app-tray.js

I took a shot reproducing and get a minor memory leak of about 10MB per 100 messages.
var i = 100; while (i--) { setTimeout(function (i) { window.AppTray._favicon.badge(i); }, i * 100, i); }

How are you measuring plaidchat's memory usage (e.g. top, gnome-system-monitor)?

top and ps

Can you provide more information about what columns/options you are using (e.g. looking at virt or rss for top, aux for ps)?

@captn3m0 Can you please reply to my last comment? =/

Sorry about the delay. I have always been confused about these things. I am looking at the RES column on the top output.
Is there any reason that unread messages would be eating up memory? (I have >1500 unread messages across all teams as of now).

Here's a screenshot with gnome-system-monitor. plaidchat is currently at 500+MB of memory usage, which seems normal

Ah, thanks for the info. I am seeing about 230MB now with 2 teams for 4 days but a fresh Chrome window with plaidchat is about 115MB. To properly solve this, we will either need for you to keep tabs open with the same teams as plaidchat and check memory usage OR we install process statistics tracking (unlikely due to needing to host a server and handle the opt ins/opt outs) =/

I installed monitorix last night, but haven't configured it yet. If I configure it properly, will it help us out?

I don't quite follow. Can you explain how that would apply?

I am closing this issue due to inactivity =/

I stopped using plaidchat a while back because of its memory usage. However, I'm facing similar issues with the official slack app on Linux, so I'm down to the browser now. Lets keep this closed for now. I'll reopen if I have some data to share.

Cool, thanks for the info =)
For what it's worth, we were using nw.js whereas Slack uses electron so it sounds like something deeper in Chromium.


Will caching of conditions work?

Optimization.
Also static UiAutomation?
Risky perhaps.


wider_face_add_lm_10_10_add_mafa

what't 'add_mafa' mean?

It's a face dataset MAFA（A Dataset of MAsked FAces),
I just add it to wider face dataset

Can you share the download link?I can't find this dataset in its official website.

Sorry I can't, cause I copy it from my friends🤣

widerface_crowdhuman_train and  face_train is the same dataset in register_all_face  function?

the data is the same while the classes is not the same.
widerface_crowdhuman_train has "person" and "face" class, but "person" annotation is null, it is used for ignore_unlabel training

Got it.


New app: Gradient

Description
Made an app to display gradient fill on a Tidbyt: default, random, pick 2, and pick 4.

Note: the Summary description below is incorrect.
Copilot

🤖 Generated by Copilot at f9e78ad
Summary
🚀🗣🛠

Add a new app for displaying the current phase of the moon on the tidbyt. The app uses the lunardate module to calculate the moon phase based on the current date and time. The app also supports different display modes and colors, which can be configured in the moon.json file. The app is located in the apps/moon folder.

get and set methods
refactored for readability
autumn leaves falling

Walkthrough

Add a new app that displays a gradient of colors on the Tidbyt (F1)

:shipit:


Project name
Casper FYI
URL to be whitelisted
://.cspr.fyi
Code audit/review URL if available
No response
Project description
A block explorer, wallet, nft marketplace (accessing FM contracts), and pool aggregation site.
Project's phase
Production
Who is the project owner?
Company
Project owner's name
The Arcadia Group
What kind of Web3 functionality will you be offering in your product?
Wallet Functionality, Transaction Signing, Contract Calls, etc.
Contact details
<EMAIL_ADDRESS>Link to the code
https://github.com/TheArcadiaGroup/casper-trench
Is this a project by an enterprise partner of Casper Association or CasperLabs?
No
Grant/proposal number if this is a project funded by the DEVxDAO
No response

Thanks @HysMagus , I will start working on it.

Hi @HysMagus , this is forwarded for Association approval and I will get it completed as soon as the approval is obtained.
cc: @piotr-dziubecki

Association approves this request.

Integration completed as part of Signer v1.4.19


Detect OS more consistently

This should fix #6720 and implements the suggested solution.
I did not add new tests, as testing this issue would require adding additional matrix combinations to the AppVeyor build (there is no JRuby/Windows combo being tested in CI) and I have no desire at this time to debug any failures on an entirely new build combination. I did run the default rake task locally and the results are no worse after than before the changes in this PR.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks!


Blockquotes are imported as

Blockquotes are imported as  instead of

https://www.golfdigest.com/story/journey-of-the-claret-jug-cam-smith-games-oldest-trophy

main--helix-sportsmagazine--headwirecom.hlx.page/content-v2/golf-news-tours/features/article/2023/6/journey-of-the-claret-jug-cam-smith-games-oldest-trophy

@DriftingSands This doesn't appear to be an importer issue. This content is imported as blockquote correctly.
Here is the newly imported document
https://docs.google.com/document/d/1eb6a0v9f_wE4JZvW4DkUWcA2BxFsU3Htx7aBWb-earE/edit
https://main--helix-sportsmagazine--headwirecom.hlx.page/content-v3/golf-news-tours/features/article/2023/6/journey-of-the-claret-jug-cam-smith-games-oldest-trophy
It looks like a blockquote in the document and I see it represented as that in imported Markdown but Franklin seems to render it as em. So, it might be a bug in Franklin (or a "feature" ;))
cc: @icaraps

I just asked on the Discord channel how to properly render a <blockquote> when using Google Docs. Maybe it's not supported ?


Remove prints for failed batches

Codecov Report
Attention: 284 lines in your changes are missing coverage. Please review.

Comparison is base (a26557b) 89.38% compared to head (5ea61ab) 89.27%.
Report is 301 commits behind head on beta/v4.0.

Files
Patch %
Lines

integration/test_collection_openai.py
33.33%
38 Missing :warning:

weaviate/collections/batch/base.py
82.14%
30 Missing :warning:

weaviate/collections/filters.py
73.84%
17 Missing :warning:

weaviate/collections/data.py
77.46%
16 Missing :warning:

integration/test_collection_rerank.py
26.31%
14 Missing :warning:

weaviate/collections/batch/batch_wrapper.py
78.18%
12 Missing :warning:

weaviate/collections/batch/grpc_batch_objects.py
86.07%
11 Missing :warning:

weaviate/collections/config.py
66.66%
10 Missing :warning:

weaviate/client.py
84.48%
9 Missing :warning:

weaviate/collections/grpc/query.py
60.86%
9 Missing :warning:

... and 31 more

Additional details and impacted files
@@              Coverage Diff              @@
##           beta/v4.0     #759      +/-   ##
=============================================
- Coverage      89.38%   89.27%   -0.12%
=============================================
  Files            154      171      +17
  Lines          16747    17959    +1212
=============================================
+ Hits           14970    16032    +1062
- Misses          1777     1927     +150

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix bug in torch compile and seqdim is integer

Description
When NVTE_TORCH_COMPILE is 0,  jit_fuser will be torch.jit.script.
And the compiled function don't accept interger. Then, bug will occur in the function below  due to the seq_dim argument.
@jit_fuser
def flash_attn_fwd_out_correction(out, out_per_step, seq_dim, softmax_lse, softmax_lse_per_step):
    """Merge partial outputs of each step in Attention with context parallelism"""
    softmax_lse_corrected_exp = torch.exp(softmax_lse_per_step - softmax_lse).movedim(2, seq_dim)
    softmax_lse_corrected_exp = softmax_lse_corrected_exp.unsqueeze(-1)
    out_corrected = out_per_step * softmax_lse_corrected_exp
    out.add_(out_corrected)

Fixes # (issue)
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor

Changes
Please list the changes introduced in this PR:

Change A
Change B

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@wplf Can we not annotate flash_attn_fwd_out_correction instead? IIUC, the fusers assume every argument is a tensor unless explicitly specified.

That's right. Torch.jit.fuser need arguments to be tensor, but torch.compiler don't.
I am afraid removing the annotation will degrade performance in the case of torch.complie.

Let's try and annotate the function and see if it fixes the error!

Let's try and annotate the function and see if it fixes the error!

I have checked that removing the annotation will fix the problem. And the pull request is changed, too.

I don't see the changes yet, could you update the PR?

I don't see the changes yet, could you update the PR?

Sorry, I don't expect you so quickly like that. You can check it now.

We still want the jit_fuser decorator instead of forcing it to be torch.compile. What I meant by annotating is to add explicit types to the arguments. See given suggestion (just an example)

@wplf Could you see if the new changes resolve the error?

/te-ci pytorch

LGTM.


Dataset download links are hard to access on dataset pages

See a dataset doc page like this one: https://riverbench.github.io/v/dev/datasets/assist-iot-weather-graphs/
The download links for the datasets are buried in the metadata. If you don't know where to look for it, it's going to take you a while to notice it.
I suggest we add a mini-table with download links like the ones we have for profile overviews: https://riverbench.github.io/v/dev/profiles/flat-mixed/#download-links
Though in this case the rows won't be datasets, but rather the different available formats.
I'd also not put for example 10K datasets in the 100K column, same for the profile tables.
Lastly, the same comments as in #69 apply here as well.

On a second thought, let's have sizes correspond to rows and the columns will correspond to formats. We can then have an extra column specifying the size in statements.

Put the table in the distributions section... somehow!

Ok, I tried this with 2 datasets, it works:
https://riverbench.github.io/v/dev/datasets/politiquices/
https://riverbench.github.io/v/dev/datasets/digital-agenda-indicators/
I've also found a small validation bug on the way (got squashed). Closing.


missing installer for armhf

Can't find the installer for armhf architecture for RaspPi. Anything available?

found it ^^ :D


pix2pix : Further explanation regarding "combine" model

Hello, I'm currently trying to understand how you used combined model, especially in pix2pix.
I need to know, why the combined model outputs both the discriminator result (valid) AND the generator result (fake_A)?
Also, in line 167, it said
g_loss = self.combined.train_on_batch([imgs_A, imgs_B], [valid, imgs_A])

Is this valid refers to the valid of discriminator output, or the ground truth valid used to measure loss of real images?

The combined model outputs both the translated images produced by the generator (measured against the ground truth image using pixelwise mse loss) and the classification by the discriminator (which we want to be labeled as valid for the generator to fool the discriminator). In the line you posted above we use valid as ground truth for the discriminator output and imgs_A as ground truth for the images outputted by the generator.

I noticed that you also used two losses in the combined model. Are those two losses correspond to each output in combined or they're used on all output?

Yes, each is applied to measure the loss of the model's corresponding output.

Aah I see
As for the naming of both discriminator output and real-image ground truth, should it be in the same name? Or it was coincidence?


end-to-end issue

Hello. In your paper you mentioned that this work "was unified into an end-to-end framework".
However, in your published code: 1) you directly use ogb-supplied features instead of text attributes; 2) your work includes an inevitable pre-training process.
Do you consider this work as "end-to-end" and why? Looking forward to your reply.

Thanks for your detailed reply, pre-training to get clustering embeddings is indeed a good idea. :)


[Bug]: Chart panel sometimes does not open directly

What happened?
From time to time, the chart panel does not open as expected on first click. This happens sporadically but seems to happen more if the window is shrunk (eg. console panel opened at the bottom)
Which country / deployment are you running?
All / master
Add a screenshot (if relevant)
No response

This happens to me pretty consistently with the console opened at the bottom but not in normal use. Other devs are not able to reproduce so closing for now. I did investigate a bit but could not find anything obvious. Removing a few memos around tabs and panels did not seem to help.
https://github.com/WFP-VAM/prism-app/assets/16843267/edda83ae-c44a-4970-b8f5-9a21e951d02a

/bounty $100

/attempt #1012

Hey @neo773, I see you're active in many open issues. I'd like to tackle this one, mind if I take a shot at it? Thanks!

/attempt #1012

@ericboucher will the bounty be awarded?

cc
@zcesur


Using LoadGen library as a stand alone performance benchmark

Hey!
I want to use the LoadGen library to benchmark my model performance on my current infrastructure.
Is there any way to run the LoadGen library with a custom model and dataset while my model is deployed on a remote server?
If not, I will be glad if someone could give me a reference to a similar tool that can 😃.

https://github.com/mlperf/inference/blob/master/v0.5/classification_and_detection/ was intended to have plugable datasets and backends. You could implement a backend that makes the network request by creating something like backend_grpc.py that implements a simple backend interface

Hi @raz-bn,
Let me add to @guschmue's answer. You can indeed extend the reference code to Classification and Detection benchmarks, or other tasks. However, it's typically framework-based (i.e. uses TensorFlow, PyTorch or ONNX), so may not be optimal.
Instead, you may wish to use vendor-specific inference engines e.g. TensorRT from NVIDIA, OpenVINO from Intel and ArmNN from Arm. For this, I'd recommend to look at past submissions (only v0.5, at the moment). Still, you may find them hard to reproduce and customize for new datasets, workloads and targets.
We (at dividiti and our colleagues from the cTuning foundation) have been working on the open-source Collective Knowledge technology for several years to enable automated, customizable, portable and reproducible workflows for benchmarking, optimization and co-design. We can easily combine reusable ML, software and hardware components to evaluate complete ML/SW/HW stacks.
We used the CK technology to a great effect for MLPerf Inference v0.5, where we submitted nearly 3 times more results than other dozen submitters combined, and will be using again for v0.7.
For example, we used ArmNN and TensorFlow Lite to benchmark MobileNets-v1/v2 on several Arm CPU/GPU systems. Since then, we have also automated OpenVINO and TensorRT based submissions.
Hope this helps.

https://github.com/mlperf/inference/tree/master/loadgen/benchmark


Refactoring

pgindent can't properly handle compound literals. It seems that we can easily refactor our code to make code fromatter work.

@dutow @codeforall I merged it to unblock my next PR. Please let me know if you have any concerns.


Can I PR my own if I think it's awesome?

I do understand that. But how do I know if my portfolio, for example, is creative?
I just made a weird kind of a portfolio that is drastically different than most portfolios (not that's it's super awesome though), I'm wondering if that'd fit here. (fit here because it's creative, not because it's mine)

It would be nice to have a section on the official website for "Candidates" where public could potentially vote for new listings to the sections. If approved, your portfolio gets listed together with contact information (social media, etc).
http://www.creative-portfolios.com has potential! PS: It needs an SSL added.

If it is this:

https://microdroid.github.io

Then I would say no. That does not meet the criteria of awesome-portfolios

@TheJaredWilcurt oof how did you even notice this, I just pushed it a few hours ago.
Anyways that's fine but I still upvote @imisterk's idea, it'd be nice to have a system where people can suggest portfolios to be added. I'll keep this open for that unless it's not planned.


Remove type param from Unit lens

Just some cleanup I noticed while doing some other work.

What do you think about having a lens::id function? It might be more discoverable than a struct, given they are mostly to support functions in LensExt.

@derekdreery I don't have a strong feeling, but I do think that Id should actually be called Identity, I'll prepare a patch for that momentarily.


Terminal PAX A80

Payment service provider
SaltPay
Payment terminal
PAX A80
Communication Logs
14:35:23.910 INF Portalum.Zvt.TcpNetworkDeviceCommunication ConnectAsync
14:46:30.399 INF Portalum.Zvt.TcpNetworkDeviceCommunication ConnectAsync
14:46:35.256 INF Portalum.Zvt.TcpNetworkDeviceCommunication ConnectAsync
14:46:53.963 INF Portalum.Zvt.TcpNetworkDeviceCommunication ConnectAsync
14:47:05.367 INF Portalum.Zvt.TcpNetworkDeviceCommunication ConnectAsync
More information
Could someone advise me how to connect to the PAX A80 payment terminal.
I tried the recommended ports 20007 and 20008 and all encoding options but no luck. Is there an application that needs to be installed or run in the terminal?
How would I find out what port and encoding to use?

Are you sure that SaltPay supports zvt? This is used in Germany and Austria.

Thanks for the direction. I will try to find out, I didn't know that ZVT was something special.

In every country there is a perceived standard of its own :)


Distribute without a go compiler

One of the reasons to chose golang as a remote plugin is that it can produce static binaries that can be easily distributed without a runtime or dependencies.
Currently darkman.nvim requires a go compiler to be installed, so that bin/darkman.nvim can be compiled on-site.
Ideally, we should release "packaged" versions with a binary included, so that a go compiler is not necessary to install the plugin.

I created wbthomason/packer.nvim#1210 to discuss the possibility of downloading from a github release in packer

lazy.nvim is also unfriendly to this idea: folke/lazy.nvim#780

If something like packspec is used widely, we could switch to this: https://github.com/neovim/packspec


Create episode section of the store

As a developer, just do it.

@dorival Do you think this work item should be closed? As far as I know, I fulfilled it.

Totally @smphayward ! do the honors!


Symlinked scss still not triggering recompile on change

🐞 Bug report
(Copy of #18229 as the exact same issue is still there with ng 10.2)
Command

[ ] new
[x] build (with --watch)
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
Imagine the following filesystem structure:

testFolder/
├── realFolder1/
│   └── style1.scss
├── realFolder2/
│   └── style2.scss
└── ngApp/
    ├── src/
    │   ├── styles.scss
    │   ├── link1
    │   └── link2
    └── .....

link1 & link2 are symbolic links, linking to realFolder1 and realFolder2, respectively.
The styles.scss in the actual angular app imports the style1.scss from the linked folder link1.
The style1.scss imports the style2.scss from the linked folder link2.
styles.scss contains actual style definitions.
Now when serving (or building with --watch) everything gets compiled correctly, but changes to the styles2.scss are ignored and not rebuild. Only when triggering a change in a different file the changes from style2.scss are sometimes also recompiled.
Actually in my repro app this is even true for changes to style1.scss! However, on my "real" project where I discovered this, the issue only occurs on the second level of symlinked references...
🔬 Minimal Reproduction
To reproduce this issue you can do the following:
Either you recreate the above structure or you clone my example app for this issue. In this example app for whatever reason symlinked scss files, do not trigger a recompile at all. In the real app this definitely works on some occasions where it is just one symlinked file, but fails when configured as above.
I updated the repo to angular 10.2
🌍 Your Environment

Angular CLI: 10.2.0
Node: 12.19.0
OS: win32 x64

Angular: 10.2.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1002.0
@angular-devkit/build-angular   0.1002.0
@angular-devkit/core            10.2.0
@angular-devkit/schematics      10.2.0
@schematics/angular             10.2.0
@schematics/update              0.1002.0
rxjs                            6.6.3
typescript                      3.9.6

Anything else relevant?
Reproducible with Windows 10 and WSL
Apparently something changed in the cli but the problematic behavior did not change at all.

Hi @LoaderB0T,
I’ll try to look at this again in the coming days. I did try your reproduction locally (the other day) and worked as intended. Maybe it’s an OS specific issue or I missed something.
Can you try to see if you can reproduce this with version 11?
ng update @angular/cli —-next

Also, can you try to enable polling? Via the -—poll option?
I do remember that I saw a couple of WSL issues in their repo that caused file changes not to be picked up in the past.

Hi @alan-agius4
Thanks for the quick reply and your time invest. The issue is unchanged with version 11, I just checked.
Also, this issue is present in both a regular win 10 environment as well as in WSL (both with and without the --poll option)
Thanks again for your time and help, let me know if I can help with anything within my possibilities :)

Hi @LoaderB0T,
I looked at this again, and I am unable to replicate this locally. that said I use macOS. Will leave this open for now, maybe we can replicate this on a Windows VM in the future or a community member wants to give it a go.

I will try to reproduce this in a Linux VM to see if it is OS-specific.
Would be great if someone could try to reproduce this on windows 👍

Hi, I was able to reproduce this issue on my windows 10 environment with the reproduction-repo.
No matter which of the linked scss files I change, no re-compile is triggered. When I change the styles.scss file, all changes get recognized and get compiled into the application.


ERROR  Could not load \node_modules@iconify\vue\dist\iconify

Is it not enough to use documentation steps to use it?
https://nuxt.com/modules/icon#setup-
  //package.json
  "devDependencies": {
    "nuxt-icon": "^0.2.10",
  },

    //nuxt.config.ts
    modules: [
        'nuxt-icon',
    ],

when I use yarn generate I got an error
ERROR  Could not load \node_modules\@iconify\vue\dist\iconify
if I install it by yarn add --dev @iconify/vue it's doesn't help
when I use yarn dev I have no any issue

my mistake. my IDE imported this automatically @iconify\vue\dist\iconify when I wrote the code, I didn't notice this line in one of the components because I didn't write it

I don't understand. What was the fix? I am currently facing this exact error

Look at the top of the


Add Cloudey.Reflex.Authorization.HotChocolate to the list of community projects

Adds Cloudey.Reflex.Authorization.HotChocolate to the list of community projects.
The library adds extensions methods for authorizing access to fields or types based on the field's value and/or the value(s) of the parent type's fields, making authorization dramatically easier to use in HotChocolate.

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


GH-42039: [Documentation][Go] Fix Broken Link

Rationale for this change
Fix the broken link to the correct link due to a change in the path.

What changes are included in this PR?
Updating link from the incorrect go/ path to change in the path.

old link: https://arrow.apache.org/adbc/main/driver/go/flight_sql.html#client-options
new link: https://arrow.apache.org/adbc/main/driver/flight_sql.html#client-options

Are these changes tested?
Yes. I have checked the link.

Are there any user-facing changes?
Yes, the updated link will be visible to users.

GitHub Issue: #42039

@zeroshade Could you please check this PR when you have free time? Thank you!


fix typo in mocks for person data-api

Coverage remained the same at 83.519% when pulling 38ec3a62de7e1a629fbb18ab551eb37f2a3736c5 on feature/fix-typo into 042a06a3b843e9c13d834c54c84792b856039d84 on develop.


R CMD Check Issues

There are several issues with if R CMD check is run on the package

All errors have been addressed


Removing an app in Cluster Tools requires a manual refresh to update the app status

Setup

Rancher version: 2.6.0
Browser type & version: Google Chrome Version 89.0.4389.90 (Official Build) (64-bit)

Describe the bug

After removing an app in Cluster Tools the app continues to be listed as installed until manual refresh of the browser.
To Reproduce

Install an app in Cluster Tools. Remove the app in Cluster Tools.
Result
App is listed after the removal.
Expected Result

Browser page should be automatically updated and display the app as not installed.
Screenshots

Additional context

Detailed Description

Context

Could not reproduce in 2.7-head (2.7.0 ish).
The card for the Cluster Tool transitions back to it's uninstalled state once the uninstall helm operation completes


Adding coveralls for code coverage

Adding configs and settings for coveralls for automated code coverage badge.

Changes Unknown when pulling c49fb15663cc1b9ec2eefca832b66958722b61e8 on steph-test into ** on master**.

Breaking the rules and reviewing/merging this myself because it's only a config change. #yolo

Nice to see the yolo swag. I'm gonna look at customizing our hound/rubocop config because I don't like it yelling at you for single-quoted strings. After tomorrow, of course.


Upload 1359 health check dependency on redis

JIRA: UPLOAD-1359
Summary:
Verifies the Redis connection is up.  If it’s not, report it is DOWN and set the overall health of the upload service to DEGRADED as opposed to DOWN.
Local testing notes:
Did the following to test locally:

Installed Redis on my OS.

Added the following line to a copy of configs/local/local.env called local_redis.env

REDIS_CONNECTION_STRING="redis://redispw@localhost:6379"

Using the following command to start the server:
go run ./cmd/main.go -appconf=./configs/local/local_redis.env

With the Redis service NOT running, the server startup fails with the following error in the logging:

{"time":"2024-06-07T13:42:55.351441659-04:00","level":"ERROR","source":{"function":"github.com/cdcgov/data-exchange-upload/upload-server/cmd/cli.Serve","file":"/home/user/src/cdc/data-exchange-upload/upload-server/cmd/cli/serve.go","line":53},"msg":"error configuring redis locker","app_info":{"System":"DEX","Product":"UPLOAD API","App":"UPLOAD SERVER","Env":"DEV"},"buildInfo.Main.Path":"","pkg":"main","error":"dial tcp <IP_ADDRESS>:6379: connect: connection refused"}
{"time":"2024-06-07T13:42:55.35146487-04:00","level":"ERROR","source":{"function":"main.main","file":"/home/user/src/cdc/data-exchange-upload/upload-server/cmd/main.go","line":85},"msg":"error starting app, error initialize dex handler","app_info":{"System":"DEX","Product":"UPLOAD API","App":"UPLOAD SERVER","Env":"DEV"},"buildInfo.Main.Path":"","pkg":"main","error":"dial tcp <IP_ADDRESS>:6379: connect: connection refused"}

Started the Redis service with default configuration.

After starting the server, the /health response is:

{
  "status": "UP",
  "services": [
    {
      "service": "File Storage",
      "status": "UP",
      "health_issue": "None reported"
    },
    {
      "service": "Redis Locker",
      "status": "UP",
      "health_issue": "None reported"
    }
  ]
}

After stopping the Redis service, the /health response is:

{
  "status": "DEGRADED",
  "services": [
    {
      "service": "File Storage",
      "status": "UP",
      "health_issue": "None reported"
    },
    {
      "service": "Redis Locker",
      "status": "DOWN",
      "health_issue": "dial tcp <IP_ADDRESS>:6379: connect: connection refused"
    }
  ]
}

This is testing OK in the DEV environment. Below is the /health response:
{
    "status": "UP",
    "services": [
        {
            "service": "Azure Service Bus",
            "status": "UP",
            "health_issue": "None reported"
        },
        {
            "service": "Tus storage",
            "status": "UP",
            "health_issue": "None reported"
        },
        {
            "service": "Redis Locker",
            "status": "UP",
            "health_issue": "None reported"
        }
    ]
}


Skillshare

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Playlist: https://www.skillshare.com/en/classes/Understanding-and-Painting-the-Head/62353942/projects

Description

I would like to see a new extractor for Skillshare so I can make backups of my classes (ex: videos)

The free Intro class page has useful data in its <meta> tags, which strangely are placed in the <body> rather than the <head>.
Metadata from the og: properties:

title
description
image --> thumbnail

Video data from the twitter:player properties:

width
height
stream: "https://www.skillshare.com/en/sessions/download?id=3113009"
stream:content_type: "video/mp4"

If the subscriber videos have the same structure, just passing cookies from a logged-in browser session using --cookies ... would give access using the same extraction. However the subscriber video pages may be more complex.
In fact the generic extractor should handle the free videos since the twitter:player:stream property is found. The extractor rejects it because it has no extension, but as the content_type is provided that should be enough. Something like this:
             # twitter:player:stream should be checked before twitter:player since
             # it is expected to contain a raw stream (see
             # https://dev.twitter.com/cards/types/player#On_twitter.com_via_desktop_browser)
-            found = filter_video(re.findall(
-                r'<meta (?:property|name)="twitter:player:stream" (?:content|value)="(.+?)"', webpage))
+            found = re.findall(
+                r'<meta (?:property|name)="twitter:player:stream" (?:content|value)="(.+?)"', webpage)
+            if found:
+                ext = mimetype2ext(get_first(re.findall(
+                    r'<meta (?:property|name)="twitter:player:stream:content_type" (?:content|value)="(.+?)"', webpage), []))
+                found = found[:1] if ext else filter_video(found)
         if not found:
             # We look for Open Graph info:
             # We have to match any number spaces between elements, some sites try to align them (eg.: statigr.am)

Any updates on this extractor?

Related to https://github.com/ytdl-org/youtube-dl/issues/9769


Add a camera option not to create a quadtree

For optimization purposes, this would be nice when some static cameras are to be created and when no interactivity is needed.

@jacomyal such settings already exist, e.g. labelThreshold. A nodeIndexingThreshold (def: 0) and edgeIndexingThreshold (def: 0) would make sense.


Add '_CRT_SECURE_NO_WARNINGS' definition to matrixmath.c

Added the _CRT_SECURE_NO_WARNINGS, as requested on issue #19

Also wonder if this could be fixed with a clang setting in settings.json?

I believe so. The steps I wrote about on the issue comments

hovering your mouse over the function > Quick fix > Disable all clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling problems.

seems to change one of the VSCode JSON files telling it to ignore this type of warning.


tsp, add test for cadl-ranch Type/Array

The test cases have been added and merged into main branch.


How to setup the project locally

Pre-Checklist
I made sure...

[x] I read the README.md
[x] I looked over the examples and wiki
[x] my issue hasn't been asked or solved before

Question
I'm unable to setup this project locally, i tried eclipse and intellij both errors out. ./gradlew build is working and gives successful output. But i don't get any auto completion or intellisense. How do u guys setup this project locally. Any help is appreciated

Don't just close the issue without telling others if and how you hot it solved.
This library is using lombok and it generates the getters and setters on compile. While coding, you won't have autocompletion/intelli-sense for getters and setters but the project will compile anyways. Just make sure you have good practice while writing down the getThis(), setThat(value) methods.

Don't just close the issue without telling others if and how you hot it solved.
This library is using lombok and it generates the getters and setters on compile. While coding, you won't have autocompletion/intelli-sense for getters and setters but the project will compile anyways. Just make sure you have good practice while writing down the getThis(), setThat(value) methods.

it is not "fixed", i closed the issue coz i don't know what info is relevant and if someone will able to help me with it.

ok so it is working find after i upgraded java to version 18 and gradle to latest available version(build.gradle and gradle.properties file), also added this in build.gradle
lombok {
    version = "1.18.24"
}

everything works fine now, i.e. eclipse jdt works and build passes successfully

I am using android studio (latest version supports lombok natively) and here's what I did:
After importing the project as a module, there were a lots of errors so I had to make some modifications to the build.gradle file
build.gradle
plugins {
    id 'java-library'
    id 'io.freefair.lombok' version '6.6.1'
    id 'net.nemerosa.versioning' version '2.15.1'
}

version = "${versioning.info.branchType == 'release' ? versioning.info.display : versioning.info.full}"

java {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}

dependencies {
    // OkHttp
    api 'com.squareup.okhttp3:okhttp:5.0.0-alpha.11'
    api 'com.squareup.okhttp3:okhttp-urlconnection:5.0.0-alpha.11'
    // jackson data-bind
    api 'com.fasterxml.jackson.core:jackson-databind:2.13.4'
    api 'com.fasterxml.jackson.core:jackson-annotations:2.13.4'
    api 'org.slf4j:slf4j-api:2.0.6'
    // Test utilities
    testImplementation 'org.slf4j:slf4j-reload4j:2.0.6'
    testImplementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.11'
    testImplementation 'log4j:log4j:1.2.17'
    testImplementation 'junit:junit:4.13.2'
    testImplementation 'pl.pragmatists:JUnitParams:1.1.1'
    testImplementation 'org.apache.maven:maven-compat:4.0.0-alpha-3'
}

task sourcesJar(type: Jar, dependsOn: classes) {
    classifier = 'sources'
    from sourceSets.main.allSource
}

javadoc.failOnError = false
task javadocJar(type: Jar, dependsOn: javadoc) {
    classifier = 'javadoc'
    from javadoc.destinationDir
}

task createJar(type: Copy) {
    from('build/intermediates/bundles/release/')
    into('libs/jars/')
    include('classes.jar')
    rename('classes.jar', 'instagram4j.jar')
}

MinSdk version should be 26. If you plan to support lower version (sdk 24 as I did) you'll have to add Base64 class yourself as java.util.Base64 was only added in android 8.
I created a Base64.java file in com.github.instagram4j.instagram4j.utils and changed the import in com.github.instagram4j.instagram4j.utils.IGUtils


Quick Question about Embeds

quick question, are there any examples on how to use embeds?
i found these typedefs but i'm not sure how to actually implement these into a sent message.

how would i alter this to send an embed?
m.reply({content: "Pong!"}, false);

okay so basically
m.reply({embeds: [
{
title: "shit",
description: "nuts"
}
]});

oh sick

I know this is a closed issue, but there's 2 ways actually if you want to send an embed.
You can use this website as it gives you the embed as a json
https://glitchii.github.io/embedbuilder/
Or, you can also make an embed variable, like this
var embed = new hxdiscord.types.Embed();
embed.setTitle("Title");
embed.setDescription("Description");

m.reply({embeds: [embed]}, true);


Incorrect calculation of month value

shynet_main  | [2022-01-01 00:04:18 +0000] [9] [INFO] Booting worker with pid: 9
shynet_main  | ERROR Internal Server Error: /dashboard/
shynet_main  | Traceback (most recent call last):
shynet_main  |   File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
shynet_main  |     response = get_response(request)
shynet_main  |   File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
shynet_main  |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
shynet_main  |   File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
shynet_main  |     return self.dispatch(request, *args, **kwargs)
shynet_main  |   File "/usr/local/lib/python3.9/site-packages/django/contrib/auth/mixins.py", line 71, in dispatch
shynet_main  |     return super().dispatch(request, *args, **kwargs)
shynet_main  |   File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch
shynet_main  |     return handler(request, *args, **kwargs)
shynet_main  |   File "/usr/local/lib/python3.9/site-packages/django/views/generic/list.py", line 157, in get
shynet_main  |     context = self.get_context_data()
shynet_main  |   File "/usr/src/shynet/dashboard/views.py", line 36, in get_context_data
shynet_main  |     data = super().get_context_data(**kwargs)
shynet_main  |   File "/usr/src/shynet/dashboard/mixins.py", line 64, in get_context_data
shynet_main  |     data["date_ranges"] = self.get_date_ranges()
shynet_main  |   File "/usr/src/shynet/dashboard/mixins.py", line 50, in get_date_ranges
shynet_main  |     "start": now.replace(day=1, month=now.month - 1),
shynet_main  | ValueError: month must be in 1..12

REPOSITORY                TAG           IMAGE ID       CREATED
milesmcc/shynet           latest        8fc7868f03dd   3 months ago

Exactly the same error here starting on years change.

Exactly the same error here starting on years change.

Hmm. Seeing it myself as well. TIL that January 2022 is actually month 13 of 2021.

Hmm. Seeing it myself as well. TIL that January 2022 is actually month 13 of 2021.

Fixed in https://github.com/milesmcc/shynet/commit/4b4c8f207e94ac1b692d75e0ee826c55fbe23a14. Will release shortly — in the meantime, the fixed build should be up on :latest in a few minutes.

Fixed in https://github.com/milesmcc/shynet/commit/4b4c8f207e94ac1b692d75e0ee826c55fbe23a14. Will release shortly — in the meantime, the fixed build should be up on :latest in a few minutes.

Fixed in v0.12.0, released just now. Happy new year!

Fixed in v0.12.0, released just now. Happy new year!

It could be fixed by:
            {
                "name": "Last month",
                "start": (now.replace(day=1) - timezone.timedelta(days=1)).replace(
                    day=1
                ),
                "end": now.replace(day=1) - timezone.timedelta(days=1),
            },

It could be fixed by:
            {
                "name": "Last month",
                "start": (now.replace(day=1) - timezone.timedelta(days=1)).replace(
                    day=1
                ),
                "end": now.replace(day=1) - timezone.timedelta(days=1),
            },

Yep, that also makes sense. Would accept that PR.

Yep, that also makes sense. Would accept that PR.


Add scraper bap1: United States Bankruptcy Appellate Panel for the First Circuit

I am not sure if the names used on the "case" dictionary are the correct ones, please take a look.
Also, there are 2 data points I didn't find a way to put into the "case" dictionary.

docket URL, which has this shape https://ecf.ca1.uscourts.gov/cmecf-bap-live/servlet/TransportRoom?servlet=CaseSummary.jsp&caseNum=00-002&incOrigDkt=Y&incDktEntries=Y but redirects to PACER

opinion document name

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

This is a good first effort @grossir - but I think I have some feedback for you if you are up for it.
I'm going to put the notes about this scraper into an issue to make it easier

@grossir - please see #822

This is a good first effort.  A few points - please check the issue on this page as that should provide you some guidance to some of your issues.
This scraper collects chronologically - which would fail in our system - unless a "full crawl" is called for - it would check the first X number of opinions and then stop thinking that nothing was new.  We also dont want to pull every opinion every time because that would overuse the website and lead us to maybe getting blocked.
A better approach is to search by date here and bring back a smaller number of opinions or none at all, and to implement a back scraper that can be run once to collect all the old stuff.
Additionally, I'm not sure why you want to avoid _process_html but that should be the main driver here.

Thanks @grossir - this is great work - the only thing that I would suggest is problematic here is the fact that when you get to the 2005 range for dates - the information doesnt match up. Depending on the situation I would either

add a method to extract that information dynamically,
limit the scraper before it got to those pages if we already had the data ,or
if that data couldn't be reliably found in the PDF - try to get the year - correct and mark it as date filed approximate.

But Im not going to ask you to do that here.

you'll have to forgive me the more I stare at this - the more I want to change it.  @grossir - once you are settled in lets discuss this

@grossir - these are great changes - and this is now very close.
I highlighted some minor things that I think would make it even better.

We should aim to reduce test files, especially JavaScript and CSS that are irrelevant to help keep tests fast and reduce bloat.
Some docstring formatting style comments
Minor naming conventions that you'll pick up over time

Congrats on a great first day.


[HELM] add serviceAccount helm chart

What changes were proposed in this pull request?
as title
Why are the changes needed?
Support custom serviceAccount to control what permissions and resources a pod has access to.
Does this PR introduce any user-facing change?
No
How was this patch tested?
test the template rendering by helm template command line

Merged into main(v0.6.0).


JsonWebTokenError: jwt malformed

I am getting this error when I try and verify.
var decoded = jwt.verify(req.headers.authorization, "12345");
req.headers.authorization is giving me this value: Basic TGlua1NoYWRlc0FsZXhhOjEyMzQ1
I've tried this as well but get the same error:
var decoded = jwt.verify(req.headers.authorization.split(' ')[1]), "12345");
Any ideas?

@glowlabs without knowing further details, it seems the requester is using Basic authentication scheme.
That is not a JWT, it is a base64 string containing "username:password".
Usually people use Bearer scheme with JWT as token. Anyway, you need to create the token by calling first jwt.sign().

Error verifying access token: jwt malformed
this eroor present the react connected time server side terminal raise the error