Drag,drop,hovered events are not generated in events example

rev: 8957883a88ce98de3d37cdb1e658db5c6777ff1f
env: fedora/gnome 3.34.2/wayland
bug: Drag,drop,hovered events are not generated in events example

Looks like it still isnt fixed. Can you please reopen and close the issue when support is added?

Workaround: Force Xwayland by adding
std::env::set_var("WINIT_UNIX_BACKEND", "x11");

before Gui::run()


Default schema is set incorrectly during flyway_schema_history creation

Which version and edition of Flyway are you using?
8.0.2, Community ed.
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Yes, reproduced with 10.15.2.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using? (Type & version)
MySql 8.4
Which operating system are you using?
Linux
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
      Flyway
        .configure()
        .dataSource(ds) // dataSource has a JDBC url that points to schema "foo"
        .defaultSchema("bar")
        ...
        .load()

Followed by a migrate() call.
What did you expect to see? / What did you see instead?
There should be a USE DB bar in the MySQL log prior to the creation of bar.flyway_history_table. Instead there is a USE DB foo. So the history table is created in the right place, but thanks to the quirks of MySQL replication (which filters DDL statements based on the current default DB), my replication breaks.
Note that USE DB bar is correctly invoked prior to the invocation of my migrations.
Offending code seems to be this: https://github.com/flyway/flyway/blob/main/flyway-core/src/main/java/org/flywaydb/core/internal/schemahistory/JdbcTableSchemaHistory.java#L108
The defaultSchema isn't being used anywhere.

Hi @monktastic ,
I tried this scenario locally but unable to replicate.

url set to MySQL jdbc url points to a schema sakila
Configure defaultSchema = "schemaDefault"
Run migrate.

From the result, we can see the flyway_history_table was created in the schemaDefault schema.

@JasonLuo-Redgate The issue isn't that the history table is created in the wrong schema; it's that the "default schema" is set incorrectly on the connection. This is a subtle but important difference. Consider the following two sets of statements:
USE DB foo;
CREATE TABLE bar.history ...;

USE DB bar;
CREATE TABLE bar.history ...;

In both cases, history will be created in the correct schema (bar). But when MySQL writes those CREATE statements to its binlog, it will record that the default db in use at the time was different in the two cases, which directs the replication engine to do slightly different things depending on which filters are in use. (For example, if you set replicate-do-db=bar, you're not telling MySQL "replicate everything in the bar db"; you're telling it "replicate all statements where bar was set as default db at the time" (at least for DDL statements like this).)
The defaultSchema method on Flyway explicitly says:
This schema will be the default for the database connection (provided the database supports this concept).

It issues the correct USE DB statements on the connection for my migrations, but not on the connection where it creates the history. This results in incorrect replication behavior in MySQL.

Hi @monktastic , can you workaround this by removing the foo schema from your MySQL JDBC url since you're setting another defaultSchema?


test(e2e): setup tests using playwright

This PR is based on #511 which should be merged first.

This is awesome and a lot more than we had previously, thank you!


Throws error when pagination

After embedding  inside pagination technique
it kept throwing error this.letteravatar.clear(); unless i remove that line fron ngOnDestory

@yassin-gamal
This component is moved to ngu-utility module https://github.com/uttesh/ngu-utility and all issues are addressed.


python3 strings are Unicode already, so no need to .decode() for python3

Using duck typing to decide -- if there is a .decode() method, then we assume python2 and apply it; doing nothing otherwise

Can one of the admins verify this patch?


whitespaceBeforeOpenParen does not add a space between param and paren

System Details Output

Operating system name and version
Windows 10 build 1903

### VSCode extensions:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

### PSES version:

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.18362.145
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.145
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Issue Description
I am experiencing a problem with the "powershell.codeFormatting.whitespaceBeforeOpenParen" setting.
Expected Behaviour
When formatting a PowerShell document, a space should separate the "param" keyboard and the following open paren "(".
Actual Behaviour
When I format a PowerShell document (press Ctrl + K; Ctrl + D), a space is not inserted bewteen the "param" keyboard and the open paren "(".
Attached Logs
Attached logs.zip
Proof of Concept/Example Code
Attached Test-WhitespaceBeforeOpenParen.zip
logs.zip
Test-WhitespaceBeforeOpenParen.zip

This is going to sound funny, but param isn't a control keyword, and thus why it doesn't fall under this treatment.

The parenthesis of the param keyword is not a conditional expression.  Instead, param is kind of treated like a function declaration for formal functions or methods.  The examples on MS's PowerShell docs are all this way.
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions_advanced_parameters?view=powershell-6

@msftrncs thanks for the reply. Is there any way to have this be an option, or is it best to utilize the MS standards and rewrite out coding style guidelines to match?


DS-1680 Handle user using the back button to change collection during ingest

https://jira.duraspace.org/browse/DS-1680

I've marked this as 5.2 because the corresponding Jira issue has fix version = 5.2. However, given that this is still marked "work in progress", it may need to be rescheduled.

+1 rescheduling

As noted in the ticket, this code looks like it may continually create new WorkspaceItems each time you hit the back button. Needs testing / verification.

Closing as this PR must be recreated on dspace-6_x branch. XMLUI has been removed from master. See this mailing list notice: https://groups.google.com/d/msg/dspace-devel/aEFqSn46ryM/iPRr_IMLCwAJ


[Typo] Unkown

On the normal body, unknown is missing an n
Normal body shows
Body of unkown
Cause of death: unkown
All the rest of the bodies are fine I think

Thank you for reporting the issue.
The typos will be fixed within the next two updates.


Web integration: URL Redirects

It's necessary to have support for redirecting to other screens in the web browser when auth fails. I.e. if the user clicks on a link that goes to
/some/secret/stuff
but they are not logged in / authenticated, they should be redirected in the browser to
/login
which is a separate screen that implements a login form.

I've never used this package on the web but I wonder if you could use the linking to accomplish that?

The first issue here is react-navigation actually does absolutely nothing to the URL out of the box. It doesn't read it, write to it or anything. Thats because it keeps all its state in a components state or whatever state you provide (eg redux). So the first issue you have to overcome is getting it to use the URL. The docs site is actually built using react-navigation but it handled the logic for using the URL in code specific for the website itself leaving everyone else that is using react-navigation on web out to fend for themselves to handle it... which I guess could be seen as a good or a bad thing depending on your stance.
Some relevant bits of code from the website:
This code handles the user hitting the back button.
https://github.com/react-community/react-navigation/blob/master/website/src/BrowserAppContainer.js#L37
This code handles updating the URL as the user navigates the app.
https://github.com/react-community/react-navigation/blob/master/website/src/BrowserAppContainer.js#L47
This code makes it so the URL the user actually enters is what is shown.
https://github.com/react-community/react-navigation/blob/master/website/src/BrowserAppContainer.js#L22
I am sure there are other parts but that is how they manage the URL but this gives you a head start.

The web support for react-navigation out-of-the-box is subpar. I'm not sure if it will be included in our new roadmap to 1.0 (see discussion here https://github.com/react-community/react-navigation/issues/2476, and the original roadmap here: https://github.com/react-community/react-navigation/issues/723). You'll most likely have to take heavy inspiration from the source code that @rmevans9 pointed out for now.

working?


Circumvent deep copy of context in PredictModelPlugin

Closes #332
It looks like the relatively expensive deep copy of the context done in PredictModelPlugin should be circumvented by simply adding the temporary table we create to the original context and dropping it before returning; this also unblocks usage with multi-GPU cuML models.
cc @VibhuJawa

Codecov Report

Merging #334 (f774264) into main (0c05787) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #334      +/-   ##
==========================================
- Coverage   95.74%   95.73%   -0.01%
==========================================
  Files          65       65
  Lines        2841     2840       -1
  Branches      429      429
==========================================
- Hits         2720     2719       -1
  Misses         75       75
  Partials       46       46

Impacted Files
Coverage Δ

dask_sql/physical/rel/custom/predict.py
95.45% <100.00%> (-0.11%)
:arrow_down:

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 0c05787...f774264. Read the comment docs.


Updated ConversationBubble.tsx to make conversation and feedback persistent, based on issue[BUG]  #1166

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Why was this change needed? (You can also link to an open issue here)

Other information:

@nabeelmohamed
Sorry but the issue #1166 was already assigned to some other contributor.


Metadata signing process

@sevanspowell hi, we soon have the feature to have the policy key on a hw-ledger. this is already working but is not released yet for the public. so we have a great security upgrade here for NFTs/NFs. the thing is, you need a signed entry for each parameter in the json file for the registry. i am not a haskell programmer, i looked at the code of the token-metadata-creator. would it be possible to get detailed information on how to sign the entries? i saw that is is based on a combinations of the black2b_256 hashes of the subject, the entry name, the value and the sequence number somehow?
i wanna collect some information so we can pass it on to vacuumlabs to discuss a maybe implementation into the cardano-app for ledger/trezor hw-wallets. because it would be bummer to have policy keys securely on a hw-wallet, but not being able to register the tokens with that policyid in the registry.

Or maybe we can introduce some new methods to proof the ownership via a specific transaction onchain that is made via a hw-wallet and that contains proofing metadata or so? To offload that from the cardano-app completely.


fix: all kinds of super-tox improvements

Dima's hacks for super-tox
https://warthogs.atlassian.net/browse/CHARMTECH-246

I've rebased this on top of latest main.
@tonyandrewmeyer please review :)

Here's another try, shorter, cleaner, though:

a tad more magic, kwargs have to match between click and Settings
one global
one type ignore

WDYT?

Experimental uv is included, us it like this:
uv run -p 3.8 python tools/super-tox.py -e lint --verbose --ops-source https://github.com/tonyandrewmeyer/operator --ops-source-branch harness-should-not-change-environ --sample 10

can tweak Python version

a useful crutch, not a proper solution

sets up venv on demand 🎉


Feature/UNR-3291

