Information-Gathering Agent.

I was going through the list of algorithms that have been implemented and found out that the Information-Gathering Agent hadn't been implemented. (Also, this is my first issue so please don't mind if my doubts are silly)
Hence, I would like to contribute by implementing this algorithm. However I have 2 doubts:
1)Which file would I have to edit to add this algorithm (I'm assuming mdp.py) but just confirming as this algorithm is prior to the introduction of MDP's.
2)Would I have to design a sample decision network or would it be sufficient just to make some sample evidences(with their values of information and costs hardcoded), and highlight which evidences would be requested by the information gathering agent.
Thanks.

Thank you for your interest in helping out. We welcome any questions, don't worry about it.

I believe the algorithm belongs to probability.py, since it is best on Decision Theory. I'm not familiar with the algorithm though, so I can't be sure. If it doesn't use a Markov model/sequence, I would put it into the probability module, otherwise it goes to mdp.

The purpose of the code is for students to run it on their own, possibly giving their own examples. So it would be best if you didn't hardcode values in but instead did something that could be used (more) easily by students (maybe a decision network class). Having said that, you can if you don't have the time, hardcode the values in so that others (or you) can later extend the functionality.

Hope this helped.

Thank you for replying to my issue.
I think the essence of the information-gathering agent is to highlight the order in which the evidences are selected. I don't think implementing a decision network class would be that necessary as of now as:
The algorithm doesn't really depend much on the decision network (from an 'understanding the algorithm' point of view). A student would get an intuitive idea if he just inputs the VPI's and Costs of the evidences and the program returned the order in which the evidences would be requested.
Your comment did help and I will start working on it right away. :+1:

In that case go right ahead. If you have any further questions, feel free to reach out. Even though I'm not familiar with the algorithm, I will do my best to help.

@nvinayvarma189 : I am afraid I don't know enough about the particular agent to give you a specific answer. I would say though that it depends. If you want to use the agent as an object (Create agent given parameters, Give input to agent, Get output) a class is more fitting. If you want to directly get the results (Run agent-function given parameters and input and return results), a function will do.
Since this project is for educational purposes, it is best to write in a way to make studying easier. I would pick the one that is more readable and makes running examples easier.

Is it possible to show an example implementing a simple decision network ? e.g. "airport" or "umbrella"...


Small typo

Changed "If your application does not works" to "If your application does not work".

thanks!


Unable to read IRM Protected Email via Samsung Galaxy Native App after enabling EAS settings in Client Apps

Hello, There
We have an issue that IRM Protected Email cannot be read within Samsung Galaxy Native App after enabling 'Exchange Active Sync' rule from Conditional Access - Client Apps settings.
Using Outlook App is okay under any conditional access, but only has an issue using Samsung Galaxy Native Apps.
We tested under each Conditional Access Rules
User - A.
Applied Conditional Access

Assignments

Users and Groups -> Specific User (A)
Cloud Apps -> 1 app included - Microsoft Office Exchange Online
Conditions - '1 conditions selected'

; Client Apps - Configured
; Mobile apps and desktop clients - (Checked) Exchange ActiveSync Clients

Access Controls

Grant - 1 control selected
> Grant Access - Require device to be marked as compliant

User - B.
All same condition as 'A' except

Assignments

Conditions - 'Not Configured'

Result :
A -> Unable to read IRM Email on Galaxy (With Intune enrolled device)
Message Context : attached - message.rpmsg
There is a button to read IRM message. (Cannot see the protected email context directly within Native Mail App)
B -> Able to read IRM Email on Galaxy (With Intune enrolled device)
Environments
AD RMS, ADFS, Exchange, AAD
Mobile Devices : Galaxy S5, S9, Note
; i guess the 'Exchange Active Sync' checkbox in Conditional Access needs to be investigated for the IRM issue, Could you look into this issue for make sure?

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

ID: ad5f26dc-2f8f-ef76-3d20-a0a42d2bbada
Version Independent ID: a0e971d1-05f2-2c21-06d4-60c087d45c0a
Content: Set up SharePoint Online and Exchange Online for Azure Active Directory conditional access
Content Source: articles/active-directory/conditional-access/conditional-access-for-exo-and-spo.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@chungsu
Thanks for your feedback! We will investigate and update as appropriate.

@chungsu Please open a Azure Support Ticket so that Identity Support engineer can check further on this issue. In case you limitations in your support plan to open support ticket please let me know.

@chungsu We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


How to set up cloudkarafka brokers for the confluent rabbitmq source connector?

Hello!
I would like to set up the rabbit source connector that is using kafka brokers provided by cloud kafka.
I have detailed described  in this post
https://stackoverflow.com/questions/61913141/how-to-set-up-cloudkarafka-brokers-for-the-confluent-rabbitmq-source-connector
the issue that I'm facing of.
Can you please advice?
Thank you.
Regards,
Florin

I can provide a solution to running it on Confluent Cloud if that helps? ;-)

Hello!
While it can be helpful, it is Confluent Cloud specific configuration.
What I would like to clarify are the following configuration for the connector:

Is it mandatory to provide these configurations ?

"bootstrap.servers":"cloudkafkabroker:9094",
  "sasl.jaas.config": "org.apache.kafka.common.security.scram.ScramLoginModule required username=\"username\" password=\"password\";",
  "security.protocol":"SASL_SSL",
 "sasl.mechanism":"SCRAM-SHA-256",

Why the connector that is running inside container doesn't use the underlying kafka brokers provided in the docker-compose via the environment variables:

CONNECT_BOOTSTRAP_SERVERS: "my-cloudkafka-brokers:9094"
      CONNECT_SECURITY_PROTOCOL: "SASL_SSL"
      CONNECT_SASL_MECHANISM: "SCRAM-SHA-256"
      CONNECT_SASL_JAAS_CONFIG: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="username" password="hidden";'

For me it is not clear what key pairs should be used for connector configurations, regarding the

"bootstrap.servers"
"sasl.jaas.config"
"security.protocol"
 "sasl.mechanism"

In my opinion they should be the same disregarding the kafka broker providers. I have seen for  same connector, configuration like these key pairs:
"confluent.topic.bootstrap.servers",
    "confluent.topic.sasl.jaas.config"
        "confluent.topic.security.protocol"
        "confluent.topic.sasl.mechanism"

or like these:
"producer.bootstrap.servers",
   "producer.sasl.jaas.config"
       "producer.security.protocol"
       "producer.sasl.mechanism"

When you should use one over the others? What is about producer prefix?

In the configuration for the connector it is mandatory to use the
"confluent.license":""? When and why you should add this config?

I look forward for your answers.
Thanks.

It's best if you speak to your cloud provider for help connecting to their brokers.
For general information about how to configure Kafka Connect and answer your questions above see https://docs.confluent.io/current/connect/index.html


irfanview: Update to version 4.60, add autoupdate

Closes #8175

Adds autoupdate, a bit messy but the hashes are spread across many pages, not much we can do

[x] I have read the Contributing Guide.

/verify


Azure Front Door Log scrubbing

Does AFD offers Log scrubbing  ?

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

ID: b9ed4c40-36eb-89f8-7c17-3a005055a7a1
Version Independent ID: ddb9f60b-2b70-e1d5-2a7d-286ad34b8756
Content: Azure Web Application Firewall Sensitive Data Protection
Content Source: articles/web-application-firewall/ag/waf-sensitive-data-protection.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@ageerlenin
Thanks for your feedback! We will investigate and update as appropriate.

Hi @ageerlenin
I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum
Thank you for your time and patience throughout this issue.


Cannot set property 'DependsOn' of undefined

Hello,
I am trying to integrate your plugin in my project. I have followed the steps as stated in the documentation. but i am getting a type error whenever i try to deploy:
Serverless: Packaging service...
Serverless: [serverless-plugin-split-stacks]: Summary: 12 resources migrated in to 5 nested stacks
Serverless: [serverless-plugin-split-stacks]:    Resources per stack:
Serverless: [serverless-plugin-split-stacks]:    - (root): 9
Serverless: [serverless-plugin-split-stacks]:    - LogsLogGroupNestedStack: 2
Serverless: [serverless-plugin-split-stacks]:    - ApiGatewayRestApiNestedStack: 1
Serverless: [serverless-plugin-split-stacks]:    - ApiGatewayResourceNestedStack: 6
Serverless: [serverless-plugin-split-stacks]:    - ApiGatewayDeploymentNestedStack: 1
Serverless: [serverless-plugin-split-stacks]:    - LambdaPermissionNestedStack: 2

  Type Error ---------------------------------------------

     Cannot set property 'DependsOn' of undefined

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Forums:        forum.serverless.com
     Chat:          gitter.im/serverless/serverless

  Your Environment Information -----------------------------
     OS:                 darwin
     Node Version:       6.10.0
     Serverless Version: 1.13.2

i have added the serverless-aws-documentation in under plugins in serverless.yml as follows:
plugins:
  - serverless-plugin-split-stacks
  - serverless-offline
  - serverless-aws-documentation

custom variable:
custom:
  stage: "${opt:stage, self:provider.stage}"
  documentation:
    version: '1'
    summary: 'My API'
    description: 'This is my API'
    authorizers:
      -
        name: customauthorizer
        description: "This is an error"
    resources:
      -
        path: "/orders"
        description: "This is the description for /orders"

