Music from sermons

I've noticed that our existing apps (iOS, AppleTV, and I assume Roku as well) use a version of the sermon that does not contain the music. However, the website does show the music. So, I have a few questions:

Are we allowed to display the music in app?
Should we display music in app?

cc @jonhorton @jbaxleyiii

Hey @johnthepink, this is a great question!
Here's what I know:

For most music that we didn't write, we're only licensed to stream it—not make it available for download.
Because of this, we have typically made the version with music available from Ooyala only, while the mp3/mp4 versions of content (available for download via site or podcast) exclude music.

I think it could work to take the same stance within the app.

Watching a sermon can include music, while downloading it uses the existing mp3/mp4 files.
This would also work with the existing process that production has.

Would there be anything preventing that? Thoughts?

@jonhorton Thanks! So, if I'm understanding correctly, the way we have it currently implemented is fine? And then when/if we add the ability to store sermons locally, we would need to use the non-music version? We will need to add the ability to pull both versions from Heighliner at that point.

@johnthepink Yep, current implementation should work! And you're correct, we'd need to use the non-music version for local storage.
For that, we do have the mp4/mp3 version attached to the sermon entry. On the site they show up under the Downloads section, and in the DB, I believe they're a matrix field.
Let me know if you need anything else related to this!

@jonhorton Perfect. Thanks for the info. I'm closing this for now as those features will be separate issues in the future. Just wanted to make sure we didn't need to make the switch now.


SPA support?

I am developing a single page application and would like to use client side routing.
If a static resource was not found it should always return the content of the index.html.
Would this functionality be possible to add?

Technically, such functionality can be implemented on top of the library with middleware (no need for specific in-library support).
However, this whole scenario sounds weird to me. Are you sure /missing-script.js should result with 200 OK and text/html content type? (I'd expect client side routing to properly process relevant HTTP statuses)

I've updated the library to make middleware simpler (to avoid wrapping and capturing response writer).
https://github.com/vearutop/statigz#custom-handling-of-not-found
This is how you can implement such middleware now.
fileServer := statigz.FileServer(st)
customHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    // Serve existing static resource.
    if fileServer.Found(r) {
        fileServer.ServeHTTP(w, r)

        return
    }

    // Do something custom for non-existing resource, for example serve index page.
    // (This is an example, serving index instead of 404 might not be the best idea in real life 😅).
    r.URL.Path = "/"
    fileServer.ServeHTTP(w, r)
})

// Plug static assets handler to your server or router.
if err := http.ListenAndServe("localhost:80", customHandler); err != nil {
    log.Fatal(err)
}

Thank you very much, this is a very clean solution and works flawlessly.


Updated bot for Aug 2023 in4sit

Bot is now updated to support the new in4sit system (as of 26 aug 2023)
Optimised scrapping by skipping unnecessary steps from landing page to timetable page
Added active feedback on status of scrap so user knows what is going on in the backend.
Pushed error codes into error dialogue for easier debugging in future versions

There is still a known issue where scrapping might fail due to inconsistencies in in4sit system (the webpage sometimes hangs infinitely). Just restart the scarp and it should work fine


terminate called after throwing an instance of 'std::runtime_error' error when I run rgb_stereo_node.launch

