Exit Code 2 for ls /does/not/exist in WSL Instead of Expected 1

Windows Version
Microsoft Windows [Version 10.0.22631.4602]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
24.04
Other Software
No response
Repro Steps
Open a WSL terminal on your system.
Run the following command
> ls /does/not/exist
> echo $?

Expected Behavior
According to the documentation, the exit code should be 1 for a "file not found" error, which is the correct exit code for ls in this case.
Actual Behavior
We get exit code 2 that according to documentation is not right
0: Success.
1: General error.
2: Misuse of shell builtins (e.g., invalid options, missing arguments)
126: Command not found.
127: Command not found.
128: Invalid argument to exit.
130: Script terminated by Ctrl+C.
Diagnostic Logs
No response

WslLogs-2024-12-22_22-36-15.zip

@arturbagramyan1 it's not a WSL issue!
Quick test on standalone Linux system, running CachyOS and bash shell:
[zcobol@ontario ~]$ ls /does/not/exist
ls: cannot access '/does/not/exist': No such file or directory
[zcobol@ontario ~]$ echo $?
2

From man ls:
   Exit status:
       0      if OK,

       1      if minor problems (e.g., cannot access subdirectory),

       2      if serious trouble (e.g., cannot access command-line argument).

A lot of people tried it on ubuntu in community all were getting 1 same on macOs

Didn't try it on Ubuntu but on an Amazon Linux 2023 cloud instance the output is the same:
[ec2-user ~]$ ls /does/not/exist
ls: cannot access '/does/not/exist': No such file or directory
[ec2-user ~]$ echo $?
2

