Visual Studio 2022 for MAC support

Unfortunately, I don't own (nor do I plan to own) a Mac, and that's required to compile programs that will run on a Mac.
That's not to say that someone else may take this request under their wing and write an extension for that platform. Although I do know that the extension ecosystem on VS-Mac isn't quite up to what it is on VS-Win.
Closing.

Sorry to respond on a closed issue, but didn't want to clutter. Also easier if everything is kept in one place so tomorrow if you decide to, you could refer these findings.
I tried to load the code in VS2022Mac. Except for Dsl and DslPackage projects, all other projects seemed to load fine. For both Dsl.csproj and DslPackage.proj, replacing
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="17.0">

with
<Project Sdk="Microsoft.NET.Sdk">

loaded the projects. I checked EFCore7Parser.csproj and it had <Project Sdk="Microsoft.NET.Sdk">. So my guess is you need to update Dsl and DslPackage to new versions of VS?
Also, after the projects loaded, DslPackage had a warning that this project is not supported in VS2022Mac Community Edition.

This line seems to be the major issue:
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\DSLTools\Microsoft.DslTools.settings.targets" />
I could not find DSLTools anywhere on the Mac.
From the documentation it seems it is part of
Build Tools for Visual Studio 2022
These Build Tools allow you to build Visual Studio projects from a command-line interface. Supported projects include: ASP.NET, Azure, C++ desktop, ClickOnce, containers, .NET Core, .NET Desktop, Node.js, Office and SharePoint, Python, TypeScript, Unit Tests, UWP, WCF, and Xamarin. Use of this tool requires a valid Visual Studio license.
This seems to be Windows only.

This seems to be Windows only.

I believe it is. It's installed by default now with Visual Studio 2022 rather than as part of the VS SDK, but is complex enough (and old enough) that it hasn't been retooled for the libraries used by VS Mac.
DSL tools, once you dig into it (and so few do) is a masterful piece of work. Has its own patent. Lightly maintained by MS, but there really isn't much that needs done with it (seems that when modernization changes are made, they take a few iterations to clean out the bugs they introduced).


[EXTERNAL] Can't scroll the output of a code cell

Describe the bug
Hi. I can't scroll the output of a code cell in ms-dotnettools.dotnet-interactive-vscode
> #!about
.NET Interactive
Version: 1.0.206106+f90ff415badc98a82c7db599658df94ad527328a
Build date: 2021-01-17T18:56:34.7387164Z

> dotnet interactive --version
1.0.155302+ea10eecdeb2eb5f0ccbac5d7eec8b97a99453388

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[x] Visual Studio Code
[ ] Other (please specify)

Screenshots

Also sometimes I see something like:

Also sometimes I see something like:

Any update on this?

I realized that I didn't link the underlying issue in VS Code: https://github.com/microsoft/vscode-jupyter/issues/4406

The original issue should already be fixed now


Scala tests failing because fail to download instrumented.jar file

From https://ci.adoptopenjdk.net/view/External tests/job/openjdk8_hs_externaltest_x86-64_linux/33/console
18:48:13         [warn] ==== local: tried
18:48:13         [warn]   /root/.ivy2/local/org.scala-lang.scala-sha-bootstrap.test.files.speclib/instrumented/1b11ac773055c1e942c6b5eb4aabdf02292a7194/jars/instrumented.jar
18:48:13         [warn]   https://repo.lightbend.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap/1b11ac773055c1e942c6b5eb4aabdf02292a7194/test/files/speclib/instrumented.jar
18:48:13         [warn] 	::::::::::::::::::::::::::::::::::::::::::::::
18:48:13         [warn] 	::              FAILED DOWNLOADS            ::
18:48:13         [warn] 	:: ^ see resolution messages for details  ^ ::
18:48:13         [warn] 	::::::::::::::::::::::::::::::::::::::::::::::

We do have machine issue when running thirdparty container tests. This failure happened on test-packet-x64-ubuntu-16.04-1
comment in https://github.com/AdoptOpenJDK/openjdk-tests/pull/225
Docker Image fails on test-packet-x64-ubuntu-16.04-1, passed on test-scaleway-x64-ubuntu-16.04-1. Not sure the difference between those two machines. Remember recent system compiling failed on on one machine and passed on the other one. So are those machines set by playbooks from scratch? @gdams ?
Failure one:
https://ci.adoptopenjdk.net/view/work in progress/job/TestBuild_Sandbox/54/consoleFull
Good one:
https://ci.adoptopenjdk.net/view/work in progress/job/TestBuild_Sandbox/53/consoleFull

I am closing this as it was a result of some machine config change which allowed 2 jenkins executors to run on the machine at the same time.  We should only allow 1.  The infra team has corrected this, and I have not seen further issues of this kind.
Have opened a different one #303 for the fact that we have docker on 4/6 xlinux machines (where it used to be on all 2/2 machines we had, so we just used the linux tag to find machines to run on.


Cryopods access

The only way i see to get items from cryopods is to get AA. Which is kinda meh considering you cant even emag the thing to get items out of it. Just had a game as a syndie where CMO cryod with a hypospray, captain god knows where.

you dont need AA every head and det or something has cryo access
you can also microwave ops

Yeah, command, the detective, security and even cadets all have cryo access. All you need to do is steal an ID.


Fix for Retire Common Crawl DAGs

Fixes

Fixes #846 by @AetherUnbound
Description

This pull request has made the following changes

Retired the dags/commoncrawl module to retired folder
Made changes to some tests and airflowignore file in accordance with the above change

Testing Instructions

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Ah drat, it looks like #866 caused some merge conflicts 😓 I think the best way to resolve the conflicts might be to:

Open a new PR with the same changes done, but this time off of an updated version of origin/main or
I can open a PR using your commits and give you co-author credit while resolving the git conflict

I'm fine either way, the first option ensures you're still the PR submitter while option 2 is less work for you while still giving you credit. Which would you prefer @Pmeet? 🙂

Ah drat, it looks like #866 caused some merge conflicts 😓 I think the best way to resolve the conflicts might be to:

Open a new PR with the same changes done, but this time off of an updated version of origin/main or
I can open a PR using your commits and give you co-author credit while resolving the git conflict

I'm fine either way, the first option ensures you're still the PR submitter while option 2 is less work for you while still giving you credit. Which would you prefer @Pmeet? 🙂

I think you should do it since you are more experienced in handling this type of conflict. I'm afraid that since I'm new I'll break something somehow hehe.

Okay! I've made #870 and it looks like you were attributed correctly in the commits 😄 I'm going to go ahead and close this one in favor of the other, thanks for the contribution!


change pr-run-mode to plan

Hi! I saw the PR #21  that is failing, so I spend some time investigating and I believe this will fix it
cargo dist book

Thank you for you fix


Instant chat messages only chat once for the first time

Instant chat messages only chat once for the first time you open the program, for the next games it won't chat anything

I'm not able to reproduce so I'm not sure what the issue is

Hey, I noitice that you have resolved the issue, thank you!

I have not done anything to address this 🤷


fix: check all files

Rationale
All source file should have ASF headers.
Detailed Changes
Test Plan
CI

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Change the text color of CalendarMenuView

Hi ,
I want to change the text color of CalendarMenuView, ( Text color of the month ) . I tired both of the below codes .. But nothing worked.
_calendarMenuView.tintColor = [UIColor whiteColor];
[_calendarMenuView setTintColor:(UIColor *) [UIColor whiteColor]];

Any idea how to fix this ?

try this
self.calendar.calendarAppearance.menuMonthTextColor = [UIColor whiteColor];

Sorry @ilyon your code is for 1.x version.
Now you have to implement - (UIView *)calendarBuildMenuItemView:(JTCalendarManager *)calendar;.
Example:
- (UIView *)calendarBuildMenuItemView:(JTCalendarManager *)calendar;
{
	UILabel *label = [UILabel new];
	label.textAlignment = NSTextAlignmentCenter;
    label.textColor = [UIColor redColor];

	return label;
}

Thanks a lot .. It works ..


ENG-1267 - Show original for remixed projects on teacher dashboard

client for https://github.com/codecombat/ai/pull/301

Summary by CodeRabbit

New Features

Enhanced localization with new strings for project sharing and remixing.
Added support for displaying when an AI project has been remixed, with a link to the original project.

Bug Fixes

Improved formatting for better readability in the user interface.

Chores

Updated promotional content to reflect current offerings and initiatives.

@mrfinch the schema change is here: https://github.com/codecombat/codecombat/pull/7834/files#diff-7d6205ac7e35f5163408b1be7f86f148d276355f3055caca60d57e2b0b309e25


