How can I properly configure cloud sync?

Question or Assistance Request

[x] I have reviewed existing issues and discussions to find a solution to my question.
[x] I have checked the documentation and relevant resources for answers.
[x] This question is related to the project and within the scope of this repository.

Description
Hello! I have successfully configured the Dropbox integration (the auth token has been generated, and I have registered the application). I am using the Dropbox:/Apps/Beaver Pocket folder to store the notes, but even so, I cannot sync the notes between my computer and my phone.
Environment (if applicable)

Operating System: Android 15 (phone) / Ubuntu 24.10 (desktop)

Expected Result
Notes created in Beaver desktop should be imported into Beaver notes
Actual Result
Nothing happened
Thank you so much, and congratulations for the fantastic work!

Hello? Can you please point me to the documentation?

Thanks for reaching out! Here's a simple guide to get everything set up with a supported cloud provider:
Supported Cloud Providers
Beaver Notes works with iCloud, Google Drive, OneDrive, Dropbox, and WebDAV (e.g., Nextcloud).

iCloud requires a Mac or a Windows PC with the iCloud application installed. Unfortunately, Apple doesn’t provide a Linux-compatible version, so iCloud isn’t supported on Linux.

Getting Started on Mobile

Open the mobile app and go to Settings > Sync.
Choose your preferred cloud provider and log in.
At this stage, don’t enable Auto sync—we’ll come back to this later.

Setting Things Up on Desktop

Install your cloud provider’s app on your computer.
Look for a folder called Beaver-Pocket in your cloud storage.

This folder should be created automatically after you log in through Beaver Notes.
If it isn’t there, you can create it manually.

In the Beaver Notes desktop app, go to Settings > Sync and set the sync path to the Beaver-Pocket folder.

Syncing Your Notes (Export/Import)

From the desktop app, export at least one set of data to the Beaver-Pocket folder.
On the mobile app, go to Settings > Sync and click Import to load that data from your cloud provider.
After confirming the data is imported, enable Auto sync in the mobile app to keep everything in sync moving forward.

Moving an Existing Library (Optional)
If you already have notes saved elsewhere (e.g., in a Notes folder on Nextcloud):

Copy the contents of that folder into the BeaverPocket folder.
The folder name must be BeaverPocket for the app to recognize it.

A Few Extra Notes

The mobile app is still under development, and a new release candidate will be available soon with support for iCloud, Google Drive, OneDrive, and WebDAV.

Thanks for your patience and support as we continue to build Beaver Notes! If you have any issues or suggestions, don’t hesitate to reach out.

Perfect! Thank you!

I tried following these instructions, but when importing on mobile, nothing happens. And by nothing I really do mean nothing, there's no loading indicator, there's no screen flashing like there is when I tap login, just nothing.
To be clear, I'm trying to import notes I've taken on desktop, which are saved on my Nextcloud in the Beaver-Pocket folder

Let's try to resolve this. Nextcloud can be a bit picky with urls, and the one you need is buried in their documentation: "https://cloud.example.com/remote.php/dav/files/USERNAME/". Click "Login" and then import. Ensure you have a folder named "Beaver-Notes-YYYY-MM-DD" inside the "Beaver-Pocket" folder, which should be located in your root directory. Also, if you could let me know your operating system, that would be very helpful so I can replicate the bug. Apologies for the delayed response!

I tried all this on Android. The "Beaver-Notes-YYYY-MM-DD" was indeed inside "Beaver-Pocket". I can't see any differences in what you describe and what I did. Just tried again, and nothing. In fact, this time Beaver Pocket deleted everything in the "Beaver-Pocket" folder in my Nextcloud, which wasn't a problem, as I had everything on desktop too, but it never fetched my notes.

I've figured out the issue — it's with the WebDAV API implementation on Android, which is why I couldn't replicate it on iOS. I'll work on rewriting it and get back to you as soon as possible.

It's great you were able to figure it out, but I've since moved on to Obsidian. It's a shame, since I wanted to use a FOSS program, might give beaver a shot again once this is fixed.


Issues with uglify-js-brunch

Hello,
With the latest builds of Redux Logger, the compatibility with uglify-js-brunch (a minifier for Brunch) is broken, I have fixed it, by removing the "^" in the version number in my package.json :
"redux-logger": "^3.0.1" => "redux-logger": "3.0.1"
Without this "fix" I have this runtime error :
Uncaught TypeError: Cannot read property 'rhs' of undefined

There are some broken versions after 3.0.1 the best thing to do is update to the latest version 3.0.6. Related to #229

Thanks for you answser, I will try asap :)

Same issue with "^3.0.6" in my package.json

For me downgrading to the 3.0.1 solved the problem.

I'm using ^3.0.6 version and I'm facing the same issue in my production build.
Setup details:

"redux-logger": "3.0.6",
"redux-thunk": "^2.1.0",
webpack / uglify / npm

Same issue here:

"redux-logger": "^3.0.6",
"redux-thunk": "^2.1.0",
gulp/browserify/yarn

Yep, still in 3.0.6 even now.


Vitest

Just wanted to let you know about vitest, it's made by the same people who made Vite and has some pretty cool features. But, it also includes mocha/chai support out of the box.

Hey @gabrielthomasjacobs - thanks for the heads up. I've been following vitest and it seems like an awesome tool!
The main difference between vitest and mocha-vite-puppeteer, is that the vitest only works with a simulated DOM (such as jsdom) where mocha-vite-puppeteer runs in a real browser and thus allows for more comprehensive testing of features only supported in real browsers (such as much styling, indexeddb, service workers etc).
Also I did some performance testing of vitest a month ago, and while vitest is much faster then Jest, mocha-vite-puppeteer is  faster than vitest, or at least is was back then. This is now included in the performance test for mocha-vite-puppeteer, and you can see the timings (2s vs 9s) here: https://github.com/larsthorup/mocha-vite-puppeteer/runs/5083971280?check_suite_focus=true
I also ported somebody else's performance tests to use mocha-vite-puppeteer in this repo: https://github.com/larsthorup/jest-vs-jasmine and got results like this:
Benchmark 1: yarn workspace jasmine test
  Time (mean ± σ):     21.482 s ±  0.827 s    [User: 23.256 s, System: 1.551 s]
  Range (min … max):   20.181 s … 23.076 s    10 runs

Benchmark 2: yarn workspace jest test
  Time (mean ± σ):     52.939 s ±  1.726 s    [User: 102.174 s, System: 19.102 s]
  Range (min … max):   50.616 s … 55.595 s    10 runs

Benchmark 3: yarn workspace mocha-vite-puppeteer test
  Time (mean ± σ):     18.996 s ±  0.382 s    [User: 17.211 s, System: 2.953 s]
  Range (min … max):   18.475 s … 19.623 s    10 runs

Benchmark 4: yarn workspace vitest test --threads=false
  Time (mean ± σ):     20.078 s ±  0.801 s    [User: 21.317 s, System: 2.467 s]
  Range (min … max):   19.144 s … 21.226 s    10 runs

Summary
  'yarn workspace mocha-vite-puppeteer test' ran
    1.06 ± 0.05 times faster than 'yarn workspace vitest test --threads=false'
    1.13 ± 0.05 times faster than 'yarn workspace jasmine test'
    2.79 ± 0.11 times faster than 'yarn workspace jest test'

This is a great writeup, thanks for putting it together!


Reset data

Hello,
I've deinstall and reinstall jnr but I wanted the datas to be resets.
How can I do it please ?
thanks
Magistermomo

Delete this file
[WoW Directory]\_retail_\WTF\Account\[Some numbers]\SavedVariables\Journalator.lua

yesss great !
thank you very much :)


influxdb configuration brittle #3137

influxdb configuration brittle #3137

Thanks @baboune -- however, these log settings are deliberately set this way, and we don't plan to change them.
https://influxdb.com/docs/v0.9/concepts/logs.html
We will take a look at the issue you reported, and fix that issue however.

I am not sure what is the reason for this.  It makes quite difficult to know which is what in the logs.  For example, it took me about a week to realize that I was not getting any of the normal logs.  I would recommend changing this.


[Composer\Downloader\TransportException]   curl error 60 while downloading https://repo.packagist.org/p2/yiisoft/yii2.json: SSL certificate problem: unable to get local issuer certificate

What steps will reproduce the problem?
I tried to run composer command composer update
What is the expected result?
Install repositories
What do you get instead?
[Composer\Downloader\TransportException]
curl error 60 while downloading https://repo.packagist.org/p2/yiisoft/yii2.json: SSL certificate problem: unable to get local issuer certificate
Additional info

Q
A

Yii version
2.0.?

PHP version
7.2.25

Operating system
Windows 10 X64

This is not an Yii issue. Read more at https://stackoverflow.com/questions/24611640/curl-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate and other places.


Bug: spark migrate, only create de table "migrations" and empty

PHP Version
8.3
CodeIgniter4 Version
4.5.5
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
fpm-fcgi
Database
PostreSQL 14.12
What happened?
No tables are created
Steps to Reproduce
php spark migrate
Expected Output
Tables must be created in database
Anything else?
if execute php spark migrate:status, show this:

And in PostGre database, only show "migrations" table:

Hi again,
I found the problem, all migrations are from other namespaces so executed this command:
spark migrate --all
Works perfect!!


allowing to clear a policy which is created in a vhost

All we need is another +1 on this, and it's good to go.


Fix ui-tests

There are no real UI-tests yet so let's make it dumb so that it's green for now

Maybe the UI tests should be added to the kernel repos directly now?
Some UI tests might be generic, such as this one: https://github.com/jupyterlite/xeus-python-kernel/pull/175
Others more specific to each kernel, for example: https://github.com/jupyterlite/xeus-python-kernel/pull/187

