text:
[sugestion] A better search feature for the startmenu but also for the system

Since windows 7 (I never used vista) I was very dissatisfied with the windows search feature, as it relayed more on indexing that on strait forward search and was more oriented towards file content than to normal filename wildcard search. (Like it was in Win XP and before)
It's a pity that to that to get back a decent file search you need to get a payed 3rd party tool like https://www.mythicsoft.com/filelocatorpro/
Now with windows 10 its even worse as the windows search is basically Cortana and that's a peace of spyware that wants to send all your search queries to Bing. So mo more searching for your Pr0n using windows search ;)
there should be a full replacement for the entire windows search functionality.
There are basically 3 aspects to such a feature:

basic functionality, typing app names in the shell and starting them (with good misspelling tolerance)
advanced file search like provided by 3rd party tools
indexing based search for those who like that

Since this suggestion seems more fit for Windows Sharp, I’ll transfer it over there. Such a feature is on our radar right now and we will begin work on search soon.

authors: DavidXanatos reflectronic


text:
Set up CI to run unit tests for PRs and new commits to master

We can hopefully use Github (as opposed to CircleCI).

This is currently done with CircleCI but happy to explore the github option.

Didn't realize that this was already set up. That's awesome. No need to migrate to Github actions unless CircleCI becomes a pain.

source: gharchive/issue

authors: kerzhner lalexgap

repo: statechannels/dispute-game

license: MIT

license_type: permissive

license_source: github-api


text:
improve nitro docs

See #3767, #3766
⚠ the nitro api summary doc is huge. We will need to cut that down somehow.

CircleCI Generated Comment: A new preview was generated for the docs-website.

CircleCI Generated Comment: A new preview was generated for the docs-website.

CircleCI Generated Comment: A new preview was generated for the docs-website.

source: gharchive/pull-request

repo: statechannels/statechannels


text:
secure connection example not working

Can you please give a good example for secure web socket server using fleck.
Currently I have used the following code but not working
C# :
// Store the subscribed clients.
var clients = new List();
        // Initialize the WebSocket server connection.
        var server = new WebSocketServer("wss://localhost:9393");
        server.Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2(Application.StartupPath + "\\servercert.pfx", "pwd");
        server.Start(socket =>
        {
            socket.OnOpen = () =>
            {
                // Add the incoming connection to our list.
                clients.Add(socket);
            };

            socket.OnClose = () =>
            {
                // Remove the disconnected client from the list.
                clients.Remove(socket);
            };

            socket.OnMessage = message =>
            {
                // Client sends a JSON-encoded string message.

                // Send the message as-is and the client will decode it appropriately.

                foreach (var client in clients)
                {
                    client.Send(message);
                }
            };

            socket.OnBinary = message =>
            {
                // Client sends a binary message (we accept images).

                // Send this file to everyone.
                foreach (var client in clients)
                {
                    client.Send(message);
                }
            };
        });

Client Side Javascript Code:

Make sure your self-generated certificate is in the trusted root.

My scenario is I have a server and a client
server running a https://Website
Client running a windows application of the socket server
user will use  the https://Website in Client to communicate with windows application which runs in  the Client using socket server
it is worked on http but not in https.So I used  the code line
var server = new WebSocketServer("wss://localhost:9393");
server.Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2("servercert.pfx", "jforce");
in window application
and the code
var socket = new WebSocket("wss://127.0.0.1:9393");
in javascript to connect it but not working
as you said  I have put the self-generated certificate in the trusted root. The self-generated certificate is generated in Server and I have installed in trusted root  of both Server and Client
Please help me.

What browser are you testing with?

Try entering https://Website:9393 in Firefox.  This should have it connect to your Fleck server, and if it dislikes the cert it should let you know.
Also, did you reboot after adding the cert to the trusted root?  I know editing a cert (ie disabling it) requires a reboot, so adding one may also require one.

A note about firefox, it has it's own set of certificates separate from the windows store. It's under Preferences>Advanced>Certificates menu.

I am testing in Firefox and Chrome both is not working.
In the address bar of Chrome is showing "The identity of this website has not been verified. Server Certificate does not match the URL" Is this is the problem?.
I have a valid certificate but that one is gd-g2_iis_intermediates.p7b and 2d40ae8147a7ea49.crt verified by Godaddy. How can I use this kind of certificate in Fleck.

The Common Name of the cert doesn't match "localhost". Have you tested with a self-signed certificate?

I have generated a self-signed certificate in Server machine and imported in Trusted Root Certification Authorities .
I have exported it as localhost.pfx and import this certificate in Client machine's Trusted Root Certification and placed a copy of it in Socket Server windows application running folder
In Socket Server windows application that runs on client machine I have coded as
var server = new WebSocketServer("wss://localhost:9393");
server.Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2("localhost.pfx","password");
But still I can't connect from my website through
var socket = new WebSocket("wss://127.0.0.1:9393");
How can I  find any solution to solve this problem.

What is the Common Name in your cert?

Hi,
Thank you for your valuable help. It is working now. I just created a self signed certificate with common name "localhost" from http://www.selfsignedcertificate.com/ and imported it to "Trusted Root Certification Authorities" and it works fine.
but one problem exist that is only working in chorme but not in firefox any idea.I appreciate your help.

Firefox has its own certificate manager in the advanced settings. Add the certificate there.

hi,
how to add certificate from http://www.selfsignedcertificate.com/  into our code?

I added code server.Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2(@"C:\Users\amjad\Downloads\34001582_localhost.cert");
But it shows error WebSocket connection to 'wss://localhost:3399' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED

Refer to this issue... #214

authors: AdrianBathurst amjadaliup daxfrancis rickparrish statianzo

repo: statianzo/Fleck


text:
default language is always en

Is it impossible to set callback language or default language?

The fallback language or default is the first defined language...

This is my string file but default language is english ...
// ES6 module syntax
import LocalizedStrings from 'react-localization';

let strings = new LocalizedStrings({
 fa:{
   Hello:"سلام",
 },
 en: {
   Hello:"Hello man",
 }
})

authors: kindslayer stefalda

repo: stefalda/react-localization

license: mit

license_source: bigquery


text:
hundreds of errors when built

tried using all of the examples and tests, tried to execute every one of the "github" tests as well. Hundreds of errors all showing ambiguous use of "find" and ambiguous use of "TON"
I do MQTT and PLC communications for a living. And I have never been so frustrated and struggled so hard to publish some topics then trying to use Codesys and any one of 4 or 5 different libraries including the demo from 3S.
Please Mr Stefan, point me in the right direction. I am totally lost at using libraries on windows 10 or Windows 7 64 bit with Codesys 3.5.15

Hi,
please open the library and check the libs.
I use Version 3.5 SP 14. You sholud have success when you update to your version.
All blue warings you can ignore.
For Easy use of the Liebe have a look to:
https://github.com/MichielVanwelsenaere/HomeAutomation.CoDeSys3
If your libs are clean it sholde be easy to publish your stuff.
BR Stefan

Its not your lib.. the issue is with the Crypto handling and the packages Opto22 built into their run time and their library.. Your Library work perfectly when I run it off of the Wim V3 on my desktop. and the only MQTT that will work on the Opto is the Janztech, because they have 2 seperate libs for TLS and Non TLS.
Have you considered or do know of at Sparkplug package forCodesys??

Hello,
I will not provide 2 versions of the lib.
Your solution:
comment out all apperance of TLS stuff in IP_CONTROL in your local copy of commonTypesAndFunctions.
Deleting the lib CmpTls out of library manager should show you where.

This should work for you.
BR Stefan

Thanks Stefan.. That likely will work.. But I will just wait for Opto22 to fix their Runtime.  I would rather use your library AND TLS. They are working on a bugfix now

Hi,
Sounds perfect…
BR Stefan

authors: PLCMercenary stefandreyer

repo: stefandreyer/CODESYS-MQTT


text:
Fetch promises always resolving

Hello,
I'm using Ember 2.9, and it appears that the promise returned from fetch always resolves, even if there is an error.
I think it's down to this line: https://github.com/stefanpenner/ember-fetch/blob/c2cbcb97a1dfd6605b02c7ea4e8627d5cea5add6/assets/browser-fetch.js.t#L20
Returning the value rather than throwing it seems to trigger the success route in the Ember invokeCallback function.
Am I going crazy or is this an issue?!

fetch by design only rejects if there is a network issue(being offline p.e). You need to check fir

So even if the site I'm connecting to is offline, it's still a successful promise?
I understand that it doesn't reject on status codes, but not rejecting on network errors is confusing. Thanks anyway!

On network errors it should reject indeed. If it doesn't it's a bug, but this polyfill is so popular that I don't think that's possible. Are you talking about tests?

I've got a fiddle here: https://ember-twiddle.com/625abf7d2eff52a579bf2d82c1eceadc?openFiles=controllers.application.js%2C
I am behind a proxy, but still, there seems to be a difference. Can you replicate this?

Using 1.4.0 results in true for all 4 cases. It appears that this change (https://github.com/stefanpenner/ember-fetch/commit/10ea9e15f12723df6e4aaf24a2196cde7944000b) may have introduced it.

Actually I see the error now. I'll see if I can fix it tonight. Essentially we need to return a rejected promise from the second then so we propagate the rejection

Damn.  Yes, I need to rethrow. :man_facepalming:

@rwjblue / @cibernox just a headsup. Master will be a major version bump. So I have created a release-2 branch for all work destined for a 2x release (which this seems part of)
https://github.com/stefanpenner/ember-fetch/commits/release-2

authors: cibernox orf rwjblue stefanpenner

repo: stefanpenner/ember-fetch


text:
The same issue in your technology stack between prometheus and alertmanager

Hello, here you can see error trace
{"status":"error","errorType":"bad_data","error":"start time must be before end time"}
As i understood from https://github.com/prometheus/prometheus/issues/3543
This issue between Prometheus: 2.1.0 & Alertmanager: 0.13.0, actually prometheus send invalid data to alertmanager and it can't processed them. So what should we do for resolve this trouble, may be wait for new Prometheus 2.2 and Alertmanager 0.14, or how we can downgrade to Prometheus 2.0(it's resolve this issue) based on Docker Compose.
Thanks a lot for your work, you project is amazing!
P.S . In Alertmanager 0.14 Release Notes i see  [BUGFIX] Don't count alerts with EndTime in the future as resolved

Can you please try prometheus:v2.2.0-rc.0 and see if that works? If so a PR would be great.
Thanks

Yes, sure I'll give you feedback :)

@stefanprodan With prometheus:v2.2.0-rc.0 all working as well. Thank you!

authors: stefanprodan vovkanaz

