[Networking] A Dive into Passwordless SSH

Topic Suggestion
Understanding Passwordless SSH
Writing sample(s):
How to Add Pure CSS Waves to Your Website
Proposed title of the article
Understanding Passwordless SSH
Proposed article introduction
Online privacy and security are vital considerations in technology. In the current era, information is comparable to gold. Because of the value that information holds, there has been a rise in better security practices and strategies meant to ensure information remains secure on the internet. The secure shell host protocol (SSH) is among the vital security implementations technology experts use to secure information on transit in an unsecured network. As time passes the cryptographic based protocol has seen a revamp into a passwordless alternative meant to increase its robustness as one of the best security protocols in use.
Key takeaways

what is passwordless SSH
Reasons for preferring passwordless SSH over normal SSH
Advantages and disadvantages of passwordless SSH
Use cases of passwordless SSH
How to set up passwordless SSH

Article quality
Articles on the web only focus on how one can set up passwordless SSH. This article takes a broad but deeper approach to include the advantages and disadvantages of the technology combined with an explanation of the what, why and how of passwordless SSH.
References
N/A

Seems like you have another open issue @lin-chez


How to access "document" in code.ts?

Document is undefined in code.ts. I can't createElement('a') for download some styles data I get from figma API.
How to access "document" in code.ts?
So user can download the json generate by the plugin?
function downloadObjectAsJson(exportObj, exportName){
var dataStr = "data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(exportObj));
var downloadAnchorNode = document.createElement('a');
downloadAnchorNode.setAttribute("href", dataStr);
downloadAnchorNode.setAttribute("download", exportName + ".json");
document.body.appendChild(downloadAnchorNode); // required for firefox
downloadAnchorNode.click();
downloadAnchorNode.remove();
}

A better place to ask this is probably on the forum https://forum.figma.com/ or Discord https://discord.com/invite/figma
You can't do that within the plugin backend, it needs to be done on the UI side (iframe).


helm: Allow for configuring the Minder Deployment strategy

Summary
We're currently using the Kubernetes' defaults, this allows us to configure
the strategy in a way that fits us best.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 47.231%. remained the same
when pulling d000db73ad08f70ba2555973ca2e347820f2af83 on strategy
into f1d3fec208d402484e8a02473f24f0d2c3e79581 on main.


Functions declared after return statement are not checked correctly

Flow version: 0.127.0
Expected behavior
Functions declared after the return statement should be checked correctly. In this example:
function A() {
  let func: number => mixed = () => {}
  return go()

  function go() {
    func('abc');
  }
}

Actual behavior
The commented line above does not trigger a type error, and my IDE shows me that the line is not covered by flow:

If I move the function go declaration to a point above the return statement, the type error appears correctly.

Try-Flow link

Fixed a while ago.


Add new target with crc_storage retries

make crc_storage is flaky sometimes we can't get inside the debug pod, and mostly on rerun it passes
Add new target with retries.

/test precommit-check

@Sandeepyadav93: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name 	Commit 	Details 	Required 	Rerun command
ci/prow/precommit-check 	8237006 link 	unknown 	/test precommit-check
Full PR test history. Your PR dashboard.

pip._vendor.urllib3.exceptions.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2633)

/test precommit-check


Language dropdown

Could you add a language dropdown menu so that C# and VB snippets won't show up at the same time?

@NextTurn I'm not sure how to do that. Have you seen it somewhere else on docs.microsoft.com? If so, please send a link to the page. Thanks.

Here's an example https://docs.microsoft.com/dotnet/framework/interop/msgbox-sample

@NextTurn If you look in the API section, this functionality does exist there; for example: https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.bibliography.abbreviatedcasenumber.localname?view=openxml-2.8.1

Yes, but could you make it apply to articles as well?

@NextTurn I'll look into it. Thanks for the suggestion.
@dmahugh - Doug, could you get this request to the right PM who can address it? Thanks...

The language selector dropdown menu is set in docfx.json.
See the following file for example
https://github.com/dotnet/dotnet-api-docs/blob/65c1594178155f1f1ddf00319ab3bbc9fe5bc01a/docfx.json#L133

@lindalu-MSFT can you follow up on this? It's about adding the language selector drop-down to conceptual topics in open-xml-docs. See the thread for more info. Thanks.

@davidchesnut Hi David, can I get your help with this? I updated the JSON, added:
`
"langs": {
| "api/**.yml": ["csharp", "vb", "fsharp", "cpp"]
  | }
  | },
`
and ran it through the JSON validator tool which came back as VALID.
We need to add the drop-down language selector. Any idea what I'm doing wrong? I have a branch called lindalu-MSFT-add-lang where I made the change.

@lindalu-MSFT Hi, please have a try with the following:
"langs": {
  "**/*.yml": ["csharp", "vb"]
}

@NextTurn Did that do the trick? Sorry I lost track of this issue for a few days. I was out sick! :(

@lindalu-MSFT I guess that is correct. Can you verify it? Thanks!


Sharing a link from Facebook puts %3A in the : in the time value

A post from Facebook when url is copied
http://loklak.net:3001/statistics?q=smokingwheels&since=2015-04-01_06%3A00&until=2015-05-12_13%3A00
Fails to return any results.
Linkedin has a shorten link and the client fails to have any results
link https://lnkd.in/bBqyR3y
Seems to be only working from the home page now after I tried the links.
Facebook seems to attach an ID to a link as well see pic

@smokingwheels to solve this issue, i am urlencoding all the parameters when generating the share link, and then decoding them again when the link is used.
Good find! I should've used urlencoding from the start.

@smokingwheels, is this issue solved? Let's close it :+1:


[Global State Management] Manage data globally

Description
Currently the data is handled locally in components using useState and passed down as props throughout all the components that work on that data. For eg: user State is managed in App Component and passed down as props to many components down. With the introduction of redux, the data can be managed globally and called upon when needed. This could reduce code complexity during future client development and can also help when starting to integrate with backend later.
Screenshots

Additional information

Always use styled componets instead of plain CSS and MUI components.

Make sure to read the CONTRIBUTING and SETUP docs before proceeding
Happy contributing. 💐
Star my other Repositories here

Tools to use: react-redux and @reduxjs/toolkit

Yes it is necessary. I was confused between using Redux or React Query mentioned in this video. What are your thoughts on using React Query over Redux as the React Query seems a bit easier to manage than Redux. I have used Redux in one of my other project.

React Query is definitely powerful when managing with asynchronous data. So we can separate client side (theme) and server side(user) data along with the data fetching optimizations it brings. I was with the mindset of @reduxjs/toolkit, but react-query seems better too.

I suppose to use react-query with the current state of the project, we would have to update the server part of the application first before using it, as react-query's main use is async data management.

Would you be able to update the server for the implementation of react-query in this project? It would be a great help!

Sure thing. I can work on the server part and come back to react-query.

Great 👍 😃. Assigning you!

Do you have a model DB schema and the routes to be present in backend?

For now, there's only a sample user schema and user CRUD routes, not the actual one i suppose.

Yes

Where could I get that?

Can you create some mock users for now?

@warmachine028 implemented bare minimum of react-query setup in project but it's not the efficient way yet. Simply because currently there are too many optimizations to be done in client part with state management. As react-query handles async server data, it is wise to first re-structure the state management through the app accurately and then implement react-query.

It is best if I create a new issue for optimizing state management using either context APIs and reducers first for both client and server data. And jump to react-query setup removing the server dependent data. @warmachine028 your thoughts?

It primarily affects in react-query with auth, since it has parts of client and server state

It is best if I create a new issue for optimizing state management using either context APIs and reducers first for both client and server data. And jump to react-query setup removing the server dependent data. @warmachine028 your thoughts?

I think its a good idea. You can create a new issue


Roll forward package:test to 1.16.0-nullsafety.4 to prepare for package:vm_service 5.0.0+1

LGTM, but some check seems to be failing...

I think it was a flaky failure. Rerunning now.


Allowing "action" functions for default Input class to work on all connected controllers

The readme states that

You can still use all the normal Input functions, but there are a couple things to keep in mind. None of the functions with "action" in their name will work as you expect...

This is true by default, per this code in multiplayer_input.gd:
https://github.com/matjlars/godot-multiplayer-input/blob/cdec8355470808e4957cd58763d577a7acfd9850/addons/multiplayer_input/multiplayer_input.gd#L42C2-L45C17
However, I'd argue that the more desirable behavior would be to allow the use of the basic input functions as a way to easily test for input that can be generalized to any controller. In fact, removing the aforementioned code seems to allow this easily, without any noticeable drawbacks. What is the purpose of disabling all the non-UI events for controller actions? Might it make more sense to keep them so that the action functions from the base Input class still work as intended?

It currently does that because those core actions are used as the keyboard player. So if it didn't do that, gamepad input would make the keyboard player do stuff. If you want to see how I solved the "if any player presses a button" check out the player join functionality in my example project's player manager. (sorry I'm not sure how to link there on mobile at the moment.)

I wonder if maybe it would be better to copy all the keyboard and mouse, maybe all non-gamepad actions, over to another set of constructed actions, so default behavior is more untouched. Thanks for the ideas. Do you think that solution sounds like it would resolve your situation?

The more I think about it, the more I like the idea of keeping default behavior totally in tact. I'm going to try to do that. Thanks again for the idea.

Ah. That makes more sense. The project I was testing this on effectively isolates keyboard actions from joypad actions, so I didn't notice the change.
The solution you're describing sounds like a great idea to me! Glad my suggestion was helpful. And many thanks for putting this addon together! It's been a big help and has taught me a lot about Godot's input systems!


lint or check invalid scope/match combinations when generating rule set

          An example of when this can happen today is here:

https://github.com/mandiant/capa-rules/blob/9e0ffdf7c51af31bb668c8ffbbe7c8f6fd9199cb/lib/allocate-or-change-rw-memory.yml#L24
allocate or change rw memory is a static: basic block/dynamic: call rule that has a instruction subscope block. This subscope block gets translated into a derived rule with static: instruction scope. When capa tries to score the match: <derived rule> in dynamic mode, it can't find it, because static: instruction scoped rules won't ever run/be matched. So, we'd need a default score for this case (that will never be matched, so maybe it should be score = 1).
The most correct thing to do is to prune this impossible match in dynamic mode, but this requires some partial evaluation infrastructure that we don't have yet. That should be done in another issue.
Originally posted by @williballenthin in https://github.com/mandiant/capa/pull/2080#discussion_r1628917821

dup of #2124

🙈


Hardcode @name to function name, like NumberFormatter. Increate compatibility to IE

Problem
On IE11 (maybe previous too) it's impossible to use DateTimeFormatter.
Cause
Coffeescript use @name into some functions. This generates this.name and it doesn't work with IE11.
Proposition
Hardcode CoffeeScript @name on following functions with function name :

Settings
PluralRules
TimespanFormatter
DateTimeFormatter
ListFormatter
BreakIterator
Calendar
CodePoint
Languages
NumberParser
RBNF
NumberDataReader

This is already present for NumberFormatter see commit

Hey @anivon thanks for the pull request :) I had no idea this could be a problem in IE, thanks for taking the time to address it.
Did you make the changes to core.js manually or run our build rake task? It could be a problem if you edited it manually since core.js is programmatically generated. I do see that you have edited all the relevant implementation files, so everything is probably fine. I can merge this once I get confirmation from you.

Hi @camertron, thanks for your time !
Yes, the core.js file from my PR is the generated one, with changes :).