fix(other): fix currency formatting throughout app (#228)

Currencies in English should always have symbols and codes precede the
amount, not follow them, so this commit fixes all such instances
throughout the app.
Description
The change fixes grammatical issues in the app.
Fixes #228
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Does this PR fix an open issue?

[x] Yes
[ ] No

I'm not sure this is a desirable change.  One could argue that the unit should be locale aware but 5 btc definitely makes more sense in the US than btc 5.  I think the right thing to do here would be to display the number and unit based on the user's locale.
cc @bucko13 thoughts?

5 btc definitely makes more sense in the US than btc 5

It does not, as shown on this US GPO style guide. In fact, they're based on languages, and in English (regardless of locale/dialect), codes and symbols always precede the amount (e.g., $5 and USD 5, not 5$ and 5 USD).

Yikes. Old. Sorry. I think we should probably establish a formatting guideline around a lot of things like this, regardless of where we end up and it should be made public in a document in the repo for any contributors. Absent that and since I could see an argument either way, I say we close for now until then.

@bucko13 That's fine, but the formatting document would just publicize the format that this PR is fixing anyway, since that's the proper way to format currencies in English, so why not just merge instead?


[Suggestions] Good ideas for the cheat.

Matchmaking server picker: a feature that let the player choose what server he wants to play in before he starts mm, this feature is available on some cheats and even has its own app Here. it would be a good addition for it but its not necessary

forward tracking (prediction engine): a feature in the aimbot section that helps the aimbot predict where the enemy is going, what will the enemy do next its like backtrack but in reverse instead of abusing the enemies' old actions it predicts the enemies next actions, a good feature for hvhs.

a playerlist menu: a new tab on the cheat that displays all players that are connected to the server in a list and when a player is selected it shows some info about his profile/game(like rank/level or kills/deaths/kd/hs%) and also make you able to report bot him by typing how many reports you want and it reports them with a 2sec or so delay, i also want this feature really badly (a feature that make you able to save a person's steamid for many different reasons to make it easy to find later)

a profile changer: adds the ability to fully customize in-game profile by editing (wins/skillgroups for all 3gamemodes competetive/wingman/dangerzone, commends, medals) it needs protobufs to get all these features to work so its a bit harder than the other ones.

music kit changer: additional customization option on the skinchanger tab might be good to add

live statrak counter: counts gained kills and add them to your statrak weapon if enabled.

anti-aim desync chams: enable chams to differentiate between the real angle and the fake angle

dont be toxic please.

I think these are all good ideas apart from the music player one which is
useless and would do nothing to improve the cheat which is why not many
cheats have it.
On Fri., 27 Dec. 2019, 10:39 pm AbdallahMehiz<EMAIL_ADDRESS>wrote:

Matchmaking server picker: a feature that let the player choose what
server he wants to play in before he starts mm, this feature is available
on some cheats and even has its own app Here
https://gamebanana.com/tools/5684. it would be a good addition for
it but its not necessary
2.
forward tracking (prediction engine): a feature in the aimbot section
that helps the aimbot predict where the enemy is going, what will the enemy
do next its like backtrack but in reverse instead of abusing the enemies'
old actions it predicts the enemies next actions, a good feature for hvhs.
3.
a playerlist menu: a new tab on the cheat that displays all players
that are connected to the server in a list and when a player is selected it
shows some info about his profile/game(like rank/level or
kills/deaths/kd/hs%) and also make you able to report bot him by typing how
many reports you want and it reports them with a 2sec or so delay, i also
want this feature really badly (a feature that make you able to save a
person's steamid for many different reasons to make it easy to find later)
4.
a profile changer: adds the ability to fully customize in-game profile
by editing (wins/skillgroups for all 3gamemodes
competetive/wingman/dangerzone, commends, medals) it needs protobufs to get
all these features to work so its a bit harder than the other ones.
5.
music kit changer: additional customization option on the skinchanger
tab might be good to add
6.
live statrak counter: counts gained kills and add them to your statrak
weapon if enabled.
7.
anti-aim desync chams: enable chams to differentiate between the real
angle and the fake angle
dont be toxic please.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/issues/916?email_source=notifications&email_token=AOBUH2T2HCHQQ7ECHFDIT63Q2XSOLA5CNFSM4J72ZQ5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC3GAEQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBUH2RGMAHHQPQOBAJ66Y3Q2XSOLANCNFSM4J72ZQ5A
.

I think these are all good ideas apart from the music player one which is useless and would do nothing to improve the cheat which is why not many cheats have it.
…
On Fri., 27 Dec. 2019, 10:39 pm AbdallahMehiz, @.***> wrote: 1. Matchmaking server picker: a feature that let the player choose what server he wants to play in before he starts mm, this feature is available on some cheats and even has its own app Here https://gamebanana.com/tools/5684. it would be a good addition for it but its not necessary 2. forward tracking (prediction engine): a feature in the aimbot section that helps the aimbot predict where the enemy is going, what will the enemy do next its like backtrack but in reverse instead of abusing the enemies' old actions it predicts the enemies next actions, a good feature for hvhs. 3. a playerlist menu: a new tab on the cheat that displays all players that are connected to the server in a list and when a player is selected it shows some info about his profile/game(like rank/level or kills/deaths/kd/hs%) and also make you able to report bot him by typing how many reports you want and it reports them with a 2sec or so delay, i also want this feature really badly (a feature that make you able to save a person's steamid for many different reasons to make it easy to find later) 4. a profile changer: adds the ability to fully customize in-game profile by editing (wins/skillgroups for all 3gamemodes competetive/wingman/dangerzone, commends, medals) it needs protobufs to get all these features to work so its a bit harder than the other ones. 5. music kit changer: additional customization option on the skinchanger tab might be good to add 6. live statrak counter: counts gained kills and add them to your statrak weapon if enabled. 7. anti-aim desync chams: enable chams to differentiate between the real angle and the fake angle dont be toxic please. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#916?email_source=notifications&email_token=AOBUH2T2HCHQQ7ECHFDIT63Q2XSOLA5CNFSM4J72ZQ5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC3GAEQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBUH2RGMAHHQPQOBAJ66Y3Q2XSOLANCNFSM4J72ZQ5A .

If u put it that way, skinchangers are also useless to you and does not make the cheat better, but you forget the aesthetic standpoint that many users want, else skinchangers won't be as common.


language server crash

I followed the quickstart, but always got:
RuntimeError: abort(TypeError: soljson.cwrap is not a function). Build with -s ASSERTIONS=1 for more info.
    at process.abort ($.vscode\extensions\juanblanco.solidity-0.0.106\node_modules\solc\soljson.js:1:13939)
    at process.emit (events.js:315:20)
    at processPromiseRejections (internal/process/promises.js:209:33)
    at processTicksAndRejections (internal/process/task_queues.js:98:32)
[Error - 下午10:56:56] Connection to server got closed. Server will not be restarted.

npm install truffle -g
mkdir MetaCoin
cd MetaCoin
truffle unbox metacoin
code .

truffle version

Truffle v5.1.65 (core: 5.1.65)
Solidity v0.5.16 (solc-js)
Node v12.18.4
Web3.js v1.2.9

.vscode\settings.json

{
    "workbench.colorCustomizations": {
        "activityBar.background": "#23311C",
        "titleBar.activeBackground": "#314527",
        "titleBar.activeForeground": "#FAFBF9"
    },
    "solidity.compileUsingRemoteVersion": "v0.6.11+commit.5ef660b1"
}

And I use Solidity: Change workspace compiler version (Remote) to switch version & restart vscode for several times, but it still got that.

Hi @hellodword, can you make sure that the setting solidity.enableLocalNodeCompiler": false is set to false?

Hi @hellodword, can you make sure that the setting solidity.enableLocalNodeCompiler": false is set to false?

Thanks @juanfranblanco. And yes I added this but it still crash.
{
    "workbench.colorCustomizations": {
        "activityBar.background": "#23311C",
        "titleBar.activeBackground": "#314527",
        "titleBar.activeForeground": "#FAFBF9"
    },
    "solidity.compileUsingRemoteVersion": "v0.6.11+commit.5ef660b1",
    "solidity.enableLocalNodeCompiler": false
}

I tried the solidity.compileUsingLocalVersion, here is the results:

works fine with the soljson.js in truffle

    "solidity.enableLocalNodeCompiler": true,
    "solidity.compileUsingLocalVersion": "C:\\Users\\PRIVATE\\.config\\truffle\\compilers\\node_modules\\soljson-v0.5.16+commit.9c3226ce.js",

crash with remote version

    "solidity.enableLocalNodeCompiler": false,
    "solidity.compileUsingRemoteVersion": "v0.5.16+commit.9c3226ce"

crash with the local version but downloaded by vscode-solidity

    "solidity.enableLocalNodeCompiler": true,
    "solidity.compileUsingLocalVersion": "C:\\Users\\PRIVATE\\.vscode\\extensions\\juanblanco.solidity-0.0.106\\soljson-v0.6.11+commit.5ef660b1.js",

Got it! When I switch the remote version, it will create a file like soljson-v0.6.9+commit.3e3065ac.js, but it could not download it successfully (maybe because of my weird network, I dont know).
But the language server will use an empty soljson.js without check or prompt.
I think adding some check will be better, I'm not sure if the keccak256 is the hash of the file.
Thanks a lot! @juanfranblanco

I think an option to decide where to fetch the list or download the bins is useful:
https://github.com/juanfranblanco/vscode-solidity/blob/3ad375087f0b484d42127d6b94af6d1b3546b7d9/src/compiler.ts#L52
https://github.com/juanfranblanco/vscode-solidity/blob/3ad375087f0b484d42127d6b94af6d1b3546b7d9/src/solcCompiler.ts#L171
For example, by default:
"solidity.fetchListUrl": "https://solc-bin.ethereum.org/bin/list.json",
"solidity.downloadBinFrom": "https://raw.githubusercontent.com/ethereum/solc-bin/gh-pages/bin/soljson-%s.js",

use jsdelivr (global CDN):
"solidity.fetchListUrl"<EMAIL_ADDRESS>"solidity.downloadBinFrom"<EMAIL_ADDRESS>
And also, check and retry is needed here:
https://github.com/juanfranblanco/vscode-solidity/blob/3ad375087f0b484d42127d6b94af6d1b3546b7d9/src/solcCompiler.ts#L208-L218
Ref
jsdelivr doc

Thanks.. @hellodword !! Great feedback.

Thanks.. @hellodword !! Great feedback.

:)
Maybe it's caused by https.get, I got read ECONNRESET every time.
I tested it alone:
const https = require('https');
const fs = require('fs');

const file = fs.createWriteStream("soljson-v0.6.11+commit.5ef660b1.js");
const request = https.get("https://raw.githubusercontent.com/ethereum/solc-bin/gh-pages/bin/soljson-v0.6.11+commit.5ef660b1.js", function(response) {
  response.pipe(file);
});

events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
Emitted 'error' event on ClientRequest instance at:
    at TLSSocket.socketErrorListener (_http_client.js:426:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}

Maybe related: TLSWrap.onStreamRead issues
Hope helpful!


Link new babili plugin documentation

#1029 needs to be merged first.

I sorted this section.
Thanks for your review.


about the LadderBots.json file's set on "RootPath"

the ladder_manager has no "RootPath",and the name is Path.Also, the "filename" is not existing.When I change the "RootPath" to "Path",it's right and it work fine.But I can't see the picture always when the game start, did you have this problem ?

Unfortunately, this PR was not yet merged with the LadderManager. Try my fork or wait (hopefully) till this evening or tomorrow evening.

The pull request was merged. Now the LadderBots.json file has the fields RootPath and FileName: see here


\dots wrapped in math mode

Via https://tex.stackexchange.com/q/431932/35864
Consider the following MWE
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=authoryear, backend=biber, texencoding=ascii]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{DeDeVa00a,
  author    = {Lieven {De Lathauwer} and Bart {De Moor} and Joos Vandewalle},
  doi       = {10.1137/S0895479898346995},
  journal   = {SIAM Journal on Matrix Analysis and Applications},
  number    = {4},
  title     = {On the Best Rank-1 and Rank-{$(R_1, R_2, \dots, R_N)$} Approximation of Higher-order Tensors},
  volume    = {21},
  year      = {2000},
  pages     = {1324-1342},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
\cite{DeDeVa00a}
\printbibliography
\end{document}

Note the texencoding=ascii to make sure that the .bbl is written as ASCII and not as UTF-8 where the \dots is translated into the UTF-8 character … (I happen to find this unfortunate as well and would much prefer if \dots were left untouched, but this is not the main point of concern here)
The .bbl produced by Biber reads
\field{title}{On the Best Rank-1 and Rank-{$(R_1, R_2, {$\dots$}, R_N)$} Approximation of Higher-order Tensors}

I.e. the \dots is incorrectly wrapped in {$ and $}. This throws up the math processing quite a bit here.

Please try the DEV versions of biblatex and biber. \dots is no longer decoded/encoded.

Works good. Thank you.


How do you especify the security Rule you want to update ?

As far as I can see in the code the only param for the script is the tag to get updated
I would like to know how do you specify which security Group you want to update
I am thinking of a evolution of the script which will receive: securityGroupId, tag and hostname
It will resolv the hostname to fetch the IP address that hostname resolves (instead of looking for my own IP always)
Then go over the securityGroup and modify IP the the rules with such tag with the appropriated IP.
I will try to merge this changes as soon as I get something done., but first I will need to get how do yo specify the security group in you script.
Regadrs

If I am not mistaken, you just do not modify an specific  security group. Instead you just filter all the rules from all security groups with the given tag. I will just provide a way to tell the security group ID instead.


[R2] Workers Runtime APIs layout & formatting

Which Cloudflare product does this pertain to?
R2
Existing documentation URL(s)

https://developers.cloudflare.com/r2/data-access/workers-api/workers-api-reference/

Section that requires update
Layout and formatting.
What needs to change?
The current layout, whilst satisfactory for a type reference, will struggle to scale as the APIs gain more options and require more explanations/walkthroughs on how to properly utilise them.
As an example, the addition of the new checksums supported in R2PutOptions means that either:

Every checksum is listed on it's own, with an aside that only one can be used at a time.
The type for the 'checksum' in R2PutOptions becomes md5 | sha1 | sha256 | sha384 | sha512

Either way, it becomes very verbose and will easily confuse people.
How should it change?
Taking inspiration from well-regarded documentation layouts such as docs.rs (i.e https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html), we should come up with a consistent structure on documenting Worker's Runtime APIs that we can then extend to refactoring the pages for KV, Durable Objects and the like.
We want a good middle-ground between providing a reference, and providing a how-to, without going too in-depth that the material would be better split off into it's own how-to page.
As an example of one potential layout that was discussed by myself and @Frederik-Baetens:

Using the <details> element, this allows us to:

Provide a lot of value without cluttering the rest of the page, as it's expandable.
Preserve the 'searchability' of the content, as CTRL+F on the majority of browsers will 'look inside' a <details> element.
Additionally include small examples, not in-depth or niche enough for their own page, under additional <details> elements.

The 'signature' of the function is shown to provide a type reference to those who 'know what they're doing' and just need a quick look at what the types are, with further explanations of what those types actually are further down.
The rest of the tab explains what dictates which type will be returned, and then goes on to include some bite-sized examples.

Additional information
Original discussion: https://github.com/cloudflare/cloudflare-docs/pull/5897

As per some feedback in the Discord, I quite like the idea of having the overall 'method' element open but the examples collapsed.

Makes it easier to skim at a glance.

Здравейте,Може ли чат на живо?


Fixing a bug with the use of MetricRegistry

Codecov Report

Merging #768 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #768      +/-   ##
============================================
- Coverage     65.56%   65.55%   -0.01%
+ Complexity     3902     3899       -3
============================================
  Files           342      342
  Lines         25908    25909       +1
  Branches       3233     3233
============================================
- Hits          16986    16985       -1
+ Misses         8021     8019       -2
- Partials        901      905       +4

Impacted Files
Coverage Δ
Complexity Δ

.../main/java/com.github.ambry/store/StoreCopier.java
63.21% <0%> (-0.42%)
9 <0> (ø)

...n/java/com.github.ambry/store/DiskReformatter.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.clustermap/Partition.java
82.43% <0%> (-4.06%)
23% <0%> (-1%)

...m.github.ambry.clustermap/HelixClusterManager.java
93.59% <0%> (-0.72%)
32% <0%> (-1%)

...in/java/com.github.ambry.network/SocketServer.java
82.78% <0%> (-0.41%)
13% <0%> (ø)

...ain/java/com.github.ambry.router/PutOperation.java
89.95% <0%> (-0.23%)
69% <0%> (-1%)

.../main/java/com.github.ambry.router/PutManager.java
84.82% <0%> (+0.68%)
22% <0%> (ø)
:arrow_down:

.../main/java/com.github.ambry.store/HardDeleter.java
81.93% <0%> (+1.93%)
42% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


In order to satisfy the requestor, TSI will deliver the finished report to the requestor in 24 hours or less.

This rule comes from TSI company policy regarding advertised delivery.  To complete this rule the software will export the report in an efficient time and will automatically upload the report.

This rule comes from TSI company policy regarding advertised delivery. To complete this rule, the software will export the report in less than 1 minute and will automatically upload the report to the selected destination.


Method Cash On Delivery not working!

In new update use of payment module
when i select method free shipping it's not working!!

It should work now


fix: add pull check for missing s3 objects, ref #8233

Description of changes
Adds check to print a helpful message for when there is an error fetching an s3 object

Issue #, if available
ref #8233
Description of how you validated changes
Checklist

[x] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #8250 (745ff7a) into master (e7a125b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8250   +/-   ##
=======================================
  Coverage   55.67%   55.67%
=======================================
  Files         691      691
  Lines       38504    38504
  Branches     7796     7796
=======================================
  Hits        21439    21439
  Misses      16276    16276
  Partials      789      789

Continue to review full report at Codecov.

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


NEXT-8058: Added config to make phone number input optional for conta…

…ct form

1. Why is this change necessary?
The phone number input should be optional in the contact form.
2. What does this change do, exactly?

Adds a configuration to basicInformation.xml to make phone number input optional in contact form
Adds BuildValidationEvent in ContactFormValidationFactory
Adds check in storefront if phone input should be marked as required
Leaves the default to required to not change the default behaviour

3. Describe each step to reproduce the issue or behaviour.

Submit contact form without phone number
Enable optional phone number input
Submit contact form without phone number

4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-8058
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-11792
Please use this issue to track the state of your pull request.

Rebased current master to have successful checks ;)

Hey @claudiobianco , thank you very much for your contribution! :tada:


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cbr/ibm (source)
module
minor
1.27.0 -> 1.28.0

terraform-ibm-modules/cos/ibm (source)
module
minor
8.11.16 -> 8.13.1

terraform-ibm-modules/event-notifications/ibm (source)
module
minor
1.10.23 -> 1.13.0

Release Notes

terraform-ibm-modules/terraform-ibm-cbr (terraform-ibm-modules/cbr/ibm)
v1.28.0
Compare Source
Features

added two new inputs to the fscloud profile: allow_vpcs_to_iam_groups and allow_vpcs_to_iam_access_management. By setting these to true, the following FSCloud SCC rules will pass:- Check whether IAM access management can be accessed only thorugh a private endpoint (Context-based restrictions or service) and allowed IPs<br>- Check whether IAM access groups can be accessed only through a private endpoint (Context-based restrictions or service) and allowed IPs` (#548) (10c5bc9)

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.13.1
Compare Source
Bug Fixes

deps: update terraform-module (#739) (b58ba8e)

v8.13.0
Compare Source
Features

removed support for passing an Activity Tracker CRN to COS buckets. Activity Tracker is a deprecated service, and if activity_tracker_read_data_events, activity_tracker_write_data_events and activity_tracker_management_events are set to true, events are sent to whatever is specified in the Activity Tracker Event Routing service configuration  (#738) (79f86c6)

v8.12.0
Compare Source
Features

add 'cos_account_id' output (#743) (c2f8765)

terraform-ibm-modules/terraform-ibm-event-notifications (terraform-ibm-modules/event-notifications/ibm)
v1.13.0
Compare Source
Features

Updated the KMS auth policies created by the module and DA to now scope them to the exact KMS Key ID. Previously auth policies were scoped to the whole KMS instance. This change has been implemented in a way where it will create the new auth policy first before destroying the old one to ensure there is no disruption to every day operations.
updated the configuration in the DA that is used to stored failed events in a COS bucket to now use the direct COS endpoint by default (previously it was using the public endpoint). This change is done as an update in place. (#313) (80b244f)

v1.12.0
Compare Source
Features

Since Activity Tracker is a deprecated service, the ability to pass the CRN of an Activity Tracker instance (existing_activity_tracker_crn) in the DA solution to configure the IBM Cloud Object Storage bucket that is used for storing failed events has been removed. Events are now sent according to what is specified in the accounts ATracker Event Routing service configuration. This change will cause an update in place on the COS bucket if using the DA to create one. (#316) (85b939d)

v1.11.0
Compare Source
Features

added support to the DA to create service credentials and manage them in Secrets Manager (#266) (3171580)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.8.14 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix orm for tables in directories

fix for issue https://github.com/ydb-platform/ydb-sqlalchemy/issues/31
sqlalchemy core doesn`t reproduce this problem, only orm.

we also decided to change _ to __ for this effect: my/dir/my_table -> my__dir__my_table


how to obtain training dataset?

Hi, thanks for sharing such a great project! Howver, I'd like to know that is there any way to obtain or create some customized trainig data?
Because I'd like to reproduce the fully pipeline of the project!
Many thanks!

We currently provide the training set of the "style transfer" model, which can be re-trained.
In the near future, we will also provide the training data and procedure for the retargeting model.


set_weights crashes in custom train_step() method

System information

Have I written custom code (as opposed to using a stock example script
provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue
happens on a mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.4.1
Python version: 3.8.0
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 11.0/8
GPU model and memory: Quadro RTX 6000 (24GB)
Exact command to reproduce:

class DummyExample(tf.keras.Model):
    def __init__(
        self,
        output_dim: int,
        decay_rate: float
    ):
        super(DummyExample, self).__init__()
        self.output_dim = output_dim
        self.decay = decay_rate
        self.encoder_1 = self.create_encoder()
        self.encoder_2 = self.create_encoder()

    def create_encoder(self):
        encoder = tf.keras.Sequential()
        encoder.add(tf.keras.Input(shape=(4,), dtype=tf.float32))
        encoder.add(tf.keras.layers.Dense(
            units=self.output_dim,
            activation='relu'))
        return encoder

    def call(self, x: tf.Tensor, training: bool = False):
        return self.encoder_1(x, training=training)

    def train_step(self, data):
        x = data
        out_2 = self.encoder_2(x, training=True)
        with tf.GradientTape() as tape:
            out_1 = self.encoder_1(x, training=True)
            loss = self.compiled_loss(out_1, out_2)
        enc_1_grads = tape.gradient(loss, self.encoder_1.trainable_weights)
        self.optimizer.apply_gradients(zip(enc_1_grads, self.encoder_1.trainable_weights))

        # update encoder_2
        enc_1_weights = self.encoder_1.weights
        enc_2_weights = self.encoder_2.weights
        for i in range(len(enc_1_weights)):
            enc_2_weights[i] = self.decay * enc_2_weights[i] + (1-self.decay) * enc_1_weights[i]
        self.encoder_2.set_weights(enc_2_weights)
        return {'loss': loss}

dummy_model = DummyExample(2, 0.99)
dummy_model.compile(optimizer=tf.keras.optimizers.Adam(3e-4), loss='mse')

x = np.random.normal(size=(100, 4))
ds = tf.data.Dataset.from_tensor_slices(x)
ds = ds.batch(10)

dummy_model.fit(ds, epochs=2)

Describe the problem
The above fit() call for the dummy example raises
TypeError: in user code:

    /usr/local/lib/python3.8/dist-packages/tensorflow/python/keras/engine/training.py:805 train_function  *
        return step_function(self, iterator)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/keras/engine/training.py:795 step_function  **
        outputs = model.distribute_strategy.run(run_step, args=(data,))
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/distribute_lib.py:1259 run
        return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/distribute_lib.py:2730 call_for_each_replica
        return self._call_for_each_replica(fn, args, kwargs)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/distribute_lib.py:3417 _call_for_each_replica
        return fn(*args, **kwargs)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/keras/engine/training.py:788 run_step  **
        outputs = model.train_step(data)
    <ipython-input-63-77e2fc2e32e6>:36 train_step
        self.encoder_2.set_weights(enc_2_weights)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/keras/engine/base_layer.py:1877 set_weights
        backend.batch_set_value(weight_value_tuples)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/util/dispatch.py:201 wrapper
        return target(*args, **kwargs)
    /usr/local/lib/python3.8/dist-packages/tensorflow/python/keras/backend.py:3706 batch_set_value
        x.assign(np.asarray(value, dtype=dtype(x)))
    /usr/local/lib/python3.8/site-packages/numpy/core/_asarray.py:83 asarray
        return array(a, dtype, copy=False, order=order)

    TypeError: __array__() takes 1 positional argument but 2 were given

I think set_weights works only with list of numpy arrays, which somehow doesn't seem to work when the train logic is defined in the train_step() function. This issue has a similar problem when the function containing set_weights is decorated by tf.function. Any workaround is greatly appreciated. Thanks in advance.

Was able to replicate the issue in TF 2.6.0-dev20210531,please find the gist here..Thanks !

@hm2092 hi, have you solved this problem and by how? @rmothukuru ,why there's no update on this issue for half an year?

Hello @sjtusmartboy, i implemented a workaround with callbacks. I wrapped the EMA update for self.encoder_2 in a tf.keras.callbacks.Callback wrapper class. Although the training was a little bit slow due to this, it was enough for my use case.

@hm2092
Can you please move this to closed status as its resolved.

Any news on this?


QoS proposal

@vishh @bgrant0607 @dchen1107 @erictune @yujuhong PTAL when you have time, and let me know what you think.
cc'ing @vmarmol @rjnagal

Hi. I like this proposal in general, but I have a few comments. I went through a few different approaches to try to give the feedback. This was the best I could come up with, but I'm happy to talk in person because this may still be incomprehensible.
At a high level, I think there are three things to consider changing about your proposal:

Completely ignoring best-effort pods in scheduling is likely to cause problems. The main concern is that you can get into an infinite loop of OOM kill. As a trivial case, consider a cluster with one machine. It is running a top-tier pod that requests and uses 100% of the machine's memory. Now someone submits a best-effort pod. It will schedule onto that machine and immediately be killed once it starts trying to use memory. It will then reschedule onto that machine over and over and over again. I'm not sure it's possible to solve this problem without jumping into using both "request" and "limit." But if you're just going to just use "limit" then I think for now the best you can do is something like this:

(i) When scheduling a top-tier pod, ignore best-effort pods
(ii) When scheduling a best-effort pod that specifies a limit, only schedule it onto the machine if capacity - sum of top-tier limits - sum of best-effort usages - new pod's limit >= 0
(iii) When scheduling a best-effort pod that specifies no limit, do the same as in (ii) but pretend the new pod's limit is some reasonable value (maybe use the default values we're using for memory and CPU when spreading zero-limit pods)
Maybe for CPU this isn't an issue because you wouldn't kill, but I would suggest applying the above policy at least for memory.
(Before someone jumps in and suggests some kind of rate limiter to detect these rescheduling loops -- I do not like the approach of using scheduling rate limiters when there are static approaches to avoid these kinds of problems, such as what I described above.)

It seems there are some downsides to the way you plan to handle CPU shares for best-effort pods, both in the short-term plan and the long-term plan. I think the behavior we really want is something like: top-tier pods are always guaranteed to be able use up to their limit; whatever is "left over" from their usage is distributed among the best-effort pods in a fair way.

As a concrete example, let's say there are three pods
T: top-tier, limit 60%, wants to use 100%
L: best-effort, limit 60%, wants to use 100%
B: best-effort, no limit specified, wants to use 100%
The system would give the following distribution: T gets 60% of the CPU, L gets 40%-epsilon, and B gets epsilon. I don't have a problem with putting all the no-limit best-effort pods in a single cgroup that gets a fixed share, but I think the best-effort pods that do request a limit should not be put into that cgroup.

I didn't see any mention of killing based on exceeding memory limit (as opposed to killing due to OOM killer). We should configure the cgroups for memory so that a pod is killed if it exceeds its memory limit, for the pods that specify limit. For the pods that don't specify limit (which should only be allowed for best-effort pods, I think), we would not kill them but should make them the first to be killed when there is an OOM.

Oh, it just occurred to me that you can't do the thing I suggested in 1) (ii) because we don't report usage as an API endpoint available to the scheduler yet. Until we have that, I think you would still benefit from doing what I suggested there (and just pretend sum of usages is zero). I understand the argument that this hurts utilization, but until we have separate "request" and "limit" I think this is the most reasonable thing to do.

@ncdc @derekwaynecarr

cc @timothysc

cc @eparis

Agree with Brian that you should phrase this proposal in terms of adding "request" fields.

Can you elaborate on the interplay with ResourceQuota?  Right now, as I read this proposal if a quota is applied to a namespace, I am only able to run top tier pods.  At one point, I thought we discussed ResourceQuota for each tier.  I need to think about this some more, but I suspect I do not want the presence of a ResourceQuota to prohibit my namespace to a single tier of pod in that Namespace.

I don't think we need to introduce priority or tiers at this time (in a way other than by adding request).  I've commented on this on #147.

@davidopp Thank you very much for your useful feedback! If you have time, I'd like to talk to you in person to understand some of your concerns better. I'll post my thoughts on the issues you mention, 1 per comment.

Issue 1: I agree that best-effort pods getting killed, then returning to the same node, then getting killed, ad infinitum, is an issue. However, I think the main point of adding a best-effort tier of pods is to overcommit nodes and increase utilization. If we use limits of top-tier pods when deciding to schedule best-effort pods, I don't see how the system will be different from what we have right now.
Like you mention, ideally, we would collect and use resource information when deciding to schedule best-effort pods. I think scheduling based on resource information can be easily plugged into my framework. Until we do that, I think the proposed system will enable good overcommitment, without introducing problems that the current system doesn't have. IIUC the restart problem exists in Kubernetes right now, because the scheduler assumes that pods that don't specify memory limits have a memory limit of 0 (I could be wrong about this).

Issue 2: To clarify, my proposal will give T 100%-epsilon of the CPU, L epsilon CPU, and B will get less than epsilon CPU. Are you saying that "T gets 60% of the CPU, L gets 40%-epsilon, and B gets epsilon" is what should happen? I think that makes sense. I think we should be able to achieve that with a manager that adjusts the CPU shares allocated to the Best-effort cgroup. What do you think?

Issue 3: Pods will be killed if they exceed their memory limit.

Just had a great discussion with @bgrant0607 @davidopp @vishh @vmarmol IRL and I'll post an updated design doc tonight, which will hopefully address some of the issues, so I'll hold off a little on answering some of the questions until then! Thanks everyone for the very useful feedback :)

