(Docs) Harmful terminology changes

I grepped through the docs and found a couple of lingering terms
that we need to change. Most are just examples. One is a DB
filename that is going to change soon. I'm on the fence about merging
this now or waiting for the Puppet 7 release when all of the other docs
changes (and a lot of the engineering work) will land.
!no-release-note

Also, no idea why that config schema changed so much 😮

These changes are small enough that I don't think it's necessary to wait to merge them. We're not really adopting any new terminology here.

Oh I missed the reference to certificate-allowlist which does introduce something new. :shrug:

Looks like something funky happened with the bolt-config schema and the rake task needs to be run again.

@beechtom Running the rake task again fixed that schema, thanks!

Oh I missed the reference to certificate-allowlist which does introduce something new. 🤷

The change should be live in today's PuppetDB release, but not sure whether installer has adopted it yet

I'm not sure how much the whitelist -> allowlist change here matters with respect to whether the other docs/tools have been updated. Even if they have, most users are still going to be on an older version of PuppetDB where it's called whitelist. So either way, the docs are going to be using bleeding edge terminology that may not match their experience. So may as well :shipit: I think.

Okay sweet, let me rebase this quick and then

CLA signed by all contributors.


Unreliability retrieving Player from Inventory Open/Close

I am currently running

SpongeForge version: 1.12.2-2705-7.1.10-BETA-3206
Java version: 1.8.0_144
Operating System: Windows 7

Issue Description
From the comment block in this commit,
"Both the Open and Close inventory events have no reliable way of retrieving the target player that was involved with the action. The affected player is not always present in the cause stack. Until reliability is resolved, [these listeners are] replaced with us simply tracking menu opens and closes ourselves in a less efficient manner through tracking which players get Menus opened for them and then constantly asking whether or not they still even have it open."
Note the solution that was used in this commit, where I chose to depend on a monitor scheduler task instead of events -- a much less intuitive way of accomplishing the goal.
Specifically, there're two cases where the affected Player doesn't appear in the cause stack for the InventoryInteractEvent.Open and InventoryInteractEvent.Close events.

.. when Player#openInventory is called inside a scheduler task
.. when the Player isn't the direct cause of an InventoryInteractEvent.Close

The current main way to grab the affected player is through the Cause stack, but it being possible to not be present in certain cases makes it unreliable -- especially for inventory events who're sensitive to being immediately responded to with other inventory calls where the best possible workaround is to push it through the scheduler to occur on the next possible tick. Sponge has its own way of detecting this sensitivity and delaying the call on its own, which pushes it through the scheduler itself, but somehow doesn't seem to drop the Player from the stack (and I've no idea how, presumably from messing with the stack frame, though doing this on your own really shouldn't be necessary and not everyone will do it, meaning events from other plugins would still be a potential failure point). This sensitivity check also poses other issues of its own (see #1984).
An argument against this in favor of it being intended behavior was that the player did not intend to open the menu themselves through normal means, so they should not be in the cause stack, in which case..

.. why does Player#openInventory still place the Player in the cause stack outside of a scheduler task?
.. why is there then no consistent way to grab the affected Player if they aren't always present in the cause stack?

The proposed solution is to add methods to retrieve the affected player in those two events, as other events seem fine with including their targets.

You can test these interactions using the provided snippets.
InventoryIssues.java / JAR File
(JAR file suspiciously big? This file does also have the code for testing #1984 with the @Plugin annotation commented out.)

Test instructions are in the code's comments.

If you close your inventory via plugin, source(first object in cause stack) should be plugin, not player.

Source object isn't relevant to this issue -- especially when you can simply ignore the source and retrieve it through Cause.first(type); it's the unreliability of grabbing the affected Player instance through what's currently the only way to do so: the Cause stack. The goal of this issue is to correct this unreliability.
The proposed solution asks for either the Player to always be present in some form, or have a different consistent way of grabbing the Player, since having the Player in the Cause stack without them being an actual reason goes against the intentions of the Cause class. This could be done through EventContext or just adding a getAffectedPlayer() method in the event class.
There's a workaround for the open event, where you can iterate through the online Players and compare the result of getOpenInventory() to the event's getTargetContainer(), but this isn't possible for close event. The workaround I used for the close event is much bigger that a simple comparison and shouldn't be necessary.

@Faithcaio tl;dr for you:
Sometimes viewer isn't present in cause / context.
Pure tests output:
<Xakep_SDK> test1
Event: class org.spongepowered.api.event.InteractInventoryEvent$Open$Impl
Cause[Context=Context[], Stack={Plugin{OmmitedForReadability}, EntityPlayerMP['Xakep_SDK'/392, l='world', x=252.88, y=76.00, z=197.66]}]
Event: class org.spongepowered.api.event.InteractInventoryEvent$Close$Impl
Cause[Context=Context[], Stack={EntityPlayerMP['Xakep_SDK'/392, l='world', x=252.88, y=76.00, z=197.66]}]

<Xakep_SDK> test2
Event: class org.spongepowered.api.event.InteractInventoryEvent$Open$Impl
Cause[Context=Context[], Stack={Plugin{OmmitedForReadability}}]
Event: class org.spongepowered.api.event.InteractInventoryEvent$Close$Impl
Cause[Context=Context[], Stack={EntityPlayerMP['Xakep_SDK'/392, l='world', x=252.88, y=76.00, z=197.66]}]

<Xakep_SDK> test3 [player inv on E key]
test3
Event: class org.spongepowered.api.event.InteractInventoryEvent$Close$Impl
Cause[Context=Context[], Stack={Plugin{OmmitedForReadability}, DedicatedServer}]

<Xakep_SDK> test4 [player inv on E key]
test4
Event: class org.spongepowered.api.event.InteractInventoryEvent$Close$Impl
Cause[Context=Context[], Stack={Plugin{OmmitedForReadability}}]

Test code:
https://gist.github.com/XakepSDK/e8aea26a14c718b99f12cd4b07c5b88b

Also, inventory open event isn't fired for players own inventory, is it ok?

Not ok. But the Client won't tell us so we do not know.

fyi in API8 Container will have Optional<Player> getViewer();

Good to know. I tried to check if containers were unique to players while messing with this issue, but getViewers() was unimplemented. Though from the fact that it's returning an optional, it seems like the container won't keep the player if it's closed (in which case it doesn't help resolve the issue for the close event)?

I'd definitely give @bloodmc's testing jars a try lately as he's been hammering away at forge events syncing, which I'm almost sure he's had to resolve some packet issues to potentially resolve this issue (maybe? I don't know for sure). Not sure which jar is needed or which one is for which, but I'll let him make that statement.

After checking again: The player is not actually ever removed from the Container.
So I'll change it to return Player instead of Optional.
Also isOpen():boolean to check if the container is still open.


Update go-programming-model-context.md

fix "Execution Time" example
Issue #, if available:
Description of changes:
fix example

Thanks for your feedback. This example has since been updated with the addition of a timeout channel, which appears to address the same issue. If there is still an issue, please re-open this PR.


Default loading indicator is not showing

this is my element
import {FlatList as BidirectionList} from 'react-native-bidirectional-infinite-scroll';
<BidirectionList
        ref={listRef}
        data={data}
        keyExtractor={keyExtractor}
        renderItem={renderItem}
        onStartReached={onStartReached}
        onEndReached={onEndReached}
        showDefaultLoadingIndicators={true}
        onStartReachedThreshold={10}
        onEndReachedThreshold={10}
        activityIndicatorColor={'black'}
      />

Hey @doolb14 could you please share some screenrecording?

https://user-images.githubusercontent.com/29996189/120890914-578dd500-c623-11eb-8ef6-18c84b30e25d.mp4

I'm also facing the same issue

@vishalnarkhede May I know what's the issue in my code?

@IamDhana its a bit hard to say. Inside loadMoreOlderMessages, are you ensuring await for api response?

@IamDhana its a bit hard to say. Inside loadMoreOlderMessages, are you ensuring await for api response?
Hi @vishalnarkhede  why is this necessary? Can you please elaborate the docs, I am willing to help you if you need me.


Tooltip problems

in mobile the bootstrap green checks - 'fa-check-square' - are not visible .
When a speaker doesn't have any of the fields that are shown in the tooltip in her profile (city, language, wiiling to travel, willing to speak nonprofit), all that is shown is a tiny little triangle above the profile when hovering.
In mobile, the tooltip is shown when tapping on the profile, but that's already directing to the profile's page: maybe there is no point on having the tooltip on mobile, whereas there is no hover in mobile?
Regarding the "willing to speak for non-profit": maybe we can remove it all together from the tooltip and add it as a filter? That way we answer to event organizers needs and this attribute is not super visible.

1. in mobile the bootstrap green checks - 'fa-check-square' - are not visible .
Is that still reproducable? I used Safari and Chrome on mobile and saw the checkboxes.
When a speaker doesn't have any of the fields that are shown in the tooltip in her profile (city, language, wiiling to travel, willing to speak nonprofit), all that is shown is a tiny little triangle above the profile when hovering.
Addressing in https://github.com/rubymonsters/speakerinnen_liste/pull/1102
In mobile, the tooltip is shown when tapping on the profile, but that's already directing to the profile's page: maybe there is no point on having the tooltip on mobile, whereas there is no hover in mobile?
Not yet addressed.
When tapping the image, we directly direct to the profile page. But, when tapping the topics below, we only show the tooltip and don't redirect to the profile. Should this behavior be preserved?
Regarding the "willing to speak for non-profit": maybe we can remove it all together from the tooltip and add it as a filter? That way we answer to event organizers needs and this attribute is not super visible.
Not yet addressed.

HI @athomschke, thanks for the remarks!