Description
Change icon of 'start' toolbar button based on selected connection flow
Release note
when choosing the options in 'native/local/cloud'  of  'Start' toolbar button, change the start button's icon
Tests
Only editor code change. So that test it in the editor. Click 'start' toolbar button when choosing a different option such as 'Do not connect/local depolyment/cloud deployment'
Documentation
None
Primary reviewers

We definitely shouldn't have a button that does nothing, that's just confusing. I'm also not sure if the behavior would be intuitive enough if it's just different based on the icon. I suggest that we also change the text below the icon to "Local Deployment", "Cloud Deployment", and "No Deployment", and grey out the button for "No Deployment". @jessicafalk @jayprobable @raymonwang thoughts?


Appdata backup script clarification

Got the appdata backup script working few days ago, but don't know if i use it wrong, if i've misunderstood or if it's a bug.
Got a docker-compose.yml file per service, stored alongside the corresponding /config folder.
When running the script, only /config folder is backed up, compose file is not included.
Is that intended ?

All files within the config folder should be backed up. This information is gathered from docker. If you store your compose in a different dir the. You'll need something like folder backup to backup that specific folder.

Closing issue.


How to integrate with NextJs 13+

I tried adding the script using next/script within layout.tsx
import React from 'react';
import { Providers } from './providers';
import NextTopLoader from 'nextjs-toploader';
import { font } from '@ss/theme/font';
import Script from 'next/script'

export const metadata = {
  title: 'Shadow Shifts - Admin',
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en" className={font.className}>
      <Script
        src="https://cdn.jsdelivr.net/npm/react-render-tracker"
      />
      <body>
        <Providers>
          <NextTopLoader />
          {children}
        </Providers>
      </body>
    </html>
  );
}

I tried option #0 I get Waiting for a supported React renderer to be connected...

I tried option #1 I get Connection to rempl publisher – Awaiting...

I can see the script loading correctly

Also worth mentioning that I am using React 18

Yeah any updates on this? coming from nextJs 14. This approach doesn't work


[docs] Finalize documentation

[x] Home
[x] Specs
[x] Provisioning
[x] Cluster

[x] Overview
[x] Config
[x] Charts
[x] Core

[x] Overview
[x] flux-system
[x] kured
[x] traefik
[x] cert-manager
[x] velero

[x] Services

[x] Overview
[x] authelia
[x] blocky
[x] cloudflared
[x] code-server
[x] dyndns
[x] gitlab
[x] home-assistant
[x] homer
[x] linkding
[x] monitoring
[x] paperless
[x] redis
[x] shlink
[x] snapdrop
[x] traefik
[x] unifi
[x] uptime-kuma
[x] vaultwarden

Closed via #96.


Suggestion: Standardised error messages

Would it be worth considering making a transition from/to ajv easier by allowing djv to return a similar error object and additional API items like addMetaSchema?

Yes, it would be, I agree. It is better to have validators do work in a similar style. I would plan this as an enhancement for the next minor releases.

https://gitter.im/korzio/djv?at=59f1ba7b210ac26920327dfb