I am having some trouble running the rgb_stereo_node.launch file with my OAK-D.
$ roslaunch depthai_examples rgb_stereo_node.launch
... logging to /home/eia-lab1/.ros/log/66e7356a-220c-11ec-bced-fc777466ce75/roslaunch-eialab1-AERO-15-X9-8369.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
WARNING: disk usage in log directory [/home/eia-lab1/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

started roslaunch server http://<IP_ADDRESS>:46541/

SUMMARY
========

PARAMETERS
 * /oak_description: <?xml version="1....
 * /rgb_stereo_publisher/camera_name: oak
 * /rgb_stereo_publisher/camera_param_uri: package://depthai...
 * /rosdistro: melodic
 * /rosversion: 1.14.11

NODES
  /
    oak_state_publisher (robot_state_publisher/robot_state_publisher)
    rgb_stereo_publisher (depthai_examples/rgb_stereo_node)

auto-starting new master
process[master]: started with pid [8406]
ROS_MASTER_URI=http://<IP_ADDRESS>:11311

setting /run_id to 66e7356a-220c-11ec-bced-fc777466ce75
process[rosout-1]: started with pid [8428]
started core service [/rosout]
process[oak_state_publisher-2]: started with pid [8431]
process[rgb_stereo_publisher-3]: started with pid [8433]
terminate called after throwing an instance of 'std::runtime_error'
  what():  Couldn't find one of the parameters
================================================================================REQUIRED process [rgb_stereo_publisher-3] has died!
process has died [pid 8433, exit code -6, cmd /home/eia-lab1/catkin_ws/devel/lib/depthai_examples/rgb_stereo_node __name:=rgb_stereo_publisher __log:=/home/eia-lab1/.ros/log/66e7356a-220c-11ec-bced-fc777466ce75/rgb_stereo_publisher-3.log].
log file: /home/eia-lab1/.ros/log/66e7356a-220c-11ec-bced-fc777466ce75/rgb_stereo_publisher-3*.log
Initiating shutdown!
================================================================================
[rgb_stereo_publisher-3] killing on exit
[oak_state_publisher-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete

This is the last commit in the package. Let me know if it needs to be updated. Thanks in advance.
commit c1a35f84cdfcb01bb7764c2d4a6f4b63c85acfd4 (HEAD -> noetic-devel, origin/noetic-devel, origin/HEAD)
Merge: 13e8722 4161eec
Author: Sachin Guruswamy<EMAIL_ADDRESS>Date:   Tue Aug 10 16:48:41 2021 -0700

    Merge pull request #9 from luxonis/noetic-examples-update

    Noetic examples sync with C++ examples - 1

Issue was fixed yesterday and updated to noetic-devel. Can you pull it and test it.

@saching13 Thanks, that fixed the problem!
One follow-up question. I was expecting this launch file to drive the RGB camera as well as the Stereo-pair. However, it looks like it's only publishing the RGB and Depth, but not the Stereo-pair camera images. Is it possible to also publish the left and right stereo images?
/rgb_stereo_publisher/color/camera_info
/rgb_stereo_publisher/color/image
/rgb_stereo_publisher/color/image/compressed
/rgb_stereo_publisher/color/image/compressed/parameter_descriptions
/rgb_stereo_publisher/color/image/compressed/parameter_updates
/rgb_stereo_publisher/color/image/compressedDepth
/rgb_stereo_publisher/color/image/compressedDepth/parameter_descriptions
/rgb_stereo_publisher/color/image/compressedDepth/parameter_updates
/rgb_stereo_publisher/color/image/theora
/rgb_stereo_publisher/color/image/theora/parameter_descriptions
/rgb_stereo_publisher/color/image/theora/parameter_updates
/rgb_stereo_publisher/stereo/camera_info
/rgb_stereo_publisher/stereo/depth
/rgb_stereo_publisher/stereo/depth/compressed
/rgb_stereo_publisher/stereo/depth/compressed/parameter_descriptions
/rgb_stereo_publisher/stereo/depth/compressed/parameter_updates
/rgb_stereo_publisher/stereo/depth/compressedDepth
/rgb_stereo_publisher/stereo/depth/compressedDepth/parameter_descriptions
/rgb_stereo_publisher/stereo/depth/compressedDepth/parameter_updates
/rgb_stereo_publisher/stereo/depth/theora
/rgb_stereo_publisher/stereo/depth/theora/parameter_descriptions
/rgb_stereo_publisher/stereo/depth/theora/parameter_updates

It is possible. You need to add XlinkOut and call the publisher callbacks on that.


Fix typos and grammar in README

Wow there were some bad typos ... thanks!

No problem. Happens to all of us :)


Prepare contribution guidelines

We need to figure out and write down:

How to file issues?
Where to file issues?
What requirements needs to be met to merge a PR?
What is the release workflow?

Example from SCL: https://github.com/sclorg/welcome/blob/master/contribution.md


Add retry_after property to rate limit exception

Fixes #30

Thanks a lot for the PR.
Could you perhaps add some logic in this line and check if it is working?
https://github.com/HuiiBuh/AsyncSpotify/blob/c52a9da60d5963512bb256ea9f4d243d7f1b6844/src/test/endpoints/test_z_rate_limit.py#L31

I added some logic into the test. But I cannot get them to run. I get
The collection of the code did not work. Did the user already agree to the scopes of your app?
I supplied all the environment variables and a dummy cookies.json. But I do not know how to authorize for the tests.

No problem. Thanks for your work.
I will run them.


Key binding with non US keyboard

I am a french user of KWM.
I was used to use shortcuts ctrl+alt-1 to ctrl+alt-0 to move windows to space and  cmd+alt-1 to cmd+alt-0 to go to space.
However, on a french keyboard, you can't bind directly the numbers 1, 2,... as you need to use the shift modifier to access them.
Here is the default characters of 1 to 0 keys:

1->&
2->é
3->"
4->'
5->(
6->§
7->è
8->!
9->ç
0->à
When I try to use these mapping in my kwmrc config, some are working but others doesn't.
kwmc bind ctrl+alt-& window -m space 1 works
kwmc bind ctrl+alt-é window -m space 2 doesn't work
kwmc bind ctrl+alt-" window -m space 3 works
kwmc bind ctrl+alt-' window -m space 4 works
kwmc bind ctrl+alt-( window -m space 5 works
kwmc bind ctrl+alt-§ window -m space 6 doesn't work
kwmc bind ctrl+alt-è window -m space 7doesn't work
kwmc bind ctrl+alt-! window -m space 8 works
kwmc bind ctrl+alt-ç window -m space 9 doesn't work
kwmc bind ctrl+alt-à window -m space 10 doesn't work
Any ideas on how to resolve this ? like use of keycodes ?

I think the addition of keycode support would probably be a good fix for this. Something like kwmc bind mod+mod+mod-key-42

I think the addition of keycode support would probably be a good fix for this.

This should not be an issue as keys are supposed to get translated to keycodes automatically.
See KeycodeForChar() @ kwm/keys.cpp

Can it be related to the encoding of my kwmrc file ? But that seems good as it is in utf-8.
If you look at my test run, you will observe that it's all accentuated characters that fail. Maybe the KeycodeForCharmethod can only retrieve keycodes of characters present in US keyboard ?

CopyCurrentKeyboardInputSource do not allow access to the unicode data, CopyCurrentKeyboardLayoutInputSource do.

From #47

kwmc bind will probably be split into kwmc bindsym and kwmc bindcode or something similar, as a fix for this.

On the branch binding-modes, kwmc bind .. has been split into 2commands.
The old kwmc bind .. is now kwmc bindsym ... It works exactly the same as the old version.
The other one is kwmc bindcode .., which does exactly the same as bindsym, but you give it a keycode in hexadecimal instead of an actual letter.
Say I want to bind the following key, 'å'. On my machine, this has the keycode 0x21.
kwmc bindcode cmd+alt-21 ...

That's awesome and fully functionnal. Big thanks ! 👍


GCP Scanner does not work on older versions of Python3

Affected Component

[x] Crawl
[ ] CredsDB
[x] Scanner
[ ] Test
[ ] Docs
[ ] Python
[ ] GCP APIs

Describe the bug
Currently we are having the following error on older versions of Python3.
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/mshudrak/.local/lib/python3.9/site-packages/gcp_scanner/__main__.py", line 19, in <module>
    from . import scanner
  File "/home/mshudrak/.local/lib/python3.9/site-packages/gcp_scanner/scanner.py", line 40, in <module>
    from .crawler.crawler_factory import CrawlerFactory
  File "/home/mshudrak/.local/lib/python3.9/site-packages/gcp_scanner/crawler/crawler_factory.py", line 43, in <module>
    from gcp_scanner.crawler.storage_buckets_crawler import StorageBucketsCrawler
  File "/home/mshudrak/.local/lib/python3.9/site-packages/gcp_scanner/crawler/storage_buckets_crawler.py", line 24, in <module>
    class StorageBucketsCrawler(ICrawler):
  File "/home/mshudrak/.local/lib/python3.9/site-packages/gcp_scanner/crawler/storage_buckets_crawler.py", line 108, in StorageBucketsCrawler
    def _get_dump_file_dir(cls, config: Dict[str, Union[bool, str]]) -> TextIO | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

To Reproduce
Use python 3.8 + GCP Scanner main branch.
Expected behavior
We need to support older versions of Python at least default versions of Linux, Windows and MacOS. We also need to have tests for older versions of Python3.

This can be solved by replacing TextIO | None with Optional[TextIO], the pipe syntax is newer but in this case the two statements are exactly equivalent.

Thanks @ZetaTwo, it works! I will submit PR soon. I will also make a separate issue to have in mind that we need to test GCP Scanner on older versions of Python3.


Turn off the ESLint rule 'prefer-template'.

Description
@juliatan @bionara @selvach I want your opinion, which version do you find easier to read?
A:
diseasesTitle =
  i18n.t(`disease-cards.${diseasesChosen[0]}.name`) +
  ' ' +
  i18n.t('and') +
  ' ' +
  i18n.t(`disease-cards.${diseasesChosen[1]}.name`);

diseasesTitle =
  i18n.t(`disease-cards.${diseasesChosen[0]}.name`) +
  ', ' +
  i18n.t(`disease-cards.${diseasesChosen[1]}.name`) +
  ' ' +
  i18n.t('and') +
  ' ' +
  i18n.t('more').toLowerCase();

B:
diseasesTitle = `${i18n.t(`disease-cards.${diseasesChosen[0]}.name`)} ${i18n.t('and')} ${i18n.t(
  `disease-cards.${diseasesChosen[1]}.name`,
)}`;

diseasesTitle = `${i18n.t(`disease-cards.${diseasesChosen[0]}.name`)}, ${i18n.t(
  `disease-cards.${diseasesChosen[1]}.name`,
)} ${i18n.t('and')} ${i18n.t('more').toLowerCase()}`;

On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[ ] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Checklist (for submission)

[ ] Analytics/tracking events have been added (if relevant)
[ ] Added new screen(s) to src/features/screens.ts and new Redux slice(s) to mocks/mockedInitialState.ts (if relevant)

Checklist (for reviewers)

[ ] Checked against Figma designs (if relevant)
[ ] Checked that data has been successfully saved to the backend (if relevant)

Out of scope and potential follow-up

@aikewoody I generally prefer option B. 🤷🏻♀


Hacktoberfest Examples: Deleting Documents within Redis

After a document has been added, deleteing it either via the referenced object, or simply by it's ID or key would be instructive for folks.
See #217 before starting.
If you’d like to work on this please mention me @slorello89 or @SuzeShardlow in a comment and we’ll assign this issue to you.
This is part of our participation in Hacktoberfest 2022. Learn how to complete this issue here: https://redis.io/community/hacktoberfest/
Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel

@slorello89  this looks like a really good opportunity, Can you assign this to me?

Hi @rahul-s-bhatt, I've assigned this to you, looking forward to seeing your PR in the next couple of days.  Have fun and please check out our guidelines:
https://redis.io/community/hacktoberfest/
https://github.com/redis/redis-om-dotnet/issues/217

@SuzeShardlow Yes will do, thank you so much for assigning!


IBM COS Plugin v2.2.23 libcrypto.so.1.1 Error

Environment
Openshift cluster version: 4.13.14
Kubernetes version: v1.26.9+52589e6
IBM COS plugin version: ibm-object-storage-plugin-2.2.23
Object storage type: AWS S3
Issue/Bug
When trying to mount a PVC backed by AWS S3 to a pod, the volume mount fails with the following error:
MountVolume.SetUp failed for volume "pvc-XXXXXXXXXXX" : mount command failed, status: Failure, reason:
Error mounting volume: s3fs mount failed: s3fs: error while loading shared libraries:
libcrypto.so.1.1: cannot open shared object file: No such file or directory

Example PVC:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: pvc-test
  annotations:
    ibm.io/endpoint: 'https://s3.us-east-1.amazonaws.com'
    ibm.io/bucket: OUR_BUCKET
    ibm.io/region: us-east-1
    ibm.io/secret-name: pvc-test-accesskey
    volume.beta.kubernetes.io/storage-class: ibmc-s3fs-cos
    ibm.io/auto-create-bucket: 'false'
    ibm.io/auto-delete-bucket: 'false'
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: '1'
  storageClassName: ibmc-s3fs-cos
  volumeMode: Filesystem

Workaround
Uninstall the plugin and installing version 2.2.22 does resolve this issue.

hi @vdymna
We are working on releasing new version with fix.
Mean time please use lower version as you have posted as workaround. Thanks

@vdymna We are aware about the issue. The new helm chart version 2.2.24 with the fix will be available by 24th February 2024.

Thanks @nkkashyap and @mssachan .

@vdymna This issue has been fixed in the chart release 2.2.24. Charts have been released today.
Thank you.


Add robust filtering, pagination and ordering to web service requests.

implement:
?order={asc|desc,asc|desc} --> sortby assumed to be ID when none provided.
?sort=+-key,+-key2 --> order assumed to be asc when not provided.
?key=value(s) --> where key is or has value e.g. age=25 or subcollection.age=25
?filter={"age":25} or {"authors":{"age":25}}
?search=valuelike --> cross key search.
?limit=number --> return max of number items in collection
?offset=number --> return items starting with offset
?fields=a,b,c,d --> return only fields specified.
?page=1
?pagesize=10
Headers should contain filter sorting and pagination data as well as pagination extra data.

an example url could be api/v0/students?fields[students]=name,age&sort=age,name&filter={"age":25}&pagesize=10&page=2

Filter can be extensive and include things like:
api/v0/students?filter>{age:25} or api/v0/students?filter={"name":["Bob", "Jane"]}


[ new ] Add implementation of functions generation

Currently hedgehog has quite a lot of different useful standard generators and combinators of generators, but still lacks generation of functions. This is not an easy thing, however.
I propose a solution, that is, in fact, a blend of solutions from the Haskell's hedgehog, Haskell's QuickCheck and Scala's scalacheck. Generally, it provides two type of function generators, shrinkable one and non-shrinkable one. The first one is simpler in implementation, works faster and supports dependent types, at least to some extent. The second one is based on classic paper on shrinkable and showable functions, and indeed supports generating functions that can be shrunk well and shown nicely in a fail report. But it requires additional from a domain type, and (at least currently, and in the original research) does not support dependent types. So, both approaches are useful.
You can look at my playground that uses proposed generators here. I added those experiments as a test for the hedgehog package, I think it's quite important to test. Since I tested failing behaviour, including output after a test fail and after test shrinking, I used Test.Golden library for that.
I suggested two new interfaces: one for types that can be in domain of generated functions, one for similar types for shrinkable functions. I provided several standard implementations. I also added a derivation configuration to be used with elab-util's derivation mechanism, but I added those only for the first interface. I didn't manage to do this for the second one due to its complexity. Maybe, this is a task for future.
I need to say that I used interfaces here because being able to be in a domain of a generated function is really a property of a type, this differs from standard Gens passing in Hedgehog.

Thanks for adding this. This PR will take some time to digest but I'll try an be quick with reviewing it.
One big stumbling block I see: I'd rather not depend on Test.Golden if we can avoid it for reasons of maintainability.

One big stumbling block I see: I'd rather not depend on Test.Golden if we can avoid it for reasons of maintainability.

Oh, yes, I was afraid of it before doing so. But for testing purposes we need to check the output of failing and shrinking. I can see three variants:

you put up with golden, since it anyway comes with the compiler, probably it's anyway well maintained;
we remove tests that I added from this PR; this functionality shouldn't change a lot, maybe it's acceptable to check it occasionally;
we change check and recheck to be able to accept alternative terminal which, say, uses Writer instead of IO; this will allow us to stay within hedgehog in tests too.

WDYT?

One big stumbling block I see: I'd rather not depend on Test.Golden if we can avoid it for reasons of maintainability.

Oh, yes, I was afraid of it before doing so. But for testing purposes we need to check the output of failing and shrinking. I can see three variants:

you put up with golden, since it anyway comes with the compiler, probably it's anyway well maintained;
we remove tests that I added from this PR; this functionality shouldn't change a lot, maybe it's acceptable to check it occasionally;
we change check and recheck to be able to accept alternative terminal which, say, uses Writer instead of IO; this will allow us to stay within hedgehog in tests too.

WDYT?

The third option (staying in hedgehog) sounds preferable for me, but the necessary changes should go to a new PR.

Sorry, seems I messed up some code locations in my review. Feel free to ask if something is not clear.

I tried to address every comment. Also I rebased upon #37 to address issue of dependence on Test.Golden, now all tests are done without external dependencies.

I've rebased this upon recently changed main


[BugFix] Use correct types to prevent multiwalker init error.

Closes https://github.com/facebookresearch/BenchMARL/issues/46.

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

Comparison is base (b10d37a) 46.47% compared to head (ac84c23) 46.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   46.47%   46.47%
=======================================
  Files          64       64
  Lines        2668     2668
=======================================
  Hits         1240     1240
  Misses       1428     1428

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

Awesome @matteobettini ! I just signed the CLA. Thanks for this work, it looks really nice! :rocket:


["Unable to upload trigger files to S3"] Amplify Access Denied S3 error when trying to push

Describe the bug
So I have had a bit of a frustrating experience with Amplify for one week now. My Code simply would not push since last wednesday for various reasons. The error I am getting now after trying a lot of fixes is an Access denied error for S3. Amplify apparently cannot upload trigger files to S3. I have triple checked, that the IAM User I am using for the push has all required permissions including administrator access to ALL S3 Buckets and administrator access to the Amplify app.
What I have done up to this point:
Opened a new backend environment and push the code there
Opened a completely new amplify app but in the same region and push the code there
Opened a completely new amplify app in a different region and push the code there
Make new IAM users with all required access and try pushing through them
Delete all my DynamoDB tables because of the initial error I had first (Tried to change primary index of a GraphQL type)
Try pulling first -> rewriting my code -> then pushing again

The most recent "Access Denied" seems to have appeared when I last created the new amplify app and tried pushing my code there but it has happened to me before as well.
I really don't know if this is reproducable but I will try my best to describe steps to reproduce.
Screenshots

To Reproduce
Create new Amplify app with default settings
Create new IAM user with following permissions:
-AmazonS3FullAccess
-AmazonDynamoDBFullAccess
-AdministratorAccess
-amplify-APPNAME-dev-APPID-APINAME-1KXA1A3WVSG85-AuthRolePolicy01-1NMRO18LGL14N
-AdministratorAccess-Amplify
-AmazonS3OutpostsFullAccess
-AWSCodeDeployRoleForCloudFormation
-AWSCloudFormationFullAccess
Write some backend code including schema.graphql and two lambda functions
Run "amplify push"

Expected behavior
The code pushes and the backend builds successfully.
Log output
Amplify CLI:
`\ Updating resources in the cloud. This may take a few minutes...e AccessDenied: Access Denied
at Request.extractError (C:\snapshot\node_modules\aws-sdk\lib\services\s3.js:700:35)
at Request.callListeners (C:\snapshot\node_modules\aws-sdk\lib\sequential_executor.js:106:20)
at Request.emit (C:\snapshot\node_modules\aws-sdk\lib\sequential_executor.js:78:10)
at Request.emit (C:\snapshot\node_modules\aws-sdk\lib\request.js:688:14)
at Request.transition (C:\snapshot\node_modules\aws-sdk\lib\request.js:22:10)
at AcceptorStateMachine.runTo (C:\snapshot\node_modules\aws-sdk\lib\state_machine.js:14:12)
at C:\snapshot\node_modules\aws-sdk\lib\state_machine.js:26:10
at Request. (C:\snapshot\node_modules\aws-sdk\lib\request.js:38:9)
at Request. (C:\snapshot\node_modules\aws-sdk\lib\request.js:690:12)
at Request.callListeners (C:\snapshot\node_modules\aws-sdk\lib\sequential_executor.js:116:18) {
code: 'AccessDenied',
region: null,
time: 2021-03-01T18:29:58.746Z,
requestId: '{REQUEST_ID}',
extendedRequestId: '{EXTENDED_REQUEST_ID}',
cfId: undefined,
statusCode: 403,
retryable: false,
retryDelay: 25.349775538283083
}
× Error has occurred during file upload.
AccessDenied: Access Denied
at Request.extractError (C:\snapshot\node_modules\aws-sdk\lib\services\s3.js:700:35)
at Request.callListeners (C:\snapshot\node_modules\aws-sdk\lib\sequential_executor.js:106:20)
at Request.emit (C:\snapshot\node_modules\aws-sdk\lib\sequential_executor.js:78:10)
at Request.emit (C:\snapshot\node_modules\aws-sdk\lib\request.js:688:14)
at Request.transition (C:\snapshot\node_modules\aws-sdk\lib\request.js:22:10)
at AcceptorStateMachine.runTo (C:\snapshot\node_modules\aws-sdk\lib\state_machine.js:14:12)
at C:\snapshot\node_modules\aws-sdk\lib\state_machine.js:26:10
at Request. (C:\snapshot\node_modules\aws-sdk\lib\request.js:38:9)
at Request. (C:\snapshot\node_modules\aws-sdk\lib\request.js:690:12)
at Request.callListeners (C:\snapshot\node_modules\aws-sdk\lib\sequential_executor.js:116:18)
× An error occurred when pushing the resources to the cloud
Unable to upload trigger files to S3
An error occurred during the push operation: Unable to upload trigger files to S3`
Build Log from amplify console:
log.txt
Desktop (please complete the following information):
OS: Windows_NT x64 10.0.18363
Visual Studio Code Extension Host Version: 1.53.2
AWS Toolkit Version: 1.20.0
Amplify CLI version: 4.44.1

Additional context
I noticed, that "region" in the S3 response is null but I don't know if that's relevant or not.
I am actually getting frustrated. My deadline for this project was sunday and I can't upload it please help me!

I also noticed this error in my Amplify console build log right before it initiated rollback:
2021-03-01T17:24:50.125Z [INFO]: UPDATE_ROLLBACK_IN_PROGRESS amplify-{APPNAME}frontend-dev-{APPID} AWS::CloudFormation::Stack Mon Mar 01 2021 17:24:47 GMT+0000 (Coordinated Universal Time) The following resource(s) failed to update: [functioncreatePostAndTimeline].                                  UPDATE_FAILED               functioncreatePostAndTimeline      AWS::CloudFormation::Stack Mon Mar 01 2021 17:24:46 GMT+0000 (Coordinated Universal Time) Value of property Parameters must be an object with String (or simple type) properties
I had an AWSURL in the schema for this function before, but have replaced it with a standart String. I don't know why it keeps throwing this error

I resolved this issue by nuking the whole AWS account and starting completely over. Gonna close this for now.


Enhancing events page

Assuming events card and event button i have made few changes in css of events making it more readable and attractive form

Bruh that's not how you write css

@Virtual4087 can you elaborate your issue so that i can solve it more clearly

@Ctrl-apk You are supposed to enhance the events page by changing the css file used for events page. Just make sure your changes don't affect other functions. Also make sure you attach a screenshot/video showing the changes you made in the page


monitoring-plugins: fix path to ping in check_ping

The path to ping was configured to use the wrapper prior to its removal [1]. This change removed the absolute path to ping/ping6 and added them to the binPath. Only the perl scripts use binPath, and now the C program check_ping fails to find the ping command.
[1] See 759ec1113d0a1d6315b38bd83ec3562dacc08238
Description of changes
Configure the path to ping via absolute path.
I noticed this on 23.11 beta, so this needs a backport.
Before:
❯ ./result/bin/check_ping -H google.com -w 100,10% -c 200,20% -p 2
ping -6 -n -U -w 10 -c 2 google.com
CRITICAL - Could not interpret output from ping command

❯ strace -f ./result/bin/check_ping -H google.com -w 100,10% -c 200,20% -p 2
[...]
[pid 2578908] execve("ping", ["ping", "-6", "-n", "-U", "-w", "10", "-c", "2", "google.com"], 0x7ffedcf9ff70 /* 1 var */) = -1 ENOENT (No such file or directory)
[...]

After:
❯ ./result/bin/check_ping -H google.com -w 100,10% -c 200,20% -p 2
PING OK - Packet loss = 0%, RTA = 8.06 ms|rta=8.060000ms;100.000000;200.000000;0.000000 pl=0%;10;20;0

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 269777 run on x86_64-linux 1

3 packages built:

check-wmiplus
librenms
monitoring-plugins


Replace copies of RuntimeConfig with RuntimeConfigProvider

There are classes we currently use, such as the SqlMetaDataProvider, OpenApiDocumentor, and CostmosSqlMetaDataProvider, that save internal copies of the RuntimeConfig. These classes instead should have a copy of the RuntimeConfigProvider, and when a runtimeconfig is needed they should instead get that runtimeconfig from the provider as needed. This will cause the runtimeconfig to always be the most up to date copy.

@aaronburtle the design doc is not publicly accessible. Doesn't need to be referenced here unless you end up created a markdown file to include in this repo

@aaronburtle the design doc is not publicly accessible. Doesn't need to be referenced here unless you end up created a markdown file to include in this repo

thanks for pointing that out Sean, ill remove from these issues.


What solutions do we have for better names?

When generating types for the server-side the names are not too much of an issue but for the client side they become a little bit too ugly to look at.
E.g. "NewsfeedNewsfeed", "NewsfeedCommentNewsInlineFragment", "AnsweredQuestionAnsweredQuestion", "NotificationFieldsNewCommentInlineFragment", "UserUser" etc.
Logically it all makes sense generating such names but in terms of readibility I'm afraid it doesn't. The solution that comes to mind is to simply write all the ts types manually but this opens too many places for mistakes. Any ideas?
P.s. great work

I have the same questions. I've tried with namespaces but then had real difficulties using them in my CRA application (CRA shows me namespaces are not supported)
For the time being I gave up and live with "ugly" names like AnsweredQuestionAnsweredQuestion

Hi @zenVentzi !
We are currently working on rewriting the TypeScript plugins. We removed namespaces completly, and now we are using Pick<> to generate the result of queries. It means that each query will have only a single TypeScript type, and there will be no duplications/mis-matches/ugly names - only the name of the operation.

Fix available in 1.0.0 👍


Weird routing in the Mission to a farther bus stop

Routing from Gallardo's (18th & Shotwell) to Rossi Playground produces a bike -> 33 -> bike trip like this:

I don't like that this is telling me to bike farther than I have to and out of my way to get on the 33. There's a closer 33 stop at 18th and Mission but it's having me go to 18th and Valencia. And 18th St isn't so bad it's worth detouring to 17th just to go 1 and a half blocks.
This is a good example of the router being too aggressive in avoiding roads without bike lanes. And in my opinion, the direct route on 18th St is a lot safer than riding on 17th St (door zone bike lane) or Valencia, though I realize it's hard for the router to know that from any info in OSM.
Hypothesis for why it's doing this: lower weight than biking the 1 1/2 blocks (or 3 blocks depending how you count) from 18th & Shotwell to 18th & Mission, on 18th Street, a tertiary road with no bike infrastructure.
In principle, I don't object to being routed to a farther away bus stop. We might want to direct users to a farther away bus stop if there's safer infra on the way there. It's more that I don't think this route strikes the right balance between safety and directness.

See also #96

Here's a possibly related issue

While Monterey Blvd is a crummy road to bike on, the router is saying to stay on the bus many extra stops and then bike back when there is a bus stop on the same block as the destination.
Although part of this is bad geocoding; it treats the entrance as being on Joost instead of Monterey for some reason. So it's really trying to avoid one block of Baden, which has a 21% grade. Still, wouldn't you rather walk your bike up if it's only one block?
Repro: Chavita's Mexican Restaurant to Sunnyside Conservatory at 8:25pm on a weeknight


documentation of parsing logic

With the introduction of the new inclusion mechanism, it would be useful to add some more documentation about the parsing logic when the same layer is declared in multiple blocks. Is it true that all but the first modifier declarations are ignored and keybindings from all blocks are taken into account, with later bindings taking precedence over earlier ones ("earlier" and "later" here of course means appearing earlier or later in the file)?
If so, the snippet
[test:S]
a = b

[test:C]
a = c
b = c

[test]
b = d
d = e

would result in
[test:S]
a = c
b = d
d = e

If my understanding is correct, I could add a polished version of the above to the documentation and send a pull request.

This is indeed the current behaviour. I've been reluctant to document it because I haven't decided whether or not declaration behaviour is a feature or a bug. Redundant blocks + precedence based on order are definitely features that are intended to be leveraged by the include mechanism.


MINIFICPP-267 Make inference of MINIFI_HOME more resilient, and grace…

…fully exit if home value is not valid.
Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file?
[x] If applicable, have you updated the NOTICE file?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

I'll get this merged ASAP.


inconsistent naming for enums

Describe the bug
with version 0.16 the uppercase issue with enums is fixed. but there is something with the name of the enum itself that isn't consistent anymore.
this gets generated for the enum:
export enum CIState {
  NONE = "NONE",
  IN_DEVELOPMENT = "IN_DEVELOPMENT",
  IN_USE = "IN_USE",
  IN_REMOVAL = "IN_REMOVAL",
  REMOVED = "REMOVED"
}

and this is the type which references the enum. you'll notice that the enum CIState has a lowercase I in here. this breaks the reference as it is case sensitive. the actual graphql schema has an uppercase I (CIState as in the enum definition)
 export type Desired = {
    ...
    state: Maybe<CiState>;
  };

To Reproduce
don't really have a repro available as the source is cloud source.
Expected behavior
use the name of the graphql schema for naming in all cases.
Schema/Documents
can't porovide the schema
Environment:

OS: WIndows 10
Codegen: 0.16.0
Node: 8.9.1

Additional context
0.15.x used CiState (lower case I) in all places

Fixed in 0.16.1 :)


Improve wording on workspace with no errors

'Clear' for me does not mean without errors. We need a better term here.  looks good to me.. Updated it.


Use check model for approvals

This tweaks the Claim model to use a new Checks table, which gives us more flexibility when we want to reject a claim, or flag it as needing more attention

 A Service Operator is able to mark a claim as "rejected"

 A Service Operator is able to mark a claim as "rejected"

So, I've confirmed that there have been no approvals carried out in production, so I think we can safely merge this without having to resort to the added complication of doing a data migration 👍

 Introduce a check model for claims


Add a sample for the React-Redux starter app

Issue description
I have installed the "reactredux" sample app provided with .net core 2.1, and it does not implement isomorphism. The documentation is for Angular, and I'm struggling to understand how to adapt it for the React app. Please provide examples for React.
Software versions
Check the .NET target framework(s) being used, and include the version number(s).

[x] .NET Core 2.1.402
[ ] .NET Framework
[ ] .NET Standard

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

ID: c771657b-a681-8e8a-52ed-3d974520f528
Version Independent ID: 318e32fc-62f2-c0e5-4658-5729aad48c91
Content: Use JavaScriptServices to Create Single Page Applications in ASP.NET Core
Content Source: aspnetcore/client-side/spa-services.md
Product: aspnet-core
GitHub Login: @gfox1984
Microsoft Alias: gfox1984

@gfox1984 	thanks for the suggestion, we'll consider adding this.


Fixed instructions for vim8, now loads the plugin

My vim8 was not loading the plugin with the native plugin manager. It has to be checked into a subdirectory of start and not directly into start.
This fixes my issues.

Good catch 👍


Pyramid pattern 6 and 26

Fixes #31 and #51
Issues Solved:

Pyramid pattern 6
Pyramid pattern 26

Changes I made:

Created pyramidpattern6.py
Created pyramidpattern26.py

will merge the pr on 10 patterns, code so far has been reviewed

Ok sir

@aryashah2k sir the PR has 10 patterns now. Kindly review and merge it.


add an achievement of winning first place in tahoiya

Slackbot初心者です
お手柔らかによろしくお願いします

Codecov Report

Merging #135 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
+ Coverage   44.39%   44.39%   +<.01%
==========================================
  Files          39       39
  Lines        3895     3897       +2
  Branches      795      795
==========================================
+ Hits         1729     1730       +1
- Misses       1703     1704       +1
  Partials      463      463

Impacted Files
Coverage Δ

achievements/achievements.ts
100% <ø> (ø)
:arrow_up:

tahoiya/index.js
16.43% <0%> (-0.07%)
:arrow_down:

mahjong/index.js
27.07% <0%> (+0.31%)
:arrow_up:

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 b730232...0b6d8ad. Read the comment docs.


Include example output

I think an example would be useful for casual users that don't want to download the repo to see what it does.

This is fixed now, see improved documentation. Also the Ultility got a code cleanup and a huge speed improvement. I'd consider this to be finished at least for the time being, unless somebody sends me code for improvements. (there's a request to add a search function, which I don't need so the person needing it can contribute this)


Added Zod Schema Validation and Error Handling

This PR introduces Zod schema validation and error handling to the project. This is to address issue #4.
1. Zod Schema Validation:

Added validate middleware that uses Zod to validate request bodies.
Created specific Zod schemas for user registration and recall petition endpoints.

2: Zod Error Handling:

Introduced a zodErrorHandler middleware to handle Zod validation errors specifically for routes that require schema validation.

Changes Made
### 1:Middleware:

        - middleware/validate.ts: Middleware to validate request bodies using Zod schemas.
        - middleware/zodErrorHandler.ts: Middleware to handle errors thrown by Zod validation.

### 2: Validation:
        - validation/user.validate.ts: Schema for validating user registration data.
        - validation/recall.validate.ts: Schema for validating recall petition data.
        - validation/index.ts: Export file for all schemas.

### 3: Routes:

        - routes/user.route.ts: Applied Zod validation and error handling for user registration.

Request for Review
Please review the changes to ensure they align with our project's best practices. Specifically, I'd appreciate feedback on:

Schema Definitions: Are the Zod schemas comprehensive and correct?
Middleware Logic: Is the separation of validation and error handling logic appropriate?
Error Handling: Does the approach to error handling maintain clarity and consistency?
Best Practices: Are there any areas where we can improve or align better with our coding standards?

Looking forward to your feedback and suggestions for any improvements.
Thank you!

Updated Changes: Refactor User Module and Common Middlewares
In addition to the previous changes, this update includes:
Recent Changes

Restructured the user module to include registration functionality
Moved common middlewares (validate) to the shared package.
Removed zodErrorHandler and handling errors directly in the validate middleware.
Updated user controller, service, and schemas
Aligned the module structure with the collaborator's suggestions

Reasoning for Changes
These changes were made to improve code organization, reusability, and maintainability. By incorporating registration into the auth module, we've kept related functionality together. Moving common middlewares to a shared package allows for easier reuse across different parts of the application.
Impact on Docker Instances
The changes should not significantly impact the Docker setup. However, the Docker containers should be rebuilt and tested on the staging server to ensure compatibility.
Testing Done

Tested user registration functionality locally
Ensured that other parts of the application were not negatively impacted

Please review these additional changes and let me know if any further modifications are needed.

Updated Changes: Refactor User Module and Common Middlewares
In addition to the previous changes, this update includes:
Recent Changes

Restructured the user module to include registration functionality
Moved common middlewares (validate) to the shared package.
Removed zodErrorHandler and handling errors directly in the validate middleware.
Updated user controller, service, and schemas
Aligned the module structure with the collaborator's suggestions

Reasoning for Changes
These changes were made to improve code organization, reusability, and maintainability. By incorporating registration into the auth module, we've kept related functionality together. Moving common middlewares to a shared package allows for easier reuse across different parts of the application.
Impact on Docker Instances
The changes should not significantly impact the Docker setup. However, the Docker containers should be rebuilt and tested on the staging server to ensure compatibility.
Testing Done

Tested user registration functionality locally
Ensured that other parts of the application were not negatively impacted

Please review these additional changes and let me know if any further modifications are needed.


feat(snapshots): add delete snapshot grpc

nit-pick: You may want to modify commit heading to say implement/provide "delete snapshot grpc"
It's a bit confusing to read add delete snapshot grpc

nit-pick: You may want to modify commit heading to say implement/provide "delete snapshot grpc" It's a bit confusing to read add delete snapshot grpc

Sure would change to that.

bors merge


Newlines inside code blocks are output as

Code blocks that contain \n have them replaced in encodeContent() with
\n, however this isn't necessary for preformatted content.
encodeContent() is called just before the code block check in renderBlockContent(). Not sure whether it'd be better to a) split the newline replacement into a new method, b) move the encoding to after the code block check, or c) undo the replacement for code blocks. Happy to PR one of these!

Can you show us a repro case for this issue?

The following code should cause the behaviour:
import { ContentBlock, ContentState, genKey } from 'draft-js';
import { List } from 'immutable';
import { stateToHTML } from 'draft-js-export-html';

const state = ContentState.createFromBlockArray([
	new ContentBlock({
		key: genKey(),
		text: 'Foo.\nBar.',
		type: 'code-block',
		characterList: List(),
		depth: 0,
	})
]);
console.log( stateToHTML( state ) );

Expected output:

Foo.
Bar.

Actual output:

Foo.

Bar.

The culprit is this line in encodeContent. The code-block type has special behaviour already, but this is after already passing through encodeContent.
(As a suggested patch: remove the BREAK replacement from encodeContent, and run it on the next line after calling encodeContent iff blockType !== BLOCK_TYPE.CODE. I can PR this if you'd like.)

Got it. This does seem to be a bug. Will investigate.

Hi there, im still experiencing this issue in the current build. Was this addressed?


Broken compatibility with OCaml-4.06

#=== ERROR while compiling hmap.0.8.0 =========================================#
# context      2.0.0~rc | linux/x86_64 | ocaml-system.4.06.0 | file:///home/akochkov/data/tmp/opam-repository
# path         ~/.opam/default/.opam-switch/build/hmap.0.8.0
# command      ~/.opam/default/bin/ocaml pkg/git.ml
# exit-code    2
# env-file     ~/.opam/log/hmap-30034-91cfb0.env
# output-file  ~/.opam/log/hmap-30034-91cfb0.out
### output ###
# File "pkg/topkg-ext.ml", line 42, characters 12-25:
# Warning 3: deprecated: String.create
# Use Bytes.create instead.
# File "pkg/topkg-ext.ml", line 71, characters 24-25:
# Error: This expression has type string but an expression was expected of type
#          bytes
# File "pkg/config.ml", line 6, characters 10-24:
# Error: Unbound module Config_default
# File "./pkg/git.ml", line 9, characters 5-15:
# Error: Unbound module Dir

Using the latest version should be fine. (N.B. if you can upstream a constraint for 0.8.0 to the opam-repository it would be nice).

(N.B. if you can upstream a constraint for 0.8.0 to the opam-repository it would be nice).

Apparently someone else noticed https://github.com/ocaml/opam-repository/pull/11975


g1finder.sh needs a global syntax check

Focus in particular on double quotes. Sometimes are frankly unnecessary...

Issue solved by commit fc483bcddecd71687c83b7422ba0a3690017620d.


Basic app design

I have created multiple pages and main and the general skeleton for the home_page
The chat_page is set up but most of its content will be worked on by Thomas and Justin


Add SMTP Config docs

Reference Issues or PRs

What does this implement/fix?
Adds documentation for configuring SMTP in Keycloak, including how to use AWS SES as outgoing mail server
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ X  ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

N/A
Documentation

Access-centered content checklist
Text styling

[ ] The content is written with plain language (where relevant).
[ ] If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
[ ] All links describe where they link to (for example, check the Nebari website).
[ ] This content adheres to the Nebari style guides.

Non-text content

[ ] All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
[ ] If there are emojis, there are not more than three in a row.
[ ] Don't use flashing GIFs or videos.
[ ] If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

Thanks for contributing docs!
Couple of things - you'll need to add this to docs sidebar in order for it show up - here: https://github.com/nebari-dev/nebari-docs/blob/main/docs/sidebars.js#L79
And we keep images in a separate static folder for each diataxis area. Your image should go here: https://github.com/nebari-dev/nebari-docs/tree/main/docs/static/img/how-tos

Thanks for contributing docs!
Couple of things - you'll need to add this to docs sidebar in order for it show up - here: https://github.com/nebari-dev/nebari-docs/blob/main/docs/sidebars.js#L79
And we keep images in a separate static folder for each diataxis area. Your image should go here: https://github.com/nebari-dev/nebari-docs/tree/main/docs/static/img/how-tos

thanks all - ready for re-review

@kcpevey could you do another pass in here, just to make sure I haven't overlooked anything.


CI: update node to v18

Node 18 is now LTS and includes things like native fetch (#2985).
Test Plan:

[ ] Passing CI on this branch

Current dependencies on/for this PR:

main

PR #2986   👈

PR #2985

This comment was auto-generated by Graphite.


Wiki is missing links to the now released iOS and Android adapters

The FAQ page on the Wiki mentions the iOS/Android adapters as "coming soon." I would edit the Wiki myself but can't seem to find the edit button or the wiki branch.

Thanks Joe. Feel free to edit it now. We inadvertently had the wiki set to read-only.

Done!


Incorrect 'applicationPackage' in imports when in buildType with the custom suffix

I was building the template just for the same purpose, when I encountered your solution.
I am using the dependency from within the project in my activity, and wanted to include import to it from the template based on the package name.
I have the debug buildType, which appends the custom ".test" suffix to the packageId for debug purposes.
Based on that, when in AS I have set one of the debug Build Variants,  the template generates import with suffixed packageId, that of course causes errors.

I saw that you in the Activity template, removed the import of R, which is present in out-of-the-box templates in AS, namely this line:
import ${applicationPackage}.R;
so I suspect that you may have encountered similiar problems.
Do we have any field in templating to extract just the base packageId for the purpose of imports?

I couldn't find that field. However, I haven't spent too much time on it. If you find it, can you share with me?

Sure, I also asked the question on caster.io under the relevant course.

Okay, thanks.


PLY {filePath} read error: currently files larger than 2GB are not supported

I have a ply file that is larger than 2G that I need to import, and there is an error when importing.

I looked at the source code because C# NativeArrays has a maximum limit of 2G.

There is a data overflow:

I tried to modify the source code, but the NativeArrays data structure is used in too many places in the project.

Do you plan to support file import of more than 2G?

No plans for that right now, since even if it imported correctly, GPU vertex buffer sizes on many platforms/GPUs/APIs are also limited to like 2GB. So it would start failing later on.


Site down for download

Hello,
I encountered an issue while trying to access the Shell Program website. It seems that the website is returning an error 503. This error typically indicates that the server is temporarily unavailable due to maintenance or overloading.
Could you please look into this issue and provide an update on when the website will be accessible again? I rely on the Shell Program website for important information, and any delay in accessing it could affect my work.
Thank you for your attention to this matter.
Best regards

Also needed to install and website was down ->  therefore went on archive.org and downloaded the package.
https://web.archive.org/web/20240405193715/https://nilesoft.org/download

I also noticed that the nilesoft website is down at this moment. Thank you for the webarchive link to get the setup file.

Yeah, this is the second time I encountered the website being down and used your archive link.
I'll have to pin this page for later

@moudey At this moment I also cannot access the website to download Shell.  Looks interesting 🤔 I'll give it a try

1.9.15 is what i downloaded from Stable, but the context menu is all white instead of being black

1.9.15 is what i downloaded from Stable, but the context menu is all white instead of being black

Update: From the web archive, download the canary version which follows which mode you're in (light or dark), stable will download a newer version that is broken.

Update: Canary version from the webarchive (1.9.14) has this issue, anyone have 1.9.4 it was last working one for me

Does that colored border in the screenshot come from sharex?

yes

Update: Found download for 1.9.6 canary which works for me with no issues
Link: https://web.archive.org/web/20231208150639/nilesoft.org/download


Persist and export HTLC settles per commitment height

To reliably account for movement of funds within a channel, nodes require a reliable record of the htlcs that were settled as we update our commitment. This information could be reconstructed from the forwarding log, invoices db and payments db, but to do so would not be robust enough for our purposes. Part of accounting project, tracked in #3942.
Steps to Completion

Allow nodes to run in accounting mode which indicates that they wish to persist additional information for the sake of reliable accounting. Off by default, enabled by a command line flag
Persist htlc settles by commitment height in a new accounting bucket, with the top level structure similar to the existing openChannelBucket:

[accounting-bucket]
    [channel-point-bucket]
      [commitments-bucket]
        [height-bucket]
          [timestamp]
          [commitment tx hash]
          [htlc-settles-bucket]

Expose this information over a paginated rpc endpoint:

Rpc ChannelCommits (ChannelCommitsRequest) ChannelCommitsResponse

Message ChannelCommitsRequest{
  Oupoint chan_point = 1;
  uint64 start_height = 2;
  uint64 end_height = 3;
  index_offset = 4;
  num_max_events = 5;
}

Message Commit{
  // The height of the commit.
  uint64 height = 1;

  // The commitment transaction hash.
  bytes commitment = 2;

  // The htlcs that were settled by this commit.
  repeated htlc settled_htlcs = 3;
}

message ChannelCommitsResponse{
  repeated Commit commits =1;
}

This information could be reconstructed from the forwarding log, invoices db and payments db, but to do so would not be robust enough for our purposes.

Why isn't the current on-disk information sufficient? If we need to add information that can't be obtained retroactively for existing nodes, then the usefulness of something like this is significantly reduced.
In the past the rationale for this new bucket was that we don't have enough information to correctly identify HTLC level changes on the commitment transaction (we have two HTLCs, they're both gone in the next state, what happened?). Based on my current mental model of the system, we do indeed have all the information we need:

We can identify any outgoing payments by looking in the payment database. The router initiates any state transitions for outgoing payments in the link. Upon restart, any inconsistencies will be reconciled as we need to do so for normal operation.
Any incoming settles can be identified with a combination of the revocation log and the invoices database. If an HTLC exists in one state, but not the other, the invoice DB should be checked to see if we've settled the HTLc. The latest invoice database now also maintains per HTLC level information for each invoice as well.

With that said, is there something I'm missing here?

If we need to add information that can't be obtained retroactively for existing nodes, then the usefulness of something like this is significantly reduced.

I'm don't think it significantly decreases the usefulness. Going forward people will be opening new channels when wumbo arrives, and it will be very worthwhile for them to have a reliable account of how funds move in those channels.
I'm still building up a complete mental model of this part of the codebase, so I'm probably off on this one, but I think the missing information would be for incoming forwarded htlcs (assuming that the forwarding log is not consistent), since they are not in the invoices database.
Had another look at possible solutions, and I think everything we need is in revocationLog + fwdPkg:

Keep revocation log around after channel close, add ChanStatus=Archived
If running in accounting mode, do not delete forwarding package
To get per commit settles, diff commits as expected then look at forwarding log for appropriate height to determine whether the htlcs were settled/failed

I think it's a really important part of accounting to include forwarding information, because that's currently one of the least visible aspects of a channel to people building on lnd; your own invoices/payments are accounted for well enough, but sometimes sats shift back and forth without your noticing (htlc notifier helps, but has the same issue as forwarding log).

With that said, is there something I'm missing here?

@Roasbeef, I think the htlc interceptor settles are missing here.Especially in the case of external invoice handling through the interceptor,

Replaced by #7840, which should achieve this with a much lighter disk footprint.


List TM1 users

Most recent version of my script, with a lot of help from @MariusWirtz

@wimgielis
sorry for the super late reply on this one!! I missed this one.
Thanks for the MR!


Democracy Earth: Reset votes at some interval

What is the problem you are seeing? Please describe.
Votes on DE do not change even though the application has improved.
Votes on DE do not change even though the application has not improved.
How is this problem misaligned with goals of app mining?
The Score of DE does not give any indication about the state of the product, whether it is a high quality app or not, because the score does not change if the app changes.
What is the explicit recommendation you’re looking to propose?

Reset the votes three months
Reward voters if they come back
Add valuable members of the blockstack ecosystem to DE as voters ("renewable membership" every three months)
change the width (?) of the normalization related to the number of votes given. If there are only a few apps that received votes/only a few votes have been given then all apps are close to 0 in the score, if all apps received some votes/all votes have been used then use the current formula.

** Describe your long term considerations in proposing this change. Please include the ways you can predict this recommendation could go wrong and possible ways mitigate.**
Additional context
See to #63 for a proposal to clone vote.blockstack.org to be used by app publishers

I fully agree!
Cryptocracy opted to be part of the pilot app mining, and we were well away from being to a MVP at that time, but unfortunately DE traction seems non existent for Cryptocracy.
We literally 0 DE votes and 0 comments, until this last March mining period. (which would seem to indicate that once we were closer to MVP we are more appealing?)
I also have concerns that voters are not searching very thoroughly through the list of apps since comments are pretty sparse all the way around.
Anyways, I'm not trying to sound like I'm complaining, because I'm not, I've still very optimistic about App mining as a whole.

Have a specific suggestion for the votes? Should they simply reset/expire each month? I read expire after 3 months? Should they decay at a certain rate?

If DE voters were more active a 3 months expiration might be good to avoid votes jumping, but since they are not at least at this stage, I think that a simple reset/expire each month would be fairer to everyone involved.

I agree with @jackveiga here. I think a reset before each round would encourage more voters to reallocate their votes based on current status of the apps they previously voted and this also gives new apps a fairer chance to get votes.

A monthly reset is good as well. The tools should help voters to easily
review their last months votes.
On Fri, 22 Mar 2019, 04:29 Muneeb Majeed<EMAIL_ADDRESS>wrote:

I agree with @jackveiga https://github.com/jackveiga here. I think a
reset before each round would encourage more voters to reallocate their
votes based on current status of the apps they previously voted and this
also gives new apps a fairer chance to get votes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/blockstack/app-mining/issues/72#issuecomment-475481920,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYcWVcIa1d8PMpCa-u5jlDxB0rsGnkSks5vZE4YgaJpZM4cAY9X
.

@GinaAbrams // @jeffdomke
Any update on this one?

We're working on this and plan to have an update here next week. Thanks for your patience. 🙏

Closing this as well given the decision on #92.


Move /profile links to /account/profile

Closes #484

Coverage remained the same at 89.056% when pulling ba8250cfabcd4d10b7d11007ed6d085f59dc59a0 on eatonphil:move-profile-links into e67cfee74df3091f43d967e59a17251c113e36cc on linode:master.

thanks!


GD-26: Parameterized tests are incorrect grouped

The used GdUnit4 version:
GdUnit4 v4.2.1
The used Godot version:
Godot v4.2.1
OS including version:
Windows 11
Visual Studio Code 1.85.1
Describe the bug
See here https://github.com/microsoft/vscode-dotnettools/issues/841
Steps to Reproduce
Open the TEST EXPLORER and check against .NET TEST EXPLORER

From the answer we have to check https://github.com/microsoft/vstest/blob/main/docs/RFCs/0033-Hierarchy-TestCase-Property.md


Chart scale options overridden with defaults

Expected Behavior
Scales should render with provided configuration options.
Current Behavior
Scales maintain default values.
Steps to Reproduce
Fiddle here. As you can see in the console log, the scales object post-render is much different.
Context
I'm trying to render a chart with no gridlines or labels. Something like:

I've tried hiding the scales/ticks/labels multiple ways, this seems to work in v2 (Fiddle).
  options: {
    scales: {
       xAxes: [{
        display: false
      }],
      yAxes: [{
        display: false,
        ticks: {
          display: false
        },
        gridLines: {
          display: false
        },
      }]
    }
  }

Environment

Chart.js version: 3.0.0-beta.4
Browser name and version: Chrome 88.0.4306.0
Link to your project: Fiddle

@fotijr in v3, the scales option format has changed. It's no longer two arrays but is instead a map of scale ID to options. See https://jsfiddle.net/wLs6hdyk/

That did it, thank you @etimberg!
I see the documentation still has the old format (like here), would a PR be welcome updating the scales format or is there already an effort underway to update docs?

@etimberg not sure if you saw my question on documentation, would a PR be helpful or is someone already working on this?


Init making stampit flexible

I didn't update README yet. Will be updated with #71.
@ericelliott, @LegitTalon, @troutowicz please review.
Cheers.

Sorry rushing you up. I intend to finalize v2.0 with few days time. This PR is what holds us down. Does anybody want to take a look? Run tests? Browse the code? I would prefer to run this project collectively if possible.
Cheers

@koresar Been busy, I can look over it later today.

Thanks mate. The main changes to stampit.js are around line 131. The corresponding tests are in the test/init.js.

The tests are organized much nicer :+1:

I felt like having "npm start" is kind of misleading for a utility module. So I replaced it with more useful "prepublish" hook to make sure none publishes untested code. :)

Done.

Awesome.
I'm running into a jshint error with test/*...seems to work passing test without the slash+wildcard.
mixer.js also has some lint errors.

Why is mixer.mixIn designed to need to use .apply couldn't it just use a param instead of this and be much more performant?
https://github.com/ericelliott/stampit/blob/init-making-stampit-flexible/stampit.js#L54

@unstoppablecarl Would be possible if the arguments were known for .mixIn..but I don't think it would be worth duplicating the function for an optimization.

What about using a faster .apply ?
Especially when not using any context.
https://github.com/codemix/fast.js/blob/master/function/applyNoContext.js

I'm wondering the same @unstoppablecarl. What does the current implementation do differently than:
function addRefs(fixed, states) {
  fixed.refs = fixed.state = mixer.mixIn(fixed.refs || fixed.state, states);
  return fixed.refs;
}

And why are we returning fixed.refs?

Actually, is this not doing the same?
function addRefs(fixed, states) {
  mixer.mixIn(fixed.refs || fixed.state, states);
}

@troutowicz No, objects is being listed as a parameter, but is not being used. The function is looping through the arguments Object.assign style. see: https://github.com/ericelliott/stampit/blob/init-making-stampit-flexible/mixer.js#L25

When will you have source.fixed.state and not source.fixed.refs ?
The same for all the other || fallbacks ?

This is support for legacy stamps.

objects is being listed as a parameter, but is not being used. The function is looping through the arguments Object.assign style.

This can be fixed after upgrading stampit 2.0 to use ES6 using rest params. Instead of specifying an unused formal param, we can just use ...args in the function signature, which will give us an array of all the objects.

@JosephClay If you look at the mixin function, objects is never used... arguments is actually whats being used in the loop. And as far as I can see, stampit never passes in more than two objects (destination and source). Am I missing something?

Ah, I see why we are setting fixed.state or fixed.refs then returning.... its for chaining.

I wouldn't worry too much about nitpicky implementation details unless you spot something that's really slow. What you should do is:

Download it
Test & lint
Do all the tests pass?
Look at all the tests. Do they really cover what they're meant to cover? Do the tests make sense?
Look at the implementation. Does it look correct? (Note, correct and how you would implement it are two different things).

If you see something and there is clearly a better way, or a learning opportunity for the team, feel free to speak up.
Code reviews shouldn't slow everything down and lead people into bikeshed discussions. They should be a basic code quality protection, just so we all have a bit more peace of mind that the code does what we say it does.
The only thing that matters in software development is that the users love the software. Does it look like it would work and you would love to use it? =)

@ericelliott Agreed
@troutowicz I think we're both saying the same thing

I'll see what I can do about the comments above in 12 hours.

I'm running into a jshint error "cannot open test/" with test/...seems to work passing test without the slash+wildcard.

You were probably running old JSHint. No worries. I've fixed that with last commit. npm run test/index.js.

I'm wondering the same @unstoppablecarl. What does the current implementation do differently than:

All the proposed implementations above simply break tests. Try it. :)
The tests are very comprehensive, my friends. Very.