I've overhauled the design doc based on the discussions with @bgrant0607 @davidopp @vmarmol @vishh. The design now includes support for resource requests, and involves 3 tiers of pods (Guaranteed, Burstable, Best-Effort). I've also resolved some of the issues raised in the comments. PTAL and let me know what you think - thanks!

@derekwaynecarr Here's my plan for ResourceQuota:

The pods limits (instead of requests) will be compared with the hard quota for the resource. So if I have a hard quota of 2gb for memory, I cannot run 2 pods with (request: 0.5gb, limit: 1.2gb), because the sum of limits (2.4gb) is greater than 2gb. This makes semantic sense, because we don't (ever) want usage to exceed the hard quota.
Even if a quota is applied to a namespace, you can run pods of any tier. The quota simply ensures that the sum of pod limits is less than the hard quota.

Given the other points discussed over VC, I think this should be backwards compatible. Let me know what you think.

I think I prefer a solution of associating a ResourceQuota with a tier of
service.  I need some more time to spec out my thoughts on it this week.
On Wednesday, July 29, 2015, Ananya Kumar<EMAIL_ADDRESS>wrote:

@derekwaynecarr https://github.com/derekwaynecarr Here's my plan for
ResourceQuota:

The pods limits (instead of requests) will be compared with the hard
quota for the resource. So if I have a hard quota of 2gb for memory, I
cannot run 2 pods with (request: 0.5gb, limit: 1.2gb), because the sum of
limits (2.4gb) is greater than 2gb. This makes semantic sense, because we
don't (ever) want usage to exceed the hard quota.
Even if a quota is applied to a namespace, you can run pods of any
tier. The quota simply ensures that the sum of pod limits is less than the
hard quota.

