Lots of issues

Ok let's be real this extension is great and all but it cause an incredible amount of lags.
I estimated around 40% more occurence of lag spikes and random freezes since it's launched in-game.
My network connection is fecking 500mb/s that can't be slow lol.
Proof : https://gyazo.com/b93e671b2e768c7a1cd8f4809c407090
"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/."
Stuff : https://gyazo.com/0848d7651adb47270d500599964ee968
More Stuff : https://gyazo.com/974f4fe8832fa91fae4ed7787824ca62
Hope I helped somehow lol

Also update the link of the extension in the thing https://gyazo.com/6ca12893b7cbf15e8c1ab7d5e9df3362
lolthx

Whenever you pick a gun it shows a red line (aim range) which is fine BUT if you stay idle it change to...something else that isn't accurate.
Except if I'm lacking knowledge guns don't change aim range when you stay idle lol.
Fix this kthx @Kalaborative  I :heart:  your projects!

The AJAX request isn't really a bug, just a warning.. I'll look into how to load files async instead
To the other comment, that's normal. Shooting guns when idle gives more accurate shot then shooting while moving. That's part of the mechanics of the game!

For now, I'm going to rollback the team information code, since jQuery is known for being a little slow, I'll also minify some of the files, hopefully that will help

Well that answer everything lol
I've suggested the aiming thing cuz I never noticed a difference from shooting idle than while moving.
Also I've used powerofuniverse eversion in the past and the aim didn't had that owo.

And also, enable keybinds to be enabled. Lets say "SPACE" key as "fire" is not working

Hi, good suggestions but number 3 shouldn't be used for the right mouse button as i use that to active the auto aim, I don't want the aim to be on constantly, only when it is needed. That's what made the other extensions hard to use and made looting and breaking crates difficult whenever enemy come near you.
Again Kalaborative very nice work on the extension. ❤

Totally in agreement with you @IME9 , the automatic target is too confusing, it was better when it was more presiso and it was only deactivated / activated with the letter * Z * only for certain cases and the X15 aspect is confused, the X8 was better ....... Outside of that, it is good that someone takes the time for this type of projects :D

@ALEXXANDRO23 Totally agreed with your agreement of my message :rofl:

And also, enable keybinds to be enabled. Lets say "SPACE" key as "fire" is not working

Ive not see any hacks that could keybind "SPACE" to shoot for some reasons. I think the game just doesn't give the choice of shooting with "SPACE"

And also, enable keybinds to be enabled. Lets say "SPACE" key as "fire" is not working

Ive not see any hacks that could keybind "SPACE" to shoot for some reasons. I think the game just doesn't give the choice of shooting with "SPACE"
@humphreygaming
Because spacebar's keycode is zero, it think it is None

And also, enable keybinds to be enabled. Lets say "SPACE" key as "fire" is not working

Ive not see any hacks that could keybind "SPACE" to shoot for some reasons. I think the game just doesn't give the choice of shooting with "SPACE"
@humphreygaming

Because spacebar's keycode is 0, so it thinks the key is None

Because spacebar's keycode is 0, so it thinks the key is None

Seems legit

Make the plane shadow visible when it start flying so you know where it will go and make the drop icon permanent or last untill next drop.

I'm not sure what you mean lol

AutoHeal ????

Will add it to projects

Switching gun by pressing right button on mouse (pro tip)

This already exists, though you'd have to rebind auto aim to something else

Pressing 'T' to switch gun position (pro tip)

Already mentioned in this issue so will also add it projects

Pressing 'E' to use fists (pro tip)

This has been a feature lol

Use a similar aimbot from powerofuniverse (beside being obvious as hacking because of unstable aiming weapon movement it aims really well and almost never miss while the current one have issues with changing target and aiming)

I've found the other aimbot to be not as smooth, but I'll look into what I can take. The reason it won't be so easy is this extension takes net lag into account

Make the plane shadow visible when it start flying so you know where it will go and make the drop icon permanent or last untill next drop.
I'm not sure what you mean lol

In powerofuniverse hack you could see on the map the plane arriving to whatever direction it needed not only when it's under you.
Also when the drop icon appears it stayed there untill next drop leaving you not to concern about putting a marker.

@Kalaborative  The option to switch weapon in the hack DOESN'T switch gun positions just which gun is chosen.
This is what  I meant make "T" switch weapons AND positions. (for main gun etc not drag with mouse and change manually)

https://gyazo.com/b7864fd24c6d64c5bb63ac8a137b30df ...
The aimbot is the cause of my death 100% of the time I'm getting triggered :rofl: :anger:
@Kalaborative  Can you make the aimbot change target on mouse or like "right click on target" to change.
OR if you already integrated a value (option) to change how fast it detect ennemies TELL ME PLS
I can't really stand it I tried messing up with the aimbot options but I don't get how it works (lol)

so confusing for me this extension is working perfectly for me i have no issue at all, do you have auto aim always on option enabled turn that off then u can auto aim with the right mouse button will holding it down

I'm just saying this because I find the default keybinds you put out of what it should be used for like the same feeling of deja vu from a pc game having controller keybinds lol.

so confusing for me this extension is working perfectly for me i have no issue at all, do you have auto aim always on option enabled turn that off then u can auto aim with the right mouse button will holding it down

EDIT : Nope if I keep holding right mouse button for instance when the blue line appears (and having auto aim off but aim with RMB on) it doesn't aim I'm basically just aiming myself.

What I meant to ask (cuz im confusing af sorry)
Is that when I get the red circle from auto aim it always take more time than I wished to change target no matter how I mess with the aim settings.
My goal for the auto aim is that when it get on a user and there's someone next to it I can just RMB and then it goes on the closest next user.
Which isn't the case...

If your settings works well and you have no of the issues I have mind showing me screenshots of your settings?
That would really help me cuz I think I really messed up :rofl:

RIP

How tf is a not public video blocked LOL

Maybe @mi99cool can help ya there, I'll start on this again tomorrow morning I've been working on this just about all day lol

@Kalaborative  Wait is that my video that is blocked for you?

yeah I'm in the US so idk i guess they blocked something

oh, i want it to be space so i could play at school on the chromebooks and use custom aim without a mouse @Kalaborative

Whenever you pick a gun it shows a red line (aim range) which is fine BUT if you stay idle it change to...something else that isn't accurate.
Except if I'm lacking knowledge guns don't change aim range when you stay idle lol.
Fix this kthx @Kalaborative I ❤ your projects!
It is shooting while running vs shooting while still and taking time to aim


bug: can't figure out how to chat with codebase

Describe the bug
this is probably a user error, so sorry in advance. i can't figure out how to use the @codebase feature. when i use @codebase in the avante chat window, claude replies claiming it has nothing in the context
To reproduce

make a new directory
git init
write two files with some text in them
open vim at the root
leader a a and ask "what is the content of the two files in this project" -> responds claiming nothing in context
leader a a and ask "@codebase what is the content of the two files in this project" -> responds claiming nothing in context

Expected behavior
i expect claude to see the contents of the two files i made
Environment
❯ nvim -v
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info
Repro
No response

Had similar issues.
using @codebase would not bring up any context even if i tried to give a path to a file in the cwd.
It would just tell me that it did not have access to the file.
nvim -v
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1725453128

I've also have same issue
Need instructions on how to use this new feature with @codebase

for me it stucks here forever. Even in a really small project of 4 or five files.