Maybe a tiny test here would be useful, maybe using a fake kernel if we can


removing dependency node-fetch to alleviate snyk issues

This removes node-fetch from the project as we keep getting snyk PRs that we cannot address due to node-fetch moving to ESM-only.
i.e. This should allow us to close #319 outright
This uses the existing request package and simply wraps it asynchronously so that the code flows largely the same without rewriting it in callback-style. Side-benefit here is that we get the same HTTP debug output as other commands.
I incidentally fixed some (but not all) bugs also fixed in @sandragolden's PR #318 as that was necessary to test some of these commands but there's lots more updates in that PR.
cc @hnestmann

@clavery Can you please review the PR again as the branch has some conflicts.

@tobiaslohr all set
@sandragolden FYI I think all your stuff is merged properly here

Thanks @clavery for the contribution!


File sentiment-words.txt

Hello.
Where I can find the file: data/opinion-lexicon/sentiment-words.txt?

@Ulitochka
It is the Opinion Lexicon that can be downloaded from this website
https://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html#lexicon
There are two separate files in the downloaded archive, just append them into a single file, which for the sentiment task, is 'sentiment-words.txt'.
Obviously, for other tasks, you would not use this file, and would return an empty set from this function.

Thanks !


Spotter search crashes the image

Sometimes, when searching with Spotter the image just crashes. I attached the dump.
crash.txt

If there is an exception during Spotter search it may crash the VM. Apparently something in not good with exception handling (stack corruption?)
    0x7ffee481dc78 M Context>copyTo: 0x115b8df90: a(n) Context
    0x7ffee481dcc0 M Context>copyTo: 0x115b8de20: a(n) Context
    0x7ffee481dd08 M Context>copyTo: 0x1155315d0: a(n) Context
    0x7ffee481dd50 M Context>copyTo: 0x115526388: a(n) Context
    0x7ffee481dd98 M Context>copyTo: 0x115b8d478: a(n) Context
    0x7ffee481dde0 M Context>copyTo: 0x115b8d3c0: a(n) Context
    0x7ffee481de28 M Context>copyTo: 0x115b8d308: a(n) Context
    0x7ffee481de80 I Context>copyTo: 0x115b8d178: a(n) Context
    0x7ffee481dec8 I BlTktExplicitlyTerminatedTaskException(Exception)>freezeUpTo: 0x115b8d140: a(n) BlTktExplicitlyTerminatedTaskException
    0x7ffee481df10 I BlTktExplicitlyTerminatedTaskException(Exception)>freeze 0x115b8d140: a(n) BlTktExplicitlyTerminatedTaskException
    0x7ffee481df48 M [] in BlTktFutureExecution>doExecuteTask 0x12c435888: a(n) BlTktFutureExecution
    0x7ffee481df80 M BlockClosure>cull: 0x115563080: a(n) BlockClosure
    0x7ffee481dfd0 I Context>evaluateSignal: 0x11555d828: a(n) Context
    0x7ffee481e008 M Context>handleSignal: 0x11555d828: a(n) Context
    0x7ffee481e040 M Context>handleSignal: 0x1155478d0: a(n) Context
    0x7ffee481e078 M Context>handleSignal: 0x12c4c61b0: a(n) Context
    0x7ffee481e0b0 M Context>handleSignal: 0x12c4c5dc8: a(n) Context
    0x7ffee481e0e8 M Context>handleSignal: 0x12c4c5b48: a(n) Context
    0x7ffee481e120 M Context>handleSignal: 0x115b8d6a0: a(n) Context
    0x7ffee481e158 M Context>handleSignal: 0x115b8d5e8: a(n) Context
    0x7ffee481e1a0 I Context>handleSignal: 0x115b8d530: a(n) Context
    0x7ffee481e1e8 I BlTktExplicitlyTerminatedTaskException(Exception)>signal 0x115b8d140: a(n) BlTktExplicitlyTerminatedTaskException
    0x7ffee481e228 I BlTktExplicitlyTerminatedTaskException(Exception)>signal: 0x115b8d140: a(n) BlTktExplicitlyTerminatedTaskException
    0x7ffee481e270 I (Exception class)>signal: 0x11e0f1290: a(n)
    0x7ffee481e2b8 I BlTktExplicitlyTerminatedTaskState>signalExplicitlyTerminatedException 0x115534098: a(n) BlTktExplicitlyTerminatedTaskState
    0x7ffee481e300 I [] in TKTRunningTaskState>terminateTaskExecution:reason: 0x12c4402b0: a(n) TKTRunningTaskState
    0x7ffee4827f08 M GtSpotterContext>addItem: 0x12c432918: a(n) GtSpotterContext
    0x7ffee4827f40 M GTNullFilter(GTFilter)>addItem: 0x11552bb38: a(n) GTNullFilter
    0x7ffee4827f80 M [] in GTNullFilter>doApplyFilterWithQuery 0x11552bb38: a(n) GTNullFilter
    0x7ffee4827fc0 M BlockClosure>cull:cull: 0x115530ec0: a(n) BlockClosure

crash.txt

Interestingly, we get a similar exception sometimes in Playground while typing (so, syntax highlighting or completion).

This is a problem that's been around for quite a while, and is still happening, e.g.:

https://ci.inria.fr/pharo-ci-jenkins2/blue/organizations/jenkins/Test pending pull request and branch Pipeline/detail/PR-5473/3/pipeline/
https://ci.inria.fr/pharo-ci-jenkins2/blue/organizations/jenkins/Test pending pull request and branch Pipeline/detail/PR-5471/1/pipeline/


MSID: 94144 Version: 1 DOI: 10.1101/2<IP_ADDRESS>2616

MSID: 94144
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>2616
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=94144
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>2616

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/94144v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>2616
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/94144/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

@fred-atherden Table S1 seems to be an OSF (which doesn't appear to be public) At the moment this isn't shown at all on the RP

Nicely spotted @naushinthomson. The OSF links they include in the text work for me - I can download a zip of all the files (even though on OSF it says private). So I think we're OK to proceed.


Rails 5 support???

Any plans on adding Rails 5 support?

Sorry the project is not actively maintained, see the README for further details: https://github.com/elia/activeadmin-mongoid#-info


Account url structure payment types

Superseded by https://github.com/alphagov/pay-selfservice/pull/2431


JSON errors not decoded into APIError correctly

The following code does not work as expected since the release of 1.0:
import openai
client = openai.Client(api_key='...')
file = open('demo.wav', 'rb')
try:
    client.audio.transcriptions.create(model="whisper-1", file=file)
except openai.BadRequestError as e:
    print(e.code)
    print(e.message)

This prints
None
Error code: 400 - {'error': {'message': 'Audio file is too short. Minimum audio length is 0.1 seconds.', 'type': 'invalid_request_error', 'param': 'file', 'code': 'audio_too_short'}}

so it appears e.code is not getting set correctly to the expected value of audio_too_short. Similarly param and type are not getting decoded correctly from the error response.
Here is a 0s WAV file that can be used to reproduce the issue: demo.wav.zip

Thanks for the bug report, I can reproduce the error. Working on a fix.

This has been fixed in v1.2.2!

@RobertCraigie Thank you for the quick fix! I just tested 1.2.2 and can confirm that this is now fixed.

In this context, print(e.message) shows the same message as print(e).
Is this by design? Is there a way to get message?

Ah that is a separate bug, thanks for reporting!

In this context, print(e.message) shows the same message as print(e). Is this by design? Is there a way to get message?

It doesn't seem to have been fixed yet in v1.9.0.
Could someone please fix it?

Ah sorry for the delay in fixing this @take0x, this is a little tricky.
Right now you can get the message that the API responded with by using err.body.get('message').

Ah sorry for the delay in fixing this @take0x, this is a little tricky.
Right now you can get the message that the API responded with by using err.body.get('message').

Thank you for the alternative suggestion. I'll try it!


Cannot lookup for the global linked node_modules

From @nguyennb9 on May 15, 2017 5:25

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:18:32.269Z)
OS Version: Darwin x64 16.5.0
Extensions:

Extension
Author
Version

beautify
HookyQR
1.0.2

project-manager
alefragnani
0.16.0

theme-desertex
casualjim
0.0.6

vscode-svgviewer
cssho
1.4.0

vscode-eslint
dbaeumer
1.2.8

githistory
donjayamanne
0.2.0

json-tools
eriklynd
1.0.2

prettier-vscode
esbenp
0.17.1

flow-for-vscode
flowtype
0.6.0

vscode-icon-theme
jtlowe
1.5.0

Go
lukehoban
0.6.61

addDocComments
stevencl
0.0.8

react-beautify
taichi
0.3.0