I think Not such file or directory files under is serious trouble exit code.
Command version used for testing:
[ec2-user ~]$ ls --version
ls (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard M. Stallman and David MacKenzie.

The authors of GNU ls are Richard M. Stallman and David MacKenzie. Please reach out to either author and ask to clarify the exit code behavior of ls.

@arturbagramyan1 it's not a WSL issue!
Quick test on standalone Linux system, running CachyOS and bash shell:
[zcobol@ontario ~]$ ls /does/not/exist
ls: cannot access '/does/not/exist': No such file or directory
[zcobol@ontario ~]$ echo $?
2

From man ls:
   Exit status:
       0      if OK,

       1      if minor problems (e.g., cannot access subdirectory),

       2      if serious trouble (e.g., cannot access command-line argument).

Ls is not a builtin command. i think wsl does something between so we get exit status 2
exit status for builtin commands


lib/tests/formulae: skip unbottled formulae on Monterey

This will allow us to enable Monterey CI in PRs without worrying about
accidentally bottling something whose dependencies have yet to be
bottled.
This is useful for PRs for formulae that already have Monterey bottles
(e.g. Homebrew/homebrew-core#87862).
Pair with Homebrew/homebrew-core#87871.

Superseded by #687 and #690.


DM: do not create redundant empty schema in the downstream

Is your feature request related to a problem?
The route rule:
schema-pattern: tdehr
table-pattern: ‘*’
target-schema: tidb_tdehr
target-table: “”

matches all the tables in the designated schema tdehr and migrate all of them to tidb_tdehr but DM still creates a empty tdehr in the downstream tidb.
Describe the feature you'd like
Stop creating the empty schema.
Describe alternatives you've considered
No response
Teachability, Documentation, Adoption, Migration Strategy
No response

/area dm

https://asktug.com/t/topic/994044

have you try
schema-pattern: tdehr
target-schema: tidb_tdehr

have you try
schema-pattern: tdehr
target-schema: tidb_tdehr

It is some sort of workaround, but a bit obscure for our users to comprehend why this happened.


[CXF-8535] Query missing from signature request-target

Changed Interceptor and Filter to include query component in request-target.
Added test methods to include interceptor/filter in testing the cases from the spec. These tests previously only tested the objects used within the interceptor/filter (MessageSigner/Verifier) which led to this issue not being discovered by tests.
I also had to include PowerMock to mock the static PhaseInterceptorChain class used by the VerifySignatureFilter.

@coheigea can you please have a look at this PR?

Please correct the checkstyle failures:
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/utils/SignatureHeaderUtils.java:109:9: 'if' is not followed by whitespace. [WhitespaceAround]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateSignatureInterceptor.java:32:1: Wrong order for 'javax.annotation.Priority' import. [ImportOrder]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateSignatureInterceptor.java:45:1: Wrong order for 'java.io.IOException' import. [ImportOrder]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateSignatureInterceptor.java:87: Line is longer than 120 characters (found 133). [LineLength]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/VerifySignatureFilter.java:23:1: Wrong order for 'java.io.ByteArrayInputStream' import. [ImportOrder]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:33:1: Wrong order for 'org.powermock.core.classloader.annotations.PrepareForTest' import. [ImportOrder]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:36:1: Wrong order for 'javax.ws.rs.client.ClientRequestContext' import. [ImportOrder]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:41:1: Wrong order for 'java.io.ByteArrayInputStream' import. [ImportOrder]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:58:8: Unused import - java.util.stream.Collectors. [UnusedImports]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:61:53: Using the '.' form of import should be avoided - org.powermock.api.mockito.PowerMockito.. [AvoidStarImport]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:169: Line is longer than 120 characters (found 124). [LineLength]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:244: Line is longer than 120 characters (found 124). [LineLength]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:321: Line is longer than 120 characters (found 124). [LineLength]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:328: Line is longer than 120 characters (found 133). [LineLength]
[ERROR] /home/coheig/src/apache/cxf/rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/SpecExamplesTest.java:337: Line is longer than 120 characters (found 145). [LineLength]

Overall LGTM, but I don't understand why the previous unit tests didn't fail, given that they were including a query parameter and we were testing against a Signature expected header, once the patch changed it to also sign the query shouldn't the signature header have been different?

Fixed checkstyle issues now.
The previous unit tests didn't fail previously because they didn't target any classes that had any issues. They don't fail now either because I haven't touched the existing methods, only added methods that tested other classes. The problem here was that the tests only manually tested the inner Signer/Verifier classes, but the issue was with the Interceptor/Filter layer. The Interceptor/Filter didn't give the inner classes the same input as the tests did.


Exception for invalid JSON in req.options.where

@gadelkareem  apologies for the delay.  This was resolved by https://github.com/balderdashy/sails/pull/2435 afaik, but please resubmit if your use case wasn't taken care of.


Migrate old json.com content

http://github.com/json-com/json-com
It's a Poet (+ express.js) site.
We could:

[ ] convert it to harp.js
[ ] migrate the content to jekyll (see commit log...)
[ ] wish that all these content systems didn't change content "shape" just for the @#$@% of it...

I've decided to stick with Jekyll and do the migration by :hand:. It's...terrible...but really, it paves a better future by getting everything into Markdown with YAML metadata--which is much more common than Jade + Poet's (invalid Jade...) JSON-ish looking metadata at the top. :frowning:
Anyhow. It's happening. Slowly.


Uptime buckets in network health report

Add uptime buckets to network health report.
Possible future improvement: add synced statuses to the buckets.
Tested on testworld.
Closes #7238.

Make sure to bump the version.txt @psteckler
...also run make build/release/latest once committed.

Make sure to bump the version.txt @psteckler
...also run make build/release/latest once committed.


unread_ops: Add confirm_dialog to bulk mark unread in interleaved views.

Fixes #31292.
CZO thread
Known number: (All Fetched)

N < 50 - no confirmation dialog
N >= 50 - confirmation dialog with the number of messages

Unknown number:

N < 10 - no confirmation dialog
N >= 10 - confirmation dialog with the minimum number of messages, rounded down to the nearest multiple of 25.

Screenshots and screen captures:
Screen recording for the known number cases
Screen recording for the unknown number confirmation dialog
Screenshot for the unknown number case (and its threshold)

Self-review checklist

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

Communicate decisions, questions, and potential concerns.

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

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

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

Completed manual review and testing of the following:

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

Thank you, @afeefuddin!
Updated to fix the typo (thanks for catching that!) and revert back to using message_ids_to_update !== undefined instead of is_all_fetched.

@zormit Could you please review this too?
@zulipbot add "mentor review"

Update:

Moved the hardcoded constants to the top of the file, and renamed them. Added a comment explaining their purpose.
Renamed is_all_fetched variable to has_found_newest.
Fixed the is_interleaved_view check. Sorry about that. I looked into the narrowing and filtering part of the codebase a bit better now, but I might have still directly checked the term_types instead of using can_bucket_by, so thank you for the solution.

Added that as a preparatory commit, with the is_interleaved_view() and corresponding assertions in the test file.
Created a const current_filter and replaced message_lists.current.data.filter's usage. This doesn't particularly relate to this commit's purpose of introducing a confirmation dialog. Should this necessarily be a separate commit, or is it fine since it is minor?

Broke down display_count, and rewrote that part, passing the new addition is_count_too_low in the context. Intermediate variables rounded_count, count_to_use are newly used.

Hey @Niloth-p , are you still working on this one? If not, I would like to continue.

I was supposed to update this soon, but I haven't looked at this in quite a while, so I'll be glad to have you take this forward, @whilstsomebody.

thanks @Niloth-p .


Update whisper/convert.py to save as safetensors instead of npz

This will make it easier to load in Swift (where npz loading is currently supported).
Context from X: https://x.com/awnihannun/status/1824197443216609733

you can convert from safetensors as illustrated here: https://github.com/CrispStrobe/mlx-examples/blob/main/whisper/convert_safetensors.py


New Silo: Threads.net [blocked on API]

Given how quickly Threads.net has gained users, I feel like this is probably a good call to file. They seem to be using the same protocol as mastodon under the hood so hopefully that should make this easier but there's no official API yet as far as I can see.

Yes! Absolutely, thanks for filing.
They're using Meta's internal infrastructure under the hood as far as we know. AP is more about how servers communicate between each other, and they sound at least a quarter or two away from shipping that federation. I'm looking forward to testing interop with Bridgy Fed when they do.
Regardless, if/when they have a traditional API, Bridgy classic support for POSSE and backfeed would be good too!

@vandie since they'll be adding activityPub support soon, maybe we'll get a threads support for free?

In Bridgy Fed, yes! Not here in Bridgy classic though.

While obviously an official API is preferred, the unofficial API has been reverse engineered already.
https://github.com/junhoyeo/threads-py

Also, given the current state of Facebook's and Instagram's APIs - ie, woefully inadequate for Bridgy - I don't know if we have much reason to expect much more from an official Threads API. cc @tantek @Timothyjchambers (others?)

Evidently a real API is in the works! https://www.theverge.com/2023/10/28/23936093/threads-creating-api-third-party-app-support-instagram-meta-tweetdeck

They’re asking for feedback here https://www.threads.net/@0xjessel/post/CzJoc1GRQpC

Do you have a cool idea for how you would use an API to produce content on Threads? Comment below with your idea and if it’s a good fit, we will reach out via IG DM or here.

What an odd thing to ask. Dont see why they need this sort of feedback other than to try to gatekeep how people use the API.
The internet has been and always should be free and open and public content shouldn't be restricted to a single platform. That alone should be all the feedback they need to just do this.

ETA sounds like June: https://techcrunch.com/2024/03/01/threads-says-it-will-make-its-api-broadly-available-by-june/

Can't wait. I ended up signing up for bluesky in the meantime while I wait but I just use threads so much more.

Ok!
I don't personally use Threads much, so I doubt I'll prioritize building this myself, but I'd love to have someone else jump in and contribute! We've had a good track record of contributors adding silos here over the last few years, notably Reddit and Bluesky.


Troubleshooting when running command pnpm dev

I am having difficulty getting pnpm dev to work despite following the instructions in the readme and cloning the repository multiple times. Can someone assist me with troubleshooting this issue?
{   npm: '8.15.0',   node: '18.11.0',   v8: '<IP_ADDRESS>-node.12',   uv: '1.43.0',   zlib: '1.2.11',   brotli: '1.0.9',   ares: '1.18.1',   modules: '108',   nghttp2: '1.47.0',   napi: '8',   llhttp: '6.0.10',   openssl: '3.0.5+quic',   cldr: '41.0',   icu: '71.1',   tz: '2022b',   unicode: '14.0',   ngtcp2: '0.8.1',   nghttp3: '0.7.0' }

Looks like you dont have XCode which is required for starting the iOS emulator

Closing as inactive. Feel free to reopen if installing Xcode and agreeing to TOS doesn't solve the issue


Unable to return a Promise from app.middleware

What's the correct way to perform some kind of promise/async activity in a middleware function?
Looking at https://github.com/actions-on-google/actions-on-google-nodejs/blob/master/src/service/dialogflow/dialogflow.ts#L430 it should await for a promise if ones is received should it not?
In this contrived example
'use strict';

const {dialogflow} = require('actions-on-google');
const functions = require('firebase-functions');

const app = dialogflow({debug: true});
app.middleware(  (conv) => {
    return new Promise((resolve,reject) => {
        setTimeout(() => {
            conv.intent = 'resolved'
            resolve(conv);
           // also tried:
           //resolve()
          //return resolve();
         // note this will work in a normal intent handler
        }, 2000)
    })

});

app.fallback(conv => {
    const intent = conv.intent;
    conv.ask("Hello , your intent was changed to " + conv.intent );
//Expected 'resolved'
//actual is whatever intent was invoked e.g 'welcome'
});

exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);

This actually results in an error
TypeError: Cannot read property 'parsed' of undefined at Function.<anonymous> (/srv/node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:115:69) at Generator.next (<anonymous>) at /srv/node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:22:71 at new Promise (<anonymous>) at __awaiter (/srv/node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:18:12) at Function.handler (/srv/node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:58:16) at Object.<anonymous> (/srv/node_modules/actions-on-google/dist/assistant.js:53:32) at Generator.next (<anonymous>) at /srv/node_modules/actions-on-google/dist/assistant.js:22:71 at new Promise (<anonymous>)
Should promises be supported by middleware? If not, can they be? I can imagine it would be quite useful to grab some data from an API etc. in middleware that is common to all requests, or to a particular user and potentially then manipulate the conv object.

This was originally addressed in #151. It should be available in version 2.2.0 and up. Can you confirm that you're using a recent library version?
It may be useful to take a look at how the tests are written and see if there's any code in that which may help you debug your middleware.

It looks like my package.json file had an older version in it as I'd originally imported my function from the dialogflow firebase example. Updating the version worked fine!


Push to talk does not work

This does not seem to work on Google Meet, I have not tried it with other programs. Any thoughts? I am currently running on 11.2.3 macOS Big Sur with an external microphone.

I don't have any access to Bug Sur yet, but will update once I upgrade.

Not sure if this is your problem, but for me Google Meet does some sort of system mute detection that can get confused and keep me muted in the meeting even after PTT unmutes the system audio.
The workaround I've found is: on the screen before you join the meeting

turn off PTT
unmute the meeting audio
click the "Join Meeting" button
turn PTT back on

which is more complicated than I'd like, but seems to do the trick.

At first time, It works great.
But, after restarting the system, my external usb microphone doesn't work.
The icon is red(on) but, the system can't hear the sound from microphone.
I'm running on 10.15.2 macOS Catalina with an USB microphone.
The important thing is that the microphone works when I disconnect the usb mic and connect the usb mic each time.

@limited107 when a new external mic is unplug, the list is not updated automatically. There is the option Refresh Device and then on the Device menu, make sure to select the correct device

Not sure if this is your problem, but for me Google Meet does some sort of system mute detection that can get confused and keep me muted in the meeting even after PTT unmutes the system audio.
The workaround I've found is: on the screen before you join the meeting
1. turn off PTT

2. unmute the meeting audio

3. click the "Join Meeting" button

4. turn PTT back on

which is more complicated than I'd like, but seems to do the trick.

Some time i get this as well with Google Meet. One trick that works for me is after joining the meeting, go to osx settings, (at this point usually pressing the hot key doesn't change the mute state).
After sliding the mic value a little bit it became enabled again.


Analyzer fails to canonicalize type objects for nullable extension types.

Example:
import "dart:async";
void main() {
  const c1 = identical(typeof<int>, typeof<ExInt>) ? 0 : (1 ~/ 0);
  const c2 = identical(typeof<int?>, typeof<ExInt?>) ? 0 : (1 ~/ 0); // Analyzer error
  const c3 = identical(typeof<FutureOr<int>>, typeof<FutureOr<ExInt>>) ? 0 : (1 ~/ 0);
}
typedef typeof<T> = T;
extension type const ExInt(int _) implements int {}

The analyzer considers typeof<int?> and typeof<ExInt?> different, even though both are constant Type objects for the type int?.
It seems to only affect nullability (at least FutureOr doesn't cause any problems).
CFE has no issue.

CC @scheglov

This code works now.
I believe it was fixed as https://github.com/dart-lang/sdk/issues/54302.


Budget Allocator Optimum Original Plot

Project Robyn
Describe issue
I was trying to get the optimized budget allocation, and expecting to get results as is shown in Robyn document.

However, I got something as below:

Provide reproducible example
I was using demo code trying to regenerate the result:
AllocatorCollect1 <- robyn_allocator(   InputCollect = InputCollect,   OutputCollect = OutputCollect,   select_model = select_model,   channel_constr_low = 0.7,   channel_constr_up = c(1.2, 1.5, 1.5, 1.5, 1.5),   scenario = "max_response",   export = create_files ) print(AllocatorCollect1) plot(AllocatorCollect1)
Environment & Robyn version
Make sure you're using the latest Robyn version before you post an issue.

Check and share Robyn version: packageVersion("Robyn")
R version (Please, check and share: sessionInfo() or R.version$version.string)
I'm using Robyn version <IP_ADDRESS>00 and R version 4.3.0

we've released an update for the allocator recently. sorry that the documentation is lagging behind. @michellegrushkometa @laresbernardo  FYI


test: simplify test cases to reduce calls to gpt

Description

Testing

Additional context

Codecov Report

Merging #69 (53f5ca6) into main (b8cc6ff) will decrease coverage by 2.74%.
The diff coverage is n/a.

:exclamation: Current head 53f5ca6 differs from pull request most recent head 1a2cd54. Consider uploading reports for the commit 1a2cd54 to get more accurate results

@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
- Coverage   89.14%   86.40%   -2.74%
==========================================
  Files          14       14
  Lines         433      434       +1
  Branches       65       65
==========================================
- Hits          386      375      -11
- Misses         34       44      +10
- Partials       13       15       +2

Flag
Coverage Δ

integration
?

unittests
86.40% <ø> (+0.03%)
:arrow_up:

unittests-3.10
86.40% <ø> (+0.03%)
:arrow_up:

unittests-3.11
86.40% <ø> (+0.03%)
:arrow_up:

unittests-3.8
86.40% <ø> (+0.03%)
:arrow_up:

unittests-3.9
86.40% <ø> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/gpt_review/_openai.py
80.64% <ø> (-19.36%)
:arrow_down:

... and 1 file with indirect coverage changes


Create issue command doesn't populate repo parameter based on channel

It would be nice for channels that don't match 1-1 to repo if command could populate it based on channel where request is coming from

@MappedParameter("atomist://github_webhook_url")
url: string = "https://webhook.atomist.com/github

Fixed.


⚠ Bofrost.de has degraded performance

In 5351b67, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1354 ms

Resolved: Bofrost.de performance has improved in ac59814.


error due to value stored at different devcies fixed. And README typo fixed

Updates
At matching/gnn/UltraGCN/main.py
before
At line 292
self. constraint_mat = constrain_mat
self.ii_constraint_mat = ii_constraint_mat
self.ii_neighbor_mat = ii_neighbor_mat

after
at line 292
self.constraint_mat = {}

self.constraint_mat['beta_uD'] = constraint_mat['beta_uD'].to(params['device'])
self.constraint_mat['beta_iD'] = constraint_mat['beta_iD'].to(params['device'])

At line 551
batch_users = batch_users.cpu()

description
These changes remove the error

README Update
README typo fixed for Movie Lens running script
cd data/AmazonElectronics_m1  -> cd data/Movielens1M_m1

Could you tell the testing requirement version you use?

Could you tell the testing requirement version you use?

I dont understand. I just tried to run it in my pc and it popped the error message "indices should be either on cpu or on the same device as indexed tensor ( cpu ) " .  Then after debugging a while i made it work .
I used :
torch  -> 2.0.1+cu118
numpy  -> 1.23.5


Unknown type name '__m128i'

I am unable to integrate ethers.obj to my ios app see the following error

You seem to be getting a lot of errors. How did you add the libary to you project?
You should be able to add the ethers.xcodeproj as a subproject to your project. For an example, try out the EthersWallet-ios project. That should help you figure out the setup required.

It’s coming. We just haven’t had time yet. :)

crypto_scrypt-ref.c  crypto_scrypt-sse.c LightClientProvider.m

crypto_scrypt-ref.c crypto_scrypt-sse.c LightClientProvider.m not compiler in ethers.objc.
Delete them, Error disappears.


Event Grid MQTT Certificates does not support self signed certs

The directions on the page in question show how to use Step commands to create a self-signed cert to upload to Event Grid MQTT CA certificates. The create works fine, but the upload to Azure failures because the cert was not created by a trusted authority. Document should be updated to reflect that with guidance on how to get/create a cert signed by a TA.

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

ID: 303c7b13-2f48-234a-d2f5-9855083b9e60
Version Independent ID: ff0d6950-99e2-a64b-b51d-97a11f4436ac
Content: Azure Event Grid Namespace MQTT client authentication using certificate chain - Azure Event Grid
Content Source: articles/event-grid/mqtt-certificate-chain-client-authentication.md
Service: event-grid
GitHub Login: @veyaddan
Microsoft Alias: veyaddan

Hello,  The certificate generation step is provided for testing purposes.  Customers will bring their own certificates for production usage.  Also, I am able to upload the certificate generated using STEP to Event Grid namespace, where are you seeing the issue?
Thanks,
Venkat
From: Jordan Beland @.>
Sent: Thursday, July 13, 2023 6:08 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Mention @.***>
Subject: [MicrosoftDocs/azure-docs] Event Grid MQTT Certificates does not support self signed certs (Issue #112198)
The directions on the page in question show how to use Step commands to create a self-signed cert to upload to Event Grid MQTT CA certificates. The create works fine, but the upload to Azure failures because the cert was not created by a trusted authority. Document should be updated to reflect that with guidance on how to get/create a cert signed by a TA.

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

ID: 303c7b13-2f48-234a-d2f5-9855083b9e60
Version Independent ID: ff0d6950-99e2-a64b-b51d-97a11f4436ac
Content: Azure Event Grid Namespace MQTT client authentication using certificate chain - Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication
Content Source: articles/event-grid/mqtt-certificate-chain-client-authentication.mdhttps://github.com/MicrosoftDocs/azure-docs/blob/main/articles/event-grid/mqtt-certificate-chain-client-authentication.md
Service: event-grid
GitHub Login: @veyaddanhttps://github.com/veyaddan
Microsoft Alias: veyaddan

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/112198 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6KR5W4X3UPRSNYG5MYO4TXQB5V3BFKMF2HI4TJMJ2XIZLTSWBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKJWGQ3DKNBVGU2DHJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIYTIMBUHA4TKNJWGCSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44UQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBXGI3DQNJQGI3IFJDUPFYGLJLJONZXKZNFOZQWY5LFVIYTQMBTHA4DAMRTG2BKI5DZOBS2K3DBMJSWZJLWMFWHKZNJGY2DMNJUGU2TIM4CUR2HS4DFUVWGCYTFNSSXMYLMOVS2UMJUGA2DQOJVGU3DBJ3UOJUWOZ3FOKTGG4TFMF2GK.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Agreed on production scenarios, but this seems to be hindering development scenarios? Running the commands from the page, Azure Portal fails the upload with the message:

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

Jordan, I will need to see what you are doing to understand the issue.  I am able to upload the certificate without any issues.
Thanks,
Venkata
From: Jordan Beland @.>
Sent: Thursday, July 13, 2023 7:07 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Comment @.***>
Subject: Re: [MicrosoftDocs/azure-docs] Event Grid MQTT Certificates does not support self signed certs (Issue #112198)
Agreed on production scenarios, but this seems to be hindering development scenarios? Running the commands from the page, Azure Portal fails the upload with the message:
[image]https://user-images.githubusercontent.com/7538285/253433474-707af13b-b2a3-430f-bf00-ea885ccb1bed.png

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/112198#issuecomment-1635074581 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6KR5SNMQIPQJ2LNMO5YADXQCERRBFKMF2HI4TJMJ2XIZLTSWBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3DINRVGQ2TKNBTURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMJUGA2DQOJVGU3DBJDOMFWWLKLIMFZV63DBMJSWZLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOKIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVA3TENRYGUYDENUCUR2HS4DFUVUXG43VMWSXMYLMOVS2UMJYGAZTQOBQGIZTNAVEOR4XAZNFNRQWEZLMUV3GC3DVMWUTMNBWGU2DKNJUGOBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGE2DANBYHE2TKNRQU52HE2LHM5SXFJTDOJSWC5DF.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@veyaddan I followed the steps exactly as outlined on the page in question. I had nothing set up initially, so I did the following as recommended:

Install Step from the link provided
Run the step ca init command as specified
Run the step certificate create command as specified
In my fresh Event Grid Namespace with MQTT enabled, I tried to add a certificate by selecting the .pem file created in the previous step and clicked "upload" as shown in the screenshot:

And then I get the error as originally mentioned "Certificate must be issued by Certificate Authority". Is there a pre-req command needed for Step other than ca init to properly set up the cert? Or is it just rejecting my self-signed cert?

from the screenshot seems you are uploading the leaf cert, not the CA cert.
To work with self-signed certs (not signed by a CA), you can register the cert thumbprint for each client, and dont need to upload the CA cert.

Jordan,  Please advise if the issue can be closed?  Thanks

Should the directions on the documentation be updated then. I'm not sure if
they are incorrect or just incomplete, but it seems like following the
steps as outlined does not work. Is there an additional command to run to
generate the thumb prints? Or should the command to create the cert be
using a different endpoint than local host as specified?
On Tue, Jul 18, 2023 at 9:14 AM veyaddan @.***> wrote:

@jobeland https://github.com/jobeland , Please advise if the issue can
be closed? Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/112198#issuecomment-1640531997
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZQM3MAKN2KMVW7Y44FSX3XQ2Y45BFKMF2HI4TJMJ2XIZLTTCBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3DINRVGQ2TKNBTURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2SOBTGY3TAMRXGQZKI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNJHAZTMNZQGMYTSM5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWUTQMZWG4YDIOJZGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRRGQYDIOBZGU2TMMFENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZPAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDOMRWHA2TAMRWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHAYDGOBYGAZDGNUCUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNRUGY2TINJVGQZYFJDUPFYGLJLMMFRGK3FFOZQWY5LFVE4DGNRXGAZDONBSQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKJYGM3DOMBTGE4THAVEOR4XAZNFNRQWEZLMUV3GC3DVMWUTQMZWG4YDIOJZGSBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGE2DANBYHE2TKNRQU52HE2LHM5SXFJTVOBSGC5DF
.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.

I'd say the instructions are incomplete, not incorrect.

Select + Certificate to launch the Upload certificate page.

should include the name of the certificate to upload, from the article it should be .step/certs/intermediate_ca.crt

I have added another instruction with the cert file name.  Thanks!

#please-close


HTML editor text is reverted upon leaving editor

I make a change to the HTML file using the in-browser editor.  The changes show up instantly, but the changes in the editor in the browser disappear, but the rendered text stays the same.
Doing any of these things will loose the edits in the code (editing the Template "task"):
1 clicking on JS the HTML
2. ctrl-clicking the template
3. clicking on the patch file name in the list
4. clicking the SAVE button (which does not save to disk, and does not remove the patch.  Only ctrl-shift-S from editor pane will save any patches, and when the screen refreshes the patch is still listed)
The previous version yesterday (0.2.0) had the same issues.
Using version 1.1.1 (wha?) on Chrome 61 on Windows 10 using Meteor version 1.6.
clone of Meteor example app simple-todos updated to 1.6
I found several other problems that are reproducible with the simple_todos example with JS edits not showing on the Patches list and Patches not clearing after saving.  From the version 1.1.1 being different than the 0.2.0 it shows on github I am guessing that there is some sort of transition happening, so I'll put off further testing for a while.

Hehe, glad that you are so actively using Reval! I'll port over all the non-published Reval updates that Qualia has been using internally and try to address all of your issues/questions this weekend.


How to get forge working?

I got forge 1.12.2 from correct windows installer and when i replace both 1.12.2.jar and 1.12.2.json it doesnt work. The 1.12.2.json is being replaced. Is there a way to modify json or something to get it to work? On other note i got 1.18 development preview working by replacing 1.17 files with 1.18.

And I mean forge as plain forge (for any version prefferably) because I would want  to do some custom modding rather than curse mods browsing

Ok I got this to work by
picomc mod loader forge install <IP_ADDRESS>55
picomc instance config V_1.12.2 set version 1.12.2-forge-<IP_ADDRESS>55
The program is very good, but I would love to help with some documentation.
Also, Can I list all available forge versions/install manually downloaded one?

Ok, so whilst trying to get forge for 1.16.5 working version at least 36.2.0 (prefferably 36.2.4)
Older version work (36.1.35), newer crashes java.
INFO Launching instance: a INFO Using version: 1.16.5-forge-36.2.0 INFO Using account: TEST123 INFO Using java version: 11.0.12 (OpenJDK 64-Bit Server VM) WARNING The version of Minecraft you are launching uses java 1.8.0 by default. WARNING You may experience issues, especially with older versions of Minecraft. INFO Checking libraries. INFO Checking 2592 assets. INFO Launching the game Exception in thread "main" java.lang.reflect.InvocationTargetException 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.base/java.lang.reflect.Method.invoke(Method.java:566) 	at net.cavoj.picoforgewrapper.Main.main(Main.java:34) Caused by: java.lang.NoSuchMethodError: 'net.minecraftforge.installer.json.Install net.minecraftforge.installer.json.Util.loadInstallProfile()' 	at net.cavoj.picoforgewrapper.Installer.ensure(Installer.java:37) 	... 5 more
The reason is not java11, java8 throws identical error.
INFO Launching instance: a INFO Using version: 1.16.5-forge-36.2.0 INFO Using account: TEST123 INFO Using java version: 1.8.0_292 (OpenJDK 64-Bit Server VM) INFO Checking libraries. INFO Checking 2592 assets. INFO Launching the game Exception in thread "main" java.lang.reflect.InvocationTargetException 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:498) 	at net.cavoj.picoforgewrapper.Main.main(Main.java:34) Caused by: java.lang.NoSuchMethodError: net.minecraftforge.installer.json.Util.loadInstallProfile()Lnet/minecraftforge/installer/json/Install; 	at net.cavoj.picoforgewrapper.Installer.ensure(Installer.java:37) 	... 5 more

#picomc mod loader forge version 36.2.4
INFO Fetching Forge metadata
INFO Resolving version
INFO Found Forge version 36.2.4 for Minecraft 1.16.5

#ls
1.16.5-forge-36.2.4.json

Hmm yes, this is bad news. The forge installer has changed, this will need fixing in https://github.com/sammko/PicoForgeWrapper. I will take a look at it, I hope sometime this week, but I can't promise that.
Probably the easiest way to get it running right now is to run the forge installer manually and point it at the picomc install folder, which hopefully should work (not certain though)

So this has been more complicated than expected, but I recently got time to look at it and got a prototype working. Release with working forge should be coming in the near future.

This should be fixed now, please reopen if that is not the case


Typekit - how?

How can I use typekit and also leverage font-swap? It's not documented as far as I can see, so I thought I'd ask.

Hey, just use webfontloader docs
https://www.npmjs.com/package/webfontloader
it works as docs says, but just put it inside your nuxt config :)
webfontloader: {
      typekit: {
        id: 'xxxxx'
      }
    },

I'm not sure whether Typekit actually support font-swap atm. But as @isuke01 said, that's probably a good question for https://github.com/typekit/webfontloader


KeyError: 'client-channel'

(faaskeeper) ziad@ziad:~/PycharmProjects/faaskeeper$ ./fk.py deploy service --provider aws --config config/user_config.json
Traceback (most recent call last):
  File "/home/ziad/PycharmProjects/faaskeeper/./fk.py", line 157, in <module>
    cli()
  File "/home/ziad/.devops/bin/faaskeeper/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/ziad/.devops/bin/faaskeeper/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/ziad/.devops/bin/faaskeeper/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ziad/.devops/bin/faaskeeper/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ziad/.devops/bin/faaskeeper/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ziad/.devops/bin/faaskeeper/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/ziad/PycharmProjects/faaskeeper/./fk.py", line 40, in wrapper
    return func(*args, **kwargs)
  File "/home/ziad/PycharmProjects/faaskeeper/./fk.py", line 73, in service
    "FK_CLIENT_CHANNEL": str(config_json["client-channel"]),
KeyError: 'client-channel'

@ziadhany Indeed, it seems that our CI system let me merge a broken commit into master :-(
Thank you for the report, I will to try fix ASAP.

@ziadhany You can try the changes in #29 - this should resolve the issue. We are still missing the SQS channel - right now, it is required that the machine from which you run FK operations has a public IP and accepts incoming TCP connections - a reasonable assumption for a server but too restrictive for development.

@mcopik Yes, the issue is now resolved. But the stack still fails
>>  ./fk.py deploy service --provider aws --config config/user_config.json

@ziadhany This is a common issue related to the way stacks and Serverless Framework work, and it is hard for us to completely eliminate the issue.
Can you please try to delete the stack and recreate it again? Make sure that it was erased completely - sometimes deletion will fail because there are non-empty S3 buckets.

Serverless: Operation failed!
Serverless: View the full error output: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A486021575775%3Astack%2Ffaaskeeper-dev%2F773ef9b0-d08f-11ed-8d22-0ea9cf33745f

 Serverless Error ----------------------------------------

  ServerlessError: An error occurred: dataBucket - faaskeeper-dev-data already exists.
      at /home/ziad/PycharmProjects/faaskeeper/node_modules/serverless/lib/plugins/aws/lib/monitorStack.js:143:23
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at async AwsDeploy.update (/home/ziad/PycharmProjects/faaskeeper/node_modules/serverless/lib/plugins/aws/lib/updateStack.js:156:5)

@mcopik  s3 faaskeeper-dev-data already exists. , I solved it by rename service at aws.yml  because we use a service name as an env variable  service: faaskeeper-hello

Fixed with #29.


Get Build minutes in API

I want to get how many build minutes I have used on my account. but I can’t find in the docs, Can I get build minutes in API ?

Hi @udahari, thanks for the suggestion. This is available from the api at /api/v1/{account_id}/builds/status. We're working on adding it to the docs and our Javascript and Go clients libraries.

See docs at https://open-api.netlify.com/#operation/getAccountBuildStatus

See docs at https://open-api.netlify.com/#operation/getAccountBuildStatus


Add contributing guidelines

Possibly inspired by this one from Brain Networks in Python?
https://github.com/WhitakerLab/BrainNetworksInPython/blob/master/CONTRIBUTING.md

We have contributing guidelines now, but they're a re-write of my re-write of your STEMM Role Models guidelines 😆
So, if you'd like to see changed them to more closely match your Brain Networks in Python guidelines, I think a PR would be great !

 Sorry - I didn't even check first.
I think the contributing guidelines need updating though - they focus on submitting pull requests but actually most people will be editing the wiki. Probably just a few additional sentences to explain what's going on and to get people started a little more easily.

Heya - I'm going to work on this over the next couple of days at the OHBM hackathon.
Sorry for abandoning it for son long! 😭

Just bumping this up because it should be closed concurrently with PR #63 !


Move graphql files to /src tree

And some more polish in the imports and formatting. No real new functionality at this time, I'm afraid.

I don't really like the API to GraphQL.fromFile() on this one, with {} and __dirname.
But that's aesthetics, and we can change it later.
I don't remember why we wanted them in src, but I remember that there was a reason.

auto-merge doesn't work until we set up a build


READY: Add btn-brand styles

@faktorsmak @FabledWeb @Delightend - Add btn-brand classes. Also add a (secret) opaque style for buttons that are disabled that should look not disabled. Because that's a thing I guess.

:+1:


Add Python 3.9 support

Python 3.9 is now released. This PR adds it to CI.

Thank you for the review, @eiri and @emlaver ! I'm about to merge this.


Add RuboCop to CI

As this change introduces a Gemfile.lock and GitHub actions, .github/dependabot.yml is also included to provide routine updates.

Does it make sense to also add dependabot with this PR to keep rubocop up to date?

Does it make sense to also add dependabot with this PR to keep rubocop up to date?

Good idea. I have applied this suggestion in the latest review.

Successful run at: https://github.com/jdufresne/rails-rebase-migrations/actions/runs/7925578223


Add investment methods for energy storage assets

Description
As part of the M2 and the developments for the investment module for seasonal & non-seasonal storage, we need to improve the storage investment representation. We must create a new parameter (e.g., storage_investment_method) to select different investment methods in storage assets (the following is a guide, please review it before starting and think about more constraints/variables/parameters we might need):

storage_investment_method = "use_fixed_ratio": This is the implementation in version 0.8.0 and below.

variables: $v^{\text{inv}}_{a}$ -> investment in MW
parameters:

$p^{\text{energy to power ratio}}_a$ -> fixed ratio between the stored capacity (MWh) and the charge/discharge capacity (MW)
$p^{\text{inv cost}}_{a}$ -> investment cost per unit of the asset MW/unit
$p^{\text{inv limit}}_{a}$ -> investment limit (potential) of the asset MW
$p^{\text{capacity}}_{a}$ -> capacity of a unit of investment of the asset MW/unit

objective function: we only pay the investment cost of the power part
constraints (look at the documentation of v0.8.0):

maximum storage level limit
maximum investment limit

storage_investment_method = "use_storage_energy"

variables:

$v^{\text{inv}}_{a}$ -> investment in MW
$v^{\text{inv energy}}_{a}$ -> investment in MWh

parameters:

$p^{\text{inv cost}}_{a}$ -> investment cost per unit of the asset MW/unit
$p^{\text{inv cost energy}}_{a}$ -> investment cost per unit of energy the asset MWW/unit
$p^{\text{inv limit}}_{a}$ -> investment limit (potential) of the asset MW
$p^{\text{inv limit energy}}_{a}$ -> investment limit on energy (potential) of the asset MWh
$p^{\text{capacity}}_{a}$ -> capacity of a unit of investment of the asset MW/unit
$p^{\text{capacity energy}}_{a}$ -> capacity of a unit of investment of the asset MW/unit

objective function: we pay for both the power investment and the storage investment
constraints:

maximum storage level limit
maximum investment limit (look at the documentation of v0.8.0)
maximum investment limit for storage energy

NOTE: The names are suggestions. Consider changing them if there is a better option.
Sub issues

[ ] Define the mathematical formulation (conceptual part) - review the ones in the previous section and write the equations in this issue
[ ] Create the new parameters and update the input files with the new data
[ ] Create the new variables and constraints. Modify existing ones, including the objective function
[ ] Update the output solution
[ ] Update the documentation (concepts and tutorial/how-to)

Define the math here

storage_investment_method = "use_fixed_ratio": This is the implementation in version 0.8.0 and below.

variables: $v^{\text{inv}}_{a}$ -> investment in MW
parameters:

$p^{\text{energy to power ratio}}_a$ -> fixed ratio between the stored capacity (MWh) and the charge/discharge capacity (MW)
$p^{\text{inv cost}}_{a}$ -> investment cost per unit of the asset MW/unit
$p^{\text{inv limit}}_{a}$ -> investment limit (potential) of the asset MW
$p^{\text{capacity}}_{a}$ -> capacity of a unit of investment of the asset MW/unit

objective function: we only pay the investment cost of the power part (do we need to consider the energy part?) , i.e., the only relevant term is

\begin{aligned}
assets\_investment\_cost = \sum_{a \in \mathcal{A}^{\text{i}}} p^{\text{inv cost}}_{a} \cdot p^{\text{capacity}}_{a} \cdot v^{\text{inv}}_{a}
\end{aligned}

constraints (look at the documentation of v0.8.0):

maximum storage level limit
maximum investment limit

Intra-temporal Constraint for Maximum Storage Level Limit
v^{\text{intra-storage}}_{a,k,b_k} \leq p^{\text{max intra level}}_{a,k,b_k} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{energy to power ratio}}_a \cdot p^{\text{init capacity}}_{a} \cdot v^{\text{inv}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{s}} \setminus \mathcal{A}^{\text{ss}}, \forall k \in \mathcal{K},\forall b_k \in \mathcal{B_k}

Intra-temporal Constraint for Minimum Storage Level Limit
v^{\text{intra-storage}}_{a,k,b_k} \geq p^{\text{min intra level}}_{a,k,b_k} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{energy to power ratio}}_a \cdot p^{\text{init capacity}}_{a} \cdot v^{\text{inv}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{s}} \setminus \mathcal{A}^{\text{ss}}, \forall k \in \mathcal{K},\forall b_k \in \mathcal{B_k}

Inter-temporal Constraint for Maximum Storage Level Limit
v^{\text{inter-storage}}_{a,p} \leq p^{\text{max inter level}}_{a,p} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{energy to power ratio}}_a \cdot p^{\text{init capacity}}_{a} \cdot v^{\text{inv}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{ss}}, \forall p \in \mathcal{P}