repo: stefanprodan/dockprom


text:
🛑 Notification API is down

In 9a47866, Notification API (https://niko.neuenhauser.de/api/notification/q/health) was down:

HTTP code: 503
Response time: 98 ms

Resolved: Notification API is back up in 6d9585d after 12 minutes.

repo: stefanwendelmann/niko-uptime


text:
exp/ingest/io: DBLedgerReader keep all txs data in memory

What version are you using?
release-horizon-v0.25.0
What did you expect to see?
There's no need to keep all transactions in memory. In case of a very large ledger with a lot of meta updates it can eat a large chunk of memory.
What did you see instead?
We can load txs in batches and use LIMIT query.

As performance tests proved: https://github.com/stellar/go/issues/2129#issuecomment-584235690 this component should be updated to decrease memory usage when ingesting ledgers.

repo: stellar/go


text:
Update to Webpack 4, support dynamic loading

I may have shaved the yak here.
Webpack 4 has a ton of significant advantages over 3, especially when it comes to automatically optimizing code to minimize what must be loaded. This was also an excuse to modernize and optimize some of the codebase. Notably, a lot of code was importing lodash in its entirety to use only a few methods.
Before:
                                         Asset       Size
                   app-1f03d59316795c1e0798.js     355 kB
         vendor-9eb444508ef2d3bfd932.bundle.js     713 kB
    style-8485a38363df3e84e514d0fe233b3124.css     116 kB
                                    index.html  401 bytes

✨  Done in 19.36s.

After:
                                           Asset       Size
                     app-54634ed83c44cd2d51c6.js   76.7 KiB
             vendors~app-69f3e23eb326ba857b52.js    766 KiB
                    app.2a214a2daaea476c1007.css    102 KiB
                                      index.html  349 bytes
        vendors~Explorer-e17783dc284ebf2b232b.js   10.9 KiB
                 Builder-e0af364801e9b7fba9c8.js   46.9 KiB
Builder~Creator~Explorer-5f46acd2989577d6c2e9.js   16.9 KiB
          Builder~Signer-46916ef5d04d34061945.js   18.3 KiB
                 Creator-8bb929dee97088bc0626.js   11.5 KiB
                Explorer-9113f63e5298d6e879c6.js   14.7 KiB
                  Signer-825c12168d633d8f85a9.js   20.5 KiB
               Submitter-9d7a17fe945130ac264a.js   19.3 KiB
                  Viewer-b5fcda67552192ff8ee3.js   15.5 KiB

✨  Done in 12.87s.

Build is ~ 50% faster (though 20s is pretty quick anyway), initial page load for laboratory.stellar.org is down about ~200kb of JS (and about 15kb of css), or about 20%. (from 1184kb to 944.7kb)
Also adds yarn analyze to visualize bundle stats (since it was a super easy addition).

Preview is available here:http://laboratory-27444c5.previews.kube001.services.stellar-ops.com/

authors: stellar-jenkins vcarl

repo: stellar/laboratory


text:
--limits unlimited is limiting at least the contractDataKeySizeBytes limit

What version are you using?
docker run --rm -i \
    -p "8000:8000" \
    --name stellar \
    stellar/quickstart:latest \
    --local \
    --limits unlimited \
    --enable-soroban-rpc \
    --enable-soroban-diagnostic-events

As of the time of this ticket open.
What did you do?
// the limit is 300 but a key includes more than _just_ the data. 248 works, 249 fails.
env.storage().persistent().set(&Bytes::from_array(&env, &[0u8; 249]), &true);

What did you expect to see?
When invoking the function which calls the above on the unlimited local network I would expect the function to pass.
What did you see instead?
I get an error during submission
{
  errorResultXdr: "AAAAAP/////////vAAAAAA==",
  status: "ERROR",
  hash: "a063178e27b6e812d6c2bf9e8cd41723373bf7448c189d274a4aa0aad5e9f10c",
  latestLedger: 1446,
  latestLedgerCloseTime: "1709310433",
}

Other tx limits besides CPU and memory can be exceeded, such as the number of reads and writes as well as the number of bytes which can be read or written. At least this contractDataKeySizeBytes however seems to not be able to be exceeded.
This is important to resolve in order to allow folks to test extreme cases past live network phased limits in order for devs to get a full picture of all their contract invocation costs. Especially given the AAAAAP/////////vAAAAAA== gives zero clues as to the nature of the exceeded limit.

Looking at https://stellar.expert/explorer/public/protocol-history for Soroban runtime configs we need to “unlimitize” all these values.
{
    "contractDataEntrySizeBytes": 65536,
    "contractCompute": {
        "txMaxInstructions": "100000000",
        "txMemoryLimit": 41943040
    },
    "contractMaxSizeBytes": 65536,
    "contractLedgerCost": {
        "txMaxReadLedgerEntries": 40,
        "txMaxReadBytes": 133120,
        "txMaxWriteLedgerEntries": 25,
        "txMaxWriteBytes": 66560
    },
    "contractEvents": {
        "txMaxContractEventsSizeBytes": 8198
    },
    "contractDataKeySizeBytes": 200,
    "contractBandwidth": {
        "txMaxSizeBytes": 71680
    }
}

Solved via https://github.com/stellar/quickstart/pull/579

repo: stellar/quickstart


text:
[Test] For any host bug where tracker_by_address_handle was not reset

Write test for any host bug where tracker_by_address_handle was not reset.
More discussion here.

The linked thread is about an issue that concerned only tests and recording mode. The recording mode is covered in tests now and test-only functionality is covered naturally in SDK/example tests.

authors: anupsdf dmkozh

repo: stellar/rs-soroban-env


text:
Lab: saved keypairs + build and saved transactions

Update outdated Lab screenshots
Add Saved Keypairs page (PR link)
Add Build Transaction and Saved Transactions pages (PR link)

Preview is available here:http://developers-pr1103.previews.kube001.services.stellar-ops.com

@quietbits, can we add a direct link to the lab (title or subtitle)?

Preview is available here:http://developers-pr1103.previews.kube001.services.stellar-ops.com

authors: jeesunikim quietbits stellar-jenkins

repo: stellar/stellar-docs


text:
create workspace

moving sdk code into a workspace to create a more modular architecture (adding KeyManager in another workspace in separate PR)
see discussion here

fyi working on fixing the socket alerts

@acharb can you check failing pipeline please? 🙏🏼

@Ifropc are you referring to the socket security? discussed with Piyal here
the socket-security checks I looked into, and fixed the ones needing. The ones left are due to "Unstable Ownership". But I looked into it and its due to a code maintainer changing, but doesn't look malicious

authors: Ifropc acharb

repo: stellar/typescript-wallet-sdk


text:
关于2016年计算机组成<流水线大题>的疑问

你好，关于912，2016年计算机组成原理的第一道流水线大题，三个寄存器的位置摆放有点疑问，希望能请教一下，具体如下：

按照这里的解答，让流水线时间尽可能均衡，所以寄存器放置在了A，B，D之后，但如果这样的话，
流水线的延迟（算上寄存器延迟）第二段只需要30ps，而第三段却需要60ps，也就是说第二段处理完了，第三段还在处理中，之后第二段的数据流入第三段中将会导致错误（不知道这么理解对不对），所以个人觉得这里应该是要确保三个寄存器插入之后，确保前一段的延迟不小于后一段的延迟，从而保证不会发生冲突。
所以这样的话，虽然题目不全BD的延迟不知道，但基本可以推断出，B+D=35ps，如果B延迟=30ps，D延迟=5ps的话，那么BC之间放一个，CD之间放一下，EF之间放一下，刚刚好满足要求，而且答案唯一
不知道说的对不对，请大佬指教...

有道理。考完之后或许会更新此部分。
多谢建议。

authors: GameOneByOne stellarkey


text:
Unable to download AppleIncRootCertificate.cer

AppleIncRootCertificate.cer is now forced to redirect to HTTPS with 301.
So we are unable to download certificates an empty file is generated and we get the following error.

Thanks to your PR this is now available on 2.0.0 on NPM.

Thanks to your PR this is now available on 2.0.0 on NPM.

authors: curioustushar kokarn

repo: stendahls/cert-downloader


text:
Idea: re-use protobuf's unittest schemas

There are schemas available in the core protobuf repository that cover most of the corner cases in the protobuf compiler.  They could be used for integration testing this library.
Here's one such schema file: https://github.com/google/protobuf/blob/master/src/google/protobuf/unittest.proto

Included most of schema files from google: 07f390b5d181f154a83432b6c40311c1560c25c9.

Now all protobuf schema files are included in protobuf codegen unittest: rust-protobuf generates and compiles code from these schemas.

authors: dflemstr stepancheg

repo: stepancheg/rust-protobuf


text:
Fix: Arbitrary inputs accepted as integers

An example of what was passing:
#include <cstdint>

#include <glaze/json/read.hpp>

template<typename T>
void should_be_error() {
  const auto parsed = glz::read_json<int>("asdf;lkajsdf");
  assert(parsed.has_value());
  assert(parsed.value() == 0);
}

int main() {
  should_be_error<std::int8_t>();
  should_be_error<std::int16_t>();
  should_be_error<std::int32_t>();
  should_be_error<std::int64_t>();
  should_be_error<std::uint8_t>();
  should_be_error<std::uint16_t>();
  should_be_error<std::uint32_t>();
  should_be_error<std::uint64_t>();
}

The following changes primarily test if the first character is a digit in stoui64() instead of assuming it is. Tests and a little refactor of stoui64 follow.

Thanks for this fix! And, I threw this into QuickBench to just ensure that the refactoring didn't have any surprise performance changes, and your new code is actually 10% faster than the old code! https://quick-bench.com/q/2lkOH9X16AUaXnigATNcEsRV9Wc

@stephenberry  That's exciting :) Gotta love iterators. Any idea why MSVC tests are taking forever in CI?

@justend29, from my experience MSVC takes significantly longer than clang and gcc to build glaze. And, this extra build time doesn't end up with better performance, e.g. we avoid force inlining on MSVC because it then makes compilation absolutely terrible, so performance is often much worse on MSVC. Also, the VM is windows, so there's overhead there as well.

@justend29 On gcc 13.2 your new code is 40% faster! That's crazy

@justend29, from my experience MSVC takes significantly longer than clang and gcc to build glaze. And, this extra build time doesn't end up with better performance, e.g. we avoid force inlining on MSVC because it then makes compilation absolutely terrible, so performance is often much worse on MSVC. Also, the VM is windows, so there's overhead there as well.

That all makes sense, but the test job in the MSVC CI pipeline is taking so long it's timing out. The build and all take slightly longer, but the tests seem to be doing nothing. The VM and slow MSVC couldn't be the culprit there, eh? Are the runners ok?

Yeah, I'm seeing that problem with MSVC, the test is taking forever. I'm looking into it now.

repo: stephenberry/glaze


text:
Class SQLiteXXX is implemented in both LinkServices.framework and MyApp error logs

Build Information

SQLite.swift 0.14.1
Xcode 14.1 (14B47b) / macOS 12.6.1 (21G217)
Swift Package manager

Issue
Hi,
We're seeing worrisome errors from the ObjC runtime in our logs when running an app linking both SQLite.swift and the PSPDFKit framework (https://github.com/PSPDFKit/PSPDFKit-SP / https://pspdfkit.com):
Class _TtC6SQLite6Backup is implemented in both /Applications/Xcode-14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1b8c21b70) and /[redacted]/SQLiteConnectionConflict.app/SQLiteConnectionConflict (0x1005a6538). One of the two will be used. Which one is undefined.

