Ubuntu 22.04 is generally available starting from August, 8

Breaking changes
Ubuntu 22.04 is generally available starting from August, 8. Use it by putting runs-on: ubuntu-22.04 in your workflow file.
Target date
August, 8
The motivation for the changes
Most of the software issues with the new image were resolved.
Possible impact
n\a
Platforms affected

[X] Azure DevOps
[X] GitHub Actions

Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Mitigation ways
n\a

Will ubuntu-latest also point to ubuntu-22.04 starting today?

@MarkusTeufelberger No, migration to the latest tag is a separate process out of this specific announcement.

Was ubuntu-latest recently changed to point to 22.04?
My otherwise unchanged code that runs a SHA pinned Docker image has inexplicably started failing on the GHA Ubuntu runner beginning yesterday ~14 hours ago and the timing seems curious.
https://github.com/tedmiston/qcbrunch/actions/workflows/ci.yml?query=branch%3Amaster
I also noticed other users reporting Docker issues in https://github.com/actions/runner-images/issues/5490.
I have opened a GitHub support ticket here.
https://support.github.com/ticket/personal/0/1741196

@tedmiston , please read the https://github.com/actions/runner-images/issues/5998#issuecomment-1208105796

My otherwise unchanged code that runs a SHA pinned Docker image building nightly has inexplicably started failing on the GHA Ubuntu runner beginning yesterday ~14 hours ago and the timing seems curious.
https://github.com/tedmiston/qcbrunch/actions/workflows/ci.yml?query=branch%3Amaster

As I can see the failed build was run on Ubuntu Server 20.04. How can it be related to Ubuntu Server 22.04?

@al-cheb Thank you for highlighting that. I did not realize this was exposed to the end user!
I will continue debugging other causes.

If you need any help please create a new issue with minimal repro steps.

@MarkusTeufelberger No, migration to the latest tag is a separate process out of this specific announcement.

Any ETA to change the default tag to 22.04?

@sivasamsivasam we are going to announce it soon and migrate the tag till the end of this year.


Typescript

Would it be possible to convert this codebase to typescript? I'd be happy to do the heavy lifting and make a pull request. It'd allow type safety and also make the codebase easier to reason about / introspect.

Converting it to TypeScript sounds like a useful change, though not a necessary one (it is not a Instana priority at all). Additionally, it is a type of change which would require a lot of thorough testing.
I am interested, why would you do this? AFAIK you are not an Instana user and doing this is a ton of work. What is in it for you?  Considering your GitHub profile description, the only possible reason that I can see is security (research) 😏

Sorry about the delay. My github notifications have been weird lately.
Ahaha. My github needs some updating. I'm currently working at a company that's auditing Instana as a potential solution but we've been having a few technical issues. I figured lending coding support was the fastest way to come to a solution.

If you have some technical issues, then the best way to approach this would be to open a ticket for these issues. Because that way, we might be able to find a direct solution to your problem, instead of a large refactoring, which may or may not solve your issue.
You can open a ticket on [1].
[1] https://support.instana.com/hc/en-us/requests/new

That's fair. I already opened a ticket but was told this would probably not be solved within my timeline. I figured that was probably because of limited engineering bandwidth.

Closing this. There will be no conversion to TS in the foreseeable future.

@basti1302, any chance that TypeScript type annotations could be added to this project? This would help a lot when using the agent, both from within TypeScript projects, but also from JavaScript-projects that have type-checking enabled.

Hi Rene, this would be a feature request. Please do not use Github issues for feature request (let alone old closed issues). Instead, please file these at https://automation-management.ideas.ibm.com/?project=INSTANA.
Actually, there is already a request for typescript definitions, so you can add your vote for this here: https://automation-management.ideas.ibm.com/ideas/INSTANA-I-300
Kind regards
Bastian


Properly handle stock split

Original report by Theo de Vries (Bitbucket: theojadevries, GitHub: tjadevries).

In my portfolio, I have one stock split. This situation is not dealt with properly.

In my portfolio the stock split is now handled correctly.


Capture only on confirm

This moves authorization out of the confirm step and into the completion of an order. This also now allows auto-capturing payment.
Thanks to @AlistairNorman for starting with this at https://github.com/solidusio/solidus_affirm/pull/63

@kennyadsl yeah I agree. I will split these.

#5 and #6 are splitten from this. Closing this one now.


[typescript] IsEmptyInterface type is broken since TS 3.5 with "strictNullChecks: false"

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

While updating Typescript to the latest version (3.6.3) I had this code failing where it worked with TS 3.3:
const useStyles = makeStyles<Theme>(theme => ({
  root: {
    display: "flex",
    "& .MuiButton-root, & .MuiIconButton-root": {
      marginRight: theme.spacing(1),
      "&:last-child": {
        marginRight: 0,
      },
    },
  },
}));

const ButtonGroup: React.FunctionComponent<Props> = ({ className, ...props }) => {
  const classes = useStyles(); // ERROR: Expected 1 arguments, but got 0.

  return <div className={classNames(classes.root, className)} {...props} />;
};

After a little investigation I found that it was related to IsEmptyInterface from @material-ui/types that was not working as expected with TS option "strictNullChecks": false:
import { IsEmptyInterface } from "@material-ui/types";

type ShouldBeTrue = IsEmptyInterface<{}>;
// TS 3.3: true
// TS 3.6.3: false

type ShouldBeFalse = unknown extends {} ? true : false;
// TS 3.3: false
// TS 3.6.3: true

Expected Behavior 🤔

IsEmptyInterface<{}> should return true, even when "strictNullChecks": false.
Steps to Reproduce 🕹

Steps:

Go to: https://typescript-play.js.org/?strictNullChecks=false&ts=3.3.3#code/KYDwDg9gTgLgBDAnmYcCCA7AJgHjQGjgCFCBhOAXgSgFdgA+S9OUGYbAZ2roCg44A-MRYg2nbsD79Bccq3ZYuMWpOnShy3mv4AuOADMAhgBsOq6XqOnzlk2YDcPHqEiwEyVAEkOAUQC2YEieGGxQRgDGwDgAKoxUmLhSANbAiBD6cNEiYopwGMAAbsBQMpqottb4UhzKAJYYAObZClxZGipwFWZV-DQYSRgQAO4YzeJtBnblEjz0jjxIKHAAygAWEDTGWETA0R1U3v6BiMGhEVEA3gC+cwseK+ub28AAYlNMfQPDo-Li16UdLrAexAA
Note that ShouldBeTrue is of type true and ShouldBeFalse is of type false
Go to: https://typescript-play.js.org/?strictNullChecks=false#code/KYDwDg9gTgLgBDAnmYcCCA7AJgHjQGjgCFCBhOAXgSgFdgA+S9OUGYbAZ2roCg44A-MRYg2nbsD79Bccq3ZYuMWpOnShy3mv4AuOADMAhgBsOq6XqOnzlk2YDcPHqEiwEyVAEkOAUQC2YEieGGxQRgDGwDgAKoxUmLhSANbAiBD6cNEiYopwGMAAbsBQMpqottb4UhzKAJYYAObZClxZGipwFWZV-DQYSRgQAO4YzeJtBnblEjz0jjxIKHAAygAWEDTGWETA0R1U3v6BiMGhEVEA3gC+cwseK+ub28AAYlNMfQPDo-Li16UdLrAexAA
Note that ShouldBeTrue is of type false and ShouldBeFalse is of type true

Context 🔦

Actually, I'm not sure if it's an issue from Material-UI or typescript as I don't fully understand the meaning of the type:
/**
 * @internal
 *
 * check if a type is `{}`
 *
 * 1. false if the given type has any members
 * 2. false if the type is `object` which is the only other type with no members
 *  {} is a top type so e.g. `string extends {}` but not `string extends object`
 * 3. false if the given type is `unknown`
 */
export type IsEmptyInterface<T> = And<
  keyof T extends never ? true : false,
  string extends T ? true : false,
  unknown extends T ? false : true
>;

https://github.com/mui-org/material-ui/blob/514319e995cd86e39a5eb937afb5923509d4a07a/packages/material-ui-types/index.d.ts#L75L89
Your Environment 🌎

Tech
Version

Material-UI
v4.4.3

Typescript
v3.6.3

If somebody can make the test suite pass with strictNullChecks: false I'll gladly merge this. Until then I'd like to refer to the docs that document this requirement: https://material-ui.com/guides/typescript/#typescript


Allow usage of linter for custom plugins

I wrote https://github.com/joscha/sauce-connect-buildkite-plugin
and the output:
steps:
  - command: 'yarn && yarn saucelabs-based-tests'
    plugins:
      sauce-connect#v1.0.0: ~

makes the linter happy, but technically it needs to be:
steps:
  - command: 'yarn && yarn saucelabs-based-tests'
    plugins:
      joscha/sauce-connect#v1.0.0: ~

as this plugin is not part of the buildkite-plugins repo.

nvm, as a workaround, I just prefix the plugin name with my org:
docker run \
  -it \
  --rm \
  -v "$(pwd):/plugin" \
  buildkite/plugin-linter \
    --name joscha/sauce-connect

Ah, sorry you were bitten by that. I'll update the readme to add that as an example, given it'll be the most common case.


Design System > Components > File Management Tree > Default > Small large view does not display proper.

Describe the bug
Small large view does not display proper.
Steps to reproduce bug

Go to 'https://dev-react.raaghu.ai/ & https://stage-react.raaghu.ai/'
Navigate to 'Design System > Components > File Management Tree > Default'

Actual result-
Small large view does not display proper.
Screenshots
Stage

Dev

Expected result-
Small large view should be display proper.
Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]

Fixed on stage/ dev


Set default exporter source_ref to "stable", remove appVersion from chart

This will address the core issue we saw in  #303, where pinning your repo to a specific tag still has the exporters pointed at master-- causing things like python code versions and container versions to get out of
sync.
Making stable the default will make for a better user experience, especially for updates.
I've created the stable branch which right now points to the same commit as the v1.3.0 tag.
This also removes the appVersion from the chart. I don't think it makes sense to keep track of it exporter-wise, since users specify their own version with source_ref.
It might make sense to keep track of it for the grafana configuration? I can leave this change out if we want.
@redhat-cop/mdt

Hang on, recreating from my fork for the sake of force-pushing.


Use Bootstrap vars rather than MO vars in recent changes to _images.scss

see https://github.com/MushroomObserver/mushroom-observer/pull/1650/files/ca462de03b511f3b0a42813b4c04b147d2d39b03