I understand now. The codebase feature for now supports Rust projects (maybe more project types? I don't know)
For it to work, you have to be editing some rust file in a crate.

its supposed to be supporting more than just rust, per yetone:

(if the image does not show up - codebase supports c, c++, go, javascript, lua, python, ruby, rust, and typescript.
it still does not work for me in a python project - I have one file open, and ask @codebase to explain another file for me (I provide the file name as well) - and it just says either I didn't provide any other files (besides the open file), or it just tries to explain the open file

and it just says either I didn't provide any other files (besides the open file), or it just tries to explain the open file

My goto test is @codebase explain to me what each file does. And it has been working for me in Rust projects.

so it has to be a 'pure' codebase I assume.
a fastapi instance with multiple directories of python files and also directories of html files doesnt work

for me it stucks here forever. Even in a really small project of 4 or five files.

This issue has been fixed.

Now if an unsupported language is encountered, there will be a warning. This issue can be closed.


Fix switching MenuBar's menus with the keys while mouse hovering

Currently, trying to switch between menus in the MenuBar using the left/right keys will not work properly if the mouse is hovering it.

Thanks!


log: Add comments to logger interfaces

Closes #262

Addressed your comment. Please have another look and feel free to merge.

rebased


chore: update ESLint

Ran the following commands:
rm -rf node_modules
npm uninstall eslint
npm install --save-dev eslint

Closes newrelic#35

@danielgolden can you run an npm run eslint-fix on this PR so that it'll pass the linting check in Circle?

@tangollama eslint-fix caused a bunch of errors, should I close this PR and submit a new one to get around these merge conflicts?

Closing because there are some new changes to Joel that I merged into the wrong branch (master) on my fork. So I've submitted a PR to replace this one (https://github.com/newrelic/nr1-cloud-optimize/pull/40)


Training falled after 60000 iterations

Hi, really brilliant code! when I run the pytorch implementation, I found the trianing and validation loss increases dramtically after 60000 iterations. The loss curve looks like: https://drive.google.com/open?id=1_64-jD3hOtXmrOoVMq5hD8pWfmEUc7yE
Do you have any idea of this increased loss? Thank you very much!
Qiuqiang

Many thanks for the reply! I fixed out the problem. In the adam optimizer, I need to set this flag to true: amsgrad=True. Then it will fix this problem.

@qiuqiangkong Hi qiuqiang, I am using tensorflow to implement SampleRNN and Ive encountered the same problem, however I dont think in tf.train.adamoptimizer they have this amsgrad flag. Any idea how to troubleshoot this? Thanks in advance!

something like this

@zguo008 Interesting! I think keras has the amsgrad flag. Or try Rmsprop optimizer instead. I guess this phenomenon is caused by optimization. Let me know if you still not solve this problem.

Hi qiuqiang, thanks for your reply:) I’ll try RMSprop later. I tuned down value of epsilon in Adam optimizer and it seems that there’s no sudden increase in loss for now. Thank you for ur answer! It’s some great help

@zguo008 That is great! What epsilon are you using now?


[build-script-impl] Allow cross-compiling the host toolchain for Android AArch64

This was needed in order to cross-compile the Swift compiler for Android AArch64, which is why it is now available on any Android AArch64 device running 7.0 Nougat or later. Simply install the Termux app and run pkg install swift and you have a working Swift 5.2.1 compiler. I ran the Swift validation suite with this cross-compiled compiler and 90% of the tests passed, with the remaining failing mostly because they were missing host test binaries like sourcekitd-test.
@drexin, one last tiny Android patch extracted from my Termux packaging scripts that should be safe to merge.

@swift-ci smoke test

Passes all CI, ready to go.

@drexin or @drodriguez, can we get this one-liner in before the 5.3 branch?

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - fb5273822590e53de264a44350409d198eacbbe7

Build failed
Swift Test OS X Platform
Git Sha - fb5273822590e53de264a44350409d198eacbbe7

Thanks.
@drexin, would you like me to submit a backport of #30565 for the 5.2 branch? If you try to build the whole Swift 5.2 toolchain with ./swift/utils/build-script --install-prefix=/opt --xctest -b -p, it fails when building SwiftPM, but that worked with 5.1 and I'm guessing even before, which is why I had to apply parts of that patch to my Android package of Swift 5.2. Or, this regression could just be ignored for now, since the fix is in the 5.3 branch. Just let me know what you want.

@buttaface This is not on 5.3, yet. If you want it on 5.3, you have to backport it to release/5.3.

Up to you if you also want it on 5.2.

@drexin, there's a misunderstanding: I'm not talking about this pull but a different one, #30565, which has to do with the install prefix used by the build-script on non-Darwin platforms. That one was merged before the 5.3 branch, but I'm not sure if you want it in 5.2.

Ah, yes. It‘s really up to you if you want it in 5.2 or not. It‘s not up to me what gets merged anyway 🙂


Checking foreign keys takes forever

I'm trying to install a package which uses doctrine models on a fresh <IP_ADDRESS> site and it takes forever. Timeout was at 5min when I've decided to start my profiler and it turns out to be a problem in the core or more specific in combination with Doctrine DBAL.
I quickly saw that most of the time is spent on the DB when I saw that there are a lot of these queries:
SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` /*!50116 , c.update_rule, c.delete_rule */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON   c.constraint_name = k.constraint_name AND   c.table_name = 'AreaLayoutsUsingPresets' */ WHERE k.table_name = 'AreaLayoutsUsingPresets' AND k.table_schema = 'concrete5752' /*!50116 AND c.constraint_schema = 'concrete5752' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL

Each query took about 2 seconds. It causes a full database scan and since my DB contains 51 databases, it takes long enough to hit any timeout. The method which consumes all the time is this:
https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php#L183-L198
Removing the 50116 comments makes this query a lot faster, but I'm not sure if it's the right thing to do. I'm aware that this is a Doctrine DBAL problem, but maybe there's a nice way around that - if not I'll open an issue on their issue tracker.

@Remo this seems like it might an issue with your mysql server configuration. I can run this query repeatedly on one of our servers with upwards of 200 databases on it and it's running in well under 1/100 of a second.
If you run the database server, I'd suggest taking a look into the innodb_stats_on_metadata setting if you haven't already.

@joe-meyer thanks but that doesn't seem to change anything. I'll try to update mysql (MariaDB). As long as it's just me this is okay, I don't mind hacking a few things, done that a few hundred times, but if it happens to users that don't feel comfortable doing things like that it's super annoying..
Enter password: *******
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.0.8-MariaDB mariadb.org binary distribution

Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> select count(*),sum(data_length) from information_schema.tables;
+----------+------------------+
| count(*) | sum(data_length) |
+----------+------------------+
|     6168 |        660880375 |
+----------+------------------+
1 row in set (2.16 sec)

Ya that specific query is fairly slow for me too. A table scan of the information_schema.tables meta table can be pretty brutal. But the query you listed above runs like a champ (for me anyway).
Tangent: Taking a look at that code in doctrine though it really doesn't make any sense.... why are they checking $database === null and then using it? I am pretty sure that should be a not equals? :confused:

Yeah I think you're right. Maybe we should move that over to their tracker.. Here's the output of the first query for me, first with the comments and second without them:
MariaDB [(none)]> SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` /*!50116 , c.update_rule, c.delete_rule */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON   c.constraint_name = k.constraint_name AND   c.table_name = 'AreaLayoutsUsingPresets' */ WHERE k.table_name = 'AreaLayoutsUsingPresets' AND k.table_schema = 'concrete5752' /*!50116 AND c.constraint_schema = 'concrete5752' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL;
Empty set (2.09 sec)

MariaDB [(none)]> SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` FROM information_schema.key_column_usage k  WHERE k.table_name = 'AreaLayoutsUsingPresets' AND k.table_schema = 'concrete5752' AND k.`REFERENCED_COLUMN_NAME` is not NULL;
Empty set (0.00 sec)

Only other thing I could think of is that MariaDB creates a different execution plan than MySQL. You'll notice there's some pretty funky stuff going on with being very explicit on those joins AND duplicating them again in the where clauses:
ON c.constraint_name = k.constraint_name AND c.table_name = 'AreaLayoutsUsingPresets'
WHERE k.table_name = 'AreaLayoutsUsingPresets' ... AND c.constraint_schema = 'concrete5752'

Yeah it is, that's why I wrote above that I'm getting a full database scan. Let's just hope I'm the only one..
MariaDB [(none)]> explain SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` /*!50116 , c.update_rule, c.delete_rule */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON   c.constraint_name = k.constraint_name AND   c.table_name = 'AreaLayoutsUsingPresets' */ WHERE k.table_name = 'AreaLayoutsUsingPresets' AND k.table_schema = 'concrete5752' /*!50116 AND c.constraint_schema = 'concrete5752' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL;
+------+-------------+-------+------+---------------+-------------------------+---------+------+------+-----------------------------------------------------------------------------------------+
| id   | select_type | table | type | possible_keys | key                     | key_len | ref  | rows | Extra                                                                                |
+------+-------------+-------+------+---------------+-------------------------+---------+------+------+-----------------------------------------------------------------------------------------+
|    1 | SIMPLE      | k     | ALL  | NULL          | TABLE_SCHEMA,TABLE_NAME | NULL    | NULL | NULL | Using where; Open_full_table; Scanned 0 databases; Using temporary                      |
|    1 | SIMPLE      | c     | ALL  | NULL          | NULL                    | NULL    | NULL | NULL | Using where; Open_full_table; Scanned all databases; Using join buffer (flat, BNL join) |
+------+-------------+-------+------+---------------+-------------------------+---------+------+------+-----------------------------------------------------------------------------------------+

Ah gotcha... I think this probably needs to get kicked up to doctrine. The right answer might be to avoid doing an inner join and instead query both tables individually and then manually join via PHP. I know that CPanel is in the process of moving over to MariaDB as the default database, so you might be the only one now, but I'm sure you won't be the only one going forward.

@Remo I created an improvement ticket in the doctrine issue tracker. We'll see if anything can be done there.

Maybe related, maybe not. I had some issues when installing packages that declared foreign keys via doctrine that turned out to be resolved by updating mySQL.  https://github.com/concrete5/concrete5/issues/2939


Add parameshaeroit's file

I have created a branch my-slide, added a file _posts/0000-01-02-parameshaeroit.md
commit the changes and created a pull request

Nice learning course


Ocean bounty : Tokens Distributing Telegram Bot for Ocean's Testnet

Telegram bot that distributes testnet Ocean tokens
How can you help?
We want to create a Telegram bot that can help distribute testnet OCN tokens to our users.  You can start by setting up our Faucet Server by following the README.md to get set up.
Here’s how the user interaction with our bot would look.

One of our Telegram group members will request for tokens by chatting with the bot. He/she will provide their address, which will be picked up by the Telegram bot.
After picking up the address, the bot should instruct the faucet server to transfer a random number of testnet tokens to the specified address.
The faucet initiates the transfer. a) If the transfer is successful, response 200 is sent back by the faucet b) If there has already been a token-transfer request made to the address within the last 24 hours, response 503 is sent back c) If something went wrong, 404 is sent back.
Depending on the type of response sent by the faucet, the bot should inform the user if the a) transfer has been successfully done b) tokens have been requested in the last 24 hrs, so please try after xxx hrs c) something went wrong, please try again later.

You can modify the bot responses but content of the message must be similar to the above specified template.
What needs to be done?
First step would be to setup the bot using BotFather, a Telegram bot that helps anyone to set up a a bot. We are assuming that you already have a Telegram account, and would recommend downloading the desktop app as well. Once you are done with the set-up, you should have your API token for this bot.
The next step would be to set up a bot server. You can find tutorials on how to set up a Telegram bot server; here’s a link to the official documentation that can help answer any questions you have.
Finally, the bot server and faucet server need to interact to function as per our expectation, as described in the previous section.
We are very happy when
The following are achieved

Create Bot server using Node.js using webhooks.
Use express for the bot application server, axios for http requests and body parser to help parse the response body received from each request.
The README.md file must detail the setup process for the bot with the faucet server.
You may need to modify how the faucet server request/responses work. Please mention all changes in the README.
Please mention any other dependencies (in relation to the faucet server). You may share screenshots or any other resources relevant to understanding the setup.
Test coverage for bot server is >= 75%
Setup a travis job to validate build against tests.
The final submission can be in a repository created by you. Just provide us the link while submitting your work on Gitcoin.

Seen this problem before?
Any help solving this is welcome. Feel free to leave any comments and help someone else to solve it. We might airdrop tokens to someone even if not directly completing bounty.
Questions & Reviews
Pull requests will be reviewed by one of the maintainers or long-term contributors. In case of any additional questions feel free to ask in this thread and we will do our best to add the missing info :)
Things to know
The bounty lifecycle process including payout will be managed using Gitcoin.
We'll be responding to your questions here, but for discussion and clarification we recommend to join also our Gitter channel where our tech community is accessible.
In order to see the PROCN balance in your wallet you'll need to reference the related token contract with address 0xf2aabdd898a0139195b2b5da7387d43a45ded254. If you use a Metamask plugin you'll find the the exact steps here.
Lastly, even if it is a contest bounty, we will reward all valuable contributions and efforts. We greatly appreciate the value our open source community brings to Ocean and will always award some tokens to all great contributions! :smiley:
Reward
Once the project was reviewed and merged in the master branch, you will receive the reward. PROCN is a proto-Ocean token. Bounty hunters that earn PROCN will be able to convert them 1:1 to Ocean tokens on network launch (Ocean Token will be valued at at 0.22 EUR on network launch). Network launch is expected to happen by Mar 31, 2019. Until then PROCN will be locked and non-transferrable in the ETH wallet to which it is delivered to.

This task basically should be done before end of this weekend.

@Anirudh2490 i have created my repository for the telegram bot.
I have implemented it using Python's telegram-bot package. Pytest is used for testing purposes.
User enters command /requestETH and then bot asks for address, after that it requests faucet for that address. Depending upon faucet response the bot then replies back with custom messages.

Kindly note, we need the following included
Frontend projects code style

ESLint: https://github.com/oceanprotocol/eslint-config-oceanprotocol
Stylelint: https://github.com/bigchaindb/stylelint-config-bigchaindb
Prettier: https://github.com/oceanprotocol/docs/blob/master/.prettierrc
Editorconfig: https://github.com/oceanprotocol/docs/blob/master/.editorconfig

E.g. for a React project with CSS modules, look into how it is setup in https://github.com/oceanprotocol/docs. There should be npm tasks setup for linting and formatting too, e.g.: https://github.com/oceanprotocol/docs/blob/master/package.json#L11
And then linting should run as part of the tests, ideally on Travis

@Anirudh2490 i have implemented it in python so no js code is required as of now.
But i can add support for testing-python in travis like this  along with pylint support. How about that?


[Bug]: Wrong credentials in application secret after promoting a Replica Cluster

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
No response
Version
1.23.1
What version of Kubernetes are you using?
1.29
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
Given a source Cluster cluster-source that specifies a non-default user and database:
metadata:
  name: cluster-source

bootstrap:
    initdb:
      database: mydb
      owner: myuser

And a Replica Cluster cluster-replica:
metadata:
  name: cluster-replica

bootstrap:
  recovery:
    source: cluster-source

replica:
  enabled: true
  source: cluster-source

externalClusters:
- name: cluster-source
  connectionParameters:
    host: cluster-source-rw.default.svc
    user: myuser
    dbname: mydb
  password:
    name: cluster-source-app
    key: password

Premise:

The “-app” secret is not being generated for Replica Clusters, see ShouldPgBaseBackupCreateApplicationSecret().
Replica Clusters will skip the application database configuration, see https://cloudnative-pg.io/documentation/1.23/bootstrap/#configure-the-application-database (we are just creating a physical replica of the source cluster)

After promoting cluster-replica by setting replica.enabled to false, now that the cluster is not in replica mode anymore the operator will create a cluster-replica-app secret using the default value app as owner and database.
The result is an application secret cluster-replica-app which contains an user app and a database app that do not exist in our newly promoted Cluster.
Also, the operator will unsuccessfully try to reconcile the password for the app user, which will continuously fail:
{"level":"info","ts":"2024-05-22T15:25:38Z","logger":"postgres","msg":"record","logging_pod":"cluster-replica-basicauth-1","record":{"log_time":"2024-05-22 15:25:38.639 UTC","user_name":"postgres","database_name":"postgres","process_id":"307","connection_from":"[local]","session_id":"664e0e72.133","session_line_num":"1","command_tag":"ALTER ROLE","session_start_time":"2024-05-22 15:25:38 UTC","virtual_transaction_id":"3/396","transaction_id":"0","error_severity":"ERROR","sql_state_code":"42704","message":"role \"app\" does not exist","query":"ALTER ROLE \"app\" WITH PASSWORD 'npWLS0TdGc9Ya9NQER29hlXN6dHq4wvKKeuYQXjJHjrBy8VnltJtx9FoMPnP9oaz'","application_name":"cnpg-instance-manager","backend_type":"client backend","query_id":"0"}}

Code of Conduct

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

I also just came across this.
We want to do a migration from legacy k8s clusters to freshly deployed clusters.
To keep the downtime as short as possible during the switchover, we want to use a replica cluster that we "enable" once our deployment is done.
This currently stops us from doing this and instead we would face ~30 min downtime (depending on database size of course)

I believe the best course of action is to document that you will need to recreate the same secrets on the other side if you plan to use the database in read-only mode and don't anticipate any changes after promotion.
Otherwise, a logical replication migration is probably more suitable. See https://www.gabrielebartolini.it/articles/2024/03/cloudnativepg-recipe-5-how-to-migrate-your-postgresql-database-in-kubernetes-with-~0-downtime-from-anywhere/


chore: bump version to 0.8.5

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

chore: bump version to 0.8.5

2. What is the scope of this PR (e.g. component or file name):

VERSION
cli/Cargo.toml
kclvm/Cargo.toml
kclvm/**/Cargo.toml

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
20 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-0.02%) to 73.307%