Inter-temporal Constraint for Minimum Storage Level Limit
v^{\text{inter-storage}}_{a,p} \geq p^{\text{min inter level}}_{a,p} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{energy to power ratio}}_a \cdot p^{\text{init capacity}}_{a} \cdot v^{\text{inv}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{ss}}, \forall p \in \mathcal{P}

Maximum Investment Limit for Assets
v^{\text{inv}}_{a} \leq \frac{p^{\text{inv limit}}_{a}}{p^{\text{capacity}}_{a}} \quad
\\ \\ \forall a \in \mathcal{A}^{\text{i}}

storage_investment_method = "use_storage_energy"

variables:

$v^{\text{inv}}_{a}$ -> investment in MW
$v^{\text{inv energy}}_{a}$ -> investment in MWh

parameters:

$p^{\text{inv cost}}_{a}$ -> investment cost per unit of the asset MW/unit
$p^{\text{inv cost energy}}_{a}$ -> investment cost per unit of energy the asset MWW/unit
$p^{\text{inv limit}}_{a}$ -> investment limit (potential) of the asset MW
$p^{\text{inv limit energy}}_{a}$ -> investment limit on energy (potential) of the asset MWh
$p^{\text{capacity}}_{a}$ -> capacity of a unit of investment of the asset MW/unit
$p^{\text{capacity energy}}_{a}$ -> capacity of a unit of investment of the asset MW/unit