great!
great * 2!
3 + 4: I think it would be best to discuss in the team meeting.
There is a search test that fails. I think it would be good to upgrade for new search version which now available on master.

As mentioned by @tyranja , this is not fixed yet after merging https://github.com/rubymonsters/speakerinnen_liste/pull/1102 . Checking.

Hmpf, there must be something I am missing, since I'm failing to reproduce this locally. Is it possible to get a data dump for one of the profiles where it shows the empty triangle? I'm assuming there's some edge-case in which my condition returns a false negative.

@athomschke can you move you mouse over the 4th speakerinnen in the feature block? https://staging-speakerinnen-liste.herokuapp.com/

Yes, sorry, I didn't make myself clear. I am trying to reproduce this behavior locally on my machine, so I can debug it better - however, if I create a profile without additional data here, it does not show the tooltip triangle. So I'm thinking the difference is in the configuration of profiles that I test with locally and the one on staging. Since I don't have admin credentials to the staging environment, I can't see how the profile is configured though.

oh ok. Adding you to heroku would be helpful I guess :D

Solltest jetzt heroku staging zugang haben....

@tyranja @athomschke is that issue done?


Inference Score is low AP - on different dataset

Hello I tried the model and AP is above 40 percent but when I test it on a different dataset the AP is around 0.04 what could be the possible reasons for failure?
I trained the model on 256x256 image size and tested on 256x256 and higher sizes but nothing changed AP is still very low on the testing set. Even during I have a separate validation set but AP is good enough around 40

I also have the same problem. I think it may be caused by overfitting of the model. Have you solved this problem？


centralize plot colors to core ui

Description
Centralize all chart/plot colors to core ui package.

Use consistent colors across all charts
Removed duplicate color definitions
Rename fabric variables to fluentui

Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[x] Documentation was updated if it was needed.

Codecov Report

Merging #1559 (02f9b81) into main (f645fb2) will decrease coverage by 2.01%.
The diff coverage is n/a.

:exclamation: Current head 02f9b81 differs from pull request most recent head b9833cd. Consider uploading reports for the commit b9833cd to get more accurate results

@@            Coverage Diff             @@
##             main    #1559      +/-   ##
==========================================
- Coverage   89.75%   87.73%   -2.02%
==========================================
  Files          38      109      +71
  Lines        1610     5260    +3650
==========================================
+ Hits         1445     4615    +3170
- Misses        165      645     +480

Flag
Coverage Δ

unittests
87.73% <ø> (-2.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

...sponsibleai/responsibleai/managers/base_manager.py
95.23% <0.00%> (ø)

raiwidgets/raiwidgets/dashboard.py
92.68% <0.00%> (ø)

raiwidgets/raiwidgets/__init__.py
100.00% <0.00%> (ø)

...nsibleai/responsibleai/_managers/causal_manager.py
100.00% <0.00%> (ø)

...leai/responsibleai/modelanalysis/model_analysis.py
94.33% <0.00%> (ø)

...sponsibleai/responsibleai/rai_insights/__init__.py
100.00% <0.00%> (ø)

...ibleai/_tools/causal/dashboard_schemas/__init__.py
100.00% <0.00%> (ø)

...ponsibleai/responsibleai/_managers/base_manager.py
100.00% <0.00%> (ø)

raiwidgets/raiwidgets/cohort.py
95.00% <0.00%> (ø)

responsibleai/responsibleai/managers/__init__.py
100.00% <0.00%> (ø)

... and 61 more

Continue to review full report at Codecov.

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


Please invite me to the Recode-Hive GitHub Community Organization

Name
Siddheya Kulkarni
Discord Username (if applicable)
No response
Additional Context
No response

Its working finally. Thanks to you. :)

@sanjay-kv No no wait, it was manually closed by me😅, merge the lastest PR


Fix pagination issues for all-transactions

Closes #1864

I've just added a new test to make sure issue is fixed


2.3.x introduced false error TS2449: Class used before its declaration

TypeScript Version:  2.3.1 , 2.3.2
Code
import LocalState = DomainObject.LocalState;
//                             ^^^^^^^^^ error TS2449: Class 'DomainObject' used before its declaration.
class DomainObject {
	localStates: typeof LocalState;
}
namespace DomainObject {
	export enum LocalState {}
}

Expected behavior:
No error.
Actual behavior:
error TS2449: Class 'DomainObject' used before its declaration.

Probably it's related to #14679

This is actually behaving as intended. import are aliases, they can be used in both value and type positions. it is unsafe to use them in value, since you are guaranteed here that LocalState is undefined.
If all what you need is a type alias, then consider using type instead:
type LocalState = typeof DomainObject.LocalState;
class DomainObject {
	localStates: LocalState ;
}

it's an interface, it cannot be a value.
also I can't see any difference between:

not works:

import LocalState = DomainObject.LocalState;
class DomainObject {
	localStates: typeof LocalState ;
}

works:

class DomainObject {
	localStates: typeof DomainObject.LocalState ;
}

(changed comment)
Ok. But it could work in cases when it's used as type (as in the example). It looks a bit overstrict.
Also I have different cases:
const DefaultMapping: PropertyEditorMap = {
	peNotAuthorized: PropertyEditor,
//                                  ^^^^^ error
};

class PropertyEditor extends Component {
}

Ok. But it could work in cases when it's used as type (as in the example). It looks a bit overstrict.

that is correct, but the compiler does not know for sure it will not be used as a value.
the second issue is a bug.

Actually the second case is the same. Class is used as value and its not defined yet. So it's correct check. Closing.


Error toast on homepage

Closes #77

@kubahasek this works 👍 I'll go ahead and merge this and then merge our kubahasek-issue-77 into main to get it deployed. Thanks for the hard work and persistence on this!

Thank you @ericallam, happy to help on a tool I like!


binary for python 3.6

I am new in python programming. I want to learn and use dlib library, however the installation process is complicated for me. I found you put a binary of dlib-19.4.0 for python 3.5.  If you kindly put a similar binary for python 3.6 it will be really helpful for many of us.

Sure, I'll do that for the next dlib release.


Configuration environment problem

Hello, I am going to run this code. There is an error while configuring the environment that I cannot resolve, the error is shown in the image below. The DGL library is already installed. How to solve it? Looking forward to your help, thank you very much.

Hi, you need to install dgl.nn.tensorflow

Thank you for your reply. But I already have dgl installed. After I changed the backend of dgl to TensorFlow, this problem disappeared, but the program has been executing, stuck in one place with no output and no end, as shown in the figure below, why is this? In the paper, it is said that the programs are written in Pytorch. Can you open source some Pytorch version of the code?

We have released the pytorch version of graphFPN, please see readme carefully. Thanks.

您好 我遇到了同样的问题
2022-04-25 17:49:47.653411: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2022-04-25 17:49:47.653459: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[17:49:50] /opt/dgl/src/runtime/tensordispatch.cc:43: TensorDispatcher: dlopen failed: /root/anaconda3/envs/GraphFPN/lib/python3.7/site-packages/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.11.0.so: cannot open shared object file: No such file or directory
Using backend: pytorch
Traceback (most recent call last):
File "/GraphFPN-Graph-Feature-Pyramid-Network-for-Object-Detection/Graph-FPN-main/Graph-FPN-main/src/train.py", line 6, in
from model.get_model import models, backbone, loss
File "/GraphFPN-Graph-Feature-Pyramid-Network-for-Object-Detection/Graph-FPN-main/Graph-FPN-main/src/model/get_model.py", line 1, in
from .network import Graph_RetinaNet, RetinaNet, get_backbone
File "/GraphFPN-Graph-Feature-Pyramid-Network-for-Object-Detection/Graph-FPN-main/Graph-FPN-main/src/model/network.py", line 9, in
from .graph import *
File "/GraphFPN-Graph-Feature-Pyramid-Network-for-Object-Detection/Graph-FPN-main/Graph-FPN-main/src/model/graph.py", line 4, in
from dgl.nn.tensorflow import glob
ModuleNotFoundError: No module named 'dgl.nn.tensorflow'

dgl默认的backend是pytorch，你把他设置成tensorflow就行了


Cards jumping in Section View

Hi,
First of all i love this theme, incredible work.
But i started playing with the new section view layout for the dashboard, and i noticed, that if i change views, the cards reorient to the top (probably since there is no header i guess). This only appears with the section layout, if i change back to any other, its not present. It also only shows with the material rounded theme (with the header mod). Is this something that could be looked into, or is this a problem with the section view in general?
I would love to keep using this theme, but the little jump after each change makes it look soo buggy :(

I think it's because of how I was setting view styles, which was causing them to be lost and reapplied every time the view changed. Can you try the 2.0.2 beta and see if that fixes it? It seems to fix it for me.

Just tested 2.0.2 beta and the jumping for me is gone. Huge improvement, thank you!

Fixed it for me too, thank you so much!

Fixed in 2.0.2


Coordinate labels should be drawn at the board edge

Currently coordinate labels are drawn at the edge of the screen. They should instead be drawn at the edge of the board.

This only affects devices with UITypePhonePortraitOnly.


If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@howardjohn: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
f0fb0cace2e70a8bdf22ca88f17c1c8fa7f25aa5
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
f0fb0cace2e70a8bdf22ca88f17c1c8fa7f25aa5
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
f0fb0cace2e70a8bdf22ca88f17c1c8fa7f25aa5
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Negroni middleware records stats usage for the /stats route

It would be good if we could have the middleware not to record stats for the configured route that displays the /stats results.
Presently, viewing the stats counts towards the stats and thus affects the timings and counts.

Right, sounds like also a way to ignore some urls and patterns :)


libsodium's Curve25519 point validation conflicts with Noise's approach

