text:
Add Nostr Ruby Ideas to IDEAS.md

Had a think about this yesterday and wanted to propose a few structural changes to make the gem more usable.

Thanks Jeff, that makes total sense.
I will work on this format by integrating specific Kind types, with a proper validation, like proposed by https://github.com/dtonon/nostr-ruby/pull/3

I'm more than happy to contribute too. Just wanted to make sure that I didn't do a bunch of work before checking that you were behind the general direction.
I don't think it makes sense to nest modules too deeply and scope each module to a NIP (what #3 is doing). For devs, I believe it makes way more sense to use modules that match functionality they need to use. e.g. dealing with users, or events. If there are bits of code that get reused across many of those modules (nip-04 encryption) we can break those out into NIP focused modules to be included rather than nested. Thoughts?

LOL. I just found this nostr ruby library that looks like it's going in exactly the direction I was suggesting... https://github.com/wilsonsilva/nostr
Maybe we should both contribute there?

I don't think it makes sense to nest modules too deeply [..]

I also prefer to use modules, they add flexibility.
We can include specific NIPs module to implement conditional validations, or add/extend specific methods.

LOL. I just found this nostr ruby library that looks like it's going in exactly the direction I was suggesting... https://github.com/wilsonsilva/nostr

Ah yes, I saw that months ago! At that time, they still didn't support NIP-04, but they had the relay part. It seems to be well organized!
I don't know, I hate to waste resources in equivalent parallel projects, but I'm fond of mine and I would like to improve it, even just to keep it for studying/training. What do you think?

@erskingardner I'm going to close this issue because I just opened https://github.com/dtonon/nostr-ruby/pull/8 where we can discusso the new lib structure starting from my refactored code.

@erskingardner I was reviewing again your ideas:
# Zap a user
user.zap(1337, "Zap comment")

# React to an event
event.react("🤙")

# Zap an event
event.zap(1337, "Zap comment")

This approach is problematic, because on the Event instance we don't have the private key to sign.
Whit the new structure I'm working on a reaction (we don't have the code to zap yet) is:

require_relative 'lib/nostr_ruby'
c = Nostr::Client.new("a727ffd7c6ffefa2a0b9f8a238885ea64caf6e0fe8f4daed590496f96999e341")
n = Nostr::ShortNote.new(
  "00bf316f2e2fc64dd4c502b281a2fdd945519164920720b788ece9746e5d3c65",
  "Hello world!"
)
c.sign(n)
r = Nostr::Reaction.new(
  "00bf316f2e2fc64dd4c502b281a2fdd945519164920720b788ece9746e5d3c65",
  n.id,
  n.pubkey,
  "🤟"
)
c.sign(r)

Probably we can compress it in a client action, like:
client.react(eventObj, "🤟")

One thing that NDK does really well is breaking the signer functionality into its own concept. That way you associate the signer you want (and you can change them out) to the client and then when you want to sign events, the event class looks for the associated signer to handle signing in whatever way that type of signer implements it.
For example, if you had a bad signer class that had an unimplemented method called "sign", the sub classes that inherit from that parent class they would implement the sign method however they need.

That way you associate the signer you want to the client and then when you want to sign events, the event class looks for the associated signer

Is the same thing I had in mind.
But how to associate the client (that is connected to the signer) and the event? I cannot understand this from your pseudo-code.

source: gharchive/pull-request

authors: dtonon erskingardner

repo: dtonon/nostr-ruby


text:
implement IRowDataSerializerFactory

Implement IRowDataSerializerFactory to have the possibility to inject different serializers (e.g. CSV, XML).

@daveidmx  thx a lot

repo: dualbios/FileBaseContext

license: MIT

license_type: permissive

license_source: github-api


text:
Course List

Finish the following courses

[x] Intro
[x] Mini-Projects
[x] 2d Platformer
[x] 3d Platformer
[x] Micro Turn Based RPG
[x] Real-Time Strategy
[ ] Godot 3 Game Dev for beginners
[x] FPS in Godot 3
[x] Strategy game Godot 3
[x] 2d RPG Godot 3
[x] 3d Action RPG Godot 3
[x] Intro to Game Design
[ ] Level Design for beginners
[ ] Intro to 3D Modeling with Blender
[ ] Intro to Rigging Models in Blender
[ ] Intro to Pixel Art with Photoshop

I'm basically done with the actual programming parts of this bundle. While I will finish the curriculum, I'm left wondering where to go next. I think this is the "tutorial hell" so many people talk about. There are things I want to do, but I'm not sure where to start. If anyone reading this has any ideas or advice, please let me know.
As I've been going through these courses, I can't help but feel both accelerated and held back by GDScript. On the plus side, it's easy to pick up and understand. It's extremely flexible, and it's simple to piece together what you want in order to create movement, actions, etc. Having said that, I want more structure. I feel like I'm constantly doing some crazy things in order to get type annotations and keep myself from shooting myself in the foot. I'm wondering if switching to C# is going to remedy this completely. I certainly like the language itself, but I also know it's not at the forefront of this engine's documentation. Everything is GDScript. I'm hoping as I gain familiarity, I can just translate things in my head, but I don't know yet because I haven't spent the time on it.
I'm also starting to come up against the things that have stopped me in the past on these endeavors: everything outside of the programming part. What I wouldn't give to have a "partner in crime" during all this! Surely I'm not the only person that's experienced this before. I must push through this time. I think I'm going to shift my focus to tackling blender for now, but I'm coming back to the dev in game dev soon. I recently bought a "cookbook" for godot 4, so I'm hoping that'll help point me in the right direction for things I want to know, but chatgpt doesn't know about (damn you 3.5 and your cutoff date of 2022). Anyways, thanks for reading "Dually uses the github issues section as a blog". See you later ✌

It's done! It's finally done! I'm not 100% sure what I'm going to work on next. I'm going to put together a blog talking about my experiences first then go from there. Thanks again for reading!

source: gharchive/issue


text:
indentation's not perfect yet

for eg- ObjectExpression or StructDeclaration doesn't get linted for indentation:
struct Foo ({
    hello: 'world'
});

same for ArrayExpression that span over multiple lines:
uint[] ages = [
    19,
    20
];

same for CallExpression
foo ({
    'hello': 'world'
});

something like this shouldn't bypass the wrath of solium:
foo (
    "hello", "world", "mofo"
);

1 arg per line, if you're spreading your function call over multiple line. Need to code logic for this too
if (true)
    hello();

Also read https://github.com/duaraghav8/Solium/pull/122
without block statement, indentation raises error saying no indent before "hello()" which shouldn't happen
indentation is a bitch o.O

ensure that you check indentation thingy ONLY when start line & end line for param list is not the same

Worth changing the wording here to say "4 spaces" rather than 2, as this is what it's testing for.
https://github.com/duaraghav8/Solium/blob/master/config/solium.json#L99
As a nice-to-have would be to make this configurable as we here use 2-space indentation rather than 4, forcing us to switch off this rule altogether.

Special case of the missing block statement, abstract functions also result in false positive:
    function accessPolicy()
        public
        returns (IAccessPolicy);

another example
other.call('transferFrom', myAddress, this, bond);

results in WARNING: Function "undefined": in case of more than 3 arguments, drop each into its own line.
but if I change it to
other.call(
    'transferFrom',
    myAddress,
    this,
    bond
);

I get WARNING: Incorrect Indentation...
A bit of a catch-22 here.
also while
event Rejected(Claim claim, string reason);

is fine,
event Rejected(
    Claim claim,
    string reason
);

also trips an indentation error.

@elenadimitrova configuration is now possible in v1
@Recmo @davesag please install the latest version (1.0.3) and let me know if the issues still persist for you.

@elenadimitrova configuration is now possible in v1
@Recmo @davesag Your issues have been fixed in v1.0.4 (latest). Thanks for reporting

Thanks @duaraghav8 ! Confirming this tests ok with custom 2-space rule.

authors: Recmo davesag duaraghav8 elenadimitrova

license: mit

license_source: bigquery


text:
v1.0.0 jdbc connector: TransactionContext Error on DBeaver

What happens?
MacOS (Apple M2)
After updating DuckDB connector to duckdb_jdbc-1.0.0.jar the connector throws the following, both for existing and new connections:
TransactionContext Error: Failed to commit: Unsupported catalog type for ToSQL()
To Reproduce
Upgrade duckdb connector to 1.0.0.
Create a new connection
OS:
MacOS 15.0 Beta
DuckDB Version:
1.0.0
DuckDB Client:
DuckDB
Full Name:
Peter Szalai
Affiliation:
capdata.co.uk
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Did you include all code required to reproduce the issue?

[X] Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

[X] Yes, I have

We could not reproduce this. Feel free to reopen if it still occurs with a fresh installation and database!

repo: duckdb/duckdb-java


text:
Add workflows for Node 21

Support also Node 21 while building duckdb-node.

Looks like to be working, it should be OK to merge this.

Fixes #18

authors: Mause carlopi

repo: duckdb/duckdb-node


text:
Filter clause doc

I documented the FILTER clause with some verbiage, some examples, and an updated railroad diagram. I could use some help on additional use cases where we should advise folks to use it. I haven't seen a performance advantage over the CASE WHEN approach, so there are only a few situations where I would recommend the FILTER clause.
Thanks!

Richard gave me some good advice, so I'm still revising this! I hope to finish it in the next day or two with an example that uses the "FIRST" function.

@hawkfish is this ready to merge, or should @Alex-Monahan address your requests first?

I have some uncommitted changes that help address some of those comments! I'll push them today or tomorrow and comment here when it's ready from my side. Thanks Mark!

Ok, changes made and feedback addressed! Ready to merge @Mytherin. Thanks for taking a look at this @hawkfish - much appreciated.

authors: Alex-Monahan Mytherin

repo: duckdb/duckdb-web


text:
Handles exceptions when using the "explain verbose" statement

Fixes #465

This is not how this should be fixed. Basically this now disables EXPLAIN VERBOSE flag completely to hide the bug. That might be acceptable for a first iteration, except for the fact that this disables EXPLAIN VERBOSE even for queries that don't use DuckDB. I opened #468 now to fix this issue in a better way. I also change the tests to be part of our existing explain tests.

oh, I looked at your approach and it was more appropriate, I just took into account that duckdb does not support "explain verbose" and that all the operations on "explain" are performed in duckdb, not PG.

To be clear: thanks a lot for the bug report and the initial attempt at a fix.

To be clear: thanks a lot for the bug report and the initial attempt at a fix.

Thank you for your encouragement and guidance. haha~

authors: JelteF Leo-XM-Zeng


text:
Android app won’t add server IP

So I installed the android app and it seems I can’t add my server IP, I don’t have a domain associated because I don’t feel like I really need it since it’s private. The add URL button is grayed out when I just put an IP, if I add http:// it just processes forever and when I add port 8080 like http://192.284.38.3:8080 (fake IP), it says invalid.. so how would I add a plain IP? It won’t let me add it without http and it won’t add when I put it.