objective function: we pay for both the power investment and the storage investment
constraints:

maximum storage level limit
maximum investment limit (look at the documentation of v0.8.0)
maximum investment limit for storage energy

NOTE: The names are suggestions. Consider changing them if there is a better option.

New math
storage_investment_method = "use_storage_energy"

variables:

$v^{\text{inv}}_{a}$ -> investment in MW
$v^{\text{inv energy}}_{a}$ -> investment in MWh

parameters:

$p^{\text{inv cost}}_{a}$ -> investment cost per unit of the asset MW/unit
$p^{\text{inv cost energy}}_{a}$ -> investment cost per unit of energy the asset MWh/unit
$p^{\text{inv limit}}_{a}$ -> investment limit (potential) of the asset MW
$p^{\text{inv limit energy}}_{a}$ -> investment limit on energy (potential) of the asset MWh
$p^{\text{capacity}}_{a}$ -> capacity of a unit of investment of the asset MW/unit
$p^{\text{energy}}_{a}$ -> energy of a unit of investment of the asset MWh/unit

objective function: we pay for both the storage power investment and energy investment

\begin{aligned}
assets\_investment\_cost = \sum_{a \in \mathcal{A}^{\text{i}}} p^{\text{inv cost}}_{a} \cdot p^{\text{capacity}}_{a} \cdot v^{\text{inv}}_{a} +  \sum_{a \in \mathcal{A}^{\text{i}} \cap \mathcal{A}^{\text{s}} } p^{\text{inv cost energy}}_{a} \cdot p^{\text{energy}}_{a} \cdot v^{\text{inv energy}}_{a}
\end{aligned}

