Bulk Workflow Manager   | ACS AEM Commons Version : 2.1.2

ACS AEM Commons Version  : 2.1.2
Bulk Workflow Manager run  going  to in "Stopped" state very frequently after recent installation of SP1 on AEM6.1. Looks it tries  to terminate a workflow on timeout but finds that workflow is already finished .
Error : `26.03.2016 22:24:38.844 *ERROR* [pool-7-thread-3] com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl Error processing periodic execution: {}
java.lang.IllegalStateException: Workflow is already finished.
    at com.adobe.granite.workflow.core.WorkflowSessionImpl.terminateWorkflow(WorkflowSessionImpl.java:450)
    at com.day.cq.workflow.impl.CQWorkflowSessionWrapper.terminateWorkflow(CQWorkflowSessionWrapper.java:312)
    at com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl.terminateActiveWorkflows(BulkWorkflowEngineImpl.java:662)
    at com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl.access$500(BulkWorkflowEngineImpl.java:71)
    at com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl$1.run(BulkWorkflowEngineImpl.java:272)
    at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:115)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
26.03.2016 22:24:38.844 *INFO* [pool-7-thread-3] com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl Bulk Workflow Manager stopped for [ /etc/acs-commons/bulk-workflow-manager/di-dam-update-week-13-2014/jcr:content ]`

Hi @davidjgonzalez I can also reproduce this issue: every two batches or so, I get the same exception.
23.05.2016 09:41:09.996 *ERROR* [pool-7-thread-3] com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl Error processing periodic execution: {}
java.lang.IllegalStateException: Workflow is already finished.
        at com.adobe.granite.workflow.core.WorkflowSessionImpl.terminateWorkflow(WorkflowSessionImpl.java:450)
        at com.day.cq.workflow.impl.CQWorkflowSessionWrapper.terminateWorkflow(CQWorkflowSessionWrapper.java:312)
        at com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl.terminateActiveWorkflows(BulkWorkflowEngineImpl.java:662)
        at com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl.access$500(BulkWorkflowEngineImpl.java:71)
        at com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl$1.run(BulkWorkflowEngineImpl.java:272)
        at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:115)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
23.05.2016 09:41:09.996 *INFO* [pool-7-thread-3] com.adobe.acs.commons.workflow.bulk.impl.BulkWorkflowEngineImpl Bulk Workflow Manager stopped for [ /etc/acs-commons/bulk-workflow-manager/migration-asset-renditions/jcr:content ]

Also when resuming the workflow, I get an error message ERROR RESUMING BULK WORKFLOW PROCESS, but the process resumes without issues until the next Workflow already started exception.
Any idea where I might start looking to find the issue?

@NielsInc what version of Oak are you running? IIRC this started happening to @purnendra after he upgraded his Oak version.
It seems like the problem is there's a lag in how the WF API gets the WF state (might be async query based?) .. I worked w him and have a patched release that did a direct check of the WF instance resource for the state, but IIRC that had some funky issues as well. @purnendra  do you recall what the outcome of that approach was?
@NielsInc are you running an OOTB WF, or something custom?

@davidjgonzalez  That patch did not help  but I had to patch it myself to remove terminating mechanism from the code ...we took risk where we were just processing next batch without waiting or checking the status of old workflow instances. @NielsInc I saw that behaviour only after we upgraded to OAK 1.2.11..on which version of OAK are you ?

@davidjgonzalez @purnendra We are running on Oak 1.2.7 (Service Pack 1). Running the OOTB Dam Update WF.
I'll take a look at the terminating mechanism as purnendra suggested.

@purnendra So basically you commented the following section? Instead of trying to terminate all workflows that are still running, you keep them active and carry on with the next batch?
public void run() {
                        //...

                        if (batchTimeoutCount >= batchTimeout) {
                            terminateActiveWorkflows(adminResourceResolver,
                                    contentResource,
                                    activeWorkflows);
                            // Next batch will be pulled on next iteration
                        }
                        //...
}

@davidjgonzalez
Could this issue be related to the fact that our DAM assets are stored on S3? Maybe the communication to S3 is done different than when the assets are stored on the same server.
@purnendra Are you also using S3 storage for assets?

@NielsInc have you tried an old version of acs commons? has some version consistenly worked?
IIRC in @purnendra's case, it was working fine until they upgraded Oak. (not idea if this is just correlation or causation)
I've been working on a re-write of BWM to let it support synthetic WF (which IMO is the right way to handle non-business workflows). I cant recall where i left it (i want to say i was just testing and hadnt found any big bugs) but i could see about cutting a snapshot release for you to test if you have lower environments (wouldnt recommend running it on a stage/prod since i havent fully tested)

@purnendra @davidjgonzalez is this issue addressed in the BWM 2 rewrite?

Not sure; I haven't heard of it happening since ... so assume it's fixed? Thought maybe no one is using the aem wf engine anymore either..?

This has been fixed.


Update server_vllm.py

Hello,
There's an error occurring in the /v1/models endpoint of the API server. The error is happening because the served_model variable is a list instead of a string, which is causing validation errors when trying to create a ModelCard object.

Hi, thanks for the fix! I made some other changes too, mainly refactoring the served_model = [args.model] instead of using either args.served_model_name or args.model. We'll wait for #257 to be ready then I will merge this. 🚀


nordic: unstable-2023-05-12 -> unstable-2023-10-17

Description of changes

update to version unstable-2023-10-17
fix destination directory for sddm themes
replace duplicates with symbolic links instead of hard links

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2792

Result of nixpkgs-review pr 262552 run on x86_64-linux 1

1 package built:

nordic


[stdlib] Remove unused variable

asyncLetBuffer is not used and the function being called has no side-effects, so let's remove it.

@swift-ci smoke test and merge

I'm just pulling in Joe because he was the last one making commits with this variable.


A couple cases which uninstall needed repos

When you use express-generator to create boilerplate auto-install deletes some of the modules: debug and hbs  Unfortunately hbs isn't required anywhere else, I guess the view engine makes assumptions as to the module's existence, so not sure what can be done about that.
It appears the reason that bin/www doesn't get picked up is because it doesn't end in .js
bin/www
let debug = require('debug')('template-emailer:server')

app.js
app.set('view engine', 'hbs')

Ouch! Any ideas on how to fix it?

Well, the solutions that I came up with all involve exceptions to the rule, so I don't like them but I don't know that there's a way around it right now.
Option 1:
Have the code also check for bin/www as an exception to the .js only.
Have the code interpret app.set('view engine', 'xxxxxx') as a require
again, I don't like writing exceptions into my code usually so it feels icky
Option 2:
Same as above, but you have it only do that if express is also loaded, so that the exception code is only triggered if it needs to.
This is more work and prevents the code from being executed otherwise.  However, I'm not sure that that actually buys anyone anything other than additional work
Normally I wouldn't advocate exceptions...except that express is so prevalent, and this tool requires developers to jump through unnecessary hoops to get their code back to a working state.
Personally my feeling is one of the two options is taken given how prevalent express is and how that fact limits your audience if you don't.

What if I try to pass every file through the js parser, if it can't make sense of it, I just skip it.
Would slow down the first parse quite a bit, but while watching for changes it would be fast enough

That seems a reasonable approach for the first case anyway.  That, or maybe reduce that approach and pass in files without extensions and .JS files to keep a more narrow focus


Use block params

Was firing a deprecation warning with Ember 1.13. Simple fix use each as rather than each in

Thanks for the PR!

No Probs :+1:


v1.3.8 does not have an -a or -d parameter

It seems the snaptest exporter commandline was updated in the chrome extension, but where do we get the latest source for the cli tool ?

We are fixing this right away.  Stay tuned.

@KenVanGilbergen Updated cli has been published.  Please update to v2.0.0<EMAIL_ADDRESS>

Thank you for the quick fix, seems to work fine.


Website suggestion

https://thejollyteapot.com
should fit the profile. Thanks!

Absolutely! Will be added. Welcome to the 250kb Club!


Drops page redirect to NFT doesn’t show the nft, mint doesn’t update

What happened?
I went to drops on AHK and minted a shanghai waifu t-shirt.
After redirect (which takes very long),  the NFT doesn’t show up
When i come back, the state isn’t updated and i can mint the NFT again, which shouldn’t be possible
address used ( AHK ) H56NQrVAH4oyJPiYVqhTsA3uTcfAdcNaYtkfEGai9jyVnhE
Please reproduce in steps
/
Expected Behavior
/
What browsers are you seeing the problem on?
Chrome
At which address did you encounter bug?
canary.kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
PolkadotJS
Screenshots

Relevant log output
/ didnt show bug

Payment link for reward
No response
Code of Conduct

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

This issue should have been solved recently. Could you please share the URL that dose not show your NFT? @helloitsdamsky
https://kodadot.xyz/ahk/collection/32

One possility is that frontend does not count that there should be one drop per address.

when i came back to the minting, i could remint like i didn’t do anything


Add toISOString to DateTime

The DateTime instance is missing a pass through method to the dateInstance for toISOString.