What about using a faster .apply ?
I'd prefer later stage optimizations. Premature optimizations are general evil. (I specialize on application performance for few years now.)

Let us think of performance when somebody hit bottleneck and claim it's because of stampit. ;)
Nevertheless, it would be awesome to see a performance optimizing PR after we release v2.0.
In fact, I did analyze performance of stampit. The only bottleneck is the function factory(). That's why you can find few if statements there. ;)

Changes:

Linting every JS file we wrote.
Fix linting.
Rename unusual mixIn to mixin. Leave alias for compatibility of course.
Add comments to those weird || operators. Hopefully, this will help future code readers.

Good stuff. Great discussion, my only concern is documentation but it looks like #83 incapsulates that. :+1:

Is there an .assign alias as well as .mixin and .mixIn?

Yes, there should be one. Thanks for the reminder.

Are there tests for the aliases? I didn't see them...

There are no tests for stampit.method aliases as of yet. I wanted to add them though.

:+1:


Fix release process, uniform use of --debugger

Release builds were not including -I /usr/lib/kevm/include/kframework in their builds, which leads to the release failing for non-provex definitions.

Option --debugger is now used to enable the Java backend debugging capabilities too, instead of having a separate function.
Makefile adds -I $(INSTALL_INCLUDE)/kframework and similarly for the blockchain-k-plugin to every build.