hm, thats no good! thanks for reporting

Any updates on this issue?

can I add you to my android beta testers? in that case, please give me your email address which you use on your phone to download apps in the playstore

Link to beta: https://play.google.com/apps/testing/dularion.streama

@dularion Yea sure, I am using exroidgaming@gmail.com

with the link above you can actually install it without me adding your email

@dularion ok well just downloaded it and it wont validate an IP still. I entered http://xx.x.xx.xxx and its just stuck on "Validating Domain..."

Ok thats good to know. Can you PM me the actual server address with some throwaway username & password? you can use https://gitter.im/

@dularion ok send you a message with my server details

as discussed, you need streama v1.3.0 or later

repo: dularion/streama


text:
Date functions missing in lovelace

Any idea why some date functions seem to be marked as missing entities?

This is happening since the last upgrade, but I have no idea where to look for this...

Are these helpers? I am seeing many helpers marked as missing in version 0.6.5 and HA Core 11.2

I've tested the latest version a bit. WM does not trigger for occurrences like this:
parseInt((Date.now() - Date.parse(x)) / 3600000);
However, if you create a variable named date and use it as date.something, WM will consider it as a date entity.
If this is your case, the solution could be to rename the variable so that it differs from "date".

seeing a related issue on event
can this be added here, on would you require a separate issue tracker for it.
Ive renamed variables to non reserved words for some of the events, but there is an actual event that is still triggering the Watchman logic

@Mariusthvdb  It seems that event should be removed from parsing as they cannot have persistent states

Fix is available in 0.7.0 beta, can be downloaded via HACS.

Yep, date was added as a platform in recent version along with a few helpers. @h3llrais3r @jhemak could you provide a snippet of Lovelace code which triggers WM? Thanks in advance.
As a temporary workaround date can be added to ignored items in WM config.

So it's probably coming from this part?
If I rename the variable, it should also be fixed, right?
PS: Thanks for the fix anyway!

Reopen the issue to increase its visibility to users.

authors: Mariusthvdb dummylabs h3llrais3r twmcelroy

repo: dummylabs/thewatchman


text:
Sharing training code

Thank you for your amazing work. Can you share your training code please? It would be cool if we could train the model on custom dataset and test it performance on another data.

Thank you for your interest in our research and for reaching out to us. Due to company regulations, we are unable to publicly release the training code, as stated in our License statement.   However, our project was built on the MMAction library, and we provide an alternative project that can be referenced for training code reproduction (available at: https://github.com/dun-research/DRCA/tree/main, where DRCA is an efficient version of 3D-CSL). For specific training details, please refer to our original paper.
3D-CSL: https://arxiv.org/pdf/2211.05352.pdf
DRCA:  https://arxiv.org/pdf/2309.08167.pdf


text:
examples/tokio-backend.rs panics: "The requested range is not satisfiable"

Describe the bug
The examples/tokio-backend.rs example yields the following panic:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: HttpFailWithBody(416, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>InvalidRange<Message>The requested range is not satisfiable</Message><RangeRequested>bytes=100-1000</RangeRequested><ActualObjectSize>16</ActualObjectSize><RequestId>7TS18WEAWPEGE9JY</RequestId><HostId>6skPYwF63NhPG7xf1Esex0OGl7Nnz0azPxMw+O8vBhW17O0O5Ej2y101ZQ5foTIc6yVrS+YHjNyoEE9/m3LgDA==</HostId></Error>")', s3/../examples/tokio-backend.rs:29:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

To Reproduce
$ git clone https://github.com/durch/rust-s3.git
$ cd rust-s3/
$ export AWS_ACCESS_KEY_ID=<insert your's here>
$ export AWS_SECRET_ACCESS_KEY=<insert your's here>
$ cargo run --example tokio

Expected behavior
I expected to see the test working without panics.
Environment

Rust version: rustc 1.67.0-nightly (e9493d63c 2022-11-16)
lib version: latest master (commit 7fdb685)

Fixed, thank you for raising

authors: Hirrolot durch


text:
Broken build after updating from 0.19.3 --> 0.19.4

Hi!
I've tried to update rust-s3 from 0.19.3 to 0.19.4 and the new version changed return type of Credentials::new from Credentials to future (which is a breaking change). As I can see it was introduced here: 9c4ecf1e3fed7d6cfe19231880d1a812872ffd2a.
So, are you happy to revert it for 0.19.x? Or to have another non-async initializer?

That’s an unfortunate regression, apologies for that, will have a revert for out tomorrow

@rabbitinspace looking at the version code there are new_blocking, and default_blocking initializers for Credentials, would you be OK with using those, I'd like to avoid a yank and another new version.
I realize that we still broke the semver, and that its less then ideal, but another new 0.19.* version might cause more confusion. If you can't use the sync initializers for whatever reason I'll be happy to  make the change, and publish 0.19.5.
I'd actually encourage you to switch to 0.2.0, that blows this up into several crates, there will be a bit more controle over these types of changes

For now I’m happy to stay on 0.19.3 and will upgrade straight to 0.20.0 in the future.
(although I have a question about those blocking initializers, I can ask it in a separate issue)
I suppose I’m the only one who was affected by this breaking change given that 0.19.3 was yanked from crates.io and no one reported about it. So I’m going to close the issue.
Thanks for looking into it!

For sure, happy to help :)

authors: durch rabbitinspace


text:
🛑 Mention Bot is down

In c30bb51, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 141 ms

Resolved: Mention Bot is back up in e9f610d after 1 hour, 44 minutes.

repo: durof/status


text:
Add service flags, and distinguish between light and full node peers

This allows for light nodes to join the network, and it will help us to only forward/request messages to the correct nodes, as light nodes should not bother with consensus messaging and requests, and txs.

This issue will be solved by merging #1031.

repo: dusk-network/dusk-blockchain


text:
Assess if CHUNK message would be desirable to exchange blockchain data over UDP between nodes rather than falling back to TCP

Apart from PING, PONG, FIND_NODES, NODES, shouldn't we support CHUNK message to exchange blockchain data between nodes?
If so, with regard to UDP use as a transport, do we have any idea how to cope the IP fragmentation in case of datagram size exceeding the default MTU size?
@CPerezz @autholykos
Originally posted by @ggoranov in https://github.com/dusk-network/dusk-blockchain/pull/194#issuecomment-596356044

Initially the decision to revert to TCP for block communication was done in order to avoid the complexity of packet ordering and loss. However, TCP also introduces some quirks (see #353)

This has been addressed with implementing #562

authors: autholykos ggoranov


text:
Improve Slack streaming for tools

See thread.

Closing since there has been quite some work on that front since then

authors: flvndvd spolu

repo: dust-tt/dust


text:
fix: box-shadow instead of drop-shadow

Drop-shadow is clashing with backdrop-blur on firefox...
https://github.com/dust-tt/tasks/issues/242

This is disgusting. But heh :)

Yes it's horrific.
I did a pass and it seems fine visually, but I wouldn't mind some confirmation from you -- I am not the best at assessing quality of drop shadows @spolu

Looking

Looks reasonable. The real problem is that we have no good way to prevent the use of box-shadow vs drop-shadow. Which begs the question. Should we only use box-shadow where we have known interactions with backdrop-blur
Basically the modal and the input bar only?

Looks reasonable. The real problem is that we have no good way to prevent the use of box-shadow vs drop-shadow. Which begs the question. Should we only use box-shadow where we have known interactions with backdrop-blur

Basically the modal and the input bar only?

I suppose we could try to write a linter rule, but let's not do that. Indeedit would be reasonable to limit this to input bar and modal 👍
It's likely to happen again at some point, but hopefully by then mozilla will have fixed their browser
Making the change

Reverted changes except in modal and input bar @spolu

Thanks!

authors: fontanierh spolu


text:
[Infra] Upgrade dd-trace to 5.17.0 & front pods down to 6

Description
Attempt on issue https://github.com/dust-tt/tasks/issues/859
Risk
na

PMRR


text:
fix assert import

Description
"assert" not "node:assert" even if they're likely equivalent?
Risk
None
Deploy Plan

deploy front

PMRR


text:
Upg: heartbeat during github repo tarball extraction. Filter early

Description
We have a workflow stuck because github repo tarball extraction takes too long than the heartbeat timeout.
This PR should fix it by heartbeating every 100 items during extraction and extraction time should be shorter because filtering is done earlier.
Risk
None
Deploy Plan
Deploy connectors

Did you test locally?

I copied my working code directly on a connector-worker pod and executed there.
The only part I didn't test is the "heartbeat" as I was out of activity context.


text:
Group instances by configurable tag.

For example it would be nice to group on a tag for type or city. Since there is no standard tags other. Than name it would have to be configurable.

is there any plan to integrate support for adding a pem file to the ssh?

I'm aware that @sunils34 is working on this functionality. When he's ready he'll push the fixes to the this repository.

Hey guys! I'm so sorry for my delay with this.  I ended up going a bit further, yet I realized I should have submitted a PR for each individual improvement instead of bunching everything together.  I'll submit a PR early this week for .pem file support.

repo: dutchcoders/stacktray


text:
Using Label for localization instead of Image

We are using a separated image for each language.

App size increased by adding more language.
Hard for other people helping to translate because they don't have an image without text.

Solution:

Using banner without text.
Add 2 labels on top of the banner image.
Localize text on labels.

Done.

I've proposed a new PR, check it out: #50.

authors: p-z-l viettrungphan

repo: dwarvesf/hidden


text:
🛑 IR is down

In ae2c2b0, IR (https://be.ir.d.foundation/healthz) was down:

HTTP code: 503
Response time: 916 ms

Resolved: IR is back up in 72d7531.

Resolved: IR is back up in 14e929b.

repo: dwarvesf/upptime


text:
FIX: Update tree-sitter dependency to 0.15.2

With the update, change tree-sitter-node-at-point to tree-sitter-node-at-pos and and pass the new 'ignore-invalid-types parameter when needed to preserve the old behavior.
Without this change, the latest tree-sitter.el will throw an exception, because lan_moves are not yet propagated to a stable release of tree-sitter-langs.el for our grammar.

Self-merging this one since builds are breaking.

repo: dwcoates/pygn-mode


text:
AbstractEvolutionEngine Design Coupling Issue

Hi Dan,
I am am running into some design limitations of the EvolutionEngine classes. I'll try to explain my concrete problem to highlight the issue. My project requires a population of genetic programs to be run on a shared state such that all programs are executed in parallel for a couple thousand iterations before their fitness is known. Shared state access is done between the iterations and needs to be synchronized. The AbstractEvolutionEngine design can not support this, because it implements a different concurrency scheme. A program can not easily suspend the evaluation to let others execute until all have reached the synchronization point to do the shared state access and continue the evaluation. Apart from some ugly hacks to work around the problem a proper solution would require my own EvolutionEngine implementation to support my execution scheme. However, I would end up with a GenerationalSharedStateEvolutionEngine, SteadySharedStateEvolutionEngine and SharedStateEvolutionStrategyEngine. This suggests that the AbstractEvolutionEngine and its subclasses represent a coupling between the functionality needed to produce offspring and the execution scheme.
A more flexible approach that improves reusability would be to implement the different nextEvolutionStepmethods using a strategy pattern rather than the template method pattern. If you agree to this I could implement the necessary changes and send you a pull request.

Also see #29

authors: hansinator virl

repo: dwdyer/watchmaker


text:
QPS

How are you dealing Googles 10QPS limit?

Not at all right now.
I never have had issues with that limit. If you got some, please file an issue with the attached log, so that I can check what we can do to fix it ;)

authors: dweidenfeld jaketame

repo: dweidenfeld/plexdrive


text:
dates are hardcoded on submissions#completed

For now, we've hardcoded the dates on the completion screen to September dates. We'll want to un-hard code these before the next set of submissions!

Fixed in https://github.com/dxw/DataSubmissionService/pull/72 :)

authors: CristinaRO tekin

repo: dxw/DataSubmissionService


text:
Reorganize vault ignores default location for new attachments and moves everything to vault root

Here's my config for default location for new attachments

I ran Reorganize vault and all but 3 attachments were moved into the root of the vault

Fixed in https://github.com/dy-sh/obsidian-consistent-attachments-and-links/releases/tag/3.9.0

Fantastic, thanks!

authors: brendanator mnaoumov


text:
[Feature]: Manage sounds on the game

👉 Please confirm the following

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I checked the current issues for duplicate features.

🤔 Is your proposal related to a problem?
No response
😍 Describe the solution you'd like
It would be great to have a button on the home screen to put the sound of the game on or off.

👍 Describe alternatives you've considered
It would be great maybe to have a gauge, to increase or decrease the intensity of the sound?
✍ Additional context
No response

Hello! May I work on this issue? I already have an idea on how to work this out.

Hi @RamonASV yeah of course, go ahead :)