A little more info on this as this might not be the actual bug to fix... or the docs also need updating. So the onSelect callback is returning the DateTime object rather than a native Date object. The docs indicate that it will be a Date object and as such I expected the toISOString method to be there. I believe this was also a change in behavior from previous versions (didn't dig into which version changed this).

I'm sorry, I guess this is my fault. Due to the newly introduced support for IE11, an event like onSelect() indeed no longer returns an instance of Date, but DateTime. I would be happy to fix that. The question is what strategy to persue: 1) Back to the documented behavior? In that case, we would need to make some conversions when returning the data. 2) Change the documentation and add a getter function to DateTime that returns the date instance:
public getDateInstance(): Date {
    return this.dateInstance;
  }

I think the simplest option from a public API standpoint is to return the instance of Date. However, the DateTime instance does have some nice methods that could be useful. Perhaps it'd be more interesting and valuable to document the DateTime instance and expose that. Might as well have access to the extra functionality provided there.

Since the setters take Date object arguments, I would suggest that the getters return instances of Date, as well. That makes the API more consistent. Could you have a look at this branch in my clone?
https://github.com/cwrsimon/Litepicker/tree/post-ie11-api-fixes
If you think you could live with that fix, I would suggest it as a pull request @wakirin.

Yeah, that would be fine by me.


The block never gets called

It was working fine, but at some point it just started not to call the block any longer. I can´t even look at the status value. I only get these in the log:
INTULocationManager: Changing location services accuracy level to: medium.
INTULocationManager: Location services updates have started.
INTULocationManager: Location Request added with ID: 1
I have tested calling it once:
[locMgr requestLocationWithDesiredAccuracy:INTULocationAccuracyBlock
timeout:10.0
delayUntilAuthorized:YES  // This parameter is optional, defaults to NO if omitted
block:^(CLLocation *currentLocation, INTULocationAccuracy achievedAccuracy, INTULocationStatus status);
Testing on device with IOS 9.1. Also have added the necessary key in info.plist to get authorization. Using latest released version 4.1.1 (also 4.0.0).
Any ideas what may be wrong?

What I found out was that the code needs to run on the main thread. I was calling it on global queue with high priority though.

@rezasham Glad you figured it out. I added some assertions to make it clear for future developers. Thanks!


On the Admin Create and Edit Organization pages, standardize 'URL' in field labels

Please capitalize all references to 'URL'. This will make it consistent with other field labels:

Discovered in Version: <IP_ADDRESS> 8a77b3a

Similarly, here's a change for the Admin Organization list page:

And the Admin Organization Details page:


UDP support

HI,
Thank you for your effort for goproxy.
I am implementing a proxy for both TCP and UDP/QUIC connection, but I found goproxy is only working for TCP. Do you have any plan to support UDP/QUIC? I you won't, please give me some clues about the codework I need to modify to build my own proxy based on yours.
Thanks!

Thought of using something like https://github.com/lucas-clemente/quic-go ?
On Mon, Mar 5, 2018 at 1:48 AM, Jin<EMAIL_ADDRESS>wrote:

HI,
Thank you for your effort for goproxy.
I am implementing a proxy for both TCP and UDP/QUIC connection, but I
found goproxy is only working for TCP. Do you have any plan to support
UDP/QUIC? I you won't, please give me some clues about the codework I need
to modify to build my own proxy based on yours.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/277, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP4ovnPCoFzT9t17nMWyXuomiq_IFJMks5tbH1HgaJpZM4SbkLd
.

Sorry for late response. I actually implemented goproxy on top of quic-go. Quic-go doesn't support proxy. It was easy to simple integration for tcp proxy on quic-go, but I had no luck for quic proxy. I am kinda trying to develop my own version.


Link to DotNetCore.2.0.6-WindowsHosting.exe is broken on 2.1.104-sdk-download.md and 2.1.103-sdk-download.md

Both of these pages feature a link to https://download.microsoft.com/download/8/D/A/8DA04DA7-565B-4372-BBCE-D44C7809A467/DotNetCore.2.0.6-WindowsHosting.exe , but that link doesn't work:
https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.1.104-sdk-download.md
https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.1.103-sdk-download.md

Thanks for pointing this out @BJMdotNET - fixed.


Adding X-Turbo-Request-Id support

Turbo requests now keep track of a set of the last 20 or so requests and submits an ID for each turbo request to the server so that if a response is broadcast back to browsers the initiating browser can ignore the page reload update:
https://github.com/hotwired/turbo/blob/main/src/http/fetch.js
It would be useful to hook into this functionality in request.js. Would you be open to that?
Hopefully it's a case of just optionally importing the augmented fetch from the above file? I'm sure it could be complicated though :D

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I've reported the spam comment.
In the meantime it might be easiest to allow for providing our own fetch object?
https://github.com/rails/request.js/blob/11a0cd92d69acc8ab3b5c163c7671e2461ca7505/src/fetch_request.js#L22
I can work around this by doing:
      const windowFetch = window.fetch
      window.fetch = fetch

      post(this.unlockUrlValue, { responseKind: 'turbo-stream' })

      window.fetch = windowFetch

So, could you explain the use case where we need the X-Turbo-Request-Id  when making a request with request.js?

I'm using sortable.js and after a sort is done I want to submit a turbo request to tell everyone else (except the acting browser) to refresh their page to see the change in order. If the X-Turbo-Request-Id isn't sent along for the ride, the browser doesn't know to ignore the page refresh turbo-stream broadcast.
That's the simplest case that can't easily be done in another way.

I went ahead and did a PR. Hopefully it's low touch enough :)

I'm using sortable.js and after a sort is done I want to submit a turbo request to tell everyone else (except the acting browser) to refresh their page to see the change in order. If the X-Turbo-Request-Id isn't sent along for the ride, the browser doesn't know to ignore the page refresh turbo-stream broadcast.
That's the simplest case that can't easily be done in another way.

I see, so Turbo will behave this way if the turbo-stream returned is a refresh action, that makes sense 👍
Thanks for bringing this up, I will take a look at the PR, but I believe it should be ok using Turbo's fetch in those scenarios.

Thanks @marcelolx :) I appreciate you taking the time to review and merge the PR :)


Adjust definition of [commisural neuron]

Draft
Consider these references:
https://www.researchgate.net/publication/306267202_Commissural_axon_navigation_Control_of_midline_crossing_in_the_vertebrate_spinal_cord_by_the_Semaphorin3B_signaling
definition (draft):
A neuron with soma location in the central nervous system that project its axon to the contralateral side of a central nervous system. This neuron can have its soma in the spinal cord dorsal root ganglion, in the hemisphere of the brain, or in the retina.
database cross reference
Developmental informations on axon guidance about this neuron
comments:
database cross reference
logical definition
Neuron
has soma location some spinal cord
has soma location some cerebrum
has soma location some retina
has soma location some ventral nerve cord


Update flow.ts and modal.ts ducks to RTK

Description
In this PR, I've updated two files, flow.ts and modal.ts, to use Redux Toolkit.
Checklist

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

I also have a question about something not directly related to this PR. In option.ts, if we create a slice and specify reducers, such as startUpdate(state, action), I wanted to specify the type of action, so I added the following:
interface OptionUpdate<T> {
    isUpdating: boolean;
    value: T;
    error: string | false;
}

type OptionsEditorState = Partial<{
    [name in Option]: OptionUpdate<OptionsState[name]>;
}>;

const defaultState: OptionsEditorState = {};

const optionsEditorSlice = createSlice({
    name: "ui/optionsEditor",
    initialState: defaultState,
    reducers: {
        startUpdate(state, action: PayloadAction<{ option: Option; value: OptionUpdate<Option> }>) {
            state[action.payload.option] = {
                isUpdating: true,
                value: action.payload.value,
                error: false,
            };
        },
        ...
    },
});

However, I encountered this error: Type '{ isUpdating: boolean; value: any; error: boolean; }' is not assignable to type 'undefined'.ts(2322) because of the Partial type. To address this, I had to change method signatures in options.ts, as shown here:
export function update(name: Option, value: any): AppThunk {
    return (dispatch) => {
        dispatch(optionsEditorActions.startUpdate(name, value));
        sendUpdate(name, value, dispatch);
    };
}

Since these changes were quite a lot, I didn’t include them in this PR. Do you think enforcing TypeScript here makes sense, or could it be too complex to justify? I also noticed that some values in options.ts are typed as any.


Add redshiftserverless.py module

Add redshiftserverless.py module to support the deployment of Serverless Redshift Workgroups and Namespaces.
Update CONTRIBUTING.md to

remove invalid --name argument and remove --stub arguments from example gen output. --name is not a valid arg in conjunction with -- stub, and using --stub results in incomplete autogenerated python modules from ResourceSpec that will not pass tests.
spelling fixes

Thanks!


Maximize Window even if initial_window_size and initial_window_position are set

I'd like to set maximized = true on eframe::NativeOptions along with an initial_window_size and initial_window_position with this behavior:
The application starts maximized, but when you restore it, it goes to the initial size and position.
I can't seem to find a way to achieve this behavior.

It should be pretty easy to add if you want to give it a go!

It should be pretty easy to add if you want to give it a go!

It should be pretty easy to add if you want to give it a go!

I'm not familiar with winit but I'll give this a shot when I get the opportunity


add external storage paths to summary

Pull Request Test Coverage Report for Build 2449

24 of 35 (68.57%)  changed or added relevant lines in 3 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 68.643%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/src/main/java/com/netflix/conductor/common/run/TaskSummary.java
8
10
80.0%

common/src/main/java/com/netflix/conductor/common/run/WorkflowSummary.java
8
10
80.0%

grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java
8
15
53.33%

Files with Coverage Reduction
New Missed Lines
%

grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java
9
51.74%

Totals

Change from base Build 2447:
-0.004%

Covered Lines:
9183

Relevant Lines:
13378

💛  - Coveralls


SUBMARINE-1349. Fix the syntax error reported in sonarcloud and add init value for apiversion in XGboostjobList.java

What is this PR for?

Fix the syntax error reported in sonarcloud
Add init value for apiversion in XGboostjobList.java
change the following class to a singleton, ModelVersionService.java, RegisteredModelService.java,RegisteredModelTagService.java, and the managers used thems.

What type of PR is it?
Bug Fix
Todos

[ ] - Task

What is the Jira issue?
SUBMARINE-1349
How should this be tested?

Screenshots (if appropriate)
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

Hi @cdmikechen , Please take a look at this PR, thanks.

@cdmikechen just updated with some modifications, please take a look. (singleton, and their reference)

@hhcs9527
There are some check style and build task errors, please take care of this part first, thanks~

@cdmikechen just updated Java enum class, please take a look

@cdmikechen we still facing the same error for being unable to connect to the local host.
Any good suggestion?


Styling new page

new layouts, game part 1 works again, now in combination with the backend

closes https://github.com/sopra-fs23-group-13/meme-it-client/issues/68