Awesome :)

Published as gem v3.1.1, and npm module v2.1.1.


[Bug] Test Harness fails to connect to device after WiFiNetworkEnable step

Describe the bug
TH completes WiFiNetworkEnable step and starts FindOperational step. Then it fails at: 'src/lib/dnssd/Discovery_ImplPlatform.cpp:629: CHIP Error 0x00000003: Incorrect state'
Steps to reproduce the behavior

Run ./chip-tool pairing ble-wifi 0x7283   46632304 3143 --paa-trust-store-path /var/paa-root-certs
DUT commissioning
DUT gets WiFi credentials and connects to network (can be found on network)
Bug happens (HELP)

Expected behavior
No response
Log files
device.txt
FindOperationalMatter.txt
PICS file
No response
Screenshots
No response
Environment
No response
Additional Information
Test Harness version: v2.10.1+spring2024

@amarcinek I understand you are running this from the command line, not the GUI. Please add:

You system setup (please run scripts/th/th-doctor.sh --complete at your TH host)
Are you running the test from host or docker container? If the later case, please add the complete docker command
if docker container, please add the out put of docker logs <container>

@fabiowmm thanks for the response. Yes, indeed, I am running commands for command line. Regarding Your questions:

System setup can be find in file below.
I am running the test from host

TH_Doctor.txt

@cecille can you help us here? Looks like an SDK bug, but I'm no expert...

I work with @amarcinek and
I checked, and the same device can be commissioned via chip-tool run locally on Ubuntu. @fabiowmm

I work with @amarcinek and I checked, and the same device can be commissioned via chip-tool run locally on Ubuntu. @fabiowmm

@damian-kurek-wizzdev  Now I'm confused. What are the differences between the broken and working scenarios? My understanding was it was already being run from the command line...

@fabiowmm we managed to make it work. Most likely the issue was with ESP Matter version.

Ok, closing the issue then.

Hi @fabiowmm, after raspberry pi restart, we are experiencing this issue again

@fabiowmm FYI we have noticed an odd thing - when we perform chip tool from a local computer and then run ./chip-tool pairing ble-wifi 0x7283 46632304 3143 --paa-trust-store-path /var/paa-root-certs command from raspberry, it surprisingly works just fine.

@fabiowmm By local computer/ubuntu we mean desktop PC with Ubuntu.
When we run it from Ubuntu (desktop PC) it runs every time
When we run it from the test harness (RPi ubuntu server) it fails every time after restart and is stuck on FindOperational. After running the same chip-tool command from the Desktop PC in the same network RPi works every time.
Do you think it explains the issue?

@damian-kurek-wizzdev thanks for your answer. Yeah, and that's pretty odd... Sounds like something related to DNS resolution... I would suggest you to try to troubleshoot DNS resolution when in the failing state.

That error happens when the DNS-SD module isn't correctly initialized. The DNS-SD startup isn't in the logs, but raspi uses avahi, so I'd start by checking that the daemon is running properly

Hi @cecille,
We checked all services started with systemd and everything looks fine. The strange part is that it works sometimes after I commission the device from my desktop PC chip tool. Avahi service was running fine when we checked (Service was running and we did not find any error logs).
I'm happy to help debug the issue, but I do not know where to start.

Same issue here.

@martin-trident-iot Running python tests from docker worked for me. You can try it

@martin-trident-iot Running python tests from docker worked for me. You can try it

Thanks @damian-kurek-wizzdev for the hint, unfortunately I need to run the test cases using the UI for cert.

@martin-trident-iot just for troubleshooting purposes, can you try the same thing from inside the chip-cert-bins container in the Raspi? You can find instructions for doing that in user guide.

@fabiowmm how to do that, i have the used guide open, section 4.6 troubleshooting, there is not instructions to do this on the docker.

Take a look at section 9.5.1.


Adapter schaltet bei Kalender Event nicht

Describe the bug
Der Adapter liest meinen Kalender problemlos ein. Auch die Objekte (today, now etc) werden korrekt gesetzt.
Sobald der Termin im Kalender aktiv ist, wird auch im Log eingetragen. Allerdings wird nicht geschaltet.
Einmal hatte ich Erfolg, indem ich den Eintrag im für das Ereignis im ical Adapter gelöscht und neu angelegt hatte, während ein Termin aktiv war. Der nachfolgende Test funktionierte leider wieder nicht.

Versions:

Adapter version: v1.11.6
JS-Controller version:  3.3.2
Node version:  14.18.3
Operating system: Raspbian GNU/Linux 10 (buster)

yes, will be fixed once #322 is merged

Please check GitHub version. The events table should now include a checkbiox to define if ack is set or now (not = control). Please try it out and give feedback