Files with Coverage Reduction
New Missed Lines
%

kclvm/tools/src/LSP/src/request.rs
1
72.02%

kclvm/ast/src/token.rs
1
58.22%

kclvm/tools/src/LSP/src/state.rs
1
86.15%

kclvm/sema/src/core/scope.rs
3
65.58%

kclvm/query/src/query.rs
3
74.39%

kclvm/config/src/settings.rs
4
78.26%

kclvm/ast/src/config.rs
7
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
48993

Relevant Lines:
66833

💛  - Coveralls


Fix ambiguous export of ResponseParameters

The pipeline for version 3 releases that use "@sgohlke/graphql-server-base" > 1.0 fails because of an ambiguous export of ResponseParameters:
src/index.ts:36:1 - error TS2308: Module './response/ResponseHandler'
has already exported a member named 'ResponseParameters'.
Consider explicitly re-exporting to resolve the ambiguity.

We should fix that.

Fixed with #158 in release v3.3.1


Added debug Workflow

Current dependencies on/for this PR:

main

PR #43   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: RLCuzuKMqBzQ3gpJGSgL


TensorFlow 2.0: Allow simple tensorboard summary usage

System information

TensorFlow version (you are using): 2.0 alpha 0
Are you willing to contribute it (Yes/No): willing yes, but I don't have enough experience with the TF internals.