This is a continuation of the conversation started on #75.
Summary
libsodium has made the decision to try to prevent accidental foot-shooting by refusing to do DH operations on points that are clearly not securely randomly generated.
Noise has taken the approach of not validating keys at all, since it's impossible to definitively say that a point is safe, so it creates a false sense of security.
libsodium has a blacklist it maintains for low-order GroupElement points, and returns an error if encountered.
Workarounds
For snow, the two options are either to:

Respect libsodium's decisions and document its divergent behavior and its effects on compatibility with Noise.
Workaround their limitations by copying their blacklist and evading the failure by simply returning all-zero results in those cases. This may be kind of flimsy if libsodium ever decides to get more adventurous with their blacklist and we're forced to play that game.

Is it currently panicking here?
https://github.com/mcginty/snow/blob/1408112/src/resolvers/libsodium.rs#L110
Looking at the Dh trait, it seems it’s already equipped to return a Result, so I think the most straightforward thing to do is your proposed option 1: propagate this error from libsodium by changing that expect to a ?.
You could implement option 2 without copying the blacklist from libsodium by returning Ok([0u8; 32]) in the event of a point validation error, which would per the current libsodium blacklist provide the same behavior as X25519 without point validation (i.e. multiplying any of the blacklisted points by any scalar value results in 0).
It’s a six of one, half dozen of another to me: there’s no legitimate reason for these points to ever be a used as a public key and doing so is a sort of self-inflicted plaintext recovery attack. Noise would catch an attacker swapping a legitimate public key for one of these as a MAC verification failure, although given the current use of expect it seems this might presently be a DoS attack vector (via a panic) until fixed?

@tarcieri it errors at the DH calculation which does properly return an Err, not the GroupElement construction. That said, this should return a Result too, so I'll fix that.

My concern about the workaround of always returning a [0u8; 32] on libsodium failure is if the library ever introduced another failure case that's not related to providing a low-order point, then we'll fail-open instead of fail-safe, which seems flimsy.

I don't think this expect() is a DoS attack vector, since snow checks the provided public key lengths earlier in the process of doing the handshake.

Where does point validation occur in sodiumoxide? I'd expect it's there.

My concern about the workaround of always returning a [0u8; 32] on libsodium failure is if the library ever introduced another failure case that's not related to providing a low-order point, then we'll fail-open instead of fail-safe, which seems flimsy.

Since the Noise handshake cryptographically binds all parameters ala a transcript hash, any discrepancies on either side will result in a MAC verification failure, so getting anything wrong will automatically fail closed.
That said, I'd agree failing closed early on a point validation failure feels safer to me.

Where does point validation occur in sodiumoxide? If it fails during scalar mult, then I think the current implementation is fine.

I agree that it's kind of... counterintuitive, but libsodium (and sodiumoxide) do the low-order check [in the scalarmult function[(https://github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c#L90).
Also, it sounds like the safe option here is to fail closed, so I'll keep it this way unless there's a compelling real-world issue that justifies a more sketchy workaround.


YAML storage type not working on 5.4.5 for Fabric 1.18.1

Description
Looks like server doesn't have snakeyaml library
Reproduction Steps

Install Fabric server
Install LuckPerms
Change storage-method config option to yaml or yaml-combined
Start server

Expected Behaviour
LuckPerms starts without error and all command works
Server Details
Minecraft 1.18.1
fabricloader 0.13.1
fabric 0.46.4+1.18
LuckPerms Version
v5.4.5
Logs and Configs
https://gist.github.com/braunly/93fdaa5d7f74025926f62fe4fcb4f62b
Extra Details
No response

The error 'java.lang.NoClassDefFoundError' is an indicator that a dependency may not have been loaded/downloaded properly. Ofc I could be wrong, but usually the golden measure to fix this is to do the following in order:

turn off server
remove only(!) the libs folder which can be found inside your luckperms folder
turn server back on and try again

The libs folder itself only contains stuff lp needs to work, however there is nothing inside it about your setup, so no worries about your data here. Would be cool if you could try this and see if that, as it usually does, fixes it or not and report back.
Cheers

@ZeromaniacMc, thank you, but LP didn't redownload snakeyaml library
Same error

Should be sorted by ^ - thanks for reporting :)


Create process to load school district census data

Need to research what data is available.
Once determined, new dimension will be needed in the DB.
Need to pull and add data.

high school pattern is: 96000US0400450
elementary school district pattern is: 95000US0400005
Need to do some research to ensure the district level elections are different between the two.

And another type of school district has the pattern: 97000US0100006
Definitely need some research done here to figure out which ones we need.
Files are located here: http://www2.census.gov/geo/docs/maps-data/data/gazetteer/2016_Gazetteer/
elsd = elementary school district
scsd = high school district
unsd = the 3rd one... not sure what it is but it appears to be unified school districts

Looks like unified may be the correct way, at least from researching in NY (where I'm from, so more familiar with).

Before moving on this, could we get a few others to look at this data for states they are familiar with?  I know NY and unsd (unified school district) appears to be correct (school boards seem to fall into that category).  Looking for some data points on other states.
You can get the raw files from the above links, take the GEOID from the field and construct the FIPS using the following rules:
elsd file: 95000US  IE 95000US0400004
scsd file: 96000US
unsd file: 97000US
That gives you the FIPS code for that district.
Then go to: https://censusreporter.org/profiles/ to get an easy to read name and data.  Compare that to your knowledge of the area and see if there is a matching school board (or group of elected officials).  For example, The area of NY I'm from has a school board that matches with the unified school district only, nothing for elementary or high school districts.
Report back, if there is a pattern then we can just load the appropriate data and not need to grab everything.

I too am from New York state.  I examined several entries in these files:
2016_Gaz_elsd_national.zip
2016_Gaz_scsd_national.zip
2016_Gaz_unsd_national.zip

... and found the entries plausible.  Whereas every location in New York state falls into exactly one county, I suspect that it is not the case that every location falls into a single unified/secondary/elementary school district.  On the other hand, a given location might fall into two or even three -- or none -- of the categories.
It was easy to construct a URL following the hints provided above.  Example:
https://censusreporter.org/search/?q=97000US3604740
And when you go to that page you get a link to:
https://censusreporter.org/profiles/97000US3604740-bethpage-union-free-school-district-ny/
There is no data on school district officials on such pages, nor would I expect there to be.
Thank you very much.
Jim Keenan


Lens unable to connect to cluster

Describe the bug
One of 5 clusters in Lens will not connect. Lens will sping with "Connecting..." instead of loading cluster
tried deleting lens-local-storage folder
To Reproduce
Steps to reproduce the behavior:

Go to Clusters
Click on cluster

Expected behavior
Selecting cluster will load
Screenshots

Environment (please complete the following information):

Lens Version: 2022.10.131529-latest
OS: Windows 10
Installation method (e.g. snap or AppImage in Linux):
MSI

lens15.log

Which cluster doesn't display anything?

aks-blue-cluster

kubectl has no problem against this server

Looking at your logs I see some lines like:
error: [CLUSTER]: Failed to connect to "aks-blue-cluster": StatusCodeError: 500 - "dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n"

If you quit Lens from tray icon and start it via a terminal does connecting work?

Yes, that is working. Thanks!

No

Interesting, windows processes inherent all environmental variables from its parent process. So I guess the only way would be if you modified the environment somewhere after starting Lens I guess.

FWIW, a colleague said he was having the problem and I gave him the same instructions and it fixed his issue as well.

That is very strange... Are you using PowerShell?

Do you have a PowerShell profile set up?

No, I usually drop to WSL and use bash shell for local terminal

So you started Lens from within WSL or did you run it from PowerShell? Given how windows processes inherit environment I am at a loss as to where the additional environment variables are coming from allowing you to connect when running Lens via the terminal.

Run directly from start menu

Does running Lens from the start menu after quitting it from the tray menu also solve the problem?

yes, quitting the service from the tray is the workaround

Okay so it sounds like that is what is needed to pick up environment variable changes. Thanks for the response.


fix issue of unwanted folders are added in app folder

Hi Thomas,
This PR fixes issue #209 to avoid unwanted folders in app folder.
Thank you,
Ngoan

Hi Ngoan,
Cc Thomas,
I have to install this version on my machine. The unwanted folder is removed after install version on this build pipeline.
Therefore, I would like to confirm that the pull request resolve this issue https://github.com/test-fullautomation/RobotFramework_AIO/issues/209.
Thank you and best regards,
Thong Hua


Baseline JIT wireframe, WIP

It's barebones, but here it is.
I'm running it with js build/ts/shell.js -c test/abcs~/*


how can I do delete operation?

hi,
I download and try a bit. AND can not find such delete operation?
any suggestion?
BTW, i also wonder how this lib https://github.com/igrigorik/bloomfilter-rb do it by single bit..

Bloom filters do not support deletions. The operation for deletions used in bloomfilter-rb is wrong. The reason that bloom filters cannot support deletions is that they do not allow false negatives, and hash collisions are possible.
So, let's say 'foo' and 'bar' map to indexes (1, 2, 9) and (3, 4, 9) respectively. Our bloom filter containing both might look something like this:
# Add 'foo', add 'bar'
Position : 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Bit value: 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1

If you simply set all the bits for the indexes corresponding to a key to 0, then when removing 'bar', you'd get this:
# Add 'foo', add 'bar', remove 'bar'
Position : 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Bit value: 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0

When you check to see if 'bar' is included, you'd see that it is not (which is expected):
bit_at(3) & bit_at(4) & bit_at(9) = 0 & 0 & 0 = false

But when you check to see if 'foo' is included, which must be true to be a bloom filter, you get something altogether unexpected:
bit_at(1) & bit_at(2) & bit_at(9) = 1 & 1 & 0 = false

As for the single bit, the number of bits used per item is a function of the capacity and error rate of the bloom filter. The number of bits used per item is equal to the number of hashes needed to satisfy the capacity and error constraints.
Does that help?

FWIW, bloomfilter-rb has a bloom filter version and a counting version. If you use counting, then you can implement deletions. However, it seems to me that their non-counting implementations should not allow deletions.

@dlecocq  got it, thx a lot.


fix(Cast): Incorrect detection of MediaCapabilities on Chromecast

Fixes https://github.com/shaka-project/shaka-player/issues/5776

@shaka-bot test


Update to Trivy 0.28.1

Checklist

[x] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

Important: After this PR is tested and approved, ensure you "Squash and Merge" unless you are updating a subtree. The release automation in use on this repository relies on squashing, but git subtrees will be lost if squashed. This repo allows both, so you may need to change the merge type when merging.

This is confusing, but upstream 0.28.1 (in fact, at least through 0.29.2) are still actually using 0.27.0 trivy images

Running on ghost


oadp-1.2 missing OWNERS file for tide

Describe the problem/challenge you have

Describe the solution you'd like

Anything else you would like to add:

Environment:

Velero version (use velero version):
Kubernetes version (use kubectl version):
Kubernetes installer & version:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):

Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