and the function is as follows:
getOrders:
    timeout: 30
    handler: handlers/order.getOrders
    vpc:
      securityGroupIds:
        - sg-2c2f8453
      subnetIds:
        - subnet-4df80d61
    events:
      - http:
          path: orders
          method: get
          RestApiId:
            Ref: ApiGatewayRestApi
          authorizer:
            name: customauthorizer
            resultTtlInSeconds: 0
            identitySource: method.request.header.Authorization
          cors: true
          vpc:
          securityGroupIds:
            - sg-2c2f8453
          subnetIds:
            - subnet-4df80d61
          documentation:
            summary: "Create something"
            description: "Creates the thing you need"
            requestBody:
              description: "Request body description"
            requestHeaders:
              -
                name: "x-header"
                description: "Header description"
              -
                name: "Authorization"
                description: "Auth Header description"
            queryParams:
              -
                name: "sid"
                description: "Session ID"
              -
                name: "theme"
                description: "Theme for for the website"
            pathParams:
              -
                name: "id"
                description: "ID of the thing you want to create"
            requestModels:
              "application/json": "CreateRequest"
            methodResponses:
              -
                statusCode: 200
                responseBody:
                  description: "Response body description"
                responseHeaders:
                  -
                    name: "x-superheader"
                    description: "this is a super header"
                responseModels:
                  "application/json": "CreateResponse"
              -
                statusCode: 400
                responseModels:
                  "application/json": "ErrorResponse"

Please help me in resolving this issue.
Also it will be really helpful if we can get a sample serverless.yml file to easily implement it.
Thanks

I have a feeling this might be to do with the serverless-plugin-split-stacks plugin, have you tried disabling it and redeploying?

@hassankhan Thanks for pointing it out.. the problem was with the serverless-plugin-split-stacks plugin. It is working fine after disabling it.


xfce: processing3 and mucommander fail with "GLib-GIO-ERROR"

Issue description
processing3 and mucommander (both are Java apps) crash on start with:
(process:16395): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
There is no problem with Plasma5 and IceWM, only XFCE
Adding wrapGAppsHook does not help, the issue seems to be trickier that typical ones with the same symptom, involving java and opengl
Steps to reproduce
# processing

Technical details
master + PR https://github.com/NixOS/nixpkgs/pull/36851

Telegram-Desktop actually fails with the same error upon trying to change it's theme. I believe that it's related to https://github.com/NixOS/nixpkgs/issues/26560 .


Is there a way to pass properties to custom components?

The docs show this:
import HeadlessToast from './HeadlessToast.svelte'
toast.custom(HeadlessToast)

But in the example provided, what if I want the time + description to be provided to the HeadlessToast component? Is that possible?

I've looked at the source and found this:
 {#if toast.component}
    <svelte:component this={toast.component} on:closeToast={deleteToast}></svelte:component>
 {:else ...}

so it doesn't seem to be possible to provide data.
How about adding an additional configuration option here: https://github.com/wobsoriano/svelte-sonner/blob/6ed91735300615dfba1363fabefd86fa917055d6/src/lib/types.ts#L15-L20
I would suggest componentProps. This could then be applied to <svelte:component when instantiating.
@wobsoriano does this sound good to you? If so, I can create a PR.

Since I need this feature I went ahead and created a PR #22

Hey, will take a look tomorrow. Thanks!

Fixed in https://github.com/wobsoriano/svelte-sonner/pull/22


Feature: seeds are opt in

Pull request checklist
Before submitting your PR, please review the following checklist:

[x] Consider adding a unit test if your PR resolves an issue.

[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)

Breaking changes

[ ] Check if this pull request introduces a breaking change

What does this implement/fix? Explain your changes.
Changes palm run and palm cycle to make seeds opt-in, rather than opt-out. This is preferable most of the time when working on regular models, which is the case for most dbt development tasks.
Defaults to full-refresh for seeds. This instructs dbt to recreate the seed table on each run, rather than inserting - this is necessary when making changes to seeds that have already been run on the current branch.
Adds a palm seed command to explicitly run seeds. This should be helpful when working on a seed, since we can --select my_new_seed for speed and efficiency.
Does this close any currently open issues?
DP-389 (Palmetto internal)

🎉 Nice changes!
Curious why the new command isn't using pass_obj and the environment object instead of ctx.obj and pass_context?
Also would love to see the command flag shortcuts -s and -e for select and exclude. The rest looks good!

I'll make those changes before merging. This was copypasta.


Waveform not loaded with a FlatList after scrolling

We are using the waveform in static mode, which is excellent. The only use case I'm having trouble working around is when scrolling in my <FlatList> of `react-native-gesture-handler', the waveform does not want to get displayed.
After tracking down the code, basically on the first rendering, the waveform outside the screen has an undefinedviewLayout when calling the first useEffect that triggers the getAudioWaveFormForPath. That part seems optimized to render so we only render what is displayed on the screen.
However, when scrolling, the viewLayout does not change, the useEffect is not triggered, and as a consequence, getAudioWaveFormForPath is not fetching the file. All this explains why the waveform is not rendered.
The optimization is here with the use of viewRef.current?.measur. Instead if
Quickly, if I bypass the optimization and use only the below without the measure, I load all files but can render the waveform. And since I use paging, my next page is rendered only when I fetch it after reaching the end of the page.
            onLayout={(event: LayoutChangeEvent) => {
              const { height, width, x, y } = event.nativeEvent.layout;
              setViewLayout({ height, width, x, y });
            }}

I would like to keep the optimization, but I'm unsure how to trigger the onLayout of the view when the waveform is seen at the screen displayed on the screen. Any hint is welcome not to have to resort to the above only!
waveform example
          <Waveform
            mode="static"
            containerStyle={styles.waveFormContainer}
            ref={ref}
            key={mediaUniqueId}
            path={mediaPath}
            candleSpace={CANDLE_SPACE}
            candleWidth={CANDLE_WIDTH}
            candleHeightScale={CANDLE_HEIGHT_SCALE}
            scrubColor={styles.scrub.color}
            waveColor={styles.wave.color}
            onPlayerStateChange={handleOnPlayerStateChange}
            onCurrentProgressChange={handleOnCurrentProgressChange}
            onChangeWaveformLoadState={(state) => {
              setIsMediaLoading(state);
            }}
            onPanStateChange={() => {}}
            onError={onError}
          />

See below, the first render (first screenshot), which is good and then when scrolling up, waveforms are not displayed (Second screenshot)

FYI: After replacing the viewRef.current?.measure for the nativeEvent param object and testing the below, we found other important bugs. The waveform component is piling up Audio tracks in Android, and since there is a limit of 32, after a while, nothing was working, and we had to restart our apps.
I developed a fix and protection on the Android side to raise a proper error when reaching 30 audio tracks simultaneously. Below is a quick patch I developed, in which I often stopped the player to remove an audio track. Moreover, I stopped doing the prepare on stop since it was retaking an audio track. It is maybe not efficient that way when playing bigger audio file but in my case it was way better which are small multiple audio files
Hope it help people and can get this lib better:
@simform_solutions+react-native-audio-waveform+2.0.0.patch

Are you hearing noise in audio once voice is recorded and then you play it. In my case it is not working on ios but on android I'm hearing noise or crackling voice. Can you share your recording code and how are you playing the recorded voice in both platforms.

@HaiderTWJ We did not play with recording for this. Just playing audio

@hamzadar2013 I did not encounter that. Also, we have not moved forward with the lib to play audio. Instead, we reuse the rn-sound Librairie we had already leveraged in the past, which had everything needed to replicate the lib in a more stable way when used massively.

@dprevost-LMI i wanna make audio waveform and play audio like we have n whatsapp to play audio

It's a weird coincidence; we had the exact needs, lol.

@dprevost-LMI can you please tell me how u achieve this functionality it will helpful for me thanks

We use react-native-sound, and for the waveform, we use something in-house done in the past. Unfortunately, it is all proprietary code, so I cannot share more

@mukesh-simform Besides the layout, the number of waveforms reached the Android limit. If we have more than 32 waveforms, Android native gets an error. Was that fixed, too, in some other PR, maybe?

@dprevost-LMI Please check the same with the new version v2.1.0 and feel free to reopen in case this issue persists at your end. Thanks

Great. I did not take the time to retry in our App, but I pulled the example, did some tests, and found that most of the problems stated in my ticket are fixed.
However, I found some slowness with the waveform extraction; see https://github.com/SimformSolutionsPvtLtd/react-native-audio-waveform/issues/84; thanks!


Question: Best practice to change Model Backbone and other core changes in the stardist2D?

hi there,
I wanted to know the process of changing the model backbone, for example instead of u-net what if i wanted to incorporate some other neural network? what about other changes in the core? How can i do it? could you please guide me in this regard?
Background Info: everything is running on my part (i.e. training, prediction ) now i want to make some changes in the python code to see how it goes (i.e. i want to build up on your already amazing code)? do i have to make changes in the pip installed package? any best practices to do so ?  Please guide me in this regard! @maweigert @uschmidt83
THANKYOU

Hi, sorry for the late reply.
The 2D model only supports a unet backbone at the moment (cf. this).
The 3D model can use either unet or resnet backbones (cf. this).
To be honest, we typically find that using a different backbone isn't that important. However, the 3D unet backbone (with default parameters) has a bigger receptive field compared to resnet.

Hi, sorry for the late reply.
The 2D model only supports a unet backbone at the moment (cf. this).
The 3D model can use either unet or resnet backbones (cf. this).
To be honest, we typically find that using a different backbone isn't that important. However, the 3D unet backbone (with default parameters) has a bigger receptive field compared to resnet.

If you want to add a new backbone, you have to update the config here, the function that builds the keras neural network, and this function.

If you want to add a new backbone, you have to update the config here, the function that builds the keras neural network, and this function.

It seems that you did NOT answer the question. The question: after I modified the model code in stardist2D locally, how to import them? Since this package is installed using "pip install ...", the training example in jupiter notebook will import the model from where it is installed, rather than the local directory.
Please help solve this basic use case of your code.


Upgrading scribe dependencies to latest version 2.4.0

Thanks for pull request. Will this affect backward compatibility in some way?

I don't think so

:+1:


Is not a real issue but read please

Hello i see you was working to add yuzu support to ryusak maybe you want to take a look to my profile, and get the pieces you miss to start adding support. You can delete this issue, thanks for read.

Howdy! Yea I was planning on it, but then figured two things:
1: RyuSAK was built on a shit foundation, and I was facing issues upon issues trying to even just compile the base version, something I gave up on in the end.
2: Yuzu was built by arrogant retards, and I want no further involvement in anything Yuzu ever again, just like a huge part of the community.
Yeah that's it, sorry but won't happen. I had already begun and made good progress, and adding support wasn't difficult or anything, but I stopped for those two reasons.

Build ryusak is super easy, i can help you to do, is more im going to upload directly modified ryusak to get more friendly to setup web connection.  But ithinked like you it is a good feature for the community and more when im doing to ryusak can run full offline, without need to go to ecchibicionist server, and depend if he is trigerred or no and he close or no service in any angry he get.  It was going to be a cool feature return yuzu support to their users. Personaly i have ryu and yuzu and both can run at sound velocity without shaders so i dont have any propblem, but i think on the rest.

Sorry forgot about this. Right so, as I said, Yuzu is dead for me, I stand by my principles. Adding Yuzu support is truly easy, but I have no intention of ever doing anything Yuzu ever again.
The thing with the server is a different issue that I'll gladly work on to fix at some point, but Yuzu cannot get hit with an DMCA quick enough imo.


render/egl: check "EGL_KHR_platform_gbm" for EGL_PLATFORM_GBM_KHR platform

See the https://www.khronos.org/registry/EGL/extensions/KHR/EGL_KHR_platform_gbm.txt
example code. In use EGL_PLATFORM_GBM_KHR before, should be check the
"EGL_KHR_platform_gbm" extension.

Well, I guess this isn't a big deal, since only ancient Mesa version would have EGL_MESA_platform_gbm but not EGL_KHR_platform_gbm.

FWIW, this does break wlroots on Debian stable, which ships Mesa 18.3.6 (released almost exactly 2 years ago).
As a meta-point it does make me a little sad when we break compatibility with Debian stable for things that can't easily be solved on the user end (like upgrading Mesa here, or upgrading the whole of GTK for the removal of gtk-primary-unstable).
I think there's a balance to be had (e.g., having to support old wayland-protocols or meson sounds like a hassle, when it's easily upgradable from backports on the user's end), but it's unfortunate when the options for Debian stable users are {use an older Sway, upgrade to unstable Debian, maintain custom patches reverting Sway/wlroots commits}.

I'd just recommend to use older Sway releases.


Add in height x width of an image in PowerRename

Description of the new feature / enhancement
The ability to add the height and width dimensions of image files into the name
Scenario when this would be used?
For web use it is best practices to have the height and width of the image in the filename. This becomes tedious when dealing 100 images.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/21144


🐛 BUG: ERR_RUNTIME_FAILURE error when using wrangler dev

FYI, I already made a post in discord but no one was answering
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.64.0 [Wrangler]
What version of Node are you using?
22.0.0(now 22.4.1 since i upgraded it, but not fixed), but prefer bun 1.1.20
What operating system and version are you using?
macOS Sequoia 15 dev beta 3
Describe the Bug
Observed behavior
I get ERR_RUNTIME_FAILURE error when using wrangler dev

Expected behavior
Works without any error, ex) apply db, open dev server, etc.
Steps to reproduce

