Fix typo (inlcude) in MANIFEST.in

During certain certain build stages (eg: egg_info), the following warning is observed:
reading manifest template 'MANIFEST.in'
warning: manifest_maker: MANIFEST.in, line 4: unknown action 'inlcude'

Fix misspelling in MANIFEST.in accordingly

That's a really bad typo, not sure how this slipped through ... Thanks a lot for pointing it out, I appreciate it!

You're welcome :)


Release 0.16

At this time release is planned for when winit hits 0.20 officially.

Closing in favor of https://github.com/vulkano-rs/vulkano/pull/1267


Setting: MM Owl Warp Points as Items

What it says in the title. Was suggested in the discord, it sounds like an interesting idea. You basically shuffle the Owl Warp Points as items, maybe using a smaller Owl Statue model to represent them? And they would basically act as equivalents to OOT Warp Songs in a sense, except once you collect them they activate the Owl Statue it is tied to, giving you potential access to an area you might not have access to. I.E You find the Stone Tower Owl Warp Point, it activates Stone Tower Owl and you don't have MM Hook/Garo/Gibdo/Ice Arrows and suddenly you have access to upper canyon and STT without any of those items.
This could also pair well with Entrance Rando of some forms, whether Region Shuffle, Dungeon ER, or the fuller OW ER later on.

Added


Update stats of animals

Since sapai had its last update, SAP have had a patch update which updated the stats of a lot of the pets in the standard pack.
I have therefore updated these to match the current state of SAP.
To get the correct values I used this page:
https://superautopets.fandom.com/wiki/Pets
I have not added any new updates to the change notes at the top of the script. If you want me to, give me a suggestion on what to write. Perhaps "Updated the stats of all animals in the standard pack to match patch update X of SAP"?

Tests will have to be updated with updated pet stats. Will get back to this soon.

Will get back to this soon.

Great! Looking forward to collaborating on the project :)
I can update the tests later today and request you to review.

I just looked at the tests and I am a little unsure where to actually update. I would probably need to spend more time on the tests to see where I would need to change. Don't really have time for that this week.
But when you get back to this, I guess you will take a look. You can make a commit to my branch and we could merge it when it is ready. No rush!

Pet changes in this PR are now reflected in main. There are some more changes I will have to make including more extensive test cases. I have a list made.

@manny405 OK, no worries. Would be great if you could make a release (v0.1.0) including the generated binary wheel:
https://github.com/manny405/sapai/actions/runs/2935827980
Next time I would've preferred if the edits were made in the same branch as I was working in such that the edits I did would have been part of the PR, especially as it seems that the same edits were made, just adding some other stuff.


Make sure OpenStackClient creates IPset with uniq Role

If multiple OpenStackClient CRs get created the created right now
the IPset with the same Role parameter. This results in the
OpenStackClient pods to use the same IP addresses because the
OSNet reservations are grouped by the Roles.
This change adds the OpenStackClient CR name to the OpenStackClient
Role name const to make sure the Role name passed to create the
IPSet CR is uniq.

/lgtm


maintainers/scripts/generate-kde-plasma.sh is missing

Issue description
pkgs/desktops/kde-5/plasma/default.nix mentions:

Update the URL in maintainers/scripts/generate-kde-plasma.sh and run
that script from the top of the Nixpkgs tree.

However that script doesn't exist neither on master nor 16.09.
Cc: @ttuegel
Technical details

NixOS: 17.03.git.b9d5ad1763M (Gorilla)
Nix: nix-env (Nix) 1.11.6
nixpkgs: 17.03.git.663844af9aM

You need to use maintainers/scripts/fetch-kde-qt.sh and give as argument the tree that you like to change, e.g.
$ maintainers/scripts/fetch-kde-qt.sh pkgs/development/libraries/kde-frameworks/

Furthermore, before running this, you need to update the fetch.sh script, in this case
pkgs/development/libraries/kde-frameworks/fetch.sh

At least, that's how I understood it. I'm currently testing the Frameworks and Applications updates. @ttuegel mentioned yesterday we keep the current Plasma, 5.8 LTS.

I updated the documentation of the affected files.


Windows 10/11 and iscsi claim doesn't work

Hello,
I'm trying to install a Windows 11 VM on kubevirt. So I start the windows 11 installation, click browse and select the redhat virtio drivers(tested both virtio-latest.iso and virtio-stable.iso).  The installation is copying the files without any problem and then reboots.
After reboot the vm is paused and describe shows this error:
    Message:               VMI was paused, low-level IO error detected
    Reason:                PausedIOError
    Status:                True

I use the driver "Redhat Virtio pass-trough controller".
There is nothing obvious om the logs on the iscsi host.
Linux installs fine with the same yamls, so this is a Windows 10 and11 issue only. Any ideas?
Here are the yamls i'm using:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: windows-claim
spec:
  resources:
    requests:
      storage: 200Gi
  volumeMode: Block
  storageClassName: freenas-iscsi-csi
  accessModes:
    - ReadWriteOnce

piVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  name: windows
spec:
  runStrategy: Manual
  template:
    metadata:
      labels:
        kubevirt.io/domain: windows
    spec:
      domain:
        clock
          timer:
            hpet:
              present: false
            hyperv: {}
            pit:
              tickPolicy: delay
            rtc:
              tickPolicy: catchup
        cpu:
          cores: 32
          model: host-passthrough
        devices:
          autoattachGraphicsDevice: true
          gpus:
          - deviceName: amd.com/6950xt
            name: gpu1
          - deviceName: amd.com/6950xt_audio
            name: gpu2
          disks:
          - lun:
              bus: scsi
            name: pvcdisk
          - cdrom:
              bus: sata
            name: winiso
          - cdrom:
              bus: sata
            name: virtio
          interfaces:
           - name: ovs-vlan-10
             bridge: {}
          tpm: {}
        features:
          acpi: {}
          apic: {}
          kvm:
            hidden: true
          hyperv:
            vendorid:
              enabled: true
              vendorid: 53572b
            relaxed: {}
            spinlocks:
              spinlocks: 8191
            vapic: {}
          smm: {}
        firmware:
          bootloader:
            efi:
              secureBoot: true
        resources:
          requests:
            memory: 16Gi
      networks:
      - name: ovs-vlan-10
        multus:
         networkName: ovs-vlan-10
      terminationGracePeriodSeconds: 0
      volumes:
      - name: pvcdisk
        persistentVolumeClaim:
          claimName: windows-claim
      - name: winiso
        persistentVolumeClaim:
          claimName: win11iso-pvc
      - name: virtio
        persistentVolumeClaim:
          claimName: virtio-pvc

Environment:

KubeVirt version (use virtctl version): v0.41.0
Kubernetes version (use kubectl version): v1.29.0+k3s1
VM or VMI specifications: vm
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): 6.6.9-200.fc39.x86_64 (fedora coreos)
Install tools: N/A
Others: N/A

@depeo10 do I see correctly that you are using KubeVirt version 0.41.0? This is pretty old (3 years) and I would suggest you to upgrade and try a more recent version

Oh, no thats not right, the server version is: v1.1.1.
But I got it working now.
I rebooted the  kubernetes node and also added errorPolicy: "report" in the yaml.

Oh, no thats not right, the server version is: v1.1.1. But I got it working now.
I rebooted the kubernetes node and also added errorPolicy: "report" in the yaml.

Good!
Please, be aware that setting the error policy to report doesn't eliminate the IO error but now they are reported in the guest. This might be the desired outcome, especially on Window, but please aware that you might still have issues with the underlying storage.


how to get the device's current  ptz datas?

You need to setup a camera as shown in the README, then use the camera's PTZClient.
`var account = new Account("camera_ip", "camera_username", "camera_password");
var camera = Camera.Create(account, ex =>
{
// exception
});
if (camera != null)
{
var response = await camera.Ptz.GetStatusAsync();
}`
For more info about the specifics of the response:
https://www.onvif.org/specs/srv/ptz/ONVIF-PTZ-Service-Spec-v211.pdf
https://www.onvif.org/wp-content/uploads/2016/12/ONVIF_WG-APG-Application_Programmers_Guide-1.pdf


Changed setDate utils method

Fixed for timzone issue which a country that has plus / minus minute in standard time.
For example india GTM is +5.5.  so in that case setHours does not add 30 min to current date.


BUG(?): imported TypeScript libs don't seem inferred

Describe the bug
imported TypeScript libs don't seem inferred
Link to the blitz that caused the error
https://stackblitz.com/github/trpc/trpc/tree/main/examples/next-prisma-starter?file=pages%2Fapi%2Ftrpc%2Fposts.ts
To Reproduce
Steps to reproduce the behavior:

Go to https://stackblitz.com/github/trpc/trpc/tree/main/examples/next-prisma-starter?file=pages%2Fapi%2Ftrpc%2Fposts.ts
Hover over postsRouter
See type def

Expected behavior
Should have typescript definition
Version of webcontainer
Hash: 7286dbe8d47d3473cde7be488b7d048fb59b05f2
Screenshots
If applicable, add screenshots to help explain your problem.
StackBlitz screenshot
infers type any

CodeSandbox Screenshot
infers correct type
https://codesandbox.io/s/github/trpc/trpc/tree/main/examples/next-prisma-starter?file=/pages/api/trpc/posts.ts

Desktop (please complete the following information):
Browser name  = Chrome
Full version  = 90.0.4430.212
Major version = 90
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
performance.memory = {
totalJSHeapSize: 138985846,
usedJSHeapSize: 132344770,
jsHeapSizeLimit:<PHONE_NUMBER>
}
Additional context
Add any other context about the problem here.

Thanks for trying things out @KATT 🙏 ! We are aware of this and it's in the pipeline to fix soon.

This should be fixed now :tada: Thanks for the report.


Is there a way to change the $blockWrapper format?

$blockWrapper is a property of the FormDescription class. It's defined like this:
protected $blockWrapper = '
%s
';