I'm currently having some troubles on this, as DinosaurController.java uses FXGL.play() instead of a MediaPlayer. As of now I can only mute the music in the main menu. I also noticed that when you lose and return to the Main Menu the gameBackground.wav file keeps playing instead of the mainMenu.wav

For the first issue, maybe you can create a boolean variable for the music to know if the game has to put the home screen sound and the game sounds while playing, try to do that maybe?
if (game.isMusicOn){ play.music(engine.wav;}

(the code is false but it's just an example)

and for the second issue indeed something is going wrong.. that's weird.. Maybe there is a method from FXGL to stop all sounds activated and then you can activate the home screen sound again when u go back to the menu?

@RamonASV can I help you out with it ?

Hi @Vishrut19 you can finish this issue alone, I am not sure he's still working on it, so go ahead :)

Hi @Vishrut19 you can finish this issue alone, I am not sure he's still working on it, so go ahead :)

Okay I will try to do whatever I can.

Hey, is this issue closed? , If not i would like to work on it.

@YesShubham01 Heyy, you still can work on it :)

Hey, is the issue solved? If not, can you assign it to me?

Hi @Anshul439 this issue is all yours ! You can work on it !

Hey! I have made a PR. Please check it out and let me know if the problem is solved.

Now it would be better to also control the volume.

Hi, can I work on this issue?

Hi, can I work on this issue?

Heyy, @alemarin5 absolutely you can work on it !

repo: dylan-power/dinosaur-exploder


text:
Add Qt theme detection + Option

Detects Qt widget style in LXQt, Trinity and, KDE Plasma, as well as GTK environments with Qt5ct. If they are the same as their GTK counterparts, display them as one entry.
Some caveats:

I replaced the kde_theme environment variable with a togglable qt_theme environment variable. Should be fairly easy to add back in, though, if there is demand.
Qt5ct stores fonts in a binary format. If portability is not an issue, the implementation contained in this pull request should be replaced with one using od --endian=big.

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!

Also just realized that this would set theme to ] when no themes are present...

Fixed

authors: capezotte hykilpikonna

repo: dylanaraps/neofetch


text:
Term Font: Add support for Pantheon Terminal

Adds font detection for Pantheon Terminal.
Tested on Arch and Elementary OS.

Maybe change [[ "$term_font" == "''" ]] to [[ "${term_font//\'}" ]] ?

Ah, it must be [[ -z "${term_font//\'}" ]]
What about term_font="$(trim_quotes "$term_font")",
would you prefer to change it also to term_font="${term_font//\'}" ?

LGTM :+1:
Is this ready to merge?

yep

Thanks :+1:

authors: dylanaraps mstraube


text:
Documented example for 'categories' doesn't validate according to W3C

Per README.md

categories optional array of strings One or more categories this feed belongs to.

I'm using:
 categories: ['Technology', 'Information Security', 'Software Development'],

Which returns the following at the W3C validator:
XML parsing error: <unknown>:1:1192: unbound prefix
ategory><![CDATA[Software Development]]></category>

Hi @mikemaccana :)
We're using pretty much the exact same thing in the Ghost source see here, and aren't seeing any errors with validation.
Do you have an extended example, RSS snippet, or URL I could take a look at?

Sample URL: https://certsimple.com/blog/rss.xml
Suspect the cause of the error is namespace prefix 'webfeeds' is totally missing. I.e.:
xmlns:webfeeds="http://webfeeds.org/rss/1.0"
should exist on the  element on the generated output but isn't.

OK so I just needed:
custom_namespaces: {
	webfeeds: "http://webfeeds.org/rss/1.0"
}

To give some context, looks like the W3C validator was failing on:
 <webfeeds:logo>http://certsimple.com/images/blog/logo.svg</webfeeds:logo>

Not on the categories tag - the validator was a few characters off.

PS. Thanks!

authors: ErisDS mikemaccana

repo: dylang/node-rss


text:
show puppetfile subcommand table formatting is not aligned

When running onceover show puppetfile on mac the table is not formatted properly.  On Mac, Mine looks like so:
FULL NAME                 | CURRENT VERSION | LATEST VERSION | OUT OF DATE?   | ENDORSEMENT | SUPERSEDED BY
--------------------------|-----------------|----------------|----------------|-------------|---------------
httpsrewrite              | N/A             | N/A            | N/A            | N/A         | N/A
gcc-gcc_package           | N/A             | N/A            | N/A            | N/A         | N/A
octopus-tentacle          | N/A             | N/A            | N/A            | N/A         | N/A
gcc-externalfacts         | N/A             | N/A            | N/A            | N/A         | N/A
bryana-ec2tagfacts        | 0.3.0           | 0.3.0          | No    |             |
puppetlabs-acl            | 2.1.0           | 2.1.0          | No    | supported   |
puppetlabs-scheduled_task | 1.0.0           | 1.0.0          | No    | supported   |
puppet-iis                | 2.0.2           | 3.1.0          | Major |             | puppetlabs-iis
puppetlabs-java           | 2.4.0           | 3.2.0          | Major | supported   |
puppetlabs-registry       | 2.1.0           | 2.1.0          | No    | supported   |
binford2k-node_encrypt    | 0.3.3           | 0.3.3          | No    |             |
puppetlabs-apt            | 6.1.1           | 6.1.1          | No    | supported   |
opentable-iis_rewrite     | 1.0.0           | 1.0.0          | No    |             |
puppet-download_file      | 3.1.0           | 3.2.0          | Minor |             |
puppet-windowsfeature     | 2.1.0           | 3.2.1          | Major | approved    |
puppetlabs-powershell     | 2.1.5           | 2.1.5          | No    | supported   |
puppetlabs-reboot         | 2.0.0           | 2.0.0          | No    | supported   |
rtyler-jenkins            | 1.7.0           | 1.7.0          | No    | approved    |
puppet-archive            | 3.2.0           | 3.2.0          | No    | approved    |
puppetlabs-chocolatey     | 3.1.0           | 3.1.0          | No    | supported   |
puppetlabs-dsc            | 1.4.0           | 1.7.0          | Minor | supported   |
puppet-nodejs             | 6.0.0           | 6.0.0          | No    |             |
puppet-splunk             | 7.2.1           | 7.2.1          | No    | approved    |
puppetlabs-inifile        | 2.4.0           | 2.4.0          | No    | supported   |
puppetlabs-stdlib         | 5.1.0           | 5.1.0          | No    | supported   |

Oh yeah what the hell? I wonder when that broke...

This was broken by #178, need to investigate how to interact with table_print so that it prints correctly

Fixed in #273

authors: TraGicCode dylanratcliffe

repo: dylanratcliffe/onceover


text:
[Snyk] Fix for 1 vulnerabilities

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/playlist-backend/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-PATHTOREGEXP-7925106
  67

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: dylansnyk/backstage


text:
[Snyk] Security upgrade @backstage/plugin-search-common from 0.0.0-use.local to 0.3.1

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/adr-common/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-CROSSSPAWN-8303230
  170

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


text:
Crude implementation to allow map values to be part of the check cond…

Basically I have situation where I want to use a value from map type in the schema in the check condition of a updateTransaction function call.
Entity.updateTransaction({ pk: 'TEST', id: details.id, tenantId: details.tenantId, dTimes: { $set: { 'count': { $add: -1 }}}}, { conditions: { attr: "dTimes.count", gt: 0 }})
The condition clause was being generated as #attr1 > :attr1
This change will generate the clause as #attr1.#attr11 > :attr1
This probably isn't the best or greatest solution but hopefully it helps explain the problem a little better.
This is a really useful library thank you for the hard work building it.

@darbio thank you for the review, let me have another pass at this (it was the fastest way I could make it work at the time)
I also need to add a test for this.

@darbio thank you for the review, let me have another pass at this (it was the fastest way I could make it work at the time)
I also need to add a test for this.

Closing this PR for maintenance purposes now that the v1 is out.

authors: ThomasAribart nkdevirl

repo: dynamodb-toolbox/dynamodb-toolbox


text:
change setting in vocode

check the latest json in this repo, the change is "autoDocstring.docstringFormat": "google"
This is so it can work with mkdocsstrings.
Close if you have read and are OK with this change.

Ok fine for me

authors: Trymzet acivitillo

repo: dyvenia/viadot


text:
Setup VSCode settings, and why not Codespaces as well

Is your feature request related to a problem? Please describe.
TBI
Describe the solution you'd like
TBI
Describe alternatives you've considered
TBI
Additional context

https://github.com/dzcode-io/dzcode.io/pull/442#pullrequestreview-881026236
https://github.com/features/codespaces

closing this for now, current setup is good as is


text:
Run specific jq queries

I'd like to be able to run specific jq queries automatically, maybe via specifying a custom key binding such as
{
"keys": ["super+shift+q"],
"command": "jq_pretty_json",
"args": {"query": "myquery"}
},
but currently the run() method doesn't seem to allow any extra args. Can it be done?
Thanks! :)