Describe the feature and the current behavior/state.
As to my current research and a stackoverflow question on writing image summaries, I think there is no user friendly way of writing arbitrary summaries from a TensorFlow 2.0 Keras model.
In more complex models, a developer might want to write scalars, histograms or simply images generated from tensors which are created in the middle of the network. With tf.layers and estimators, I could easily take such a tensor and write it to TensorBoard with tf.summary. At the moment there does not seem to be an equally easily usable way to do this with the Keras API.
From the user perspective, I imagine a special TensorBoard logging layer, that can be chained into the model. This layer would then handle creating the summary writer and getting/maintaining the current model step.
E.g. when using Sequential, it could look like:
model = keras.models.Sequential([
	keras.layers.Flatten(input_shape=(28, 28), name="flatten"),
	keras.layers.Dense(128, activation='relu', name="dense1"),
	TensorBoardLoggingLayer("my-logging-dir", lambda input: tf.summary.scalar("first-value", input[0]))
	keras.layers.Dense(10, activation='softmax', name="dense2")
])

Furthermore, if the user creates a custom layer they could extend from this TensorBoardLoggingLayer and use its handling of the summary writer to easily write summaries of internal parts of their layer.
Will this change the current api? How?
It would add a new layer but not effect other, existing API.
Who will benefit with this feature?
Everybody that wants to debug a model or get more insights into it. This is especially important when you create custom layers (e.g. implementing new stuff from/for papers) or if you want to debug e.g. images of inner results of your network.
Any Other info.
I think it is crucial to have an easy to use possibility to debug and track our networks with TensorFlow. This was/is possible with the tf.layers / tf.estimtators APIs. In my view it is a must to have this in the TF 2.0 ecosystem.

You can use tf.keras.layers.Lambda to inject arbitrary expressions as a Layer, and collect all the created summaries.

Not really, how would I get the current step of the model. I need the step to be able to write a summary. My point is that there should be a layer handling the step and summary writer for me, so not everybody has to do it on their own.

This feature is being worked on, but is currently blocked on some functionality from TensorBoard. @omalleyt12 will update the thread when we have made progress here.

You can use tf.keras.layers.Lambda to inject arbitrary expressions as a Layer, and collect all the created summaries.

I was using tensor board conv model with tf.layers , now when I switch to tf.keras and try publishing weights to logs using summary, I am left with 2 options and both have issues
1)Use call back to store weights - It's working upto storing weights but it has no provision of mentioning plugin name in it ( like my old model). Without plugin name, I can not identify data to be presented by mu custom plugin on tensorboard
2) Use callback (on_test_batch_end) to call my summary method, with this I can get a chance to store my  plugin name but when  i try storing the data from summary in logs it gives an error
'Tensor' object has no attribute 'value'
Do we have any way to store weights using callback and also store with them the plugin name ?

@andreas-eberle
Please post this issue on [keras-team/keras repo.](https://github.com/keras-team/keras/issues)
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999


NotificationDelegate becomes NotificationResponder

Part 3, more to come!

@colinta - added specs for the responder chain. Good looking out 👍 https://github.com/ello/ello-ios/pull/314/commits/d3949393f0db5f43d1379f08473688ef8ec81f8d


Include conference start and end dates in iCalendar export

The exported iCalendar (.ics) file now includes conference start and end dates, alongside conference abstract and submission deadlines - this is now the default, there is no support for an export which just includes deadlines, but I could support that if needs be?
@hlnicholls I recommend you also test an export/import, I could have been more exhaustive.
Resolves #1

@Kappers, I've merged this PR already to test deploying it it (I need to take some time learning about github actions and making a bot that allows for test deployments of the site, unless there is another way to test PRs for webpages, I'll look into it).
I can see the conference start and end dates when I import the .ics file into outlook, but I can no longer see the abstract deadlines in the calendar.