But a p tag means you can't have any other paragraph tags inside the help block, so I'd like to use a div tag here instead. Is there a way to change this when using the ztbFormElement() method? Thanks.

I found the answer to my question. I added this code to a controller action:
$viewHelperManager = $this->getServiceLocator()->get('viewhelpermanager');
$descriptionHelper = $viewHelperManager->get('ztbformdescription');
$descriptionHelper->setBlockWrapper('
%s
');


How to install on EKS by Kong Helm

Can you share your document for installing this plugin on my EKS .
I am using AWS ALB -> AWS ingress controller -> Kong Proxy -> Ingress
EKS= v1.28.3-eks-e71965b
Kong=kong:3.4

Hi, @ajeesh-urolime
I create doc how to use in kubernetes please check this out https://github.com/vechr/kong-auth-integration/tree/master/example/k8s


Loading .vxproj from sln....

Do not see a way to get the "tools version passes... In xProjectEnv.cs it appears to be a hard coded null....
      protected virtual Project Load(RawText raw, IDictionary<string, string> properties)         {             using(var reader = XmlReader.Create(new StreamReader(raw.data.GetStream(raw.encoding), raw.encoding))) {                 return new Project(reader, properties, **null**, PrjCollection);             }         }

Hello,

Do not see a way to get the "tools version passes... In xProjectEnv.cs it appears to be a hard coded null....

null was used initially to reach the only latest available toolset. This is not designed to be configurable. But this is virtual so can override it for any related purposes like here https://github.com/3F/DllExport/blob/c1cc52fa13f563f97a2b4fe08bfb541c69195866/Wizard/DxpIsolatedEnv.cs#L41
In case of the modern toolsets (15+) please note the following https://github.com/3F/MvsSln/wiki/Advanced-Features
Also note,
IeXod has been planned as the new engine, but today I'm not really sure about anything at all. Really. I don't know ...
I'll try to publish new stable release with fixes later, if and only if, GitHub will not be completely blocked soon.
Whenever I want to do something in my open projects ... always, something is always happening to destroy me and everything around me. What the ...
You can follow the news here or twitter or improve it somehow yourself. Let me know about problems or questions while I'm here.

IeXod has been planned as the new engine

Regarding to IeXod, by the way,
Actually I remember PR WIP. Review of the first beta features is almost ready, or maybe even already ready but not yet reviewed. Not sure but there are something is almost done as far as I remember it.


Use image interface

Scanner interface is an image.Image with uniform scanning capabilities.

Coverage decreased (-3.04%) to 86.957% when pulling 88d3ca633d565beb35a991af22f61cc900679105 on use-image-interface into 8c48326401bd2b121df429180ebe720383e64378 on master.

Coverage increased (+2.2%) to 92.174% when pulling abe028417134cc34c9f2d658ac169930117c56d7 on use-image-interface into 8c48326401bd2b121df429180ebe720383e64378 on master.


Change Log pop up appears twice

When using the autoStart feature, the change log pop up appears twice.
A check needs to be added to see if the pop up is currently shown and not show it if it is.
Would be nice to have this pop up on the ImageActivity too but that's a nice to have extra.

Note to self: Test auto start with version update and view changelog on imageactivity


I think it's easier to understand the logic of the code by optimizing a requirement that you can add comments when you write rules and actions and ignore them when you execute them.

name: ...
description: ...
condition: ....
priority: ...
actions:
  - '
      //for example : this is a note1
      String factorResult1 = new String();
      //for example : this is a note2
     String factorResult2= new String();
     //for example : this is a note3
     String factorResult3 = new String();
      ....
    '

This can be achieved with YAML comments.


Add some capistrano recipe for .notice'ing deploys

Totally untested :poop: :fire:

:+1:, have merged this in and tested it in our deploys after some changes.


fix(runtime-core/watch): set initial oldValue  param of cb as undefined

watch([], cb, {immediate: true}) set undefined as oldValue param
in cb in first run. Keeps same behavior with 2.x
You can inspect different output in console:
v2.6.11:  https://codepen.io/djy/pen/NWqpJMp
v3.0.0-alpha.7: https://codepen.io/djy/pen/MWwpxXQ?editors=0011

I don't think this is correct. v2 doesn't support watching an array of sources, when when the source is an array the oldValue should indeed be an empty array.


Review metadata production

For the review system to be useful, metadata needs to be generated to summarise the reviews by app.  Previously, these were stored on app docs, but that's no longer going to work as the app data is provided by Sandstorm, which doesn't no about reviews.  So we need to generate these within the App Market, via a new ReviewMeta collection, with one doc per app.

Should we be updating this collection on a cron job, or in response to review insertion/deletion/update? The first is probably simpler, but less realtime (i.e. users won't see their new review contribute to the overall statistics).
Given that we're receiving a single blob of all app summary data, does it make sense to publish all app metadata at once?  The alternative is subscribing just to the apps that the client has locally, which would reduce data on the wire in the long term, but create a huge mergebox on the server.

@olizilla @alanshaw thoughts?

Summary of resolution:
A separate aggregateReviews collection has been added, which is published automatically in its entirety, and populated by updating the relevant doc when the app it relates to has a review added, removed or updated.


The virtualenv venv directory does not have activate script

I installed the latest 0.5 yen via install.sh (I am on macOS Sonoma 14.5):
yen --version
yen-rs 0.5.0

but when I tried creating a new virtualenv, it doesn't seem to have the activate file:
$ yen list

Available Pythons:
3.12.3
3.11.9
3.10.14
3.9.19
3.8.19

$ yen create -p 3.12 venv
Created venv with Python 3.12.3 ✨

$ source venv/bin/activate
source: no such file or directory: venv/bin/activate

$ ls venv/bin
pip3       pip3.12    python     python3    python3.12

Right. microvenv leaves the job of activation to the users, that got overlooked somehow.
I'll get this fixed.

btw have you considered adding a help command like: yen activate venv

btw have you considered adding a help command like: yen activate venv

Not a bad idea! Maybe even yen activate because generally there will only be one venv in there.
I'll make this as well.

yeah, venv being default dir. but you don't take default for yen create. May be that can done too.
$ yen create -p 3.12
$ yen activate
$ profit???

v0.5.1 is out, and this should be fixed. Rookie mistake there, was missing some test coverage.
Re-run curl -L yen.tushar.lol/install.sh | sh, it should update your binary, and then see if it's good?

works.
thanks for the great tool 🫡


Certificate authentication with own truststore doesn't work

From<EMAIL_ADDRESS>on November 12, 2012 11:49:19
What steps will reproduce the problem? 1. Do an request over https to a service with a certificate sign by a CA that's not in default cacerts 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? 1.7, Windows 7 Please provide any additional information below. Running this test class generates:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:692)
at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.apache.http.client.HttpClient$execute.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.jayway.restassured.internal.RequestSpecificationImpl$RestAssuredHttpBuilder.doRequest(RequestSpecificationImpl.groovy:1341)
at com.jayway.restassured.internal.http.HTTPBuilder.doRequest(HTTPBuilder.java:489)
at com.jayway.restassured.internal.http.HTTPBuilder.request(HTTPBuilder.java:438)
at com.jayway.restassured.internal.http.HTTPBuilder$request.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
at com.jayway.restassured.internal.RequestSpecificationImpl.sendHttpRequest(RequestSpecificationImpl.groovy:917)
at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$sendHttpRequest(RequestSpecificationImpl.groovy)
at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$sendHttpRequest.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at com.jayway.restassured.internal.RequestSpecificationImpl.sendRequest(RequestSpecificationImpl.groovy:784)
at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$sendRequest(RequestSpecificationImpl.groovy)
at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$sendRequest.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
at com.jayway.restassured.internal.filter.RootFilter.filter(RootFilter.groovy:28)
at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:47)
at com.jayway.restassured.filter.FilterContext$next.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:717)
at com.jayway.restassured.internal.RequestSpecificationImpl$invokeFilterChain.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1106)
at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$applyPathParamsAndSendRequest.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
at com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:127)
at com.jayway.restassured.specification.RequestSender$get.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.jayway.restassured.internal.ResponseSpecificationImpl.get(ResponseSpecificationImpl.groovy:218)
at se.pulsencombine.integration.externalservices.RestTestCase.testGetRoot(RestTestCase.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(Invoke...
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=205

From<EMAIL_ADDRESS>on November 12, 2012 12:18:09
Thanks for reporting. I'm not quite sure how to fix this. If you have any ideas please let us know.
Status: Accepted

From<EMAIL_ADDRESS>on November 21, 2012 09:33:11
I've managed to get this to work. You have to create a SSLSocketFactory with both a keystore and a truststore. I added this method to AuthConfig:
public void certificate( String certURL, String password, String trustURL, String trustPassword )
		throws GeneralSecurityException, IOException {

	KeyStore keyStore = KeyStore.getInstance( KeyStore.getDefaultType() );
    InputStream jksStream = new URL(certURL).openStream();
    try {
    	keyStore.load( jksStream, password.toCharArray() );
    } finally { jksStream.close(); }

	KeyStore trustStore = KeyStore.getInstance( KeyStore.getDefaultType() );
    jksStream = new URL(trustURL).openStream();
    try {
    	trustStore.load( jksStream, trustPassword.toCharArray() );
    } finally { jksStream.close(); }

    SSLSocketFactory ssl = new SSLSocketFactory(keyStore, password, trustStore);
    ssl.setHostnameVerifier( SSLSocketFactory.STRICT_HOSTNAME_VERIFIER );

    builder.getClient().getConnectionManager().getSchemeRegistry()
    	.register( new Scheme("https", ssl, 443) );
}

I now changed the beforeClass() method like this:
@BeforeClass
public static void beforeClass() throws Exception {
final CertAuthWithTrustStoreScheme scheme = new CertAuthWithTrustStoreScheme();
scheme.setCertURL(AbstractExternalServicesFunctionalTestCase.class.getClassLoader().getResource("client.jks").toString());
scheme.setPassword("xdr537");
scheme.setTrustURL(AbstractExternalServicesFunctionalTestCase.class.getClassLoader().getResource("trust.jks").toString());
scheme.setTrustPassword("changeit");
RestAssured.authentication = scheme;
RestAssured.baseURI = "https://localhost/";
RestAssured.port = 443;
}
The best would be if you could use the keystore set by RestAssured.keystore(), but I didn't found a way to do that...
Attachment: CertAuthWithTrustStoreScheme.groovy AuthConfig.java

From<EMAIL_ADDRESS>on November 22, 2012 12:57:10
Thanks a lot for your help! I'll look into your code as soon as I find some time.

From<EMAIL_ADDRESS>on November 27, 2012 23:29:16
I've look into this briefly. I think there may be some overlap with the new AuthConfig method and features that's already available in Rest Assured. Have a look at Rest Assured.setKeystore and you'll find the similarities if you dig further into the code (see KeystoreSpecImpl). What may be missing is the possibility to set a trust url. Perhaps that's what missing and in that case we wouldn't need a new auth config method?

From<EMAIL_ADDRESS>on January 23, 2013 05:42:16
You already have an overlap then using the current AuthConfig.certificate() method because the SSLSocketFactory created by KeystoreSpecImpl isn't used if RestAssured.authentication is set to CertAuthScheme. I you extend KeystoreSpecImpl to set both cert and trust store, I think you should remove AuthConfig.certificate() and CertAuthScheme so this only can be configured in one way.
But I think the best solution would be to set the trust store as today with RestAssured.setKeyStore() (maybe renamed to setTruststore()) and make AuthConfig look if a keystore is set by setKeyStore() and use it the creating the SSLSocketFactory.
I also found that the port is hardcoded in AuthConfig.certificate() to 443. Shouldn't this be read from RestAssured.port?

From<EMAIL_ADDRESS>on January 23, 2013 06:06:11
I'm really really busy right now and it would be really helpful if you would like help out by creating a pull request at github for this.
It sounds very strange that the port should not be hard-coded, that's probably a bug as well.

From<EMAIL_ADDRESS>on March 19, 2013 00:17:55
Some links: http://stackoverflow.com/questions/7256955/java-sslexception-hostname-in-certificate-didnt-match http://javaskeleton.blogspot.com/2010/07/avoiding-peer-not-authenticated-with.html http://tech.chitgoks.com/2011/04/24/how-to-avoid-javax-net-ssl-sslpeerunverifiedexception-peer-not-authenticated-problem-using-apache-httpclient/

From<EMAIL_ADDRESS>on April 23, 2013 10:39:44
Thanks to Ian Forsey this should now be fixed:
RequestSpecBuilder request = ...
request.setKeystore("truststore.jks", "password");
CertAuthScheme scheme = new CertAuthScheme();
scheme.setCertURL("clientcert.p12");
scheme.setCertType("pkcs12");
scheme.setPassword("password");
scheme.setPort(8443);
request.setAuthentication(scheme);

From<EMAIL_ADDRESS>on April 23, 2013 11:06:03
You can also do:
given().auth().certificate("clientcert.p12",  "password", "pkcs12", 8443, scheme). ..

From<EMAIL_ADDRESS>on April 23, 2013 11:09:58
That should be given().auth().certificate("clientcert.p12",  "password", "pkcs12", 8443, trustStore)

From<EMAIL_ADDRESS>on May 08, 2013 01:46:07
Great! When will this be available in a released version?
I also saw that the default port in CertAuthScheme was 433 instead of 443...

From<EMAIL_ADDRESS>on May 08, 2013 06:10:47
Thanks for pointing out, I've changed it to 443.
I don't know when the release will be available in Maven central but I've published a new snapshot version to Sonatype if you want to try it out. Depend on version 1.8.1-SNAPSHOT after having added the following maven repo:
<repositories>
<repository>
<id>sonatype
<url> https://oss.sonatype.org/content/repositories/snapshots/ <snapshots />
</repository>
</repositories>

From<EMAIL_ADDRESS>on May 08, 2013 06:11:07
Status: Fixed

this help me a lot. #


Change all OS-X references to macOS

As this is the new name for OS-X

I made sure to use macOS in the desktop_context already so only aesthetic renaming needs to be done.

Nice


Event Broker Pluggability

Umbrella issue for broker pluggability
Per discussion post S1P, the idea is to monitor load via sidecars - envoy-style - instead of kafka offset monitoring - and use that for scaling from the function controller.

[ ] publish metrics from producers/consumers (that can be the sidecar OR the gw)
[ ] subscribe to metrics at the function-controller and drive scaling instructions from them
[ ] topic partitioning
[ ] broker plugin API

target message transports

google pub/sub
azure event grid and event hubs
aws kinesis
rabbimq
redis streams - see http://antirez.com/news/114

@jldec I think the description of this issue should actually say:

[ ] publish function scaling metrics from gateway
[ ] publish function scaling metrics from sidecar
[ ] subscribe to function scaling metrics from function-controller
[ ] ...

While I agree the original wording can be made more descriptive, I don't think trying to break it down like that is a good idea.
First of all, all Producer and Consumer should be decorated to emit metrics. Thus, there is no distinction to be made between the gateway and other emitting parts of the system. Let's not forget other sources (than the gw) could exist in the system
Then, while I understand the intention, those are not "scaling metrics" they're just "(rate) metrics" until something (the controller) decides to use them to do scaling. This is important because this may bias the solution towards something that may not be portable across brokers.
Lastly, we don't subscribe to those metrics from the function-controller, but really at the function-controller (ie the controller is not emitting, but I see how "from" could be ambiguous)
So really, if I were to come up with two bullets, I'd actually loosen Jurgen's wording

publish metrics from producers/consumers (that can be the sidecar OR the gw)
subscribe to metrics at the function-controller and drive scaling instructions from them

Just my $.02

Yes, that's clearer. Thanks.

Well said Eric! I would add that we might want to consider either re-using the Function Sidecar as an "ambassador" within the HTTP Gateway pod (see Example 2 here: http://blog.kubernetes.io/2015/06/the-distributed-system-toolkit-patterns.html), or at least factoring out common code into a library so that the Producer for HTTP Gateway is essentially the same as the Producer for the Sidecar's output events. Ultimately the gateway might evolve to include some relationship with an Ingress Controller and/or Istio/Envoy, but we probably can avoid that distraction while still making some useful progress with DRY refactoring.

at least factoring out common code into a library so that the Producer for HTTP Gateway is essentially the same as the Producer for the Sidecar's output events

That's already exactly what we have I would argue: the http-gateway is re-using message-transport

...but I guess the decorator that adds metrics-emitting shouldn't be too tightly coupled to the core message-transport responsibility (but that might already be recognized also)

updated original post (OP) above

Updated OP to say "... scaling from the function controller" rather than "... scaling from the function invoker".


DPL-887-1 - As a user I need to be able to upload a duplicate tube or plate with no side effects

User story
As a user I need to be able to upload a duplicate tube or plate with no side effects. As part of this if we only import wells with samples we should be able to reupload wells which have samples added.
Who are the primary contacts for this story
Steve / Ben / Eduardo
Who is the nominated tester for UAT
Long Read
Acceptance criteria
To be considered successful the solution must allow:

[ ] When a plate is imported from Sequencescape it should first be checked to see if it exists
[ ] If the plate exists and there are new wells the user should be prompted if they want to import the new wells
[ ] If the plate exists and there are no new wells the import should fail

Dependencies
This story is blocked by the following dependencies:

#<issue_no.>
sanger/#<issue_no.>

References
This story has a non-blocking relationship with:

#<issue_no.>
sanger/#<issue_no.>

Additional context

reception-request.json.txt

Tasks left to do:

[ ] modify general reception page so that it displays a message for barcodes tried to import, barcodes that are imported, any that are missing and any errors
[ ] refactor different receptions so they are versioned
[ ] Add a prop to general reception for versioing
[ ] Add a feature flag to switch from v1 to v2
[ ] Add e2e tests to check v1 and v2


cmd/go: arbitrary code execution during “go get” [Go 1.8]

This is a Go 1.8 tracking bug for the problem described in #23672.
See that issue for details and comments.

The 1.8.7 release was made.


Please support @PostConstruct for Gradle instantiated classes

If a class is instantiated by Gradle it would be nice if @PostConstruct would be supported,
so that after the class was instantiated and after things were injected a method annotated with that annotation is executed.
The use-case where I just wanted to have this is a parameters class for an artifact transform where I wanted to set conventions on the properties.
So for example like this:
abstract class Parameters : TransformParameters {
    @get:Input
    abstract val someBoolean: Property<Boolean>

    @PostConstruct
    fun setConventions() {
        someBoolean.convention(false)
    }
}

Using a constructor for this does not work like for example
abstract class Parameters : TransformParameters {
    @get:Input
    abstract val someBoolean: Property<Boolean>

    init {
        someBoolean.convention(false)
    }
}

as this will give a NullPointerException when trying to get someBoolean, probably because something that is only initialized in the sub-class constructor is needed for the getter to work and during super-class constructor execution this is not yet set, that's just an educated guess though.
Besides that it gives a warning that the constructor accesses a non-final property which is probably exactly the source of the error.
Work-around for exactly this case is to use @get:Optional on the property and when using it for example doing .getOrElse(false), but there might be other cases that are not so easy to work-around or cleaner if you could use a @PostConstruct method.

Interestingly it seems for other cases it works fine.
I tried the same in a task that is similarly in general layout and there it worked just fine.

Ah, the NullPointerException is actually not happening during inital creation, but during isolation.
The same happens with worker configuration that uses managed properties in constructors.
I'll open a separate issue about that as I still think a @PostConstruct would make sense independently of that exception to prevent an escape of uninitialized this for example


The brush size is not equal to other tools size

Lorien version:
Lorien  0.5.0 Linux
OS/device including version:
OS: Linux Ubuntu 18.04.6
GPU: NVIDIA GeForce 920MX
GPU Driver: NVIDIA Driver metapackage from nvidia-driver-470 (proprietary, tested) installed from the "Software & Updates" of Ubuntu
Issue description:
Hello, i'm using Linux Ubuntu 18.04.6 and i downloaded Lorien 0.5.0 from github
excuse me ,first of all, scale ui is not appropriate in auto mode that fix after changes to custom and 1.
but The brush size is not equal to other tools size, that's meaning with equal size The brush size is Thicker than other tools size.
and when i insert a Rectangle the vertex from which the Rectangle is drawn, seem's hasn't anti-aliasing.
please pay attention to this video.
Steps to reproduce:

Set brush size for Drawing
Draw with the brush tool
Draw with other tools when the brush size hasn't changed

Hello, sorry, This problem happens only when the mouse is connected (the pen tablet didn't connected), and the problem didn't happens, when the pen tablet is connected.

Fixed with #263


[jvm-packages] fix transform performance issue

The latest xgboost spark has a transform performance regression. It  took about 220s to predict  300, 000 rows in a single task, With this PR, it just took a few seconds for the same spark application code, same spark submit script, same cluster.

Hi @trivialfis, Could you help review it.


[AlwaysOn Profiler] Two layers cache for function names

Why
To have better performance for fetching function name.
What
Add second layer for the cache.
Size of the cache is arbitrary.
Tests
CI.
Manual tests execution for Samples.AlwaysOnProfiler.Performance for thread sampling time (in micros).

2 layers
1 layer

4264
3282

3078
2560

3129
2807

2559
4664

2564
5568

2546
3726

2296
2755

2210
2465

3081
2888

4315
4543

3626
4845

2553
2973

2381
2642

2189
3870

2601
2567

2462
2540

2569
2746

2351
2624

3123
2852

3987
4057

2 layers total = 57884
1 layer total = 66974
(2 layers total - 1 layer total) / 1 layer total *100% ≈ 13.5%

A suggestion for the future would be to add some debug log (or even metrics) when maximum sizes are reached so we can potentially tune those. That said this would be extra fine tuning on top the current one.

If the debug log is enable, we put information about new functions not available in the 2nd layer of the cache.
For now, it seems to be enough.


Installing hashie 3.5.1 yields an OmniAuth warning

When I start up my sinatra app with OmniAuth 1.3.2 and hashie 3.5.1, I get
WARN -- : You are setting a key that conflicts with a built-in method OmniAuth::AuthHash::InfoHash#name defined at /Users/emile/.rvm/gems/ruby-2.3.0@cvrm/gems/omniauth-1.3.2/lib/omniauth/auth_hash.rb:34. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.

When I downgrade hashie to 3.4.6, Sinatra starts up without any warnings.

Duplicate of #872. Please refer to the conversation there.


Navigation2D on TileMap passes over non-navigation area

Godot version:
3.2.2 Stable
OS/device including version:
macOS
Issue description:
If you have a turn in the navigation area in a tile, the Navigation2D ignores it and tries to move straight through it instead of going around the turn.
Steps to reproduce:
Have a turn in the navigation area in a tile, run get_simple_path() on the Navigation2D and you will get a straight line instead of a turn.
Minimal reproduction project:
Bug Showcase.zip
This projects has a Line2D draw the path of Navigation2D from get_simple_path(). Notice that the navigation area in the tile has a bend.

Issue is related to the polygon creation.

Not very familiar with the TileSet Editor internals but the created TileData resource has the wrong polygon values / order stored for a NavigationPolygon resource.
If you create the exact same Polygon in the exact same steps with other tools that use NavigationPolygon resources it works perfectly fine but if you copy the TileSet polys to a NavigationPolygonInstance you get the same bug result.

Getting closer ...
TileSet creates and stores NavigationPolyons vertices in a format that looks good with CanvasItem.draw_polygon() which fools everyone that things should work correct while in the Editor.
NavigationPolygons and the NavigationServer2D require a format that you get when you set these vertices  as outline points and call NavigationPolygon.make_polygons_from_outlines().

As soon as you convert the TileSet verticies to an outline and call that function you have a working NavigationPolygon again that only looks wrong in the Editor because CanvasItem.draw_polygon() can't work with it.


Website is down!

http://free-tex-packer.com/

it is up though

Hello,
I re-tested and now it's working. Sorry, my bad.
On Mon, Apr 17, 2023, 15:12 Turky Mohammed @.***> wrote:

it is up though
—
Reply to this email directly, view it on GitHub
https://github.com/odrick/free-tex-packer/issues/84#issuecomment-1511944184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAUAM3G2SICVGGC7DDH7SDXBWIZDANCNFSM6AAAAAAXBPR4LE
.
You are receiving this because you authored the thread.Message ID:
@.***>


No method error first_business day

Time.first_business_day(time_off_request.date_requested)
undefined method `first_business_day' for Time:Class  (Also did not work for date class).
time_off_request.num_days.business_days.after(time_off_request.date_requested) does work so library is generally working
Even example on readme page not working
= Time.first_business_day(Time.parse("Sat Aug 9, 18:00:00, 2014"))
Method still available?
Ruby 2.2.1  Rails 4.2

Seems like business_dates_until not working either.  Essentially anything that tries to extend Date or Time class are failing for me.

I put all 3 of the class extensions into my business_time.rb initializer file and now they work.
Not enough of a gem maker to fix why the gem is not including the extensions for 4.2; I'll see if I can find time to study up if someone doesn't patch this beforehand.

It seems there are issues against a new version of ActiveSupport.  I'll investigate.  I personally haven't used it against that version yet, but such use will be needed soon.

Closing this because I believe it is a symptom of issue #113


Stuck with "...loading"

Hi, I´m a newbie with bull-board.
I read the docs and just copied the code:
....
... express settings
....
const Queue = require("bull");
const { createBullBoard } = require("@bull-board/api");
const { BullAdapter } = require("@bull-board/api/bullAdapter");
const { ExpressAdapter } = require("@bull-board/express");
const someQueue = new Queue("someQueueName");
const someOtherQueue = new Queue("someOtherQueueName");

const serverAdapter = new ExpressAdapter();

const { addQueue, removeQueue, setQueues, replaceQueues } = createBullBoard({
  queues: [new BullAdapter(someQueue), new BullAdapter(someOtherQueue)],
  serverAdapter: serverAdapter,
});

serverAdapter.setBasePath("/admin/queues");
app.use("/admin/queues", serverAdapter.getRouter());

After I access th url "admin/queues", I get stuck in a page with "...loading".
What am I doing wrong?

Do you get any error on the server / client?

Do you get any error on the server / client?

Yes, I did.

In my chrome browse, I get:
![image](https://user-images.githubusercontent.com/30800736/165114937-a91fd920-a355-4622-8b8b-655a9c2f9a4c.png)

Ping?

I've got the same weird issue. Did setup everything in a NestJS project using the following code:
import { NestExpressApplication } from '@nestjs/platform-express';
import { ExpressAdapter } from '@bull-board/express';
import { createBullBoard } from '@bull-board/api';
import * as Queue from 'bull';
import { QueueNameEnum } from<EMAIL_ADDRESS>import { BullAdapter } from '@bull-board/api/bullAdapter';

export const bullBoardSetup = (app: NestExpressApplication) => {
  const queueDefault = new Queue(QueueNameEnum.DEFAULT);
  const queueEmail = new Queue(QueueNameEnum.EMAIL);

  const serverAdapter = new ExpressAdapter();

  createBullBoard({
    queues: [new BullAdapter(queueDefault), new BullAdapter(queueEmail)],
    serverAdapter,
  });

  serverAdapter.setBasePath('/queues');

  app.use('/queues', serverAdapter.getRouter());
};

Don't see any errors or other messages anywhere.
The request to "http://localhost:3000/queues/api/queues?page=1" hangs forever in "Pending" state.

@andrew-sol how do you use bullBoardSetup? the code in this function looks OK to me.
The question is what is app, and it get used.

Here's what the app is:
const app = await NestFactory.create<NestExpressApplication>(AppModule);

AppModule is the main bootstrapping module that imports all other modules, just common NestJS stuff.
I didn't have much time to research the issue today, will do tomorrow or in a few days.

Okay, I fixed that. The problem was that Bull Board tried to connect to Redis on <IP_ADDRESS>:6379, but I run Docker and all its stuff on a separate machine in the local network, so mine Redis is on <IP_ADDRESS>:6379. It hangs forever trying to connect to a non-existent port.
All I had to do is provide Redis connection options to all the queues. Here is how it looks like in my case:
  const { host, port } = app.get(ConfigService).get('redis.commonOptions');
  const options = { redis: { host, port, db: RedisDbEnum.QUEUE } };

  const queueDefault = new Queue(QueueNameEnum.DEFAULT, options);
  const queueEmail = new Queue(QueueNameEnum.EMAIL, options);

I find it weird that you do not describe how to provide Redis connection options in your examples in the docs.

@andrew-sol thank you for updating me.
It is not an issue of bull-board you provide your queues to the lib, so you are responsible to configure it properly.
It is a good suggestion to add it to the readme.

@joweste Is this issue resolved?

@joweste Is this issue resolved?

Yes, It is.

I'm closing this issue, since the issue of the opener is resolved.


Optimize rendering slow-down at high entity counts

Objective

Improve #3953

Solution

The very specific circumstances under which the render world is reset meant that the flush_as_invalid function could be replaced with one that had a noop as its init method.
This removes a double-writing issue leading to greatly increased performance.

Running the reproduction code in the linked issue, this change nearly doubles the framerate.

Neat. This is the most dramatic one of these I've seen.

Wow yeah thats a big win right there. Pretty sure this is valid. I'll give this a proper think asap.

Changed again to a fully custom flush method that directly uses memset, this is getting even larger gains.

Currently UB, working on a fix.

Reverted the memset, so this works again, but others investigating why the memset version failed via UB would be appreciated.

UB fixed with help from @PROMETHIA-27

b02a1d741c02174269311fa36210e15c740ba048

I'm excited for this PR as it seems like it fixes part of the performance issues here! I'm still worried that this isn't a complete fix though. This code is still reserving entities even if they have been despawned which leads to memory leakage and possibly over time slow performance. I can think of quite a few scenarios where users would spawn high entity counts and despawn said entities. A shmup would be one such example where you would be spawning hundreds or even thousands of bullets which get depsawned.

Just checking on the general status of this PR. I noticed it was removed from the 0.8.1 release. Curious as to when we might expect this to be part of mainline. Thanks!

Noticeable performance improvement for my game as well - uses extremely high entity count, yellow is this PR, red is 0.8.0:

bors r+


feat: implement JpqlFunctionSerializer

Motivation:
#340
Modifications:

Implement JpqlFunctionSerializer
Implement Unit test for JpqlFunctionSerializer

Commit Convention Rule

Please commit your modification based by conventional commit
This commit convention is referred from angular convention

Commit type
Description

feat
New Feature

fix
Fix bug

docs
Documentation only changed

ci
Change CI configuration

refactor
Not a bug fix or add feature, just refactoring code

test
Add Test case or fix wrong test case

style
Only change the code style(ex. white-space, formatting)

chore
It refers to minor tasks such as library version upgrade, typo correction, etc.

If you want to add some more commit type please describe it on the Pull Request

Result:
Closes #. (If this resolves the issue.)
#340

 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.


link to dev docu about processes

Linking to our development and decision making processes - inspired by https://github.com/owncloud/owncloud.org/issues/626

@LukasReschke @RealRancor any more suggestions?

Looks good. Can't judge if the link will work :speak_no_evil:

It will but you can test on stable as soon as this is merged ;-)

and by Zeus, github should really support dead standard smileys... :D :-) :) ;)

Sorry, i don't have any insight in the development and decision making processes so can't say something if this could be useful here.

ok, let's at least add this - other ideas are still welcome.


Lost images?

Hello there, when i run create_input_files.py, I end up with a file with only 113287 images in a Train set, but the sum of the images in the folders train2014 and val 2014 originally is 123287 images. What is the problem, what about the missing 10k images?

Oh, this is for val and test)


TypeError: Cannot read property 'node' of undefined

I try to use elemental on my project, but it shows error mentioned-above in Alert.js. Do you know what happened with the component? or is something wrong with my node version?

Same here.

I was getting for new versions of react.  upgraded from react 15.2 to 16.8 and started getting this error.  Switching to elemental-react16 fixed most of my issues


Markdown to TemPy converter

It would be nice to have a tool (I'm thinking something like T.from_markdown()) that accepts markdown text and outputs a generator of TemPy tags.
This would make easy to store dynamic content in markdown format in the db and then just load it into a TemPy container, like so (pseudo flask/SQLAlchemy code):
from tempy import T
from tempy.tags import Div
from models import Content

content = db.Content.query.filter_by(title='My Content').first()
# content = "### My Heading\n*some bold text*"

class ContentDiv(Div):
    def init(self):
        self(T.from_markdown(content))

ContentDiv().render()
>>>

My Heading

some bold text

Internally the code above would generate this TemPy tree:
<__main__.ContentDiv<PHONE_NUMBER>70748015173727330681910217208.>
    <tempy.tags.H3<PHONE_NUMBER>21793937479932232860004162872.>
        My Heading
    <tempy.tags.P<PHONE_NUMBER>05770780992286327320010212864.>
        <tempy.tags.Em<PHONE_NUMBER>90916815458505068447514382693.>
            some bold text

# equivalent to, in TemPy syntax:
ContentDiv()(
    H3()("My Heading"),
    P()(
        Em()("some bold text")
    )
)

I found the markdown2 library that seems well made and tested for reference.
The easiest implementation would be to just:
import markdown2
...
class TempyGod(TempyFactory):
...
    def from_markdown(self, text):
         return self.from_string(markdown2.markdown(text))

But this is highly un-optimized as it would make 2 conversions to produce the output (markdown -> html -> tempy) and the TemPy html parser itself is slow.
This implementation can, however, be used as a reference for the desired html output.
Right now The only way to have the same (similar) html output is to do like so:
import markdown2
from tempy import Escaped
from tempy.tags import Div
Div()(Escaped(markdown2.markdown(mdw_text))).render()

Started branch https://github.com/Hrabal/TemPy/tree/markdown if someone want to contribute to this issue please talk here and code in that branch.


First update - Need more documentation on Vim's register to edit the section.

First update. Need more documentation on Vim's register to edit the section.

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Unable to use multiple custom attribute extractors defined through configuration

According to the documentation and samples I should be able to configure multiple attribute extractors. However when I do that the application will fail to start due to an exception from logbook.
Description

According to the documentation I should be able to provide multiple attribute extractors: https://github.com/zalando/logbook?tab=readme-ov-file#configuration
Sample configuration
logbook:
  attribute-extractors:
    - type: JwtFirstMatchingClaimExtractor
    - type: MyCustomExtractor

Expected Behavior

When multiple attribute extractors are provided through parameters, the application runs and all of those extractors are applied.
Actual Behavior

Exception is thrown and the app fails to start:
org.springframework.boot.web.embedded.tomcat.TomcatStarter: Error starting Tomcat context.
  Exception: org.springframework.beans.factory.UnsatisfiedDependencyException.
  Message: Error creating bean with name 'secureLogbookFilter' defined in class path resource [org/zalando/logbook/autoconfigure/LogbookAutoConfiguration$JavaxSecurityServletFilterConfiguration.class]:
      Unsatisfied dependency expressed through method 'secureLogbookFilter' parameter 0;
  nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
    Error creating bean with name 'logbook' defined in class path resource [org/zalando/logbook/autoconfigure/LogbookAutoConfiguration.class]:
        Unsatisfied dependency expressed through method 'logbook' parameter 9;
  nested exception is org.springframework.beans.factory.BeanCreationException:
    Error creating bean with name 'getAttributeExtractor' defined in class path resource [org/zalando/logbook/autoconfigure/LogbookAutoConfiguration.class]:
        Bean instantiation via factory method failed;
  nested exception is org.springframework.beans.BeanInstantiationException:
    Failed to instantiate [org.zalando.logbook.attributes.AttributeExtractor]:
        Factory method 'getAttributeExtractor' threw exception;
  nested exception is java.lang.IllegalArgumentException:
    Unknown AttributeExtractor type: MyCustomExtractor

This is happening because the implementation of ExtractorProperty.toExtractor method in logbook is hardcoded to handle only JwtFirstMatchingClaimExtractor and JwtAllMatchingClaimsExtractor - any other extractor will throw the exception.
Ironically the very same custom extractor would still work when defined through properties but only if used as a single extractor.
Possible Fix
Adjust ExtractorProperty.toExtractor method to handle any AttributeExtrator interface implementation or at least update documentation to explicitly state that the ONLY way to use multiple custom attribute extractors is through CompositeAttributeExtractor
Current wording of documentation:

If you require to incorporate multiple AttributeExtractors, you can use the class CompositeAttributeExtractor [...]

The word CAN implies that this is an option (one of many) and not a necessity.

The documentation for logbook.attribute-extractors clearly states that the Spring Boot module currently supports two implementations:

This is a known limitation on the Spring Boot Logbook module. As such, the documentation for CompositeAttributeExtractor is also correct: You are not forced to use it. You can write your custom attribute combiner.


statuses/filter streaming does not work

I'm using the code below.
twitterClient.stream('statuses/filter', { follow: 1234 }, (stream) => {
    stream.on('data', tweet => {
      console.log('tweet', tweet)
    })

    stream.on('error', error => {
      console.log('error', error)
    })
  })

When I attempt to tweet from account 1234, the console.log('tweet', tweet) does not fire. I've tried tweeting, replying, etc, and waiting some time.
Am I misunderstanding how this works or is something wrong?

Stackoverflow question also getting no replies: https://stackoverflow.com/questions/47384200/how-to-stream-tweets-of-one-user-using-follow

I answered your topic.

I am also having this issue except I am getting a 401 error. Seems to be a common issue. Any update?

If you are having a 401 error, you might me using "application only authentication".
https://developer.twitter.com/en/docs/basics/authentication/overview/application-only.html
"And it will not be able to:
Post Tweets or other resources;
Connect to Streaming endpoints;
Search for users;
Use any geo endpoint;
Access Direct Messages or account credentials;"

This package is no longer maintained. statuses/filter works fine in twitter-lite. Here's a test.


Allow to switch from PPM to SBus without restart of the board

Currently the Hardware is initialized just at the beginning.

Done.


[Question] Common Rules -> Filter/ Decorate doesn't seem to be working. How can I debug?

Hello,
I have the following rule configured:
glucoza =>
  FILTER: * product_ean:W13989010

I want to only display that product when users are searching for "glucoza", as described and exemplified here: https://opensourceconnections.com/blog/2021/06/15/pete-learns-how-to-curate-search-results-for-a-single-query/

However, the rule doesn't get applied at all. I can successfully add Synonyms and Up/Down rules and everything works as expected, but I cannot get the Filter rule to run at all.
Also, the Decorate rule doesn't return anything as "querqy_decorations":
glucoza =>
  FILTER: * product_ean:W13989010
  DECORATE: REDIRECT https://www.google.com

I am using the latest versions of Solr, Solr4j, Querqy (querqy-solr-5.4.lucene900.1-jar-with-dependencies.jar).
Is there something wrong with how I've declared those rules? Can someone please advice on how should I debug this issue?
P.S.: I've compared my rule files with the one generated by SMUI and the output is identical, so I am guessing it might be something related to the query.
My solr params are these:
fl = [*]
bf = [if(termfreq(product_name_nospace,'glucoza'),100,0)]
qf = [product_name product_name_nospace product_ean]
sort = [score desc]
start = [0]
rows = [10]
defType = [querqy]
querqy.rewriters = [common_rules]
q = [glucoza]
Any help would be greatly appreciated.
Thank you!

Hi @alexconstantin, Just to verify: Synonyms and UP/DOWN work for exactly the same input (glucoza)?

@renekrie yes, and also the DELETE rules (for other keywords, such as "glucoza test" -> delete "test"). It's just the FILTER/ DECORATE rules that seem to be ignored.

The Chorus app seems to be using 2 JAR files: https://github.com/querqy/chorus/tree/main/solr/lib
Are both of them required?

Re debug: If you turn on standard Solr (debug=true), you should see the rewritten query as part of the standard Solr debug output and also get some additional output from the CommonRules rewriter. You will get some further output if you enable "infoLogging" - https://querqy.org/docs/querqy/solr-plugin-configuration.html#info-logging

Jars in Chorus: no, the querqy-regex...jar  is only an example of a custom rewriter

Without the decorate issue, I would think that there might be something wrong with the analysis of the ean field. Though it would be weird to end up with a 'match all' - the filter doesn't seem to constrain the result. It might still be worth trying out the ean query as a fq, independent of Querqy.
On the other hand, there still is the DECORATE issue. Is there maybe a format issue in the rules definition? Line breaks?? (though it would be the first time, that a rule doesn't get applied due to formatting issue - you'd usually see a parsing error)

If I add &debug = true, this is what I see:
All rules disabled (OK):

fl = [*]
qf = [product_name product_ean]
sort = [score desc]
start = [0]
rows = [10]
defType = [querqy]
querqy.rewriters = [common_rules]
q = [glucoza]
debug = [true]

"parsedquery":"DisjunctionMaxQuery((product_name:glucoza | product_ean:glucoza))",

One synonym rule (OK):

glucoza =>
  SYNONYM: synonymValue

"parsedquery":"DisjunctionMaxQuery((product_name:glucoza | product_ean:synonymvalue | product_ean:glucoza | product_name:synonymvalue))",

One Up/Down rule (OK):

glucoza =>
  UP(30): * product_ean:W41671013

"parsedquery":"FunctionScoreQuery(FunctionScoreQuery(+(product_ean:glucoza | product_name:glucoza), scored by boost(if(query(((+product_ean:w41671013 +product_ean:w +product_ean:41671013) (+product_ean:w41671013 +product_ean:w 41671013) (+product_ean:w41671013 w +product_ean:41671013) product_ean:w41671013 w 41671013),def=0.0),const(30.0),const(1.0)))))",

Filter rule (NOT OK):

glucoza =>
  FILTER: * product_ean:W41671013

"parsedquery":"DisjunctionMaxQuery((product_ean:glucoza | product_name:glucoza))",

The parsed query for the Filter rule acts as if the rule doesn't exist at all.
Some notes:
I am not receiving any parsing error (or any other error) while pushing the rules to Querqy. I am using the CommonRulesConfigRequestBuilder as follows:
 var resp = new CommonRulesConfigRequestBuilder()
        .rules(rules)
        .ignoreCase(true)
        .boostMethod(BoostInstruction.BoostMethod.MULTIPLICATIVE)
        .rhsParser(WhiteSpaceQuerqyParserFactory.class)
        .buildSaveRequest(rewriterId)
        .process(client, coreName);

      log.info("=> resp: " + resp);

This outputs the following:
=> resp: {responseHeader={status=0, QTime=1}}

I can confirm the rule was correctly exported by viewing the contents of this file (from the solr docker image):
/var/solr/data/configsets/testalex/conf/querqy/rewriters/common_rules
{"class":"querqy.solr.rewriter.commonrules.CommonRulesRewriterFactory","config":{"querqyParser":"querqy.rewrite.commonrules.WhiteSpaceQuerqyParserFactory","boostMethod":"MULTIPLICATIVE","ignoreCase":true,"rules":"glucoza =>\n  FILTER: * product_ean:W41671013"}}

Hey @alexconstantin, Could you please verify that solrconfig.xml contains a line:
<searchComponent name="query" class="querqy.solr.QuerqyQueryComponent"/>

This component is where filters and decorations are applied.

@renekrie Thank you!
I did add all 3 Querqy components to SOLR (searchComponent, queryParser and requestHandler) using the SOLR Config API: https://solr.apache.org/guide/solr/latest/configuration-guide/config-api.html, not by adding them manually to the solrconfig.xml file.
{
  "add-searchcomponent":{
    "name": "querqy",
    "class": "querqy.solr.QuerqyQueryComponent"
  }
}

This created a configoverlay.json file which contained all 3 components. However it seems this doesn't work as expected with the search component.
I've moved the declaration in solrconfig.xml, as you specified, and both Filter & Decorate rules are now working as expected.
Thank you once again for your help!

We actually override the query component. Maybe you only need to change the name from querqy to query in your API call?


Module loading/bundling failure

Bug report
I am having an issue with @toast-ui/react-image-editor (a React wrapper for tui-image-editor) that was bundled fine with Webpack 4, but does not work any more with Webpack 5.
There is an issue related to module paths of tui-image-editor. Possibly related to the fact that tui-image-editor is still built with Webpack 4, but I would expect it to work regardless.
What is the current behavior?
Module is not loaded:
Uncaught TypeError: Cannot read property 'call' of undefined
    at __webpack_require__ (bundle.js:41685)
    at eval (index.js:3)
    at Object../src/index.js (bundle.js:40596)
    at __nested_webpack_require_1152__ (bundle.js:39425)
    at bundle.js:39489
    at bundle.js:39492
    at webpackUniversalModuleDefinition (bundle.js:39403)
    at Object.733 (bundle.js:39405)
    at __webpack_require__ (bundle.js:41685)
    at Object.<anonymous> (bundle.js:7)

If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/siilike/webpack12138
What is the expected behavior?
Module is loaded fine.
Other relevant information:
webpack version:  5.10.0
Node.js version: 14.15.1

I made a pull request for tui, which is build using webpack5 and works fine.
Until that is released you can use my branch:
npm i github:emilsedgh/tui.image-editor#62807f5a6015f4b62e453eb09672fc1ea7952a15

@emilsedgh Can't reproduce using the latest version of webpack

@emilsedgh Can't reproduce using the latest version of webpack

Confirmed to work in 5.17.0.

Confirmed to work in 5.17.0.


⚠ Bofrost.com has degraded performance

In bdecb8a, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 630 ms

Resolved: Bofrost.com performance has improved in b19040b.


fix: do not connect to ws server from html export

Fixes a bug where the HTML export would not work because connection to the Alva Websocket server was not possible

Works for me!


nixopsUnstable: 2.0.0-pre (2021-02-03) -> 2.0.0-pre (2021-03-24)

Motivation for this change
Deliver fixes and improvements.
Produced by running the update script.
Tested on an aws deployment.
Things done

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

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

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

What is the plan regarding nixops and 21.05? Will unstable be the new main version or still not?

@ofborg eval


Simplify the Laravel skeleton

This is work in progress.
I intend this to be a place where we can discuss the changes I'm doing to slim down this base skeleton and make it the default structure for standalone installs of Flarum.

Current status: files from public/ were moved to the root directory, and the files from public/flarum are now in assets/flarum.
This will need to be configured for the backend, which probably means we need to overwrite the application class. Meh.


add PerformanceHints to ensure reasonable grid balance and grid parameters

Something like this: https://github.com/ax3l/WarpX/blob/9f204ef8532ebbfeab645ec4779f1ffdf9c1fba8/Source/Initialization/WarpXInitData.cpp#L536
Unlike WarpX, we need to do this check for each AMR level, since subcycling means we can't parallelize over levels.
Also: ensure blocking_factor >= 32 and max_grid_size >= 128 if running on GPUs.

Also: set amrex.abort_on_out_of_gpu_memory=1 by default

Fixed by https://github.com/BenWibking/quokka/pull/39


58 Add achievement modals to all categories pages

Added new add achievement modals to all categories pages

Got rid of popovers previously used
Added modals similar to the ones used for editing/updating details in the category tables.
Fixed some inconsistencies in the forms.
Added file upload db functions (thanks @Shanki200801!) - have to check this functionality.
Other minor issues listed in #58.

Closes #58.

Under add conferences,proceedings fp should only be displayed if checkbox is ticked. It should be hidden by default.

Field to upload conference certificate image missed out, need to add that. Also the buttons should be called something other than update perhaps?
Rest looks good to go!

Under add conferences,proceedings fp should only be displayed if checkbox is ticked. It should be hidden by default.

Kay, will add these

Field to upload conference certificate image missed out, need to add that. Also the buttons should be called something other than update perhaps?
Rest looks good to go!

Under add conferences,proceedings fp should only be displayed if checkbox is ticked. It should be hidden by default.

Added all requested changes! Please review again.

(For reference)


Events not sent to Segment servers: "Unexpected Status Code"

In order to get the fix for https://github.com/segmentio/Analytics.NET/issues/156, I used version 3.7.0 of Analytics.Net.
First, here's what my Failed callback looks like:
private void Initialize()
{
    // ...
    client = new SegmentSdk.Client(...);
    client.Failed += LogFailure;
    // ...
}

private void LogFailure(SegmentSdk.Model.BaseAction action, Exception e)
{
    string details = null;
    if (e != null)
    {
        details = e.Message;
    }

    _logger.LogError(LoggingEvents.SegmentFailure, e, $"Failed to send analytic event {action.Type} for user {action.UserId} and message {action.MessageId} to segment.io server. Details: {details}");
}

With this, I got these error logs after a few hours:
Failed to send analytic event track for user 831ba960-a73c-49b7-be6b-771d2233ce2d and message 5c72ec76-0044-407b-8c69-9a8c3edb9aef to segment.io server. Details: Status Code: 0, Message: Has Backoff reached max: True with number of Attempts:8,
 Status Code: 0
, response message:
Segment.Exception.APIException: Status Code: 0, Message: Has Backoff reached max: True with number of Attempts:8,
 Status Code: 0
, response message:

Failed to send analytic event identify for user 831ba960-a73c-49b7-be6b-771d2233ce2d and message 2a2d3b52-2b01-4b21-9178-4876f1e725e8 to segment.io server. Details: Status Code: 0, Message: Has Backoff reached max: True with number of Attempts:8,
 Status Code: 0
, response message:
Segment.Exception.APIException: Status Code: 0, Message: Has Backoff reached max: True with number of Attempts:8,
 Status Code: 0
, response message:

Is there anything that I could do to help you troubleshoot this?

I find it weird that we see:

number of Attemps = 8: this implies that _backo._attempt = 8
Has Backed reached max = true : this implies that _currentAttemptTime >= _max which is the same as _currentAttemptTime >= 10000.
I am not sure that I understand the code correctly but it lets me think that you will wait/retry for at most 10 seconds. This may be a little short if you eventually hit an http timeout.

In case it can help, I have attached somme logs coming from Analytics.Net before/after the error.
loggly_grid_2021-03-30 12_20_25.408029.log

The batch that failed to be sent is the one with id 44eb04cb-3947-4c35-b817-ba91f28ac983. I searched in my logs for this specific ID and I only found this:

It therefore looks to me like it was only retried once and not 8 times.

@mabead May I ask if you have any custom settings for the configuration of the client or are you just using the default values of the configuration?

Thanks for the information!
I believe the issue may be related to the response being null thus the status code is returned is 0.
This may mean that we are entering either the HttpRequestException o TaskCancelledException catch. We are working on adding a few more logs to determine the exact issue.

hey @mabead, would you mind doing a quick sanity check of this https://github.com/segmentio/Analytics.NET/pull/164 to confirm it solves this issue?

@pooyaj I could give it a try but I don't see a new version of Analytics.net available on nuget. As soon as you have a new version, I will be able to try it out.


GDB-5027 Automatically resolve valid namespace values in prefix field

Automatically resolves namespaces to prefixes when typed or pasted in prefix field in dialog

Can you provide a test please

A test has been added

Can you provide a test please

A test has been added


PluginField and its user presentation

Describe the bug
PluginField (calingen.forms.fields) basically just displays the provided choices and uses the values fetched from calingen.models.profile.Profile.event_provider of the Profile model to determine, which of the choices should be pre selected.
The getter of event_provider evaluates the available plugins and modifies its return value accordingly, appending deactivated plugins to "unavailable".
Expected behavior
Possible solutions:

ignore this: when the form (containing this field) is saved, the corresponding entry is silently stored in the "unavailable" part of the JSON object. This is currently not visible to the user.

inform the user: possibly Django's messaging framework could be used. This would be another (implicit) dependency, which might not be desirable.

The JSONDataMultipleChoice field is gone in favor of PluginField.
However, the problem is still relevant, as the user is - as of now - not informed about missing / deactivated plugins.
Modified the original issue text!

This is basically handled in #8, but the code is not as clean as I would like it. It doesn't seem fragile, though.
Currently working on unit tests.


added community page and linked contact page also

added community page, linked it and changed the transition and hover effects. Please suggest if any other changes are required

Unfortunately, due to a wrong PR that got merged, the website's structure became disorganized. We had to revert to the old code. Kindly pull the latest changes and create a new PR for your issue, as your current PR shows conflicts. I apologize for the inconvenience and appreciate your understanding. Looking forward to your new PR soon. Thank you! 😊


PiVPN not compatible with OpenVPN anymore

In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}

[X] I have read and understood the contributors guide.
[x] The issue I am reporting can be replicated.
[X] The issue I am reporting can be is directly related to the pivpn installer script.
[X] The issue I am reporting isn't a duplicate (see FAQs, closed issues, and open issues).

Describe the bug
A clear and concise description of what the bug is.
Installing PiVPN has an issue where the config file for OpenVPN it generates isn't compatible with OpenVPN. I have tried reinstalling PiVPN multiple times and the same issue arises. Another issue is that while installing, the installer seems to be tied more towards WireGuard than PiVPN and doesn't allow me to use a domain instead of a numerical IP address.
To Reproduce
Steps to reproduce the behavior:

Go through the PiVPN installation
(for custom domain) attempt to use a custom domain
(for OpenVPN incompatibility) finish installation
Make a new profile for the VPN and read through contents
See error

Expected behavior
A clear and concise description of what you expected to happen.
I believed that the PiVPN .ovpn files should have worked on OpenVPN, however they were unsuccessful as they were made for WireGuard instead.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

VPN Protocol
OS: [e.g. iOS]
Version [e.g. 22]

Smartphone (please complete the following information):

VPN Protocol: OpenVPN 3.1.0 (4292)
Device: Huawei P Smart 2019
OS: Android 9
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Closing this one.
I might be releasing a sort of how-to-pivpn official video in the next couple of months... guess people keep consuming outdated how-to's form random people.


Can some sort of semver-like version be added to image tags?

The PR at https://github.com/home-assistant/docker-base/pull/166 updated to a new version of s6, which requires changes to addon configuration. Unfortunately, this means that previous commits of addons using base images such as ARG BUILD_FROM=ghcr.io/home-assistant/amd64-base:3.14 will no longer work without modification.
I know it may be too late now for this specific issue, but it would be good if this experience could be improved in the future. Ideas include:

Add a simple -1... -2 suffix to image tags. Most versions would only ever have -1, but in this case the base image tag with s6 3.x could have been 3.14-2, and noted on the README.
If there aren't too many similar compatibility changes over the lifecycle of an Alpine release, it could be named after the upgraded subsystem such as 3.14-s6v3, becoming the default in the next major Alpine release.
If compatibility is not expected, then the README should make that clear so downstream authors know to use sha hashes instead of image tags if they wish.

We could do something like that in the future if needed / we need to make such a breaking change again.
Right now, there is no direct need for it (as this has been out for a bit already and damage was already done).
Therefore, will close this for now.
PS: You could also use SHAs in your version specifier, that will avoid issues like this too. Dependabot will actually support updating this for you.


Excessive finalization due to creating thread pools

When profiling for high memory usage, I noticed that Awaitility uses a finalizable executor by default. The default usage of Executors.newSingleThreadExecutor will wrap the thread pool with a FinalizableDelegatedExecutorService to call shutdown in a finalize method. A large number of tests run in parallel will causes more GC work, which is no longer optimized to catch up with a large number of finalizers.
The simple answer was of course to use Awaitility.pollExecutorService to set my own executor, so thank you for that.
Since awaitility already calls shutdown, the finalizer should be bypassed by creating the equivalent ThreadPoolExecutor directly.
(The actual memory hog is TestNG, which stores results in a CLQ)

Very good catch, I was not aware of this. Implementing a the ThreadPoolExecutor directly is probably a good idea. Thanks for reporting, for the explanation and hint to potential fix :)


[Feature] Support expression push down while reading paimon table and hive metastore type of paimon catalog

Fixes #23481

support expression push down while reading paimon table
support hive metastore type of paimon catalog
use basic table statistics

What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:disappointed: fail : 85 / 310 (27.42%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/paimon/PaimonMetadata.java
0
83
00.00%
[65, 66, 67, 70, 79, 85, 96, 101, 103, 104, 105, 108, 109, 111, 112, 114, 115, 116, 117, 118, 119, 120, 125, 126, 128, 129, 130, 131, 133, 134, 141, 142, 146, 148, 149, 151, 159, 161, 162, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 187, 196, 197, 198, 199, 201, 202, 204, 205, 206, 207, 208, 209, 210, 211, 212, 214, 217, 221, 222, 224, 225, 226, 227, 228, 230, 231]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonSplitsInfo.java
0
6
00.00%
[25, 26, 27, 28, 31, 35]

:large_blue_circle:
org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
0
8
00.00%
[762, 763, 771, 772, 773, 779, 780, 781]

:large_blue_circle:
com/starrocks/planner/PaimonScanNode.java
0
24
00.00%
[70, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 122, 124, 125, 126, 127, 128, 131, 140, 141, 142, 225, 226]

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
0
10
00.00%
[1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1087, 1088]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
0
7
00.00%
[346, 351, 356, 357, 358, 359, 360]

:large_blue_circle:
com/starrocks/connector/paimon/RowDataConverter.java
0
14
00.00%
[28, 29, 30, 31, 33, 34, 35, 36, 39, 40, 41, 42, 43, 45]

:large_blue_circle:
com/starrocks/catalog/PaimonTable.java
0
9
00.00%
[56, 57, 58, 59, 60, 76, 81, 86, 90]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonFilter.java
0
20
00.00%
[28, 29, 30, 31, 32, 33, 37, 38, 41, 42, 45, 46, 47, 48, 49, 50, 53, 54, 56, 61]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonConnector.java
6
10
60.00%
[77, 78, 80, 85]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonPredicateConverter.java
63
101
62.38%
[70, 77, 78, 80, 82, 83, 85, 93, 100, 114, 119, 135, 143, 151, 157, 167, 179, 184, 190, 192, 194, 198, 200, 202, 207, 208, 209, 210, 216, 217, 218, 220, 221, 223, 229, 234, 243, 251]

:large_blue_circle:
com/starrocks/connector/RemoteFileDesc.java
12
14
85.71%
[66, 112]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
3
3
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 170 / 312 (54.49%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
0
8
00.00%
[762, 763, 771, 772, 773, 779, 780, 781]

:large_blue_circle:
com/starrocks/planner/PaimonScanNode.java
0
24
00.00%
[70, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 122, 124, 125, 126, 127, 128, 131, 140, 141, 142, 225, 226]

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
0
10
00.00%
[1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1087, 1088]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
0
7
00.00%
[346, 351, 356, 357, 358, 359, 360]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonFilter.java
7
20
35.00%
[37, 38, 41, 42, 45, 46, 47, 48, 49, 50, 53, 54, 56]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonMetadata.java
46
84
54.76%
[79, 85, 105, 126, 127, 129, 130, 131, 132, 134, 135, 143, 149, 150, 183, 184, 185, 197, 198, 199, 200, 202, 203, 205, 206, 207, 208, 209, 210, 211, 212, 213, 215, 218, 227, 228, 229, 231]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonPredicateConverter.java
63
101
62.38%
[70, 77, 78, 80, 82, 83, 85, 93, 100, 114, 119, 135, 143, 151, 157, 167, 179, 184, 190, 192, 194, 198, 200, 202, 207, 208, 209, 210, 216, 217, 218, 220, 221, 223, 229, 234, 243, 251]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonConnector.java
7
10
70.00%
[78, 79, 81]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonSplitsInfo.java
5
6
83.33%
[35]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileDesc.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/connector/paimon/RowDataConverter.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/PaimonTable.java
9
9
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 172 / 314 (54.78%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
0
8
00.00%
[762, 763, 771, 772, 773, 779, 780, 781]

:large_blue_circle:
com/starrocks/planner/PaimonScanNode.java
0
24
00.00%
[70, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 122, 124, 125, 126, 127, 128, 131, 140, 141, 142, 225, 226]

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
0
10
00.00%
[1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1087, 1088]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
0
7
00.00%
[346, 351, 356, 357, 358, 359, 360]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonFilter.java
7
20
35.00%
[37, 38, 41, 42, 45, 46, 47, 48, 49, 50, 53, 54, 56]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonMetadata.java
46
84
54.76%
[79, 85, 105, 126, 127, 129, 130, 131, 132, 134, 135, 143, 149, 150, 183, 184, 185, 197, 198, 199, 200, 202, 203, 205, 206, 207, 208, 209, 210, 211, 212, 213, 215, 218, 227, 228, 229, 231]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonPredicateConverter.java
65
103
63.11%
[70, 77, 78, 80, 82, 83, 85, 93, 100, 114, 119, 135, 143, 151, 157, 167, 181, 186, 192, 194, 196, 200, 202, 204, 209, 210, 211, 212, 218, 219, 220, 222, 223, 225, 231, 236, 245, 253]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonConnector.java
7
10
70.00%
[78, 79, 81]

:large_blue_circle:
com/starrocks/connector/paimon/PaimonSplitsInfo.java
5
6
83.33%
[35]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileDesc.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/connector/paimon/RowDataConverter.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/PaimonTable.java
9
9
100.00%
[]

I just have general question about: why associate filter with split info?  Is there any special trick when handling paimon table?


Rya-112

Removed table keys and moved their table name methods to secondary index classes, the getTableName() method.  PCJ tests are still broken.
All the secondary indexes are affected because now they manage there own index table names.  Mongo is similar, except they are database names.

https://github.com/kchilton2/incubator-rya/pull/9


Error when setting low quality

When I try to set the bot to run in low quality the attached error occurs.
It sends the viewers, but this error occurs and the program closes.

same here

guess it could be an easy fix with the selection of the correct class.
data-a-target="player-settings-menu-item-quality"
or something similar


Doesn't support long text files

I'm considering this gem for a version control solution I'm writing. We'll be saving long files in the active record model - including some :medium_text columns.
When I view the database I can see that the "modifications" column is just a "text" field - which I believe cuts off around 64kb in most modern databases. This is too short for my purposes.
Has anyone ever tried to work around this by changing that column type directly?

So, you can filter the columns that are versioned?  Is this workaround still working? Has Vestal Versions implemented something similar in the last ~4 years?


Cryptocurrencies: React Capstone Project

In this capstone project I have:

Chosen an API that is open and allows me to get numeric data out of it.
Followed design guidelines given by the curriculum.
Displayed coins on the home page found in the API.
Implemented a details page where it shows detailed information about the clicked coin.
Added a search bar to search for a desired currency from the list.
Implemented a function to return back to the home page using the < button.
Added tests for the components.
Used react-router for routing through the pages.
Added a professional README file.

Here is a video presentation of the project.
https://www.loom.com/share/0c4ae71448554f9ab210bd84a35513e9

I made the following changes after the previous comments.

I decreased the fetched items from more than a hundred to just ten so that they would fit in a single column in the desktop version, as suggested by the previous reviewers.
I changed my design in the mobile view to look like the original design, the items listed in two columns and the backgrounds
slightly different( I used black and dark grey as suggested by the reviewer.)


Fix YAML properties with hyphens cause Build error

For issue #636:

After debugging, I discovered that MDX-Remote is the cause of this failure.
It seems to use YAML properties within a new function(arg1, arg2) format, where each argument corresponds to a YAML property. This requires the properties to be in a format that's a valid variable name (i.e., no spaces or strange characters).
MDX-Remote replaces variables in the content body with these YAML properties, like so:

---
my_name: "Mohamed"
---
My name is {my_name} // the output will be My name is Mohamed

This pull request replaces all hyphens/other characters in the YAML properties with underscores.
However, it doesn't handle cases where a user employs the YAML property as a variable value. Since this PR doesn't modify the content of the file itself (i.e., it won't change hyphens in the body {my-name} to underscores {my_name}), this scenario remains unaddressed.

I'm not clear if this actually changes the file before processing by our mdx pipeline which will cause a bunch of issues - where does the modification happen?

WONTFIX as never got clear answer on whether caused issues plus not that important to do. Please re-open if you think differently 🙂


[microNPU] Adding a option to enable striping

This commit adds a cascader option to enable
striping explicitly.
When doing so fixed a bug that is associated
with block config selection, that will be
triggered when striping is disabled.
Co-authored-by: Elen Kalda<EMAIL_ADDRESS>cc @Mousius @lhutton1

After having an offline discussion with @lhutton1 , we also decided to switch the polarity to enable the striping instead because we'd like to use block config selection done by the cascader without striping in a default run.

Thanks @manupa-arm!


[Kernel][RFC] Refactor the punica kernel based on Triton (#5036)

cherry-pick of vllm-project/vllm#5036

Will be merged via regular syncs instead.


Can this be used with 5.1?

Since 5.1 is the LTS I'd like to give it a try for your package.
I see "illuminate/cache": "~5.2" and "illuminate/redis": "~5.2" so I wonder if or what could be the changes to make this work with 5.1.

Those are only dev requirements. You should be able to install and use the package.
If it doesn't work, feel free to submit a PR for 5.1 compatibility.

How about right here?

@bicatu I just a Lumen support. Let me know if it works for you.


Improvements to the UX/UI of Continuous Testing

Currently I don't quite like the way Continuous Testing is presented right now.
For me it is a huge improvement in the development cycle and I would like to put it more in the foreground.
For example the button for starting and stopping is very confusing.

The button could represent to a new user two different meanings:

watch symbol without crossline = Continuous Testing is active
watch symbol without crossline = enable Continuous Testing = Continoous Testing is not active

Therefore I would like to communicate the state more clearly to the developer.
Also I could imagine to add a status bar item only when Continuous Testing is active. vscode-jest is doing the same thing for representing the state of Testing. VSCode does support to hide status bar items, therefore I dont think it would be bloat, but more a nice addition.

You may be interested in improvements from last week as well: https://github.com/microsoft/vscode/issues/178973#issuecomment-1496713352

Made some more improvements here in the last release which I think covers this decently well


[SPARK-32704][SQL][FOLLOWUP] Corrects version values of plan logging configs in SQLConf

What changes were proposed in this pull request?

This PR intends to correct version values (3.0.0 -> 3.1.0) of three configs below in SQLConf:

spark.sql.planChangeLog.level
spark.sql.planChangeLog.rules
spark.sql.planChangeLog.batches

This PR comes from https://github.com/apache/spark/pull/29544#discussion_r503049350.
Why are the changes needed?

Bugfix.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

N/A

cc: @HyukjinKwon @gatorsmile

Test build #129679 has started for PR 30015 at commit 720bafb.

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

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

Merged build finished. Test PASSed.

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

Thanks for the check, @HyukjinKwon !

GA passed, so I'll merge this. Thanks!

Merged to master.

Test build #129679 has finished for PR 30015 at commit 720bafb.

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

Merged build finished. Test PASSed.

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


Font for verse block

I found that using a [verse] block that is rendered with the M+ 1mn font.   This was a particular problem not only as it is fixed width (subjective but I would prefer a varialble width font), but more importantly it does not support the extended latin characters I need.
With the Foliate reader on linux there was some substitution happening but the result was unacceptable.   With Calibre the missing glyphs were substituted with Déjà vu, and this was fine.   But on Android (Lithium Reader) no glyphs were rendered at all.
I started by trying to customize the font and realized thats not possible, but did come up with an acceptable solution.   So all ok here.  You can probably close this immediately.   But my suggestion is that verse by default doesn't look like code....   And it would be awesome to customize any fonts.  (I realize there is an issue open).   Thanks!!
in the epub3.css file on line 52 I added the M+ p1 font family for div.verse . pre
/* TODO we may want to reenable hyphens here, but not for kf8 */
div.verse > pre {
  font-family: "M+ 1p", sans-serif !important;
  background-color: transparent;
  border: none;
  font-size: 1.2em;
  text-align: center;
}

Otherwise the verse style is grabbing the defined font-family from epub3-css3-only.css
/* QUESTION what about nested elements inside code? */
body code, body kbd, body pre, pre :not(code){
  /* !important required to override custom font setting in Kindle / Gitden / Namo */
  /* Gitden requires the extra weight of a parent selector */
  /* Kindle and Gitden require the override on pre child elements */
  font-family: "M+ 1mn", monospace !important;
}

I agree using a prose font for verse (while still preserving spaces) is the right strategy. We made a similar switch in the HTML converter. See https://github.com/asciidoctor/asciidoctor/commit/2640a9938bd76dd5f577910117776f847962b41b