Complete github actions migration

TL;DR
Move unit tests, lint and code coverage to Github actions.
Type

[ ] Bug Fix
[X] Feature
[ ] Plugin

Codecov Report

Merging #156 into master will not change coverage.
The diff coverage is n/a.

This is awesome!


Call processHeaderPoS from processBlockPoS

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

feature/proof-of-stake

PR #875

PR #893

PR #892

PR #894   👈

This stack of pull requests is managed by Graphite.


Static batching does not work when loading scenes additively

Forum Post: https://forum.playcanvas.com/t/static-batching-for-additive-scene-loading/15069
Sample Project: https://playcanvas.com/project/723629/settings
Description
When additive loading a scene, the static batched models in this scene don't get loaded/rendered.
Steps to Reproduce

Open sample project: https://playcanvas.com/project/723629/settings
Start from "Master" scene
Click "Load Van Scene"
Observe that just 1 van (with dynamic batching) gets loaded, but not the other van (with static batching enabled)

Hi @dexterdeluxe88 ,
The pc.Batcher instance will fire automatically once when the pc.Application instance starts rendering.
Loading new scenes, which basically removes and adds entities in the hierarchy won't trigger that automatically. You can easily do this yourself, after the new scene hierarchy has been appended by running:
this.app.batcher.generate();
https://developer.playcanvas.com/en/api/pc.BatchManager.html#generate

@leonidaspir calling batcher.generate doesn't resolve the issue

It seems the issue isn’t with batching, but with the Static model component flag. There is some optimization there that breaks batching. If you disable that flag batching works as expected:

yep, agreed with @leonidaspir - just what I wanted to write. The static flag is not needed for static batching I believe. I'll investigate in due time, but leave it off for now please.

I don't know if this is related or not but I noticed that batching and lightmapping doesn't work together at the moment.. I don't know if it's a normal behavior or not. I tried with static flag both enabled and disabled but it doesn't change anything.
If I just call:
this.app.batcher.generate();

I can see the batching working.
 Seems like I cannot have the cake and eat it ^_^
Anyone ran into a similar problem ?

@valentincognito - I don't have the answer to this, but it'd be worth investigating in the future. Could you please create a separate issue for it and link it to this one. If you have some simple test project to test on, that'd be fantastic as well.

yep, agreed with @leonidaspir - just what I wanted to write. The static flag is not needed for static batching I believe. I'll investigate in due time, but leave it off for now please.

@mvaligursky do you have an estimate?

yep, agreed with @leonidaspir - just what I wanted to write. The static flag is not needed for static batching I believe. I'll investigate in due time, but leave it off for now please.

@mvaligursky do you have an estimate?

I don't at the moment - as there seems to be an easy workaround (don't mark the mesh static), this does not sound like urgent at the moment.


Update/Add [tool name]

Tool name
GNU moreutils
Tool license
Probably GPL
Add or update?

[X] Add
[ ] Update

Desired version
0.67-1
Approximate size
237kb
Brief description of tool
This package provides a collection of tools that can be very handy when working on the shell. Right now, Ubuntu Focal can install 0.63-1 but newer versions are available upto 0.67-1
URL for tool's homepage
https://joeyh.name/code/moreutils/
Provide a basic test case to validate the tool's functionality.
No response
Virtual environments affected

[X] Ubuntu 18.04
[X] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
On my VM it took around 8 seconds
Are you willing to submit a PR?
Yes

hi @SayakMukhopadhyay, considering that installing moreutils is fast on demand, we won't be adding it to the image at this time. thanks for the suggestion.


doesn't support spaces and multiple SGR attribute.

The current version struggles with this terminal output:

terminal.txt

It should look like this:

but there are two issues preventing this output:
multiple SGR attributes
Select Graphic Rendition (SGR) parameters do support "several attributes {...} in the same sequence, separated by semicolons".
e.g.: \x[32;1m for bold+green. But ansi-to-svg fails to recognize them.
workaround for multi-SGR
split them into multiple individual ANSI SGR escape sequence:
sed -r 's@(\x1b\[)([[:digit:]]+);([[:digit:]]+)(m)@\1\3\4\1\2\4@g' terminal.txt > sgr-fixed.txt

spaces
There are a few issues with the way spaces are handled:

string of spaces between text are pasted verbatim in the output SVG. The trouble is that SVG, just like HTML (And markdown) doesn display multiple space but considers them as a single separator and and displays one blank them.  Thus:       72_UK                      78_UK                      92_UK                      93_UK                      76_SA                      77_EU

gets renderered as:           72_UK                      78_UK                      92_UK                      93_UK                      76_SA                      77_EU
even if the SVG <text> boxes start at fixed X coordinates, the left-most text still has the leading space spaces left. Somewhat luckily the above bug cancels out this bug and thus it doesn't affect the output much (until one tries the workaround. then it need fixing).<text x="84.01" y="14.55">          72_UK

should be:<text x="84.01" y="14.55">72_UK

(but both render the same, until workaround is used).
harmless cosmetic: there are useless spaces at the end of SVG </text> blocks:77_EU                     </text>

could also be written77_EU</text>

(but they are both synonymous and render the same).

workaround for space
One needs to:

use non-breaking spaces (e.g.: \u00A0) in the SVG output for string of multiple space.
remove leading spaces (because now the non-breaking spaces cause the text to shift around, even if the <text>block is already shifted using coordinates).
(optionnally) remove trailing space at the end of a block.

sed command:
sed -r 's@ +(</text)@\1@g;s@> +([[:alnum:]])@>\1@g;s@  @\xC2\xA0\xC2\xA0@g;s@\xC2\xA0 @\xC2\xA0\xC2\xA0@g' terminal.svg > fixedspaces.svg

yeah this thing is broken as hell :\


Typescript support

Hello!
How to use carto-vl in typescript project?
I'm getting error:
Could not find a declaration file for module '@carto/carto-vl'.

Didn't find any types for this library

Hi! CARTO VL can be used with Typescript. You're right, we don't have types, you'd have to define your own types manually when needed. There's no plan to add TS types in the long term, but PRs are welcome :)
In addition, you'd need to add some configuration in your TS project, adding this to a type definition file (for example: your_file_name.d.ts):
declare module '@carto/carto-vl' {
  const content: any;
  export default content;
}

declare module '@carto/carto-vl/src' {
  const content: any;
  export default content;
}

Then, you'd be able to import it:
import carto from '@carto/carto-vl';

Hope it helps 👌

Yeah, it helps, better than nothing
Thank you!


Show and tell

added basic html prototype page to access the current digital register service for the show and tell.

:+1:


Sign-post how to use IDE CRD validation in UI

Summary
Users still don't seem to know how to do this. Let's add a sign-post.
Use Cases
So that users create fewer invalid workflows.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Available for testing in v2.10.0-rc1.


managed-gitops: cherrypick #2529 to staging update components/gitops/staging/base/kustomization.yaml

Deploy #2529 to staging only, to verify functionality.

LGTM


Feature/issue xxx exponential cov prim

Submission Checklist

[x] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
Add exponential covariance function to prim with ARD support. This is consistent with with both GMPL (Rasmussen & Williams) and our current quadratic exponential covariance function. Users will be able to switch back and forth between covariance functions easily, per Mike's suggestion on discourse. Please see the latex documentation for description of how I calculate the function and ARD.
How to Verify:
Here are the different data types and error message calls I tested:
vec double
vec double double
vec double ARD
vec eigen
vec eigen eigen
vec eigen ARD
vec double double ARD
rvec eigen
rvec eigen ARD
vec eigen rvec eigen
vec eigen rvec eigen ARD
rvec eigen rvec eigen
rvec eigen rvec eigen ARD
eigen mixed
eigen mixed ARD
double domain err training
nan error training
differing x lengths
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Copywrite<2018>
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Hi - can someone please reset the jenkins build? This error is unrelated to stan-dev.
Thanks

Jenkins, retest this please.

Hi -
Can someone reset these jenkins tests? I don't think they have anything to do with me.

It's not letting me re-start but yes it looks like Jenkins had a problem.

@seantalts sorry, I see the restart button on something else but not on this.

Hi -
Sorry, I can't see the restart for this or #851, is there a work around or should I just do a commit?

Click the little door to exit the fancy GUI and go back to the old one. Not sure why the new one isn't displaying a replay here.

It looked like the error said that b/c the git pull failed there were no changes (and therefore nothing to restart) so maybe something is not quite perfect with the scripts

Github was just down from what I can tell
On Mon, Apr 30, 2018 at 3:52 PM, Krzysztof Sakrejda <
<EMAIL_ADDRESS>wrote:

It looked like the error said that b/c the git pull failed there were no
changes (and therefore nothing to restart) so maybe something is not quite
perfect with the scripts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/pull/850#issuecomment-385509445, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAxJ7KB2yrqOPRHlLDNSAYAbbj9vl3n0ks5tt2uBgaJpZM4Tr9xL
.

Or rather, we had connection problems to it
On Mon, Apr 30, 2018 at 4:56 PM, Sean Talts<EMAIL_ADDRESS>wrote:

Github was just down from what I can tell
On Mon, Apr 30, 2018 at 3:52 PM, Krzysztof Sakrejda <
<EMAIL_ADDRESS>wrote:

It looked like the error said that b/c the git pull failed there were no
changes (and therefore nothing to restart) so maybe something is not quite
perfect with the scripts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/pull/850#issuecomment-385509445, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAxJ7KB2yrqOPRHlLDNSAYAbbj9vl3n0ks5tt2uBgaJpZM4Tr9xL
.

Hi - can some one please review this PR?

hi - closing this PR and opening a new one shortly that includes a rev implementation.


Unable to save login details / shows disconnected