Currently not planned. Will leave open for the time being

authors: AlessandroCalo TheSecEng

repo: dzhibas/SublimePrettyJson


text:
Cannot install eXpandModelDifference 20.2.304 from nuget in Visual Studio 2019

𝗗𝗲𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗲 𝗯𝘂𝗴
When I try to install eXpandModelDifference 20.2.304 from nuget in Visual Studio 2019 I get the error message
Unable to resolve dependency 'akarnokd.reactive_extensions'. Source(s) used: 'nuget.org', 'Package source', 'DevExpress 19.1 Local', 'DevExpress 20.2 Local', 'Microsoft Visual Studio Offline Packages'.
It is a clean install, not an update.
Best regards
Jesper Carstensen

did u try to install the missing package first akarnokd.reactive_extension

If I search for that package in Nuget it says no package found.

https://www.nuget.org/packages/akarnokd.reactive_extensions/0.0.27-alpha

probably there is some issue with the prerelease version but hard to guess let me know if u find out

I also have the same issue at this time during upgrade 20.2.304. Nuget package : akarnokd.reactive_extension is lost and can not find out in Microsoft Visual Studio.

I still get the problem after installing the above nuget package

We will try to answer all questions that do not require research within 24hr.
To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.

❇ Exclusive-Services
❤ Bronze Sponsor
❤ Sponsor
❤ Backer
Installation
ShowStopper
Nuget
Contribution
BreakingChange
ReproSample
Deployment
must-have

This case is prioritized.

I cannot find a way to reproduce it, the attached solution works fine at least for my tests.
Solution1.zip

Issue is deprioritized as no Assignee found and scheduled for auto-close if no activity in the next 60 days. Thanks a lot for your contribution.

Issue is deprioritized as no Assignee found and scheduled for auto-close if no activity in the next 60 days. Thanks a lot for your contribution.

i get the same error:
PM> Install-Package Xpand.XAF.Core.All -Version 4.202.48
Attempting to gather dependency information for package 'Xpand.XAF.Core.All.4.202.48' with respect to project 'Solution4.Module', targeting '.NETFramework,Version=v4.6.1'
Gathering dependency information took 6,16 sec
Attempting to resolve dependencies for package 'Xpand.XAF.Core.All.4.202.48' with DependencyBehavior 'Lowest'
Install-Package : Unable to resolve dependency 'akarnokd.reactive_extensions'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages', 'Dx online', 'DevExpress .NET Core Desktop 20.2 Local', 'DevExpress 20.
2 Local'.
At line:1 char:1

Install-Package Xpand.XAF.Core.All -Version 4.202.48

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

i get the same error:
PM> Install-Package Xpand.XAF.Core.All -Version 4.202.48
Attempting to gather dependency information for package 'Xpand.XAF.Core.All.4.202.48' with respect to project 'Solution4.Module', targeting '.NETFramework,Version=v4.6.1'
Gathering dependency information took 6,16 sec
Attempting to resolve dependencies for package 'Xpand.XAF.Core.All.4.202.48' with DependencyBehavior 'Lowest'
Install-Package : Unable to resolve dependency 'akarnokd.reactive_extensions'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages', 'Dx online', 'DevExpress .NET Core Desktop 20.2 Local', 'DevExpress 20.
2 Local'.
At line:1 char:1

Install-Package Xpand.XAF.Core.All -Version 4.202.48

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

https://github.com/eXpandFramework/eXpand/issues/827#issuecomment-752748912

https://github.com/eXpandFramework/eXpand/issues/827#issuecomment-752748912

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.

authors: apobekiaris expand kashiash nemedi-jc txt2203

repo: eXpandFramework/eXpand

license: MS-PL


text:
Xpand.XAF.Modules.LookupCascade - Bug - System.MissingMethodException

XAF project: DevexPress 20.2.5 + XPand 20.2.504 + XAF 4.202.52
Debug XAF Web project, Bug at line : "WebApplication.Instance.Setup();" in file Glocal.asax.cs.
show :
System.MissingMethodException
HResult=0x80131513
Message=Method not found: 'System.IObservable1<System.ValueTuple2<!!0,!!1>> System.Reactive.Linq.ObservableEx.CombineLatest(System.IObservable1<!!0>, System.IObservable1<!!1>)'.
Source=Xpand.XAF.Modules.LookupCascade
StackTrace:
at Xpand.XAF.Modules.LookupCascade.LookupCascadeService.RegisterClientScripts(XafApplication application) in D:\a\1\s\src\Modules\LookupCascade\LookupCascadeService.cs:line 45
at Xpand.XAF.Modules.LookupCascade.LookupCascadeService.<>c.b__4_0(XafApplication application) in D:\a\1\s\src\Modules\LookupCascade\LookupCascadeService.cs:line 32
at Xpand.XAF.Modules.Reactive.Services.ApplicationModulesManagerService.<>c__DisplayClass0_11.<WhenApplication>b__1() in D:\a\1\s\src\Modules\Reactive\Services\ApplicationModulesManagerService.cs:line 20    at System.Reactive.Linq.ObservableImpl.Defer1..Run() in //Rx.NET/Source/src/System.Reactive/Linq/Observable/Defer.cs:line 37
I installed eXpandAnogstic , eXpandWeb, XPand.XAF.Core.All, Xpand.XAF.Web.All. But not solved.
Please advise.

are u interested in the LookupCascade module? what about if u not install it?

I could not remove LookupCascade module because other important modules depend on it. Actually I don't want to use it.

what other important modules? did u tried the wiki instructions?
https://github.com/eXpandFramework/Reactive.XAF/tree/master/src/Modules/LookupCascade#issues-debugging-troubleshooting

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.

authors: apobekiaris expand txt2203


text:
第一步配置就出了问题

老板，对于我们这种小白，能否开发一个一键脚本哈？？
我第一步  sudo ./scripts/dotnet/centos.sh   就提示没有这个命令
一脸懵逼啊，我也你一样用的也是vultr 的服务器，Linux版本都一样。
这个隧道那么好，我还是希望能方便我们这种小白哈。