I'm working on a schema in which almost every field is a $ref and so the errors I get back are all $ref: data which isn't very useful. From AJV I get something like:
    dataPath: '.threads[3].thread.message',
    schemaPath: '#/required',
    params: { missingProperty: 'from_user' },
    message: 'should have required property \'from_user\'' } ]```.

Returning errors like AJV does would be really really useful.

@aboyton YEs, I understand. The current approach is just the easiest one. This task is about standard formatted messages and it is planned for the next sprint.

That would be great. Let me know if there’s anything I can do to help. I looked around the code and it wasn’t obvious to me how to easily add it.

@aboyton If you are interested, @Anthropic has been working on a nice validators adapters package and he's already done good work regarding the messages standardisation for djv package.
👍

If you are looking at adding standardised error messages, I would love to seem them be something you can choose to add to the existing error object and be designed with i18n/l20n in mind. For example using Fluent. I would be happy to start on an PR for this if you'd like?


ref(actions/repo_enumerator.go): add generic repo enumerator

Closing this. It's unclear how convenient this generic enumerator will be, but if we find it will help significantly in the future, we can reopen or rewrite this to our specific needs.


Resolve merge conflicts in helix-machines

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[X] Internal Infrastructure Improvements

Release Note Description
No notes

Resolved.


Adding Tutorial for Explicit consent for Recording and transcription.

Under a team policy, the meeting and group interop call may require explicit consent to allow user to be transcribed or recorded.
If the policy is set and ACS user joins the meeting where recording or transcription, they will not be able to turn on their camera, mic and share the screen until they provide the consent. Adding the description to provide the developer with the api under recording and transcription feature to provide consent and a property to know if the consent is required.
Additionally, added a capability resolution reason as well to show the user if their action will work or are restricted due to requirement of consent.

@sonalisaxenacse12 - Microsoft employees with access to the private repos should open PRs there (azure-docs-pr) when making content additions or changes.  If this does not apply to you, feel free to reopen this PR and we'll move forward here.


[React] How to download attachments and reports

Related issues:

https://github.com/inventree/InvenTree/pull/5696
https://github.com/inventree/InvenTree/issues/5048

The new user interface will be driven entirely by the API. Thus, downloading files (like attachments, reports, etc) no longer relies on session cookies.
so, how do we provide "file download" for the user? Note that any media files served / hosted by InvenTree require user authentication (e.g. via auth token).
So, we need a way to fetch the file and present to the user for download, via the web client.
Many of the ways I have found are very clunky, requiring first downloading the file to browser RAM, and then making a hidden button and "clicking" the button (in software). Or, similar tricks using hidden web forms.
Surely there is a better way? Any suggestions how we can cleanly do this via the API, without any of these hacks tricks?

Also related #5531

I do not really see why it is not working with basic links; I will investigate tonight.
If required I think we should change the backend for this so we can just link to a download endpoint instead of having to work around in the frontend with it.
Maybe this is a solution?

@matmair as far as I can tell, it is because the browser does not have a session cookie. Have a look at the request headers when you download a file in the current UI, vs the react UI.
Here is the request to do a "simple download" of the file in the new UI, which only has login via token auth - no browser session auth:

This is the same reason that I have been working on this PR for images
One option I have considered:

At login, request a "session cookie" from the server
Save the cookie to the session
Any "media file links" can then be downloaded without any extra issues

If required I think we should change the backend for this so we can just link to a download endpoint instead of having to work around in the frontend with it.

I would prefer this too - the required changes to the frontend would be prohibitive

I think adding a session token should be a (somewhat) easy feat.

I hope so! I have not yet found any good examples of this

I have done something similar in the past - we need to argument the token endpoint to instantiate a session/log the user in and set the session token in the response. I will tackle it once #5582 is done; that is getting to the finishing line


Added WithRequestLevel option for logrus middleware.

Required for more fine grained control what to log.
ptal @devnev
Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

As discussed offline, this can be replaced by something more custom when the use case is needed.


Website style to match printed book

This PR updates the website CSS to match the printed book. Here's a side-by-side, with the old one on the left and the new one on the right. (Click to zoom.)

Changes include:

Change the default body and code fonts to match the book (using Crimson Pro instead of Minion 3)
Change spacing; paragraphs are now indented instead of having margins in between
Change text width, mostly to be wider, and change headings to be centered
Change what "info boxes" look like, with thinner borders, underlined titles (except Go Further)

However, in some places I diverged from the book:

Go furthers have a border-all-around because I'm using outline, which can't be customized side-by-side. This is because our browser supports outline in later chapter, and using it allows the book to look nicer in the WBE browser
The book makes code kinda small, I didn't do that on the web. But we could I guess
I kept the online version more colorful, including info boxes, links, footnotes, and a couple of other things being colored.

@chrishtr I think the best review / feedback is to look at the screenshot in detail and say which one you like more.

The new look seems mostly good to me. Feedback:

There isn't enough minimum margin on the sides for narrow browser windows.
The printed book doesn't do it, but adding a bit of space between paragraphs would make things look less over-dense and easier to read.
The self link hash mark (#) on section titles is now gone, re-add it?


METRON-2125: [UI] Making changes visible in the parser list by marking changed items

Contributor Comments
Link to ASF Jira ticket: https://issues.apache.org/jira/browse/METRON-2125
Link to Parent Feature ticket: https://issues.apache.org/jira/browse/METRON-1856
This PR contains work that adds different highlighting to parsers and groups in changed/deleted/new states. We need to add visual styling to parsers when they are in a changed state but before those changes have been submitted to be persisted on the server. For example, when we create a new parser, when we create a new group, when we add or remove a parser from a group, or when we delete a parser or group.
As stated in other PRs opened against this feature branch, this is a subset of changes that cannot be tested without other work in multiple PRs for this feature. This breakdown has been done to make code reviewing easier.
Testing
Open the Management UI in your browser by running scripts/start_dev.sh at metron-interface/metron-config and opening localhost:4200 in your browser. Try creating a parser group by drag and dropping a parser onto another. Select 'create new' from the right side window and name your parser group. Click the done button. You'll notice that the group is highlighted green, representing a new state. Also notice the parsers, which existed before but are now grouped, are highlighted yellow, representing a changed state. If you try to delete a parser or group after it's been created, you'll notice it's highlighted red, representing a deleted state.
All these highlighted colors represent a proposed state before persisting to the backend with the 'Apply' button or cancelling the changes with the 'Cancel' button.
NOTE: Due to how the code for this feature is being split up, it is best to test this in the final PR listed below.
Related commits
This PR is part of a larger sequence of PRs we are opening to make the reviewing process of the relatively large Parser Aggregation UI feature easier.
To see only the changes that apply to this PR, please review the last commit in the list of commits (the commit to review contains the title of the PR)
If you want to learn more about why we picked this method, please refer to the discussion thread here
Please find the full list of related PRs below.
PR#1 METRON-2114: [UI] Moving components to sensor parser module
PR#2 METRON-2116: [UI] Removing redundant AppConfigService
PR#3 METRON-2117: [UI] Aligning models to grouping feature
PR#4 METRON-2115: [UI] Aligning UI to the parser aggregation AP
PR#5 METRON-2122: [UI] Fixing early app config access issue
PR#6 METRON-2124: [UI] Move status information and start/stop to the Aggregate level
CURRENT PR#7 METRON-2125: [UI] Making changes visible in the parser list by marking changed items
PR#8 METRON-2131: Add NgRx and related dependencies
PR#9 METRON-2133: Add NgRx effects to communicate with the server
PR#10 METRON-2134: Add NgRx reducers to perform parser and group changes in the store
PR#11 METRON-2135: Add NgRx actions to trigger state changes
PR#12 METRON-2136: Add parser aggregation sidebar
PR#13 METRON-2137: Implement drag and drop mechanism and wire NgRx
PR#14 METRON-2138: Code clean up
PR#15 METRON-2139: Refactoring sensor-parser-config.component and wire NgRx
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

[ ] Have you ensured that any documentation diagrams have been updated, along with their source files, using draw.io? See Metron Development Guidelines for instructions.

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

+1


Update ExpressVPN results

[ ] Update ExpressVPN results

https://github.com/sheharyaar/iit-kgp-network/blob/d7250aae2eb8dd0270a033d05c52d0f02e6533d1/README_technical.md?plain=1#L445

@yureien you too use ExpressVPN right?
Would be nice if you also help

Alright sure.

Can we close this? @proffapt

Can we close this? @proffapt

I can't update express vpn results as i don't have it's subscription.

Let's close this up then. It's fine if the benches are outdated


WIP: add testfile / DTParser

Add a basic testfile to accompany testmod. Since testfile does not invoke DTFinder, move the stopword list to a DTParser.
TODO for DTFinder / DTParser:

[x] rationalize config handling in DTFinder : is it set in ctor or find? Add tests.
[ ] Given that test_runner / DebugDTRunner fails with vanilla DocTestFinder, add tests for swapping DTParser for a vanilla DocTestParser.
[x] add standalone tests for DTParser itself
[x] properly handle verbosity mapping in DTFinder
[x] move config handling in DTParser to ctor from methods

... and then can actually work on testfile.

Meanwhile, made all DT* classes keep a pointer to the config object, so that methods need not receive it.
Hopefully that's better for being drop-in replacements.
testfile is hacky and needs work. Might merge it fast and iterate based in the run-on-scipy branch.

Still TODO, priority "some day":

[ ] do not store parts of config stuff, only store it itself (looking at you, DTChecker)
[ ] test swapping DT* things with DocTest* analogs
[ ] document the internals


Linting does not work correct on Windows

Describe the bug
When running linting on commit it does not work correctly on Windows
To Reproduce
Steps to reproduce the behavior:

Change a file
Commit it to git
See error

Expected behavior
The linting should run normal.
Desktop (please complete the following information):

OS: Windows

To bypass this problem people can use the following steps:

Run ng lint --fix
Resolve issues that are comming from linting and add changed files to Git with git add
Commit the changes with bypassing the lint-staged step with following command: git commit -m "MESSAGE" --no-verify

For reference:
lint-staged
angular cli

JFYI.
I've commented a workaround here https://github.com/okonet/lint-staged/issues/547#issuecomment-534191338
despite this workaround I would suggest to use tslint directly as it is much faster. an investigation process you can find by a link above


Update 15 page e-Book sponsored by RH

MP Forum thread

Hi Amelia,
We need to loop in the Eclipse Foundation for this. I'd suggest Paul White.
Thanks,
Cesar

@cealsair thanks for the follow-up. There are two things:

are you ok to own that task since RH was the one to sponsor the document and worked directly with the EF team?

unrelated. You are a MP committer, as such your comments need to be shown as a Member of the MP committer in the 24 MP repos.  It seems that something is missing from your paper work with the EF. I recommend you follow up with the foundation. Cheers


Fixed absolute path cache miss in workflow-testing.

Fixed absolute path cache miss in workflow-testing.

Provided friendPaths using built-in property that is configured with relative path sensitivity.

Provided friendPaths using built-in property that is configured with relative path sensitivity.

My bad, friendPaths is actually marked @Internal (link to source). @Internal means that this value is not considered when computing the build cache key. So you could instead say "Provided friendPaths using built-in property that is marked @Internal".


newest version of cline, 2.1.0, not available on cursor for install

Which API Provider are you using?
Anthropic
Which Model are you using?

What happened?

Steps to reproduce

reboot cursor
go to the cline page in the extension store
2.1.0 not available

Relevant API REQUEST output
No response
Additional context
No response

nevermind, just had to click the "restart extension" button and it updated


Optimize switching animations to avoid flickering

Disable workspace animation when the overview is switched to normal mode to prevent Windows from flying off the screen and back, which may cause animation to flicker

lgtm


Add prepare callback usage to createSlice.md

Added a description of the usage of a prepare callback to the createSlice API reference page. Also adapted the multiply case reducer in the example to demonstrate the usage.

Thanks!


Add support for JSON & YAML output types

What type of PR is this?

/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #22
Does this PR introduce a user-facing change?:

It adds support for specifying the output format - YAML or JSON, using an --output / -o flag.

As discussed offline, we are going on a print subcommand with a default output flag.
Ping me when its ready for re-review.

@LiorLieberman please take a look at https://github.com/kubernetes-sigs/ingress2gateway/pull/26


x265: fix build on ARM

Motivation for this change
x265 does not build on ARM. There is a proposed patch upstream that fixes this: https://bitbucket.org/multicoreware/x265/issues/406/arm-assembly-fail-to-compile-on-18
Things done
I applied this patch in nixpkgs. x265 builds on armv7l-linux now.

[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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build x265

The committer in the pull request is unsure about the alignment. Have you checked wether the built version still produces correct results?

This causes 501+ linux rebuilds and should probably go through staging.

I can cherry-pick it there also.

applied in 07a6bc6ab21a9708ff6bd684aa9f9a0375d32f6b


channels in AT data

the FLAG channel actually displays the EGFP channel, and vice versa. It would be best to rename the present FLAG channel as EGFP, but keep the color green. thanks, erik

Sorry about that -- I switched the two channels. Did that fix it?

Hi Alex,
You’ve indeed switched them, but this time two new channels need to be switched.
channel 0 (anti_synaptophysin), which looks like small punch across nearly the whole image, should be blue- it is now both blue (correctly labeled as anti_synaptophysin) and shown in a second channel (incorrectly labeled as anti_gfp) in green.
Channel 1 (anti_FLAG), is correctly labeled red. and channel 2 should be anti_gfp in green actually shows the synaptophysin labeling in green.
thanks for all your help and I’m sorry this is a pain in the ass!  erik
On Apr 22, 2016, at 11:14 AM, Alex Baden<EMAIL_ADDRESS>wrote:
Sorry about that -- I switched the two channels. Did that fix it?
—
You are receiving this because you authored the thread.
Reply to this email directly or
view it on GitHub

No worries -- I've switched anti_gfp to be channel2. I think that fixed everything. Third times the charm?


FIX: use getOriginalDoc in originalDocChangeEffect

This was causing a length mismatch error because the ChangeSet should be for the original. Believe this should fix it

Wow, that was very broken. Thanks for the patch.


Fix release artifacts

Codecov Report
Patch and project coverage have no change.

Comparison is base (63b8940) 89.15% compared to head (c61bbc3) 89.15%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   89.15%   89.15%
=======================================
  Files          12       12
  Lines         249      249
  Branches       28       28
=======================================
  Hits          222      222
  Misses         25       25
  Partials        2        2

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Please Relax global referencing rules for versioning

Hi guys,
I'm trying to use a lot of different parts of the net 2.2 core framework and aspnet and i'm finding constant conflicts due to referential constraints that you guys are imposing.
Can you internally pass around a rule that assemblies should require a minimum or something instead of requiring a specific version as the net result is 5 years or more of waiting for everything to sync up.
For example ...
https://github.com/Azure/azure-functions-host/issues/4049#issuecomment-549612362
... and this sort of thing happens all over the place.

@TehWardy, can you describe your project and how you are encountering the issues? Adding a few folks to the discussion who may be able to help or re-direct as needed.
@nguerrera @dsplaisted

So lets say i'm building a real world enterprise solution.
I begin by creating a few shared libraries that I compile against .Net standard, utility classes and what not. Then I layer on top of those a collection of complex applications with key .net / core dependencies.
So at this point I've already put together a solution that uses stuff like ...

EF Core.
Some Azure libs.
AspNet Core.
OData for that complex relational API layer.
SignalR for that real time stuff.
Specialized parts like the Roslyn API for complex tools.
Maybe a few third party tools.

So having done all this and more I start to see issues putting all the pieces together.
The Azure functions package related to the ticket mentioned above will only accept Newtonsoft.Json package v11 with .Net core 2 usage and v9 or 10 i think it was with .Net usage.
so if in my shared library that I began with happens to depend on v12 i now have to degrade that dependency or force the Azure function to use v12 to bring it up to date.
But then I find I might have some other part of .Net like the SignalR framework that decides only the latest version will do if provided otherwise it's preference is to use the new System.Text.Json API in that case i'm forcing a potential downgrade.
Which depending on the action I take with that might not then agree with what OData stuff I pulled in for the same reason,
Idea / suggestion here (simplest way I can see to improve this situation) ...
If the references in the framework as a rule usually only specified a runtime version or minimum version for dependencies then a lot of this type of issue goes away and the framework as a whole should become a bit more flexible about what it can be paired with.
Am I making sense here?

In general the system works the way you suggest it should.  Versions don't need to match exactly.  The version loaded needs to be the same as or higher than the version a library was compiled against.
As I understand it, the Azure Functions issue is a more specific issue that has to do with plugins to a system.  The problem is that Azure Functions runs an ASP.NET Core app that then loads your code as a plugin.  By the time it loads your code, it's already loaded it's version of Newtonsoft.Json.  So then there's a versioning mismatch because the version of Newtonsoft.Json that is loaded is lower than the one required by your code (or its dependencies).
We've done some work to improve plugin support in .NET Core 3.0, so it might be possible now to have your code load a different version of Newtonsoft.Json than Azure Functions uses.  @jeffschwMSFT may know if this is the case.
It sounds like Azure Functions in this case may try to remove their dependency on Newtonsoft.Json instead.

We've done some work to improve plugin support in .NET Core 3.0, so it might be possible now to have your code load a different version of Newtonsoft.Json than Azure Functions uses

We have a set of samples for this subset portion of the problem described above: https://github.com/dotnet/samples/tree/master/core/extensions/AppWithPlugin.  If you have any questions, please let me know.

Oh ok, thanks for the feedback.
I could just be unlucky and seemingly finding these edge cases because I use so much of the framework across my solution.
Some of my issues might be down to VS itself not playing ball too.
Am i right in understanding that .Net core 2.x and 3.x are not compatible as I can't seem to update to the latest EF Core stuff without it forcing me to move to .Net Core 3.0 which I'm a bit worried might be a little too close to the cutting edge for production code.

Ok here's another example that i'm suffering right now ...
https://github.com/Azure/azure-functions-host/issues/5230
... it's more dll hell and it's extremely frustrating.
The Azure function in question also uses the Roslyn API which seems to behave differently in the Function Host in the cloud to what it does on my local machine.
On top of that I attempted a full stack upgrade to .Net Core 3.0 and there seems to be no way to host SignalR with OData along side each other in an application as one requires the new endpoint routing stuff and the other just out right fails if it's enabled.
I'm now in a strange place where it seems like the signalR issue i'm having might be solved in .Net Core 3.0 (but i don't know) but even if it is I can't upgrade as i'm waiting on further improvements in OData before it'll all fit together.
Can I get some guidance on this please?

Ok I think I might be looking in the wrong place.
I've gone through a local server and noticed that during deploys IIS isn't stopping the kestrel process it's proxying and thus files are getting locked resulting a ton of un-predictable behaviour and god knows how many different issues.
On top of that I noticed that if I manually go to my projects bin folders after performing a clean solution in VS some files haven't been cleaned.
I don't know how to report VS issues but I would suggest that they completely wipe every projects bin folder during a clean since not doing so can often leave "other build configurations results" in the bin folder which i seem to be able to intermittently get it to pick up and use resulting in it thinking i'm trying to "debug a release deploy" or something.
I had to double check my release configurations to be sure that this was actually going on.
The net result is that it seems everything about putting a build together is what causes my issues, this got further confirmed when I finally fixed the publish profile on an azure function app and I deployed that and got the same exception I was seeing before even though locally I had resolved it.
I fixed the issue by completely removing the azure function instance through the cloud portal, deleting the publish profile then setting up a new one to deploy the function app to a resource with the same name again.
In short ... I can't be sure a "clean" deploy is what I think it is which complicates a lot of what i'm seeing.
Thinking about all these issues in combination I think there's a good chance that the framework is in fact behaving as described above and as designed, my issues seem to be largely around the cleanliness of builds.
I have just one issue left to resolve which is around using the roslyn api's from inside an azure function but i have raised that separately.
I will leave this ticket open so you guys can decide what if anything you want to do with my findings / possible come back to me on it.
Sorry about the confusion.

Thanks for the details, @TehWardy . For now, I'll close it as it seems to be resolved.
If anyone else on this thread would like to provide additional comments, feel free to reopen to continue the conversation.


Propuesta log

Add a logs screen with the logs list. Ability to search logs by IP, Mac or client ID. Ability to filter the logs with custom rules. Add log details page.

This feature is already planned and will be available on next betas.


split init command into init and build

we've been packing (pun intended) a ton of stuff into the init command. this has the benefit of being a one-stop shop, but as we've seen with the intro of the --mode flag it's a lot harder to customize, and for those who use wasm-pack as a build tool, a single command that does everything is not really what folks want. for 0.5.0 let's break out init into a init and build command.
strawman proposal:

init becomes what init --mode no-build is now
build is everything --mode no-build skips, build should have a --no-installs flag

thoughts?

related: #185

SGTM.
Ideally, --no-installs will be unnecessary as well, once we can properly determine whether the dependency tools are available and up-to-date or not.

Given the original init options,
pub struct Init {
    crate_path: String,
    scope: Option<String>,
    disable_dts: bool,
    target: String,
    debug: bool,
    crate_name: String,
}

#194 introduced the configuration:
[package.metadata.wasm-pack.build.<build_mode>]
debug = true
features = ["console_error_panic_hook"]
rustc-opt-level = 0
wasm-opt = false
wasm-snip = false
wasm-bindgen = true

In the addition of build options above, should I move init.debug into build too?

hey @csmoe sorry i missed this comment. let me get the split done (hopefully today or tomorrow) and then we can figure out exactly where things should be. it'll be easier once it's actually in place.

closed by #216


Allow taking just Producer or Consumer

Allow for the time-disjoint splitting of producer and consumer, allowing one context to take only the item it needs. Something like:
static BUF: BBBuffer<U8> = BBBuffer( ConstBBBuffer::new() );

fn one() {
    BUF.try_take_producer().unwrap().grant_exact(1).unwrap().commit(1);
}

fn two() {
   BUF.try_take_consumer().unwrap().read().unwrap().release(1);
}

fn main() {
    one();
    two();
}

Optionally: Dropping the producer or consumer should allow for later re-taking of the producer or consumer.


CryptoJS.AES.encrypt(plainText,key,{ iv: CryptoJS.enc.Hex.parse(iv) });

@eswarvarma-dev any details on this?

@eswarvarma-dev Please describe the issue you have, otherwise it gives no information.

hello, actually i am converting string to aes128 bit by cbc mode of pkcs5 in base64 bit

@eswarvarma-dev please describe what's the issue?

i want to encrypt the data aes128bit, cbc mode, pkcs5, base64bit
i want to convert all my registration fields to encrypted data and send to service but i dont know how to do it. i am trying with some plugins of hash_password and some types but i am getting different bit length i dont know is there is any chance of converting.. actually i have wrote code from angular side. its working fine but i dont know from flutter can you help me in this
i am attaching my angular code of encryting class file
angular encryption.txt


iOS - links in generated pdf are not clickable

Affected: iOS
Android is working as expected.
Not all links are clickable in generated pdf:
For example:

GOOGLE Link test
 // Not clickable

www.google.com
 // Clickable

Looks like href attribute is ignored, and only  tags which shows the url are clickable in the generated pdf

FIX: https://github.com/penkzhou/plugin_html_to_pdf/issues/5


[Gardening] test/Sema

Gardening for test/Sema

Ah... All the commits got involved again

@AnthonyLatsis you just need to checkout a new branch from master and cherry-pick your last commit there e.g.
git checkout -b gardening-test-sema --track origin/master
git cherry-pick 3663793
git push <origin> gardening-test-sema

I force-pushed to avoid creating a new PR. Thanks @xedin, I wasn't aware of the cherry-pick command.

You have a point. It's not really about a line limit, I was simply trying to make everything readable and tidy. But if this is fraught with regression complications, I would agree it isn't worth it.

To be honest I don't think this is worth it because of aforementioned reason, but it seems like this was a lot of work so I don't really want to just throw it all out either...

Don't worry, I understand the reasons. It's perfectly fine. I have learned something new, after all :)

Alright, sounds good! I'm going to close this one then...


add point/vector colors to DistanceMetric

add p1_fill, p2_fill, etc attributes to be used in subclass draw_pair methods

closed by #13


Submitting additional attributes to the controller

I'm trying to submit additional attributes to the controller using a .Net Core 2.1 Razor view. Is there an example of this?  BTW Pure HTML to Web Core API form submission using IFormFile does not seem to work at all.

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

ID: 9a5cfa38-0e6c-4346-dafc-84ea5c513fcf
Version Independent ID: c6787f0f-3e9a-6efb-0e6e-5ccb957d3f4a
Content: File uploads in ASP.NET Core
Content Source: aspnetcore/mvc/models/file-uploads.md
Product: aspnet-core
GitHub Login: @ardalis
Microsoft Alias: riande

Hello @davidekarasek ... the topic is tracked for an update on #5331. We don't have an ETA for it at this time.

Actually figured this out with Dev Express folks. Use multi-part form
submit, provide a name attribute for a hidden field or input text fuield,
and provide matching string parameters on the controller in addition to
List parameter.
On Mon, Aug 27, 2018 at 9:47 PM Luke Latham<EMAIL_ADDRESS>wrote:

Hello @davidekarasek https://github.com/davidekarasek ... the topic is
tracked for an update on #5331
https://github.com/aspnet/Docs/issues/5331. We don't have an ETA for it
at this time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Docs/issues/8298#issuecomment-416423773, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGNQFb_d4RP2dQj9zeatNPh-MnfhXK2eks5uVKE9gaJpZM4WOuMX
.

--
David Evan Karasek
<EMAIL_ADDRESS>

Thanks for that information @davidekarasek. I've added this issue to the (growing) list on #5331. Whichever of us gets to that will see this when the time comes for the topic to be updated. Thanks again.

@guardrex 	closing this issue as you've got it covered in master list #5331.


London | Amir Montazeri | Amir-form | Week 2

Learners, PR Template
Self checklist

[ ] I have committed my files one by one, on purpose, and for a reason
[ ] I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
[ ] I have tested my changes
[ ] My changes follow the style guide
[ ] My changes meet the requirements of this task

Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.

@cjyuan thank you for your review, If a user tries to submit the form without selecting a size, and the required attribute is not used on the  element, the form will allow submission without any selected size, so added required, so if user do not select the size a massage comes up and says please select an item in the list.
Also I improved the lighthouse accessibility from 91% to 100%.


Creature Catcher Items Frame Render

Just Dire Things version
1.4.4
Minecraft Version
1.21.1
(Neo)Forge Version
21.1.66
Modpack & Version
No response
Do you have optifine or Rubidium installed?
Yes
Describe the issue
Creature Catcher Doesn't render correctly inside of the an item frame
Steps to reproduce

Catch mob with catcher
Place catcher inside of an Item frame
See mob display out of place. (would also be nice if the catcher was laying on its base flat for decoration)

Expected behaviour
Expect it to respect the position of the item frame and lay flat for a display and this also includes the mob render as well.
Screenshots

Log files
No response
Additional information
No response

Resolved in next version - thanks chosen :)

No prob :D


error message on LND / umbrel LT app ?

HI,
don't know if it is the right place but here it is : i get
Oops, there was an error
There was an error connecting to Lightning Terminal. Error code: EAI_AGAIN
when i try to open Lightning Terminal  App using Umbrel
thanks

According to the error message that looks like something isn't configured correctly in Umbrel itself. EAI_AGAIN seems to be a DNS resolution problem.
Try restarting your Umbrel and if that doesn't work check the logs of Lightning Terminal (the Umbrel docs should help you on how to do that).

Ok thanksEnvoyé de mon iPadLe 23 janv. 2023 à 12:16, Oliver Gugger @.***> a écrit :
According to the error message that looks like something isn't configured correctly in Umbrel itself. EAI_AGAIN seems to be a DNS resolution problem.
Try restarting your Umbrel and if that doesn't work check the logs of Lightning Terminal (the Umbrel docs should help you on how to do that).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Sounds like the issue was solved? Feel free to re-open if problems persist.

yes thanks !
De : "Oliver Gugger"
A : "lightninglabs/lightning-terminal" ,"chmeulblu" ,"Author"
Envoyé: lundi 27 Février 2023 10:10
Objet : Re: [lightninglabs/lightning-terminal] error message on LND / umbrel LT app ? (Issue #481)

Sounds like the issue was solved? Feel free to re-open if problems persist.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Oracle: knex returns null if column value is null. Can it return empty string?

Environment
Knex version: 0.19.5
Database + version: oracle 11g 11.2
OS: Linux
Question
knex returns null if column value is null.
Can it return empty string?
return await knex.raw(
     select USERID, STATUS from users      where trunc(ENTRYDATE) = ?     ,dt).then()
Output:
[
{
"USERID": "MIKE",
"STATUS": null
}
]
Thanks!

Any thought?

Uh so you are asking if knex could modify null from database to be an empty string? Do you want that to happen for every column or for just one column in one query.
Easiest way to do it is to map the result and modify those nulls to be strings.
Another way is to modify your query to convert nulls in some column to strings instead of null.
For example with some query like:
await knex('users').select('*', knex.raw('CONVERTOSTRING(??) as alwaysString', ['columnNameToBeConverted']));

Thanks @elhigu.
I need it for all the columns and I did the below.
let str = JSON.parse(JSON.stringify(data).replace(/:null/gi, ":"""));
res.status(200).json(str);

That sounds like a horrible hack, but great if it works for you in this particular case.


Can we use System.Runtime.CompilerServices.Unsafe class for this project?

https://docs.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.unsafe?view=dotnet-plat-ext-2.1

Yes, it can be used, should be used instead of many methods currently implemented in this package.


Question - scrolling to wrong offset

Hello,
Have an interesting one, i have my calendar set up to display 1 year either side of today. Everything is great, the calendar loads to today when i show it.
I have calendarView.allowsMultipleSelection = true, so user can select and deselect dates.
Issue -

User selects date
User scrolls back a month (either via button action, or swipe)
I invoke deselectAllDates
User scrolls forward a month
Instead of going forward a month, it goes forward a month but last year.

Strangely, i can only replicate this on the iPad and not iPhone. This only happens when i invoke deselectAllDates.
I will look further into this tomorrow, do you know why this may be happening? I will need to step through code tomorrow but if you had a good place for me to start it would be helpful.

So you're saying that when the user does step #4, it scrolls backward a whole year instead of just scrolling forward normally? join me here if you are able to do so -> https://gitter.im/patchthecode/JTAppleCalendar

Yup, im just about to head off to bed. I'll try to take a look tomorrow and provide more information. However, i may only get time to look at it on Monday.

@roarapps alright then. I'll check with you later then.
I wish i could at least re-create it now though.

Just some notes to remind me when i look at this again -
It scrolls backwards to the start of the calendar + 1 month. This seems like when i go Next, it thinks the current month is the start month.
It only happens if i have a date, or dates selected
It only happens one time, i have to reinit to replicate again.

one thing to try.
Put this in your podfile, and let me know if this issue is also happening on the master branch.
pod 'JTAppleCalendar', :git => 'https://github.com/patchthecode/JTAppleCalendar.git'

Then do a:
pod install

Okay, i'll try this in the afternoon (UK time) and report back

Hello, I was already on the master branch. I will try to replicate the issue using your example app to make sure its not anything obvious i'm doing wrong and report back

@roarapps ok if youre on master. Do a pod install because I had made some changes

Okay, haven't managed to replicate on your example project but on my project i've commented all excess code out so it's just the calendar view with basic code left.
I've did a pod install as well, if this line is commented out, there is no issue
"// If this cell is already selected, then deselect it
deSelectTheDate(sectionIndexPath)"
Just trying to figure out exactly where its going wrong.

alright. let me know.
If its happening with yours, and not mine, then maybe its an issue i am not seeing.
Can you tell be what you are doing in your viewDidLoad?
Paste your code here. It might be possible you are scrolling to a date and something isnt getting called on time? But I need to see your code to find out.

The only difference between our code now is that I have a splitview controller, but can't see how that would affect anything.
override func viewDidLoad() {
super.viewDidLoad()
    self.navigationItem.title = "Calendar"
    calendarView.dataSource = self
    calendarView.delegate = self
    calendarView.registerCellViewXib(file: "CalendarCellView") // Registering your cell is manditory

    calendarView.scrollingMode = .stopAtEachCalendarFrameWidth
    calendarView.cellInset = CGPoint(x: 0, y: 0)
    calendarView.scrollToDate(Date())

    calendarView.allowsMultipleSelection = true

    dateFormatter.dateStyle = .medium
}

join me here -> https://gitter.im/patchthecode/JTAppleCalendar

Sorry missed that message and was working on something else today, i will jump on that channel tomorrow

Can you supply an email where i can send a zip of an example project with this defect

<EMAIL_ADDRESS>

@roarapps
Hey man.
I updated the code. Can you do a pod install to get the latest master branch code?

By the way, sometimes pod install fails to get the latest code. This is something I have noticed (or maybe i am not good at cocopod specs?)
Anyway, in case you do a pod install and your code still is not fix, delete the JTAppleCalendar pod and then run a pod install again to make sure 100% that you the updated code fix.

Same issue, i deleted the pod and cleaned project. Its definitely getting the latest. I emailed you the splitview controller project, were you able to replicate on there using iPad sim?
"Installing JTAppleCalendar (6.0.4)
Generating Pods project"

Join me here -> https://gitter.im/patchthecode/JTAppleCalendar

Yes i able to replicate the issue.
And resolved it with the fix.
Your code now works as expected.
join me here -> https://gitter.im/patchthecode/JTAppleCalendar


boards/arm/stm32/common/src/stm32_bh1750.c: fix include

Summary
boards/arm/stm32/common/src/stm32_bh1750.c: fix include
should include i2c interface, not spi
Impact
Testing
ci

@raiden00p l  think it is also missing
char devpath[12];
snprintf(devpath, 12, "/dev/light%d", devno);


Adding dispatch logic for containerized environment

Adding dispatch logic for containerized environment.
Web server will put executions in queue which is maintained in database using submitFlow method in ContainerizedExecutionManager. The executions will be added in a queue in a READY state.
QueueProcessor will pick up executions from queue maintained in database. There is a support to fetch single execution as well as in batch. Please set azkaban.containerization.execution.batch.enabled to true to enable batch fetch. It will also set status as DISPATCHING for these executions.
It will dispatch the executions in containerized infrastructure. Once container comes up, execution status will change to PREPARING. Once container is prepared and it will start running the execution, status will change to RUNNING.
Important properties for this change:
To enable containerization, azkaban.execution.dispatch.method needs to be set to CONTAINERIZED
To provide type of implementation for containerization, azkaban.containerization.impl.type needs to be set to one of the implementations mentioned in ContainerizedImplType enum. For now, I have added skeleton for Kubernetes type. To keep this PR short and specific to dispatch logic, I will add implementation for Kubernetes in next PR.

Pull Request Test Coverage Report for Build 5576

158 of 251 (62.95%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 42.529%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

az-core/src/main/java/azkaban/Constants.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/DispatchMethod.java
1
2
50.0%

azkaban-common/src/main/java/azkaban/executor/ExecutionController.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/executor/ExecutorManager.java
6
7
85.71%

azkaban-web-server/src/main/java/azkaban/webapp/AzkabanWebServer.java
0
2
0.0%

azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
28
31
90.32%

azkaban-common/src/main/java/azkaban/executor/JdbcExecutorLoader.java
0
3
0.0%

azkaban-common/src/main/java/azkaban/executor/container/ContainerizedImplType.java
7
10
70.0%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
4
8
50.0%

azkaban-common/src/main/java/azkaban/jmx/JmxContainerizedExecutionManager.java
0
8
0.0%

Totals

Change from base Build 5571:
0.1%

Covered Lines:
14255

Relevant Lines:
33518

💛  - Coveralls


Fixed react.gradle , thanks to @9christian9

Summary

Changelog

Test Plan

Closing as we're not accepting PRs against 0.68 anymore

@cortinico While I understand and appreciate this, Expo users are not able to upgrade to 0.69 or higher yet, and the issues resolved in this PR cause anyone using Build Flavors with Android to not be able to build their applications.
Given the functionality that is impaired without this PR, and the large amount of users that this would affect (all Expo users), I think this should at least be considered to hotfix. The scope of changes is extremely minimal as well.

Expo users are not able to upgrade to 0.69 or higher yet

Why


Use Ruby 3.2 for all jobs in the GitHub Actions workflow

This PR is use Ruby 3.2 for all jobs in the GitHub Actions workflow.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[-] Updated documentation.
[-] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Thank you!


Check if cert files are empty when starting nginx

https://ocd.appscale.com:8080/job/Daily Build/2080/


Adding non-catkeys files (or links to them)

I was wondering if there could be links to other things that may need translating for an app. Like documentation or data files (recently I stumbled over the tips file for Tipster).
Either as links back to the project's page (there could be several files tat need translation), or maybe even as uploaded ZIP archive (with a reasonable limit on size).

I will not implement links to another files to translate for one simple reason: this defeats the whole purpose of this system. You'll end up managing files by hand, from multiple people again. This makes no sense.

Polyglot is a focused project (or at least I'd like it to be). I don't intend to replace, e.g. Pootle, which supports multiple formats and has a lot of features, simply because I don't have the manpower to do so. Adding new translation formats wouldn't even be that hard to do, but creates a precedent. That being said, I would add them if they were standard. Tipster uses a custom format. If I add one for Tipster, why not for other apps? Soon, you'll end up with a long list of formats used by one application each. Not my idea of maintanable. That gets us to...

From the existing translation file formats, I think Haiku catkeys are the easiest to implement. It's plain text, and very easy to parse. My suggestion therefore is to teach Tipster to read catkeys either by:

embedding tips in .h file and collecting them with other translations (not ideal, since to change the tips it needs a recompile)
writing a parser (maybe BCatalog can be helpful?)

I'm leaving this open, since it's a valid request, it's just not a valid example. If you believe my thinking is wrong, feel free to point it out :)

Your arguments are all reasonable and sound. :)
I never thought of Polyglot being actually used for translating those additional documents. I was only thinking that since it's so difficult to find any translators, it would be nice to point the few one did get ones hands on to additional documents of a project that would need translation.
Ideal would be if we had a maintained site like the user guide tool for 3rd party projects' "free text" translations. Without that, the dev will continue to have to handle several files from several people. But that's OK, I guess (esp. considering the indifference to translations among the Haiku users).
Maybe all this would be an argument to add a free text field in Polyglot's Meta data page after all. People could write something like:
Besides these GUI texts, Tipster needs translations for the tips themselves. Y

You can download them at https://github.com/HaikuArchives/Tipster/blob/master/tips/tips-en.txt and submit your translation at Tipster's issue tracker.

I was thinking about an implementation of this recently.
Here's what I came up with:

Translation modules will get additional type: "file".
The content will be uploaded as a file, so it can be anything: txt, odt, ods, png, etc.
User will also upload a file + check whether the translation is complete.
Uploading a new file by the developer will reset those checkmarks.
Name will have a %lang% variable, so you still can download a package with everything.

Done this way it can later be used for screenshots, e.g. in user guide translations.
Let me know your thoughts.

That sounds like a nice way to go about it.

Name will have a %lang% variable, so you still can download a package with everything.

That means an uploaded English "ReadMe.html" gets automtically renamed to something like "de_ReadMe.html"? Or does the uploaded file has to be named e.g. "ReadMe_%lang%.html"?
When the dev uploads an updated ReadMe file, will that reset all the already translated ReadMes back to that new English version?
Updating a longer text like a ReadMe gets a bit tricky: simply uploading the updated ReadMe would result in having to do the translations again from scratch, even if there's just a few changes/additions.
I guess we'll just advise in the "Help" page to just upload a diff of the old-vs-new English ReadMe. That'd leave the dev to puzzzle the parts together again, but I don't see a better solution.
We'd need an instance of the userguide online tool for a more sophisticated approach... :)

When the dev uploads an updated ReadMe file, will that reset all the already translated ReadMes back to that new English version?

No, the uploaded translations will stay the same, it's the translators responsibility to download the original translation and add new content. Only the "translated" indicator will change.

We'd need an instance of the userguide online tool for a more sophisticated approach... :)

It still wouldn't resolve issues with files like PNG or ODT. But yeah, that's the idea...

No, the uploaded translations will stay the same, it's the translators responsibility to download the original translation and add new content. Only the "translated" indicator will change.

OK. I don't have a better idea, but it's not optimal... :)
Where does one download the original translation (or the original English file used for that translation)?
Polyglot would have to keep older files (translations correlating with their English counterpart maybe using the md5 checksum of the English file). But I see how that makes things quite complicated...
Short of that big effort, we can only advise the translators to keep the English file around that they downloaded for their previous translation.

Tipster format implemented in fa4962fa9c4ce276b66e05de3d19731fb81b7f63.
Stay tuned for Java properties (HDS).

Java properties done in dda21be56374be4ec375fea010f2586698624542 and c6f73beb8423c0cc1fbbc71448cea97aa48f83dc.


*: implement groupby #18

Codecov Report

Merging #23 into master will decrease coverage by 0.41%.
The diff coverage is 63.52%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage    83.3%   82.88%   -0.42%
==========================================
  Files         100      103       +3
  Lines        9565     9649      +84
==========================================
+ Hits         7968     7998      +30
- Misses       1365     1414      +49
- Partials      232      237       +5

Impacted Files
Coverage Δ

src/transforms/transform_projection.go
72.22% <0%> (ø)
:arrow_up:

src/planners/planner.go
18.6% <0%> (-3.62%)
:arrow_down:

src/executors/executor_groupby.go
100% <100%> (ø)

src/executors/executor_select.go
91.11% <100%> (+0.63%)
:arrow_up:

src/planners/parser.go
47.77% <37.5%> (-9.2%)
:arrow_down:

src/planners/planner_select.go
61.81% <60%> (-0.19%)
:arrow_down:

src/planners/planner_groupby.go
64.28% <64.28%> (ø)

src/transforms/transform_groupby.go
68.57% <68.57%> (ø)

src/planners/planner_tvf_expression.go
0% <0%> (-50%)
:arrow_down:

src/planners/planner_tvf.go
71.42% <0%> (-14.29%)
:arrow_down:

... and 4 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 ce9aa41...89e1fba. Read the comment docs.


fix broken methods in NIVeristand.py with pythonnet 3.0.1

[X] This contribution adheres to CONTRIBUTING.md.
What does this Pull Request accomplish?
Ran legacy tests that were made functional with pytest in #55
Fixed all functions that caused tests to fail as a result of pythonnet 3.0.1 breaking changes
Why should this Pull Request be merged?
legacy API should still be useable even though deprecated.
What testing has been done?
Ran manual legacy tests with pythonnet 3.0.1:

Note:  I pointed this PR at another PR so that it's easy to review


smclicshv - Software vectoring only allowed when hardware vectoring is disabled?

Shouldn't the HW & SW vectoring schemes be consistent?
The avoidance of context save/restore at the start/end of interrupt handlers is valuable regardless of whether hardware vectoring is enabled or not.
Currently, mnxti only allows software vectoring wwhen hardware vectoring is disabled (clicintattr.shv == 0)

7.2.5. smclicshv Changes to Next Interrupt Handler Address and Interrupt-Enable CSRs (xnxti)
adds the following requirement to xnxti csr:   we will discuss this in TG.
&& (clicintattr.shv==0) ) {
// There is an available, non-hardware-vectored interrupt.

This is to allow hardware and software handlers to have different software interfaces.  The assumption is that hardware vectoring would have customized save/restore, whereas the software vectoring uses a generic save/restore.

The real problem is the smclicshv extension currently only allows software or hardware vectoring, not both, which is a shame.
If hardware vectoring used XTVEC and software vectoring used MTVT, both hardware and software vectoring could live harmoniously, giving RISC-V the best of both worlds: Hardware vectoring for higher priorities avoiding the overhead of software dispatch, and software vectoring horizontal priorities, avoiding the overhead of unnecessary context save/resore.
The current definition allows us to select between two unwanted taxes: People either need to pay the extra overhead of software getting involved in every interrupt dispatch (SHV=0), or they have to pay the tax of unnecessary context save/restore (SHV=1).
If we use XTVEC for hardware vectoring (as RISC-V intends) and XTVT for horizontal software vectoring, everything just works, and we would have a fundamentally more capable platform, that has distinct interfaces for HW vs SW vectoring while also allowing both to co-exist.

In current  design, individual interrupts can be selected to be vectored in hardware or software (setting of clicintattr.shv), so we're unclear what is meant by "currently only allows software or hardware vectoring, not both" in issue above.
The same xtvt table is used for both software and hardware vectoring, but the software handler is located at xtvec.
In current design, xtvec points at instructions (as with CLINT style interrupts and regular RISC-V exceptions), whereas xtvt points at table entries containing function pointers.   xtvec is where the software handler is located, and xtvec is also used for exception handlers so cannot be repurposed for a software vectoring table.

After further discussion in task group meeting 8/1/23, we are going to explore a scheme that only requires a single table entry for each handler, and which doesn't duplicate code between hardware and software versions of the handler.  This might not support the "interrupt attribute" form of hardware vectored handler, or might required additional state bits to support that as an option.

Notes from TG meeting:
The idea is there is only a single static code body and somehow have mechanism, if have hw vectored outside of this.  so only need one entry in the table if we can engineer this.  if in service loop, don’t do save restore of hardware vectored interrupts.  otherwise do save restore.  like set a bit in csr and test it.  it assumes all hw are using the same abi model.  so don’t need twice the table entries and don’t need twice the static code.
How about a new CSR OFFSET_TO_SKIP_SHV_CONTEXT_SAVE (need a better name) that contains a programmable address offset so hw vector behaves as:
pc := (OFFSET_TO_SKIP_SHV_CONTEXT_SAVE + M[TBASE + XLEN/8 * exccode]) & ~1
Can keep to 0 (or hardwired to 0 if not supported) but when in service loop, set this CSR to non-zero.   When 0, hardware vector jumps to address indicated in the vector table which will do the necessary context save.  when non-zero hardware jumps to address indicated in the vector table plus an offset to bypass context save because software is already in an interrupt handler with context saved.

TG discussion 12/5/2023 - Can it be derived from context from bits we are already changing?  e.g. if interrupt level is non-zero.  maybe that works?  global mode setting to operate that way or not.  so don’t need to do anything in the code.  if interrupt level is 0, need to save/restore.  if interrupt is non-zero, skip save/restore.
worried about code explosion from every handler having save restore code.   maybe 16-byte offset in tvt? jumping to common base address for isolated interrupt which does save, does mxnti at that point?  restore also has to happen properly.  so basically a single tvt with isolated interrupt.  must be a solution.  keep thinking about.

closed by #370


Output to stdout?

I hope you are not hating me right now for asking for many things, but I'm having serious issues with my project and this module is still my main option to move forward.
By any chance, is there an easy way to output video chunks to stdout so I can easily pipe to ffmpeg and fix moov atom (progressive download or faststart, whatever it's called)?
I'd appreciate if you can give me a hint.
Thanks!

@demian85 I think you could take the filePath that we pass when resolving the promise for startRecording and then read the file while it grows 🤔

yeah, kinda hackish, and I cannot even find out how to read from stdin with ffmpeg, you need to be Einstein.


Can't build solution with Visual Studio (2019 version 16.8)

ℹ Computer information

PowerToys version: current master
PowerToy Utility: current master
Running PowerToys as Admin: not needed
Windows build number: Windows 10 Version 2004 Build 19041.508

📝 Provide detailed reproduction steps (if any)

Check out master
Open in Visual Studio 2019 16.8+
(optional) Clean Solution
(Re)Build complete solution

✔ Expected result
No build error
❌ Actual result
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\experimental\coroutine(37,1): fatal error C1189: #error:  The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.

1>Done building project "common-md-flag.vcxproj" -- FAILED.

Complete output

I'm on 16.7.4, is 16.8 even out?
Did you use the script to be sure your environment has the dependencies needed?
https://github.com/microsoft/PowerToys/tree/master/doc/devdocs#prerequisites-for-compiling-powertoys

I'm on 16.7.4, is 16.8 even out?
It's in Preview 3.1

Did you use the script to be sure your environment has the dependencies needed?
https://github.com/microsoft/PowerToys/tree/master/doc/devdocs#prerequisites-for-compiling-powertoys
Yes I have make PR #6855 to work with the preview version.

So, Today I have uninstall all workloads and additional components from my Visual Studio installation via the installer.
After that I use only the script from
https://github.com/microsoft/PowerToys/tree/master/doc/devdocs#prerequisites-for-compiling-powertoys
Result:

The script don't install the needed Windows 10 SDK, version 1903 (10.0.18362.x)
After install I have install the missing SDK, the problem is still present 😭

1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\experimental\coroutine(37,1): fatal error C1189: #error:  The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
1>Done building project "common-md-flag.vcxproj" -- FAILED.

Okay the problem is
https://devblogs.microsoft.com/cppblog/c-coroutines-in-visual-studio-2019-version-16-8/

Standard Mode – /std:c++latest
Support for C++20 coroutines without legacy TS support is now enabled when using a compiler language version mode newer than C++17. For now, this is /std:c++latest and will continue into numbered version switches after C++17 as these are added. When compiling with such a language switch and without /await you get strict support for C++20 coroutines with library support in the  header and defined in the std namespace. This mode will emit errors on non-standard code from earlier proposals, such as a bare await keywords or an initial_suspend function that returns bool, and only supports the standard behaviors when they differ from earlier implementations.

But I can not easily switch to /std:c++17, when I do that, I get:
error C7555: use of designated initializers requires at least '/std:c++latest'
I have absolute no knowledge about C++

Hello,
after more investigation into the many many many C++ compiler flags,
I have add the compile switch "\await" to the project common-md-flag

but the i get this 😡
1>------ Build started: Project: common-md-flag, Configuration: Debug x64 ------
1>pch.cpp
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h(6163,31): error C2039: 'to_abi': is not a member of 'winrt'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h(6066): message : see declaration of 'winrt'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h(6163,31): message : This diagnostic occurred in the compiler generated function 'void *winrt::impl::interface_list<First,Rest...>::find(const T *,const Predicate &) noexcept'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h(6168): message : see reference to class template instantiation 'winrt::impl::interface_list<First,Rest...>' being compiled
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h(7189,42): error C7510: 'get_weak': use of dependent template name must be prefixed with 'template'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h(7259): message : see reference to class template instantiation 'winrt::implements<D,I...>' being compiled
1>Done building project "common-md-flag.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

after that i have changed the used SDK version from original 10.0.17134.0 to 10.0.18362.0

and 🥳
1>------ Rebuild All started: Project: common-md-flag, Configuration: Debug x64 ------
1>pch.cpp
1>common.cpp
1>keyboard_layout.cpp
1>os-detect.cpp
1>two_way_pipe_message_ipc.cpp
1>common-md-flag.vcxproj -> E:\Git\PowerToys\x64\Debug\common-md-flag.lib
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

The most is buildable but, I can`t build FancyZones and KeyboardManager
3>E:\Git\PowerToys\src\modules\fancyzones\lib\JsonHelpers.cpp(82,83): error C2440: 'initializing': cannot convert from 'winrt::Windows::Data::Json::IJsonValue' to 'winrt::Windows::Data::Json::IJsonValue &'
3>E:\Git\PowerToys\src\modules\fancyzones\lib\JsonHelpers.cpp(82,83): message : A non-const reference may only be bound to an lvalue
3>Done building project "FancyZonesLib.vcxproj" -- FAILED.