Affected part
Connection (login/fetching)
Extension version
3.16.4
DSM version
DSM 6.2.4-25556 Update 6
Browser version
Version 131.0.6778.86 (Official Build) (64-bit)
Description
Adding login details works fine when using the test or login, but it doesn;t seem to save or show as logged in top right of the browser window.  If you cklick away or refresh the page it reset all your details.
Steps to Reproduce the Issue
Add login details
test OK
Save - doesn't acknowledge
Refresh or click away and settings are lost
Screenshots or Mock up

Failure Logs
No response
Store snapshots
No response

Does the login information show up on your chrome storage ?

Is Remember Me checked ?


Implement protocol

Consider this a draft, there is still much work to be done here.
Also I doubt that all API endpoints work out of the box. We should add tests for them.
closes #66

What??? You kidding me right? I didn’t think you were that far. 😱


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/104244

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/106960

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110387

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120098

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121118


Z position of rendered objects seems to flicker

In come case, when you zoom in/out object z layering flickers:

I will send a repro with canned data to @Pessimistress.

@Pessimistress any idea on addressing this?  You mentioned offline you thought it could be done by tweaking a shader parameter or maybe by adjusting the camera?


Use literal property names

Fix GWT's SDM complaints about not using literals in System.getProperty(..)
Further to https://github.com/droolsjbpm/guvnor/pull/394 SDM failed to compile with the error:
[ERROR] Errors in 'org/guvnor/common/services/project/preferences/GAVPreferences.java'
    [ERROR] Line 42: Only string constants may be used as property name in System.getProperty()
[ERROR] Errors in 'org/guvnor/common/services/project/preferences/GAVPreferences.java'
    [ERROR] Line 47: Only string constants may be used as property name in System.getProperty()

Reverting to using literals.

Waiting for Jenkins to go green before merging...


NIFI-9720: Added QuerySObject processor for Salesforce integration

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
https://issues.apache.org/jira/browse/NIFI-9720
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 NIFI-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 main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] 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 GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks for addressing the review feedback @Lehel44, this looks close to completion.  One other question: what do you think about naming the processor QuerySalesforce or QuerySalesforceObject?  Although SObject aligns with the Salesforce API documentation, including Salesforce in the component name might be clearer from a capability point of view.

Thanks for the comments @exceptionfactory, I updated the PR with the InputStream refactor.

@exceptionfactory Thank you for your feedback. In regard to your question concerning the OkHttp object in the SalesforceRestService::request method, it was closed since the Response object was declared within a try-with-resources block, therefore response.close() was called. This also caused some issues because the inputstream is now handed to the processor, which became responsible for closing the Reponse object. Closing the inputstream will also close the response body, according to this article.

Thank you for the review @exceptionfactory !


Model.one() does not return error for not found

When using Model.one() I get no error, just null error and null object back. Would be nice to have the same error output as Model.get().

This is by design. .one is merely a thin wrapper around .find which returns the first item.


Include publications in search

Hello,
Is there a way to include the publication posts in the search please? I have a bare site with an about page and publications and only the about page is searchable. There is an index.json file in the publications subfolder in the compiled output.
Thanks

I see now that there is a local publications search on it's overview page. Sorry for the confusion!


Node startup failure report

Linux version: ubuntu 18.04
Last info:
2020-06-09 23:23:57 UTC [Info] Coda daemon is now doing ledger catchup
2020-06-09 23:25:59 UTC [Fatal] after lock transition, the best tip consensus state is out of sync with the local state -- bug in either required_local_state_sync or frontier_root_transition.
2020-06-09 23:25:59 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
        exn: "(monitor.ml.Error\n  (Failure \"local state desynced after applying diffs to full frontier\")\n  (\"Raised at file \\\"stdlib.ml\\\", line 33, characters 17-33\"\n    \"Called from file \\\"src/lib/debug_assert/debug_assert.ml\\\" (inlined), line 1, characters 25-33\"\n    \"Called from file \\\"src/lib/transition_frontier/full_frontier/full_frontier.ml\\\", line 606, characters 4-1023\"\n    \"Called from file \\\"src/lib/transition_frontier/transition_frontier.ml\\\", line 292, characters 4-93\"\n    \"Called from file \\\"src/lib/transition_handler/processor.ml\\\", line 57, characters 10-68\"\n  \"Called from file \\\"src/lib/rose_tree/rose_tree.ml\\\", line 79, characters 18-24\"\n    \"Called from file \\\"src/deferred_or_error.ml\\\", line 101, characters 23-33\"\n    \"Called from file \\\"src/deferred0.ml\\\", line 56, characters 64-69\"\n    \"Called from file \\\"src/job_queue.ml\\\" (inlined), line 131, characters 2-5\"\n    \"Called from file \\\"src/job_queue.ml\\\", line 171, characters 6-47\"\n    \"Caught by monitor coda\"))"
2020-06-09 23:25:59 UTC [Error] Unconsumed item in cache: $cache
        cache: "cached item was not consumed (cache name = \"Transition_handler__Unprocessed_transition_cache\")"

coda_crash_report_2020-06-09_23-26-00.443388.tar.gz

I think I am having the same issue, also ubuntu 18.04
'2020-06-09 23:38:16 UTC [Info] Coda daemon is now doing ledger catchup
2020-06-09 23:39:09 UTC [Fatal] after lock transition, the best tip consensus state is out of sync with the local state -- bug in either required_local_state_sync or frontier_root_transition.
2020-06-09 23:39:09 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
exn: "(monitor.ml.Error\n  (Failure "local state desynced after applying diffs to full frontier")\n  ("Raised at file \"stdlib.ml\", line 33, characters 17-33"\n    "Called from file \"src/lib/debug_assert/debug_assert.ml\" (inlined), line 1, characters 25-33"\n    "Called from file \"src/lib/transition_frontier/full_frontier/full_frontier.ml\", line 606, characters 4-1023"\n    "Called from file \"src/lib/transition_frontier/transition_frontier.ml\", line 292, characters 4-93"\n    "Called from file \"src/lib/transition_handler/processor.ml\", line 57, characters 10-68"\n    "Called from file \"src/lib/rose_tree/rose_tree.ml\", line 79, characters 18-24"\n    "Called from file \"src/deferred_or_error.ml\", line 101, characters 23-33"\n    "Called from file \"src/deferred0.ml\", line 56, characters 64-69"\n    "Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5"\n    "Called from file \"src/job_queue.ml\", line 171, characters 6-47"\n    "Caught by monitor coda"))"
2020-06-09 23:39:10 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-06-09 23:39:10 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
☠  Coda Daemon crashed.
'
coda_crash_report_2020-06-09_23-39-09.945744.tar.gz

Linux version: ubuntu 18.04
Same here lol

.coda_config1, .coda_config2
too big to upload directly.
refer below.
https://drive.google.com/file/d/13SeWGqihQT43Y_Qfdvj5tLiCV1qFGfoL/view?usp=sharing

Thanks for reporting!
Looks to be the same as #5051, which is being tracked.  Closing this one to consolidate!


Add security

Add API security
This can be done with Auth0, The Nwocasting App will need update as it will need to pull some credentials when pulling the API
TODO addAuth0 reference docs

First pass security
add permission and roles

Some work has already been done here - https://github.com/openclimatefix/nowcasting_api/pull/83, but probably needs re doing

Ill close this for the moment, we've added auth


Pipeline should be streaming

Right now, each nu->nu pipeline collects all the results before moving to the next step. Ideally, all pipelines would be streaming so we could seamlessly integrate with external commands and also handle commands with large amounts of data.

I think this is more-or-less resolved by #23. There's a LOT more to do, but the urgent immediate issue is resolved.


Peptides: 'none' scaling doesn't work

When the scaling is not applied, the values are all rendered as 0's

It did work, but the activity values in the dataset were so small it felt like it's just all zeros


Update build.go

(default:PROJECT:dev) can be removed if we use DafaultText.
Signed-off-by: Gui-Yue<EMAIL_ADDRESS>

Thanks for your contribution! :tada: :+1:
Please run make fmt to format the code.

The PR duplicates with #472 , thus I am closing this one.


[MonorepoBuilder]  Set minimum stability when calling merge

I have these options in all of mine composer.json files:
"minimum-stability": "dev",
"prefer-stable": true

When I call merge command, these aren't transfered to root compose.json, this error is thrown:
Your requirements could not be resolved to an installable set of packages.

I also tried to add them to data_to_append, but it isn't working.

As not everyone wants this, it can be handled by "merge_sections" parameter.
parameters:
    merge_sections:
       - 'require'
       - 'minimum-stability'

It was missing in the README, so I've added it here: https://github.com/Symplify/Symplify/pull/1081 + fixed for scalar values.
I'll check the "data_to_append", it should work too.


Support for Free Tier t2.micro?

This project looks awesome.
I tried to deploy it using the only free-tier option, the t2.micro.  Unfortunately: "The t2.micro instance type does not support an AMI with a boot mode of UEFI. Only instance types built on the Nitro System support UEFI."
How hard would it be to support the t2 instance?  Is that something I can already do by using the machine image parameter?