很抱歉，是我更新文档的时候出了问题，写错了步骤顺序。麻烦跟随最新的文档重新操作：
https://github.com/eaglexiang/eagle.tunnel.dotnet.core/blob/master/doc/guide.md
[https://avatars0.githubusercontent.com/u/12654323?s=400&v=4]https://github.com/eaglexiang/eagle.tunnel.dotnet.core/blob/master/doc/guide.md
eaglexiang/eagle.tunnel.dotnet.corehttps://github.com/eaglexiang/eagle.tunnel.dotnet.core/blob/master/doc/guide.md
eagle.tunnel.dotnet.core - 稳定易用的代理工具
github.com
祝您愉快

发件人: banbadaowd notifications@github.com
发送时间: 2018年6月23日 22:14
收件人: eaglexiang/eagle.tunnel.dotnet.core
抄送: Subscribed
主题: [eaglexiang/eagle.tunnel.dotnet.core] 第一步配置就出了问题 (#5)
老板，对于我们这种小白，能否开发一个一键脚本哈？？
我第一步 sudo ./scripts/dotnet/centos.sh 就提示没有这个命令
一脸懵逼啊，我也你一样用的也是vultr 的服务器，Linux版本都一样。
这个隧道那么好，我还是希望能方便我们这种小白哈。
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/eaglexiang/eagle.tunnel.dotnet.core/issues/5, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMEW8xYA_MZndilNDCo8Uw__UiwMLr_5ks5t_k1egaJpZM4U0zgk.

一键安装脚本是很方便的东西，未来一定会有的，希望能早点完工😁
祝您愉快

发件人: banbadaowd notifications@github.com
发送时间: 2018年6月23日 22:14
收件人: eaglexiang/eagle.tunnel.dotnet.core
抄送: Subscribed
主题: [eaglexiang/eagle.tunnel.dotnet.core] 第一步配置就出了问题 (#5)
老板，对于我们这种小白，能否开发一个一键脚本哈？？
我第一步 sudo ./scripts/dotnet/centos.sh 就提示没有这个命令
一脸懵逼啊，我也你一样用的也是vultr 的服务器，Linux版本都一样。
这个隧道那么好，我还是希望能方便我们这种小白哈。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/eaglexiang/eagle.tunnel.dotnet.core/issues/5, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMEW8xYA_MZndilNDCo8Uw__UiwMLr_5ks5t_k1egaJpZM4U0zgk.

authors: banbadaowd eaglexiang


text:
Newton-Raphson method. Make stable

Description: Make calculations (by N-R) stable and predictable on any grid configuration.
Current behavior: Falls or gives unrealistic results on the grid with PV-nodes.
Expected behavior: Stable results on PQ-only grids as well as PV/PQ grids

N-R stable version release candidate was added (https://github.com/ealux/PowerFlowCore/commit/4fbb0e84a83b39de633c4042426df232fa7066f7). Stable power flow on both PQ and PV/PQ grids.

repo: ealux/PowerFlowCore


text:
[Feature Request] Remote repository URL for specific line(s) of code

GitHub recently provided a feature in their web application, wherein we could drag and select lines of code and copy the exact URL.
(previously we could only copy the URL from the search bar, however, now we can get the URL that always points to that piece of code, even if there are a lot of changes being made to that file)
This is done simply by using the commit hash. For example:
https://github.com/eamodio/vscode-gitlens/blob/54b2c06c1b8e4f573ed4495f42029c9df146efb0/LICENSE#L1 => https://github.com/eamodio/vscode-gitlens/blob/54b2c06c1b8e4f573ed4495f42029c9df146efb0/LICENSE#L1
(there’s also https://github.com/eamodio/vscode-gitlens/blob/main/LICENSE#L1)
When we’re debugging code on the web client, it’s all fine, but if we’re in a VSCode environment, currently there’s (I think) no way we can select a piece of code and get the remote repository URL.
(it sounds pretty straightforward (which I'm sure it's not): local git connection + getting the remote URL + using the current commit hash)
This isn’t a useless request either, since, on GitHub web client these URLs render as code snippets (which is the end goal).
^see rendered snippet for example
Being a useful utility as it is, I don’t think this is discussed anywhere (I might be searching wrong keywords), and I’m quite surprised this isn’t already baked in by default.
If this sounds like a feasible request, I could try and pitch in! :D

@aitikgupta GitLens already supports this via the Copy Remote Commit Url. Just select the code you want and either run the command from the command palette or right-click or configure a keybinding for the command (for example, I use Ctrl+Shift+C).

Hey @eamodio, thanks for reaching out.
However, what you're pointing out isn't quite what I want/suggest. Sure, we can get the remote 'commit' URL using the method you suggested, but we still can't get those exact lines as a remote URL.
I'm not sure how I can explain it better, the end goal is that rendered snippet (in my original comment) from VSCode.
Remote 'commit' URL just points to the actual commit, whereas the suggestion is to add something which points to the actual blob (and the specific line(s)).

Ugh, sorry I got mixed up -- Use Copy Remote File Url -- basically everything I said applies, I just said the wrong command

Ugh, sorry I got mixed up -- Use Copy Remote File Url -- basically everything I said applies, I just said the wrong command

I should've figured it out, my bad. Thanks again! :D

authors: aitikgupta eamodio

repo: eamodio/vscode-gitlens


text:
Multiple axes vignette

Vignette to show how to tests multi-axes plt objects. Not much on this one...let me know if I should add more/ what that would look like, ty!

@lwasser ready for a review!

@jlpalomino can you please review this vignette?

For our documentation, we have verbally discussed changes that will be completed by nkorinek, including the addition of more explanation about the object type that is being tested (e.g. a story about what kind of data is being used and what the test is actually looking for) both at the top of the notebook and in the comments, and a new section at the bottom of the vignette for additional options when using a Jupyter Notebook implementation.

@nkorinek please make sure that you add a changelog entry for each of these!

@jlpalomino no rush but this one should be ready for a review now whenever you get a chance!f

@jlpalomino implemented the suggested changes. There were a few I had some questions about, so if you could go through my responses to some of your comments and let me know if you agree or not, let me know!

Overall nice job on the revisions @nkorinek!
@lwasser The remaining comments that are open from my review are about text referring to an individual plot within a figure.
In our plotting textbook, we refer to an individual plot within a figure as an "Axis".   However, @nkorinek has pointed out that the class in matplotlib is Axes, and that using the singular term "Axis" for an individual plot may also be confusing because it is the same term used for the x and y axis of a plot.
Given that this vignette is about figures with multiple axes, we sometimes need to refer in the text to an individual plot - so either an "Axis" or an "Axes".
Which is the most appropriate term to use?

@lwasser changes are in!

i made a tiny change. when it all runs through CI i'll merge this. thank you @nkorinek !!

hey @jlpalomino i made some changes tot his vignette that i think resolve the issue of axis vs axes!! if you are comfortable with this can you approve the pr and then i'll merge it!! if you aren't please say the word!

Sounds good @lwasser since you have reviewed it, I am fine with approving. Doing that now!

authors: jlpalomino lwasser nkorinek

repo: earthlab/matplotcheck


text:
Feature Engineering with OpenEO - Use Case 2

use eotdl gpu for training and then openeo for inference (onnx is supported).

openEO should get ML model from eotdl (for example, road segmentation)
user should provide inference data
exectue process in openeo backend

Use case focused on online inference.
Measure response time.

we are centralizing openeo related issues, including this one, through https://github.com/earthpulse/eotdl/issues/190

authors: earthpulse juansensio

repo: earthpulse/eotdl


text:
Allow pathfinding between multiple weighted sources and targets

Supercedes #29. Compared to #29 this version includes the starting weights of the source nodes in the final path weight, deals with some edge cases like duplicate source nodes with different start weights and also allows multiple weighted targets.

@dabreegster I think this is ready to merge, but please feel free to have a look and/or test with your code first. Also my Rust is, well, a bit rusty :) So please also do not hesitate to comment on anything you notice. I've closed the other PR in favor of this one because I was not sure how to 'transfer' a PR to another source branch (this one). I'll just add you as co-authored in the commit message (GitHub will recognize this), if that's ok. Or maybe it already does because this branch is based on yours.

Continuing the discussion started in #29:

Including the start weight in the final cost does make sense. I've lost
context, I think there might've been one case where it was hard to preserve
the cost, so I was trying to uniformly exclude them. Maybe it was the no-op
case of start=end?

The start/target weights are now included in the final cost. In case start=end they are included as well, I just think of these costs as the costs that are already applied to get to the source or go from the target to the actual location (like getting off the train and walking to the main entrance or something). Note that start=end is not even necessarily the shortest path as it could be cheaper to use another start and take a cheap path to end instead of taking the penalty weight associated with start.

I never figured out how to reconstruct the target node used, so that's why it's only multiple sources

Yes this was not easily possible since we were not storing the nodes in the shortest path tree yet. However, I figured all we need to do is to attach the target node to the root of the (backward) search tree and I can do this by just abusing the (for the root node) otherwise empty parent node. It's a bit of a hack but it does the trick without any overhead.

Thanks again for the initial version and review!


text:
:sparkles: (Models) Add mistral model template and .gitignore

Thanks @eastriverlee for saving my weekend - was gonna code exactly this lib lol. Most these changes are SwiftFormat and my linter and such, but the core is at the end of the main file, where I add the Mistral model template. Also note that instantiating LLM with .template does not actually apply the template properly (preProcess does get set/run), I'm now just always setting it manually after init:
_llm = LLM(from: modelInfo.localURL)
 _llm?.template = template

I've also implemented a model downloader in my own codebase, with sha256 verification and such - I'm sure you can implement it yourself no problem but if you're interested happy to post a gist or something, I'd publish a package but I don't think it's quite ready to be one.
Thanks for this package! Saved my weekend :)

Thank you for your contribution and bug report.
I have added the mistral myself a few hours ago lol.
Anyway I've fixed the initializer right away.
I'll check your version soon though.

Fixes #10

I'm sorry. There is no reason to merge this.
Coincidentally, I pushed the implementation of mistral template before you at 0ead3eda6099eaea98b9b7268009bf511f382c74 too.
However, thanks to your kin bug reports

one(#10) through issue tracker,
fix: e27f19c4ea5373c0e802c8a843c03b51418e5ac4, c78102a5a150975240d2760b26563a7b11a10776
and the other(initializer with template) through here,
fix: 94ca5114b5a6be6c666789568850f7b7235e0e4c

I was able to fix bugs I haven't even noticed.
I really appreciate it🫡

authors: djmango eastriverlee


text:
Test: Add karma-sinon-expect

https://github.com/maksimr/karma-sinon-expect

https://twitter.com/alexbaumgertner/status/732244729656659968

Fixed with https://github.com/easy-deep-learning/mvc-pure-js/pull/23

repo: easy-deep-learning/mvc-pure-js


text:
How to remove links?

I have a hard time getting rid of links. I often accidentally click on them. Also there should be an option for plaintext if i don't want any markdown, links etc. Thank you!

I like writer+ a lot. I mean I use it everytime I pick up my phone. It's in my top 3 most used apps. The only thing I have come to dislike is the automatic links. Please give the option to turn them off. I cannot pace the cursor near them without opening the link. Why do my text files, even my markdown files have functioning links? It's very annoying. Eventually, it will drive away.

...drive me away.

Bump.

+1 for the hyper link disable feature request, always accidentally opening hyperlinks irrespective of which part of the screen you're clicking

authors: RuinChristmas sujith3g yodrew


text:
error when building

Hi, I'm getting the next output when trying to build.
pkg-config --cflags python2
Package python2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python2' found
pkg-config: exit status 1
make: *** [build] Error 2
Makefile:44: recipe for target 'docker' failed
make: *** [docker] Error 2

tests:
➜  ~ docker run -it eawsy/aws-lambda-go-shim:latest pkg-config --cflags python2
Package python2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python2' found

➜  ~ docker run -it eawsy/aws-lambda-go-shim:latest pkg-config --list-all
shared-mime-info shared-mime-info - Freedesktop common MIME database

details:
OS: Linux Mint 18.2 Sonya
GO: version go1.9.2 linux/amd64

➜  ~ docker image inspect eawsy/aws-lambda-go-shim:latest
[
    {
        "Id": "sha256:463bc78cf42899598c499dd10d6a608a285ba8c79439a8b1de6fad8822ae53a2",
        "RepoTags": [
            "eawsy/aws-lambda-go-shim:latest"
        ],
        "RepoDigests": [
            "eawsy/aws-lambda-go-shim@sha256:92f3aa256e4744f841d2b789717ebe45076248ac6cb4df3857fb2d303b6498db"
        ],

➜  ~ docker version
Client:
 Version:      17.09.1-ce
 API version:  1.32
 Go version:   go1.8.3
 Git commit:   19e2cf6
 Built:        Thu Dec  7 22:24:23 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.09.1-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   19e2cf6
 Built:        Thu Dec  7 22:23:00 2017
 OS/Arch:      linux/amd64
 Experimental: false

Hi @ezeql,
Have you the latest version of the Makefile?

hi @fsenart !
it seems to be latest:
68546a66c4dd4dc2d93c805d4ffeff9f  Makefile

Can you please show me the output of the make command on the following handler.go so I can check how the build process behaves on your side.
// handler.go
package main

import "github.com/eawsy/aws-lambda-go-core/service/lambda/runtime"

func Handle(evt interface{}, ctx *runtime.Context) (string, error) {
	return "Hello, World!", nil
}

make

The above trivial example works.
I managed to reduce the scope to:
// handler.go
package main

import (
	"github.com/eawsy/aws-lambda-go-event/service/lambda/runtime/event/s3evt"
	"github.com/eawsy/aws-lambda-go/service/lambda/runtime"
)

func Handle(evt *s3evt.Event, ctx *runtime.Context) (interface{}, error) {
	return nil, nil
}

➜  testshim make
docker run --rm\
        -e HANDLER=handler\
        -e PACKAGE=handler\
        -e GOPATH=/home/ezeql/go\
        -e LDFLAGS=''\
        -v /home/ezeql/go/src/github.com/testshim:/home/ezeql/go/src/github.com/testshim:Z\
        -v /home/ezeql/go:/home/ezeql/go:Z\
        -w /home/ezeql/go/src/github.com/testshim\
        eawsy/aws-lambda-go-shim:latest make -f Makefile all
go build -buildmode=plugin -ldflags='-w -s ' -o handler.so
# pkg-config --cflags python2
Package python2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python2' found
pkg-config: exit status 1
make: *** [build] Error 2
Makefile:44: recipe for target 'docker' failed
make: *** [docker] Error 2

Here is your problem github.com/eawsy/aws-lambda-go/service/lambda/runtime, you are using the wrong runtime.

You should use github.com/eawsy/aws-lambda-go-core/service/lambda/runtime the other is relates to the previous version of the shim.

OK, thank you!
I will create a PR  fixing the examples at https://github.com/eawsy/aws-lambda-go-event

I quickly checked examples out there and all seem to have the good import path. In the past I had kinda same issue than you and it was caused by my IDE Go plugin which auto import things and when having both versions of the shim, I don't know why, the previous version was chosen by the IDE. I fixed the problem by removing the previous runtime from my import path!

authors: ezeql fsenart

repo: eawsy/aws-lambda-go-shim


text:
Can’t update to v0.13.30

Updating the plug-in fails with the following error. I tried installing it directly via npm, this results in the same problem.
Other plugins update/install fine.
Running on RPi3+
NodeJS 16.13.1
NPM v8.1.2
Homebridge v1.3.8

It’s an npm error, nothing to do with Homebridge Hue.  Never seen this particular error before, though.  Did you try and delete the offending directory?  Or try to delete Homebridge Hue, before upgrading it?

authors: ebaauw mareeekkkk

repo: ebaauw/homebridge-hue


text:
Homebrige-hue not responding anymore

Yesterday, I upgraded to homebridge@1.0.0 / homebridge-hue@0.11.64 and instantly most of my plugins stopped responding including homebridge-hue.
Upgrading to 1.0.1 then 1.0.2 did not fixed the problem so I tried downgrading to homebridge@0.4.53 and homebridge-hue@0.11.62. All plugins started to work fine again except homebridge-hue devices which are still in 'no response' state and their Home configuration were lost (back to default room, etc), so were related automations (UUID lost ?) in Home.
So, I tried to upgrade again to homebridge@1.0.2 and homebridge-hue@0.11.64 and surprisedly, all plugins are now responding except homebridge-hue which is still  in 'no reponse' state even if I can see accessories are updating correctly in Homebridge log.
Here is the json log.
homebridge-hue.json.gz

Interesting observation: I removed homebridge-hue@0.11.64 completely including its configuration from the config.json and I still see the accessories in 'no response' state. scary as I have no clue how to remove them now. So the problem is certainly in the Homebridge 1.0.x.
Any suggestions are welcome.

Have you tried v1.0.2?

yes

So, I tried to upgrade again to homebridge@1.0.2 and homebridge-hue@0.11.64 and surprisedly, all plugins are now responding except homebridge-hue which is still in 'no reponse' state even if I can see accessories are updating correctly in Homebridge log.

their Home configuration were lost (back to default room, etc), so were related automations (UUID lost ?) in Home.

This can only happen if you started Homebridge without Homebridge Hue exposing the accessories, and then restarted Homebridge with Homebridge Hue exposing the accessories.  Are you using deCONZ or a Hue bridge?

Interesting observation: I removed homebridge-hue@0.11.64 completely including its configuration from the config.json and I still see the accessories in 'no response' state

Homebridge Hue is a static platform plugin, meaning that accessories are re-created on Homebridge startup.  If you removed Homebridge Hue from config.json, restarted Homebridge and still see accessories:

Either these are left-over from a previously paired but now removed Homebridge instance; or
They're exposed by another Homebridge instance (or the Hue bridge);

This can only happen if you started Homebridge without Homebridge Hue exposing the accessories, and then restarted Homebridge with Homebridge Hue exposing the accessories. Are you using deCONZ or a Hue bridge?

Yes, that's what I did in order to understand if the problem was related to Hue or Homebridge.
I'm using deCONZ

Homebridge Hue is a static platform plugin, meaning that accessories are re-created on Homebridge startup. If you removed Homebridge Hue from config.json, restarted Homebridge and still see accessories:

Either these are left-over from a previously paired but now removed Homebridge instance; or
They're exposed by another Homebridge instance (or the Hue bridge);

After rebooting, they disappeared. I will pair again the Phoscon-GW gateway and see how it reacts as I now lost completely the connection.
Thank you for the feedbacks and support, greatly appreciated.

Tried to upgrade again and get the same result then downgrade Hue and Homebridge and i started to work smoothly again.

I’m afraid that’s an issue with Homebridge v1.0.x, see https://github.com/homebridge/homebridge/issues/2518.  They’re still figuring out what’s causing that.  Please provide the info they request on that issue.

thank you, I just did it to try to help

authors: donavanbecker ebaauw zany92


text:
Hi ebaauw,

In have a p1 exposes using ser2net http which is connected to domoticz. I want to use the same connection to expose it to homekit so insteas of serial use http. Would that be possible. As my p1 smartmeter is on a remote system not close to domoticz nor to homebridge hencd tty is not an option.
Cheers

I don’t understand your setup.  Afaik, ser2net doesn’t talk http.  Also using http for the P1 telegrams makes no sense to me, as the smart meter pushes these.  Homebridge P1 doesn’t request (get) telegrams; instead it expects to receive notifications.

Hi,
Setup is as follwos i have a mini pc which serves as p1 server. The p1 is connected to its ttyusb port. Ser2net converts this to ip:port. I use this to connect to my domoticz which has a p1 over land connection type. I want to do similar which homebridge instead of serial go over the lan connection

Like this.

What is your ser2net config?

I have Homebridge P1 beta v1.2.10-0 working with ser2net.  Could you please try that version?  Set serialPort to hostname:port of the server running ser2net.  In ser2net.conf, you need to setup a raw connection (in my case connecting port 2000 to /dev/ttyUSB0):
2000:raw:600:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT

I find the connection considerably less reliable than using a direct connection.  Not sure if that's ser2net or my WiFi.  I had to add checksum validation, discarding telegrams with a CRC error.  I never had a need for that using the serial port directly.
Note that DSMR 2.2 probably won't work with ser2net.  Not only does it use 9600 7E1 instead of 115200 8N1, it also doesn't provide checksums, so I cannot check wether a telegram is valid.  You'll get all sorts of errors when Homebridge P1 tries to parse an invalid telegram.

Hi ebauuw,
Let me test that i have the dsmr 5 version. Also in domoticz i use crc running this setup for 8 months now without a problem. I gues need to uninstall current version? How do i pull the beta as it is not showing in the search box

Let me test that i have the dsmr 5 version

The version is usually mentioned on a label on the meter.  Also if you receive a telegram every second, it's DSMR 5 alright.  Otherwise, Homebridge P1 logs the version on startup (after the meter's serial number).

How do i pull the beta as it is not showing in the search box

Use the Install Previous Version option from the UI, under the wrench symbol in the Plugins screen.

I find the connection considerably less reliable than using a direct connection. Not sure if that's ser2net or my WiFi.

Left two instances running overnight: one on the Pi with the USB P1 cable (pi4), using /dev/ttyUSB0 and one on a remote Pi, using pi4:2000.  The local Pi showed shy of 300 CRC errors, the remote Pi almost nine times as many.  I had configured ser2net months ago already and haven't seen any errors due to parsing invalid telegrams.  I would theorise the issues are caused by multiple concurrent connections to the serial port.
I now reverted to connecting the remote Pi over Homebridge P1's websocket relay to see if the local Pi will still be reporting CRC errors.  Next step will be connecting the local Pi over ser2net (using the loopback interface).  And after that, connecting both local and remote Pi over ser2net (hoping it would share a single connection to the serial port between multiple TCP clients).

Hi just installed.
I can see the messages but seems strange device in homekit.
No actual numbers but a programmable switch?

Use a decent HomeKit app.

Some further analysis: also seeing "invalid telegram" and "no data received" warnings in the log of the local Pi and remote Pi.  Total warnings (incl. CRC errors) about 1100 on the local Pi, and 3100 on the remote Pi.  The warnings on the two Pi are independent (each individual warning only shows on one of the Pi-s).  I haven't seen any warnings on for over half an hour, after reverting to the serial connection.  Will be trying a local ser2net connection next.

Ok installed eve and indeed working as expected. In my mind i thought it would be exposed in homekit.
I connot detect errors in the log not sure why you get them. Min is going over cable connection. I have 4 simultanous connections and all work fine.

Also i'm not running on a pi. I have ubuntu lts 20.04 running on a virtual machine. The usb is passed on to the vm with passthrough.

Just to be more specific:
Server Ubuntu LTS 20.04 running on ESXI.
P1: connection to Meter about 10 meters from it using USB2serial (home made :) )
Ser2net captures ttyUSB0 to ip:port max 10 connections
Connection 1 Docker : DSMR
Connection 2 Docker : Domoticz
Connection 3 Azure cloud VM : DSMR cloud instance
Connection  4 Docker : Homebridge
Why? for fun :)

In my mind i thought it would be exposed in homekit.

It is.  Apple's Home app does not equal HomeKit.

Ser2net captures ttyUSB0 to ip:port max 10 connections

Where/how do you specify the max connections?  I tried to open the ser2net port from two clients, but it closes the second connection on me.

Google is my friend.  Changed ser2net.conf to read:
2000:raw:600:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT max-connections=3

Now the second client stays connected, and both clients receive data.

Mine is slight different also max-num only works with v3.x not supported in V2.
ipv4,tcp,5000:raw:0:/dev/ttyUSB-P1:115200 NONE 1STOPBIT 8DATABITS max-connections=10
you are using 600 which drops connection in 10min i think, domoticz did not like that.

you are using 600 which drops connection in 10min i think, domoticz did not like that.

Only when it doesn't see any telegrams for 10 minutes, in my experience.  This would only happen when the cable has been disconnected from the smart meter.  Homebridge P1 re-connects automatically some time after a connection has been closed.

Now going 40 minutes without warnings, using two concurrent ser2net connections.  I'm concluding that the instability was caused by two concurrent connections (Homebridge P1 and ser2net) to the serial port.

Has been running stable for over a week.  Published v1.2.10.

That is very cool!
Verstuurd vanaf mijn iPhone
Op 17 sep. 2021 om 10:33 heeft Erik Baauw @.***> het volgende geschreven:

Has been running stable for over a week. Published v1.2.10.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ebaauw/homebridge-p1/issues/55#issuecomment-921612911, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEA6CKRJKT3SMXOITG62HX3UCL4M7ANCNFSM5DWPNDMA.


text:
allow appending to save files

This adds a parameter to Capture::savefile() that allows appending to the pcap file instead of creating a new one.
If you'd prefer another function over a boolean parameter like in the underlying pcap API, I can do that too. I'm a bit undecided which solution is better.

It looks like the pcap_dump_open_append function I used there was only added in  libpcap 1.7.2 early last year. So this won't work on older operating systems like the Ubuntu 12.04.5 LTS the continuous integration here uses.
Maybe this should indeed be a separate function, that can be optionally disabled?

I also think that creating a separate function would be better. Coincidentally I have created that functionality (including a test) for an internal project a few month ago but have not yet created a pull request. Maybe we can work together on optionally disabling the function for Ubuntu 12.04.
You can look at my commit here: fsck/pcap@675c690

Oh wow, that makes things easier. I've taken your code and put it behind a feature flag.

Glad I could help. But the commit by aphistic is part of another pull request (#47) and I think you can safely leave it out of this one. I just needed it for my internal project.

Great! Sorry it took me so long to review this.
Excellent tests.

authors: ebfull fsck maltek

repo: ebfull/pcap


text:
Indicate legend/palette value on click for categorical grid coverages

When a user touches/clicks on a position on the map then the corresponding legend/palette value shall be highlighted/displayed for each categorical grid coverage at this position.
Highlighting could simply mean to change the font weight of the category within the legend to bold. Alternatively, an arrow could point to the category from the left side of the legend.

This is implemented now.  The popup that appears on a click can be dragged around and updates its content accordingly.

repo: ec-melodies/demo-portal


text:
Delete IDS Sample Code

Dominik Pinsel dominik.pinsel@daimler.com, Daimler TSS GmbH, legal info/Impressum

From discussion

11. Added Bonus: Remove Old IDS and Sample Modules
Category: Technical Debt
Description
There are old IDS and sample policy modules including a PolicyRegistry.
Proposed Solution
Delete them
Impact
This may impact some Catena-X teams, e.g. the group working on the PRS prototype. We would need to liaise with them.


text:
fix: accept odrl valid operators

What this PR changes/adds
Adapt Json-LD policy transformer to accept/handle ODRL Operators (https://www.w3.org/TR/odrl-vocab/#constraintRelationalOperators)
Why it does that
odrl support
Further notes

it turned out that in a lot of the JsonObjectFrom*Transformers we're putting out JsonObjects that are not compliant with the "expanded jsonld" format, so likely we'll need further intervention in such transformers. This PR should fix the ODRL operator attribute end to end.

Linked Issue(s)
Closes #3167
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Patch coverage: 78.72% and project coverage change: +0.02 :tada:

Comparison is base (00c5d53) 65.29% compared to head (d5f3f18) 65.32%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3171      +/-   ##
==========================================
+ Coverage   65.29%   65.32%   +0.02%
==========================================
  Files         834      835       +1
  Lines       16763    16794      +31
  Branches      924      927       +3
==========================================
+ Hits        10946    10970      +24
- Misses       5444     5451       +7
  Partials      373      373

Impacted Files
Coverage Δ

...n/java/org/eclipse/edc/jsonld/JsonLdExtension.java
76.66% <ø> (ø)

.../java/org/eclipse/edc/spi/iam/TokenParameters.java
0.00% <0.00%> (ø)

...nsformer/to/JsonObjectToConstraintTransformer.java
76.92% <60.00%> (+0.92%)
:arrow_up:

...nsformer/from/JsonObjectFromPolicyTransformer.java
93.90% <62.50%> (+0.07%)
:arrow_up:

...in/java/org/eclipse/edc/policy/model/Operator.java
94.11% <93.75%> (-5.89%)
:arrow_down:

.../edc/connector/contract/ContractCoreExtension.java
87.01% <100.00%> (+0.17%)
:arrow_up:

...ransformer/to/JsonObjectToOperatorTransformer.java
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter ndr-brt

repo: eclipse-edc/Connector


text:
Iox #1078 transform duration inline namespace into normal namespace

Pre-Review Checklist for the PR Author

[ ] Code follows the coding style of CONTRIBUTING.md
[ ] Tests follow the best practice for testing
[ ] Changelog updated in the unreleased section including API breaking changes
[ ] Branch follows the naming format (iox-#123-this-is-a-branch)
[ ] Commits messages are according to this guideline

[ ] Commit messages have the issue ID (iox-#123 commit text)
[ ] Commit messages are signed (git commit -s)
[ ] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[ ] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[ ] Relevant issues are linked
[ ] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[ ] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior

[ ] Each unit test case has a unique UUID

[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes TBD

@elfenpiff don't forget to link the issue and add Closes #...

@elBoberido thanks for the hint but I am not even sure that this fixes the issue.

authors: elBoberido elfenpiff

repo: eclipse-iceoryx/iceoryx


text:
Publisher does not always follow UnableToDeliverStrategy::Block strategy

Required information
Operating system:

macOS, Sonoma
Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 arm64

Rust version:
rustc 1.79.0 (129f3b996 2024-06-10)
Cargo version:
cargo 1.79.0 (ffa9cf99a 2024-06-03)
iceoryx2 version:
commit 728df35
Observed result or behaviour:
Even with UnableToDeliverStrategy::Block set, safe_overflow disabled and a limited buffer size, a publisher does not always block. For example, it does not block:

When the publisher process is the first to start with no subscriber process.
When the last subscriber process is killed before the publisher is done filling the buffer.

The publisher blocks when there is a subscriber present when buffer gets filled. It also remains blocked when you remove the last subscriber before it consumes its buffer.
BTW, I made sure subscriber_max_buffer_size on publisher side as well.
Code

Expand to See Code
use std::time::Duration;

use iceoryx2::prelude::*;

fn main() -> anyhow::Result<()> {
    // Read the first argument
    let arg = match std::env::args().nth(1) {
        Some(arg) => arg,
        None => {
            eprintln!("Usage: test_pub_queue <arg>");
            std::process::exit(1);
        }
    };

    if arg == "sub" {
        subscriber()?;
    } else if arg == "pub" {
        publisher()?;
    }

    Ok(())
}

const CYCLE_TIME: Duration = Duration::from_secs(3);
const BUFFER_SIZE: usize = 5;

fn subscriber() -> anyhow::Result<()> {
    println!("Subscriber");

    let node = NodeBuilder::new().create::<zero_copy::Service>()?;
    let service = node
        .service_builder(&"test/path".try_into()?)
        .publish_subscribe::<u64>()
        .max_publishers(1)
        .max_subscribers(1)
        .subscriber_max_buffer_size(BUFFER_SIZE)
        .enable_safe_overflow(false)
        .open_or_create()?;

    let subscriber = service
        .subscriber_builder()
        .create()?;

    while let NodeEvent::Tick = node.wait(CYCLE_TIME) {
        while let Some(sample) = subscriber.receive()? {
            println!("Received: {:?}", sample.payload());
        }
    }

    Ok(())
}

fn publisher() -> anyhow::Result<()> {
    println!("Publisher");

    let node = NodeBuilder::new().create::<zero_copy::Service>()?;
    let service = node
        .service_builder(&"test/path".try_into()?)
        .publish_subscribe::<u64>()
        .max_publishers(1)
        .max_subscribers(1)
        .subscriber_max_buffer_size(BUFFER_SIZE)
        .enable_safe_overflow(false)
        .open_or_create()?;

    let publisher = service
        .publisher_builder()
        .unable_to_deliver_strategy(UnableToDeliverStrategy::Block)
        .create()?;

    let mut count = 0;
    while let NodeEvent::Tick = node.wait(CYCLE_TIME / 10) {
        let sample = publisher.loan_uninit()?;
        let sample = sample.write_payload(count);
        sample.send()?;
        println!("Sent: {}", count);

        count += 1;
    }

    Ok(())
}

[dependencies]
iceoryx2 = { git = "https://github.com/eclipse-iceoryx/iceoryx2", rev = "728df35", features = [
    "logger_tracing",
] }

Expected result or behaviour:
I expected the publisher to always block when buffer is filled － based on doc found in code:
https://github.com/eclipse-iceoryx/iceoryx2/blob/728df35da2b99bb47cd5d0221d8f7a7385edf075/iceoryx2/src/service/port_factory/publisher.rs#L73-L81
Conditions where it occurred / Performed steps:

Copy the source into a new cargo project or just clone this repo
You can run the binary as publisher (-- pub) or subscriber (-- sub)
If you start the publisher without a subscriber, the publisher never blocks
If you kill the last subscriber before the publisher is done filling the buffer, the publisher never blocks

You are entirely right with this observation, and I made it behave intentionally like this.
The problem this feature shall solve is that a subscriber is missing messages since the publisher is too fast and the buffer is full.
But when there is no subscriber, there is no buffer. Maybe the terminology is a bit unclear here, but the buffer mentioned in the documentation was the subscriber's buffer. Every subscriber has its own buffer.

It also remains blocked when you remove the last subscriber before it consumes its buffer.

This is a bug and must be solved.

If you start the publisher without a subscriber, the publisher never blocks

Intended behavior, without a subscriber there is no need to block since there is no buffer.

If you kill the last subscriber before the publisher is done filling the buffer, the publisher never blocks

Intended behavior.

Maybe we could use a similat terminology like with iceoryx1. It's called ConsumerTooSlowPolicy on the publisher side and QueueFullPolicy on the subscriber side

But when there is no subscriber, there is no buffer. Maybe the terminology is a bit unclear here, but the buffer mentioned in the documentation was the subscriber's buffer. Every subscriber has its own buffer.

Alright that makes sense. Just after typing the issue, I realised that could be the case.
Is there [going to be] a separate strategy for detecting when no subscriber is present?
To prevent sending messages to the void?

I have not yet thought of this use case, but we have already an API available to handle this issue:
let service = node
    .service_builder(&"My/Funk/ServiceName".try_into()?)
    .publish_subscribe::<TransmissionData>()
    .open_or_create()?;
if service.dynamic_config().number_of_subscribers() > 0 {
  // send data
}

But I admit it is a bit hidden and not as straight forward as the iceoryx1 API with Publisher::has_subscribers() -> bool. The reason is that in iceoryx1 the service was somehow hidden inside the Publisher but with iceoryx2 it is an explicit object. And this object can tell you a lot about its state via the static_config() and dynamic_config() methods.
Another approach we want to implement is, that a service emits events whenever its state (see: dynamic_config()) changes. So the sending process could wait until the event was signaled that there are subscribers and then starts publishing.
Today you could also realize this but you have to do this explicitly by creating an event service and send a notification when the process has created a subscriber. Events can have multiple event_ids so you could define your event_id for new subscriber, subscriber disconnected, new publisher, and so on.

I have not yet thought of this use case, but we have already an API available to handle this issue:

This should work in my case.

Another approach we want to implement is, that a service emits events whenever its state (see: dynamic_config()) changes. So the sending process could wait until the event was signaled that there are subscribers and then starts publishing.

Cool. Will make the API nicer for use cases like this.
I'm closing this issue since I can make the publisher block if there is no one to deliver to using service.dynamic_config().number_of_subscribers()

authors: appcypher elBoberido elfenpiff


text:
Transfer to Tractus-X Focus topics regarding Post Consortia

As PO
I want to have a clear understanding how we want to proceed and what efforts we have regarding the migration from C-X to Tractus-X
so that I am able to plan the transition and prioritize the topics
Hints / Details

https://confluence.catena-x.net/display/IRS/[PCWM][TRI1520]+[PCWM]+[CONCEPT]+Transfer+to+Tractus-X+Focus+topics+regarding+Post+Consortia

[ ] Concept how Planning is conducted in GitHub

[ ] Concept how to replace Confluence

[x] Concept how to replace JIRA

[ ] Concept covers:

[ ] How to migrate the Confluence pages to GitHub (Pages, Wiki, MD, issues)
[ ] How to migrate the JIRA pages to GitHub (Pages, Wiki, MD, issues)
[ ] T[ransition from Jira to GitHub Projects
[ ] Testmanagement and Test Reporting (Xray)
[ ] CATENAX-NG environment
[ ] Change of development workflow
[x] Vision and Mission Statement of repository
[ ] How to conduct the PIP Planning in Tractus-X

Outcome / Acceptance Criteria
Outcome

[ ] Backlog Items generated
[ ] Migration concept and migration steps are documented
[x] Vision and Mission Statement of repository>> https://github.com/eclipse-tractusx/item-relationship-service/wiki
[x] Concept how to replace JIRA >>

Acceptance Criteria

[ ] Backlog Items have been generated for all necessary steps
[ ] The Concept has been finalized
[ ] Migration steps / order has been documented

Out of Scope

created first draft of concept in https://github.com/catenax-ng/tx-item-relationship-service/pull/701
@jzbmw could you please give feedback on this?

@ds-jhartmann I've read the doc.
I think only small parts of our Confluence is necessary to transfer. So for that a copy paste is also possible.
For the Testmanagment topic, I like the Github Action to show test results.
About the environments we will see what the overall plan will be. But for now it fits to the current requirements

@ds-jhartmann
Confluence - I would not recommend moving Confluence pages automatically.
We should mark which content is related

@jzbmw @mkanal I added your remarks to the PR. Feel free to give your approval, if you are satisfied with the concept.

Hi @jzbmw
this ticket is ready for PO review. Thank you very much.

Issues for implementation:
https://github.com/eclipse-tractusx/item-relationship-service/issues/371
https://github.com/eclipse-tractusx/item-relationship-service/issues/312
https://github.com/eclipse-tractusx/item-relationship-service/issues/344

authors: ds-jhartmann jzbmw mkanal


text:
Company Certificate Deletion Error

Defect found in version: v1.7.0
Env.: INT
User: CX Operator
Action
Accessed "Company Certificate" page and tried to delete my own certificate (see certificate in the screenshot below)

Deletion was running on a 404 error and following screen got displayed to the user:

Expected behavior:
Instead of displaying an "Confirm" button, it should be called "Try Again" with re-triggering the endpoint.
Please check once if we have an icon for the unsuccess overlay. Per my knowledge we have a own style for the unsuccess overlay where an red icon is displayed. Please check once with in the user management implementation

authors: jjeroch manojava-gk

repo: eclipse-tractusx/portal-frontend


text:
[New Model]:

Model Description

Relevant Standards

Example Data

MS1 Criteria

[ ] The proposed aspect model does not exist already
[ ] The proposed aspect model does not extend an existing aspect but introduces completely new functionality
[ ] The proposal references a Catena-X use case
[ ] Relevant standards are mentioned/linked
[ ] A first draft of the data structure is provided in an example

obsolete

authors: bs-jokri piyushmipart

repo: eclipse-tractusx/sldt-semantic-models


text:
Initial Python SDK Support

Merge the uProtoco 1.5 python SDK implementation

Done.

repo: eclipse-uprotocol/uprotocol-python


text:
Usage of PRNG can lead to blocking of thread

I have been noticing issues with blocked threads for a while on running vertx instances. I have been finally looking into this and came across this article: https://tersesystems.com/blog/2015/12/17/the-right-way-to-use-securerandom/
Turns out that are two resources for getting random numbers on OS level: /dev/urandom (which might block) and /dev/urandom (which shall not block).
I am seeing the following Stacktrace:
io.vertx.core.VertxException: Thread blocked
  java.io.FileInputStream.readBytes (FileInputStream.java:-2)
  java.io.FileInputStream.read (FileInputStream.java:279)
  java.io.FilterInputStream.read (FilterInputStream.java:133)
  sun.security.provider.NativePRNG$RandomIO.readFully (NativePRNG.java:424)
  sun.security.provider.NativePRNG$RandomIO.implGenerateSeed (NativePRNG.java:441)
  sun.security.provider.NativePRNG.engineGenerateSeed (NativePRNG.java:226)
  java.security.SecureRandom.generateSeed (SecureRandom.java:857)
  io.vertx.ext.auth.PRNG.lambda$null$0 (PRNG.java:80)
  io.vertx.ext.auth.PRNG$$Lambda$2203/0x0000000800bf5040.handle ([unknown]:-1)
  io.vertx.core.impl.ContextBase.lambda$null$0 (ContextBase.java:137)
  io.vertx.core.impl.ContextBase$$Lambda$288/0x00000008003abc40.handle ([unknown]:-1)
  io.vertx.core.impl.ContextInternal.dispatch (ContextInternal.java:264)
  io.vertx.core.impl.ContextBase.lambda$executeBlocking$1 (ContextBase.java:135)
  io.vertx.core.impl.ContextBase$$Lambda$283/0x00000008003a9840.run ([unknown]:-1)
  java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
  java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
  io.netty.util.concurrent.FastThreadLocalRunnable.run (FastThreadLocalRunnable.java:30)
  java.lang.Thread.run (Thread.java:829)

Please note, there is no reference to my own code here.
The article explains that generateSeed uses the blocking way, whereas the non blocking alternative would be the nextBytes method.
Similar information can be found in the oracle docs https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SUNProvider : NativePRNG (nextBytes() uses /dev/urandom, generateSeed() uses /dev/random)
I am wondering, if generateSeed has been used intentionally and if there is a different cause for my blocking issue, or if this indeed is a bug?

This was intentional as the 2 methos have distinct objectives. The seeding part (which can block) is running inside a execute blocking call. The exception can still be thrown, but means that your system is out of introphy. I suggest you to install the rng-tools package in your linux distro that provides the daemon rngd.
https://manpages.debian.org/unstable/rng-tools-debian/rngd.8.en.html

@st-h you the Vert.x blocked thread checker does not check only event loops threads, but worker pool threads as well. So this warning is not an indication of blocked event loops

Ah, thanks a lot for the explanation. I'll look into the rngd daemon.

authors: pmlopes st-h tsegismont

repo: eclipse-vertx/vertx-auth


text:
fota upgrade use 5684

hi
For FOTA upgrade, requests cannot arrive with port 5684.I want to know why.
the url likes coap://xxxx.xxx.xxx.xx:5684/fota/xxx.name.use coaps?
thanks.

Could you give us more context...
Which clients or server are you using ? where Leshan is involved ? (which version of Leshan ?)
Describe more precisely steps to reproduce the issue.

thanks for you reply.
the version leshan 1.0.0-M5 and use leshan-server-cluster.
we send a coap url to device.
The scenario is that we send a COAP URL to the device, which is like coap://xx xx.xxx.xx:5684. Then we found that the device did not request our Resource which to inherit from CoapResource. Then it changed to 5683 and found that it was possible to access the Resouce.

It's not clear but I suppose you don't use Leshan for your client ?
It's seems your client does not really like that you are using the default coaps port (5684) with coap:// url ...
The rfc7252 defines :

default coap port is 5683
default coaps port is 5684

But you should be able to not respect this default value, so I would say that your client is buggy ...
Just in case about leshan-server-cluster, it's pretty experimental and will probably not be part of the 1.0.0 final release (see cluster northbound api , module descriptions and roadmap)

Could we close this issue ?

(feel free to reopen it if needed)

repo: eclipse/leshan


text:
client:add writeAttributes support

add writeAttributes support

@dellzhui   :angry:
==> https://github.com/eclipse/leshan/pull/1327#issuecomment-1283570204
==> https://github.com/eclipse/leshan/pull/1328#issuecomment-1283578841


text:
Remove staging to S3

Contributor: Michael Wurster @miwurster

We decided to remove the staging of the final artifact to our central S3 bucket. This PR removes the steps from the .travis.yml file.

Can one of the admins verify this patch?

add to whitelist

authors: genie-winery lharzenetter miwurster

repo: eclipse/winery


text:
Add inline function calls as scheduler dependencies

One of the recommended ways of declaring inline function calls is via an explicit interface. This PR adds inline function calls declared via an explicit interface as scheduler dependencies. The more modern way of declaring inline function calls is to wrap them in a module and use module imports. Adding this functionality requires a larger update to the scheduler, and this PR is being prepared.

Codecov Report

Merging #49 (26dc449) into main (0b79ef0) will increase coverage by 0.29%.
The diff coverage is 97.56%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   91.07%   91.37%   +0.29%
==========================================
  Files          86       76      -10
  Lines       14854    13729    -1125
==========================================
- Hits        13529    12545     -984
+ Misses       1325     1184     -141

Flag
Coverage Δ

lint_rules
?

loki
91.37% <97.56%> (+0.04%)
:arrow_up:

transformations
?

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

Impacted Files
Coverage Δ

loki/sourcefile.py
89.40% <ø> (-0.47%)
:arrow_down:

loki/analyse/analyse_dataflow.py
94.23% <92.85%> (+0.23%)
:arrow_up:

loki/bulk/item.py
93.87% <96.77%> (+0.85%)
:arrow_up:

loki/frontend/regex.py
96.89% <100.00%> (+0.26%)
:arrow_up:

loki/transform/dependency_transform.py
96.47% <100.00%> (+1.06%)
:arrow_up:

... and 14 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: awnawab codecov-commenter

repo: ecmwf-ifs/loki


text:
Update license

Closes #19

@malmans2 I think we can close this one.


text:
descrições melhor envio

Daria para resumir essas descrições de aviso de recebimento e demais?
Pois ficou muito grande no market. Se quiser posso até te passar o que deixar escrito

Pode sim matheus, me envia o resumo.

Enviei no slack

authors: matheusgnreis talissonf

repo: ecomclub/app-melhor-envio


text:
echart 3.0直角坐标系grid的部分参数无效

如题，echart 3.0直角坐标系grid的backgroundColor和borderColor都没有效果？还有就是移动端设置datazoom的start和end无效？无论设置多少都是全部显示，我想试一下手势拖动和缩放，求指教

3 里默认关闭了 grid 的显示，需要设置 show:true

好的，我刚测试了一下，是自己的失误。谢谢

authors: fightKen pissang

repo: ecomfe/echarts


text:
力导向分布图节点大小

nodes 的 value 值决定节点大小，但是给 10000，还是有个固定大小。所以我强制设置  nodes 里面的每个项的 symbolsize 属性大小，但是圆点之间会重叠，如何解决？

有 minRadius, maxRadius 配置项

我想解决是的节点重叠的问题，还有存在连线的两个节点有时靠的太近，连线基本不可见的问题。

authors: gitdust pissang


text:
Is it possible to have custom button near legend in chart

问题简述 (One-line summary)
Is it possible to have custom button near legend in chart
版本及环境 (Version & Environment)
3.1.6

ECharts 版本 (ECharts version):3.1.6
浏览器类型和版本 (Browser version):NA
操作系统类型和版本 (OS Version):NA

重现步骤 (Steps to reproduce)

I would like custom legend (button) such that when I click on it, I can enable disable  a group of data
For example, I have data showing revenue vs loss and let us say I have five products.
I may want to toggle to show only revenue or only loss.
Right now I have it as a stack bar for each product showing revenue and loss (with loss in -ve Y axis)

Th
期望结果 (Expected behaviour)
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)

option = {

}

其他信息 (Other comments)

https://github.com/ecomfe/echarts/issues/3007#issuecomment-210398601

authors: pissang ukris