4>E:\Git\PowerToys\src\modules\keyboardmanager\dll\KeyboardEventHandlers.cpp(198,46): error C2440: 'initializing': cannot convert from 'std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const Shortcut,RemapShortcut>>>>' to 'std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const Shortcut,RemapShortcut>>>> &'
4>E:\Git\PowerToys\src\modules\keyboardmanager\dll\KeyboardEventHandlers.cpp(198,22): message : A non-const reference may only be bound to an lvalue
4>Done building project "KeyboardManager.vcxproj" -- FAILED.

@TobiasSekan thank you for the initial investigation! we definitely need to fix it

Shipped with 0.27 release. https://github.com/microsoft/PowerToys/releases/tag/v0.27.0


chore(ci): run cppcheck-differential on modified packages

Description
Run cppcheck-differential on modified packages, not on changed files.
Related links
Parent Issue:

TIER IV internal

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

get modified packages step is failing..
https://github.com/autowarefoundation/autoware.universe/actions/runs/9753043608/job/26917652188?pr=7777

@HansRobo
Do you have any idea how can I get full paths for modified packages?

@veqcc
How about this?
$ colcon list --packages-select yabloc_common | awk '{print $2}' | xargs -I {} realpath {}
/home/kotaroyoshimoto/workspace/pilot-auto.xx1/src/autoware/universe/localization/yabloc/yabloc_common