Evidence this works: https://office.runtimeverification.com/jenkins/blue/organizations/jenkins/KEVM/detail/PR-1127/1/pipeline

LGTM. I'll let @0xverif take a look at it too.

Looks good to me as well

@gtrepta it was because of the missing -I ... in the Makefile. So the semantics is built in the KEVM directory, where that -I doesn't exist, then everything is copied over to the global installation directory /usr/lib/kevm/.... Then the global install wasn't correctly searching itself for the needed files, only looking ni the local directory ./.build/usr/lib/kevm/.... I just add these -I options globally, so that all builds of KEVM from the repo will consider files from the global directory as well.


Remove boost system from cmake

I dont see it anywhere being used.

Sounds good. The only boost library is used here: https://github.com/KjellKod/g3sinks/blob/master/logrotate/src/LogRotateUtility.cpp
I have not, however checked if boost::filesystem depends on boost::system

I think you might be right !
I was linking to system for other stuff so I never saw the linker error
Double checking.

It seems that the 3 header files below are used, so you were correct
#include <boost/system/api_config.hpp>
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>


Add benchmark for biped problem

In GitLab by @cmastalli on Aug 26, 2019, 23:59
null

In GitLab by @cmastalli on Aug 29, 2019, 14:07
mentioned in merge request !209