(I need to take some time learning about github actions and making a bot that allows for test deployments of the site, unless there is another way to test PRs for webpages, I'll look into it).

I haven't tried with GH pages deployments before, sadly it looks like GH doesn't want to support a preview (yet): https://github.com/orgs/community/discussions/7730
I suspect there'd be a way of manually running a serve and at least verifying things don't throw before the service starts 🤷♂ But given the majority of contributions will just be .yml updates, I suspect we'd just need something simpler to validate the formatting - I can take a look in the future, maybe worth opening an issue to track in case someone gets to it first?


Add ability to run read queries on the database from support

Context
Analysists sometimes need data from the database for analysis that's not easy to get via one of the extracts.
Changes proposed in this pull request
Add the Blazer gem.
It's secured via the same mechanism as Sidekiq web (so we don't have to trust Blazer's auth).
Blazer will wrap everything in a transaction, so you can't easily make UPDATE/DELETE queries on the database. But we're still looking to use a read-only user or read-replica for this.
Guidance to review
I had to turn on Sprockets for this to work, is that going to cause problems?
Link to Trello card
N/A

Have merged #3581 which sets the BLAZER_DATABASE_URL

Rebased @tijmenb

It's good! It works!
Do we want to link from anywhere in Support?


Private Dns not resolving

App Id:
Region:Oregon
Step:
Status:

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
I have amplify deployed in  Oregon region and all the backend apis are publicly exposed previously . Now i internalized publicly exposed api to internal aws alb but after that amlify frontend apps are not communicating to backend apis both are on same region . is there anything additional setup need to be done    ?
Error message
Additional information

We don't have VPC support at this time, resolving as a feature request.


Fix minor typos

This is a minor proposal to align the style of comments somewhat.
(Most of the changes being found by a furious comment/documentation formatter that I'm trying to bootstrap.)
This is of course very subjective, and may spur bikeshedding. Although I found that the majority of the code in black were already on par with the changes being made.
Please just close this PR if these kind of styling attempts are frowned upon.

Looks good to me in general, let me know what you think of my slight bikeshedding attempt in the middle.

Cool. Thanks for the thoughtful feedback @ambv. I updated the PR to only fix the minor typos.
Sorry for the noise.

Thanks, this is helpful!


Add per-project browser config processing

I finally got a chance to take another look at this (#71). Have hopefully addressed all of the initial feedback.
The browser helper classes are now all standalone, implementing the interface rather than extending an abstract base class.
It no longer executes the karma config file during extension configuration, but tries to figure out which browsers/custom launchers are supported by running regexp against the raw file as a string, as you've done in other places. The loader will then try to find a matching launch config from the user's final karma config when running the server and try to add the debug port flag. Unless a browser or custom launcher is set in the user's settings which will skip that part. I had to add a new env var to achieve this, though.
I've tested this with my target repo, a multi-project Angular + Electron app and it seems to be working as expected. The configuration defined in the karma.conf.js files are used by default, but can still be overriden in settings. Tests in all three projects can be run and debugged without issue.
The tests still need updating, but hopefully this is a step in the right direction to getting this functionality added. Let me know your thoughts.

Have updated the tests now, and expanded on the existing ones a little bit. Moving into ready for review as I think it's pretty much there, at least from my expectations.


moonraker: unstable-2022-11-18 -> unstable-2023-08-03

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Moonraker really wants to manage Klipper config now...


[Android] Image not creating video thumbnail

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS:  macOS High Sierra 10.13.1
Node:  6.10.0
Yarn:  0.21.3
npm:  5.5.1
Watchman:  4.7.0
Xcode:  Xcode 9.1 Build version 9B55
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.5 => 0.49.5
Target Platform: Android (7.0)
Steps to Reproduce

Create an Image component
Pass a video local uri to the source prop

Expected Behavior
The expected behavior as seen in iOS is to see an image thumbnail for the video, corresponding to the first frame of the video.
Actual Behavior
No image present on the Android environment.
iOS

Android

Experiencing the same issue.

I have the same problem on Android.... does any body have an workaround?
Thank you.


Make bot "click" new item notifications

I'm using ASF to idle my farming accounts and to collect booster packs that drop on them, as well as for idling games, of course.
Some testing on my end indicated that you will not receive any more booster packs if there is still a "new item notification" pending for the last booster pack you received. So you cannot have more than one booster on any of your extra accounts unless you click that notification.
Would it be possible to make ASF click those new item notifications?

How and how long did you tested this behaviour?

Normally I'd say that probably it doesn't matter, and farming booster packs is not the purpose of ASF, but actually new items notifications are kinda annoying, so I'll actually check if ASF is getting those new item notifications, and if yes - we can make it disappear.

I caught packet being responsible for item updates in steam client, and added logic, but I'm too lazy to wait for another item drop tonight, so go ahead and test it in the meantime - https://github.com/JustArchi/ArchiSteamFarm/releases/tag/<IP_ADDRESS>-pre1
It should work, but it's untested.

I've tested this over the course of about 1.5 weeks and a sufficiently high number of extra accounts.  As soon as I logged into every account with the steam client and clicked the notification I got more boosters within 24h.
I'll start testing 1.7 today and report back.

 WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:54:59 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:54:59 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:54:59 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:55:00 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:55:00 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:55:00 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:55:01 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?
28.02.2016 16:55:02 [!!] WTF: MarkInventory()  Request failed even after 5 tries, WTF?

Does inventory get dismissed or not in this case?

I still have 4 new item notifications pending on the affected accounts after idling a game with 4 card drops.

I'll check that later then.

I logged into several accounts and discovered there are no dismissed notifications. Please check and reopen if you have time. @JustArchi

Because they're not dismissed at the start, but when new item pops up.

Thats weird because the notifications were for cards, coupons and other stuff.

Havent' had time to test v2.0.x yet, but in v1.7.x or prior this feature was not working. So make sure to use v2.0.x

^

Dafuq. Like I didn´t tested the new release 2.0.1/2.0.2 and the update-function some days ago.


Python API for Upper Body Pose Tracking - Strange Behavior

Hi,
I am trying out the python API for upper body pose tracking, and seeing some strange behaviours where

Inference fails for some images but if done again, it gives reasonable results
See a failure on some images resulting in program abortion

Please find the images and code below:
error_repo.zip
try:
    pose_landmarks, _ = pose_tracker.run(input_frame=im_array)

    # For image named retry.jpg, it fails here but passes when the same computation is done again in Except block
    # Error msg: *** AttributeError: 'NoneType' object has no attribute 'landmark'

except:
    pose_landmarks, _ = pose_tracker.run(input_frame=im_array)

    # For image named fail.jpg, it fails here too with below error message.
    # terminate called after throwing an instance of 'cv::Exception'
    # what():  OpenCV(3.4.11-dev) /tmp/bazel_build/opencv/modules/imgproc/src/drawing.cpp:1783: error: (-215:Assertion failed)
    # 0 < thickness && thickness <= MAX_THICKNESS in function 'line'
    # Aborted (core dumped)

I found the same error:

Found the same error in some case:
terminate called after throwing an instance of 'cv::Exception'
what():  OpenCV(3.4.11-dev) /tmp/bazel_bterminate called after throwing an instance of 'cv::Exception'

I guess I figured what's happening. Since the inferences are done sequentially without re-initializing the pose tracker, it is using bounding box infered from keypoints as the crop for next image. Now, these images are from different video sequences, invalidating the implicitly assumed tracking hypothesis, resulting in strange behaviors.
Although, the openCV error indicates we potentially have division by 0 somewhere?

It should be fixed in the v0.8, where we support both static image mode and video mode.


Fix eltwise alter op layout for broadcast axis

The issue appeared after implementation of handling broadcast axis on dependent eltwise operators in alter op layout.
The pattern that I had conv->add and it happened that the block size was equal to the number of output channels. In one moment during network compilation we got a situation when we have already blocked layout and alter_op_layout is called one more time. During this second invocation the part dedicated for determination of the layout for second input of add detects 1 unconditionally as broadcast axis and puts wrong layout_transform(->NCHW1c). This is wrong. In our case 1 was a reminder. Need to take into account block part as well in such cases.
I believe test test_alter_layout_blocked_broadcast shows situation clearly. The second test test_alter_layout_re_blocking_broadcast is not required on 100% but let's have it as well - it reproduce scenario of re-blocking of axises and verifies that our algos are correct.
+@lazycal

Can you add a test or more description of what problem it is solving?

@masahi

Can you add a test or more description of what problem it is solving?

Added PR description and tests


Add custom locales for hworker stack

Add a few custom locales for backward support.

Do we need to add some other as well?
If this PR is fine, we should also add the same locales to scrapy stack.

Review, please. // cc @dangra

LGTM


Control the column size from within your widget

Hello,
I got a question both the the height and width of the widget:

For the widget height one has to implement a callback "getHeigth", but apparently this size can't be bigger then 4. What is the reason?

How can I control the column size from within my widget? The column size can be set by the user, but within my widget I am not notified by it. Also I would be nice that I can force the maximum width of the widget. Any feedback on this.

Thanks already for your feedback.

hi @vangriekend -

Widget height can, in fact, be greater than 4.  Did you discover any issues implementing this, or did the documentation lead you to believe you could not go bigger than 4?

Currently, you cannot programmatically set the width of a containing Pane from within a widget.  You can, however, retrieve the width of the pane set by the user from within the widget.  From within the render(element) function, the element parameter contains the html container element from which you can extract the width property.  In many cases in a new widget implementaiton, I will set the inner widget elements' css to width:100%, which will guarantee that it fills the pane no matter how many columns are set.

Hope that helps!

Hello Vishal,
Already thanks for your feedback.

Indeed I experience issues with have a higher height then 4 blocks. When
a for example create a Div element or Canvas element nothing is shown from
the moment I exceed the height 4. + based on what I read this is why I
didn't further investigate

Indeed that is correct, and that is what I already did. But I would be
nice to block to user to set a certain column width... but it is what it is.

So again, thanks for your feedback
Kind regards,
Daniel
[image: Virdata] http://www.virdata.com/ Daniel Vangrieken
Project Manager
[image: Virdata]
Technicolor dba Virdata - Prins Boudewijnlaan 47, 2650 Edegem, Belgium
<EMAIL_ADDRESS> |   *Phone * +32 3 450 01 20   |   Mobile  +32
476 996 561
www.virdata.com   |   @virdata_iot https://twitter.com/Virdata_IoT   |
virdatatube https://www.youtube.com/user/virdatatube
On Tue, Feb 23, 2016 at 5:35 PM, Vishal Kumar<EMAIL_ADDRESS>wrote:

hi @vangriekend https://github.com/vangriekend -

Widget height can, in fact, be greater than 4. Did you discover any
issues implementing this, or did the documentation lead you to believe you
could not go bigger than 4?

Currently, you cannot programmatically set the width of a containing
Pane from within a widget. You can, however, retrieve the width of the pane
set by the user from within the widget. From within the render(element)
function, the element parameter contains the html container element from
which you can extract the width property. In many cases in a new widget
implementaiton, I will set the inner widget elements' css to width:100%,
which will guarantee that it fills the pane no matter how many columns are
set.

Hope that helps!
—
Reply to this email directly or view it on GitHub
https://github.com/Freeboard/freeboard/issues/163#issuecomment-187777896
.

Regarding 1) I incurred in this issue when I was looking for a way to define widget higher than 4 . The Freeboard css defines up to height-4 widgets hence it is necessary to add in your javascript file,  where you are defining your new widget, the following code (e.g. for an height of 5):
   freeboard.addStyle('.sub-section-height-5','height:300;');
Regards
Flavio


Windows Update does not fresh-install Preview 7

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to the known issues.

Steps to reproduce
Follow steps based on Preview updating PowerShell 7.2 with Microsoft Update:
Ensure PowerShell 7.1.3 is installed but no PowerShell preview releases are installed.
Create registry values [HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShellCore]UseMU:dword=1 and [HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShellCore\InstalledVersions\39243d76-adaf-42b1-94fb-16ecf83237c8]Install:dword=1. Additionally, as directed in a workaround described in #15510, create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShellCore\InstalledVersions\31ab5147-9a97-4452-8443-d9709f0516e1.
Ensure Windows Update is set to Receive updates for other Microsoft products when you update Windows. In my case, this is enforced by my organization through MDM.
Reboot and check Windows Update, installing all available updates and manually rechecking until no updates appear.
Expected behavior
PS> pwsh-preview
PowerShell 7.2-preview.7
PS>

Actual behavior
<See screenshot below>

Environment data
PS> $PSVersionTable

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

PS> (Get-CimInstance Win32_OperatingSystem) | Select-Object -Property Version, Caption

Version    Caption
-------    -------
10.0.19042 Microsoft Windows 10 Enterprise

PS> Get-WindowsUpdateLog

<Very long console output snipped, see below-attached file WindowsUpdate.log created by command>

Visuals

WindowsUpdate.log

From windowsupdate.log, F13D5FD1-FA6A-4F9E-88D4-8B15EA0DBA4C is the PowerShell update and it deferred by policy on your machine.  Can you send a screen shot of your advanced windows update settings?
021-06-29 12:50:25.3909115 4508  8416  Agent           Update deferred by policy: F13D5FD1-FA6A-4F9E-88D4-8B15EA0DBA4C.200

You probably can install this using the PSWindowsUpdate module (using the API).  I'm assuming whatever policy it is, it only affects Automatic Updates and not the API.
Once you have installed the module,
Get-WindowsUpdate -CategoryIDs c90a4362-d2b6-4bb4-b316-76d14fed63a5 | Install-WindowsUpdate -Download

This says, get all the updates for PowerShell preview, download, and install them.

Ah, yes. We have organizational policy through Endpoint Manager to defer non-security updates. That explains this.

How could you update Powershell via Windows Update? From the first (6+ may be) to 7.1.3 i it was updated by hands (msi).

@237dmitry See this blog article.

See this blog article.

You never know who will write something.

@alexbuzzbee RE: https://github.com/PowerShell/PowerShell/issues/15692#issuecomment-871408740, Thanks for explaining what policy was in place, the logs don't say that.   It makes the answer more complete.


Change obstime handling in AltAz to AltAz conversion

Checks

[x] Debugging completed
[ ] Please debug me

Related Issue
This PR closes #210.

Codecov Report
Base: 92.54% // Head: 92.54% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (d4e073c) compared to base (9146fa5).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #211   +/-   ##
=======================================
  Coverage   92.54%   92.54%
=======================================
  Files          71       71
  Lines        3084     3085    +1
=======================================
+ Hits         2854     2855    +1
  Misses        230      230

Impacted Files
Coverage Δ

neclib/coordinates/convert.py
86.44% <0.00%> (ø)

tests/controllers/test_antenna_pid.py
100.00% <100.00%> (ø)

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

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


plot_acquisition() plots the wrong y-values

Hi,
I have a fairly complex function that should always return a number >=0. Print statements in this function indicate this is satisfied. Running opt.fx_opt gives a value close to 0, which should be the true minimum. However, opt.plot_acquisition shows negative numbers at the minimum. This shouldn't be an artifact of the underlying gaussian process model, as even the points in red where GPyOpt evaluates the function is negative. Why is this the case?

Can you share the code that produced that plot? There might be few reasons for this behavior. Have you normalized y, for instance?

Outputs in GPyOpt are normalized by default, which makes the optimization
of the acquisition easier. Could this be the problem?
El lun., 3 feb. 2020 a las 18:53, Eric<EMAIL_ADDRESS>escribió:

Hi,
I have a fairly complex function that should always return a number >=0.
Print statements in this function indicate this is satisfied. Running
opt.fx_opt gives a value close to 0, which should be the true minimum.
However, opt.plot_acquisition shows negative numbers at the minimum. This
shouldn't be an artifact of the underlying gaussian process model, as even
the points in red where GPyOpt evaluates the function is negative. Why is
this the case?
[image: acquisition]
https://user-images.githubusercontent.com/13124532/73681507-79242880-468c-11ea-9560-0c81ed2b7513.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/issues/295?email_source=notifications&email_token=ABUJF4YL7B5222ZFYYXCLRLRBBR2FA5CNFSM4KPKHA2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKVX6SA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUJF43P6CA56G5JSLZQ4FLRBBR2FANCNFSM4KPKHA2A
.

re: @javiergonzalezh 's comment, this issue has popped up before: https://github.com/SheffieldML/GPyOpt/issues/288
Should we consider setting normalization to false initially? Seems to trip people up regularly, we might apply principal of least surprise and then lay out the (debatable) necessity of output normalization in the tutorials.

Yep, looks like plot_acquisition() was normalizing Y, making it seem weird. I'm not sure setting it to false by default is the best option if the optimization performs better with normalized values. Perhaps it could be documented somewhere?

If you find it helpful, please augment the docs (and make a PR!) with what you think makes most sense to someone who is encountering this issue for the first time - your perspective there would be especially helpful.
And close the issue :)

@ekalosak we could stop normalizing outputs by default, but slight worry though is that those who already use GPyOpt might be taken by surprise with this new behavior

@apaleyes Is there a list of such breaking changes for a next major version?

Maybe it would be appropriate to normalize internally, then un-normalize when plotting?


Random Battle: Give Ariados Stomping Tantrum

Ground coverage helps it deal with Poison and Steel Pokemon, which resist both of Ariados' STAB moves.

This is a cool addition, but I dunno how I feel about no-hazard Ariados...

That's a good point. One possibility would be dropping Poison Jab, since I don't think there's much Ariados could actually threaten using it against something that resists Bug/Ground anyways (besides Tropius or Togekiss), but idk about dropping its STAB move like that, either.

Is coverage important though? Ariados’ function is to set hazards; damage is secondary.

I want to say yes but the damage calcs say otherwise. As per the discussion on the random battle thread, this isn't necessary.


refactor(utils): remove unused enum and add more test cases of getTra…

…nsactionSize

Codecov Report

Merging #492 into develop will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #492      +/-   ##
===========================================
- Coverage    95.84%   95.82%   -0.02%
===========================================
  Files           48       48
  Lines         1516     1510       -6
  Branches       292      291       -1
===========================================
- Hits          1453     1447       -6
  Misses          63       63

Impacted Files
Coverage Δ

packages/ckb-sdk-utils/src/sizes.ts
100.00% <100.00%> (ø)


Training loss

Hello,
I was wondering whether it is possible to add some loss metrics to the training cycle? The only thing I see during training Electra model is
1275000/3000000 = 42.5%, SPS: 3.1, ELAP: 9:24:02, ETA: 6 days, 11:55:19
which tells nothing about how good is it. I'm trying to add some code to the estimator, but it seems to me that it could be much easier to show all the metrics in order to see how successful the model is at this stage.
I'm training non-English model, so I wanted to get better insight into how my model is performing at the moment.
Thanks

You can always use tensorboard though!

@008karan Hi Karan. I am not a TF user. Can you please instruct me how to use tensorboard in this case? I see an tfevents file in the model directory but it seems not to be written for tensorboard. The script used tf.estimator.tpu.TPUEstimator to train the model so I don't know how to extract the loss. Thank you very much in advance!

I have trained my model on GPU and using tensorboard is similar here. You will find events.out files in your checkpoint folder. Just run tensorboard on it.

@008karan Thank you Karan! It works for me now after I use tensorboard==1.15.0. Do you know how the author can continuously get the evaluation metrics as in this thread? I can only get the evaluation metrics at the end of my training progress.

In tensorboard you get loss and learning rate here I think you can add whatever you want in logs to see them on tensorboard!

When I trained Electra small on my Spanish corpus the kids was shown if trained on GPU. Then I got access to TFRC and trained in using its TPUs pod and loos it is not shown. Of course, I can get it from Tensorboard events but would be great to log it by default when running on TPU.

You can set the tensorflow log level to info and it will be much more verbose including printing the loss.


[WIP] Replace NSIS installer with WiX installer

DO NOT MERGE. This still has a ways to go, but now that the changes it is dependent on have been merged into master, I'm opening this pull request as a place for centralized discussion about WiX and the code I've been working on, and to allow GitHub's new code reviews feature to be used.

On another note, I understand why the old commits are there, but I need to figure out how to stop all of them from showing up in the future, ideally while keeping them intact in my fork.

I can squash before merging. Or you can maintain two branches, one that you work on and one that you periodically merge into and then squash. Your choice as to which way to go.


feat(logger): add clear state functionality

Description of your changes
The Logger utility is commonly initialized in the global scope, outside the handler function.
When you attach persistent log attributes through the persistentLogAttributes constructor option or via the appendKeys, addPersistentLogAttributes methods, this data is attached to the Logger instance.
Due to the Lambda Execution Context reuse, this means those persistent log attributes may be reused across invocations.
This PR introduces a new flag that developers can enable to "clear the state" across invocations.
If developers want to make sure that persistent attributes added inside the handler function code are not persisted across invocations, they can now set the parameter clearState as true  in the injectLambdaContext middleware or decorator.

How to verify this change

See Contributing guide for the docs build.

Related issues, RFCs

#482
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[x] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have made corresponding changes to the examples
[x] My changes generate no new warnings
[x] The code coverage hasn't decreased
[x] I have added tests that prove my change is effective and works
[x] New and existing unit tests pass locally and in Github Actions
[x] Any dependent changes have been merged and published in downstream module
[x] The PR title follows the conventional commit semantics

Breaking change checklist

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Could we add an e2e test ?


Deploy in Sagemaker notebook instead of EC2

@michaelhsieh42 This is a great example, but I'm learning to use AWS and I'm trying to run it in a Sagemaker notebook and have some problems, so maybe not exactly an issue.

In file sagemaker_training.ipynb the line of code system(sprintf('./build_and_push_docker.sh %s %s', container, tag)) doesn't deploy the container.
In the line of code rds_file = '/home/ubuntu/reinvent2020-aim404-productionize-r-using-amazon-sagemaker/tourism_tsbl.rds I am not sure where to find the rds file and if a path is required

Thanks for replying @michaelhsieh42 .

I am running your code in Sagemaker Stuidio using an R kernel. Can the container be created using similar code?
I'll change the path and I can see that the file tourism is created in fable_demo.ipynb

Hi,
This solution does not supported running in SageMaker Studio Notebook. Studio Notebook does not have docker to build a container image, which is what we used in build_and_push_docker.sh.
The current work around is to use a pip installable package sagemaker-studio-image-build as shown in this blog:
https://aws.amazon.com/blogs/machine-learning/using-the-amazon-sagemaker-studio-image-build-cli-to-build-container-images-from-your-studio-notebooks/ to build the container.


R custom string literal

It might be nice to be able to call R code via a macro string literal, similar to this proposal: https://github.com/JuliaLang/MATLAB.jl/pull/29.
Of course, one problem would be that using $ for variable substitution would conflict with R lookup usage.

I believe there is no problem of using $. With this macro,
macro s_mstr(x)
    quote
        rprint($x)
    end
end

there is no problem in extracting the list element by using $:
julia> s"""
       x = list(a=1,b=2)
       y = x$a
       """
[1] 1

Sorry, what I meant was that it might be difficult to use $ the same way the proposed mat_str macro does, i.e. for copying the corresponding julia variable to R.

You could allow only $ followed by parens, e.g. $(a), unless that's actually valid R syntax in some context. I believe you could backslash-escape other cases of $ before passing to the parser.
The hardest part in JuliaLang/MATLAB.jl#29 was determining whether a variable/expression is assigned or used.  However, if you can actually get the AST from R, this might not be too hard.

This can also be closed by https://github.com/JuliaStats/RCall.jl/pull/94.


Stage status check documentation

This document needs stage status check documentation similar to job one.
I suspect there is a bug, or some undocumented behaviour I cannot gasp on.
In example when stage condition for sign is set, so it will happen on main branch only
  - stage: Sign
    condition: eq(variables['Build.SourceBranchName'], 'main')
    jobs:
      - template: sign.yml

with all other stages having no conditions:

when I additionally set Test stage to
  - stage: Test
    condition: succeeded('Build')
    jobs:
      - template: test.yml

It looks like condition on one stage impacts whole pipeline by default.
My current workaround is to use expressions instead:
  - stage: Sign
    ? ${{ if eq(variables['Build.SourceBranchName'], 'main') }}
    : displayName: Sign
    ? ${{ if neq(variables['Build.SourceBranchName'], 'main') }}
    : displayName: Sign - Skipped
    jobs:
      - ? ${{ if eq(variables['Build.SourceBranchName'], 'main') }}
        : - template: sign.yml
      - ? ${{ if neq(variables['Build.SourceBranchName'], 'main') }}
        : - job: Skipped
            steps:
              - checkout: none

The only mention of this problem is perhaps at https://docs.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops&tabs=yaml#ive-got-a-conditional-step-that-runs-even-when-a-job-is-canceled-how-do-i-manage-to-cancel-all-jobs-at-once
Perhaps its because Skipped is separate result to SucceededWithIssues (called 'partially succeeded' at  https://docs.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#succeeded)
There is also problem with dependencies along conditions, in above examples, if branch is not main, run pipeline will throw exception:
Stage Test depends on unknown stage Sign.
Stage Package depends on stage Test which creates a cycle in the dependency graph.

possibly because if stage is skipped it does not populate dependency matrix

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

ID: 77c58a78-a567-e99a-9eb7-62dddd1b90b6
Version Independent ID: 680a79bc-11de-39fc-43e3-e07dc762db18
Content: Expressions - Azure Pipelines
Content Source: docs/pipelines/process/expressions.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

I don't think that we have Stage status check functions that work like Job status functions. I'm checking with the product team on this.

I've confirmed that there are not stage status check functions. If you'd like to request stage status check functions as a feature, you can request a feature in our Developer Community. It does seem like stage status checks would be a useful feature!

If there are no stage status function checks, how you can explain above behaviour? If stage has condition, why all follow up stages get skipped when condition is not met?


Hilt and ViewModel initialization with Navigation Component arguments

tldr; How do I initialize a Mavericks State with Navigation Component arguments when the fragment's ViewModel is using hiltMavericksViewModelFactory ?
I'm trying to figure out how to blend the use of this Mavericks library (version 3.0.6), Hilt, and Navigation Component arguments. I'm not using Compose. I'm using Views. My app is single activity, multiple fragments.
I've also seen the README and various example files within https://github.com/airbnb/mavericks/tree/main/sample-hilt.

My Gradle setup:
val mavericksVersion = "3.0.6"
implementation ("com.airbnb.android:mavericks:$mavericksVersion")
implementation ("com.airbnb.android:mavericks-testing:$mavericksVersion")
implementation ("com.airbnb.android:mavericks-navigation:$mavericksVersion")

val hiltVersion = "2.48"
implementation ("com.google.dagger:hilt-android:$hiltVersion")
kapt ("com.google.dagger:hilt-compiler:$hiltVersion")
implementation("androidx.hilt:hilt-navigation-fragment:1.0.0")

HomeState in the HomeViewModel is:
data class HomeState(
    val userFullName: String = "",
    val paymentList: Async<List<Payment>> = Uninitialized,
    val coarseLocationPermissionGranted: Boolean = false,
    val deviceLastLocationCoordinates: Pair<Double, Double> = Pair(0.0, 0.0),
    val count: Int = 0
) : MavericksState

I had Mavericks working just fine before I decided to try to install Hilt.
companion object : MavericksViewModelFactory<HomeFragmentViewModel, HomeState> {

        override fun initialState(viewModelContext: ViewModelContext): HomeState {
            val homeFragment: HomeFragment = (viewModelContext as FragmentViewModelContext).fragment()
            val userFullName = homeFragment.arguments?.getString(LoginFragment.SESSION_FULL_NAME_KEY).orEmpty()
            return HomeState(userFullName = userFullName)
        }

        override fun create(viewModelContext: ViewModelContext, state: HomeState): HomeFragmentViewModel {
            return HomeFragmentViewModel(state)
        }
    }

My setup is the following after I dove into setting up Hilt. It works but I'm not initializing the ViewModel with any Navigation Component arguments:
@AssistedFactory interface Factory : AssistedViewModelFactory<HomeFragmentViewModel, HomeState> {
        override fun create(state: HomeState): HomeFragmentViewModel
    }

    /*
    companion object : MavericksViewModelFactory<HomeFragmentViewModel, HomeState> {
        override fun initialState(viewModelContext: ViewModelContext): HomeState {
            val homeFragment: HomeFragment = (viewModelContext as FragmentViewModelContext).fragment()
            val userFullName = homeFragment.arguments?.getString(LoginFragment.SESSION_FULL_NAME_KEY).orEmpty()
            return HomeState(userFullName = userFullName)
        }
    }
    */

    companion object : MavericksViewModelFactory<HomeFragmentViewModel, HomeState> by hiltMavericksViewModelFactory()

As expected, I get the crash below if I experiment by commenting out the hiltMavericksViewModelFactory() companion object setup

Ignoring the crash for a moment, my overall question again is how I would initialize the HomeState with that initial userFullName value from the Navigation Component argument bundle?
I see mention of viewModelContext in the HiltMavericksViewModelFactory class, so do I need to somehow adjust that HiltMavericksViewModelFactory class?
I haven't tried it, but would a hack be to pass the arguments (bundle) from the fragment to the ViewModel in the fragment's onCreate() or onCreateView()?

I'm looking into https://airbnb.io/mavericks/#/fragment-arguments?id=using-fragment-args-in-the-initial-value-for-mavericksstate
The following might work:
data class HomeState(
    val userFullName: String,
    val paymentList: Async<List<Payment>> = Uninitialized,
    val coarseLocationPermissionGranted: Boolean = false,
    val deviceLastLocationCoordinates: Pair<Double, Double> = Pair(0.0, 0.0),
    val count: Int = 0
) : MavericksState {

constructor(homeFragmentArgs: HomeFragmentArgs) : this(userFullName = homeFragmentArgs.getString(SESSION_FULL_NAME_KEY).orEmpty())

I'm looking into https://airbnb.io/mavericks/#/fragment-arguments?id=using-fragment-args-in-the-initial-value-for-mavericksstate
The following might work:
LoginFragmentDirections.actionLoginFragmentToHome(userFullName = it.userFullName)

data class HomeState(
    val userFullName: String,
    val paymentList: Async<List<Payment>> = Uninitialized,
    val coarseLocationPermissionGranted: Boolean = false,
    val deviceLastLocationCoordinates: Pair<Double, Double> = Pair(0.0, 0.0),
    val count: Int = 0
) : MavericksState {

constructor(homeFragmentArgs: HomeFragmentArgs) : this(userFullName = homeFragmentArgs.userFullName.orEmpty())

Nah, that alternate constructor setup didn't work. Not sure whether or not it's because I'm not doing the steps 👇🏽

Well things ARE working when I follow the steps above

However, this process seems opposite to using the arguments declared in the Navigation Component nav graph XML file. I still have to create custom Parcelizable argument data classes 😕  I'm unable to use generated _____Directions and do something like
findNavController().navigate(LoginFragmentDirections.actionLoginFragmentToHome(userFullName = it.userFullName))

I know that custom Parcelable objects can be passed through as arguments

However, this doesn't really help me from avoiding having to create these custom args classes in the first place 😕

Any thoughts on this @gpeal @elihart ?

Doesn't really address this ticket's topic/question, but another option I just thought of was to save the full name to repo-level persistence in LoginViewModel and just fetch it in HomeViewModel instead of passing it at Navigation Component arguments from one fragment/VM to another.

Closing the loop here. This is what I've ultimately ended up with and I'm posting it here mainly so that others might benefit from it.
I created a setAsMavericksArgs extension function, which has made things pretty easy and minimal when going from one fragment/VM to another.
import android.os.Parcelable
import kotlinx.parcelize.Parcelize

@Parcelize
class ParcelableClassWithArgs(
    var stringValue: String? = "",
    var booleanValue: Boolean? = false,
): Parcelable

Parcelable extension function 👇🏽
fun Parcelable.setAsMavericksArgs(fragment: Fragment): Bundle {
    this.asMavericksArgs().let {
        fragment.arguments = it
        return it
    }
}

Fragment extension function 👇🏽
fun Fragment.navigate(actionInt: Int, optionalArgs: Bundle? = null) =
    findNavController().navigate(actionInt, optionalArgs)

Navigating in the Fragment 👇🏽
navigate(
    NavGraphDirections.actionToNextFragment().actionId,
    ParcelableClassWithArgs(
		...various values
	).setAsMavericksArgs(this)
)

Setup in the ViewModel of the Fragment that has been navigated to
data class ReceivingViewModelState(
    val args: ParcelableClassWithArgs? = null,
) : MavericksState {
    constructor(parcelableClassWithArgs: ParcelableClassWithArgs) : this(args = parcelableClassWithArgs)
}


Interactive list  Pull request

In this project, I added some functionality to the To-do-list project to make it interactive. Here is some of the changes:

  - The user will be able to mark task completion by selecting the corresponding checkbox (or undo it by unchecking
                       the checkbox).
  - Stored the updated array of items in local storage, so the user gets the correct list of values after the page reloads
                      (which means that any changes made to the list should be preserved)

Thank you for approving my project! 😊


[ci skip] adding user @jjerphan

Hi! This is the friendly automated conda-forge-webservice.
I've added user @jjerphan as instructed in #5.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #5

@conda-forge-admin, please rerender


Incorrect Energy on Group

I have 6 IKEA GU10 lights in a group
- platform: powercalc
  create_group: Kitchen Lights
  entities:
    -  entity_id: light.kitchen_1
    -  entity_id: light.kitchen_2
    -  entity_id: light.kitchen_3
    -  entity_id: light.kitchen_4
    -  entity_id: light.kitchen_5
    -  entity_id: light.kitchen_6

I turned it on for about a minute to test the sensor after which I turned it off see Power stats

However the Energy sensor on the group is reporting 24kWh for a minutes usage

Is this correct or am I misunderstanding something

Update: It seems like it somehow initialised with this high value, unless it included the entities' Energy usage from past usage or something. Looking at the graphs now this is what they look like and looks ok. Just dont know why it started at 24kWh and not at 0kWh.

Very strange. The kWh meters should really start at 0. No clue why they started this high for you.
Anyway powercalc provides a service to reset the energy meters to 0.


Temperature Only Displays in C

Prior to taking update 2.3.0, the sensor temperatures were able to display in whatever unit was desired (F for those of us in the US). I can't say for sure which version this changed in, but now the temperature is only available in C.

Device sends info in metric units. If you want different units you can use a helpers as workaround.

Device sends info in metric units. If you want different units you can use a helpers as workaround.

This is true. I was just curious at the sudden change and figured that there must have been something in the code that was adjusted.

Any change in your user profile ? There is setting for "temperature units".
For temperature sensors we have self._attr_native_unit_of_measurement = UnitOfTemperature.CELSIUS -> NATIVE
So HA should convert it based on your user profile preference.

Can you check on that ? @Casey-Sheridan

I checked around and couldn't find anything in the profile referencing Celsius as the primary unit. To my recollection, I don't believe any profile changes were made at the time, unless it had to do with an upgrade to HA.

Sorry my mistake it is system wide setting in "system"

Is your setup correct ? @Casey-Sheridan


Bootstrap padding/margin is incorrect

I am unsure how to fix this as some widths seem to be calculated dynamically.
Basically, as you can see (here), the padding is completely off and doesn't match a regular form control at all. I have no idea how this wasn't already raised, given how different it looks.
For some reason, you set the padding to 3px 3px 0px 3px so it is far too small and the input/placeholder is too close to the left. Setting this back to the default 6px 12px doesn't work either, presumably because of the dynamic width calculations going on here.
Expected: the two inputs to look identical in size, spacing, etc.
Actual: the padding is completely wrong, the height is also way off.
Example: http://plnkr.co/edit/D3o18AJu6YvXAUbCBEL3?p=preview

I wonder if this would be fixed by #879 which changes the control from a button to a form control? Also #878 changes the padding in bootstrap to allow for different themes - it might also impact here?


Shipa 2578

Description
Apps can now be deployed as a statefulset if the type in appSpec is specified as "StatefulSet", and volumeClaimTemplates are provided. The default type for apps is deployment.
There is some duplication in app_controller.go with the functions watchStatefulSetEvents and watchStatefulSetFunc. There are some minor differences between a deployment and a statefulset, that I could not get to work in one singular function.
However, both deployment and statefulset use AppDeploymentEvent. I'm treating an app deployment (in terms of ketch) as type independent (when it comes to statefulset versus deployment in k8s). It is possible to create unique events based on which type of deployment if need be.
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Chore (documentation addition or typo, file relocation)

Testing

[x] New tests were added with this PR that prove my fix is effective or that my feature works (describe below this bullet)
[ ] This change requires no testing (i.e. documentation update)

Documentation

[x] All added public packages, funcs, and types have been documented with doc comments
[x] I have commented my code, particularly in hard-to-understand areas

Final Checklist:

[x] I followed standard GitHub flow guidelines
[x] I have performed a self-review of my own code
[ ] My changes generate no new warnings

Additional Information (omit if empty)
Please include anything else relevant to this PR that may be useful to know.

I lowered the limit for coverage since the code that was causing it was some additional fields to a struct in v1beta1.

Closed in favor of https://github.com/theketchio/ketch/pull/238


Fix missing '[' from conditioinal in bootstrap.sh

What does your PR fix?
Fixes missing '[' from conditional in bootstrap.sh

Which triplets are supported/not supported? Have you updated the CI baseline?

No

Does your PR follow the maintainer guide?
have not - very minor change only

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

no, not updated
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/
no

This isn't the correct fix, see
https://github.com/microsoft/vcpkg/discussions/19822
and
https://github.com/microsoft/vcpkg/pull/19911

thanks @BillyONeal - wasn't aware of the issue & discussion
#19911 seems a much better fix
btw - running https://github.com/microsoft/vcpkg/blob/master/scripts/bootstrap.sh through https://github.com/koalaman/shellcheck reveals another [[  ]]

In bootstrap.sh line 272:
    if [ "$vcpkgAllowAppleClang" = "true" ] || [[ $(sw_vers -productVersion | awk -F '.' '{print $1}') -ge 11 ]]; then
                                               ^-- SC2039: In POSIX sh, [[ ]] is undefined.

https://github.com/microsoft/vcpkg/blob/master/scripts/bootstrap.sh#L272
Perhaps shellcheck (or similar) can be included  in CI? https://github.com/koalaman/shellcheck#in-your-build-or-test-suites
however, there is a caveat in shellcheck's README

Github (only Linux)

https://github.com/koalaman/shellcheck#in-your-build-or-test-suites

I think by the time we would deploy shellcheck we will have binary releases working which will eliminate effectively everything in bootstrap.sh.


⚠ Turnos 24x7 has degraded performance

In 0161853, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1024 ms

Resolved: Turnos 24x7 performance has improved in b28ab08.


Request British english in PR

Pull Request
Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#72  👈
#71
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 27, 5:02 AM EDT: A user merged this pull request with Graphite.


[Feature Request] Add seperate options for IPv4 and IPv6; Also use HTTPS instead of HTTP

Currently the default site used for getting your public IP, http://ident.me, will return a IPv6 if your ISP provides it (and if your home network has it enabled), otherwise you are provided a IPv4. While it is possible to change the URL used from http://ident.me to http://v4.ident.me to force return a IPv4, it is not possible to have both IPv4 and IPv6 be shown by Neofetch at the same time without having the user make coding changes in several places. I would like to request the ability to show both as separate options, say "public_ipv4" and "public_ipv6", in case users want one or the other or both.
Additionally, I would like to see the URL updated to use HTTPS instead of HTTP, i.e. https://v4.ident.me

Not sure if this the best way to do it (there's probably a more complex way which removes the need to duplicate code), but I essentially just renamed all public ip variables/functions to specify ipv4 and then duplicated those for ipv6. For example:
    # info "Public IPv4" public_ipv4
    # info "Public IPv6" public_ipv6

# Website to ping for the public IP
#
# Default: 'https://ident.me'
# Values:  'url'
# Flag:    --ip_host
public_ipv4_host="https://v4.ident.me"

# Website to ping for the public IP
#
# Default: 'https://ident.me'
# Values:  'url'
# Flag:    --ip_host
public_ipv6_host="https://v6.ident.me"

I actually think it's best to drop this feature altogether. I don't think neofetch should be doing network at all. Nothing prevents someone from doing: prin "Public IPv4" "$(curl .....)" in their neofetch configuration file after all.

Unless this information can somehow be determined locally...

Fair enough, I can close out the request as I do not see any way for a client to determine public IPs locally (apart from any craziness that would entail asking the modem/router what it was assigned by the ISP)


Changing a mapping path adds the old files/folders

Starting from a workspace.josh looking like
a = :/a
and editing in one commit to
b = :/a
will duplicate the files from a in the workspace directory instead of just updating the mapping.
#250 demonstrates this behaviour in a test. Note the duplicated file2.

I think we agreed that this is intended or at least accepted behavior. Users are expected to move the files in the workspace tree themselves.


Support for Personal BTTV Emotes

Is your feature request related to a problem? Please describe.
Yes, since the personal emotes are part of "BetterTTV Pro" and it would be unfortunate if I couldn't use my personal BetterTTV emotes while using Chatterino.
Describe the solution you'd like
A way to detect if people have BetterTTV Pro, so they can use their personal emotes.
Additional context/screenshots
The BetterTTV feature I'm talking about
Screenshot of both chats, showing that it is not working in chatterino

#12
There is no API for personal emotes so there's nothing we can do, hence such an old issue still open

Duplicate of #12