coverage: 94.41%. remained the same when pulling e2a536bd28fe4cdff585ab5b1ab456aa5b57ff39 on nimmo-fix-css-vars into fdd79df245b94ab9cf661cccecce281ab90f5a40 on main.


updated the issue template markdown with a bit more information

Updated ISSUE_TEMPLATE.md to potentially help cut down on the github issues that are just implementation questions. I don't know if it will help, but feel free to merge if this is interesting!

LGTM


use url slug for about us

Added url slug support for about us as a sample

Internal link:

https://kentico.atlassian.net/browse/DC-409

seems ok :)


Add test for library generation. Ref #10

Pull Request Test Coverage Report for Build 142

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.1%) to 10.01%

Totals

Change from base Build 140:
3.1%

Covered Lines:
96

Relevant Lines:
959

💛  - Coveralls


TimescaleDB writer/reader addon

FEATURE REQUEST

Describe the feature you are requesting, as well as the possible use case(s) for it.
Support TimescaleDB as an optional messages store with a reader and writer addon similar to the existing Postgres addons.

Indicate the importance of this feature to you (must-have, should-have, nice-to-have).
should-have.

We've implemented this ourselves as an external addon and have been really pleased with the results as it gives us the ability to use relational tables at the same time as achieving super fast writes.
We're using a narrow table structure for messages, running joins with rarely changing wide tables.
We also have a requirement to be able to index the value column for running certain diagnostics queries against our telemetry and indexes with high cardinality in Timescale don't seem to be a problem.  The continuous aggregates functionality is also a big bonus.
The changes we've made are fairly small, starting from the existing postgres addon, and we'd be more than happy to share that code.  We're following a path of minimal change from core mainflux as we really like the direction the platform is taking, so it would be great if this was part of the main repository.

This has been our interest of research for some time, but we never found a time to prioritize it. It would be really a great contribution, I see Timescale as a perfect solution for time-scale messaging DB.
If you could send PR it would be highly appreciated!

@lePereT no, we do not have advanced design on this, all we have at the moment is what is contributed in the mainstream project, and thus open for analysis. It was sufficient to get us through many practical projects and solutions.
However, if you have some design improvements that you have tested and think that they will simplify and/or make queries more efficient, we are quite open for this.
I think best approach there would be either to propose new design in this thread, or to open MIP.
The only thing I am afraid of is that so far we successfully kept analogy over several DBs (Postgres, Influx, Cassandra, Mongo), and if we make something SQL-specific that would make No-SQL solutions diverge potentially (maybe not, and probably there is always a good solution to make everything similar, symmetrical and efficient).

@corp0529 @lePereT Any update about this one?

@manuio I should be able to submit a pull request soon, it's almost there.


CV score summarized by median instead of mean

used median instead of mean to summarize cross validation values
added venv to gitignore
updated readme to reflect performance

Best record on local data jumped - but could just be a result of using the median instead of mean. Kaggle performance increased ~1.5%. Slowly pushing the needle, but would expect performance on Kaggle data not to drop ~7% (model not generalizing very well?).
Thoughts?

Yeah, it is a fairly small data set, so I would guess that some of the cross validations are just getting "lucky", and we're overfitting to the training set in the CV set at this point.  Not tons to do about that (sink more ships?) -- Brear and I talked about adding a few more features, then calling this done sometime this weekend.


PE-6802: feat(timestamps)

use ISO and UTC formats to display dates in the app

--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/0qs6vshvkh3og

Did a search of the branch code and found yMMDateFormatter is still used in a few places and wonder if they need to be updated or if it is fine to leave as-is. If you could confirm @thiagocarvalhodev that'd be great.

Did a search of the branch code and found yMMDateFormatter is still used in a few places and wonder if they need to be updated or if it is fine to leave as-is. If you could confirm @thiagocarvalhodev that'd be great.

Good catch, @kunstmusik!!
One of the files was not being used anywhere. I removed. There are just two places now on the item tile file. We will show on the drive explorer just the date instead of the timestamp, if the user hovers above the date we show the new formatted date


Share Plugin does not Work on iPad Pro (2. Gen) with IOS 13.6

I am using the Share Plugin to share some constant string on a button press. It works perfectly on basically any device I tried. My app now got rejected from the AppStore because the Button Press does nothing and it turns out, the Share Plugin does not do anything on the device, I mentioned above.
Steps to Reproduce
Setup

Run your app on an iPad Pro (2. Gen) with IOS 13.6 emulator
Use: Share Plugin in Version 0.6.4+3
Use: Flutter (Channel beta, 1.20.0-7.2.pre, on Mac OS X 10.15.6 19G73, locale en-DE)

Trigger
To trigger, call:
Share.share(Constants.SHARE_URL); //Share URL is just some Url

Problem
It should prompt you to Share the Url, but it does not do anything. It does not even print out any error.
flutter doctor -v Output
[✓] Flutter (Channel beta, 1.20.0-7.2.pre, on Mac OS X 10.15.6 19G73, locale
    en-DE)
    • Flutter version 1.20.0-7.2.pre at /Users/user/bin/flutter
    • Framework revision a2bde82fbd (3 days ago), 2020-07-18 15:16:35 -0700
    • Engine revision 60b269d898
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (4 available)
    • iPhone 8 (mobile)                            •
      8A48A385-0964-41D1-A69B-3C1E21A383CC • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • iPad Pro (11-inch) (2nd generation) (mobile) •
      0BF840DC-4E6C-4239-BC52-54E0076CBFB0 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • Web Server (web)                             • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                                 • chrome
      • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

Devices Tested (all emulators

Device
Working

iPad Pro (2. Gen) with IOS 13.6
no

iPhone 8 with IOS 13.6
yes

Thanks a lot for any help

Hi @felixwortmann,
This sounds similar to another open issue, 47220.
That ticket mentions a solution.
Can you try that and see if it resolves your issue ?
Thanks.

@darshankawar thanks a lot, it works now. This should definitely be added to the documentation.


Fix broken/missing JSDocs and typedefs, to allow updating TypeScript to the latest version (issue 14342)

This patch circumvents the issues seen when trying to update TypeScript to version 4.5, by "simply" fixing the broken/missing JSDocs and typedefs such that gulp typestest now passes.
As always, given that I don't really know anything about TypeScript, I cannot tell if this is a "correct" and/or proper way of doing things; we'll need TypeScript users to help out with testing!
Please note: I'm sorry about the size of this patch, but given how intertwined all of this unfortunately is it just didn't seem easy to split this into smaller parts.
However, one good thing about this TypeScript update is that it helped uncover a number of pre-existing bugs in our JSDocs comments.

/botio test

/botio test

/botio-windows browsertest

/botio-linux preview

Hopefully this PR should also help reduce the number of problems whenever someone looks into issue #14017, however we (once again) need TypeScript users to help out there!

Thank you for doing this! It's a nice improvement and it's good that the upgrade blocker is resolved now.

Wow - great work @Snuffleupagus ! I'm not sure I would've been able to do it in a reasonable amount of time...


#784 warning when resolving unlisted package

hi. Please review this pull request. Now warning is displayed when unlisted package is resolved

I think we should only warn when the resolver terminates with unlisted packages.

thx for submitting. I move the code a bit. see 88b8023 - does this work for you?

sure, thanks!


download file name incorrect as per the author

While click the download button to download the file, sometimes the filename downloaded is not the author name.

Actually it happens a lot of times lately. Seems like it takes names from tags rather than from profile name.

Actually it happens a lot of times lately. Seems like it takes names from tags rather than from profile name.
• Open any Instagram account's Tagged posts: https://www.instagram.com/sydney_sweeney/tagged/ • Open any post and try to save it • Some pictures will be saved with the correct username, but some with "sydney_sweeney-*" prefix, or username of someone who's tagged in the post,

Thanks for your description,I have fixed the problem of incorrect username when it comes to tagged posts. If the problem persists or there are other questions, looking forward to your feedback.

Version 2.07 for Firefox is still not adding the account name to filenames.


Chatlio and Botkit

Any solution how to integrate Botkit with Chatlio chat bot?

I am not very familiar with Chatlio, but if it works in Slack, should it not also work in Chatlio?


fix: init webhooksClient with launchProfile

Fix issue #298
Init the webhooksClient with specific profile.

@adityamandaleeka Can you help to give this an approval. I would say this can fix the issue #298.

I am wondering whether it is necessary to specify the launch profile here or not. When Aspire launches a child service project, that service project "inherits" the launch profile that was used to launch Aspire itself. If there is not a matching launch profile then it'll use the first launch profile specified in launch settings.
You can achieve a lot by aligning the launch profiles between the AppHost and the service projects.

@mitchdenny
As we can see in the dashboard, for those no launch profile configured project, they all run with http, while in fact I launch the eShop with http profile.
So, basically, maybe it's better to explicitly launch all projects with specific profile, by setting the specific profile when AddProject?
For the issue #298, since the profile mismatch for the CallbackUrl, the eShop launch fails.

I would argue its better to have your launch profiles aligned (in terms of their name) across app host and service projects.

OK...
Do you have any thoughts on the issues we are fixing? If we start the eShop with https profile, it should end up with passing the configuration to all the child projects. But seems something wrong. Can you repro it on your machine?

Can you still repro this issue? There was an issue with launch profiles that may have impacted you.

I can try it later. I have Aspire preview 5 on my machine. Should I upgrade to the latest version of Aspire?

I am also hitting this issue with Aspire 8.0.0-preview.6.24214.1/8.0.100. The fix applied here is the only way that I can successfully run HTTPS using macOS.

Exactly I ran into this issue on my MacBook too...


Incorrect (Encrypt message) label in transaction summary

In the Send form there's a checkbox named Encrypt message, and then, when you click Send, there's a summary form that shows the encrypted message followed by (Encrypt message).
The correct message should be (Encrypted message), otherwise, it's confusing.
I've tried to provide a patch but there's only one instance of Encrypt message in the language json file, so I guess the same string is being used in both places.
(This is a cosmetic issue)

fixed


Add support for product_fees#get_my_fees_estimate_for_asin

Code

Add endpoint to support fetching ProductFees for an ASIN
Add sp_api_helper to construct request body

Tests
Add spec for get_my_fees_estimate_for_asin
**Ticket **
https://app.clickup.com/t/2323726/CORE-8405

@jasonwells @gavinritchie Should the generation of request body according to SP-API schemas be a part of muffin-man, like I have done it with lib/sp_api_helper.rb ?

Task linked: CORE-8405 Add new code in muffin man for supporting product fees

Overall good work @sibananda-k ❤

@gavinritchie would you look at this again and make sure that we're feeling good with where we ended up?


npm package empty

When installing with npm, the content of the package is empty, there's only a package.json and an .npmignore file. See
damien@Oreo:~/D/S/electron-quick-start
<master✓> » npm i emojipanel
npm notice created a lockfile as package-lock.json. You should commit this file.
+<EMAIL_ADDRESS>added 1 package in 0.96s
damien@Oreo:~/D/S/electron-quick-start
<master✗> » ll node_modules/emojipanel
total 16
drwxr-xr-x 4 damien staff  136  1 Oct   09:59  .
drwxr-xr-x 3 damien staff  102  1 Oct   09:59  ..
-rw-r--r-- 1 damien staff   12 27 Dec    2016  .npmignore
-rw-r--r-- 1 damien staff 1.4K  1 Oct   09:59  package.json
damien@Oreo:~/D/S/electron-quick-start
<master✗> »

Haven't published any actual stuff onto npm yet as this is still in development. The panel doesn't write emojis into an input so it's a bit useless in it's current state. Sorry for the confusion.

I suggesting adding this info to the read me

O projeto foi descontinuado?
Ainda não está disponível no NPM.


Added invalid target token request error

What issue does this PR address?
New token request error of invalid_target from https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-19#section-2.2.2
Does this PR introduce a breaking change?
Nope
Please check if the PR fulfills these requirements

[x] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:
Open PR dependent on https://github.com/IdentityModel/IdentityModel/pull/272

let's do the identitymodel update first

updated. You can now use the constant.

Done!


Can't move Achievements Frame from the Top (as expected).

The Achievements frame can be moved if you grab it at the sides or bottom but not at the top.

interface window still not moving for me >.<
and resolve meter still there LOL.  screenie taken, will be coming as soon as i get some more together for ya and paint em up!

also achievements frame is not moving for me either.  I do have overachiever addon installed but it moved with this previously so not sure if you want to go through the trouble of finding out where the hang up is or.

addon list for checking unchecking addons also wont move.  thats more trivial than some of the others ofc but in the name of being thorough !


Newbie Question. Elements are not appearing on screen.

Hi great library btw! I subclassed a UIView and called it ButtonsView....
@implementation ButtonsView
- (id)init {
if(self = [super init]) {
    UIButton *raiseButton = [UIButton buttonWithType:UIButtonTypeSystem];
    [raiseButton setTitle:@"Raise" forState:UIControlStateNormal];
    [self addSubview:raiseButton];

    UIButton *centerButton = [UIButton buttonWithType:UIButtonTypeSystem];
    [centerButton setTitle:@"Center" forState:UIControlStateNormal];
    [self addSubview:centerButton];

    UIButton *lowerButton = [UIButton buttonWithType:UIButtonTypeSystem];
    [lowerButton setTitle:@"Lower" forState:UIControlStateNormal];
    [self addSubview:lowerButton];

    [lowerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self).with.offset(10.0);
    }];
    [centerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self);
    }];
    [raiseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self).with.offset(-10);
    }];

    self.buttonViews = @[ raiseButton, lowerButton, centerButton ];
}