A minimal working subset of your worker code

import { Hono, type Context } from 'hono'
import { authHandler, initAuthConfig, type AuthConfig } from '@hono/auth-js'
import { PrismaAdapter } from '@auth/prisma-adapter'
import { PrismaClient } from '@prisma/client'
import { PrismaD1 } from '@prisma/adapter-d1'
import type { D1Database } from '@cloudflare/workers-types'
import users from './routes/users'

declare let env: {
  DB: D1Database
}

const app = new Hono()

const adapter = new PrismaD1(env.DB)
const prisma = new PrismaClient({ adapter })

function getAuthConfig(c: Context): AuthConfig {
  return {
    // auth config...
  }
}

app.use('*', initAuthConfig(getAuthConfig))
app.use('/api/auth/*', authHandler())
app.route('/api/users', users)

export default app

A minimal working subset of your wrangler.toml

name = "[REDACTED]"
main = "api/index.ts"
compatibility_date = "2024-03-20"
compatibility_flags = ["nodejs_compat"]

[[d1_databases]]
binding = "DB"
database_name = "[REDACTED]"
database_id = "[REDACTED]"
preview_database_id = "DB"

Commands used to start your local dev server, including custom env and cli args

bunx wrangler dev # or npx wrangler dev, results are same

Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time)

use the command wrangler dev, that's it

A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
# when using wrangler dev

 ⛅ wrangler 3.64.0
-------------------

Using vars defined in .dev.vars
Your worker has access to the following bindings:
- D1 Databases:
  - DB: [REDACTED] (DB), Preview: (DB)
- Vars:
  - GOOGLE_ID: "(hidden)"
  - GOOGLE_SECRET: "(hidden)"
  - AUTH_SECRET: "(hidden)"
  - TEBI_ACCESS_ID: "(hidden)"
  - TEBI_ACCESS_SECRET: "(hidden)"
⎔ Starting local server...
╭────────────────────────────────────────────╮
│ [ open a[d open D[ turn off [ clear  [ to  │
│ ]browser, vtools,]local mode]console,]exit │
│                                            │
╰────────────────────────────────────────────╯
/Users/helloyunho/Projects/[REDACTED]/node_modules/wrangler/wrangler-dist/cli.js:29765
            throw a;
            ^

MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
    at #assembleAndUpdateConfig (/Users/helloyunho/Projects/[REDACTED]/node_modules/miniflare/dist/src/index.js:9178:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Mutex.runWith (/Users/helloyunho/Projects/[REDACTED]/node_modules/miniflare/dist/src/index.js:3521:16) {
  code: 'ERR_RUNTIME_FAILURE',
  cause: undefined
}

Node.js v22.4.1

side note: I don't really have any other devices to test this so if you have problem replicating the issue let me know

Fixed EPIPE error by manually(or more like forcibly) updating workerd but now new error...
wrangler d1 works fine now though

We'll try to reproduce this. It is possible that Windows + Node 22 is not working right now.
Can you try using Node 18 and see if you still see the problem?

We'll try to reproduce this. It is possible that Windows + Node 22 is not working right now. Can you try using Node 18 and see if you still see the problem?

still getting the same error with Node 18.20.4

Fairly certain issue is caused by the update to workerd. The last version without the error is<EMAIL_ADDRESS>

From my testing, this issue seems to be caused by an update to workerd. The last version without the error is<EMAIL_ADDRESS>so the first version with the error seems to be<EMAIL_ADDRESS>I'm getting the same error on Windows 11, Node v21.0.0
References: https://github.com/cloudflare/workerd/releases/tag/v1.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.62.0

didn't work for me, even the old version has the same problem

From my testing, this issue seems to be caused by an update to workerd. The last version without the error is<EMAIL_ADDRESS>so the first version with the error seems to be<EMAIL_ADDRESS>I'm getting the same error on Windows 11, Node v21.0.0
References: https://github.com/cloudflare/workerd/releases/tag/v1.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.62.0

didn't work for me, even the old version has the same problem

Which version did you install? This config in package.json temporarily fixes it for me
{
  "pnpm": {
    "overrides": {
      "workerd": "1.20240614.0"
    }
  }
}

From my testing, this issue seems to be caused by an update to workerd. The last version without the error is<EMAIL_ADDRESS>so the first version with the error seems to be<EMAIL_ADDRESS>I'm getting the same error on Windows 11, Node v21.0.0
References: https://github.com/cloudflare/workerd/releases/tag/v1.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.62.0

didn't work for me, even the old version has the same problem

Which version did you install? This config in package.json temporarily fixes it for me
{
  "pnpm": {
    "overrides": {
      "workerd": "1.20240614.0"
    }
  }
}

still the exact same... nothing really changes

From my testing, this issue seems to be caused by an update to workerd. The last version without the error is<EMAIL_ADDRESS>so the first version with the error seems to be<EMAIL_ADDRESS>I'm getting the same error on Windows 11, Node v21.0.0
References: https://github.com/cloudflare/workerd/releases/tag/v1.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20240620.0 https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.62.0

didn't work for me, even the old version has the same problem

Which version did you install? This config in package.json temporarily fixes it for me
{
  "pnpm": {
    "overrides": {
      "workerd": "1.20240614.0"
    }
  }
}

still the exact same... nothing really changes

Ah not too sure then maybe your issue is caused by a different version. I'm running on Windows 11 so it might be different.

so the same setup works on Ubuntu 24.04, I can use bunx wrangler dev without any issues

Had the same issue with wrangler dev and also unstable_dev in tests, but "workerd": "1.20240614.0" works. Windows 10, Node 20.15.1

still having the same error on macOS...

Can confirm that it's an issue with workers, after adding the override it works for me.

For anyone who is having this issue on windows, this fixed it for me: https://github.com/cloudflare/workers-sdk/issues/6170#issuecomment-2239513454

Thanks for confirming @stevezhu!
For others running into the same issue, please update Visual Studio C++ Redistributable 2015-2022 to version 14.40.33810

@RamIdeas This issue shouldn't be closed since it persists on macOS 15(now dev beta 4). Maybe you misread the issue and thought only Windows users got this error.

Still persists on macOS 15 dev beta 6...

I'm moving this to the workerd repository because that is where we are likely to see a fix, assuming the problem is not a regression in the MacOS that needs to be resolved there.


[Op] Use int64 IntImms as static shape-related attributes

This PR introduces the conversion for shape-related static integer op attributes.
Currently in Relax the default integer dtype for shape-related values is int64, while TVM FFI’s default dtype for integers is int32. This means when our TVMScript parser parsing an integer attribute of a operator, the parsed dtype will be int32, the default integer dtype of FFI.
However, for shape-related attributes we hope them to have int64 dtype. Therefore, this PR will actively converts them to int64 upon construction of op calls. To simplify the conversion, we change the type of these values from Integer to IntImm.
We add regression tests to make sure that these fields are indeed int64 after parsing.

Depends on #358 since both are changing conv2d and max_pool2d.


'dfs' is not recognized as an internal or external command, operable program or batch file.