In GitLab by @cmastalli on Aug 29, 2019, 14:12
assigned to @cmastalli

In GitLab by @cmastalli on Aug 29, 2019, 14:29
closed


Bug report: brew cask install cakebrew fails with errors

Description of issue
When trying to install cakebrew via the command on OSX 10.11.6
brew cask install cakebrew
I got the following error:
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3530, done.
remote: Compressing objects: 100% (3515/3515), done.
remote: Total 3530 (delta 31), reused 166 (delta 11), pack-reused 0
Receiving objects: 100% (3530/3530), 1.14 MiB | 205.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
Checking connectivity... done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/metagrowler.rb
undefined method `cask' for Formulary::FormulaNamespace0a3fc67eb7f20792f6a4ee633903a783:Module
Error: Cannot tap caskroom/cask: invalid syntax in tap!
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Homebrew/Library/Homebrew/tap.rb:226:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:147:in `process'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:24:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'

I then proceeded to https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md and followed those instructions. The commands detailed there failed as well:
$ cd $(brew --repo); git fetch; git reset --hard origin/master
HEAD is now at edf042e Merge pull request #1522 from MikeMcQuaid/audit-one-previous-commit

$ brew untap phinze/cask; brew untap caskroom/cask; brew uninstall --force brew-cask
Error: No available tap phinze/cask.
Error: No available tap caskroom/cask.