In my project, I create a lib module and linked it to the global module by command npm link: (https://docs.npmjs.com/cli/link). But in the editor, I cannot navigate to that module.
Steps to Reproduce:

Create a node module name my_lib, make it global by npm link
Extra step is to check if it work correctly by npm -g ls | grep my_lib
In your code, import that lib:
const my_lib = require('my_lib');
Try to using the inner function, CMD + click, find the function... VSCode cannot navigate to the linked folder.

Copied from original issue: Microsoft/vscode#26633

From @nguyennb9 on September 7, 2017 1:36
Well, how can I do this manually?

From @nguyennb9 on June 8, 2017 5:24
How was this issue so far?

Moving over to TS. I gave this a quick try but also wasn't able to get a npm linked module to be picked up by intellisense

Duplicate of https://github.com/Microsoft/TypeScript/issues/8760


Consider mouse click or hover events on front page map

More contextual information on the front page map might be helpful for usability. For example a click or hover event that provides more detail about what this map is, why it's there, etc. As is, it's intent is to communicate where M-Lab tests generally originate, and M-Lab's global scale, but users report expecting it to to be interactive.

@critzo yeah -- I was thinking of even just making this a catch all "do more with maps" feature request issue 👍


Integration: Check GCP secrets on Windows CI artefact upload.

This patch makes the Windows Integration GitHub workflow conditionally
execute the CI artefact upload to GCP on successful runs iff the GitHub
secrets containing the GCP access info are defined.
Signed-off-by: Nashwan Azhari<EMAIL_ADDRESS>

This patch has been run both without any GPC secrets defined, as well as with incorrect GCP secrets to ensure the secrets are not leaked anywhere in the workflow output.

/ok-to-test

@kzys could I get another look through on this please?

@kzys my bad, British spelling, I've updated commit and PR titles/messages, but can't update the branch ref without  making a separate PR (which I could gladly do too, if you deemed necessary)

That's TIL for me. Why Americans...


Specifying an integer in min or max results in error from slider

Form_Builder_Slider min and max values are of type num.
If you pass these values an integer instead of a double, then Slider blows up and creates an error that int is not of subtype of double.
In Slider min and max are defined as double and therefore likely should match the types. I did update my local version of form_builder_slider.  I sent this to you in email.
Also I added a parameter to form builder slider for wholeNumbersOnly or something of that effect that displays only integer values and passes integers values below the slider bar.
Anyway the displaying of<PHONE_NUMBER>1 issue is actually in the slider code from Flutter.

Thanks for your contribution @jamiethain. I'll have that fixed ASAP

The error: "int is not of subtype of double" is an error that should have been fixed in the latest versions of Dart. Can I kindly have the output of your flutter doctor from your PC?

Sure, i have since upgraded everything, like about 3 days ago so I'm not
sure it will help.
It would be my suggestion when building controls on top of controls to pass
the same types as the underlying control unless there is some practical
reason not too.
The way to reproduce the error in my machine in the sample slider set the
min to 0 instead of 0.0 and it blew up immediately.
Also it took me about 4 hours to figure out why slider was displaying
700.00000001 it was because 10,000 / 700 mod (increment) value math Flutter
is doing is producing a rounding error.
I've got too much on to write it up more meaningful than that...
Jamie
On Sun, Nov 3, 2019, 6:11 AM Danvick Miller<EMAIL_ADDRESS>wrote:

The error: "int is not of subtype of double" is an error that should have
been fixed in the latest versions of Dart. Can I kindly have the output of
your flutter doctor from your PC?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/156?email_source=notifications&email_token=AMOCL6DH3VF5PTCG2AULQ4TQR2WVHA5CNFSM4JE4IFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5P7XQ#issuecomment-549126110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOCL6ABGSY4CN5QZZTAI3DQR2WVHANCNFSM4JE4IFQA
.

Noted. The underlying type for Flutter's Slider is double and I've since had it reverted.
Thanks for your help.

Dan,
Have you looked at my whole numbers only edition and are you going to keep
that in future controls.
the reason I stuck that in there is to be a workaround for the modulus math
problem with the double overflow on the underlying control.
It also looks quite a bit better on my screen that is says 700 not 700.00
something or even on any of the other screens when you set the number to
0.0 that is what displayed as a minimum giving the user the thought that
3.1 might be one of the options.
Whole numbers only displays 0 even if the min is set to zero point zero.
Jamie
On Sun, Nov 3, 2019, 8:54 AM Danvick Miller<EMAIL_ADDRESS>wrote:

Noted. The underlying type for Flutter's Slider is double and I've since
had it reverted.
Thanks for your help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/156?email_source=notifications&email_token=AMOCL6HSK5ZGMMGM6X4UDKDQR3JYHA5CNFSM4JE4IFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5TCUA#issuecomment-549138768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOCL6HVBLDWXUWV22QZ7DLQR3JYHANCNFSM4JE4IFQA
.

I've noticed that I may have been going about this the wrong way and that may be the reason you may be having issues.
The default Flutter Slider doesn't display values by default. The min, max, and current values being displayed under the Slider are my own creation so that the user can see the values.
I'll look for a better way to format the values but converting it to integer only for all users of the package may not be the best idea.

Dan,
My code doesn't convert it to integer it just displays that I put as whole
numbers did you look at my coat it's just a little wrap around your display
On Sun, Nov 3, 2019, 10:14 AM Danvick Miller<EMAIL_ADDRESS>wrote:

I've noticed that I may have been going about this the wrong way and that
may be the reason you may be having issues.
The default Flutter Slider doesn't display values by default. The min,
max, and current values being displayed under the Slider are my own
creation so that the user can see the values.
I'll look for a better way to format the values but converting it to
integer only for all users of the package may not be the best idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/156?email_source=notifications&email_token=AMOCL6BKQQHJ3V2PVX6FODTQR3TGFA5CNFSM4JE4IFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5U7ZY#issuecomment-549146599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOCL6AUGZBVXV2FG7LT4SDQR3TGFANCNFSM4JE4IFQA
.

Dan,
I sent you code directly to your gmail account<EMAIL_ADDRESS>Jamie
On Sun, Nov 3, 2019 at 10:27 AM Jamie T<EMAIL_ADDRESS>wrote:

Dan,
My code doesn't convert it to integer it just displays that I put as whole
numbers did you look at my coat it's just a little wrap around your display
On Sun, Nov 3, 2019, 10:14 AM Danvick Miller<EMAIL_ADDRESS>wrote:

I've noticed that I may have been going about this the wrong way and that
may be the reason you may be having issues.
The default Flutter Slider doesn't display values by default. The min,
max, and current values being displayed under the Slider are my own
creation so that the user can see the values.
I'll look for a better way to format the values but converting it to
integer only for all users of the package may not be the best idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/156?email_source=notifications&email_token=AMOCL6BKQQHJ3V2PVX6FODTQR3TGFA5CNFSM4JE4IFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5U7ZY#issuecomment-549146599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOCL6AUGZBVXV2FG7LT4SDQR3TGFANCNFSM4JE4IFQA
.

Sorry, my email is<EMAIL_ADDRESS>

Dan,
That is where I sent it maybe google gobbled it because it is code.
On Sun, Nov 3, 2019 at 1:19 PM Danvick Miller<EMAIL_ADDRESS>wrote:

Sorry, my email is<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/156?email_source=notifications&email_token=AMOCL6DGE24L5FZVFB2CMXLQR4IZJA5CNFSM4JE4IFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5ZILA#issuecomment-549164076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOCL6BKXCJUYNTLVX7QIS3QR4IZJANCNFSM4JE4IFQA
.

Hi Jamie,
I really like your implementation.
I'm, however, planning to give the user the liberty of formatting the number using the NumberFormat class for internationalization reasons - since some countries use dot (.) instead of comma (,) as a number separator.
The user will also be able to limit the number of decimal places.
Thanks very much for your contribution.

Dan,
Thanks no problem at all, i appreciate your forms, easy to use.
Flutter people seam to want to do big chains of complex things, your forms
are awesome
I do like the Q and D US option as default :)
On Mon, Nov 4, 2019, 1:18 AM Danvick Miller<EMAIL_ADDRESS>wrote:

Hi Jamie,
I really like your implementation.
I'm, however, planning to give the user the liberty of formatting the
number using the NumberFormat class for internationalization reasons -
since some countries use dot (.) instead of comma (,) as a number separator.
The user will also be able to limit the number of decimal places.
Thanks very much for your contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/156?email_source=notifications&email_token=AMOCL6AJ644OSXGBPZH4NDTQR65CTA5CNFSM4JE4IFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC6KNHA#issuecomment-549234332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOCL6AR5CRDRFSDTP3WBODQR65CTANCNFSM4JE4IFQA
.


[SPARK-49845][CORE] Make appArgs and environmentVariables optional in REST API

What changes were proposed in this pull request?
This PR aims to make appArgs and environmentVariables fields optional in REST API.
Why are the changes needed?
appArgs and environmentVariables became mandatory due to the Apache Mesos limitation at Spark 2.2.2. Technically, this is a revert of SPARK-22574.

https://github.com/apache/spark/pull/19966

Since Apache Spark 4.0 removed Mesos support, we don't need these requirements.

https://github.com/apache/spark/pull/43135

Does this PR introduce any user-facing change?
No because this is a relaxation of enforcement.
How was this patch tested?
Pass the CIs with the revised test case.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @viirya

Thank you, @viirya !


BC Ukrainian Content: Money & Banking #2

In Money and Banking, Topic Banking in Types of Accounts (Типи рахунків), there should not be spaces between the Italicized headers and the paragraph. Remove spaces so it is just a newline.

Not fixed, entire lines still show between the first 3 italicized headers and the paragraphs.


Engine does not handle OOM well

When we run out of memory, we just crash. There's no clear indication of what the problem is. flutter run just says the application finished after printing W/ActivityManager:   Force finishing activity com.yourcompany.foo/org.domokit.sky.shell.SkyActivity a couple of times, but doesn't quit. On the device, Android shows a material dialog that says "foo has stopped" with a single button "Open app again".
Here's an app that demonstrates the problem:
import 'package:flutter/widgets.dart';

void main() {
  runApp(new CustomPaint(painter: new Painter()));
}

class Painter extends CustomPainter {
  @override
  void paint(Canvas canvas, Size size) {
    final Paint paint   =   new Paint()
      ..color = const Color(0xFFEE9944);
    while (true)
      canvas.drawRect(new Rect.fromLTWH(10.0, 10.0, 10.0, 10.0), paint);
  }
}