Okay great but now i have a new issue i did your command with my specific addins to it but this came back of command prompt

I dont know maybe im just stupid and didnt comprehend something
Command Prompt
C:\Windows\System32>dfs = DeepFace.find(img_path = "102-1000-2.jpg", db_path = "C:/Users/Manti/Documents")
'dfs' is not recognized as an internal or external command,
operable program or batch file.
I thought i did it correctly i added the info of where it can find my exact photo by the photo name which is 102-1000-2 i didnt get a chance yet to actually customize it after its default naming by the computer when saving the photo and i added the complete path of where the photo is located

You are running it in windows instead of python. Run python command in your terminal and then run find command in python.

@serengil whats the run python command what do i type in cmd to run python?

@serengil im sorry but your not making any sense to me i am 100% novice to this of python and your not making any sense to my im afraid
may you please speak to me as if talking to someone of not the same level of knowleage on this as you or even close?

You are running it in windows instead of python. Run python command in your terminal and then run find command in python.

Your response makes no sense to me
you don’t explain this well at all to someone who is a complete novice to this and that really frustrates me please do not just assume everyone attempting this installation is practicing python and other applications with it all the time and is familiar with these terms so you don’t have to put much detailed instruction
not everyone is practicing this infact people like me have never even attempted something like this until it was something they needed for example I needed this so im trying to follow the instructions exactly only issue is you barely put any detailed instruction for a novice!

@serengil

@serengil


[#1407] fix(rust): use grpc runtime worker threads and adjust default runtime config

What changes were proposed in this pull request?
Server will start multiple grpc service to improve throughout, which will
be executed by grpc runtime blocking threads, this is hard to configure the number of
blocking threads.
Let's use the worker threads to start all tasks.
Why are the changes needed?
Subtask for #1407
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Online tests.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9471cba) 54.23% compared to head (1d5a46d) 54.73%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1517      +/-   ##
============================================
+ Coverage     54.23%   54.73%   +0.49%
+ Complexity     2810     2273     -537
============================================
  Files           430      353      -77
  Lines         24410    15812    -8598
  Branches       2082     1451     -631
============================================
- Hits          13238     8654    -4584
+ Misses        10340     6664    -3676
+ Partials        832      494     -338

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


LMDB errors 7.3