$ brew cleanup; brew cask cleanup; brew update
Warning: Skipping cloudfoundry/tap/cf-cli: most recent version 6.22.2 not installed
Warning: Skipping git-lfs: most recent version 1.4.4 not installed
==> Tapping caskroom/cask
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3530, done.
remote: Compressing objects: 100% (3515/3515), done.
remote: Total 3530 (delta 31), reused 166 (delta 11), pack-reused 0
Receiving objects: 100% (3530/3530), 1.14 MiB | 718.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
Checking connectivity... done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/metagrowler.rb
undefined method `cask' for Formulary::FormulaNamespace0a3fc67eb7f20792f6a4ee633903a783:Module
Error: Cannot tap caskroom/cask: invalid syntax in tap!
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Homebrew/Library/Homebrew/tap.rb:226:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:147:in `process'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:24:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
Already up-to-date.

So I'm now not sure what went wrong or how to fix it.
Output of `brew cask  --verbose`
==> Tapping caskroom/cask
git clone https://github.com/caskroom/homebrew-cask /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask --depth=1
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3530, done.
remote: Compressing objects: 100% (3515/3515), done.
remote: Total 3530 (delta 31), reused 166 (delta 11), pack-reused 0
Receiving objects: 100% (3530/3530), 1.14 MiB | 444.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
Checking connectivity... done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/metagrowler.rb
undefined method `cask' for Formulary::FormulaNamespace0a3fc67eb7f20792f6a4ee633903a783:Module
Error: Cannot tap caskroom/cask: invalid syntax in tap!
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Homebrew/Library/Homebrew/tap.rb:226:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:147:in `process'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:24:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
Error: Kernel.exit