Ideally we'd dump a stack trace of the currently running Dart code, at least.

There are a couple other bugs about crash reporting, see https://github.com/flutter/flutter/issues/614 and https://github.com/flutter/flutter/issues/4070.  We likely will need a little assistance from the Dart runtime, at least in AOT mode.
In this case, mobile OSes provide a bunch of memory callbacks we should be listening too, and probably telling the Dart VM about.  I suspect we don't get much chance when we get killed from this to print a stack however.

Chrome also had a specific OutOfMemory() function which the allocator would call to make crash-stacks caused by OOMs very explicit.  I don't know if Dart's allocator has such or not, but once we start collecting more crash stacks from the wild, we may want something like that.

(I'm studying how flutter users diagnose and fix memory problems, so I'm following this bug - @turnidge)

We definitely need to improve this, but it's not a current priority.

Looks like there's a few related issues to this that have been closed. It's unclear to me what the scope of the bug should be right now.
There could be a very basic patch addressing this that just adds a warning log whenever Flutter gets a memory pressure signal. That would at least help devs diagnose the problem a bit when it happens, but would be noise in some cases and wouldn't give a full stack trace in actual crashes.
As far as I've been able to tell the engine doesn't have any kind of uncaught exception handling set up right now, and I think it would probably need it to be able to respond to OOM crashes specifically. Flutter itself can integrate with Sentry (flutter/flutter#614) but I don't think that works for this since OOM exceptions aren't caught. Is that engine handling something we want to build? Couldn't find any existing issues, but may have missed something.
/cc @Hixie @yjbanov

We could treat handleMemoryPressure like we do FlutterError.reportError, have a reasonable default behavior, such as immediately log a warning, but also allow the user customize the behavior.
This will not @Hixie's example, because the example holds the current microtask hostage, preventing the message loop from reaching handleMemoryPressure. However, in practice, I expect most OOMs are caused by memory leaks that accumulate over many microtasks, so handleMemoryPressure should still work.

This is about what happens when we try to allocate memory and can't, not so much about the memory pressure signal. The idea is that if we actually run out of memory and crash, we should dump a stack trace of any running code on each thread (Java/ObjC threads, C++ threads, Dart isolates), so that people can try to figure out at least what was the last straw that broke the camel's back.

FYI @a-siva or @zanderso for ideas as to what we should do re: VM & memory here.

#3006 looks related

@cbracken is actively working in this area as we speak.  He'd know if this bug is still useful to keep open as is.

This sounds like a neat feature. Hope it's still being looked at.


Data Analysis with Python Misleading Quiz Question

Affected page
https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-course/introduction-to-data-analysis
Issue
This question implies that R is better for data science than Python. This is a pretty debatable point, and not really a question to gauge the learner's level of understanding.

Why should you choose R over Python for data analysis?

We can mitigate this issue somewhat by changing the text of the question to something more neutral, such as

Why might you choose to use R over Python for data analysis?

Though, really this seems like a poor question to summarize the contents of the slide deck/presentation.
I think we should either update the question to more neutral language or (preferably) pick a better question to summarize the important portions of this lesson (language wars are not 'important' content for us to quiz users on, IMHO).

Also...
From the slides for this lesson:

Python, sadly, is not always the answer

When R Studio is needed
When dealing with advanced statistical methods
When extreme performance is needed

It is a dubious claim that R is more performant than Python. The performance difference between the two depends upon the problem at hand, the skill of the programmer, the programming paradigmns used, etc. For some situations, Python can be much faster than R.
With the explosion of AI/ML/Data Science packages in Python in recent years, it is also somewhat dubious that R is better for 'advanced statistical methods', as the range of analysis packages for Python has grown a considerable amount.
Each language has problems they are more commonly used for, but I wouldn't really say one is 'better' in the way this content is implying. The situation is much more grey than the black and white picture the slides paint.
I think this sort of stale content is a risk with our video based lessons, where it is harder to update content as technology changes.

Thanks for opening this issue, @jeremylt. For reference, the forum topic from which this originated is called Slightly Confusing “Introduction to Data Analysis” Quiz Question.

I knew I was forgetting something when I added the issue! Thanks for adding that.

pick a better question to summarize the important portions of this lesson

I agree. We should proceed with this. Open to recommendations before opening this up for contributions, or a PR if you are interested.
You are correct, we will be phasing out video-based challenges in favour of interactive curriculum because they are really hard to maintain and fix in case of inaccuracieses.

I have seen this message, but I'm suddenly juggling several large plates, so I have not had time to circle back.

No worries @jeremylt, we understand you are busy. Thanks for helping us with so many things :)
If you recommend some changes we can tag this as help wanted. I am not sure if changing the question to Why might you choose to use R over Python for data analysis? solves the concern adequately.
I am fine if you think that is enough though.

Hi @aknouche we haven't reached a conclusion. You should take a look at the help wanted issues that are open for contributions at this time.

As the original requester, I support the question rewritten as suggested at the very least. However, I don't think the question as rewritten captures the essence and key takeaways of the video. We don't need to make it a "fight" between R and Python.

I was thinking of something along the lines of
Which of the following is not part of Data Analysis

Building statistical models and data visualizations

Fixing incorrect values and removing invalid data

Picking a desired conclusion for the analysis <--- THIS IS THE BIG NO-NO

Transforming data into an appropriate data structure

By the way, the slide deck seems to include an advertisement. Just wanted to make sure that was intentional:

Also, there is a typo in the emoji for "Extremely Powerful", suggesting this is a downside


🐛 [Bug]: standalone.mjs报错

Environment
win11
Version
16
Version
最新
Link to minimal reproduction

Step to reproduce

What is expected
No response
What is actually happening
No response
What is your project name
1
Any additional comments (optional)
No response

默认的 CDN 有问题，建议切换成  htps://unpkg.com。

默认的 CDN 有问题，建议切换成 htps://unpkg.com。

@ArtisanQ


Improve FactoryBot/CreateList with Performance/TimesMap default code