INFO   [2024-02-28T08:45:24.687Z] [Data Processor# #43] stroom.pipeline.refdata.store.offheapstore.DelegatingRefDataOffHeapStore -  No legacy reference data store found in /xxxx/xxxxxxx/stroom/reference_data. No migration required.
DEBUG  [2024-02-28T08:45:24.697Z] [Data Processor# #43] stroom.pipeline.errorhandler.ErrorReceiverProxy -  Unable to provision, see the following errors:

1) [Guice/ErrorInjectingConstructor]: NoClassDefFoundError: Could not initialize class Library
  at DelegatingRefDataOffHeapStore.<init>(DelegatingRefDataOffHeapStore.java:111)
  at DelegatingRefDataOffHeapStore.class(DelegatingRefDataOffHeapStore.java:69)
  at RefDataStoreFactory.<init>(RefDataStoreFactory.java:35)
      \_ for 1st parameter
  at RefDataStoreFactory.class(RefDataStoreFactory.java:30)
  at RefDataStoreHolder.<init>(RefDataStoreHolder.java:54)
      \_ for 1st parameter
  at RefDataStoreHolder.class(RefDataStoreHolder.java:42)
  at ReferenceData.<init>(ReferenceData.java:94)
      \_ for 7th parameter
  at Lookup.<init>(Lookup.java:48)
      \_ for 1st parameter
  while locating Lookup

Learn more:
  https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR

1 error

======================
Full classname legend:
======================
DelegatingRefDataOffHeapStore: "stroom.pipeline.refdata.store.offheapstore.DelegatingRefDataOffHeapStore"
Library:                       "org.lmdbjava.Library"
Lookup:                        "stroom.pipeline.xsltfunctions.Lookup"
RefDataStoreFactory:           "stroom.pipeline.refdata.store.RefDataStoreFactory"
RefDataStoreHolder:            "stroom.pipeline.refdata.RefDataStoreHolder"
ReferenceData:                 "stroom.pipeline.refdata.ReferenceData"
========================
End of classname legend:
========================

This would seem to be an issue with running lmdb 0.8.3 on centos 7.  0.8.3 runs fine on other OSs, e.g. arch, alpine.
Rolling back to 0.8.2 fixes the problem on centos 7.
Have raised this issue (and PR) against lmdb to uplift its jnr-ffi lib
https://github.com/lmdbjava/lmdbjava/issues/234

This would seem to be an issue with running lmdb 0.8.3 on centos 7. 0.8.3 runs fine on other OSs, e.g. arch, alpine. Rolling back to 0.8.2 fixes the problem on centos 7.
Have raised this issue (and PR) against lmdb to uplift its jnr-ffi lib lmdbjava/lmdbjava#234
We need to wait for that PR to be merged and the following issues to be fixed/released before we can uplift lmdb lmdbjava/lmdbjava#230 lmdbjava/lmdbjava#228

I've open https://github.com/lmdbjava/lmdbjava/pull/237 to fix https://github.com/lmdbjava/lmdbjava/issues/228 and https://github.com/lmdbjava/lmdbjava/issues/230 🤞


Compute area before writing

This may help with the lost dask jobs when trying to write to netcdf, but hard to fully test as I only see this problem in production.
Currently trying to force the error on mini-cci stack so I can see if this makes a difference.
Also need to check for potential memory issues this may cause

So far so good,
The following e2e-test script has 20 yearly sis-agromet requests and 3 single time step LAI requests. The sis-agromet represent requests which have many small files, the LAI represent very large files being sub-sampled. The script was submitted with 16 parallel jobs.
area-requests2.yaml.txt
Without the change I ran into the problem in two of the 23 requests submitted.
With the change I have submitted the list of requests 3 times (69 requests) and not run into the problem at all (currently running a 4th time)
T


Add CC vocabulary paragraph styles to main extension popup

There is some initial information when the extension opens. Add CC vocabulary styles to it.
How to do it
Note - CC-vocabulary is already linked into the project, therefore you just need to add the appropriate classes and mimic the markup(if different) to change the styles.
Head over to the Paragraph section in CC-Vocabulary docs. Inspect the paragraph element darker shaded blue color in dev-tools and copy its classes.
Use the copied classes on the paragraph element of the extension popup. Note that the current classes in the element are of use, therefore wrap the paragraph in a div tag with those classes.

Hi @makkoncept . Please have a look at my PR.


Generate smaller container images

Is there any chance of something like #88 being merged to reduce the container image size? I've found some people that have gotten quite good at packing their NAS full of plots and now need to free up a whole plot's worth of space to store the 600MB docker image. Using build stages to reduce the image size would be a huge help, reducing the final container down to something like 200MB or so

Yeah, I plan to look at #88 once I get a few of the other PRs taken care of (to avoid everyone else having to do massive rebases)

Closed by #130 130


If server or UI port is unavailable, try to find an available one

What was changed

If the server or UI port is already in use by another process when running the CLI, the CLI will currently crash. The aim of this pull request is to modify this behavior; instead of crashing, the CLI will increment the port number by 1 until it finds an available port.

I know this is a naive approach. I think a better way to handle this would be to ask the user to manually input an available port. I chose to stick with the easiest solution for the problem. However, if we all agree that prompting the user for the port is a better approach, I'm open to developing it.
Another question
Loren suggested that it would be nice if we added a log like this: "Port 3000 is taken. Using port 3001 instead."
I find it nice, but at the context that the code of this PR is being executed i don't have access to the logger. Any tips on this?
Why?

Checklist

1. Closes
https://github.com/temporalio/cli/issues/242
2. How was this tested:

I've added the unit test TestUIPortAlreadyInUse, which locks the default ports and their subsequent ones (server: 7233 and 7234, ui: 8233 and 8234). By utilizing the previously coded helper assertServerHealth, I ensure that the server is running healthily.
I also tested it manually. I opened another process using the default ports and ensured that the server was able to start and operate in the newly allocated ports.

3. Any docs updates needed?

This alters some existing behavior. Should we include this new behavior in the CLI command description?

 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.

The aim of this pull request is to modify this behavior; instead of crashing, the CLI will increment the port number by 1 until it finds an available port.

I am not sure it is desirable to use anything but the given/default port when starting the CLI (regardless of port purpose, UI, server, etc). There are programmatic expectations for ports when people start the CLI, we should not continue if we can't meet those expectations. Similarly, it that port is in use by another instance of the UI and someone starts the CLI, they will blindly go to the common UI port unaware it's another instance. We want users to solve the port ambiguity by picking another or stopping what is already using the port, not silently picking another for them.
If we want to suggest an alternative, like supporting --ui-port random, that may be more acceptable than changing existing behavior to instead swallow errors on fixed port ambiguity.


uv pip list does not show all packages in conda environment

This seems to be related to, but different from, #2841 and #3164. I'm using 0.1.39 on Ubuntu.
If I create a conda environment and activate it, pip list and uv pip list show different packages installed in the environment.
conda create -n TEST pip setuptools uv zstandard
conda activate TEST
pip show zstandard
  # Name: zstandard
  # Version: 0.22.0
  # Summary: Zstandard bindings for Python
  # Home-page: https://github.com/indygreg/python-zstandard
  # Author: Gregory Szorc
  # Author-email<EMAIL_ADDRESS>  # License: BSD
  # Location: /home/user/mambaforge/envs/TEST/lib/python3.12/site-packages
  # Requires:
  # Required-by:
uv pip show zstandard
  # warning: Package(s) not found for: zstandard
pip show setuptools
  # Name: setuptools
  # Version: 69.5.1
  # Summary: Easily download, build, install, upgrade, and uninstall Python packages
  # Home-page: https://github.com/pypa/setuptools
  # Author: Python Packaging Authority
  # Author-email<EMAIL_ADDRESS>  # License:
  # Location: /home/user/mambaforge/envs/TEST/lib/python3.12/site-packages
  # Requires:
  # Required-by:
uv pip show setuptools
  # warning: Package(s) not found for: setuptools
pip list
  # Package    Version
  # ---------- -------
  # cffi       1.16.0
  # pip        24.0
  # pycparser  2.22
  # setuptools 69.5.1
  # wheel      0.43.0
  # zstandard  0.22.0
uv pip list
  # Package   Version
  # --------- -------
  # cffi      1.16.0
  # pycparser 2.22
  # wheel     0.43.0

So, within the TEST environment, pip can see (for example) setuptools and zstandard, but uv cannot.

Another example. If I run:
conda create -y -n TEST hatch pip uv
conda activate TEST
uv pip list --strict

I get three warnings:
warning: The package `hatch` requires `uv>=0.1.35`, but it's not installed.
warning: The package `hatch` requires `zstandard<1`, but it's not installed.
warning: The package `h2` requires `hpack<5,>=4.0`, but it's not installed.

But I can see these are installed in the environment:
which uv
  # /home/user/miniforge3/envs/TEST/bin/uv
pip list -v
  # Package             Version   Location                                                      Installer
  # ------------------- --------- ------------------------------------------------------------- ---------
  # hatch               1.10.0    /home/geoff/miniforge3/envs/TEST/lib/python3.12/site-packages conda
  # hpack               4.0.0     /home/user/miniforge3/envs/TEST/lib/python3.12/site-packages
  # zstandard           0.22.0    /home/user/miniforge3/envs/TEST/lib/python3.12/site-packages
  # (other rows omitted for brevity)

My only clue that comes out of this is that hpack and zstandard do not show anything in the "Installer" column when running pip list -v, and those are two of the packages the warning says are missing in the environment though they are installed.

Thanks @charliermarsh.

I believe this is the same underlying issue as https://github.com/astral-sh/uv/issues/2500, which is (I'm guessing) those packages are located somewhere else in sys.path, but we're limiting our discovery to the environment's site-packages.

Even if they are also located somewhere else in sys.path, you can see in this comment that they are in fact in this environment's site-packages. So, if uv limits its discovery to the environment's site-packages, they should be listed, right?

I'll take a look when I have a sec.

@gboeing Could you list out the raw contents of the site-packages dir?
e.g. via something like ls -l /home/user/mambaforge/envs/TEST/lib/python3.12/site-packages
I wonder if there's a possibility they're installed as eggs.

@samypr100 here you go:
total 776
drwxrwxr-x  7 geoff geoff   4096 May  3 13:33 anyio
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 anyio-4.3.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 backports
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 backports.tarfile-1.0.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 certifi
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 certifi-2024.2.2.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 cffi
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 cffi-1.16.0.dist-info
-rwxrwxr-x  3 geoff geoff 219480 Sep 29  2023 _cffi_backend.cpython-312-x86_64-linux-gnu.so
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 click
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 click-8.1.7.dist-info
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 cryptography
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 cryptography-42.0.5.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 distlib
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 distlib-0.3.8.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 _distutils_hack
-rw-rw-r--  4 geoff geoff    151 Apr 14 04:42 distutils-precedence.pth
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 editables
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 editables-0.5.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 exceptiongroup
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 exceptiongroup-1.2.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 filelock
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 filelock-3.14.0.dist-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 h11
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 h11-0.14.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 h2
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 h2-4.1.0.dist-info
drwxrwxr-x 15 geoff geoff   4096 May  3 13:33 hatch
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 hatch-1.10.0.dist-info
drwxrwxr-x 12 geoff geoff   4096 May  3 13:33 hatchling
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 hatchling-1.24.2.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 hpack
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 hpack-4.0.0-py3.6.egg-info
drwxrwxr-x  6 geoff geoff   4096 May  3 13:33 httpcore
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 httpcore-1.0.5.dist-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 httpx
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 httpx-0.27.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 hyperframe
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 hyperframe-6.0.1.dist-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 hyperlink
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 hyperlink-21.0.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 idna
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 idna-3.7.dist-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 importlib_metadata
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 importlib_metadata-7.1.0.dist-info
drwxrwxr-x  6 geoff geoff   4096 May  3 13:33 importlib_resources
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 importlib_resources-6.4.0.dist-info
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 jaraco
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 jaraco.classes-3.4.0.dist-info
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 jaraco.context-5.3.0.dist-info
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 jaraco.functools-4.0.0.dist-info
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 jeepney
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 jeepney-0.8.0.dist-info
drwxrwxr-x  7 geoff geoff   4096 May  3 13:33 keyring
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 keyring-25.2.0.dist-info
drwxrwxr-x 10 geoff geoff   4096 May  3 13:33 markdown_it
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 markdown_it_py-3.0.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 mdurl
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 mdurl-0.1.2.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 more_itertools
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 more_itertools-10.2.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 packaging
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 packaging-24.0.dist-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 pathspec
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 pathspec-0.12.1.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 pexpect
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 pexpect-4.9.0.dist-info
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 pip
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 pip-24.0-py3.12.egg-info
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 pkg_resources
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 platformdirs
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 platformdirs-4.2.1.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 pluggy
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 pluggy-1.5.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 ptyprocess
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 ptyprocess-0.7.0.dist-info
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 __pycache__
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 pycparser
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 pycparser-2.22.dist-info
drwxrwxr-x  7 geoff geoff   4096 May  3 13:33 pygments
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 pygments-2.17.2.dist-info
-rw-rw-r--  3 geoff geoff    119 Apr 15 12:06 README.txt
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 rich
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 rich-13.7.1.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 secretstorage
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 SecretStorage-3.3.3.dist-info
drwxrwxr-x  9 geoff geoff   4096 May  3 13:33 setuptools
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 setuptools-69.5.1-py3.12.egg-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 shellingham
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 shellingham-1.5.4.dist-info
drwxrwxr-x  4 geoff geoff   4096 May  3 13:33 sniffio
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 sniffio-1.3.1.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 tomli
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 tomli-2.0.1.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 tomli_w
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 tomli_w-1.0.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 tomlkit
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 tomlkit-0.12.4.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 trove_classifiers
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 trove_classifiers-2024.4.10.dist-info
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 typing_extensions-4.11.0.dist-info
-rw-rw-r--  3 geoff geoff 122293 Apr  5 08:14 typing_extensions.py
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 userpath
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 userpath-1.7.0.dist-info
drwxrwxr-x 11 geoff geoff   4096 May  3 13:33 virtualenv
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 virtualenv-20.26.1.dist-info
drwxrwxr-x  5 geoff geoff   4096 May  3 13:33 wheel
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 wheel-0.43.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 zipp
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 zipp-3.17.0.dist-info
drwxrwxr-x  3 geoff geoff   4096 May  3 13:33 zstandard
drwxrwxr-x  2 geoff geoff   4096 May  3 13:33 zstandard-0.22.0-py3.12.egg-info

Ah ok, yeah, we don't support egg-info files.

@hauntsaninja -- am I right that what you requested the other day was ability to uninstall .egg-info?

Crosslinking to https://github.com/astral-sh/uv/issues/2928

Yeah, if uv supported uninstalling what pip calls "legacy editable" .egg-info that would be useful for us. Specifically we would find it useful if uv could do this: https://github.com/pypa/pip/blob/41587f5e0017bcd849f42b314dc8a34a7db75621/src/pip/_internal/req/req_uninstall.py#L534-L552
Note I think "legacy editable" is a slightly different case than what's going on^^
This is getting a little off topic, but to clarify my exact request... while I certainly won't complain if you do, I'm perfectly happy for uv to not support legacy editables. The thing that I am very intrigued by is reducing the cost of editable installations going forward. Currently, with PEP 660, every editable installation creates a new .pth file (and depending on the build backend, what that .pth file does might actually be quite expensive). But even just the presence of .pth files slows down Python interpreter startup.
I just checked and in my work environment I have ~400 projects editably installed. With the legacy editable installation, these are all in easy-install.pth. If instead I write these one line per file, Python interpreter startup is much slower:

(v1) ~/tmp/l/v1/.venv/lib/python3.12/site-packages λ ls -1 *.pth | wc -l
       2
(v1) ~/tmp/l/v1/.venv/lib/python3.12/site-packages λ cat easy-install.pth | wc -l
     386

(v2) ~/tmp/l/v2/.venv/lib/python3.12/site-packages λ ls -1 *.pth | wc -l
     387

λ hyperfine -w 1 'v1/.venv/bin/python -c pass' 'v2/.venv/bin/python -c pass'
Benchmark 1: v1/.venv/bin/python -c pass
  Time (mean ± σ):      36.7 ms ±   9.8 ms    [User: 13.2 ms, System: 6.2 ms]
  Range (min … max):    25.3 ms …  66.5 ms    79 runs

Benchmark 2: v2/.venv/bin/python -c pass
  Time (mean ± σ):      91.2 ms ±   3.5 ms    [User: 23.8 ms, System: 27.8 ms]
  Range (min … max):    86.6 ms … 101.3 ms    30 runs

Summary
  v1/.venv/bin/python -c pass ran
    2.49 ± 0.67 times faster than v2/.venv/bin/python -c pass

In general, I think there's opportunities for doing really nice end-to-end optimisation for editable setups if uv were to have its own build backend (e.g. installation can be instant).

@hauntsaninja - thank you, exactly the info I was looking for (and understood that this is slightly different than the linked issue).

I'm gonna merge this into https://github.com/astral-sh/uv/issues/2928.

cc @konstin regarding the workspace editables.

Put up a PR to fix this: https://github.com/astral-sh/uv/pull/3380


CIP-9999 | How to add Copyright to CPSs

I have a PR half-created for this and ran into a stumbling block I hadn't considered in my https://github.com/cardano-foundation/CIPs/pull/756#issuecomment-1925794686 ... that if a Copyright section for CPSs were optional then we'd also have our first optional field in YAML headers since CIP-0001 was "reworked".
I don't think this is a problem syntactically, but it's all the more reason to first settle the recently proposed licensing question for CPSs according to which of these 3 options to take:

Do nothing: keep our current state of CPSs not having a Copyright section and generally covered by no open source licensing agreements.
Make CPS licensing optional: introducing it as an optional section as recently added to CIP-9999... only requiring that it be the final section & sticking to 1 of the 2 licenses declared acceptable all along for CIPs (generally CC for documentation, Apache for code).
Make CPS licensing mandatory: simpler for syntax in both the CIP-9999 text and a universal YAML header field for every CPS.

Personally I don't see a universal need for mandatory open source licensing for CPSs unless the issues of warranty disclaimer and liability are considered.  Technically CIP editors as well as CPS authors and related CIP implementors would be included in liability scope unless someone can demonstrate otherwise.
What I don't know is what discussion preceded the current default of no licensing for CPSs: including why the CPS was excluded from the requirements imposed on the CIP.  This is my last specific request to @KtorZ and associates (@michaelpj?) & if no response then perhaps no particular investigation or discussion preceded this current question & we can consider all options anew.
Anyone with the means to present this to an appropriate legal authority, please do so.
Once we decide which of the 3 options above to take I have a PR half-written to cover it... though any particular suggestions of method & wording would be welcome here. 😎

This seems like an obvious oversight. I can't see any reason why CIPs and CPSs would differ in this regard.

Make CPS licensing mandatory: simpler for syntax in both the CIP-9999 text and a universal YAML header field for every CPS.

Lets just go for this.
I agree with Michael, this was probably just an oversight.

@michaelpj @Ryun1 that's great: the CPS headers, CPS template, and the CIP-9999 body (since it won't overburden the optional sections) will all be simpler & easier to follow as such.
Will file a PR soon to "fix" this issue & do the corresponding work to fix the merged CPSs and update the ones in progress.


