Boss/Mod/EarningsTracker.cpp: Show offchain earnings v expenditure judgments in clboss-status.

Fixes: #51
@hosiawak for your evaluation:
clboss-earnings-status.tar.gz
This adds a new key offchain_earnings_tracker to the output of clboss-status.  This is an object, each key is a node that we have gotten earnings or spent FundsMover on.  This is just a dump of the EarningsTracker table in data.clboss.
Unlike what I said in #51 it turns out that I do not actually delete the rows in this table, ever, LOL, sorry.  And it shows that CLBOSS spends a lot more on rebalancing than it actually earns, oh no, woe is me, with anywhere from twice to 10x the expenditure vs earnings for each node.  Sigh.

And it shows that CLBOSS spends a lot more on rebalancing than it actually earns, oh no, woe is me, with anywhere from twice to 10x the expenditure vs earnings for each node
Yeah, I noticed it too when calculating all the spent fees. I think the strategy to use competitive fees (especially very competitive fee rates, the base fee calculation looks mostly fine to me) everywhere needs to be revisited. Perhaps it could use this rebalancing fee info to calculate "rebalancing fee rate" (RFR) for a channel and then use this RFR data when calculating out our target channel fee rate (add RFR to whatever fee rate it considers "competitive" now to make up for these rebalancing costs).
I think there are other optimisation techniques we could use here as well, need to think about it.

Some data from my 2 month old node:
Fees collected: 42 373 sats
Fees spent (only channel opening/closing fees): 197 325 sats
Rebalancing fees: ???
So even without taking any rebalancing fees into account it's running at a loss.

My offchain earnings tracker log
Some channels are very active but it's more similar to a charity than a money making business for now :)

I think the strategy to use competitive fees (especially very competitive fee rates, the base fee calculation looks mostly fine to me) everywhere needs to be revisited.

In what direction?  Does it need to be higher or lower?  That is where #11 starts coming into consideration.  In theory, there is an optimum feerate for each of your channels.  discovering that feerate, now, how to go about it?
Anyway -- okay to merge for you?

Ok to merge for me.
Feerate needs to be much higher imo. CLBOSS needs to be aware of its rebalancing fees. It starts with 0 rebalancing fees so it can use the current feerate calc initially but when the time goes by and rebalancing fees grow it should increase the feerate to make up for this maintenance cost.
If you look at my sample data you’ll find even 50x difference between the cost and earnings. Bringing this gap to 0 would be the first step so that by default it’s not „losing” sats. Once that’s done the next steps could involve better price theory optimization so that it starts „earning”. It could take channel opening/closing fees into account as well although they have less and less of an impact as time goes by.
In general the feerate clboss sets on my node is for balanced channels around 0.0001% and 0.01%. The channel balance is close to perfect (which is NOT common in today’s ln network) which means very reliable forwards both ways on one hand but extra maintenance cost on another and this reliability should be reflected in the price imo.

Ok to merge for me.
Feerate needs to be much higher imo. CLBOSS needs to be aware of its rebalancing fees. It starts with 0 rebalancing fees so it can use the current feerate calc initially but when the time goes by and rebalancing fees grow it should increase the feerate to make up for this maintenance cost.
If you look at my sample data you’ll find even 50x difference between the cost and earnings. Bringing this gap to 0 would be the first step so that by default it’s not „losing” sats. Once that’s done the next steps could involve better price theory optimization so that it starts „earning”. It could take channel opening/closing fees into account as well although they have less and less of an impact as time goes by.
In general the feerate clboss sets on my node is for balanced channels around 0.0001% and 0.01%. The channel balance is close to perfect (which is NOT common in today’s ln network) which means very reliable forwards both ways on one hand but extra maintenance cost on another and this reliability should be reflected in the price imo.

Another thing to do would be to limit InitialRebalancer (this leads to lower balancing in general).  Also FundsMover itself deserves some optimization.  Lemme go dig that up as well.

Another thing to do would be to limit InitialRebalancer (this leads to lower balancing in general).  Also FundsMover itself deserves some optimization.  Lemme go dig that up as well.

So all the rebalancing cost is from the line "FundsMover: *** costing us" ? I've been running for 2 weeks with ignore on chain fund and the total cost is 4500sat while earning is about 1000sat.  There are some baffling rebalances that cost 400-800sat . Is it possible to know if which are regular rebalance or jitrebalance ? and for debugging purpose, shouldn't there be information about why it thinks it should rebalance on the log ?

There are the following rebalancers, which you can see in the log:

InitialRebalancer - Rebalances channels with a lot of capacity on our side, in favor of channels with low capacity on our side.  In recent versions this will be a truly "initial" rebalancer, i.e. it will not rebalance channels if we have already spent some amount on rebalancing.
EarningsRebalancer - Rebalances funds out of channels where we have earned a lot of fees from incoming forwards, on the logic that in the future we can probably earn even more if we provide more incoming capacity on that channel.  In recent version, this prints the amusing message "refusing to throw good money after bad" all the time...
JitRebalancer - Rebalances funds if we potentially cannot fulfill a forward due to lacking outgoing capacity on a channel.  In recent versions this also will not rebalance if we already spent a lot on funds on rebalancing the channels.

Prints are only seen on debug log, so if you want to see it in the logs, set --log-level=debug:clboss.
It seems to me that currently the network has most forwarding nodes subsidizing the payments on Lightning, because after some time, none of the above rebalancers ever trigger due to hitting limits on how much they are willing to spend on rebalances.  This means the network is consistently undercutting the optimum feerate for forwarding nodes, probably due to current pathfinding algorithms always just concentrating on feerates and not on other parameters.

I see, it didn't rebalance for quite sometimes until I added new channels which triggers the InitialRebalance. I don't think the InitialRebalance makes sense on the current network. For example, I just participated in a LN+ 2M swap. The InitialRebalance kicked in to rebalance 1M, but instead of choosing the triangle path the I just made with LN+, it rebalanced to another node, and the cost was 1200 sat, instead of less than 100 in the right path. From what I have been observing with the current fee rate that clboss set, I might only get like 50sat back from the 1200sat investment.

instead of choosing the triangle path the I just made with LN+

Can you teach CLBOSS how to detect such a triangle path?

most liquidity swap, LN+/telegram has one incoming channel, and one outgoing channel with a similar size within the same time frame, (LN+ participants have to complete it within 2 days). Sometimes user might participate in a few swaps at once, but it's not difficult to figure out (try to getroute on every pair, etc). Sometimes, people would coordinate to set 0 fee to do rebalance, so the bot should sit tight until it makes sure nobody is keen to rebalance.
Later on the bot can use this routing information for future rebalancing. It will be interesting if clboss can participate in LN+ or similar platforms, automatically.

Thanks, please file a new issue.  Are there API docs for this LN+?  A website?
I think what you want is, to have InitialRebalancer try to look for new channels with low outgoing capacity / high incoming capacity, and use those as the destination when it finds a channel with high outgoing capacity / low incoming capacity..
Possibly a redesign of FundsMover is in order, based on the observations:

InitialRebalancer and EarningsRebalancer select a channel to move from, but could not care less where they move to (though InitialRebalancer would prefer that destinations do not retrigger InitialRebalancer, i.e. the funds moved *to* a small channel might be enough to exceed the 80% level that InitialRebalancer` triggers on).
EarningsRebalancer selects a channel to move to, but could not care less where the funds came from.

The current FundsMover requires that clients (the above rebalancers) specify both source and destination, but that could lead to rebalancers caring about the source and not the destination to specify a destination that is expensive to route to.  Arguably the FundsMover should be the one that selects a destination on behalf of rebalancers that care about the source but not the destination.  Hmm.

https://lightningnetwork.plus/ , you never heard ? It's responsible for 14k+ channels added since June. No API though, probably not at the stage where clboss can interact.

Thanks, will check.  Please put two issues, one for the rebalancer/fundsmover improvement, the other for LN+ integration.  At the worst case we could always add simple HTML parsing, CLBOSS already depends on libcurl anyway so HTTPS is covered.

LN+ looks like an implementation of this idea by some weird rando: https://zmnscpxj.github.io/offchain/cyclicsuperhubs.html

Contacted LN+ admins, they are already planning an API of some sort.  Please make an issue so we can keep updated.

LN+ looks like an implementation of this idea by some weird rando: https://zmnscpxj.github.io/offchain/cyclicsuperhubs.html

In case you missed it, there are also several telegram groups actively forming super hubs such as PLEBNET which turned into LN+ for better organize, Ring of Fire, Plebs2Salvador (they are making a ridiculous loop of 400+ node - for fun)


load shed: add total count metrics for lsp in overload manager

Commit Message:
Additional Description:
Risk Level: low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/assign @yanavlasov

/assign @KBaichoo


Join filter pushdown initial implementation

This PR adds an initial implementation for pushing down filters to the base table in a join query.
The bulk of logic added is in the new JoinFilterAnalyzer utils class. This class has methods that split a Filter into a base table portion that can be pushed down and a post-join portion. The analyzer is capable of rewriting filters that apply to columns on the join tables into filters on the base table.
Current limitations:

Only selector filters can be rewritten
IS NULL filters are not pushed down
There is currently no limit on the IN filter size for rewrites, future work can improve the heuristics for deciding when to rewrite filters
The filter push down could benefit from more efficient lookups for values of non-key columns in Joinables

This PR has:

[x] been self-reviewed.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Key changed/added classes in this PR

JoinFilterAnalyzer
HashJoinSegmentStorageAdapter

@jon-wei do these TC inspections look legit?

@gianm I addressed the latest round of comments, the TC failures were legit (the methods were no longer used after adjustments for https://github.com/apache/druid/pull/9301#discussion_r375014730)


FileWatcher: Don't type-check changes

This check is unnecessary, as the underlying library is typed. This is not really signaling the closing of the "channel".
Fixes #54.

Not sure what's wrong with GitHub that is not picking up the action results, I will force-rebase and force-push to make the action run.

Force-merging too as I didn't change anything since your review.


How can I improve query performance.

Hi.
I have a lot of reports that run queries every hour.
I would like to increase the resources(cpu,memory) of presto, hive and hdfs if I try to improve the query time. Can you explain it specifically?
Currently, the number of presto's workers is zero. If I increase worker, does query time decrease?
Thank you.

Increasing amount of workers should help as it will increase the amount of work that can be done in parallel. However, I suggest increasing CPU and memory available first, then increasing number of worker nodes. In addition to this, HDFS and/or hive may require more resources as the number of queries running concurrently will require more connections to each of these components.
You can change the number of workers by setting spec.presto.spec.presto.worker.replicas. This is currently not well documented, but can be seen in https://github.com/operator-framework/operator-metering/blob/master/manifests/metering-config/recommended-resource-limits.yaml#L48-L60.

@chancez
Thank you for your reply each time.


Add support for fast deploy to Vercel, Netlify, or Stackblitz

Is your feature request related to a problem? Please describe:
Currently, bolt.diy only runs locally or via Docker, which can be a barrier for users who want to test or use the tool without setting up a local environment. This limits accessibility and ease of use, especially for quick demos or testing in different contexts.
Describe the solution you’d like:
Add support for deploying bolt.diy to platforms like Vercel, Netlify, or Stackblitz. This could include adding configuration files (e.g., vercel.json, netlify.toml), making adjustments to server settings for compatibility with serverless functions, and providing documentation on how to deploy the tool to these platforms.
Describe alternatives you’ve considered:
Manually configuring deployment for each platform, which can be time-consuming and error-prone for end users. Alternatively, keeping the tool limited to Docker or local environments, which restricts accessibility and ease of sharing.
Additional context:
Enabling deployment to these platforms would allow users to access bolt.diy directly in the browser, making it easier to share, test, and use without requiring a local setup. This would also increase the tool’s adoption and usability for a wider audience.

Open topic in discourse already: https://thinktank.ottomator.ai/t/one-click-deploy-to-free-tier-cloud-servers-aws-gcp-azure-oracle-cloudflare-netlify/209
Documentation how to on cloudflare exists: https://thinktank.ottomator.ai/t/deploying-bolt-diy-with-cloudflare-pages-the-easy-way/2403


feat/SOV-443

https://sovryn.atlassian.net/browse/SOV-443

Pls fix the review comments and verify with @BetsyBraddock that the numbers are correct since they are a bit different in my case when I compare them with https://test.sovryn.app/.

Pls fix the review comments and verify with @BetsyBraddock that the numbers are correct since they are a bit different in my case when I compare them with https://test.sovryn.app/.

checked with @BetsyBraddock, the values in this PR are correct


Support for FreeBSD

Hi Nate :)
this is again a super awesome tool :D
I was just trying to setup bcg on a FreeBSD test-router. Everything just generates fine but afaik one thig is different from Linux:
protocol kernel {
  scan time 10;
  ipv4 {
    export filter {
      if (proto = "explstatic4" || proto = "explstatic6") then accept;
      if source = RTS_STATIC && proto != "static4" then {
        accept;
      } else if source = RTS_BGP then {
       krt_prefsrc = <IP_ADDRESS>;
        accept;
      }
      reject;

    };
  };

As far as I know the "krt_prefsrc" option is not supported on FreeBSD.
Would it be possible to implement an exception for BSD routers to just comment this out?
As an example
protocol kernel {
  scan time 10;
  ipv4 {
    export filter {
      if (proto = "explstatic4" || proto = "explstatic6") then accept;
      if source = RTS_STATIC && proto != "static4" then {
        accept;
      } else if source = RTS_BGP then {
       ###### The following is not supported on FreeBSD
       # krt_prefsrc = <IP_ADDRESS>;
       ######
        accept;
      }
      reject;

    };
  };

For your reference
root@c01:/etc/bcg # uname -a
FreeBSD c01.fra.de.as49697.net 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC  amd64

root@c01:/etc/bcg # bcg -o /usr/local/etc/ -s /var/run/bird.ctl -v
INFO[0000] Starting bcg 2.9.7
DEBU[0000] Finished loading templates
DEBU[0000] Loading config from /etc/bcg/config.yml
INFO[0000] Using YAML configuration format
INFO[0000] Origin IPv4: [<IP_ADDRESS>/24]
INFO[0000] Origin IPv6: [2001:db8::/48]
DEBU[0000] Creating global config
DEBU[0000] Finished creating global config file
DEBU[0000] Writing global config file
DEBU[0000] Finished writing global config file
INFO[0000] Checking config for Nate Sales AS34553
INFO[0000] [Nate Sales] has no IPv4 import limit configured. Setting to 10 from PeeringDB
INFO[0000] [Nate Sales] has no IPv6 import limit configured. Setting to 20 from PeeringDB
INFO[0000] [Nate Sales] has no manual AS-SET defined. Setting to AS34553:AS-ALL from PeeringDB
INFO[0000] Running bgpq4 -h rr.ntt.net -Ab4 AS34553:AS-ALL
INFO[0001] Running bgpq4 -h rr.ntt.net -Ab6 AS34553:AS-ALL
INFO[0002] [Nate Sales] neighbors: <IP_ADDRESS>, 2001:db8:6939::34
INFO[0002] [Nate Sales] type: peer
INFO[0002] [Nate Sales] local pref: 100
INFO[0002] [Nate Sales] max prefixes: IPv4 10, IPv6 20
INFO[0002] [Nate Sales] export-default: false
INFO[0002] [Nate Sales] no-specifics: false
INFO[0002] [Nate Sales] allow-blackholes: false
INFO[0002] [Nate Sales] as-set: AS34553:AS-ALL
INFO[0002] [Nate Sales] Writing config
INFO[0002] [Nate Sales] Wrote config
INFO[0002] Checking config for Hurricane Electric AS6939
INFO[0002] [Hurricane Electric] has no IPv4 import limit configured. Setting to 1000000
INFO[0002] [Hurricane Electric] has no IPv6 import limit configured. Setting to 150000
INFO[0002] [Hurricane Electric] neighbors: <IP_ADDRESS>, 2001:db8:6939::39
INFO[0002] [Hurricane Electric] type: upstream
INFO[0002] [Hurricane Electric] local pref: 100
INFO[0002] [Hurricane Electric] max prefixes: IPv4 1000000, IPv6 150000
INFO[0002] [Hurricane Electric] export-default: false
INFO[0002] [Hurricane Electric] no-specifics: false
INFO[0002] [Hurricane Electric] allow-blackholes: false
INFO[0002] [Hurricane Electric] Writing config
INFO[0002] [Hurricane Electric] Wrote config
DEBU[0002] Creating global config
DEBU[0002] Finished creating UI file
DEBU[0002] Writing ui file
DEBU[0002] Finished writing ui file
INFO[0002] Reconfiguring BIRD
DEBU[0002] Connecting to BIRD socket
INFO[0002] Connected to BIRD socket
INFO[0002] BIRD init response: 0001 BIRD 2.0.8 ready.
INFO[0002] Sending BIRD command: configure
INFO[0002] Sent BIRD command: configure
INFO[0002] BIRD response (multiline): 0002-Reading configuration from /usr/local/etc/bird.conf
INFO[0002] BIRD response (multiline): 8002 /usr/local/etc/bird.conf:51:9 syntax error, unexpected CF_SYM_UNDEFINED

bcg will leave out the krt_prefsrc attributes if you leave pref-src4 and pref-src6 undefined. Just omit them from the config and you should be good to go.


Remove message server from the blockibc middleware

In case we end up not having any messages to handle.

Removed in #41


Implementation missing for battery_0_soc and battery_0_volt

There is no implementation for battery_0_soc and battery_0_volt. Please provide implementation and information about what parameters these map to on ardupilot (basically I need to know their "meaning" and possible values and units - so for example "Remaining capacity of the first battery in X units"
It is possible for a UAV to have multiple batteries, and two are specified in the parameters. This implies that there should actually be multiple values for these, or a way to index them.
I verified the lack of these parameters by inspection and testing. To test, I added the following lines to small_demo.py:
print "battery_0_soc: %s" % v.battery_0_soc
print "battery_0_volt: %s" % v.battery_0_volt

And got the exception:
Exception in APIThread-2: 'MPVehicle' object has no attribute 'battery_0_soc'
Traceback (most recent call last):
  File "C:\Users\hamis_000\Downloads\WinPython-64bit-<IP_ADDRESS>\python-2.7.6.amd64\lib\site-packages\droneapi\module\api.py", line 321, in run
    self.fn()
  File "C:\Users\hamis_000\Downloads\WinPython-64bit-<IP_ADDRESS>\python-2.7.6.amd64\lib\site-packages\droneapi\module\api.py", line 592, in <lambda>
    APIThread(self, lambda: execfile(args[1], g), args[1])
  File "small_demo.py", line 32, in <module>
    print "battery_0_soc: %s" % v.battery_0_soc
AttributeError: 'MPVehicle' object has no attribute 'battery_0_soc'

Closing as this is dealt with by #101 and #102.


fix: Add baseElement to render return type

What:
Add baseElement to render return type.
Why:
Because without it TypeScript code using this library won't be able to use baseElement, which is crucial to testing react portals, for example.
How:
By adding the baseElement property to the type definitions.
Checklist:

[x] Ready to be merged

Actually I now think there's an inconsistency in the type definitions. The render function is documented to optionally receive a container: HTMLElement, but it returns this very container (or a newly created one if none is provided), and the one returned is documented to be of type HTMLDivElement. What if the container that was passed in is not a div?
The above concern also applies to the baseElement. It is documented as an optional option of type HTMLElement, so the type of the returned one should also be HTMLElement, not HTMLDivElement.

I agree that baseElement and container should both be typed as HTMLElement instead of HTMLDivElement. I also wouldn't expect this change to impact hardly anyone as it seems rare that one would need to access div-specific properties. I'm not even sure what is div-specific, if anything at all.

Any ideas on when this can be merged? I wonder why the codecov task above does not finish.

I've been having trouble with codecov's status report for a month or two. I'm not sure what the problem is and haven't had time to investigate :-/

:tada: This PR is included in version 4.1.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

No problem, good to know. Thanks!


Bug: Copy paste doesn't work properly with element nodes

Element nodes do not properly support copy-paste
Lexical version: 0.6
Steps To Reproduce

Create an h1 node
Copy and paste this text into the middle of it:

This is the first item.
And this is the second item.
And this is the third item.

The current behavior
Only the first line is h1
https://user-images.githubusercontent.com/6975606/199795946-1e45d4d0-12cc-4a92-bc23-a1f1674c5899.mov
The expected behavior
All lines are h1

All lines are h1

I don't know that this is what we want. Is there any other editor where it works this way? Quip and GDocs do it more like us, though Google Docs is pretty borked, generally.


Bug found while trying to move photos from photophase into Vault in PhotoPhase Application:

Expected behavior
The app should be able to move photos from photophase into Vault just like we move photos from gallery into Vault.
Actual behavior
Whenever we try to move photos from photophase into Vault. It just lights up and goes back to the place where we started and is unable to move photos from photophase into Vault.
How to reproduce
Launch the app.
Press on Media option.
Select Albums from the Pictures.
Select any image from the pictures.
Now click on the Share icon.
Select "Move into Vault" option.
It just lights up and stops working.

Application: PhotoPhase 2.7.0(Apache-2.0)
Version: 2.7.0
Operating system: Android Naugat.
Redmi 5a

Recording Of The Bug
https://youtu.be/dvxnaL3jn58
Posted on Utopian.io -  Rewarding Open Source Contributors

@huwaid I did't find the Vault app you refer in your issue in the Play Store. Do you have a link to the app or the full qualified name of the app, or a logcat of the photophase when you share the picture through Vault? Thx

Ok. I found it: AppLock (https://play.google.com/store/apps/details?id=com.domobile.applock). This apps tries to move a photo to hide from the system. PhotoPhase only provides a temporary read-only provider, so other apps can read the photo, but doesn't allow other apps to perform write operations on the underlying image. This is not a bug. It's the desired behaviour.

Whatever it is..... Its not working properly!
So in that case it is a bug
On 03-Mar-2018 6:12 PM, "Jorge Ruesga"<EMAIL_ADDRESS>wrote:

Ok. I found it: AppLock (https://play.google.com/
store/apps/details?id=com.domobile.applock). This apps tries to move a
photo to hide from the system. PhotoPhase only provides a temporary
read-only provider, so other apps can read the photo, but doesn't allow
other apps to perform write operations on the underlying image. This is not
a bug. It's the desired behaviour.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jruesga/PhotoPhase/issues/35#issuecomment-370144813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiZO4FGgh1oiIQl3kMsNNOda2Zll5O45ks5tao-cgaJpZM4SXGVz
.


Wrong duplicate text on Welcome Page of Video Conference Mute

Microsoft PowerToys version
0.49.1
Utility with translation issue
Welcome / PowerToys Tour window
🌐 Language affected
Korean
❌ Actual phrase(s)
마이크를 전환하려면

✔ Expected phrase(s)
비디오를 전환하려면
ℹ Why is the current translation wrong
Both of "to toggle microphone" and "to toggle video" are translated as "to toggle microphone."
Second one should be "to toggle video".

Duplicate of #14236

Thanks for reporting this. This issue is a duplicate.
I'm linking this issue to #14236 to centralize the thread. This has been fixed in #14243 and this should be shipped with release v0.51.
Thanks for your help to make PowerToys a better piece of software!

Ah, so this wasn't the translation issue. Sorry, I'll close the issue. Thanks!


Changed enum values back to uint8 before updating the table

Closes #55
Added a test to add to the panda table after initially leaving it blank
update_table will currently not work for enum values in the table since they're List[str] and have to be converted back to their integer index values.
Added a test to update_table for a table which is [] on ioc start up, then is added to on the panda side.

Requires release of https://github.com/PandABlocks/PandABlocks-client/pull/58 before merging.

TESTING
On an old commit https://github.com/PandABlocks/PandABlocks-ioc/tree/a8586b9fde836a8a8eceda770c935f39af57f98c
SEQ2 Table not defined yet
pandablocks-ioc softioc [test panda ip] PANDA outputted_screens

PANDA:SEQ2:TABLE:MODE          VIEW
caput PANDA:SEQ2:TABLE:MODE 1
  Old : PANDA:SEQ2:TABLE:MODE          VIEW
  New : PANDA:SEQ2:TABLE:MODE          EDIT
caget PANDA:SEQ2:TABLE:TRIGGER
  PANDA:SEQ2:TABLE:TRIGGER 16384 0 0 0 0
caput -a PANDA:SEQ2:TABLE:TRIGGER 0 1 0
  Old : PANDA:SEQ2:TABLE:TRIGGER 16384 0 0 0
  New : PANDA:SEQ2:TABLE:TRIGGER 16384 1 0 0
caget PANDA:SEQ2:TABLE:TRIGGER
  PANDA:SEQ2:TABLE:TRIGGER 16384 1 0 0
caput PANDA:SEQ2:TABLE:MODE 2
  Old : PANDA:SEQ2:TABLE:MODE          EDIT
  New : PANDA:SEQ2:TABLE:MODE          SUBMIT

The ioc outputted
>>> WARNING:Value 0.0 of record SEQ2:TABLE:TRIGGER is not a recognised value.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 666, in _update_scalar
    scalar_val = labels.index(scalar_val)
ValueError: 0.0 is not in list
WARNING:Value 1.0 of record SEQ2:TABLE:TRIGGER is not a recognised value.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 666, in _update_scalar
    scalar_val = labels.index(scalar_val)
ValueError: 1.0 is not in list
INFO:Sending table data for SEQ2:TABLE to PandA
ERROR:Unable to Put record SEQ2:TABLE, value [],to PandA. Rolling back to last value from PandA.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 533, in update_mode
    packed_data = TablePacking.pack(
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 171, in pack
    curr_val = [field_details.labels.index(x) for x in curr_val]
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 171, in <listcomp>
    curr_val = [field_details.labels.index(x) for x in curr_val]
ValueError: 1.0 is not in list

SEQ1 Table set up in web ui
pandablocks-ioc softioc [test panda ip] PANDA outputted_screens

PANDA:SEQ1:TABLE:MODE          VIEW
caput PANDA:SEQ1:TABLE:MODE 1
  Old : PANDA:SEQ1:TABLE:MODE          VIEW
  New : PANDA:SEQ1:TABLE:MODE          EDIT
caget PANDA:SEQ1:TABLE:TRIGGER
  PANDA:SEQ1:TABLE:TRIGGER 16384 BITA=0 POSB>=POSITION BITA=1
caput -a PANDA:SEQ1:TABLE:TRIGGER 0 1 0
  Old : PANDA:SEQ1:TABLE:TRIGGER 16384 BITA=0 POSB>=POSITION BITA=1
  New : PANDA:SEQ1:TABLE:TRIGGER 16384 1 0
caput PANDA:SEQ1:TABLE:MODE 2
Old : PANDA:SEQ1:TABLE:MODE          EDIT
New : PANDA:SEQ1:TABLE:MODE          SUBMIT

The ioc outputted
WARNING:Value 1 of record SEQ1:TABLE:TRIGGER is not a recognised value.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 666, in _update_scalar
    scalar_val = labels.index(scalar_val)
ValueError: '1' is not in list
INFO:Sending table data for SEQ1:TABLE to PandA
ERROR:Unable to Put record SEQ1:TABLE, value [],to PandA. Rolling back to last value from PandA.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 533, in update_mode
    packed_data = TablePacking.pack(
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 171, in pack
    curr_val = [field_details.labels.index(x) for x in curr_val]
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 171, in <listcomp>
    curr_val = [field_details.labels.index(x) for x in curr_val]
ValueError: '1' is not in list

None of the trigger values were changed on the webui.
On this branch (ensure_adding_to_a_non_defined_table_works)
SEQ2 Table not defined yet
pandablocks-ioc softioc <IP_ADDRESS> PANDA --screens-dir=outputted_screens --clear-bobfiles

PANDA:SEQ2:TABLE:MODE          VIEW
caput PANDA:SEQ2:TABLE:MODE 1
  Old : PANDA:SEQ2:TABLE:MODE          VIEW
  New : PANDA:SEQ2:TABLE:MODE          EDIT
caget PANDA:SEQ2:TABLE:TRIGGER
  PANDA:SEQ2:TABLE:TRIGGER 16384 0 0 0 0
caput -a PANDA:SEQ2:TABLE:TRIGGER 0 1 0
  Old : PANDA:SEQ2:TABLE:TRIGGER 16384 0 0 0
  New : PANDA:SEQ2:TABLE:TRIGGER 16384 1 0 0
caget PANDA:SEQ2:TABLE:TRIGGER
  PANDA:SEQ2:TABLE:TRIGGER 16384 1 0 0
caput PANDA:SEQ2:TABLE:MODE 2
  Old : PANDA:SEQ2:TABLE:MODE          EDIT
  New : PANDA:SEQ2:TABLE:MODE          SUBMIT

The ioc outputted
>>> INFO:Sending table data for SEQ2:TABLE to PandA
ERROR:Unable to Put record SEQ2:TABLE, value [],to PandA. Rolling back to last value from PandA.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 555, in update_mode
    packed_data = table_to_words(table, self.field_info)
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/.venv/lib/python3.10/site-packages/pandablocks/utils.py", line 111, in table_to_words
    assert len(packed) == len(column), (
AssertionError: Table record TRIGGER has mismatched length compared to other records, cannot pack data

SEQ1 Table set up in web ui
PANDA:SEQ1:TABLE:MODE          VIEW
caput PANDA:SEQ1:TABLE:MODE 1
  Old : PANDA:SEQ1:TABLE:MODE          VIEW
  New : PANDA:SEQ1:TABLE:MODE          EDIT
caget PANDA:SEQ1:TABLE:TRIGGER
  PANDA:SEQ1:TABLE:TRIGGER 16384 1 9 2
caput -a PANDA:SEQ1:TABLE:TRIGGER 0 1 0
  Old : PANDA:SEQ1:TABLE:TRIGGER 16384 1 9 2 0
  New : PANDA:SEQ1:TABLE:TRIGGER 16384 1 0 0 0
caput PANDA:SEQ1:TABLE:MODE 2
  Old : PANDA:SEQ1:TABLE:MODE          EDIT
  New : PANDA:SEQ1:TABLE:MODE          SUBMIT

The ioc outputted
>>> INFO:Sending table data for SEQ1:TABLE to PandA
ERROR:Unable to Put record SEQ1:TABLE, value [],to PandA. Rolling back to last value from PandA.
Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/src/pandablocks_ioc/_tables.py", line 555, in update_mode
    packed_data = table_to_words(table, self.field_info)
  File "/scratch/twj43146/Programming/PandABlocks-ioc-fork/.venv/lib/python3.10/site-packages/pandablocks/utils.py", line 111, in table_to_words
    assert len(packed) == len(column), (
AssertionError: Table record TRIGGER has mismatched length compared to other records, cannot pack data

Putting it back to how it was before all this,
caput -a PANDA:SEQ1:TABLE:TRIGGER 3 Immediate Immediate "BITA=0" works.
I've made a new branch on the client which allows for packing of empty tables (it gives things default values if columns are missing).

https://github.com/PandABlocks/PandABlocks-client/pull/59

Thank you for testing those situations. To me it looks like this branch is now behaving as expected: Attempting to add a new row by only extending 1 of the waveforms triggers an error.
Do you think this PR is a suitable place to add a test that properly adds a row via EPICS, i.e. does a caput to each and every column in a table?
Otherwise, please fix the CI linting errors and then two minor cleanup comments, then this is good to go.

@AlexanderWells-diamond  I've now put this back to how it was, before any of these changes. Whenever PVs are changed internally we push the enums as strings.


add in tab a notification that we have a new request

fix in tab - number of new requests (so far from all the tabs are put here)

@mprinc problem with handler listener identification - > all components go to same handler


Update kolla-ansible to stackhpc/<IP_ADDRESS>

This includes a fix for keystone fernet key rotation.

Applied keystone fernet rotation fix to alt-1.


User.getUserOauthAccessToken has the wrong return type

[x] Review the documentation: https://docs.clerk.dev/
[x] Search for existing issues: https://github.com/clerkinc/javascript/issues
[x] Go through package changelog files.
[x] Provide the Frontend API key from your application dashboard. not applicable

Package + Version

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/clerk-expo
[x] @clerk/backend-core 2.9.1
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] other:

Version:
2.9.1

Browser/OS
Not applicable
Description
It seems like the method getUserOauthAccessToken in the class UserAPI has the wrong return type: https://github.com/clerkinc/javascript/blob/250a47daf561928e7d09b48873b19be4de28a581/packages/backend-core/src/api/endpoints/UserApi.ts#L120
The method returns the return value from this.APIClient.request<User>, which makes the return type Promise<User>, and this doesn't seem correct given the name of the function, the backend API docs and the return data from the API.
The User type doesn't match the data returned from the method:
https://github.com/clerkinc/javascript/blob/250a47daf561928e7d09b48873b19be4de28a581/packages/backend-core/src/api/resources/User.ts#L7
From the method body it seems like it calls the /v1/users/:id/oauth_access_tokens/:provider endpoint of the backend API, which does makes sense.
However, in the backend documentation the data from this endpoint is an array of objects with the "object" property having the value "oauth_access_token", which obviously doesn't matches the User type:
https://reference.clerk.dev/reference/backend-api-reference/users#retrieve-the-oauth-access-token-of-a-user
Here's the example return value:
[
  {
    "object": "oauth_access_token",
    "provider": "oauth_google",
    "token": "xxxxxxxxxxxxxxxxxxxxx",
    "public_metadata": {},
    "label": "clerk",
    "scopes": [
      "openid",
      "https://www.googleapis.com/auth/userinfo.email"
      "https://www.googleapis.com/auth/userinfo.profile"
    ]
  }
  ...
]

When calling the function, I get a similar JSON object as well:
[
  {
    "object": "oauth_access_token",
    "token": "…",
    "provider": "oauth_notion",
    "public_metadata": {
      "bot_id": "…",
      "workspace_id": "…",
      "workspace_icon": "…",
      "workspace_name": "…"
    },
    "label": "…"
  }
]

I can't find a type in the JS API matching this type, for instance no object with this object type can be found in the ObjectType enum:
https://github.com/clerkinc/javascript/blob/250a47daf561928e7d09b48873b19be4de28a581/packages/backend-core/src/api/resources/JSON.ts#L12
Nor do I find the string oauth_access_token in the entire repo:
https://github.com/clerkinc/javascript/search?q=oauth_access_token
It seems like there's missing an OAuthAccessToken and its companion OAuthAccessTokenJSON type, and the UserAPI.getUserOauthAccessToken method should return Promise<OAuthAccessToken[]> rather than Promise<User>.

Is there any particular reason this is taking "so long" to get resolved?

Thanks for bringing this to our attention. We will push a fix ASAP.


Pull

Pull it please

Hello,
I am new to Git so I’m not sure what I did wrong. I followed your
instructions; please let ,e know how to fix it.
Thank you,
Brein
On Thu, Aug 31, 2023 at 1:36 AM Tianhao Li @.***> wrote:

@.**** requested changes on this pull request.
Dear @bmosely https://github.com/bmosely , those commits seems contain
the author's personal information and should not merge into this
repository. Commit in your own fork in enough for updating your homepage,
no need to open any pull request unless you have any modification of
general stuffs for the repository you fork from.
Please close this pull request.
Any problems, please contact.
—
Reply to this email directly, view it on GitHub
https://github.com/academicpages/academicpages.github.io/pull/1522#pullrequestreview-1603977114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANTOBYVI3BIDEUPSN5K4IWLXYAPGJANCNFSM6AAAAAA3YYIPCU
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


No signature of method: build_1i5iqn7wh90lwjd36gc5mcmai.android() is applicable for argument types

I'm stuck while building flutter release build, flutter throw me
**No signature of method: build_1i5iqn7wh90lwjd36gc5mcmai.android() is applicable for argument types: (build_1i5iqn7wh90lwjd36gc5mcmai$_run_closure2) values: [build_1i5iqn7wh90lwjd36gc5mcmai$_run_closure2@2e774a04]**
error while creating build, As i now its caused by the **useProguard true** option in release section, without useProguard option it works fine, any solution

android/app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

 def keystoreProperties = new Properties()
   def keystorePropertiesFile = rootProject.file('key.properties')
   if (keystorePropertiesFile.exists()) {
       keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
   }

   android {
    compileSdkVersion 31

    compileOptions {
        coreLibraryDesugaringEnabled true
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }

    // For Kotlin projects
    kotlinOptions {
      jvmTarget = "11"
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
        checkDependencies true
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "test.dev.develop.com"
        minSdkVersion 21
        targetSdkVersion 30
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        // multiDexEnabled true
    }

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }

    buildTypes {
        release {
            signingConfig signingConfigs.release
            minifyEnabled true
            shrinkResources true
            useProguard true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }

        debug {
            signingConfig signingConfigs.debug
        }
    }

}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.google.firebase:firebase-messaging:23.0.0'
    implementation 'com.google.firebase:firebase-auth:21.0.1'
    implementation 'com.google.firebase:firebase-firestore:24.0.0'
    implementation 'com.google.firebase:firebase-crashlytics:18.2.4'
    implementation "androidx.browser:browser:1.3.0"
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
}

apply plugin: 'com.google.gms.google-services'  // Google Services plugin
apply plugin: 'com.google.firebase.crashlytics'

android/build.gradle
buildscript {
    ext.kotlin_version = '1.5.31'
    ext.multidex_version = "2.0.1"

    repositories {
        google()
        jcenter()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.0.3'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:4.3.10'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
    }
}

allprojects {
    repositories {
       google()
        jcenter()
        mavenCentral()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on Ubuntu 20.04.3 LTS 5.11.0-38-generic, locale en_US.UTF-8)
    • Flutter version 2.5.3 at /home/saim/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/saim/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/saim/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 61.2.2
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.28.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.54

• No issues found!

@naqash-smrt-is
Check below links for possible solutions and see if they work for you:
https://stackoverflow.com/questions/61807520/how-to-fix-error-no-signature-of-method-build-ap86oam3dut3pxce3x49rdtma-androi
https://exerror.com/no-signature-of-method-android-is-applicable-for-argument-types-exception-in-build-gradle-app/

@darshankawar thanks for your time, I have resolved this issue as per suggested in this warning,
Removed the useProguard option,
Thanks, closing...
Configure project :app
[        ] WARNING:DSL element 'useProguard' is obsolete and should be removed.
[        ] It will be removed in version 8.0 of the Android Gradle plugin.
[  +88 ms] FAILURE: Build failed with an exception.
[   +2 ms] * Where:
[        ] Build file '/home/saim/Desktop/gharse-mobile/android/app/build.gradle' line: 34
[        ] * What went wrong:
[   +4 ms] A problem occurred evaluating project ':app'.
[        ] > No signature of method: build_1i5iqn7wh90lwjd36gc5mcmai.android() is applicable for argument types: (build_1i5iqn7wh90lwjd36gc5mcmai$_run_closure2) values:
[build_1i5iqn7wh90lwjd36gc5mcmai$_run_closure2@438fae02]
[   +1 ms] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[   +1 ms] BUILD FAILED in 1s
[   +2 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[   +1 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[   +1 ms] See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
[ +366 ms] Running Gradle task 'bundleRelease'... (completed in 2,343ms)
[   +3 ms] "flutter appbundle" took 3,072ms.
[   +3 ms] Gradle task bundleRelease failed with exit code 1
[        ]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:383:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildAab (package:flutter_tools/src/android/gradle.dart:196:5)
           <asynchronous suspension>
           #3      BuildAppBundleCommand.runCommand (package:flutter_tools/src/commands/build_appbundle.dart:148:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>


Support of other ORM's

Hi, currently we can't use this library with the doctrine/mongodb-odm, even though MongoDB is quite a popular database in the PHP world.
It would be nice to have native support in the library or at least the possibility to do the integration on your own (maybe some interfaces available in the messenger-monitor-bundle library that can be implemented and will allow us to use other ORM than doctrine/orm)

maybe some interfaces available in the messenger-monitor-bundle library that can be implemented and will allow us to use other ORM than doctrine/orm

Here it is https://github.com/zenstruck/messenger-monitor-bundle/blob/v0.4.0/src/History/Storage.php

I did not know about it, thanks!
I've tried it, but I've noticed a few problems:

You have to write mapping of ProcessedMessage and Results because "doctrinemongodb-odm" does not map fields automatically
Mapping cannot be done using attributes, because properties are private in ProcessedMessage, so I had to use XML mapping

<?xml version="1.0" encoding="UTF-8"?> <doctrine-mongo-mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"                         xmlns="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping"                         xsi:schemaLocation="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping                 http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">     <mapped-superclass name="Zenstruck\Messenger\Monitor\History\Model\ProcessedMessage">         <field name="runId" type="int"/>         <field name="attempt" type="int"/>         <field name="type" type="string"/>         <field name="description" type="string" nullable="true"/>         <field name="dispatchedAt" type="date_immutable"/>         <field name="receivedAt" type="date_immutable"/>         <field name="finishedAt" type="date_immutable"/>         <field name="memoryUsage" type="int"/>         <field name="transport" type="string"/>         <field name="tags" type="string" nullable="true"/>         <field name="failureType" type="string" nullable="true"/>         <field name="failureMessage" type="string" nullable="true"/>         <embed-one field="results" target-document="Zenstruck\Messenger\Monitor\History\Model\Results" />     </mapped-superclass> </doctrine-mongo-mapping>
`

<embedded-document name="Zenstruck\Messenger\Monitor\History\Model\Results">
    <field name="data" type="hash" />
</embedded-document>

`

I'd like to first add mongodb support to zenstruck/collection. That would make this much easier.


Manually trigger full signout from federated (saml2) authentication middleware

Case

We have a middleware for external idp authentication using saml2.
Signout triggered by our idsrv/client works fine
Signout triggered by external saml2 idp not quite sure best approach

Basically we have a saml2 authenticationhandler where we get an incoming valid slorequest from user's external idp. We would then of course want to make sure that we do everything we can (working federated signout can truly be tricky in all browsers, especially using a protocol such as saml2) to make sure user is signed out from both our idp as well as any clients. What to do?
Attempts

await Context.Authentication.SignOutAsync()  - Does not signout user from clients, seems to do quite abit of cleanup though which is nice

var logoutId = await _interactionService.CreateLogoutContextAsync();
            var userInteractionOptions = _identityServerOptions.UserInteraction;
            var logoutUrl = Context.GetIdentityServerRelativeUrl(_identityServerOptions.UserInteraction.LogoutUrl);

Response.Redirect(logoutUrl);

This might be working nice if not for the fact that we then later get stuck on 'ShowLogoutPrompt' because we do not have a client. Since we have already validated that the slosignout request is valid there should be no need for this check (not to mention the whole request might be hidden inside an iframe), how can we avoid this?
Question
How to trigger a full signout from middleware/authentication handler where we have already validated signoutrequest?

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use StackOverflow for that. This has the advantage that questions and answers can be easily found by search engines, and that there are more people answering questions than just us.
For IdentityServer3
https://stackoverflow.com/questions/tagged/?tagnames=identityserver3&sort=newest
For IdentityServer4
https://stackoverflow.com/questions/tagged/?tagnames=identityserver4&sort=newest
For commercial support
https://identityserver.io/


hyperdrive: private networking

DO NOT MERGE / DRAFT
This PR:

[ ] Adds /private-networking/ documentation for Hyperdrive
[ ] Adds an in-line example for using Cloudflare Tunnel w/ a copy-paste config
[ ] Adds a standalone example of using Magic WAN + IPSec VPN (Site to Site) to connect to AWS RDS/Aurora over a private connection
[ ] Updates the changelog

Superseded.


Do not invoke SendCameraChanged if VisibleRegion is null

BUG / PROBREM REPORT
When I am initializing map on UWP there is fired event camera changed even if Visible region is null
SUMMARY
Expected behaviour is do not send if visible region is null.
I am able handle this in my code, but I beleive that it should be handled in this project
VERSIONS

Xamarin.Forms.GoogleMaps - 1.8.0-beta6
Xamarin.Forms - <IP_ADDRESS>

PLATFORMS

[ ] Android
[ ] iOS
[x] UWP

This is probably my misstake, I am adding pins even if Visible region is still null, but could we do something with faster loading VisibleRegion?

We have not received the requested information.
If you are still experiencing this issue please provide all the requested information and re-open the issue report.
Thanks!


OrderBy in aggregates cannot specify a non-selected column in the final view, even if the column exists in the sub-views.

Let's say that you have the following 2 tables:
TA (int a1, int a2)
TB (int b1, int b2)
let's say you have a view
select a1, first(b2 order by a2) from TA, TB
we currently won't accept an orderBy "a2" because "a2" is not defined in the view. This needs to be fixed. We can look at all the columns from all the sub-views and make it easy for developers.

This is technicaly an enhancement as this was doable in the past with "joinOnly":true... but a pain in the neck.


[JSON Logic] Part 7: Add conditional logic checking

Definitely a more involved one 😅 :

We will parse conditionals now in x-jsf-logic via a special processJSONLogicNode function which goes through anything particular to JSON logic.
During the calculation of conditional properties, we'll now calculated computed attributes if any and spread them, we'll also apply any validations that need to be added.
Adds the logic for the special if statements only available in x-jsf-logic (which can have an if statement without properties but computedValues and validations checks)
Lots of tests and schemas with more to come (breaking some extra tests into its own PR because theres just so much...)

I think everything is covered here, let me know if I'm missing anything


Function distance calculation differs from paper

Looking at the following snippet of code, I realized that the function distance calculation is performed differently from how it is defined in the paper.
https://github.com/aflgo/aflgo/blob/e4716200d64c7dc32952ad4b66d7f6752d2d5149/distance_calculator/main.cpp#L103-L106
In particular, the 1.0 + used in the divisor increments the distance by 1 for all functions so that all distances are positive integers. I suppose the reason for this is that the harmonic average is defined only for positive integers and thus cannot handle a 0.
This solution, however, introduces an artifact for target nodes which, as far as I can see, are assigned a distance as all other nodes. If multiple targets are defined, one of the target distances for a target node is 0. Following the definitions in the paper, this would mean that the harmonic mean of its distances should also approach 0, whatever the other distances are. With the 1.0 + version in the implementation, though, the value of the harmonic mean is definitely different from 0 and could be even greater than non-target nodes (think about two targets very close together and a third which is very far from the other two).
Do you think this is a bug? What are its implications? The fix would be simply to remove the 1.0 + and set the distance to 0 if the node is a target node.

Ah, I see another point of having the 1.0 + there. When calculating the basic block distance in a function that calls the target function, one is still "one function away" from the target, so the distance should not be 0. Maybe, the addition of 1 should be done when calculating the basic block distance, though, so the distance from a target function should always be ( 0 + 1) * 10 = 10. Instead of possibly having a distance greater than 1 with multiple targets.

I think I stumbled on this as well when reimplementing it in c++ and I also realized that we miss the "one function away", which is why I didn't give it much more thought, but skimming over it again, you might be right regarding the (0 + 1)*10 comment. Maybe @strongcourage can give more insights here?

I noticed the same issue in the calculation of function distance and basic block distance with the paper when using the 1.0 + operation. Additionally, there is another code implementation that differs from the paper.
In regards to the standard harmonic mean, the paper's figure.4 and Equations (1) & (2) set the numerator to 1, while the code implementation adheres to the standard definition of the harmonic mean and sets the numerator to n (where n denotes the number of shortest paths). Although this discrepancy is harmless, it should be clarified to avoid any confusion.
I believe these discrepancies above are acceptable in the code implementation. The distance of the basic block (or trace) is first calculated in a normalized way before being involved in the energy scheduling calculation. Therefore, the numerical value of the distance is not as significant as its normalized value (or ranking among all distance values). Distance 0 (standard version) and distance 1 (1.0+ version) may both become distance 0 (or very close to 0) after normalization, which does not significantly affect the overall fuzz procedure.
However, I will appreciate it if the discrepancy is well discussed, clarified, and fixed.


how to get current layer parameters

It would be easier to get current layer's parameters, rather than picking it from all layer's parameters. Something like layer.outputs that contains current layer's outputs.

for denselayer, please use network.all_params[-2:]

Maybe you can use layers.all_params() to get a list of Tensor, which all network variables in order.

It can be retrieved via layers.all_params, but it's inconvenient, as we have to keep track of which layer does the current layer points to. It'd be better if it just returns current layer, like the outputs does.
Perhaps something called layers.params that returns [W,b]?

Three ways can do this.

get current output network.outputs
get all outputs network.all_params
get all outputs by a given layer name tl.layers.get_layers_with_name(network, "dense")


Ghe stack

This PR adds a CloudFormation template to the codebase that we can use to spin up GitHub Enterprise servers on-demand for testing purposes.

Here we are exposing some Atlassian-related info, like, our team's e-mail and the surname of the owner of the component... Do we really want this?


Local pull request success status testing

Docs Build status updates of commit 394026b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


styling on layer widgets on new layer

🐛 Bug
When a new layer gets added the styling of the new layer does not reflect that it is selected, but the control panels display and functionality indicates that it is

see the 3rd and 4th review comment on https://github.com/napari/napari/pull/330#pullrequestreview-249089637


refactor: underscore variable prefix should be reserved...

...for internal variables that are not user configurable
While it's not specified in any standard that I'm aware of, it's common that variables that are used internally in a role are prefixed with a underscore.
These variables were once not user configurable, so it makes sense that they were prefixed in the past, but I don't see any reason to keep them that way.

We had an opinion that these vars were not supposed to be used by users. They used to be internal only. @paulfantom What do you think?

We had an opinion that these vars were not supposed to be used by users. They used to be internal only. @paulfantom What do you think?

Then they should be placed in vars/ and not defaults/
Looking at cloudalchemy repos I see that initially they were, but then got moved to defaults to allow users to overwrite them.
With that being said, I don't see any downsides of having them overwritten by users myself.


ENH: Add a formula API call for absorbing regression

I may have completely missed this (apologies if so), but is there a way to use AbsorbingLS with the formula API?
Thanks for all the hard work—the package is great and I'm using it for notes I've put online here.

It isn't because I need sparse matrices as much as possible for absorbed effects.  It should be possible to make a hybrid interface with a formula for the non-absorbed though.

It is also possible that Formulaic which is not the formula engine supports sparse arrays, which I haven't checked.

It does indeed support sparse matrices, according to the documentation here.
FYI (simply because it's interesting to see how others have done it-not because it's particularly intuitive), the R package fixest uses the syntax
y ~ x | f

where f is a fixed effect that should be absorbed.


[Bug] Issue with dynatrace_application_error_rules module

Hello,
I am facing a weird behaviour with the dynatrace_application_error_rules module. In fact, every time I am modifying a value in the terraform configuration and then apply my change, it seems that all the errors rules gets deleted in Dynatrace for the application.
Default state for an application
In Dynatrace:

Request errors
Custom errors

In terraform (values retrieved thanks to ./terraform-provider-dynatrace export dynatrace_application_error_rules cmd):
resource "dynatrace_application_error_rules" "my_app" {
  # ignore_custom_errors_apdex = false
  # ignore_http_errors_apdex = false
  # ignore_js_errors_apdex = false
  web_application_id = "APPLICATION-***"
  custom_errors {
    rule {
      capture = true
      custom_alerting = true
      # impact_apdex = false
    }
  }
  http_errors {
    rule {
      # capture = false
      # consider_blocked_requests = false
      # consider_for_ai = false
      # consider_unknown_error_code = false
      error_codes = "404"
      filter = "ENDS_WITH"
      filter_by_url = true
      # impact_apdex = false
      url = "favicon.ico"
    }
    rule {
      capture = true
      # consider_blocked_requests = false
      consider_for_ai = true
      # consider_unknown_error_code = false
      error_codes = "404"
      filter = "ENDS_WITH"
      filter_by_url = true
      impact_apdex = true
      url = ".js"
    }
    rule {
      capture = true
      # consider_blocked_requests = false
      consider_for_ai = true
      # consider_unknown_error_code = false
      error_codes = "404"
      filter = "ENDS_WITH"
      filter_by_url = true
      impact_apdex = true
      url = ".css"
    }
    rule {
      capture = true
      # consider_blocked_requests = false
      # consider_for_ai = false
      # consider_unknown_error_code = false
      error_codes = "400-499"
      # filter_by_url = false
      impact_apdex = true
    }
    rule {
      capture = true
      # consider_blocked_requests = false
      consider_for_ai = true
      # consider_unknown_error_code = false
      error_codes = "500-599"
      # filter_by_url = false
      impact_apdex = true
    }
    rule {
      capture = true
      # consider_blocked_requests = false
      # consider_for_ai = false
      # consider_unknown_error_code = false
      error_codes = "970-979"
      # filter_by_url = false
      impact_apdex = true
    }
    rule {
      capture = true
      # consider_blocked_requests = false
      # consider_for_ai = false
      consider_unknown_error_code = true
      # filter_by_url = false
      # impact_apdex = false
    }
    rule {
      capture = true
      consider_blocked_requests = true
      consider_for_ai = true
      # consider_unknown_error_code = false
      # filter_by_url = false
      impact_apdex = true
    }
  }
}

Steps to reproduce the issue

Export the application rules for an application using the terraform-provider-dynatrace cmd

Run terraform terraform apply

Observe the changes in Dynatrace

Request errors
Custom errors

notes
I can observe the same behaviour even when I reset the default rules by clicking on the Use defaults button located in the top right corner of the Dynatrace UI. Then if I re-apply or try to apply a single change like the following, all the rules are deleted again. E.g:
  - # ignore_js_errors_apdex = false
  + ignore_js_errors_apdex = true

Various

Terraform version: Terraform v1.1.5
Modules version: 1.11.0

Thanks in advance for looking at this issue and please let me know if you need more details.

Hello @sv-benchmarkcorp
This is not weird behavior, this is a terrible bug - origin is hasty implementation and an incomplete test case :(
Sorry about the late response here, my time was very limited in the past few weeks.
I have fixed that bug locally already. I might need until Monday before pushing out the new release, but hour fix will be included.


docs: add example use nested router usage

It was hard to figure out

@pi0 By the way, I realized later on that it gives a deprecation warning. I simply could not find a fix though. Would you mind amending my PR?

#253 is the tracker

Could you please check with latest release of h3 if: app.use('/api', router) works?

Could you please check with latest release of h3 if: app.use('/api', router) works?

sure

@Atinux It appears to not work. In fact, I cannot get nested router to work at all on the main branch

@pi0 This needs investigation

Do you mind sharing a Stackblitz or GitHub repo @nopeless ?

Do you mind sharing a Stackblitz or GitHub repo @nopeless ?

Well, would you mind doing that? There are currently no tests that prove that this works so it would be better to prove that it works

Could we use middleware to nested route, if it works again?

There is no big distinction between middleware and nested router in h3. I am assuming that a middleware pattern can temporary stub a different baseurl in order for the radix3 router to work properly but that is just a very bad idea in general. There are so many undocumented things going on that I am not sure what the actual root cause is. Best thing to do is to wait until maintainers resolve this

Here is an example using nested routers: https://stackblitz.com/edit/github-2bmusk?file=app.ts&startScript=dev


KR: Keyboard Look System, Particle & Info

This is currently failing checks due to invalid key. Can you check this please?

You'll probably have to rebase this PR.
If you're not sure how to do that let me know and I can take care of it on your behalf. I'll preserve the commit author too!


Update deprecated jest config key, clarified usage with expo instructions.

[X ] This is a small change
[ ] This change has been discussed in issue #<?> and the solution has been agreed upon with maintainers.

Description:

I'll look at it soon

Fixed in 12.4.0


Syntax difference between Rails 4/5 on get requests

Hello,
It took me a couple of hours to understand this.
When using Rails 5 I need to use the following syntax for a get request:
get :edit, params: {id: question}
but when using Rails 4, if I use that request I receive a routing error. Probably the routing error should be substituted with a syntax error, like the one that I receive when using the below syntax in Rails 5. This is the correct syntax that I had to use:
get :show, id: question
Thanks a lot for the amazing gem
Fabrizio Bertoglio

This behaviour is being surfaced from Rails, I suggest "suggesting" that to them :joy:


How to import scss in ssr

In your _app/index.tsx you have imported scss file.
How I can to import this scss file on ssr ?

So the problem was that on first page request scss styles aren't load. Solution it to display it in inline style. For this you can to transform your scss files in jsx.
But the the solution is to move to styled components.


[Go] Initial impelmentation of Go in new frontend

This is a working PR on adding the logic for go language in the new FI frontend.
This PR is not ready for review

Here is a sample callgraph for fuzz_test.go in project clock.
FuzzClock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go -1
  time.ParseDuration ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 25
  time.Parse ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 29
  time.ParseDuration ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 33
  NewMock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 37
    time.Unix ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 88
  Add ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 38
    Lock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 95
    Add ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 96
    Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 97
    runNextTimer ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 101
      Lock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 155
      sort.Sort ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 158
      len ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 161
      Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 162
      Next ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 168
      After ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 168
        Timer ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 185
          Lock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 252
          make ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 253
          Add ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 258
          append ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 261
          Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 263
          runNextTimer ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 264
      Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 169
      Next ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 174
      Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 176
      Tick ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 179
        time.Tick ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 54
    Lock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 107
    Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 109
    gosched ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 112
      time.Sleep ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 417
  Set ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 39
    runNextTimer ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 120
    Lock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 126
    Unlock ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 128
    gosched ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/clock.go 131
  Timer ../../../oss_fuzz_integration/oss-fuzz/build/out/clock/src/clock/fuzz_test.go 40


[SEDONA-648] Implement Distributed K Nearest Neighbor Join

Did you read the Contributor Guide?

Yes, I have read the Contributor Rules and Contributor Development Guide

Is this PR related to a JIRA ticket?

Yes, the URL of the associated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-XXX. The PR name follows the format [SEDONA-XXX] my subject.

What changes were proposed in this PR?
This PR implements distributed K Nearest Neighbor (kNN) join.
How was this patch tested?
KnnJoinSuite, KnnJoinQueryTest
Did this PR include necessary documentation updates?

Yes, I am adding a new API. I am using the current SNAPSHOT version number in vX.Y.Z format.

Looks like the python wheels builds only fails on the latest windows version, the ubuntu and macos both build without issues.

The failed CI on Windows is likely caused by the recent GitHub windows image update: https://github.com/actions/runner-images/tags

Fixed by this PR but I don't why :-)


Merge command has no effect

Just did a merge of one group into another, both groups still exist when I do a /cti on blocks from either group. It did tell me merging was successful but seems to have had no effect.

can you still access both groups? Does cti show the blocks still on
different groups?
On Mon Feb 09 2015 at 5:48:18 PM Trent Robbins<EMAIL_ADDRESS>wrote:

Just did a merge of one group into another, both groups still exist when I
do a /cti on blocks from either group. It did tell me merging was
successful but seems to have had no effect.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/NameLayer/issues/68.

already fixed, check civtest

Thanks, is there a branch that I can review in the future?

will that work when we update Civcraft?
On Tue Feb 10 2015 at 1:07:49 AM Trent Robbins<EMAIL_ADDRESS>wrote:

Thanks, is there a branch that I can review in the future?
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/NameLayer/issues/68#issuecomment-73654044.


fill_ontologies can't find cell barcode

Description of the problem:
The script fill_ontologies can't find the ontology id for cell barcode - and all terms in the information entity branch as well I suspect
When it encounters cell barcode it lists a number of terms that have the word cell in them but not cell barcode.
I use the manual input option and input the ontology id EFO:0010198
Then the code breaks with this error:
Please input the term manually: EFO:0010208
Traceback (most recent call last):
  File "/Users/idazucchi/Documents/script/hca-ebi-wrangler-central/src/fill_ontologies.py", line 328, in <module>
    main(args)
  File "/Users/idazucchi/Documents/script/hca-ebi-wrangler-central/src/fill_ontologies.py", line 322, in main
    parse_wb(args.wb_path, wb, json_schemas, args.zooma, args.keep)
  File "/Users/idazucchi/Documents/script/hca-ebi-wrangler-central/src/fill_ontologies.py", line 292, in parse_wb
    ontology, known_iri = select_term(ontologies_dict, cell.value, programmatic_key,
  File "/Users/idazucchi/Documents/script/hca-ebi-wrangler-central/src/fill_ontologies.py", line 234, in select_term
    return select_term(ontologies_dict, term, key, schema_info, zooma, known_iri)
  File "/Users/idazucchi/Documents/script/hca-ebi-wrangler-central/src/fill_ontologies.py", line 182, in select_term
    first_key = next(iter(ontologies_dict))
TypeError: 'NoneType' object is not iterable

Task
The script needs to be debugged if this is affecting all wranglers.
If it's only affecting Ida I will try to figure this one out.
A good place to start would be checking if there is a place where the script checks which ontologies are accepted and make sure it's up to date with the current schema
Acceptance criteria for the task:

[ ] does this issue affect everyone?
[ ] debug the code
[ ] script can find the ontology code for cell barcode and any other term in the information entity branch

@ESapenaVentura do you know who wrote this script?

I wrote the script! and marion improved it :) I can take a look if we prioritise it next sprint!

I've run the script again and it had no issue finding the cell barcode ontology, so I'm not sure of what caused the errors.
I will close the ticket now - it can reopened if the problem comes up again


How to export Openni2 on an embedded board (running Angstrom Linux)

Note: This question may or may not concern the OpenNI community directly as such, but I'm looking for any direction from anyone who might be familar with this. It might also be a bit broad, but I'll try to consider any feedback on this.
I have an industrial Texas Instruments embedded board with an ARM Cortex-A15, which is running an Arago Linux distribution by TI, forked from the Yocto Project (Angstrom type I believe). I wanted to get the Kinect v1 running on this board which means somehow I need the Openni2 drivers installed on this.
Note that this embedded board is not like your general-purpose Jetson TK1 or Beagleboard where you have a desktop version of ARM Linux running and you can sudo apt-get install packages and OpenNI2 for ARM and anything else you want. This is a bare-bones version of Linux where, to install new packages, a lot of times you have to complie the Linux code with package added, on an board-specific-SDK (Code Composer by TI) running on a host machine (Linux) and then port the code to the board via a bootable SD card.
I was wondering if there is any way for me to add these drivers as one blob of code without compiling or installing (either on the board or on the SDK on the host machine). For example, in Windows we can include Openni2 as a library (.DLLs etc) in our code, export this to the target machine and Kinect can access it on the target machine.
If there isn't a way to export Openni2 as a library, what steps would I need to make this happen? I Imagine if I copy ALL the files that Kinect needs from Openni and SensorKinect to the right locations this might work?
...Or, another way to ask this question is, is it possible to install Openni2 (either with the steps given modified, or by placing the right libraries in the right places) on an Angstrom Distribution?
Please let me know if you need more details.

Any update on this? I'd like to do something similar.


Can you add StartAsync() method

Hello Joel!
Can you add StartAsync() method as I would like to use watson from an async environment.
Nowadays, I need to use await Task.Run(()-> WatsonTcp()) ...
for example:
public Task StartAsync()
{
if (_Mode == Mode.Tcp)
{
Log("Watson TCP server starting on " + _ListenerIp + ":" + _ListenerPort);
}
else if (_Mode == Mode.Ssl)
{
Log("Watson TCP SSL server starting on " + _ListenerIp + ":" + _ListenerPort);
}
else
{
throw new ArgumentException("Unknown mode: " + _Mode.ToString());
}
        return AcceptConnections();
    }

Thanks,
Csaba

Will do @csalat :) stay tuned.

Hi @csalat just pushed v2.0.8 to NuGet, should only take a few minutes: https://www.nuget.org/packages/WatsonTcp/2.0.8
Please re-open let me know if this is not the intended behavior.
Commit can be found here: https://github.com/jchristn/WatsonTcp/commit/2df41a5a28eb2befca694c9b87a5627c3b7e416a
Cheers, Joel

thx, it was quick!


Restructure log-correlation doc

What does this PR do?
Re-structure log-correlation doc to make it fit the general guide for the feature : https://www.elastic.co/guide/en/apm/guide/8.4/log-correlation.html
Checklist

[x] This is something else

[ ] I have updated CHANGELOG.asciidoc

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-09-30T12:59:46.429+0000

Duration: 4 min 37 sec

:grey_exclamation: Flaky test report
No test was executed to be analysed.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


radare2: 1.4.0 -> 1.5.0

Motivation for this change
new version
Things done

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

[ ] NixOS
[ ] macOS
[X] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

there are two broken symlinks in the radare package:
r2-docker -> /build/radare2-1.5.0/sys/r2-docker.sh
r2-indent -> /build/radare2-1.5.0/sys/indent.sh

Odd. I build on Fedora 25 and then those symlinks aren't even created when building with Nix, so I missed them. It seems a fairly recent addition (pre-1.4.0).

I built it with the pre-release version of nix. This version is also used on hydra.

Right.
The radare2 Makefile says:
    ln -fs "${PWD}/sys/indent.sh" "${DESTDIR}${BINDIR}/r2-indent"
    ln -fs "${PWD}/sys/r2-docker.sh" "${DESTDIR}${BINDIR}/r2-docker"

so I guess that is where it goes wrong.

You can make a patch to copy both scripts instead and sent it also to upstream. This should be never the correct way to install those scripts. If the scripts are only required for development, they can be removed as well.


Add ignore list in workspace Cargo.toml

It would be great to have an equivalent to [package.metadata.cargo-machete] inside a workspace main Cargo.toml to ignore false positive dependencies present in lots of packages of a same workspace.

Makes sense! I wonder if that's something that's natively supported one way or another in cargo_toml, and if we could make use of that directly (or if it's possible to implement that upstream, as it might be quite a common ask someday, and use it here). Or maybe we just implement it manually here, to start with. Are you interested in investigating or implementing that? :slightly_smiling_face:

[package.metadata.cargo-machete] cant be put inside the workspace Cargo.toml, as it causes error:
Analyzing dependencies of crates in this directory...
error when handling /home/jayvdb/git-workspaces/github/franklin-ai/ros-models/Cargo.toml: missing field `name` for key `package` at line 4 column 1
error when handling /home/jayvdb/git-workspaces/github/franklin-ai/ros-models/rust/models/Cargo.toml: `cargo metadata` exited with an error: error: failed to parse manifest at `/home/jayvdb/git-workspaces/github/franklin-ai/ros-models/Cargo.toml`

Caused by:
  missing field `name` for key `package`

As a result, some other key would be needed, which complicates the idea of enhancing https://gitlab.com/crates.rs/cargo_toml to assist by auto- fetching it from the workspace Cargo.toml.

Or maybe we just implement it manually here, to start with. Are you interested in investigating or implementing that? 🙂
I can give it a try. What do you think about [workspace.metadata.cargo-machete] to distinguish it from the package-wise version?

Yep, that makes sense, thanks!


List of past year projects' websites for reference

Make list of past year projects: * pros and cons *
One person makes a list, everybody reviews and writes the summary why he likes or don't.
Further discuss.

2021

Smart home

https://techphantoms.de/
https://infinite-team.com/
https://patelshyam.github.io/Aeros/

Research data management

http://daino.eu/
https://techfour.de/
https://codeedit.de/

2020

Microservices

https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/exemplarische.github.io/home/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/nullx-de.github.io/home/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/super-team.eu/

Blockchain

https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/bitbricks.tech/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/ltsquare-global.web.app/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/triwotech.de/

SmartRail

https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/adm-tech.de/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/eveloperz.com/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/seaquasar.de/

Research data management

https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/spectre-x.de/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/wirtrials.web.app/
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/zap.com.de/

2019

Press Application

https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/binuv.com/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/www.fiveberg.de/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/techtians.com/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/upfives.com/

Blockchain

https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/ctustech.com/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/pentastreams.com/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/techmarkable.com/

Robotics

https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/robo-werk.com/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/robium-automations.com/
https://vsr.informatik.tu-chemnitz.de/edu/2019/planspiel/results/thinkbots.tech/

https://techphantoms.de/
Pros:

Sticky header
Responsible icons
Centralized content (sides padding)

Cons:

Logo and website colors don't match
Logo is overloaded

https://infinite-team.com/
Pros:

Sticky header

Cons:

Wide header (it literally takes 1/5 of my monitor)
Too much text (Our Product paragraph)

https://patelshyam.github.io/Aeros/
Pros:

Logo match with website colors

Cons:

About us paragraph looks strange (I think they should have aligned team culture columns and put them in a row)
Transparent header (it conflicts with the website content text)

http://daino.eu/
Pros:

I like the way they have designed team culture (3 equal rects + values tree)

Cons:

Maybe youtube videos are not really necessary

https://techfour.de/
Pros:

I liked that all the pictures are from one family

Cons:

Border shadows are almost invisible on hover (Our Values paragraph)

https://codeedit.de/
Pros:

Values tree

Cons:

Bulding logo

https://techphantoms.de/
Pros:
Fixed header
Adaptable depending on page size content
only 3 colors have been used
Portfolio (We can do our services part) and write all things that we can do
Cons:
Logo and website colors don't match
Logo is overloaded
https://infinite-team.com/
Pros:
Sticky header
Animation, although in my point of view, it is too much, a bit annoying.
Cons:
Too Wide header =should be changeable depending on the page size
Too much text (Our Product paragraph)
Subscription option
Nothing that tels you that it is a project not a real startup.
https://patelshyam.github.io/Aeros/
Pros:
Logo colors look good
Map (we can add it as a link to google in the address section, for example)
The icon can return us to the beginning of the page
Cons:
Orange color sometimes
Animation
Too much text
Nothing that tels you that it is a project not a real startup.
http://daino.eu/
Pros:
Cons:
cant open
https://techfour.de/
Pros:
Pictures are all in the same style
Cons:
the Map is too big.
too much info.
Sign up bottom is not aligned with enter email field.
Nothing that tels you that it is a project not a real startup.
https://codeedit.de/
Pros:
Values tree (we can use something simmilar)
The size of the menu bar
Disclaimer
Cons:
logo
Text Color on the banner.
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/exemplarische.github.io/home/
Pros:
The icon to return to the beginning of the page
Disclaimer(kind of)
Cons:
colors, text colors
Logo
Avocado
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/nullx-de.github.io/home/
Pros:
Pictures
Values are reacted on hover
Icon
Animation, although i dont like it.
Cons:
Learn more button is overflowing when the page is not on the full size
too
Links(buttons would look much better)
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/super-team.eu/
Pros:
Logo
Down arrow
Animation
Team skills section
Cons:
Text style
Some stuff is not good aligned with each other
Animation
No disclaimer
Colors
Arrows(?)
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/bitbricks.tech/
Pros:
Logo
Survey
Contact us form
Cons:
Colors
Fonts
Disclaimer at the very end of the page
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/ltsquare-global.web.app/
Pros:
Logo with slogan
Colors
Map
Cons:
photos are not aligned with the text, photos qulity
fonts, text style in general
strange icons for values - well there are undestendable, but with textual description would be much better
Disclaimer at the end
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/triwotech.de/
Pros:
animated banner
Advantages of using blockchain, we can do the same with data management
On hover
Cons:
photo
Colors(blue with dark blue)
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/adm-tech.de/
Pros:
Logo
Map
Cons:
Menu is transparent
Fonts
Colors
List with numbers
Text is not adjustable when the page size is different from the full screen
Ticktock link in the footer
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/eveloperz.com/
Pros:
colors
animation
Cons:
too much text
Picture with values
Disclaimer is only at the end
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/seaquasar.de/
Pros:
Good moto
on hover sevices and values
Cons:
arrow
All sections are styled differently - doesnt look like the same page
Disclaimer at the end
colors
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/spectre-x.de/
Pros:
disclaimer
statistics
our workspace section
Cons>:
colors
principles
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/wirtrials.web.app/
Pros:
Disclaimer
Logo
Animation
Cons:
Values picture
Alignement sometimes
https://vsr.informatik.tu-chemnitz.de/edu/2020/planspiel/results/zap.com.de/
Pros:
Logo
colors
Map
Transparent menu
Cons:
disclaimer
Banner part(doesnt give the understanding of what they do)

Please, add your observation to the table (link in the dialog)

In this website https://codeedit.de/ i like the team member view.

In this website https://techfour.de/ i like the map.


Add my duck

Description
Here my contribution to "The Duck Gallery".

You must respect the following conditions

Your contribution must respect the code of conduct
It's your first PR to this repository
You have added your image of the duck downloaded from https://pimpmyduck.zenika.com
You have not changed the image of the duck
The image filename must be your GitHub username (ex: your-username.png)
You are using your own GitHub user and it's the same as the PR author
Into the contributors.js file, the message must be short and respect the code of conduct

If the PR doesn't respect those conditions, it will be closed

Thanks for the PR but I can't merge your PR due to conflicts and I can't resolve them because you have deleted the fork.
Please create the PR again and keep the fork until I merged it to resolve conflict. Sorry


Update expressroute-circuit-peerings.md

fixed updated bandwidth listing to match current capabilities and other documentation

#sign-off


Add water sensor

Describe the solution you'd like
Add water sensor(s)
Additional context
https://github.com/home-assistant/bthome.io/pull/30

Added in 2.9.0


orml-vesting add VestedTransferOrigin

Only allow VestedTransferOrigin to call vested_transfer to prevent people abuse it.

If the VestedTransferOrigin is designed to be a specific council, vested_transfer call might need a src param right? like
pub fn vested_transfer(
    origin,
    src: <T::Lookup as StaticLookup>::Source,
    dest: <T::Lookup as StaticLookup>::Source,
    schedule: VestingScheduleOf<T>,
) {}

that will give the VestedTransferOrigin too much permission.
maybe type VestedTransferOrigin: EnsureOrigin<Success=AccoundId>?

Yep, EnsureOrigin<Success=AccountId> sounds reasonable.


Cannot render normal checkbox like GitHub

Is it possible to render a checkbox just like the GitHub does here?
With markdown code as below
- [ ] Todo 1
- [x] Todo 2

I am expecting

[ ] Todo 1
[x] Todo 2

What I really get is

- [ ] Todo 1
- [x] Todo 2

@Brian-Ding unfortunately our markdown parser does not support GitHub flavor markdown but instead Docs markdown. We have the ability to do a checkbox, but its not necessarily like GitHub's checkbox. You can find our reference guide on what markdown syntax we support here. The checklist can be seen here:

Sorry again, and if this requirement continues to come up we may decide to support it in the future, but until then I would recommend using this type of syntax
> [!div class="checklist"]
> * Todo 1
> * Todo 2

I came across this syxtax on the docs website before I submitted the issue. the problem is how to make the  "to do item" not checked ?

@meganbradley is it possible to render checklist with some items not checked? I dont think I've seen that before?

@bharney0 @Brian-Ding
No, this isn't currently supported. If there's significant demand and no big barriers (like accessibility) we might consider it in the future, but it's not a priority at this time.

@Brian-Ding you can do a work around that renders correctly from the docs rendering pipeline:
> [!div class="checklist"]
> * List item 1
> * List item 2
> <br/>List item 3
> * List item 4

However it does not render correctly in docs-preview in VSCode:

@bharney0 thx for the tip!

Closing this issue due to the fact its not on the future plan to support checkboxlist without checked items. The work around can be found above but its somewhat hacky. If this is frequently requested in the future we can add support for it in the authoring pack and update the docs publishing pipeline.


log level question

Hi,
In my test server I've set these settings : (mind the logging level)
database:
  host:
  - mongodb:27017
  password: ******
  username: ******
logging:
  level: info
port: 8080

but in /var/log I see lots of DEBUG messages such as
[2024-10-11 08:35:02.071861] DEBUG: pymongo.connection: {"clientId": {"$oid": "6708e336ebb40c4719956e50"}, "message": "Connection checked in", "serverHost": "mongodb", "serverPort": 27017, "driverConnectionId": 1}
[2024-10-11 08:35:02.072137] DEBUG: penguindome-server: client-hostname-redacted is current<PHONE_NUMBER>)
[2024-10-11 08:35:02.072399] DEBUG: pymongo.serverSelection: {"message": "Server selection started", "selector": "Primary()"

Did I miss something in required configuration ?
(BTW I think I have the same thing on client logs)

Sorry, I think I completely mi read things between different tests setup.


Implemented _resolveCurrent

This is dependent on https://github.com/apple/swift/pull/4788

Once this is properly reviewed, we can look at the modules section? Also this is a perfect test case for multi-repo PR.
@shahmishal How do I do the cross-repo PR?

Nm, I got it to work. Seems to pass together on Linux. I have not actually reviewed the code though.

I read all the feedbacks, I'll make the required changes and make another push to this pull request.
Regards.

Is it ok that I don't add the loopback addresses which is <IP_ADDRESS> and ::1 ?
I did that in this line
if let ifa_addr = ifaValue.ifa_addr, ifaValue.ifa_flags & UInt32(IFF_LOOPBACK) == 0 { ...

@gottesmm More info about testing cross-repo PR:
https://github.com/apple/swift/blob/master/docs/ContinuousIntegration.md#cross-repository-testing

@swift-ci Please test

@phausler Ping. Going through old forgotten Swift PRs, I noticed one depends on this.

@swift-ci please test

Do I need to squash the commits now?

that is done on merge

@phausler Looks like this caused a build failure on Linux:
https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-16_10/1428/consoleFull#1409063134ee1a197b-acac-4b17-83cf-a53b95139a76

Yes because it depends of this https://github.com/apple/swift/pull/4788

@jckarter if this is going to cause problems we can revert it temporarily.

No problem, I'll wait for #4788.


warning MSB3030: Could not copy the file "ApplicationInsights.config" because it was not found.

After upgrading to netcoreapp2.2 and upgrading Microsoft.ApplicationInsights.AspNetCore from 2.5 to 2.6.1 I'm getting this compilation warning:
C:\Users\me\.nuget\packages\microsoft.applicationinsights.windowsserver\2.9.1\build\Microsoft.ApplicationInsights.WindowsServer.targets(9,5): warning MSB3030: Could not copy the file "ApplicationInsights.config" because it was not found.
I'm using AI like this:
var host = new WebHostBuilder()
                ...Add lots of different stuff
                .UseStartup<Startup>()
                .UseApplicationInsights()
                .Build();

Version Info
SDK Version : 2.2.100
netcoreapp2.2
Windows 10

Will be fixed soon:
https://github.com/Microsoft/ApplicationInsights-dotnet-server/pull/1147


Marquee selection isn't reset when using removeElements

If you use the Shift+Click & Drag (marquee selection) to select some nodes, then use ReactFlow's internal removeElements function, the selection area isn't reset.
I don't know if this is a bug or if I'm misunderstanding the default behavior.
I've created a very simple CodeSandbox which displays this behavior:
Simply use Shift+Click & Drag to select the two nodes, then click the "Delete selected elements" button in the top-left to remove them. You should see that the selection is not removed.

Live Sandbox: https://7bpqd.csb.app/
Code: https://codesandbox.io/s/hardcore-hodgkin-7bpqd?file=/src/App.js

Note: The selection is reset when using Backspace. (The Backspace key-event isn't working in the Sandbox for some reason, but it works within my project, so it's not big deal in this context).
(I attempted to search for similar issues and was unsuccessful. If this is a duplicate, I apologize.)

Thank you very much!