Hi Ingo,
unfortunately it does not work with running version 1.11.6.
I have an thermostat (HmIP-BWTH) connected with Raspberry Matic. If I create an event in google calendar, the objects are correct for today (true) and now (false). If the event starts, the objects are changed to today=false and now=true. But Nothing else happend. The values of the thermostat was not changed. I used 23.5 degrees and 21.5 degrees, but for testing I used integer values as well. But the same result.
Than I created an 2nd Event for  an shelly device. The values are on=true and off=false. In this case the values in the objects was also correct after restart the ical instance, but when the event starts, the values of today and now are not changed and nothing happened again.
How I can support you.
Kind regards!
Thomas Platter
An den Kopfweiden 19
14473 Potsdam
Tel: 0331-87006277
Mob: 0151-18820039
Von: Ingo Fischer
Gesendet: Samstag, 19. März 2022 13:56
An: iobroker-community-adapters/ioBroker.ical
Cc: Platti26; Author
Betreff: Re: [iobroker-community-adapters/ioBroker.ical] Adapter schaltet beiKalender Event nicht (Issue #355)
Please check GitHub version. The events table should now include a checkbiox to define if ack is set or now (not = control). Please try it out and give feedback
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

@Apollon77
Checkbox is available

And depending on the checkbox this value is different.

I juste made a check on this level.

@Platti26 Did you install the github version of ical adapter?

I think so, that was my way:
Thomas Platter
An den Kopfweiden 19
14473 Potsdam
Tel: 0331-87006277
Mob: 0151-18820039
Von: Feuer-sturm
Gesendet: Samstag, 19. März 2022 22:36
An: iobroker-community-adapters/ioBroker.ical
Cc: Platti26; Mention
Betreff: Re: [iobroker-community-adapters/ioBroker.ical] Adapter schaltet beiKalender Event nicht (Issue #355)
@Platti26 Did you install the github version of ical adapter?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

Yes, it is.
Thomas Platter
An den Kopfweiden 19
14473 Potsdam
Tel: 0331-87006277
Mob: 0151-18820039
Von: Feuer-sturm
Gesendet: Samstag, 19. März 2022 22:31
An: iobroker-community-adapters/ioBroker.ical
Cc: Platti26; Author
Betreff: Re: [iobroker-community-adapters/ioBroker.ical] Adapter schaltet beiKalender Event nicht (Issue #355)
@Apollon77
Checkbox is available
And depending on the checkbox this value is different.
I juste made a check on this level.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

@Platti26 sending emails will not integrate any attachements.
So did aoxu also configured the events to NOT set the ack flag?? Check out the config. There is a new Comlumn in the table called "ack"

It works! I tested with the ack flag is turned off now. It was a little bit confused, that the change of the status only occurs, when the cronjob runs. But now it is clear and normally not an problem. Only if I test with less time between on and off.
Thanks!
Thomas Platter
An den Kopfweiden 19
14473 Potsdam
Tel: 0331-87006277
Mob: 0151-18820039
Von: Ingo Fischer
Gesendet: Samstag, 19. März 2022 23:19
An: iobroker-community-adapters/ioBroker.ical
Cc: Platti26; Mention
Betreff: Re: [iobroker-community-adapters/ioBroker.ical] Adapter schaltet beiKalender Event nicht (Issue #355)
@Platti26 sending emails will not integrate any attachements.
So did aoxu also configured the events to NOT set the ack flag?? Check out the config. There is a new Comlumn in the table called "ack"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

Yes "cron" adapter can only do something when they run.


New gimkit gamemodes

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
Add new scripts for the other gimkit gamemodes
Describe alternatives you've considered
no
Additional context
i understand if no solution is available

infinit gim bux


transactionReceipt is empty on iOS

@baesumin Hello, I use setup({storekitMode: 'STOREKIT2_MODE'}); and I got "transactionReceipt":"" with help sandbox account and real device. Please help, version "12.10.8".

@daimonkor Hi, in Storekit 2 the response isa signed JWT, you need to use Storekit 1 if you want to have a transactionReceipt

In Storekit2 there is change to: verificationResultIOS (see here) aka jswRepresentation (code ).
WARN: also your backend need to be ready to handle this new way.

So.. Don't we need any additional verification process right?
It is already verified if it returns kind of this result?
So now I just need to implement some App Store Server Notifications v2 logic on the server side?
In case of subscription, I can use App Store Server Notifications. But at the very first time, I need to use App Store server API. Because, suppose this situation, user clicks purchase subscription button and subscription purchased, and after that send this to my backend server. But App Store Server Notification noti will be arrived earlier than DB update. So When noti arrived, this logic can't find who purchased the subscription of this noti. So I need to call App Store Server API with transactionId and process it. After this, App Store Server Notifications will deal with this all.
If I need App Store Server API with transactionId, what is different with the verifyReceipt process of storekit1?
But a little bit weird. (in case of consumable product)
It seems it is storekit2's new process. But I don't understand at some point.
Do I just send this transactionId to my backend server and give this user an item?
And even it's only a client side app, when it pass, then give them an item?
How is it possible without backend verification?
call some api like '/api/processPurchase' with transactionId, then just give them an item?
Or just pass this requestPurchase, then it is verified then just give them an item?
checkCurrentPurchase... there is something to process {
"productId": "myproduct1",
"transactionId": "2000000123124",
"transactionDate":<PHONE_NUMBER>123,
"transactionReceipt": "",
"purchaseToken": "",
"quantityIOS": 1,
"originalTransactionDateIOS":<PHONE_NUMBER>123,
"originalTransactionIdentifierIOS":<PHONE_NUMBER>124,
"verificationResultIOS": xxx
"appAccountToken": ""
}
https://developer.apple.com/documentation/storekit/verificationresult/verified
https://developer.apple.com/documentation/storekit/product/purchaseresult
Some Example:
import StoreKit
class StoreManager: NSObject, ObservableObject {
// product purchase Request
func purchase(_ product: SKProduct) async throws {
// purchase request
let result = try await product.purchase()
    switch result {
    case .success(let verification):
        // verify
        switch verification {
        case .verified(let transaction):
            // verification success: process purchase
            print("Purchase Verified: \(transaction)")
            await transaction.finish()

        case .unverified:
            // verification failed
            print("Purchase Unverified")
        }

    case .userCancelled:
        // canceled by user
        print("User cancelled the purchase")

    default:
        // etc
        print("Purchase Failed")
    }
}

}
https://github.com/dooboolab-community/react-native-iap/blob/main/ios/RNIapIosSk2.swift#L725
let result = try await product.purchase(options: options)
switch result {
case .success(let verification):
debugMessage("Purchase Successful")
                    // Check whether the transaction is verified. If it isn't,
                    // this function rethrows the verification error.
                    let transaction = try **checkVerified**(verification)

https://github.com/dooboolab-community/react-native-iap/blob/2ab100377dbc17c1383531e24f054ef1028d947d/ios/IapSerializationUtils.swift#L181
https://github.com/dooboolab-community/react-native-iap/blob/2ab100377dbc17c1383531e24f054ef1028d947d/src/types/appleSk2.ts#L160

Just Apple removed this process. application side verification process.
https://react-native-iap.dooboolab.com/docs/api-reference/methods/ios/validate-receipt-ios.

verificationResponseIOS is JWS. It is Json Web Token.
Header.Payload.Signiture
So... That's it. verify through jwt util and it is right JWT, then it means validated. So we can convince this info.
Anyway I could decode this verificationResponseIOS using this code.
const jwt = require('jsonwebtoken');
try {
const decoded = jwt.decode(verificationResponseIOS);
console.log(decoded);
} catch (err) {
console.log('Error decoding decodeJSONWebSignatureIETF_RFC_7515 info:', err);
}
// decode info signed by the App Store according to the JSON Web Signature (JWS) IETF RFC 7515 specification.
// The three components in the string are a header, a payload, and a signature, in that order.
// To read the header, Base64 URL-decode it and use a JWSDecodedHeader object to access the information. Use the information in the header to verify the signature.

Hi @dmk3141618 could you please explain step by step what I need to do? So transactionReceipt is empty but verificationResultIOS is indeed set for me. Do I need some backend validation or don't I need it anymore? I think I am not getting your description about what needs to be done. Any help would be appreciated. Thanks in advance!


Is this still being worked on?

Wondering if this is still being worked on or if you recommend something else instead?

Hey @rwwagner90. I'm sorry, I was on a vacation and mail piled up.
I am not actively working on this addon, but I'm not planning to abandon it either.
Would you like to join efforts?

No worries @lolmaus. I haven't looked into the code yet, but I would potentially be interested in working on it.

Do you have a specific Stamplay-based app in mind that you wanna leverage Ember for? Or would you like to start a practice app that we could develop together?

All I currently use Stamplay for is updating my star counts here http://shipshape.io/open-source , but I plan to use it for a contact form as well.


Filter Array contains and starts with do not work

Describe the Bug with repro steps
Create an array using initialize array action.
Filter Array action using equals works.
{
"type": "Query",
"inputs": {
"from": "@variables('some array')",
"where": "@equals(item()?['value'],'some text')"
},
"runAfter": {
"Initialize_variable_some_array": [
"Succeeded"
]
}
}
Filter Array using contains and starts with fails with the following message.
InvalidTemplate
The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@contains(item()?['value'],'some text')' failed: 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.
Code
{
"type": "Query",
"inputs": {
"from": "@variables('some array')",
"where": "@contains(item()?['value'],'some text')"
},
"runAfter": {
"Initialize_variable_some_array": [
"Succeeded"
]
}
}
Starts with
{
"type": "Query",
"inputs": {
"from": "@variables('some array')",
"where": "@startsWith(item()?['value'],'some text')"
},
"runAfter": {
"Initialize_variable_some_array": [
"Succeeded"
]
}
}
What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON

Screenshots or Videos
No response
Browser
Edge
Additional context
No response

You opened the same issue last week which was closed as a duplicate. Feel free to follow the issue here: #5820
Per the issue pinned at the top of our issues, we are currently under a deployment freeze for the holidays, so the fix will not be in production until Mid January. In the meantime you can use the link in the issue above to use a newer version of designer.


@libsql/client prints several module warnings in Next.js

When using @libsql/client with Next.js (I've only tested in the app router), the client spits out a number of warnings about resolving modules.
Here's a small sample:
- warn ./node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in '/workspace/node_modules/node-fetch/lib'

Import trace for requested module:
./node_modules/node-fetch/lib/index.js
./node_modules/cross-fetch/dist/node-ponyfill.js
<EMAIL_ADDRESS><EMAIL_ADDRESS>./app/db.ts
./app/page.tsx

You can see them in this reproduction sandbox. I've also copied the full set of warnings I'm seeing on a Vercel build below:

Show warnings from Vercel build output

[10:19:14.090]<EMAIL_ADDRESS>[10:19:14.091] Module not found: Can't resolve 'encoding' in<EMAIL_ADDRESS>[10:19:14.091]
[10:19:14.091] Import trace for requested module:
[10:19:14.091]<EMAIL_ADDRESS>[10:19:14.091] ./node_modules/.pnpm/@libsql+isomorphic-fetch<EMAIL_ADDRESS>[10:19:14.091] ./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>[10:19:14.091] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.091] ./src/lib/auth.tsx
[10:19:14.092]
[10:19:14.092]<EMAIL_ADDRESS>[10:19:14.092] Module not found: Can't resolve 'encoding' in<EMAIL_ADDRESS>[10:19:14.092]
[10:19:14.092] Import trace for requested module:
[10:19:14.092]<EMAIL_ADDRESS>[10:19:14.092] ./node_modules/.pnpm/@libsql+isomorphic-fetch<EMAIL_ADDRESS>[10:19:14.092] ./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>[10:19:14.092] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.092] ./src/lib/auth.tsx
[10:19:14.092]
[10:19:14.092]<EMAIL_ADDRESS>[10:19:14.092] Module not found: Can't resolve 'bufferutil' in<EMAIL_ADDRESS>[10:19:14.092]
[10:19:14.092] Import trace for requested module:
[10:19:14.092]<EMAIL_ADDRESS>[10:19:14.093]<EMAIL_ADDRESS>[10:19:14.093]<EMAIL_ADDRESS>[10:19:14.093] ./node_modules/.pnpm/@libsql+isomorphic-ws<EMAIL_ADDRESS>[10:19:14.093] ./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>[10:19:14.093] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.093] ./src/lib/auth.tsx
[10:19:14.093]
[10:19:14.093]<EMAIL_ADDRESS>[10:19:14.093] Module not found: Can't resolve 'bufferutil' in<EMAIL_ADDRESS>[10:19:14.093]
[10:19:14.093] Import trace for requested module:
[10:19:14.093]<EMAIL_ADDRESS>[10:19:14.093]<EMAIL_ADDRESS>[10:19:14.093]<EMAIL_ADDRESS>[10:19:14.094] ./node_modules/.pnpm/@libsql+isomorphic-ws<EMAIL_ADDRESS>[10:19:14.094] ./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>[10:19:14.094] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.094] ./src/lib/auth.tsx
[10:19:14.094]
[10:19:14.094]<EMAIL_ADDRESS>[10:19:14.094] Module not found: Can't resolve 'utf-8-validate' in<EMAIL_ADDRESS>[10:19:14.094]
[10:19:14.094] Import trace for requested module:
[10:19:14.094]<EMAIL_ADDRESS>[10:19:14.094]<EMAIL_ADDRESS>[10:19:14.094]<EMAIL_ADDRESS>[10:19:14.094] ./node_modules/.pnpm/@libsql+isomorphic-ws<EMAIL_ADDRESS>[10:19:14.094] ./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>[10:19:14.094] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.095] ./src/lib/auth.tsx
[10:19:14.095]
[10:19:14.095]<EMAIL_ADDRESS>[10:19:14.095] Module not found: Can't resolve 'utf-8-validate' in<EMAIL_ADDRESS>[10:19:14.095]
[10:19:14.095] Import trace for requested module:
[10:19:14.095]<EMAIL_ADDRESS>[10:19:14.095]<EMAIL_ADDRESS>[10:19:14.095]<EMAIL_ADDRESS>[10:19:14.095] ./node_modules/.pnpm/@libsql+isomorphic-ws<EMAIL_ADDRESS>[10:19:14.095] ./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>[10:19:14.095] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.095] ./src/lib/auth.tsx
[10:19:14.095]
[10:19:14.095]<EMAIL_ADDRESS>[10:19:14.096] Critical dependency: the request of a dependency is an expression
[10:19:14.096]
[10:19:14.096] Import trace for requested module:
[10:19:14.096]<EMAIL_ADDRESS>[10:19:14.096]<EMAIL_ADDRESS>[10:19:14.096] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.096] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.096] ./node_modules/.pnpm/drizzle-orm@0.28.5_@libsql+client@0.3.2_<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.096] ./src/lib/auth.tsx
[10:19:14.096]
[10:19:14.096]<EMAIL_ADDRESS>[10:19:14.096] Critical dependency: the request of a dependency is an expression
[10:19:14.096]
[10:19:14.096] Import trace for requested module:
[10:19:14.096]<EMAIL_ADDRESS>[10:19:14.096]<EMAIL_ADDRESS>[10:19:14.096] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>[10:19:14.097] ./node_modules/.pnpm/drizzle-orm@0.28.5_@libsql+client@0.3.2_<EMAIL_ADDRESS>[10:19:14.097] ./src/lib/db.ts
[10:19:14.097] ./src/lib/auth.tsx
[10:19:14.097]