pcluster configure failed

Environment:

AWS ParallelCluster / CfnCluster version: 2.6.1
OS: alinux
Scheduler: slurm
Master instance type: t2.micro
Compute instance type: t2.micro

Bug description and how to reproduce:
pcluster configure failed with following message:
_Creating CloudFormation stack...
Do not leave the terminal until the process has finished
Stack Name: parallelclusternetworking-pubpriv-20200412205701
Status: parallelclusternetworking-pubpriv-20200412205701 - CREATEStatus: parallelclusternetworking-pubpriv-20200412205701 - ROLLBACK_IN_PROGRESS
Cluster creation failed.  Failed events:

AWS::EC2::Subnet Private Resource creation cancelled
AWS::EC2::Subnet Public Resource creation cancelled
AWS::EC2::RouteTable RouteTablePrivate Resource creation cancelled
AWS::EC2::EIP NatEIPPublic The maximum number of addresses has been reached. (Service: AmazonEC2; Status Code: 400; Error Code: AddressLimitExceeded; Request ID: 4eab21b1-72d3-43af-ba83-aa3a479414a4)
Could not create the network configuration_

Hi @duanjingqi
The AddressLimitExceeded means you're reaching the limit of the number of Elastic IP you can instantiate on your account (by default the limit is 5).
You can check if you have detached Elastic IPs on your EC2 console and delete them or request for a limit increase.
Let us know if it helps.