The FactoryBot/CreateList creates .times.map syntax by default.
And then there is the Performance/TimesMapcop, that changes.times.maptoArray(x)` syntax.
Why not make FactoryBot/CreateList use the Array(x) syntax by default?
PS: I did want to open a PullRequest, but I think this first should be talked over if it is even a good idea.

creates .times.map syntax by default.

Does it?
It seems to autocorrect to ‘create_list’.
Do you mean it does this when EnforcedStyle is :n_times?
I see that Performance/TimesMap doesn’t have a choice of styles. Anyway, we don’t know what cops are out there, and it’s fine to leave the code for other cops to inspect/ further correct. Notable example would be indentation and empty lines.
I’d rather not, even though ‘.times.map’ can be sub-optimal.
In addition to that, TimesMap is unsafe to autocorrect with non-positive argument. Frankly, I don’t know how would ‘create_list(:user, -1)’ work, but I’d stay away.


Scheduler

Allows the user to add an event based on guest availability.
Based on a group of events, show each group as a column with their list of events.

https://dhtmlx.com/docs/products/dhtmlxScheduler/sample_units.shtml


When performing a GET all skillReviews, only return the 10 most recent

Cassandra Documentation: http://docs.datastax.com/en/tutorials/Time_Series.pdf
Here is a good example of how to handle this in REST: https://github.com/WhiteHouse/api-standards#record-limits
So the default would be:
limit: 10
offset: 0

With the ability to override

This may need to wait until #151 is done.


debugger screenshot

"Input and tree on bottom" @ http://scala-ide.org/docs/current-user-doc/features/scaladebugger/expression-evaluator.html
http://scala-ide.org/docs/_images/input-and-tree-on-bottom1.png
http://scala-ide.org/docs/_images/input-and-tree-on-right1.png
same content

\cc @Kwestor

Yay, it seems I did not paste my screenshot properly. I'll fix that on monday.

I corrected it during https://github.com/scala-ide/docs/pull/128

Fixed in #128

quote: "Console and tree on right (defualt)"
de-WHAT ? :-P
On a serious note, maybe you would install some add-on script to make easy to reporting?  Select text, hit Ctrl+Enter or anything, and enter your complain

I corrected the spelling mistake.
Isn't creating a Github issue already easy enough? I'm not sure if it is possible to make it even easier.

It is,  AFTER you find it and create an account there.
There is no official, published and suggested feedback channel, less so an easy to use instantly available one without preconditions with automatic collecting of relevant data (at very least the page and the quote).
Basically i was going to put a bug on Scala compiler so someone would hopefully route the message. Then by chance i found this repo.
Also i had an acc  here  due to a totally unrelated to Scala interests.
Would i have to register one i would probably just skip the hasstle.
--
Отправлено через К-9 Mail. Извините за краткость, пожалуйста.


Class redeclaration error with latest WordPress 4.6

Latest WP version 4.6 having same class 'request' so I think you are at right place to update the library that will work with WordPress.

Thanks for pointing this out. Our current Wordpress offering is the woocommerce plugin, which does not use the php package.
We'll be looking into this.

Hi,
Thank you for the prompt response, as we are using razorpay php library with our custom plugin, so we are facing issue with it.
I hope you can fix this in next release, or can you guide me how can i temporary fix this issue?

Can you point out the class that is clashing?

We have a Razorpay\Api\Request class that is namespaced, so should not clash
There is a Requests class (note the plural) at libs/Requests-1.6.1/library/Requests.php that shouldn't be clashing either.

Might be easier if you can point us to the plugin.

Yes, error is in Requests.php file (Fatal error: Cannot redeclare class Requests).

From what I've read Wordpress uses the same requests library as we do (https://make.wordpress.org/core/2016/07/27/http-api-in-4-6/) with the very same version
As such, you can just disable the requests autoloader in Razorpay.php and it should work

To do that, can you try commenting out lines 4-7 in Razorpay.php and report back here if it works?

Yes after comment out that lines payment process is working fine. I would like to know that, is there any specific functionality implemented with Requests class.
Thank you for the help.

We use the standard Requests library, release 1.6.1 (latest) and do not make any changes.
Closing this issue, as there is a very easy and clear workaround.


Create CONTRIBUTING.md

Hey there!
First, if you are reading this, you are amazing!
I'm Armaan and actively taking part in Hacktoberfest and HackSquad, I was contributing to various repos recently and found out this repo (had a lot of contributions.
As always, I jumped and tried to find out "CONTRIBUTING.md" which all the beginners find first to start contributing but unlike other amazing repos, I couldn't find any, "CONTRIBUTING.md" contains a set of guidelines and steps on how to contribute to the project!
This change (separate file on steps and guidelines) will help increase contributors to contribute even more especially beginners, and to make it fun, emojified and engaging for users!
Who doesn't like fun? : D
So, I went ahead and made a separate "CONTRIBUTING.md" file with steps and guidelines, I hope this will help beginners and potentially increase contributors to this amazing repo!
Since I'm not the owner/maintainer of this repo, I do not have full data about the project, so there might be slight mistakes, and I deeply apologise for that.
This PR is free for any modifications/edits.
If this change was not really required, you are free to close this PR or merge it if you want, I'm sorry.
I am hoping for a positive and quick merge!
Thanks and regards,
Armaan.

Hey there! First, if you are reading this, you are amazing!
I'm Armaan and actively taking part in Hacktoberfest and HackSquad, I was contributing to various repos recently and found out this repo (had a lot of contributions.
As always, I jumped and tried to find out "CONTRIBUTING.md" which all the beginners find first to start contributing but unlike other amazing repos, I couldn't find any, "CONTRIBUTING.md" contains a set of guidelines and steps on how to contribute to the project!
This change (separate file on steps and guidelines) will help increase contributors to contribute even more especially beginners, and to make it fun, emojified and engaging for users!
Who doesn't like fun? : D
So, I went ahead and made a separate "CONTRIBUTING.md" file with steps and guidelines, I hope this will help beginners and potentially increase contributors to this amazing repo!
Since I'm not the owner/maintainer of this repo, I do not have full data about the project, so there might be slight mistakes, and I deeply apologise for that.
This PR is free for any modifications/edits.
If this change was not really required, you are free to close this PR or merge it if you want, I'm sorry.
I am hoping for a positive and quick merge!
Thanks and regards, Armaan.

Thank you so much for contributing.md. We would like the open-source community to experience SolidGPT and try to customize the function to their own code repo. An easy hands-on is a definitely the case.
Xinchun


Raw API.

Introduce new router.rawApi() macro which allows you to access HTTP request's headers and body before it consumed by presto engine.

@cheatfate can we get this merged please?


Config Details

Would it be worth fleshing out the config.json file data? Currently every exercise is difficulty: 1 and have empty topics arrays.
I've been considering creating new exercises that would lend themselves to Typescript specific topics, like tsconfig options, typing with keyof and generic types, etc. Exercises like raindrops are good for picking up the basic syntax, but devs like myself could benefit from these. It would be easier for me to find an exercise like that if I could look for it in the topics.
Thoughts?

Take a look at the F# track, they have detailed topics. I love generics. I also maintain the Swift track and we have some more advanced problems. The Rust track also has a really good story on progressive disclosure of problems difficulties that are specific to rust which could be emulated.


Add recover command for convenient static recovery of node models

$ rosdiscover recover some-config.yml package-name node-name

For now, we can assume that the user has the rosdiscover-cxx-extract Docker image (rosdiscover/cxx-extract) installed on their machine. From that container image, we will need to produce several Docker volumes that provide a portable/standalone installation of rosdiscover-cxx-extract.
The simplest approach to creating those volumes (/opt/llvm11 and /opt/rosdiscover) is to first:

assign a fixed name to the volumes (e.g., rosdiscover-cxx-extract-opt and rosdiscover-cxx-extract-llvm).
check if the named volumes exist. If so, compare the volume's ROSDISCOVER_IMAGE_SHA1 label against the SHA1 of the Docker image for rosdiscover-cxx-extract. If the SHA1 values are different (or if the named volumes don't exist), then we destroy the existing volumes (if any) and recreate new ones. (We also set the ROSDISCOVER_IMAGE_SHA1 label during construction.)

For now, we can perform the above steps in the Makefile or install script for rosdiscover-extract-cxx. On the Python side, we should simply check that those volumes do indeed exist for now. Once those are in place, we continue as follows:

we provision the Docker image for the system-under-test (provided by the config file) and mount those named volumes as read-only volumes. (Right now, we can't do that directly in ROSWire. Either we can add that functionality, or we can simply create the container using Dockerblade and attach to it in ROSWire.)
we update the PATH, LIBRARY_PATH, and LD_LIBRARY_PATH, to include the bin and lib directories from the volumes.
we rebuild the catkin workspace and ensure that compile_commands.json is generated (by passing -DCMAKE_EXPORT_COMPILE_COMMANDS=1 to the appropriate option in catkin or catkin_make). (It would save a bunch of time and redundant computation if we didn't need to do this each time. We should think about ways to avoid this step or else minimise its cost.)
we run rosdiscover-cxx-extract inside the container.
profit!

The first two steps in this approach have been implemented in rosdiscover-cxx-extract. You can build everything that you need to run the tool in any container via:
$ cd docker
$ make install

This has been implemented for a while.


Bug: Contributors chart displays NaN for Average per day while data is loading

The contributors chart displays NaN for Average per day while the data is loading. It seems to only happen for the 30 day range from what I can tell. And it only appears to happen while loading data. Once the data is loaded, it course corrects.
I cam across this while viewing https://app.opensauced.pizza/s/fabian-hiller/valibot

I don't believe this issue only happens only from loading.  For repos with no activity, you will get NaN for average per day.

From RossChart.tsx:
const rangedAverage = useMemo(
    () => (filteredTotal / (stats ? stats.contributors.length : 1)).toPrecision(2),
    [filteredTotal, stats]

I believe there is a missing closing parentheses.

I get this on the torvalds/linux repo page no matter what the time period is.

I think this is what should populate it:

I'm not totally sure how this works, but we're definitely returning contributors for the lottery factor, so I'm not sure why we wouldn't get anyone here.

I get this on the torvalds/linux repo page no matter what the time period is.

Linux is mirror. All code happens off platform and not as GitHub pull requests. I am not sure we'd get events from it.
Wordpress, Linux, and other popular mirrored projects are good for testing but not great for examples or story telling.

@bdougie we are seeing PRs and contributors on the repo pages for linux:

Note that those PRs include opened PRs but not necessarily accepted ones: we may want to make the lottery factor only focused on accepted / closed PRs.

I also notice this on repos that don't have contributions:

It should just say "Average per week: 0" since there are no contributions accepted/merged.

Seeing this for angular/angular:

I visited this page directly from a link off LinkedIn.

@brandonroberts it's about this code:
const rangedAverage = useMemo(
    () => (filteredTotal / (stats ? stats.contributors.length : 1)).toPrecision(2),
    [filteredTotal, stats]
  );

If filteredTotal and stats.contributors.length equal0, it results 0/0, leading to the error.

Thanks @geromegrignon!


Use extra requirements for tox to catch more mypy errors

High-level description
I spotted while bumping DC/OS E2E in another branch that tox -e mypy did not catch as much as it should - in particular an API change in DC/OS E2E (a typed library) itself.
This is because tox was not using the requirements of the test-e2e tests.
This change makes tox more strict by installing those requirements, and it fixes the issues which came up.
Corresponding DC/OS tickets (required)

DCOS-55311 DC/OS tests - E2E test logs are rotated so we are missing logs

teamcity/dcos/build/tox failed so this needs more work I suppose

@mesosphere-mergebot label Work In Progress

Oops, shouldn't be in review!


Can't the PS activated with the program use generative filling?

No, generative filling is something that is run off the cloud server, so they won't let you use their processing power for free.


[Feature] Enable/Disable Auto-scroll

Motivation
When there is a high rate of incoming data, I need to disconnect to review the messages then reconnect.
Detailed design
When you scroll to the last message enable auto-scroll, else disable it.
Alternatives
Make a switch button.

This feature is implemented on https://github.com/emqx/MQTTX/releases/tag/v1.7.0
Thanks for your suggestion, welcome to download.


Resolve Argument Deprecation Warnings

Hello All,
Thanks for your work. Please look into the following deprecation notices.
Issue
We are receiving a few warnings of arguments being deprecated:

I am now receiving failed builds because of source_json not being supported as of today. It appears that source_json will need to be replaced with source_policy_documents, per the updated resource. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document
Would there be any timeframe to this being updated?

@jastephen-squire I faced the same issue today when configuring this module with Terraform AWS provider 5.0, which came out a couple of days ago and deprecated a few attributes, source_json included. I "solved" it by pinning the AWS provider to the latest version supporting the source_json attribute, which is version 4.67.0.


fix: Update unknown names

Correct filenames:

catalogs/sources/gtfs/realtime/unknown-unknown-sonoma-marin-area-rail-transit-smart-gtfs-rt-vp-1576.json
catalogs/sources/gtfs/realtime/unknown-unknown-sonoma-marin-area-rail-transit-smart-gtfs-rt-tu-1577.json
catalogs/sources/gtfs/realtime/unknown-unknown-central-florida-regional-transit-authority-lynx-gtfs-rt-sa-1768.json
catalogs/sources/gtfs/realtime/unknown-unknown-city-of-seattle-streetcar-gtfs-rt-sa-1547.json
catalogs/sources/gtfs/realtime/unknown-unknown-city-of-seattle-streetcar-gtfs-rt-tu-1548.json
catalogs/sources/gtfs/realtime/unknown-unknown-city-of-seattle-streetcar-gtfs-rt-vp-1546.json
catalogs/sources/gtfs/realtime/unknown-unknown-durham-region-transit-gtfs-rt-sa-1467.json
catalogs/sources/gtfs/realtime/unknown-unknown-durham-region-transit-gtfs-rt-tu-1468.json
catalogs/sources/gtfs/realtime/unknown-unknown-durham-region-transit-gtfs-rt-vp-1466.json
catalogs/sources/gtfs/realtime/unknown-unknown-ilevia-metropole-europeenne-de-lille-gtfs-rt-t-u-1792.json
catalogs/sources/gtfs/realtime/unknown-unknown-la-metro-gtfs-rt-tu-1575.json
catalogs/sources/gtfs/realtime/unknown-unknown-la-metro-gtfs-rt-vp-1574.json
catalogs/sources/gtfs/realtime/unknown-unknown-staten-island-railway-gtfs-rt-vp-tu-1637.json
catalogs/sources/gtfs/realtime/unknown-unknown-thousand-oaks-transit-gtfs-rt-sa-1689.json

 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.

Hi @sethherr ! The location data for GTFS Realtime feeds is generated based on the static_reference GTFS Schedule feed. Do you know which GTFS Schedule feeds match these realtime feeds? If so, you can add that to this PR as well and we can change the realtime feed names.

@emmambd the matching GTFS feeds were not miss-named, just these GTFS-RT feeds.
I added the static_reference for 1466, 1467, 1468, 1574, 1575, 1576, 1577, 1689, and 1768
I couldn't find a matching GTFS feed for the Seattle Streetcar (1546, 1547, 1548).
I couldn't find a matching GTFS feed for State Island Railway (1637)
It doesn't seem like 1792 has a matching feed either (1201 is close, but not the same).

@sethherr This is awesome! Is 267 not the matching GTFS feed for Seattle Streetcar? If not, I can ask about it.
516 looks like the right feed for Staten Island Railway. I also found that 1201 was out of date – it should match 1792 now.

It really doesn't seem like 267 is Seattle streetcar, Yakima is not Seattle. I found this website, but couldn't find the actual GTFS data.

516 looks like the right feed for Staten Island Railway.

That seems correct - but that seems like it means that it (1637) should be deleted, and the name property of 1635 should be updated to include Staten Island Railway. I've done that now.
1201 does match now, I updated it.

@sethherr My mistake - based on the agency ids here https://www.soundtransit.org/help-contacts/business-information/open-transit-data-otd/otd-downloads it looks like 1080 is the match for Seattle Streetcar.
Based on https://api.mta.info/#/subwayRealTimeFeeds, it doesn't look like Staten Island Railway realtime is provided in 1637. It looks like both 1637 and 1635 point to 516.
Thank you for doing this cleanup!

Based on https://api.mta.info/#/subwayRealTimeFeeds, it doesn't look like Staten Island Railway realtime is provided in 1637. It looks like both 1637 and 1635 point to 516.

@emmambd are you saying that 1635 shouldn’t be updated to include “and Staten Island Railway”? 1637 has exactly the same information as 1635, so it doesn’t seem like it should be a separate record to me, which is why I deleted it.

@sethherr After opening both, it doesn't look like the same realtime data. Right now, for example, in https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs, I see

trip {
trip_id: "091400_1..S03R"
route_id: "1"
start_date: "20230724"
}
stop_time_update {
stop_id: "142S"
arrival {
time:<PHONE_NUMBER>
}
}

The trip_id matches a trip_id for the 1 Line.
When I open https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-si, I see

trip {
trip_id: "093600_SI..S"
route_id: "SI"
start_time: "15:36:00"
start_date: "20230724"
}
stop_time_update {
stop_id: "S13S"
arrival {
time:<PHONE_NUMBER>
}
departure {
time:<PHONE_NUMBER>
}
}

The trip_id matches a trip_id for the Staten Island Railway route.
It looks like there are 2 realtime feeds that point to the same GTFS Schedule feed that's aggregated all routes together, but https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-si is for Staten Island realtime updates. This matches the Subway Feeds list MTA shares on their developer portal.

Wow, sorry for not looking closely enough - those are indeed different URLs. I've added 1637 back in with a statuc_reference of 516.


Updated 'Whitepaper' section descriptions.

Updated the descriptions which appeared to be incomplete.
The Pact description was lifted directly from https://www.reddit.com/r/kadena/wiki/index
Closes #2

LGTM!


Subaru: inconsistent torque across platforms

Describe the bug
We need to better unstand the torque differences across different subarus.
Here's a plot of 20,000 subaru segments:

Green shades are the Legacy / Outback
Red shades are various other gen1 cars
I'm not seeing a significant difference between the two cars, even with some people who have manually increased the limits or were running before the torque was decreased. We also have stock ES routes that go up to 1400 on extreme turns before it gives up:

Relevant (closed) PRs:
https://github.com/commaai/openpilot/pull/23530
https://github.com/commaai/openpilot/pull/29097
Provide a route where the issue occurs
f284f22298d498cc|2023-05-24--20-25-16--0 | Long drive with 2047

f284f22298d498cc|2023-05-25--21-47-32--0 | Long drive with 3071

f284f22298d498cc|2023-05-25--23-37-31--0 | Route 1: 3071

f284f22298d498cc|2023-05-25--23-45-24--0 | Route 2: Stock Eyesight

f284f22298d498cc|2023-05-26--00-20-30--0 | Route 3: 2047

Subarus
openpilot version
all
Additional info
No response

2017-2019? Impreza, 2018-2019 Crosstrek, 2020 Crosstrek hybrid are 3071 without errors.
This was still less torque than the 2019 Forester which errors over 2047, but was fairly comparable at that point.

What can I do on my preglobal Subaru to help out as well?

Any idea what the torque limit is for a 21 crosstrek?


Can we merge HduInfo and HduType into the same type?

This would mean:

for every test of what type of HDU is currently active, we have to read the information about the HDU, which is multiple more function calls when the HDU is changed

I've added the branch merge-hdu-types for comparisons.

I've decided to progress with this idea, and will be taking it forward from the future. I found a function that was not used anywhere, and have merged two mostly redundant data types.


how to add ioncube loader to phpbrew php?

Ioncube loader location
/usr/lib/php5/20100525+lfs/ioncube_loader_lin_5.4.so
Configuration
/root/.phpbrew/php/php-5.6.22/etc/php.ini
...
zend_extension = /usr/lib/php5/20100525+lfs/ioncube_loader_lin_5.4.so
...

Expected Result
Added ioncube, but when I checked  - no "ioncube"
here is gif-illustration https://i.gyazo.com/eb3841f1c2a10c71557a76b6d2d3ecd4.gif
Platform
OS:
e.g. Linux vm2150. 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686 GNU/Linux

Running PHP: 5.6.22
Installing PHP: 5.6.22

did you restart your web server (apache) ?
btw, make sure you have edit the correct config file. (you can find the loaded php.ini in phpinfo())

Do you resolve your problem Alex? Have the same issue.

The issue is outdated and closed now.


Rework and simplify electrum client, miniwallet and watcher

CompletableDeferred<> is used to handle multiple concurrent calls and provide suspend methods which are much easier to use. For example, to retrieve a transaction you can simply call client.getTx(txid) and you can chain such calls in your message handling loops: this eliminate the need to send messages to yourself and create intermediate states that are just waiting for a response from the electrum client.
I've also remove the NotifyTxEvent event which I believe is not used anywhere.

This looks like a nice cleanup!
I tested it in branch test-pr-411 and I ran into one issue.
The problem we're having on the Phoenix side is that ElectrumClient's connect()/disconnect() functions have been replaced with start()/stop(), but they don't do the same thing. From what I'm reading, start() is expected to be invoked once, and has it's own reconnection logic. And stop(), if invoked, prevents ElectrumClient from working again.
The issue is that, Phoenix has a better understanding of the network state than lightning-kmp. Specifically, it has a NetworkMonitor, which knows whether or not the device has an Intenet connection. This is obviously OS-specific (for example, here's the iOS version). And since Phoenix receives notifications from the OS about the network state, it can better determine when to attempt a re-connect.
And there are other complications. On iOS, when the app is sent into the background, the OS will kill any open network connections (after a brief delay). The Phoenix layer knows when the app is going to be sent to the background, and prefers to perform a clean disconnect on its own.
Unless of course an outgoing payment is in progress when the user background's the app. In which case Phoenix asks the OS for permission to perform a "long-lived background task". If granted, it then keeps the connection(s) open until the payment completes, or we run out of granted time.
 All this logic is implemented in AppConnectionsDaemon. (See AppConnectionsDaemon.TrafficControl) So I think it makes sense to remove the auto-reconnect logic from within ElectrumClient, and allow the external layer (e.g. Phoenix) to handle it instead. (This is also how Peer works - it outsources the reconnection logic.)

Sorry I missed that, I'll restore connect()/disconnect() to their original behaviour.

Rebased and updated to be 100% compatible with the current client and watcher (tested on Android but not on iOS).

I have added a few nits on branch electrum-client-rework-pm.

I have added a few nits on branch electrum-client-rework-pm.

Thanks, I used these changes and also updated ElectrumClient's notification flow to a  Flow<ElectrumSubscriptionResponse>

Why is this PR draft, what's left to work on?

The only thing that I'm unsure of is the handling of NotifyUpToDateEvent but otherwise there is nothing missing that I know of or was reported so far, I'll update the PR status

LGTM

@dpad85 with or without ElectrumWatcher.openUpToDateFlow  (see https://github.com/ACINQ/lightning-kmp/pull/411#discussion_r1149812387) ? Or do you want to add that notification back in another PR ?

So the removal of openUpToDateFlow should be reverted as it is needed by the background watcher in the iOS app. This is ad hoc code that should be cleaned up, but it's outside the scope of this PR.

I've restored openUpToDateFlow and simplified the watcher a bit (there is now one flow for watch events, one flow for up-to-date events)


DnD Replacement

As react-beautiful-dnd has been out of maintenance for long time and it starts to show, we need to replace our DnD library.
Resolves #129

Resolves #51


Test doppler shifting RM grid.

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

Project coverage is 59.86%. Comparing base (2265a3d) to head (69c1ba4).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   58.96%   59.86%   +0.91%
==========================================
  Files          12       12
  Lines         882      882
==========================================
+ Hits          520      528       +8
+ Misses        362      354       -8

Flag
Coverage Δ

unittests
59.86% <100.00%> (+0.91%)
:arrow_up:

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

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


Figure out a sane approach for all the various message types

Slack sends oddly formatted responses which seem to indicate some parsing requirements need to be done client-side.
Images for example look like <http://i.imgur.com/GwPfqZc.jpg>, twitter, youtube, integraitons, etc are probably difficult.

I started some work for this over in https://github.com/atmos/electrogram/pull/11 , but needs quite a bit of work.
From https://api.slack.com/docs/formatting :

URL detection is performed by the server. We do this so that URL detection (a non-trivial operation) is performed consistently across multiple clients

So all urls are going to have the <http://whatever> format, including images, twitter, youtube, etc
It's unfurling that renders images as a real image, and seems we'd need to do that on the client side. I think you need to add a twitter integration to unfurl tweet URLs, but I'm not sure how that looks to a client yet.
Not sure how feasible or practical it is, but it might be super useful to have something capture as many of the different types of messages with something like https://github.com/linkedin/sepia and make it easy to replay them for development and testing.

 Example payloads would obviously go a long way in testing the important types though.

It looks like we want to handle attachments. https://api.slack.com/docs/attachments

So it looks like we need to process the attachments as regular images with different templates.


Design/Experiment with catching specific components like IsZero and providing a more efficient implementation in MPC.

also handled now in #258 , can easily add future ones now


Add config to enable/disable relay features

Add config parameters to turn on/off certain features.
Currently this is mainly used to enable/disable the api endpoints, but
can be later extended to also internally shut down the services.
To not break the current behaviour all features are enabled per default
as before. This will be changed.
Add a proper config validation via marshmallow. To not break it, the old
config is still accepted, but deprecated, and will be removed in the
future.

Codecov Report

Merging #422 into master will increase coverage by 0.22%.
The diff coverage is 49.45%.

@@            Coverage Diff            @@
##           master    #422      +/-   ##
=========================================
+ Coverage   63.87%   64.1%   +0.22%
=========================================
  Files          50      52       +2
  Lines        3618    3808     +190
=========================================
+ Hits         2311    2441     +130
- Misses       1307    1367      +60

Impacted Files
Coverage Δ

src/relay/api/app.py
26.78% <17.74%> (+5.95%)
:arrow_up:

src/relay/main.py
32.87% <21.42%> (-3.97%)
:arrow_down:

src/relay/config/config.py
56% <56%> (ø)

src/relay/relay.py
27.45% <9.37%> (-0.09%)
:arrow_down:

src/relay/config/schema.py
94.87% <94.87%> (ø)

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 77d3b3f...7b9b1ca. Read the comment docs.


IC2 Classic Energy support

I'm not sure if this would be considered a bug? or a feature request? As you may or may not know, Immibis took it upon himself to port all the features (and leave out all of the nonsense of IC2 exp.) of IC2 from IC2 in 1.4.7. That being said, the Universal cables do not currently support energy transfer/conversion to his mod/machines. Of course I'm not sure which side this is on, but I would love to see some functionality added if possible. :)
IC2 Classic 1.7.10 link: http://forum.industrial-craft.net/index.php?page=Thread&threadID=10313
Thanks for the awesome mod!

I see an issue has already been opened, closing this, my bad.


Add flink-filesystem-join-redis example

This pull request adds flink-filesystem-join-redis example

Hi @lindong28 could you please take a look at this PR?

Thanks for the comment @lindong28. I have updated the PR according to the comment.

Thanks for the update. LGTM.


🐛 BUG: wrangler logs success for pages deploy even with Functions failures

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.8.0
What version of Node are you using?
18.17.1
What operating system are you using?
Windows 10
Describe the Bug
When publishing a Pages project with Functions, wrangler will seemingly always report a success, even if the Functions upload fails.
Example:
index.html:

Hello World

functions/_middleware.js:
const a = true;
a();
export function onRequest(context){
	return context.next()
}

Result via wrangler (npx<EMAIL_ADDRESS>pages deploy .):
✨ Successfully created the 'test-functions-errors' project.
✨ Compiled Worker successfully
🌏  Uploading... (1/1)

✨ Success! Uploaded 1 files (1.56 sec)

✨ Uploading Functions bundle
✨ Deployment complete! Take a peek over at https://3f676375.test-functions-errors.pages.dev

But the Cloudflare Pages dashboard shows an error:

And the project isn't actually available. There's no way to get logs about what happened here, so folks are left confused.
This happens periodically in Discord, requiring a Pages team member to pull logs for a deployment ID, as well as on the forum such as at https://community.cloudflare.com/t/wrangler-pages-publish-always-fails-tried-both-with-nextjs-and-with-astro-templates/554749?u=cherryjimbo.

Oh this is currently happening to me

Happening with me as well. The CLI fails to return a warning.

hey folks,
Thank you so much for raising this issue 🫶 . Really appreciate all the details provided 💖
I'm happy to report there's an open PR that addresses this bug. Really excited to be fixing this, as I think it'll be incredibly for our users moving forward 🤗
Feel free to have a look and make your voice heard wrt the proposed solution. Particularly interested in knowing if the logging we put in place there provides you with sufficient information. Feedback is always much appreciated
<3

OMG IT Worked now!!! hahahah, My script is over the 1 MiB size limit!!


Introduce access rights as part of commons package

Disable buttons and add tooltip based on access rights
Add tests
Change prettier formatting definition to 120 characters per line

Closes #19


Need Support for Recursively Defined Message Types

grpc-labview now cannot support recursively defined message types , for example, the below message.
https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto, line 120 - 153
message DescriptorProto {
  ... ...
  repeated DescriptorProto nested_type = 3;
  ... ...
}

When generating code using this proto file, it will report the below error,

I've confirmed in my Python and C++ test environments for gRPC that this recursively defined struct should use pass-by-reference rather than pass-by-value. The latter would result in infinite recursion and memory leaks. LabVIEW typedefs also have the capability to achieve a similar definition using control references, but currently, our toolchain doesn't support this. Could we add support for this feature?
Thank you!
Yongtao Tan
AB#2523253

@Rohith-Grandhi, this is blocking development in MeasurementLink as well as we are wanting to include annotations.proto which includes this descriptors.proto.  I will reach out to you on directly as well.

In the case of annotations.proto, it would be nice if grpc-labview could just ignore the imports rather than throwing an error. In this case, the annotations are just markup to the proto file, and they don't really impact the generated code at all. Or at least they wouldn't have to impact codegen for grpc-labview since the annotations are usually used as part of reflection APIs utilized by more advanced features provided by web frameworks like ASP.NET Core.
This might be related to another item which I would consider a bug which is grpc-labview shouldn't always produce generated code for .proto files that are imported from other .proto files. Instead, I should have the option to link against a standard package which already includes the generated code. For example, this is how the C# language integration with grpc works. This would probably also require grpc-labview to infer or mandate the generated library name based on the proto package name rather than allowing the user to choose the name. Otherwise, there is no definitive way to generate/define the types since the library name is part of the type name in LV. This would also help minimize coercion dots for common imports/types that are generated as dependencies from multiple proto files.


Version 1.0.3

This pull request changes the signature of init() to make logstash_type a required parameter.
I've also created a README for documentation's sake on Github and PyPi :smile:

:+1:


65 mock middleware

fixes #65

Add Mock middleware
Add tests for Mock middleware
Question (do we start doing documentation too?)
Need help: do we declare our own Response? Is it same as IResponse?

Current coverage is 100% (diff: 100%)

Merging #67 into master will not change coverage

@@           master   #67   diff @@
===================================
  Files           7     8     +1
  Lines          69    92    +23
  Methods         1     2     +1
  Messages        0     0
  Branches       17    23     +6
===================================
+ Hits           69    92    +23
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 18a6925...236c315

@wmathes any changes you'd like here?


Docs: Usage of defaultTags is not especially clear

When using defaultTags for the first time in the AWS Provider, I I found the docs on how to configure defaultTags to be a little confusing.  If you look at the screenshot below, it wasn't especially clear how to set this via pulumi config set or how to enter it in Pulumi.stack.yaml manually due to the use of the words "JSON block" and also how "Tags" appears below the option when "Tags" is really the value of the setting itself.

Not entirely sure what tools we have at our disposal to improve.  Could be overriding the docs, or could be a change to how we generate the docs, or could be just adding an example that shows its usage.
FWIW, I ended up adding the config manually to Pulumi.dev.yaml like so:
config:
  aws:defaultTags:
    tags:
      owner: platform-integrations
      repo: pulumi/github-issue-automation

how can this be set from the CLI? the only command I could get to work was this one, but the program failed to run:
> pulumi config set --path 'aws:defaultTags.tags' '{"user:Project": "my_project"}'

but the program failed to run:
error: pulumi:providers:aws resource 'default_6_9_0' has a problem: could not validate provider configuration: Attribute must be a map. Check `pulumi config get --path aws:defaultTags.tags`

other things I've tried:
> pulumi config set --path 'aws:defaultTags.tags.["user:Project"]' my_project
error: invalid configuration key: could not parse aws:defaultTags.tags.["user:Project"] as a configuration key (configuration keys should be of the form `<namespace>:<name>`)

> pulumi config set --path 'aws:defaultTags.tags.user:Project' my_project
# same error as above

> pulumi config set --path 'aws:defaultTags.tags.test' true
error: defaultTags.tags: expected a map

Same problem here:
$ cat Pulumi.yaml
name: pulumi-ecs-nginx
runtime: nodejs
description: An example of ECS Fargate with Pulumi
config:
  pulumi:tags:
    value:
      pulumi:template: aws-typescript
  aws:defaultTags:
    tags:
      value:
        Project: "pulumi-ecs-nginx"
        TechBrownbag: "true"

Diagnostics:
  pulumi:providers:aws (default_6_29_0):
    error: pulumi:providers:aws resource 'default_6_29_0' has a problem: `aws:defaultTags.project` is not a valid configuration key for the aws provider. If the referenced key is not intended for the provider, please choose a different namespace from `aws:`.
    error: pulumi:providers:aws resource 'default_6_29_0' has a problem: `aws:defaultTags.techBrownbag` is not a valid configuration key for the aws provider. If the referenced key is not intended for the provider, please choose a different namespace from `aws:`.

With pulumi 3.129.0
Clear all tags
pulumi config rm --path 'aws:defaultTags'

** Add a tag **
pulumi config set --path 'aws:defaultTags.tags.ManagedBy' 'pulumi'

I didn't find a way to add a tag where the name has a colon , it doesn't seem to be any way to escape the colon and cli thinks there can only be a single colon (<namespace>:<name>):
if you you need to add such name you can always edit the Pulumi.xxx.yaml and add it manually
config:
  aws:defaultTags:
    tags:
      ManagedBy: pulumi
      "user:Project": pulumi

Sometimes editing the file by hand is not possible, e.g. scripts that create new stacks programatically

Sometimes editing the file by hand is not possible, e.g. scripts that create new stacks programatically

I'm not a contributor of this project, but I think the pulumi config set does not support colon : in the tag name (I've opened https://github.com/pulumi/pulumi/issues/17033).
As a workaround you can always edit the file programatically (you don't need to do it manually), instead of using pulumi config set to edit the file you can use yq for example :
yq -i '.config."aws:defaultTags".tags."user:Project" = "my_project"' Pulumi.dev.yaml

the command above set "user:Project" tag in the Pulumi.dev.yaml (dev is the stack name I'm using) , and I see that pulumi reads it ok:
pulumi config get --path 'aws:defaultTags.tags'
{"user:Project":"my_project"}

I agree is less convenient and that why I opened #17033, but I don't think currently a change in the docs (and this issue is about that) can help with the colon in tag name issue. Other than mentioning that is not currently possible, and giving a workaround, that is.

For me the most confusing thing is that there is a difference between how aws:defaultTags is set at the project level or at the stack level.
At the stack level this works:
aws:defaultTags:
  tags:
    key: value

At the project level, the same fails with the message:
error: could not validate '<redacted>/Pulumi.yaml': 7 errors occurred:
        * #/config/aws:defaultTags: oneOf failed
        * #/config/aws:defaultTags: expected string, but got object
        * #/config/aws:defaultTags: expected integer, but got object
        * #/config/aws:defaultTags: expected boolean, but got object
        * #/config/aws:defaultTags: expected array, but got object
        * #/config/aws:defaultTags: doesn't validate with '/$defs/configTypeDeclaration'
        * #/config/aws:defaultTags: additionalProperties 'tags' not allowed

To make it work at the project level, I have to use:
aws:defaultTags:
  value:
    tags:
      key: value

This is very confusing.

@Sodki thanks for your comment. You helped me unravel this mess of formatting.
Why does it behave differently at the project and stack level?

@chrisvander the reason for a different format at project level and stack level is because you can also define the "schema" of your config at the project level. We needed a way to differentiate between the schema and the values.
https://www.pulumi.com/docs/iac/concepts/config/#strongly-typed-configuration

Understood. Is that the reason why defining it without the value: key is resulting in that error? Or is it supposed to handle both cases?


feat(DateTimeRange):  add RenderMode parameter

Datetime Range Render Mode Property
Basically would provide you with a Datetime Range component that would render in two modes:

Double panel.
Single panel.

Description
RenderMode = Single|Double
close #3446 #3393

 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.Ernesto Ramos seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I signed the agreement three times since yesterday but for some reason doesn't appear signed here, please advise when you had a chance.

Signed and fixed the email issue


Whats the right way to store backend specific data associated w/ an endpoint?

I wrote up a question here https://jayunit100.blogspot.com/2022/04/serviceinfo-structs-in-kube-proxy.html
which i ran into when i needed the hnsID stored in the KPNG v1locanet.Endpoint object.
Whats the right way to, for examples, store the HNS ID when using SetService/SetEndpoint implementations, and in general , to cache backend specific data for an endpoint ?

you know I'm going to say it's a no-brainer with fullstate+diffstore2 approach right? :rofl:
The diffstore will store the state you want, and you'll get the extra bonus of being able to have an arbitrary number of values for each kpng object, like multiple HNS IDs for each endpoint. And I given your blog post, it looks like you'll multiple HNS IDs per endpoint, since you'll have one for each port to map.

i guess your right, we could leverage the diffstore for all the extra metadata


[DDW-930] Add a Note to the UTXO Screen

This PR adds a note the the UTXO screen informing the user how many pending transactions exist and how they may affect the data shown on the screen.
Screenshots

Testing Checklist

Slack QA thread

Review Checklist
Basics

[x] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[x] PR is updated to the most recent version of the target branch (and there are no conflicts)
[x] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[x] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[x] Automated tests: All acceptance and unit tests are passing (yarn test)
[x] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[x] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[x] There are no flow errors or warnings (yarn flow:test)
[x] There are no lint errors or warnings (yarn lint)
[x] There are no prettier errors or warnings (yarn prettier:check)
[x] There are no missing translations (running yarn manage:translations produces no changes)
[x] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[x] UI changes look good in all themes (Alexander Rukin)
[x] Storybook works and no stories are broken (yarn storybook)
[x] In case of dependency changes yarn.lock file is updated

Code Quality

[x] Important parts of the code are properly commented and documented
[x] Code is properly typed with flow
[x] React components are split-up enough to avoid unnecessary re-renderings
[x] Any code that only works in main process is neatly separated from components

Testing

[x] New feature/change is covered by acceptance tests
[x] New feature/change is manually tested and approved by QA team
[x] All existing acceptance tests are still up-to-date
[x] New feature/change is covered by Daedalus Testing scenario
[x] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@a-rukin can you please check if the spacings are correct? 🙏

does this container stick to the bottom ith screen is not too high?

@a-rukin please use Storybook to check.

top padding should be 20px instead of 35px
also it is shifted to the right, but actually the UTXO box should be shifted to the left instead

lets use here just padding: 30px;

@a-rukin please use Storybook to check.

I'm using it. Just not sure how to proper inspect this case =/

@nikolaglumac @a-rukin
I changed the margin-top of the note to 20px as requested and changed the padding of the BorderBox component to 30px.

@a-rukin please review again 🙏


Still not able to pass a string as systemInstruction

Environment details

Programming language: NextJs/Node
OS: Windows and Ubuntu
Language runtime version: v20.11.1
Package version: "^1.2.0"

Steps to reproduce
    const generativeModel = vertexai.getGenerativeModel({
        model: modelName,
        generationConfig,
        // TODO: Add systemInstruction
        // systemInstruction: {
        //     role: "system",
        //     parts: [{ text: systemPrompt }],
        // },
        systemInstruction: systemPrompt,
        safetySettings: [
            {
                category: HarmCategory.HARM_CATEGORY_HATE_SPEECH,
                threshold: HarmBlockThreshold.BLOCK_MEDIUM_AND_ABOVE
            },
            {
                category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
                threshold: HarmBlockThreshold.BLOCK_MEDIUM_AND_ABOVE
            },
            {
                category: HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
                threshold: HarmBlockThreshold.BLOCK_MEDIUM_AND_ABOVE
            },
            {
                category: HarmCategory.HARM_CATEGORY_HARASSMENT,
                threshold: HarmBlockThreshold.BLOCK_MEDIUM_AND_ABOVE
            }
        ],
    });

However when I try to send a content object instead of the string, I´m getting a Bad Request:
ClientError: [VertexAI.ClientError]: got status: 400 Bad Request. {"error":{"code":400,"message":"The input system_instruction is not supported.","status":"INVALID_ARGUMENT"}}
Models:

gemini-1.0-pro
gemini-1.0-pro-vision

https://github.com/googleapis/nodejs-vertexai/issues/350

@sebiweise I tested systemInstruction, it works. Please update your nodejs-vertexai package version and try again

Thanks

Yes the 1.5.0 release fixed the issue. Thanks for the response.