:+1: for "The project would be better with this feature added"
:-1: for "This feature will not enhance the project in a meaningful way"

/lifecycle frozen


chore: automated PR to update ReleaseNotes for 202403.19.0 VHD

This is an automated PR to bump ReleaseNotes for the VHD release with image version 202403.19.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.343%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2293

Relevant Lines:
2890

💛  - Coveralls


Xavier AGX: Firmware autoupdate results in build errors

Running with hardware.nvidia-jetpack.firmware.autoUpdate, rebuilding the OS yields:
/nix/store/3v9y55i00c66m79k9wiq7l67gkkd5gm4-install-systemd-boot.sh: line 8: cat: command not found
Current Jetson firmware version is:
New Jetson firmware version is: 35.3.1

/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 6: cut: command not found
/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 7: cut: command not found
/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 8: cut: command not found
/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 9: cut: command not found
/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 10: cut: command not found
/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 11: cut: command not found
/nix/store/byq6p9lb8pz9cl85nr338cj3vmdf77q0-ota-utils/share/ota_helpers.func: line 85: cut: command not found
warning: error(s) occurred while switching to the new configuration

Just curious, did you somehow configure your NixOS system to not have coreutils in your PATH?  Either way, this looks like something we can fix, but these are a class of errors that I commonly miss....


Move @types/node in devDependencies

Re: #7
I ran tests before, and after - however, I do not know if this is considered a deployment dependency which I can't test too easily.

The problem is that arguments of type nbind::Buffer in C++ become number[] | ArrayBuffer | DataView | Uint8Array | Buffer in TypeScript definitions and Buffer is undefined without @types/node installed.
I added a shim declaring Buffer as Uint8Array since it inherits from that, hopefully not breaking anything else.

Thanks @jjrv ❤

Thank you for the PR! I'll do a new release today.


Add extension to "MWStake/nonwmf-extensions"

.. to allow code-search. Repo at https://github.com/MWStake/nonwmf-extensions

https://github.com/MWStake/nonwmf-extensions/pull/79

Done


Getting Started with Karpenter - helm step fails

Hello, I'm following through https://karpenter.sh/v0.24.0/getting-started/getting-started-with-eksctl/ and having issues with the helm step:
$ eksctl create cluster -f - <<EOF
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
  name: ${CLUSTER_NAME}
  region: ${AWS_DEFAULT_REGION}
  version: "1.24"
  tags:
    karpenter.sh/discovery: ${CLUSTER_NAME}

vpc:
  subnets:
    private:
      ap-southeast-2a: { id: subnet-4dxxxx29 }
      ap-southeast-2b: { id: subnet-57xxxx21 }
  clusterEndpoints:
    publicAccess: false
    privateAccess: true

iam:
  withOIDC: true
  serviceAccounts:
  - metadata:
      name: karpenter
      namespace: karpenter
    roleName: ${CLUSTER_NAME}-karpenter
    attachPolicyARNs:
    - arn:aws:iam::${AWS_ACCOUNT_ID}:policy/KarpenterControllerPolicy-${CLUSTER_NAME}
    roleOnly: true

iamIdentityMappings:
- arn: "arn:aws:iam::${AWS_ACCOUNT_ID}:role/KarpenterNodeRole-${CLUSTER_NAME}"
  username: system:node:{{EC2PrivateDNSName}}
  groups:
  - system:bootstrappers
  - system:nodes

fargateProfiles:
- name: karpenter
  selectors:
  - namespace: karpenter

EOF

$ echo $KARPENTER_VERSION $CLUSTER_NAME $CLUSTER_ENDPOINT $KARPENTER_IAM_ROLE_ARN
v0.24.0 gitlab-kubernetes https://EAA312B34FED5DA178305BEC21260628.gr7.ap-southeast-2.eks.amazonaws.com arn:aws:iam::465988800904:role/gitlab-kubernetes-karpenter

$ helm version
version.BuildInfo{Version:"v3.11.1", GitCommit:"293b50c65d4d56187cd4e2f390f0ada46b4c4737", GitTreeState:"clean", GoVersion:"go1.18.10"}

$ helm upgrade --install karpenter oci://public.ecr.aws/karpenter/karpenter --version ${KARPENTER_VERSION} --namespace karpenter --create-namespace \
>   --set serviceAccount.annotations."eks\.amazonaws\.com/role-arn"=${KARPENTER_IAM_ROLE_ARN} \
>   --set settings.aws.clusterName=${CLUSTER_NAME} \
>   --set settings.aws.clusterEndpoint=${CLUSTER_ENDPOINT} \
>   --set settings.aws.defaultInstanceProfile=KarpenterNodeInstanceProfile-${CLUSTER_NAME} \
>   --set settings.aws.interruptionQueueName=${CLUSTER_NAME} \
>   --wait
Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp <IP_ADDRESS>:8080: connect: connection refused

This is running on a local linux/debian machine (not in aws itself) and the earlier steps from the guide have all been completed, however I had to adjust the eksctl command somwhat (as shown above) to specify our private subnets and prevent public ip use.
I'm experienced with docker but this is the first time I've used Kubernetes / Helm.
Not sure if I'm missing some presumed knowledge, or if there's an extra setup step needed to point helm to the (remote) cluster?
I've seen references online to a $HOME/.kube/config which this guide doesn't mention?
Any guidance would be highly appreciated, thanks!

Update: I got past this issue by running the following just before helm. This also fixes kubectl cluster-info:
aws eks --region ${AWS_DEFAULT_REGION} update-kubeconfig --name ${CLUSTER_NAME}

As detailed on https://aws.amazon.com/premiumsupport/knowledge-center/eks-cluster-connection/

eksctl should have updated your kubeconfig for you. Any relevant logs?

Ah ok, that's good to know!
I didn't keep logs from the eksctl command but I think one step of it might have timed out, but when I saw green ticks online on all the services I thought it had worked.
In hindsight I did have to fix the security group I specified in the config to allow port 443 before the aws command worked - this is probably the part that failed in the original command.
Sorry for the noise /seemingly incomplete bug report :-)


Create tables summarizing total sample numbers for diagnosis group and disease timing

In https://github.com/AlexsLemonade/ScPCA-manuscript/pull/26, we added the total numbers of samples for each group and each disease timing. To get the total numbers, I created two tables (one for diagnosis and one for disease timing) using the data frame that we create in the script for producing Fig1. I thought we may want to be able to update those numbers in the future, so why not save the tables and the short code I used to produce them.

Good call, I moved them to manuscript-numbers instead and added that folder description to the readme.


CLOUDSTACK-9586: Adding local storage test

this one will be skipped agains our regular trillian environments since it's requiring local storage, let me create one and will prompt the results

Thanks, changes requested @borisstoyanov. Also see if this test case may be clubbed with any existing storagepool related component/smoke test. If this runs relatively faster (say 5-15mins) this may be included in smoke tests as well. Once those are addressed and you verify that it passes on zones with local storage enabled, we can merge this.

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1320

@blueorangutan test centos7 vmware55u3

LGTM.

LGTM, given your manual test output I'll merge this now.


feat(database): DB introspection

This PR provides support for database introspection, allowing the user to connect an existing database into Conduit.

The process is completely synchronous, the database module introspects all existing tables/collections before registering the routes.
An sql schema name can be provided as an env variable(SQL_SCHEMA), if the user wants to add the tables from a specified schema instead of the default (public).
A reintrospection route has also been added, in case the user has added additional non-conduit schemas to the database.

Closes #77 and #100.
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other (please describe)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The PR fulfills these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the PR's description  (e.g. fix #xxx, where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature

It should be noted how this PR comes with a couple limitations/considerations:

Multiple Postgres search path "Schemas" are not supported (specify SQL_SCHEMA env, defaults to public).
SQL primary keys are not based on indexes, but rather specified on the fields (composite primary keys specify multiple primary keys).

Working around the above Conduit-specific assumptions requires further changes to ConduitSchema and across Conduit in general.


add pattern replace event pattern with lambda

Issue #, if available:
Description of changes:
add pattern replace event pattern with lambda
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

will refactor with learnings from other PR.


Error when highlighting option with HTML tags