constraints:

maximum storage level limit
maximum investment limit
maximum investment limit for storage energy

Modified existing constraints (from v0.8):
Intra-temporal Constraint for Maximum Storage Level Limit
v^{\text{intra-storage}}_{a,k,b_k} \leq p^{\text{max intra level}}_{a,k,b_k} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{inv cost energy}}_a \cdot v^{\text{inv energy}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{s}} \setminus \mathcal{A}^{\text{ss}}, \forall k \in \mathcal{K},\forall b_k \in \mathcal{B_k}

Intra-temporal Constraint for Minimum Storage Level Limit
v^{\text{intra-storage}}_{a,k,b_k} \geq p^{\text{min intra level}}_{a,k,b_k} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{inv cost energy}}_a \cdot v^{\text{inv energy}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{s}} \setminus \mathcal{A}^{\text{ss}}, \forall k \in \mathcal{K},\forall b_k \in \mathcal{B_k}

Inter-temporal Constraint for Maximum Storage Level Limit
v^{\text{inter-storage}}_{a,p} \leq p^{\text{max inter level}}_{a,p} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{inv cost energy}}_a \cdot v^{\text{inv energy}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{ss}}, \forall p \in \mathcal{P}

Inter-temporal Constraint for Minimum Storage Level Limit
v^{\text{inter-storage}}_{a,p} \geq p^{\text{min inter level}}_{a,p} \cdot (p^{\text{init storage capacity}}_{a} + p^{\text{inv cost energy}}_a \cdot v^{\text{inv energy}}_{a}) \quad
\\ \\ \forall a \in \mathcal{A}^{\text{ss}}, \forall p \in \mathcal{P}

Maximum Investment Limit for Assets
v^{\text{inv}}_{a} \leq \frac{p^{\text{inv limit}}_{a}}{p^{\text{capacity}}_{a}} \quad
\\ \\ \forall a \in \mathcal{A}^{\text{i}}