thanks. problem solved after clean up the unused EIPs.
Jingqi


Create detailed user journeys

I've tried to create detailed user journeys based on existing user research and documentation...but have not been successful so far (#6 was one of these attempts).
This issue is to track new attempts at this. These will involve co-creating these journeys with end users. To start, I intend to reach out to:

[ ] b5 (collaborative data storage journey/data science pipeline)
[ ] Kevin (EDGI)
[ ] jonnycrunch (genetics testing journey)
[ ] ESIP Federation contacts (Earth science information/large volumes journey)
[ ] Erin (libraries)
[ ] Mitra? (Internet Archive -- or is this too unique a use case? Probably still interesting/useful to document)

Google Drive folder for this work is in IPFS/User Discovery/Large volumes/User journeys

This issue is stale. Closing.


[Azure Service Bus] Components do not recover from failures when publishing

Description
Issue reported on Discord: https://discord.com/channels/778680217417809931/1067897796725841930
Seems that after publishing fails on Azure Service Bus with a connection error, the connection enters in a "bad" state and Dapr isn't able to recover from it.
We have some code in place that forces a reconnection if the subscribing connection gets into a "bad" state. However we have nothing in place that causes the connection to be recreated if the publishing side continues to fail.
Release Note
RELEASE NOTE: FIX Force reconnecting to Azure Service Bus after a persistent publish failure