It seems like these warnings all stem from the ws, node-fetch, and better-sqlite3 packages.  I suspect it has something to do with how Webpack (which Next.js uses under the hood) resolves these modules, but I've never seen these errors for other packages.
One recommendation I might suggest for the node-fetch issues is consider using the new built-in fetch which is available since Node 18, or use undici, which is an official Node.js project, and I believe can be used to bring that fetch API to older versions.

I am also facing the same issue. In my case I am not able to run the nextjs dev server. Here are the logs:
- wait compiling /page (client and server)...
- error ./node_modules/@libsql/client/LICENSE
Module parse failed: Unexpected token (1:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> MIT License
|
| Copyright (c) 2023 libSQL

Import trace for requested module:
./node_modules/@libsql/client/LICENSE
./node_modules/@libsql/ sync ^\.\/.*$
./node_modules/libsql/index.js
<EMAIL_ADDRESS><EMAIL_ADDRESS>./src/lib/db/index.ts
./src/app/page.tsx
- wait compiling...
- warn<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/libsql/index.js
<EMAIL_ADDRESS><EMAIL_ADDRESS>./src/lib/db/index.ts
./src/app/page.tsx

./node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in '/Users/zainzafar/workplace/talking-sites/node_modules/node-fetch/lib'

Import trace for requested module:
./node_modules/node-fetch/lib/index.js
./node_modules/cross-fetch/dist/node-ponyfill.js
./node_modules/cross-fetch/dist/node-polyfill.js
<EMAIL_ADDRESS><EMAIL_ADDRESS>./src/lib/db/pinecone.ts
./src/app/page.tsx

./node_modules/ws/lib/buffer-util.js
Module not found: Can't resolve 'bufferutil' in '/Users/zainzafar/workplace/talking-sites/node_modules/ws/lib'

Import trace for requested module:
./node_modules/ws/lib/buffer-util.js
./node_modules/ws/lib/websocket.js
./node_modules/ws/wrapper.mjs
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>./src/lib/db/index.ts
./src/app/page.tsx

./node_modules/ws/lib/validation.js
Module not found: Can't resolve 'utf-8-validate' in '/Users/zainzafar/workplace/talking-sites/node_modules/ws/lib'

Import trace for requested module:
./node_modules/ws/lib/validation.js
./node_modules/ws/lib/sender.js
./node_modules/ws/wrapper.mjs
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>./src/lib/db/index.ts
./src/app/page.tsx

Same issue here.

@rosszurowski @zaingz @K1NXZ can you please test 0.3.5-pre.2 (that switched from better-sqlite3 to libsql) with the following additional configuration:
https://github.com/libsql/libsql-client-ts#using-the-library-with-nextjs
The extra config is not needed if you use a version of Next with https://github.com/vercel/next.js/pull/55266 included.

@rosszurowski @zaingz @K1NXZ can you please test 0.3.5-pre.2 (that switched from better-sqlite3 to libsql) with the following additional configuration:
https://github.com/libsql/libsql-client-ts#using-the-library-with-nextjs
The extra config is not needed if you use a version of Next with vercel/next.js#55266 included.

I just tested it with 0.3.5-pre.2 on nextjs version 13.4.20-canary.28 and get following compilation error now:
Failed to compile
./node_modules/.pnpm/@libsql+client@0.3.5-pre.2/node_modules/@libsql/client/LICENSE
Module parse failed: Unexpected token (1:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> MIT License
|
| Copyright (c) 2023 libSQL

Also running it with or without the experimental flag in the next config serverComponentsExternalPackages: ["libsql"] did not change anything.

On @libsql/client: 0.3.4 and next: 13.4.19, with or without the Nextjs experimental flags, I get errors from not being able to find the following modules, but can still connect and use the database:
encoding, bufferutil, utf-8-validate.
Here's an example stack trace of the errors:
Module not found: Can't resolve 'encoding' in<EMAIL_ADDRESS>
Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/@libsql+isomorphic-fetch<EMAIL_ADDRESS>./node_modules/.pnpm/@libsql+hrana-client<EMAIL_ADDRESS>./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>./src/lib/db/index.ts

When upgrading to @libsql/client: 0.3.5pre, with or without Nextjs experimental flags, I get a more sever error and my app is unusable:
Module parse failed: Unexpected token (1:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> MIT License
|
| Copyright (c) 2023 libSQL

Import trace for requested module:
./node_modules/.pnpm/@libsql+client@0.3.5-pre.9/node_modules/@libsql/client/LICENSE
./node_modules/.pnpm/node_modules/@libsql/ ./node_modules/@libsql/ ./node_modules/.pnpm/node_modules/@libsql/ sync ^\.\/.*$
<EMAIL_ADDRESS>./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>./node_modules/.pnpm/@libsql+client<EMAIL_ADDRESS>./src/lib/db/index.ts

Hope this helps.

Any solutions to this yet??

Unfortunately serverComponentsExternalPackages: ["libsql"], doesn't fix the issue.

After extensive testing, I noticed that this error occurs when using pnpm. No issues when using yarn or npm. Quick fix: use yarn or npm.
If you're using a Turbo repo (monorepo) like me, add the following to your .npmrc:
public-hoist-pattern[]=*libsql*

Not entirely sure this is the correct solution, but at least it's working for me now.

As @linyiru has mentioned above, the error Failed to compile occurs when using pnpm. I can add that it specifically occurs when pnpm is used without --shamefully-hoist.
Here is a minimal reproduction repo: my test repo.
The ReadMe contains information on how to compare the effects of npm i, pnpm i, and pnpm i --shamefully-hoist.
Here is a link to a Codesandbox for the same repo. Initially it should run npm i and successfully dev env, but I encourage you to clear node_modules by running rm -rf node_modules and first pnpm i to see the error, then clear node_modules again and run pnpm i --shamefully-hoist to see that the dev env starts up successfully.

As for dealing with the main purpose of this issue thread: the warnings. I recommend taking a look at what this repo is doing to solve these errors, spoiler: it involves editing the webpack config in your next.config.ts. (Source line). This stopped the warning messages for me.
webpack: (config) => {
    // config.externals is needed to resolve the following errors:
    // Module not found: Can't resolve 'bufferutil'
    // Module not found: Can't resolve 'utf-8-validate'
    config.externals.push({
        bufferutil: 'bufferutil',
        'utf-8-validate': 'utf-8-validate',
    });

    return config;
},

Adding the following stopped the warning messages. Using "@libsql/client": "^0.3.5"
const nextConfig = {
    experimental: {
        serverComponentsExternalPackages: ["@libsql/client"]
    }
}

It looks like this will be automatically handled for you soon - https://github.com/vercel/next.js/pull/56192

Adding the following stopped the warning messages. Using "@libsql/client": "^0.3.5"
const nextConfig = {
    experimental: {
        serverComponentsExternalPackages: ["@libsql/client"]
    }
}

It looks like this will be automatically handled for you soon - vercel/next.js#56192

this is still giving me errors when used directly in a server component


Update python support to 3.10, 3.11 and 3.12

This PR drops python 3.9 support and adds python 3.12.
Checklist

[ ] I have performed a self-review of my code.
[ ] I have commented hard-to-understand parts of my code.
[x] I have made corresponding changes to the public API documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] I have updated the changelog with any user-facing changes.

Closing this PR until qulacs has python 3.12 support.

Should we still drop 3.9 support, since with Python 3.9 we won't be able to use the latest pytket?


crm demo login failed?

Yesterday, it's OK.
Today, I cannot login with the given guest user account {user<EMAIL_ADDRESS>pw: 'ajSGenC0'} , and error message pop out 'Login attempt unsuccessful' .
Is that REST API service stop working now?

I'm sorry. I corrected it temporarily. But I have to fix a bug in my API so that the situation doesn't happen again.


Fix typo (InvaliidDifferentRecord -> InvalidDifferentRecord)

./update-bindings.sh failed, so I just did a search-and-replace in the repository

I fixed this in upstream PR, thank you!


Android - Receipt - After uploading image user directed to search page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.80
Reproducible in staging?: Y
Reproducible in production?: Unable to check
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Action Performed:
Pre-condition: open account which has expense with no receipt

Launch app
Tap profile icon-- troubleshoot- search
Open expense
Tap receipt
Upload an image

Expected Result:
After uploading image user must be directed to IOU details page
Actual Result:
After uploading image user directed to search page instead of IOU details page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/b771ff2c-15cc-4e21-83d5-824634bdc704
View all open jobs on GitHub

@hayata-suenaga  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

This is the new expected behavior. @lanitochka17 do we need to update any TC to reflect this?

Agree that this is expected behavior.

Thank you for confirming that this is the expected behavior. Closing the issue.

@luacmartins The issue was not found by TC

OK, so it seems like we dont need to update anything


Anbox Cloud: Update landing pages

Context
Anbox Cloud documentation has landing pages for each of the Diataxis sections (Tutorials, How-to guides, Explanation and Reference). The sub-pages for each of these sections are added to the landing pages in a meaningful way with a one-line description. Recently, the documentation has undergone some changes but the landing pages are not updated.
Task
Review and update the How-to, explanation and reference landing pages.
Link to documentation repository: https://github.com/canonical/anbox-cloud-docs

Hi, can I take this task?

Hi, can I take this task?

@slpcxb Of course, I have assigned it to you. Let me know if you need any help.

Thank you @slpcxb, the changes are now merged.


External Listing Services

Requirement
The website should allow for easy integration with external listing services (REA-001).
Tasks

[ ] Identify external listing services to integrate with
[ ] Develop integration system (e.g. API)
[ ] Test integration with external listing services

From Use Case: REA-001
https://github.com/RequirementsProject/RealtorWebsiteProject/blob/main/Use Cases.pdf


Problem with ModelParser

I have setup the test server from this project and I got the following error on starting

Can you help me pls @iam4722202468

Can I get more information? What operating system is this? Could the permissions on the folder be wrong, or does the folder not exist for some reason?

I am using Win 10 and JDK 17. The permissions aren´t be wrong and the folder exists. I dont know why

I have found the problem and fixed it. But Thank you for your time. But I have 2 Bugs:

The Resourcepack is loaded but the model are still leather armors, etc
I cant walk on Slabs, etc with with model. Jumping dont work too

What was the solution?

I have use the wrong path because I moved it into a package

Do you have a idea how to solve the problem?

Probably some weird permissions issue with windows, it's probably not allowing the webserver to read the zip file. Copy the generated resource pack to your minecraft resourcepack folder

I did it but the textures doesn´t load too

weird

Yeah.. Do you have any ideas what it could be?

windows

and how to fix xd

I'm not sure, I think it's just an issue with something that windows is doing. Try using a Linux based OS.

You mean try on Linux based server or Linux based client?

try running this code on a linux based system

It still don´t work on linux too

I can't reproduce this

Do you have any other ideas?

without more information I have no other ideas

linux has the same problems as windows and since we wanted to continue using windows I don't think it makes a difference. Can it possibly be due to any path? That's why I had problems with the BASE_PATH

@PhoenixGamer339 Can you check if the newest version works? Windows was having some problems reading the zip file, but that should be fixed


Store and display more information in error type(s)

Didn't look deeply but at least position of the character and unexpected length could be stored.
To stabilize the crate more quickly it may be better to hide the error representation:
enum ErrorInner {
 // ...
}

pub struct Error {
    inner: ErrorInner,
    // maybe more stuff here
}

I think we have got the error code pretty clean with the recent re-write, likely this can be closed.

I'm going to go ahead and close it. I think Kix may have comments on the new error types but they will be different ones :).


Added Curve Fitting Calculator

Fixes Issue🛠
Closes #962
Description👨💻
This code implements a curve-fitting calculator in JavaScript. It allows users to input a set of 2-D coordinates and choose from various curve-fitting options, including linear, quadratic, cubic, and exponential curves. The calculator uses mathematical algorithms to determine the best-fitting curve based on the input points and displays the equation of the curve along with a graph. This tool can be useful for analysing data trends and predicting values based on given data points.
Type of change📄

[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
During the testing phase, I rigorously evaluated the curve-fitting calculator by inputting data sets of various sizes and characteristics, covering linear, quadratic, cubic, and exponential curve types. By analyzing the calculated equations against the provided points, I ensured that the calculator accurately determined the best-fitting curve for each dataset. Additionally, I verified the user interface's functionality to guarantee seamless interaction, allowing users to input data, select curve types, and obtain precise curve-fitting results. Through these comprehensive tests, I confirmed the calculator's robustness and reliability across diverse curve-fitting scenarios.
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

Pls add your calculator in main index.html file to display on the website by making a new commit in this same PR @DivyaVijay1234

@Rakesh9100
Just a quick question. Should I be merging this with the main branch before adding it to the index.htm l file? Or should the link of the code contain the link from my forked repository?

@Rakesh9100
I had previously added my calculator in a separate branch. Do I need to merge it with the main branch before being able to add it to the main website?

No, you don't have to merge anything. You just have to add your calculator part in main index.html file in the branch Curve-Fitting-Calculator and then commit it @DivyaVijay1234


Add EthicalAds / Advertising

website:
https://ethicalads.io
examples:
https://graphemica.com/
https://w3techs.com/
https://dane.engineering/
https://uptime.is/
https://devhumor.com/
and many more: https://github.com/search?l=HTML&q=media.ethicalads.io&type=Code

Thank you!


Suppress warnings generated by MSVC /Wall

There are a number of warnings that the catch header generates when compiled with MSVC and which should be suppressed. Here's what I found with VS2012 and /Wall
C4820 padding
C4625 copy constructor could not be generated because a base class copy constructor is inaccessible
C4626 assignment operator could not be generated because a base class assignment operator is inaccessible
C4512 assignment operator could not be generated
C4514 unreferenced inline function has been removed
C4350 behavior change from previous version of compiler
C4571 behavior change from previous version of compiler
C4371 class layout change from previous version of compiler
C4710 functions not inlined
The header should also be tested with clang's -Weverything.

There's a good reason many warnings aren't even enabled on /W4.

/Wall generates loads of warnings even in the std lib that ships with Visual Studio. I know the MS std lib team were doing a lot of work to address that, but AFAICS that's still the case even in VS2017.
I get no warnings in MSVC with /W4. Quite a few warnings have been addressed in the last couple of years (e.g those in the referenced #722).
Is this still a legitimate issue for you?

I would still really like third party headers to compile cleanly even with /Wall. This makes it much easier to use the 'subtractive' strategy for enabling warnings.
This doesn't mean that all the warnings need to be "fixed". If the headers are intended to be warning free at some particular warning level then the headers should internally force that warning level, rather than ask users to externally apply warning suppression (which is my current solution).
The changes for VS2017 includes a 'warning overhaul', in which they apply something similar, but a bit more complicated in order to support two internal levels of warnings. They mention that /Wall works for now, but is unsupported. I hope that their mind can be changed and that they will explicitly maintain /Wall support.
https://blogs.msdn.microsoft.com/vcblog/2017/02/06/stl-fixes-in-vs-2017-rtm/

While we could support any warning level just by force disabling it, that is not a good implementation strategy. Our users can do the same, with the advantage of them knowing that they disabled the warnings explicitly, instead of believing that they have the warnings enabled and are silent.

You're only supposed to enforce the warning level internally, not on the client's code. So if the client enables a warning, it won't be silent for their code no matter what you do.
Asking clients to suppress warnings in third party code is asking them to know whether or not that third party code was intended by its developers to be free of that warning or not. Clients shouldn't have to know or divine the developer's intent for such internal code. Your internal code should just be warning free no matter how high the client wants to turn up the warning level for their own code.


Update package.json

changes the versin of dev dependencies to latest
Resolves #516

ohh sorry what i forgot to do?

@pavlovcik oh so sorry i forgot to " update the overrides section of the .prettierrc in the root folder" seems like my bad

{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"printWidth": 160,
"htmlWhitespaceSensitivity": "strict",
"plugins": ["prettier-plugin-solidity"],
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
}
]
}
what am i supposed to change 🤔


Get LRO final-state-via from tcgc

For typespec input, final-state-via is missing from TCGC, need to access it via generic decorators to make LRO work properly.
MongoCluster beta release is pending on this feature.

Pending on https://github.com/Azure/autorest.csharp/issues/4887

check if getLROMetadata has this info

final-state-via should be handled in https://github.com/microsoft/typespec/blob/7ce1c91d4c312f488467472fb971a6a5d08a7149/packages/http-client-csharp/emitter/src/lib/operation-converter.ts#L220


Bug: Migrated invoices not marked as overdue

When upgrading from v0.4.x, the invoices marked as "overdue" (past their due dates) on the old installation, are set as "opened" on the new installation.
Manually editing the invoices automatically sets them as "overdue".

This seems to be solved somehow. I've re-tested doing a new migration now with the same database and the latest code, and it worked well, with overdue invoices being ported as "overdue" and not "opened" as before.
I'll close this for now then :)

Ah, good to hear, thanks for checking again!


GRPC Server Memory Leak Issue v1.47.0

What version of gRPC and what language are you using?

GRPC version 1.47.0, Python 3.8

What operating system (Linux, Windows,...) and version?

Windows

What runtime/compiler are you using (e.g. python version or version of gcc)

GRPC version 1.47.0, Python 3.8

What did you do?
I'm using GRPC library in my project to get data from another project. It shows the leak of around 1.5 KiB per request (approx response size is 200 KiB).
I'm using tracemalloc for the memory usage report
Test Results
I ran tests by making multiple sequential calls and the test results are as below

Number of Requests: 608
Duration: 20 mins
Memory Leak Per Request: 1009/608 ~= 1.5 KiB

First Request

\venv\lib\site-packages\grpc_server.py:0: size=168 B, count=3, average=56 B

608th Request

venv\lib\site-packages\grpc_server.py:0: size=1009 KiB, count=13265, average=78 B

( I could also provide per-line level information if required)
If I keep on running my project and with every request memory usage keeps going up and once it reaches the limit pod restarts. Also, response time is getting slower as memory usage is getting up.
I made another call to check if it could be caused by cross reference due to high traffic (Being paranoid but even this should not be the case)
609th Request

venv\lib\site-packages\grpc_server.py:0: size=1016 KiB, count=13303, average=78 B

What did you expect to see?
I expect to see the size and count should not keep going up as I expect the GRPC package and Python to do GC automatically and efficiently.
What did you see instead?
Memory usage keeps growing
Anything else we should know about your project / environment?
GRPC packages I use in my project
grpcio==1.47.0
grpcio-tools==1.47.0
grpcio-reflection==1.47.0
grpcio-health-checking==1.47.0
grpc-interceptor==0.13.0
protobuf==3.20.1
Ask if more information is needed.

@gaganbasra There's not much for us to start an investigation with here. Can you help us provide a minimal reproduction case or help determine which objects you think might be leaking?


feat: Added overloaded simpler read method

Codecov Report

Merging #96 (e0a5ed3) into main (b94f662) will decrease coverage by 0.27%.
The diff coverage is 14.28%.

@@             Coverage Diff              @@
##               main      #96      +/-   ##
============================================
- Coverage     73.74%   73.47%   -0.28%
- Complexity      414      415       +1
============================================
  Files            55       55
  Lines          1531     1538       +7
  Branches        128      128
============================================
+ Hits           1129     1130       +1
- Misses          372      378       +6
  Partials         30       30

Impacted Files
Coverage Δ

...sdata/db/client/StandardTigrisAsyncCollection.java
42.91% <0.00%> (-0.56%)
:arrow_down:

...tigrisdata/db/client/StandardTigrisCollection.java
84.17% <25.00%> (-1.76%)
:arrow_down:

Continue to review full report at Codecov.

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


Understanding _content in layout files

Hi I am reviewing your source code for an app and am trying to figure out how _content I see for the version you call
simpl-append-version to append versions numbers but I do not see how your replacing _content with the true domain name if that makes since.
Where is this replacement done so asp.net knows the main folder locations I persume that what it does under the hood

https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-5.0&tabs=visual-studio#consume-content-from-a-referenced-rcl-1

So my views in them when the user uploads how doses that translate am just curious sorry


SPM CryptoSwift

New Issue Checklist

[x] I'm using the latest version of Swift Crypto (master branch)
[x] I read the Contribution Guidelines
[x] I searched for existing GitHub issues

Expected behavior
Use SwiftOTP via SPM without errors.
Actual behavior
Error while compiling the project:
The package product 'CryptoSwift' requires minimum platform version 9.0 for the iOS platform, but this target supports 8.0 (in target 'SwiftOTP' from project 'SwiftOTP')

Steps to reproduce

Create the empty Xcode project.
Add SwiftOTP package dependency.
Compile the project.
Get compile error.

@igor-fn37 judging by the error you're trying to build SwiftOTP with this manifest. That refers to CryptoSwift which is a different package to this one (Swift Crypto)
(As an aside, to fix the error you need to set your minimum iOS platform version to 9.0 as the message says)

Yes, this is not CryptoSwift.


How to set the maximum disparity value to 192

The default maximum disparity value of igev++ is set to 768.
How can I set the maximum disparity value to 192? (If I directly modify it in the hyperparameter -- max_disp, an error will occur.)

Maybe you need to adjust m_disp_range and l_disp_range synchronously. In fact, you don’t need to adjust max disp. If you just want to make the predictions within 0-192, you only need to adjust the range of supervision. if any further questions, please contact me<EMAIL_ADDRESS>


Starting a ConPTY process with UAC elevation

What is the Microsoft's recommended way to start an elevated process with an attached PTY?

CredUIPromptForWindowsCredentialsW + LogonUserW + CreateProcessWithTokenW?
Running runas.exe with a PTY?
Something else?

KernelBase.dll has an un-exported function CreatePseduoConsoleAsUser() which uses CreateProcessAsUserW(hToken, ...). The hToken parameter can be configured with admin privileges. It seems that the underlying conhost.exe process should also be run as administrator.

@Biswa96 please do not encourage people to rely on our private APIs.

@Eugeny we don’t have an official stance on elevating a pseudoconsole client. At the moment, you’d have the best chance of success by shipping an elevated helper and using that to broker communication with your lower-IL process.

I don't think the private API really matters here - when you call CreateProcessAsUser, you need to have SE_ASSIGNPRIMARYTOKEN_NAME, which restricted tokens don't have. So the only thing that API would help with is letting you create a PTY as another user if you are already elevated.
I'm experimenting with these scenarios here, but it's very experimental and currently broken as I'm refactoring it to be more testable.

Is it possible to implement CreatePseduoConsole() function in conhost.exe or cmd.exe, then enable/disable conpty feature from registry? I am asking this because when I implement that function in a main program (like in EchoCon) without linking with kernel32 then all associated executables run with administrator privilege.

This discussion has, perhaps, outlived its usefulness.

The private API CreatePseduoConsoleAsUser() now becomes a open source one in src/winconpty/winconpty.cpp.

Creating a process as a different user was always possible, even without a pseudoconsole running as that user. The hard part is getting the correct part of the user's split token to launch elevated, which CreatePseudoConsoleAsUser still doesn't let you do. :smile:

to wit: it is subject to the same limitation @parkovski already pointed out.


[BUG] New Disable Desktop App Method Inconsistency

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Basically the new Desktop App disabling method is very inconsistent.

Can you clarify?

I have Don't Exit to Desktop App on and it just does not work.

true, sometimes the thing exits to desktop and doesnt work and then it closes a few seconds after

was the desktop app being fully disabled causing the crashes?
i prefer not using it at all cus it's super laggy on my computer and ig there's an extra step to doing that now

@pizzaboxer #2116 another post that would be nice if you can't do anything about this.

The next time you find that it doesn't work, can you send the latest log file from %localappdata%\Bloxstrap\Logs?

Discussion moved to #2049


Create GettingStarted.md

Pull request for tutorial on using Kremlin for verification and extraction to C.

The tutorial has been updated -- it looks like this was more of an issue or feature request than a pull request. Closing.


Status bar goes beyond 100% with my .zip image

Etcher version: 1.0.0-beta.13
Operating system and architecture: Mac OSX 10.11.6 (15G31)
Do you see any meaningful error information on DevTools?

No, there are no errors I see in the console. Looks like it is stuck at 99% but the loading bar continues on.

My image is a .zip file. When I unzipped it with the default Archive Utility I got a .cpgz file which indicates the file may be corrupted or wasn't unzipped correctly. I tried unzipping in terminal with the unzip command but got this error:
Archive:  udoo_quad_revC_yocto_090713.zip
warning [udoo_quad_revC_yocto_090713.zip]:  76 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [udoo_quad_revC_yocto_090713.zip]:  reported length of central directory is
  -76 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
   skipping: udoo_quad_revC_yocto_09072013.img  need PK compat. v4.5 (can do v2.1)

note:  didn't find end-of-central-dir signature at end of central dir.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

However, unzipping the file with The Unarchiver created a .img file which burned successfully.
So I think there either may be an issue with the way etcher is unzipping a file before flashing it (are you using the native unzip command?) or an issue with the way my image was zipped up. For now to be 'safe' I will manually unzip image files before providing them to etcher.

Hey there,
Thanks a lot for reporting. Looks like the zip is indeed very corrupted, but somehow The Unarchiver manages to deal with it correctly.
Can you link me to the exact zip you're trying to flash? I'll try to see if there is something we can do on our end to either manage to interpret the zip correctly, or show an appropriate error message instead of breaking the UI so badly.

I managed to find the exact zip file you were using, and can confirm the bug was fixed by https://github.com/resin-io-modules/etcher-image-stream/pull/27, which will land in the next release.  The problem was that the zip library we were using to scan the entries returned an incorrect uncompressed size for certain zips, including yours.
Please re-open if you still encounter any issues in the next release! Thanks a lot!


Register as an logged in user leads to error 403

Here the user should be redirected to the main page
steps to reproduce

got to http://yawik.org/demo/de
Login
call http://yawik.org/demo/de/auth/register

There are more pages that produce the same error, e.g.
http://yawik.org/demo/de/auth/forgot-password

An authenticated user is currently denied to get the registration page because of:
https://github.com/cross-solution/YAWIK/blob/develop/module/Auth/config/module.config.php#L395
Because of this configuration an Exception is thrown. The exception handling is not implemented yet, because we don't know what to do. It probably should be configurable.

A similar problem existed with the register form, here the authenticated user will be redirected to the main page and that is common
https://github.com/cross-solution/YAWIK/blob/develop/module/Auth/src/Auth/Controller/IndexController.php#L66-L68


[WIP] Optional schema

Little experient to see if the schema parameter could be made optional. As the schema is the first argument it can;t be changed to optional without breaking backards compatibitily or changing all arguments to kwargs. So for the moment I just added support for accepting an empty string as schema.
For the experiment, I only added support to the PGFunction. If there is agreement on how to do this I can extend this to all other classes

closing for age


Diátaxis: Where are we?

There seems to be general consensus that diátaxis is a great theoretical model for structuring documentation.
However, using it – restructuring Python's docs – is a monumental task that needs some planning upfront.
@AA-Turner mentioned on the recent meeting that it would be good to start by charting the starting point: where on the Diátaxis chart do individual sections of the docs fall?
With that info we should be able to start planning where they should fall, and restructure/rewrite accordingly.

The docs are big, so this is probably best done in some collaborative document. Anyone want to start one?

I believe diataxis also says to not be so fixated on the structure to begin with.
There are some good strategies here:
https://diataxis.fr/how-to-use-diataxis/#don-t-worry-about-structure
Worth reading before we start any actual restructuring.

This was discussed at the May 2022 docs community meeting. General consensus was to continue discussion and begin with applying concepts to new documentation.

Noting this issue on HOWTO as related to this topic: https://github.com/python/cpython/issues/114976


bertieb: Watch canonprintersupport.co

bertieb requests the watch of the watch_keyword canonprintersupport\.co. See the MS search here and the Stack Exchange search here.

canonprintersupport\.co has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Coverage remained the same at 66.563% when pulling c4c92204531fa1e1b3c6bf4a74299ee908036039 on auto-blacklist-1534948152 into 794f7394c46b0edd5c6618676ea60ce67816665e on master.

Already on the watchlist


use info as a style key, as well as trace

Our plugin generates errors, warnings, and info level analysis issues. We'd like to be able to call them that in the UI; currently we use Error, Warning, and Trace in order to get css styling in the editor for info level events. This PR adds info as a synonym for trace.

Thanks


Added tagline

Added Hamish's snappy tagline to the readme.

Umm. Appreciate the thought, but I don't want to box ourselves in to only storing shame, that's just what I just my installation for. People can anything they like in theirs.


Retina images support with srcset

Add srcset attribute support

Ping?

Why it's not merged yet?

It is really necessary changes. This plugin doesn't work on modern sites with adaptive design using srcset.

Thanks!


Add code pop-up behaves differently.

Original report on BitBucket by Taina Jääskeläinen.

Testing in staging after deprecation changes (though not sure if related).

I create a new SL version of a published vocabulary.
I click on ‘Add code’ without having clicked on any code in the table. The pop-up is OK.
I click on ‘Add code’ after I have clicked on a parent code and it is blue. The pop-up is OK.
 The pop-up shows the parent code (here Code4) of that child above the Code field.

When I add the new code and save it, the system puts it as the child of that parent (Code4).
Previously the system put new codes as last if the user did not do anything.
This might be a good change, making it easier to add new codes directly in right place but need to discuss with others what they think.

The issue is resolved, closing for now.


Error loading Borderless - Sided Setup Event Error

Description:
Just an error during loading :(
"Caused by 0: java.lang.NoClassDefFoundError: net/minecraftforge/client/ConfigGuiHandler$ConfigGuiFactory"
Steps to reproduce:

Start Minecraft

Versions:

Minecraft Version: 1.19
Forge Version: 41.0.98
Mod Version: 1.5.1

Crash report  (if any, please use gist or pastebin and provide a link here):
https://pastebin.com/m5mu5V0k
The game loads up fine if I remove borderless, but I absolutely will cry if I can't go to another screen without it minimising D:
Thanks heaps!

The Forge team made breaking changes, Forge for MC 1.19 is pretty much unstable. For a quick fix, you can downgrade Forge to 41.0.85, this should work (have a look at issue #8).

Issue is resolved with version 1.5.2. The version is also compatible with MC 1.19.1.


thanos-compactor log  error

sg="critical error detected; halting" err="compaction: group 0@10145117045008152399: pre compaction overlap check: overlaps found while gathering blocks. [mint:<PHONE_NUMBER>931, maxt:<PHONE_NUMBER>271, range: 4m16s, blocks: 2]: <ulid: 01HCXSJ8GKZGZNDG75HM0F0QMN, mint:<PHONE_NUMBER>012, maxt:<PHONE_NUMBER>271, range: 1h6m13s>, <ulid: 01HCY3M15F3G5XH2R9QHM1EP0Y, mint:<PHONE_NUMBER>931, maxt:<PHONE_NUMBER>000, range: 58m3s>"

@liuwenzhi0318 You probably need to enable vertical compaction. But it would be good to understand why you have overlap blocks first. Do your blocks have different external labels?


Use Linux sort instead of windows.

Currently working with Github's bash, from my computer (Hardcoded Path). If it would be linux, I can just call "sort" but on windows it will not work.


Support IOS?

Unfortunately no, this feature not implemented on ios yet

Unfortunately no , I searched a lot about it on ios but it seems iOS doesn't have this feature

thanks you man


[Protection] CUR3D UG

https://store.steampowered.com/app/1929750/CUR3D_Viewer_Steam_Edition/
Incorporates 3rd-party DRM: CUR3D UG (haftungsbeschränkt)

That particular software isn't released yet, though other releases by the same dev has the same DRM listed, such as https://store.steampowered.com/app/668660/CUR3D_Steam_Edition/. Possibly a developer made form of DRM?
Unrelated, but I can't stop reading their name as "Curd".


NoMethodError in Chrome (undefined method `strip' for nil:NilClass)

System
Ubuntu 18.04
Ruby 2.5.1p57 (freshly installed)
NOTE: I also tried this on Ruby 2.6.2 and 2.5.5
Chromium version: Version 73.0.3683.75 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
Steps Followed
Created a brand new rails app with default settings.
Here is my Gemfile:
Gemfile.txt
Chrome Browser (Fails)
Running via Spring preloader in process 29442
Loading development environment (Rails 5.2.3)
irb(main):001:0> Watir::Browser.new(:chrome)
rails_console: No such file or directory - --product-version
Traceback (most recent call last):
        2: from (irb):1
        1: from (irb):1:in `new'
NoMethodError (undefined method `strip' for nil:NilClass)

Firefox Browser (Works OK)
irb(main):003:0> b = Watir::Browser.new(:firefox)
=> #<Watir::Browser:0x3a74db97bfeb780e url="about:blank" title="">
irb(main):005:0> b.goto('www.google.com')
=> "http://www.google.com"
irb(main):006:0>

Current Solution: Go back to chromedriver-helper for Chrome
If I include gem 'chromedriver-helper' in my Gemfile, run bundle install and jump back into the Rails console, then Chrome works too.
Running via Spring preloader in process 29466
Loading development environment (Rails 5.2.3)
irb(main):001:0> b = Watir::Browser.new(:chrome)
=> #<Watir::Browser:0x..f9dd5c620c38cd000 url="data:," title="">
irb(main):002:0> b.goto('www.google.com')
=> "http://www.google.com"

Firefox is fine either way.

Hi @clockworkpc, please try providing the path to the Chromium binary as described here.

Hi @clockworkpc, please try providing the path to the Chromium binary as described here.

Thanks for the reply.  I checked my Chromium path and found that it indeed differs from the standard installation path:
$ which chromium-browser
/usr/bin/chromium-browser

This was never a problem with chromedriver-helper, but now that I know it's no big deal.
I created a small file: config/chromium_path.rb which has the following line:
Selenium::WebDriver::Chrome.path = '/usr/bin/chromium-browser'
This seems to have done the trick.  Is there a better way to do this?

This was never a problem with chromedriver-helper

Actually, webdrivers didn't need the browser binary path either until we added support for chromedriver 70+. Google started matching the browser and driver versions which now requires us to know the browser version before we can download the correct driver. See http://chromedriver.chromium.org/downloads/version-selection.
chromedriver-helper would have required a similar logic for versions 70+.

Is there a better way to do this?

Hopefully soon :). This is the only way until we implement #45.
I'm closing the issue, but feel free to continue the discussion if needed.

TLDR;
# ln -s /usr/bin/google-chrome-stable /usr/bin/google-chrome
I had the same error been throwing from here:
https://github.com/titusfortner/webdrivers/blob/bee776a18b23d8fba0478c86fcea1056eff4fd23/lib/webdrivers/chromedriver.rb#L135
That is, I'm using Google Chrome on Linux, more specifically, a Manjaro with Chrome from AUR. Therefore, what I have in my PATH is a script named google-chrome-stable rather than google-chrome binary or symlink.
Looking at #45, and further https://cs.chromium.org/chromium/src/chrome/test/chromedriver/chrome/chrome_finder.cc, I don't think this issue would be solved for me, and a bunch of people.
If this case won't be handled, worth it put such a reminder in #README.

@andretf Does it work if you set Selenium::WebDriver::Chrome.path = '/usr/bin/google-chrome'?

I am experiencing this using Docker and Ubuntu 19.04 I do not have /usr/bin/google-chrome in my tree.  chromedriver is in /usr/bin/chromedriver  I also keep getting DevToolsActivePort file doesn't exist messages too

@durrantm Point Selenium::WebDriver::Chrome.path to wherever Chrome/Chromium is installed and remove any other chromedriver binary from your PATH.
I'll put in a PR to improve this error message.

@kapoorlakshya
It works if I set Selenium::WebDriver::Chrome.path = '/usr/bin/google-chrome-stable', is that what you did mean? Pointing to /usr/bin/google-chrome would throw an error.

@andretf Use the binary that responds to --product-version by returning the Chrome version. If /usr/bin/google-chrome-stable --product-version returns the version instead of launching the browser or throwing an error, I would use it.

If you want to use Chromium (which obviously nobody ever tested either before releasing 3.9.3 to realise that the "fancy" System.execute—that would probably break if whitespace happened, please look up Open3—can return nil):
update-alternatives --install /usr/bin/google-chrome chrome-browser $(which chromium-browser) 1


fix the hardcoded copyright year

Closes #33
what does this PR do?

it removes the hardcoded copyright year at the footer of the application, and uses script to change the year dynamically

[x ] My code follows the code style of this project.
[x ] This PR does not contain plagiarized content.
[x ] The title of my pull request is a short description of the requested changes.
[ ] I am a participant of Hacktoberfest 2022.

📷 Screenshots

please remove the gray background color from here.

please remove the gray background color from here.

ok @KiranAminPanjwani
so the background should be transparent , right?

BTW, the issue wasn't assigned to you.

Please improve footer section.

@KiranAminPanjwani

I think we can remove the gap between the login and the footer section
also its best if we can remove the scroll bars

Do you have anything else in mind?
like adding a background color to the footer section?


CAMEL-14385: add a camel-cron component

Fix CAMEL-14385
Refs: https://github.com/apache/camel-k-runtime/pull/223

Thanks @oscerd, I've checked the spring-boot starter with dev profile and it seems to work. I guess it's cannot be currently merged, right?

Thanks @oscerd, I've checked the spring-boot starter with dev profile and it seems to work. I guess it cannot be currently merged, right?

Yeah, we'll need to create the starters once we release 3.1.0, but it's already a good start :-)

Thanks for the hints. I shoud have fixed the code.
I've added another implementation in camel-spring, so that it can be used in Spring or Spring-boot oob without pulling quartz.
I've switched to FactoryFinder as well.


Update dockerfile to execute js files rather than ts

After this https://github.com/Giveth/impact-graph/pull/619, we are able to compile typescript to javascript completely.
In docker file we should apply these changes:

compile typescript files and have result js files in the ./build directory
replace executing typescript files by executing js files

Note: We must be sure the server works correctly after this change

@CarlosQ96 What's the latest update? are we stuck with admin-bro?

Yeah, I investigated a lot to fix adminbro compilations.
So I did:

Migrated the adminbro jsx components to tsx for they are compiled successfully by tsc.
Imported dom elements to the tsconfig so tsc compiled adminbro correctly.

However now that the build is done, adminbro isn't resolving the components path correctly. So the admin runs, but custom components show as red squares:

I found this article where someone encountered this issue and fixed it in a really.... weird way, but he explains adminbro is looking for the uncompiled tsx files by default.
Link: https://lightrun.com/answers/softwarebrothers-adminjs-nestjs-provide-a-more-explanatory-example-project

That's my last blocker, if I fix it, once the component loads, the build-dev scripts I wrote can be modified to each env (staging/de/prod) and called on docker to run the app.
https://github.com/Giveth/impact-graph/pull/643 this is the draft pr, not ready for review yet as I am fixing this last issue.

Ok I managed to fix it, but the only solution I found in forums, was copy the uncompiled tsx files to the build folder.
That worked perfectly.


Add some sort of sensible way to sort list

Right now the list is just a wall bullet points that all start with https://github.com/. That's not terribly useful. Lets come up with a better way.
Maybe something like this?
* [bob](https://github.com/bob/dotfiles)
* [amit](https://github.com/amit/dotfiles)
* [jsatk](https://github.com/jsatk/dotfiles)
* [sarah](https://github.com/sarah/dotfiles)

I think the name of the link should be something that relates to what you find inside. So maybe instead of user names, which coudl also be included, something like what they contain (vim or nvim, plus maybe alacritty and other stuff), and perhaps some tags?
Just a thought


Trying to read from the ANCS Data Source

Hello @claudioarduino and I are working on getting notification attributes from ANCS. Right now we know that we are formatting the command buffer sent to the ANCS control source correctly but we can't read anything from the data source. I saw from an earlier issue this may be due to the fact that we are subscribing to two BLENotify characterisitics. When I subscribe to the Notification Source first I can read all the notification meta data, but when I subscribe to the Data Source first I don't get any information from the Notification Source. How can we get around this issue?
Thanks :)

@jacobmh1177 do you have a sketch to reproduce this? what debugging have you done so far?

Hi @jacobmh1177 I try to introduce the subscribe request before the ControlPoint command in Notification function. It works properly, I think that somebody did not give us the response, because this is very simple question for expert people. Use the solution as you want, attach it in the forum if you prefer.At this point I'm working for Android too, I think to use ASN but there are very few examples and they don't work properly, have you a suggestion? Do you know if there are some examples in the web?Thank you and B.R.
----Messaggio originale----
Da: "jacobmh1177"<EMAIL_ADDRESS>Data: 04/05/2017 23.04
A<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Ogg: [sandeepmistry/arduino-BLEPeripheral] Trying to read from the ANCS Data Source (#149)
Hello @claudioarduino and I are working on getting notification attributes from ANCS. Right now we know that we are formatting the command buffer sent to the ANCS control source correctly but we can't read anything from the data source. I saw from an earlier issue this may be due to the fact that we are subscribing to two BLENotify characterisitics. When I subscribe to the Notification Source first I can read all the notification meta data, but when I subscribe to the Data Source first I don't get any information from the Notification Source. How can we get around this issue?
Thanks :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Adding Daniel Momtague to Contributors list

@danMontague, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

Hi @Roshanjossey. It felt cool to have actually contributed something to the open source community. Despite having been a developer for about 8 years now I have never actually gotten actively involved in the community. I read about your project and thought that it was a brilliant idea and way to start finally getting involved.  Thank you very much for creating this project and helping to get more dev's involved in giving back and improving the world by contributing to open source projects.

@danMontague, I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com

@Roshanjossey Thanks. Sounds great. I will definitely start contributing to other projects and even look to put some of my own out there for people to use and (hopefully) contribute to!


go: 1.20.7 -> 1.21.1

Description of changes
I noticed that go 1.21 was merged 2 weeks ago, but nixpkgs still install 1.20.
I'm new to Nix, and definitely don't understand the full extend of this change, but its the only place I found that seemed to make sense to reference go 1.21 instead of 1.20.
Judging by the output of nix-build --arg pkgs 'import <nixpkgs> {}' -A go, it seems that is in fact the missing piece.
Anyway, thanks for reviewing, and sorry if I'm out of my mind here :)
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

This has intentionally not been done yet, it's a reasonable amount of work as need to make sure there isn't much breakage.
I'll do this myself in the next week or two, thanks anyway for the PR.

ah, ok, let me know if I can help with anything, go-related or otherwise :)


Remove right-hand info on press release (Influencer Dashboard)

Not necessary for this release, see screenshot below:

Done, and you're right it is redundant.


destroy on flux_bootstrap_git fails if the namespace flux-system is not present anymore

Hi,
Thanks for your work 💪
When destroying the flux_bootstrap_git, if the flux-system namespace is not present anymore for any reason, the provider fails with the following error:
$ terraform destroy -auto-approve
...
flux_bootstrap_git.this: Destroying... [id=flux-system]

│ Error: Unable to remove namespace
│
│ namespaces "flux-system" not found

I have to recreate the namespace to help it to destroy it back :-)
I expect it to not fail as the ressource it try to destroy is already destroyed. This is the case with the aws provider for example.
Regards

Could you please provide the following information @gmembre-zenika

The total output from the terraform version command in the repository you're executing from.
The total configuration of the flux_bootstrap_git resource
The total configuration of all providers (see below as an example)

data "aws_eks_cluster_auth" "cluster" {
  name = module.cluster.cluster.id
}

provider "kubernetes" {
  host                   = module.cluster.cluster.endpoint
  cluster_ca_certificate = base64decode(module.cluster.cluster.certificate_authority.0.data)
  token                  = data.aws_eks_cluster_auth.cluster.token
}

provider "flux" {
  git = {
    url    = "ssh://${var.flux_bootstrap_configuration["git_repo"]}"
    branch = "main"
    ssh = {
      username    = "git"
      private_key = data.terraform_remote_state.keypairs.outputs.flux_ssh_key["private"]
    }
  }
  kubernetes = {
    host                   = module.cluster.cluster.endpoint
    cluster_ca_certificate = base64decode(module.cluster.cluster.certificate_authority.0.data)
    token                  = data.aws_eks_cluster_auth.cluster.token
  }
}

Looking forward to your reply.

@gmembre-zenika destroying the flux-system namespace outside of Terraform will cause you much pain.
Anything managed by Terraform should be left to Terraform to manage. I would propose we close this issue.


Istio PeerAuthentication portLevelMtls at namespace level

We have a requirement to allow PeerAuthentication on Port 9090 (for prometheus).
I have looked at https://github.com/istio/istio/issues/30457  and tried the following, but it didn't work:
apiVersion: "security.istio.io/v1beta1"
kind: "PeerAuthentication"
metadata:
  name: "prom-metrics"
  namespace: "mynamespace"
spec:
  selector:
    matchLabels:
      host: "*.mynamespace.svc.cluster.local"
  portLevelMtls:
    9090:
      mode: PERMISSIVE

I got the below error:
Error: admission webhook "validation.istio.io" denied the request: configuration is invalid: wildcard is not supported in selector: "host=*.mynamespace.svc.cluster.local"
We have around 50 services and we would like to create one policy for the namespace to allow Prometheus.
Can someone suggest me how to do this?

matchLabels is matching labels on pods, not hostnames. I would just add a common label to everything you want to select (like app=prometheus).

@howardjohn Thanks for your reply.  We have pods with different labels (ex: service-app1, service-app2, service-app3 etc).
One solution is to repeat the below block for all pods.
apiVersion: "security.istio.io/v1beta1"
kind: "PeerAuthentication"
metadata:
  name: "prom-metrics"
  namespace: "mynamespace"
spec:
  selector:
    matchLabels:
      app: "service-app1"
  portLevelMtls:
    9090:
      mode: PERMISSIVE

However, we have 50+ services in the namespace. So I'm looking for some elegant solution.
whether  matchExpressions  can be used here?
spec:
  selector:
    matchExpressions:
         - {key: app, operator: In, values: [service-app1, service-app2, service-app3..]}

You can leave selector unset, which means the rules will be applied to all workloads in the same namespace

@howardjohn , @hzxuzhonghu Thanks for your suggestions.
I have tried with the following and it didn't work:
apiVersion: "security.istio.io/v1beta1"
kind: "PeerAuthentication"
metadata:
  name: "prom-metrics"
  namespace: "mynamespace"
spec:
  selector: {}
  portLevelMtls:
    9090:
      mode: PERMISSIVE

It gave the below error:
failed to create resource: admission webhook "validation.istio.io" denied the request: configuration is invalid: mesh/namespace peer authentication cannot have port level mTLS
As per the code https://github.com/istio/istio/blob/master/pkg/config/validation/validation.go#L1912 we cannot have empty selector
Could you please let me know some possible solution?

There is no other workaround  unless you label some specific labels for all the pods groups


⚠ Bofrost.at has degraded performance

In 5f60c22, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1379 ms

Resolved: Bofrost.at performance has improved in 6df343c.


checkField ignoring null values

It's undocumented that checkField is ignoring running validators in case the null value is returned by the selector.

Yup true. I've verified this as my breakpoints seems to not hit it.
Looking forward for this issue to be resolve


Slashing index_offset is not correct after export with --for-zero-height

The validators are not being jailed after the defined signed_blocks_window. Here are the parameters on morpheus-3000.
{
  "height": "33699",
  "result": {
    "signed_blocks_window": "720",
    "min_signed_per_window": "0.050000000000000000",
    "downtime_jail_duration": "600000000000",
    "slash_fraction_double_sign": "0.050000000000000000",
    "slash_fraction_downtime": "0.010000000000000000"
  }
}

Which means if a validator missed 95% of 720 blocks (684 blocks ~ 1hr), it will be jailed and unbonded.
However, many validators not validating are still bonded. This is due to the wrong signing-info, for example,
{
  "address": "desmosvalcons1xd7zavv738jxf2th343ka7ytfvhea55908r9nl",
  "start_height": "34471",
  "index_offset": "85705",
  "jailed_until": "2020-02-26T06:31:42.069077155Z",
  "tombstoned": false,
  "missed_blocks_counter": "720"
}

The morpheus-1001 app state was exported with --for-zero-height and it is expected to reset the start height to zero with a correct index_offset.
https://github.com/desmos-labs/desmos/blob/master/app/export.go#L167
Clearly this is not the case, we have to wait till height 120,896 too see it being jailed.

@kwunyeung After taking a look at this, I've noticed that the actual jailing of the validator happens before that point. In particular, at line 152 we can see:
if applyWhiteList && !whiteListMap[addr.String()] {
	validator.Jailed = true
}

Taking a look at the usage of the IndexOffset value, from the CosmosSDK we can read:
IndexOffset   int64   `json:"index_offset" yaml:"index_offset"`    // index offset into signed block bit array

So, I think that offset is correctly exported and should not be changed if the state is exported for zero height, as we also can see inside the Cosmos prepForZeroHeightGenesis implementation