This is reported for several classes : SQLiteBackup, SQLiteConnection, SQLiteStatement, SQLiteTableBuilder.

Full logs
objc[67969]: Class _TtC6SQLite6Backup is implemented in both /Applications/Xcode-14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1b8c21b70) and /[redacted]/SQLiteConnectionConflict.app/SQLiteConnectionConflict (0x100c26538). One of the two will be used. Which one is undefined.
objc[67969]: Class _TtC6SQLite10Connection is implemented in both /Applications/Xcode-14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1b8c218a8) and /[redacted]/SQLiteConnectionConflict.app/SQLiteConnectionConflict (0x100c26788). One of the two will be used. Which one is undefined.
objc[67969]: Class _TtC6SQLite9Statement is implemented in both /Applications/Xcode-14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1b8c21aa0) and /[redacted]/SQLiteConnectionConflict.app/SQLiteConnectionConflict (0x100c26948). One of the two will be used. Which one is undefined.
objc[67969]: Class _TtC6SQLite12TableBuilder is implemented in both /Applications/Xcode-14.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1b8c21460) and /[redacted]/SQLiteConnectionConflict.app/SQLiteConnectionConflict (0x100c27ef0). One of the two will be used. Which one is undefined.

You can reproduce the issue by creating a new iOS app in Xcode, and adding both SQLite.swift and PSPDFKit to the app with SwiftPM. A sample project is attached. Run the app and the message will immediately appear in the logs.
Can you help us understand why this error is reported and how we should fix it please?
Thanks for your help!
PS: This issue has also been reported to the PSPDFKit team, I'll update here if I get some updates on the other side.
SQLiteConnectionConflict.zip

The nice support folks at PSPDFKit pointed out that the problem is not PSPDFKit in and of itself, but the fact that PSPDFKit imports (directly of indirectly) the LinkServices.framework:

I looked at the example project, and it seems the SQLite package has naming collision with one of the private Apple frameworks (LinkServices).
If you use any framework that has the transient dependency on this private framework you will get this warnings.
In your example including PSPDFKit triggered the inclusion of LinkServices, however you will experience the same if you import any Apple framework that has the same dependency, for example QuickLook.

They also updated the sample project to demonstrate the problem even without PSPDFKit included: SQLiteConnectionConflict_NoPSPDFKit.zip
(notice the import QuickLook in the AppDelegate.swift)

Also, I was mistaken earlier: I was (manually) demangling the symbols names wrong, and the conflicting symbols are indeed SQLite.Backup, SQLite.Connection, SQLite.Statement, SQLite.TableBuilder.
(which makes much more sense as the classes don't have a SQLite prefix in this library)

Honestly I'm not quite sure how to fix this problem though. It seems it's a known Swift issue, and the solution for now is to name packages with names that are "clear and specific, avoiding common phrases and terms that will overlap".
Is renaming the package something you'd be open to? 😬

This is impacting us at Airbnb as well.

Can adding an alias in both packages solve the problem? You can reference types using the alias if you cannot differentiate initial symbols.
We cannot rename original types as it would break their uses.
It's the same kind of fix that I did here: https://github.com/Kitura/Kitura-CouchDB/pull/117

This also happens when an app uses both SQLite.swift and imports and uses the AppIntents system framework, so it's a problem even without other third-party libraries.

Same issue here. Seems to be causing bugs for others too: https://stackoverflow.com/questions/77206338/xcode-15-ios-17-objc3422-class-ttc6sqlite-is-implemented-in-both-one-o, any updates on this issue?

same here

same here

To resolve this I just forked the repo and renamed package from SQLite to SQLiteSwift

Its a real shame, this issue has been reported multiple times and still not resolved.

Still no update?

What are the consequences of having this conflict in my project? I haven't noticed any issues so far. Was I just lucky that the correct classes were randomly chosen, or isn't there a real problem associated with this conflict?

@nathanfallet I tried with the typealias but it did not solve the issue. Have you considered prefixing all the classes and releasing a major version?

No update?

authors: Highflyer94 NathanFallet R1Daneel andrewtheis anyhong arnauddorgans guillaumealgis iworkcloud jbafford shepting waelsaad xiushaomin


text:
Join table for visits

In this pull request I:

Prepared complex queries that answer analytical questions.
Used primary key & foreign key mechanism for joining table
Created a table vets to store vets information.
Created tables visits and specialization for storing many-to-many relationship information.
Inserted data into all new tables.

Here are the sceenshots for the queries:

Thanks @prolajumokeoni


text:
[Errno 13] Permission denied: ('0.0.0.0', 843)

hi i got this error when running your chat application.
python manage.py runserver_socketio

SocketIOServer running on 127.0.0.1:9000

FAILED to start flash policy server: [Errno 13] Permission denied: ('0.0.0.0', 843)

is this because i am running this inside a virtualenv?

I added a note to the docs about it here: 655da55548298dfa45244336e229c8768659052c
Basically you need to run the server with root privileges for the low port required by the flash policy server that the flashsocket transport will use. This isn't required for everything to work correctly, as the flashsocket transport is only used as one of several fallbacks when websockets aren't available.

authors: robinnanola stephenmcd

repo: stephenmcd/django-socketio


text:
Update vendors and tools

This PR updates vendors that are not related to Kubernetes, and tools.

Looks good 👍

authors: rkmathi superbrothers

repo: stern/stern


text:
bug: updating with lazy.nvim does not work

Neovim version (nvim -v)
v0.9.0-dev-1326+g7c8c15507
Operating system/version
MacOS 13.0.1
Output of :AerialInfo
Aerial Info
Filetype:
Configured backends:
treesitter (not supported) [No treesitter parser for ]
lsp (not supported) [No LSP client found]
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
Describe the bug
Lazy prompts to update, when updating, it fails because of changes to doc/tags.
Double checked that there are no local changes.

Steps To Reproduce

nvim -u repro.lua
:Lazy
U

Expected Behavior
Update successfully
Minimal example file
n/a
Minimal init.lua
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "stevearc/aerial.nvim",
    config = function()
      require("aerial").setup({
        -- add your aerial config here
      })
    end,
  },
  {
    "nvim-treesitter/nvim-treesitter",
    build = ":TSUpdate",
    config = function()
      require("nvim-treesitter.configs").setup({
        ensure_installed = { "c", "lua" },
        auto_install = true,
        highlight = { enable = true },
      })
    end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Additional context
No response

Not sure how this could have happened, as I use a CI script to keep the tags file in sync with the help docs. Regardless, I've decided to put doc/tags in gitignore and stop checking it in. All the modern package managers (lazy, packer, paq) will autogenerate helptags for you, and if you're managing packages yourself you hopefully know enough to call :helptags ALL.
That said, that will prevent this sort of issue moving forward, but your current install will still refuse to update. You need to go to the repo (by default installed in ~/.local/share/nvim/lazy/aerial.nvim) and clear the changes (a git checkout . will work). It's probably best to also pull latest yourself (git pull) so that lazy won't regenerate the changes in that file when you next open vim. After that, updating via lazy should work.
If you think that the repo doesn't have any changes, then you are looking in the wrong place. If you can't find the repo, you can always mark aerial as disabled in lazy, then clean (which removes the repo and deletes the lockfile entry), then re-enable it.

Thanks, works great again!

Came to this late but thanks for fixing.
@stevearc - might be worth pinning this solution to the issues tab as a lot of users may experience this and be unable to update without your workaround above

authors: laytan olimorris stevearc


text:
fix(rustfmt): use Cargo.toml settings and default to recent edition

An alternative to #321
closes #320

Oh that's really cool, looks better than #321.
Question, does the ctx passed on lua/conform/formatters/rustfmt.lua:12 refers to the current buffer ? (learning :) )

Yes, the ctx is created for the specific buffer being formatted. You can find the definition of that object here:
https://github.com/stevearc/conform.nvim/blob/db2c697fe8302f0328b50b480204be1b577a1e2f/lua/conform/init.lua#L47-L51

authors: riftsin stevearc


text:
feature request: set cwd to the currently displayed directory in the oil buffer

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
I would like to have an option in the oil config which allows for dynamically changing the working directory dynamically while browsing through folder structures in oil. A bit like autochdir in the (neo)vim config maybe, but buffer-local for the oil buffer, like a lcd.
Provide background
I love oil for browsing through directories and sometimes batch processing renames and stuff (thanks a lot for oil.nvim, i just love it!)
Sometimes i want to bring up telescope for doing a quick live-grep + adding the found files to the quickfix list for later processing, too. Right now, i would have to manuall cd ... to the current directory displayed in oil and then start interacting with telescope.
I would love if there would be an option which allows for dynamically setting the working directory to the one which is currently displayed in oil. Right now, it does not change while browsing through the directories (which is a good default i guess), but i'd like to see an options which enables dynamically changing the working directory while browsing with oil in order to fire up other tools (like telescope) to be able to use the combination of tools.
Additional details
Maybe there are side effects to be considered, but i cannot think of any myself.

The way I handle this personally is I set buffer-local keymaps in oil that override my global keymaps. For example, I use <leader>ff to search for files. In oil buffers, I set this keymap
vim.keymap.set("n", "<leader>ff", function()
  require("telescope.builtin").find_files({cwd = require("oil").get_current_dir()})
end, {buffer = bufnr})

Perhaps something like this would work for you?

For someone who found this and prefer change cwd instead of using buffer-local keymaps, here is my solution:
vim.api.nvim_create_autocmd('TextChanged', {
  desc = 'Set cwd to follow directory shown in oil buffers.',
  group = vim.api.nvim_create_augroup('OilAutoCwd', {}),
  pattern = 'oil:///*',
  callback = function()
    if vim.bo.filetype == 'oil' then
      vim.cmd.lcd(require('oil').get_current_dir())
    end
  end,
})