Fixed in release-1.10

Hi. We are using Dapr 1.10.9 with Azure Service Bus (Standard) and this error continues to appear at random times.
Our system runs in Azure AKS with Kubernetes 1.25.1
It doesn't appear in lower environments. It appears in Production environments. The difference seems to be that in production we have messages that are very large.
For this specific application, the clients don't use the system on weekends. So, it seems to be related with some inactivity time. Once we receive this error, we have this problem:
Because it tries to retry 5 times every 5 seconds, the app that is publishing the message is waiting 36.1 seconds. And then it receives the error:
{
"app_id":"test-component-stage01",
"component":"stage01-execution-pubsub (pubsub.azure.servicebus/v1)",
"instance":"test-component-stage01-in-64b54fb847-lksdk",
"level":"error",
"msg":"Too many failed attempts while publishing Service Bus message (nil): context deadline exceeded",
"scope":"dapr.contrib",
"time":"2023-09-06T01:00:58.249883081Z",
"type":"log",
"ver":"1.10.9"
}
The solution that we found right now is :

Duplicate the service bus component and send the same message to the other pubsub.
Add a flag indicating that bus 1 is broken and call the bus 2
Make an alert to recycle the pod

For example:
"test-component-stage-01"  => the principal one
"test-component-stage-01-failover"  => the secondary one
(both components points to the same topic in service bus) Because they have different keys in dapr, they have different Senders.
In the same pod, The first one is taking 36.1 seconds and the second one a couple of milliseconds.