[MM-38376]fix-app-crash-on-root-post-delete-from-global-threads

Summary
Webapp crashes when the root post is deleted from Threads RHS
Note: All other scenarios of post delete, as well as global threads RHS, require testing.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-38376
Related Pull Requests
None
Screenshots

before
after

https://www.loom.com/share/2c626dd0418444999390b2ed932cd719
https://www.loom.com/share/ff354c7621cd46a1a1fcc58c02c7fa32

Release Note
* Bug fixes app crash on root post delete from global threads

Thanks @AshishDhama
Looks good, tested all post delete variation for root post delete including global threads.
E2E run in progress will review and approve after run completes and I verify the report. 🙂

/cherry-pick cloud

Cherry pick is scheduled.


Feature request: Indicator for when a value is changed from the default value

Assuming I have a basic Page, I install this module, and I configure two locales: en_NZ (default) and en_AU.
I change the Page's Title to "Foobar" and save it. When I move to the AU locale, the change shows through there as well. If I then change the Title at the AU locale to "Foobar Australia" and save, it shows the AU Title as expected. Navigating back to the NZ (default) locale shows "Foobar" again, as expected.
Request:

Given that I have changed a value at a non-default locale level,
I want to see a visual indicator that the value is different from the default locale's value,
So that I am instantly aware that the value is different from the default value.
Given that I have not changed a value at a non-default locale leve,
I want to see a visual indicator that the value is the same as the default locale's value,
So that I am instantly aware that changes will show here if changed at the default locale scope.

Hope this makes sense - it would just be a handy thing to be able to see where values are essentially "static", in that they've been customised, and will not change when the default locale's value changes.
An example:
In Magento, this very system is in place in the form of a checkbox with a label saying "Use default value." If the value is the same at the en_AU scope as it is at the en_NZ scope, the checkbox is ticked, and the textbox itself is in a disabled state. If you uncheck the "use default value" box, you can modify the textbox at that locale.
The implementation difference I see between that example and this module (possibly - not sure how this module works ATM) is that in Magento's ecosystem you're talking about EAV records, so by using a default value you're just not looking for a locale value but going straight to the default value. Does this module copy the values from default scope to each locale on save, or does something similar exist?
Thanks for reading!

Fix at https://github.com/tractorcow/silverstripe-fluent/pull/189... thanks so much @robbieaverill !


Switch default language

Hey there! Thank you for providing such a tool, very cool!
Is it possible to switch the default language? I would really like to test in German.

Thanks @gerbsen
Ideally you can upload documents in German and ask queries German, it should work. Are you mentioning about this or the frontend interface ?

I've ingested this document opendata-strategie-breg.pdf and got the following results:  It does not look like I get deterministic results. I initially got an answer, that privateGPT is not able to handle German documents. (I did not make a screenshot thought) As seen from the screenshot it looks like something breaks but I don't get errors on any CLI. Also it does create German words, for another document/question I got this answer, which does not make any sense at all: Der "Modutell" in den Schülplädiungsforsturen

I have same problem with french language.

@Anil-matcha
Same problem for Tr.
it always translate to the English bot question and the answer


perlPackages.Git: init at 0.42

Motivation for this change
Add Git module from CPAN.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build perlPackages.Git

Success on aarch64-linux (full log)
Attempted: perlPackages.Git
Partial log (click to expand)
strip is /nix/store/8yfik687kfccisxnad42j19lfb7ij9b4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/gmd9jm491sqjg9jwkfdznh361g2fm9c7-perl-Git-0.42/lib
patching script interpreter paths in /nix/store/gmd9jm491sqjg9jwkfdznh361g2fm9c7-perl-Git-0.42
checking for references to /build in /nix/store/gmd9jm491sqjg9jwkfdznh361g2fm9c7-perl-Git-0.42...
shrinking RPATHs of ELF executables and libraries in /nix/store/lccx8w3z4kidr3pqh1msxlyk5gbirxlf-perl-Git-0.42-devdoc
gzipping man pages under /nix/store/lccx8w3z4kidr3pqh1msxlyk5gbirxlf-perl-Git-0.42-devdoc/share/man/
strip is /nix/store/8yfik687kfccisxnad42j19lfb7ij9b4-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/lccx8w3z4kidr3pqh1msxlyk5gbirxlf-perl-Git-0.42-devdoc
checking for references to /build in /nix/store/lccx8w3z4kidr3pqh1msxlyk5gbirxlf-perl-Git-0.42-devdoc...
/nix/store/gmd9jm491sqjg9jwkfdznh361g2fm9c7-perl-Git-0.42

Success on x86_64-linux (full log)
Attempted: perlPackages.Git
Partial log (click to expand)
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rf10qc55m3pakihq1a6miwzrq69zhxx8-perl-Git-0.42/lib
patching script interpreter paths in /nix/store/rf10qc55m3pakihq1a6miwzrq69zhxx8-perl-Git-0.42
checking for references to /build in /nix/store/rf10qc55m3pakihq1a6miwzrq69zhxx8-perl-Git-0.42...
shrinking RPATHs of ELF executables and libraries in /nix/store/vgf49qknvz6fmxpmdypm4rrpqs7i333h-perl-Git-0.42-devdoc
gzipping man pages under /nix/store/vgf49qknvz6fmxpmdypm4rrpqs7i333h-perl-Git-0.42-devdoc/share/man/
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/vgf49qknvz6fmxpmdypm4rrpqs7i333h-perl-Git-0.42-devdoc
checking for references to /build in /nix/store/vgf49qknvz6fmxpmdypm4rrpqs7i333h-perl-Git-0.42-devdoc...
/nix/store/rf10qc55m3pakihq1a6miwzrq69zhxx8-perl-Git-0.42

Success on x86_64-darwin (full log)
Attempted: perlPackages.Git
Partial log (click to expand)
post-installation fixup
Moving /nix/store/x2hs7r21991b18bwk4zb4phfhvrwphl6-perl-Git-0.42/share/man/man3 to /nix/store/h4ivzfcgm0zg2rz0j5pks3g37fz40w63-perl-Git-0.42-devdoc/share/man/man3
Removing empty /nix/store/x2hs7r21991b18bwk4zb4phfhvrwphl6-perl-Git-0.42/share/man/ and (possibly) its parents
strip is /nix/store/r5mcn9vqq80v5pfqp45d7290cis7dwp4-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/x2hs7r21991b18bwk4zb4phfhvrwphl6-perl-Git-0.42/lib
patching script interpreter paths in /nix/store/x2hs7r21991b18bwk4zb4phfhvrwphl6-perl-Git-0.42
gzipping man pages under /nix/store/h4ivzfcgm0zg2rz0j5pks3g37fz40w63-perl-Git-0.42-devdoc/share/man/
strip is /nix/store/r5mcn9vqq80v5pfqp45d7290cis7dwp4-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/h4ivzfcgm0zg2rz0j5pks3g37fz40w63-perl-Git-0.42-devdoc
/nix/store/x2hs7r21991b18bwk4zb4phfhvrwphl6-perl-Git-0.42


Fix highlighting of int8, int16, int32, int64 in Angelscript

Changes
This fixes types such as int64 and uint64 only coloring the int and uint parts of the type in Angelscript.
Checklist

[x] Added markup tests
[x] Updated the changelog at CHANGES.md

@codecat thanks!


connect multiple ip addresses

It seems that only one ssh connection of ip address can be opened on the same browser, hoping to support multiple IPs.

1 .. I'm also lookig for the same ..

I'm not sure why you're seeing this. I have installations where this is not the case. How are you providing the host information to the app? via config file?
This is the most recent version, and as long as you specify the host from the URL you can connect to as many systems as you want.

I misunderstood your statement, however I tested two connections to the same device and that works as well...

You may need to enable this option:

In config.json

Thanks to your guidance, I solved my problem, thank you very much for your work.


Config eslint rules, type module config + add missing config prop

This pr:

disables some eslint rules that are in conflict with the current codebase for better DX
types the module options
adds a missing default (graphql.wsEndpoint)

Hi, I have few notes on this

I prefer to leave eslint rules as is and to fix code instead.
The module options are already typed, you can check https://github.com/becem-gharbi/nuxt-directus/blob/main/src/runtime/types/config.d.ts.
The graphql.wsEndpoint default is intentionally unset in order to omit websockets dependencies in nuxt-apollo module.

Hi, ESLint issues are now fixed on https://github.com/becem-gharbi/nuxt-directus/releases/tag/v2.0.3


Cleaning up gwt classes via .gitignore and updating bean.xml to a clean an build

+1 to merge.

master: db083173fb5ca40e05ee407c82c258d7d8655ec7


[BugFix] Fix ignorance of where in AdminShowReplicaStatus

Fixes #32015
What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[x] 3.2
[x] 3.1
[x] 3.0
[x] 2.5

 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.imay 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.