OK, so I managed to make it work "reliably" with this setup, but it looks like a terrible hack to be honest:
keymaps = {
      ["<CR>"] = function()
        require("oil.actions").select.callback()
        vim.defer_fn(function()
          local curdir = require("oil").get_current_dir()
          if curdir then
            vim.cmd.lcd(curdir)
          end
        end, 200)
      end,
}

Try using this:
keymaps = {
  ["-"] = function()
    require("oil.actions").parent.callback()
    vim.cmd.lcd(require("oil").get_current_dir())
  end,
  ["<CR>"] = function()
    require("oil").select(nil, function(err)
      if not err then
        local curdir = require("oil").get_current_dir()
        if curdir then
          vim.cmd.lcd(curdir)
        end
      end
    end)
  end,
}

The select function is async, so we don't have a guarantee that the new buffer has been entered by the time it finishes running. You need to put the lcd logic in the callback

authors: Bekaboo artem-nefedov kekscode stevearc


text:
fix: improper file name escaping

Changes the util file escape function to use the builtin fnameescape instead which fixes #529.

Thanks for the fix!


text:
HandleWheel error

Hi I try this wersion with nextjs and react 16.2 and I have lot of errors in handleWheel function of react-virtual-scroller2
it on last line of of this code
key: 'handleWheel',
    value: function handleWheel(event) {

      var props = this.props;

stacktrace
commons.js:616 Uncaught TypeError: Cannot read property 'props' of undefined
    at handleWheel (index.js:279)
    at HTMLUnknownElement.callCallback (commons.js:548)
    at Object.invokeGuardedCallbackDev (commons.js:587)
    at Object.invokeGuardedCallback (commons.js:444)
    at Object.invokeGuardedCallbackAndCatchFirstError (commons.js:458)
    at executeDispatch (commons.js:842)
    at executeDispatchesInOrder (commons.js:864)
    at executeDispatchesAndRelease (commons.js:962)
    at executeDispatchesAndReleaseTopLevel (commons.js:973)
    at Array.forEach (<anonymous>)

Anyone else tries this with react 16.2?

We are using this with react 16.2.0 without that issue.
Can you console.log the this in the render function where handleWheel is called?
https://github.com/stevelacy/react-virtual-scroller2/blob/master/dist/react-virtual-scroller.js#L238

sure, this is undefined

here is the source of sample page served by nextjs
import React, { PureComponent } from 'react'
import DataGrid from 'react-datagrid2'

const defaultColumns = [
  { name: 'id' },
  { name: 'title' },
  { name: 'count' }
]

const createRows = () => {
  let rows = []
  for (let i = 1; i < 1000; i++) {
    rows.push({
      id: i,
      title: 'Title ' + i,
      count: i * 1000
    })
  }

  return rows
}

export default class Grid extends PureComponent {
  render () {
    const gridData = createRows()
    const gridColumns = defaultColumns
    return <DataGrid idProperty='id'
      dataSource={gridData}
      columns={gridColumns}
      style={{height: 400}}
    />
  }
}

As soon as I try to scroll, errors occurred. Chrome 64.0.3282.167 (Official Build) (64-bit)

Interesting on codesandbox it works without problems
https://codesandbox.io/s/n069yloop

It must be something with nextjs :-(

I am wondering... how does nextjs create the scope for the classes?
Is there a way to run nextjs in codesandbox?

It looks like it can be caused by HMR in dev mode

I'm just guessing, but maybe react-virtual-scroller2 missing removing listeners.
Elements should not be added in render...
https://github.com/stevelacy/react-virtual-scroller2/blob/master/src/index.jsx#L149

I know that it is strange, but when I explicitly bind events to this like this - line 146:
if (!hasTouch){
      events.onWheel = this.handleWheel.bind(this)
    } else {
      events.onTouchStart = this.handleTouchStart.bind(this)
    }

and then scroller at line 342:
var onScroll = this.onVerticalScroll.bind(this)
it starts working even in dev mode

want to send a PR?

https://github.com/stevelacy/react-virtual-scroller2/pull/2

authors: PetrSnobelt stevelacy


text:
Support for FnSub

For #241. No rubocop tests as yet.

Awesome, thanks @cmaxwellau. Can you please fix up those rubocop issues, and also can you add some tests and docs? That'd be awesome.  Let me know if you need a hand with anything.
NB. there's a couple of rubocop fixes pending in #239

I've been waiting for the public release, the code was written a month ago :)
I've fixed everything the travis was warning me about, but it's still failing on some code not related to my commit (i think....)
:
lib/cfndsl/external_parameters.rb:56:23: C: Prefer JSON.parse instead of JSON#load.
params = JSON.load File.read(fname)
^^^^
lib/cfndsl/orchestration_template.rb:79:9: C: Use a guard clause instead of wrapping the code inside a conditional expression.
unless sname == pname
^^^^^^

@cmaxwellau I was reading the docs to write some tests, and it looks like you don't have to supply the hash if you are using AWS::Region for example.
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.html
{ "Fn::Sub": "/opt/aws/bin/cfn-init -v --stack ${AWS::StackName} --resource LaunchConfig --configsets wordpress_install --region ${AWS::Region}" }

We should support that too, so we should make the second option optional.
e.g.
    # Equivalent to the CloudFormation template built in function Fn::Sub
    def FnSub(string, *substitutions)
      raise 'The first argument passed to Fn::Sub must be a string' unless string.instance_of?(String)
      raise 'Too many arguments to Fn::Sub' if substitutions.length > 1
      if substitutions[0]
      raise 'The second argument passed to Fn::Sub must be a Hash' unless substitutions[0].instance_of?(Hash)
            Fn.new('Sub', [string, substitutions[0]])
      else
            Fn.new('Sub', string)
      end
    end

Thinking tests might look like:
    context 'FnSub', 'String Hash' do
      it 'FnSub String Hash' do
        func = subject.FnSub('foo', 'x' => 'y')
        expect(func.to_json).to eq('{"Fn::Sub":["foo",{"x":"y"}]}')
      end
    end

    context 'FnSub', 'String' do
      it 'FnSub String' do
        func = subject.FnSub('foo')
        expect(func.to_json).to eq('{"Fn::Sub":"foo"}')
      end
    end

Thoughts?

With this, can we also add a deprecation warning to FnFormat? It was a cfndsl-only construct and it now seems obsolete.

diff --git a/lib/cfndsl/jsonable.rb b/lib/cfndsl/jsonable.rb
index 27d89c3..6b67857 100644
--- a/lib/cfndsl/jsonable.rb
+++ b/lib/cfndsl/jsonable.rb
@@ -101,27 +101,7 @@ module CfnDsl
     # TODO Can we simplyfy this somehow?
     # rubocop:disable Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
     def FnFormat(string, *arguments)
-      array = []
-
-      if arguments.empty? || (arguments.length == 1 && arguments[0].instance_of?(Hash))
-        hash = arguments[0] || {}
-        string.scan(/(.*?)(?:%(%|\{([\w:]+)\})|\z)/m) do |x, y, z|
-          array.push x if x && !x.empty?
-
-          next unless y
-
-          array.push(y == '%' ? '%' : (hash[z] || hash[z.to_sym] || Ref(z)))
-        end
-      else
-        string.scan(/(.*?)(?:%(%|\d+)|\z)/m) do |x, y|
-          array.push x if x && !x.empty?
-
-          next unless y
-
-          array.push(y == '%' ? '%' : arguments[y.to_i])
-        end
-      end
-      Fn.new('Join', ['', array])
+      raise 'Fn::Format is no longer supported by CloudFormation. Consider using FnSub'
     end
     # rubocop:enable Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
   end

Deprecating FnFormat will break a lot of existing templates. As long as FnJoin is supported, FnFormat will be needed.

@gergnz definitely agree on the optionality for FnSub

@cmaxwellau want to finish this one off, and we can bump a release that includes the new stuff in one go?  We can put FnFormat in a new issue, but is it still supported?  I couldn't find documentation.

FnFormat is a cfndsl construct only. AWS made FnSub, which obsoletes FnFormat and it should be deprecated. This doesn't mean ripping it out entirely, rather just issue a warning when the method is called that use of this method is discouraged in favor of something new, and its functionality is to be removed at a later time.

thanks for the clarification @kornypoet

@gergnz lets get the initial release in. I think there may be a discrepancy in the doco and need to validate expected vs actual behaviour.

@cmaxwellau Made a PR against your repo's branch.

@cmaxwellau Are you good with those adjustments so we can get this merged in?

Sorry for the away time @kornypoet @gergnz  I'm good with the adjustments

Quite excited to see this merged in and released with the next gem push.  :+1:

FnSub doesn't entirely supersede FnFormat.  For example,  array.push(y == '%' ? '%' : (hash[z] || hash[z.to_sym] || Ref(z))) allows for references to be resolved directly in the format string, which made a bit easier to read the code.
Would this be considered as an enhancement to the FnSub function in the future?

authors: cmaxwellau eric-tucker gergnz kornypoet razbomi

repo: stevenjack/cfndsl


text:
Make changes in gradle version to run on android

Changed version of buildToolsVersion, gradle, syntax etc to make the app run on android

Works great ! But actually I realize that the UI is very different from the iOS version. It works very badly. I will have to work on it.
Thank you for your contribution. I appreciate !

@all-contributors please add @anand9 for code

repo: stevenpersia/tinder-react-native


text:
Randomise Image Sizes?

Is it possible to show say, 20 images and then have their resolution and in turn their actual size, change randomly but with a maximum of 5 standard size, 10 low res and 5 thumbnail?

Hi,
I need help on this as well, it seems like it won't work from the above advice.
Please see the code below-
https://gist.github.com/anonymous/7f63ba27ea5b278f7936

@muddie20 Your example isn't going to work, because you are trying to set the width of an element that, at the time that function runs, won't yet be inserted into the dom.
Did you try the original example I had posted?

@syrcom Sorry, but you'll have to help me out and be more specific about what you're having issues with! What exactly have you tried, and what is not working?

@stevenschobert I tried your code as I was looking to show images in various sizes, however when using it, the images simply dont show up.

@jupiter01 Ah, that is my mistake. Make you have a return true at the end of the filter function. I've updated my original example.

Thanks for the quick response, images appeared, however seems {{random_size}} is returning null.

@jupiter01 Wow, I'm so sorry. I must have been low on sleep when I wrote that. Try {{model.random_size}} instead.

Works, thanks.


text:
Extension causes high cpu load

Issue Type: Performance
Extension Name: shader-toy
Extension Version: 0.10.3
OS Version: Windows_NT x64 10.0.18363
VSCode version: 1.44.2

:warning: Make sure to attach this file from your home-directory:
:warning:C:\Users\lenovo\stevensona.shader-toy-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

Is it possible for you to link your cpuprofile.txt file?

I tried to run a performance test myself and I didn't manage to get the extension to be unresponsive. So maybe you can also provide some context of what kind of shaders you were working with, how you were working and when the unresponsiveness happens.

@Itachi546 can you please explain why you closed this issue?

repo: stevensona/shader-toy


text:
无法安装，提示七牛phpsdk的主版本不存在

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1

stevenyangecho/laravel-u-editor v1.1.1 requires qiniu/php-sdk dev-master -> no matching package found.
stevenyangecho/laravel-u-editor v1.1.0 requires qiniu/php-sdk dev-master -> no matching package found.
Installation request for stevenyangecho/laravel-u-editor ~1.1 -> satisfiable by stevenyangecho/laravel-u-editor[v1.1.0, v1.1.1].

Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

七牛官方的 SDK 7.x版本 没有发布到 composer...
只有暂时 先 在 项目composer.json 里面 手动添加require
"qiniu/php-sdk": "dev-master"
试试

对了,项目里面 composer.json 这个最小安装是不是dev? 改成dev应该也可以的
"minimum-stability": "dev",

还是不行

一定需要依赖qiniu 7以上版本吗？能否改为6，不然无法安装

把你 composer.json 发过来看看呢,我这边测试ok的
必须是7.x版本的

因为我不想让"minimum-stability": "dev"，还是想用稳定版本的
修改了之后可以安装了。然后核心更新了一大堆。哈哈
谢谢您的分享。

Removing qiniu/php-sdk (v6.1.13)

Installing qiniu/php-sdk (dev-master f67af3f)
Downloading: connection...    Downloading: 0%
Downloading: 40%
Downloading: 75%
Downloading: 100%

Installing stevenyangecho/laravel-u-editor (v1.1.1)
Downloading: connection...    Downloading: 0%
Downloading: 5%
Downloading: 10%
Downloading: 15%
Downloading: 20%
Downloading: 25%
Downloading: 30%
Downloading: 35%
Downloading: 40%
Downloading: 45%
Downloading: 50%
Downloading: 55%
Downloading: 60%
Downloading: 65%
Downloading: 70%
Downloading: 75%
Downloading: 80%
Downloading: 85%
Downloading: 90%
Downloading: 95%
Downloading: 100%
Downloading: 100%

我已经提交 七牛官方了,请他发布 7.x 到composer,到时候我会第一时间更新 的~

authors: jinqibu stevenyangecho

repo: stevenyangecho/laravel-u-editor


text:
Rebuild index on deploy

I think this could be useful to have in the deploy file, what do you think?
EDIT: I had the wrong branch so I didn't see that this is already made, lol :joy:
I made this because I thought it might be useful to be able to rebuild the index on deploy. I think we also should have some more automated system to rebuild the index periodically. Like a cron job or something. I'm all ears on good systems for that.
I'm so far thinking using JITishCron (https://github.com/stianjensen/wikipendium.no/commit/095c51eca63cffb9562b0912a122d4bc49d0376b) to build the index periodically, like once every.... hour?

So this is not needed, then?

Like it says: I think it's a useful feature, so I'ld like some feedback.

We already rebuild the index every 15 minutes, so I don't think we need to prompt for this on each deploy, at least.
One idea could be to create it as a separate fab task (like the backup and restart tasks), so that we have a convenient way to force rebuild it if we need to.

One idea could be to create it as a separate fab task (like the backup and restart tasks), so that we have a convenient way to force rebuild it if we need to.

Ye, I like this idea. I'll do that.

authors: cristeahub stianjensen


text:
Possible Buffer Overflow

https://github.com/sticnarf/tokio-socks/blob/9fdcccc3da5693712c07fcfc5bb1212df0e3f989/src/tcp.rs#L337
if the username len is 256, and so is the password, then it seems our buf won't have enough space to write all the data and we'll possibly panic.
We should make the buffer larger, or return an err if username/password is too long.
another option would be to make the buf heap allocated and growable

validate_auth checks the length of the username and password. The buf size 513 is calculated according to the limitation.

you are totally correct!

authors: JeremyRubin sticnarf

repo: sticnarf/tokio-socks


text:
Original VideoStitch Software

Hello! I know this is a long shot, but thought I'd ask since it seems the Windows version of this isn't ready yet.
A few years back I purchased a license for VideoStitch Studio V2.  Earlier this year I had to reformat my harddrive, and when I went to reinstall the software the license no longer validated and that's when I learned the company had gone under.
Does anyone know of a way to get my validation code working again? (I still have the original purchase email if needed for verification purposes)
I just shot a 360 interview a few days ago, and if I can get this working again, it will save me a TON of time.

The server that is validating the licenses is no longer running, so software can no longer be registered. You would need to find a backup of your home folder from a time where you had VideoStitch Studio installed and registered, and copy the "videostitch.lic" file over to your current installation to restore the software.
(cc @clairevdv please correct me if I'm wrong)

That’s correct 😊

Dang... Wish I would have known that a year ago. lol
I'm searching my backups, but I'm pretty sure I don't have that file.

Good news and Bad news:
Good:  I FOUND THE FILE!!
Bad:  VideoStitch says "Invalid License Found.  Do you want to activate your product?"
I opened the .Lic file and everything looks accurate.  Version is set to "2.*", my email and name are both correct.  My only guess is the Machine ID is wrong (since I did a full re-install of windows?)
"machine_id" : "H+Ab8E+YnpycogDjW1tbW1s=\n",

Hi,
Indeed the license file will not work on another PC and a new Windows build is considered as a new PC.
Unfortunately, we haven’t yet compiled the source code without the license system. We plan to do so but have no deadline set.

Damn... Well there's $500+ down the drain.
Not sure what I'm gonna use for this project instead...

Dang that sucks! :(
I don't have any suggestions for your current project. We've made progress over the weekend with the Windows build, please have a look at #16 for announcements on the Windows version from time to time. Hopefully it'll be ready for your next project!

The windows version can now be downloaded here: https://github.com/stitchEm/stitchEm/releases/latest

authors: KaptainKCG clairevdv w-m

repo: stitchEm/stitchEm


text:
Add invertrx and inverttx to serial::config::Config

This allows the USART's to be used with serial devices that have inverted logic levels. I also added an example just for a proof of concept. I have tested the example with a NUCLEO-H723ZG board and have successfully used invertrx to receive an sbus serial signal from a Frysky RX4R RC receiver.

Could you run rustfmt just to make the formatting consistent with the rest of the project? You can follow the Quick Start section on the rustfmt page

rustfmt cleanup done. Let me know if there is anything else.

Perfect, thanks again for the PR!
bors r+

No problem. Thanks for maintaining this package.

authors: dsmcfarl richardeoin


text:
create ManagedClusterAddOn and ManagedServiceAccount per RegisteredCluster

Create the ManagedClusterAddOn and ManagedServiceAccount per RegisteredCluster.
Also separates out the scheme for the AppStudio cluster and the MCE cluster.
https://issues.redhat.com/browse/CMCS-56
https://issues.redhat.com/browse/CMCS-57

Looks good
/lgtm

authors: leena-jawale robinbobbitt


text:
Set InfrastructureCustomNamespace on new MCE if AI configured

Issue: https://github.com/stolostron/backlog/issues/21016
Signed-off-by: Jakob Gray 20209054+JakobGray@users.noreply.github.com

/lgtm

authors: JakobGray ray-harris

repo: stolostron/multiclusterhub-operator


text:
How to change where to store the data

Idle is this is a bug or I am doing something wrong, but I used the docker compose to deploy it and I just edited the volume :
version: '3.8'
services:
pingvin-share:
image: stonith404/pingvin-share
restart: unless-stopped
ports:
- 3000:3000
volumes:
- "./root/vv/filehost:/opt/app/backend/data"
- "./root/vv/filehost/images:/opt/app/frontend/public/img"
I think the path for the uploaded files should be now ./root/vv/filehost but for some reason it's still on ./data any help?
note:  i am using rclone to mount my onedrive to ./root/vv/filehost but that make no difference because the goal from rclone is to make the cloud storage as a local drive and its working as local applications i use but its not working with pingvin-share

There shouldn't be a file size limit. Do you get any errors?

Closing this because there was no response. Feel free to reopen it, if the issue still occurs.

I will perhaps re-word or add to the question. Is it possible to have the (../data)/uploads directory be located as a separate volume? Meaning currently my /data and /data/uploads are a part of the same volume in my docker container. I would like the ability to have the container/docker data stored in /data but have the uploads directory be on a separate disc.
For context: I have a dedicated ssd for all of my dockers' configuration, image(s), and databases, however my bulk storage is on a separate physical disc.

@adamzvolanek Okay I see. This should be possible by changing the volumes like this:
volumes:
      - "/your-ssd/pingvin-share/pingvin-share.db:/opt/app/backend/data/pingvin-share.db" # make sure to create the file before starting the container
      - "/your-ssd/pingvin-share/images:/opt/app/frontend/public/img"
      - "/external-ssd/pingvin-share-uploads:/opt/app/backend/data/uploads"

volumes:
      - "/your-ssd/pingvin-share/pingvin-share.db:/opt/app/backend/data/pingvin-share.db" # make sure to create the file before starting the container
      - "/your-ssd/pingvin-share/images:/opt/app/frontend/public/img"
      - "/external-ssd/pingvin-share-uploads:/opt/app/backend/data/uploads"

When you mention to create the file before starting the container, can it be as simple as touch /your-ssd/pingvin-share/pingvin-share.db? What permissions?
I was hoping to be able to deploy the pingvin-share straight from docker-compose to full-use without additional file modifications but maintain the upload directory to be separate from the server's primary share location for security reasons.

@adamzvolanek Yeah exactly touch /your-ssd/pingvin-share/pingvin-share.db should be sufficient. I'm not really sure about the permissions but I would try to create the file with the same user as you run the docker commands.

authors: adamzvolanek stonith404 xzakier


text:
🛑 Website is down

In 0a12b97, Website (https://www.storest.io/index.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 740c2b1.

repo: storestpos/uptime


text:
🛑 Website is down

In 66bce59, Website (https://www.storest.io/index.html) was down:

HTTP code: 525
Response time: 139 ms

Resolved: Website is back up in 21727bd.


text:
Scope factory and client_credentials

Integrates new Node SDK client_credentials authenticator and adds support for scope factories.
Depends on https://github.com/stormpath/stormpath-sdk-node/pull/575 PR in the Node SDK and will not work without it. This PR allows the OAuthAuthenticator class to proxy the scope factory and signing key between the Express app and the concrete authenticator instances.
The scope factory is set as a property in the config (config.web.scopeFactory), and will be used if defined there. The client secret will be used automatically, and no configuration is required.
It adds support for sending the client id and secret as parameters, but remains backwards-compatible with sending them via the Authorization header.
Note: There still seems to be some sort of an issue with the code, which I am trying to resolve. When using client_credentials in the test, it will sometimes fail unless it is awaited for a short time between creating the api keys and using them. Still not sure why this is happening, but am looking into it. Could always use a second pair of eyes. At the moment, I'm trying to solve it in a hacky way, using a setTimeout.
Fixes #535

The guys who worked on the Ruby and Rails SDKs tell me that this has been known to happen - elastic search syncing or something like that. Don't know if that's a problem. I do assume that it's extremely unlikely that the exact conditions from the test will be replicated, though - even delaying with something as simple as a console.log will make the error not appear, and I doubt someone is creating and using the client credentials in the same breath in any real-world application. Maybe we don't have a problem there after all.

repo: stormpath/express-stormpath


text:
CHANGE jest addon

merge in https://github.com/storybooks/storybook-addon-jest/pull/12
I will also archive the old addon-jest repo

We likely want to update the example in the monorepo to validate this feature works.

@DanYellow if you could possibly add a usage or test for this? Would love to get this one merged, hoping on your help.

I'll send you a collaborator invite, so you can push directly on this branch

Hi @ndelangen,
Sorry for the delay but what I have to do exactly ?

@DanYellow If you could verify if the changes in this PR are correct, they should fix the actual problem you had.
If you have an idea how we could test is, that'd be a great help too!

@ndelangen Can you rebase on master?

Do you need to change documentation?

authors: DanYellow ndelangen pksunkara

repo: storybooks/storybook


text:
Keyboard input doesn't work well with non-US keyboard layouts

For example, if you write a game to use WASD and have a French keyboard layout, the input should accept ZQSD.

I've had a look through all the Kontra keyboard, and pull-request-ed-keyboard-code and... I think I disagree with all of it :laughing:
It'd be much better size-wise to use separate functions, with KeyboardEvent.key for layout-specific key presses (e.g. keyPressed()), and KeyboardEvent.code for layout-independant key presses (e.g.keyCodePressed()), so that the person using Kontra can decide whichever they want to take up valuable bytes. Aaaaand dropping KeyboardEvent.which and the keyMap entirely.
I believe for Edge and IE support, .includes() or .indexOf() could be used to check for the weirdnesses in the names of keys in those browsers, for KeyboardEvent.keys, e.g. because 'ArrowUp' is just 'Up' in Edge.
If there's interested I might make an alternate version like I've described?

It'd be much better size-wise to use separate functions, …

I’m a bit unclear on what’s being separated out. The PR fixes issues with non-US keyboard layouts by using layout-independent .code, and falls back to .which for compatibility with Edge. This fixes the immediate problem without forcing breaking API changes on downstream users.
I agree that long-term you would probably want to just use .code for WASD-style controls, and you can ditch keyMap—this might save some bytes, but is also a breaking API change. If you just wait a little while, the Edge compatibility problem will solve itself as Edge will be yet another flavor of Chrome.
I would be concerned that keyCodePressed and keyPressed is a bit of a footgun. Maybe keyCharPressed and keyCodePressed? With warnings that you don’t want to use both at the same time, because if you use both, you might bind different actions to the same key unintentionally.

And just as a caveat—using .key is a bit of trouble, because you will get events like this:
keydown key='a'
keydown key='Shift'
keyup key='A'

You can solve this with .toLowerCase() but what about punctuation like '.' / '>'? Using .key for games can turn into a bit of a mess if you want to handle things like modifiers.

Yep, having both .key and .code available is a bit precarious, but I think people could understand the choice. The breaking-change point is a good one - I'd lean towards doing it sooner rather than later though, and from what I saw, there were literally dozens of us anti-KeyboardEvent.which folk participating in Js13k this year.
The bonus to splitting them is that Edge and/or IE support are easier with .key (without having to use a keymap for Edge) - and in some cases it might be the preferred property. E.g. in my Js13k game, I used .key because it ended up saving bytes over .code, and I didn't have any scary overlaps. Or e.g. in RTS games the modifiers can be really useful for things like shift+1 for unit selection, and it's (sometimes) easier to use .key for those.

I think it might make sense for the .key version to be callback-only, since it’s somewhat complicated to detect 'keyup'. This might make things clearer for users too.

I'd prefer a single method of entry for keyboard input to make it both simpler and layout independent. Multiple functions that practically do the same thing would only cause confusion. I'd also prefer to not exclude modern browser(s) just to save a few bytes. If we're concerned with the size increase, I'm sure we could figure out a smaller size way of handling the fallback support.
I'm also OK with a breaking change to handle .code, but I wouldn't merge it for a bit until I have other breaking changes ready as well (#105, removing collision from the sprite class and making it it's own set of functions, and some other things possibly).

I'll make a note of the size issue for v7 and see if by the time i get to it Edge has updated with chromium engine.

authors: burntcustard depp straker

repo: straker/kontra


text:
Update directory lookup variables in TestDataLocations.cs

replace the \ with {dirChar} and use Path.DirectorySeparatorChar to set the correct separator for each OS

Why did you close this?

Thought the fixes were merged

repo: stratisproject/NStratis


text:
[Mempool] Add logging in mempool behavior

I think there is likely an opportunity to add some trace logging to the mempool behavior node message processing. This would allow for troubleshooting the messaging between the mempool and the node.

Yeah sounds like a good idea.

@Aprogiena @mikedennis any of you doing this?

I'm working on POS, so not me.

This sort of task would require no one else working on mempool, otherwise it would be a mess. I'm very much interested in putting more logs everywhere where they are not present yet. Currently, I'm a bit overwhelmed, however.

Fixed and merged into master.

authors: Aprogiena bokobza dangershony mikedennis

repo: stratisproject/StratisBitcoinFullNode


text:
(Fix) : fixed image responsiveness

Signed-off-by: Abhijay Jain Abhijay007j@gmail.com
Fixes: #146
Fixed image responsiveness throughout the site for different SVGs by defining universal styles in index.styl

cc : @pavlenex


text:
Infinite recursion prevention: Make fields private when coming from m2m table

I have a m2m through tablee that stores extra information to subscription. Here's a basic example:
@strawberry_django.type(Projeect)
class Project:
  name: auto
  members: List[User]

@strawberry_django.type(User)
class User:
  username: auto

# this is the intermediate m2m through table
@strawberry_django.type(Project_Membership)
class Project_Membership:
  project: 'Project'
  user: 'User'
  additional_field_1: auto
  additional_field_2: auto
  is_admin: auto
  can_edit: auto

Now if I want to list all projects of user X with the respective membership information I'd query like this:
{
  myProjectMemberships {
      canEdit
      isAdmin
      project {
        name
      }
      # here's the problem: the user field is still exposed which could be used maliciously.
      # so the question is if this field can be turned private on conditional cases or
      # would I have to create a new type for this scenario?
      user {
        projectMemberships {
          user {
            projects {
              name
            }
          }
        }
      }
    }
  }
}

Recursion is the generic problem in Strawberry. @patrick91, does Strawberry core provide solution for that?

@la4de not at the moment, but we should :) Just made a ticket here: https://github.com/strawberry-graphql/strawberry/issues/960

Excellent. Let's continue discussion under that ticket. Thank you @2malh and @patrick91.


text:
Subscriptions

This PR are improvements related to subscriptions/webhooks to ensure compatibility with the models.
It's initial small fixes in preparation for further subscription support in a field-fashion and some doc improvements.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c7f4643) 87.27% compared to head (afb5050) 87.27%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage   87.27%   87.27%
=======================================
  Files          37       37
  Lines        3119     3119
=======================================
  Hits         2722     2722
  Misses        397      397

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

There's something strange in here... The diff is empty =P

There's something strange in here... The diff is empty =P

lol. Strange.
I'll close it for now then. Perhaps the edits snuk into another PR by accident.


text:
Edit Info Doesn't Save

Issue description
When attempting to edit a movie's or TV show's description the webpage does nothing when the save button is pressed
Steps to Reproduce

Go to a piece of content
Attempt to edit the content
Hit the save button

Expected Behaviour
The application should save the content that I have edited
Actual Behaviour
'Failed to load resource: the server responded with a status of 406'
Environment Information

Operating System (Server): Ubuntu Server 17.10
Operating System (Client): Chrome, MacOS / Windows
Streama Version: 1.5.0
NGINX Version: 1.12.1

Example Application / access to your live version
Live version access is possible upon request, addresses have been removed from the json and replaced with '192.168.1.11'
JSON File

should be fixed in 1.6.0-RC5 thanks to @mcchan1991

repo: streamaserver/streama


text:
🛑 Central Telefonica Streamlined is down

In 17c9388, Central Telefonica Streamlined (https://freepbx.streamlined-scs.cl/admin/config.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Central Telefonica Streamlined is back up in b16c952.

repo: streamlined-scs/upptime


text:
Add tutorial to connect to neon

📚 Context
This PR adds a tutorial in the database section on connecting to Neon databases. I work on technical content for Neon.
🧠 Description of Changes
Added a tutorial document and link to it from the databases page/sidebar.

content/develop/tutorials/databases/_index.md
content/develop/tutorials/databases/neon.md
content/menu.md

💥 Impact
Databases subsection in tutorials
Size:

[x] Small

🌐 References

Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Hi @ananis25 and @raoufchebri. I'll be taking a look at this. I've planned it for my current sprint and should be able to look at it this week, but since I'm new to neon I'm not 100% sure how much time it will take me to validate the tutorial before I get into it. If there are any issues, I'll comment on the PR, or just make the edits to commit it if they are minor.

I matched the tutorial to a newer tutorial template. I'll give it a final proofread to check that I didn't introduce typos and commit it on Monday. :) Thanks for the contribution!

Thank you @sfc-gh-dmatthews !

repo: streamlit/docs


text:
Add entry formatter to do conversions between MemoryRecords and ByteBuf

Currently, KoP has some significant performance overhead in the conversion between Kafka's records and Pulsar's messages. For pure Kafka users, i.e. no Pulsar client is involved, the conversion is unnecessary.
So this PR provides a config entry.format to specify if the entry's format can be accepted by Pulsar clients. And a EntryFormatter is used to do the format conversion instead of static methods of MessageRecordUtils.
In future, we'll implement a new EntryFormatter to avoid this conversion so that the performance can be improved a lot. After that, users can choose whether to support Pulsar clients for KoP.

Since this PR already includes a lot of changes and the existed tests need refactors as well to apply the new config, I'll open a new PR for the KafkaEntryFormatter.

repo: streamnative/kop


text:
ISSUE-425: Install Pulsar-manager on kubernetes cluster

Original Issue: apache/pulsar-manager#425

Iam wanna to use pulsar-manager for GUI management, monitoring tool and following this https://pulsar.apache.org/docs/en/administration-pulsar-manager/. In this on step ( Set administrator account and password ) , when i ran -> curl -H 'X-XSRF-TOKEN: $CSRF_TOKEN' -H 'Cookie: XSRF-TOKEN=$CSRF_TOKEN;' -H "Content-Type: application/json" -X PUT http://localhost:7750/pulsar-manager/users/superuser -d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "username@test.org"}'      this cmd it throws error with below
curl: (6) Could not resolve host: $CSRF_TOKEN'
curl: (6) Could not resolve host: XSRF-TOKEN=$CSRF_TOKEN;'
{"timestamp":"2021-10-12T03:27:07.419+0000","status":403,"error":"Forbidden","message":"Forbidden","path":"/pulsar-manager/users/superuser"}curl: (6) Could not resolve host: admin,
curl: (6) Could not resolve host: password
curl: (6) Could not resolve host: apachepulsar,
curl: (6) Could not resolve host: description
curl: (6) Could not resolve host: test,
curl: (6) Could not resolve host: email
curl: (3) [globbing] unmatched close brace/bracket in column 18
Can anyone help on this .

Is there any resolution for this? I am trying to use the Pulsar Manager for our training course, but cannot if I am unable to set the username/password to authenticate and (pulsar/pulsar) doesn't work.

authors: david-streamlio sijie

repo: streamnative/pulsar-manager


text:
Password synchronization delay

Hi
We use kafkaaccess with scran-sh-512 kafkausers. The first time a crd is added for a project the secret is created in this project.
When the kafkauser password changes in kafka, kafakaccess does not change the password of the secret created in the project for a few hours. To test it : in my kafka project I delete the secret my kafka entity operator create a new one.
For the project with a kafkaaccess crd : If I delete the secret in this project kafkaaccess recreate it with the new value. But if I do nothing I have to wait for approx 10 hours before the secret is updated.
In the logs I've see : 2023-01-23 10:44:09 DEBUG EventProcessor:284 - ReScheduling event for resource: ResourceID{name='connexion-kafka', namespace='-----} with delay: 36000000
Maybe it is this long delay who cause this.
What we need : When the kafkauser secret change the secret assosiate with the crd should change too in a small delay.
Thanks

Hi @Sly555, I've managed to replicate the issue and found the cause, we are missing an event source for the secrets managed by the Strimzi User Operator. I'm working on a fix and will hopefully get a pull request raised and merged soon.

repo: strimzi/kafka-access-operator


text:
stripe-ruby-mock doesn't allow Plan.amount to be nil

The stripe api says Plan.amount should be positive integer or zero (https://stripe.com/docs/api/plans/object#plan_object-amount) - yet for Plans with pricing tiers that field is null (or nil).
stripe-ruby-mock currently has a number of checks to ensure that Plan.amount is a positive integer field, which breaks tests using Plans with pricing tiers.

looks like the plan validation was added here: https://github.com/stripe-ruby-mock/stripe-ruby-mock/commit/081f6103cf8469f0fbf1ca963e04226492590dee

repo: stripe-ruby-mock/stripe-ruby-mock


text:
Update sbt to 1.3.9

Updates org.scala-sbt:sbt from 1.3.7 to 1.3.9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Codecov Report

Merging #69 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   82.58%   82.58%
=======================================
  Files          13       13
  Lines         379      379
  Branches       12       12
=======================================
  Hits          313      313
  Misses         66       66

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 13cf358...cae1d0a. Read the comment docs.

authors: codecov-io scala-steward

repo: stripe/dagon


text:
fix typespec for elements group

Summary & motivation

Testing & documentation

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

Keep

@pololi-stripe @cweiss-stripe @jackieosborn-stripe hey folks, is there any opportunity to reopen this PR and give a proper code review?

authors: CLAassistant yordis

repo: stripe/stripe-js


text:
android.nfc.NfcAdapter.isEnabled() - null object reference

Describe the bug
We use bugsnag for crashlytics and error reporting.
Have seen a handful of instances of this error:

We are currently on:
"@stripe/stripe-react-native": "0.22.0",
Here is a stack trace of the error:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.nfc.NfcAdapter.isEnabled()' on a null object reference
        at com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy.isNFCEnabled(PushProvisioningProxy.kt:36)
        at com.reactnativestripesdk.StripeSdkModule.canAddCardToWallet(StripeSdkModule.kt:680)
        at java.lang.reflect.Method.invoke(Method.java:-2)
        at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
        at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
        at com.facebook.jni.NativeRunnable.run(NativeRunnable.java:-2)
        at android.os.Handler.handleCallback(Handler.java:942)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
        at android.os.Looper.loopOnce(Looper.java:240)
        at android.os.Looper.loop(Looper.java:351)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
        at java.lang.Thread.run(Thread.java:1012)

To Reproduce
Steps to reproduce the behavior:
I have not successfully recreated the error and am not fully certain how it is presenting, other than following a call to canAddCardToWallet on a handful of android devices.
Expected behavior
I am uneducated on android fundamentals. I don't pretend to know anything, but I am guessing that this is crashing instead of presenting a null for some reason, as is suggested in the documentation.
Smartphone (please complete the following information):

Device List:

OS: Android
Version: Primarily Android 13, but impacted versions reported:
I would place very little weight on 7 and 9, but that's the list

Additional context
Happy to trial a new version if that is recommended. I see there are several notes regarding canAddCardToWallet in the changelog. But still felt this warranted raising an issue. If you need more information, I am actively working on gathering it and will hopefully update with specific reproduction steps.

hey @calebmackdavenport , got a fix incoming for this, thanks for the report!

published in 0.25.0 👍

authors: calebmackdavenport charliecruzan-stripe

repo: stripe/stripe-react-native


text:
[iOS] collectPaymentMethod throws unexpected error and gets stuck from proceeding

Describe the bug
V0.0.1-beta.18 is crashing when collecting payment on an M2 card reader with the error below
[I] <MMKV.cpp:1179::sync> MMKV::sync, SyncFlag = 1
stripe_terminal_react_native/Mappers.swift:647: Fatal error: Unexpectedly found nil while unwrapping an Optional value

To Reproduce
Steps to reproduce the behavior:

Call collectPaymentMethod with the following params {"paymentIntent":{"sdkUuid":"2CD3EF5A-231F-4DFC-8685-4E65F39EFAF8","status":"requiresPaymentMethod","created":"1715808917000","currency":"usd","captureMethod":"manual","paymentMethodId":null,"statementDescriptor":null,"statementDescriptorSuffix":"Asher S","paymentMethod":null,"amountTip":0,"id":"pi_3PGpTlBc6uwoDriN1iqTOhV0","metadata":{"transaction_uuid":"2f56eb0c-7f94-40ce-972f-4d061f4280da","chargeable_type":"Appointment","charge_guid":"2a116dfce6","chargeable_id":"10980610","client_id":"3633713","transaction_designation":"payment","organization":"Standard","user_email":"asher_test@glossgenius.com","transaction_payment_type":"payment_card_terminal","application_fee":"140","user_id":"55091"},"charges":[],"amount":5400,"amountDetails":{"tip":{"amount":null}},"offlineDetails":null},"updatePaymentIntent":true}
Tap the card on the M2 card reader
See error

Expected behavior
The collectPaymentMethod should return will result that is either a paymentIntent or error
Screenshots
If applicable, add screenshots to help explain your problem.
Stripe Terminal React Native SDK version
^0.0.1-beta.18
Smartphone (please complete the following information):

Device: iPhone 15 Pro
OS: 17.4.1

Additional context
Add any other context about the problem here.

This seems to be a bug with how we are doing mapping for PaymentIntents, fixing in this PR: https://github.com/stripe/stripe-terminal-react-native/pull/698

@nazli-stripe is there a timeline to release the fixes?

we are aiming for early June

hey @asher5 we just release beta.19. Can you upgrade and let us know if it fixes the issue? Thanks!

repo: stripe/stripe-terminal-react-native


text:
new protoc image with latest dependencies using protoc 3.14.0

(already pushed to ghcr)

@bobaaaaa wants to pump some node dependencies before we use this for generating code

Why can't we merge this?
Cant we bump versions in another PR?

authors: harryurban moritzzimmer

repo: stroeer/tapir


text:
Issue-1300: CronTaskConfigurationDto should base on java.util.UUID not on java.lang.String

Fixes #1300.
Tasks

[x] Change the CronTaskConfigurationDto#uuid type from 'String' to 'UUID', and all affected classes.
[x] Dispatching of cron events use the cron task UUID instead of its name.

Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[x] The tests in the strongbox-web-integration-tests still run properly.

@carlspring: This is ready for review.

Hi, Pablo!
Thanks! LGTM!
I will merge it, as soon, as we've resolved the current issues with the master.

Thanks, Pablo! :)

authors: carlspring ptirador

repo: strongbox/strongbox


text:
Huge TLSWrap objects in heapdump snapshots

I'm running a node.js express application on production. After a few hours of running, in a heap snapshot I can see that there are more than 10 huge TLSWrap objects per worker (these are the largest objects in the application).
Some Technical Aspects

I'm running forever with the cluster module (2 workers).
The application runs inside an AWS EC2 large instance.
Most of the tasks per request are getting data from redis and sending some requests (events) to another server.
Normal memory usage: ~450MB, after a few hours suddenly: 3.5GB (then there is too much latency and my load balancer removes this machine). See Memory usage graph:

Normal CPU usage: 16%, during the memory leak: 99%.

What I've Tried Already

Code refactoring with memory leaks problems in mind (closures, big objects and minimal string concatenation.
Upgrading node all the way from v0.12.7, v4.1.1, v4.1.2 and v4.2.0.

Some Interesting Insights

The growth of memory usage is not linear, but exponential and happend suddenly and very fast.
I have both permanent instances and also auto-scaling instances (same type) and this memory leak occurs at the same time on all machines.
Traffic (# requests) is not higher than usual during the memory leak.
I've read that sometimes these problems can be the result of continuing the application running after uncaughtException, but my uncaughtException handler just logs the error and then immediately calls process.exit() - Isn't that the same as when node crashes and the forever automatically restarts it?
I have another application that's:

Running from the same AWS EC2 AMI.
Has larger number of requests per second.
Has the uncaughtException handler (with process.exit()), too.
But no memory leaks at all!

Any ideas?
Thanks,

Interesting, though unfortunately this is probably beyond Express. TLSWrap objects are from Node.js core and to use them, you are probably using a Node.js core HTTPS server. You may want to post this over at the Node.js core issue tracker to get quick help, especially since this could be a leak in C++ land.

Hi,
I'm not using an HTTPS server, but I'm using a Redis client on these machines which I believe the connection with them is secure.
Actually I've checked my Redis client logs and seen lots of reconnecting attempts, so it's a problem with the node-redis library or with the Redis server itself.
Thanks anyway!

Hi,
I'm not using an HTTPS server, but I'm using a Redis client on these machines which I believe the connection with them is secure.
Actually I've checked my Redis client logs and seen lots of reconnecting attempts, so it's a problem with the node-redis library or with the Redis server itself.
Thanks anyway!

Ah, good to know! Sorry I wasn't able to provide any real guidance up front, but it looks like you're working it out :)

authors: dougwilson eli-zehavi

repo: strongloop/express


text:
Demo Site Seed Reduction

What does this PR do?
Responding to Issue #1198 , This PR will reduce the Seed generations in half!
This PR also displays the need to resolve the conflict between accepted pr #1178 and the raise check for an empty DB in seeds.rb on line 14:
raise "empty yer db" if School.count > 0 ||
                        Student.count > 0 ||
                        InterventionType.count > 0 ||
                        Assessment.count > 0

Change Details:
Research:
I started by researching the error, and came upon a post to review the database directly in psql, to find out the tables that are creating the largest rows. Upon DB migrate, the development database was showing the following info:
student_insights_development=# SELECT schemaname,relname,n_live_tup
FROM pg_stat_user_tables
ORDER BY n_live_tup DESC;
 schemaname |           relname            | n_live_tup
------------+------------------------------+------------
 public     | schema_migrations            |        117
 public     | service_types                |         13
 public     | event_note_types             |          6
 public     | assessments                  |          2
 public     | ar_internal_metadata         |          1
 public     | courses                      |          0
 public     | homerooms                    |          0
 public     | interventions                |          0
 public     | event_note_attachments       |          0
 public     | students                     |          0
 public     | intervention_types           |          0

a total of 31 tables, and 139 records.
After investigating this, I went on to better understand the seed file, and run it, but came upon the aforementioned error, due to the 2 Assessments already seeded in the DB from the last migration.
To move forward, I commented out this evaluation happening, and proceeded to seed the database successfully. Upon a fresh seed, the database was showing the following info:
 schemaname |           relname            | n_live_tup
------------+------------------------------+------------
 public     | student_assessments          |      11633
 public     | tardies                      |       1033
 public     | absences                     |       1008
 public     | event_notes                  |        596
 public     | students                     |        135
 public     | student_risk_levels          |        135
 public     | interventions                |        128
 public     | schema_migrations            |        117
 public     | student_section_assignments  |         60
 public     | services                     |         55
 public     | discipline_incidents         |         54
 public     | intervention_types           |         26
 public     | assessments                  |         15
 public     | service_types                |         13
 public     | schools                      |         10
 public     | educators                    |          6
 public     | event_note_types             |          6
 public     | homerooms                    |          5
 public     | sections                     |          4
 public     | service_uploads              |          4
 public     | precomputed_query_docs       |          4
 public     | educator_section_assignments |          4
 public     | courses                      |          2
 public     | iep_documents                |          1
 public     | ar_internal_metadata         |          1
 public     | friendly_id_slugs            |          0
 public     | event_note_revisions         |          0
 public     | event_note_attachments       |          0
 public     | import_records               |          0
 public     | delayed_jobs                 |          0
 public     | discontinued_services        |          0
(31 rows) (15055 records)

Approach:
My immediate reaction was to investigate reducing the school_assessments and to figure out how there were 10 schools, when there were only 3 being referenced in seeds.rb.
I found that schools were being created in the School model with seed_somerville_schools method.
From there, I did a search for where the schools were being referred elsewhere, and chose 3 schools that seemed safe to remove.
That database returned the following:
 schemaname |           relname            | n_live_tup
------------+------------------------------+------------
 public     | student_assessments          |      11456
 public     | absences                     |       1058
 public     | tardies                      |       1057
 public     | event_notes                  |        603
 public     | student_risk_levels          |        135
 public     | students                     |        135
 public     | schema_migrations            |        117
 public     | interventions                |        106
 public     | services                     |         86
 public     | student_section_assignments  |         60
 public     | discipline_incidents         |         46
 public     | intervention_types           |         26
 public     | assessments                  |         15
 public     | service_types                |         13
 public     | schools                      |          7
 public     | event_note_types             |          6
 public     | educators                    |          6
 public     | homerooms                    |          5
 public     | precomputed_query_docs       |          4
 public     | service_uploads              |          4
 public     | educator_section_assignments |          4
 public     | sections                     |          4
 public     | courses                      |          2
 public     | iep_documents                |          1
 public     | ar_internal_metadata         |          1
 public     | event_note_attachments       |          0
 public     | friendly_id_slugs            |          0
 public     | import_records               |          0
 public     | delayed_jobs                 |          0
 public     | discontinued_services        |          0
 public     | event_note_revisions         |          0
(31 rows) (14957 records)

Only a 95 record difference 😞 .
I noticed the longest time spent while seeding was on creating students per section and homeroom, so I removed a few homerooms and sections, then reduced the student generating loops to 10.times from 15, which resulted in the following:
 schemaname |           relname            | n_live_tup
------------+------------------------------+------------
 public     | student_assessments          |       5994
 public     | absences                     |        517
 public     | tardies                      |        484
 public     | event_notes                  |        288
 public     | schema_migrations            |        117
 public     | students                     |         70
 public     | student_risk_levels          |         70
 public     | discipline_incidents         |         50
 public     | student_section_assignments  |         40
 public     | services                     |         32
 public     | interventions                |         32
 public     | intervention_types           |         26
 public     | assessments                  |         15
 public     | service_types                |         13
 public     | schools                      |          7
 public     | event_note_types             |          6
 public     | educators                    |          6
 public     | service_uploads              |          4
 public     | sections                     |          4
 public     | precomputed_query_docs       |          4
 public     | educator_section_assignments |          4
 public     | homerooms                    |          3
 public     | courses                      |          2
 public     | iep_documents                |          1
 public     | ar_internal_metadata         |          1
 public     | delayed_jobs                 |          0
 public     | import_records               |          0
 public     | friendly_id_slugs            |          0
 public     | event_note_revisions         |          0
 public     | discontinued_services        |          0
 public     | event_note_attachments       |          0
(31 rows) ( 7790 records)

🎉
Things To Consider for Merge:

I removed 3 and 4th grade homerooms, kept sections because they seemed unique, and didn't get into the area where assessments are being created, but the resulting total was reduced quite a bit from the reduction of students.
I commented out the DB check in order to do this, and I'd like to confirm whether that should stay that way or not.
The seed file was a bit difficult to understand, and things are being generated outside the seeds file, which seems like it could be causing extra generation being done but not easy to track.
are 10 students in a group enough for demoing? I hope so!

@KaraAJC Thanks, this seems great!  Having 10 students for demoing is fine.  We'd want more data everywhere for local development overall (to more closely approximate the production setup), but the particular issue here is to reduce the total records to keep the demo site under the Heroku cap.
I didn't follow your comment about "things are being generated outside the seeds file, which seems like it could be causing extra generation being done but not easy to track," was that about the call to School.seed_somerville_schools?

I didn't follow your comment about "things are being generated outside the seeds file, which seems like it could be causing extra generation being done but not easy to track," was that about the call to School.seed_somerville_schools?

Yes, I noticed the schools were being generated in the Schools model, not in seeds file. That's the only one I reviewed, but I'm thinking that another check regarding student assessments could reduce the records as well.
As a new person to review the files, I just wanted to note that I found that confusing.

@KaraAJC Yeah, that's great for sharing about what's confusing!  If you have suggestions for improving that'd be great.  I'm not sure why those seed methods are in the model classes and I can see why that'd be surprising.

@KaraAJC awesome work! 👍 🌮 🎃
This is ready to ship, but it's late on the east coast so I'll do this tomorrow or @alexsoble might beat me to it.

🚢🚢😊😊

@KaraAJC @kevinrobinson Pushed to the demo site and rebuilt the demo site! Check it out at https://somerville-teacher-tool-demo.herokuapp.com/. Thanks for your great work on this @KaraAJC!

authors: KaraAJC alexsoble kevinrobinson

repo: studentinsights/studentinsights


text:
Responsive Dashboard Styles

Who is this PR for?
Dashboard users
What problem does this PR fix?
There are reports the dashboard doesn't fit well in all screen resolutions.
What does this PR do?
Gives the dashboard more responsive styles

Checklists
Javascript QA

[x] Author checked latest in IE - Absence Dashboard
[x] Author checked latest in IE - Tardies Dashboard
[ ] Reviewer checked latest in IE - Absence Dashboard
[ ] Reviewer checked latest in IE - Tardies Dashboard

@kevinrobinson I'm hoping this will address some of the screen resolution issues you saw earlier. Even if something else needs to be done there, this at least improves the layout so users don't have to scroll to see all the information.

@edavidsonsawyer This looks good to me!  I think that the actual issue at one of the K8 schools is that the project is only 800x600 resolution.  There's a min-width style on the body tag that applies to everything, so if that's the case then we'd have to change it there.  I was going to confirm this yesterday but it was a ❄ day :)
This looks good to be on 1024x768, which is what most other pages are built for, so I'd say let's :ship this improvement!

authors: edavidsonsawyer kevinrobinson


text:
Move reload php fpm to before scripts

Consider moving the php FPM reload to before the php scripts run, in theory the scripts would still be running with the previous opcache state which could lead to some funky behavior, clearing the opcache first should ensure that any commands are running the new code.
Forge appears to have made this change in their default deployment script already.

Perfect, makes sense. Thanks!

authors: DanielDarrenJones robdekort


text:
Question

Is there a way to enable a page that displays the name of the file and a download button instead of directly hotlinking the file? This would be a nice feature!

Yes this would definitely be quite nice.
I am currently a bit busy. But contributions are very welcome :)
This is also a duplicate of #16. Hence i will close this issue.


text:
🛑 Panel is down

In 77269dc, Panel (https://portal.xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Panel is back up in 0171aad after 6 minutes.

repo: stxrlite/xoro-updates