Output of `brew doctor`
Your system is ready to brew.

Output of `brew cask doctor`
==> Tapping caskroom/cask
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3530, done.
remote: Compressing objects: 100% (3515/3515), done.
remote: Total 3530 (delta 31), reused 166 (delta 11), pack-reused 0
Receiving objects: 100% (3530/3530), 1.14 MiB | 175.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
Checking connectivity... done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/metagrowler.rb
undefined method `cask' for Formulary::FormulaNamespace0a3fc67eb7f20792f6a4ee633903a783:Module
Error: Cannot tap caskroom/cask: invalid syntax in tap!
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Homebrew/Library/Homebrew/tap.rb:226:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:147:in `process'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:24:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'

Duplicate of https://github.com/caskroom/homebrew-cask/issues/26815.

Closed as duplicate.


pagerFormat

Hi all,
I have two external pagers (top and bottom) and I'm using a div to place it where I want like so.
It all works fine (top and bottom)
Top pager:
pagerFormat: " {itemCount} results {prev} {pages} {next} "
I wanted the bottom pager to just show {prev} {pages} {next} without the {itemCount}
But I can't customize it as such when I manipulate it on onDataLoaded via a function
My question is: is jsGrid customizable as such?

Hi,
Since you have only single pageFormat by default both pagers will have the same format. What you could do is to change the one pager in onRefreshed callback (find the element with jQuery and just change its content).

Hmmmm. So onRefreshed do I initialize pagerContainer, pagerFormat again without the {itemCount} results? Cause changing the jsgrid-pager class without the results (and just the pager) is not working

One ugly hack:
onRefreshed: function(){
$('.pager').find('div.jsgrid-pager:not(.jsgrid-pager-page .jsgrid-pager-current-page)').css( "color", "transparent" );
}
or however you want the {itemCount} to be hidden

Yes, something like that. Glad that you figured it out.
Agree this is a big hacky, but the scenario is also pretty custom.


Put code on GitHub?

Hey! This mod looks really useful.
Any change of putting the code in this repository? Then I can just clone this repo to install it.

Oh wow, I forgot that I have this account and repo. Was too lazy to learn basic git when I wrote this, code is up now. Have fun!

Ah, awesome - thanks!


Translations Framework Suggestion

Hey guys,
referencing https://github.com/kas-catholic/confessit-web/issues/6
this isn't by any means a serious or full implementation, but I could at least share with you the way that I've implemented translations in my react app chrome extension https://chrome.google.com/webstore/detail/memento/jfpnlhmdmlfbjejmnfgacgkkligneihb.
It basically just works on translation config files and a service which is initialized at the App load, which helps to build the sinsDB on app render.  As I said, the ui implementation is a bit hacky in order to just quickly get a representation together, one shouldn't use 'forceUpdate' by any means.
It's definitely a more programmatic approach to translations, but I must say it works rather well for me as well as for my company.
You should be able to build the app to test it out. Cheers!

Thanks for the PR! I might not have time to take a thorough look at it 'til this weekend but I'll try to get it done soon.

@kas-catholic  of course take your time :)  I published a netlify page from my own repo in case it helps with the preview:
https://618b7f63b84c8ca8dfd3f71d--optimistic-mayer-296ef3.netlify.app/

@evang522 First of all, thank you for this PR. I appreciate your thoughts and insight, and I like the simplicity of this approach.
Your PR pushed me to take a more serious look at getting translations implemented, something I've wanted to do for a while and never got around to. I compared your suggestions here to i18next, a framework I had looked into a little bit and researched more in the past few days. I ultimately decided to move forward with i18next rather than your solution. The simplicity of your approach was a big draw for me, but after experimenting with i18next for a bit I found that it doesn't seem to introduce a burdensome amount of complexity, and I like using a well-documented library that can handle (and has probably already solved) all the complexities we might run into without additional work.
From my experimentation, I've begun implementing i18next have merged the core bits to main, though I haven't moved 100% of our strings to it yet. If you'd like to contribute to that effort, your help would be welcome - let's discuss in #6 or over Slack to avoid duplicating work. The plan will be, roughly:

Move all English strings to the translation file.
Add one or more additional languages.
Add languages to a language switcher as they become available.

@kas-catholic  Yep, I get wanting the framework build around it.  I hope the implementation of i18 goes well. I will try to see if i've got some time for it sometime soon though I am a bit busy the next weeks :+1:


Missing end portal spawn point causes a drop into the void when returning from a gateway

Setup:
1.14.4 with Fabric Loader, Immersive Portals v0.27 as the only mod
To reproduce:

Create a new world with seed "angus" (all lowercase) and enable cheats
Spawn the needed items, and set the difficulty to peaceful to get rid of silverfish and endermen
/difficulty peaceful
/give @a ender_eye 12
/give @a ender_pearl 12
Warp to the end portal
/teleport @a -993 37 -1205
Light the end portal, take a note that underneath the end portal is the exit portal at the dead center of the boss arena
Enter it and quickly warp to a gateway, one is located here
/teleport @a 949 62 -1878
Throw an ender pearl in

Why does this happen?
Because during step 4, the spawn point in the end was supposed to be over the void (100, 49, 0), and the gateway warps you back to where that was. Had Immersive Portals not been installed a platform of obsidian would have generated underneath this spot.
You can verify this by attempting to reproduce the issue a second time without the mod installed.

Do you mean that the obsidian platform in end spawnpoint is not generated? It seems that this issue is not correlated with a special seed or position.

The vanilla end gateway portal destination selection is not simple.

I added the obsidian platform generation and it works fine in your seed. The platform will be generated every time a player enters the end portal.

Please check 0.28 version.

Yeah it was the platform, just a bit hard to explain. I'll check it out later tonight, thanks!


java.lang.NullPointerException

First Thanks For Your Great Lib.
`OkHttpClient client = new OkHttpClient();
            .url(url)
            .build();
        client.newCall(request).enqueue(new Callback() {
            @Override
            public void onFailure(Call call, IOException e) {

            }

            @Override
            public void onResponse(Call call, Response response) throws IOException {
                final String responseData = response.body().string();

                if (responseData != null) {

                    MainActivity.this.runOnUiThread(new Runnable() {
                        @Override
                        public void run() {
                            //Handle UI here
                            DownloadeTxtTv.setText(responseData);
                         }
                    });
                }
            }
});`

I have SomeThing like that  which show NullPointer
I Run it On UiThread but doesn't differed ;
What Should I

Can you post this on Stack Overflow with the okhttp tag and with the code and the stacktrace?

http://stackoverflow.com/questions/38469334/java-lang-nullpointerexception-okhttp-settext-to-textview-onresonse

No action to take here.

My Problem is Not SOLVED :)


SIP-27: BLS-12381 Encryption Key Management for Non Private Key Wallet

this SIP is currently being repurposed, deprecating this for now and will resend


perf: eliminate boxing with lists

simplify list setter and eliminate unnecessary boxing

:tada: This PR is included in version 3.10.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


jQuery function "sortable" not allowed for use in WordPress.

Simply doesn't work. Renaming the jQuery plugin function to something else fixed the problem.

https://github.com/RubaXa/Sortable/blob/master/CONTRIBUTING.md#issue

right.. well its tough duplicating a WP issue there, and as far as i can tell there are no WP tickets and its still called .sortable in the dev branch.

I do not understand what you're doing, attach an example.

Its hard to demonstrate as i need a full WordPress install.
BUT its a simple concept: Essentially, because of namespace and conflict with jQuery 'sortable' will not work inside of WordPress.

How's that? Can you describe more details the problem? Who, with whom and how it conflicts?

It simply gives a 'function doesn't exist' error.

$('..').sortable or what?

Yes jQuery UI uses the same function
—
Andrew Powers CEO PageLines
@arpowers on Facebook,Twitter and LinkedIn
On Thu, Feb 19, 2015 at 9:49 AM, Lebedev Konstantin
<EMAIL_ADDRESS>wrote:

$('..').sortable or what?
Reply to this email directly or view it on GitHub:
https://github.com/RubaXa/Sortable/issues/281#issuecomment-75100518

Why do you use two libraries? Choose one. In addition, you can always use Sortable.create (even better to use).

Not always that simple, but in this case it didn't matter if I was using JQuery or not. wp blacklists the function
—
Andrew Powers CEO PageLines
@arpowers on Facebook,Twitter and LinkedIn
On Sun, Feb 22, 2015 at 12:07 AM, Lebedev Konstantin
<EMAIL_ADDRESS>wrote:

Why do you use two libraries? Choose one. In addition, you can always use Sortable.create (even better to use).
Reply to this email directly or view it on GitHub:
https://github.com/RubaXa/Sortable/issues/281#issuecomment-75424877

I do not understand what you want from me? Use Sortable.create and no problems.

Sure workarounds are easy enough. I just changed the function name in the wrapper
—
Andrew Powers CEO PageLines
@arpowers on Facebook,Twitter and LinkedIn
On Sun, Feb 22, 2015 at 3:09 AM, Lebedev Konstantin
<EMAIL_ADDRESS>wrote:

I do not understand what you want from me? Use Sortable.create and no problems.
Reply to this email directly or view it on GitHub:
https://github.com/RubaXa/Sortable/issues/281#issuecomment-75430376

If I understand you correctly, then done:
grunt jquery:mySortableFunc → jquery.fn.mySortableFunc.js


⚠ SceneTime has degraded performance

In 939da84, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1411 ms

Resolved: SceneTime performance has improved in f8414dd after 6 minutes.


Add roundtrip test for model files

Fixes #682. It was already fixed, but this ensures it with an extra test.

The binary diff on the database is probably too brittle. It would be more convenient to use sqldiff, which gives:
❯ sqldiff 1\database.gpkg 2\database.gpkg
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.855Z' WHERE rowid=1;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.874Z' WHERE rowid=2;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.891Z' WHERE rowid=3;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.902Z' WHERE rowid=4;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.911Z' WHERE rowid=5;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.926Z' WHERE rowid=6;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.937Z' WHERE rowid=7;
UPDATE gpkg_contents SET last_change='2024-01-30T09:47:02.947Z' WHERE rowid=8;

I cannot seem to get that tool from conda-forge though.
I wonder why Python 3.10 and 3.12 are different though, only on Windows.

This now compares the DataFrames rather than the GeoPackage bytes.


Failed assertions don't mark the test as failed

I'm testing a Webservice which is doing a POST /_validate.
This service returns a 400 status code.
I wrote the following code:
    @Test
    void testPostValidate(Vertx vertx, VertxTestContext testContext) {
        WebClient webClient = WebClient.create(vertx,
                new WebClientOptions()
                        .setDefaultHost("localhost")
                        .setDefaultPort(HTTP_PORT));
        HttpRequest<Buffer> request = webClient.post("/_validate");
        request.send(testContext.succeeding(result -> testContext.verify(() -> {
            logger.fatal("CODE {}", result.statusCode());
            assertEquals(200, result.statusCode());
        })));
    }

This is producing, which shows that the error code is 400:
17:29:31,071 FATAL [f.b.w.i.WebhookVerifyBadContentlIT] CODE 400

But the test never fails JUnit and I don't understand why. I think I followed instructions there though.

A fix is coming @dadoonet

Hi @jponge ,
May I ask which version has the fix? I am still having the problem on version 3.8.5
Thanks,
Alex

3.9.1 / 4.0.0

3.9.1 / 4.0.0

Thanks!


Remove default handling of build options from Makefile

The handling of option defaults is already done in CMakeLists, it
is no good practice to duplicate the logic in the Makefile.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

LGTM

LGTM


Warning about fork was not displaying database name due to TSQL

Type of Change

[X] Bug fix (non-breaking change, fixes # )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Approach

Commands to test

Screenshots

Before:

After:

Learning

I just made it match what was in the warming message.
$result.name
Sent from my iPhone

On Apr 7, 2020, at 4:36 PM, Shawn Melton<EMAIL_ADDRESS>wrote:

@wsmelton commented on this pull request.
In functions/Get-DbaDbBackupHistory.ps1:

@@ -429,7 +429,7 @@ function Get-DbaDbBackupHistory {
if ((Get-PSCallStack)[1].Command -notlike ' Get-DbaDbBackupHistory*') {
$forkCheckSql = "
SELECT

                           database_name,

                           database_name as 'name',

Can you make the alias databasename instead?
Or simply update the referenced property name to be database_name instead of it using name.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Understood. Since we are fixing it though, I'd prefer to just correct the property name and reference.
Name is to generic and would require you to look at the query to figure out "name of what"...

Sounds good. Did not want to make too many changes that would cause larger questions.
I will update and send again.
Sent from my iPhone

On Apr 7, 2020, at 4:43 PM, Shawn Melton<EMAIL_ADDRESS>wrote:

Understood. Since we are fixing it though, I'd prefer to just correct the property name and reference.
Name is to generic and would require you to look at the query to figure out "name of what"...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you both 🙇  Apologies for the delay.


M365 CLI - Bulk library generation

Closes #274
Remarks

m365 spo list view add command is in preview at this moment. You should use v5.3.0 preview version of M365 CLI
Replaced the TargetSitePartUrl and the PartTenant parameters by TargetWebUrl. Right now we assume that the target SharePoint URL is "https://$($PartTenant).sharepoint.com/sites/$($TargetSitePartUrl)". This is not always the case, tenants are able to use other prefixes than /sites.

Thank you @milanholemans 👏 for taking time to contribute - it is highly appreciated. This will be live shortly 😊
@Adam-it thank you for testing the sample as well ✨😁

@milanholemans - Do you have a Twitter Handle for Socialization of the sample? No worries if not.

@milanholemans - Do you have a Twitter Handle for Socialization of the sample? No worries if not.

Am one of the few people without Twitter :)


Release version 0.1.7

Coverage remained the same at 100.0% when pulling b22746f5d842ea697ae583a64bf783f4bc318019 on release/Grortir-0.1.7 into af8e87ac9c8c6d1fe6ae3bf1400eba49f8877d66 on master.