New constraints (from v0.8):
Maximum Investment Limit for Assets
v^{\text{inv energy}}_{a} \leq \frac{p^{\text{inv limit energy}}_{a}}{p^{\text{capacity energy}}_{a}} \quad
\\ \\ \forall a \in \mathcal{A}^{\text{i} \cap \mathcal{A}^{\text{s}}

@datejada could you check the new design? If it looks okay, I can continue to work on merge the PRs 😄 . Thanks!

All issues from this epic have been completed 🚀


Post requests to page endpoints seem to call the get handler as well: it's either a bug or undocumented

Describe the bug
When you have a page endpoint with both a get method and a post method, a POST request will result in the get method being called after the post method, with the response bodies from both methods being merged.
This may be the intended (though confusing and potentially costly) behavior. If so, it isn't documented, as far as I can tell. I'm looking here:

These functions can, like get, return a body that will be passed to the page as props. Whereas 4xx/5xx responses from get will result in an error page rendering, similar responses to non-GET requests do not, allowing you to do things like render form validation errors[...]

There's nothing I see about get being called  post, or the order in which things are merged (although this seems ok, with the result of the post not being entirely overwritten.)
It's unclear whether this merging occurs with the response headers as well. (I tried but failed to figure this out in my repo below.)
Ideally, for me, this wouldn't happen at all. Yeah, maybe a few lines of code can be saved by the inheritance, but it's at the cost of

clarity and
making repetitive api/database calls (when I update a row in my db it returns the row -- why do I need to fetch it again in get? At that point a lot of the benefit of page endpoints goes away.)

If it is the intended behavior, then it should be documented so people can work around it, probably by avoiding page endpoints altogether.
But page endpoint methods are nice, and I'd like to keep using them, if possible. The happy paradigm should be that each operates independently, being responsible for returning the full set of route component properties.
Reproduction
A minimal reproduction of the behavior is here:
https://github.com/cdcarson/sk-issue-get-handler-called-after-post-handler
git clone https://github.com/cdcarson/sk-issue-get-handler-called-after-post-handler.git
cd sk-issue-get-handler-called-after-post-handler.git
npm i
npm run dev -- --open

Open the site, submit the form on the home page, and look at what the server logs in the console. You will see...
  SvelteKit v1.0.0-next.344

  local:   http://localhost:3000
  network: not exposed

  Use --host to expose server to other devices on this network

--- Start of request --
In get handler. The request method is: GET
In time consuming getKittenName api call.
--- End of request --

--- Start of request --
In post handler. The request method is: POST
In time consuming updateKittenName api call.
In get handler. The request method is: POST
In time consuming getKittenName api call.
--- End of request --

For completeness it also happens in prod (I'm using the node adapter)...
npm run build
npm run preview

Logs
No response
System Info
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 75.08 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  Browsers:
    Chrome: 101.0.4951.64
    Safari: 15.5
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.48
    @sveltejs/adapter-node: ^1.0.0-next.76 => 1.0.0-next.76
    @sveltejs/kit: next => 1.0.0-next.344
    svelte: ^3.44.0 => 3.48.0

Severity
serious, but I can work around it
Additional Information
No response

I'm looking here:

By, the way, right under that paragraph is this code snippet:
<!-- src/routes/items.svelte -->
<script>
  // The page always has access to props from `get`...
  export let items;
  // ...plus props from `post` when the page is rendered
  // in response to a POST request, for example after
  // submitting the form below
  export let errors;
</script>

This is intended and it's how even native HTML forms works... I don't think we need to document this, as it's standard behavior of HTML form element. (And we don't want to write W3C specifications for HTML elements to SvelteKit docs)

export const get: RequestHandler = async (event) => {
if (event.request.method !== 'GET') {
return {};
}

might be safer to
export const get: RequestHandler = async (event) => {
  if (event.request.method !== 'GET' && event.request.method !== 'HEAD') {
    return {};
  }

automatic handling of HEAD requests does call the get handler and leaves out body in the end (otherwise we'd be unable to obtain the same headers as GET)

Closing as everything is working as intended — I agree that there's probably scope for more documentation around this, but that's the sort of thing that the tutorial will cover when we get round to writing it

Just a note about how this behavior is a subtle gotcha if you aren't aware of it and your handlers have side effects like setting cookies.
In my case it was setting a CSRF cookie (i.e. a plaintext token hashed with a secret.) If the post handler errored it created a new plaintext token to put in the form data and set the cookie. The get handler also set the cookie, but without updating the form data with the new token (since the form data already existed in the body.) So the CSRF check would pass if the form was submitted successfully the very first time, but fail subsequently.


show terminal dimension on resize

Description
Display little dialog with terminal dimension on resize window.

Motivation and Context
Fix issue: https://github.com/contour-terminal/contour/issues/975

https://github.com/contour-terminal/contour/issues/975
How Has This Been Tested?
Tested manually due the feature pertains to ui scope.
contour-resize.webm

Very nice. Many thanks, I will look into it as soon as tomorrow morning :-)

I changed description a bit to make github realise that this PR connected to Issue, since when links inside "   " they are not parsed

Thanks a lot @elmarsan for contribution, we are planning to merge https://github.com/contour-terminal/contour/pull/761 soon, maybe you a willing to update this implementation to QML then ? :) sorry for inconvinience that we are changing frontend.
Also, we have a Discord, just in case you want to join.

Thanks a lot @elmarsan for contribution, we are planning to merge #761 soon, maybe you a willing to update this implementation to QML then ? :) sorry for inconvinience that we are changing frontend. Also, we have a Discord, just in case you want to join.

Yes sure, I'll do it. How we proceed with this feature then?
Shall we wait until frontend migration is done?

p.s.: I was apparently and obviously wrong about the "no code changes" argument. We're trying hard to clean things up before the merge. The only thing in #761 left out seems to be IME. We might merge the PR before having IME sorted out and work on IME on its own PR, so you can also start reworking your contribution (at least having the chance to). I am certain we can still hold the timeframe as mentioned early (getting #761 merged by this week).
Many thanks for your patience, @elmarsan.

Hey @christianparpart thanks a lot for the update! Not worries. I've being checking #761 and seems quite big. However this feature does not involves lots of changes, so probably will be easy to rework on it after the merge.

Hi, we merget qml pr (#761) into master

@Yaraslaut  Thanks. I'll update this pr ASAP.

@elmarsan you can also join us on Discord. Feel free to ask questions there or here. Take your time. :)

I'm closing this in favor of the final solution in #1203. Many many thanks, @elmarsan for actually pushing and contributing anyways.


Tutorial: MrXL map-implementation timing

Priya was in charge of trying to implement map in MrXL, like we plan to ask the attendees to.
This is their report:

Walked through trying to implement my_map_impl and I think it might be hard to implement map in the time allotted if you don’t know exactly what you’re trying to do, even with the description of the groups to generate. I also think if folks are new to hardware in general it may be difficult to conceptualize what a map implementation will look like, but not sure if that is a huge issue.
I think we can leave it as-is given the small size of the workshop and our ability to help attendees, or we could try to be more explicit about what components/control or general program structure would be needed either in our presentation or in the docstring for my_map_impl. Disclaimer that I don’t use Python much and haven’t really used the builder before, so maybe I’m providing too pessimistic of an outlook on this.

And this is my response:

That’s helpful, albeit disappointing. An easy fix is:

Make the “main branch” of attendees read the existing code and just think about what it’s doing. Let them take the whole 40 minutes for that.
If there are a folks who are gunning for adventure, they can choose Hard Mode and do it themselves. They can take 30 mins to try their hardest and then spend the last 10 catching up on what we have implemented already.
In other words, I’m proposing that we slide the scale down by flipping what the default is.

Just pulling it up from Slack to Github. Let's discuss tomorrow.

Yes, I think so.
To sum:
We'll ask them to hack on their implementation, but we'll be mindful of the fact that it's hard and they may not finish. We'll take their temperature regularly. We could even have little informal breakpoints and spoilers, e.g. "Aha, Sunita here has figured out something cool about the structure of this thing. Care to stand up and share?". If they struggle quite a bit, we will not be afraid to convert the entire competition thing into a slower "work through the doc" session.


Redis stores integers as Value::Integer

shotover currently stores redis integers as Value::Integer, however redis integers are really strings and so can be infinitely long.
To avoid losing data we need to store redis integers as a Value::BigInt

I discovered these docs: https://redis.io/topics/protocol#resp-integers
I can now see that:

redis integers are not available as values for keys. they are only used as replies for counting etc. commands.
The values fit within an i64

So the current implementation is correct.


fix(apps): Returning empty versions array on app GET (AEROGEAR-8792)

Motivation
https://issues.jboss.org/browse/AEROGEAR-8792
What
Return empty versions array on /app/:id GET
Why
it was returning "The requested item was not found" when an app existed but did not have any versions.
How
If an ErrNotFound error is returned from the repository layer, set the deployedVersions on the app model to an empty array.
Verification Steps

Start the server
Seed the database. You can do this with make test-integration-cover
Hit the endpoint http://localhost:3000/api/apps/1b9e7a5f-af7c-4055-b488-72f2b5f72266
It should return

{
    "id": "1b9e7a5f-af7c-4055-b488-72f2b5f72266",
    "appId": "com.aerogear.foobar",
    "appName": "Foobar",
    "deployedVersions": []
}

Checklist:

[x] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Coverage decreased (-0.2%) to 93.451% when pulling 38d843c0819115e1af807291a0b2ac3aec5a24cc on davidffrench:AEROGEAR-8792 into 7fb872e9003db0f9e545711944652a7fb7c2414b on aerogear:master.

verified
{
id: "1b9e7a5f-af7c-4055-b488-72f2b5f72266",
appId: "com.aerogear.foobar",
appName: "Foobar",
deployedVersions: [ ]
}```


Customization icon attribute bug

I found a Bug on HA v0.53
while editing icon attribute on customization dashboard not changes the icon.Because it saves the icon attribute as

icon: 'icon_name' mdi not included in customize.yaml entry

I fixed this by manually included icon: mdi:'icon_name' manually in customize.yaml file
Or including mdi: with icon name as shown below

Fix this bug on next update!
Thank You!

I have the same issue thanks for the tip to get it working.

Duplicate of #9348, fixed in home-assistant/home-assistant-polymer#423


#77 smarti widget invalidation

This PR adds a button to the configuration of the application which allows to reload Smarti frontend from the Smarti server.
Furthermore, the buffered state is getting refreshed on a daily basis.

Loading the widget-script via inline <script> tag is not the very best option. It lacks in capabilities for debugging (see the added JS-comment at the end of the Smarti widget file) and caching (having a button to flush the server side puffer and a 24h timeout). Both extensions are just workarounds. The correct solution for this would be loading the script file via src attribute.

Tested, changes work on my machine.

Unfortunately the user does not get any feedback when hitting the button. So it feels like nothing happen at all.

@ruKurz added error handling and UI propagation.


Spelling

This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at https://github.com/jsoref/TugboatQA-docs/commit/13fb7b23c7823b0618936094b00c1276cf97f930#commitcomment-82758600
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/TugboatQA-docs/commit/1bdc23bf0bdc1138ab8c5e859dff70d897c6b7a9
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.

Nice, thanks @jsoref ! Looks like you'll need to run yarn lint-fix after these spelling fixes are made.

Done.


2024-03-01 16:31:40.812 [error] Error: Invalid debug adapter

at v.m (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1553:95)
at v.$acceptDAError (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1552:7629)
at m.S (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:18889)
at m.Q (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:18655)
at m.M (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:17748)
at m.L (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:16827)
at o.value (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:15630)
at u.y (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.fire (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
at s.fire (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:14449)
at x.onmessage (vscode-file://vscode-app/c:/Users/artist/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1657:7802)

https://github.com/microsoft/vscode/issues/196948


Import alertmanager docs

This is part of the ongoing work to versioned prometheus documentation.
https://github.com/prometheus/docs/issues/857
@grobie

@grobie Done! Question, after this is merged how will be the process to update the documentation?
When a PR is merged to change the documentation here, will the docs project rebuild itself or something else is needed?

We use https://www.netlify.com/ now to build and host the docs. They provide webhooks and I configured prometheus/prometheus to use the trigger that on every push. I'll do the same for alertmanager.
I need to make some changes to the docs repo to support multiple versioned repo docs. Took some shortcuts on the way.

@grobie
@stuartnelson3 is cutting a new release for alertmanger, and there are some important changes that must be updated in the documentation (pagerduty, and opsgenie were upgraded to a new version of their APIs) https://github.com/prometheus/alertmanager/pull/1089
Do we change the existing docs so users have it properly there, and later update it here, or the change you will do on the docs repo to support alertmanager is coming soon and we wait to update it only here?

I'm almost done with the nanoc4 upgrade. I hope to have the changes ready tonight or latest Saturday night.

@grobie ping

ack
On Thu, Dec 14, 2017 at 12:13 PM stuart nelson<EMAIL_ADDRESS>wrote:

@grobie https://github.com/grobie ping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/alertmanager/pull/1062#issuecomment-351681734,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANaPbWjweXmFzck00V77jmz1lXPjH5ks5tAQLUgaJpZM4QMEYn
.

@grobie status on this?

@grobie Ping. Status?

No progress. Depends on a change and rewrite of the docs infrastructure. I'll try to pick that up again during the next two weeks, but can't guarantee anything.

@grobie Is this something that Luc (our new docs person) could help with, or are you too far into it?

Superseeded by #2292 , and https://github.com/prometheus/docs/pull/1657

Considering @roidelapluie work, I’m closing this PR.


[Feature Request]: Oracle databases do support prepared statement metadata retrieval

What would you like to happen?
As Oracle database have supported Prepared Statement Metadata Retrieval since 11g
Could you please proceed to the following change in plugins/databases/oracle/src/main/java/org/apache/hop/databases/oracle/OracleDatabaseMeta.java ?
Modify isSupportsPreparedStatementMetadataRetrieval method as :
public boolean isSupportsPreparedStatementMetadataRetrieval() {     return true;   }
The impact on performance is huge (15 years of experience with PDI)
Issue Priority
Priority: 2
Issue Component
Component: Database

.take-issue


Collection::every return true if collect empty

Laravel Version
10*
PHP Version
8.2
Database Driver & Version
No response
Description
Is it expected that the every method returns true if the collection items were empty?
Steps To Reproduce
collect()->every(fn() => die); //true
//doesn't matter what's inside the closure it return true when collection is empty

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


Transmisión de audio en vivo?

Hi.
I would like to ask you if it is possible to broadcast live audio?
I want to do as a kind of a chat room, but you can also transmit audio ... you know how I can achieve that using laravel and some library. Or even vue.js. ??

Sorry, afraid I can't answer these questions.


Fixed tailwind CSS spelling

issue #66
please suggest if any improvements needed. also label it under gssoc label

Thanks @mohitvdx


Black

What do you think about using Black?

Hi, we’ve discussed this previously, and there’s a PR for it in #178. We decided to keep git history back then, since this library isn’t developed by me or Sondre, but transferred from Jobec.
Running black removes all git blame, for not much gain. This library is at a maintenance stage, and not really actively developed(Azure specifically is in need of a big overhaul). If this changes, I think we’ll reconsider. Until then, I’m afraid I’ll deny this based on the previous discussion.

OK, thank you for your feedback.

@JonasKs The concern about removing git blame is signficantly reduced by.git-blame-ignore-revs. I think it's worth discussing centered around that since the original discussion mentioned it at the end, but there wasn't a rebuttal.

This library is at a maintenance stage, and not really actively developed(Azure specifically is in need of a big overhaul). If this changes, I think we’ll reconsider. Until then, I’m afraid I’ll deny this based on the previous discussion.

I'm a bit worried about this comment because I'm in the process to use this library in apps that require long term support.
Should I use a library based on https://github.com/AzureAD/microsoft-authentication-library-for-python instead?
Eg. https://github.com/AgileTek/django-azure-auth

Maintenance doesn't mean a lack of support. I don't think any of the snok developers are going anywhere. However, it does mean new feature development is going to rely on the broader community to be the impetus.

^ this. Sorry if that was confusing.
Security is my #1 priority. I've developed FastAPI-azure-auth, and I(almong others @snok) will continue to support and maintain this library. How ever, I'm no longer actively using Django, so I will personally not expand its features 😊
If someone decides to really work on its features/azure documentation and use cases, I will happily review and help.
I can't really comment on the other libraries - one seem pretty unused and the official Azure one is very limited and not well integrated with Django and it's ORM(atleast wasn't before).
You're in safe hands here - as you can see we are actively responding and reviewing MRs. I will probably look into making the middleware async
(or help/review), and with that maybe Black can be implemented - it'll be a pretty big rewrite.

Oh funny, I didn't know you work with snok, I was using snok/install-poetryfor CI until recently (nowpipx install poetry`).
On FastAPI side, I coded an app with FastAPI/SQLAlchemy last year but I've rewritten it in Django + django-ninja (pydantic) in March after serious concerns about concurrency and quality of support. I don't regret my choice BTW.

Snok is just an org with friends, collaborating on open source 😊
I understand, however the most important parts of FastAPI is pydantic and starlette, two projects I have full faith in. FastAPI is just a wrapper on top.


When compiled with zmq support daemon exits with assert error

When zmq support is enabled, the daemon exits with an assert error.
The error is casued by a problem to interpret the zmq configuration parameter.
The daemon only works if either

all 4 possible zmq interfaces are configured as first parameters in feathercoin.com
or
all 4 possible zmq paramter are given as the first 4 parameter on the command line when starting the daemon

The problem seems to be in zmq/zmqnotificationinterface.cpp line 43/44

Some notes on zmq.
By default, the ZeroMQ feature is automatically compiled in if the necessary prerequisites are found. To disable, use --disable-zmq during the configure step of building bitcoind:
$ ./configure --disable-zmq (other options)
Block and Transaction Broadcasting with ZeroMQ
ZeroMQ is a lightweight wrapper around TCP connections, inter-process communication, and shared-memory, providing various message-oriented semantics such as publish/subscribe, request/reply, and push/pull.
The Bitcoin Core daemon can be configured to act as a trusted "border router", implementing the bitcoin wire protocol and relay, making consensus decisions, maintaining the local blockchain database, broadcasting locally generated transactions into the network, and providing a queryable RPC interface to interact on a polled basis for requesting blockchain related data. However, there exists only a limited service to notify external software of events like the arrival of new blocks or transactions.
https://github.com/bitcoin/bitcoin/blob/master/doc/zmq.md

Solved


Server Crash on world load

Describe the bug
I just downloaded the fabric version of the mod and put it into my modded server and got this error
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "value" is null         at fr.denisd3d.mc2discord.shadow.ml.denisd3d.config4j.Config4J.mapField(Config4J.java:107) ~[mc2discord-fabric-1.20.x-4.1.0.jar:?]
I tested it on a fresh server as well but got the same error.
Minecraft 1.20.1
Fabric Loader Server Version 0.14.22
Mc2Discord Version [Fabric 1.20.x] 4.1.0
Fabric API (I tried 2 versions) 0.86.0+1.20.1 and  0.87.0+1.20.1
Your config file
don't have one, the server crashes to fast

Just incase this helps , I think this is the problematic line: Field[] var4 = value.getClass().getDeclaredFields();

Will look into it tomorow
Thanks for reporting

Issue should be fixed with latest version: https://modrinth.com/mod/mc2discord/version/Gzc2VNGK


Docs/website: https://astral.sh/ruff is not automatically updating VERSION v0.1.2

Ruff is currently at version v0.1.4, but https://astral.sh/ruff shows:
Top of the page:

Bottom of the page:

Thanks, just fixed...


Custom crop overlay frame

Hi, is this package able to make a custom overlay cropper frame?
I'm trying to crop the image base on the custom overlay.
Example screenshot:

@JayronKhong
Thank you for asking and I apologize for the late reply.
Though it depends on what UI you need to build, you can simply place your overlay using Stack like below.
Stack(
  children: [
    SizedBox(  // or some Widget to provide the size to its child
      child: Crop(),
    ),
    Positioned.fill(
      child: IgnorePointer(
        child: YourOverlayWidget();
      ),
    ),
  ],
),


[BEAM-8335] Add PCollection to DataFrame logic for InteractiveRunner.

This adds logic to convert materialized elements from a PCollection and a PCollection element_type into a Pandas DataFrame.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @davidyan74 R: @KevinGG

Hey Robert, you'll notice that this implementation is quite different than what we talked about. When going trying to implement flattening columns from nested values, the logic just kept getting more and more complicated. If we have a rule of "use named tuples for columns names", this is a much simpler rule for them to memorize when using the interactive runner. A future fix can be to add a tabular data type (i.e. Schemas) to the type hints.

I believe this PR broke precommits. Please take care to run tests on Jenkins before merging.
> Task :sdks:python:test-suites:tox:pycommon:docs
...
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Cron/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/runners/interactive/utils.py:docstring of apache_beam.runners.interactive.utils.elements_to_df:3: WARNING: Inline interpreted text or phrase reference start-string without end-string.

https://builds.apache.org/job/beam_PreCommit_Python_Cron/2463/
Please fix or revert ASAP.


Add switch background only event, (to reduce duplicate battle scripts per enemy etc.)

Loading a scene bg, but the actors and scripts don't change/stop,
Usefull for battle systems, faster cutscenes,

Please check if the PR fulfills these requirements

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

What kind of change does this PR introduce?
Feature
Adds a new event to load any scenes background, without hiding the actors or stopping the scripts.

What is the current behavior? (You can also link to an open issue here)
There is no way to change the background without destroying the actors and scene script,
Pokemon like battles with complex scripts are duplicated for every enemy type. And there is no way to change the background without fading to white.
Some users have battle scripts that take up an entire bank, and copies of them are difficult to maintain or edit.

What is the new behavior (if this is a feature change)?
Adds a new event to load any scenes background by itself, without hiding the actors or stopping the scripts.
This does not fade the screen before or after the swap,
if a background is similar, eg switching between monsters, using similar tiles, or canging to a nighttime background, the transition is seamless.
With complicated scenes some visual artifacts may be visible during the transition, but can be desired or a fade added before in script.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Regular scene switch has not been modified, but parts are reused, so no issues should appear.

Other information:
L10n translation has not been added yet, but otherwise feature works without issues.

Hi @RichardULZ I know this is one of the 1.2.1 events I never got around to merging but could probably pick this back up as a 2.0.0 feature. Only thing I'm thinking though is what to do about the colors of the tiles for GBC games?
We could leave the colouring the same as the existing scene image but that might not be what would be expected.
Maybe we could use the colouring from an existing scene that used that image if there was one and fall back to not using the colouring if not. Feels a bit awkward but because I've tied the colouring to the scene and not to the image itself, there's no obvious way to do it.
Or I could just move the colour data to be per image rather than per scene... hmm...

A bit of an overkill solution, but what if the scene can be viewed with the different backgrounds in the World Editor and the color tiles can be edited for each of them?
The downside is that it might be confusing since collisions and triggers will apply to all the backgrounds but color tiles won't.

This originally for ease of programming actually modified a copy of switch scene event, instead of a background picker, so although saying set background, you would be picking a scene to use, (makes sure its on the map/compile list and everything) it could stay that way.

Is this something that could be incorporated into version 3?

Finally closing this one since the implementation won't work in 3.0 but maybe we could still support this at some point


Merge in design changes from develop

Pull Request Test Coverage Report for Build 121

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.671%

Totals

Change from base Build 120:
0.0%

Covered Lines:
533

Relevant Lines:
563

💛  - Coveralls


[WIP] Use C# 9 function pointers in MicroCom

We are currently using the old SharpDX approach where calls to placeholder functions are getting replaced with calli instructions using MSIL patches. This PR uses native function pointers instead

Replaced with nuget package


Adding Widget Resize to BoxLayout function

Widget might be using not just View but other mechanisms for rendering
aware of the view size (e.g. ViewPort).
By using the view reference out of the Widget, Widget doesn't have a
chance to react on this layout algorithm
That's an existing bug that happens when we try to use CellView inside
of an BoxLayout

Few details whilst they are still in my head:
This View resize https://github.com/gdamore/tcell/blob/2e10b659dd7d90c7572aeb2fa8e0eac3b6e81d64/views/boxlayout.go#L164
Doesn't affect the CellView.port https://github.com/gdamore/tcell/blob/2e10b659dd7d90c7572aeb2fa8e0eac3b6e81d64/views/cellarea.go#L36 at all
And when I was trying to Draw in it (https://github.com/gdamore/tcell/blob/2e10b659dd7d90c7572aeb2fa8e0eac3b6e81d64/views/cellarea.go#L90) It had width and height still 0 and no Drawing happened
We need to call Widget's Resize to handle whatever resizing we are doing (https://github.com/gdamore/tcell/blob/2e10b659dd7d90c7572aeb2fa8e0eac3b6e81d64/views/cellarea.go#L267)

I owe you a review on this.  Stay tuned.

In theory this looks good.  I'm a bit hazy on this stuff (been some months since I last worked on tcell).
I'm inclined to accept this.  What level of testing have you done?  I'm also wondering why changing the view doesn't cause the widget's resize to occur... there is probably a rational reason for this, but I'm lacking the immediate context right now on it.  I need to think about it.  (Logical vs. physical resize?)

Looking more at this, I'm wondering why doesn't CellView call the resize method of the content member.  I'm still analyzing... while your change may solve your problem, it may just really be a band-aid and I'd like to make sure we are making the "right" architectural solution.

It would be useful to have a test case for this.  I'm looking at alternative ways to solve this that may be more correct.

I had it all in my head 4 months ago :( now I vaguely remember the issue. Way to reproduce the issue would be remove these resize commands from my project https://github.com/viktomas/godu/blob/master/state_presenter.go#L52

Ok, I remember now.

Merged in 57a866e10c1c6110fdd3f4c1a8ac6b32b93453c3


List Views, Reports, Field Values

I want a way to show the Indicators in Field values so we can use the same CMDT setup but then show them in a field that can be visible in a report, list view, or on a record.
My first thoughts are an Invocable Apex that returns a value that can be placed into a field via Flow.
But Lightning Avatar does not have a way to output from Apex.
So do we simplify and have only the Text Value or Emoji to return via the Invocable Apex.
So maybe - an invocable Apex that takes in a Bundle Name and then loops through the Bundle Items and returns only the text values and separates them by a customisable separator (like the Concatenation option in DLRS). That might work for a simple use-case for now.

I may help with invocable method, but will need to fully understand objectives.

I do not believe we can support Reports or List Views, since they do not display any LWCs.
We may want to change this Issue's title to be "Flow Support" or create a new one with it being scoped accordingly.


RTT: Use same logic for particle systems than in the main path

See https://forum.babylonjs.com/t/rendertargettexture-problems-rendering-a-scene-to-a-texture/25908/10
In the past, we have had several problems with the rendering of particle systems in RTT (see https://forum.babylonjs.com/t/rain-effect-causes-screenshots-to-fail/18003/4 for eg).
The code in the scene to dispatch a particle system is:
if (!particleSystem.isStarted() || !particleSystem.emitter) {
    continue;
}

const emitter = <any>particleSystem.emitter;
if (!emitter.position || emitter.isEnabled()) {
    this._activeParticleSystems.push(particleSystem);
    particleSystem.animate();
    this._renderingManager.dispatchParticles(particleSystem);
}

whereas in RenderTargetTexture it is:
const emitter: any = particleSystem.emitter;
if (!particleSystem.isStarted() || !emitter || !emitter.position || !emitter.isEnabled()) {
    continue;
}

if (currentRenderList.indexOf(emitter) >= 0) {
    this._renderingManager.dispatchParticles(particleSystem);
}

I don't understand why the checks/conditions are not the same, so this PR is to align the code in RTT with the code in the scene:
if (!particleSystem.isStarted() || !emitter || emitter.position && !emitter.isEnabled()) {
    continue;
}

this._renderingManager.dispatchParticles(particleSystem);

It's a breaking change, in a w ay, but I think it's more of a bug fix than anything else.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13588/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13588/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13588/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13588/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13588/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13588/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13588/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13588/merge#BCU1XR#0


Improve documentation for release/1.1.0

These documentations are based on suggestions from various contributors going through the release/1.1.0 build call.

I don't know if there's a way to leave a comment on an image file (I couldn't figure this out) so writing this here instead.
When I was going through build call, it was mentioned that having the main scene included in the list (and checked) would fix some shader issues - in the images in this PR, the main scene isn't checked but is included in the scene list - was this a misunderstanding on my part (i.e. did I just need to have the scene included but not checked) or should these image also have the main scene checked (along with probably some note in the docs about why they are checked for shader purposes)?

it varies based on what you are doing. SpectatorView.HoloLens is the main scene for SpectatorView.Example.Unity. In your case you want to include your application's main.

In reply to: 560950804 [](ancestors = 560950804)


[docs]: Updated samples for Stacked Form

Describe the missing piece of documentation
Stacked forms have improved a lot and so is the base framework.
Lot of functions are now deprecated and things changed over 2 years. like addition of StackedView
The current documentation is very shallow and the sample code (e.g boxtout) is not up-to-date with all change (say Using Form Viewmodel with Others like Future and Stream).
Is there any latest tutorial or sample to refer (even a login / signup form will be of great help)

Hey,
The stacked docs has everything you mentioned here.

Forms
How Stacked State Management works
All the ViewModels
All Dependency Types

And a lot of other docs you can find in the left panel

Yes, I did look at all the documents before, however need a good bit of R&D before can be put to use.
I will share some code that I'm building as an example

If you can share what you're trying to achieve I can guide you to the right documentation if it's something that stacked provides for you.

The use-case that brought me to this issues is that the documentation covers the use of Forms with Text input fields but I could do with an example of how other input field types can be created.
For example, how would I use a Switch widget for a Boolean input field? If someone can provide an example I can get working I'd be happy to flesh it out and contribute back to the documentation but so far I'm failing.


[FEATURE REQUEST] ImgBot

Feature requested
By adding ImgBot, you could reduce the overall filesize of the SVGs which could lighten the amount of data anyone loads when they view the SVGs

Added!


First pass at updating the daily builds table to be more informative

@DamianEdwards @leecow @richlander This is a first stab at an updated table.  The individual repos already have large tables, so I don't really want to duplicate that much info here.
I envision that the linked core-sdk SDK pages will contain the links to coherent components

I think this is a good start to iterate off of.


looking to convert my dom based action rpg to this

For example:

All Dom based, no canvas.
Need to use canvas because I'm at the point where.. mob movement, css3 transitions and everything are making the screen lag.
Possible with this engine? :) Ty

Definitely possible!
If you've already got a game built and just need to change how you render, you might be better off using something like pixi that's dedicated just to rendering. Otherwise you'll need to change to the 'Hitagi way' of doing things (Entity Component System e.t.c.).

Alrighty, thanks.
I really love the ECS system, I love javascript notation and so used to it.

Let me know if you do end up using it! :)


NODE-920: code consistency

Coverage remained the same at 98.389% when pulling a4464f4aa8c9303c3dcc92daaa074fe320db1840 on NODE-920 into 4d0abf9d3278442314f1e3eec586bf37940bbbe5 on main.


Wrappin the search results in a scrollable container

Currently when there is a lot of search results, the content goes down infinitely. Is there a way to restrict the size of results container and make it scrollable instead ?

Semantic-UI-React only concerns itself with React components that generate valid Semantic-UI markup. There is no HTML nor CSS code in this project.
Semantic-UI core (https://github.com/Semantic-Org/Semantic-UI) does not provide styling for scrollable search results, so you'll have to raise an issue with them. For what it's worth, looks like this issue was already raised (https://github.com/Semantic-Org/Semantic-UI/issues/3389) and closed but you can certainly try again.

don't know how much is this used but getting 40 items stretch over the viewport seems not very nice. we could add maxResultsHeight prop to add max-height CSS property on result holder and also add overflow: auto so remove this kind of behaviour. it seems that wrapper was provided but you need to always add this hack into your css.

I'll try to shed some light on why we don't include any styles this library.
Semantic UI is the most themeable CSS framework there is. The proper solution here is to customize your theme variables to handle this, or, even add an override style to your theme. This way, the styles are context aware of the rest of your theme.
We don't add styles in top of the theme for several reasons. One, we wouldn't know what values would work for all themes.  There are dependencies in the LESS that when it is compiled down to CSS. Another reason is that online styles override stylesheet rules, so, if a user loaded a theme with a particular style, our components should respect those and not override them. Yet another is that it adds unnecessary weight, the themes are already completely customizable so the changes should happen there.
All said, we have theming in mind for this library as well. Feedback encouraged https://github.com/Semantic-Org/Semantic-UI-React/issues/1009

.search .results {
overflow-y: auto;
max-height: 300px;
}

Update to @vmundhra's comment as of Semantic UI React version 0.78.1 -- I used the following:
.ui.search > .results {
  overflow-y: auto;
  max-height: 550px;
}