Chainable api support

As titled.
fastify
  .get('/', schema, function (req, reply) {
    reply(null, { hello: 'world' })
  })
  .post('/', schema, function (req, reply) {
    reply(null, { hello: 'world' })
  })

You are right, I don't know why I wrote a so complicated test :astonished:


feat(url-generation): seo friendly

fix #9

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Java][FlightSQL] Expose app_metadata for FlightInfo and FlightEndpoint as a map

Describe the enhancement requested
As a follow up to #38022 we'll want to allow encoding and decoding the app_metadata as a message containing map<string, google.protobuf.Value>.
Component(s)
Java

Hmm, now that I think about it, since the current implementations simply use a string, it's easy enough to just encode JSON into that string. This is probably the most flexible, since any service that exposes metadata can just inform users on how to parse the string regardless of how they got it (whether it be ADBC, JDBC, or a FlightClient).
Closing this and will implement the JDBC interface using pure strings.


miniupnpc_2: 2.0.20180203 -> 2.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from miniupnpc.
meta.description for miniupnpc_2 is: '"A client that implements the UPnP Internet Gateway Device (IGD) specification"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/bin/upnpc had a zero exit code or showed the expected version
/nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/bin/external-ip passed the binary check.
1 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 2.1 with grep in /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1
directory tree listing: https://gist.github.com/478e1d6a94a6d77b3b15d0345669735f
du listing: https://gist.github.com/2e4bb83ff39fc3dd353e40d8f784ed2d

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/20c5b51c53f075884d5763ef45fe85584ae4444d.tar.gz -p miniupnpc_2
ls -la /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1

Success on x86_64-linux (full log)
Attempted: miniupnpc_2
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1
shrinking /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/lib/libminiupnpc.so.17
shrinking /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/bin/upnpc
gzipping man pages under /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/lib  /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/bin
patching script interpreter paths in /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1
/nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1/bin/external-ip: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1...
/nix/store/iwyk1di76xm5sgv70lwbb1y2siz0r6nl-miniupnpc-2.1

Success on x86_64-darwin (full log)
Attempted: miniupnpc_2
Partial log (click to expand)
install -m 755 external-ip.sh /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/bin/external-ip
install -d /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/share/man/man3
install -m 644 man3/miniupnpc.3 /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/share/man/man3/miniupnpc.3
post-installation fixup
gzipping man pages under /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/share/man/
strip is /nix/store/a10rrqfq8yz3sdv5vlzvss0b3z8l9vs9-cctools-port-895/bin/strip
stripping (with command strip and flags -S) in /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/lib  /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/bin
patching script interpreter paths in /nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1
/nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1/bin/external-ip: interpreter directive changed from "/bin/sh" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/sh"
/nix/store/008hb70bkiv8686pra4krypg0cq6h7x4-miniupnpc-2.1

Success on aarch64-linux (full log)
Attempted: miniupnpc_2
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1
shrinking /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1/bin/upnpc
shrinking /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1/lib/libminiupnpc.so.17
gzipping man pages under /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1/lib  /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1/bin
patching script interpreter paths in /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1
/nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1/bin/external-ip: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1...
/nix/store/amc9sffgjgbgjz4pyq95x8f0jfz3211j-miniupnpc-2.1


Consider writing or repurposing gitattributes parsing/manipulation library

If we are doing a lot of manipulating or parsing of gitattributes files, we might want to roll that out into a separate (well-tested) library, or try to rely on another library for that if possibe.

I took a crack at making a grammar for parsing .gitattributes lines with the lark library. I doesn't have out of the box support for outputting text from a parse tree, but if we add that we could manipulate attts with a parse -> munge tree (add a filter=theta node) -> output new text line.
One thing I noticed it that the gitattributes pattern matching is a bit more complex than cli glob matching. For example it supports [[:space:]] for a space character and automatically translates between \ in filenames to a / in patterns. Right now we are using fnmatch.fnmatchcase for pattern match checking between a file and the current git attributes so we are going to have some false negatives right now (which is ok as the behavior for no match adds a new attribute whose pattern is an exact match for the file)
?start: line

line : comment
     | pattern " " [attr (" " attr)*]

comment: "#"/.+/?

pattern : C_ESCAPED_STRING
        | UNESCAPED_PATTERN

C_ESCAPED_STRING : "\"" CHAR_SEQUENCE "\""
CHAR_SEQUENCE : CHAR+
CHAR : BASIC_CHAR
     | ESCAPE