Given the other points discussed over VC, I think this should be backwards
compatible. Let me know what you think.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/11713#issuecomment-126162208
.

Hit send too soon.   If I have an environment where I want to restrict the
ability of a user to specify a limit, and instead only allow a user to
provide a request (think tier 2 pods where the limit may actually be
applied via admission control and not by user), in that tier of service I
want to set a limit on sum of requests.  For tier 1 pods where request ==
limits, I don't think there is any issue.  I will write something up this
week.
On Wednesday, July 29, 2015, Derek Carr<EMAIL_ADDRESS>wrote:

I think I prefer a solution of associating a ResourceQuota with a tier of
service.  I need some more time to spec out my thoughts on it this week.
On Wednesday, July 29, 2015, Ananya Kumar<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

@derekwaynecarr https://github.com/derekwaynecarr Here's my plan for
ResourceQuota:

The pods limits (instead of requests) will be compared with the hard
quota for the resource. So if I have a hard quota of 2gb for memory, I
cannot run 2 pods with (request: 0.5gb, limit: 1.2gb), because the sum of
limits (2.4gb) is greater than 2gb. This makes semantic sense, because we
don't (ever) want usage to exceed the hard quota.
Even if a quota is applied to a namespace, you can run pods of any
tier. The quota simply ensures that the sum of pod limits is less than the
hard quota.