[FE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/AdminStmtAnalyzer.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/AdminStmtAnalyzer.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/AdminStmtAnalyzer.java
1
1
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/AdminStmtAnalyzer.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.2

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


⚠ Bofrost.at has degraded performance

In 361213a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1470 ms

Resolved: Bofrost.at performance has improved in e32918b after 45 minutes.


Fix for multi-line promise toasts change height on hover when using expand #13

I tried this locally and this is what you get with expanded set to true:
https://github.com/wobsoriano/svelte-sonner/assets/13049130/2b2f16fd-d7af-4dde-8acc-9d8a08243169

Appreciate your help! Closing this one in favor of https://github.com/wobsoriano/svelte-sonner/pull/76


Extract Alpha Channel

What are you trying to achieve?
Extract alpha channel
Have you searched for similar feature requests?
Yes
What would you expect the API to look like?
Just go ahead and add alpha channel to the extractChannel method. .extractChannel('alpha')
What alternatives have you considered?
extractChannel
Is there a sample image that helps explain?
No

Ok, looks like you can just do .extractChannel(3)

Actually I'm gonna reopen this because the docs should be updated.  Currently says:
channel (Number  | String ) zero-indexed band number to extract, or red, green or blue as alternative to 0, 1 or 2 respectively.
Should add something about alpha channel.

Commit 17ea70a adds support for this, which will be part of v0.25.4.

v0.25.4 now available, thank you for suggesting this improvement.

Thanks for all your hard work on this great library!


Refactoring and fixes

Added services directory for functions that can be reused across different routes

bitbox, requestUtils

Restructured block.ts with the use of services from previous point

Fix of typescript errors (added new lib to tsconfig.json)

These changes are in v1.10.5
https://github.com/Bitcoin-com/rest.bitcoin.com/releases/tag/1.10.5


[prism-cli] getHttpOperationsFromSpec performance regression

Describe the bug
Following https://github.com/APIDevTools/json-schema-ref-parser/issues/211 by the amazing @P0lip everything was neat and nice running Prism 4.1.2.
We recently tried to bump to 4.3.1 but discovered a similar performance regression while running getHttpOperationsFromSpec()
To Reproduce
A complete standalone repro case is available at https://github.com/nulltoken/prism_repro
Running yarn repro against

https://github.com/nulltoken/prism_repro/commit/e5c7c23d80944d34918c6616946a6da609101935 (prism 4.1.2 + json-schema-ref-parser bugfix) shows the following output

$ yarn repro
yarn run v1.22.5
$ yarn node -r ts-node/register --unhandled-rejections=strict ./src/repro.ts
Running prism v4.1.2
Converting to Prism format: 330.432ms
Number of processed (basic) endpoints 600
Done in 4.71s.

https://github.com/nulltoken/prism_repro/commit/6ef765bbf3ba22238e11b1c0b0e5073fe3e4d4d6 (prism 4.3.1) shows the following output

$ yarn repro
yarn run v1.22.5
$ yarn node -r ts-node/register --unhandled-rejections=strict ./src/repro.ts
Running prism v4.3.1
Converting to Prism format: 27.135s
Number of processed (basic) endpoints 600
Done in 31.13s.

Expected behavior
Jumping from 330ms to 27s when processing the same file looks a bit much, doesn't it? :wink:
Getting back to 330ms would be great.
And maybe adding a unit test to protect this method from suffering from new potential performance related regressions in the future ?
/cc @chohmann

@nulltoken we probably won't be able to get to this for a few sprints as we're trying to finish up another release. However, if you need this sooner, we welcome PRs!

However, if you need this sooner, we welcome PRs!

@chohmann Sadly, I'm not sure I've got the magic dust that @P0lip sprinkles around when he flaps his wings 😜

we probably won't be able to get to this for a few sprints as we're trying to finish up another release.

Fine by me, provided you keep this one on your radar. Deal?


Feature/tooltip add tests

Migration of tooltip test pr
概要 / Overview
Researched different options on how to proceed with testing in the new design system.

Split testing and Storybook by exporting stories and running tests with vitest
Add tests to stories with the play function

Also added unit tests to the utility functions.
新しいデザインシステムでのテストの進め方について、さまざまな選択肢を調査。

ストーリーをエクスポートし、vitest でテストを実行することで、スプリットテストと Storybook を行う。
play 機能でストーリーにテストを追加する。

また、ユーティリティ関数にユニットテストを追加した。
Jira のチケット / Jira Ticket
https://siva-inc.atlassian.net/browse/DSD-10
その他 / Other
https://siva-inc.atlassian.net/wiki/spaces/BRUI/pages/125567152/Testing+strategy

@macfrei
Personally, given our current state of not having tests implemented yet and the limited number of engineers, I feel that it might be challenging to incorporate both play function tests and Vitest tests for all components in terms of time.
Also, while I understand that some might argue that writing all tests upfront will make things easier later on, I think it's important to note that not everyone has the same understanding or approach to testing (like agreeing that tests are necessary, but to what extent).
Therefore, I believe it would be best to start with focusing on one type of test to reduce the burden.
Moreover, as we currently have Visual Tests with Chromatic and reviews from designers, these could also be considered as part of our testing.
As a suggestion, I personally think it might be better to focus on Vitest. This is because Vitest alone can test the component variations in Storybook, and it also offers faster execution speeds.
What are your thoughts on focusing on just one type of test?
個人的には今のまだテストが導入されていない状態かつ少ないエンジニア数という理由から、play関数とvitestの２種類のテストを全てのコンポーネントに入れるのは時間的にも難しいかなという印象ですね。。。
また、最初に全てのテストを書けば後々楽になるという意見もあると思いますが、全員のテストへの感覚（テストはいるけどどこまでやるか）が揃っていないと思うので、一旦は１つのテストに絞って負担が少ないところから始めるのが良いと思いました！
また、今の所ChromaticでVisual Testもあるし、デザイナーレビューもあると思うので、テストとしてカウントできそうと思いました！
提案ですが、個人的にはvitestに絞るのが良いかもと思ってます！
vitestだけでstorybookのコンポーネントバリエーションもテストできて、実行速度も早いので！
Marieさんは１つに絞るところについてどう考えますか？

@ogaru-sh
I do think we should only use one of the tests, as otherwise it would be quite redundant. I only added both tests because I wanted to showcase that both are possible and do the same thing, just differently 🙂 .
When writing the tests, I enjoyed both ways and I was actually pretty impressed by the play function from Storybook. Seeing the step-through-step explanations of the tests in the interactions tab was quite nice and helpful, I think. On the other hand, vitest is quite a bit faster. So yea, I like both approaches and either one is fine! 🙏
そうしないと冗長になってしまうので、どちらか一方のテストだけを使うべきだと思います。私が両方のテストを追加したのは、どちらも可能であり、同じことをする、ただ違うだけだということを示したかったからです🙂 。
テストを書くとき、私は両方の方法を楽しんだし、実際、Storybookのplay機能にはかなり感銘を受けた。インタラクション・タブでテストのステップ・スルー・ステップの説明を見ることができるのは、とても親切で役に立ったと思う。一方、vitestはかなり速い。どちらのアプローチも好きだし、どちらでもいい！🙏

But which is actually better...?
@macfrei
If the purpose of writing tests for a component is to guarantee that it works, as Marie-san wrote,

<Tooltip />  component common test
<FocusOnButton /> specific tests

I was wondering if it would be possible to cover this with a relatively minimal number of tests by writing
If so, I think vitest would be a good choice!
(And vitest is fast, haha)

I understood that there are two types of tests!
Thank you!
But which is actually better...?
@macfrei
If the purpose of writing tests for a component is to guarantee that it works, as Marie-san wrote,

<Tooltip />  component common test
<FocusOnButton /> specific tests

I was wondering if it would be possible to cover this with a relatively minimal number of tests by writing
If so, I think vitest would be a good choice!
(And vitest is fast, haha)

@ogaru-sh
I am not quite sure I understand correctly, I think the translation is a bit off.
The amount of tests doesn't change with the environment you test in.

@macfrei
Oh, sorry!
I think what I was saying might have been incorrect!
So, whether using the Play function or Vitest, the type of tests we write for the components doesn't change, right?
And the next step is just deciding which one to use, is that correct?

@ogaru-sh
Yes, that is correct!

@macfrei
How about focusing exclusively on Vitest? Since tests such as 'util' are also conducted with Vitest, and structurally, tests are separated into tests, it seems likely to become simple and explicit.

@ogaru-sh sounds good, I will delete the tests with the play function and remove the dependencies!

@ogaru-sh I removed the play function and the dependencies.

@macfrei
LGTM!


creation of a multilingual version

Hi.  I want to create a multilingual version.  I can help with the RU version.  How can I get a vue project?

now you can access vue project.
at: https://github.com/mouday/spider-admin-pro-web


Add prettier config for toml files

Actually the prettier plugin for toml will not be continued (cannot be used currently together with prettier 2.0 - see https://github.com/bd82/toml-tools/pull/35 ). Thus, I guess it's better to not include it now...


Terraform Local Plan Change Source & Destroy All Resources

Bug description 🐞
Hello @alfespa17, @jcanizalez,
For the demo, I am trying to migrate a project from Terraform Cloud to Terrakube. In this simple demo, I created a sample security group in Terraform Cloud. Example module:
module "standard_web_sg" {
  source              = "terraform-aws-modules/security-group/aws"
  name                = "terrakube-test-security-group-migration"
  description         = "Terrakube Test Security Group Migrate"
  vpc_id              = module.vpc.vpc_id
  ingress_cidr_blocks = ["<IP_ADDRESS>/0"]
  egress_rules        = ["all-all"]
  ingress_rules       = ["http-80-tcp", "https-443-tcp"]
}

I successfully accomplished this with the terraform init -migrate-state command, which is in your documentation.
Doc: https://docs.terrakube.io/user-guide/migrating-to-terrakube
The Terraform plans and applies I made from Terrakube UI work synchronously and without any problems.
Example Screenshot:

However, in the Terraform plan that I run locally, it wants to destroy previously created resources and also moves the source of the project from the github url to a path in terrakube-api. I cannot update to this source from Terraform UI. I can only fix the problem by connecting to the DB and updating the table from the workspace.
Terraform Local Plan:

After Change Source:

How can we solve this problem? Briefly, what I want to do is to run the Terraform plan from my local environment. I want to do my tests quickly. Otherwise, running these tests only from Terraform UI can be a really tiring and annoying process.
I installed Terrakube with Helm Chart in my EKS. I use AWS S3 bucket for the registry service and use external Postgres.
Steps to reproduce

Expected behavior

Example repository

Anything else?

Hello @ilkerispir
Quick question when you deployed the helm chart did you override the "version" parameter? Could you double check that? you should be able to see the version in the beginning of the logs for example in the API or registry component

By the way you mentioned that the URL is changed from GitHub to terrakube api? Did you run your example using a GitHub VCS connection and later use the cli driven workflow? Because you should not be mixing the workspace types. Let me show you a small example of how you can migrate from terraform cloud

@alfespa17, I did not override the version value. I am currently using the 2.17.2 version tag.

As for the second question, yes, that's exactly what I did. After connecting to GitHub, I want to run my tests locally. Can you please explain how it should be?

You should not be mixing VCS connection and CLI drive workflow (Internally the work a little bit differently)
Let me show you how a migration can be done.
Firts I connect to terraform cloud using the login command:
$ terraform login
Terraform will request an API token for app.terraform.io using your browser.

If login is successful, Terraform will store the token in plain text in
the following file for use by subsequent commands:
    /home/user/.terraform.d/credentials.tfrc.json

Do you want to proceed?
  Only 'yes' will be accepted to confirm.

  Enter a value: yes

---------------------------------------------------------------------------------

Terraform must now open a web browser to the tokens page for app.terraform.io.

If a browser does not open this automatically, open the following URL to proceed:
    https://app.terraform.io/app/settings/tokens?source=terraform-login

---------------------------------------------------------------------------------

Generate a token using your browser, and copy-paste it into this prompt.

Terraform will store the token in plain text in the following file
for use by subsequent commands:
    /home/user/.terraform.d/credentials.tfrc.json

Token for app.terraform.io:
  Enter a value:

Retrieved token for user alfespa17

---------------------------------------------------------------------------------

                                          -
                                          -----                           -
                                          ---------                      --
                                          ---------  -                -----
                                           ---------  ------        -------
                                             -------  ---------  ----------
                                                ----  ---------- ----------
                                                  --  ---------- ----------
   Welcome to Terraform Cloud!                     -  ---------- -------
                                                      ---  ----- ---
   Documentation: terraform.io/docs/cloud             --------   -
                                                      ----------
                                                      ----------
                                                       ---------
                                                           -----
                                                               -

   New to TFC? Follow these steps to instantly apply an example configuration:

   $ git clone https://github.com/hashicorp/tfc-getting-started.git
   $ cd tfc-getting-started
   $ scripts/setup.sh

Once I am connected to terraform cloud I will create a simple workspace using the following code
terraform {
  cloud {
    organization = "alfespa17"
    hostname = "app.terraform.io"

    workspaces {
      name = "migrate-source"
    }
  }
}

# This resource will destroy (potentially immediately) after null_resource.next
resource "null_resource" "previous" {}

resource "time_sleep" "wait_30_seconds" {
  depends_on = [null_resource.previous]

  create_duration = "5s"
}

# This resource will create (at least) 30 seconds after null_resource.previous
resource "null_resource" "next" {
  depends_on = [time_sleep.wait_30_seconds]
}

output "creation_time" {
    value = time_sleep.wait_30_seconds.create_duration
}

I will run the terraform apply:
$ terraform apply
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI
│ configuration:
│  - alfespa17/terrakube in /home/user/go/bin
│
│ The behavior may therefore not match any released version of the provider and
│ applying changes may cause the state to become incompatible with published
│ releases.
╵
Running apply in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will cancel the remote apply if it's still pending. If the apply started it
will stop streaming the logs, but will not stop the apply running remotely.

Preparing the remote apply...

To view this run in a browser, visit:
https://app.terraform.io/app/alfespa17/migrate-source/runs/run-avNRjpiTpd5ePiCn

Waiting for the plan to start...

Terraform v1.5.7
on linux_amd64
Initializing plugins and modules...

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # null_resource.next will be created
  + resource "null_resource" "next" {
      + id = (known after apply)
    }

  # null_resource.previous will be created
  + resource "null_resource" "previous" {
      + id = (known after apply)
    }

  # time_sleep.wait_30_seconds will be created
  + resource "time_sleep" "wait_30_seconds" {
      + create_duration = "5s"
      + id              = (known after apply)
    }

Plan: 3 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + creation_time = "5s"

Do you want to perform these actions in workspace "migrate-source"?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

null_resource.previous: Creating...
null_resource.previous: Creation complete after 0s [id=12281675992917226]
time_sleep.wait_30_seconds: Creating...
time_sleep.wait_30_seconds: Creation complete after 5s [id=2023-11-12T12:46:30Z]
null_resource.next: Creating...
null_resource.next: Creation complete after 0s [id=1022552733764875006]

Apply complete! Resources: 3 added, 0 changed, 0 destroyed.

Outputs:
creation_time = "5s"

Now I can see the workspace created like this:

Now I can download the workspace state form Terraform cloud using the pull command.
terraform state pull > backup.tfstate

Now that I have the state form terraform cloud I will start working with Terrakube, I will migrate everything to a organization called "simple"
I will delete all temp terraform data.
rm -rf .terraform*

I will change the cloud block in my terraform code to the following
terraform {
  cloud {
    organization = "simple"
    hostname = "terrakube-api.minikube.net"

    workspaces {
      name = "migrate-destination"
    }
  }
}

Run terraform login with terrakube API:
terraform login terrakube-api.minikube.net
Terraform will request an API token for terrakube-api.minikube.net using OAuth.

This will work only if you are able to use a web browser on this computer to
complete a login process. If not, you must obtain an API token by another
means and configure it in the CLI configuration manually.

If login is successful, Terraform will store the token in plain text in
the following file for use by subsequent commands:
    /home/user/.terraform.d/credentials.tfrc.json

Do you want to proceed?
  Only 'yes' will be accepted to confirm.

  Enter a value: yes

Terraform must now open a web browser to the login page for terrakube-api.minikube.net.

If a browser does not open this automatically, open the following URL to proceed:
    https://terrakube-api.minikube.net/dex/auth?scope=openid+profile+email+offline_access+groups&client_id=example-app&code_challenge=YHshN2VTIOUPr_i7t2TaduWnsoxHpxhLcPr8-l0T7u4&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A10000%2Flogin&response_type=code&state=4fd2b516-1be3-a4b7-eaf3-9ea33970ea0e

Terraform will now wait for the host to signal that login was successful.

---------------------------------------------------------------------------------

Success! Terraform has obtained and saved an API token.

The new API token will be used for any future Terraform command that must make
authenticated requests to terrakube-api.minikube.net.

Now I can run the init command (this will create the workspace in terrakube with remote execution mode by default)
$ terraform init

Initializing Terraform Cloud...

Initializing provider plugins...
- Finding latest version of hashicorp/null...
- Finding latest version of hashicorp/time...
- Installing hashicorp/null v3.2.1...
- Installed hashicorp/null v3.2.1 (signed by HashiCorp)
- Installing hashicorp/time v0.9.1...
- Installed hashicorp/time v0.9.1 (signed by HashiCorp)

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI configuration:
│  - alfespa17/terrakube in /home/user/go/bin
│
│ Skip terraform init when using provider development overrides. It is not necessary and may error unexpectedly.
╵

Terraform Cloud has been successfully initialized!

You may now begin working with Terraform Cloud. Try running "terraform plan" to
see any changes that are required for your infrastructure.

If you ever set or change modules or Terraform Settings, run "terraform init"
again to reinitialize your working directory.

In the UI you will see:

Now we simple do a terraform push command to send the state backup from terraform cloud.
$ terraform state push backup.tfstate

Now you are able to see the data in Terrakube UI.

Lets run a remote plan to  test.
$ terraform plan
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI configuration:
│  - alfespa17/terrakube in /home/user/go/bin
│
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.
╵
Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

To view this run in a browser, visit:
https://terrakube-api.minikube.net/app/simple/migrate-destination/runs/105

Waiting for the plan to start...

***************************************
Running Terraform PLAN
***************************************
null_resource.previous: Refreshing state... [id=12281675992917226]
time_sleep.wait_30_seconds: Refreshing state... [id=2023-11-12T12:46:30Z]
null_resource.next: Refreshing state... [id=1022552733764875006]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

I hope this example can help you.

You can also use the "terraform init -migrate-state" but the proccess will change a little bit, in this example I used the terraform cloud block so I use push/pull commands

@alfespa17, thank you very much for the detailed explanation. I will try it tomorrow at a convenient time.

Hello @alfespa17,
First of all, thank you very much again for the detailed explanation.
After doing as you mentioned, I had no problems, but this time there was no sync with the repo. So, as you said, there is no problem as long as you do not mix the CLI and VCS connection. But don't you think this is a problem? Because Terraform Cloud already has such an experience. Although the Terraform repo is connected to a Git repo, Terraform commands can be run from the CLI and this does not cause any problems. If you see this situation as a problem and are looking for help, I would be happy to help you fix it.
Kind regards

Hello @ilkerispir I am glad that the example works for you.
I never mixed CLI and VCS workflows when I used TFC in the past, I thought that was not possible for remote operation according to this documentation.
If you are talking about when you have a VCS connection and you do a change in the repository with some "pull request" and that trigger a Terraform operation like a plan or apply, that is not supported yet, we have an open issue from a long time about that feature (at least from my side I not sure how to implement that feature I guess is with some webhook but I never had the time to do all the research and I am not sure if Javier did some progress with that issue)
We appreciate any contribution to the code, pull request, suggest features, report bugs, help with the helm chart, testing features, etc.
This is an open project and anyone that would like to help us to create a better Terrakube is welcome.
Regards

@alfespa17, thank you for your help. There is no problem with this issue at the moment. I will continue my tests from CLI. I am closing this issue from now on.

hi @ilkerispir @alfespa17
I created a PR #597 to enable webhooks for auto jobs on GitHub pushes in your workspace. You can test it in the beta version 2.18.0 next week.

Hello @jcanizalez,
Excellent news, thank you very much for your effort.


AssertionError when using a value of 0.0 with type numpy.float32 as weight in a weighted sum objective

Using
CPMpy v0.9.9
Python 3.8.10
gurobipy 9.5.1
When using CPMpy to model a problem with a weighted sum as objective, and using the Gurobi solver, an AssertionError is thrown when one of the weights is 0.0 with type numpy.float64. This problem does not occur when the weights are of type numpy.int64 (even when a value of 0 is included), or when the weights are non-zero values of type numpy.float64.
import numpy as np
from cpmpy import *

x = boolvar(shape=3, name="x")
solver = SolverLookup.get("gurobi")

# Integer values work, also when one of the weights is 0
solver.maximize(sum(x * np.array([3, 2, 0])))

# Non-zero numpy.fLoat64 weights work as well
solver.maximize(sum(x * np.array([3.0, 2.0, 1.0])))

# A zero numpy.float64 weight does not work
# Gives error: "AssertionError: IntVar lowerbound must be integer <class 'numpy.float64'> 0.0"
solver.maximize(sum(x * np.array([3.0, 2.0, 0.0])))

Traceback
Traceback (most recent call last):
  File ~, line 15, in <module>
    solver.maximize(sum(x * np.array([3.0, 2.0, 0.0])))
  File "~/python3.8/site-packages/cpmpy/solvers/solver_interface.py", line 107, in maximize
    return self.objective(expr, minimize=False)
  File "~/python3.8/site-packages/cpmpy/solvers/gurobi.py", line 206, in objective
    (flat_obj, flat_cons) = (flatten_objective(expr))
  File "~/python3.8/site-packages/cpmpy/transformations/flatten_model.py", line 241, in flatten_objective
    return normalized_numexpr(expr)
  File "~/python3.8/site-packages/cpmpy/transformations/flatten_model.py", line 538, in normalized_numexpr
    flatvars, flatcons = zip(*[get_or_make_var(arg) for arg in expr.args])
  File "~/python3.8/site-packages/cpmpy/transformations/flatten_model.py", line 538, in <listcomp>
    flatvars, flatcons = zip(*[get_or_make_var(arg) for arg in expr.args])
  File "~/python3.8/site-packages/cpmpy/transformations/flatten_model.py", line 308, in get_or_make_var
    ivar = _IntVarImpl(min(bnds),max(bnds))
  File "~/python3.8/site-packages/cpmpy/expressions/variables.py", line 259, in __init__
    assert is_int(lb), "IntVar lowerbound must be integer {} {}".format(type(lb),lb)
AssertionError: IntVar lowerbound must be integer <class 'numpy.float64'> 0.0

Closing as fixed with pull request #182


added 'use strict' for older versions of node

added use strict so that older versions of node can run

tagged & released at v0.0.8. Thanks for the PR, @NaPinch


Separate Embedded Zookeeper server from ha

Why are the changes needed?

Separated embedded zk from ha module, as it's only used for setup a zk from Kyuubi server for now if there is not an external one
Support more configuration for the embedded zookeeper, for example, HOSTNAME, then it's more close to prod usage.
TODO: Make the embedded zookeeper of our own, which should support as quorum peers

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

cc @turboFei @pan3793 @Honglun @ulysses-you

thanks, merged to master for v1.2.0


Refactor of DataLake module into dls and dla modules

This change does the following:

Remove datalake module
Create top level dls (data lake store) and dla (data lake analytics) modules
Refactor all names of all commands to fit in these two buckets
Update parameters to have better naming and to follow the dash pattern
Update list jobs to follow the right logic for top and filtering.
Add support for acl management
Add support for file expiry
Add and update tests
Update readme and history files.

@begoldsm,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@begoldsm please address the style and CI failure first.

Codecov Report

Merging #2604 into master will increase coverage by 0.03%.
The diff coverage is 91.89%.

@@            Coverage Diff             @@
##           master    #2604      +/-   ##
==========================================
+ Coverage   72.58%   72.62%   +0.03%
==========================================
  Files         374      376       +2
  Lines       20297    20388      +91
  Branches     2971     2985      +14
==========================================
+ Hits        14732    14806      +74
- Misses       4642     4648       +6
- Partials      923      934      +11

Impacted Files
Coverage Δ

...i-dls/azure/cli/command_modules/dls/_validators.py
31.57% <ø> (ø)

...rc/command_modules/azure-cli-dla/azure/__init__.py
100% <ø> (ø)

...zure-cli-dla/azure/cli/command_modules/__init__.py
100% <ø> (ø)

...ommand_modules/azure-cli-dla/azure/cli/__init__.py
100% <ø> (ø)

...ure-cli-dls/azure/cli/command_modules/dls/_help.py
100% <100%> (ø)

...ommand_modules/azure-cli-dls/azure/cli/__init__.py
100% <100%> (ø)

...-cli-dla/azure/cli/command_modules/dla/__init__.py
100% <100%> (ø)

...e-cli-dls/azure/cli/command_modules/dls/_params.py
100% <100%> (ø)

...-cli-dls/azure/cli/command_modules/dls/commands.py
100% <100%> (ø)

...a/azure/cli/command_modules/dla/_client_factory.py
88% <100%> (ø)

... and 19 more

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 9887f2b...69885f0. Read the comment docs.

I don't have much concerns regarding the changes except the one about performance. It's better for @derekbekoe to answer.


PEP 695 – Type Parameter Syntax

Feature

Seeing as how Python 3.12 is now in beta, I feel like RustPython should also work on being able to parse the new syntax introduced in PEP 695, which makes it much easier to type-hint generic functions and types in the language. I ran into this while trying to start writing a custom type checker, and wanted to use rustpython_ast to parse Python 3.12 code that uses this new syntax. Some examples include:
def identity[T](x: T) -> T:
    return x

type Point = tuple[float, float]

type MappingOrSequence[T] = Mapping[int, T] | Sequence[T]

class Container[T](Sequence[T]): ...

Python Documentation or reference to CPython source code

The type statement
Generic functions
Generic classes
Generic type aliases

I'll be working on this for use in Ruff — I expect my changes will land in a pull request here.


Typo fix

"The interview will be scheduled for one hour."

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@mark-szabo Thanks for submitting these fixes! When we converted all of the articles from the code of the old platform to Markdown, we introduced formatting errors and typos when editing text (since GitHub on the web doesn't have spell-check). Really appreciate the contribution :-)


Failing to require a local image

Tried to include a local image to the basic-setup example and it's failing to load it. Is this an issue with skpm or just unsupported at this stage?
Thanks!
Executing post-build scripts
error Error while building ./my-command.js
./src/pic.jpg
Module parse failed: /react-sketchapp/examples/basic-setup/src/pic.jpg Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
 @ ./src/my-command.js 55:70-90
- reactTreeToFlexTree: 0.003
- computeLayout: 0.067
new renderer: 0.083

How to reproduce:
<Image source={require('./pic.jpg')} style={{ width: 200, height: 200 }} />
Sketch version:
43.2

Currently, we load images from URLs - this should be relatively easy to implement though.
Would love a contribution if anyone feels up to it - I won't have time to tackle it myself at least until next week
Some notes:

I'm not a webpack expert but I think you should be able to use some combination of loaders
skpm just wraps webpack
you can give skpm a custom webpack config by adding a webpack.config.js file in the root of your project (wherever your package.json is)
some changes will also have to be made in src/renderers/ImageRenderer.js (remember to npm link!)
once it's all working we can discuss moving the updated webpack config into skpm itself

@jongold thanks, I can give it a go!

@jongold working now by tweaking skpm only. I've opened a PR at https://github.com/sketch-pm/skpm/pull/37

!!!!!!!!!!! @pastawoua you're awesome. let's take discussion over to https://github.com/sketch-pm/skpm/pull/37 :)

@jongold 👍
After going through the rabbit hole of importing images, I realised that the resolution (@2x, @3x) is going to be an issue, I guess it could be parsed and always imported at the highest available resolution. The next question is are pngs/jpgs really appropriate in a design system for things like icons, wouldn't it be better to import svgs as Sketch can't tint images. How did you tackle managing icons on your side?

Not a drop in solution, but just wanted to share what I've been using to get my SVG icons (tinted with css) into sketchapp.
First, made PNGs of all the SVGs with https://github.com/skiddoo/grunt-convert-svg-to-png, then used this express server to give all the pngs a localhost url with an optional param to tint them whatever color:
var express = require('express');
var path = require('path');
var gm = require('gm').subClass({imageMagick: true});

var app = express();

// serve colorized png
app.get('/:shape?', function(req, res){
	var { shape = 'checkmark' } = req.params;
	var { color = 'black' } = req.query
	var filename = path.join(__dirname, `public/${shape}.png`);
	gm(filename)
		.fill(color)
		.colorize(100)
		.stream()
		.pipe(res);
});

// start server
app.set('port', 4000);
var server = app.listen(app.get('port'), function() {
  var port = server.address().port;
  console.log('react-sketchapp icons on port ' + port);
});

Then in my icon component, it's split by platform. For web, it uses the usual <svg> tag and sprite shape, colored by css. For sketchapp, it uses the <Image> primitive and hits our new webserver:
		if(Platform.OS =='sketch')
			return(
				<Image
					source={{uri: `http://localhost:4000/${shape}?color=${color}`}}
					style={{width: 24, height: 24}}
					/>
			);

		if(Platform.OS =='web')
			return(
				<svg className="icon" style={{height: 24, width: 24, stroke: color, fill: 'none'}}>
					<use xlinkHref={`#icon-${shape}`} />
				</svg>
			);

you should now be able to import local images with skpm

This seems to be an issue in v1.0.0.


jarek/12: switch interrupting mode to message

related PRs:
https://github.com/twosigma/beakerx_kernel_groovy/pull/11
https://github.com/twosigma/beakerx_kernel_java/pull/7
https://github.com/twosigma/beakerx_kernel_clojure/pull/6
https://github.com/twosigma/beakerx_kernel_kotlin/pull/6
https://github.com/twosigma/beakerx_kernel_scala/pull/7
https://github.com/twosigma/beakerx_kernel_sql/pull/6
https://github.com/twosigma/beakerx_widgets/pull/22

To test the PR there must be created new conda env because I changed installation files kernel.json

It works fine on all related PR's


Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

How to troubleshoot the error Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' ?
I've followed this article but when trying to open the connection I'm getting the error above.

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

ID: cafae152-410e-ff6d-264d-e49c6072ef05
Version Independent ID: 4c215c5b-3ad1-1d4a-be3a-c48b9b40d449
Content: Tutorial: Use a managed identity to access Azure SQL - Windows - Azure AD
Content Source: articles/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-sql.md
Service: active-directory
Sub-service: msi
GitHub Login: @MarkusVi
Microsoft Alias: markvi

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

@thdotnet I have followed the article and checked for PowerShell and it worked fine.

Can you please make sure that you create the user and assign role on the required database (not on master) by selecting from SSMS.

It only worked when I added the Microsoft.Azure.Services.AppAuthentication nuget package. Manually retrieving the token didn't work.
var tokenProvider = new AzureServiceTokenProvider();
var accessToken = await tokenProvider.GetAccessTokenAsync("https://database.windows.net/");


Disable newsletter sign-up page after migrating to v4

I just updated my site from v3 to v4, following the official guide.
No matter what I do, the newsletter sign up in the footer does not disappear. Disabling the option has no effect. I already saw a related issue here. I believe I have the newest version of the theme. My repo is public: https://github.com/zotroneneis/zotroneneis.github.io. Could you please help?

Hi @zotroneneis,
It's strange. Your config.yaml looks OK. In my case, params.footer.newsletter is set to false too, and the newsletter sign up doesn't appear in the footer as requested. But I started from scratch to V4, not by migration way.

Hi @zotroneneis
I've notticed that yout footer section in config.yaml is idented with an extra space, meaning footer is a child of features instead of params. Removing those extra spaces in the footer section should fix this issue.

This config.yaml works:
baseURL:  "https://alpopkes.com"
languageCode: en-us
title: "Anna-Lena Popkes"

# Use Hugo modules to add theme
module:
  imports:
  - path: github.com/hugo-toha/toha/v4
  mounts:
  - source: static/files
    target: static/files
  - source: ./node_modules/flag-icon-css/flags
    target: static/flags
  - source: ./node_modules/@fontsource/mulish/files
    target: static/files
  - source: ./node_modules/katex/dist/fonts
    target: static/fonts

# Manage languages
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
languages:
  en:
    languageName: English
    weight: 1

# Control TOC depth
markup:
  tableOfContents:
    startLevel: 2
    endLevel: 6
    ordered: false

# Enable Disqus forum
# disqusShortname: www-pwenker-com
# Enable global emoji support
enableEmoji: true

# Site parameters
params:
  background: "images/background/sheep.JPG" # 1920x1078

  # The inverted logo will be used in the initial transparent navbar and
  # the main logo will be used in the non-transparent navbar.
  logo:
    main: images/author/image_al.jpg
    inverted: images/author/image_al.jpg
    favicon: images/author/image_al.jpg

  # GitHub repo URL of your site
  gitRepo: https://github.com/zotroneneis/zotroneneis.github.io
  gitBranch: main

  # Configure various features of this theme
  features:
    # Enable and configure blog posts
    blog:
      enable: true

    # Show tags under the post title
    tags:
      enable: false

    # specify whether you want to show Table of Contents in reading page
    toc:
      enable: true

    # Enable dark mode
    darkMode:
      enable: true

    # Enable this to create mathematic expressions using `$$` blocks
    math:
      enable: true
      services:
        # https://katex.org/docs/autorender.html#api for more configurations
        katex:
          delimiters:
            - left: $$
              right: $$
              display: true
            - left: \\[
              right: \\]
              display: true
            - left: $
              right: $
              display: false
            - left: \\(
              right: \\)
              display: false

  # Provide footer configuration.
  footer:
    enable: true
    # You can provide your custom footer template using this option.
    # Put your template in "layouts/partials" folder of your repo.
    template: footer.html
    # Show/hide navigation in the footer. Default is "true".
    navigation:
      enable: true
      # show custom menus in the footer
      customMenus: true
    # Show/hide "Contact Me" section in the footer. Default is "true".
    contactMe:
      enable: true
    # Show/hide credentials section in the footer. Default is "true".
    credentials:
      enable: true

    # Show/hide newsletter section in the footer. Default is "true".
    # Currently, it supports "mailchimp".
    newsletter:
      enable: false
      # provider: mailchimp
      # mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&id=094a24c76e

    # Show/hide disclaimer notice in the footer. Default is "false".
    disclaimer:
      enable: true

Thanks so much @BernatBC! That was an easy fix. Sorry for not seeing it myself.


[dead code][vm] Kill Unused Entries Check

It wasn't used

Motivation

It's keeping some dead status codes alive

Test Plan

cargo test

/land

/land


Property Testing Failures

There were some issues for further investigation, that were all solved.

This is done.


Restriction of Operator Role Permissions in Superset

What:
We need to modify the role permissions for all users assigned the "Operator" role in Superset.
Why:
Our platform, which is based on Open edX, grants global staff permissions to certain team members. This allows them to make changes and view course data via the LMS/CMS admin interfaces. However, when these users, designated as "Operators", access Superset, they currently have the capability to execute MySQL queries on our ClickHouse databases. Specifically, we want to prevent them from executing 'ALTER' and 'INSERT' queries. We are using an older version of the Aspects project deployed by the RG team, and it's possible that this issue has been addressed in more recent releases.
How:
We attempted to manage this through the roles configuration within the Superset UI but found discrepancies. For example, the role labeled as "Instructor" unexpectedly has extensive permissions, despite such extensive access being unnecessary for instructors.
Supporting Images:

Hi Vladimir, I'm looking into the permissions now though @Ian2012 may have more context on why the permissions are set the way they are. However my first thought is that ClickHouse shouldn't be using a user that has alter/insert permissions to connect to MySQL, so maybe an easy short-term solution is to give ClickHouse a user that only has select permissions on the tables it needs access to?

Which Aspects version are you running and which Open edX version?
The operator role shouldn't be empty and the instructor role has limited permissions for read-only to dashboards and charts. You can try to rerun Aspects init jobs to synchronize the role permissions, if that doesn't work try to upgrade to the latest version of Aspects.

@vladimirCampusGovIl another thing is that you shouldn't modify the role via the UI

Hi Vladimir, I'm looking into the permissions now though @Ian2012 may have more context on why the permissions are set the way they are. However my first thought is that ClickHouse shouldn't be using a user that has alter/insert permissions to connect to MySQL, so maybe an easy short-term solution is to give ClickHouse a user that only has select permissions on the tables it needs access to?

Yes, it is an option in case we need one of our operators only to make selects on the SQLLab.

Which Aspects version are you running and which Open edX version?

We use the old version of Aspects (6-month-old version or above). In case these permissions are different in the latest version of Aspects our DevOps team will need to check the approach you wrote or just get the latest version changes.

I did just confirm that instructors can't access sqllab in the current version of Aspects. I believe those permissions were required for some reason, though I can't remember what, but they do not grant overall access to run SQL.

Ok, in our version the SQLLab tab does not appear. Our need is more about how we can remove this tab for the Operators and leave it only for SA of edX (or Admin of Superset) - I wanted to try to make it using the UI changes. Now I understand that it can be done for now only using the "create custom roles and assign them via Python code" as @Ian2012 wrote above.


refactor: improve git branch specific marks impl

A few changes from #98

Use git rev-parse --abbrev-ref HEAD over git branch --show-current as it's more commonly available on old git versions.
Reduced the number of calls to the aforementioned command to improve performance
Make mark_branch a global_setting
Add mark_branch under global_settings in README

Great work!
I wrote the original code for the git branch marks (which were btw my first lines of lua), but this PR really improves the performance. 🚀
@harrisoncramer noticed me about preview timeouts in Telescope because of my changes. I believe this PR fixes this issue.

Many TYs


SAK-44571 Lessons: Embedded hidden PDF resources are visible to students

@MRutea
This looks fine as a student but I have a doubt if the instructors will see the item, does isAvailable method return true when the user is an instructor?

@mpellicer
Yes. The instructor will see the item.
And isAvailable returns "true" when the user is an instructor and "false" when is an student.
Thank you.


Bumps in garden: ign-math7, ign-common5, ign-physics6, sdf13

See https://github.com/ignition-tooling/release-tools/issues/574

CI is happy, merging! :beers:


Extra 7.3 --profile flag

Looks like Extra 7.3 is using the --profile flag. Should it be using the $PROFILE_OPT env var?
When I ran it against one of my accounts the S3 Open bucket check failed out with:
ENV,ACCOUNT_NUM,us-west-2,7.3,INFO,Not Scored,Extra,[extra73] Ensure there are no S3 buckets open to the Everyone or Any AWS user (Not Scored) (Not part of CIS benchmark),Looking for open S3 Buckets (ACLs and Policies) in all regions...

The config profile (ENV) could not be found

Thanks for spotting it! Fixed


404 on dataset: https://cellgeni.cog.sanger.ac.uk/BenKidney_v2.1/Mature_Full_v2.1.h5ad

Describe the bug
Urllib hits 404 on the BenKidney_v2.1 datasets, but works on others. I've injected a try/except into my local code as a patch to skip this dataset. Could be worth having a ignore_error arg for Universe.download, which causes it to just print a warning in the case of a problem. Happy to make a PR for the ignore_error arg if that's helpful.
These are the dataset URLs:
https://cellgeni.cog.sanger.ac.uk/BenKidney_v2.1/Fetal_full.h5ad
https://cellgeni.cog.sanger.ac.uk/BenKidney_v2.1/Mature_Full_v2.1.h5ad
And one HCA:
https://data.humancellatlas.org/project-assets/project-matrices/cc95ff89-2e68-4a08-a234-480eca21ce79.homo_sapiens.loom
ds = sfaira.data.Universe(data_path=datadir, meta_path=metadir, cache_path=cachedir)
ds.subset(key="organ", values=["kidney"])
ds.download()

Causes the following error:
---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
/tmp/ipykernel_1487/2839717785.py in <module>
----> 1 ds.download()

/usr/local/lib/python3.8/dist-packages/sfaira/data/dataloaders/base/dataset_group.py in download(self, **kwargs)
    918     def download(self, **kwargs):
    919         for x in self.dataset_groups:
--> 920             x.download(**kwargs)
    921
    922     def load(

/usr/local/lib/python3.8/dist-packages/sfaira/data/dataloaders/base/dataset_group.py in download(self, **kwargs)
    382     def download(self, **kwargs):
    383         for _, v in self.datasets.items():
--> 384             v.download(**kwargs)
    385
    386     @property

/usr/local/lib/python3.8/dist-packages/sfaira/data/dataloaders/base/dataset.py in download(self, **kwargs)
    319
    320                 #try:
--> 321                 if 'Content-Disposition' in urllib.request.urlopen(url).info().keys():
    322                     fn = cgi.parse_header(urllib.request.urlopen(url).info()['Content-Disposition'])[1]["filename"]
    323                 else:

/usr/lib/python3.8/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
    220     else:
    221         opener = _opener
--> 222     return opener.open(url, data, timeout)
    223
    224 def install_opener(opener):

/usr/lib/python3.8/urllib/request.py in open(self, fullurl, data, timeout)
    529         for processor in self.process_response.get(protocol, []):
    530             meth = getattr(processor, meth_name)
--> 531             response = meth(req, response)
    532
    533         return response

/usr/lib/python3.8/urllib/request.py in http_response(self, request, response)
    638         # request was successfully received, understood, and accepted.
    639         if not (200 <= code < 300):
--> 640             response = self.parent.error(
    641                 'http', request, response, code, msg, hdrs)
    642

/usr/lib/python3.8/urllib/request.py in error(self, proto, *args)
    567         if http_err:
    568             args = (dict, 'default', 'http_error_default') + orig_args
--> 569             return self._call_chain(*args)
    570
    571 # XXX probably also want an abstract factory that knows when it makes

/usr/lib/python3.8/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args)
    500         for handler in handlers:
    501             func = getattr(handler, meth_name)
--> 502             result = func(*args)
    503             if result is not None:
    504                 return result

/usr/lib/python3.8/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
    647 class HTTPDefaultErrorHandler(BaseHandler):
    648     def http_error_default(self, req, fp, code, msg, hdrs):
--> 649         raise HTTPError(req.full_url, code, msg, hdrs, fp)
    650
    651 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 404: Not Found

System [please complete the following information]:

OS: Ubuntu 20.04.1 LTS
Language Version: 3.8.10
Sfaira version: 0.3.9
urllib3 versions tried:  1.25.8, 1.26.8

Thank you @TheAustinator, looks like they were taken down - I assume they were moved, I will go look for them on google and update the loaders accordingly.

Those wily datasets, always sneaking around. Thanks!


Missing Declared License

Type: Incomplete
Summary:
Missing Declared License
Details:
Followed to repo via Project site link - https://github.com/xunit/xunit/blob/2.4/license.txt
Resolution:
Apache v2
Affected definitions:

xunit 2.4.0

@jeffwilcox @ignacionr I'm still not able to merge this.

The problem here are the two 'sourceLocation' objects that lack a 'name'.

@AE49 I resolved it manually, you can now merge.

@ignacionr Thank you.


Adding http:ClientConfiguration configuration

Description:
I cannot configure the HTTP client used by the module
Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
    sfdc:SalesforceConfiguration config = {
        baseUrl: myUrl,
        clientConfig: {
            accessToken: myToken
        }
    };
    sfdc:BaseClient baseClient = new (config);

Related Issues:
When using this module, I cannot configure the HTTP Client used by the module.
It would be interesting to add a field of type http:ClientConfiguration in the SalesforceConfiguration record that it would be possible to pass client configuration that the module could use when creating the client.
So I could write, for example:
    sfdc:SalesforceConfiguration config = {
        baseUrl: myUrl,
        clientConfig: {
            accessToken: myToken
        },
        httpClientConfig: {
          circuitBreaker: {
            rollingWindow: {
              timeWindowInMillis: 10000,
              bucketSizeInMillis: 2000,
              requestVolumeThreshold: 0
          }
       }
    };
    sfdc:BaseClient baseClient = new (config);

I'm running into the following errors while querying Leads.
time = 2021-03-07 19:50:11,419 level = ERROR module = ballerinax/sfdc message = "Error occurred while getting the HTTP response." error = "Idle timeout triggered before initiating inbound response"

A resolution to this issue might help.

We have exposed it like below in the ConnectionConfig . Now you can do any HTTP configuration.
    public isolated function init(ConnectionConfig salesforceConfig) returns Error? {
        self.clientConfig = salesforceConfig.clientConfig.cloneReadOnly();
        http:ClientSecureSocket? socketConfig = salesforceConfig?.secureSocketConfig;

        http:Client|http:ClientError|error httpClientResult;
        httpClientResult = trap new (salesforceConfig.baseUrl, {
            auth: salesforceConfig.clientConfig,
            secureSocket: socketConfig,
            httpVersion: salesforceConfig.httpVersion,
            http1Settings: salesforceConfig.http1Settings,
            http2Settings: salesforceConfig.http2Settings,
            timeout: salesforceConfig.timeout,
            forwarded: salesforceConfig.forwarded,
            followRedirects: salesforceConfig.followRedirects,
            poolConfig: salesforceConfig.poolConfig,
            cache: salesforceConfig.cache,
            compression: salesforceConfig.compression,
            circuitBreaker: salesforceConfig.circuitBreaker,
            retryConfig: salesforceConfig.retryConfig,
            cookieConfig: salesforceConfig.cookieConfig,
            responseLimits: salesforceConfig.responseLimits
        });


oauth redirect_uri documents a Host constraint that doesn't exist

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps#redirect-urls
What part(s) of the article would you like to see updated?
The article talks about how the Host must match the defined Callback URI, however in the real world, redirect_uri appears to allow subdomains of the Host.
In the article is a truth table. I propose the table is extended to show support for providing a subdomain in the redirect_uri.
Hopefully this also gives a solid example of what I'm asking about.
CALLBACK: http://example.com/path

GOOD: http://example.com/path
GOOD: http://example.com/path/subdir/other
+GOOD: http://oauth.example.com/path
+GOOD: http://oauth.example.com/path/subdir/other
BAD:  http://example.com/bar
BAD:  http://example.com/
BAD:  http://example.com:8080/path
BAD:  http://oauth.example.com:8080/path
BAD:  http://example.org

Additional information
Are there any gotchas that break this assumption?
From what I remember, I relied on this behaviour for another project a few years back, so there may be other projects in the wild that made the same discovery and rely on the undocumented functionality.

@antdking Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

@antdking Thanks for bringing this up! I spoke with the team and we'd be happy to accept this change and an additional edit:

Add the two two lines highlighted above.
Change the paragraph right above the call out and below the title to say

If provided, the redirect URL's host (excluding sub-domains) and port must exactly match the callback URL. The redirect URL's path must reference a subdirectory of the callback URL.

You, or anyone else, are welcome to submit a PR with this change.


[Workshops] Verify zoom links

Go to each workshop page. E.g. https://virtual.acl2020.org/workshop_W2.html

Click on 'Join Zoom Meeting' for each live session (see below)

Verify that the zoom meeting opens with the correct meeting name (see below for W2)

I've looked through all meetings and all titles seem to be correct. Some minor comments:

W9's second session, which goes through UC Berkeley's zoom, doesn't list event information but I'm assuming that the link is correct.
Session 2 and 3 for W2 and Session 3 for W10 are listed as occurring on 10th July on the websites(GMT) but the zoom links list them as belonging to the "Q&A D5 9th" category. I'm assuming this is because PDT or earlier time zone is being used.

Thanks @tlikhit

The link is correct and since W2 organizers created it, they should be fine with event information not being listed
Ya, that is because they are using the same zoom link for all sessions of W2. Since this is managed by SlidesLive, we don't have to worry about it.

Closing this now.


Adapt script get_tigl_tixi.sh for changed linux distros

We added to the open build service e.g. ubuntu 16.04 and probably, we also removed some old distros.
Therefore, the download script https://github.com/DLR-SC/tigl/blob/master/misc/get_tigl_tixi.sh must be adapted.
Also, the RedHat 5 (RHEL_5) specific section can be removed now.

Good idea.
Could you please add "SLE_12_SP2     Suse Linux Enterprise 12 SP2", as well?
Thanks!

@CLiersch Sure, I added the build nodes right now. The packages are building already:
https://build.opensuse.org/project/monitor/science:dlr


User timeline API is not returning the right results

Describe the bug
I'm trying to pull the timeline for @Forbes from 2022-04-19 to 2022-05-19. The url I'm sending the requests to is as follows:
"https://api.twitter.com/2/users/Forbes/tweets?max_results=100&start_time=2022-04-19T00:00:00Z&end_time=2022-05-19T00:00:00Z"
The returned response is as follows:
{     "meta": {         "result_count": 0     } }
However, there are some tweets in that period, including this one: https://twitter.com/Forbes/status/1518671125563199492
When I change the user ID (For example to "CNN"), it works just fine.
To Reproduce
Go to Twitters Public Workspace on Postman, set your bearer token, and send the following request:

Additional context
I tried different methods (python code on my laptop, postman, python code on google colab). I tried two different bearer auth tokens. Still getting the same empty response.

You can try this https://twitter.utools.me/ tel: https://t.me/Yang0619


"modify the function installUnpackedExtensions() to reflect the locations of your own addons"

Hello. The script doesn't seem to work for me. What exactly does "modify the function installUnpackedExtensions() to reflect the locations of your own addons" means? Where should I put my addon's path?

The function installUnpackedExtensions() begins in line 83 of userChrome.js. If you only have one Addon you want to autoload, you can delete 2 of the 3 lines calling installExtension(...) and modify only the last one. The first argument of that function is the path to your Addon as a string. If you are on Windows, you need to escape backslashes with a second backslash.

In the example given here, the addons are subfolders of D:\workspace\go\src\chrome\.
Also, if you are on a Firefox version newer than 117, you need to delete the following lines from the same userChrome.js just a bit below (marked in red) (#3):

That's what I needed, thanks!