return self;
}

@end
I then have a UIViewController
#import "AmountViewController.h"
#import "ButtonsView.h"

@interface AmountViewController ()
@end

@implementation AmountViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    ButtonsView *buttons = [[ButtonsView alloc] init];
    buttons.frame = CGRectMake(200, 200, 312, 50);
    [self.view addSubview:buttons];
}
@end

I can't see my button view anywhere on the screen...

@Jamongkad your views are probably underconstrained, meaning they dont have enough constraints for AL to be able to determine their size. Trying adding borders to your views to see what is on screen and what isnt

You didn't set each button size in ButtonsView.

Hello thanks for the prompt replies. So here's my code...
- (id)init {
if(self = [super init]) {
    UIButton *raiseButton = [UIButton buttonWithType:UIButtonTypeSystem];
    [raiseButton setTitle:@"Raise" forState:UIControlStateNormal];
    [raiseButton setFrame:CGRectMake(0, 0, 100, 20)];
    [raiseButton setBackgroundColor:[UIColor blueColor]];
    [self addSubview:raiseButton];

    UIButton *centerButton = [UIButton buttonWithType:UIButtonTypeSystem];
    [centerButton setTitle:@"Center" forState:UIControlStateNormal];
    [centerButton setFrame:CGRectMake(0, 0, 100, 20)];
    [centerButton setBackgroundColor:[UIColor greenColor]];
    [self addSubview:centerButton];

    UIButton *lowerButton = [UIButton buttonWithType:UIButtonTypeSystem];
    [lowerButton setTitle:@"Lower" forState:UIControlStateNormal];
    [lowerButton setFrame:CGRectMake(0, 0, 100, 20)];
    [lowerButton setBackgroundColor:[UIColor orangeColor]];
    [self addSubview:lowerButton];

    [lowerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self).with.offset(10.0);
    }];
    [centerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self);
    }];
    [raiseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self).with.offset(-10);
    }];

    self.buttonViews = @[ raiseButton, lowerButton, centerButton ];

}

return self;
}

I also added a red border around the BtnsView...
ButtonsView *btns = [[ButtonsView alloc] initWithFrame:CGRectMake(0, 100, self.view.frame.size.width, 400)];
[btns.layer setBorderColor:[UIColor redColor].CGColor];
[btns.layer setBorderWidth:2.0f];
[self.view addSubview:btns];

And still no buttons appearing on my UIViewController

@Jamongkad what @xieweizhi said.
you need to size your buttons


WIP: Create the RAT in 'chunks' for tiling so whole RAT and segment locations don't need to be in memory

This is really rough ATM....
The idea behind this PR is that the user should be able to build columns on the RAT with the tiling method. For huge rasters, the output of shepseg.makeSegmentLocations() will be prohibitively large. To circumvent this, the output image is read multiple times and each time a different range of segment ids ('chunks') are processed. In this case the size of the segment locations should be manageable. It is proposed that a user function can be provided and can return a list of columns to be written to the RAT for that chunk.
Currently this is tacked onto the histogram calculation (which seemed to make sense as it has to read this file for this anyway) and this has also been altered to work in chunks.
Check out the TODOs in the code to see where I am uncertain (most of it!).