Given the other points discussed over VC, I think this should be
backwards compatible. Let me know what you think.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/11713#issuecomment-126162208
.

@derekwaynecarr That totally makes sense, and I'm looking forward to your write-up.
For the first stage, I'm going to keep ResourceQuota as I described above (mostly unchanged from what it is now). This will keep the system backwards compatible. Later on, we can have a discussion about how ResourceQuota can be improved to account for requests and for multiple tiers.

@bgrant0607 @timothysc @dchen1107  Thanks for your comments, I'll revise the doc today with what we've discussed.

@vmarmol @bgrant0607 @dchen1107 @vishh @davidopp Redid the proposal based on our discussions last week.

LGTM.  But I'm pretty sure @derekwaynecarr & @smarterclayton will want to run through as well one more time with all the latest edits.

Yes, will look tomorrow morning.
On Aug 3, 2015, at 5:08 PM, Timothy St. Clair<EMAIL_ADDRESS>wrote:
LGTM. But I'm pretty sure @derekwaynecarr
https://github.com/derekwaynecarr & @smarterclayton
https://github.com/smarterclayton will want to run through as well one
more time with all the latest edits.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/11713#issuecomment-127406723
.

@bgrant0607 we talked about merging this in if it's mostly OK, and then initiating another PR to move it into design, with update on progress - what do you think? Thanks for all your helpful comments!

Please rebase and run gendocs. Once shippable and travis pass, we can merge this and move the doc and fix problems in subsequent PRs.

BTW feel free to address my comments in a follow-up PR. No need to block submitting this.

Need to re-run hack/run-gendocs.sh.

Let's run Shippable again, there's an integration test test failure with TestUnschedulableNodes, which is probably a race, since the PR doesn't modify any code :)

LGTM. Shippable failure was a flaky integration test.

Restarted