t3.micro is supported in free tier as well and is much more likely to be supported (though I haven't tested myself). Give that a try?

I am sure t3 would be supported, but alas, t3 is only free in regions where t2 is unavailable. :(

Although this is very much in the spirit of fck-nat, I won't be able to support it at this time.
This would be a third dedicated AMI (on top of the x86 and ARM ones currently available) which would effectively increase hosting costs by 50%. The current AMIs cost ~$60 to host and that increases with each version released as well as additional testing burden for each release. That's just not something I can take on at the moment.

FortuNATly, I was able to get a NAT instance working with the following CDK code:
The commands required to setup the NAT were pretty straight forward.  With this I don't even have to worry about creating/maintaining a custom AMI image.  It probably takes longer to launch the first time, but I don't think it will be an issue for me.
prefix = "https://raw.githubusercontent.com/AndrewGuenther/fck-nat/main/service"
nat_setup_cmds = [
    "sudo yum install iptables-services -y",
    "sudo mkdir /opt/fck-nat",
    f"sudo curl -o /opt/fck-nat/fck-nat.sh {prefix}/fck-nat.sh",
    f"sudo curl -o /etc/systemd/system/fck-nat.service {prefix}/fck-nat.service",
    "sudo chmod +x /opt/fck-nat/fck-nat.sh",
    "sudo systemctl enable fck-nat",
    "sudo systemctl start fck-nat",
]
setup = ec2.UserData.for_linux()
setup.add_commands(*nat_setup_cmds)

self.nat = ec2.NatProvider.instance_v2(
    instance_type=ec2.InstanceType.of(
        ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO
    ),
    machine_image=ec2.MachineImage.latest_amazon_linux2023(),
    default_allowed_traffic=ec2.NatTrafficDirection.OUTBOUND_ONLY,
    user_data=setup,
)

Thanks for all your work!

Oh! This could actually be even easier! We distribute an RPM for each release. You can just rpm install that.


⚠ DDoS-Relay US-W-sfo3-03 has degraded performance

In ea9f74f, DDoS-Relay US-W-sfo3-03 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 129 ms

Resolved: DDoS-Relay US-W-sfo3-03 performance has improved in e3e3119 after 6 minutes.


⚠ PrivateHD has degraded performance

In 2f87937, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1855 ms

Resolved: PrivateHD performance has improved in b7f08ae.


Custom brackets

Hi, thank you for great lib!
Any ideas why double brackets {{example}} dont work? But single {example} works fine.
$templator = new \PHPStamp\Templator($cachePath, ['{{','}}']);

fixed @0.2.1 release


check 2

Hi there

Hey @0xabdulkhalid , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#6


Revert "Use Jammy for all builds"

I just remembered why I set Jammy for all. Because device-gpio call wasn't getting the series value from the matrix: https://github.com/canonical/edgex-nightly-build/runs/7295965153?check_suite_focus=true#step:2:75

I just remembered why I set Jammy for all. Because device-gpio call wasn't getting the series value from the matrix: https://github.com/canonical/edgex-nightly-build/runs/7295965153?check_suite_focus=true#step:2:75

could we add - ubuntu_series: focal for device-gpio?

I just remembered why I set Jammy for all. Because device-gpio call wasn't getting the series value from the matrix: https://github.com/canonical/edgex-nightly-build/runs/7295965153?check_suite_focus=true#step:2:75

could we add ubuntu_series: focal for device-gpio?
- snap: edgex-device-gpio
  arch: armhf
  ubuntu_series: focal

Ya that should solve it. Or we change the action to default to focal when the input is empty. We can then remove some complexity here.

I just remembered why I set Jammy for all. Because device-gpio call wasn't getting the series value from the matrix: https://github.com/canonical/edgex-nightly-build/runs/7295965153?check_suite_focus=true#step:2:75

could we add ubuntu_series: focal for device-gpio?
- snap: edgex-device-gpio
  arch: armhf
  ubuntu_series: focal

Ya that should solve it. Or we change the action to default to focal when the input is empty. We can then remove some complexity here.

The default is focal already:
https://github.com/canonical/edgex-launchpad-build-action/blob/16e23cf21ddc03680412eb3b9ed6de946e23a2ac/action.yml#L19-L22

The default is focal already: https://github.com/canonical/edgex-launchpad-build-action/blob/16e23cf21ddc03680412eb3b9ed6de946e23a2ac/action.yml#L19-L22

I've updated my comment and explained why that doesn't work: https://github.com/canonical/edgex-nightly-build/pull/26#issuecomment-1182999963


Command help page should look for both "help" and "description"

It should now look for the "help" argument inside the command object and if it does not exist, it will then find the "description" argument. If none of these exist, it will return None.
I really only created this pull request because my bot uses "description" instead of "help".

Looks good, thanks for this.


Holistic and Pose tracking ARR build error

Hi
I have successfully build arr for hand tracking.
I am facing the below error while building arr for holistic tracking and pose tracking. Please advice
Environment -
Ubuntu 20.04
Bazel - 4.0
--------- BUILD-----
load("//mediapipe/java/com/google/mediapipe:mediapipe_aar.bzl", "mediapipe_aar")
mediapipe_aar(
name = "mp_holistic_tracking",
calculators = ["//mediapipe/graphs/pose_tracking:mobile_calculators"],
)
-------- End --------------
-------- Error -----------
ERROR: /mnt/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistic_arr/BUILD:3:14: no such target '//mediapipe/graphs/pose_tracking:mobile_calculators': target 'mobile_calculators' not declared in package 'mediapipe/graphs/pose_tracking' defined by /mnt/mediapipe/mediapipe/graphs/pose_tracking/BUILD and referenced by '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistic_arr:libmediapipe_jni.so'
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistic_arr:mp_holistic_tracking' failed; build aborted: Analysis failed
Thank you
Dhan

Hi,
If you take a look at the example app's build file: https://github.com/google/mediapipe/blob/master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu/BUILD#L24
It should be
load("//mediapipe/java/com/google/mediapipe:mediapipe_aar.bzl", "mediapipe_aar")

mediapipe_aar(
name = "mp_holistic_tracking",
calculators = ["//mediapipe/graphs/pose_tracking:mobile_calculators"],
)

Thank you very much.
I have using the arr file with Unity game engine. I hope this will be the right approach to implement Mediapipe with unity.
Thank you aganin for quick respone.
Thank you
Dhan


Use the native Expand-Archive command on Windows instead of 7-Zip

7-Zip is installed on our CI environments, but is not installed by default on Windows.

Ill do a release for this later.


Israel playg 48 seperate logic from services

A lot of hot  new changes
all endpoints are working (except /train which I am not sure what it does)

@Hazannovich Good job!
Have you checked every route works properly?

@Hazannovich Good job! Have you checked every route works properly?

@Yonatanb4 Yes, except The /train endpoint which I am not sure what its suppose to do.
its a GET request that calls this function and return nothing.
we also call the same function every time we start the app here

@Hazannovich we need to understand what /train does before merging. This is because we may cause a problem after merging.
Please speak to @aviadredis and make sure /train works properly and let me know.

Hey @Yonatanb4 , I spoke to Aviad and it's ok, this Get Request isn't suppose to be used, The function inside it is running one time when you first run the app.


Label values as Blob

So far, label values are yaml data directly contained in the component descriptor.
For large values, like SBOMs, it would be very useful to be able to store label values as local blob.
The label structure is already prepared for such extensions. In addition to the value attribute, we could introduce
an access attribute, which can be used as access specification used to access the blob.
This has several consequences:

the transport has to care about access methods in labels, not only in artifacts.
we have to support value transport
signing labels would require to add a digest property like for artifacts.

So it's basically a new version (meta/v2) with different Value, right?

Unfortunately this issue is quite tricky and expensive to implement.
The Label structure is in the meta/v1 package, so far. This package contains only types not relying on the OCM evaluation model and is self-contained. Those types are used for both, the struct types used to handle the persistence and the internal struct versions used for handling a component descriptor.
The persistence versions must contain field types usable for de/serialization, for example json.RawMessage  or runtime.UnstructuredTypedObject.
For the CD, there is a conversion between the various persistence versions and the internal version. Here, the mapping of the raw data type to a GenericAccessSpec type is done. This type handles the deserialization into a dedicated implementation types according the runtime.Scheme used for the access method types and provided by the ocm.Context.
So, a first idea could be to remove the Labels type from meta/v1 and provide two versions, one in compdesc for the internal version and a second in a new package persistence/v1 used to support persistence struct versions. The version conversions provided would then be used during the conversions of the CD to/from its persistence versions.

At a first glance this idea seems to perfectly match with the idea of a component version, But in summary, this tends to be quite invasive to switch from directly embedded label values to label values as blobs.
So far, this is not urgently required, so I think we should focus on our priority topics, first.

Understood! Thanks for outlining the problems this nicely. :)


No built-in way to access parent command from subcommand?

A natural thing to do with parent commands is define options that will apply to all the subcommands. However, it's not terribly convenient to access the parent command from the subcommand: you have to rely on whatever creates the CommandLine to thread everything around.
Similarly, the provided IParseResultHandlers don't make it easy to pass things around.
I think what would be most convenient for me would be for a subcommand to receive an instance of its parent command as a constructor argument. That way everything is well-typed and it's easy to access the options of parent commands.

You raise a good point.
I’m thinking to provide an additional @ParentCommand annotation to address this.
A reference to the parent command will be injected to any fields annotated with @ParentCommand.  This also provides type safety while not imposing any constraints on subcommand constructors.
Would that work for you?

Yes, that should do the job.
(Incidentally, I don't think the requirements on constructors (there must be a zero-arg constructor) for commands are documented anywhere.)

Ok. Thanks for pointing out the docs can be improved.
By the way, do zero-arg constructors work for you or are you also interested in using a factory like requested in #169 ?

Zero-arg constructors are fine for me at the moment, although it would be kind of neat to be able to use a factory.

Pushed the new @ParentCommand feature to master.
Please verify.

Reopening: still need to update the user manual.

Note to self:
Index: src/main/java/picocli/CommandLine.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/main/java/picocli/CommandLine.java	(revision )
+++ src/main/java/picocli/CommandLine.java	(revision )
@@ -1502,7 +1502,7 @@
      * class Top implements Runnable {
      *
      *     @Option(names = {"-d", "--directory"}, description = "this option applies to all subcommands")
-     *     private File baseDirectory;
+     *     File baseDirectory;
      *
      *     public void run() { System.out.println("Hello from top"); }
      * }
@@ -1513,13 +1513,8 @@
      *     @ParentCommand
      *     private Top parent;
      *
-     *     @Parameters(description = "The number of times to print the result")
-     *     private int count;
-     *
      *     public void run() {
-     *         for (int i = 0; i < count; i++) {
-     *             System.out.println("Subcommand: parent command 'directory' is " + parent.baseDirectory);
-     *         }
+     *         System.out.println("Subcommand: parent command 'directory' is " + parent.baseDirectory);
      *     }
      * }
      * </pre>

This issue has been addressed in picocli 2.2, which is now available on JCenter and Maven Central.
See the release notes for details.


Only send SST note data to dashboard pages

Who is this PR for?
Users of the absences/tardies dashboards.
What problem does this PR fix?
Slow load times: ~4 seconds to see data in production. (Note that this was a major improvement from a couple days ago when load times were at 12+ seconds! See #1629, #1630.)
What does this PR do?
Since we're only displaying Last SST Note on the dashboard views, only send down SST Notes data to the front-end by using a scoped query. If we need to use more event note data in the dashboards, we can always add to the query.
I tested the effect of these changes on load times (local environment, "more students mode" demo data, absences dashboard). I loaded each page 5 times to account for caching effects.
loading the dashboard on master:
1. [0] Completed 200 OK in 2486ms (Views: 1696.9ms | ActiveRecord: 78.8ms)
2. [0] Completed 200 OK in 2253ms (Views: 1638.0ms | ActiveRecord: 58.5ms)
3. [0] Completed 200 OK in 2228ms (Views: 1601.4ms | ActiveRecord: 82.4ms)
4. [0] Completed 200 OK in 2169ms (Views: 1630.0ms | ActiveRecord: 69.7ms)
5. [0] Completed 200 OK in 2195ms (Views: 1625.7ms | ActiveRecord: 58.5ms)

loading the dashboard on this brach:
1. [0] Completed 200 OK in 1401ms (Views: 635.2ms | ActiveRecord: 59.5ms)
2. [0] Completed 200 OK in 1011ms (Views: 570.9ms | ActiveRecord: 36.7ms)
3. [0] Completed 200 OK in 1259ms (Views: 732.3ms | ActiveRecord: 30.4ms)
4. [0] Completed 200 OK in 1143ms (Views: 657.9ms | ActiveRecord: 37.5ms)
5. [0] Completed 200 OK in 1093ms (Views: 585.7ms | ActiveRecord: 48.3ms)

Overall it looks like this change cuts load times by 50%.
This PR also makes some other changes to the dashboard Ruby code which I'll add individual GitHub comments on.

@edavidsonsawyer Agreed, I'm curious to find out too! Let me know if you have any questions or comments, I'll ship this now but we can keep chatting in this PR if there's more you want to explore.
Since this started out as a Ruby-code-only PR, I deleted the sections in the pull request template about manually checking the UI in Internet Explorer. But then I added a few commits that did touch JS code, specifically around handling "No Homeroom."
I checked the absences, discipline, and tardies dashboards manually in my local environment and paid attention to how they handled "No Homeroom", they looked ✅to me. But if you spot anything, let me know! I really appreciated the way to spotted a bug I missed in #1629.


CBA_Settings functions missing

Function autocomplete/Info for CBA_Settings_* functions is missing.
For example CBA_Settings_init;

Thanks.
We need to regenerate the CBA auto-complete files.

No, CBA doesn't include those functions in their documentation, it's a problem on CBA side.
https://cbateam.github.io/CBA_A3/docs/index/Functions.html


Hello, why can't the model pruning experiment code link be clicked

Describe the issue:
Environment:

NNI version:
Training service (local|remote|pai|aml|etc):
Client OS:
Server OS (for remote mode only):
Python version:
PyTorch/TensorFlow version:
Is conda/virtualenv/venv used?:
Is running in Docker?:

Configuration:

Experiment config (remember to remove secrets!):
Search space:

Log message:

nnimanager.log:
dispatcher.log:
nnictl stdout and stderr:

How to reproduce it?:

Hi @bopker , could you show which link?

Hi @bopker , could you show which link?

@bopker - may you help provide more info so that we can help? thanks.

Closing the issue as overdue as it has no responds for a while, feel free to reopen if you are still seeing the problem on your side.


fix(sidebar-mobile): Fixed z-index of modal popup on mobile navbar

Im so sorry for another PR on the same mobile-navbar issue lmao it was late and i accidentally deleted the z-index that fixed the mobile modal window
but uh it should be fixed now, video below of the result, hoping this one actually works
https://user-images.githubusercontent.com/29960599/186679698-0022385e-99bb-4c0a-9982-497326ab7bdf.mp4

thank you!


Input Blocks are not validated / errored for some DSL methods (element/elements)

Issue to raise for SitePrism framework
Create a page / section with the following items
element :foo, '.baz' { puts :hello }
elements :bar, '.bazzy' { fail 'will not fail' }
# section and sections and iframe all work correctly

Environment

Operating System (Ubuntu Bionic)
What Gems / Versions you are using (SitePrism 3.2, Capybara 3.13)
How you're interacting with the Framework (Cucumber Tests / RSpec Units)
Browser/s Driver/s being used - with version numbers (Latest Chrome, Latest Firefox)

Expected Behavior
These should be caught
Actual Behavior
These aren't caught
Steps to reproduce
As written above

Closed in https://github.com/site-prism/site_prism/pull/10


migrate default sqlite db from schema 15 to 22 (current)

this might help n00bs like me get started with sqlite

Thanks @factorypreset. Interesting. Perhaps this line needs updating too then? https://github.com/bethesque/pact_broker/blob/554c2c6da50f808f3504023c384fae6f35aad229/lib/pact_broker/pacts/repository.rb#L138

Thanks for looking at this --
the to_s just fixes an implicit nil -> String conversion error, so the change only needs to be made in places where there's a possibility of passing in a nil instead of a string. So yeah if it's possible for params[:json_content] to be nil in https://github.com/bethesque/pact_broker/blob/554c2c6da50f808f3504023c384fae6f35aad229/lib/pact_broker/pacts/repository.rb#L21 then it would be needed. I'll see if I can reproduce this in a spec. thanks

There really shouldn't be a pact without any content in the database, I guess it's just dodgy test data. Don't think you can publish an empty pact - maybe just try that?

Yes I think you're right that we shouldn't write code assuming that the pact is empty.
On further inspection it looks like the only real problem is that the default sqlite db in this repository is in a weird state. It claims to be at version 15 but actually it is missing the json_content field on the pacts table that you'd expect if it was really at version 15.
I think I'll remove the change to the migration in this PR and leave the updated sqlite3 file. That should sort this out!

Thanks so much @factorypreset, appreciate your help.


augment website with some background information and guidance

@Casey308 stubbed out a website (see https://stat325-s24.github.io/HistoryAmherstCollege)
This issue will be closed when there's some additional background information and guidance for the user.

That sounds like a good plan.
Is someone able to take this on?

Done (for now).


When we evaluate the performance of LRA on testing datasets, the returnning rsults of the function "ddim_sample_step" in moel_diffusion.py is y_t_m_1

When performing LRA on testing datasets,  why does the function "ddim_sample_step" in moel_diffusion.py return y_t_m_1 instead of y_0_reparam? Actually, in the CARD, the output prediction is y_0_reparam, which is depicted in the algorithm 2 of CARD. Looking forward your reply, thank for your attention.

But in the source code of CARD , you can see the CARD use the y_t_m_1 as the same


Can the following packages be installed in Alpine?

If matters, node:6-alpine.
openssl-dev
libsasl2-dev
libsasl2-modules
C++ toolchain

Installation resolve, however another issue is encountered - will open a new ticket.


deprecation warnings Redis#exists(key) will return an Integer in redis-rb 4.3

ncbo_cron logs shows deprecation warnings:
Redis#exists(key) will return an Integer in redis-rb 4.3. exists? returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer =  true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set Redis.exists_returns_integer = false, but this option will be removed in 5.0. (/srv/ncbo/ncbo_cron/vendor/bundle/ruby/2.6.0/bundler/gems/sparql-client-2ab48e2b7b2a/lib/sparql/client.rb:419:in `block in cache_invalidate_graph')

replaced: Redis#exists(key) with Redis#exists?(key)

This fix resulted in an failure to create a new submission. Since sparql-client itself does not import redis gem, it uses the redis object injected by the higher libraries. In this case, the redis version that was getting injected by the ontologies_api was 3.3.3, which does not define method exists?.

fixed, deployed


Argument of type 'Request' is not assignable to parameter of type 'HTTPRequest'.   Type 'Request' is missing the following properties from type 'HTTPRequest': #private, client, continueRequestOverrides, responseForRequest, and 6 more.

🐛 Bug Report
There are two possible bugs that I have found which I believe are interconnected.
When I attempt to type a callback for a request, I get this error message:
Argument of type 'Request' is not assignable to parameter of type 'HTTPRequest'.   Type 'Request' is missing the following properties from type 'HTTPRequest': #private, client, continueRequestOverrides, responseForRequest, and 6 more.

It appears that the types from jest-environment-puppeteer/node_modules/@types/puppeteer and puppeteer are out of sync in some way.
Also, when executing the if statement if (req.isInterceptResolutionHandled())..., Typescript believes that .isInterceptResolutionHandled does not exist on the Request type, but it does seem to come in with that method (regardless of whether Request or HTTPRequest were used).
Puppeteer is on ^19.6.0 and jest-puppeteer is on ^6.2.0.
To Reproduce
Steps to reproduce the behavior:
Attempt to use page.on('request') with the HTTPRequest type provided from puppeteer.
import { HTTPRequest } from 'puppeteer';

// ...set up page...
page.on('request', async (req: HTTPRequest) => {
...
});

For the if statement, simply write out:
page.on('request', async (req) => {
  if (req.isInterceptResolutionHandled()) return null;
  ...
 }

The linter will show Property 'isInterceptResolutionHandled' does not exist on type 'Request'.ts(2339)
Expected behavior
These types are equivalent and represent the types for Puppeteer.
EDIT: Reproduction repo:
https://github.com/justinfarrelldev/jest-puppeteer-repro
Run npx envinfo --system --binaries --npmPackages expect-puppeteer,jest-dev-server,jest-environment-puppeteer,jest-puppeteer,spawnd --markdown --clipboard
Paste the results here:
*** Clipboard option removed - use clipboardy or clipboard-cli directly ***

## System:
 - OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
 - CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
 - Memory: 2.69 GB / 7.57 GB
 - Container: Yes
 - Shell: 5.8.1 - /usr/bin/zsh
## Binaries:
 - Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
 - Yarn: 1.22.19 - ~/.nvm/versions/node/v18.12.1/bin/yarn
 - npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
## npmPackages:
 - jest-puppeteer: ^6.2.0 => 6.2.0

I added a reproduction repo here: https://github.com/justinfarrelldev/jest-puppeteer-repro
While making the reproduction repo, I noticed that if I tried to do it with npm, all seemed to go well. Is this maybe yarn-specific?

Hi @justinfarrelldev, should be fixed in v8 since everything has been upgraded.


Create Zebraswap.md

Project Abstract

Please replace these instructions with a brief description of your project summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Grant level

[x] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] A BTC, Ethereum (USDT/USDC/DAI) or Polkadot/Kusama (aUSD) address for the payment of the milestones is provided inside the application.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

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

Thanks for the application. However, level 1 grants are up to 10k and definitely not 1,3 million. Also the total costs are different from the sum of the costs of the milestones. For a project this size, we would need to have a lot more technical details. What kind of bridges do you want to develop? Do you already have a specification? Why is your solution better than existing ones, etc.

Hello there, thank you for your quick revert, apologies for the confusion there, we were asked to apply for the grants (by Mr. Robin) level by level in order to gain trust and redeem ourselves ,have made changes to the application to reflect the same . Please do let us know what more info is required.

Thanks for the update and the huge price reduction. But it still would be nice to have better-defined milestone tables. For example “Developing the collateralized interoperable bridges and infrastructure design: The System infra will be built and ready to enable cross chains and multi-chain liquidity pools”, could mean that you create a bridge between any blockchains completely unrelated to our ecosystem. So could you add a little bit more technical details (also things like programming language/framework)? Alternatively for 10k, you could also simply focus on things that you need to develop and that don’t already exist in our ecosystem and describe it in detail.

Thanks for your guidance on updating the grant application. Have re-shuffled some info and added a more in-depth point of focus on the missing links that currently are not present in the ecosystem. Along with editing the milestones and adding in technical languages etc. Please do let us know if you have any feedback on the same. Thanks again!

Hey NOC, apologies for the confusion there, have delved more in depth:.

We usually don’t support the development of solidity smart contracts via our grants program, since we are no experts when it comes to solidity and what was already developed, etc. You could either focus on ink! smart contracts instead or apply for a grant from an ethereum focused parachain, like https://moonbeam.foundation/grants/

regd the Smart contracts ( there would be two sets, an EVM compatible tab and a native Polkadot smart contract, for the native Polkadot one we will be using !ink, and for the EVM compatible version embedded in the DApp itself we will be using solidity for those set of contracts

What is the advantage of your solution compared to https://github.com/interlay (BTC) and https://github.com/Snowfork/snowbridge (Binance smart chain)?
**Both are great bridges! however, we aim to have more of these similar bridges with different crypto and NFT assets flowing from them. The infrastructure is a bit different for the bridges which is one of the biggest differences since we will be implementing bridges that are operated by a group of permissionless, decentralised bridge nodes that a re-elected every single month. These nodes collectively use a combination of Secure Multipart Computation (sMPC) and Shamir’s Secret Sharing (SSS) to collectively generate signatures to secure crosschain assets. This approach is far more secure than the multisig approach used by many other cross-chain bridges. Additionally, this approach ensures that no single node or entity ever has access to a user’s assets **
Also “Using solidity for smart contracts for the Dapp as well as bridges” is still not really specific.
again apologies for the vagueness and confusion, have made some more changes hope this makes things clearer.

Looking forward to your valuable feedback.

Thanks for the update. Could you potentially integrate the Secure Multipart Computation (sMPC) and Shamir’s Secret Sharing (SSS) part into the deliverables and maybe add a little bit more details regarding this? So your bridge would be actually more similar to this: https://github.com/ChainSafe/ChainBridge, with the advantage that you don't rely only on a multi-sig solution. Also please remove any tokens from the deliverables, like “DOT<>BSC”, we mostly focus on the open source software with this grants program and don’t care about the actual deployment.

Hello there, thanks again for the suggestions, I have updated the above-mentioned suggestions! Can't wait to start building on polka!!

@DIMOCODE since your proposal has now been in the review state for over 2 weeks without any approvals or comments from other members of the committee, I'll go ahead and close it. This application may not have succeeded in swaying the committee, but don't be discouraged—check out other sources of funding in the ecosystem, or otherwise you're always welcome to apply again with another project.


pin versions

Todo:

[x] Manual testing

I opened this as a draft so that a CI build would trigger.

I tested this by generating an app for each plugin, and running serve and build for each app. I tested build output by serving it with http-server.


Crash loop when updating a boolean in table unchanged_toast

getting odd crash. I have a boolean column and I'm trying to update it from false to true and it's triggering some sort of crash, start, crash loop
await db.jobs.update({
                  data: { read: true },
  where: { job_id: job.job_id },
})

Screenshot from browser

From electric:
shannon-job-finder-electric-1  | ** (CaseClauseError) no case clause matching: :unchanged_toast
shannon-job-finder-electric-1  |     (electric 0.9.4) lib/electric/satellite/serialization.ex
:233: anonymous fn/4 in Electric.Satellite.Serialization.map_to_row/3
shannon-job-finder-electric-1  |     (elixir 1.16.1) lib/enum.ex:1826: Enum."-map_reduce/3-li
sts^mapfoldl/2-0-"/3
shannon-job-finder-electric-1  |     (electric 0.9.4) lib/electric/satellite/serialization.ex
:230: Electric.Satellite.Serialization.map_to_row/3
shannon-job-finder-electric-1  |     (electric 0.9.4) lib/electric/satellite/serialization.ex
:200: Electric.Satellite.Serialization.mk_trans_op/3
shannon-job-finder-electric-1  |     (electric 0.9.4) lib/electric/satellite/serialization.ex
:164: Electric.Satellite.Serialization.serialize_change/2
shannon-job-finder-electric-1  |     (elixir 1.16.1) lib/enum.ex:2528: Enum."-reduce/3-lists^
foldl/2-0-"/3
shannon-job-finder-electric-1  |     (electric 0.9.4) lib/electric/satellite/serialization.ex
:45: Electric.Satellite.Serialization.serialize_trans/3
shannon-job-finder-electric-1  |     (electric 0.9.4) lib/electric/satellite/protocol.ex:797:
 Electric.Satellite.Protocol.handle_out_trans/2
shannon-job-finder-electric-1  | Last message: {:"$gen_consumer", {#PID<0.5034.0>, #Reference
<0.3138072826.3718250497.27809>}, [{%Electric.Replication.Changes.Transaction{xid: 1025, chan
ges: [], commit_timestamp: ~U[2024-03-19 21:27:15.915778Z], origin: "postgres_1", publication
: "electric_publication", lsn: #Lsn<0/26334D0>, ack_fn: nil, origin_type: :postgresql}, 40056
016}, {%Electric.Replication.Changes.Transaction{xid: 1026, changes: [%Electric.Replication.C
hanges.UpdatedRecord{relation: {"public", "jobs"}, old_record: %{"apply_options" => "[{\"link
\": \"https://pangian.com/job/senior-product-designer-remote-1573/?utm_campaign=google_jobs_a
pply&utm_source=google_jobs_apply&utm_medium=organic\", \"title\": \"Apply directly on Pangia
n\"}, {\"link\": \"https://jobright.ai/jobs/info/65f23cd7d1ce6430a6f038c2?utm_campaign=google
_jobs_apply&utm_source=google_jobs_apply&utm_medium=organic\", \"title\": \"Apply on Jobright
 AI\"}]", "company_name" => "byte®", "cons" => "[\"The company's industry focus on orthodonti
cs is not explicitly listed as one of Shannon's interests\", \"Potential for a fast-paced env
ironment, which may not align with Shannon's preference for a balanced lifestyle\", \"Lack of
 information on the company's size and stage, which is important to determine if it's a growt
h-stage startup\"]", "created_at" => nil, "description" => "100% remote job\n\nSenior Product
 Designer | byte® | United States...\n\nAbout Byte\n\nWe are an ambitious team that’s transfo
rming the way people can achieve a beautiful, more confident smile. No longer do you have to
step inside the orthodontist office to create the smile of your dreams. Our doctor-directed,
at-home system makes it easy, safe and affordable for everyone. We also believe that a job sh
ould do more than pay the bills. It should fill you with a sense of purpose. The kind you fee
l when you’re a part of something BIG.\n\nInterested? Let’s talk.\n\nByte is looking for an e
xperienced Senior Product Designer who is passionate about building products, experiences, an
d services that improve our core customer journey as well as help define new opportunities th
at take us onto new platforms and into new business contexts. You will collaborate with a cro
ss-disciplinary team to research, prototype, design and deliver connected products and servic
es that have measurable business impact and provide customers with great outcomes and best-in
-class experiences.\n\nPlease include a link or attachment with your portfolio when you apply
. Resumes are helpful to understand your experience but we would like to see work samples as
well. If you aren’t able to share work publicly, just note that in your cover letter so we kn
ow why it’s missing from your application.\n\nKey Responsibilities\n• Work through design pro
blems from beginning to end, from translating insights from research and analytics into conce
pts that form the foundations of new products and features.\n• Partner with product managers
to define and evolve product roadmaps.\n• Steward a holistic, empathetic vision of our custom
er journey and service experiences across touchpoints, over the course of multiple projects,
optimizations and initiatives that will result in best-in-class work.\n• Able to ideate for d
irectional and executional purposes — from sketching and prototyping ideas to designing or le
ading others through the fine-grained details of components, interactions, and transitions.\n
• Strong ability to concept and envision design solutions, systems, patterns and arguments an
d communicate them clearly to others.\n• Conduct user research to uncover insights and valida
te hypothesis for new and existing experiences and collaborate with your product and engineer
 team members to uncover and define opportunities, features, and rapidly iterate on solutions
.\n• Lead other designers across the organization to raise the visual and experience bar by c
ontinuously improving our design processes, principles, UI systems and tooling.\n\nRequiremen
ts and Qualifications\n• 8+ years experience designing digital products and systems. You have
 helped ship products that solve real problems, and that people use.\n• Experience working wi
th the entire product development process: from user research, problem-solving and system mod
eling, and detailed visual and interaction design through to development.\n• Excellent and se
asoned visual, graphic, and typographic skills.\n• Capable of leading and inspiring others to
 do great work.\n• Manage through moments of ambiguity and find a way to well designed clarit
y.\n• Ability to design polished, high-fidelity mockups of your solutions using modern design
 tools such as Figma.\n• Ability to create interactive prototypes using tools like Figma or F
ramer.\n• Familiarity with Scrum practices and Jira\n• Strong verbal and written communicatio
n skills to help people understand the rationale behind your proposals, and the complex nuanc
es of design problems.\n• Motivated self-starter who can deeply collaborate with other discip
lines including product management, engineering, research, and analytics.\n• A growth mindset
. Willingness to own problems. Comfort with ambiguity. A desire to make things better. A bala
nced sense of optimism and humility.\n\nYour experience should ideally focus on designing sof
tware products, and your portfolio should clearly outline the problems you’ve taken on with y
our design work. It should touch on the process you applied to find solutions and overcome ch
allenge" <> ..., "detected_extensions" => "{\"posted_at\": \"5 days ago\", \"schedule_type\":
 \"Full-time\", \"work_from_home\": true}", "extensions" => "[\"5 days ago\", \"Work from hom
e\", \"Full-time\", \"No degree mentioned\", \"Health insurance\", \"Dental insurance\", \"Pa
id time off\"]", "google_jobs_listing_url" => "https://www.google.com/search?q=Senior+Product
+Designer+%28Remote%29&ibp=htl;jobs&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw#htidocid=en5U93ThGPhLfX
QqAAAAAA==", "job_highlights" => "[{\"items\": [\"8+ years experience designing digital produ
cts and systems\", \"Experience working with the entire product development process: from use
r research, problem-solving and system modeling, and detailed visual and interaction design t
hrough to development\", \"Excellent and seasoned visual, graphic, and typographic skills\",
\"Capable of leading and inspiring others to do great work\", \"Ability to create interactive
 prototypes using tools like Figma or Framer\", \"Familiarity with Scrum practices and Jira\"
, \"Strong verbal and written communication skills to help people understand the rationale be
hind your proposals, and the complex nuances of design problems\", \"Motivated self-starter w
ho can deeply collaborate with other disciplines including product management, engineering, r
esearch, and analytics\", \"A growth mindset\", \"Willingness to own problems\", \"Comfort wi
th ambiguity\", \"A desire to make things better\", \"A balanced sense of optimism and humili
ty\", \"Your experience should ideally focus on designing software products, and your portfol
io should clearly outline the problems you’ve taken on  (truncated)
shannon-job-finder-electric-1  | 21:27:32.859 pid=<0.5036.0> client_id=e6c1ad25-a056-4a80-862
8-7b7ce82dabd4 instance_id=72c95d51-e05c-43c6-ad32-4a8c45d3a752 user_id=595e5e88-b227-430b-b3
7a-d766d82a09ae [info] Successfully authenticated the client
shannon-job-finder-electric-1  | 21:27:32.859 pid=<0.5036.0> client_id=e6c1ad25-a056-4a80-862
8-7b7ce82dabd4 instance_id=72c95d51-e05c-43c6-ad32-4a8c45d3a752 user_id=595e5e88-b227-430b-b3
7a-d766d82a09ae [info] Electric.Replication.Postgres.Client.with_conn(%{database: ~c"shannon-
job-finder", host: ~c"postgres", ip_addr: ~c"<IP_ADDRESS>", ipv6: true, nulls: [nil, :null,
:undefined], password: ~c"******", port: 5432, ssl: true, ssl_opts: [server_name_indication:
~c"postgres"], timeout: 5000, username: ~c"postgres"})

@KyleAMathews The problem is not the boolean column but the large text value you have there. Postgres stores that value separately from the row itself (it's called TOAST). When Postgres streams changes on the logical replication stream to Electric, it does not include "toasted" values if they are unchanged. Electric is not prepared to deal with that because it uses full row data for conflict resolution, e.g. when a row gets deleted in one place but needs to be resurrected in response to an update.
I can't think of any workaround for this right now.

Hmm gotcha. I guess I'll split the read info to another table then for now.

@KyleAMathews might be worth renaming the issue to something like "Large TOASTable rows lead to crash loop" for easier lookup as we're probably not closing this soon.
@alco would setting the column STORAGE mode to PLAIN or MAIN to prevent out-of-line storage be a valid workaround for this issue? if so, should we add it as a warning in docs until we have a solution?

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and report this issue!


[Lake][DuckDB] Add cli validation command and basic gap testing

Background / motivation
Parent epic: #685
Let's keep improving the cli command
TODOs / DoD

[x] Add basic gap testing across tables
[x] Continue testing/improving duckdb describe/validation

Also cleaned up a lot of issues around lake command, implemented update, and did various tests such that I could validate through a tool that things are "looking ok"


FEAT: Add an auto suggestion feature in search-bar

I have made a base for the feature which is assigned #186 . Here is the changes made.
https://user-images.githubusercontent.com/75199296/235455483-f7b0a860-eb2c-45ee-863e-017f783d8223.mp4
Let me know if any changes needed.

that's really a very useful contribution @SowreRajan-dev
Can you also add the screenshots of mobile view

that's really a very useful contribution @SowreRajan-dev Can you also add the screenshots of mobile view

Yes sure!. Here is the screenshots of mobile view @JasonDsouza212

Hey @SowreRajan-dev  I also tried to did the same , the only thing where I stuck was the part where we need to present suggestion box in alphabetical order , Can you help me with this ?

 I will test the version and then merge it.

@SowreRajan-dev can you also resolve the conflicts

Yes @HarshPanchal26 , I think you both can work this out .

Yes @HarshPanchal26 , I think you both can work this out .

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

Ok sure ill check for it

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

@HarshPanchal26  Can you add the screenshot/video of the error? brief out when it is occuring

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

@HarshPanchal26 Can you add the screenshot/video of the error? brief out when it is occuring

@SowreRajan-dev   just type any special characters form above , and screen will be blank , Just try it and I will also upload the video in some time .

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

@HarshPanchal26 Can you add the screenshot/video of the error? brief out when it is occuring .

@SowreRajan-dev   Don't worry about it much , it will only throw error if user accidently type  ' \ ' or ' ? ' in input box . For solution use the Regex from above , It will solve it .
Or  just let me know if above Regex don't work , I will fix it .

@HarshPanchal26 can you clone my pull request and try to fix that issue?

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

@HarshPanchal26 Can you add the screenshot/video of the error? brief out when it is occuring .

@SowreRajan-dev   Don't worry about it much , it will only throw error if user accidently type  ' \ ' or ' ? ' in input box . For solution use the Regex from above , It will solve it .
Or  just let me know if above Regex don't work , I will fix it .

@HarshPanchal26 can you clone my pull request and try to fix that issue?

@SowreRajan-dev  I clone your pull request ,This woks fine , I didn't get any error , Can you tell me which issue are you talking about .

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

@HarshPanchal26 Can you add the screenshot/video of the error? brief out when it is occuring .

@SowreRajan-dev   Don't worry about it much , it will only throw error if user accidently type  ' \ ' or ' ? ' in input box . For solution use the Regex from above , It will solve it .
Or  just let me know if above Regex don't work , I will fix it .

@HarshPanchal26 can you clone my pull request and try to fix that issue?

@SowreRajan-dev I clone your pull request ,This woks fine , I didn't get any error , Can you tell me which issue are you talking about .

the same which you posted @HarshPanchal26

Hey @SowreRajan-dev , @JasonDsouza212 I found a one small error , Accidently if any user enters special special characters like : ., *, +, ?, ^, $, {, }, (, ), [, ], , and |. then our code base throws an error ,
Error is :
caught SyntaxError: Invalid regular expression: //: \ at end of pattern
I resolve it by making one change , I add another regular expression for it .
  const escapedSearchTerm = searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  const regex = new RegExp(escapedSearchTerm, 'gi');

Now this resolve it . Could you Please add it in your pull request .

@HarshPanchal26 Can you add the screenshot/video of the error? brief out when it is occuring .

@SowreRajan-dev   Don't worry about it much , it will only throw error if user accidently type  ' \ ' or ' ? ' in input box . For solution use the Regex from above , It will solve it .
Or  just let me know if above Regex don't work , I will fix it .

@HarshPanchal26 can you clone my pull request and try to fix that issue?

@SowreRajan-dev I clone your pull request ,This woks fine , I didn't get any error , Can you tell me which issue are you talking about .

I have fixed the escape character '' error.

@JasonDsouza212 Can you check for the dependencies and merge them?
Kindly acknowledge me , if there are any changes.

@SowreRajan-dev    I found something , whenever suggestion list appears and we select any of the suggestions from it ,technically suggestion box should have to disappear from page , It is what not happening with our pull request , I solved it ,
You haver to make minor changes in order to achieve it .
1 , In Header.css file
Make one class called
.display-none{
display : none
}
2 . In header.jsx
const handleSuggestionClick = (value) => {
document.getElementById('serch-suggestions').classList.add('diplay-none');
setSearchTerm(value)
}
const handleChageInInput = (event)=>{
setSearchTerm(event.target.value);
let targetElem = document.getElementById('serch-suggestions');
if( filteredSuggestions.length > 0 && targetElem.className.includes('diplay-none')){
targetElem.classList.remove('diplay-none');
}
}
// In Input box
<input
type="text"
placeholder=" Search for a tool or category..."
value={searchTerm}
// onChange={(e) => setSearchTerm(e.target.value)}
onChange={(e)=> handleChageInInput(e)}
/>
Suggestion box now disappearing at a time user clicks on any of the suggestions
Make sure to check this once .
If not it not worked or any issue appears , Just let me know .

@SowreRajan-dev I found something , whenever suggestion list appears and we select any of the suggestions from it ,technically suggestion box should have to disappear from page , It is what not happening with our pull request , I solved it ,
You haver to make minor changes in order to achieve it .
1 , In Header.css file
Make one class called
.display-none{ display : none }
2 . In header.jsx
const handleSuggestionClick = (value) => { document.getElementById('serch-suggestions').classList.add('diplay-none'); setSearchTerm(value) }
const handleChageInInput = (event)=>{ setSearchTerm(event.target.value); let targetElem = document.getElementById('serch-suggestions'); if( filteredSuggestions.length > 0 && targetElem.className.includes('diplay-none')){ targetElem.classList.remove('diplay-none'); } }
// In Input box
<input type="text" placeholder=" Search for a tool or category..." value={searchTerm} // onChange={(e) => setSearchTerm(e.target.value)} onChange={(e)=> handleChageInInput(e)} />
Suggestion box now disappearing at a time user clicks on any of the suggestions
Make sure to check this once .
If not it not worked or any issue appears , Just let me know .

Thanks for it. I ll update them in the codebase @HarshPanchal26

@SowreRajan-dev    I found something , whenever suggestion list appears and we select any of the suggestions from it ,technically suggestion box should have to disappear from page , It is what not happening with our pull request , I solved it ,
You haver to make minor changes in order to achieve it .
1 , In Header.css file
Make one class called
.display-none{
display : none
}
2 . In header.jsx
const handleSuggestionClick = (value) => {
document.getElementById('serch-suggestions').classList.add('diplay-none');
setSearchTerm(value)
}
const handleChageInInput = (event)=>{
setSearchTerm(event.target.value);
let targetElem = document.getElementById('serch-suggestions');
if( filteredSuggestions.length > 0 && targetElem.className.includes('diplay-none')){
targetElem.classList.remove('diplay-none');
}
}
// In Input box
<input
type="text"
placeholder=" Search for a tool or category..."
value={searchTerm}
// onChange={(e) => setSearchTerm(e.target.value)}
onChange={(e)=> handleChageInInput(e)}
/>
Suggestion box now disappearing at a time user clicks on any of the suggestions
Make sure to check this once .
If not it not worked or any issue appears , Just let me know .

@HarshPanchal26 this code change shoes the error. Can you change them and push to my repo I'll willl update them?
https://github.com/SowreRajan-dev/free-hit

@SowreRajan-dev   Sure .
I made to pull request
https://github.com/SowreRajan-dev/free-hit/pull/1
https://github.com/SowreRajan-dev/free-hit/pull/2
Check once and if it throws any error , Let me know  .

@SowreRajan-dev    I found something , whenever suggestion list appears and we select any of the suggestions from it ,technically suggestion box should have to disappear from page , It is what not happening with our pull request , I solved it ,
You haver to make minor changes in order to achieve it .
1 , In Header.css file
Make one class called
.display-none{
display : none
}
2 . In header.jsx
const handleSuggestionClick = (value) => {
document.getElementById('serch-suggestions').classList.add('diplay-none');
setSearchTerm(value)
}
const handleChageInInput = (event)=>{
setSearchTerm(event.target.value);
let targetElem = document.getElementById('serch-suggestions');
if( filteredSuggestions.length > 0 && targetElem.className.includes('diplay-none')){
targetElem.classList.remove('diplay-none');
}
}
// In Input box
<input
type="text"
placeholder=" Search for a tool or category..."
value={searchTerm}
// onChange={(e) => setSearchTerm(e.target.value)}
onChange={(e)=> handleChageInInput(e)}
/>
Suggestion box now disappearing at a time user clicks on any of the suggestions
Make sure to check this once .
If not it not worked or any issue appears , Just let me know .

@HarshPanchal26 this code change shoes the error. Can you change them and push to my repo I'll willl update them?
https://github.com/SowreRajan-dev/free-hit

@SowreRajan-dev Sure .
I made to pull request
SowreRajan-dev#1
SowreRajan-dev#2
Check once and if it throws any error , Let me know .

Thank you @HarshPanchal26 . It worked.

@JasonDsouza212 can you check for the versions?

Ok , Ill check with it once

Looks good! Have you guys finished making your changes? Can I merge it now?

Thank you, @SowreRajan-dev and @HarshPanchal26  for your valuable contribution. That was a much-needed feature in the app. I hope you keep supporting and contributing to Free-hit to make it even better.

Its really a great experience and it is my first open source contribution. Thanks for @HarshPanchal26 helping me out!. Its really pleasure with working in this website. Thanks @JasonDsouza212 and @HarshPanchal26 for the support!.

Indeed that was really a good start in your open source journey @SowreRajan-dev


Modes color/shade

I think it would great to allow the control of the light/dark mode colors.
The night one would be more of a shade since it has to be dark but the light one allows the programmer to use other colors than white.
Also, with this the change of the text color and font would be great.
I image it in the global config file like this:
background_color_light: hex_value
background_color_dark: hex_value
background_image_light: path
background_image_dark: path
text_color_light: hex_value
text_color_dark: hex_value
text_font_light: path
text_font_dark: path
By default (if no option added) use the current ones.

This is the feature that I don't want to include as this brings challenges to maintaining these parameters while more features are implemented in the future.
A better solution to bring more flexibility of style control to the end-user is to add a custom_css option and bundle it in head.html. User can create a custom CSS to override the style variable defined in html[data-theme="light"] for the light theme and html[data-theme="dark"] for the dark theme. (see https://github.com/kaiiiz/hugo-theme-monochrome/blob/main/assets/scss/color.scss)

I've created a separate issue for this improvement with a different implementation, so this issue should be closed.


Purchase Fuel & Car Journey

Does the calculation of the car journey include fuel? Or is that calculated separately through bis fuel. This seems to be double dipping?

I had a similar question. I'm assuming that the car journey is the approx cost of the manufacture of the car, and burning the fuel in the engine, and the separate fuel purchase is the approx cost of extracting, processing and moving the fuel to the pump.
There's lots of similar places where it's possible to double dip, and it's hard to know what the 'right' way to do it it. I'm pretty sure my footprint isn't as low as my current profile would indicate...

Hi, it is including the fuel :-)


How can I use it show feature maps?

I  get the output of the conv1  layer which shape is [7,32,32,32]. How can I  use tensorboard  show  feature maps? Use writer.add_image? @lanpa

For a feature map of size [N, C, H, W], you can resize it to [N*C, 1, H, W] and pass it to add_image().

Thanks. I'll try it.


Fixes #2074: Add a new setting to store the country of the user

Description
A new setting was added for the user to enter his/her country and the setting would be used to populate the 'Countries Where Sold' field when adding a product.
Related issues and discussion
#fixes #2074
Screen-shots, if any
See attached

@teolemon Here's how the preference for the user country automatically populates the 'Countries Where Sold' field. Please review.


Send a :christmas_tree:, get a tree

New feature: Allow users to interact with the bot directly. Sending a :christmas_tree: emoji returns a random picture of a Christmas tree. Limit to one tree per day. Multiple queries per day could either repeat the same tree or just inform the user to try again tomorrow.
This feature could also be called "tree of the day".

Implemented in version 1.3.0


[bypasses] Removes SxBypass

Rationale

Bypass only works with specific hooking libraries (Cydia Substrate/Substitute)
Enable cheats
A closed-source fork of vnodebypass, which is a GPL3 tweak.
vnodebypass works fine, so we're not missing out on anything.

Switched to draft mode while issues are being settled.

Jumped too quick to conclusions. SxBypass is legit.


en locale is supposed to be US but startOf week is Monday

Describe the bug
I'm under the impression the default locale en is supposed to represent English (United States) since there is no en-us. https://github.com/moment/moment/issues/3569#issuecomment-258637893 However when I try to get the start of the week with en, I get Monday and in the US and in general North America the week starts on Sunday. en-CA, English (Canada) works as expected.
To Reproduce
Steps to reproduce the behavior:

Set locale to en-us, it goes to en
Do moment.startOf('week') or check moment.localeData().firstDayOfWeek()

Expected behavior

First day of the week in the US should be Monday or day 0 not 1.

https://github.com/moment/moment/blob/develop/src/lib/units/week.js#L45

I'm using moment 2.24.0.
Is this a bug or is my understanding bugged?
As a workaround, I am doing: moment.updateLocale('en', { week: { dow: 0 } });

Are you using an environment or plugin that changes moment locale / locale-data?
Things like fine in a plain jsfiddle

Thanks @ashsearle for checking. I was looking for any other reference to updateLocale and I couldn't find anything. Is there another way to update locale / locale data other than that function that I am using to fix this?
This is on MacOS with Chrome Incognito, others working with me experience the same thing so it must be something in our app then.

If some other code is using updateLocale you might be able to see evidence of that by checking moment.localeData().parentLocale - it'd normally be undefined for the default 'en' locale.

Very odd, I have no modification to parentLocale, its undefined and I searched for references to localeData in my source code and found none other than the ones to generate this print out below... Perhaps one of my dependencies is doing something to it? There is no other way to influence this value?

i don't think there's any other way to influence this, so I'd definitely search your node_modules / dependencies and check if something jumps out.

It looks fine for me also. Am I missing something?
const moment = require("moment");
moment.locale("en-ca");
console.log(moment.localeData().firstDayOfWeek()); // 0

Yes, I found the root cause. It was my app setting the locale again. Thanks guys.


[BUG] Roblox crashes after some time

Acknowledgement of preliminary instructions

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

What problem did you encounter?
I recently wiped my computer fresh but now after playing a roblox game for some time, it just freezes. Afterwards it unfreezes, but the freeze happens for awhile. Before I wiped my PC fresh, this problem didn't happen.

https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

I seem to have the same issue. I tried reverting to version 2.5.3, and it works just fine. This error only occurs for me when I minimize Roblox.

I seem to have the same issue. I tried reverting to version 2.5.3, and it works just fine. This error only occurs for me when I minimize Roblox.

Thank you!


Update mode: SetMetadataItem

Describe the bug
I am trying to prepare a series of ARIA standard products for timeseries processing. The products come from Tibet track 150.
A-T makes it through most of the necessary layers, but then barfed when attempting to create the perpendicular baseline layer.
Generating: incidenceAngle - [==================================================] 20170402_20170321
Generating: lookAngle - [==================================================] 20170402_20170321
Generating: azimuthAngle - [==================================================] 20170402_20170321
Traceback (most recent call last):
  File "/home/rzinke/miniconda3/envs/insar/bin/ariaTSsetup.py", line 18, in <module>
    main(inps)
  File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/ARIAtools/tsSetup.py", line 558, in main
    ref_dlist = generate_stack(standardproduct_info, 'unwrappedPhase',
  File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/ARIAtools/tsSetup.py", line 188, in generate_stack
    b_perp = extract_meta_dict(aria_prod, 'bPerpendicular')
  File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/ARIAtools/tsSetup.py", line 149, in extract_meta_dict
    stat = data_set.GetRasterBand(1).GetStatistics(True, True)
  File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/GDAL-3.5.0-py3.10-linux-x86_64.egg/osgeo/gdal.py", line 3535, in GetStatistics
    return _gdal.Band_GetStatistics(self, *args)
RuntimeError: netCDFRasterBand::SetMetadataItem() can only be called in update mode

To Reproduce
This could be difficult to reproduce due to the large number of files involved. I am working on a reproducible set of steps now.
Desktop (please complete the following information):

ARIA-tools git tag: a56a8e538769a7c7883ad5922d2f12227344a15e
OS: Ubuntu 20.04.4 LTS

this is a result of the recent update to GDAL (3.4.2 I think?) and addressed (for now) in this https://github.com/aria-tools/ARIA-tools/pull/306
The temporary fix is just forcing gdal < 3.4.2 in the environment file. You can try to do conda install gdal=3.4.2 in your current environment but I find this can mess up library bindings.
Recommend you pull that and use the environment file to start fresh

@rzinke I've tried out the changes Brett made to the environment and it works on my end. As a sanity check, could you please confirm on your end and then close this ticket? Thanks!

Thanks @bbuzz31 and @sssangha , I am verifying now.

Reinstalling with the PR #306 did the trick. Thanks.

@rzinke looks like this had been resolved. Will close the ticket.

reopening as forcing an older gdal version not a satisfactory solution

I am facing the same issue, applied PR #306 but issue not resolved

You’ll need to reinstall ARIA-tools into a fresh conda environment, or manually try to downgrade gdal in the existing environment with ARIA-tools (e.g., conda install gdal=3.4.2)

On Jul 25, 2022, at 11:13, KASHKASHOPTIMUS @.***> wrote:
I am facing the same issue, applied PR #306 https://github.com/aria-tools/ARIA-tools/pull/306 but issue not resolved
—
Reply to this email directly, view it on GitHub https://github.com/aria-tools/ARIA-tools/issues/307#issuecomment-1194435205, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWNVR6T53I3MNMW62GX3X3VV3KL5ANCNFSM5YPC5RUA.
You are receiving this because you modified the open/close state.

The environment file is taking so long to run. Why is that?
Thanks & Regards,
Kashyap

From: BB @.>
Sent: Monday, July 25, 2022 6:20:52 PM
To: aria-tools/ARIA-tools @.>
Cc: Kashyap, Machiraju @.>; Comment @.>
Subject: Re: [aria-tools/ARIA-tools] Update mode: SetMetadataItem (Issue #307)
[External]
You’ll need to reinstall ARIA-tools into a fresh conda environment, or manually try to downgrade gdal in the existing environment with ARIA-tools (e.g., conda install gdal=3.4.2)

On Jul 25, 2022, at 11:13, KASHKASHOPTIMUS @.***> wrote:
I am facing the same issue, applied PR #306 https://github.com/aria-tools/ARIA-tools/pull/306 but issue not resolved
—
Reply to this email directly, view it on GitHub https://github.com/aria-tools/ARIA-tools/issues/307#issuecomment-1194435205, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWNVR6T53I3MNMW62GX3X3VV3KL5ANCNFSM5YPC5RUA.
You are receiving this because you modified the open/close state.

—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faria-tools%2FARIA-tools%2Fissues%2F307%23issuecomment-1194759233&data=05|01|kpm0301%40mavs.uta.edu|9e89e35c6c434359871008da6e9451a2|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637943880555629129|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=K8BcDoDWRVQedLZbOI94uBLKRTNZqRln6mUZbW0Jj08%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZUZR5RFOHFM7EEYB2ZPFUTVV4ONJANCNFSM5YPC5RUA&data=05|01|kpm0301%40mavs.uta.edu|9e89e35c6c434359871008da6e9451a2|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637943880555629129|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=uFHRNuCbdcX2G7Di9jO6NKGmW%2BSZbxsClLo%2FedhW4OQ%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

I followed the instruction and reinstalled everything but this time ARIAtools egg_info is not in the folder also when I run the setup.py in the tools/ARIAtools folder I get the following error

Please follow instructions per readme. you shouldn't be manually running setup.py. Use  python -m pip install .
Note that we don't test on windows.

I tried that too giving me the same error
Thanks & Regards,
Kashyap

From: BB @.>
Sent: Wednesday, July 27, 2022 4:05:41 PM
To: aria-tools/ARIA-tools @.>
Cc: Kashyap, Machiraju @.>; Comment @.>
Subject: Re: [aria-tools/ARIA-tools] Update mode: SetMetadataItem (Issue #307)
[External]
Please follow instructions per readme. you shouldn't be manually running setup.py. Use python -m pip install .
Note that we don't test on windows.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faria-tools%2FARIA-tools%2Fissues%2F307%23issuecomment-1197367355&data=05|01|kpm0301%40mavs.uta.edu|f58fa4f82ce24e35c03408da7013c3fb|5cdc5b43d7be4caa8173729e3b0a62d9|0|0|637945527441170654|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9pJ2WvQN89s2QamE7xv67Ghx%2FWoJKVxQyXn2FTZVWFI%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZUZR5WE7OPSQLIKHPPETFLVWGQCLANCNFSM5YPC5RUA&data=05|01|kpm0301%40mavs.uta.edu|f58fa4f82ce24e35c03408da7013c3fb|5cdc5b43d7be4caa8173729e3b0a62d9|0|0|637945527441326864|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hZcXwQrKgiH32PWR%2BH12n38dmWMajkG7Fim%2BVJqTEbA%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

You can now try to pull this fix: https://github.com/aria-tools/ARIA-tools/pull/314. Recommend to reinstall from as clean an install as you can.

@bbuzz31 does this fix only work with the newest version of gdal or also with versions prior to 3.5.1. I tried to run the ariaTSsetup_tutorial  notebook in the ARIA-tools-docs with the newest version of ARIA-tools both with gdal versions 3.4.2 and 3.4.3 without success. I haven't yet tried to upgrade to >= 3.5.1 as the environment I'm running has a lot of moving parts in it.

@ssangha implemented this fix

On Aug 6, 2022, at 16:08, Gregor Beyerle @.***> wrote:

@bbuzz31 does this fix only work with the newest version of gdal or also with versions prior to 3.5.1. I tried to run the ariaTSsetup_tutorial notebook in the ARIA-tools-docs with the newest version of ARIA-tools both with gdal versions 3.4.2 and 3.4.3 without success. I haven't yet tried to upgrade to >= 3.5.1 as the environment I'm running has a lot of moving parts in it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@WalternativE as @bbuzz31 said, please try to reinstall with the newest dev branch, also making sure to update your environment with the new environment.yml file. Please let me know if this resolves the issue on your end

@sssangha I fear that this isn't possible for me because I would use it together with isce2 which does not support gdal versions greater than 2.4.x for its latest release. I assume until this conflict resolves in the feature it would be best to have separate environments for different parts of the workflow, right?

I am using ariaTSsetup script for preparing time series, the script works but tif output does not seem to be supported by gdal.

The SRTM file seems to be damaged or corrupt as no image is generated. please let me know what other info do you need?

@KASHKASHOPTIMUS  the .topoapi file should be in your home directory (so I'd just pipe to ~/.topoapi). I'd also generate a new API key if I were you. Don't know if the bots are crawling images as well on GitHub but one can never be completely sure. For further debugging it would be good if you could create another issue as bbuz31 said. There might be more questions which aren't connected to the problem of this thread.

Thank you for the advice! I was wondering if there is a problem with the DEMfilename as it has a forward and a backward slash in its name. I shall create a new issue. Thanks

The SRTM file seems to be damaged or corrupt as no image is generated. please let me know what other info do you need?The first line of the picture shows how topo api key is set

To clarify, I meant open the tif file with a texteditor., e.g., vi SRTM_3arsec_uncropped.tif

setMetaDataItem is addressed in https://github.com/aria-tools/ARIA-tools/pull/318
openTopo is addressed in https://github.com/aria-tools/ARIA-tools/issues/322