Later, we are going to try to put an Unhealthy flag in our health checks so Kubernetes can recycle the pod automatically.

https://github.com/ItalyPaleAle/dapr-components-contrib/blob/master/internal/component/azure/servicebus/publisher.go#L63
If I am not wrong, recycling the Sender should be enough to make it work again, as the Line 63 says.
But because I see that it is retrying, I think it is going to the line: IsRetriableAMQPError that doesn't recycle the Sender.
We also have this in the logs:
---> Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="error when publish to topic test-component-stage01 in pubsub stage01-execution-pubsub: context deadline exceeded")
We are setting the logs in Debug to see if we can get more information.
I think a Debug log should appear to indicate that the error was or type Network or RetriableAMQP to see what is the condition used.
Thank you.

I have and update on this.
This is the log:
{"app_id":"test-component-stage01","component":"test-component-pubsub (pubsub.azure.servicebus/v1)","instance":"test-component-stage01-in-544896f7d-l7qk8","level":"debug","msg":"Closed sender: stage01-integration-events-execution-connectors-resume-execution-command","scope":"dapr.contrib","time":"2023-09-07T12:48:21.843501352Z","type":"log","ver":"1.10.9"}
{"app_id":"test-component-stage01","component":"test-component-pubsub (pubsub.azure.servicebus/v1)","instance":"test-component-stage01-in-544896f7d-l7qk8","level":"info","msg":"Closing sender: stage01-integration-events-execution-connectors-resume-execution-command","scope":"dapr.contrib","time":"2023-09-07T12:48:21.843569357Z","type":"log","ver":"1.10.9"}
{"app_id":"test-component-stage01","component":"test-component-pubsub (pubsub.azure.servicebus/v1)","instance":"test-component-stage01-in-544896f7d-l7qk8","level":"error","msg":"Too many failed attempts while publishing Service Bus message (nil): context deadline exceeded","scope":"dapr.contrib","time":"2023-09-07T12:48:22.133464598Z","type":"log","ver":"1.10.9"}
{"app_id":"test-component-stage01","instance":"test-component-stage01-in-544896f7d-l7qk8","level":"debug","msg":"rpc error: code = Internal desc = error when publish to topic stage01-integration-command in pubsub test-component-pubsub: context deadline exceeded","scope":"dapr.runtime.grpc.api","time":"2023-09-07T12:48:22.133562604Z","type":"log","ver":"1.10.9"}

I am seeing that the "Sender" is already being closed but the sidecar still doesn't work.
I was able to reproduce this issue in a unit test calling the publish method in parallel and with 262100 bytes
value := make([]byte, 262100)
One of the things I detected is that the Sender should be closed by instance and not by getting a sender from the current list.
This
c.CloseSender(sender, req.Topic, log)

Instead of this:
c.CloseSender(req.Topic, log)

What is happeining is that another process got an error so it already closed the connection and created a new one


Make softwrap respect indentation, i.e. wrapped lines inherit indentation

This issue is essentially the same as this issue for the xed text editor. I do not know if the teams can collaborate.
A picture says more than a thousand words. Current behaviour:

Desired behavior, demonstrated in VSCode:

I would prefer having the soft-wrapped text being indendented further than the current indent level, say by 4 chars or a configurable amount.

Same! Also, I'm adding the phrase "hanging indent" because it's relevant and I searched for it in the issues but couldn't find it. :)

Same! Also, I'm adding the phrase "hanging indent" because it's relevant and I searched for it in the issues but couldn't find it. :)

I would also add "smart indent" or "smart softwrap" because I searched for it ;)

Just copying previous space/tab indentations is a good idea but sometimes I would like more smart soft wrapping. For example in markdown list, I would prefer 1 sub item style

This would be a lovely feature, my eyes are really missing it! I'm personally in the OPs camp regarding preferences :)
Had a quick look in the VSCodium config for how it's handled there, and there the config option is apparently called 'Wrapping Indent'. From defaultSettings.json:
       // Controls the indentation of wrapped lines. 	//  - none: No indentation. Wrapped lines begin at column 1. 	//  - same: Wrapped lines get the same indentation as the parent. 	//  - indent: Wrapped lines get +1 indentation toward the parent. 	//  - deepIndent: Wrapped lines get +2 indentation toward the parent. 	"editor.wrappingIndent": "same",
'None' would be the current micro behaviour, 'same' would be OP's @KronosTheLate, while 'indent' and 'deepIndent' would appear to cover part of @jonas-frey's requirement.
To fully cover @jonas-frey's use-case, it might be possible to represent these options more flexibly with a numerical config like wrappingindentspaces: -1 for 'none', 0 for 'same', and 1 or 2 for 'indent' or 'deepIndent' (or any other higher number, as preferred).
@dustdfg: VSCodium uses the 2nd sub-item type - I imagine the first type might actually be more complicated to implement in micro as it's very syntax dependent (i.e., it is probably hard for micro to know that markdown lists start with * or -, without hardcoding specific rules for the markdown syntax?)

@dustdfg: VSCodium uses the 2nd sub-item type - I imagine the first type might actually be more complicated to implement in micro as it's very syntax dependent (i.e., it is probably hard for micro to know that markdown lists start with * or -, without hardcoding specific rules for the markdown syntax?)

It was just a description of the perfect situation.
Honestly I have a solution but it is too complicated... We can attach to each file format it is own formatting function (somewhere in lua) that will tell what indentation must be used in which case. It is too complicated, it is more complicated than hardcoding :)

Have hacked together a basic implementation, roughly as described above for personal use with pull request #3107.  , It seems to work ok but would appreciate feedback, if it works for you and suggestions for improvements / edits.

Honestly I have a solution but it is too complicated... We can attach to each file format it is own formatting function (somewhere in lua) that will tell what indentation must be used in which case. It is too complicated, it is more complicated than hardcoding :)

Yeah, good point - it might make sense to define it in a Lua plugin or so.
Another simpler but slightly cruder option could be a config option, where you could define characters to count as 'whitespace' for the purposes of the indents, along the lines of:

"wrapindentchars": "\s\t-*"

By default this could be "\s\t" (space and tab), to maintain backwards compatibility (but is perhaps slight config option overload and duplication / confusing with respect to other whitespace options - not sure whether if there are any project preferences regarding adding new options vs plugins etc).

By default this could be "\s\t" (space and tab), to maintain backwards compatibility (but is perhaps slight config option overload and duplication / confusing with respect to other whitespace options - not sure whether if there are any project preferences regarding adding new options vs plugins etc).

I am not sure that I understood how it will help. I mean how it will help to distinguish subitem1 and subitem2 styles?

I am not sure that I understood how it will help. I mean how it will help to distinguish subitem1 and subitem2 styles?

Haven't looked into it in detail, but I was speculating that you could tell the editor to effectively treat a leading '-' or '' other configurable characters as equivalent to leading spaces, just like a normal space or tab, for the purposes of counting leading whitespace. So micro would just think that a line starting with 'tabspace' or 'tab-space' is a tab plus two space, and automatically indent the next wrapped indent line by tab + 2 spaces.

I vote for having just a simple solution (first) - just indent the following lines like the wrapped line.
This is what I'm used to from kate, and would really love to have when working in the terminal with micro as well.

I vote likewise to keep it simple for now, just keeping the same tabbing when indenting would make this the perfect text editor for me, really missing this feature


Upgrade guzzle7 adapter to ga version ^1.0.0

Update dependency to release version. No code changed, so we do not need to update any code.
https://github.com/php-http/guzzle7-adapter/releases/tag/1.0.0
Because no code change is required on our side, we can support both versions for backwards compatibility.

It would be great if this change can be merged

Is this package abandoned? Can someone please merge and do a release?


Legion: Run with No/Multiple Top-Level Tasks

It would be nice if we could run Legion with No/Multiple Top-Level Tasks and later dump more top-level tasks into the runtime on demand before requesting that it be shutdown.

An alternative idea for this is to have the top-level task be able to run "inline" in whatever thread also starts the Legion runtime and give back a context for it to use as part of starting the runtime. It would also need to call a finalize method when its done. This would certainly make it easier for users to write programs since they wouldn't need to make a special top-level task and could then call libraries that use Legion internally. I'm not sure how it would work with Realm's thread scheduler though since Realm wouldn't manage this thread and the OS could just be bouncing it around wherever it wants.
This would work well with control replication and effectively there would be one copy of the task per rank immediately without any runtime overhead. Need to be careful with waits to make sure we call external_wait for Realm since the task isn't running on a Realm processor.

There is support for running an implicit top-level task in the master and nopaint branches. The control replication branch still needs to add support for running an implicit top-level task.

#600 is a prerequisite for this to work fully.

Support for this is now in both the master and control replication branches. We can make both implicit top-level tasks and arbitrary numbers of top-level tasks.


Publish to NPM

Pls publish this package to npm, great work btw 👍

@gnhuy91 hey, it's published on npm as With webpack and With Gatsby. Do you need it for something else?

Ah I actually copy-paste the snippet without reading it, just opened a PR to update wrong pkg name 😄