Flaky test failed again :( Doesn't have anything to do with this PR though


Tracking page views in a Single Page App

I'm using counterscale with Next.js and on page load it sends a trackPageview event to Cloudflare. However, on subsequent page views (where Next.js is effectively a SPA) nothing is sent to Cloudflare. I have tried:

Calling window.counterscale("trackPageview") on navigation
Setting the data-spa="auto" property on the counterscale script tag. (This property is available on the Fathom script so I thought I'd give it a go here!)

How can I make sure that my SPA page views are tracked? Thanks!

@ninjaPixel First, thanks for submitting this. 🙏

How can I make sure that my SPA page views are tracked?

I think we need to augment tracker.js to be aware of (and track) navigation changes using PopStateEvent (mdn).
But before that, we need to add tests to the tracker using Playwright or something similar. I've been reticent to add functionality to the tracker because it's not covered at the moment.


'LiteDBPad.DumpableBsonDocument' does not contain a definition

I can successfully connect to my db.
The Tables are listed and I can view content, for example:
AllComment.Take (100)
Returns a Results table of IEnumerable<DumpableBsonDocument>

_id
_type
EntityId

00000000-0000-0000-0000-000000000000

00000000-0000-0000-0000-000000000000

...

If I try
AllComment.Where (a => a._id == '00000000-0000-0000-0000-000000000000')

'LiteDBPad.DumpableBsonDocument' does not contain a definition for '_id' and no extension method '_id' accepting a first argument of type 'LiteDBPad.DumpableBsonDocument' could be found (press F4 to add a using directive or assembly reference)

I've added the References to the dll that contains the Comment class.
I've added the Namespace.
Is there anything else I need to add?

DumpableBsonDocument is more or less a Dictionary<string,object> so you can go with something like:
AllComment.Where(_ => _["_id"] == "00000000-0000-0000-0000-000000000000")
or better (as you actually use LiteDB engine):
AllComments.FindOne("00000000-0000-0000-0000-000000000000")

Thanks for the reply,
Unfortunately the Where returns (0 items) but at least it's not getting the error anymore,
FindOne

The name 'AllComments' does not exist in the current context

ok mine was just pseudo code, I suppose the issue is with the Guid type (I guess you used that type for the id).
Please try with something like:
AllComment.Where(_ => _["_id"] == Guid.Parse("00000000-0000-0000-0000-000000000000"))
and (Comments instead of All)
Comments.FindOne(Guid.Parse("00000000-0000-0000-0000-000000000000"))
Please note that All is just a shortcut for .FindAll()

Where

The call is ambiguous between the following methods or properties: 'LiteDB.BsonValue.operator ==(LiteDB.BsonValue, LiteDB.BsonValue)' and 'System.Guid.operator ==(System.Guid, System.Guid)'

FindOne

Cannot execute text selection: The best overloaded method match for 'LiteDB.LiteCollection<LiteDBPad.DumpableBsonDocument>.FindOne(LiteDB.Query)' has some invalid arguments
Argument 1: cannot convert from 'System.Guid' to 'LiteDB.Query'

Errors seem pretty self-explaining...
Have you tried some tests? like:
AllComments.Where(_ => (Guid)_["UniqueId"] == Guid.Parse("00000000-0000-0000-0000-000000000000"))
or
Comments.FindOne(Query.EQ("UniqueId", Guid.Parse("00000000-0000-0000-0000-000000000000")))

Comment.FindOne(Query.EQ("_id", Guid.Parse("00000000-0000-0000-0000-000000000000")))
Found the record, Thanks


implement pointer input navigation

In addition to LRUD style spatial navigation, some connected TV devices also offer pointer based input. LG has this as a feature, known as "magic remote".

see https://github.com/JohnPaulHarold/crt/tree/crt239/pointer-input-navigation


password

Describe the bug
actually  i run this code first is running good suddenly few time later it showing password is wrong however i check the password is not wrong plus i change the password also its doesnot work
here;s error message
File "c:\codes\OOPs\app2.py", line 81, in
login()
File "c:\codes\OOPs\app2.py", line 14, in login
loader.login(username, password)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\instaloader.py", line 651, in login
self.context.login(user, passwd)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\instaloadercontext.py", line 302, in login
raise BadCredentialsException('Login error: Wrong password.')
instaloader.exceptions.BadCredentialsException: Login error: Wrong password.
To Reproduce
Steps to reproduce the behavior:
(e.g. Instaloader command line)
Expected behavior
A clear and concise description of what you expected to happen (even if it seems obvious).
Error messages and tracebacks
If applicable, add error messages and tracebacks to help explain your problem.
Instaloader version
instaloader --version output.
Additional context
Add any other context about the problem here.

I encountered a similar issue with a specific account. Even when entering the correct password. i couldn't log in through the browser. Resetting the password did not resolve the problem, as I continued to receive an incorrect password error when trying to log in elsewhere. So i just changed the account

Incomplete bug report.
no code visible
constantly logging in again and again flags/blocks your account.


missing dependencies?

When starting the server on Ubuntu 21.10 I get a missing dependency for Express.
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'express' imported from /home/user/arcinvoice/server/index.js

Did you try to install express npm install express ?

Hi @bvdberg and @Panshak,
I solved your issue for your missing dependency please use NPM INSTALL in both Client Application and Server Application.
It will resolve you problem
in Terminal run

npm install      // install all required libs

or

npm install express      // for install express lib Issue

I can able to see website and able to login

@mayuri-dhote Thank you.


[web]: callback exit/destroy.

how to detect app exit/destroy in browser?

Hi @pejman-74
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


iron-form submit doesn't work

Submitting a form like
 <form is="iron-form" id="form" method="post"  action="http://localhost:4040/person/new">
          <paper-input name="firstName" type="text" label="First" style="display: inline-block;" autofocus></paper-input>
          <paper-button><button>Add</button></paper-button>
      </form>

handling the request on the server like so
 var jsonString = await req.transform(UTF8.decoder).join();
      print(req.headers);
      print(jsonString);

results in
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.0 (Dart) Safari/537.36
connection: keep-alive
accept: */*
accept-language: en-US,en;q=0.8
accept-encoding: gzip, deflate
origin: http://localhost:63342
content-length: 15
host: localhost:4040
content-type: application/x-www-form-urlencoded
referer: http://localhost:63342/polymer_10_demo/web/index.html

[object Object]

Looks like what happens when you do
var json = form.serialize();
    print(json);

from Dart.

You can workaround this by submitting the form manually
 IronForm form = this.querySelector('#form');
 var json = form.serialize();
 var jsonString = context['JSON'].callMethod('stringify', [json]);
 var client = new BrowserClient();
 var response = await client.post('http://localhost:4040', headers: {'content-type':'application/json'}, body:jsonString);

There's a bug in version of the polymerjs iron-request element currently included with the library. It's not encoding the request body according to the content-type like it's supposed to. Pulling in the the latest version of the polymerjs element iron-ajax/iron-request should fix this.

thanks for investigating this, I should be able to pull in the new version early next week

Cool. Just a heads up, they added at least one new element with tests (IronCheckedElementBehavior).

pretty sure this is fixed


Add Developer Tools category

This PR adds Developer Tools category for marketplace. This category is required for CRW https://github.com/operator-framework/community-operators/pull/193 and Eclipse Che https://github.com/operator-framework/community-operators/pull/280  operators. Also new operators that bring k8s developer tooling can use this category.

@eivantsov Thank you for this PR! This looks good to me
/cc @galletti94


[Help] Multiple questions: chat/user ids, session status etc.

Hello. I have multiple questions:

Are users and chats IDs mutable ? In what cases if so ?
How session is considered to be active ?
How tdlib handles connection problems ? Are there any properties like reconnection timeout, connection timeout, tries number etc. ?
What's the best way to export channel history (messages, files, etc) ?

This is unspecified.
All non-terminated sessions are "active sessions".
Everything just works. Apps don't need to adjust anything.
The best way is to use Telegram Desktop to export chat history.

This is unspecified.

It looks like I already ran into this.

All non-terminated sessions are "active sessions".

Does it mean that an "active session" has persistent connection to telegram servers ?

Everything just works. Apps don't need to adjust anything.

Is there any method to show status of "everything just works" ?

The best way is to use Telegram Desktop to export chat history.

It requires the desktop app installed. I rather asked about methods and structures.

Does it mean that an "active session" has persistent connection to telegram servers ?

There is no notion of "active sessions" besides response of getActiveSessions and it returns all non-terminated sessions.

Is there any method to show status of "everything just works" ?

There is updateConnectionState.

Is there any method to show how stable (how many errors) connection to telegram servers is ?

You are very oversimplifying things. There is no such thing as connection errors, reconnect timeout, tries number. The whole logic is much more complicated.

It requires the desktop app installed. I rather asked about methods and structures.

TDLib doesn't support chat history export.

There is no notion of "active sessions" besides response of getActiveSessions and it returns all non-terminated sessions.

Ok. If I set session ttl to 366 and just listen for new messages (no sending). How soon my session will be terminated ?

There is updateConnectionState.
Looks interesting.

You are very oversimplifying things.
I'm trying to figure out why one of two client (the same phone number, different instances/apps) stops working after ~24 hours. And I need some tools for investigation.

TDLib doesn't support chat history export.

Are there any plans to add this feature in near future ?

@levlam ping


No support for LaTex

When deployed to Medium, LaTex text is not parsed as an image.
Result given when deployed to Medium

Thanks for adding this. Will add to the roadmap and get to it at a later time.

Thank you @kurtispykes for adding this... I was going to add the same issue.
@tdpetrou I'd be happy to take a look at it and help if help is needed/welcomed =)

I had a go yesterday at doing this and it turns out it's:

Nothing really to do with jupyter_to_medium - it's more a fundamental challenge with latex embedded in markdown
It's harder than it sounds

I tried various solutions like this one - identify latex then use matplotlib to .png it then embed as image but this will only really work for a cell completely occupied by latex.
It's not going to work for cells where I talk about '$x$' or '$y$' and want the latex to be embedded with the text. I haven't yet found a solution that beats unfortunately using the medium editor and screenshot-ing the rendered latex from a notebook. Even this method prevents the ability to mix latex and text in a single markdown cell.
Have you seen anywhere else in the last 6 months that handles this well or can point me to any stuff? Would be happy to do some more research and try to implement.

Building on the idea from @mjam03 I used Matplotlib to render the LaTeX so that it will be saved as inline figures in the notebook, and will consequently be send to Medium. Here is an example.
This means that you will need to modify your notebook to get this to work, which is not ideal, but still easier to do manual work in generating the equations as images.
I don't know if there is some elegant way to automate something like this in the present package (which I find great by the way! :)

I've had another look at this one and think I can manage it. The idea will be modest at first and will only work for cells which are pure Latex i.e. not '$x$' embedded in amongst other text but a cell which contains only '$$mathjax_latex_code$$'. Will see if I can sort it tomorrow but will be doing the following:

create another preprocessor to handle this
preprocessor will check input to see if it starts with '$$' and finishes with '$$' denoting it a 'latex cell'
this should work even for multi-line expressions although from first glance things like \begin{align} don't seem to work with the matplotlib conversion (which is annoying for aligned multi-line equations)
use the matplotlib conversion to strip the latex out, convert to an image and insert this image back into the notebook in place of the latex code cell
the image preprocessor will then do the work of inserting this image into our Medium article through the previous process

I'll give it a go and see how it turns out - if it works well then it's a nice way to avoid having to amend the notebook to have inline figure as @martinlarsalbert has suggested. If not then I'll explore if we can merge that idea in as having support for latex would be really nice.

I think I've managed it. It's limited in scope but it seems to work pretty well. The following is what I did (I'll write some documentation for it and do a proper release to PyPI this week):

go through the notebook and look for cells where the source starts with and finishes with '$$' - this is what denotes a LaTeX code block without any text as trying top convert LaTeX surrounded  by normal text is very challenging
once we have those cells, then alter their format by:

removing the '$$' signs
removing things like \begin{align} and \end{align} as the matplotlib latex converter doesn't support these
try to replace the above alignment tags 'cleverly' so the equation should still look pretty aligned
run the converted LaTeX string through the matplotlib converter to generate an image
embed this image in the notebook where the markdown LaTeX code was

then the standard process of finding the images and uploading them to the medium server takes over


fix: manager redis config convert

Signed-off-by: bigerous<EMAIL_ADDRESS>fix nil-pointer panic
Description

Related Issue

Motivation and Context

Screenshots (if appropriate)
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)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1680 (c85dc46) into main (8376cc9) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1680      +/-   ##
==========================================
- Coverage   41.86%   41.77%   -0.10%
==========================================
  Files         125      125
  Lines       15455    15455
==========================================
- Hits         6471     6456      -15
- Misses       8472     8483      +11
- Partials      512      516       +4

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
41.77% <0.00%> (-0.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

manager/config/config.go
0.00% <0.00%> (ø)

...ent/daemon/peer/peertask_piecetask_synchronizer.go
48.58% <0.00%> (-0.95%)
:arrow_down:

client/daemon/peer/peertask_conductor.go
57.77% <0.00%> (-0.91%)
:arrow_down:


Installer not prompting for username

Hello, I ran into an issue last night when setting up a new seedbox. I've successfully used this script a few times, so I don't think it's user error. I'm using the latest release.
I ran rtsetup with the command given on the readme, and then called rtinst with
sudo rtinst -d -l
It goes through the setup - verifies the IP, and then at the part where a new user is generally created, it skips it saying root already exists. It continues and finishes - I tried twice with new Ubuntu 16.04 installs and it did the same thing, and then I was locked out of the root account with no new account to login with.
The third time around, I ran it specifying the username and password in the command line (with -u and -p), and then it created the user account like normal, and prompted for the ruTorrent password as usual.
It may have been a fluke, but with it happening to me twice, I figured I should let you know so you can double check.
Thanks,
Ineluctable

What is happening, is you are confusing the script by using sudo when already logged in as root. I will apply a fix to this so won't be an issue, but in the meantime, just run it logged in as root without using sudo, so just:
rtinst -dl

Ok applied a fix to latest patch release 1.4.1, you should not encounter this issue again.

Thanks, that was quick!


on branch 3.0, fix issue #8611, use HTTPS

issue no #8611

Codecov Report

Merging #8630 (cb031e5) into 3.0 (17ba017) will decrease coverage by 0.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #8630      +/-   ##
============================================
- Coverage     62.94%   62.74%   -0.20%
+ Complexity      313      311       -2
============================================
  Files          1117     1117
  Lines         46811    46765      -46
  Branches       7046     7012      -34
============================================
- Hits          29465    29343     -122
- Misses        14057    14122      +65
- Partials       3289     3300      +11

Impacted Files
Coverage Δ

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-20.69%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
43.47% <0.00%> (-15.22%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
62.06% <0.00%> (-6.90%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-6.53%)
:arrow_down:

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
:arrow_down:

...pache/dubbo/remoting/transport/AbstractServer.java
57.14% <0.00%> (-5.72%)
:arrow_down:

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
:arrow_down:

...ache/dubbo/remoting/api/NettyEventLoopFactory.java
36.36% <0.00%> (-5.31%)
:arrow_down:

... and 40 more

Continue to review full report at Codecov.

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

conflict should be resolved

done, thanks


tests: Improve automated tests for submessages.

Added an additional test case to test_submessages.py for testing the message object containing submessages meta data.
Previous to this commit we were never validating the submessage schema in the message objects.
Fixes #25896.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Updates:

Added some more logic in testing for extra safety as suggested by @PIG208.

Ready for another look :)

@zulipbot add "integration review"

LGTM!

Nice, merged, thanks @Lalit3716 and @PIG208!


Ambient waypoint test flake

https://prow.istio.io/view/gs/istio-prow/logs/integ-assertion_istio_postsubmit/1774280229741662208.
We get logs like 2024-03-31T03:48:39.160862Z  WARN proxy{uid=7136ad06-c86c-4879-b89f-8eedd1377582}:outbound{id=c6448ce0a846e223caca1d2a903a4c2a}: ztunnel::proxy::outbound: failed dur=106.83µs err=unknown waypoint: unable to determine waypoint upstream.
Config dump seems ok, but not sure what the UID even is exactly... opened up https://github.com/istio/ztunnel/issues/861 as well

haven't seen similar and this codepath has changed a lot; closing for now


[FLINK-22275][table] Support random past for timestamp types in datagen connector

What is the purpose of the change
Introduce a max-past duration option for timestamp type fields. If the max-past is specified, it will resolve a past timestamp relative to the current timestamp of the local machine.
You can use it to achieve the out-of-order effect.
Brief change log

Add a max-past option for timestamp types in datagen connector.

Verifying this change
This change added tests and can be verified as follows:

Added test that validates that the max-past option is available.

Does this pull request potentially affect one of the following parts:

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

Documentation

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

@flinkbot attention @wuchong @lirui-apache

@wuchong PTAL.

cc @lirui-apache

@luoyuxia Thanks for your comments, fixed them.

@luoyuxia @wuchong Do you have some time to make this change continue?

Thanks @wuchong , i've pushed the fix. PTAL

I will merge it once build is passed.

Thanks @wuchong


Support programming font ligatures, such as used in firecode

I know alacritty isn't a big fan, but I like them...

It will be supported with option to turn on/off

This should be fixed now by the latest v0.1.0 release.
Although no option to turn off right now.

Although no option to turn off right now.
we need to either close this or https://github.com/lapce/lapce/issues/1372

Additional features to consider:

Support for Stylistic Set options (e.g. ss01, ss02, etc.)
Support for Character Variant options (e.g. cv01, cv02, etc)


WIP: chore(DIST-264): Fix visual tests and run in Cypress

Fix failing visual tests. Fix Travis to report failing tests. Replace WebdriverIO and Selenium with Cypress for running visual tests.
Note: This is a work in progress.

Embed script preview available: https://embed.typeform.com/2da44e13f48b12c8d13e579b2e642d309b602c83/embed.js

Embed script preview available: https://embed.typeform.com/9c2414e165062082c35c6d3e7771610c62673280/embed.js

Embed script preview available: https://embed.typeform.com/62c0555c21c967315b057f5f675d24a472e2f700/embed.js

Embed script preview available: https://embed.typeform.com/dd9b5d35c1c7cf992a055f78ad96920a720c5ae7/embed.js

Embed script preview available: https://embed.typeform.com/f3e3f7c10bd1fe0174f41fce02deb9c3f87f1f7d/embed.js

Embed script preview available: https://embed.typeform.com/e34396073e527e0f551a29c60697be8382344f14/embed.js

Great job, keep it up! 👏 👏 👏

🚀

Embed script preview available: https://embed.typeform.com/73406a8ca424e7428713bd3dac2f2b9bad3771b3/embed.js

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pdfs with flattened forms can't be printed in Adobe Reader or Acrobat

What were you trying to do?
Print a pdf flattened with pdf-lib.
How did you attempt to do it?
Open the file in Adobe Reader or Acrobat, and click cmd/ctl + P.
What actually happened?
Two successive errors popped up:

The document could not be printed.
There were no pages selected to print.

What did you expect to happen?
The pages to print.
How can we reproduce the issue?
Download the flattened form here by clicking the button:
https://jsfiddle.net/Hopding/skevywdz/2/
Open the file in either Adobe Reader or Adobe Acrobat and print it.
Version
1.17.1
What environment are you running pdf-lib in?
Browser, Node
Checklist

[X] My report includes a Short, Self Contained, Correct (Compilable) Example.
[X] I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes
Tested in Acrobat DC Pro 2022.002.20191 on Mac OS 13.0.1

This is also happening for me. A few notes from testing that I have;
1.) This does NOT occur with pdfs that only have text input fields with their own unique names
2.) This does occur on a pdf with only text input fields that share a common name
Therefore, It seems to be related to any pdf field that is flattened with child widgets.
Additionally an Acrobat preflight shows "Incorrect value type for array element at index N"

I have yet to find a workaround.

Do you have any updates on this? (We're experiencing the same issue).

WORKAROUND:
Replace:
pdfForm.flatten();

with:
pdfForm.getFields().forEach((formField) => formField.enableReadOnly());

Additionally, the resulting PDF is smaller. We are not sure how/why.

WORKAROUND:
Replace:
pdfForm.flatten();

with:
pdfForm.getFields().forEach((formField) => formField.enableReadOnly());

Additionally, the resulting PDF is smaller. We are not sure how/why.

Yep, that is the exact same workaround I used.

This PR fixed the issue for me: https://github.com/Hopding/pdf-lib/pull/1268


[GHSA-g27j-74fp-xfpr] Insecure default value for CORS configuration

Updates

Affected products
CVSS
Description
Severity

Hi there @rijkvanzanten! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


K/N repaints duplicate lines if any particular line is too long horizontally

To repro:

Run:

fun main() = session {
    var count by liveVarOf(0)
    section {
        textLine("Attempt #$count")
        (0 until 20).forEach { j ->
            text(" long line [$j]")
        }
        textLine()
    }.runUntilKeyPressed(Keys.Q) {
        onKeyPressed {
            if (key == Keys.SPACE) count++
        }
    }
}

Press SPACE a few times.

In JVM, this refreshes all the text correctly. After pressing space 5 times:
Attempt #5
 long line [0] long line [1] long line [2] long line [3] long line [4] long line [5] long line [6] long line [7] long line [8] long line [9] long line [10] long line [11] long line [12] long line [13] long line [14] long line [15] long line [16] long line [17] long line [18] long line [19]

In K/N, this leaves stale text behind:
Attempt #0
Attempt #1
Attempt #2
Attempt #3
Attempt #4
Attempt #5
 long line [0] long line [1] long line [2] long line [3] long line [4] long line [5] long line [6] long line [7] long line [8] long line [9] long line [10] long line [11] long line [12] long line [13] long line [14] long line [15] long line [16] long line [17] long line [18] long line [19]

Probably some wrap setting I need to set in K/N that JLine (which JVM uses) was doing for me.

Ah whoops, I'm not overriding my Terminal#width interface correctly. Fix should be relatively simple.

This was fixed in rc2


how to use password in the iframe?

i want to set password in the iframe, but it is not work. how can i do it?

There is no way to provide password via iframe attribute. But you may modify viewer to sniff frameElement. There is nothing we can do on our side, since it inherently unsafe to provide password in clear text (why not just remove that from PDF?). Closing as answered.


627 ljw mov parallel 2

Resolve Issue #627
Here, the changes were migrated from PR https://github.com/PCMDI/pcmdi_metrics/pull/628 because the previous branch was based on outdated master and rebase process was not going smooth.

NOTE: Some more cleaning up and checking needed before fully merging to master. Please do not merge this until told.

@gleckler1 I believe this branch is ready to be merged.

@lee1043  Before we merge this with master lets first settle on where to put our in-house param files, e.g.,
/variability_mode/doc/myParam_test.py → ...ariability_mode/param/myParam_demo_NAM.py
We know have another PR with a proposal of where to put these ;-)
There are some failures with the circleci tests, but I recall you indicated Lina suggested we can live with them.   Do you know if they will they count against our "success" rate?

@muryanto1 Some tests are still failing even after I have taken care of all flake8 related issues. I see below log from circle ci, any chance that is looking familiar to you?
CondaHTTPError: HTTP 504 GATEWAY TIME-OUT for url <https://conda.anaconda.org/cdat/label/nightly/linux-64/vtk-cdat-<IP_ADDRESS>.2.2<IP_ADDRESS>.56.g3aa9eaf-py36_mesalibh3081630_0.tar.bz2>
Elapsed: 01:00.037931
CF-RAY: 5ed3f105c8e92598-IAD

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

@lee1043 HTTP Error indicates there is a network issue in circle ci at the time the test ran, please do "Rerun Workflow from Failed" in circleci.

@muryanto1 will do, thank you very much for your comment.

@gleckler1 internal parameter files were moved to under the sample_setups directory

@lee1043 It looks like the job has stalled because we are using the free version.

@lee1043 Shall I merge this now?

@gleckler1 yes please :)


Add passing of data in files to 'Enable User Input' section of README

Is your feature request related to a problem? Please describe.
As it stands now, the README does not include serialized data in the 'Enable User Input' section. This was a functionality used in many scripts from other institutions. Ex. Batch Update Top Containers
Describe the solution you'd like
Add a bullet point in the 'Enable User Input section' to indicate batch upload and batch update of serialized data.

Good catch! I've renamed the issue to make it a little more apparent what we're talking about here. I'm also wondering if this is more of a configuration issue as opposed to a user input issue?

The work required on this issue is to continue to scope out what this issue means (and add additional issues if necessary).

see #41


Class for box-sizing: border-box

It seems odd that there isn't a standalone class for this, considering how often I need it. Is there a reason this class doesn't exist?

@jxnblk Sorry, there were some issues with GH here (after creating this I got a 404, and the issue list didn't show it), so I created #80. Anyway, it's sorted out.


feat(Geosuggest): Add 'queryDelay' parameter with a default of 250ms

I'm implementing debounce in a similar manner to Issue #131, with a default delay of 250ms.

Thank you!

Just released in version 1.24.0.


Updating Sandbox with changes in Master

Docs Build status updates of commit 8e8d35b:
:clock10: Pending: waiting for processors (18 builds ahead of you)
:warning: Docs Build is busy, currently there are 18 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 8e8d35b:
:clock10: Full build: the average full build time is 9 min(s) 24 sec(s), this is based on the last 25 build(s) for this repository.
:warning: This is a FULL build due to a recent Docs Build service upgrade, normally no action is required on your part. In the result you find subsequent builds still performing full builds, please contact your repository admin to manually perform a full build on the 'sandbox' branch. For more detailed info, please click here.

Docs Build status updates of commit 8e8d35b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/the-biztalk-server-message.md
:white_check_mark:Succeeded
View

biztalk/core/troubleshooting-problems-with-msdtc.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


typo

@nicknezis

Awesome! Let me know when this is ready to merge.
If this metrics query is now working, the exceptions page on the component/instances is also broken. I can merge this in and future fixes can be another pull request.


crash server

Describe the bug
https://paste.loliidc.cn/?ef0b6f465b58621e#7p7i44uxtuTJbCyuHrnxPR9yJGFftdiAxzS8H6KwCvim
To Reproduce
Steps to reproduce the behavior:
I have no idea how to reproduce, someone on the server did it
Expected behavior
?
Screenshots
nope
System (please complete the following information):

Occultism Version:  1.21.1
OS: [e.g. Windows] unbuntu 20
Minecraft Version: 1 16 5
Modpack Link and Version, or list of mods: no

Additional context
Yes, I am using loliserver as my server base, this is Forge + Spigot. But if Spigot finds such a bug, then it can be reproduced on Forge as well. But the player just did how to reproduce it, I don't know.

I've had a similar report before, but in both cases the actual crash/stalling is in a vanilla method related to the dimension registry, which my mod only accesses. The access to the registry is directly based on the item NBT of the storage controller, but vanilla really should even handle invalid data without such behaviour, which makes it a bit tricky to fix, especially without a way to reproduce it.
That said, could you try to obtain the item NBT for the following:

The storage remote the player used that caused the crash
The storage actuator (harvested as item)

You can obtain the nbt by holding the item in your hand and running /occultism nbt, it should print the nbt to chat and it should show up in the log. A pastebin of that would be fantastic.
Thanks for your assistance!

I've had a similar report before, but in both cases the actual crash/stalling is in a vanilla method related to the dimension registry, which my mod only accesses. The access to the registry is directly based on the item NBT of the storage controller, but vanilla really should even handle invalid data without such behaviour, which makes it a bit tricky to fix, especially without a way to reproduce it.
That said, could you try to obtain the item NBT for the following:

The storage remote the player used that caused the crash
The storage actuator (harvested as item)

You can obtain the nbt by holding the item in your hand and running /occultism nbt, it should print the nbt to chat and it should show up in the log. A pastebin of that would be fantastic.
Thanks for your assistance!

I will interrogate several players and find out what caused this

Sorry, I couldn't figure out the reason(

@XionioXMaster thank you for looking into it though!
I will close this for now, but if you do find any info on it please ping me and I will reopen it and investigate!


Showing "Content Credentials unavailable or invalid" error on Leica photo

This photo is from a Leica M11-P with C2PA:
https://baseline.proofmode.org/ipfs/QmUXcukAgpQDHVfEWqQ1DDw2yutZtJsVyqmA9uZR59monf
However the error below is showing. We have seen this from some other files as well such as this one:
https://baseline.proofmode.org/ipfs/QmW92bBjzQmXRvS9viekeLCJJVAaJYgkSzhVsjZhswPuex?filename=1699236937031.jpg

Both of these files work fine in the Verify tool:
https://contentcredentials.org/verify?source=https://baseline.proofmode.org/ipfs/QmUXcukAgpQDHVfEWqQ1DDw2yutZtJsVyqmA9uZR59monf
https://contentcredentials.org/verify?source=https://baseline.proofmode.org/ipfs/QmW92bBjzQmXRvS9viekeLCJJVAaJYgkSzhVsjZhswPuex

Hi, thanks for raising the issue.
We are aware of this bug and relayed it to the team behind the library we use to read manifests: https://github.com/contentauth/c2pa-js/issues/125

Thanks a lot for reporting this @n8fr8 - adding a few other links where we experience the same issue:
https://truepic.com/truepic-sign/ (truck picture, bottom left)

@n8fr8 happy to let you know that this issue has finally been resolved, sorry for the delay but this was a hard nut to crack. It was due to one of the crypto library not working properly in a sandbox. We now have moved away from using a sandbox. Many thanks for your report.


tickets - allow viewing older patchsets

Originally reported on Google Code with ID 542
What steps will reproduce the problem?
1. Close a ticket via patchset and merge.
2. Edit the ticket to mark as open.
3. Push new patchset

What is the expected output? What do you see instead?
gitblit correctly recognized that this is a 2nd patchset for the same ticket. But it
only shows the 2nd patchset. There is no proper way to see the commits which were part
of patchset1 (or in general past patchsets)

What version of the product are you using? On what operating system?
v1.6.2, GitBlit WAR

Please provide any additional information below.
Relevant discussion : https://groups.google.com/forum/#!topic/gitblit/FuiFhZhys8o

Reported by dharapvj on 2014-12-29 07:03:28

:+1: this would be very useful - any eta?

Hasn't been started so eta is currently not predictable.