I think there might be potential here, but there will need to be some reorganisation.
The generic ratBuilderFn, supplied by the user, will need to accumulate internal variables across all tiles. With that in mind, it would need to be able to initialise those before the first tile, and calculate final column values after the last tile. Either this would mean three separate functions, or one function which new when it was doing first and last tiles, and all three would need access to the accumulated data structures.
In the current calcHistogramTiled, this is the hist array, but to allow for general statistics like mean and std deviation, and even median or other quantiles, these intermediate data would need to be quite generic. For example, mean would require accumulating sums of values, and std dev would require that and also sums of squares. Doing a per-segment median would require accumulating a per-segment histogram of some sort. Perhaps a generic object (somewhat like RIOS's otherargs object) which the function would know what to do with.
The final column outputs can't really be written until after the last tile has been processed, for the current chunk of RAT.
One other thought - since raster files are often written band-interleaved, one might be able to save a lot of memory by doing one band at a time, without much overhead. The segment raster would be re-read on each band, but the memory saving may make it easier to have larger amounts of intermediate data held for the current chunk. Not sure, but the per-segment histograms for doing medians does rather scare me, and it would be nice to only deal with these for one band at a time.


docs-cn/docs: add the "2024–tidb-docs-dash" label

Add the 2024–tidb-docs-dash label for the pingcap/docs-cn and pingcap/docs repository.
Support adding this label to a PR or issue by adding `/label 2024–tidb-docs-dash" in a comment of that PR or issue.

/cc @lilin90

/ok-to-test

/lgtm


Fix bug in stripBuf not stripping all zero buffers

Fixes #44
Also adds some initial unit tests for stripBuf.

Disabled the as-pect tests in CI for now until the issue is resolved. They're passing locally. Will merge now.


Make "press enter to go to next difference" discoverable

I only tried this after seeing the "basically reimplement vbindiff" issue

Fixed on incoming branch


Build Yosys integration: annotations on modules to map to one or more DSPs

Talking to the Yosys people, I think we've landed on a Yosys+Lakeroad integration that actually sounds interesting to them and feasible to us. The idea was this: give designers the ability to annotate modules, saying e.g. "this module should go onto N DSPs", and then have a Yosys pass that actually compiles it onto that many DSPs (via Lakeroad).

Development in https://github.com/uwsampl/yosys/pull/3


Queue publish posts

Apparently, you can only have 10 published posts per hour. If we get a banwave, like the one this morning, then some posts will not publish.
We should enqueue those posts to try again in the future.

Actually handled by discordpy already!


Refactor(eos_designs): Use VRF ID instead of VRF VNI as offset for evpn underlay l3 multicast group

Change Summary
Change algorithm to use VRF ID instead of VRF VNI as offset. (in evpn_underlay_l3_multicast_group())
Related Issue(s)
Fixes #https://github.com/aristanetworks/avd-internal/issues/161
Component(s) name
arista.avd.eos_designs
Proposed changes
replaced vrf_vni with vrf_id in evpn_underlay_l3_multicast_group()
Checklist
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

Needed to update the description of key evpn_l3_multicast in defs_network_services_schema.


build failure at compile time for ghc 7.8

it seems that currently the code doesn't correctly support ghc 7.8
the associated error is here https://matrix.hackage.haskell.org/#/package/safe-decimal/<IP_ADDRESS>/ghc-7.8.4@1556240707
Building library for safe-decimal-<IP_ADDRESS>..
[1 of 2] Compiling Numeric.Decimal.Internal ( src/Numeric/Decimal/Internal.hs, /tmp/matrix-worker/1556241082/dist-newstyle/build/x86_64-linux/ghc-7.8.4/safe-decimal-<IP_ADDRESS>/build/Numeric/Decimal/Internal.o )

src/Numeric/Decimal/Internal.hs:640:10:
    Not in scope: ‘uncons’
    Perhaps you meant ‘union’ (imported from Data.List)

src/Numeric/Decimal/Internal.hs:661:52:
    Not in scope: ‘displayException’

src/Numeric/Decimal/Internal.hs:670:19:
    Not in scope: ‘uncons’
    Perhaps you meant ‘union’ (imported from Data.List)
<<ghc: 425758760 bytes, 201 GCs, 10064885/26707192 avg/max bytes residency (8 samples), 75M in use, 0.00 INIT (0.00 elapsed), 0.13 MUT (0.13 elapsed), 0.22 GC (0.22 elapsed) :ghc>>

to better test support https://github.com/haskell-CI/haskell-ci
if you dont want to support ghc 7.8, please set a lower bound  on base of >= 4.8

Thanks @cartazio

glad i can help!
a few extra things:
i'm told that setting pvp: true in a stack yaml makes it easier to make sure the generated cabal file maps exactly to the configurations you intend to support. (apparently its not on by default due to historical reasons and stuff)


wrong sentence

Windows 7/8 - Disable or delete Windows 10 devices in the Azure AD
Should say Windows 7/8 and not Windows 10, Copy paste error

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

ID: ad8e93b0-2d8b-68c0-62ee-be44831b1557
Version Independent ID: b55939f9-e552-9818-80b7-535601d4bc7b
Content: How to manage stale devices in Azure AD
Content Source: articles/active-directory/devices/manage-stale-devices.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@henrikhallebrand Thank you for your feedback. We will have this reviewed and updated as required.

Thanks for catching this, @henrikhallebrand . I made a pull request which should go live in 24 hours once all of the checks have passed. https://github.com/MicrosoftDocs/azure-docs-pr/pull/65485


[HUDI-6519] The default value of read.streaming.enabled is determined by execution.runtime-mode

Change Logs
The default value of read.streaming.enabled could be determined by execution.runtime-mode from which you can choose depending on the requirements of your use case and the characteristics of your job.
Impact
The default value of read.streaming.enabled is determined by execution.runtime-mode.
Risk level (write none, low medium or high below)
none.
Documentation Update
none.
Contributor's checklist

[x] Read through contributor's guide
[x] Change Logs and Impact were stated clearly
[x] Adequate tests were added if applicable
[x] CI passed

@danny0405, I've collected feedback in BiliBili and the feedback is mostly in favor of this usability change. PTAL.

@danny0405, I've collected feedback in BiliBili and the feedback is mostly in favor of this usability change. PTAL.

If I'm not wrong, the default execution mode of Flink is STREAMING, that means by default, all the read would become streaming, that seems not appropriate for warehousing.

@danny0405, the default value of execution.runtime-mode is indeed STREAMING. But in warehousing the users would set execution.runtime-mode to BATCH by default, otherwise the behavior of reading is streaming.

the users would set execution.runtime-mode to BATCH by default

How could the open source users set up these options?

@danny0405, when using Flink batch job, the execution.runtime-mode would be set to BATCH by default. On other words, the default value of execution.runtime-mode is BATCH for BatchTableEnvironment.

In some cases, it is useful, but we lost the flexibility tough for batch. Many people use the streaming execution mode to run batch jobs.

@danny0405 in that case, shall we close it given we cannot apply it in all cases?


Legacy design with no image leads to broken layout

Import of https://theblog.adobe.com/adobe-withdraws-from-nab-show-2020 leads to broken layout: https://blog.adobe.com/en/drafts/migrated/2020/03/09/adobe-withdraws-from-nab-show-2020.html#gs.8lkhs3
(Premiere Pro link + date on top left).

:tada: This issue has been resolved in version 1.16.1 :tada:
The release is available on:

v1.16.1
GitHub release

Your semantic-release bot :package::rocket:


Path-based (vendored) gem version is bumped when bumping any other gems

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
bundler
Package manager version
rubygems 3.3.26
bundler 2.3.26
Language version
ruby 2.7.7
Manifest location and content before the Dependabot update
This is not the full /Gemfile, just a small section of it... I'm not sure if it is enough to trigger the bug. 😦
source "https://rubygems.org"

gem "rails", "~> 6.1.0"
gem "bootsnap", require: false
gem "backports", "~> 3.18", require: false

# These gems used to be in another private repo, but the hassle of handling
# permissions, between Github Codespaces, dependabot, different developers,
# and deployment... it was far more annoying than it was worth.  So I vendored
# the private_gems repo... and that's when dependabot started making buggy PRs.
gem "our-dblib", path: "vendor/private_gems/our-dblib"
gem "our-utils", path: "vendor/private_gems/our-utils"

group :default, :stdlib do
  # This gem has been vendored for a while now.  Before net-imap was gemified,
  # we used to simply place our forked copy somewhere early in the $LOAD_PATH.
  gem "net-imap", path: "vendor/net-imap"   # we have several big patches in here
end

# and many many more gems...
# some git: "...", some github: "...", most just using rubygems.org.

dependabot.yml content
---
version: 2
updates:
  - package-ecosystem: "bundler"
    open-pull-requests-limit: 15
    directory: "/" # Location of package manifests
    schedule:
      interval: "daily"
    versioning-strategy: lockfile-only
    allow:
      # Allow both direct and indirect updates for all packages
      - dependency-type: "all"
    commit-message:
      prefix:             "⬆  bundle"
      prefix-development: "⬆  bundle dev"
      include: "scope"
  # also npm, github-actions, gomod

Updated dependency
When any gem whatsoever is (correctly) updated...
The net-imap gem is also "updated" from 0.3.2.patched or 0.3.5 or 0.3.99 (it's vendored, so I've tried a variety of version numbers to see if that would fix the issue) to 0.9.0...
Coincidentally, 0.9.0, is the same version as "our-dblib" (not the real name, FWIW) in /vendor/private_gems/our-dblib.  And "our-dblib" comes immediately after net-imap in Gemfile.lock.  And this problem seems to have started after we vendored "our-dblib".  🤷🏻
What you expected to see, versus what you actually saw
We're seeing PRs like the following:
commit 134f8603e8c60a83858a39285f4eb8b1b540877f (HEAD -> dependabot/bundler/net-http-0.3.2, origin/dependabot/bundler/net-http-0.3.2)
Author: dependabot[bot]<EMAIL_ADDRESS>Date:   Tue Feb 7 20:12:36 2023 +0000

    :arrow_up:  bundle dev(deps-dev): Bump net-http from 0.3.1 to 0.3.2

    Bumps [net-http](https://github.com/ruby/net-http) from 0.3.1 to 0.3.2.
    - [Release notes](https://github.com/ruby/net-http/releases)
    - [Commits](https://github.com/ruby/net-http/compare/v0.3.1...v0.3.2)

    ---
    updated-dependencies:
    - dependency-name: net-http
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>
diff --git a/Gemfile.lock b/Gemfile.lock
index 7ee77c096..106914d39 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -79,7 +79,7 @@ GIT
 PATH
   remote: vendor/net-imap
   specs:
-    net-imap (0.3.1)
+    net-imap (0.9.0)
       date
       net-protocol

@@ -459,7 +459,7 @@ GEM
     mutex_m (0.1.2)
     nest (1.1.2)
       redis
-    net-http (0.3.1)
+    net-http (0.3.2)
       uri
     net-http-digest_auth (1.4.1)
     net-http-persistent (3.1.0)

When we should be getting PRs like the following:
commit 134f8603e8c60a83858a39285f4eb8b1b540877f (HEAD -> dependabot/bundler/net-http-0.3.2, origin/dependabot/bundler/net-http-0.3.2)
Author: dependabot[bot]<EMAIL_ADDRESS>Date:   Tue Feb 7 20:12:36 2023 +0000

    ⬆ bundle dev(deps-dev): Bump net-http from 0.3.1 to 0.3.2

    Bumps [net-http](https://github.com/ruby/net-http) from 0.3.1 to 0.3.2.
    - [Release notes](https://github.com/ruby/net-http/releases)
    - [Commits](https://github.com/ruby/net-http/compare/v0.3.1...v0.3.2)

    ---
    updated-dependencies:
    - dependency-name: net-http
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>
diff --git a/Gemfile.lock b/Gemfile.lock
index 7ee77c096..106914d39 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -459,7 +459,7 @@ GEM
     mutex_m (0.1.2)
     nest (1.1.2)
       redis
-    net-http (0.3.1)
+    net-http (0.3.2)
       uri
     net-http-digest_auth (1.4.1)
     net-http-persistent (3.1.0)

There shouldn't be any change to net-imap whatsoever.  This is (predictably) causing all bundler dependabot PRs to fail until someone manually fixes the commit.
(FWIW, I also filed #4565 a year ago... which is also exhibited above.  😉)
Native package manager behavior
It simply does the right thing, exactly as you would expect.  Only the requested gem is upgraded (or possible some of that gem's own dependencies).  Generally, the way I fix the PRs is this:
/workspace/app_root $ git switch dependabot/bundler/net-http-0.3.2
branch 'dependabot/bundler/net-http-0.3.2' set up to track 'origin/dependabot/bundler/net-http-0.3.2'.
Switched to a new branch 'dependabot/bundler/net-http-0.3.2'

/workspace/app_root $ git checkout main -- Gemfile.lock

/workspace/app_root $ bundle update net-http
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies.....
Using rake 13.0.6
Using zeitwerk 2.6.6
Using nio4r 2.5.8
----------------8<-------------[ and so one... ]--------------------
Fetching net-http 0.3.2 (was 0.3.1)
----------------8<-------------[ and so forth... ]------------------
Installing net-http 0.3.2 (was 0.3.1)
----------------8<-------------[ & cetera ]-------------------------
Bundle updated!
3 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details

At which point, the diff looks exactly as it should.
/workspace/app_root $ git add .
/workspace/app_root $ git commit --amend --no-edit
[dependabot/bundler/net-http-0.3.2 94f70450b] :arrow_up:  bundle dev(deps-dev): Bump net-http from 0.3.1 to 0.3.2
 Author: dependabot[bot]<EMAIL_ADDRESS> Date: Tue Feb 7 20:12:36 2023 +0000
 1 file changed, 1 insertion(+), 1 deletion(-)

/workspace/app_root $ git -P show
commit 94f70450bc733f3210a5b1ab930080e16f138e59 (HEAD -> dependabot/bundler/net-http-0.3.2)
Author: dependabot[bot]<EMAIL_ADDRESS>Date:   Tue Feb 7 20:12:36 2023 +0000

    :arrow_up:  bundle dev(deps-dev): Bump net-http from 0.3.1 to 0.3.2

    Bumps [net-http](https://github.com/ruby/net-http) from 0.3.1 to 0.3.2.
    - [Release notes](https://github.com/ruby/net-http/releases)
    - [Commits](https://github.com/ruby/net-http/compare/v0.3.1...v0.3.2)

    ---
    updated-dependencies:
    - dependency-name: net-http
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>
diff --git a/Gemfile.lock b/Gemfile.lock
index 7ee77c096..fa0b2d3d4 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -459,7 +459,7 @@ GEM
     mutex_m (0.1.2)
     nest (1.1.2)
       redis
-    net-http (0.3.1)
+    net-http (0.3.2)
       uri
     net-http-digest_auth (1.4.1)
     net-http-persistent (3.1.0)

/workspace/app_root $ git push --force-with-lease
----------------8<-------------[ & cetera ]------------------
 + 134f8603e...94f70450b dependabot/bundler/net-http-0.3.2 -> dependabot/bundler/net-http-0.3.2 (forced update)

Images of the diff or a link to the PR, issue, or logs
I can provide plenty of links to PRs... they are all in a private repository though.  Let me know if there's a way I can provide more debug info, semi-privately.  E.g. I wouldn't be surprised if there's something weird in the gemspec for our private gems... they were first created in 2016 with bundler ~>1.10 and ruby 2.2 or 2.3.
Smallest manifest that reproduces the issue
I've tried to reproduce this in the dependabot test suite, but I wasn't able to... (within my time constraints).  Sorry. 😦
I may have simply been attempting to test it in the wrong place, or perhaps my test fixture simply didn't cause the bug.  If you point me in the right direction of how I might quickly replicate the update process, ideally inside the test suite, then I can try again.

Wow, this is so weird, why 0.9.0? That doesn't even exist at rubygems.org!
It would be helpful if you could create a public repository with a minimal set of dependency files and see if it reproduces there. I would start with just the public gems and an empty vendored net-imap with just the gemspec (redacting whatever you need to redact).

It would be helpful if you could create a public repository with a minimal set of dependency files and see if it reproduces there

Yeah, it's so weird.  I think it's related to the other gem?  Thanks for the advice; I'll try to make that repo later today.

I usually don't work on work stuff over the weekend, but I had a few free moments and thought I'd really like to see this bug fixed!

Thanks @nevans, your repro made this easier! Fixing this at #6655!

This should be live now, if you find any issues let me know!

I didn't remember to come back to confirm the fix and thank you.  So:
It's been working great!  Thanks!  😄


Numpy multiplication not working right all the time

There seem to be some problems with numpy array of variables.
Found when refactoring the decompose function of the Cumulative cst from
for t in range(lb,ub+1):
            demand_at_t = 0
            for job in range(len(start)):
                if is_num(demand):
                    demand_at_t += demand * ((start[job] <= t) & (t < end[job]))
                else:
                    demand_at_t += demand[job] * ((start[job] <= t) & (t < end[job]))
            cons += [capacity >= demand_at_t]

to
for t in range(lb, ub+1):
            cons += [capacity >= sum(demand * ((start <= t) & (t < end)))]

didn't notice #341 was already talking about it. Closing this one


new rule to disallow var declarations in favor of let and const

I want this! :+1:

@josundt sounds good, I made an issue for that: #388

I noticed this issue is assigned. Is it oke for me to pick this one up?

@DickvdBrink feel free to pick it up; we'll gladly review a PR


move rust to builder format

🚀 Deployed on https://63977985a1e2492eb921d3cf--cozy-fox-0defec.netlify.app


UI Issue in PowerToys Setting

Microsoft PowerToys version
0.64.1
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
General, Settings
Steps to reproduce
Open PowerToys setting and in General Tab>>Backups and Storage Section>>Expand>>Location address>>Browse button
✔ Expected Behavior
Don't give spacing between location action and its address. By doing this we can browse button should remain static at the very end and even if the address field gets extended then it should wrap rather than overlapping
❌ Actual Behavior
Open PowerToys setting and in General Tab>>Backups and Storage Section>>Expand>>Location address>>Browse button get overlap with the location field.

Other Software
No response

Hi!
This should be fixed in the latest PowerToys release.
Can you up date to latest version? https://github.com/microsoft/PowerToys/releases/tag/v0.79.0
/needinfo


Delete defunct fixed control bar width

What
Delete a TODO, 'cause its now TODONE.
How Tested
Meeting sample.
No UI changes, i.e. no UI snapshots.

Adding ui change just to remove snapshots from a bad merge. I'm lazy and it's always safer to let automation tell me there is no change ;)

No. More. Scrollbar. :P


[BUG]: Can't install archived versions of php8.0

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
php8.0
Expected/Current Behaviour
It should be possible to install older versions, but only the current version can be installed
Steps to Reproduce
PS> scoop install<EMAIL_ADDRESS>WARN  Given version (8.0.28) does not match manifest (8.0.29)
WARN  Attempting to generate manifest for 'php8.0' (8.0.28)
Autoupdating php8.0
Searching hash for php-8.0.28-Win32-vs16-x86.zip in https://windows.php.net/downloads/releases/sha256sum.txt
Could not find hash in https://windows.php.net/downloads/releases/sha256sum.txt
Downloading php-8.0.28-Win32-vs16-x86.zip to compute hashes!
The remote server returned an error: (404) Not Found.
URL https://windows.php.net/downloads/releases/php-8.0.28-Win32-vs16-x86.zip is not valid
Could not install<EMAIL_ADDRESS>
Possible Solution
Don't know how to solve this, the version is available in the archive subfolder.
https://windows.php.net/downloads/releases/archives
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
7ba3c49cd (HEAD -> master, origin/master, origin/HEAD<EMAIL_ADDRESS>Fix hash (Closes #11822)

'java' bucket:
74c2335d (HEAD -> master, origin/master, origin/HEAD) semeru17-jre: Update to version <IP_ADDRESS>-1-0.40.0

'main' bucket:
31e6da5d5 (HEAD -> master, origin/master, origin/HEAD) stgit: Add version 2.3.0 (#4951)

'nerd-fonts' bucket:
75aef68 (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 0.41.8

'nirsoft' bucket:
941fcbd (HEAD -> master, origin/master, origin/HEAD) Updated BrowsingHistoryView and NK2Edit

'nonportable' bucket:
642ae68 (HEAD -> master, origin/master, origin/HEAD) autohotkey-np: Update to version 2.0.6

'php' bucket:
7709cbc (HEAD -> master, origin/master, origin/HEAD) php8.2: Update to version 8.2.10

'sysinternals' bucket:
db7ddd5 (HEAD -> main, origin/main, origin/HEAD) zoomit: Update to version 7.1

Scoop Config
PS> Get-Content ~\.config\scoop\config.json | ConvertFrom-Json

last_update         aria2-warning-enabled scoop_branch scoop_repo
-----------         --------------------- ------------ ----------
31.08.2023 14:02:17                 False master       https://github.com/ScoopInstaller/Scoop

PowerShell Version
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

The same problem exists with php8.1 and php8.2, don't know if an extra issue is necessary.

The URL is created by substituting the version in the link: https://github.com/ScoopInstaller/PHP/blob/1332fc0dfe511c29b76a2b996391b402239d07ca/bucket/php8.0.json#L34
So unless this is modified to look in the archives subfolder, installing an older version will not work.
Now the problem is that this subfolder does not contain the last release of a major version (for e.g. it does not contain 8.0.30).

Does scoop allow adding multiple domains as mirror, so scoop will check the first URL and if it fails it tries the next in the list?
This would allow us to define https://windows.php.net/downloads/releases as the first and main download URL and https://windows.php.net/downloads/releases/archives as the alternative download location.

Not yet, see https://github.com/ScoopInstaller/Scoop/issues/4264


Cosmetic changes

Made some cosmetic changes to the client. Hooked up labrad-grapher-dataset and started experimenting with a layout

I'm just noticing that the web components you wrote are nested in an extra ```function`` than mine are. For example you have
<script>
(function () {
  Polymer({
.
.
.
  });
})();
</script>

Where I just have
  <script>
    Polymer({
.
.
.
    });
  </script>

What's the reason for that? Should I next my Polymer in another function?

That's called an IIFE (Immediately-invoked functions expression). It's used generally to avoid polluting the global namespace, since variables declared inside a function are local to that function. But given that these scripts just call Polymer and don't declare any top-level variables, it's not needed. I probably got it from copy-pasting some other component, but we could remove it for consistency.

A couple minor comments, otherwise LGTM


Fix sharpenTE/bluntTE making blunt TE on wrong condition

Purpose

Fix a bug in roundTE and sharpenTE where it was not making a blunt TE beforehand in the proper instances.
Expected time until merged

1 hr
Type of change

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing

Updated regression tests reference data.
Checklist

[x] I have run flake8 and black to make sure the code adheres to PEP-8 and is consistently formatted
[x] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Docs built fine, not sure why it's hanging here. Merging.


Custom Keyword Recognition for Voice Activation

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Hii ✨
I would love to see keyword recognition/voice activation integrated into the chatbot! With the chatbot continuously listen for custom trigger phrases like "Hey chatbot" to initiate transcription.
This feature would significantly enhance accessibility, especially for users with disabilities, by allowing handsfree use of the app and making it more user friendly for more people.
Given that speech functionality is already implemented, I believe this could be built upon to introduce keyword recognition. However, I’ve attempted to implement this myself without success so far. Is there an "easy" way to incorporate it into the existing code? I feel this addition would really benefit many users and open up new ways to interact with the chatbot! 😊

Have you looked into https://github.com/Azure-Samples/aisearch-openai-rag-audio ? I wonder if that would be more the UI you're interested in. I'm working on a PR that makes it super easy to use with the search index from this app.


The SDK should be able to load all Stops with "empty" LIR and Pagination

See example:

2020-05-07T12:00:00Z
IRMA

2020-05-07T12:00:00Z
4711

stop
100
20000
true

should be done as a special request in the SDK.

Closing for now, maybe we'll add it to v2 SDK


encoding/pem: can't decode encoded message

cncoding/pem successfully decodes a message in the following program; but if the message is re-encoded, decoding fails:
package main

import "encoding/pem"

func main() {
	data := []byte("-----BEGIN foo-----\n\n-----END foo-----")
	b, _ := pem.Decode(data)
	if b == nil {
		return
	}
	enc := pem.EncodeToMemory(b)
	b1, _ := pem.Decode(enc)
	if b1 == nil {
		panic("can't decode encoded")
	}
}

Either the first Decode should fail, or the second Decode should succeed.
on commit 65518032b946bbb640cf1e3d5e66f537642503ed

EncodeToMemory produces "-----BEGIN foo-----\n-----END foo-----" (notice the single newline compared to original input). The mistakes the line starting with "\n-----END foo-----" for being a header line, and subsequently does not find an END marker for the block.


[Sage-300] Link - Default Class Patch

Description

Adds new prop to remove default link class in React as needed after Foundation updates to the Link component.
The goal of this is to prevent style clashing from happening with components that use the Sage Link component in their architecture. The sage-link class should, ideally, be used by default, but some components have their own styling for those instances of the Link.
Implementation Updates

React uses in kp may need default classname suppressed (Sage-301)

Follow-up Tickets
N/A
Screenshots

Testing in sage-lib

React

Navigate to Link component
Check the following components to ensure Link styles are showing correctly:

Alert
Breadcrumbs
DropdownItem
HelpLink
MediaTile
TransactionCard
TypeaheadItem

Testing in kajabi-products

(MEDIUM) Adds new prop to remove default link class in React as needed after Foundation updates to the Link component. Effect on Kajabi Products will be addressed in the above implementation ticket.
Related

Sage-300

One oddity I noticed during testing was that the typeahead dropdown items are misaligned/truncated at all screen sizes. @monicawheeler I wasn't able to locate an update issue for that particular component in Jira—happy to file or add to the spot check spreadsheet (whichever is preferred).

typeahead


strictNullChecks mode - Variable is used before being assigned.

TypeScript Version:  nightly (2.0.2)
In strictNullChecks mode only:
Code
const CONFIG = {
  foo: '',
  setFoo: function(foo: string) {
    // accessing (reading or writing) CONFIG.foo is not allowed!
    CONFIG.foo = foo;  // <-- Error: Variable 'CONFIG' is used before being assigned.
  }
};

Expected behavior:
I don't see why this is not a valid statement.
Actual behavior:
Trying to access any defined member of CONFIG in a method, defined within the object itself, raises an error: Variable 'CONFIG' is used before being assigned.

Slightly related the following will also issue similar error:
const helper = function<T>(t: T[]) {
        helper(t.slice(1));
}

@yuit I have a fix for this, will be putting up a PR shortly.


unknown option offsetStorage

Hi,
When I run the command below to start KafkaOffsetMonitor, it always said "Exception in thread "main" com.quantifind.sumac.ArgException: unknown option offsetStorage". The version of  KafkaOffsetMonitor jar is 0.2.1.
Command:
"java -cp KafkaOffsetMonitor-assembly-0.2.1.jar com.quantifind.kafka.offsetapp.OffsetGetterWeb --offsetStorage zookeeper --zk sds-jinchao-streaming-test-vm1,sds-jinchao-streaming-test-vm2,sds-jinchao-streaming-test-vm3 --port 8082 --refresh 10.seconds --retain 2.days"
Thanks,
Jin

Hi,
I found that release 0.2.1 does not support option 'offsetStorage', So the command in README.md is not correct.
Thanks,
Jin

Hi,
Do we expect this feature to be released soon? Is the code that includes 'offsetStorage' stable enough to be built into 0.2.2.jar?
We recently migrated to Kafka 0.9.1 and are using kafka for offset storage, which makes the latest JAR not working with our new production cluster.
Thanks

Same here!!  README document needs to be updated

Just remove the option and everything is OK.

Is it support kafka0.9.0?

Are there any timelines around delivering this?
Currently using latest installation of Kafka/Zookeeper which uses kafka for offset storage.

If you look at the actual source code in the repo, it has the Kafka offset support in it. It just looks like they never rebuilt the jar. If you download source the compile using sbt, in theory you should be able to use that

👍

while compiling, it returns " sbt.ResolveException: unresolved dependency: com.twitter#util-core;3.0.0: not found" . How to solve this?

Is there some documentation on how to build it ourselves?  I was able to build/compile without much problem (just ran sbt at the project root dir and it resolved everything), but the package doesn't have all the libraries like the pre-built version does.  Sorry, really new to Scala/sbt.

When I compile the latest source code, the option works for me.

sorry, I haven't touched this code in a while, but I think that you should
be able to run sbt assembly to get a package that includes all the
dependencies for you.
--
Pierre Andrews, Ph.D.
On Wed, Aug 3, 2016 at 1:33 AM, Cheng Yichao<EMAIL_ADDRESS>wrote:

When I compile the latest source code, the option works for me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/quantifind/KafkaOffsetMonitor/issues/86#issuecomment-237176869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmW87nL-W2zXHZzolefkf6R6gIPX2M2ks5qcFJmgaJpZM4HyvLE
.

Source build of 0.3.0 worked for me, removing the error message. Only warning I can give though is make sure you do the SBT version fix as noted in #80.
Now if only someone with l33t Java skillz could solve the 0.9 compatibility issue noted in #79...

I  also met this erro . I tried rebult  but failed .
Could you republish newer ?  Thank you very much

@bluebob Working on 0.9+ support.  Will submit a PR soon.  In the meantime, try https://github.com/rcasey212/KafkaOffsetMonitor and let me know if you run into any issues.

@bluebob A PR that attempts to solve the 0.9+ compatibility issues has been submitted!  https://github.com/quantifind/KafkaOffsetMonitor/pull/107.  Thanks!

rebuild  can solve this  problem throw  ' sbt assembly ' command .   you will need get through sbt dependencies

@Micheal-Bigmac This repo is defunct. You can try https://github.com/Morningstar/kafka-offset-monitor instead, or just use the latest built release at the linked repo. Hope that helps.

When I run the command below to start KafkaOffsetMonitor, it always said "Exception in thread "main" com.quantifind.sumac.ArgException: unknown option offsetStorage". The version of KafkaOffsetMonitor jar is 0.2.0.  Tried other versions to 0.2.1 & 0.4.0 , same error everywhere if dont provide anything web app starts however UI is not loading topics or groups.
Trying to connect Kafka 0.7 hosts.  Hope 0.2.0 supports Kafka 0.7. Does anyone tested this on Kafka 0.7.


Spawn EBUSY error in latest versions

Hi,
After i upgraded the nexrender dependencies, i started to see the error Spawn Busy in postrender module. Result avi file is created successfully but it is not converted to mp4. I have read about same error in previous versions but i am using the latest versions for all modules.
Here is the error i get:
Error: Error loading postrender module @nexrender/action-encode: Error: Error in action-encode module (ffmpeg) Error: spawn EBUSY
at C:\Users\aysima\Documents\Repos\core-renderer\node_modules@nexrender\core\src\tasks\actions.js:25:35
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

ffmpeg binary b4.2.2 was successfully downloadedeconds

Does anyone have any idea about how to solve this?
Thanks in advance,
Aysima

Could you try downloading a custom latest version of FFmpeg binary, and providing path to it in the env variable: NEXRENDER_FFMPEG=.... before launching the nexrender?

What is FFmpeg binary? I dont think i have ever installed that. What is the node module name?
I will try giving the path but i am not sure how to download it. But it also happened in a new environment which i downloaded everything with latest versions.
Thanks for quick response btw.

Thanks for your quick response. I did download the compiled version of latest FFmpeg and placed it under C with the name FFmpeg, error has changed but i still get the error below:
Error: Error loading postrender module @nexrender/action-encode: Error: Error starting ffmpeg process: Error: spawn C:\FFmpeg\bin ENOENT
Do you think i am doing sth wrong here?

I see you've provided path C:\FFmpeg\Bin, try actually providing full path to the exe: C:\FFmpeg\bin\ffmpeg.exe

It worked, thank you a lot! @inlife

Hi! I also ran into the same problem with the latest version, and now it works well with the solution above.
But what confuse me a lot is, I am providnig ffmpeg version4.3 path to the env variable. But when I run nexrender,  it successful call FFmpeg-b4.2.2.exe. Something in worker's log like:

using an existing ffmpeg binary b4.2.2 at: C:\Users\xxx\AppData\Local\Temp\nexrender\ffmpeg-b4.2.2.exe
[wuqysmMf49w79MuLQFRCX] ffmpeg version git-2020-01-26-5e62100 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls ......

So why ffmpeg version4.3 is needed?


Remove 404 server

According to https://github.com/kubernetes/contrib/issues/762 we should be trying to purge this repository of code that has a better home. I can think of none other to absorb the 404-server than https://github.com/kubernetes/ingress/
I adjusted 404-server/README.md in the same fashion as those in contrib/ingress/controllers/ with a link to the new repository.
xref https://github.com/kubernetes/ingress/issues/1072

This change is

LGTM
@nicksardo @aledbf can you sign off please?

/lgtm


Use sessionid

Currently requires separate login

This issue was moved to electric-cloud-community/EC-DSLIDE#25


native-comp-deferred-compilation-deny-list void variable

What's wrong
Debugger entered--Lisp error: (void-variable native-comp-deferred-compilation-deny-list)
  straight--build-native-compile((:type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "master" :package "straight" :local-repo "straight.el"))

Info
Just cloned emacs and switched to branch feature/native-comp
then tried to install straight:
(setq straight-use-package-by-default nil)

(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

And got the error:
Debugger entered--Lisp error: (void-variable native-comp-deferred-compilation-deny-list)
  straight--build-native-compile((:type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "master" :package "straight" :local-repo "straight.el"))
  straight--build-package((:type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "master" :package "straight" :local-repo "straight.el") nil)
  #f(compiled-function () #<bytecode -0x11b33a83c9fbf764>)()
  straight--transaction-exec(use-package-\(:type\ git\ :host\ github\ :repo\ \"raxod502/straight\.el\"\ :files\ \(\"straight*\.el\"\)\ :branch\ \"master\"\ :package\ \"straight\"\ :local-repo\ \"straight\.el\"\)-nil-nil :now #f(compiled-function () #<bytecode -0x11b33a83c9fbf764>))
  straight-use-package((straight :type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "master"))
  load-with-code-conversion("/home/igarcia/.emacs.d/straight/repos/straight.el/..." "/home/igarcia/.emacs.d/straight/repos/straight.el/..." nil t)
  load("/home/igarcia/.emacs.d/straight/repos/straight.el/..." nil nomessage)
  (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (if (file-exists-p bootstrap-file) nil (save-current-buffer (set-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straigh..." 'silent 'inhibit-cookies)) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage))
  load-with-code-conversion("/home/igarcia/.emacs.d/init.el" "/home/igarcia/.emacs.d/init.el" t t)
  load("/home/igarcia/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x14492333506a56e6>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cc375>) t)
  command-line()
  normal-top-level()

Just cloned emacs and switched to branch feature/native-comp

That branch was merged into master. You should be building off of master with the --with-native-compilation option.
The bug you are seeing is due to an upstream change.
Duplicate of #757


How to use Python api, what command to use?

-c what is use text string for args
What if I want write a python script, what command to use
like
nxbt -c my_script.py -r

?

@jiyarong
Sorry if my English is poor.
I was able to confirm the operation with the following command.
sudo python my_script.py

Why can't I debug on Pycharm?，and starting run gives me an error ><    ><
Traceback (most recent call last):
File "/home/user/PycharmProjects/pythonProject/1.py", line 63, in
nx = nxbt.Nxbt()
File "/home/user/PycharmProjects/pythonProject/venv/lib/python3.10/site-packages/nxbt/nxbt.py", line 181, in init
toggle_clean_bluez(True)
File "/home/user/PycharmProjects/pythonProject/venv/lib/python3.10/site-packages/nxbt/bluez.py", line 121, in toggle_clean_bluez
with open(service_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/lib/systemd/system/bluetooth.service' >_<
Forgive me for being a novice.   >_<


Dockerfile: Disable workspace mode

Update the Dockerfile and set the GOWORK environment variable to "false"
to disable workspace mode, which is producing o/release CI failures.
Signed-off-by: timflannagan<EMAIL_ADDRESS>

/lgtm


Switch to cluster name annotation

Summary
Stop using ZZZ_DeprecatedClusterName and switch to cluster name via an annotation.
Depends on:

https://github.com/kcp-dev/logicalcluster/pull/21
https://github.com/kcp-dev/kubernetes/pull/87
https://github.com/kcp-dev/apimachinery/pull/49

Related issue(s)
Fixes #

/test all

/test all

/test all

/approve

Assuming the tests are looking good, I'll close #1674 to unblock the merge queue

/retest


chore(*): regenerate release notes for June 21 2021 release

Codecov Report

Merging #680 (28ef078) into next (85ad9cf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #680   +/-   ##
=======================================
  Coverage   50.65%   50.65%
=======================================
  Files          30       30
  Lines        1313     1313
  Branches      193      193
=======================================
  Hits          665      665
  Misses        647      647
  Partials        1        1


General: Default command for headless mode is interactive

Brief description
Use interactive command instead of tray by default if headless is enabled and no command is entered.
Additional info
The only reason is that trying to launch tray when headless is explicitly defined is "not right".
The command won't do anything if openpype_gui executable is used (for that executable there is almost none right command to run).
Option n2 is to just print help instead?
Testing notes:

Start openpype executable with only --headless argument

I guess that doing nothing is not good way to go. It might suggest something is wrong. I would print help instead


Update Kontent.ai packages to use Gatsby v5

Update the gatsby source plugin and components to use new release

Thank you for the review :)
I have reverted the version in devdependecies and changed version of gatsby-plugin-manifest :)


[Tizen] Merge the GPU process to the Browser process

Step of the Dual Process model implementation.
See https://lists.crosswalk-project.org/pipermail/crosswalk-dev/2014-December/002308.html for the details.
BUG=XWALK-3203

To be merged after XWALK-3352 is fixed.

The Tizen Common build failure looks real. Also, can you write a bit more on the commit message and explain why this is helpful and necessary? Otherwise anyone looking at the history will first need to find out what "dual process model implementation" means and how this is related to it.

Rendered obsolete by #3299.


Fix link to multipreview annotations in docs

The existing link redirects to https://developer.android.com/develop/ui/compose/tooling#preview-multipreview which is a tooling overview page and doesn't mention multipreviews

Thanks Zac! It looks like something didn't go right, I did get a "Something went wrong" when trying to sign it the first time but when I try again it says I've already signed it? 🤷

Is there a way to reset it or something? Otherwise, I can close the PR and you can make the change if you want (would be nice to be able to contribute again though)

Heh, nice! 😄


Automagical graphs

So, I've the json.rs domain at my disposal. If this benchmark can be made to dump a JSON (duh) file with the results of the benchmark, which then could be uploaded to github, I can put up some simple webpage on that address that grabs the JSON from the repo and draws the graphs for it in JavaScript. That way we can have something nice to present, without having to do much of manual updates every time, just build -> run -> commit and push.
How does that sound?
Edit: Actually given the formatting of the log, I might be able to visualize it by scraping the readme.

That sounds great! If you haven't already, take a look at perf.rust-lang.org for inspiration. They even have graphs of performance at a couple-hours granularity.
The other thing I would love to have that is relevant to this is a cloud server for running the benchmark so it isn't just "David's 4 year old laptop." Since you are paying for json.rs I can pay for an AWS instance to run once a day or so.

Aye, EC2 would be nice. It should be relatively managable to get nativejson-benchmark to run on it too. That way the page can serve not just as a curiosity for us, but also help popularize the language itself.

Ok, this is just strapped together with an insane amount of duct tape, but it works:
http://json.rs/

@dtolnay the website is now somewhat usable, should we include it in the README / description?

Very nice! Yes go ahead and include a link.
Have you tried transposing the results so all the parses are next to each other and all the stringifies are next to each other?

serde_json dom parse
serde_json struct parse
json-rust dom parse
rustc_serialize dom parse
rustc_serialize struct parse
rapidjson dom parse
serde_json dom stringify
serde_json struct stringify
json-rust dom stringify
rustc_serialize dom stringify
rustc_serialize struct stringify
rapidjson dom stringify

You almost never want to compare parse performance vs stringify performance so it seems like the current arrangement makes it unnecessarily hard to compare the things you do want to compare, which is performance across libraries. We can use this as
I have no time this weekend but I would like to include a little more explanation/analysis of each test. We should be able to use this to explain at a technical level what features account for the results - things like:

The difference between DOM vs struct parsing and how struct parsing will likely do fewer memory allocations so that probably accounts for much of the difference there
How the json-rust number type works.
Difference between how serde and rustc_serialize do struct parsing that accounts for the reversed relationship of faster DOM vs faster struct.
What it means to "optimize for key lookup performance" (that line means nothing to me even though I mostly understand the implementation details).

We can hide the analysis behind an accordion if you want to keep the landing page minimal.

I was thinking about organizing the graphs better, will look into it tomorrow, I'm pretty done for tonight :). You can disable parsing / stringifying on the graphs as they are, but the rescaling seems buggy, makes me want to look into some other graph libs.

I can't reach the site

I can't reach the site either @maciejhirsz

It's been a long time since 2016, I've let the domain go :P.


In split screen mode: open file in the pane which has focus

From<EMAIL_ADDRESS>on 2012-07-25T02:49:34Z
Spyder Version:  2.2.0dev
Python Version:  2.7.3
Qt Version:      4.8.1, PyQt4 (API v1) 4.9.1 on Linux

open spyder
open random file
right-click on tab and select "split horizontally"
now focus on the right tab (i.e. cursor in the right tab)
hit Ctrl-O and open another file
file always opens in left pane

This is not a bug but a rather annoying flaw, as I expect to open the file in the pane I have currently selected.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1122

From pierre.raybaut on 2013-01-04T05:56:49Z
Can't reproduce this bug.
It reminds me of some annoying behavior that I've fixed a while back.
Could you please check if you are able to reproduce this issue with the latest revision?

From<EMAIL_ADDRESS>on 2013-01-14T01:33:50Z
looks good, seems like the fix back then also fixed this. Thanks!

From pierre.raybaut on 2013-01-27T04:55:03Z
Status: Fixed


style(turbo): fix lint issues in spec file

Coverage remained the same at 75.735% when pulling 6eb429e88d7ea616fa2b7b7e82d5b64265d2a176 on turbolint into c44f45d3798dd5e1082d7bfc23bd13556e839427 on dev.


Relational Databases (MySQL, PostgreSQL) Integration

cuallee

[x] relational databases (MySQL, PostgreSQL)
[x] unit test
[x] docs
[ ] pyspark
[ ] snowpark
[ ] pandas
[ ] duckdb
[ ] polars
[ ] other

Relational Databases (MySQL, PostgreSQL) Integration
Utilizing Polars with the ConnectorX engine to read from a database, tables in relational databases can now be checked and validated. ConnectorX, written in Rust, has native support for Apache Arrow, enabling it to transfer data directly into a Polars's DataFrame without copying the data (zero-copy). More information about the ConnectorX engine can be found here.

This feature allows for the future integration of other DBMS, such as Redshift (via the PostgreSQL protocol) and ClickHouse (via the MySQL protocol), into cuallee.
✨ Feature Enhancements:

Added support for validating tables in PostgreSQL and MySQL, enabling more robust data integrity checks.
Added necessary dependencies to pyproject.toml.

🧪 Testing:

Implemented unit tests for all Compute methods to ensure their reliability and correctness. (Unit Tests for unimplemented methods are available but marked as skip.)
Added PyTest fixtures for automated unit tests for PostgreSQL and MySQL.
Added test cases as init-db-psql.sql and init-db-mysql.sql.
Added a unit test in test_validate.py to validate the type of outputted DataFrame, ensuring the resulting DataFrame is type polars_dataframe.
Added a unit test in test_validate.py to validate the error when a column is not found in the table.

📖 Documentation:

Updated the README.md
Added How-To to set up the test environment.

⛑ Know Issues:

It's important to note that most of PostgreSQL's Compute are inherited from DuckDB's Compute methods, so any changes in DuckDB's Compute methods will affect PostgreSQL's Compute methods.

has_std check could fail due to floating point precision. The approach suggested below could resolve it, but it needs to introduce a precision error parameter:
# PostgreSQL
f"CAST(STDDEV_SAMP({rule.column}) AS FLOAT) - CAST({rule.value} AS FLOAT) < {percision_error}"

# MySQL
f"""IF(
      CAST(STDDEV_SAMP({rule.column}) AS FLOAT) - CAST({rule.value} AS FLOAT) < {percision_error},
      'True', 'False')
"""

🦺 Limitation:
PostgreSQL
Not all checks are currently available for PostgreSQL. Unavailable checks:

is_daily
has_entropy
has_workflow

MySQL
Not all checks are currently available for MySQL. Unavailable checks:

is_daily
has_entropy
has_workflow
has_percentile
has_correlation
is_inside_interquartile_range

✈ Future Improvements:

Improve the Compute methods to support complex queries:
Because the Compute methods are used to create a unified query, it is impossible to create complex queries with multiple Compute methods. This section needed to be improved to support complex queries.
# In `psql_validation.py` and `mysql_validation.py`

unified_columns = ",\n\t".join([
        # This is the same as compute.`rule.method`(rule)
        operator.methodcaller(rule.method, rule)(Compute(check.table_name))
        + f' AS "{rule.key}"'
        for rule in check.rules ])

unified_query = f"""
SELECT
\t{unified_columns}
FROM
\t{check.table_name}
"""

Inherency Enhancement:
A significant portion of PostgreSQL's Compute functionalities are derived from DuckDB's Compute methods.
Therefore, any modifications to the Compute methods in DuckDB will directly impact the functionalities in PostgreSQL.
Consolidating these shared methods into a separate class for better manageability is advisable.

@dsaad68 thanks for this great addition. I will conduct a review and proceed with the integration.

If there are any issues with this suggestion, please let me know.

If there are any issues with this suggestion, please let me know.

Hi @dsaad68 there is no issues with the submission. We are in a ongoing review for the Journal of Open Source software, and they have indicated the lack of some documentation. Before adding more functionality, we would like to pass the JOSS review, with the consolidated docs, at least from the core classes and modules. I think once we pass this hurdle, we will be adding the new functionality. Hope that explains the delays. Thank you in advance.

@canimus I totally understand, good luck. Let me know if I can help.

Hi @dsaad68 thanks for your patience with this PR. Now that the paper is out of the way, and finally published, I would like to make sure your contribution is all-in, because this branch has been stalled for some time, and a few commits and merges have passed, would you kindly review if we can bring it to the current state, and resolve the conflicts highlighted above? Thanks in advance.

@canimus I will look at this week.


Squiz/EmbeddedPhp: fix false positive when handling short open tags

Description
This PR fixes a bug in Squiz.PHP.EmbeddedPhp that causes a false positive when handling short open tags and was reported in https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/588.
The content of a PHP long open tag token is <?php  (note the space after the tag). The content of a PHP short open tag is <? (no space after the tag). The sniff did not account correctly for this difference when checking the expected number of spaces after a short open tag, resulting in false positives and incorrect fixes.
Suggested changelog entry
Squiz.PHP.EmbeddedPhp false positive when checking spaces after a PHP short open tag.
Related issues/external references
Fixes #588
Types of changes

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

[ ] This change is only breaking for integrators, not for external standards or end-users.

[ ] Documentation improvement

PR checklist

[x] I have checked there is no other PR open for the same change.
[x] I have read the Contribution Guidelines.
[x] I grant the project the right to include and distribute the code under the BSD-3-Clause license (and I have the right to grant these rights).
[x] I have added tests to cover my changes.
[x] I have verified that the code complies with the projects coding standards.
[ ] [Required for new sniffs] I have added XML documentation for the sniff.

Thanks for reviewing this PR, @jrfnl. I applied your suggestions and it is now ready for a final check.


modified type from u16 to u32

I faced a type issue. Based on my JSON from google takeout, accuracy goes over u16 such as "74130". And then, I got following error message from yore.

thread 'main' panicked at 'called Result::unwrap() on an Err value: HistoryError(DeserializeError(ErrorImpl { code: Message("invalid value: integer 74130, expected u16"), line: 277226, column: 22 }))', libcore/result.rs:945:5

So I simply increases the size.

Thanks, I didn't know anyone was interested in this! 😮


relative redirects: url_canonicalize_port has no default without a scheme

This might not be a bug.
https://github.com/apache/trafficserver/blob/a0b5bd760f1cc67a98eeb0396970c733bc4d26fe/proxy/hdrs/URL.h#L253-L263
When following redirects, if a relative redirect is returned without a scheme (or a host name), then this code cannot choose a port number to use when following the redirect.
It might be good if ATS would be updated to be smarter when following such redirects (use the previous client request's scheme/port).

Labels: HTTP

This is still an issue.

Relates to #2742

I think I may have fixed this or at least broke it differently, you can give me the issue if you want.

This PR may have changed this behavior:  https://github.com/apache/trafficserver/pull/7545 .

I ran the redirect Au test under gdb, with a breakpoint in url_canonicalize_port().  The type parameter was never NONE, even though the test includes relative redirects, so looks like we're good.


How to add a custom column containing the name of the application?

My application consists of a lot of small applications. I use your library to aggregate the application log of all of them into one place to monitor and analyze it.
However, I don't know which small application the log is from.
In your sample example there is information about the machine_name column, however all of my small apps are running on the same server so it doesn't make sense.
Each of my small apps has a unique name, and I want it to display that name for each record that serilog writes to the database on the app_name column.
Please guide me to do this.
Thank you!

Does each application have an individual configuration of the sink? And do you configure the sink by using A JSON file or within the code?


move to 1.70.0 OnceLock from lazy_static

Remove dependence on lazy_static and move to Rust 1.70.0's OnceLock.

It might make more sense to delay this until LazyLock is stabilized. https://github.com/rust-lang/rust/issues/109736


Run gz sim on Windows

Desired behavior
I would like gz sim to work on native Windows, so that all the existing tutorials apply also on native Windows.
Alternatives considered
Manually run gz sim -s and gz sim -g on separate terminals forever.
Implementation suggestion
See rest of discussion.
Additional context
This is the next steps once https://github.com/gazebosim/gz-sim/issues/2089 is fixed, that should happen once https://github.com/gazebosim/gz-sim/pull/2382 is merged (this depends on a new gz-rendering release).
I opened a separate issue as https://github.com/gazebosim/gz-sim/issues/168 is more broad and covers a lot of Windows support (including fixing all the test suite) while this one covers only running gz sim on Windows.

I tried to quickly solve this in https://github.com/gazebosim/gz-sim/pull/2392, but it turned out to be quite complex to handle correctly the process shutdown, due to intrinsic complexity of Windows signal system and how it is wrapper in Ruby's APIs.
While I can try to tackle the problem, I wonder if the time may be spent better by working in solving https://github.com/gazebosim/gz-tools/issues/7 for gz sim.
@mjcarroll the last PR on the topic seems https://github.com/gazebosim/gz-sim/pull/694, could it make sense to try to update that PR or there have been relevant update on the topic? Thanks!

Note that to handle easily the routing of Ctrl+C events to the server and/or gui processes, it may be convenient to use a third party library such as tiny-process-library (https://gitlab.com/eidheim/tiny-process-library, used in Gazebo Classic) or reproc (https://github.com/DaanDeMeyer/reproc).

Actually we can use https://github.com/gazebosim/gz-utils/pull/98, hopefully subprocess.h is able to handle well Ctrl+C on Windows.

Actually we can use gazebosim/gz-utils#98, hopefully subprocess.h is able to handle well Ctrl+C on Windows.

This seems related: https://github.com/gazebosim/gz-utils/pull/127, and I am afraid it is hitting all the problems that I was encountering with propagating Ctrl+C on Windows in Ruby.

Signal handling and propagation on Windows is incredibly dumb. I honestly think finishing up standalone executables is the better approach.

I totally agree, the problem that also in that case we need to have the gz-sim executable that should be able to propagate the Ctrl+C to gz-sim-server and gz-sim-gui (unless we go for a single process for server and gui, but I am not sure if it is doable). On Gazebo Classic that is handled by https://gitlab.com/eidheim/tiny-process-library in https://github.com/gazebosim/gazebo-classic/blob/e4b4d0fb752c7e43e34ab97d0e01a2a3eaca1ed4/gazebo/gazebo_main.cc#L290, that is doing something quite specific I guess (see https://gitlab.com/eidheim/tiny-process-library/-/blob/v2.0.4/process_win.cpp?ref_type=tags#L297 and http://stackoverflow.com/a/1173396).

I think that tiny_process_library also uses ProcessTerminate, which is the equivalent of sigkill on Windows.  That will certainly stop the process, but it's not necessarily a clean way of doing it.  In my PR that you referenced above (gazebosim/gz-utils#127) I was trying to see if we could send something closer to a ctrl+c or ctrl+break on Windows to allow for a cleaner shutdown of processes.

I think that tiny_process_library also uses ProcessTerminate, which is the equivalent of sigkill on Windows. That will certainly stop the process, but it's not necessarily a clean way of doing it.

I am not sure about that, I never encountered zombie process on Gazebo Classic on Windows, but indeed I did not explicitly checked what is going on.

I created a package called drekar-launch that correctly uses Windows messages to terminate processes. There are small companion packages drekar-launch-process and 'drekar-launch-process-cppthat receive either Unix signals or Windows messages to terminate.drekar-launch` uses Jinja2 templates so I think you can implement the logic you have in Ruby using this package instead.
drekar-launch-process-cpp is in vcpkg and my conda channel (I can submit to conda-forge easily) so it should not be a difficult dependency to add. drekar-launch is a simple Python package that does not require more than a standard Python environment to run.

https://github.com/johnwason/drekar-launch
https://github.com/johnwason/drekar-launch-process
https://github.com/johnwason/drekar-launch-process-cpp

(I am using Gazebo 11 on Windows so I need a replacement if it is going EOL.)


Add ability to re-init calendar with new config

Now there is option to change one option with flatpickr.set(option, value)

Sets a config option option to value, redrawing the calendar and updating the current view, if necessary.

I'm making vue-wrapper for flatpickr and will be useful to re-init plugin with new config if something changed.

Hello,
You can already achieve what you want by destroying an existing instance and re-creating it.


new template app

The transfers app is quite complex and hard to use as a scaffold for new projects.
"Ping Pong" is a barebones demonstration of how users can interact with enclaves with Quartz.
This app should serve as the default template for people to copy and build off of.
Details on how to use it are in the README.
TODO

[ ] Improve documentation
[ ] Update Quartz documentation with this template
[ ] Change quartz init default to this

Great work!

This app should serve as the default template for people to copy and build off of.

Is the idea to have quartz init use this? If so, then I think we should have this in a separate repo and set it up as a GH starter template (and update the CLI to use this in quartz init), otherwise we run into similar problems as the transfers app (with the CI).


Hide dropdown menu all together?

Greetings, cool project!
I was wondering if there was a simple way to hide the expandable menu completely and only show user options when text is selected.
Thanks!

Hi Adam, thank you! :)
Yes, both the sidebar and the toolbar can be overwritten in the Editor if you want.
The sidebarRendererFn prop can be used when creating an Editor instance to provide your own custom sidebar, the one that comes up in the left with the plugin list. You can pass an empty component here if you don't want the sidebar to be rendered at all. But if you do want to use a custom sidebar just note that the sidebarRendererFn takes a prop object with the following properties:
plugins: array of valid plugins
editorState: DraftJS editorState object
onChange: handler for editorState changes
And the Toolbar prop can be used to pass a component for it to render instead of the rich text toolbar that shows up when text is selected (it also can be an empty component if you don't want it to render anything). And you can add custom actions if you want to, using the actions prop.
You can find some examples of usage of the props I mentioned above in this page:
http://megadraft.io/#/docs/customization
Hope this helps. And if you need help with anything else, just let us know :)

Perfect, thanks so much - worked like a charm.


Should not allow attempt to auth if no Vault targeted

Fails with "unsupported protocol scheme" instead of "No vault targeted" at present.

Addressed by 73bd16d2c33b77e75390b8ce2bedefc8a35d883b