When I have an option that has HTML tags in it, it throws error trying to highlight it (if the search value matches e.g. s in .
[$sanitize:badparse] The sanitizer was unable to parse the following block of html: </strong>
...

Updating to a newer version of angular seems to solve it.

I get the same error when trying to highlight "b" and the html already contains a  tag.
It seems to occur because when it encounters the  tag it tries to highlight it like so  and that obviously results in bad html. Therefore when using highlighting filter, the input value cannot already have html tags.

You should customise your ui-select-choices content rather than trying to apply the highlight filter to a string containing HTML.
<ui-select ng-model="country.selected" theme="selectize" ng-disabled="disabled" style="width: 300px;">
    <ui-select-match placeholder="Select or search a country in the list...">{{$select.selected.name}}</ui-select-match>
    <ui-select-choices repeat="country in countries | filter: $select.search">

    </ui-select-choices>
  </ui-select>

from http://plnkr.co/edit/SEzrd9vSEmneX4o87UCg?p=preview


Don't panic if Discord is not running

When Discord is not running the crate panics:
thread 'main' panicked at C:\Users\andrei\.cargo\registry\src\index.crates.io-6f17d22bba15001f\discord-rich-presence-0.2.4\src\ipc_windows.rs:60:43:
Client not connected

my code is just this:
    let mut client = DiscordIpcClient::new("1258151270234198096").unwrap();

    let _ = client.connect();

    let _ = client.set_activity(activity::Activity::new()
        .state("with the money machine")
        .details("Making money")
    );

Allow us to completly ignore the fact that discord is not running and handle the error by us.

The panic is due to a call of self.send_handshake()?; which calls self.send which calls self.write
In that write method, on windows and unix, the 'socket' is .expected.
There is error handling, just missing that case :p
I'll see if i can push a quick patch


Investigate localConnector for management

Using the JMX connection would probably have a lot of benefits, though it'd require ensuring that it's present in the server.xml files.

I see two ways to achieve this:

Deploy a customized liberty package with additional server templates and your template has server.xml including the local connector.
Use drop-in fragments to add the localconnector feature to created profiles.


set up database

Background
In #25, we set up a simple REST service to handle remote persistence of layouts. We want to set up a simple database to use in conjunction with this.
Work Required

Set up a simple in-memory database (e.g. h2)
Add a table for storing layouts, with the following columns:

ID (PK)
Layout (raw JSON?)

Add a table for storing layouts screenshots, with the following columns:

ID (PK)
Screenshot

Add a table for storing layout metadata, with the following columns:

ID (PK)
Layout group
Layout name
Version number
Create user
Create date
Last update date

@cfisher-scottlogic, has this work already been covered under #25?


Not working on relibc

https://gitlab.redox-os.org/redox-os/relibc/
Relibc has an unusual structure: Inside the src dir there are multiple dirs which each contain a regular cargo project with Cargo.toml and src/lib.rs, but also a ./mod.rs, which is used from the top-level src/lib.rs. For these mod.rs ide features are not working.

Yeah, this does not work because we currently softly assume that modules can't point across crates (we used this to avoid checking each mod foo; in stdlib, when a user crates new file in src). The solution here is to put all of the crates into a single FileSet, (instead of creating a fileset per crate). At the moment, we infer file sets from Cargo.toml though, and don't have a way to override them.


vimPlugins.coc-flutter: init

Motivation for this change
Init the coc-flutter vim plugin
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

You missed updating vim-plugins and probably some overwrite to integrate the node package.

Getting the following when running ./update.py:
920 plugins were checked, 1 plugin(s) could not be downloaded:

lingua-franca.vim: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/home/farlion/code/nix/nixpkgs/maintainers/scripts/pluginupdate.py", line 471, in prefetch
    plugin, redirect = prefetch_plugin(pluginDesc, cache)
  File "/home/farlion/code/nix/nixpkgs/maintainers/scripts/pluginupdate.py", line 326, in prefetch_plugin
    commit, date = repo.latest_commit()
  File "/home/farlion/code/nix/nixpkgs/maintainers/scripts/pluginupdate.py", line 70, in f_retry
    return f(*args, **kwargs)
  File "/home/farlion/code/nix/nixpkgs/maintainers/scripts/pluginupdate.py", line 124, in latest_commit
    with urllib.request.urlopen(commit_req, timeout=10) as req:
  File "/nix/store/97w52ckcjnfiz89h3lh7zf1kysgfm2s8-python3-3.9.6/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/nix/store/97w52ckcjnfiz89h3lh7zf1kysgfm2s8-python3-3.9.6/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/nix/store/97w52ckcjnfiz89h3lh7zf1kysgfm2s8-python3-3.9.6/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/nix/store/97w52ckcjnfiz89h3lh7zf1kysgfm2s8-python3-3.9.6/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/nix/store/97w52ckcjnfiz89h3lh7zf1kysgfm2s8-python3-3.9.6/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/nix/store/97w52ckcjnfiz89h3lh7zf1kysgfm2s8-python3-3.9.6/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

As for overwrites, it seems to be working fine on NixOS without any.

@SuperSandro2000 Getting the following when running ./update.py:

Please check if the branch and repo path are correct.

@SuperSandro2000 @midchildan @jonringer This is rebased and should now be good to go

Please don't reformat the entire file and change , around. It only blows up your diff and makes it harder for reviewers to find the actual changes.

@SuperSandro2000 thanks for catching, auto-format. Fixing and rebasing.
Would be helpful to have a nix formatter catch this in CI :)


Modify the ADSP nx tools angular project generator

Info
Currently people are being directed to using ADSP's nx tools angular project generator to start their project. The problem with this is that the project generated by this tool is seriously outdated when it comes to the Design System.
Acceptance Criteria:

The project generated by this tool should use the latest Design System standards. This will include:

Updating the versions used in the package.json
Adding web-components to the package.json
Changing the CSS file used
Changing all components used to be the latest versions

You can find the relevant code here

1)
D:\goa>npx create-nx-workspace ddd-apitc --preset empty --nx-cloud false
 >  NX   Let's create a new workspace [https://nx.dev/getting-started/intro]
 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
 >  NX   The "apps" preset is deprecated.
   The "apps" preset will be removed in a future Nx release. Use the "undefined" preset instead.
 >  NX   Creating your v16.9.1 workspace.
   To make sure the command works reliably in all environments, and that the preset is applied correctly,
   Nx will run "npm install" several times. Please wait.
√ Installing dependencies with npm
√ Successfully created the workspace: ddd-apitc.
warning: in the working copy of '.editorconfig', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.vscode/extensions.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'nx.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'package-lock.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'package.json', LF will be replaced by CRLF the next time Git touches it
 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
 >  NX   Nx CLI is not installed globally.
   This means that you might have to use "yarn nx" or "npx nx" to execute commands in the workspace.
   Run "yarn global add nx" or "npm install -g nx" to be able to execute command directly.
 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
 >  NX   First time using Nx? Check out this interactive Nx tutorial.
   https://nx.dev/getting-started/tutorials/package-based-repo-tutorial

2)
D:\goa>cd ddd-apitc
D:\goa\ddd-apitc>npm i -D @abgov/nx-oc @abgov/nx-adsp
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-static-block instead.
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
npm WARN deprecated<EMAIL_ADDRESS>Please use @jridgewell/sourcemap-codec instead
added 913 packages, changed 1 package, and audited 1291 packages in 1m
137 packages are looking for funding
  run `npm fund` for details
6 moderate severity vulnerabilities
To address all issues, run:
  npm audit fix
Run `npm audit` for details.
 Please install ts-evaluator instead
added 255 packages, removed 117 packages, changed 55 packages, and audited 1429 packages in 29s
172 packages are looking for funding
  run `npm fund` for details
6 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.
4)
D:\goa\ddd-apitc>npx nx g @abgov/nx-adsp:angular-app apitc-ui
>  NX  Generating @abgov/nx-adsp:angular-app
√ Which ADSP environment do you want to target? · dev
√ Which tenant is the application or service for? · autotest
√ Would you like to use Standalone Components? (y/N) · false
Could not format apitc-ui/src/index.html. Error: "Unexpected closing tag "-app-root". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (11:16)
   9 |   </head>
  10 |   <body>
> 11 |     <-app-root></-app-root>
     |                ^^^^^^^^^^^^
  12 |   </body>
  13 | </html>
  14 |"
Cannot generate deployment; run 'nx g @abgov/nx-oc:workspace' first.

Initial Chunk Files   | Names         |  Raw Size
vendor.js             | vendor        |   3.65 MB |
polyfills.js          | polyfills     | 333.16 kB |
styles.css, styles.js | styles        | 301.59 kB |
main.js               | main          |  45.76 kB |
runtime.js            | runtime       |   6.51 kB |
                      | Initial Total |   4.32 MB