BASIC_CHAR : /[^"\\]/
ESCAPE : "\'"
       | "\""
       | "\?"
       | "\\"
       | "\a"
       | "\b"
       | "\f"
       | "\n"
       | "\r"
       | "\t"
       | "\v"
       | /\\\d{3,}/
       | /\\o\d*/
       | /\\x\d*/
       | /\\u\d{4,}/
       | /U\d{8,}/
       | "\N{" N_CHAR_SEQUENCE "}"

N_CHAR_SEQUENCE : N_CHAR+
N_CHAR : "A".."Z"
       | "0".."9"
       | "-"
       | " "

UNESCAPED_PATTERN : /[^ \t\f\r\n"]/+

attr : set
     | unset
     | set_value

set : EFFECT
unset : "-"EFFECT
set_value : EFFECT "=" value

EFFECT : "text"
       | "eol"
       | "working-tree-encoding"
       | "ident"
       | "filter"
       | "diff"
       | "merge"
       | "whitespace"
       | "export-ignore"
       | "export-subst"
       | "delta"
       | "encoding"
       | "binary"

value : UNESCAPED_PATTERN

There is enough complexity that I think it warrants some dedicated work and testing. But it seems complex enough (and our default actions when we don't processes it as correctly as we should are reasonable) that it will end up being pretty high effort.

WRT the python stdlib version of fnmatch not handling named character classes like [:space:] I found this library https://facelessuser.github.io/wcmatch/fnmatch/ which does handle them. So adding correct pattern matching to an abstracted gitattributes library will be a bit easier.

Cool! So just to clarify, you think it's worth writing a dedicated gitattributes parsing/modifying library, but that it will be a good amount of work? I'm also a little confused as to how writing out will work if lark doesn't support going from a parse tree back to syntax.

writing out will work if lark doesn't support going from a parse tree back to syntax.

We would need to write something like a tree visitor that outputs the right substrings based on tree nodes, would be annoying but not too hard (esp if ok with some small visual changes like removal of extra spaces). Or we can find a library that supports round tripping out of the box.

So just to clarify, you think it's worth writing a dedicated gitattributes parsing/modifying library,

I am undecided (boo, I know). There are definitely edge cases when working with gitattributes that we are mishandling, but our fallback behavior results in creating very specific gitattribute rules which override things we miss. So the result is things are still happening correctly, just in a round-about way.
So a library would be good from the aspect of being more correct, but it wouldn't necessarily fix anything that is broken now, or protect us that much in the future.

Ok, maybe this is an if-it-ain't-broke-don't-fix-it situation - we can punt on this until after the proof of concept is done, and then revisit it later on (especially if someone is really excited about writing such a library)?


appengine_flexible/redis: typo in REDIS_PASSSWORD (triple s)

https://github.com/GoogleCloudPlatform/golang-samples/blob/062a01de21363adfa932d21780719fdb2b5e0d88/appengine_flexible/redis/app.yaml#L24
It should be REDIS_PASSWORD. This sample code wasted my time away.

Thank you for the bug report and sorry for the typo. I'll fix it right away.


Update the documentation for loading component stylesheets individually

What
Update the documentation for loading component stylesheets individually:

Update heading levels
Change example PR from frontend to government-frontend, this change was done later and is a better example
Remove reference to stylesheets loading in alphabetical order, this is no longer the case
Update section on "Increased header size" and add links to relevant docs

Why
Ensure documentation is accurate

Thanks @jon-kirwan, I've made the suggested changes and add a changelog entry


[tools revamp] stat var selector updates

change "continue" to "display"
if going from map to scatter, make the selector header say "Select 1 more variable"
on scatter or map, only show stat vars that are available for at least 10 places

thank you for the quick review!!


[Bug] unique key table alter table modify column from varchar(100) to varchar(500) failed

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.3.1(AVX2) cloud mode RELEASE (build git://VM-10-7-centos@c7713b4f4b2cfc3f5737c97091ded109f81769e6)
Built on Wed, 07 Jun 2023 13:02:10 CST by VM-10-7-centos
What's Wrong?
1、alter table xxx MODIFY COLUMN  column1 varchar(500) NULL COMMENT "xxxx";
2、 got exception "Can not change aggregation type"
What You Expected?
successfully
How to Reproduce?
condition:
1、unique key model table
2、alter key column from varchar(100) to varchar(500)
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

alter table xxx MODIFY COLUMN column1 varchar(500) KEY NULL COMMENT "xxxx";
do you want to change key column to value column?

alter table xxx MODIFY COLUMN column1 varchar(500) KEY NULL COMMENT "xxxx"; if you alter key column, you need add key in sql
or do you want to change key column to value column? can not change key column to value column

I just want to change varchar length, is there any problem in my stmt?

alter table xxx MODIFY COLUMN column1 varchar(500) NULL COMMENT "xxxx";

use can alter key column length like
alter table xxx MODIFY COLUMN column1 varchar(500)  key NULL COMMENT "xxxx";
not
alter table xxx MODIFY COLUMN column1 varchar(500) NULL COMMENT "xxxx";


Add support for non-role/non-profile authentication

Description of changes:
This adds support for cases where you're using this tool either with an assumed role in a profile (which has a session token) or with environment variables (instead of a role or profile)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Oh, this fixes the same bug as #10

Just saw that a PR https://github.com/aws-samples/amazon-ec2-auto-scaling-group-examples/pull/10 similar to this was also created on Feb 16. But looks like it is still NOT merged. @horsfieldsa @hyandell @marcosortiz can you please merge either this PR or https://github.com/aws-samples/amazon-ec2-auto-scaling-group-examples/pull/10 although if #10 could check for existence of token before setting it, it would be better.


Research Electron testing practices

Due to the fact that we want to (at least try to) write cleaner code we need to write tests.
Goals is to research & review general JS/TS testing approaches and frameworks. Then look specifically for testing Electron apps.
• You might take a look at TDD, BDD - maybe we will decide to adopt them if we feel so.
• Also you might take a look at Snapshot testing and whether or not it is useful for Electron and how to do it (if it is possible)
• https://www.electronjs.org/docs/development/testing
• https://github.com/mawrkus/js-unit-testing-guide
• https://jestjs.io/
• https://mochajs.org/
• https://www.chaijs.com/

I made some research and noticed that some popular projects don't use test frameworks.
Instead of that they use linters like typescript, XO, StandardJS, Stylelint
Carpine - 5.3k stars
Git-it - 3.3k stars
WebTorrent - 7.7k start - here for integration testing used spectron, but main test is linting, too

@yerkeboolean ok, gotcha!
But I think we shouldn't focus on popular Electron projects then.
We will certainly need Spectron for integration tests, as you stated, but also we need some testing + matching framework for writing simple unit tests. Due to the fact that most of our code is going to be React and pure JS + TS, you should research that way.
You should basically treat our project as React + JS/TS, and look for practices used there (there are plenty of them, I am sure). We discovered Electron and that's ok for Electron-specific integration tests, but we need to cover all of our other React code (which is going to be like 95% of the project) with tests as well. So I think you are being just a little misdirected here :)

I think we should use Jest(30k stars) because it recommended in React Docs you can access DOM via jsdom
There is also React Testing Library(11k stars) it is more simpler but has less features.
Here  is comparison Jasmine - Jest - Mocha
Why I don't want to use Mocha  because it is hard to configurate, even it is most popular and most used framework
https://jestjs.io/en/
https://github.com/sapegin/jest-cheat-sheet
https://github.com/infinitered/awesome-react-testing
What gives Jest  to us:

Easy configuration
It was made for React by Facebook, they match perfectly
We can use it with TypeScript through Babel
Has Snapshot testing.
It was developed especially for React and it has features like get state and match it with snapshots
DDT

There is also Enzyme  -  Testing utility for React that makes it easier to test your React Components' output.
Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.
It means that you can get Component that needed to be tested by Selector

Enzyme allows to write unit tests using regular assertions.
It allows to write integration tests using rendered components. Read here

If we will going to try e2e testing best choice is Cypress
https://medium.com/codeclan/testing-react-with-jest-and-enzyme-20505fec4675
https://codeburst.io/testing-react-events-with-jest-and-enzyme-ii-46fbe4b8b589
https://blog.sapegin.me/all/react-testing-1-best-practices/
https://blog.sapegin.me/all/react-testing-2-jest-and-enzyme/
https://www.toptal.com/qa/how-to-write-testable-code-and-why-it-matters


connect and delegates: crashes app..

Thierry ask fot not crashing and display message:

duplicate Beacon : follow up with test dapp : Delegate creashes#909

duplicate https://github.com/TalaoDAO/AltMe/issues/909


Pdf not printing properly in chrome browser.

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

Web browser and its version: Chrome & 35
Operating system and its version: Windows 10
PDF.js version: pdfjs-1.6.210-dist version
Is an extension:
msgfile.pdf

Steps to reproduce the problem:

We tried printing in mozilla firefox and  found working fine with the attached pdf but fails in chrome.
Print is blur and not redable in chrom browser.

What is the expected behavior? (add screenshot)
Please provide as solution or provide us the link to download the pdf.js developer version.
What went wrong? (add screenshot)
print is blur in chrome.If we print through pdf.js
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Could you add a screenshot of the bad and good rendering for comparison?

Hi Tim,
We verified in both chrome 35 and 55 versions and found print is appearing blur.

msgfile_printedwithchrome55.pdf
Please find the attached printed file from chrome for your reference.
Thanks,
Madhavan

Looks good to me in the Chrome extension, PDF.js 1.6.293 in 55.0.2883.75.
710872.pdf
I think that the difference in behavior is caused by #7697. So try the latest master version of PDF.js and the print quality will likely improve.

I observed the same issue on Chrome when GPU acceleration is not available (see chrome://gpu). With GPU acceleration available, printing quality is perfect.
With the master version of PDF.js printing quality is good with or without GPU acceleration.

Thank you. Closing as fixed.


Add flip operator

增加flip算子支持，及其相应单测

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: jiangjiajun:x: JasonJason seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add x11 service for unclutter

modeled after the redshift service

oops, didn't mean to add that second commit

I would be ok with this, but I'd like to understand if there's a way to plug this kind of services into a running X session. Putting it as system service seems wrong to me. What about an xdg autostart? Or what about displayManager.sessionCommands ?

Well, to me it seems exactly as correct to have this as a service as it does to have redshift as a service (and redshift is already a service) - in both cases, it's a background process that you want running exactly whenever you have an active X session.
Clearly, it could be started in a number of ways, but none of them is quite as general. xdg autostart I believe requires a desktop manager, which I don't currently use. displayManager.sessionCommands presumably doesn't work if you turn off the display manager and run startx directly (which I've done in the past). Adding a line to ~/.bashrc won't work if you change your shell to zsh, and so on.
That said I'm not super attached to it, if you really don't want to take the patch that's fine.

Merging thanks. I don't like the general path these user services are following... we may solve this problem a day.


Fix access to non-friend vec instantiation in vec::convert

vec::convert would not compile because it accessed the _data member of the result type, which is a non-friend vec instantiation.

Thanks!
@hipSYCL-ci-bot test


aggregate property in format part of schema

First, since this is the first time writing a question, let me say:  your library is amazing
I was going through your demo and digging into the column schema when I noticed this

I searched in docs, in the source of the demo and in github issues but I couldn't find any reference of aggregate or aggregation (except one issue about grouping by column, which you can say is related)
Was that just left over code from an unfinished feature or just a bad copy pasta 🍝?
Thanks 👍

I'm like 82% sure that is not part of my schema.  I think you have an object merged into the column schema that has enough in common with the schema that it still works, which is super cool.
There's proposals to do aggregates, but I think it's outside of the scope of the project.  It's pretty easy to implement something like that, I can show you how if you like.  Basically add an artificial row of data at the bottom of your normal data that has totals of the columns and/or selected data.  Sounds fun.
Another way to do it would be to add another grid instance just below the current one and match the scrollLeft properties when they scroll, maybe hide some of the bars.
I am happy to help implement and fix things.  I'm always around to answer questions, there's a slack channel I'm in 24/7 for this project.

Thanks for the fast reply 👍

I'm like 82% sure that is not part of my schema. I think you have an object merged into the column schema ...

But that screenshot was taken on the demo page.
https://tonygermaneri.github.io/canvas-datagrid/tutorials/demo.html
So unless a Chrome extension is injecting that somehow, it couldn't have been me.

I am happy to help implement and fix things. I'm always around to answer questions, there's a slack channel I'm in 24/7 for this project.

I have some ideas around filtering, aggregation and grouping, and I agree that they may be outside of the scope of this project, but thanks for the offering to help :)

Indeed they are being injected by another system then.  This is the data.gov format.  It's close enough to the schema format where it just works.

Here's a link to other data.gov sources: https://catalog.data.gov/dataset?res_format=JSON&_res_format_limit=0&_bureauCode_limit=0. I think anything in there that is JSON format will work in the mapper on the demo page.  Just find the data source URL and set it to the q query string parameter of the page:
e.g.: "Accidental Drug Related Deaths 2012-2018"
https://tonygermaneri.github.io/canvas-datagrid/tutorials/demo.html?q=https://data.ct.gov/api/views/rybz-nyjw/rows.json?accessType=DOWNLOAD


The plug-in node does not recognize the model

The OLLAMA model is stored in the drive letter of the old PC, such as the F drive, and the third-party comfyui can also install the same drive letter to obtain the model. But now I don't use third-party COMFUI, I use the official version and I can't get the model because I installed it in another drive. Can I configure the method to get the path of the ollama model?

does your ollama server running?


Feature request: Make methods chainable

Could you return this from stop() and clear()..?
This would enable timer.stop().format() and timer.clear().start().

sorry for the late reply, absolutely, will make the change.

let me know if this PR https://github.com/node-work/timer-node/pull/9 looks good @stephen-last

Thanks @eyas-ranjous, that looks good to me...

v3 published to npm


linux: use io_uring to batch epoll_ctl calls

This work was sponsored by ISC, the Internet Systems Consortium.

<EMAIL_ADDRESS>- I sent a patch upstream to remove the deprecation warning around IORING_OP_EPOLL_CTL.


[FLINK-15247][Runtime] Wait for all slots to be free before task executor services shutdown upon stopping

What is the purpose of the change
#10161 introduced canceling and waiting of all tasks in TM to release resources and exit before shutting down TM services on stop. #10034 assigned a separate memory manager per slot and #10330 introduced dynamic slots and state to TaskSlotTable. To achieve clean lifecycle of slot, table and TM, this PR introduces freeing of all slots before shutting down TM services and stopping slot table on TM stop. Freeing of all slots cancels the running tasks and releases slot resources, including memory manager.
Brief change log

Introduce closing future to TaskSlot
Introduce TaskSlotTable#freeAllSlots
Adjust task executor tests
Add more test coverage for TaskSlot and TaskSlotTable

Verifying this change
CI unit tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @xintongsong

@azagrebin is the PR ready for another round of review?

Thanks for the review @tillrohrmann, I addressed comments.


fly pipelines returns empty when not logged in

with 2.3.1 fly does not complain to login if the target token timeout. Instead, it reports an empty pipeline set
fly -t  pipelines
name  paused  public

This is expected. It'll show exposed pipelines if you're not logged in, and in this case there are none.

I am not sure that I follow. The command is per target - I would expect it to return the pipelines for this target ... and if something obstructs it - it to let me know that there is an error.
I tried pipelines --all - it also returns an empty list.

There is nothing obstructing it. There are no publicly viewable pipelines (via expose-pipeline), so it's just an empty array, not a bad response.

I have the feeling that you looking at the problem way to technically. I know how much I hate when someone accuses me that - so I am doing it with all the respect and humility I have.
If you look at the issue from a pure consumer perspective - having a request - fly -t <target> suggests that the command that follows will be executed in such a context.
For me as consumer there is no any difference whatever, from fly -t <target> workers - that complaints for login and fly -t <target> pipelines that does not.

Moved to concourse/concourse#1071


Automated cherry pick of #2601: fix: 避免创建磁盘时显示provider disable底下的存储

Cherry pick of #2601 on release/2.12.
#2601: fix: 避免创建磁盘时显示provider disable底下的存储

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@577ea10). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #2644   +/-   ##
==============================================
  Coverage                ?   7.11%
==============================================
  Files                   ?     466
  Lines                   ?   73358
  Branches                ?       0
==============================================
  Hits                    ?    5222
  Misses                  ?   67706
  Partials                ?     430

Flag
Coverage Δ

#aFlag
7.11% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/storages.go
1.13% <0%> (ø)

pkg/compute/models/disks.go
0.72% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 577ea10...724d461. Read the comment docs.

/approve
/lgtm


[Fixes #200] Fixing truncation of responses to httprox clients. Other minor changes.

Clean up functional test to express #200
Add accept handler to separate httprox management code from operational code
Use FileChannel and Channels.blockingTransfer (XNIO) to send response files instead of handling manually
reset version to 0.23.2-SNAPSHOT
license header for new class

retest

retest this please


[Tooling] Add single quotes around generated cron expressions

The * asterisk is a special character in yaml, and therefore strings using it should be surrounded by quotes, as in the Github Actions documentation. Currently, GADK generates cron expressions without quotes, which could possibly lead to errors due to the use of asterisks. This corrects that by generating single quotes around cron expressions.

I'm not sure about this. I don't have time to look into it right now but if you can share an example of where this doesn't work, that would be helpful. (Apologies if you've already done that, I'm behind on messages.)

If PyYAML decides not to quote a value then I trust it doesn't need quoting. I'm not sure that this change will improve things as the output will be double-quoted in order to preserve the quotes. Asterisks are special characters in YAML but in this case I'm confident the cron strings will be parsed correctly - see this example: https://yaml-online-parser.appspot.com/?yaml=cron%3A+30+5%2C17+++*&type=json
If the string starts with an asterisk it will need to be quoted and I'd expect PyYAML to handle that:
$ python3.11 -m pip show pyyaml | grep Version
Version: 6.0
$ python3.11 -c "import yaml; print(yaml.safe_dump({'cron': '1 2 3 4 *'}))"
cron: 1 2 3 4 *
$ python3.11 -c "import yaml; print(yaml.safe_dump({'cron': '* 1 2 3 4'}))"
cron: '* 1 2 3 4'

It's possible to force PyYAML to quote all strings: https://sharegpt.com/c/X9Orq6C
I'm not sure we want to - as long as it's valid YAML, does it matter?


Feature request: read-only mode

I would like to have a function that the user can use to set an opened file as "read-only", which means after clicking the button, the file is not editable within VScode (but actually you still can from outside of VScode). I know another editor has this function and feel it's useful especially when you read source code and want to avoid accidentally typing something into the code.

This is a good extension idea.

@connor4312 I am not convinced the necessary API exists yet. See #4873


Koios Backend: Babbage era new fields for Utxo are missing

Koios backend's UtxoService impl needs to populate following new fields in Utxo class

inlineDatum
referenceScriptHash

fyi. @edridudi

Is it related to this https://github.com/cardano-community/guild-operators/pull/1466 ?

Is it related to this cardano-community/guild-operators#1466 ?

It seems we may need to use tx_info endpoint.

We can fill models by using multiple endpoints but I don't think that it is smart performance wise.

To Be Fixed in Koios Java Client 1.14


Type Error with example from documentation

Describe the bug

When following the documentation for createGlobalTheme with theme contracts, there is a type error:
Type '"blue"' is not assignable to type 'MapLeafNodes<CSSVarFunction | MapLeafNodes<any, CSSVarFunction>, string>'.ts(2322)

App.css.ts(5, 5): The expected type comes from property 'brand' which is declared here on type 'MapLeafNodes<MapLeafNodes<{ brand: any; }, CSSVarFunction>, string>'

The code is copied directly from the documentation.
This seems like a duplicate of #483 and #484, which were apparently fixed by #489, but I'm still seeing this issue both locally and in the code sandbox.
Link to reproduction

https://codesandbox.io/s/proud-glade-rvv2h6?file=/src/App.css.ts
System Info
(taken from the above CodeSandbox)
Output of npx envinfo --system --npmPackages @vanilla-extract/css,@vanilla-extract/webpack-plugin,@vanilla-extract/esbuild-plugin,@vanilla-extract/vite-plugin,@vanilla-extract/sprinkles,webpack,esbuild,vite --binaries --browsers:
  System:
    OS: Linux 5.4 Debian GNU/Linux 10 (buster) 10 (buster)
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    Memory: 2.42 GB / 62.72 GB
    Container: Yes
    Shell: 5.0.3 - /bin/bash
  Binaries:
    Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.18.1/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm
  npmPackages:
    @vanilla-extract/css: 1.7.0 => 1.7.0
    @vanilla-extract/sprinkles: ^1.3.3 => 1.3.3
    @vanilla-extract/webpack-plugin: ^2.1.8 => 2.1.8
    webpack: ^5.36.1 => 5.36.1

Getting this too.

Hey :wave,
I believe this is a TypeScript quirk around strict mode, or more specifically strictNullChecks. For the null values in global theme to work you must have strictNullChecks enabled in your tsconfig. Alternatively using string values e.g. blue: '' will work. However, I'd suggest all projects should really be running strict: true if possible.

I forked the reproduction sandbox and updated all Vanilla Extract packages to their latest versions and there are no errors.
Updated sandbox.


Add goreleaser

Added a github action to run goreleaser, which builds and publishes a github release when a new tag is pushed.

Thanks!


[Infra] Separate out delta-spark python tests

Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[X] Other (Infra)

Description
Separate out delta-spark python tests to their own GitHub CI
How was this patch tested?
CI tests
Does this PR introduce any user-facing changes?
No

Before this PR:

delta-spark against Spark 3.5.2 -- Scala 2.12 :: 84, 115, 95 -- AVG: 98.00
delta-spark against Spark 3.5.2 -- Scala 2.13 :: 65, 93, 78 -- AVG: 78.67

With this PR:

delta-spark against Spark 3.5.2 -- Scala 2.12 :: 77, 108, 88 -- AVG: 91
delta-spark against Spark 3.5.2 -- Scala 2.13 :: 71, 93, 84 -- AVG: 82.6

Hi, could you also consider this PR? It may help a bit: https://github.com/delta-io/delta/pull/2690

we also need to split out the same for the spark master isn it?

@tdas << we also need to split out the same for the spark master isn it? >> we don't run python tests for spark master at the moment


Question: With ic-nix, how should I execute my ic-repl scripts?

Hi @ninegua
With ic-nix, how should I execute my ic-repl tests that are saved as .sh files?
Previously I had them saved like this

in a .sh file
And I just made them executable and run them like bash scripts. But now, my ic-repl binary lives inside the nix-store.

Should I hard code that value? Is there a way to dynamically reference it using which ic-repl?

Found a workaround. Instead of embedding the execution binary at the top of the script, I'm specifying the binary from the callsite. Would have liked to figure out this answer though

The recommended solution to this problem is to create the shell script through nix. Here is an example to get started https://nixos.wiki/wiki/Shell_Scripts, but the gist is that:

You run nix-build to install a shell script.
The shell script is created from writeShellScript in a nix file.
The nix expression could reference ic-repl from nix packages.
The resulting script created by nix-build would have the proper and complete path to the right ic-repl.