Build at: 2023-10-05T16:49:10.761Z - Hash: 358409543bc6c4cc - Time: 5560ms
Warning: D:\goa\ddd-apitc\apitc-ui\src\app\services\auth.service.ts depends on 'oidc-client'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: D:\goa\ddd-apitc\apitc-ui\src\main.ts depends on '@abgov/core-css'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Error: src/app/app.module.ts:18:5 - error NG6002: 'AngularComponentsModule' does not appear to be an NgModule class.
18     AngularComponentsModule,
       ~~~~~~~~~~~~~~~~~~~~~~~
  ../node_modules/@abgov/angular-components/lib/angular-components.module.d.ts:1:22
    1 export declare class AngularComponentsModule {
                          ~~~~~~~~~~~~~~~~~~~~~~~
    This likely means that the library (@abgov/angular-components) which declares AngularComponentsModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
× Failed to compile.
```

@ArakTaiRoth Reach out to Roy regarding this story

Moving to Blocked status. This is being followed up by the ADSP team and can be checked here.


Handle trailing slash on predict url

related issue : https://github.com/ucbrise/clipper/issues/576

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/2064/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/2066/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/2069/
Test PASSed.


Deprecated OnActivityResult

Are you planning to update code in view of the deprecated OnActivityResult. Please provide work around

Are you planning to update code in view of the deprecated OnActivityResult. Please provide work around

Sure. I will work on it.

Are you planning to update code in view of the deprecated OnActivityResult. Please provide work around

Hi @pqasys, I have updated the the deprecated onActivityResult.
https://github.com/dangiashish/GeoTagImage#handle-onactivityresult-method
`    ActivityResultLauncher activityResultLauncher = registerForActivityResult(
new ActivityResultContracts.StartActivityForResult(),
result -> {
if (result.getResultCode() == Activity.RESULT_OK) {
// Handle the result here
                try {
                    progressBar.setVisibility(View.VISIBLE);
                    ivCamera.setVisibility(View.GONE);

                    // TODO : START THE MAIN FUNCTIONALITY

                    // now call the function createImage() and pass the uri object (line no. 100-110)
                    geoTagImage.createImage(fileUri);

                    // set all the customizations for geotagging as per your requirements.
                    geoTagImage.setTextSize(30f);
                    geoTagImage.setBackgroundRadius(5f);
                    geoTagImage.setBackgroundColor(Color.parseColor("#66000000"));
                    geoTagImage.setTextColor(android.R.color.white);
                    geoTagImage.setAuthorName("Ashish");
                    geoTagImage.showAuthorName(true);
                    geoTagImage.showAppName(true);
                    geoTagImage.setImageQuality(ImageQuality.LOW);
                    geoTagImage.setImageExtension(PNG);

                    // after geotagged photo is created, get the new image path by using getImagePath() method
                    gtiImageStoragePath = geoTagImage.getImagePath();

                    /* The time it takes for a Canvas to draw items on a blank Bitmap can vary depending on several factors,
                     * such as the complexity of the items being drawn, the size of the Bitmap, and the processing power of the device.*/
                    new Handler().postDelayed(this::previewCapturedImage, 3000);

                } catch (GTIException e) {
                   e.printStackTrace();
                }
            }
        });

`


Make init_gems_rb a regular setting

What was the end-user problem that led to this PR?
The problem was that we have a feature flag to change the file name of the file where gems are defined from Gemfile to gems.rb, and it is unclear whether we will actually do this, and when.
What was your diagnosis of the problem?
My diagnosis was that a feature flag is not a good fit here. It's perfectly fine to configure this and allow users to use gems.rb by default for their gems, but we don't know when/if we will actually change the default so a plain setting feels better than a feature flag.
What is your fix for the problem, implemented in this PR?
My fix is to convert the init_gems_rb feature flag into a plain setting.

great 👍
@bundlerbot r+


Image Pipeline: Faux image pipeline in development

Description
Fakes an image pipeline when in DEV_MODE (npm run start).
PROD_MODE (npm run build) still uses the same pipeline.
Images are naively copied over to the output directory, but a <picture> tag containing only one image (and two empty <source>'s is still used so the HTML is consistent.
This does mean there's a (subtle) difference between production and dev, so please make sure to use the Netlify build preview feature so sanity check ant new images @Yndira-FlowForge @ZJvandeWeg @joepavitt.
Related Issue(s)
Fixes #632
Checklist

[x] I have read the contribution guidelines
[x] I have considered the performance impact of these changes
[x] Suitable unit/system level tests have been added and they pass
[-] Documentation has been updated

Any reason still in draft? Looks good to go to me?

@joepavitt Yes, those two commits above!

@joepavitt Is there a way to re-trigger the netlify build?

Seems it didn't, just kicked off manually.


Error Handler OptionsFlowManager doesn't support step options_menu

Describe the bug
When I click the configure button in HA Integrations for the Greeneye Monitor I get this error:
Error Config flow could not be loaded: {"message":"Handler OptionsFlowManager doesn't support step options_menu"}
Diagnostics
config_entry-greeneye_monitor-dfe89aa8935a6d0aef6defb7a33e2c1e.json

Any update on this? Thanks!

It’s a known issue. There are no configurable options after initial setup.
On Sat, Oct 26, 2024 at 8:27 PM Stephen Shamakian @.***>
wrote:

Describe the bug
When I click the configure button in HA Integrations I get this error:
Error Config flow could not be loaded: {"message":"Handler
OptionsFlowManager doesn't support step options_menu"}
Diagnostics
config_entry-greeneye_monitor-dfe89aa8935a6d0aef6defb7a33e2c1e.json
https://github.com/user-attachments/files/17532639/config_entry-greeneye_monitor-dfe89aa8935a6d0aef6defb7a33e2c1e.json
—
Reply to this email directly, view it on GitHub
https://github.com/jkeljo/hacs-greeneye-monitor/issues/47, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTZNWLCZQOILMOICNPQIR3Z5RMTXAVCNFSM6AAAAABQVMV7POVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTMMRYGAZTENY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

How do you add a second GEM monitor then? I got 2 more since the first one.

@jkeljo any way to add additional GEMs to an already configured integration? As I ordered two more and am unsure how to get this integration to recognize them.

Just configure the second GEM to send packets to the same port on your Home Assistant that the first one is using. Once it starts receiving packets, the integration will give you the option to set up the new device.

I have the dashbox forward all GEM packets to Home Assistant. But the second GEM is not appearing in HA. Only the original first GEM is.

Double check the packet format is the same as the GEM that works (needs to be one of the binary formats). If that doesn't work, can collect some debug logs and send them to me?

I'm actually all set now!
I opened a support case with BrulTech and they got me sorted out with getting the GEM to communicate correctly to the Dashbox. After doing that it properly appeared like you said in HA.
Thanks!


Is Raspberry Pi 4 powerful enough to run it?

Hi there,
Really appreciate your great work!
Just wondering have you tried this on Raspberry Pi 4? Given it's very popular edge devices , so it would be great and more attractive to be able to run on the edge devices like RPi 4.
I am looking forward to your reply.
Thanks

Hi @franva,
Thanks for your interest in our work.
We have not had a chance to try efficient track anything on Raspberry Pi 4. It will be very interesting to run models on RPI 4.
I think RPI 4 is  powerful enough to run it. But we did not have a RPI device. If you have one, do you want to give it a try?

Hi @franva,
Thanks for your interest in our work.
We have not had a chance to try efficient track anything on Raspberry Pi 4. It will be very interesting to run models on RPI 4.
I think RPI 4 is powerful enough to run it. But we did not have a RPI device. If you have one, do you want to give it a try?

Hi @yformer ,
Sure, I can definitely help to trial it on my RPi 4. If the RPi 4 is not powerful enough, then I have an Intel Neural Stick 2 which has a  Intel® Movidius™ Myriad™ X VPU (4 TOPS computing capacity and can run ONNX models on it) with can plug into the RPi 4 to off load the computing.
Let me know once you have the model ready and I can jump on my device to give it a try.
Cheers,
Winston

I have a RPI4, and would love to try it out! How big is the model checkpoint?

Hi @franva @husnoo,
We just released a family of 🤗Efficient Track Anything Checkpoints. Models are quite light-weight, with 18 M and 34M parameters. Can you give it a try?


for raw order by

fixed https://github.com/morris/lessql/issues/24

Looking good. Could you also update the @param?

I don't know how to describe is accurate,
Because My English is not good.

Thanks!


Client Allocation Request for: Linix Webhosting

Client Allocation Questions
Core Information

Name: Linix Webhosting
Website / Social Media: www.linix.eu
Region: Europe
DataCap Requested: 5TiB
Addresses to be Notarized: f12lqyrihjtgbi5mkskpwv5uxtxnhw2bgffq66uta
Notary Requested: s0nik42

@gh3990 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

All good, for me, I grant this datacap because the previous allocation failed.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzaceaazfk6s3vp7q3j35kaac6be2ocjhac5ghujel7uonpt6nppjfpue

Address

f12lqyrihjtgbi5mkskpwv5uxtxnhw2bgffq66uta

Datacap Allocated

5TiB

You can check the status of the message here: https://filfox.info/en/message/bafy2bzaceaazfk6s3vp7q3j35kaac6be2ocjhac5ghujel7uonpt6nppjfpue


Remove sync-async opt out in DDC

The new behavior is now on by default.  The old behavior isn't really tested, but we have a small internally whitelist.
We should remove the opt-out when we can get rid of it.  See #32868

This flag is gone.


Sensory intreface project: step 5.

This PR implements step 5 of the sensory interface project. Note also that it fixes a small bug with the "stopSoundPlayback" function, the bug had no effect on the functionality.

Thanks Ofer! A commit will come shortly to address the review comments.
I have a suggestion / consern:
Consider the following use case:

The user opens the sensory interface project page.
Then he chooses the "manual" option.
Then he modifies the "min / max values" for example.
Here is the issue: he must get back to the "process" button to show the table, the "update" button is still disabled in this stage.

So, do we need to refine this behavior? What do you think?

What about making the "update" button enabled as soon as the user chooses the "manual" option? I think this is a better approach.


Replace usage of BOOST::ASIO in Sidechain Client

what is the purpose for this?

The bitcoin developers have decided not to depend on / use the boost
framework anymore.
While none of the sidechain code will be merged with bitcoin, I think the
sidechain should still follow their development guidelines so we shouldn't
use boost either.
The sidechain client code in general could be done better, my goal was to
make it work well enough for testing. So replacing it should happen anyway,
and we might as well implement it in a way that maintains the style of the
parent project.
On Jun 12, 2017 4:27 AM, "Joe Miyamoto"<EMAIL_ADDRESS>wrote:

what is the purpose for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/drivechain-project/bitcoin/issues/3#issuecomment-307762919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHu1NnQXYWDAw_W86S94wE2L6UkV_9Tzks5sDSCZgaJpZM4NjQ4-
.


Local development

Hi,
I am trying to see if there is any doc help to setup local development.
I want to make some changes to lamda function and further step to it.
What's the best way to easily write and test. Thanks

I am able to build and deploy with Aws cli. However struggling to see how to write and test some lambda function modification locally.

Hi,
The recommended way to make function changes and testing them are outlined here: https://github.com/awslabs/video-on-demand-on-aws#creating-a-custom-build. I believe that's what you're doing currently.
We don't have official support here for doing local lambda testing with this solution. But there are tools outside of the solution that can probably help you do local testing. One is SAM: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-test-and-debug.html

Hi,
The recommended way to make function changes and testing them are outlined here: https://github.com/awslabs/video-on-demand-on-aws#creating-a-custom-build. I believe that's what you're doing currently.
We don't have official support here for doing local lambda testing with this solution. But there are tools outside of the solution that can probably help you do local testing. One is SAM: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-test-and-debug.html

Thanks @morjoan, AWS SAM worked quite well with local testing and I am able to deploy using cloudformation. thanks for your help

Hi,
The recommended way to make function changes and testing them are outlined here: https://github.com/awslabs/video-on-demand-on-aws#creating-a-custom-build. I believe that's what you're doing currently.
We don't have official support here for doing local lambda testing with this solution. But there are tools outside of the solution that can probably help you do local testing. One is SAM: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-test-and-debug.html

Thanks @morjoan, AWS SAM worked quite well with local testing and I am able to deploy using cloudformation. thanks for your help


Can't run C program, Remote-SSH, Ubuntu Server 20.10 on Raspberry Pi 4

Local Setup: VS Code 1.50.1 running on Windows 10 (PC)
Remote Setup: Ubuntu Server 20.10 (64bit) running on Raspberry Pi 4 (4gb) (OS Boot from USB Flash Drive. No SD Card inserted)
Post Ubuntu Server installation:
sudo apt install build-essential
sudo apt-get install gdb
Successfully established SSH connection through Windows Terminal to remote Ubuntu Server .

Opened Remote-SSH connection through VS Code to Ubuntu host.
Created C file.
Installed C/C++ Extension,  ms-vscode.cpptools, v1.1.0-insiders3.
Configured Default Build Task “C/C++: gcc build active file” - tasks.json.
Clicked "Run without Debugging" (C file is the active tab)
Selected "C++ (GDB/LLDB)". Selected "gcc - Build and debug active file" - launch.json
Editor stuck in debugging with the following message displayed in Terminal:

&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
Config files:
launch.json:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "gcc - Build and debug active file",
            "type": "cppdbg",
            "request": "launch",
            "program": "${fileDirname}/${fileBasenameNoExtension}",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
            "preLaunchTask": "C/C++: gcc build active file",
            "miDebuggerPath": "/usr/bin/gdb"
        }
    ]
}

tasks.json:
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "cppbuild",
			"label": "C/C++: gcc build active file",
			"command": "/usr/bin/gcc",
			"args": [
				"-g",
				"${file}",
				"-o",
				"${fileDirname}/${fileBasenameNoExtension}"
			],
			"options": {
				"cwd": "/usr/bin"
			},
			"problemMatcher": [
				"$gcc"
			],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"detail": "compiler: /usr/bin/gcc"
		}
	]
}

Selected screenshots:

Moving to vscode-cpptools.


make sure WidgetsFlutterBinding.ensureInitialized(); runs before SDK

WidgetsFlutterBinding.ensureInitialized();

https://github.com/getsentry/sentry-dart/releases/tag/4.0.0-alpha.2


Service Links/Targets are not being saved for Service Alias

v0.27.0-rc1
Steps:

Create a Service Alias and put in Target
Start the Service Alias

Results:
The target is not showing up and if you edit it go to the details page for that service alias you can see that it was not saved.
Expected:
Service Link/Target should save.

v0.27.0-rc1 (ui latest v0.32.0)
Verified fixed


Scrollbar always showed on mobile devices

Hi guys,
In iOS 11, when the lightbox opened then the scrollbar always is shown on mobile devices.

Unable to replicate the error, please share a url to a live example also please post which mobile browser are you using, ios or android, etc.


PowerDNS-Admin 0.4.0 - Exception when fuzzing auth header

I'll submit a patch for this... it should not be raising an exception.
tests-69b813f6-0-mysql-powerdnsadmin-1  |   File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1503, in dispatch_request
tests-69b813f6-0-mysql-powerdnsadmin-1  |     return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests-69b813f6-0-mysql-powerdnsadmin-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests-69b813f6-0-mysql-powerdnsadmin-1  |   File "/app/powerdnsadmin/decorators.py", line 141, in decorated_function
tests-69b813f6-0-mysql-powerdnsadmin-1  |     username, password = auth_header.split(":")
tests-69b813f6-0-mysql-powerdnsadmin-1  |     ^^^^^^^^^^^^^^^^^^

Reproducer...
tests-69b813f6-0-mysql-powerdnsadmin-1  | > POST /api/v1/pdnsadmin/zones HTTP/1.1
tests-69b813f6-0-mysql-powerdnsadmin-1  | > Host: localhost
tests-69b813f6-0-mysql-powerdnsadmin-1  | > User-Agent: curl/7.88.1
tests-69b813f6-0-mysql-powerdnsadmin-1  | > Accept: */*
tests-69b813f6-0-mysql-powerdnsadmin-1  | > Content-Type: application/json
tests-69b813f6-0-mysql-powerdnsadmin-1  | > Authorization: Basic QkhwbmZqblJKTlB3M3I0
tests-69b813f6-0-mysql-powerdnsadmin-1  | > Content-Length: 6

Is this perhaps also related to this issue?

Unrelated. But close enough that I can submit a patch fixing both exceptions.
It does not look like we currently support digest authentication. I'll take a look and see how easy it is to add it in another patch.

That being said, I'll submit a fix for the exception soon.

I'll submit a fix for the other exception separately.

This should now be resolved by PR 1453.


Provide Konnectivity integration as an add-on

As per documentation:

The Konnectivity service provides a TCP level proxy for the control plane to cluster communication

Once #7 is merged, let's allow the cluster administrators to specify if konnectivity addon must be enabled, or not, using a default value of true. This addon requires several phases, like certificates, deployment, etc, something that @mendrugory is already aware of.

Closed by #25


booger plug that adapts as-is strfry write policy plugins for use with booger

There might folks using strfry write policy plugins that they'd like to continue using with booger.
We can support this with a booger plug that allows strfry policies to be dropped in a folder and used with booger.

import os

class BoogerPlugin:
    def __init__(self, policy_folder):
        self.policy_folder = policy_folder

    def apply_strfry_policies(self):
        # Get a list of files in the policy folder
        policy_files = [f for f in os.listdir(self.policy_folder) if os.path.isfile(os.path.join(self.policy_folder, f))]

        # Apply each strfry policy
        for policy_file in policy_files:
            policy_path = os.path.join(self.policy_folder, policy_file)
            strfry_policy = self.load_strfry_policy(policy_path)
            self.apply_policy(strfry_policy)

    def load_strfry_policy(self, policy_path):
        # Load strfry policy from the given file path
        # Implement logic to parse the policy file and return the policy object
        pass

    def apply_policy(self, strfry_policy):
        # Apply the strfry policy
        # Implement logic to integrate strfry policy with booger
        pass

# Example usage
booger_plugin = BoogerPlugin(policy_folder='/path/to/strfry_policies')
booger_plugin.apply_strfry_policies()

Implementation Description:
This Python code defines a BoogerPlugin class responsible for handling the integration of strfry write policies with the booger system. Here's a breakdown of the implementation:

Initialization (__init__):

The class is initialized with the path to the folder containing strfry write policies.

Applying Strfry Policies (apply_strfry_policies):

Retrieves a list of policy files from the specified folder.
Iterates through each policy file, loads the strfry policy, and applies it.

Loading Strfry Policy (load_strfry_policy):

Placeholder method to load a strfry policy from a given file path.
You should implement logic to parse the policy file and return the policy object.

Applying Policy (apply_policy):

Placeholder method to apply a strfry policy.
Implement logic to integrate the strfry policy with the booger system.

Example Usage:

Creates an instance of BoogerPlugin with the path to the folder containing strfry policies.
Applies strfry policies using the apply_strfry_policies method.


Removed duplicate OR operator

When I tried to install the script, I noticed the trashcan was not appearing, so I checked the user script and noticed this error. Made a local change and it fixed the extension for me.

yeah my bad, I merged a bunch of PRs so the main branch is dirt, it wasn't supposed to push the changes to greasyfork before I could have a chance to stabilize the version and do a version bump. (I forgot I have auto publish setup)
Anyways its out there I’m going to merge it and push it as a fix.


Create Laimwn3131

Ok sir
On Mon, Aug 21, 2023, 12:31 PM Sanjib Narzary @.***>
wrote:

Merged #17 https://github.com/sanjibnarzary/ucse514-2023/pull/17 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/sanjibnarzary/ucse514-2023/pull/17#event-10141579890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAWNSN2QK4B2IEZQNMHOLA3XWMBTLANCNFSM6AAAAAA3XCADXA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Extend the database for a upcoming feature before release

Extend the database to accommodate data for feature that allows limiting update requests per CIDR mask.

Coverage remained the same at 100.0% when pulling 353a488f01340fe6c6e706d348e30d7ada48fba8 on extend-db into a5e95a6044aaf3c0357b32f1d8bd48382a44d395 on master.


AV-1550 As a product owner I want design of organization list to be implemented

The title and description still aren't describing what has changed and why.

Implemented in https://github.com/vrk-kpa/opendata-ckan/pull/30


Fix issue #399

Pull Request
📖 Description
Fix issue #399
👩💻 Reviewer Notes

✅ Checklist
General

[ ] I have added tests for my changes.
[x] I have tested my changes.
[ ] I have updated the project documentation to reflect my changes.
[ ] I have read the CONTRIBUTING documentation and followed the standards for this project.

@microsoft-github-policy-service agree


sub-menus?

Is there any way to get sub-menus on the top navbar with al-folio? Something similar to what Beautiful Jekyll offers, where one can hover the menu and the sub-menus will drop down.
Thanks

@CarlosGrohmann, thanks for the suggestion. As of now, the theme does not support sub-menus. This is partly because we assume that all pages are on the same "level" (i.e., we do not allow some pages to be sub-pages of other pages).
Adding sub-menus would require assuming a hierarchical structure of the pages (e.g., we can assign each page a parent; for the upper-level pages, the parent will be set root or something like that).
If there is a strong use case for this, I'll consider adding this enhancement in a later version of al-folio, or someone from the community could perhaps implement it and send a PR faster.

@CarlosGrohmann, thanks for the suggestion. As of now, the theme does not support sub-menus. This is partly because we assume that all pages are on the same "level" (i.e., we do not allow some pages to be sub-pages of other pages).
Adding sub-menus would require assuming a hierarchical structure of the pages (e.g., we can assign each page a parent; for the upper-level pages, the parent will be set root or something like that).
If there is a strong use case for this, I'll consider adding this enhancement in a later version of al-folio, or someone from the community could perhaps implement it and send a PR faster.

Ok Thanks!

Ok Thanks!

I'll keep this issue open as a feature request.

I'll keep this issue open as a feature request.

I was also looking for this feature to add to my website. I have added a PR, hope this helps!


Allow grabbing glTF JSON through the API

Fixes https://github.com/CesiumGS/cesium/issues/11172 by exposes the gltf object through an optional callback.
This can be tested with the example provided in https://github.com/CesiumGS/cesium/compare/models-gltf?expand=1#diff-a8ea2fe4e5e555320ad34db0d5909c5b77c243f2faef54e697206d8a099b83e3R2938.
I also refactored the loaders a bit so that the error checking is isolated to one loader rather than spread across multiple.

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.


Introduce release process

A structured release process comes along with a bunch of benefits. We are currently piloting a release process based on Release Please in the Klyshko repository (see carbynestack/klyshko#14). Based on the learnings from that endeavour we will roll-out the release process across all repositories in the carbynestack organization.

The following components have to implement the release process:

[ ] Amphora
[ ] Castor
[ ] Ephemeral
[ ] Klyshko
[ ] Java HTTP Client
[ ] MP-SPDZ Integration
[ ] CLI
[ ] Caliper
[ ] Nettle
[ ] Thymus
[ ] Carbyne Stack

In addition the DEVELOPING.md has to be updated to describe the how conventional commits should be used.


Plan how to insert all history HFP data to production db

initial application is done. can now insert events from xz compressed tarballs to timescaledb. insert rate is approx 8500msgs/sec -> ~6-8 times faster than real world scenario. but this is still very slow if we want to import years of data (will take months to insert)
TODO:

change the target to be pulsar instead of timescaledb
some minor error handling tweaks
Large-enough storage needed (Azure?)

TODO design:

is fast enough?
can we insert in parallel? is there data consistency issues?
how to do the "hotswap" part? First import all history data to some topic and then swap pulsar to insert fresh data into the same topic?
running the data into timescaleDB from Pulsar will take roughly the same amount of time than inserting it into pulsar in the first place.. double rate?


Add Support for Laravel 10

Closing this, since it already support for laravel 10 with opcodesio/log-viewer:1.9, but the main branch is outdated

https://github.com/opcodesio/log-viewer/pull/183


update web servier with mux

Codecov Report

Merging #15 into master will increase coverage by 0.14%.
The diff coverage is 78.18%.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   78.87%   79.01%   +0.14%
==========================================
  Files          16       16
  Lines        2305     2311       +6
==========================================
+ Hits         1818     1826       +8
- Misses        274      275       +1
+ Partials      213      210       -3


Ram Usage keeps increasing , When the user open PDF file and doesn't decrease when the user close the page that has PDF File

So I have a problem when I open up the PDF in flutter, It increases my ram usage , and when I close the page that contains the PDF file, my ram usage doesn't decrease. I found out by using dart devtools memory, that my memory usage increases because of the _Int64List. So when I open the PDF file, the instance of the _Int64List increases. Is there anyway to clear _Int64List?
Here is the link of the _Int64List instance:https://i.stack.imgur.com/1cZ2A.jpg

Hi @DoesPenguinFly
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample without a third-party package/plugin?
Thank you

I Have fixed it by changing the packages from advance pdf viewer to flutter_pf_view


dev.boringcrypto: crypto/internal/boring: consider splitting up into smaller packages based on math/big requirement

As discussed in golang.org/cl/241442, this is a tracking issue to look into breaking crypto/internal/boring up into distinct packages, splitting out RSA and ECDSA—which require math/big—away from the rest which do not.
/cc @FiloSottile @katiehockman

i suppose this isn't happening with #69536


Remove spending 10 inputs notification

Users have no reasonable options for reacting to this notification when it is presented. Abandoning the payment to do another coinjoin is unlikely to reduce the amount of UTXOs required to make the payment, and sending the amount in multiple smaller transactions to the same destination would be a waste of block space.

No hard feelings, but I tend to nack.
You're the first one to mention it, nobody seems to have issues with it.
Consolidating (large amounts) of coins is bad for privacy, both of the user and for others so having a warning makes sense. Whether the currently set threshold of 10 is too small, idk could be.
User can just ignore it.

You're the first one to mention it, nobody seems to have issues with it.

I agree it isn't a frequent support question, but it did come up recently: https://discord.com/channels/961519852160417792/961536051036450867/1293228641206927464

Consolidating (large amounts) of coins is bad for privacy, both of the user and for others so having a warning makes sense. Whether the currently set threshold of 10 is too small, idk could be.

I agree about the marginal privacy loss of input consolidation, but there's no way to measure this loss, so it's hard to guide users beyond the arbitrary "10 inputs".

User can just ignore it.

The root of the issue is that there's nothing actionable for users who are paying attention to the message. There's no way to avoid the usage of many inputs when making a payment that is relatively large compared to the user's balance.

"Send All" is a common privacy footgun, I nack the suggestion of just removing, I think it's clear from the white color that it's a suggestion.
There should be a way for users to "Learn More", It should be clear that WW is breaking up their coins in the back and sending them all together might undo a lot of gained privacy.

An actual suggestion would be to increase the privacy score of those UTXO,  Spending 10 UTXO with 50+ anon-score each should be reasonably private,

It should be clear that WW is breaking up their coins in the back and sending them all together might undo a lot of gained privacy.

This is already handled by safety coinjoins - https://github.com/WalletWasabi/WalletWasabi/pull/10885 / https://github.com/WalletWasabi/WalletWasabi/issues/10567
As long as the coins are "private" according to the user's anon score settings, it shouldn't matter how many coins they spend. There's no specific way to validate the privacy of a spend, so flagging a warning isn't helpful.


Extract alert handling into module

Closed with commit 1d62bfdb23507eb790498977e7b8b95fcd15af80, "Extracts alert handling into alert_handler.c".


Update Maven to 3.3.9 and gradle wrapper to 3.1

Should be merged to fix issue #10: Not compatible with Android build tools 2.2.0

Can we get some movement on this?


Can i fill the properties field with the changed attributes on update from multiauth.

Hi i love your class, but i have a small issue i can't seem to figure out.
i use multi auth and when i update a user from within my admin auth then i don't see the attributes that are being changed.  is there a way to fill the properties field with this info?

Hi @rcloeck
Have you tried $activity->changes?

This might be related to #222

Closing this for now due to inactivity


[Bug] Support for parsing Big numbers

Describe the bug
Json data value was string<PHONE_NUMBER>007113,
But result was<PHONE_NUMBER>007112 on table
Steps to reproduce
Get json response and show on table
Test data:
9921020321007111,<PHONE_NUMBER>007112,<PHONE_NUMBER>007113, ..... ,9921020321007119
Result:
9921020321007112,<PHONE_NUMBER>007112,<PHONE_NUMBER>007112, ..... ,9921020321007120
Note: bugs will be fixed only if enough information provided to reproduce the issue
Sample Data
Data:
[
	{"serialNumber": "9921020321007111"},
	{"serialNumber": "9921020321007112"},
	{"serialNumber": "9921020321007113"},
	{"serialNumber": "9921020321007114"},
	{"serialNumber": "9921020321007115"},
	{"serialNumber": "9921020321007116"},
	{"serialNumber": "9921020321007117"},
	{"serialNumber": "9921020321007118"},
	{"serialNumber": "9921020321007119"}
]

Screenshots
Format as string:

Format as number:

Version Details:

Grafana version : v8.5.6
Plugin version : v0.8.8

Additional context

Thank you for the prompt reply.
Upgrade my grafana to v9.0.1, the result was correct.


en, zh: refine file titles and TOC

What is changed, added or deleted? (Required)

Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[x] v1.0 (TiDB DM 1.0 versions)

v2.0 and v1.0 have been updated in PRs https://github.com/pingcap/docs-dm/pull/420, https://github.com/pingcap/docs-dm/pull/421, https://github.com/pingcap/docs-dm/pull/422, and their cherry-picks.

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Have version specific changes
[ ] Might cause conflicts after cherry-picked

/merge